From efdc0ead81a2eabb1627aa4df7084756404f0343 Mon Sep 17 00:00:00 2001 From: bmc-msft <41130664+bmc-msft@users.noreply.github.com> Date: Mon, 18 Oct 2021 22:35:39 -0400 Subject: [PATCH] support multiple concurrent versions of generated service APIs (#416) Co-authored-by: Brian Caswell --- .../autorust/codegen/examples/gen_mgmt.rs | 48 +- services/autorust/codegen/examples/gen_svc.rs | 12 + services/autorust/codegen/src/cargo_toml.rs | 9 +- .../codegen/src/codegen_operations.rs | 6 +- services/autorust/codegen/src/lib_rs.rs | 16 +- services/mgmt/addons/Cargo.toml | 1 + services/mgmt/addons/src/lib.rs | 18 +- .../addons/src/package_2017_05/operations.rs | 18 +- .../addons/src/package_2018_03/operations.rs | 16 +- .../mgmt/adhybridhealthservice/Cargo.toml | 1 + .../mgmt/adhybridhealthservice/src/lib.rs | 14 +- .../src/package_2014_01/operations.rs | 190 +- services/mgmt/adp/Cargo.toml | 1 + services/mgmt/adp/src/lib.rs | 18 +- .../package_2020_07_01_preview/operations.rs | 32 +- .../package_2021_02_01_preview/operations.rs | 34 +- services/mgmt/advisor/Cargo.toml | 1 + services/mgmt/advisor/src/lib.rs | 30 +- .../src/package_2016_07_preview/operations.rs | 26 +- .../advisor/src/package_2017_03/operations.rs | 26 +- .../advisor/src/package_2017_04/operations.rs | 42 +- .../advisor/src/package_2020_01/operations.rs | 42 +- .../src/package_2020_07_preview/operations.rs | 12 +- services/mgmt/agrifood/Cargo.toml | 1 + services/mgmt/agrifood/src/lib.rs | 14 +- .../package_2020_05_12_preview/operations.rs | 42 +- services/mgmt/alertsmanagement/Cargo.toml | 1 + services/mgmt/alertsmanagement/src/lib.rs | 50 +- .../src/package_2018_05/operations.rs | 28 +- .../src/package_2018_05_preview/operations.rs | 28 +- .../src/package_2019_03/operations.rs | 34 +- .../src/package_2019_06/operations.rs | 16 +- .../src/package_2019_06_preview/operations.rs | 58 +- .../package_2020_08_04_preview/operations.rs | 20 +- .../src/package_2021_04_only/operations.rs | 34 +- .../src/package_preview_2019_05/operations.rs | 44 +- .../src/package_preview_2021_01/operations.rs | 10 +- .../src/package_preview_2021_08/operations.rs | 20 +- services/mgmt/analysisservices/Cargo.toml | 1 + services/mgmt/analysisservices/src/lib.rs | 22 +- .../src/package_2016_05/operations.rs | 34 +- .../src/package_2017_07/operations.rs | 38 +- .../src/package_2017_08_beta/operations.rs | 38 +- services/mgmt/apimanagement/Cargo.toml | 4 +- services/mgmt/apimanagement/src/lib.rs | 46 +- .../src/package_2018_06_preview/operations.rs | 506 +- .../src/package_2019_01/operations.rs | 502 +- .../src/package_2019_12/operations.rs | 586 +- .../src/package_2020_12/operations.rs | 636 +- .../apimanagement/src/package_2021_08/mod.rs | 3 + .../src/package_2021_08/models.rs | 3878 +++ .../src/package_2021_08/operations.rs | 20951 ++++++++++++++++ .../src/package_preview_2019_12/operations.rs | 560 +- .../src/package_preview_2020_06/operations.rs | 636 +- .../src/package_preview_2021_01/operations.rs | 636 +- .../src/package_preview_2021_04/operations.rs | 656 +- services/mgmt/appconfiguration/Cargo.toml | 1 + services/mgmt/appconfiguration/src/lib.rs | 34 +- .../package_2019_02_01_preview/operations.rs | 28 +- .../src/package_2019_10_01/operations.rs | 28 +- .../package_2019_11_01_preview/operations.rs | 44 +- .../src/package_2020_06_01/operations.rs | 44 +- .../package_2020_07_01_preview/operations.rs | 52 +- .../package_2021_03_01_preview/operations.rs | 52 +- services/mgmt/applicationinsights/Cargo.toml | 2 +- services/mgmt/applicationinsights/src/lib.rs | 78 +- .../src/package_2015_05/operations.rs | 164 +- .../src/package_2017_10/operations.rs | 22 +- .../package_2018_05_01_preview/operations.rs | 48 +- .../package_2018_06_17_preview/operations.rs | 14 +- .../package_2019_10_17_preview/operations.rs | 14 +- .../src/package_2020_02_02/operations.rs | 164 +- .../package_2020_02_02_preview/operations.rs | 20 +- .../package_2020_03_01_preview/operations.rs | 12 +- .../src/package_2020_04/operations.rs | 174 +- .../src/package_2020_10_only/operations.rs | 34 +- .../src/package_2020_11_only/operations.rs | 14 +- .../src/package_2021_03_only/operations.rs | 38 +- .../src/package_preview_2020_02/operations.rs | 8 +- .../src/package_preview_2020_06/mod.rs | 3 - .../src/package_preview_2020_06/models.rs | 907 - .../src/package_preview_2020_06/operations.rs | 4921 ---- .../operations.rs | 10 +- .../operations.rs | 22 +- .../operations.rs | 8 +- services/mgmt/appplatform/Cargo.toml | 1 + services/mgmt/appplatform/src/lib.rs | 26 +- .../package_2019_05_01_preview/operations.rs | 110 +- .../src/package_2020_07/operations.rs | 128 +- .../src/package_preview_2020_11/operations.rs | 128 +- .../src/package_preview_2021_06/operations.rs | 128 +- services/mgmt/attestation/Cargo.toml | 1 + services/mgmt/attestation/src/lib.rs | 22 +- .../src/package_2018_09_01/operations.rs | 24 +- .../src/package_2020_10_01/operations.rs | 34 +- .../src/package_2021_06_01/operations.rs | 38 +- services/mgmt/authorization/Cargo.toml | 1 + services/mgmt/authorization/src/lib.rs | 86 +- .../package_2015_06_01_preview/operations.rs | 6 +- .../src/package_2015_07_01/operations.rs | 56 +- .../package_2017_10_01_preview/operations.rs | 56 +- .../operations.rs | 24 +- .../package_2018_01_01_preview/operations.rs | 42 +- .../operations.rs | 34 +- .../package_2018_07_01_preview/operations.rs | 56 +- .../operations.rs | 16 +- .../package_2018_09_01_preview/operations.rs | 56 +- .../operations.rs | 24 +- .../operations.rs | 6 +- .../package_2020_03_01_preview/operations.rs | 60 +- .../package_2020_04_01_preview/operations.rs | 60 +- .../operations.rs | 24 +- .../package_2020_08_01_preview/operations.rs | 64 +- .../operations.rs | 96 +- .../operations.rs | 42 +- .../profile_hybrid_2019_03_01/operations.rs | 52 +- .../profile_hybrid_2020_09_01/operations.rs | 52 +- services/mgmt/automanage/Cargo.toml | 1 + services/mgmt/automanage/src/lib.rs | 14 +- .../package_2020_06_30_preview/operations.rs | 46 +- services/mgmt/azure_kusto/Cargo.toml | 1 + services/mgmt/azure_kusto/src/lib.rs | 74 +- .../operations.rs | 64 +- .../package_2018_09_07_preview/operations.rs | 64 +- .../src/package_2019_01_21/operations.rs | 66 +- .../src/package_2019_05_15/operations.rs | 66 +- .../src/package_2019_09_07/operations.rs | 80 +- .../src/package_2019_11_09/operations.rs | 106 +- .../src/package_2020_02_15/operations.rs | 112 +- .../src/package_2020_06_14/operations.rs | 112 +- .../src/package_2020_09_18/operations.rs | 112 +- .../src/package_2021_01/operations.rs | 130 +- .../src/package_2021_08_27/operations.rs | 164 +- .../operations.rs | 64 +- .../schema_2018_09_07_preview/operations.rs | 64 +- .../src/schema_2019_01_21/operations.rs | 66 +- .../src/schema_2019_05_15/operations.rs | 66 +- .../src/schema_2019_09_07/operations.rs | 80 +- services/mgmt/azureactivedirectory/Cargo.toml | 1 + services/mgmt/azureactivedirectory/src/lib.rs | 26 +- .../src/package_2017_04_01/operations.rs | 20 +- .../src/package_2020_03/operations.rs | 32 +- .../src/package_preview_2017_04/operations.rs | 20 +- .../src/package_preview_2020_03/operations.rs | 22 +- services/mgmt/azurearcdata/Cargo.toml | 1 + services/mgmt/azurearcdata/src/lib.rs | 26 +- .../src/package_2021_08_01/operations.rs | 48 +- .../src/package_2021_11_01/operations.rs | 48 +- .../package_preview_2021_06_01/operations.rs | 62 +- .../package_preview_2021_07_01/operations.rs | 62 +- services/mgmt/azuredata/Cargo.toml | 1 + services/mgmt/azuredata/src/lib.rs | 18 +- .../package_2017_03_01_preview/operations.rs | 30 +- .../src/package_preview_2019_07/operations.rs | 30 +- services/mgmt/azurestack/Cargo.toml | 1 + services/mgmt/azurestack/src/lib.rs | 22 +- .../src/package_2016_01/operations.rs | 36 +- .../src/package_2017_06_01/operations.rs | 54 +- .../src/package_preview_2020_06/operations.rs | 68 +- .../mgmt/baremetalinfrastructure/Cargo.toml | 1 + .../mgmt/baremetalinfrastructure/src/lib.rs | 18 +- .../package_2020_08_06_preview/operations.rs | 24 +- .../src/package_2021_08_09/operations.rs | 16 +- services/mgmt/batch/Cargo.toml | 1 + services/mgmt/batch/src/lib.rs | 46 +- .../batch/src/package_2017_09/operations.rs | 84 +- .../batch/src/package_2018_12/operations.rs | 86 +- .../batch/src/package_2019_04/operations.rs | 86 +- .../batch/src/package_2019_08/operations.rs | 86 +- .../batch/src/package_2020_03/operations.rs | 100 +- .../batch/src/package_2020_05/operations.rs | 100 +- .../batch/src/package_2020_09/operations.rs | 100 +- .../batch/src/package_2021_01/operations.rs | 100 +- .../batch/src/package_2021_06/operations.rs | 106 +- services/mgmt/billing/Cargo.toml | 1 + services/mgmt/billing/src/lib.rs | 46 +- .../src/package_2017_02_preview/operations.rs | 14 +- .../src/package_2017_04_preview/operations.rs | 20 +- .../src/package_2018_03_preview/operations.rs | 26 +- .../src/package_2018_11_preview/operations.rs | 220 +- .../src/package_2019_10_preview/operations.rs | 296 +- .../billing/src/package_2020_05/operations.rs | 202 +- .../src/package_2020_09_preview/operations.rs | 204 +- .../src/package_2020_11_preview/operations.rs | 204 +- .../billing/src/package_2021_10/operations.rs | 30 +- services/mgmt/blockchain/Cargo.toml | 1 + services/mgmt/blockchain/src/lib.rs | 14 +- .../package_2018_06_01_preview/operations.rs | 56 +- services/mgmt/blueprint/Cargo.toml | 1 + services/mgmt/blueprint/src/lib.rs | 18 +- .../src/package_2017_11_preview/operations.rs | 52 +- .../src/package_2018_11_preview/operations.rs | 56 +- services/mgmt/botservice/Cargo.toml | 1 + services/mgmt/botservice/src/lib.rs | 30 +- .../src/package_2017_12_01/operations.rs | 52 +- .../src/package_2018_07_12/operations.rs | 66 +- .../src/package_2020_06_02/operations.rs | 56 +- .../src/package_2021_03_01/operations.rs | 60 +- .../src/package_preview_2021_05/operations.rs | 78 +- services/mgmt/cdn/Cargo.toml | 1 + services/mgmt/cdn/src/lib.rs | 54 +- .../cdn/src/package_2015_06/operations.rs | 72 +- .../cdn/src/package_2016_04/operations.rs | 72 +- .../cdn/src/package_2016_10/operations.rs | 78 +- .../cdn/src/package_2017_04/operations.rs | 84 +- .../cdn/src/package_2017_10/operations.rs | 86 +- .../cdn/src/package_2019_04/operations.rs | 86 +- .../cdn/src/package_2019_06/operations.rs | 102 +- .../src/package_2019_06_preview/operations.rs | 102 +- .../cdn/src/package_2019_12/operations.rs | 102 +- .../cdn/src/package_2020_04/operations.rs | 118 +- .../cdn/src/package_2020_09/operations.rs | 260 +- services/mgmt/changeanalysis/Cargo.toml | 1 + services/mgmt/changeanalysis/src/lib.rs | 18 +- .../package_2020_04_01_preview/operations.rs | 16 +- .../src/package_2021_04_01/operations.rs | 16 +- services/mgmt/cloudshell/Cargo.toml | 1 + services/mgmt/cloudshell/src/lib.rs | 14 +- .../src/package_2018_10_01/operations.rs | 34 +- services/mgmt/cognitiveservices/Cargo.toml | 1 + services/mgmt/cognitiveservices/src/lib.rs | 22 +- .../src/package_2016_02_preview/operations.rs | 22 +- .../src/package_2017_04/operations.rs | 50 +- .../src/package_2021_04/operations.rs | 58 +- services/mgmt/commerce/Cargo.toml | 1 + services/mgmt/commerce/src/lib.rs | 18 +- .../src/package_2015_06_preview/operations.rs | 10 +- .../profile_hybrid_2020_09_01/operations.rs | 10 +- services/mgmt/communication/Cargo.toml | 1 + services/mgmt/communication/src/lib.rs | 18 +- .../src/package_2020_08_20/operations.rs | 28 +- .../package_2020_08_20_preview/operations.rs | 32 +- services/mgmt/compute/Cargo.toml | 1 + services/mgmt/compute/src/lib.rs | 214 +- .../src/package_2015_06_preview/operations.rs | 140 +- .../compute/src/package_2016_03/operations.rs | 146 +- .../src/package_2016_04_preview/operations.rs | 200 +- .../compute/src/package_2017_03/operations.rs | 238 +- .../compute/src/package_2017_12/operations.rs | 268 +- .../compute/src/package_2018_04/operations.rs | 268 +- .../src/package_2018_04_01/operations.rs | 284 +- .../compute/src/package_2018_06/operations.rs | 320 +- .../src/package_2018_06_01/operations.rs | 316 +- .../operations.rs | 288 +- .../src/package_2018_09_30_only/operations.rs | 38 +- .../src/package_2018_10_01/operations.rs | 320 +- .../package_2018_10_01_disks/operations.rs | 320 +- .../src/package_2018_10_01_only/operations.rs | 236 +- .../src/package_2019_03_01/operations.rs | 368 +- .../src/package_2019_03_01_only/operations.rs | 352 +- .../src/package_2019_04_01_only/operations.rs | 6 +- .../compute/src/package_2019_07/operations.rs | 408 +- .../src/package_2019_07_01/operations.rs | 392 +- .../src/package_2019_07_01_only/operations.rs | 392 +- .../src/package_2019_11_01/operations.rs | 408 +- .../src/package_2019_11_01_only/operations.rs | 52 +- .../src/package_2019_12_01/operations.rs | 430 +- .../src/package_2019_12_01_only/operations.rs | 364 +- .../src/package_2020_05_01/operations.rs | 446 +- .../src/package_2020_05_01_only/operations.rs | 68 +- .../src/package_2020_06_01/operations.rs | 474 +- .../src/package_2020_06_01_only/operations.rs | 330 +- .../src/package_2020_06_30/operations.rs | 476 +- .../src/package_2020_06_30_only/operations.rs | 70 +- .../src/package_2020_09_30/operations.rs | 512 +- .../src/package_2020_09_30_only/operations.rs | 168 +- .../src/package_2020_12_01/operations.rs | 498 +- .../src/package_2020_12_01_only/operations.rs | 432 +- .../src/package_2021_04_01_only/operations.rs | 480 +- .../operations.rs | 16 +- .../src/package_2021_07_01_only/operations.rs | 494 +- .../src/package_compute_2015_06/operations.rs | 130 +- .../src/package_compute_2016_03/operations.rs | 134 +- .../operations.rs | 188 +- .../src/package_compute_2017_03/operations.rs | 226 +- .../src/package_compute_2017_12/operations.rs | 256 +- .../src/package_compute_2018_04/operations.rs | 268 +- .../operations.rs | 216 +- .../operations.rs | 304 +- .../operations.rs | 12 +- .../operations.rs | 14 +- .../operations.rs | 14 +- .../operations.rs | 14 +- .../src/package_disks_2018_04/operations.rs | 38 +- .../src/package_skus_2017_09/operations.rs | 6 +- services/mgmt/confidentialledger/Cargo.toml | 1 + services/mgmt/confidentialledger/src/lib.rs | 18 +- .../package_2020_12_01_preview/operations.rs | 20 +- .../package_2021_05_13_preview/operations.rs | 22 +- services/mgmt/confluent/Cargo.toml | 1 + services/mgmt/confluent/src/lib.rs | 22 +- .../src/package_2020_03_01/operations.rs | 26 +- .../package_2020_03_01_preview/operations.rs | 26 +- .../package_2021_03_01_preview/operations.rs | 30 +- services/mgmt/connectedvmware/Cargo.toml | 1 + services/mgmt/connectedvmware/src/lib.rs | 14 +- .../package_2020_10_01_preview/operations.rs | 166 +- services/mgmt/consumption/Cargo.toml | 2 +- services/mgmt/consumption/src/lib.rs | 70 +- .../src/package_2017_11/operations.rs | 18 +- .../src/package_2018_01/operations.rs | 54 +- .../consumption/src/package_2018_03/mod.rs | 3 - .../consumption/src/package_2018_03/models.rs | 524 - .../src/package_2018_03/operations.rs | 2922 --- .../src/package_2018_05/operations.rs | 34 +- .../src/package_2018_06/operations.rs | 112 +- .../src/package_2018_08/operations.rs | 116 +- .../src/package_2018_10/operations.rs | 124 +- .../src/package_2019_01/operations.rs | 70 +- .../src/package_2019_05/operations.rs | 76 +- .../src/package_2019_06/operations.rs | 80 +- .../src/package_2019_10/operations.rs | 96 +- .../src/package_2021_10/operations.rs | 96 +- .../src/package_preview_2018_11/operations.rs | 38 +- .../src/package_preview_2019_04/operations.rs | 72 +- .../src/package_preview_2019_05/operations.rs | 72 +- services/mgmt/containerinstance/Cargo.toml | 1 + services/mgmt/containerinstance/src/lib.rs | 62 +- .../src/package_2017_08_preview/operations.rs | 18 +- .../src/package_2017_10_preview/operations.rs | 22 +- .../src/package_2017_12_preview/operations.rs | 26 +- .../src/package_2018_02_preview/operations.rs | 32 +- .../src/package_2018_04/operations.rs | 32 +- .../src/package_2018_06/operations.rs | 34 +- .../src/package_2018_09/operations.rs | 34 +- .../src/package_2018_10/operations.rs | 44 +- .../src/package_2019_12/operations.rs | 40 +- .../src/package_2020_11/operations.rs | 42 +- .../src/package_2021_03/operations.rs | 42 +- .../src/package_2021_07/operations.rs | 44 +- .../src/package_2021_09/operations.rs | 44 +- services/mgmt/containerregistry/Cargo.toml | 1 + services/mgmt/containerregistry/src/lib.rs | 106 +- .../src/package_2016_06_preview/operations.rs | 22 +- .../src/package_2017_03/operations.rs | 26 +- .../src/package_2017_06_preview/operations.rs | 58 +- .../src/package_2017_10/operations.rs | 64 +- .../src/package_2018_02_preview/operations.rs | 108 +- .../operations.rs | 48 +- .../src/package_2018_09/operations.rs | 94 +- .../src/package_2018_09_only/operations.rs | 34 +- .../src/package_2019_04/operations.rs | 94 +- .../src/package_2019_04_only/operations.rs | 34 +- .../src/package_2019_05/operations.rs | 90 +- .../src/package_2019_05_only/operations.rs | 60 +- .../src/package_2019_05_preview/operations.rs | 90 +- .../operations.rs | 30 +- .../src/package_2019_06_preview/operations.rs | 144 +- .../operations.rs | 62 +- .../src/package_2019_12_preview/operations.rs | 186 +- .../operations.rs | 102 +- .../src/package_2020_11_preview/operations.rs | 200 +- .../operations.rs | 142 +- .../src/package_2021_06_preview/operations.rs | 200 +- .../operations.rs | 142 +- .../src/package_2021_08_preview/operations.rs | 200 +- .../operations.rs | 142 +- services/mgmt/containerservice/Cargo.toml | 1 + services/mgmt/containerservice/src/lib.rs | 258 +- .../src/package_2016_03_only/operations.rs | 14 +- .../src/package_2016_09_only/operations.rs | 14 +- .../src/package_2017_01_only/operations.rs | 14 +- .../src/package_2017_07/operations.rs | 14 +- .../operations.rs | 16 +- .../src/package_2017_08/operations.rs | 32 +- .../src/package_2017_08_only/operations.rs | 20 +- .../src/package_2017_09/operations.rs | 34 +- .../src/package_2017_09_only/operations.rs | 6 +- .../src/package_2018_03/operations.rs | 46 +- .../src/package_2018_03_only/operations.rs | 32 +- .../src/package_2018_08_preview/operations.rs | 60 +- .../operations.rs | 32 +- .../package_2018_09_30_preview/operations.rs | 60 +- .../operations.rs | 16 +- .../src/package_2019_02/operations.rs | 70 +- .../src/package_2019_02_only/operations.rs | 42 +- .../src/package_2019_04/operations.rs | 70 +- .../src/package_2019_04_01_only/operations.rs | 42 +- .../src/package_2019_04_30_only/operations.rs | 16 +- .../src/package_2019_06/operations.rs | 74 +- .../src/package_2019_06_01_only/operations.rs | 46 +- .../src/package_2019_08/operations.rs | 76 +- .../src/package_2019_08_01_only/operations.rs | 48 +- .../package_2019_09_30_preview/operations.rs | 76 +- .../operations.rs | 16 +- .../src/package_2019_10/operations.rs | 78 +- .../src/package_2019_10_01_only/operations.rs | 50 +- .../package_2019_10_27_preview/operations.rs | 78 +- .../operations.rs | 16 +- .../src/package_2019_11/operations.rs | 78 +- .../src/package_2019_11_01_only/operations.rs | 50 +- .../src/package_2020_01/operations.rs | 78 +- .../src/package_2020_01_01_only/operations.rs | 50 +- .../src/package_2020_02/operations.rs | 78 +- .../src/package_2020_02_01_only/operations.rs | 50 +- .../src/package_2020_03/operations.rs | 78 +- .../src/package_2020_03_01_only/operations.rs | 50 +- .../src/package_2020_04/operations.rs | 78 +- .../src/package_2020_04_01_only/operations.rs | 50 +- .../src/package_2020_06/operations.rs | 88 +- .../src/package_2020_06_01_only/operations.rs | 60 +- .../src/package_2020_07/operations.rs | 90 +- .../src/package_2020_07_01_only/operations.rs | 62 +- .../src/package_2020_09/operations.rs | 102 +- .../src/package_2020_09_01_only/operations.rs | 74 +- .../src/package_2020_11/operations.rs | 74 +- .../src/package_2020_11_01_only/operations.rs | 74 +- .../src/package_2020_12/operations.rs | 84 +- .../src/package_2020_12_01_only/operations.rs | 84 +- .../src/package_2021_02/operations.rs | 84 +- .../src/package_2021_02_01_only/operations.rs | 84 +- .../src/package_2021_03/operations.rs | 90 +- .../src/package_2021_03_01_only/operations.rs | 90 +- .../src/package_2021_05/operations.rs | 92 +- .../src/package_2021_05_01_only/operations.rs | 92 +- .../src/package_2021_07/operations.rs | 92 +- .../src/package_2021_07_01_only/operations.rs | 92 +- .../src/package_2021_08/operations.rs | 106 +- .../src/package_2021_08_01_only/operations.rs | 106 +- .../src/package_2021_09/operations.rs | 106 +- .../src/package_2021_09_01_only/operations.rs | 106 +- services/mgmt/cosmos_db/Cargo.toml | 1 + services/mgmt/cosmos_db/src/lib.rs | 90 +- .../src/package_2014_04/operations.rs | 206 +- .../src/package_2015_04/operations.rs | 206 +- .../src/package_2015_11/operations.rs | 206 +- .../src/package_2016_03_19/operations.rs | 206 +- .../src/package_2016_03_31/operations.rs | 206 +- .../src/package_2019_08/operations.rs | 256 +- .../src/package_2019_08_preview/operations.rs | 272 +- .../src/package_2019_12/operations.rs | 272 +- .../src/package_2020_03/operations.rs | 308 +- .../src/package_2020_04/operations.rs | 308 +- .../src/package_2020_06_preview/operations.rs | 320 +- .../src/package_2020_09/operations.rs | 308 +- .../src/package_2021_01/operations.rs | 308 +- .../src/package_2021_03/operations.rs | 308 +- .../src/package_2021_03_preview/operations.rs | 394 +- .../src/package_2021_04/operations.rs | 324 +- .../src/package_2021_04_preview/operations.rs | 406 +- .../src/package_2021_05/operations.rs | 324 +- .../src/package_2021_07_preview/operations.rs | 432 +- .../src/package_preview_2021_04/operations.rs | 396 +- services/mgmt/cost_management/Cargo.toml | 1 + services/mgmt/cost_management/src/lib.rs | 58 +- .../src/package_2018_05/models.rs | 2 +- .../src/package_2018_05/operations.rs | 42 +- .../src/package_2019_01/models.rs | 2 +- .../src/package_2019_01/operations.rs | 28 +- .../src/package_2019_09/models.rs | 2 +- .../src/package_2019_09/operations.rs | 28 +- .../src/package_2019_10/models.rs | 2 +- .../src/package_2019_10/operations.rs | 28 +- .../src/package_2019_11/operations.rs | 82 +- .../src/package_2020_06/operations.rs | 66 +- .../src/package_2021_01/operations.rs | 78 +- .../src/package_2021_10/operations.rs | 78 +- .../src/package_preview_2019_03/models.rs | 4 +- .../src/package_preview_2019_03/operations.rs | 94 +- .../src/package_preview_2019_04/models.rs | 4 +- .../src/package_preview_2019_04/operations.rs | 36 +- .../src/package_preview_2020_03/operations.rs | 64 +- .../src/package_preview_2020_12/operations.rs | 78 +- services/mgmt/cpim/Cargo.toml | 1 + services/mgmt/cpim/src/lib.rs | 18 +- .../package_2019_01_01_preview/operations.rs | 24 +- .../package_2020_05_01_preview/operations.rs | 20 +- services/mgmt/customer_insights/Cargo.toml | 1 + services/mgmt/customer_insights/src/lib.rs | 18 +- .../src/package_2017_01/operations.rs | 152 +- .../src/package_2017_04/operations.rs | 168 +- services/mgmt/customerlockbox/Cargo.toml | 1 + services/mgmt/customerlockbox/src/lib.rs | 14 +- .../package_2018_02_28_preview/operations.rs | 14 +- services/mgmt/customproviders/Cargo.toml | 1 + services/mgmt/customproviders/src/lib.rs | 14 +- .../package_2018_09_01_preview/operations.rs | 30 +- services/mgmt/databox/Cargo.toml | 1 + services/mgmt/databox/src/lib.rs | 38 +- .../databox/src/package_2018_01/operations.rs | 32 +- .../databox/src/package_2019_09/operations.rs | 40 +- .../databox/src/package_2020_04/models.rs | 4 +- .../databox/src/package_2020_04/operations.rs | 40 +- .../databox/src/package_2020_11/operations.rs | 40 +- .../databox/src/package_2021_03/operations.rs | 42 +- .../databox/src/package_2021_05/operations.rs | 42 +- .../src/package_2021_08_preview/models.rs | 4 +- .../src/package_2021_08_preview/operations.rs | 44 +- services/mgmt/databoxedge/Cargo.toml | 1 + services/mgmt/databoxedge/src/lib.rs | 58 +- .../src/package_2019_03/operations.rs | 122 +- .../src/package_2019_07/operations.rs | 126 +- .../src/package_2019_08/operations.rs | 152 +- .../src/package_2020_05_preview/operations.rs | 156 +- .../src/package_2020_09_01/operations.rs | 178 +- .../package_2020_09_01_preview/operations.rs | 178 +- .../src/package_2020_12_01/operations.rs | 178 +- .../src/package_2021_02_01/operations.rs | 192 +- .../package_2021_02_01_preview/operations.rs | 178 +- .../src/package_2021_06_01/operations.rs | 192 +- .../package_2021_06_01_preview/operations.rs | 192 +- .../profile_hybrid_2020_09_01/operations.rs | 152 +- services/mgmt/databricks/Cargo.toml | 1 + services/mgmt/databricks/src/lib.rs | 14 +- .../src/package_2018_04_01/operations.rs | 30 +- services/mgmt/datacatalog/Cargo.toml | 1 + services/mgmt/datacatalog/src/lib.rs | 14 +- .../src/package_2016_03_30/operations.rs | 18 +- services/mgmt/datadog/Cargo.toml | 1 + services/mgmt/datadog/src/lib.rs | 18 +- .../src/package_2020_02_preview/operations.rs | 56 +- .../datadog/src/package_2021_03/operations.rs | 56 +- services/mgmt/datafactory/Cargo.toml | 1 + services/mgmt/datafactory/src/lib.rs | 18 +- .../src/package_2017_09_preview/operations.rs | 122 +- .../src/package_2018_06/operations.rs | 216 +- services/mgmt/datalake_analytics/Cargo.toml | 1 + services/mgmt/datalake_analytics/src/lib.rs | 22 +- .../src/package_2015_10_preview/operations.rs | 76 +- .../src/package_2016_11/operations.rs | 78 +- .../src/package_preview_2019_11/operations.rs | 78 +- services/mgmt/datalake_store/Cargo.toml | 1 + services/mgmt/datalake_store/src/lib.rs | 18 +- .../src/package_2015_10_preview/operations.rs | 26 +- .../src/package_2016_11/operations.rs | 66 +- services/mgmt/dataprotection/Cargo.toml | 1 + services/mgmt/dataprotection/src/lib.rs | 30 +- .../src/package_2021_01/operations.rs | 92 +- .../src/package_2021_02_preview/models.rs | 2 +- .../src/package_2021_02_preview/operations.rs | 102 +- .../src/package_2021_06_preview/models.rs | 2 +- .../src/package_2021_06_preview/operations.rs | 102 +- .../src/package_2021_07/operations.rs | 130 +- .../src/package_2021_10_preview/models.rs | 2 +- .../src/package_2021_10_preview/operations.rs | 130 +- services/mgmt/datashare/Cargo.toml | 1 + services/mgmt/datashare/src/lib.rs | 30 +- .../package_2018_11_01_preview/operations.rs | 126 +- .../src/package_2019_11_01/operations.rs | 132 +- .../src/package_2020_09_01/operations.rs | 134 +- .../package_2020_10_01_preview/operations.rs | 128 +- .../src/package_2021_08_01/operations.rs | 134 +- services/mgmt/deploymentmanager/Cargo.toml | 2 +- services/mgmt/deploymentmanager/src/lib.rs | 20 +- .../src/package_2018_09_01_preview/mod.rs | 3 - .../src/package_2018_09_01_preview/models.rs | 316 - .../package_2018_09_01_preview/operations.rs | 1576 -- .../package_2019_11_01_preview/operations.rs | 70 +- .../mgmt/desktopvirtualization/Cargo.toml | 1 + .../mgmt/desktopvirtualization/src/lib.rs | 62 +- .../package_2019_01_23_preview/operations.rs | 96 +- .../package_2019_09_24_preview/operations.rs | 96 +- .../package_2019_12_10_preview/operations.rs | 96 +- .../package_2020_09_21_preview/operations.rs | 112 +- .../package_2020_10_19_preview/operations.rs | 112 +- .../package_2020_11_02_preview/operations.rs | 112 +- .../package_2020_11_10_preview/operations.rs | 128 +- .../package_2021_01_14_preview/operations.rs | 130 +- .../package_2021_02_01_preview/operations.rs | 130 +- .../package_2021_03_09_preview/operations.rs | 130 +- .../package_2021_04_01_preview/operations.rs | 154 +- .../src/package_2021_07/operations.rs | 130 +- .../src/package_preview_2021_09/operations.rs | 154 +- services/mgmt/deviceupdate/Cargo.toml | 1 + services/mgmt/deviceupdate/src/lib.rs | 14 +- .../package_2020_03_01_preview/operations.rs | 54 +- services/mgmt/devops/Cargo.toml | 1 + services/mgmt/devops/src/lib.rs | 18 +- .../package_2019_07_01_preview/operations.rs | 24 +- .../package_2020_07_13_preview/operations.rs | 24 +- services/mgmt/devspaces/Cargo.toml | 1 + services/mgmt/devspaces/src/lib.rs | 14 +- .../src/package_2019_04_01/operations.rs | 26 +- services/mgmt/devtestlabs/Cargo.toml | 1 + services/mgmt/devtestlabs/src/lib.rs | 22 +- .../src/package_2015_05_preview/operations.rs | 142 +- .../src/package_2016_05/operations.rs | 262 +- .../src/package_2018_09/operations.rs | 316 +- services/mgmt/dfp/Cargo.toml | 1 + services/mgmt/dfp/src/lib.rs | 14 +- .../package_2021_02_01_preview/operations.rs | 20 +- services/mgmt/digitaltwins/Cargo.toml | 1 + services/mgmt/digitaltwins/src/lib.rs | 22 +- .../package_2020_03_01_preview/operations.rs | 32 +- .../src/package_2020_10/operations.rs | 32 +- .../src/package_2020_12/operations.rs | 48 +- services/mgmt/dns/Cargo.toml | 1 + services/mgmt/dns/src/lib.rs | 38 +- .../src/package_2015_05_preview/operations.rs | 26 +- .../dns/src/package_2016_04/operations.rs | 28 +- .../dns/src/package_2017_09/operations.rs | 28 +- .../dns/src/package_2017_10/operations.rs | 32 +- .../src/package_2018_03_preview/operations.rs | 32 +- .../dns/src/package_2018_05/operations.rs | 36 +- .../profile_hybrid_2020_09_01/operations.rs | 28 +- services/mgmt/domainservices/Cargo.toml | 1 + services/mgmt/domainservices/src/lib.rs | 30 +- .../src/package_2017_01/operations.rs | 20 +- .../src/package_2017_06/operations.rs | 36 +- .../src/package_2020_01/operations.rs | 36 +- .../src/package_2021_03/operations.rs | 36 +- .../src/package_2021_05/operations.rs | 36 +- services/mgmt/edgeorder/Cargo.toml | 1 + services/mgmt/edgeorder/src/lib.rs | 14 +- .../src/package_2020_12_preview/operations.rs | 44 +- services/mgmt/edgeorderpartner/Cargo.toml | 1 + services/mgmt/edgeorderpartner/src/lib.rs | 14 +- .../src/package_2020_12_preview/operations.rs | 10 +- services/mgmt/elastic/Cargo.toml | 1 + services/mgmt/elastic/src/lib.rs | 18 +- .../src/package_2020_07_01/operations.rs | 50 +- .../package_2020_07_01_preview/operations.rs | 50 +- services/mgmt/engagementfabric/Cargo.toml | 1 + services/mgmt/engagementfabric/src/lib.rs | 14 +- .../src/package_2018_09_preview/operations.rs | 42 +- .../enterprise_knowledge_graph/Cargo.toml | 1 + .../enterprise_knowledge_graph/src/lib.rs | 14 +- .../src/package_2018_12_03/operations.rs | 20 +- services/mgmt/eventgrid/Cargo.toml | 1 + services/mgmt/eventgrid/src/lib.rs | 14 +- .../src/package_2021_12/operations.rs | 142 +- services/mgmt/eventhub/Cargo.toml | 1 + services/mgmt/eventhub/src/lib.rs | 42 +- .../src/package_2014_09/operations.rs | 66 +- .../src/package_2015_08/operations.rs | 68 +- .../src/package_2017_04/operations.rs | 100 +- .../src/package_2018_01_preview/operations.rs | 148 +- .../src/package_2021_01_preview/operations.rs | 106 +- .../src/package_2021_06_preview/operations.rs | 130 +- .../src/package_2021_11/operations.rs | 142 +- .../profile_hybrid_2020_09_01/operations.rs | 108 +- services/mgmt/extendedlocation/Cargo.toml | 1 + services/mgmt/extendedlocation/src/lib.rs | 18 +- .../package_2021_03_15_preview/operations.rs | 20 +- .../src/package_2021_08_15/operations.rs | 20 +- services/mgmt/fluidrelay/Cargo.toml | 1 + services/mgmt/fluidrelay/src/lib.rs | 18 +- .../package_2021_03_12_preview/operations.rs | 24 +- .../package_2021_06_15_preview/operations.rs | 24 +- services/mgmt/frontdoor/Cargo.toml | 1 + services/mgmt/frontdoor/src/lib.rs | 50 +- .../src/package_2018_08_preview/operations.rs | 44 +- .../src/package_2019_03_preview/operations.rs | 48 +- .../src/package_2019_04/operations.rs | 48 +- .../src/package_2019_05/operations.rs | 48 +- .../src/package_2019_10/operations.rs | 48 +- .../src/package_2019_11/operations.rs | 84 +- .../src/package_2020_01/operations.rs | 94 +- .../src/package_2020_04/operations.rs | 94 +- .../src/package_2020_05/operations.rs | 98 +- .../src/package_2020_11/operations.rs | 98 +- services/mgmt/guestconfiguration/Cargo.toml | 1 + services/mgmt/guestconfiguration/src/lib.rs | 30 +- .../package_2018_01_20_preview/operations.rs | 18 +- .../package_2018_06_30_preview/operations.rs | 22 +- .../src/package_2018_11_20/operations.rs | 42 +- .../src/package_2020_06_25/operations.rs | 42 +- .../src/package_2021_01_25/operations.rs | 56 +- services/mgmt/hanaonazure/Cargo.toml | 1 + services/mgmt/hanaonazure/src/lib.rs | 18 +- .../src/package_2017_11/operations.rs | 26 +- .../package_2020_02_07_preview/operations.rs | 28 +- .../mgmt/hardwaresecuritymodules/Cargo.toml | 1 + .../mgmt/hardwaresecuritymodules/src/lib.rs | 14 +- .../src/package_2018_10/operations.rs | 20 +- services/mgmt/hdinsight/Cargo.toml | 1 + services/mgmt/hdinsight/src/lib.rs | 22 +- .../src/package_2015_03_preview/operations.rs | 118 +- .../src/package_2018_06_preview/operations.rs | 116 +- .../src/package_2021_06/operations.rs | 132 +- services/mgmt/healthbot/Cargo.toml | 1 + services/mgmt/healthbot/src/lib.rs | 30 +- .../src/package_2020_10_20/operations.rs | 30 +- .../package_2020_10_20_preview/operations.rs | 30 +- .../src/package_2020_12_08/operations.rs | 20 +- .../package_2020_12_08_preview/operations.rs | 22 +- .../src/package_2021_06_10/operations.rs | 20 +- services/mgmt/healthcareapis/Cargo.toml | 1 + services/mgmt/healthcareapis/src/lib.rs | 34 +- .../src/package_2018_08_preview/operations.rs | 26 +- .../src/package_2019_09/operations.rs | 26 +- .../src/package_2020_03/operations.rs | 26 +- .../src/package_2020_03_30/operations.rs | 42 +- .../src/package_2021_01/operations.rs | 42 +- .../src/package_preview_2021_06/operations.rs | 104 +- services/mgmt/hybridcompute/Cargo.toml | 1 + services/mgmt/hybridcompute/src/lib.rs | 58 +- .../src/package_2019_03/operations.rs | 22 +- .../src/package_2019_08/operations.rs | 34 +- .../src/package_2019_12/operations.rs | 34 +- .../package_2020_07_30_preview/operations.rs | 32 +- .../src/package_2020_08_02/operations.rs | 32 +- .../src/package_2021_05/operations.rs | 68 +- .../src/package_preview_2020_08/operations.rs | 76 +- .../src/package_preview_2021_01/operations.rs | 66 +- .../src/package_preview_2021_03/operations.rs | 66 +- .../src/package_preview_2021_04/operations.rs | 68 +- .../src/package_preview_2021_05/operations.rs | 68 +- .../src/package_preview_2021_06/operations.rs | 68 +- services/mgmt/hybridconnectivity/Cargo.toml | 1 + services/mgmt/hybridconnectivity/src/lib.rs | 14 +- .../package_2021_10_06_preview/operations.rs | 20 +- services/mgmt/hybriddatamanager/Cargo.toml | 1 + services/mgmt/hybriddatamanager/src/lib.rs | 18 +- .../src/package_2016_06/operations.rs | 76 +- .../src/package_2019_06/operations.rs | 76 +- services/mgmt/hybridkubernetes/Cargo.toml | 1 + services/mgmt/hybridkubernetes/src/lib.rs | 26 +- .../package_2020_01_01_preview/operations.rs | 22 +- .../src/package_2021_03_01/operations.rs | 20 +- .../package_2021_04_01_preview/operations.rs | 22 +- .../src/package_2021_10_01/operations.rs | 22 +- services/mgmt/hybridnetwork/Cargo.toml | 1 + services/mgmt/hybridnetwork/src/lib.rs | 18 +- .../package_2020_01_01_preview/operations.rs | 96 +- .../src/package_2021_05_01/operations.rs | 96 +- services/mgmt/imagebuilder/Cargo.toml | 1 + services/mgmt/imagebuilder/src/lib.rs | 26 +- .../src/package_2018_02/operations.rs | 26 +- .../src/package_2019_02/operations.rs | 26 +- .../src/package_2020_02/operations.rs | 28 +- .../src/package_preview_2019_05/operations.rs | 26 +- services/mgmt/intune/Cargo.toml | 1 + services/mgmt/intune/src/lib.rs | 18 +- .../src/package_2015_01_preview/operations.rs | 72 +- .../operations.rs | 72 +- services/mgmt/iotcentral/Cargo.toml | 1 + services/mgmt/iotcentral/src/lib.rs | 22 +- .../operations.rs | 22 +- .../src/package_2018_09_01/operations.rs | 26 +- .../src/package_2021_06/operations.rs | 26 +- services/mgmt/iothub/Cargo.toml | 1 + services/mgmt/iothub/src/lib.rs | 102 +- .../iothub/src/package_2016_02/operations.rs | 42 +- .../iothub/src/package_2017_01/operations.rs | 42 +- .../iothub/src/package_2017_07/operations.rs | 60 +- .../iothub/src/package_2018_01/operations.rs | 62 +- .../iothub/src/package_2018_04/operations.rs | 72 +- .../src/package_2018_12_preview/operations.rs | 72 +- .../iothub/src/package_2019_03/operations.rs | 76 +- .../iothub/src/package_2019_11/operations.rs | 76 +- .../iothub/src/package_2020_03/operations.rs | 92 +- .../iothub/src/package_2020_04/operations.rs | 92 +- .../iothub/src/package_2020_06/operations.rs | 92 +- .../iothub/src/package_2020_08/operations.rs | 92 +- .../src/package_2020_08_31/operations.rs | 92 +- .../iothub/src/package_2021_03/operations.rs | 92 +- .../iothub/src/package_2021_07/operations.rs | 92 +- .../src/package_preview_2019_03/operations.rs | 76 +- .../src/package_preview_2019_07/operations.rs | 76 +- .../src/package_preview_2020_07/operations.rs | 92 +- .../package_preview_2020_08_31/operations.rs | 92 +- .../src/package_preview_2021_02/operations.rs | 92 +- .../src/package_preview_2021_03/operations.rs | 92 +- .../src/package_preview_2021_07/operations.rs | 92 +- .../profile_hybrid_2020_09_01/operations.rs | 76 +- services/mgmt/keyvault/Cargo.toml | 1 + services/mgmt/keyvault/src/lib.rs | 54 +- .../src/package_2015_06/operations.rs | 14 +- .../src/package_2016_10/operations.rs | 32 +- .../src/package_2018_02/operations.rs | 44 +- .../package_2018_02_14_preview/operations.rs | 32 +- .../src/package_2019_09/operations.rs | 56 +- .../src/package_preview_2020_04/models.rs | 2 +- .../src/package_preview_2020_04/operations.rs | 58 +- .../package_preview_2020_04_full/models.rs | 2 +- .../operations.rs | 80 +- .../src/package_preview_2021_04/models.rs | 2 +- .../src/package_preview_2021_04/operations.rs | 80 +- .../package_preview_2021_04_full/models.rs | 2 +- .../operations.rs | 102 +- .../src/package_preview_2021_06/models.rs | 2 +- .../src/package_preview_2021_06/operations.rs | 102 +- .../profile_hybrid_2020_09_01/operations.rs | 54 +- .../mgmt/kubernetesconfiguration/Cargo.toml | 1 + .../mgmt/kubernetesconfiguration/src/lib.rs | 14 +- .../src/package_2021_09/operations.rs | 24 +- services/mgmt/labservices/Cargo.toml | 1 + services/mgmt/labservices/src/lib.rs | 18 +- .../src/package_2018_10/operations.rs | 130 +- .../src/package_preview_2021_10/operations.rs | 96 +- services/mgmt/logic/Cargo.toml | 1 + services/mgmt/logic/src/lib.rs | 18 +- .../src/package_2018_07_preview/operations.rs | 232 +- .../logic/src/package_2019_05/operations.rs | 268 +- services/mgmt/logz/Cargo.toml | 1 + services/mgmt/logz/src/lib.rs | 18 +- .../logz/src/package_2020_10_01/operations.rs | 80 +- .../package_2020_10_01_preview/operations.rs | 80 +- services/mgmt/machinelearning/Cargo.toml | 1 + services/mgmt/machinelearning/src/lib.rs | 30 +- .../operations.rs | 36 +- .../operations.rs | 18 +- .../package_webservices_2017_01/operations.rs | 24 +- .../package_workspaces_2016_04/operations.rs | 24 +- .../package_workspaces_2019_10/operations.rs | 24 +- .../mgmt/machinelearningcompute/Cargo.toml | 1 + .../mgmt/machinelearningcompute/src/lib.rs | 18 +- .../src/package_2017_06_preview/operations.rs | 26 +- .../src/package_2017_08_preview/operations.rs | 26 +- .../machinelearningexperimentation/Cargo.toml | 1 + .../machinelearningexperimentation/src/lib.rs | 14 +- .../src/package_2017_05_preview/operations.rs | 44 +- .../mgmt/machinelearningservices/Cargo.toml | 1 + .../mgmt/machinelearningservices/src/lib.rs | 86 +- .../src/package_2018_03_preview/operations.rs | 38 +- .../src/package_2018_11_19/operations.rs | 48 +- .../src/package_2019_05_01/operations.rs | 48 +- .../src/package_2019_06_01/operations.rs | 54 +- .../src/package_2019_11_01/operations.rs | 60 +- .../src/package_2020_01_01/operations.rs | 72 +- .../package_2020_02_18_preview/operations.rs | 78 +- .../src/package_2020_03_01/operations.rs | 76 +- .../src/package_2020_04_01/operations.rs | 76 +- .../package_2020_04_01_preview/operations.rs | 82 +- .../package_2020_05_01_preview/operations.rs | 112 +- .../src/package_2020_06_01/operations.rs | 92 +- .../src/package_2020_08_01/operations.rs | 92 +- .../package_2020_09_01_preview/operations.rs | 124 +- .../src/package_2021_01_01/operations.rs | 110 +- .../package_2021_03_01_preview/operations.rs | 280 +- .../src/package_2021_04_01/operations.rs | 112 +- .../src/package_2021_07_01/operations.rs | 104 +- .../src/package_preview_2020_05/operations.rs | 92 +- services/mgmt/maintenance/Cargo.toml | 1 + services/mgmt/maintenance/src/lib.rs | 34 +- .../src/package_2018_06_preview/operations.rs | 48 +- .../src/package_2020_04/operations.rs | 48 +- .../src/package_2021_05/operations.rs | 64 +- .../src/package_preview_2020_07/operations.rs | 54 +- .../src/package_preview_2021_04/operations.rs | 72 +- .../src/package_preview_2021_09/operations.rs | 72 +- services/mgmt/managednetwork/Cargo.toml | 1 + services/mgmt/managednetwork/src/lib.rs | 14 +- .../package_2019_06_01_preview/operations.rs | 50 +- services/mgmt/managedservices/Cargo.toml | 1 + services/mgmt/managedservices/src/lib.rs | 30 +- .../src/package_2018_06_preview/operations.rs | 26 +- .../src/package_2019_04_preview/operations.rs | 26 +- .../src/package_2019_06/operations.rs | 26 +- .../src/package_2019_09/operations.rs | 38 +- .../src/package_2020_02_preview/operations.rs | 38 +- services/mgmt/managementgroups/Cargo.toml | 1 + services/mgmt/managementgroups/src/lib.rs | 46 +- .../src/package_2017_08/operations.rs | 12 +- .../src/package_2017_11/operations.rs | 24 +- .../src/package_2018_01/operations.rs | 30 +- .../src/package_2018_03/operations.rs | 36 +- .../src/package_2019_11/operations.rs | 36 +- .../src/package_2020_02/operations.rs | 48 +- .../src/package_2020_05/operations.rs | 52 +- .../src/package_2020_10/operations.rs | 52 +- .../src/package_2021_04/operations.rs | 52 +- services/mgmt/managementpartner/Cargo.toml | 1 + services/mgmt/managementpartner/src/lib.rs | 14 +- .../src/package_2018_02/operations.rs | 20 +- services/mgmt/maps/Cargo.toml | 1 + services/mgmt/maps/src/lib.rs | 30 +- .../maps/src/package_2017_01/operations.rs | 24 +- .../maps/src/package_2018_05/operations.rs | 24 +- .../maps/src/package_2021_02/operations.rs | 38 +- .../src/package_preview_2020_02/operations.rs | 48 +- .../src/package_preview_2021_07/operations.rs | 36 +- services/mgmt/mariadb/Cargo.toml | 1 + services/mgmt/mariadb/src/lib.rs | 30 +- .../src/package_2018_06_01/operations.rs | 156 +- .../package_2018_06_01_preview/operations.rs | 96 +- .../operations.rs | 140 +- .../src/package_2020_01_01/operations.rs | 160 +- .../operations.rs | 12 +- .../mgmt/marketplacenotifications/Cargo.toml | 1 + .../mgmt/marketplacenotifications/src/lib.rs | 18 +- .../src/package_2021_03_03/operations.rs | 12 +- .../src/package_composite_v1/operations.rs | 12 +- services/mgmt/marketplaceordering/Cargo.toml | 1 + services/mgmt/marketplaceordering/src/lib.rs | 18 +- .../src/package_2015_06_01/operations.rs | 20 +- .../src/package_2021_01_01/operations.rs | 20 +- services/mgmt/mediaservices/Cargo.toml | 1 + services/mgmt/mediaservices/src/lib.rs | 46 +- .../src/package_2015_10/operations.rs | 26 +- .../src/package_2018_03_preview/operations.rs | 152 +- .../src/package_2018_06_preview/operations.rs | 152 +- .../src/package_2018_07/operations.rs | 182 +- .../src/package_2019_09_preview/operations.rs | 204 +- .../src/package_2020_02_preview/operations.rs | 204 +- .../src/package_2020_05/operations.rs | 200 +- .../src/package_2021_05/operations.rs | 198 +- .../src/package_2021_06/operations.rs | 198 +- services/mgmt/migrate/Cargo.toml | 1 + services/mgmt/migrate/src/lib.rs | 30 +- .../migrate/src/package_2018_02/operations.rs | 66 +- .../migrate/src/package_2019_10/operations.rs | 118 +- .../migrate/src/package_2020_01/operations.rs | 112 +- .../migrate/src/package_2020_05/operations.rs | 40 +- .../migrate/src/package_2020_07/operations.rs | 152 +- services/mgmt/migrateprojects/Cargo.toml | 1 + services/mgmt/migrateprojects/src/lib.rs | 14 +- .../src/package_2018_09/operations.rs | 62 +- services/mgmt/monitor/Cargo.toml | 1 + services/mgmt/monitor/src/lib.rs | 190 +- .../src/package_2014_04_01_only/operations.rs | 30 +- .../src/package_2015_04_01_only/operations.rs | 46 +- .../src/package_2015_07_01_only/operations.rs | 30 +- .../src/package_2016_03_01_only/operations.rs | 38 +- .../src/package_2016_06_only/operations.rs | 10 +- .../src/package_2016_09_01_only/operations.rs | 14 +- .../operations.rs | 16 +- .../src/package_2017_04_01_only/operations.rs | 32 +- .../operations.rs | 36 +- .../monitor/src/package_2017_08/operations.rs | 98 +- .../monitor/src/package_2017_09/operations.rs | 124 +- .../operations.rs | 14 +- .../operations.rs | 8 +- .../monitor/src/package_2017_12/operations.rs | 124 +- .../operations.rs | 6 +- .../src/package_2018_01_01_only/operations.rs | 10 +- .../src/package_2018_02_preview/operations.rs | 124 +- .../monitor/src/package_2018_03/operations.rs | 158 +- .../src/package_2018_03_01_only/operations.rs | 38 +- .../src/package_2018_04_16_only/operations.rs | 16 +- .../operations.rs | 30 +- .../monitor/src/package_2018_09/operations.rs | 162 +- .../src/package_2018_09_01_only/operations.rs | 28 +- .../operations.rs | 6 +- .../src/package_2018_11_preview/operations.rs | 166 +- .../monitor/src/package_2019_03/operations.rs | 164 +- .../src/package_2019_03_01_only/operations.rs | 22 +- .../monitor/src/package_2019_06/operations.rs | 164 +- .../src/package_2019_06_01_only/operations.rs | 18 +- .../src/package_2019_07_only/operations.rs | 10 +- .../operations.rs | 46 +- .../monitor/src/package_2019_11/operations.rs | 218 +- .../operations.rs | 28 +- .../operations.rs | 12 +- .../monitor/src/package_2020_03/operations.rs | 208 +- .../operations.rs | 16 +- .../src/package_2020_10_only/operations.rs | 16 +- .../operations.rs | 16 +- .../monitor/src/package_2021_04/operations.rs | 248 +- .../src/package_2021_04_only/operations.rs | 42 +- .../operations.rs | 38 +- .../src/package_2021_05_only/operations.rs | 20 +- .../monitor/src/package_2021_07/operations.rs | 248 +- .../operations.rs | 46 +- .../monitor/src/package_2021_09/operations.rs | 252 +- services/mgmt/msi/Cargo.toml | 1 + services/mgmt/msi/src/lib.rs | 18 +- .../package_2015_08_31_preview/operations.rs | 24 +- .../msi/src/package_2018_11_30/operations.rs | 24 +- services/mgmt/mysql/Cargo.toml | 1 + services/mgmt/mysql/src/lib.rs | 50 +- .../src/package_2017_12_01/operations.rs | 106 +- .../package_2017_12_01_preview/operations.rs | 106 +- .../src/package_2018_06_01/operations.rs | 166 +- .../operations.rs | 150 +- .../src/package_2020_01_01/operations.rs | 182 +- .../operations.rs | 12 +- .../package_2020_07_01_preview/operations.rs | 82 +- .../operations.rs | 84 +- .../operations.rs | 84 +- .../operations.rs | 84 +- services/mgmt/network/Cargo.toml | 1 + services/mgmt/network/src/lib.rs | 202 +- .../src/package_2015_05_preview/operations.rs | 212 +- .../src/package_2015_06split/operations.rs | 214 +- .../network/src/package_2016_03/models.rs | 8 +- .../network/src/package_2016_03/operations.rs | 218 +- .../network/src/package_2016_06/models.rs | 8 +- .../network/src/package_2016_06/operations.rs | 234 +- .../network/src/package_2016_09/operations.rs | 284 +- .../network/src/package_2016_12/operations.rs | 314 +- .../network/src/package_2017_03/operations.rs | 326 +- .../src/package_2017_03_30_only/operations.rs | 22 +- .../src/package_2017_03_only/operations.rs | 314 +- .../network/src/package_2017_06/operations.rs | 394 +- .../network/src/package_2017_08/operations.rs | 396 +- .../network/src/package_2017_09/operations.rs | 448 +- .../src/package_2017_09_only/operations.rs | 432 +- .../network/src/package_2017_10/operations.rs | 464 +- .../src/package_2017_10_only/operations.rs | 448 +- .../network/src/package_2017_11/operations.rs | 464 +- .../src/package_2017_11_only/operations.rs | 448 +- .../network/src/package_2018_01/operations.rs | 464 +- .../src/package_2018_01_only/operations.rs | 448 +- .../network/src/package_2018_02/operations.rs | 516 +- .../network/src/package_2018_04/operations.rs | 604 +- .../network/src/package_2018_06/operations.rs | 608 +- .../network/src/package_2018_07/operations.rs | 644 +- .../network/src/package_2018_08/operations.rs | 790 +- .../network/src/package_2018_10/operations.rs | 792 +- .../network/src/package_2018_11/operations.rs | 812 +- .../network/src/package_2018_12/operations.rs | 832 +- .../src/package_2018_12_only/operations.rs | 804 +- .../network/src/package_2019_02/operations.rs | 856 +- .../network/src/package_2019_04/operations.rs | 908 +- .../network/src/package_2019_06/operations.rs | 954 +- .../network/src/package_2019_07/operations.rs | 986 +- .../network/src/package_2019_08/operations.rs | 1004 +- .../network/src/package_2019_09/operations.rs | 1034 +- .../network/src/package_2019_11/operations.rs | 1048 +- .../network/src/package_2019_12/operations.rs | 1062 +- .../network/src/package_2020_03/operations.rs | 1100 +- .../network/src/package_2020_04/operations.rs | 1114 +- .../network/src/package_2020_05/operations.rs | 1174 +- .../network/src/package_2020_06/operations.rs | 1220 +- .../network/src/package_2020_07/operations.rs | 1238 +- .../network/src/package_2020_08/operations.rs | 1252 +- .../network/src/package_2020_11/operations.rs | 1258 +- .../network/src/package_2021_02/operations.rs | 1270 +- .../src/package_2021_02_preview/operations.rs | 1420 +- .../network/src/package_2021_03/operations.rs | 1276 +- .../src/package_2021_03_preview/operations.rs | 1286 +- .../profile_hybrid_2020_09_01/operations.rs | 276 +- services/mgmt/notificationhubs/Cargo.toml | 1 + services/mgmt/notificationhubs/src/lib.rs | 22 +- .../src/package_2014_09/operations.rs | 52 +- .../src/package_2016_03/operations.rs | 56 +- .../src/package_2017_04/operations.rs | 64 +- services/mgmt/operationalinsights/Cargo.toml | 1 + services/mgmt/operationalinsights/src/lib.rs | 46 +- .../src/package_2015_03/operations.rs | 44 +- .../src/package_2015_11_preview/operations.rs | 54 +- .../src/package_2019_08_preview/operations.rs | 46 +- .../src/package_2019_09_preview/models.rs | 2 +- .../src/package_2019_09_preview/operations.rs | 34 +- .../src/package_2020_03_preview/operations.rs | 160 +- .../src/package_2020_08/operations.rs | 152 +- .../src/package_2020_10/operations.rs | 152 +- .../src/package_2020_10_only/operations.rs | 48 +- .../src/package_2021_06/operations.rs | 144 +- services/mgmt/operationsmanagement/Cargo.toml | 1 + services/mgmt/operationsmanagement/src/lib.rs | 14 +- .../src/package_2015_11_preview/operations.rs | 40 +- services/mgmt/peering/Cargo.toml | 1 + services/mgmt/peering/src/lib.rs | 38 +- .../package_2019_08_01_preview/operations.rs | 74 +- .../package_2019_09_01_preview/operations.rs | 72 +- .../package_2020_01_01_preview/operations.rs | 96 +- .../src/package_2020_04_01/operations.rs | 100 +- .../src/package_2020_10_01/operations.rs | 104 +- .../src/package_2021_01_01/operations.rs | 104 +- .../src/package_2021_06_01/operations.rs | 120 +- services/mgmt/policyinsights/Cargo.toml | 1 + services/mgmt/policyinsights/src/lib.rs | 34 +- .../src/package_2018_04/operations.rs | 62 +- .../src/package_2018_07/operations.rs | 120 +- .../src/package_2019_10/operations.rs | 76 +- .../src/package_2020_07/operations.rs | 82 +- .../src/package_2020_07_preview/operations.rs | 82 +- .../src/package_2021_01/operations.rs | 108 +- services/mgmt/portal/Cargo.toml | 1 + services/mgmt/portal/src/lib.rs | 26 +- .../package_2015_08_01_preview/operations.rs | 20 +- .../package_2018_10_01_preview/operations.rs | 20 +- .../package_2019_01_01_preview/operations.rs | 30 +- .../package_2020_09_01_preview/operations.rs | 34 +- services/mgmt/postgresql/Cargo.toml | 1 + services/mgmt/postgresql/src/lib.rs | 66 +- .../src/package_2017_12_01/operations.rs | 106 +- .../package_2017_12_01_preview/operations.rs | 106 +- .../src/package_2018_06_01/operations.rs | 166 +- .../operations.rs | 20 +- .../src/package_2020_01_01/operations.rs | 134 +- .../operations.rs | 12 +- .../package_2020_02_14_preview/operations.rs | 56 +- .../operations.rs | 66 +- .../package_2020_11_05_preview/operations.rs | 66 +- .../operations.rs | 70 +- .../operations.rs | 74 +- .../operations.rs | 72 +- .../operations.rs | 72 +- .../operations.rs | 100 +- services/mgmt/postgresqlhsc/Cargo.toml | 1 + services/mgmt/postgresqlhsc/src/lib.rs | 14 +- .../operations.rs | 62 +- services/mgmt/powerbidedicated/Cargo.toml | 1 + services/mgmt/powerbidedicated/src/lib.rs | 18 +- .../src/package_2017_10_01/operations.rs | 30 +- .../src/package_2021_01_01/operations.rs | 44 +- services/mgmt/powerbiembedded/Cargo.toml | 1 + services/mgmt/powerbiembedded/src/lib.rs | 14 +- .../src/package_2016_01/operations.rs | 30 +- services/mgmt/powerbiprivatelinks/Cargo.toml | 1 + services/mgmt/powerbiprivatelinks/src/lib.rs | 14 +- .../src/package_2020_06_01/operations.rs | 44 +- services/mgmt/privatedns/Cargo.toml | 1 + services/mgmt/privatedns/src/lib.rs | 22 +- .../src/package_2018_09/operations.rs | 42 +- .../src/package_2020_01/operations.rs | 42 +- .../src/package_2020_06/operations.rs | 42 +- services/mgmt/providerhub/Cargo.toml | 1 + services/mgmt/providerhub/src/lib.rs | 26 +- .../src/package_2020_11_20/operations.rs | 102 +- .../package_2021_05_01_preview/operations.rs | 102 +- .../package_2021_06_01_preview/operations.rs | 106 +- .../package_2021_09_01_preview/operations.rs | 106 +- services/mgmt/purview/Cargo.toml | 1 + services/mgmt/purview/src/lib.rs | 18 +- .../package_2020_12_01_preview/operations.rs | 48 +- .../src/package_2021_07_01/operations.rs | 50 +- services/mgmt/quantum/Cargo.toml | 1 + services/mgmt/quantum/src/lib.rs | 14 +- .../package_2019_11_04_preview/operations.rs | 28 +- services/mgmt/quota/Cargo.toml | 1 + services/mgmt/quota/src/lib.rs | 18 +- .../src/package_2021_03_15/operations.rs | 26 +- .../package_2021_03_15_preview/operations.rs | 28 +- services/mgmt/recoveryservices/Cargo.toml | 1 + services/mgmt/recoveryservices/src/lib.rs | 50 +- .../src/package_2016_06/operations.rs | 54 +- .../src/package_2020_02/operations.rs | 58 +- .../src/package_2020_10/operations.rs | 58 +- .../src/package_2021_01/operations.rs | 58 +- .../src/package_2021_02/operations.rs | 58 +- .../src/package_2021_03/operations.rs | 58 +- .../src/package_2021_04/operations.rs | 58 +- .../src/package_2021_06/operations.rs | 58 +- .../src/package_2021_07/operations.rs | 58 +- .../src/package_2021_08/operations.rs | 58 +- .../mgmt/recoveryservicesbackup/Cargo.toml | 1 + .../mgmt/recoveryservicesbackup/src/lib.rs | 82 +- .../src/package_2016_06/operations.rs | 114 +- .../src/package_2016_08/operations.rs | 6 +- .../src/package_2016_12/operations.rs | 86 +- .../src/package_2017_07/operations.rs | 116 +- .../src/package_2017_07_only/operations.rs | 28 +- .../src/package_2019_05/operations.rs | 188 +- .../src/package_2019_06/operations.rs | 190 +- .../src/package_2020_02/operations.rs | 200 +- .../src/package_2020_12/operations.rs | 256 +- .../src/package_2021_01/operations.rs | 262 +- .../src/package_2021_02/operations.rs | 262 +- .../src/package_2021_02_10/operations.rs | 262 +- .../src/package_2021_02_preview/operations.rs | 276 +- .../src/package_2021_03/operations.rs | 262 +- .../src/package_2021_04/operations.rs | 270 +- .../src/package_2021_06/operations.rs | 262 +- .../src/package_2021_07/operations.rs | 284 +- .../src/package_2021_08/operations.rs | 284 +- .../recoveryservicessiterecovery/Cargo.toml | 1 + .../recoveryservicessiterecovery/src/lib.rs | 42 +- .../src/package_2018_01/operations.rs | 284 +- .../src/package_2018_07/operations.rs | 314 +- .../src/package_2021_02/operations.rs | 320 +- .../src/package_2021_03/operations.rs | 314 +- .../src/package_2021_04/operations.rs | 320 +- .../src/package_2021_06/operations.rs | 322 +- .../src/package_2021_07/operations.rs | 322 +- .../src/package_2021_08/operations.rs | 322 +- services/mgmt/redhatopenshift/Cargo.toml | 1 + services/mgmt/redhatopenshift/src/lib.rs | 18 +- .../src/package_2020_04_30/operations.rs | 22 +- .../package_2021_09_01_preview/operations.rs | 24 +- services/mgmt/redis/Cargo.toml | 1 + services/mgmt/redis/src/lib.rs | 42 +- .../redis/src/package_2015_08/operations.rs | 20 +- .../redis/src/package_2016_04/operations.rs | 50 +- .../redis/src/package_2017_02/operations.rs | 58 +- .../redis/src/package_2017_10/operations.rs | 64 +- .../redis/src/package_2018_03/operations.rs | 64 +- .../src/package_2019_07_preview/operations.rs | 64 +- .../redis/src/package_2020_06/operations.rs | 78 +- .../redis/src/package_2020_12/operations.rs | 78 +- services/mgmt/redisenterprise/Cargo.toml | 1 + services/mgmt/redisenterprise/src/lib.rs | 26 +- .../package_2020_10_01_preview/operations.rs | 58 +- .../src/package_2021_03/operations.rs | 58 +- .../src/package_2021_08/operations.rs | 58 +- .../src/package_preview_2021_02/operations.rs | 60 +- services/mgmt/relay/Cargo.toml | 1 + services/mgmt/relay/src/lib.rs | 22 +- .../relay/src/package_2016_07/operations.rs | 90 +- .../relay/src/package_2017_04/operations.rs | 78 +- .../src/package_2018_01_preview/operations.rs | 42 +- services/mgmt/reservations/Cargo.toml | 1 + services/mgmt/reservations/src/lib.rs | 42 +- .../src/package_2017_11/operations.rs | 30 +- .../src/package_2018_06/operations.rs | 30 +- .../src/package_2020_10_25/operations.rs | 60 +- .../src/package_2020_10_preview/operations.rs | 66 +- .../src/package_2020_11_preview/operations.rs | 68 +- .../src/package_2021_07_01/operations.rs | 64 +- .../src/package_preview_2019_04/operations.rs | 40 +- .../package_preview_2019_07_19/operations.rs | 62 +- services/mgmt/resourcegraph/Cargo.toml | 1 + services/mgmt/resourcegraph/src/lib.rs | 38 +- .../src/package_2018_09_preview/operations.rs | 24 +- .../src/package_2019_04/operations.rs | 8 +- .../src/package_2021_03/operations.rs | 8 +- .../src/package_preview_2020_04/operations.rs | 14 +- .../src/package_preview_2020_09/operations.rs | 14 +- .../src/package_preview_2021_03/operations.rs | 14 +- .../src/package_preview_2021_06/operations.rs | 10 +- services/mgmt/resourcehealth/Cargo.toml | 1 + services/mgmt/resourcehealth/src/lib.rs | 34 +- .../src/package_2015_01/operations.rs | 26 +- .../src/package_2017_07/operations.rs | 32 +- .../src/package_2018_07_01/operations.rs | 28 +- .../src/package_2018_08_preview/operations.rs | 38 +- .../src/package_2020_05_01/operations.rs | 16 +- .../package_2020_05_01_preview/operations.rs | 16 +- services/mgmt/resourcemover/Cargo.toml | 1 + services/mgmt/resourcemover/src/lib.rs | 18 +- .../package_2019_10_01_preview/operations.rs | 48 +- .../src/package_2021_01_01/operations.rs | 48 +- services/mgmt/resources/Cargo.toml | 1 + services/mgmt/resources/src/lib.rs | 230 +- .../operations.rs | 20 +- .../operations.rs | 20 +- .../package_features_2015_12/operations.rs | 16 +- .../package_features_2021_07/operations.rs | 28 +- .../src/package_links_2016_09/operations.rs | 18 +- .../src/package_locks_2015_01/operations.rs | 26 +- .../src/package_locks_2016_09/operations.rs | 40 +- .../src/package_locks_2017_04/operations.rs | 40 +- .../src/package_locks_2020_05/operations.rs | 40 +- .../operations.rs | 42 +- .../operations.rs | 40 +- .../operations.rs | 10 +- .../operations.rs | 10 +- .../src/package_policy_2015_10/operations.rs | 32 +- .../src/package_policy_2016_04/operations.rs | 32 +- .../src/package_policy_2016_12/operations.rs | 44 +- .../src/package_policy_2017_06/operations.rs | 66 +- .../src/package_policy_2018_03/operations.rs | 66 +- .../src/package_policy_2018_05/operations.rs | 66 +- .../src/package_policy_2019_01/operations.rs | 66 +- .../src/package_policy_2019_06/operations.rs | 66 +- .../src/package_policy_2019_09/operations.rs | 68 +- .../src/package_policy_2021_06/operations.rs | 94 +- .../src/package_policy_2021_07/operations.rs | 106 +- .../src/package_preview_2020_08/operations.rs | 10 +- .../operations.rs | 20 +- .../package_pure_policy_2017_06/operations.rs | 44 +- .../package_resources_2015_11/operations.rs | 114 +- .../package_resources_2016_02/operations.rs | 84 +- .../package_resources_2016_07/operations.rs | 84 +- .../package_resources_2016_09/operations.rs | 94 +- .../package_resources_2017_05/operations.rs | 96 +- .../package_resources_2018_02/operations.rs | 96 +- .../package_resources_2018_05/operations.rs | 120 +- .../package_resources_2019_03/operations.rs | 120 +- .../package_resources_2019_05/operations.rs | 140 +- .../package_resources_2019_0510/operations.rs | 144 +- .../package_resources_2019_07/operations.rs | 188 +- .../package_resources_2019_08/operations.rs | 188 +- .../package_resources_2019_10/operations.rs | 200 +- .../package_resources_2020_06/operations.rs | 202 +- .../package_resources_2020_08/operations.rs | 204 +- .../package_resources_2020_10/operations.rs | 206 +- .../package_resources_2021_01/operations.rs | 206 +- .../package_resources_2021_04/operations.rs | 208 +- .../operations.rs | 16 +- .../operations.rs | 20 +- .../operations.rs | 20 +- .../operations.rs | 20 +- .../operations.rs | 20 +- .../operations.rs | 20 +- .../operations.rs | 16 +- .../operations.rs | 28 +- .../operations.rs | 28 +- .../operations.rs | 28 +- services/mgmt/saas/Cargo.toml | 1 + services/mgmt/saas/src/lib.rs | 14 +- .../src/package_2018_03_01_beta/operations.rs | 52 +- services/mgmt/scheduler/Cargo.toml | 1 + services/mgmt/scheduler/src/lib.rs | 22 +- .../src/package_2014_08_preview/operations.rs | 36 +- .../src/package_2016_01/operations.rs | 36 +- .../src/package_2016_03/operations.rs | 36 +- services/mgmt/search/Cargo.toml | 1 + services/mgmt/search/src/lib.rs | 38 +- .../search/src/package_2015_02/operations.rs | 18 +- .../search/src/package_2015_08/operations.rs | 38 +- .../src/package_2019_10_preview/operations.rs | 50 +- .../search/src/package_2020_03/operations.rs | 50 +- .../search/src/package_2020_08/operations.rs | 60 +- .../src/package_2020_08_preview/operations.rs | 60 +- .../src/package_2021_04_preview/operations.rs | 60 +- services/mgmt/security/Cargo.toml | 2 +- services/mgmt/security/src/lib.rs | 74 +- .../operations.rs | 118 +- .../src/package_2017_08_only/operations.rs | 8 +- .../operations.rs | 128 +- .../src/package_2018_06_only/operations.rs | 10 +- .../src/package_2019_01_only/operations.rs | 32 +- .../operations.rs | 56 +- .../security/src/package_2019_08_only/mod.rs | 3 - .../src/package_2019_08_only/models.rs | 575 - .../src/package_2019_08_only/operations.rs | 1556 -- .../src/package_2020_01_only/operations.rs | 160 +- .../operations.rs | 26 +- .../operations.rs | 16 +- .../operations.rs | 10 +- .../src/package_composite_v1/operations.rs | 350 +- .../src/package_composite_v2/operations.rs | 386 +- .../src/package_composite_v3/operations.rs | 436 +- .../src/package_preview_2021_07/operations.rs | 26 +- .../src/package_preview_2021_08/operations.rs | 26 +- .../mgmt/securityandcompliance/Cargo.toml | 1 + .../mgmt/securityandcompliance/src/lib.rs | 18 +- .../src/package_2021_01_11/operations.rs | 162 +- .../src/package_2021_03_08/operations.rs | 192 +- services/mgmt/securityinsights/Cargo.toml | 1 + services/mgmt/securityinsights/src/lib.rs | 26 +- .../src/package_2019_01_preview/operations.rs | 250 +- .../src/package_2020_01/operations.rs | 70 +- .../operations.rs | 162 +- .../src/package_2021_04_01_only/operations.rs | 86 +- services/mgmt/serialconsole/Cargo.toml | 1 + services/mgmt/serialconsole/src/lib.rs | 14 +- .../src/package_2018_05/operations.rs | 24 +- services/mgmt/servicebus/Cargo.toml | 1 + services/mgmt/servicebus/src/lib.rs | 30 +- .../src/package_2015_08/operations.rs | 92 +- .../src/package_2017_04/operations.rs | 154 +- .../src/package_2018_01_preview/operations.rs | 184 +- .../src/package_2021_01_preview/operations.rs | 154 +- .../src/package_2021_06_preview/operations.rs | 154 +- services/mgmt/servicefabricmesh/Cargo.toml | 1 + services/mgmt/servicefabricmesh/src/lib.rs | 18 +- .../package_2018_07_01_preview/operations.rs | 58 +- .../package_2018_09_01_preview/operations.rs | 94 +- services/mgmt/servicelinker/Cargo.toml | 1 + services/mgmt/servicelinker/src/lib.rs | 14 +- .../package_2021_11_01_preview/operations.rs | 22 +- services/mgmt/signalr/Cargo.toml | 1 + services/mgmt/signalr/src/lib.rs | 38 +- .../package_2018_03_01_preview/operations.rs | 30 +- .../src/package_2018_10_01/operations.rs | 32 +- .../src/package_2020_05_01/operations.rs | 44 +- .../package_2020_07_01_preview/operations.rs | 44 +- .../package_2021_04_01_preview/operations.rs | 56 +- .../package_2021_06_01_preview/operations.rs | 56 +- .../package_2021_09_01_preview/operations.rs | 58 +- services/mgmt/softwareplan/Cargo.toml | 1 + services/mgmt/softwareplan/src/lib.rs | 18 +- .../package_2019_06_01_preview/operations.rs | 26 +- .../src/package_2019_12_01/operations.rs | 26 +- services/mgmt/sql/Cargo.toml | 1 + services/mgmt/sql/src/lib.rs | 42 +- .../sql/src/package_2014_04/operations.rs | 110 +- .../src/package_2015_05_preview/operations.rs | 346 +- .../src/package_2017_03_preview/operations.rs | 584 +- .../src/package_composite_v1/operations.rs | 880 +- .../src/package_composite_v2/operations.rs | 910 +- .../src/package_composite_v3/operations.rs | 918 +- .../src/package_composite_v4/operations.rs | 938 +- .../src/package_composite_v5/operations.rs | 1112 +- services/mgmt/sqlvirtualmachine/Cargo.toml | 1 + services/mgmt/sqlvirtualmachine/src/lib.rs | 14 +- .../package_2017_03_01_preview/operations.rs | 46 +- .../mgmt/stor_simple1200_series/Cargo.toml | 1 + .../mgmt/stor_simple1200_series/src/lib.rs | 14 +- .../src/package_2016_10/operations.rs | 220 +- services/mgmt/storage/Cargo.toml | 1 + services/mgmt/storage/src/lib.rs | 90 +- .../src/package_2015_05_preview/operations.rs | 26 +- .../storage/src/package_2015_06/operations.rs | 26 +- .../storage/src/package_2016_01/operations.rs | 26 +- .../storage/src/package_2016_05/operations.rs | 30 +- .../storage/src/package_2016_12/operations.rs | 30 +- .../storage/src/package_2017_06/operations.rs | 38 +- .../storage/src/package_2017_10/operations.rs | 38 +- .../storage/src/package_2018_02/operations.rs | 68 +- .../storage/src/package_2018_03/operations.rs | 74 +- .../storage/src/package_2018_07/operations.rs | 82 +- .../src/package_2018_07_only/operations.rs | 74 +- .../storage/src/package_2018_11/operations.rs | 84 +- .../storage/src/package_2019_04/operations.rs | 106 +- .../storage/src/package_2019_06/operations.rs | 194 +- .../src/package_2020_08_preview/operations.rs | 200 +- .../storage/src/package_2021_01/operations.rs | 200 +- .../storage/src/package_2021_02/operations.rs | 200 +- .../storage/src/package_2021_04/operations.rs | 204 +- .../storage/src/package_2021_06/operations.rs | 208 +- .../profile_hybrid_2020_09_01/operations.rs | 96 +- services/mgmt/storagecache/Cargo.toml | 1 + services/mgmt/storagecache/src/lib.rs | 38 +- .../src/package_2019_08/operations.rs | 48 +- .../src/package_2019_11_01/operations.rs | 46 +- .../src/package_2020_03_01/operations.rs | 50 +- .../src/package_2020_10_01/operations.rs | 52 +- .../src/package_2021_03/operations.rs | 54 +- .../src/package_2021_05/operations.rs | 62 +- .../src/package_2021_09/operations.rs | 62 +- services/mgmt/storageimportexport/Cargo.toml | 1 + services/mgmt/storageimportexport/src/lib.rs | 22 +- .../src/package_2016_11/operations.rs | 30 +- .../src/package_2020_08/operations.rs | 30 +- .../src/package_preview_2021_01/operations.rs | 30 +- services/mgmt/storagepool/Cargo.toml | 1 + services/mgmt/storagepool/src/lib.rs | 22 +- .../package_2020_03_15_preview/operations.rs | 32 +- .../package_2021_04_01_preview/operations.rs | 42 +- .../src/package_2021_08_01/operations.rs | 48 +- services/mgmt/storagesync/Cargo.toml | 1 + services/mgmt/storagesync/src/lib.rs | 50 +- .../package_2017_06_05_preview/operations.rs | 80 +- .../src/package_2018_04_02/operations.rs | 82 +- .../src/package_2018_07_01/operations.rs | 86 +- .../src/package_2018_10_01/operations.rs | 86 +- .../src/package_2019_02_01/operations.rs | 86 +- .../src/package_2019_03_01/operations.rs | 92 +- .../src/package_2019_06_01/operations.rs | 92 +- .../src/package_2019_10_01/operations.rs | 92 +- .../src/package_2020_03_01/operations.rs | 108 +- .../src/package_2020_09_01/operations.rs | 108 +- services/mgmt/storsimple8000series/Cargo.toml | 1 + services/mgmt/storsimple8000series/src/lib.rs | 14 +- .../src/package_2017_06/operations.rs | 218 +- services/mgmt/streamanalytics/Cargo.toml | 1 + services/mgmt/streamanalytics/src/lib.rs | 30 +- .../src/package_2020_03_preview/operations.rs | 116 +- .../src/package_pure_2016_03/operations.rs | 80 +- .../operations.rs | 90 +- .../src/package_pure_2020_03/operations.rs | 82 +- .../operations.rs | 28 +- services/mgmt/subscription/Cargo.toml | 1 + services/mgmt/subscription/src/lib.rs | 38 +- .../src/package_2017_11_preview/operations.rs | 16 +- .../src/package_2018_03_preview/operations.rs | 26 +- .../src/package_2018_11_preview/operations.rs | 24 +- .../src/package_2019_03_preview/operations.rs | 34 +- .../src/package_2019_10_preview/operations.rs | 44 +- .../src/package_2020_01/operations.rs | 24 +- .../src/package_2020_09/operations.rs | 36 +- services/mgmt/support/Cargo.toml | 1 + services/mgmt/support/src/lib.rs | 22 +- .../src/package_2019_05_preview/operations.rs | 40 +- .../support/src/package_2020_04/operations.rs | 40 +- .../src/package_preview_2021_06/operations.rs | 10 +- services/mgmt/synapse/Cargo.toml | 1 + services/mgmt/synapse/src/lib.rs | 54 +- .../package_2019_06_01_preview/operations.rs | 448 +- .../src/package_2020_12_01/operations.rs | 468 +- .../synapse/src/package_2021_03/operations.rs | 468 +- .../src/package_2021_04_preview/operations.rs | 468 +- .../synapse/src/package_2021_05/operations.rs | 470 +- .../synapse/src/package_2021_06/operations.rs | 478 +- .../src/package_composite_v1/operations.rs | 486 +- .../src/package_composite_v2/operations.rs | 590 +- .../operations.rs | 64 +- .../src/package_preview_2021_06/operations.rs | 486 +- .../operations.rs | 38 +- services/mgmt/testbase/Cargo.toml | 1 + services/mgmt/testbase/src/lib.rs | 14 +- .../package_2020_12_16_preview/operations.rs | 122 +- services/mgmt/timeseriesinsights/Cargo.toml | 1 + services/mgmt/timeseriesinsights/src/lib.rs | 34 +- .../src/package_2017_02_preview/operations.rs | 56 +- .../src/package_2017_11_15/operations.rs | 56 +- .../src/package_2018_08_preview/operations.rs | 56 +- .../src/package_2020_05_15/operations.rs | 56 +- .../src/package_preview_2021_03/operations.rs | 70 +- .../src/package_preview_2021_06/operations.rs | 56 +- services/mgmt/trafficmanager/Cargo.toml | 1 + services/mgmt/trafficmanager/src/lib.rs | 46 +- .../src/package_2015_11/operations.rs | 28 +- .../src/package_2017_03/operations.rs | 32 +- .../src/package_2017_05/operations.rs | 32 +- .../src/package_2017_09_preview/operations.rs | 44 +- .../operations.rs | 14 +- .../src/package_2018_02/operations.rs | 44 +- .../src/package_2018_03/operations.rs | 36 +- .../src/package_2018_04/operations.rs | 44 +- .../src/package_2018_08/operations.rs | 44 +- services/mgmt/videoanalyzer/Cargo.toml | 1 + services/mgmt/videoanalyzer/src/lib.rs | 18 +- .../package_2021_05_01_preview/operations.rs | 64 +- .../src/package_preview_2021_11/operations.rs | 144 +- services/mgmt/visualstudio/Cargo.toml | 1 + services/mgmt/visualstudio/src/lib.rs | 14 +- .../src/package_2014_04_preview/operations.rs | 44 +- services/mgmt/vmware/Cargo.toml | 1 + services/mgmt/vmware/src/lib.rs | 26 +- .../src/package_2020_03_20/operations.rs | 60 +- .../package_2020_07_17_preview/operations.rs | 154 +- .../package_2021_01_01_preview/operations.rs | 164 +- .../src/package_2021_06_01/operations.rs | 206 +- services/mgmt/vmwarecloudsimple/Cargo.toml | 1 + services/mgmt/vmwarecloudsimple/src/lib.rs | 14 +- .../src/package_2019_04_01/operations.rs | 92 +- services/mgmt/webpubsub/Cargo.toml | 1 + services/mgmt/webpubsub/src/lib.rs | 26 +- .../package_2021_04_01_preview/operations.rs | 56 +- .../package_2021_06_01_preview/operations.rs | 56 +- .../package_2021_09_01_preview/operations.rs | 58 +- .../src/package_2021_10_01/operations.rs | 68 +- services/mgmt/windowsesu/Cargo.toml | 1 + services/mgmt/windowsesu/src/lib.rs | 14 +- .../package_2019_09_16_preview/operations.rs | 20 +- services/mgmt/windowsiot/Cargo.toml | 1 + services/mgmt/windowsiot/src/lib.rs | 18 +- .../src/package_2018_02_preview/operations.rs | 22 +- .../src/package_2019_06/operations.rs | 22 +- services/mgmt/workloadmonitor/Cargo.toml | 1 + services/mgmt/workloadmonitor/src/lib.rs | 18 +- .../package_2018_08_31_preview/operations.rs | 42 +- .../package_2020_01_13_preview/operations.rs | 16 +- services/svc/appconfiguration/Cargo.toml | 1 + services/svc/appconfiguration/src/lib.rs | 14 +- .../src/package_2019_07/operations.rs | 30 +- services/svc/applicationinsights/Cargo.toml | 1 + services/svc/applicationinsights/src/lib.rs | 14 +- .../applicationinsights/src/v1/operations.rs | 30 +- services/svc/attestation/Cargo.toml | 1 + services/svc/attestation/src/lib.rs | 14 +- .../src/package_2020_10_01/operations.rs | 34 +- services/svc/batch/Cargo.toml | 1 + services/svc/batch/src/lib.rs | 38 +- .../src/package_2018_08_7_0/operations.rs | 174 +- .../src/package_2018_12_8_0/operations.rs | 172 +- .../src/package_2019_06_9_0/operations.rs | 172 +- .../src/package_2019_08_10_0/operations.rs | 172 +- .../src/package_2020_03_11_0/operations.rs | 172 +- .../src/package_2020_09_12_0/operations.rs | 172 +- .../src/package_2021_06_14_0/operations.rs | 178 +- services/svc/blobstorage/Cargo.toml | 1 + services/svc/blobstorage/src/lib.rs | 22 +- .../src/package_2020_10/operations.rs | 150 +- .../src/package_2020_12/operations.rs | 150 +- .../src/package_2021_02/operations.rs | 150 +- services/svc/confidentialledger/Cargo.toml | 1 + services/svc/confidentialledger/src/lib.rs | 18 +- .../operations.rs | 6 +- .../package_0_1_preview_ledger/operations.rs | 28 +- services/svc/containerregistry/Cargo.toml | 1 + services/svc/containerregistry/src/lib.rs | 14 +- .../src/package_2018_08/operations.rs | 32 +- services/svc/cosmos_db/Cargo.toml | 1 + services/svc/cosmos_db/src/lib.rs | 14 +- .../src/package_2019_02/operations.rs | 10 +- services/svc/datalake_analytics/Cargo.toml | 1 + services/svc/datalake_analytics/src/lib.rs | 34 +- .../operations.rs | 64 +- .../src/package_catalog_2016_11/operations.rs | 12 +- .../package_job_2015_11_preview/operations.rs | 18 +- .../package_job_2016_03_preview/operations.rs | 18 +- .../src/package_job_2016_11/models.rs | 2 +- .../src/package_job_2016_11/operations.rs | 30 +- .../src/package_job_2017_09_preview/models.rs | 2 +- .../package_job_2017_09_preview/operations.rs | 34 +- .../svc/deviceprovisioningservices/Cargo.toml | 1 + .../svc/deviceprovisioningservices/src/lib.rs | 14 +- .../src/package_2021_10_01/operations.rs | 38 +- services/svc/eventgrid/Cargo.toml | 1 + services/svc/eventgrid/src/lib.rs | 14 +- .../src/package_2018_01/operations.rs | 6 +- services/svc/filestorage/Cargo.toml | 1 + services/svc/filestorage/src/lib.rs | 18 +- .../src/package_2020_10/operations.rs | 100 +- .../src/package_2021_02/operations.rs | 100 +- services/svc/graphrbac/Cargo.toml | 1 + services/svc/graphrbac/src/lib.rs | 14 +- services/svc/graphrbac/src/v1_6/operations.rs | 36 +- services/svc/imds/Cargo.toml | 1 + services/svc/imds/src/lib.rs | 82 +- .../imds/src/package_2018_10_01/operations.rs | 16 +- .../imds/src/package_2019_02_01/operations.rs | 16 +- .../imds/src/package_2019_03_11/operations.rs | 16 +- .../imds/src/package_2019_04_30/operations.rs | 16 +- .../imds/src/package_2019_06_01/operations.rs | 16 +- .../imds/src/package_2019_06_04/operations.rs | 16 +- .../imds/src/package_2019_08_01/operations.rs | 16 +- .../imds/src/package_2019_08_15/operations.rs | 16 +- .../imds/src/package_2019_11_01/operations.rs | 16 +- .../imds/src/package_2020_06_01/operations.rs | 16 +- .../imds/src/package_2020_07_15/operations.rs | 16 +- .../imds/src/package_2020_09_01/operations.rs | 16 +- .../imds/src/package_2020_10_01/operations.rs | 16 +- .../imds/src/package_2020_12_01/operations.rs | 16 +- .../imds/src/package_2021_01_01/operations.rs | 16 +- .../imds/src/package_2021_02_01/operations.rs | 16 +- .../imds/src/package_2021_03_01/operations.rs | 16 +- .../imds/src/package_2021_05_01/operations.rs | 16 +- services/svc/iotcentral/Cargo.toml | 1 + services/svc/iotcentral/src/lib.rs | 22 +- .../iotcentral/src/package_1_0/operations.rs | 118 +- .../src/package_1_1_preview/operations.rs | 160 +- .../package_2021_04_30_preview/operations.rs | 160 +- services/svc/mixedreality/Cargo.toml | 1 + services/svc/mixedreality/src/lib.rs | 30 +- .../src/package_0_2_preview_0/operations.rs | 12 +- .../src/package_0_2_preview_1/operations.rs | 12 +- .../package_2019_02_28_preview/operations.rs | 4 +- .../src/package_2021_01_01/operations.rs | 20 +- .../package_2021_01_01_preview/operations.rs | 20 +- services/svc/monitor/Cargo.toml | 1 + services/svc/monitor/src/lib.rs | 14 +- .../src/package_2018_09_preview/operations.rs | 6 +- services/svc/operationalinsights/Cargo.toml | 1 + services/svc/operationalinsights/src/lib.rs | 14 +- .../operationalinsights/src/v1/operations.rs | 14 +- services/svc/purview/Cargo.toml | 1 + services/svc/purview/src/lib.rs | 18 +- .../package_2018_12_01_preview/operations.rs | 90 +- .../package_2021_07_01_preview/operations.rs | 14 +- services/svc/quantum/Cargo.toml | 1 + services/svc/quantum/src/lib.rs | 18 +- .../package_2019_11_04_preview/operations.rs | 24 +- .../package_2021_05_06_preview/operations.rs | 26 +- services/svc/queuestorage/Cargo.toml | 1 + services/svc/queuestorage/src/lib.rs | 14 +- .../src/package_2018_03/operations.rs | 42 +- services/svc/storagedatalake/Cargo.toml | 1 + services/svc/storagedatalake/src/lib.rs | 18 +- .../src/package_2020_06/operations.rs | 46 +- .../src/package_2020_10/operations.rs | 46 +- services/svc/synapse/Cargo.toml | 1 + services/svc/synapse/src/lib.rs | 74 +- .../operations.rs | 16 +- .../operations.rs | 22 +- .../models.rs | 2 +- .../operations.rs | 22 +- .../operations.rs | 174 +- .../operations.rs | 186 +- .../operations.rs | 198 +- .../operations.rs | 204 +- .../operations.rs | 16 +- .../operations.rs | 12 +- .../operations.rs | 8 +- .../operations.rs | 8 +- .../operations.rs | 32 +- .../package_spark_2020_12_01/operations.rs | 32 +- .../operations.rs | 12 +- .../src/package_vnet_2020_12_01/operations.rs | 12 +- .../operations.rs | 12 +- services/svc/timeseriesinsights/Cargo.toml | 1 + services/svc/timeseriesinsights/src/lib.rs | 14 +- .../src/package_2020_07_31/operations.rs | 38 +- services/svc/webpubsub/Cargo.toml | 1 + services/svc/webpubsub/src/lib.rs | 22 +- .../package_2021_05_01_preview/operations.rs | 40 +- .../package_2021_08_01_preview/operations.rs | 42 +- .../src/package_2021_10_01/operations.rs | 48 +- 1637 files changed, 101723 insertions(+), 88318 deletions(-) create mode 100644 services/mgmt/apimanagement/src/package_2021_08/mod.rs create mode 100644 services/mgmt/apimanagement/src/package_2021_08/models.rs create mode 100644 services/mgmt/apimanagement/src/package_2021_08/operations.rs delete mode 100644 services/mgmt/applicationinsights/src/package_preview_2020_06/mod.rs delete mode 100644 services/mgmt/applicationinsights/src/package_preview_2020_06/models.rs delete mode 100644 services/mgmt/applicationinsights/src/package_preview_2020_06/operations.rs delete mode 100644 services/mgmt/consumption/src/package_2018_03/mod.rs delete mode 100644 services/mgmt/consumption/src/package_2018_03/models.rs delete mode 100644 services/mgmt/consumption/src/package_2018_03/operations.rs delete mode 100644 services/mgmt/deploymentmanager/src/package_2018_09_01_preview/mod.rs delete mode 100644 services/mgmt/deploymentmanager/src/package_2018_09_01_preview/models.rs delete mode 100644 services/mgmt/deploymentmanager/src/package_2018_09_01_preview/operations.rs delete mode 100644 services/mgmt/security/src/package_2019_08_only/mod.rs delete mode 100644 services/mgmt/security/src/package_2019_08_only/models.rs delete mode 100644 services/mgmt/security/src/package_2019_08_only/operations.rs diff --git a/services/autorust/codegen/examples/gen_mgmt.rs b/services/autorust/codegen/examples/gen_mgmt.rs index b4ad8d10d8..add838e08d 100644 --- a/services/autorust/codegen/examples/gen_mgmt.rs +++ b/services/autorust/codegen/examples/gen_mgmt.rs @@ -26,6 +26,7 @@ const SKIP_SERVICES: &[&str] = &[ ]; const SKIP_SERVICE_TAGS: &[(&str, &str)] = &[ + ("applicationinsights", "package-preview-2020-06"), // defines operation `list` multiple times ("analysisservices", "package-2017-08"), ("authorization", "package-2020-10-01-preview"), ("authorization", "package-2018-05-01-preview"), @@ -39,6 +40,7 @@ const SKIP_SERVICE_TAGS: &[(&str, &str)] = &[ ("compute", "package-2021-03-01-only"), // TODO #81 DataType::File ("compute", "package-2021-04-01"), // TODO #81 DataType::File ("compute", "package-2021-07-01"), // TODO #81 DataType::File + ("consumption", "package-2018-03"), // defines get_balances_by_billing_account twice ("consumption", "package-2019-11"), // ReservationRecommendationDetails_Get has a path and query param both named "scope" ("consumption", "package-2021-05"), ("cosmos-db", "package-2021-06"), // duplicate tag https://github.com/Azure/azure-rest-api-specs/issues/14996 @@ -51,6 +53,7 @@ const SKIP_SERVICE_TAGS: &[(&str, &str)] = &[ ("datamigration", "package-2018-03-15-preview"), ("datamigration", "package-2017-11-15-preview"), ("datamigration", "package-2021-06"), + ("deploymentmanager", "package-2018-09-01-preview"), // identifiers are bound more than once in param list. https://github.com/Azure/azure-sdk-for-rust/issues/415 ("mediaservices", "package-2019-05-preview"), // invalid unicode character of a dash instead of a hyphen https://github.com/Azure/azure-rest-api-specs/pull/11576 ("marketplace", "package-2020-01-01"), ("marketplace", "package-2020-12-01"), @@ -62,6 +65,7 @@ const SKIP_SERVICE_TAGS: &[(&str, &str)] = &[ ("resources", "package-policy-2020-03"), ("resources", "package-policy-2020-09"), // SchemaNotFound { ref_key: RefKey { file_path: "../../../azure-rest-api-specs/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/dataPolicyManifests.json", name: "CloudError" ("security", "package-2020-01-preview-only"), // duplicate tag https://github.com/Azure/azure-rest-api-specs/pull/13828 + ("security", "package-2019-08-only"), // defines `start_time_utc` param twice. ]; // because of a bug in compute specs, some properties need to be forced to be optional @@ -154,11 +158,29 @@ const OPTIONAL_PROPERTIES: &[(&str, &str, &str)] = &[ // https://github.com/ctaggart/autorust/issues/73 const BOX_PROPERTIES: &[(&str, &str, &str)] = &[ // cost-management - ("../../../azure-rest-api-specs/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2021-10-01/costmanagement.json", "ReportConfigFilter", "not"), - ("../../../azure-rest-api-specs/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2021-10-01/costmanagement.json", "QueryFilter", "not"), - ("../../../azure-rest-api-specs/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2020-06-01/costmanagement.json", "ReportConfigFilter", "not"), + ("../../../azure-rest-api-specs/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-03-01-preview/costmanagement.json", "QueryFilter", "not"), + ("../../../azure-rest-api-specs/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-03-01-preview/costmanagement.json", "ReportConfigFilter", "not"), + ("../../../azure-rest-api-specs/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-03-01-preview/costmanagement.json", "Scope", "childScope"), + ("../../../azure-rest-api-specs/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/costmanagement.json", "QueryFilter", "not"), + ("../../../azure-rest-api-specs/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/costmanagement.json", "ReportConfigFilter", "not"), + ("../../../azure-rest-api-specs/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/costmanagement.json", "Scope", "childScope"), + ("../../../azure-rest-api-specs/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2018-05-31/costmanagement.json", "QueryFilter", "not"), + ("../../../azure-rest-api-specs/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2018-05-31/costmanagement.json", "ReportConfigFilter", "not"), + ("../../../azure-rest-api-specs/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-01-01/costmanagement.json", "QueryFilter", "not"), + ("../../../azure-rest-api-specs/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-01-01/costmanagement.json", "ReportConfigFilter", "not"), + ("../../../azure-rest-api-specs/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-09-01/costmanagement.json", "QueryFilter", "not"), + ("../../../azure-rest-api-specs/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-09-01/costmanagement.json", "ReportConfigFilter", "not"), + ("../../../azure-rest-api-specs/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/costmanagement.json", "QueryFilter", "not"), + ("../../../azure-rest-api-specs/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/costmanagement.json", "ReportConfigFilter", "not"), ("../../../azure-rest-api-specs/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2020-06-01/costmanagement.json", "QueryFilter", "not"), + ("../../../azure-rest-api-specs/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2020-06-01/costmanagement.json", "ReportConfigFilter", "not"), + ("../../../azure-rest-api-specs/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2021-10-01/costmanagement.json", "QueryFilter", "not"), + ("../../../azure-rest-api-specs/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2021-10-01/costmanagement.json", "ReportConfigFilter", "not"), // databox + ("../../../azure-rest-api-specs/specification/databox/resource-manager/Microsoft.DataBox/preview/2021-08-01-preview/databox.json", "transferFilterDetails", "include"), + ("../../../azure-rest-api-specs/specification/databox/resource-manager/Microsoft.DataBox/preview/2021-08-01-preview/databox.json", "transferAllDetails", "include"), + ("../../../azure-rest-api-specs/specification/databox/resource-manager/Microsoft.DataBox/stable/2020-04-01/databox.json", "transferFilterDetails", "include"), + ("../../../azure-rest-api-specs/specification/databox/resource-manager/Microsoft.DataBox/stable/2020-04-01/databox.json", "transferAllDetails", "include"), ("../../../azure-rest-api-specs/specification/databox/resource-manager/Microsoft.DataBox/stable/2020-11-01/databox.json", "transferFilterDetails", "include"), ("../../../azure-rest-api-specs/specification/databox/resource-manager/Microsoft.DataBox/stable/2020-11-01/databox.json", "transferAllDetails", "include"), ("../../../azure-rest-api-specs/specification/databox/resource-manager/Microsoft.DataBox/stable/2021-03-01/databox.json", "transferFilterDetails", "include"), @@ -168,6 +190,9 @@ const BOX_PROPERTIES: &[(&str, &str, &str)] = &[ // dataprotection ("../../../azure-rest-api-specs/specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2021-01-01/dataprotection.json", "InnerError", "embeddedInnerError"), ("../../../azure-rest-api-specs/specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2021-07-01/dataprotection.json", "InnerError", "embeddedInnerError"), + ("../../../azure-rest-api-specs/specification/dataprotection/resource-manager/Microsoft.DataProtection/preview/2021-02-01-preview/dataprotection.json", "InnerError", "embeddedInnerError"), + ("../../../azure-rest-api-specs/specification/dataprotection/resource-manager/Microsoft.DataProtection/preview/2021-06-01-preview/dataprotection.json", "InnerError", "embeddedInnerError"), + ("../../../azure-rest-api-specs/specification/dataprotection/resource-manager/Microsoft.DataProtection/preview/2021-10-01-preview/dataprotection.json", "InnerError", "embeddedInnerError"), // hardwaresecuritymodels ("../../../azure-rest-api-specs/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/dedicatedhsm.json", "Error", "innererror"), // logic @@ -250,6 +275,21 @@ const BOX_PROPERTIES: &[(&str, &str, &str)] = &[ ("../../../azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2021-02-01/publicIpAddress.json", "PublicIPAddress", "properties"), ("../../../azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2021-03-01/customIpPrefix.json", "CustomIpPrefix", "properties"), ("../../../azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2021-03-01/publicIpAddress.json", "PublicIPAddress", "properties"), + ("../../../azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2016-06-01/network.json", "PublicIPAddressPropertiesFormat", "ipConfiguration"), + ("../../../azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2016-06-01/network.json", "PublicIPAddress", "properties"), + ("../../../azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2016-06-01/network.json", "IPConfigurationPropertiesFormat", "publicIPAddress"), + ("../../../azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2016-06-01/network.json", "IPConfiguration", "properties"), + ("../../../azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2016-03-30/network.json", "PublicIPAddressPropertiesFormat", "ipConfiguration"), + ("../../../azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2016-03-30/network.json", "PublicIPAddress", "properties"), + ("../../../azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2016-03-30/network.json", "IPConfigurationPropertiesFormat", "publicIPAddress"), + ("../../../azure-rest-api-specs/specification/network/resource-manager/Microsoft.Network/stable/2016-03-30/network.json", "IPConfiguration", "properties"), + // operationalinsights + ("../../../azure-rest-api-specs/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-09-01-preview/QueryPackQueries_API.json", "ErrorInfo", "innererror"), + ("../../../azure-rest-api-specs/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-09-01-preview/QueryPacks_API.json", "ErrorInfo", "innererror"), + // keyvault + ("../../../azure-rest-api-specs/specification/keyvault/resource-manager/Microsoft.KeyVault/preview/2020-04-01-preview/managedHsm.json", "Error" , "innererror"), + ("../../../azure-rest-api-specs/specification/keyvault/resource-manager/Microsoft.KeyVault/preview/2021-04-01-preview/managedHsm.json", "Error" , "innererror"), + ("../../../azure-rest-api-specs/specification/keyvault/resource-manager/Microsoft.KeyVault/preview/2021-06-01-preview/managedHsm.json", "Error" , "innererror"), ]; pub type Result = std::result::Result; @@ -327,7 +367,7 @@ fn gen_crate(spec: &SpecReadme) -> Result<()> { for config in spec.configs() { let tag = config.tag.as_str(); if skip_service_tags.contains(&(spec.spec(), tag)) { - // println!(" skipping {}", tag); + println!(" skipping {}", tag); continue; } println!(" {}", tag); diff --git a/services/autorust/codegen/examples/gen_svc.rs b/services/autorust/codegen/examples/gen_svc.rs index 53e75f2adf..1e3326024f 100644 --- a/services/autorust/codegen/examples/gen_svc.rs +++ b/services/autorust/codegen/examples/gen_svc.rs @@ -17,6 +17,7 @@ const SKIP_SERVICES: &[&str] = &[ "keyvault", // `{field_name}` used in formatting url "videoanalyzer", // no operations "mediaservices", // no operations + "marketplacecatalog", // BadRequest400 uses models::String? ]; const SKIP_SERVICE_TAGS: &[(&str, &str)] = &[ @@ -112,6 +113,17 @@ const BOX_PROPERTIES: &[(&str, &str, &str)] = &[ "../../../azure-rest-api-specs/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/stable/2020-07-31/timeseriesinsights.json", "TsiErrorBody", "innerError", + ), + // datalake-analytics + ( + "../../../azure-rest-api-specs/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/job.json", + "JobInnerError", + "innerError" + ), + ( + "../../../azure-rest-api-specs/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/job.json", + "JobInnerError", + "innerError" ) ]; diff --git a/services/autorust/codegen/src/cargo_toml.rs b/services/autorust/codegen/src/cargo_toml.rs index ffa1496698..806ce73fd4 100644 --- a/services/autorust/codegen/src/cargo_toml.rs +++ b/services/autorust/codegen/src/cargo_toml.rs @@ -15,6 +15,7 @@ pub fn create(crate_name: &str, feature_mod_names: &Vec<(String, String)>, path: let file = File::create(path).map_err(|source| Error::IoError { source })?; let mut file = LineWriter::new(file); let version = &env!("CARGO_PKG_VERSION"); + let default = get_default_feature(feature_mod_names); file.write_all( format!( r#"# generated by AutoRust {} @@ -38,17 +39,15 @@ azure_identity = {{ path = "../../../sdk/identity", version = "0.1.0" }} tokio = {{ version = "1.0", features = ["macros"] }} [features] +default = ["{}"] +no-default-version = [] "#, - version, crate_name + version, crate_name, default ) .as_bytes(), ) .map_err(|source| Error::IoError { source })?; - let default = get_default_feature(feature_mod_names); - file.write_all(format!("default = [\"{}\"]\n", default).as_bytes()) - .map_err(|source| Error::IoError { source })?; - for (feature_name, _mod_name) in feature_mod_names { file.write_all(format!("\"{}\" = []\n", feature_name).as_bytes()) .map_err(|source| Error::IoError { source })?; diff --git a/services/autorust/codegen/src/codegen_operations.rs b/services/autorust/codegen/src/codegen_operations.rs index 576f12741a..138970c137 100644 --- a/services/autorust/codegen/src/codegen_operations.rs +++ b/services/autorust/codegen/src/codegen_operations.rs @@ -24,7 +24,7 @@ pub fn create_operations(cg: &CodeGen) -> Result { #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] - use crate::models::*; + use super::{models, models::*}; }); let mut modules: IndexMap, TokenStream> = IndexMap::new(); @@ -59,7 +59,7 @@ pub fn create_operations(cg: &CodeGen) -> Result { let name = ident(&module_name).map_err(Error::ModuleName)?; file.extend(quote! { pub mod #name { - use crate::models::*; + use super::{models, models::*}; #module } @@ -462,7 +462,7 @@ fn create_function(cg: &CodeGen, doc_file: &Path, operation: &WebOperation) -> R } } pub mod #fname { - use crate::{models, models::*}; + use super::{models, models::*}; #response_enum diff --git a/services/autorust/codegen/src/lib_rs.rs b/services/autorust/codegen/src/lib_rs.rs index 721f345cca..4f74bcb083 100644 --- a/services/autorust/codegen/src/lib_rs.rs +++ b/services/autorust/codegen/src/lib_rs.rs @@ -27,8 +27,8 @@ fn create_body(feature_mod_names: &Vec<(String, String)>) -> Result })?; cfgs.extend(quote! { #[cfg(feature = #feature_name)] - mod #mod_name; - #[cfg(feature = #feature_name)] + pub mod #mod_name; + #[cfg(all(feature = #feature_name, not(feature = "no-default-version")))] pub use #mod_name::{models, operations, API_VERSION}; }); } @@ -38,6 +38,16 @@ fn create_body(feature_mod_names: &Vec<(String, String)>) -> Result #cfgs use azure_core::setters; + #[cfg(not(feature = "no-default-version"))] + fn get_default_feature() -> String { + API_VERSION.to_owned() + } + + #[cfg(feature = "no-default-version")] + fn get_default_feature() -> String { + "".to_owned() + } + pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -68,7 +78,7 @@ fn create_body(feature_mod_names: &Vec<(String, String)>) -> Result pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/addons/Cargo.toml b/services/mgmt/addons/Cargo.toml index 3942ecab31..ff40385e7d 100644 --- a/services/mgmt/addons/Cargo.toml +++ b/services/mgmt/addons/Cargo.toml @@ -20,5 +20,6 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2018-03"] +no-default-version = [] "package-2018-03" = [] "package-2017-05" = [] diff --git a/services/mgmt/addons/src/lib.rs b/services/mgmt/addons/src/lib.rs index 9a97c08a4f..891478250c 100644 --- a/services/mgmt/addons/src/lib.rs +++ b/services/mgmt/addons/src/lib.rs @@ -1,13 +1,21 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2018-03")] -mod package_2018_03; -#[cfg(feature = "package-2018-03")] +pub mod package_2018_03; +#[cfg(all(feature = "package-2018-03", not(feature = "no-default-version")))] pub use package_2018_03::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-05")] -mod package_2017_05; +pub mod package_2017_05; use azure_core::setters; -#[cfg(feature = "package-2017-05")] +#[cfg(all(feature = "package-2017-05", not(feature = "no-default-version")))] pub use package_2017_05::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -31,7 +39,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/addons/src/package_2017_05/operations.rs b/services/mgmt/addons/src/package_2017_05/operations.rs index e1a8c5f003..4242941c7e 100644 --- a/services/mgmt/addons/src/package_2017_05/operations.rs +++ b/services/mgmt/addons/src/package_2017_05/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Addons/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod support_plan_types { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -116,7 +116,7 @@ pub mod support_plan_types { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -198,7 +198,7 @@ pub mod support_plan_types { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CanonicalSupportPlanResponseEnvelope), @@ -276,7 +276,7 @@ pub mod support_plan_types { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(CanonicalSupportPlanResponseEnvelope), @@ -305,7 +305,7 @@ pub mod support_plan_types { } } pub mod canonical_support_plan_types { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -352,7 +352,7 @@ pub mod canonical_support_plan_types { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/addons/src/package_2018_03/operations.rs b/services/mgmt/addons/src/package_2018_03/operations.rs index 16b68d4610..5ec9a5b7c4 100644 --- a/services/mgmt/addons/src/package_2018_03/operations.rs +++ b/services/mgmt/addons/src/package_2018_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Addons/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod support_plan_types { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -116,7 +116,7 @@ pub mod support_plan_types { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -198,7 +198,7 @@ pub mod support_plan_types { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CanonicalSupportPlanResponseEnvelope), @@ -276,7 +276,7 @@ pub mod support_plan_types { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(CanonicalSupportPlanResponseEnvelope), @@ -352,7 +352,7 @@ pub mod support_plan_types { } } pub mod list_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] diff --git a/services/mgmt/adhybridhealthservice/Cargo.toml b/services/mgmt/adhybridhealthservice/Cargo.toml index 981b53af57..a4f0dd9ea6 100644 --- a/services/mgmt/adhybridhealthservice/Cargo.toml +++ b/services/mgmt/adhybridhealthservice/Cargo.toml @@ -20,4 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2014-01"] +no-default-version = [] "package-2014-01" = [] diff --git a/services/mgmt/adhybridhealthservice/src/lib.rs b/services/mgmt/adhybridhealthservice/src/lib.rs index 76769d111e..0669598e05 100644 --- a/services/mgmt/adhybridhealthservice/src/lib.rs +++ b/services/mgmt/adhybridhealthservice/src/lib.rs @@ -1,9 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2014-01")] -mod package_2014_01; +pub mod package_2014_01; use azure_core::setters; -#[cfg(feature = "package-2014-01")] +#[cfg(all(feature = "package-2014-01", not(feature = "no-default-version")))] pub use package_2014_01::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -27,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/adhybridhealthservice/src/package_2014_01/operations.rs b/services/mgmt/adhybridhealthservice/src/package_2014_01/operations.rs index 32627b0ea1..48c0f5994a 100644 --- a/services/mgmt/adhybridhealthservice/src/package_2014_01/operations.rs +++ b/services/mgmt/adhybridhealthservice/src/package_2014_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod adds_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -61,7 +61,7 @@ pub mod adds_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -122,7 +122,7 @@ pub mod adds_services { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -180,7 +180,7 @@ pub mod adds_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -243,7 +243,7 @@ pub mod adds_services { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -303,7 +303,7 @@ pub mod adds_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -367,7 +367,7 @@ pub mod adds_services { } } pub mod get_forest_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -435,7 +435,7 @@ pub mod adds_services { } } pub mod list_metrics_average { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -503,7 +503,7 @@ pub mod adds_services { } } pub mod list_metrics_sum { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -575,7 +575,7 @@ pub mod adds_services { } } pub mod list_metric_metadata { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -641,7 +641,7 @@ pub mod adds_services { } } pub mod get_metric_metadata { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -723,7 +723,7 @@ pub mod adds_services { } } pub mod get_metric_metadata_for_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -797,7 +797,7 @@ pub mod adds_services { } } pub mod list_replication_details { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -880,7 +880,7 @@ pub mod adds_services { } } pub mod list_replication_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -962,7 +962,7 @@ pub mod adds_services { } } pub mod list_server_alerts { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1042,7 +1042,7 @@ pub mod adds_services { } } pub mod list_premium_services { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1063,7 +1063,7 @@ pub mod adds_services { } } pub mod alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_adds_alerts( operation_config: &crate::OperationConfig, service_name: &str, @@ -1125,7 +1125,7 @@ pub mod alerts { } } pub mod list_adds_alerts { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1146,7 +1146,7 @@ pub mod alerts { } } pub mod configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn list_adds_configurations( operation_config: &crate::OperationConfig, service_name: &str, @@ -1197,7 +1197,7 @@ pub mod configuration { } } pub mod list_adds_configurations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1254,7 +1254,7 @@ pub mod configuration { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1312,7 +1312,7 @@ pub mod configuration { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1370,7 +1370,7 @@ pub mod configuration { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1391,7 +1391,7 @@ pub mod configuration { } } pub mod dimensions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_adds_dimensions( operation_config: &crate::OperationConfig, service_name: &str, @@ -1439,7 +1439,7 @@ pub mod dimensions { } } pub mod list_adds_dimensions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1460,7 +1460,7 @@ pub mod dimensions { } } pub mod adds_service_members { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, service_name: &str, @@ -1507,7 +1507,7 @@ pub mod adds_service_members { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1570,7 +1570,7 @@ pub mod adds_service_members { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1632,7 +1632,7 @@ pub mod adds_service_members { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1702,7 +1702,7 @@ pub mod adds_service_members { } } pub mod list_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1723,7 +1723,7 @@ pub mod adds_service_members { } } pub mod ad_domain_service_members { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, service_name: &str, @@ -1785,7 +1785,7 @@ pub mod ad_domain_service_members { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1806,7 +1806,7 @@ pub mod ad_domain_service_members { } } pub mod adds_services_user_preference { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, service_name: &str, @@ -1851,7 +1851,7 @@ pub mod adds_services_user_preference { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1911,7 +1911,7 @@ pub mod adds_services_user_preference { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1969,7 +1969,7 @@ pub mod adds_services_user_preference { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1990,7 +1990,7 @@ pub mod adds_services_user_preference { } } pub mod adds_service { - use crate::models::*; + use super::{models, models::*}; pub async fn get_metrics( operation_config: &crate::OperationConfig, service_name: &str, @@ -2052,7 +2052,7 @@ pub mod adds_service { } } pub mod get_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2073,7 +2073,7 @@ pub mod adds_service { } } pub mod adds_services_replication_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig, service_name: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -2113,7 +2113,7 @@ pub mod adds_services_replication_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2134,7 +2134,7 @@ pub mod adds_services_replication_status { } } pub mod adds_services_service_members { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, service_name: &str, @@ -2189,7 +2189,7 @@ pub mod adds_services_service_members { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2252,7 +2252,7 @@ pub mod adds_services_service_members { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2273,7 +2273,7 @@ pub mod adds_services_service_members { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -2312,7 +2312,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2333,7 +2333,7 @@ pub mod operations { } } pub mod reports { - use crate::models::*; + use super::{models, models::*}; pub async fn get_dev_ops(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -2375,7 +2375,7 @@ pub mod reports { } } pub mod get_dev_ops { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2396,7 +2396,7 @@ pub mod reports { } } pub mod services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -2453,7 +2453,7 @@ pub mod services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2514,7 +2514,7 @@ pub mod services { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2592,7 +2592,7 @@ pub mod services { } } pub mod list_premium { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2650,7 +2650,7 @@ pub mod services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2713,7 +2713,7 @@ pub mod services { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2773,7 +2773,7 @@ pub mod services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2853,7 +2853,7 @@ pub mod services { } } pub mod list_alerts { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2921,7 +2921,7 @@ pub mod services { } } pub mod get_feature_availibility { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2985,7 +2985,7 @@ pub mod services { } } pub mod list_export_errors { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3053,7 +3053,7 @@ pub mod services { } } pub mod list_export_errors_v2 { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3117,7 +3117,7 @@ pub mod services { } } pub mod list_export_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3183,7 +3183,7 @@ pub mod services { } } pub mod add_alert_feedback { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3249,7 +3249,7 @@ pub mod services { } } pub mod list_alert_feedback { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3317,7 +3317,7 @@ pub mod services { } } pub mod list_metrics_average { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3385,7 +3385,7 @@ pub mod services { } } pub mod list_metrics_sum { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3457,7 +3457,7 @@ pub mod services { } } pub mod list_metric_metadata { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3523,7 +3523,7 @@ pub mod services { } } pub mod get_metric_metadata { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3605,7 +3605,7 @@ pub mod services { } } pub mod get_metric_metadata_for_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3668,7 +3668,7 @@ pub mod services { } } pub mod update_monitoring_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3734,7 +3734,7 @@ pub mod services { } } pub mod list_monitoring_configurations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3804,7 +3804,7 @@ pub mod services { } } pub mod list_user_bad_password_report { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3872,7 +3872,7 @@ pub mod services { } } pub mod get_tenant_whitelisting { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3938,7 +3938,7 @@ pub mod services { } } pub mod list_all_risky_ip_download_report { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4005,7 +4005,7 @@ pub mod services { } } pub mod list_current_risky_ip_download_report { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4026,7 +4026,7 @@ pub mod services { } } pub mod service { - use crate::models::*; + use super::{models, models::*}; pub async fn get_metrics( operation_config: &crate::OperationConfig, service_name: &str, @@ -4088,7 +4088,7 @@ pub mod service { } } pub mod get_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4109,7 +4109,7 @@ pub mod service { } } pub mod service_members { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, service_name: &str, @@ -4164,7 +4164,7 @@ pub mod service_members { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4227,7 +4227,7 @@ pub mod service_members { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4290,7 +4290,7 @@ pub mod service_members { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4352,7 +4352,7 @@ pub mod service_members { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4434,7 +4434,7 @@ pub mod service_members { } } pub mod list_alerts { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4500,7 +4500,7 @@ pub mod service_members { } } pub mod list_connectors { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4570,7 +4570,7 @@ pub mod service_members { } } pub mod list_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4631,7 +4631,7 @@ pub mod service_members { } } pub mod delete_data { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4697,7 +4697,7 @@ pub mod service_members { } } pub mod list_data_freshness { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4763,7 +4763,7 @@ pub mod service_members { } } pub mod list_export_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4831,7 +4831,7 @@ pub mod service_members { } } pub mod list_global_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4913,7 +4913,7 @@ pub mod service_members { } } pub mod get_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4981,7 +4981,7 @@ pub mod service_members { } } pub mod get_service_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5051,7 +5051,7 @@ pub mod service_members { } } pub mod get_connector_metadata { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5072,7 +5072,7 @@ pub mod service_members { } } pub mod list { - use crate::models::*; + use super::{models, models::*}; pub async fn ip_address_aggregates_by_service( operation_config: &crate::OperationConfig, service_name: &str, @@ -5124,7 +5124,7 @@ pub mod list { } } pub mod ip_address_aggregates_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5190,7 +5190,7 @@ pub mod list { } } pub mod ip_address_aggregate_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5211,7 +5211,7 @@ pub mod list { } } pub mod update { - use crate::models::*; + use super::{models, models::*}; pub async fn ip_address_aggregate_settings( operation_config: &crate::OperationConfig, service_name: &str, @@ -5261,7 +5261,7 @@ pub mod update { } } pub mod ip_address_aggregate_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/adp/Cargo.toml b/services/mgmt/adp/Cargo.toml index 3f699dec0c..945fcb5ebc 100644 --- a/services/mgmt/adp/Cargo.toml +++ b/services/mgmt/adp/Cargo.toml @@ -20,5 +20,6 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2020-07-01-preview"] +no-default-version = [] "package-2020-07-01-preview" = [] "package-2021-02-01-preview" = [] diff --git a/services/mgmt/adp/src/lib.rs b/services/mgmt/adp/src/lib.rs index 24c1c7bd5b..dec18de4da 100644 --- a/services/mgmt/adp/src/lib.rs +++ b/services/mgmt/adp/src/lib.rs @@ -1,13 +1,21 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2020-07-01-preview")] -mod package_2020_07_01_preview; -#[cfg(feature = "package-2020-07-01-preview")] +pub mod package_2020_07_01_preview; +#[cfg(all(feature = "package-2020-07-01-preview", not(feature = "no-default-version")))] pub use package_2020_07_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-02-01-preview")] -mod package_2021_02_01_preview; +pub mod package_2021_02_01_preview; use azure_core::setters; -#[cfg(feature = "package-2021-02-01-preview")] +#[cfg(all(feature = "package-2021-02-01-preview", not(feature = "no-default-version")))] pub use package_2021_02_01_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -31,7 +39,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/adp/src/package_2020_07_01_preview/operations.rs b/services/mgmt/adp/src/package_2020_07_01_preview/operations.rs index 3c1fad4259..87fe4db0b2 100644 --- a/services/mgmt/adp/src/package_2020_07_01_preview/operations.rs +++ b/services/mgmt/adp/src/package_2020_07_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -45,7 +45,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -69,7 +69,7 @@ pub mod operations { } } pub mod accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, subscription_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -111,7 +111,7 @@ pub mod accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub mod accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -254,7 +254,7 @@ pub mod accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -339,7 +339,7 @@ pub mod accounts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Account), @@ -426,7 +426,7 @@ pub mod accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Account), @@ -498,7 +498,7 @@ pub mod accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -528,7 +528,7 @@ pub mod accounts { } } pub mod data_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -577,7 +577,7 @@ pub mod data_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -649,7 +649,7 @@ pub mod data_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -736,7 +736,7 @@ pub mod data_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataPool), @@ -825,7 +825,7 @@ pub mod data_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataPool), @@ -899,7 +899,7 @@ pub mod data_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/adp/src/package_2021_02_01_preview/operations.rs b/services/mgmt/adp/src/package_2021_02_01_preview/operations.rs index 93c283f9cb..843ec17a01 100644 --- a/services/mgmt/adp/src/package_2021_02_01_preview/operations.rs +++ b/services/mgmt/adp/src/package_2021_02_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -45,7 +45,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -69,7 +69,7 @@ pub mod operations { } } pub mod accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -121,7 +121,7 @@ pub mod accounts { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub mod accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -257,7 +257,7 @@ pub mod accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -327,7 +327,7 @@ pub mod accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -412,7 +412,7 @@ pub mod accounts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Account), @@ -499,7 +499,7 @@ pub mod accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Account), @@ -571,7 +571,7 @@ pub mod accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -601,7 +601,7 @@ pub mod accounts { } } pub mod data_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -650,7 +650,7 @@ pub mod data_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -722,7 +722,7 @@ pub mod data_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -809,7 +809,7 @@ pub mod data_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataPool), @@ -898,7 +898,7 @@ pub mod data_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataPool), @@ -972,7 +972,7 @@ pub mod data_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/advisor/Cargo.toml b/services/mgmt/advisor/Cargo.toml index ba5977f190..d35faf2f0d 100644 --- a/services/mgmt/advisor/Cargo.toml +++ b/services/mgmt/advisor/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2020-01"] +no-default-version = [] "package-2020-07-preview" = [] "package-2020-01" = [] "package-2017-04" = [] diff --git a/services/mgmt/advisor/src/lib.rs b/services/mgmt/advisor/src/lib.rs index 1b8fed11d9..a9d7ecb2ff 100644 --- a/services/mgmt/advisor/src/lib.rs +++ b/services/mgmt/advisor/src/lib.rs @@ -1,25 +1,33 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2020-07-preview")] -mod package_2020_07_preview; -#[cfg(feature = "package-2020-07-preview")] +pub mod package_2020_07_preview; +#[cfg(all(feature = "package-2020-07-preview", not(feature = "no-default-version")))] pub use package_2020_07_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-01")] -mod package_2020_01; -#[cfg(feature = "package-2020-01")] +pub mod package_2020_01; +#[cfg(all(feature = "package-2020-01", not(feature = "no-default-version")))] pub use package_2020_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-04")] -mod package_2017_04; -#[cfg(feature = "package-2017-04")] +pub mod package_2017_04; +#[cfg(all(feature = "package-2017-04", not(feature = "no-default-version")))] pub use package_2017_04::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-03")] -mod package_2017_03; -#[cfg(feature = "package-2017-03")] +pub mod package_2017_03; +#[cfg(all(feature = "package-2017-03", not(feature = "no-default-version")))] pub use package_2017_03::{models, operations, API_VERSION}; #[cfg(feature = "package-2016-07-preview")] -mod package_2016_07_preview; +pub mod package_2016_07_preview; use azure_core::setters; -#[cfg(feature = "package-2016-07-preview")] +#[cfg(all(feature = "package-2016-07-preview", not(feature = "no-default-version")))] pub use package_2016_07_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -43,7 +51,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/advisor/src/package_2016_07_preview/operations.rs b/services/mgmt/advisor/src/package_2016_07_preview/operations.rs index 72ddceb78b..9febe2898b 100644 --- a/services/mgmt/advisor/src/package_2016_07_preview/operations.rs +++ b/services/mgmt/advisor/src/package_2016_07_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod recommendations { - use crate::models::*; + use super::{models, models::*}; pub async fn generate(operation_config: &crate::OperationConfig, subscription_id: &str) -> std::result::Result<(), generate::Error> { let http_client = operation_config.http_client(); let url_str = &format!( @@ -43,7 +43,7 @@ pub mod recommendations { } } pub mod generate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -107,7 +107,7 @@ pub mod recommendations { } } pub mod get_generate_recommendations_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -185,7 +185,7 @@ pub mod recommendations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -248,7 +248,7 @@ pub mod recommendations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -269,7 +269,7 @@ pub mod recommendations { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Advisor/operations", operation_config.base_path(),); @@ -305,7 +305,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -326,7 +326,7 @@ pub mod operations { } } pub mod suppressions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -373,7 +373,7 @@ pub mod suppressions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -440,7 +440,7 @@ pub mod suppressions { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -500,7 +500,7 @@ pub mod suppressions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -561,7 +561,7 @@ pub mod suppressions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/advisor/src/package_2017_03/operations.rs b/services/mgmt/advisor/src/package_2017_03/operations.rs index f04451f0f1..fdd699f0c4 100644 --- a/services/mgmt/advisor/src/package_2017_03/operations.rs +++ b/services/mgmt/advisor/src/package_2017_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod recommendations { - use crate::models::*; + use super::{models, models::*}; pub async fn generate(operation_config: &crate::OperationConfig, subscription_id: &str) -> std::result::Result<(), generate::Error> { let http_client = operation_config.http_client(); let url_str = &format!( @@ -43,7 +43,7 @@ pub mod recommendations { } } pub mod generate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -105,7 +105,7 @@ pub mod recommendations { } } pub mod get_generate_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -183,7 +183,7 @@ pub mod recommendations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -246,7 +246,7 @@ pub mod recommendations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -267,7 +267,7 @@ pub mod recommendations { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Advisor/operations", operation_config.base_path(),); @@ -303,7 +303,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -324,7 +324,7 @@ pub mod operations { } } pub mod suppressions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -371,7 +371,7 @@ pub mod suppressions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -438,7 +438,7 @@ pub mod suppressions { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -498,7 +498,7 @@ pub mod suppressions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -559,7 +559,7 @@ pub mod suppressions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/advisor/src/package_2017_04/operations.rs b/services/mgmt/advisor/src/package_2017_04/operations.rs index 8f116c7299..cb4c6d5976 100644 --- a/services/mgmt/advisor/src/package_2017_04/operations.rs +++ b/services/mgmt/advisor/src/package_2017_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod recommendation_metadata { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig, name: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Advisor/metadata/{}", operation_config.base_path(), name); @@ -46,7 +46,7 @@ pub mod recommendation_metadata { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -102,7 +102,7 @@ pub mod recommendation_metadata { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -123,7 +123,7 @@ pub mod recommendation_metadata { } } pub mod configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -169,7 +169,7 @@ pub mod configurations { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -238,7 +238,7 @@ pub mod configurations { } } pub mod create_in_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -308,7 +308,7 @@ pub mod configurations { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -379,7 +379,7 @@ pub mod configurations { } } pub mod create_in_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -402,7 +402,7 @@ pub mod configurations { } } pub mod recommendations { - use crate::models::*; + use super::{models, models::*}; pub async fn generate(operation_config: &crate::OperationConfig, subscription_id: &str) -> std::result::Result<(), generate::Error> { let http_client = operation_config.http_client(); let url_str = &format!( @@ -441,7 +441,7 @@ pub mod recommendations { } } pub mod generate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -503,7 +503,7 @@ pub mod recommendations { } } pub mod get_generate_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -581,7 +581,7 @@ pub mod recommendations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -644,7 +644,7 @@ pub mod recommendations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -665,7 +665,7 @@ pub mod recommendations { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Advisor/operations", operation_config.base_path(),); @@ -701,7 +701,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -722,7 +722,7 @@ pub mod operations { } } pub mod suppressions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -769,7 +769,7 @@ pub mod suppressions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -836,7 +836,7 @@ pub mod suppressions { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -896,7 +896,7 @@ pub mod suppressions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -965,7 +965,7 @@ pub mod suppressions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/advisor/src/package_2020_01/operations.rs b/services/mgmt/advisor/src/package_2020_01/operations.rs index 9332ebb4b2..07d2847d47 100644 --- a/services/mgmt/advisor/src/package_2020_01/operations.rs +++ b/services/mgmt/advisor/src/package_2020_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod recommendation_metadata { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig, name: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Advisor/metadata/{}", operation_config.base_path(), name); @@ -48,7 +48,7 @@ pub mod recommendation_metadata { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -109,7 +109,7 @@ pub mod recommendation_metadata { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -133,7 +133,7 @@ pub mod recommendation_metadata { } } pub mod configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -181,7 +181,7 @@ pub mod configurations { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -256,7 +256,7 @@ pub mod configurations { } } pub mod create_in_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -329,7 +329,7 @@ pub mod configurations { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -406,7 +406,7 @@ pub mod configurations { } } pub mod create_in_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -430,7 +430,7 @@ pub mod configurations { } } pub mod recommendations { - use crate::models::*; + use super::{models, models::*}; pub async fn generate(operation_config: &crate::OperationConfig, subscription_id: &str) -> std::result::Result<(), generate::Error> { let http_client = operation_config.http_client(); let url_str = &format!( @@ -471,7 +471,7 @@ pub mod recommendations { } } pub mod generate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -538,7 +538,7 @@ pub mod recommendations { } } pub mod get_generate_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -621,7 +621,7 @@ pub mod recommendations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -689,7 +689,7 @@ pub mod recommendations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -713,7 +713,7 @@ pub mod recommendations { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Advisor/operations", operation_config.base_path(),); @@ -751,7 +751,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -775,7 +775,7 @@ pub mod operations { } } pub mod suppressions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -830,7 +830,7 @@ pub mod suppressions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -910,7 +910,7 @@ pub mod suppressions { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -977,7 +977,7 @@ pub mod suppressions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1051,7 +1051,7 @@ pub mod suppressions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/advisor/src/package_2020_07_preview/operations.rs b/services/mgmt/advisor/src/package_2020_07_preview/operations.rs index bfd500d16f..b6006e622d 100644 --- a/services/mgmt/advisor/src/package_2020_07_preview/operations.rs +++ b/services/mgmt/advisor/src/package_2020_07_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Advisor/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod advisor_scores { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -105,7 +105,7 @@ pub mod advisor_scores { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -172,7 +172,7 @@ pub mod advisor_scores { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/agrifood/Cargo.toml b/services/mgmt/agrifood/Cargo.toml index 6131d0c20d..534aa1bc77 100644 --- a/services/mgmt/agrifood/Cargo.toml +++ b/services/mgmt/agrifood/Cargo.toml @@ -20,4 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2020-05-12-preview"] +no-default-version = [] "package-2020-05-12-preview" = [] diff --git a/services/mgmt/agrifood/src/lib.rs b/services/mgmt/agrifood/src/lib.rs index e3f8d5a76a..349c72ed87 100644 --- a/services/mgmt/agrifood/src/lib.rs +++ b/services/mgmt/agrifood/src/lib.rs @@ -1,9 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2020-05-12-preview")] -mod package_2020_05_12_preview; +pub mod package_2020_05_12_preview; use azure_core::setters; -#[cfg(feature = "package-2020-05-12-preview")] +#[cfg(all(feature = "package-2020-05-12-preview", not(feature = "no-default-version")))] pub use package_2020_05_12_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -27,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/agrifood/src/package_2020_05_12_preview/operations.rs b/services/mgmt/agrifood/src/package_2020_05_12_preview/operations.rs index 5e358cc93a..58f8807978 100644 --- a/services/mgmt/agrifood/src/package_2020_05_12_preview/operations.rs +++ b/services/mgmt/agrifood/src/package_2020_05_12_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, extension_id: &str, @@ -55,7 +55,7 @@ pub mod extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod extensions { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -199,7 +199,7 @@ pub mod extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -267,7 +267,7 @@ pub mod extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -362,7 +362,7 @@ pub mod extensions { } } pub mod list_by_farm_beats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -386,7 +386,7 @@ pub mod extensions { } } pub mod farm_beats_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, farm_beats_extension_ids: &Vec<&str>, @@ -452,7 +452,7 @@ pub mod farm_beats_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -518,7 +518,7 @@ pub mod farm_beats_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -542,7 +542,7 @@ pub mod farm_beats_extensions { } } pub mod farm_beats_models { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -591,7 +591,7 @@ pub mod farm_beats_models { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -672,7 +672,7 @@ pub mod farm_beats_models { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FarmBeats), @@ -749,7 +749,7 @@ pub mod farm_beats_models { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -815,7 +815,7 @@ pub mod farm_beats_models { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -898,7 +898,7 @@ pub mod farm_beats_models { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -980,7 +980,7 @@ pub mod farm_beats_models { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1004,7 +1004,7 @@ pub mod farm_beats_models { } } pub mod locations { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1056,7 +1056,7 @@ pub mod locations { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1080,7 +1080,7 @@ pub mod locations { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.AgFoodPlatform/operations", operation_config.base_path(),); @@ -1118,7 +1118,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/alertsmanagement/Cargo.toml b/services/mgmt/alertsmanagement/Cargo.toml index 01ff8fbb56..480040c096 100644 --- a/services/mgmt/alertsmanagement/Cargo.toml +++ b/services/mgmt/alertsmanagement/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-04-only"] +no-default-version = [] "package-2021-04-only" = [] "package-preview-2021-08" = [] "package-preview-2021-01" = [] diff --git a/services/mgmt/alertsmanagement/src/lib.rs b/services/mgmt/alertsmanagement/src/lib.rs index 7b52c0264c..17ae654671 100644 --- a/services/mgmt/alertsmanagement/src/lib.rs +++ b/services/mgmt/alertsmanagement/src/lib.rs @@ -1,45 +1,53 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-04-only")] -mod package_2021_04_only; -#[cfg(feature = "package-2021-04-only")] +pub mod package_2021_04_only; +#[cfg(all(feature = "package-2021-04-only", not(feature = "no-default-version")))] pub use package_2021_04_only::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2021-08")] -mod package_preview_2021_08; -#[cfg(feature = "package-preview-2021-08")] +pub mod package_preview_2021_08; +#[cfg(all(feature = "package-preview-2021-08", not(feature = "no-default-version")))] pub use package_preview_2021_08::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2021-01")] -mod package_preview_2021_01; -#[cfg(feature = "package-preview-2021-01")] +pub mod package_preview_2021_01; +#[cfg(all(feature = "package-preview-2021-01", not(feature = "no-default-version")))] pub use package_preview_2021_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-06-preview")] -mod package_2019_06_preview; -#[cfg(feature = "package-2019-06-preview")] +pub mod package_2019_06_preview; +#[cfg(all(feature = "package-2019-06-preview", not(feature = "no-default-version")))] pub use package_2019_06_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-06")] -mod package_2019_06; -#[cfg(feature = "package-2019-06")] +pub mod package_2019_06; +#[cfg(all(feature = "package-2019-06", not(feature = "no-default-version")))] pub use package_2019_06::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-03")] -mod package_2019_03; -#[cfg(feature = "package-2019-03")] +pub mod package_2019_03; +#[cfg(all(feature = "package-2019-03", not(feature = "no-default-version")))] pub use package_2019_03::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2019-05")] -mod package_preview_2019_05; -#[cfg(feature = "package-preview-2019-05")] +pub mod package_preview_2019_05; +#[cfg(all(feature = "package-preview-2019-05", not(feature = "no-default-version")))] pub use package_preview_2019_05::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-05")] -mod package_2018_05; -#[cfg(feature = "package-2018-05")] +pub mod package_2018_05; +#[cfg(all(feature = "package-2018-05", not(feature = "no-default-version")))] pub use package_2018_05::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-05-preview")] -mod package_2018_05_preview; -#[cfg(feature = "package-2018-05-preview")] +pub mod package_2018_05_preview; +#[cfg(all(feature = "package-2018-05-preview", not(feature = "no-default-version")))] pub use package_2018_05_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-08-04-preview")] -mod package_2020_08_04_preview; +pub mod package_2020_08_04_preview; use azure_core::setters; -#[cfg(feature = "package-2020-08-04-preview")] +#[cfg(all(feature = "package-2020-08-04-preview", not(feature = "no-default-version")))] pub use package_2020_08_04_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -63,7 +71,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/alertsmanagement/src/package_2018_05/operations.rs b/services/mgmt/alertsmanagement/src/package_2018_05/operations.rs index 7f03760c39..efe19af134 100644 --- a/services/mgmt/alertsmanagement/src/package_2018_05/operations.rs +++ b/services/mgmt/alertsmanagement/src/package_2018_05/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.AlertsManagement/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn get_all( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -179,7 +179,7 @@ pub mod alerts { } } pub mod get_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -250,7 +250,7 @@ pub mod alerts { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -324,7 +324,7 @@ pub mod alerts { } } pub mod change_state { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -395,7 +395,7 @@ pub mod alerts { } } pub mod get_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -511,7 +511,7 @@ pub mod alerts { } } pub mod get_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -535,7 +535,7 @@ pub mod alerts { } } pub mod smart_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get_all( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -627,7 +627,7 @@ pub mod smart_groups { } } pub mod get_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -698,7 +698,7 @@ pub mod smart_groups { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -772,7 +772,7 @@ pub mod smart_groups { } } pub mod change_state { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -843,7 +843,7 @@ pub mod smart_groups { } } pub mod get_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/alertsmanagement/src/package_2018_05_preview/operations.rs b/services/mgmt/alertsmanagement/src/package_2018_05_preview/operations.rs index 2a36cdd4e4..e9ac10feca 100644 --- a/services/mgmt/alertsmanagement/src/package_2018_05_preview/operations.rs +++ b/services/mgmt/alertsmanagement/src/package_2018_05_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.AlertsManagement/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn get_all( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -162,7 +162,7 @@ pub mod alerts { } } pub mod get_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -233,7 +233,7 @@ pub mod alerts { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -307,7 +307,7 @@ pub mod alerts { } } pub mod change_state { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -378,7 +378,7 @@ pub mod alerts { } } pub mod get_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -455,7 +455,7 @@ pub mod alerts { } } pub mod get_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -479,7 +479,7 @@ pub mod alerts { } } pub mod smart_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get_all( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -571,7 +571,7 @@ pub mod smart_groups { } } pub mod get_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -642,7 +642,7 @@ pub mod smart_groups { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -716,7 +716,7 @@ pub mod smart_groups { } } pub mod change_state { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -787,7 +787,7 @@ pub mod smart_groups { } } pub mod get_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/alertsmanagement/src/package_2019_03/operations.rs b/services/mgmt/alertsmanagement/src/package_2019_03/operations.rs index 355b1b05d2..302c011427 100644 --- a/services/mgmt/alertsmanagement/src/package_2019_03/operations.rs +++ b/services/mgmt/alertsmanagement/src/package_2019_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.AlertsManagement/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn meta_data( operation_config: &crate::OperationConfig, identifier: &str, @@ -109,7 +109,7 @@ pub mod alerts { } } pub mod meta_data { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -248,7 +248,7 @@ pub mod alerts { } } pub mod get_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -319,7 +319,7 @@ pub mod alerts { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -393,7 +393,7 @@ pub mod alerts { } } pub mod change_state { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -464,7 +464,7 @@ pub mod alerts { } } pub mod get_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -580,7 +580,7 @@ pub mod alerts { } } pub mod get_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -604,7 +604,7 @@ pub mod alerts { } } pub mod smart_detector_alert_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -649,7 +649,7 @@ pub mod smart_detector_alert_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -722,7 +722,7 @@ pub mod smart_detector_alert_rules { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -797,7 +797,7 @@ pub mod smart_detector_alert_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -878,7 +878,7 @@ pub mod smart_detector_alert_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AlertRule), @@ -955,7 +955,7 @@ pub mod smart_detector_alert_rules { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1021,7 +1021,7 @@ pub mod smart_detector_alert_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/alertsmanagement/src/package_2019_06/operations.rs b/services/mgmt/alertsmanagement/src/package_2019_06/operations.rs index c2024c621d..8a03527fda 100644 --- a/services/mgmt/alertsmanagement/src/package_2019_06/operations.rs +++ b/services/mgmt/alertsmanagement/src/package_2019_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod smart_detector_alert_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -54,7 +54,7 @@ pub mod smart_detector_alert_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -132,7 +132,7 @@ pub mod smart_detector_alert_rules { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -207,7 +207,7 @@ pub mod smart_detector_alert_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -288,7 +288,7 @@ pub mod smart_detector_alert_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AlertRule), @@ -365,7 +365,7 @@ pub mod smart_detector_alert_rules { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -431,7 +431,7 @@ pub mod smart_detector_alert_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/alertsmanagement/src/package_2019_06_preview/operations.rs b/services/mgmt/alertsmanagement/src/package_2019_06_preview/operations.rs index e0a4142219..ba6fd921e7 100644 --- a/services/mgmt/alertsmanagement/src/package_2019_06_preview/operations.rs +++ b/services/mgmt/alertsmanagement/src/package_2019_06_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod action_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -92,7 +92,7 @@ pub mod action_rules { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -205,7 +205,7 @@ pub mod action_rules { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -278,7 +278,7 @@ pub mod action_rules { } } pub mod get_by_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -353,7 +353,7 @@ pub mod action_rules { } } pub mod create_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -425,7 +425,7 @@ pub mod action_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -495,7 +495,7 @@ pub mod action_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -519,7 +519,7 @@ pub mod action_rules { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.AlertsManagement/operations", operation_config.base_path(),); @@ -555,7 +555,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -576,7 +576,7 @@ pub mod operations { } } pub mod alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn meta_data( operation_config: &crate::OperationConfig, identifier: &str, @@ -622,7 +622,7 @@ pub mod alerts { } } pub mod meta_data { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -758,7 +758,7 @@ pub mod alerts { } } pub mod get_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -829,7 +829,7 @@ pub mod alerts { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -903,7 +903,7 @@ pub mod alerts { } } pub mod change_state { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -974,7 +974,7 @@ pub mod alerts { } } pub mod get_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1090,7 +1090,7 @@ pub mod alerts { } } pub mod get_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1114,7 +1114,7 @@ pub mod alerts { } } pub mod smart_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get_all( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1206,7 +1206,7 @@ pub mod smart_groups { } } pub mod get_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1277,7 +1277,7 @@ pub mod smart_groups { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1351,7 +1351,7 @@ pub mod smart_groups { } } pub mod change_state { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1422,7 +1422,7 @@ pub mod smart_groups { } } pub mod get_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1446,7 +1446,7 @@ pub mod smart_groups { } } pub mod smart_detector_alert_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1496,7 +1496,7 @@ pub mod smart_detector_alert_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1574,7 +1574,7 @@ pub mod smart_detector_alert_rules { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1649,7 +1649,7 @@ pub mod smart_detector_alert_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1730,7 +1730,7 @@ pub mod smart_detector_alert_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AlertRule), @@ -1807,7 +1807,7 @@ pub mod smart_detector_alert_rules { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1873,7 +1873,7 @@ pub mod smart_detector_alert_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/alertsmanagement/src/package_2020_08_04_preview/operations.rs b/services/mgmt/alertsmanagement/src/package_2020_08_04_preview/operations.rs index 56bdc498e0..b1caed907a 100644 --- a/services/mgmt/alertsmanagement/src/package_2020_08_04_preview/operations.rs +++ b/services/mgmt/alertsmanagement/src/package_2020_08_04_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.AlertsManagement/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod health_alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -109,7 +109,7 @@ pub mod health_alerts { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -182,7 +182,7 @@ pub mod health_alerts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -252,7 +252,7 @@ pub mod health_alerts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -327,7 +327,7 @@ pub mod health_alerts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -399,7 +399,7 @@ pub mod health_alerts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -465,7 +465,7 @@ pub mod health_alerts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/alertsmanagement/src/package_2021_04_only/operations.rs b/services/mgmt/alertsmanagement/src/package_2021_04_only/operations.rs index c0e378388d..4737356ea2 100644 --- a/services/mgmt/alertsmanagement/src/package_2021_04_only/operations.rs +++ b/services/mgmt/alertsmanagement/src/package_2021_04_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.AlertsManagement/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn meta_data( operation_config: &crate::OperationConfig, identifier: &str, @@ -109,7 +109,7 @@ pub mod alerts { } } pub mod meta_data { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -248,7 +248,7 @@ pub mod alerts { } } pub mod get_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -319,7 +319,7 @@ pub mod alerts { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -393,7 +393,7 @@ pub mod alerts { } } pub mod change_state { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -464,7 +464,7 @@ pub mod alerts { } } pub mod get_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -580,7 +580,7 @@ pub mod alerts { } } pub mod get_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -604,7 +604,7 @@ pub mod alerts { } } pub mod smart_detector_alert_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -654,7 +654,7 @@ pub mod smart_detector_alert_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -732,7 +732,7 @@ pub mod smart_detector_alert_rules { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -807,7 +807,7 @@ pub mod smart_detector_alert_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -888,7 +888,7 @@ pub mod smart_detector_alert_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AlertRule), @@ -965,7 +965,7 @@ pub mod smart_detector_alert_rules { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1031,7 +1031,7 @@ pub mod smart_detector_alert_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/alertsmanagement/src/package_preview_2019_05/operations.rs b/services/mgmt/alertsmanagement/src/package_preview_2019_05/operations.rs index 37c17f72a9..0d5a4e6076 100644 --- a/services/mgmt/alertsmanagement/src/package_preview_2019_05/operations.rs +++ b/services/mgmt/alertsmanagement/src/package_preview_2019_05/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod action_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -92,7 +92,7 @@ pub mod action_rules { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -205,7 +205,7 @@ pub mod action_rules { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -278,7 +278,7 @@ pub mod action_rules { } } pub mod get_by_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -353,7 +353,7 @@ pub mod action_rules { } } pub mod create_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -425,7 +425,7 @@ pub mod action_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -495,7 +495,7 @@ pub mod action_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -519,7 +519,7 @@ pub mod action_rules { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.AlertsManagement/operations", operation_config.base_path(),); @@ -555,7 +555,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -576,7 +576,7 @@ pub mod operations { } } pub mod alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn meta_data( operation_config: &crate::OperationConfig, identifier: &str, @@ -622,7 +622,7 @@ pub mod alerts { } } pub mod meta_data { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -758,7 +758,7 @@ pub mod alerts { } } pub mod get_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -829,7 +829,7 @@ pub mod alerts { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -903,7 +903,7 @@ pub mod alerts { } } pub mod change_state { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -974,7 +974,7 @@ pub mod alerts { } } pub mod get_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1090,7 +1090,7 @@ pub mod alerts { } } pub mod get_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1114,7 +1114,7 @@ pub mod alerts { } } pub mod smart_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get_all( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1206,7 +1206,7 @@ pub mod smart_groups { } } pub mod get_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1277,7 +1277,7 @@ pub mod smart_groups { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1351,7 +1351,7 @@ pub mod smart_groups { } } pub mod change_state { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1422,7 +1422,7 @@ pub mod smart_groups { } } pub mod get_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/alertsmanagement/src/package_preview_2021_01/operations.rs b/services/mgmt/alertsmanagement/src/package_preview_2021_01/operations.rs index e64e1291db..3e3d69c032 100644 --- a/services/mgmt/alertsmanagement/src/package_preview_2021_01/operations.rs +++ b/services/mgmt/alertsmanagement/src/package_preview_2021_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.AlertsManagement/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod migrate_from_smart_detection { - use crate::models::*; + use super::{models, models::*}; pub async fn start_migration( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -117,7 +117,7 @@ pub mod migrate_from_smart_detection { } } pub mod start_migration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(MigrationStatusResponse), diff --git a/services/mgmt/alertsmanagement/src/package_preview_2021_08/operations.rs b/services/mgmt/alertsmanagement/src/package_preview_2021_08/operations.rs index 07c6ccb323..bc819d3f27 100644 --- a/services/mgmt/alertsmanagement/src/package_preview_2021_08/operations.rs +++ b/services/mgmt/alertsmanagement/src/package_preview_2021_08/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod action_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -52,7 +52,7 @@ pub mod action_rules { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -125,7 +125,7 @@ pub mod action_rules { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -198,7 +198,7 @@ pub mod action_rules { } } pub mod get_by_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -279,7 +279,7 @@ pub mod action_rules { } } pub mod create_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ActionRule), @@ -356,7 +356,7 @@ pub mod action_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -422,7 +422,7 @@ pub mod action_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -451,7 +451,7 @@ pub mod action_rules { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.AlertsManagement/operations", operation_config.base_path(),); @@ -487,7 +487,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/analysisservices/Cargo.toml b/services/mgmt/analysisservices/Cargo.toml index b1c17317ce..3d2e91aa87 100644 --- a/services/mgmt/analysisservices/Cargo.toml +++ b/services/mgmt/analysisservices/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2017-08-beta"] +no-default-version = [] "package-2017-08-beta" = [] "package-2017-07" = [] "package-2016-05" = [] diff --git a/services/mgmt/analysisservices/src/lib.rs b/services/mgmt/analysisservices/src/lib.rs index 52a6359c12..0ff9be7767 100644 --- a/services/mgmt/analysisservices/src/lib.rs +++ b/services/mgmt/analysisservices/src/lib.rs @@ -1,17 +1,25 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2017-08-beta")] -mod package_2017_08_beta; -#[cfg(feature = "package-2017-08-beta")] +pub mod package_2017_08_beta; +#[cfg(all(feature = "package-2017-08-beta", not(feature = "no-default-version")))] pub use package_2017_08_beta::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-07")] -mod package_2017_07; -#[cfg(feature = "package-2017-07")] +pub mod package_2017_07; +#[cfg(all(feature = "package-2017-07", not(feature = "no-default-version")))] pub use package_2017_07::{models, operations, API_VERSION}; #[cfg(feature = "package-2016-05")] -mod package_2016_05; +pub mod package_2016_05; use azure_core::setters; -#[cfg(feature = "package-2016-05")] +#[cfg(all(feature = "package-2016-05", not(feature = "no-default-version")))] pub use package_2016_05::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -35,7 +43,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/analysisservices/src/package_2016_05/operations.rs b/services/mgmt/analysisservices/src/package_2016_05/operations.rs index b28f58cf39..91f7022be4 100644 --- a/services/mgmt/analysisservices/src/package_2016_05/operations.rs +++ b/services/mgmt/analysisservices/src/package_2016_05/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod servers { - use crate::models::*; + use super::{models, models::*}; pub async fn get_details( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -56,7 +56,7 @@ pub mod servers { } } pub mod get_details { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -140,7 +140,7 @@ pub mod servers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AnalysisServicesServer), @@ -224,7 +224,7 @@ pub mod servers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AnalysisServicesServer), @@ -296,7 +296,7 @@ pub mod servers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -372,7 +372,7 @@ pub mod servers { } } pub mod suspend { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -444,7 +444,7 @@ pub mod servers { } } pub mod resume { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -522,7 +522,7 @@ pub mod servers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -588,7 +588,7 @@ pub mod servers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -657,7 +657,7 @@ pub mod servers { } } pub mod list_skus_for_new { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -732,7 +732,7 @@ pub mod servers { } } pub mod list_skus_for_existing { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -807,7 +807,7 @@ pub mod servers { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -879,7 +879,7 @@ pub mod servers { } } pub mod list_operation_results { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -966,7 +966,7 @@ pub mod servers { } } pub mod list_operation_statuses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatus), @@ -995,7 +995,7 @@ pub mod servers { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.AnalysisServices/operations", operation_config.base_path(),); @@ -1033,7 +1033,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/analysisservices/src/package_2017_07/operations.rs b/services/mgmt/analysisservices/src/package_2017_07/operations.rs index e913fa552c..fc8949c503 100644 --- a/services/mgmt/analysisservices/src/package_2017_07/operations.rs +++ b/services/mgmt/analysisservices/src/package_2017_07/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod servers { - use crate::models::*; + use super::{models, models::*}; pub async fn get_details( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -56,7 +56,7 @@ pub mod servers { } } pub mod get_details { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod servers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AnalysisServicesServer), @@ -217,7 +217,7 @@ pub mod servers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AnalysisServicesServer), @@ -289,7 +289,7 @@ pub mod servers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -365,7 +365,7 @@ pub mod servers { } } pub mod suspend { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -437,7 +437,7 @@ pub mod servers { } } pub mod resume { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -515,7 +515,7 @@ pub mod servers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -581,7 +581,7 @@ pub mod servers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -650,7 +650,7 @@ pub mod servers { } } pub mod list_skus_for_new { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -725,7 +725,7 @@ pub mod servers { } } pub mod list_skus_for_existing { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -799,7 +799,7 @@ pub mod servers { } } pub mod list_gateway_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -868,7 +868,7 @@ pub mod servers { } } pub mod dissociate_gateway { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -943,7 +943,7 @@ pub mod servers { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1014,7 +1014,7 @@ pub mod servers { } } pub mod list_operation_results { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1100,7 +1100,7 @@ pub mod servers { } } pub mod list_operation_statuses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatus), @@ -1129,7 +1129,7 @@ pub mod servers { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.AnalysisServices/operations", operation_config.base_path(),); @@ -1167,7 +1167,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/analysisservices/src/package_2017_08_beta/operations.rs b/services/mgmt/analysisservices/src/package_2017_08_beta/operations.rs index 8457d9645a..717dd9f60a 100644 --- a/services/mgmt/analysisservices/src/package_2017_08_beta/operations.rs +++ b/services/mgmt/analysisservices/src/package_2017_08_beta/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod servers { - use crate::models::*; + use super::{models, models::*}; pub async fn get_details( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -56,7 +56,7 @@ pub mod servers { } } pub mod get_details { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod servers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AnalysisServicesServer), @@ -217,7 +217,7 @@ pub mod servers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AnalysisServicesServer), @@ -289,7 +289,7 @@ pub mod servers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -365,7 +365,7 @@ pub mod servers { } } pub mod suspend { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -437,7 +437,7 @@ pub mod servers { } } pub mod resume { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -515,7 +515,7 @@ pub mod servers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -581,7 +581,7 @@ pub mod servers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -650,7 +650,7 @@ pub mod servers { } } pub mod list_skus_for_new { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -725,7 +725,7 @@ pub mod servers { } } pub mod list_skus_for_existing { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -799,7 +799,7 @@ pub mod servers { } } pub mod list_gateway_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -868,7 +868,7 @@ pub mod servers { } } pub mod dissociate_gateway { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -943,7 +943,7 @@ pub mod servers { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1014,7 +1014,7 @@ pub mod servers { } } pub mod list_operation_results { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1100,7 +1100,7 @@ pub mod servers { } } pub mod list_operation_statuses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatus), @@ -1129,7 +1129,7 @@ pub mod servers { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.AnalysisServices/operations", operation_config.base_path(),); @@ -1167,7 +1167,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/apimanagement/Cargo.toml b/services/mgmt/apimanagement/Cargo.toml index 73cd8aba50..803d38470d 100644 --- a/services/mgmt/apimanagement/Cargo.toml +++ b/services/mgmt/apimanagement/Cargo.toml @@ -19,7 +19,9 @@ azure_identity = { path = "../../../sdk/identity", version = "0.1.0" } tokio = { version = "1.0", features = ["macros"] } [features] -default = ["package-2020-12"] +default = ["package-2021-08"] +no-default-version = [] +"package-2021-08" = [] "package-preview-2021-04" = [] "package-preview-2021-01" = [] "package-2020-12" = [] diff --git a/services/mgmt/apimanagement/src/lib.rs b/services/mgmt/apimanagement/src/lib.rs index f483678ab4..069e251b4c 100644 --- a/services/mgmt/apimanagement/src/lib.rs +++ b/services/mgmt/apimanagement/src/lib.rs @@ -1,37 +1,49 @@ #![doc = "generated by AutoRust 0.1.0"] +#[cfg(feature = "package-2021-08")] +pub mod package_2021_08; +#[cfg(all(feature = "package-2021-08", not(feature = "no-default-version")))] +pub use package_2021_08::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2021-04")] -mod package_preview_2021_04; -#[cfg(feature = "package-preview-2021-04")] +pub mod package_preview_2021_04; +#[cfg(all(feature = "package-preview-2021-04", not(feature = "no-default-version")))] pub use package_preview_2021_04::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2021-01")] -mod package_preview_2021_01; -#[cfg(feature = "package-preview-2021-01")] +pub mod package_preview_2021_01; +#[cfg(all(feature = "package-preview-2021-01", not(feature = "no-default-version")))] pub use package_preview_2021_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-12")] -mod package_2020_12; -#[cfg(feature = "package-2020-12")] +pub mod package_2020_12; +#[cfg(all(feature = "package-2020-12", not(feature = "no-default-version")))] pub use package_2020_12::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2020-06")] -mod package_preview_2020_06; -#[cfg(feature = "package-preview-2020-06")] +pub mod package_preview_2020_06; +#[cfg(all(feature = "package-preview-2020-06", not(feature = "no-default-version")))] pub use package_preview_2020_06::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-12")] -mod package_2019_12; -#[cfg(feature = "package-2019-12")] +pub mod package_2019_12; +#[cfg(all(feature = "package-2019-12", not(feature = "no-default-version")))] pub use package_2019_12::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2019-12")] -mod package_preview_2019_12; -#[cfg(feature = "package-preview-2019-12")] +pub mod package_preview_2019_12; +#[cfg(all(feature = "package-preview-2019-12", not(feature = "no-default-version")))] pub use package_preview_2019_12::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-01")] -mod package_2019_01; -#[cfg(feature = "package-2019-01")] +pub mod package_2019_01; +#[cfg(all(feature = "package-2019-01", not(feature = "no-default-version")))] pub use package_2019_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-06-preview")] -mod package_2018_06_preview; +pub mod package_2018_06_preview; use azure_core::setters; -#[cfg(feature = "package-2018-06-preview")] +#[cfg(all(feature = "package-2018-06-preview", not(feature = "no-default-version")))] pub use package_2018_06_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -55,7 +67,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/apimanagement/src/package_2018_06_preview/operations.rs b/services/mgmt/apimanagement/src/package_2018_06_preview/operations.rs index 37e70ffc88..f667433859 100644 --- a/services/mgmt/apimanagement/src/package_2018_06_preview/operations.rs +++ b/services/mgmt/apimanagement/src/package_2018_06_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod api_export { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -59,7 +59,7 @@ pub mod api_export { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -83,7 +83,7 @@ pub mod api_export { } } pub mod api { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_tags( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -152,7 +152,7 @@ pub mod api { } } pub mod list_by_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -176,7 +176,7 @@ pub mod api { } } pub mod authorization_server { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -240,7 +240,7 @@ pub mod authorization_server { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -312,7 +312,7 @@ pub mod authorization_server { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -399,7 +399,7 @@ pub mod authorization_server { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(AuthorizationServerContract), @@ -475,7 +475,7 @@ pub mod authorization_server { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -545,7 +545,7 @@ pub mod authorization_server { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -620,7 +620,7 @@ pub mod authorization_server { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -644,7 +644,7 @@ pub mod authorization_server { } } pub mod backend { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -708,7 +708,7 @@ pub mod backend { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -780,7 +780,7 @@ pub mod backend { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -867,7 +867,7 @@ pub mod backend { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(BackendContract), @@ -943,7 +943,7 @@ pub mod backend { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1013,7 +1013,7 @@ pub mod backend { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1088,7 +1088,7 @@ pub mod backend { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1164,7 +1164,7 @@ pub mod backend { } } pub mod reconnect { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1188,7 +1188,7 @@ pub mod backend { } } pub mod cache { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1248,7 +1248,7 @@ pub mod cache { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1320,7 +1320,7 @@ pub mod cache { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1407,7 +1407,7 @@ pub mod cache { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CacheContract), @@ -1483,7 +1483,7 @@ pub mod cache { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1553,7 +1553,7 @@ pub mod cache { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1628,7 +1628,7 @@ pub mod cache { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1652,7 +1652,7 @@ pub mod cache { } } pub mod certificate { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1716,7 +1716,7 @@ pub mod certificate { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1788,7 +1788,7 @@ pub mod certificate { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1875,7 +1875,7 @@ pub mod certificate { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CertificateContract), @@ -1950,7 +1950,7 @@ pub mod certificate { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2025,7 +2025,7 @@ pub mod certificate { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2049,7 +2049,7 @@ pub mod certificate { } } pub mod api_management_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ApiManagement/operations", operation_config.base_path(),); @@ -2085,7 +2085,7 @@ pub mod api_management_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2106,7 +2106,7 @@ pub mod api_management_operations { } } pub mod api_management_service_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list_available_service_skus( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2158,7 +2158,7 @@ pub mod api_management_service_skus { } } pub mod list_available_service_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2179,7 +2179,7 @@ pub mod api_management_service_skus { } } pub mod api_management_service { - use crate::models::*; + use super::{models, models::*}; pub async fn restore( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2232,7 +2232,7 @@ pub mod api_management_service { } } pub mod restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApiManagementServiceResource), @@ -2305,7 +2305,7 @@ pub mod api_management_service { } } pub mod backup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApiManagementServiceResource), @@ -2375,7 +2375,7 @@ pub mod api_management_service { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2457,7 +2457,7 @@ pub mod api_management_service { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApiManagementServiceResource), @@ -2531,7 +2531,7 @@ pub mod api_management_service { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApiManagementServiceResource), @@ -2603,7 +2603,7 @@ pub mod api_management_service { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2677,7 +2677,7 @@ pub mod api_management_service { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2738,7 +2738,7 @@ pub mod api_management_service { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2807,7 +2807,7 @@ pub mod api_management_service { } } pub mod get_sso_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2875,7 +2875,7 @@ pub mod api_management_service { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2952,7 +2952,7 @@ pub mod api_management_service { } } pub mod apply_network_configuration_updates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3027,7 +3027,7 @@ pub mod api_management_service { } } pub mod upload_certificate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3103,7 +3103,7 @@ pub mod api_management_service { } } pub mod update_hostname { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApiManagementServiceResource), @@ -3129,7 +3129,7 @@ pub mod api_management_service { } } pub mod diagnostic { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3193,7 +3193,7 @@ pub mod diagnostic { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3265,7 +3265,7 @@ pub mod diagnostic { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3352,7 +3352,7 @@ pub mod diagnostic { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DiagnosticContract), @@ -3428,7 +3428,7 @@ pub mod diagnostic { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3498,7 +3498,7 @@ pub mod diagnostic { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3573,7 +3573,7 @@ pub mod diagnostic { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3597,7 +3597,7 @@ pub mod diagnostic { } } pub mod email_template { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3661,7 +3661,7 @@ pub mod email_template { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3733,7 +3733,7 @@ pub mod email_template { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3820,7 +3820,7 @@ pub mod email_template { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(EmailTemplateContract), @@ -3894,7 +3894,7 @@ pub mod email_template { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3964,7 +3964,7 @@ pub mod email_template { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4039,7 +4039,7 @@ pub mod email_template { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4063,7 +4063,7 @@ pub mod email_template { } } pub mod group { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4127,7 +4127,7 @@ pub mod group { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4199,7 +4199,7 @@ pub mod group { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4286,7 +4286,7 @@ pub mod group { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GroupContract), @@ -4362,7 +4362,7 @@ pub mod group { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4432,7 +4432,7 @@ pub mod group { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4507,7 +4507,7 @@ pub mod group { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4531,7 +4531,7 @@ pub mod group { } } pub mod group_user { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4594,7 +4594,7 @@ pub mod group_user { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4674,7 +4674,7 @@ pub mod group_user { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(UserContract), @@ -4749,7 +4749,7 @@ pub mod group_user { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4827,7 +4827,7 @@ pub mod group_user { } } pub mod check_entity_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -4853,7 +4853,7 @@ pub mod group_user { } } pub mod identity_provider { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4905,7 +4905,7 @@ pub mod identity_provider { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4977,7 +4977,7 @@ pub mod identity_provider { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5064,7 +5064,7 @@ pub mod identity_provider { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(IdentityProviderContract), @@ -5140,7 +5140,7 @@ pub mod identity_provider { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5210,7 +5210,7 @@ pub mod identity_provider { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5285,7 +5285,7 @@ pub mod identity_provider { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5309,7 +5309,7 @@ pub mod identity_provider { } } pub mod issue { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5373,7 +5373,7 @@ pub mod issue { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5445,7 +5445,7 @@ pub mod issue { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5469,7 +5469,7 @@ pub mod issue { } } pub mod logger { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5533,7 +5533,7 @@ pub mod logger { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5605,7 +5605,7 @@ pub mod logger { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5692,7 +5692,7 @@ pub mod logger { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoggerContract), @@ -5768,7 +5768,7 @@ pub mod logger { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5842,7 +5842,7 @@ pub mod logger { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5917,7 +5917,7 @@ pub mod logger { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5941,7 +5941,7 @@ pub mod logger { } } pub mod notification { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6001,7 +6001,7 @@ pub mod notification { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6073,7 +6073,7 @@ pub mod notification { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6152,7 +6152,7 @@ pub mod notification { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6176,7 +6176,7 @@ pub mod notification { } } pub mod notification_recipient_user { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_notification( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6230,7 +6230,7 @@ pub mod notification_recipient_user { } } pub mod list_by_notification { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6313,7 +6313,7 @@ pub mod notification_recipient_user { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(RecipientUserContract), @@ -6388,7 +6388,7 @@ pub mod notification_recipient_user { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6465,7 +6465,7 @@ pub mod notification_recipient_user { } } pub mod check_entity_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6489,7 +6489,7 @@ pub mod notification_recipient_user { } } pub mod notification_recipient_email { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_notification( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6543,7 +6543,7 @@ pub mod notification_recipient_email { } } pub mod list_by_notification { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6626,7 +6626,7 @@ pub mod notification_recipient_email { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(RecipientEmailContract), @@ -6701,7 +6701,7 @@ pub mod notification_recipient_email { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6778,7 +6778,7 @@ pub mod notification_recipient_email { } } pub mod check_entity_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6802,7 +6802,7 @@ pub mod notification_recipient_email { } } pub mod network_status { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6854,7 +6854,7 @@ pub mod network_status { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6929,7 +6929,7 @@ pub mod network_status { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6953,7 +6953,7 @@ pub mod network_status { } } pub mod open_id_connect_provider { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7017,7 +7017,7 @@ pub mod open_id_connect_provider { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7089,7 +7089,7 @@ pub mod open_id_connect_provider { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7176,7 +7176,7 @@ pub mod open_id_connect_provider { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(OpenidConnectProviderContract), @@ -7252,7 +7252,7 @@ pub mod open_id_connect_provider { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7322,7 +7322,7 @@ pub mod open_id_connect_provider { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7397,7 +7397,7 @@ pub mod open_id_connect_provider { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7421,7 +7421,7 @@ pub mod open_id_connect_provider { } } pub mod policy { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7473,7 +7473,7 @@ pub mod policy { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7545,7 +7545,7 @@ pub mod policy { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7632,7 +7632,7 @@ pub mod policy { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PolicyContract), @@ -7707,7 +7707,7 @@ pub mod policy { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7782,7 +7782,7 @@ pub mod policy { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7806,7 +7806,7 @@ pub mod policy { } } pub mod policy_snippets { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7862,7 +7862,7 @@ pub mod policy_snippets { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7886,7 +7886,7 @@ pub mod policy_snippets { } } pub mod sign_in_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7935,7 +7935,7 @@ pub mod sign_in_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8014,7 +8014,7 @@ pub mod sign_in_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8083,7 +8083,7 @@ pub mod sign_in_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8151,7 +8151,7 @@ pub mod sign_in_settings { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8175,7 +8175,7 @@ pub mod sign_in_settings { } } pub mod sign_up_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8224,7 +8224,7 @@ pub mod sign_up_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8303,7 +8303,7 @@ pub mod sign_up_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8372,7 +8372,7 @@ pub mod sign_up_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8440,7 +8440,7 @@ pub mod sign_up_settings { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8464,7 +8464,7 @@ pub mod sign_up_settings { } } pub mod delegation_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8513,7 +8513,7 @@ pub mod delegation_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8592,7 +8592,7 @@ pub mod delegation_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8661,7 +8661,7 @@ pub mod delegation_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8729,7 +8729,7 @@ pub mod delegation_settings { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8753,7 +8753,7 @@ pub mod delegation_settings { } } pub mod product { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8826,7 +8826,7 @@ pub mod product { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8898,7 +8898,7 @@ pub mod product { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8985,7 +8985,7 @@ pub mod product { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ProductContract), @@ -9061,7 +9061,7 @@ pub mod product { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9136,7 +9136,7 @@ pub mod product { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9211,7 +9211,7 @@ pub mod product { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9301,7 +9301,7 @@ pub mod product { } } pub mod list_by_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9325,7 +9325,7 @@ pub mod product { } } pub mod product_api { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_product( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9391,7 +9391,7 @@ pub mod product_api { } } pub mod list_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9474,7 +9474,7 @@ pub mod product_api { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApiContract), @@ -9549,7 +9549,7 @@ pub mod product_api { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9626,7 +9626,7 @@ pub mod product_api { } } pub mod check_entity_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9650,7 +9650,7 @@ pub mod product_api { } } pub mod product_group { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_product( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9716,7 +9716,7 @@ pub mod product_group { } } pub mod list_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9799,7 +9799,7 @@ pub mod product_group { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GroupContract), @@ -9874,7 +9874,7 @@ pub mod product_group { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9951,7 +9951,7 @@ pub mod product_group { } } pub mod check_entity_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9975,7 +9975,7 @@ pub mod product_group { } } pub mod product_subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10038,7 +10038,7 @@ pub mod product_subscriptions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10062,7 +10062,7 @@ pub mod product_subscriptions { } } pub mod product_policy { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_product( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10116,7 +10116,7 @@ pub mod product_policy { } } pub mod list_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10190,7 +10190,7 @@ pub mod product_policy { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10279,7 +10279,7 @@ pub mod product_policy { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PolicyContract), @@ -10356,7 +10356,7 @@ pub mod product_policy { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10433,7 +10433,7 @@ pub mod product_policy { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10457,7 +10457,7 @@ pub mod product_policy { } } pub mod tag { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_product( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10523,7 +10523,7 @@ pub mod tag { } } pub mod list_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10600,7 +10600,7 @@ pub mod tag { } } pub mod get_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10683,7 +10683,7 @@ pub mod tag { } } pub mod assign_to_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(TagContract), @@ -10761,7 +10761,7 @@ pub mod tag { } } pub mod detach_from_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10840,7 +10840,7 @@ pub mod tag { } } pub mod get_entity_state_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10929,7 +10929,7 @@ pub mod tag { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11001,7 +11001,7 @@ pub mod tag { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11088,7 +11088,7 @@ pub mod tag { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(TagContract), @@ -11164,7 +11164,7 @@ pub mod tag { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11234,7 +11234,7 @@ pub mod tag { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11309,7 +11309,7 @@ pub mod tag { } } pub mod get_entity_state { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11333,7 +11333,7 @@ pub mod tag { } } pub mod property { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11397,7 +11397,7 @@ pub mod property { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11469,7 +11469,7 @@ pub mod property { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11556,7 +11556,7 @@ pub mod property { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PropertyContract), @@ -11632,7 +11632,7 @@ pub mod property { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11702,7 +11702,7 @@ pub mod property { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11777,7 +11777,7 @@ pub mod property { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11801,7 +11801,7 @@ pub mod property { } } pub mod quota_by_counter_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11855,7 +11855,7 @@ pub mod quota_by_counter_keys { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11924,7 +11924,7 @@ pub mod quota_by_counter_keys { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11948,7 +11948,7 @@ pub mod quota_by_counter_keys { } } pub mod quota_by_period_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12001,7 +12001,7 @@ pub mod quota_by_period_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12072,7 +12072,7 @@ pub mod quota_by_period_keys { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12096,7 +12096,7 @@ pub mod quota_by_period_keys { } } pub mod region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12148,7 +12148,7 @@ pub mod region { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12172,7 +12172,7 @@ pub mod region { } } pub mod reports { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_api( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12232,7 +12232,7 @@ pub mod reports { } } pub mod list_by_api { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12310,7 +12310,7 @@ pub mod reports { } } pub mod list_by_user { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12388,7 +12388,7 @@ pub mod reports { } } pub mod list_by_operation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12466,7 +12466,7 @@ pub mod reports { } } pub mod list_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12546,7 +12546,7 @@ pub mod reports { } } pub mod list_by_geo { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12626,7 +12626,7 @@ pub mod reports { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12708,7 +12708,7 @@ pub mod reports { } } pub mod list_by_time { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12786,7 +12786,7 @@ pub mod reports { } } pub mod list_by_request { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12807,7 +12807,7 @@ pub mod reports { } } pub mod subscription { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12868,7 +12868,7 @@ pub mod subscription { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12940,7 +12940,7 @@ pub mod subscription { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13031,7 +13031,7 @@ pub mod subscription { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(SubscriptionContract), @@ -13111,7 +13111,7 @@ pub mod subscription { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13181,7 +13181,7 @@ pub mod subscription { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13256,7 +13256,7 @@ pub mod subscription { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13329,7 +13329,7 @@ pub mod subscription { } } pub mod regenerate_primary_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13402,7 +13402,7 @@ pub mod subscription { } } pub mod regenerate_secondary_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13426,7 +13426,7 @@ pub mod subscription { } } pub mod tag_resource { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13490,7 +13490,7 @@ pub mod tag_resource { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13514,7 +13514,7 @@ pub mod tag_resource { } } pub mod tenant_access { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13565,7 +13565,7 @@ pub mod tenant_access { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13636,7 +13636,7 @@ pub mod tenant_access { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13706,7 +13706,7 @@ pub mod tenant_access { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13779,7 +13779,7 @@ pub mod tenant_access { } } pub mod regenerate_primary_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13852,7 +13852,7 @@ pub mod tenant_access { } } pub mod regenerate_secondary_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13876,7 +13876,7 @@ pub mod tenant_access { } } pub mod tenant_access_git { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13927,7 +13927,7 @@ pub mod tenant_access_git { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14000,7 +14000,7 @@ pub mod tenant_access_git { } } pub mod regenerate_primary_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14073,7 +14073,7 @@ pub mod tenant_access_git { } } pub mod regenerate_secondary_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14097,7 +14097,7 @@ pub mod tenant_access_git { } } pub mod tenant_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn deploy( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14151,7 +14151,7 @@ pub mod tenant_configuration { } } pub mod deploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -14231,7 +14231,7 @@ pub mod tenant_configuration { } } pub mod save { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -14314,7 +14314,7 @@ pub mod tenant_configuration { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -14392,7 +14392,7 @@ pub mod tenant_configuration { } } pub mod get_sync_state { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14413,7 +14413,7 @@ pub mod tenant_configuration { } } pub mod user { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14482,7 +14482,7 @@ pub mod user { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14554,7 +14554,7 @@ pub mod user { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14641,7 +14641,7 @@ pub mod user { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(UserContract), @@ -14717,7 +14717,7 @@ pub mod user { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14796,7 +14796,7 @@ pub mod user { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -14871,7 +14871,7 @@ pub mod user { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14947,7 +14947,7 @@ pub mod user { } } pub mod generate_sso_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15026,7 +15026,7 @@ pub mod user { } } pub mod get_shared_access_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15050,7 +15050,7 @@ pub mod user { } } pub mod user_group { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15113,7 +15113,7 @@ pub mod user_group { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15137,7 +15137,7 @@ pub mod user_group { } } pub mod user_subscription { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15200,7 +15200,7 @@ pub mod user_subscription { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15224,7 +15224,7 @@ pub mod user_subscription { } } pub mod user_identities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15275,7 +15275,7 @@ pub mod user_identities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15299,7 +15299,7 @@ pub mod user_identities { } } pub mod user_confirmation_password { - use crate::models::*; + use super::{models, models::*}; pub async fn send( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15346,7 +15346,7 @@ pub mod user_confirmation_password { } } pub mod send { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15370,7 +15370,7 @@ pub mod user_confirmation_password { } } pub mod api_version_set { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15434,7 +15434,7 @@ pub mod api_version_set { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15506,7 +15506,7 @@ pub mod api_version_set { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15593,7 +15593,7 @@ pub mod api_version_set { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApiVersionSetContract), @@ -15669,7 +15669,7 @@ pub mod api_version_set { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15739,7 +15739,7 @@ pub mod api_version_set { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -15814,7 +15814,7 @@ pub mod api_version_set { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/apimanagement/src/package_2019_01/operations.rs b/services/mgmt/apimanagement/src/package_2019_01/operations.rs index abd3ada9da..5312278647 100644 --- a/services/mgmt/apimanagement/src/package_2019_01/operations.rs +++ b/services/mgmt/apimanagement/src/package_2019_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod api_export { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -59,7 +59,7 @@ pub mod api_export { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -83,7 +83,7 @@ pub mod api_export { } } pub mod api { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_tags( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -152,7 +152,7 @@ pub mod api { } } pub mod list_by_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -176,7 +176,7 @@ pub mod api { } } pub mod api_version_set { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -240,7 +240,7 @@ pub mod api_version_set { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -312,7 +312,7 @@ pub mod api_version_set { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -399,7 +399,7 @@ pub mod api_version_set { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApiVersionSetContract), @@ -475,7 +475,7 @@ pub mod api_version_set { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -545,7 +545,7 @@ pub mod api_version_set { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -620,7 +620,7 @@ pub mod api_version_set { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -644,7 +644,7 @@ pub mod api_version_set { } } pub mod authorization_server { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -708,7 +708,7 @@ pub mod authorization_server { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -780,7 +780,7 @@ pub mod authorization_server { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -867,7 +867,7 @@ pub mod authorization_server { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(AuthorizationServerContract), @@ -943,7 +943,7 @@ pub mod authorization_server { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1013,7 +1013,7 @@ pub mod authorization_server { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1088,7 +1088,7 @@ pub mod authorization_server { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1112,7 +1112,7 @@ pub mod authorization_server { } } pub mod backend { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1176,7 +1176,7 @@ pub mod backend { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1248,7 +1248,7 @@ pub mod backend { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1335,7 +1335,7 @@ pub mod backend { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(BackendContract), @@ -1411,7 +1411,7 @@ pub mod backend { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1481,7 +1481,7 @@ pub mod backend { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1556,7 +1556,7 @@ pub mod backend { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1632,7 +1632,7 @@ pub mod backend { } } pub mod reconnect { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1656,7 +1656,7 @@ pub mod backend { } } pub mod cache { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1716,7 +1716,7 @@ pub mod cache { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1788,7 +1788,7 @@ pub mod cache { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1875,7 +1875,7 @@ pub mod cache { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CacheContract), @@ -1951,7 +1951,7 @@ pub mod cache { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2021,7 +2021,7 @@ pub mod cache { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2096,7 +2096,7 @@ pub mod cache { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2120,7 +2120,7 @@ pub mod cache { } } pub mod certificate { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2184,7 +2184,7 @@ pub mod certificate { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2256,7 +2256,7 @@ pub mod certificate { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2343,7 +2343,7 @@ pub mod certificate { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CertificateContract), @@ -2418,7 +2418,7 @@ pub mod certificate { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2493,7 +2493,7 @@ pub mod certificate { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2517,7 +2517,7 @@ pub mod certificate { } } pub mod api_management_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ApiManagement/operations", operation_config.base_path(),); @@ -2553,7 +2553,7 @@ pub mod api_management_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2574,7 +2574,7 @@ pub mod api_management_operations { } } pub mod api_management_service_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list_available_service_skus( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2626,7 +2626,7 @@ pub mod api_management_service_skus { } } pub mod list_available_service_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2647,7 +2647,7 @@ pub mod api_management_service_skus { } } pub mod api_management_service { - use crate::models::*; + use super::{models, models::*}; pub async fn restore( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2700,7 +2700,7 @@ pub mod api_management_service { } } pub mod restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApiManagementServiceResource), @@ -2773,7 +2773,7 @@ pub mod api_management_service { } } pub mod backup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApiManagementServiceResource), @@ -2843,7 +2843,7 @@ pub mod api_management_service { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2920,7 +2920,7 @@ pub mod api_management_service { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApiManagementServiceResource), @@ -2994,7 +2994,7 @@ pub mod api_management_service { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApiManagementServiceResource), @@ -3066,7 +3066,7 @@ pub mod api_management_service { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3140,7 +3140,7 @@ pub mod api_management_service { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3201,7 +3201,7 @@ pub mod api_management_service { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3270,7 +3270,7 @@ pub mod api_management_service { } } pub mod get_sso_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3338,7 +3338,7 @@ pub mod api_management_service { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3415,7 +3415,7 @@ pub mod api_management_service { } } pub mod apply_network_configuration_updates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3441,7 +3441,7 @@ pub mod api_management_service { } } pub mod diagnostic { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3505,7 +3505,7 @@ pub mod diagnostic { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3577,7 +3577,7 @@ pub mod diagnostic { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3664,7 +3664,7 @@ pub mod diagnostic { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DiagnosticContract), @@ -3740,7 +3740,7 @@ pub mod diagnostic { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3810,7 +3810,7 @@ pub mod diagnostic { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3885,7 +3885,7 @@ pub mod diagnostic { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3909,7 +3909,7 @@ pub mod diagnostic { } } pub mod email_template { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3973,7 +3973,7 @@ pub mod email_template { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4045,7 +4045,7 @@ pub mod email_template { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4132,7 +4132,7 @@ pub mod email_template { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(EmailTemplateContract), @@ -4208,7 +4208,7 @@ pub mod email_template { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4278,7 +4278,7 @@ pub mod email_template { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4353,7 +4353,7 @@ pub mod email_template { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4377,7 +4377,7 @@ pub mod email_template { } } pub mod group { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4441,7 +4441,7 @@ pub mod group { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4513,7 +4513,7 @@ pub mod group { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4600,7 +4600,7 @@ pub mod group { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GroupContract), @@ -4676,7 +4676,7 @@ pub mod group { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4746,7 +4746,7 @@ pub mod group { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4821,7 +4821,7 @@ pub mod group { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4845,7 +4845,7 @@ pub mod group { } } pub mod group_user { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4908,7 +4908,7 @@ pub mod group_user { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4988,7 +4988,7 @@ pub mod group_user { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(UserContract), @@ -5063,7 +5063,7 @@ pub mod group_user { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5141,7 +5141,7 @@ pub mod group_user { } } pub mod check_entity_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -5167,7 +5167,7 @@ pub mod group_user { } } pub mod identity_provider { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5219,7 +5219,7 @@ pub mod identity_provider { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5291,7 +5291,7 @@ pub mod identity_provider { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5378,7 +5378,7 @@ pub mod identity_provider { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(IdentityProviderContract), @@ -5454,7 +5454,7 @@ pub mod identity_provider { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5524,7 +5524,7 @@ pub mod identity_provider { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5599,7 +5599,7 @@ pub mod identity_provider { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5623,7 +5623,7 @@ pub mod identity_provider { } } pub mod issue { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5687,7 +5687,7 @@ pub mod issue { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5759,7 +5759,7 @@ pub mod issue { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5783,7 +5783,7 @@ pub mod issue { } } pub mod logger { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5847,7 +5847,7 @@ pub mod logger { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5919,7 +5919,7 @@ pub mod logger { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6006,7 +6006,7 @@ pub mod logger { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoggerContract), @@ -6082,7 +6082,7 @@ pub mod logger { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6156,7 +6156,7 @@ pub mod logger { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6231,7 +6231,7 @@ pub mod logger { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6255,7 +6255,7 @@ pub mod logger { } } pub mod network_status { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6307,7 +6307,7 @@ pub mod network_status { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6382,7 +6382,7 @@ pub mod network_status { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6406,7 +6406,7 @@ pub mod network_status { } } pub mod notification { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6466,7 +6466,7 @@ pub mod notification { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6538,7 +6538,7 @@ pub mod notification { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6617,7 +6617,7 @@ pub mod notification { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6641,7 +6641,7 @@ pub mod notification { } } pub mod notification_recipient_user { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_notification( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6695,7 +6695,7 @@ pub mod notification_recipient_user { } } pub mod list_by_notification { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6778,7 +6778,7 @@ pub mod notification_recipient_user { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(RecipientUserContract), @@ -6853,7 +6853,7 @@ pub mod notification_recipient_user { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6931,7 +6931,7 @@ pub mod notification_recipient_user { } } pub mod check_entity_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -6957,7 +6957,7 @@ pub mod notification_recipient_user { } } pub mod notification_recipient_email { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_notification( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7011,7 +7011,7 @@ pub mod notification_recipient_email { } } pub mod list_by_notification { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7094,7 +7094,7 @@ pub mod notification_recipient_email { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(RecipientEmailContract), @@ -7169,7 +7169,7 @@ pub mod notification_recipient_email { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7247,7 +7247,7 @@ pub mod notification_recipient_email { } } pub mod check_entity_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -7273,7 +7273,7 @@ pub mod notification_recipient_email { } } pub mod open_id_connect_provider { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7337,7 +7337,7 @@ pub mod open_id_connect_provider { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7409,7 +7409,7 @@ pub mod open_id_connect_provider { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7496,7 +7496,7 @@ pub mod open_id_connect_provider { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(OpenidConnectProviderContract), @@ -7572,7 +7572,7 @@ pub mod open_id_connect_provider { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7642,7 +7642,7 @@ pub mod open_id_connect_provider { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7717,7 +7717,7 @@ pub mod open_id_connect_provider { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7741,7 +7741,7 @@ pub mod open_id_connect_provider { } } pub mod policy { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7793,7 +7793,7 @@ pub mod policy { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7869,7 +7869,7 @@ pub mod policy { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7956,7 +7956,7 @@ pub mod policy { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PolicyContract), @@ -8031,7 +8031,7 @@ pub mod policy { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8106,7 +8106,7 @@ pub mod policy { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8130,7 +8130,7 @@ pub mod policy { } } pub mod policy_snippet { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8186,7 +8186,7 @@ pub mod policy_snippet { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8210,7 +8210,7 @@ pub mod policy_snippet { } } pub mod sign_in_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8259,7 +8259,7 @@ pub mod sign_in_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8338,7 +8338,7 @@ pub mod sign_in_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8407,7 +8407,7 @@ pub mod sign_in_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8475,7 +8475,7 @@ pub mod sign_in_settings { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8499,7 +8499,7 @@ pub mod sign_in_settings { } } pub mod sign_up_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8548,7 +8548,7 @@ pub mod sign_up_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8627,7 +8627,7 @@ pub mod sign_up_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8696,7 +8696,7 @@ pub mod sign_up_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8764,7 +8764,7 @@ pub mod sign_up_settings { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8788,7 +8788,7 @@ pub mod sign_up_settings { } } pub mod delegation_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8837,7 +8837,7 @@ pub mod delegation_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8916,7 +8916,7 @@ pub mod delegation_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8985,7 +8985,7 @@ pub mod delegation_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9053,7 +9053,7 @@ pub mod delegation_settings { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9077,7 +9077,7 @@ pub mod delegation_settings { } } pub mod product { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9150,7 +9150,7 @@ pub mod product { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9222,7 +9222,7 @@ pub mod product { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9309,7 +9309,7 @@ pub mod product { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ProductContract), @@ -9385,7 +9385,7 @@ pub mod product { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9460,7 +9460,7 @@ pub mod product { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9535,7 +9535,7 @@ pub mod product { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9625,7 +9625,7 @@ pub mod product { } } pub mod list_by_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9649,7 +9649,7 @@ pub mod product { } } pub mod product_api { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_product( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9715,7 +9715,7 @@ pub mod product_api { } } pub mod list_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9798,7 +9798,7 @@ pub mod product_api { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApiContract), @@ -9873,7 +9873,7 @@ pub mod product_api { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9950,7 +9950,7 @@ pub mod product_api { } } pub mod check_entity_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9974,7 +9974,7 @@ pub mod product_api { } } pub mod product_group { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_product( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10040,7 +10040,7 @@ pub mod product_group { } } pub mod list_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10123,7 +10123,7 @@ pub mod product_group { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GroupContract), @@ -10198,7 +10198,7 @@ pub mod product_group { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10275,7 +10275,7 @@ pub mod product_group { } } pub mod check_entity_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10299,7 +10299,7 @@ pub mod product_group { } } pub mod product_subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10362,7 +10362,7 @@ pub mod product_subscriptions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10386,7 +10386,7 @@ pub mod product_subscriptions { } } pub mod product_policy { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_product( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10440,7 +10440,7 @@ pub mod product_policy { } } pub mod list_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10518,7 +10518,7 @@ pub mod product_policy { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10607,7 +10607,7 @@ pub mod product_policy { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PolicyContract), @@ -10684,7 +10684,7 @@ pub mod product_policy { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10761,7 +10761,7 @@ pub mod product_policy { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10785,7 +10785,7 @@ pub mod product_policy { } } pub mod tag { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_product( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10851,7 +10851,7 @@ pub mod tag { } } pub mod list_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10928,7 +10928,7 @@ pub mod tag { } } pub mod get_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11011,7 +11011,7 @@ pub mod tag { } } pub mod assign_to_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(TagContract), @@ -11089,7 +11089,7 @@ pub mod tag { } } pub mod detach_from_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11168,7 +11168,7 @@ pub mod tag { } } pub mod get_entity_state_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11257,7 +11257,7 @@ pub mod tag { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11329,7 +11329,7 @@ pub mod tag { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11416,7 +11416,7 @@ pub mod tag { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(TagContract), @@ -11492,7 +11492,7 @@ pub mod tag { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11562,7 +11562,7 @@ pub mod tag { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11637,7 +11637,7 @@ pub mod tag { } } pub mod get_entity_state { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11661,7 +11661,7 @@ pub mod tag { } } pub mod property { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11725,7 +11725,7 @@ pub mod property { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11797,7 +11797,7 @@ pub mod property { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11884,7 +11884,7 @@ pub mod property { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PropertyContract), @@ -11960,7 +11960,7 @@ pub mod property { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12030,7 +12030,7 @@ pub mod property { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12105,7 +12105,7 @@ pub mod property { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12129,7 +12129,7 @@ pub mod property { } } pub mod quota_by_counter_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12183,7 +12183,7 @@ pub mod quota_by_counter_keys { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12252,7 +12252,7 @@ pub mod quota_by_counter_keys { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12276,7 +12276,7 @@ pub mod quota_by_counter_keys { } } pub mod quota_by_period_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12329,7 +12329,7 @@ pub mod quota_by_period_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12400,7 +12400,7 @@ pub mod quota_by_period_keys { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12424,7 +12424,7 @@ pub mod quota_by_period_keys { } } pub mod region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12476,7 +12476,7 @@ pub mod region { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12500,7 +12500,7 @@ pub mod region { } } pub mod reports { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_api( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12564,7 +12564,7 @@ pub mod reports { } } pub mod list_by_api { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12646,7 +12646,7 @@ pub mod reports { } } pub mod list_by_user { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12728,7 +12728,7 @@ pub mod reports { } } pub mod list_by_operation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12810,7 +12810,7 @@ pub mod reports { } } pub mod list_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12888,7 +12888,7 @@ pub mod reports { } } pub mod list_by_geo { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12970,7 +12970,7 @@ pub mod reports { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13054,7 +13054,7 @@ pub mod reports { } } pub mod list_by_time { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13132,7 +13132,7 @@ pub mod reports { } } pub mod list_by_request { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13153,7 +13153,7 @@ pub mod reports { } } pub mod subscription { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13214,7 +13214,7 @@ pub mod subscription { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13286,7 +13286,7 @@ pub mod subscription { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13381,7 +13381,7 @@ pub mod subscription { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(SubscriptionContract), @@ -13465,7 +13465,7 @@ pub mod subscription { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13535,7 +13535,7 @@ pub mod subscription { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13610,7 +13610,7 @@ pub mod subscription { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13683,7 +13683,7 @@ pub mod subscription { } } pub mod regenerate_primary_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13756,7 +13756,7 @@ pub mod subscription { } } pub mod regenerate_secondary_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13780,7 +13780,7 @@ pub mod subscription { } } pub mod tag_resource { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13844,7 +13844,7 @@ pub mod tag_resource { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13868,7 +13868,7 @@ pub mod tag_resource { } } pub mod tenant_access { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13919,7 +13919,7 @@ pub mod tenant_access { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13990,7 +13990,7 @@ pub mod tenant_access { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14060,7 +14060,7 @@ pub mod tenant_access { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14133,7 +14133,7 @@ pub mod tenant_access { } } pub mod regenerate_primary_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14206,7 +14206,7 @@ pub mod tenant_access { } } pub mod regenerate_secondary_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14230,7 +14230,7 @@ pub mod tenant_access { } } pub mod tenant_access_git { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14281,7 +14281,7 @@ pub mod tenant_access_git { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14354,7 +14354,7 @@ pub mod tenant_access_git { } } pub mod regenerate_primary_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14427,7 +14427,7 @@ pub mod tenant_access_git { } } pub mod regenerate_secondary_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14451,7 +14451,7 @@ pub mod tenant_access_git { } } pub mod tenant_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn deploy( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14505,7 +14505,7 @@ pub mod tenant_configuration { } } pub mod deploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -14585,7 +14585,7 @@ pub mod tenant_configuration { } } pub mod save { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -14668,7 +14668,7 @@ pub mod tenant_configuration { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -14746,7 +14746,7 @@ pub mod tenant_configuration { } } pub mod get_sync_state { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14767,7 +14767,7 @@ pub mod tenant_configuration { } } pub mod user { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14836,7 +14836,7 @@ pub mod user { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14908,7 +14908,7 @@ pub mod user { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14999,7 +14999,7 @@ pub mod user { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(UserContract), @@ -15075,7 +15075,7 @@ pub mod user { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15158,7 +15158,7 @@ pub mod user { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -15233,7 +15233,7 @@ pub mod user { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15309,7 +15309,7 @@ pub mod user { } } pub mod generate_sso_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15388,7 +15388,7 @@ pub mod user { } } pub mod get_shared_access_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15412,7 +15412,7 @@ pub mod user { } } pub mod user_group { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15475,7 +15475,7 @@ pub mod user_group { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15499,7 +15499,7 @@ pub mod user_group { } } pub mod user_subscription { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15562,7 +15562,7 @@ pub mod user_subscription { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15586,7 +15586,7 @@ pub mod user_subscription { } } pub mod user_identities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15637,7 +15637,7 @@ pub mod user_identities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15661,7 +15661,7 @@ pub mod user_identities { } } pub mod user_confirmation_password { - use crate::models::*; + use super::{models, models::*}; pub async fn send( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15712,7 +15712,7 @@ pub mod user_confirmation_password { } } pub mod send { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/apimanagement/src/package_2019_12/operations.rs b/services/mgmt/apimanagement/src/package_2019_12/operations.rs index ccafc7e3d8..0d920967de 100644 --- a/services/mgmt/apimanagement/src/package_2019_12/operations.rs +++ b/services/mgmt/apimanagement/src/package_2019_12/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod api_export { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -59,7 +59,7 @@ pub mod api_export { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -83,7 +83,7 @@ pub mod api_export { } } pub mod api { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_tags( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -152,7 +152,7 @@ pub mod api { } } pub mod list_by_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -176,7 +176,7 @@ pub mod api { } } pub mod api_version_set { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -240,7 +240,7 @@ pub mod api_version_set { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -312,7 +312,7 @@ pub mod api_version_set { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -399,7 +399,7 @@ pub mod api_version_set { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApiVersionSetContract), @@ -475,7 +475,7 @@ pub mod api_version_set { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -545,7 +545,7 @@ pub mod api_version_set { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -620,7 +620,7 @@ pub mod api_version_set { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -644,7 +644,7 @@ pub mod api_version_set { } } pub mod authorization_server { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -708,7 +708,7 @@ pub mod authorization_server { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -780,7 +780,7 @@ pub mod authorization_server { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -867,7 +867,7 @@ pub mod authorization_server { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(AuthorizationServerContract), @@ -943,7 +943,7 @@ pub mod authorization_server { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1013,7 +1013,7 @@ pub mod authorization_server { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1088,7 +1088,7 @@ pub mod authorization_server { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1164,7 +1164,7 @@ pub mod authorization_server { } } pub mod list_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1188,7 +1188,7 @@ pub mod authorization_server { } } pub mod backend { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1252,7 +1252,7 @@ pub mod backend { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1324,7 +1324,7 @@ pub mod backend { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1411,7 +1411,7 @@ pub mod backend { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(BackendContract), @@ -1487,7 +1487,7 @@ pub mod backend { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1557,7 +1557,7 @@ pub mod backend { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1632,7 +1632,7 @@ pub mod backend { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1708,7 +1708,7 @@ pub mod backend { } } pub mod reconnect { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1732,7 +1732,7 @@ pub mod backend { } } pub mod cache { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1792,7 +1792,7 @@ pub mod cache { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1864,7 +1864,7 @@ pub mod cache { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1951,7 +1951,7 @@ pub mod cache { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CacheContract), @@ -2027,7 +2027,7 @@ pub mod cache { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2097,7 +2097,7 @@ pub mod cache { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2172,7 +2172,7 @@ pub mod cache { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2196,7 +2196,7 @@ pub mod cache { } } pub mod certificate { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2260,7 +2260,7 @@ pub mod certificate { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2332,7 +2332,7 @@ pub mod certificate { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2419,7 +2419,7 @@ pub mod certificate { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CertificateContract), @@ -2494,7 +2494,7 @@ pub mod certificate { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2569,7 +2569,7 @@ pub mod certificate { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2593,7 +2593,7 @@ pub mod certificate { } } pub mod content_type { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2645,7 +2645,7 @@ pub mod content_type { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2726,7 +2726,7 @@ pub mod content_type { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ContentTypeContract), @@ -2798,7 +2798,7 @@ pub mod content_type { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2868,7 +2868,7 @@ pub mod content_type { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2892,7 +2892,7 @@ pub mod content_type { } } pub mod content_types { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2943,7 +2943,7 @@ pub mod content_types { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2967,7 +2967,7 @@ pub mod content_types { } } pub mod content_item { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3021,7 +3021,7 @@ pub mod content_item { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3095,7 +3095,7 @@ pub mod content_item { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3178,7 +3178,7 @@ pub mod content_item { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ContentItemContract), @@ -3252,7 +3252,7 @@ pub mod content_item { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3324,7 +3324,7 @@ pub mod content_item { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3348,7 +3348,7 @@ pub mod content_item { } } pub mod api_management_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ApiManagement/operations", operation_config.base_path(),); @@ -3384,7 +3384,7 @@ pub mod api_management_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3405,7 +3405,7 @@ pub mod api_management_operations { } } pub mod api_management_service_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list_available_service_skus( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3459,7 +3459,7 @@ pub mod api_management_service_skus { } } pub mod list_available_service_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3483,7 +3483,7 @@ pub mod api_management_service_skus { } } pub mod api_management_service { - use crate::models::*; + use super::{models, models::*}; pub async fn restore( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3538,7 +3538,7 @@ pub mod api_management_service { } } pub mod restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApiManagementServiceResource), @@ -3616,7 +3616,7 @@ pub mod api_management_service { } } pub mod backup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApiManagementServiceResource), @@ -3691,7 +3691,7 @@ pub mod api_management_service { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3773,7 +3773,7 @@ pub mod api_management_service { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApiManagementServiceResource), @@ -3852,7 +3852,7 @@ pub mod api_management_service { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApiManagementServiceResource), @@ -3929,7 +3929,7 @@ pub mod api_management_service { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4008,7 +4008,7 @@ pub mod api_management_service { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4072,7 +4072,7 @@ pub mod api_management_service { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4143,7 +4143,7 @@ pub mod api_management_service { } } pub mod get_sso_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4216,7 +4216,7 @@ pub mod api_management_service { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4298,7 +4298,7 @@ pub mod api_management_service { } } pub mod apply_network_configuration_updates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4327,7 +4327,7 @@ pub mod api_management_service { } } pub mod diagnostic { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4391,7 +4391,7 @@ pub mod diagnostic { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4463,7 +4463,7 @@ pub mod diagnostic { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4550,7 +4550,7 @@ pub mod diagnostic { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DiagnosticContract), @@ -4626,7 +4626,7 @@ pub mod diagnostic { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4696,7 +4696,7 @@ pub mod diagnostic { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4771,7 +4771,7 @@ pub mod diagnostic { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4795,7 +4795,7 @@ pub mod diagnostic { } } pub mod email_template { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4859,7 +4859,7 @@ pub mod email_template { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4931,7 +4931,7 @@ pub mod email_template { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5018,7 +5018,7 @@ pub mod email_template { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(EmailTemplateContract), @@ -5094,7 +5094,7 @@ pub mod email_template { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5164,7 +5164,7 @@ pub mod email_template { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5239,7 +5239,7 @@ pub mod email_template { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5263,7 +5263,7 @@ pub mod email_template { } } pub mod gateway { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5323,7 +5323,7 @@ pub mod gateway { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5395,7 +5395,7 @@ pub mod gateway { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5482,7 +5482,7 @@ pub mod gateway { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GatewayContract), @@ -5558,7 +5558,7 @@ pub mod gateway { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5628,7 +5628,7 @@ pub mod gateway { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5703,7 +5703,7 @@ pub mod gateway { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5779,7 +5779,7 @@ pub mod gateway { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5851,7 +5851,7 @@ pub mod gateway { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5928,7 +5928,7 @@ pub mod gateway { } } pub mod generate_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5952,7 +5952,7 @@ pub mod gateway { } } pub mod gateway_hostname_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6014,7 +6014,7 @@ pub mod gateway_hostname_configuration { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6088,7 +6088,7 @@ pub mod gateway_hostname_configuration { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6173,7 +6173,7 @@ pub mod gateway_hostname_configuration { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GatewayHostnameConfigurationContract), @@ -6248,7 +6248,7 @@ pub mod gateway_hostname_configuration { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6325,7 +6325,7 @@ pub mod gateway_hostname_configuration { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6349,7 +6349,7 @@ pub mod gateway_hostname_configuration { } } pub mod gateway_api { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6411,7 +6411,7 @@ pub mod gateway_api { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6500,7 +6500,7 @@ pub mod gateway_api { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApiContract), @@ -6575,7 +6575,7 @@ pub mod gateway_api { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6652,7 +6652,7 @@ pub mod gateway_api { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6676,7 +6676,7 @@ pub mod gateway_api { } } pub mod group { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6740,7 +6740,7 @@ pub mod group { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6812,7 +6812,7 @@ pub mod group { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6899,7 +6899,7 @@ pub mod group { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GroupContract), @@ -6975,7 +6975,7 @@ pub mod group { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7045,7 +7045,7 @@ pub mod group { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7120,7 +7120,7 @@ pub mod group { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7144,7 +7144,7 @@ pub mod group { } } pub mod group_user { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7207,7 +7207,7 @@ pub mod group_user { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7287,7 +7287,7 @@ pub mod group_user { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(UserContract), @@ -7362,7 +7362,7 @@ pub mod group_user { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7440,7 +7440,7 @@ pub mod group_user { } } pub mod check_entity_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -7466,7 +7466,7 @@ pub mod group_user { } } pub mod identity_provider { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7518,7 +7518,7 @@ pub mod identity_provider { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7590,7 +7590,7 @@ pub mod identity_provider { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7677,7 +7677,7 @@ pub mod identity_provider { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(IdentityProviderContract), @@ -7753,7 +7753,7 @@ pub mod identity_provider { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7823,7 +7823,7 @@ pub mod identity_provider { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7898,7 +7898,7 @@ pub mod identity_provider { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7974,7 +7974,7 @@ pub mod identity_provider { } } pub mod list_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7998,7 +7998,7 @@ pub mod identity_provider { } } pub mod issue { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8062,7 +8062,7 @@ pub mod issue { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8134,7 +8134,7 @@ pub mod issue { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8158,7 +8158,7 @@ pub mod issue { } } pub mod logger { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8222,7 +8222,7 @@ pub mod logger { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8294,7 +8294,7 @@ pub mod logger { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8381,7 +8381,7 @@ pub mod logger { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoggerContract), @@ -8457,7 +8457,7 @@ pub mod logger { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8531,7 +8531,7 @@ pub mod logger { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8606,7 +8606,7 @@ pub mod logger { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8630,7 +8630,7 @@ pub mod logger { } } pub mod named_value { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8694,7 +8694,7 @@ pub mod named_value { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8766,7 +8766,7 @@ pub mod named_value { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8854,7 +8854,7 @@ pub mod named_value { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8938,7 +8938,7 @@ pub mod named_value { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9014,7 +9014,7 @@ pub mod named_value { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9089,7 +9089,7 @@ pub mod named_value { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9165,7 +9165,7 @@ pub mod named_value { } } pub mod list_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9189,7 +9189,7 @@ pub mod named_value { } } pub mod network_status { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9241,7 +9241,7 @@ pub mod network_status { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9316,7 +9316,7 @@ pub mod network_status { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9340,7 +9340,7 @@ pub mod network_status { } } pub mod notification { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9400,7 +9400,7 @@ pub mod notification { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9472,7 +9472,7 @@ pub mod notification { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9551,7 +9551,7 @@ pub mod notification { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9575,7 +9575,7 @@ pub mod notification { } } pub mod notification_recipient_user { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_notification( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9629,7 +9629,7 @@ pub mod notification_recipient_user { } } pub mod list_by_notification { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9712,7 +9712,7 @@ pub mod notification_recipient_user { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(RecipientUserContract), @@ -9787,7 +9787,7 @@ pub mod notification_recipient_user { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9865,7 +9865,7 @@ pub mod notification_recipient_user { } } pub mod check_entity_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -9891,7 +9891,7 @@ pub mod notification_recipient_user { } } pub mod notification_recipient_email { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_notification( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9945,7 +9945,7 @@ pub mod notification_recipient_email { } } pub mod list_by_notification { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10028,7 +10028,7 @@ pub mod notification_recipient_email { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(RecipientEmailContract), @@ -10103,7 +10103,7 @@ pub mod notification_recipient_email { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10181,7 +10181,7 @@ pub mod notification_recipient_email { } } pub mod check_entity_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -10207,7 +10207,7 @@ pub mod notification_recipient_email { } } pub mod open_id_connect_provider { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10271,7 +10271,7 @@ pub mod open_id_connect_provider { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10343,7 +10343,7 @@ pub mod open_id_connect_provider { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10430,7 +10430,7 @@ pub mod open_id_connect_provider { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(OpenidConnectProviderContract), @@ -10506,7 +10506,7 @@ pub mod open_id_connect_provider { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10576,7 +10576,7 @@ pub mod open_id_connect_provider { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10651,7 +10651,7 @@ pub mod open_id_connect_provider { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10727,7 +10727,7 @@ pub mod open_id_connect_provider { } } pub mod list_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10751,7 +10751,7 @@ pub mod open_id_connect_provider { } } pub mod policy { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10803,7 +10803,7 @@ pub mod policy { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10879,7 +10879,7 @@ pub mod policy { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10966,7 +10966,7 @@ pub mod policy { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PolicyContract), @@ -11041,7 +11041,7 @@ pub mod policy { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11116,7 +11116,7 @@ pub mod policy { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11140,7 +11140,7 @@ pub mod policy { } } pub mod policy_description { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11196,7 +11196,7 @@ pub mod policy_description { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11220,7 +11220,7 @@ pub mod policy_description { } } pub mod sign_in_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11269,7 +11269,7 @@ pub mod sign_in_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11348,7 +11348,7 @@ pub mod sign_in_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11417,7 +11417,7 @@ pub mod sign_in_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11485,7 +11485,7 @@ pub mod sign_in_settings { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11509,7 +11509,7 @@ pub mod sign_in_settings { } } pub mod sign_up_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11558,7 +11558,7 @@ pub mod sign_up_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11637,7 +11637,7 @@ pub mod sign_up_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11706,7 +11706,7 @@ pub mod sign_up_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11774,7 +11774,7 @@ pub mod sign_up_settings { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11798,7 +11798,7 @@ pub mod sign_up_settings { } } pub mod delegation_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11847,7 +11847,7 @@ pub mod delegation_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11926,7 +11926,7 @@ pub mod delegation_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11995,7 +11995,7 @@ pub mod delegation_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12063,7 +12063,7 @@ pub mod delegation_settings { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12137,7 +12137,7 @@ pub mod delegation_settings { } } pub mod list_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12161,7 +12161,7 @@ pub mod delegation_settings { } } pub mod product { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12234,7 +12234,7 @@ pub mod product { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12306,7 +12306,7 @@ pub mod product { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12393,7 +12393,7 @@ pub mod product { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ProductContract), @@ -12469,7 +12469,7 @@ pub mod product { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12544,7 +12544,7 @@ pub mod product { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12619,7 +12619,7 @@ pub mod product { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12709,7 +12709,7 @@ pub mod product { } } pub mod list_by_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12733,7 +12733,7 @@ pub mod product { } } pub mod product_api { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_product( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12799,7 +12799,7 @@ pub mod product_api { } } pub mod list_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12882,7 +12882,7 @@ pub mod product_api { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApiContract), @@ -12957,7 +12957,7 @@ pub mod product_api { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13034,7 +13034,7 @@ pub mod product_api { } } pub mod check_entity_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13058,7 +13058,7 @@ pub mod product_api { } } pub mod product_group { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_product( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13124,7 +13124,7 @@ pub mod product_group { } } pub mod list_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13207,7 +13207,7 @@ pub mod product_group { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GroupContract), @@ -13282,7 +13282,7 @@ pub mod product_group { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13359,7 +13359,7 @@ pub mod product_group { } } pub mod check_entity_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13383,7 +13383,7 @@ pub mod product_group { } } pub mod product_subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13446,7 +13446,7 @@ pub mod product_subscriptions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13470,7 +13470,7 @@ pub mod product_subscriptions { } } pub mod product_policy { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_product( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13524,7 +13524,7 @@ pub mod product_policy { } } pub mod list_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13602,7 +13602,7 @@ pub mod product_policy { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13691,7 +13691,7 @@ pub mod product_policy { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PolicyContract), @@ -13768,7 +13768,7 @@ pub mod product_policy { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13845,7 +13845,7 @@ pub mod product_policy { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13869,7 +13869,7 @@ pub mod product_policy { } } pub mod tag { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_product( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13935,7 +13935,7 @@ pub mod tag { } } pub mod list_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14012,7 +14012,7 @@ pub mod tag { } } pub mod get_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14095,7 +14095,7 @@ pub mod tag { } } pub mod assign_to_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(TagContract), @@ -14173,7 +14173,7 @@ pub mod tag { } } pub mod detach_from_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -14252,7 +14252,7 @@ pub mod tag { } } pub mod get_entity_state_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14341,7 +14341,7 @@ pub mod tag { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14413,7 +14413,7 @@ pub mod tag { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14500,7 +14500,7 @@ pub mod tag { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(TagContract), @@ -14576,7 +14576,7 @@ pub mod tag { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14646,7 +14646,7 @@ pub mod tag { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -14721,7 +14721,7 @@ pub mod tag { } } pub mod get_entity_state { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14745,7 +14745,7 @@ pub mod tag { } } pub mod quota_by_counter_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14799,7 +14799,7 @@ pub mod quota_by_counter_keys { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14868,7 +14868,7 @@ pub mod quota_by_counter_keys { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14892,7 +14892,7 @@ pub mod quota_by_counter_keys { } } pub mod quota_by_period_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14945,7 +14945,7 @@ pub mod quota_by_period_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15016,7 +15016,7 @@ pub mod quota_by_period_keys { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15040,7 +15040,7 @@ pub mod quota_by_period_keys { } } pub mod region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15092,7 +15092,7 @@ pub mod region { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15116,7 +15116,7 @@ pub mod region { } } pub mod reports { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_api( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15180,7 +15180,7 @@ pub mod reports { } } pub mod list_by_api { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15262,7 +15262,7 @@ pub mod reports { } } pub mod list_by_user { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15344,7 +15344,7 @@ pub mod reports { } } pub mod list_by_operation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15426,7 +15426,7 @@ pub mod reports { } } pub mod list_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15504,7 +15504,7 @@ pub mod reports { } } pub mod list_by_geo { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15586,7 +15586,7 @@ pub mod reports { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15670,7 +15670,7 @@ pub mod reports { } } pub mod list_by_time { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15748,7 +15748,7 @@ pub mod reports { } } pub mod list_by_request { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15769,7 +15769,7 @@ pub mod reports { } } pub mod subscription { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15830,7 +15830,7 @@ pub mod subscription { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15902,7 +15902,7 @@ pub mod subscription { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15997,7 +15997,7 @@ pub mod subscription { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(SubscriptionContract), @@ -16081,7 +16081,7 @@ pub mod subscription { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16151,7 +16151,7 @@ pub mod subscription { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -16226,7 +16226,7 @@ pub mod subscription { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16299,7 +16299,7 @@ pub mod subscription { } } pub mod regenerate_primary_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16372,7 +16372,7 @@ pub mod subscription { } } pub mod regenerate_secondary_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16448,7 +16448,7 @@ pub mod subscription { } } pub mod list_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16472,7 +16472,7 @@ pub mod subscription { } } pub mod tag_resource { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16536,7 +16536,7 @@ pub mod tag_resource { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16560,7 +16560,7 @@ pub mod tag_resource { } } pub mod tenant_access { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16611,7 +16611,7 @@ pub mod tenant_access { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16682,7 +16682,7 @@ pub mod tenant_access { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16752,7 +16752,7 @@ pub mod tenant_access { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16825,7 +16825,7 @@ pub mod tenant_access { } } pub mod regenerate_primary_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16898,7 +16898,7 @@ pub mod tenant_access { } } pub mod regenerate_secondary_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16974,7 +16974,7 @@ pub mod tenant_access { } } pub mod list_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16998,7 +16998,7 @@ pub mod tenant_access { } } pub mod tenant_access_git { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17049,7 +17049,7 @@ pub mod tenant_access_git { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17122,7 +17122,7 @@ pub mod tenant_access_git { } } pub mod regenerate_primary_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17195,7 +17195,7 @@ pub mod tenant_access_git { } } pub mod regenerate_secondary_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17271,7 +17271,7 @@ pub mod tenant_access_git { } } pub mod list_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17295,7 +17295,7 @@ pub mod tenant_access_git { } } pub mod tenant_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn deploy( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17349,7 +17349,7 @@ pub mod tenant_configuration { } } pub mod deploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -17429,7 +17429,7 @@ pub mod tenant_configuration { } } pub mod save { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -17512,7 +17512,7 @@ pub mod tenant_configuration { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -17590,7 +17590,7 @@ pub mod tenant_configuration { } } pub mod get_sync_state { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -17611,7 +17611,7 @@ pub mod tenant_configuration { } } pub mod user { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17680,7 +17680,7 @@ pub mod user { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17752,7 +17752,7 @@ pub mod user { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17843,7 +17843,7 @@ pub mod user { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(UserContract), @@ -17919,7 +17919,7 @@ pub mod user { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18002,7 +18002,7 @@ pub mod user { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -18077,7 +18077,7 @@ pub mod user { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18153,7 +18153,7 @@ pub mod user { } } pub mod generate_sso_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18232,7 +18232,7 @@ pub mod user { } } pub mod get_shared_access_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18256,7 +18256,7 @@ pub mod user { } } pub mod user_group { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18319,7 +18319,7 @@ pub mod user_group { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18343,7 +18343,7 @@ pub mod user_group { } } pub mod user_subscription { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18406,7 +18406,7 @@ pub mod user_subscription { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18430,7 +18430,7 @@ pub mod user_subscription { } } pub mod user_identities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18481,7 +18481,7 @@ pub mod user_identities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18505,7 +18505,7 @@ pub mod user_identities { } } pub mod user_confirmation_password { - use crate::models::*; + use super::{models, models::*}; pub async fn send( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18556,7 +18556,7 @@ pub mod user_confirmation_password { } } pub mod send { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/apimanagement/src/package_2020_12/operations.rs b/services/mgmt/apimanagement/src/package_2020_12/operations.rs index a0fd3f2a7d..5dfddd8d60 100644 --- a/services/mgmt/apimanagement/src/package_2020_12/operations.rs +++ b/services/mgmt/apimanagement/src/package_2020_12/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod api_export { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -59,7 +59,7 @@ pub mod api_export { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -83,7 +83,7 @@ pub mod api_export { } } pub mod api { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_tags( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -152,7 +152,7 @@ pub mod api { } } pub mod list_by_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -176,7 +176,7 @@ pub mod api { } } pub mod api_version_set { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -240,7 +240,7 @@ pub mod api_version_set { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -312,7 +312,7 @@ pub mod api_version_set { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -399,7 +399,7 @@ pub mod api_version_set { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApiVersionSetContract), @@ -480,7 +480,7 @@ pub mod api_version_set { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -550,7 +550,7 @@ pub mod api_version_set { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -625,7 +625,7 @@ pub mod api_version_set { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -649,7 +649,7 @@ pub mod api_version_set { } } pub mod authorization_server { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -713,7 +713,7 @@ pub mod authorization_server { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -785,7 +785,7 @@ pub mod authorization_server { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -872,7 +872,7 @@ pub mod authorization_server { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(AuthorizationServerContract), @@ -953,7 +953,7 @@ pub mod authorization_server { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1023,7 +1023,7 @@ pub mod authorization_server { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1098,7 +1098,7 @@ pub mod authorization_server { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1174,7 +1174,7 @@ pub mod authorization_server { } } pub mod list_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1198,7 +1198,7 @@ pub mod authorization_server { } } pub mod backend { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1262,7 +1262,7 @@ pub mod backend { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1334,7 +1334,7 @@ pub mod backend { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1421,7 +1421,7 @@ pub mod backend { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(BackendContract), @@ -1502,7 +1502,7 @@ pub mod backend { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1572,7 +1572,7 @@ pub mod backend { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1647,7 +1647,7 @@ pub mod backend { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1723,7 +1723,7 @@ pub mod backend { } } pub mod reconnect { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1747,7 +1747,7 @@ pub mod backend { } } pub mod cache { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1807,7 +1807,7 @@ pub mod cache { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1879,7 +1879,7 @@ pub mod cache { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1966,7 +1966,7 @@ pub mod cache { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CacheContract), @@ -2047,7 +2047,7 @@ pub mod cache { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2117,7 +2117,7 @@ pub mod cache { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2192,7 +2192,7 @@ pub mod cache { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2216,7 +2216,7 @@ pub mod cache { } } pub mod certificate { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2285,7 +2285,7 @@ pub mod certificate { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2357,7 +2357,7 @@ pub mod certificate { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2444,7 +2444,7 @@ pub mod certificate { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CertificateContract), @@ -2519,7 +2519,7 @@ pub mod certificate { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2594,7 +2594,7 @@ pub mod certificate { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2670,7 +2670,7 @@ pub mod certificate { } } pub mod refresh_secret { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2694,7 +2694,7 @@ pub mod certificate { } } pub mod content_type { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2746,7 +2746,7 @@ pub mod content_type { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2818,7 +2818,7 @@ pub mod content_type { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2903,7 +2903,7 @@ pub mod content_type { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ContentTypeContract), @@ -2978,7 +2978,7 @@ pub mod content_type { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3007,7 +3007,7 @@ pub mod content_type { } } pub mod content_item { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3061,7 +3061,7 @@ pub mod content_item { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3135,7 +3135,7 @@ pub mod content_item { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3222,7 +3222,7 @@ pub mod content_item { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ContentItemContract), @@ -3299,7 +3299,7 @@ pub mod content_item { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3376,7 +3376,7 @@ pub mod content_item { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3400,7 +3400,7 @@ pub mod content_item { } } pub mod deleted_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3448,7 +3448,7 @@ pub mod deleted_services { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3521,7 +3521,7 @@ pub mod deleted_services { } } pub mod get_by_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3593,7 +3593,7 @@ pub mod deleted_services { } } pub mod purge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3623,7 +3623,7 @@ pub mod deleted_services { } } pub mod api_management_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ApiManagement/operations", operation_config.base_path(),); @@ -3661,7 +3661,7 @@ pub mod api_management_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3685,7 +3685,7 @@ pub mod api_management_operations { } } pub mod api_management_service_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list_available_service_skus( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3739,7 +3739,7 @@ pub mod api_management_service_skus { } } pub mod list_available_service_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3763,7 +3763,7 @@ pub mod api_management_service_skus { } } pub mod api_management_service { - use crate::models::*; + use super::{models, models::*}; pub async fn restore( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3818,7 +3818,7 @@ pub mod api_management_service { } } pub mod restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApiManagementServiceResource), @@ -3896,7 +3896,7 @@ pub mod api_management_service { } } pub mod backup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApiManagementServiceResource), @@ -3971,7 +3971,7 @@ pub mod api_management_service { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4053,7 +4053,7 @@ pub mod api_management_service { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApiManagementServiceResource), @@ -4132,7 +4132,7 @@ pub mod api_management_service { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApiManagementServiceResource), @@ -4209,7 +4209,7 @@ pub mod api_management_service { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4288,7 +4288,7 @@ pub mod api_management_service { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4354,7 +4354,7 @@ pub mod api_management_service { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4428,7 +4428,7 @@ pub mod api_management_service { } } pub mod get_sso_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4501,7 +4501,7 @@ pub mod api_management_service { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4573,7 +4573,7 @@ pub mod api_management_service { } } pub mod get_domain_ownership_identifier { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4655,7 +4655,7 @@ pub mod api_management_service { } } pub mod apply_network_configuration_updates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4684,7 +4684,7 @@ pub mod api_management_service { } } pub mod diagnostic { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4748,7 +4748,7 @@ pub mod diagnostic { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4820,7 +4820,7 @@ pub mod diagnostic { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4907,7 +4907,7 @@ pub mod diagnostic { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DiagnosticContract), @@ -4988,7 +4988,7 @@ pub mod diagnostic { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5058,7 +5058,7 @@ pub mod diagnostic { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5133,7 +5133,7 @@ pub mod diagnostic { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5157,7 +5157,7 @@ pub mod diagnostic { } } pub mod email_template { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5221,7 +5221,7 @@ pub mod email_template { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5293,7 +5293,7 @@ pub mod email_template { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5380,7 +5380,7 @@ pub mod email_template { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(EmailTemplateContract), @@ -5461,7 +5461,7 @@ pub mod email_template { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5531,7 +5531,7 @@ pub mod email_template { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5606,7 +5606,7 @@ pub mod email_template { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5630,7 +5630,7 @@ pub mod email_template { } } pub mod gateway { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5694,7 +5694,7 @@ pub mod gateway { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5766,7 +5766,7 @@ pub mod gateway { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5853,7 +5853,7 @@ pub mod gateway { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GatewayContract), @@ -5934,7 +5934,7 @@ pub mod gateway { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6004,7 +6004,7 @@ pub mod gateway { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6079,7 +6079,7 @@ pub mod gateway { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6155,7 +6155,7 @@ pub mod gateway { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6227,7 +6227,7 @@ pub mod gateway { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6304,7 +6304,7 @@ pub mod gateway { } } pub mod generate_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6328,7 +6328,7 @@ pub mod gateway { } } pub mod gateway_hostname_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6394,7 +6394,7 @@ pub mod gateway_hostname_configuration { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6468,7 +6468,7 @@ pub mod gateway_hostname_configuration { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6557,7 +6557,7 @@ pub mod gateway_hostname_configuration { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GatewayHostnameConfigurationContract), @@ -6634,7 +6634,7 @@ pub mod gateway_hostname_configuration { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6711,7 +6711,7 @@ pub mod gateway_hostname_configuration { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6735,7 +6735,7 @@ pub mod gateway_hostname_configuration { } } pub mod gateway_api { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6801,7 +6801,7 @@ pub mod gateway_api { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6890,7 +6890,7 @@ pub mod gateway_api { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApiContract), @@ -6965,7 +6965,7 @@ pub mod gateway_api { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7042,7 +7042,7 @@ pub mod gateway_api { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7066,7 +7066,7 @@ pub mod gateway_api { } } pub mod gateway_certificate_authority { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7132,7 +7132,7 @@ pub mod gateway_certificate_authority { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7206,7 +7206,7 @@ pub mod gateway_certificate_authority { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7295,7 +7295,7 @@ pub mod gateway_certificate_authority { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GatewayCertificateAuthorityContract), @@ -7372,7 +7372,7 @@ pub mod gateway_certificate_authority { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7449,7 +7449,7 @@ pub mod gateway_certificate_authority { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7473,7 +7473,7 @@ pub mod gateway_certificate_authority { } } pub mod group { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7537,7 +7537,7 @@ pub mod group { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7609,7 +7609,7 @@ pub mod group { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7696,7 +7696,7 @@ pub mod group { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GroupContract), @@ -7777,7 +7777,7 @@ pub mod group { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7847,7 +7847,7 @@ pub mod group { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7922,7 +7922,7 @@ pub mod group { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7946,7 +7946,7 @@ pub mod group { } } pub mod group_user { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8009,7 +8009,7 @@ pub mod group_user { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8089,7 +8089,7 @@ pub mod group_user { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(UserContract), @@ -8164,7 +8164,7 @@ pub mod group_user { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8242,7 +8242,7 @@ pub mod group_user { } } pub mod check_entity_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -8268,7 +8268,7 @@ pub mod group_user { } } pub mod identity_provider { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8320,7 +8320,7 @@ pub mod identity_provider { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8392,7 +8392,7 @@ pub mod identity_provider { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8479,7 +8479,7 @@ pub mod identity_provider { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(IdentityProviderContract), @@ -8560,7 +8560,7 @@ pub mod identity_provider { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8630,7 +8630,7 @@ pub mod identity_provider { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8705,7 +8705,7 @@ pub mod identity_provider { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8781,7 +8781,7 @@ pub mod identity_provider { } } pub mod list_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8805,7 +8805,7 @@ pub mod identity_provider { } } pub mod issue { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8869,7 +8869,7 @@ pub mod issue { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8941,7 +8941,7 @@ pub mod issue { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8965,7 +8965,7 @@ pub mod issue { } } pub mod logger { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9029,7 +9029,7 @@ pub mod logger { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9101,7 +9101,7 @@ pub mod logger { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9188,7 +9188,7 @@ pub mod logger { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoggerContract), @@ -9269,7 +9269,7 @@ pub mod logger { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9339,7 +9339,7 @@ pub mod logger { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9414,7 +9414,7 @@ pub mod logger { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9438,7 +9438,7 @@ pub mod logger { } } pub mod named_value { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9507,7 +9507,7 @@ pub mod named_value { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9579,7 +9579,7 @@ pub mod named_value { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9667,7 +9667,7 @@ pub mod named_value { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9750,7 +9750,7 @@ pub mod named_value { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9825,7 +9825,7 @@ pub mod named_value { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9900,7 +9900,7 @@ pub mod named_value { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9976,7 +9976,7 @@ pub mod named_value { } } pub mod list_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10053,7 +10053,7 @@ pub mod named_value { } } pub mod refresh_secret { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -10082,7 +10082,7 @@ pub mod named_value { } } pub mod network_status { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10134,7 +10134,7 @@ pub mod network_status { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10209,7 +10209,7 @@ pub mod network_status { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10233,7 +10233,7 @@ pub mod network_status { } } pub mod notification { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10293,7 +10293,7 @@ pub mod notification { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10365,7 +10365,7 @@ pub mod notification { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10444,7 +10444,7 @@ pub mod notification { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10468,7 +10468,7 @@ pub mod notification { } } pub mod notification_recipient_user { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_notification( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10522,7 +10522,7 @@ pub mod notification_recipient_user { } } pub mod list_by_notification { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10605,7 +10605,7 @@ pub mod notification_recipient_user { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(RecipientUserContract), @@ -10680,7 +10680,7 @@ pub mod notification_recipient_user { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10758,7 +10758,7 @@ pub mod notification_recipient_user { } } pub mod check_entity_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -10784,7 +10784,7 @@ pub mod notification_recipient_user { } } pub mod notification_recipient_email { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_notification( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10838,7 +10838,7 @@ pub mod notification_recipient_email { } } pub mod list_by_notification { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10921,7 +10921,7 @@ pub mod notification_recipient_email { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(RecipientEmailContract), @@ -10996,7 +10996,7 @@ pub mod notification_recipient_email { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11074,7 +11074,7 @@ pub mod notification_recipient_email { } } pub mod check_entity_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -11100,7 +11100,7 @@ pub mod notification_recipient_email { } } pub mod open_id_connect_provider { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11164,7 +11164,7 @@ pub mod open_id_connect_provider { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11236,7 +11236,7 @@ pub mod open_id_connect_provider { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11323,7 +11323,7 @@ pub mod open_id_connect_provider { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(OpenidConnectProviderContract), @@ -11404,7 +11404,7 @@ pub mod open_id_connect_provider { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11474,7 +11474,7 @@ pub mod open_id_connect_provider { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11549,7 +11549,7 @@ pub mod open_id_connect_provider { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11625,7 +11625,7 @@ pub mod open_id_connect_provider { } } pub mod list_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11649,7 +11649,7 @@ pub mod open_id_connect_provider { } } pub mod policy { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11701,7 +11701,7 @@ pub mod policy { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11777,7 +11777,7 @@ pub mod policy { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11864,7 +11864,7 @@ pub mod policy { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PolicyContract), @@ -11939,7 +11939,7 @@ pub mod policy { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12014,7 +12014,7 @@ pub mod policy { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12038,7 +12038,7 @@ pub mod policy { } } pub mod policy_description { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12094,7 +12094,7 @@ pub mod policy_description { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12118,7 +12118,7 @@ pub mod policy_description { } } pub mod portal_revision { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12182,7 +12182,7 @@ pub mod portal_revision { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12254,7 +12254,7 @@ pub mod portal_revision { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12332,7 +12332,7 @@ pub mod portal_revision { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -12414,7 +12414,7 @@ pub mod portal_revision { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -12489,7 +12489,7 @@ pub mod portal_revision { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12513,7 +12513,7 @@ pub mod portal_revision { } } pub mod portal_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12565,7 +12565,7 @@ pub mod portal_settings { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12589,7 +12589,7 @@ pub mod portal_settings { } } pub mod sign_in_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12638,7 +12638,7 @@ pub mod sign_in_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12717,7 +12717,7 @@ pub mod sign_in_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12786,7 +12786,7 @@ pub mod sign_in_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12854,7 +12854,7 @@ pub mod sign_in_settings { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12878,7 +12878,7 @@ pub mod sign_in_settings { } } pub mod sign_up_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12927,7 +12927,7 @@ pub mod sign_up_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13006,7 +13006,7 @@ pub mod sign_up_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13075,7 +13075,7 @@ pub mod sign_up_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13143,7 +13143,7 @@ pub mod sign_up_settings { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13167,7 +13167,7 @@ pub mod sign_up_settings { } } pub mod delegation_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13216,7 +13216,7 @@ pub mod delegation_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13295,7 +13295,7 @@ pub mod delegation_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13364,7 +13364,7 @@ pub mod delegation_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13432,7 +13432,7 @@ pub mod delegation_settings { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13506,7 +13506,7 @@ pub mod delegation_settings { } } pub mod list_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13530,7 +13530,7 @@ pub mod delegation_settings { } } pub mod product { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13603,7 +13603,7 @@ pub mod product { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13675,7 +13675,7 @@ pub mod product { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13762,7 +13762,7 @@ pub mod product { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ProductContract), @@ -13843,7 +13843,7 @@ pub mod product { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13918,7 +13918,7 @@ pub mod product { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13993,7 +13993,7 @@ pub mod product { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14083,7 +14083,7 @@ pub mod product { } } pub mod list_by_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14107,7 +14107,7 @@ pub mod product { } } pub mod product_api { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_product( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14173,7 +14173,7 @@ pub mod product_api { } } pub mod list_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14256,7 +14256,7 @@ pub mod product_api { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApiContract), @@ -14331,7 +14331,7 @@ pub mod product_api { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -14408,7 +14408,7 @@ pub mod product_api { } } pub mod check_entity_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14432,7 +14432,7 @@ pub mod product_api { } } pub mod product_group { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_product( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14498,7 +14498,7 @@ pub mod product_group { } } pub mod list_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14581,7 +14581,7 @@ pub mod product_group { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GroupContract), @@ -14656,7 +14656,7 @@ pub mod product_group { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -14733,7 +14733,7 @@ pub mod product_group { } } pub mod check_entity_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14757,7 +14757,7 @@ pub mod product_group { } } pub mod product_subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14820,7 +14820,7 @@ pub mod product_subscriptions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14844,7 +14844,7 @@ pub mod product_subscriptions { } } pub mod product_policy { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_product( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14898,7 +14898,7 @@ pub mod product_policy { } } pub mod list_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14976,7 +14976,7 @@ pub mod product_policy { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15065,7 +15065,7 @@ pub mod product_policy { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PolicyContract), @@ -15142,7 +15142,7 @@ pub mod product_policy { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -15219,7 +15219,7 @@ pub mod product_policy { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15243,7 +15243,7 @@ pub mod product_policy { } } pub mod tag { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_product( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15309,7 +15309,7 @@ pub mod tag { } } pub mod list_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15386,7 +15386,7 @@ pub mod tag { } } pub mod get_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15469,7 +15469,7 @@ pub mod tag { } } pub mod assign_to_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(TagContract), @@ -15547,7 +15547,7 @@ pub mod tag { } } pub mod detach_from_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -15626,7 +15626,7 @@ pub mod tag { } } pub mod get_entity_state_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15715,7 +15715,7 @@ pub mod tag { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15787,7 +15787,7 @@ pub mod tag { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15874,7 +15874,7 @@ pub mod tag { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(TagContract), @@ -15955,7 +15955,7 @@ pub mod tag { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16025,7 +16025,7 @@ pub mod tag { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -16100,7 +16100,7 @@ pub mod tag { } } pub mod get_entity_state { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16124,7 +16124,7 @@ pub mod tag { } } pub mod quota_by_counter_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16178,7 +16178,7 @@ pub mod quota_by_counter_keys { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16252,7 +16252,7 @@ pub mod quota_by_counter_keys { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16276,7 +16276,7 @@ pub mod quota_by_counter_keys { } } pub mod quota_by_period_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16329,7 +16329,7 @@ pub mod quota_by_period_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16405,7 +16405,7 @@ pub mod quota_by_period_keys { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16429,7 +16429,7 @@ pub mod quota_by_period_keys { } } pub mod region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16481,7 +16481,7 @@ pub mod region { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16505,7 +16505,7 @@ pub mod region { } } pub mod reports { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_api( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16571,7 +16571,7 @@ pub mod reports { } } pub mod list_by_api { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16658,7 +16658,7 @@ pub mod reports { } } pub mod list_by_user { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16745,7 +16745,7 @@ pub mod reports { } } pub mod list_by_operation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16832,7 +16832,7 @@ pub mod reports { } } pub mod list_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16915,7 +16915,7 @@ pub mod reports { } } pub mod list_by_geo { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17002,7 +17002,7 @@ pub mod reports { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17091,7 +17091,7 @@ pub mod reports { } } pub mod list_by_time { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17174,7 +17174,7 @@ pub mod reports { } } pub mod list_by_request { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17198,7 +17198,7 @@ pub mod reports { } } pub mod tenant_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17254,7 +17254,7 @@ pub mod tenant_settings { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17326,7 +17326,7 @@ pub mod tenant_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17350,7 +17350,7 @@ pub mod tenant_settings { } } pub mod api_management_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -17395,7 +17395,7 @@ pub mod api_management_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17419,7 +17419,7 @@ pub mod api_management_skus { } } pub mod subscription { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17480,7 +17480,7 @@ pub mod subscription { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17552,7 +17552,7 @@ pub mod subscription { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17647,7 +17647,7 @@ pub mod subscription { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(SubscriptionContract), @@ -17736,7 +17736,7 @@ pub mod subscription { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17806,7 +17806,7 @@ pub mod subscription { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -17881,7 +17881,7 @@ pub mod subscription { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17954,7 +17954,7 @@ pub mod subscription { } } pub mod regenerate_primary_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18027,7 +18027,7 @@ pub mod subscription { } } pub mod regenerate_secondary_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18103,7 +18103,7 @@ pub mod subscription { } } pub mod list_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18127,7 +18127,7 @@ pub mod subscription { } } pub mod tag_resource { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18191,7 +18191,7 @@ pub mod tag_resource { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18215,7 +18215,7 @@ pub mod tag_resource { } } pub mod tenant_access { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18271,7 +18271,7 @@ pub mod tenant_access { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18343,7 +18343,7 @@ pub mod tenant_access { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18419,7 +18419,7 @@ pub mod tenant_access { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18495,7 +18495,7 @@ pub mod tenant_access { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18565,7 +18565,7 @@ pub mod tenant_access { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18638,7 +18638,7 @@ pub mod tenant_access { } } pub mod regenerate_primary_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18711,7 +18711,7 @@ pub mod tenant_access { } } pub mod regenerate_secondary_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18787,7 +18787,7 @@ pub mod tenant_access { } } pub mod list_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18811,7 +18811,7 @@ pub mod tenant_access { } } pub mod tenant_access_git { - use crate::models::*; + use super::{models, models::*}; pub async fn regenerate_primary_key( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18863,7 +18863,7 @@ pub mod tenant_access_git { } } pub mod regenerate_primary_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18936,7 +18936,7 @@ pub mod tenant_access_git { } } pub mod regenerate_secondary_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18960,7 +18960,7 @@ pub mod tenant_access_git { } } pub mod tenant_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn deploy( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19014,7 +19014,7 @@ pub mod tenant_configuration { } } pub mod deploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -19094,7 +19094,7 @@ pub mod tenant_configuration { } } pub mod save { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -19177,7 +19177,7 @@ pub mod tenant_configuration { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -19257,7 +19257,7 @@ pub mod tenant_configuration { } } pub mod get_sync_state { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19281,7 +19281,7 @@ pub mod tenant_configuration { } } pub mod user { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19350,7 +19350,7 @@ pub mod user { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19422,7 +19422,7 @@ pub mod user { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19513,7 +19513,7 @@ pub mod user { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(UserContract), @@ -19594,7 +19594,7 @@ pub mod user { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19677,7 +19677,7 @@ pub mod user { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -19752,7 +19752,7 @@ pub mod user { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19828,7 +19828,7 @@ pub mod user { } } pub mod generate_sso_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19907,7 +19907,7 @@ pub mod user { } } pub mod get_shared_access_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19931,7 +19931,7 @@ pub mod user { } } pub mod user_group { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19994,7 +19994,7 @@ pub mod user_group { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20018,7 +20018,7 @@ pub mod user_group { } } pub mod user_subscription { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20081,7 +20081,7 @@ pub mod user_subscription { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20155,7 +20155,7 @@ pub mod user_subscription { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20179,7 +20179,7 @@ pub mod user_subscription { } } pub mod user_identities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20230,7 +20230,7 @@ pub mod user_identities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20254,7 +20254,7 @@ pub mod user_identities { } } pub mod user_confirmation_password { - use crate::models::*; + use super::{models, models::*}; pub async fn send( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20305,7 +20305,7 @@ pub mod user_confirmation_password { } } pub mod send { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/apimanagement/src/package_2021_08/mod.rs b/services/mgmt/apimanagement/src/package_2021_08/mod.rs new file mode 100644 index 0000000000..0cfe1b0fbb --- /dev/null +++ b/services/mgmt/apimanagement/src/package_2021_08/mod.rs @@ -0,0 +1,3 @@ +pub mod models; +pub mod operations; +pub const API_VERSION: &str = "2021-08-01"; diff --git a/services/mgmt/apimanagement/src/package_2021_08/models.rs b/services/mgmt/apimanagement/src/package_2021_08/models.rs new file mode 100644 index 0000000000..872448a85f --- /dev/null +++ b/services/mgmt/apimanagement/src/package_2021_08/models.rs @@ -0,0 +1,3878 @@ +#![doc = "generated by AutoRust 0.1.0"] +#![allow(non_camel_case_types)] +#![allow(unused_imports)] +use serde::{Deserialize, Serialize}; +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ErrorFieldContract { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub target: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ErrorResponse { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub error: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ErrorResponseBody { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub details: Vec, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct RegionContract { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub name: Option, + #[serde(rename = "isMasterRegion", default, skip_serializing_if = "Option::is_none")] + pub is_master_region: Option, + #[serde(rename = "isDeleted", default, skip_serializing_if = "Option::is_none")] + pub is_deleted: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct RegionListResult { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub value: Vec, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub count: Option, + #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] + pub next_link: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct AccessInformationCollection { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub value: Vec, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub count: Option, + #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] + pub next_link: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct AccessInformationContract { + #[serde(flatten)] + pub resource: Resource, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct AccessInformationContractProperties { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub id: Option, + #[serde(rename = "principalId", default, skip_serializing_if = "Option::is_none")] + pub principal_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub enabled: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct AccessInformationSecretsContract { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub id: Option, + #[serde(rename = "principalId", default, skip_serializing_if = "Option::is_none")] + pub principal_id: Option, + #[serde(rename = "primaryKey", default, skip_serializing_if = "Option::is_none")] + pub primary_key: Option, + #[serde(rename = "secondaryKey", default, skip_serializing_if = "Option::is_none")] + pub secondary_key: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub enabled: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct AccessInformationCreateParameters { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct AccessInformationCreateParameterProperties { + #[serde(rename = "principalId", default, skip_serializing_if = "Option::is_none")] + pub principal_id: Option, + #[serde(rename = "primaryKey", default, skip_serializing_if = "Option::is_none")] + pub primary_key: Option, + #[serde(rename = "secondaryKey", default, skip_serializing_if = "Option::is_none")] + pub secondary_key: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub enabled: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct AccessInformationUpdateParameters { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct AccessInformationUpdateParameterProperties { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub enabled: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct TenantSettingsCollection { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub value: Vec, + #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] + pub next_link: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct TenantSettingsContract { + #[serde(flatten)] + pub resource: Resource, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct TenantSettingsContractProperties { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub settings: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ApiCollection { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub value: Vec, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub count: Option, + #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] + pub next_link: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ApiContract { + #[serde(flatten)] + pub resource: Resource, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ApiContractProperties { + #[serde(flatten)] + pub api_entity_base_contract: ApiEntityBaseContract, + #[serde(rename = "sourceApiId", default, skip_serializing_if = "Option::is_none")] + pub source_api_id: Option, + #[serde(rename = "displayName", default, skip_serializing_if = "Option::is_none")] + pub display_name: Option, + #[serde(rename = "serviceUrl", default, skip_serializing_if = "Option::is_none")] + pub service_url: Option, + pub path: String, + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub protocols: Vec, + #[serde(rename = "apiVersionSet", default, skip_serializing_if = "Option::is_none")] + pub api_version_set: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ApiCreateOrUpdateParameter { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ApiCreateOrUpdateProperties { + #[serde(flatten)] + pub api_contract_properties: ApiContractProperties, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub value: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub format: Option, + #[serde(rename = "wsdlSelector", default, skip_serializing_if = "Option::is_none")] + pub wsdl_selector: Option, + #[serde(rename = "apiType", default, skip_serializing_if = "Option::is_none")] + pub api_type: Option, +} +pub mod api_create_or_update_properties { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum Format { + #[serde(rename = "wadl-xml")] + WadlXml, + #[serde(rename = "wadl-link-json")] + WadlLinkJson, + #[serde(rename = "swagger-json")] + SwaggerJson, + #[serde(rename = "swagger-link-json")] + SwaggerLinkJson, + #[serde(rename = "wsdl")] + Wsdl, + #[serde(rename = "wsdl-link")] + WsdlLink, + #[serde(rename = "openapi")] + Openapi, + #[serde(rename = "openapi+json")] + OpenapiJson, + #[serde(rename = "openapi-link")] + OpenapiLink, + #[serde(rename = "openapi+json-link")] + OpenapiJsonLink, + #[serde(rename = "graphql-link")] + GraphqlLink, + } + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub struct WsdlSelector { + #[serde(rename = "wsdlServiceName", default, skip_serializing_if = "Option::is_none")] + pub wsdl_service_name: Option, + #[serde(rename = "wsdlEndpointName", default, skip_serializing_if = "Option::is_none")] + pub wsdl_endpoint_name: Option, + } + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum ApiType { + #[serde(rename = "http")] + Http, + #[serde(rename = "soap")] + Soap, + #[serde(rename = "websocket")] + Websocket, + #[serde(rename = "graphql")] + Graphql, + } +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ApiEntityBaseContract { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub description: Option, + #[serde(rename = "authenticationSettings", default, skip_serializing_if = "Option::is_none")] + pub authentication_settings: Option, + #[serde(rename = "subscriptionKeyParameterNames", default, skip_serializing_if = "Option::is_none")] + pub subscription_key_parameter_names: Option, + #[serde(rename = "type", default, skip_serializing_if = "Option::is_none")] + pub type_: Option, + #[serde(rename = "apiRevision", default, skip_serializing_if = "Option::is_none")] + pub api_revision: Option, + #[serde(rename = "apiVersion", default, skip_serializing_if = "Option::is_none")] + pub api_version: Option, + #[serde(rename = "isCurrent", default, skip_serializing_if = "Option::is_none")] + pub is_current: Option, + #[serde(rename = "isOnline", default, skip_serializing_if = "Option::is_none")] + pub is_online: Option, + #[serde(rename = "apiRevisionDescription", default, skip_serializing_if = "Option::is_none")] + pub api_revision_description: Option, + #[serde(rename = "apiVersionDescription", default, skip_serializing_if = "Option::is_none")] + pub api_version_description: Option, + #[serde(rename = "apiVersionSetId", default, skip_serializing_if = "Option::is_none")] + pub api_version_set_id: Option, + #[serde(rename = "subscriptionRequired", default, skip_serializing_if = "Option::is_none")] + pub subscription_required: Option, + #[serde(rename = "termsOfServiceUrl", default, skip_serializing_if = "Option::is_none")] + pub terms_of_service_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub contact: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub license: Option, +} +pub mod api_entity_base_contract { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum Type { + #[serde(rename = "http")] + Http, + #[serde(rename = "soap")] + Soap, + #[serde(rename = "websocket")] + Websocket, + #[serde(rename = "graphql")] + Graphql, + } +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ApiContactInformation { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub name: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub url: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub email: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ApiLicenseInformation { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub name: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub url: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ApiExportResult { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub id: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub format: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub value: Option, +} +pub mod api_export_result { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum Format { + #[serde(rename = "swagger-link-json")] + SwaggerLinkJson, + #[serde(rename = "wadl-link-json")] + WadlLinkJson, + #[serde(rename = "wsdl-link+xml")] + WsdlLinkXml, + #[serde(rename = "openapi-link")] + OpenapiLink, + } + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub struct Value { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub link: Option, + } +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ApiReleaseCollection { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub value: Vec, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub count: Option, + #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] + pub next_link: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ApiReleaseContract { + #[serde(flatten)] + pub resource: Resource, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ApiReleaseContractProperties { + #[serde(rename = "apiId", default, skip_serializing_if = "Option::is_none")] + pub api_id: Option, + #[serde(rename = "createdDateTime", default, skip_serializing_if = "Option::is_none")] + pub created_date_time: Option, + #[serde(rename = "updatedDateTime", default, skip_serializing_if = "Option::is_none")] + pub updated_date_time: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub notes: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ApiRevisionCollection { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub value: Vec, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub count: Option, + #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] + pub next_link: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ApiRevisionContract { + #[serde(rename = "apiId", default, skip_serializing_if = "Option::is_none")] + pub api_id: Option, + #[serde(rename = "apiRevision", default, skip_serializing_if = "Option::is_none")] + pub api_revision: Option, + #[serde(rename = "createdDateTime", default, skip_serializing_if = "Option::is_none")] + pub created_date_time: Option, + #[serde(rename = "updatedDateTime", default, skip_serializing_if = "Option::is_none")] + pub updated_date_time: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub description: Option, + #[serde(rename = "privateUrl", default, skip_serializing_if = "Option::is_none")] + pub private_url: Option, + #[serde(rename = "isOnline", default, skip_serializing_if = "Option::is_none")] + pub is_online: Option, + #[serde(rename = "isCurrent", default, skip_serializing_if = "Option::is_none")] + pub is_current: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ApiRevisionInfoContract { + #[serde(rename = "sourceApiId", default, skip_serializing_if = "Option::is_none")] + pub source_api_id: Option, + #[serde(rename = "apiVersionName", default, skip_serializing_if = "Option::is_none")] + pub api_version_name: Option, + #[serde(rename = "apiRevisionDescription", default, skip_serializing_if = "Option::is_none")] + pub api_revision_description: Option, + #[serde(rename = "apiVersionSet", default, skip_serializing_if = "Option::is_none")] + pub api_version_set: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ApiTagResourceContractProperties { + #[serde(flatten)] + pub api_entity_base_contract: ApiEntityBaseContract, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub id: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub name: Option, + #[serde(rename = "serviceUrl", default, skip_serializing_if = "Option::is_none")] + pub service_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub path: Option, + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub protocols: Vec, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ApiUpdateContract { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ApiContractUpdateProperties { + #[serde(flatten)] + pub api_entity_base_contract: ApiEntityBaseContract, + #[serde(rename = "displayName", default, skip_serializing_if = "Option::is_none")] + pub display_name: Option, + #[serde(rename = "serviceUrl", default, skip_serializing_if = "Option::is_none")] + pub service_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub path: Option, + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub protocols: Vec, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ApiVersionSetCollection { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub value: Vec, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub count: Option, + #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] + pub next_link: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ApiVersionSetContract { + #[serde(flatten)] + pub resource: Resource, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ApiVersionSetContractDetails { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub id: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub name: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub description: Option, + #[serde(rename = "versioningScheme", default, skip_serializing_if = "Option::is_none")] + pub versioning_scheme: Option, + #[serde(rename = "versionQueryName", default, skip_serializing_if = "Option::is_none")] + pub version_query_name: Option, + #[serde(rename = "versionHeaderName", default, skip_serializing_if = "Option::is_none")] + pub version_header_name: Option, +} +pub mod api_version_set_contract_details { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum VersioningScheme { + Segment, + Query, + Header, + } +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ApiVersionSetContractProperties { + #[serde(flatten)] + pub api_version_set_entity_base: ApiVersionSetEntityBase, + #[serde(rename = "displayName")] + pub display_name: String, + #[serde(rename = "versioningScheme")] + pub versioning_scheme: api_version_set_contract_properties::VersioningScheme, +} +pub mod api_version_set_contract_properties { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum VersioningScheme { + Segment, + Query, + Header, + } +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ApiVersionSetEntityBase { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub description: Option, + #[serde(rename = "versionQueryName", default, skip_serializing_if = "Option::is_none")] + pub version_query_name: Option, + #[serde(rename = "versionHeaderName", default, skip_serializing_if = "Option::is_none")] + pub version_header_name: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ApiVersionSetUpdateParameters { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ApiVersionSetUpdateParametersProperties { + #[serde(flatten)] + pub api_version_set_entity_base: ApiVersionSetEntityBase, + #[serde(rename = "displayName", default, skip_serializing_if = "Option::is_none")] + pub display_name: Option, + #[serde(rename = "versioningScheme", default, skip_serializing_if = "Option::is_none")] + pub versioning_scheme: Option, +} +pub mod api_version_set_update_parameters_properties { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum VersioningScheme { + Segment, + Query, + Header, + } +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct AuthenticationSettingsContract { + #[serde(rename = "oAuth2", default, skip_serializing_if = "Option::is_none")] + pub o_auth2: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub openid: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct AuthorizationServerCollection { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub value: Vec, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub count: Option, + #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] + pub next_link: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct AuthorizationServerContract { + #[serde(flatten)] + pub resource: Resource, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct AuthorizationServerContractBaseProperties { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub description: Option, + #[serde(rename = "authorizationMethods", default, skip_serializing_if = "Vec::is_empty")] + pub authorization_methods: Vec, + #[serde(rename = "clientAuthenticationMethod", default, skip_serializing_if = "Vec::is_empty")] + pub client_authentication_method: Vec, + #[serde(rename = "tokenBodyParameters", default, skip_serializing_if = "Vec::is_empty")] + pub token_body_parameters: Vec, + #[serde(rename = "tokenEndpoint", default, skip_serializing_if = "Option::is_none")] + pub token_endpoint: Option, + #[serde(rename = "supportState", default, skip_serializing_if = "Option::is_none")] + pub support_state: Option, + #[serde(rename = "defaultScope", default, skip_serializing_if = "Option::is_none")] + pub default_scope: Option, + #[serde(rename = "bearerTokenSendingMethods", default, skip_serializing_if = "Vec::is_empty")] + pub bearer_token_sending_methods: Vec, + #[serde(rename = "resourceOwnerUsername", default, skip_serializing_if = "Option::is_none")] + pub resource_owner_username: Option, + #[serde(rename = "resourceOwnerPassword", default, skip_serializing_if = "Option::is_none")] + pub resource_owner_password: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct AuthorizationServerContractProperties { + #[serde(flatten)] + pub authorization_server_contract_base_properties: AuthorizationServerContractBaseProperties, + #[serde(rename = "displayName")] + pub display_name: String, + #[serde(rename = "clientRegistrationEndpoint")] + pub client_registration_endpoint: String, + #[serde(rename = "authorizationEndpoint")] + pub authorization_endpoint: String, + #[serde(rename = "grantTypes")] + pub grant_types: Vec, + #[serde(rename = "clientId")] + pub client_id: String, + #[serde(rename = "clientSecret", default, skip_serializing_if = "Option::is_none")] + pub client_secret: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct AuthorizationServerUpdateContract { + #[serde(flatten)] + pub resource: Resource, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct AuthorizationServerUpdateContractProperties { + #[serde(flatten)] + pub authorization_server_contract_base_properties: AuthorizationServerContractBaseProperties, + #[serde(rename = "displayName", default, skip_serializing_if = "Option::is_none")] + pub display_name: Option, + #[serde(rename = "clientRegistrationEndpoint", default, skip_serializing_if = "Option::is_none")] + pub client_registration_endpoint: Option, + #[serde(rename = "authorizationEndpoint", default, skip_serializing_if = "Option::is_none")] + pub authorization_endpoint: Option, + #[serde(rename = "grantTypes", default, skip_serializing_if = "Vec::is_empty")] + pub grant_types: Vec, + #[serde(rename = "clientId", default, skip_serializing_if = "Option::is_none")] + pub client_id: Option, + #[serde(rename = "clientSecret", default, skip_serializing_if = "Option::is_none")] + pub client_secret: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct AuthorizationServerSecretsContract { + #[serde(rename = "clientSecret", default, skip_serializing_if = "Option::is_none")] + pub client_secret: Option, + #[serde(rename = "resourceOwnerUsername", default, skip_serializing_if = "Option::is_none")] + pub resource_owner_username: Option, + #[serde(rename = "resourceOwnerPassword", default, skip_serializing_if = "Option::is_none")] + pub resource_owner_password: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct BackendAuthorizationHeaderCredentials { + pub scheme: String, + pub parameter: String, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct BackendBaseParameters { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub title: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub description: Option, + #[serde(rename = "resourceId", default, skip_serializing_if = "Option::is_none")] + pub resource_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub credentials: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub proxy: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub tls: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct BackendCollection { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub value: Vec, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub count: Option, + #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] + pub next_link: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct BackendContract { + #[serde(flatten)] + pub resource: Resource, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct BackendContractProperties { + #[serde(flatten)] + pub backend_base_parameters: BackendBaseParameters, + pub url: String, + pub protocol: backend_contract_properties::Protocol, +} +pub mod backend_contract_properties { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum Protocol { + #[serde(rename = "http")] + Http, + #[serde(rename = "soap")] + Soap, + } +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct BackendCredentialsContract { + #[serde(rename = "certificateIds", default, skip_serializing_if = "Vec::is_empty")] + pub certificate_ids: Vec, + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub certificate: Vec, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub query: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub header: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub authorization: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct BackendProperties { + #[serde(rename = "serviceFabricCluster", default, skip_serializing_if = "Option::is_none")] + pub service_fabric_cluster: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct BackendProxyContract { + pub url: String, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub username: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub password: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct BackendReconnectContract { + #[serde(flatten)] + pub resource: Resource, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct BackendReconnectProperties { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub after: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct BackendServiceFabricClusterProperties { + #[serde(rename = "clientCertificateId", default, skip_serializing_if = "Option::is_none")] + pub client_certificate_id: Option, + #[serde(rename = "clientCertificatethumbprint", default, skip_serializing_if = "Option::is_none")] + pub client_certificatethumbprint: Option, + #[serde(rename = "maxPartitionResolutionRetries", default, skip_serializing_if = "Option::is_none")] + pub max_partition_resolution_retries: Option, + #[serde(rename = "managementEndpoints")] + pub management_endpoints: Vec, + #[serde(rename = "serverCertificateThumbprints", default, skip_serializing_if = "Vec::is_empty")] + pub server_certificate_thumbprints: Vec, + #[serde(rename = "serverX509Names", default, skip_serializing_if = "Vec::is_empty")] + pub server_x509_names: Vec, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct BackendTlsProperties { + #[serde(rename = "validateCertificateChain", default, skip_serializing_if = "Option::is_none")] + pub validate_certificate_chain: Option, + #[serde(rename = "validateCertificateName", default, skip_serializing_if = "Option::is_none")] + pub validate_certificate_name: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct BackendUpdateParameterProperties { + #[serde(flatten)] + pub backend_base_parameters: BackendBaseParameters, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub url: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub protocol: Option, +} +pub mod backend_update_parameter_properties { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum Protocol { + #[serde(rename = "http")] + Http, + #[serde(rename = "soap")] + Soap, + } +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct BackendUpdateParameters { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub enum BearerTokenSendingMethodsContract { + #[serde(rename = "authorizationHeader")] + AuthorizationHeader, + #[serde(rename = "query")] + Query, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct BodyDiagnosticSettings { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub bytes: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct CacheCollection { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub value: Vec, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub count: Option, + #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] + pub next_link: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct CacheContract { + #[serde(flatten)] + pub resource: Resource, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct CacheContractProperties { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub description: Option, + #[serde(rename = "connectionString")] + pub connection_string: String, + #[serde(rename = "useFromLocation")] + pub use_from_location: String, + #[serde(rename = "resourceId", default, skip_serializing_if = "Option::is_none")] + pub resource_id: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct CacheUpdateParameters { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct CacheUpdateProperties { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub description: Option, + #[serde(rename = "connectionString", default, skip_serializing_if = "Option::is_none")] + pub connection_string: Option, + #[serde(rename = "useFromLocation", default, skip_serializing_if = "Option::is_none")] + pub use_from_location: Option, + #[serde(rename = "resourceId", default, skip_serializing_if = "Option::is_none")] + pub resource_id: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct CertificateCollection { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub value: Vec, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub count: Option, + #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] + pub next_link: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct CertificateContract { + #[serde(flatten)] + pub resource: Resource, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct CertificateContractProperties { + pub subject: String, + pub thumbprint: String, + #[serde(rename = "expirationDate")] + pub expiration_date: String, + #[serde(rename = "keyVault", default, skip_serializing_if = "Option::is_none")] + pub key_vault: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct CertificateCreateOrUpdateParameters { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct CertificateCreateOrUpdateProperties { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub data: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub password: Option, + #[serde(rename = "keyVault", default, skip_serializing_if = "Option::is_none")] + pub key_vault: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct DataMasking { + #[serde(rename = "queryParams", default, skip_serializing_if = "Vec::is_empty")] + pub query_params: Vec, + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub headers: Vec, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct DataMaskingEntity { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub value: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub mode: Option, +} +pub mod data_masking_entity { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum Mode { + Mask, + Hide, + } +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct DeployConfigurationParameters { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct DeployConfigurationParameterProperties { + pub branch: String, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub force: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct DiagnosticCollection { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub value: Vec, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub count: Option, + #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] + pub next_link: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct DiagnosticContract { + #[serde(flatten)] + pub resource: Resource, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct DiagnosticContractProperties { + #[serde(rename = "alwaysLog", default, skip_serializing_if = "Option::is_none")] + pub always_log: Option, + #[serde(rename = "loggerId")] + pub logger_id: String, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub sampling: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub frontend: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub backend: Option, + #[serde(rename = "logClientIp", default, skip_serializing_if = "Option::is_none")] + pub log_client_ip: Option, + #[serde(rename = "httpCorrelationProtocol", default, skip_serializing_if = "Option::is_none")] + pub http_correlation_protocol: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub verbosity: Option, + #[serde(rename = "operationNameFormat", default, skip_serializing_if = "Option::is_none")] + pub operation_name_format: Option, +} +pub mod diagnostic_contract_properties { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum AlwaysLog { + #[serde(rename = "allErrors")] + AllErrors, + } + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum HttpCorrelationProtocol { + None, + Legacy, + #[serde(rename = "W3C")] + W3c, + } + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum Verbosity { + #[serde(rename = "verbose")] + Verbose, + #[serde(rename = "information")] + Information, + #[serde(rename = "error")] + Error, + } + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum OperationNameFormat { + Name, + Url, + } +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct EmailTemplateCollection { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub value: Vec, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub count: Option, + #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] + pub next_link: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct EmailTemplateContract { + #[serde(flatten)] + pub resource: Resource, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct EmailTemplateContractProperties { + pub subject: String, + pub body: String, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub title: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub description: Option, + #[serde(rename = "isDefault", default, skip_serializing_if = "Option::is_none")] + pub is_default: Option, + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub parameters: Vec, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct EmailTemplateParametersContractProperties { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub name: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub title: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub description: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct EmailTemplateUpdateParameterProperties { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub subject: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub title: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub description: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub body: Option, + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub parameters: Vec, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct EmailTemplateUpdateParameters { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct GenerateSsoUrlResult { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub value: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct GroupCollection { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub value: Vec, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub count: Option, + #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] + pub next_link: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct GroupContract { + #[serde(flatten)] + pub resource: Resource, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct GroupContractProperties { + #[serde(rename = "displayName")] + pub display_name: String, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub description: Option, + #[serde(rename = "builtIn", default, skip_serializing_if = "Option::is_none")] + pub built_in: Option, + #[serde(rename = "type", default, skip_serializing_if = "Option::is_none")] + pub type_: Option, + #[serde(rename = "externalId", default, skip_serializing_if = "Option::is_none")] + pub external_id: Option, +} +pub mod group_contract_properties { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum Type { + #[serde(rename = "custom")] + Custom, + #[serde(rename = "system")] + System, + #[serde(rename = "external")] + External, + } +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct GroupCreateParameters { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct GroupCreateParametersProperties { + #[serde(rename = "displayName")] + pub display_name: String, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub description: Option, + #[serde(rename = "type", default, skip_serializing_if = "Option::is_none")] + pub type_: Option, + #[serde(rename = "externalId", default, skip_serializing_if = "Option::is_none")] + pub external_id: Option, +} +pub mod group_create_parameters_properties { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum Type { + #[serde(rename = "custom")] + Custom, + #[serde(rename = "system")] + System, + #[serde(rename = "external")] + External, + } +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct GroupUpdateParameters { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct GroupUpdateParametersProperties { + #[serde(rename = "displayName", default, skip_serializing_if = "Option::is_none")] + pub display_name: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub description: Option, + #[serde(rename = "type", default, skip_serializing_if = "Option::is_none")] + pub type_: Option, + #[serde(rename = "externalId", default, skip_serializing_if = "Option::is_none")] + pub external_id: Option, +} +pub mod group_update_parameters_properties { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum Type { + #[serde(rename = "custom")] + Custom, + #[serde(rename = "system")] + System, + #[serde(rename = "external")] + External, + } +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct HttpMessageDiagnostic { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub headers: Vec, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub body: Option, + #[serde(rename = "dataMasking", default, skip_serializing_if = "Option::is_none")] + pub data_masking: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct IdentityProviderBaseParameters { + #[serde(rename = "type", default, skip_serializing_if = "Option::is_none")] + pub type_: Option, + #[serde(rename = "signinTenant", default, skip_serializing_if = "Option::is_none")] + pub signin_tenant: Option, + #[serde(rename = "allowedTenants", default, skip_serializing_if = "Vec::is_empty")] + pub allowed_tenants: Vec, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub authority: Option, + #[serde(rename = "signupPolicyName", default, skip_serializing_if = "Option::is_none")] + pub signup_policy_name: Option, + #[serde(rename = "signinPolicyName", default, skip_serializing_if = "Option::is_none")] + pub signin_policy_name: Option, + #[serde(rename = "profileEditingPolicyName", default, skip_serializing_if = "Option::is_none")] + pub profile_editing_policy_name: Option, + #[serde(rename = "passwordResetPolicyName", default, skip_serializing_if = "Option::is_none")] + pub password_reset_policy_name: Option, +} +pub mod identity_provider_base_parameters { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum Type { + #[serde(rename = "facebook")] + Facebook, + #[serde(rename = "google")] + Google, + #[serde(rename = "microsoft")] + Microsoft, + #[serde(rename = "twitter")] + Twitter, + #[serde(rename = "aad")] + Aad, + #[serde(rename = "aadB2C")] + AadB2c, + } +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct IdentityProviderCreateContract { + #[serde(flatten)] + pub resource: Resource, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct IdentityProviderCreateContractProperties { + #[serde(flatten)] + pub identity_provider_base_parameters: IdentityProviderBaseParameters, + #[serde(rename = "clientId")] + pub client_id: String, + #[serde(rename = "clientSecret")] + pub client_secret: String, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct IdentityProviderContract { + #[serde(flatten)] + pub resource: Resource, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct IdentityProviderContractProperties { + #[serde(flatten)] + pub identity_provider_base_parameters: IdentityProviderBaseParameters, + #[serde(rename = "clientId")] + pub client_id: String, + #[serde(rename = "clientSecret", default, skip_serializing_if = "Option::is_none")] + pub client_secret: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct IdentityProviderList { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub value: Vec, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub count: Option, + #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] + pub next_link: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct IdentityProviderUpdateParameters { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct IdentityProviderUpdateProperties { + #[serde(flatten)] + pub identity_provider_base_parameters: IdentityProviderBaseParameters, + #[serde(rename = "clientId", default, skip_serializing_if = "Option::is_none")] + pub client_id: Option, + #[serde(rename = "clientSecret", default, skip_serializing_if = "Option::is_none")] + pub client_secret: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct IssueAttachmentCollection { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub value: Vec, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub count: Option, + #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] + pub next_link: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct IssueAttachmentContract { + #[serde(flatten)] + pub resource: Resource, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct IssueAttachmentContractProperties { + pub title: String, + #[serde(rename = "contentFormat")] + pub content_format: String, + pub content: String, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct IssueCollection { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub value: Vec, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub count: Option, + #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] + pub next_link: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct IssueCommentCollection { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub value: Vec, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub count: Option, + #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] + pub next_link: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct IssueCommentContract { + #[serde(flatten)] + pub resource: Resource, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct IssueCommentContractProperties { + pub text: String, + #[serde(rename = "createdDate", default, skip_serializing_if = "Option::is_none")] + pub created_date: Option, + #[serde(rename = "userId")] + pub user_id: String, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct IssueContract { + #[serde(flatten)] + pub resource: Resource, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct IssueContractBaseProperties { + #[serde(rename = "createdDate", default, skip_serializing_if = "Option::is_none")] + pub created_date: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, + #[serde(rename = "apiId", default, skip_serializing_if = "Option::is_none")] + pub api_id: Option, +} +pub mod issue_contract_base_properties { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum State { + #[serde(rename = "proposed")] + Proposed, + #[serde(rename = "open")] + Open, + #[serde(rename = "removed")] + Removed, + #[serde(rename = "resolved")] + Resolved, + #[serde(rename = "closed")] + Closed, + } +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct IssueContractProperties { + #[serde(flatten)] + pub issue_contract_base_properties: IssueContractBaseProperties, + pub title: String, + pub description: String, + #[serde(rename = "userId")] + pub user_id: String, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct IssueUpdateContract { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct IssueUpdateContractProperties { + #[serde(flatten)] + pub issue_contract_base_properties: IssueContractBaseProperties, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub title: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub description: Option, + #[serde(rename = "userId", default, skip_serializing_if = "Option::is_none")] + pub user_id: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct KeyVaultContractCreateProperties { + #[serde(rename = "secretIdentifier", default, skip_serializing_if = "Option::is_none")] + pub secret_identifier: Option, + #[serde(rename = "identityClientId", default, skip_serializing_if = "Option::is_none")] + pub identity_client_id: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct KeyVaultContractProperties { + #[serde(flatten)] + pub key_vault_contract_create_properties: KeyVaultContractCreateProperties, + #[serde(rename = "lastStatus", default, skip_serializing_if = "Option::is_none")] + pub last_status: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct KeyVaultLastAccessStatusContractProperties { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub code: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(rename = "timeStampUtc", default, skip_serializing_if = "Option::is_none")] + pub time_stamp_utc: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct LoggerCollection { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub value: Vec, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub count: Option, + #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] + pub next_link: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct LoggerContract { + #[serde(flatten)] + pub resource: Resource, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct LoggerContractProperties { + #[serde(rename = "loggerType")] + pub logger_type: logger_contract_properties::LoggerType, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub description: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub credentials: Option, + #[serde(rename = "isBuffered", default, skip_serializing_if = "Option::is_none")] + pub is_buffered: Option, + #[serde(rename = "resourceId", default, skip_serializing_if = "Option::is_none")] + pub resource_id: Option, +} +pub mod logger_contract_properties { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum LoggerType { + #[serde(rename = "azureEventHub")] + AzureEventHub, + #[serde(rename = "applicationInsights")] + ApplicationInsights, + #[serde(rename = "azureMonitor")] + AzureMonitor, + } +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct LoggerUpdateContract { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct LoggerUpdateParameters { + #[serde(rename = "loggerType", default, skip_serializing_if = "Option::is_none")] + pub logger_type: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub description: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub credentials: Option, + #[serde(rename = "isBuffered", default, skip_serializing_if = "Option::is_none")] + pub is_buffered: Option, +} +pub mod logger_update_parameters { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum LoggerType { + #[serde(rename = "azureEventHub")] + AzureEventHub, + #[serde(rename = "applicationInsights")] + ApplicationInsights, + #[serde(rename = "azureMonitor")] + AzureMonitor, + } +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct NotificationCollection { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub value: Vec, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub count: Option, + #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] + pub next_link: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct NotificationContract { + #[serde(flatten)] + pub resource: Resource, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct NotificationContractProperties { + pub title: String, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub description: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub recipients: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct OAuth2AuthenticationSettingsContract { + #[serde(rename = "authorizationServerId", default, skip_serializing_if = "Option::is_none")] + pub authorization_server_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub scope: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct OpenIdAuthenticationSettingsContract { + #[serde(rename = "openidProviderId", default, skip_serializing_if = "Option::is_none")] + pub openid_provider_id: Option, + #[serde(rename = "bearerTokenSendingMethods", default, skip_serializing_if = "Vec::is_empty")] + pub bearer_token_sending_methods: Vec, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct OpenIdConnectProviderCollection { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub value: Vec, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub count: Option, + #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] + pub next_link: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct OpenidConnectProviderContract { + #[serde(flatten)] + pub resource: Resource, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct OpenidConnectProviderContractProperties { + #[serde(rename = "displayName")] + pub display_name: String, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub description: Option, + #[serde(rename = "metadataEndpoint")] + pub metadata_endpoint: String, + #[serde(rename = "clientId")] + pub client_id: String, + #[serde(rename = "clientSecret", default, skip_serializing_if = "Option::is_none")] + pub client_secret: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct OpenidConnectProviderUpdateContract { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct OpenidConnectProviderUpdateContractProperties { + #[serde(rename = "displayName", default, skip_serializing_if = "Option::is_none")] + pub display_name: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub description: Option, + #[serde(rename = "metadataEndpoint", default, skip_serializing_if = "Option::is_none")] + pub metadata_endpoint: Option, + #[serde(rename = "clientId", default, skip_serializing_if = "Option::is_none")] + pub client_id: Option, + #[serde(rename = "clientSecret", default, skip_serializing_if = "Option::is_none")] + pub client_secret: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct OperationCollection { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub value: Vec, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub count: Option, + #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] + pub next_link: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct OperationContract { + #[serde(flatten)] + pub resource: Resource, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct OperationContractProperties { + #[serde(flatten)] + pub operation_entity_base_contract: OperationEntityBaseContract, + #[serde(rename = "displayName")] + pub display_name: String, + pub method: String, + #[serde(rename = "urlTemplate")] + pub url_template: String, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct OperationEntityBaseContract { + #[serde(rename = "templateParameters", default, skip_serializing_if = "Vec::is_empty")] + pub template_parameters: Vec, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub description: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub request: Option, + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub responses: Vec, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub policies: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct OperationResultContract { + #[serde(flatten)] + pub resource: Resource, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct OperationResultContractProperties { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub id: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub status: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub started: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub updated: Option, + #[serde(rename = "resultInfo", default, skip_serializing_if = "Option::is_none")] + pub result_info: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub error: Option, + #[serde(rename = "actionLog", default, skip_serializing_if = "Vec::is_empty")] + pub action_log: Vec, +} +pub mod operation_result_contract_properties { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum Status { + Started, + InProgress, + Succeeded, + Failed, + } +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct OperationResultLogItemContract { + #[serde(rename = "objectType", default, skip_serializing_if = "Option::is_none")] + pub object_type: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub action: Option, + #[serde(rename = "objectKey", default, skip_serializing_if = "Option::is_none")] + pub object_key: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct OperationTagResourceContractProperties { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub id: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub name: Option, + #[serde(rename = "apiName", default, skip_serializing_if = "Option::is_none")] + pub api_name: Option, + #[serde(rename = "apiRevision", default, skip_serializing_if = "Option::is_none")] + pub api_revision: Option, + #[serde(rename = "apiVersion", default, skip_serializing_if = "Option::is_none")] + pub api_version: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub description: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub method: Option, + #[serde(rename = "urlTemplate", default, skip_serializing_if = "Option::is_none")] + pub url_template: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct OperationUpdateContract { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct OperationUpdateContractProperties { + #[serde(flatten)] + pub operation_entity_base_contract: OperationEntityBaseContract, + #[serde(rename = "displayName", default, skip_serializing_if = "Option::is_none")] + pub display_name: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub method: Option, + #[serde(rename = "urlTemplate", default, skip_serializing_if = "Option::is_none")] + pub url_template: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ParameterContract { + pub name: String, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub description: Option, + #[serde(rename = "type")] + pub type_: String, + #[serde(rename = "defaultValue", default, skip_serializing_if = "Option::is_none")] + pub default_value: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub required: Option, + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub values: Vec, + #[serde(rename = "schemaId", default, skip_serializing_if = "Option::is_none")] + pub schema_id: Option, + #[serde(rename = "typeName", default, skip_serializing_if = "Option::is_none")] + pub type_name: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub examples: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ParameterExamplesContract {} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ParameterExampleContract { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub summary: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub description: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub value: Option, + #[serde(rename = "externalValue", default, skip_serializing_if = "Option::is_none")] + pub external_value: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct PipelineDiagnosticSettings { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub request: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub response: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct PolicyCollection { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub value: Vec, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub count: Option, + #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] + pub next_link: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct PolicyContract { + #[serde(flatten)] + pub resource: Resource, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct PolicyContractProperties { + pub value: String, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub format: Option, +} +pub mod policy_contract_properties { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum Format { + #[serde(rename = "xml")] + Xml, + #[serde(rename = "xml-link")] + XmlLink, + #[serde(rename = "rawxml")] + Rawxml, + #[serde(rename = "rawxml-link")] + RawxmlLink, + } +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct PolicyDescriptionContract { + #[serde(flatten)] + pub resource: Resource, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct PolicyDescriptionContractProperties { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub description: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub scope: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct PolicyDescriptionCollection { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub value: Vec, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub count: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct PortalDelegationSettings { + #[serde(flatten)] + pub resource: Resource, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct PortalDelegationSettingsProperties { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub url: Option, + #[serde(rename = "validationKey", default, skip_serializing_if = "Option::is_none")] + pub validation_key: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub subscriptions: Option, + #[serde(rename = "userRegistration", default, skip_serializing_if = "Option::is_none")] + pub user_registration: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct PortalSettingsCollection { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub value: Vec, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub count: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct PortalSettingsContract { + #[serde(flatten)] + pub resource: Resource, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct PortalSettingsContractProperties { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub url: Option, + #[serde(rename = "validationKey", default, skip_serializing_if = "Option::is_none")] + pub validation_key: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub subscriptions: Option, + #[serde(rename = "userRegistration", default, skip_serializing_if = "Option::is_none")] + pub user_registration: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub enabled: Option, + #[serde(rename = "termsOfService", default, skip_serializing_if = "Option::is_none")] + pub terms_of_service: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct PortalSigninSettingProperties { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub enabled: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct PortalSigninSettings { + #[serde(flatten)] + pub resource: Resource, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct PortalSignupSettings { + #[serde(flatten)] + pub resource: Resource, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct PortalSignupSettingsProperties { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub enabled: Option, + #[serde(rename = "termsOfService", default, skip_serializing_if = "Option::is_none")] + pub terms_of_service: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ProductCollection { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub value: Vec, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub count: Option, + #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] + pub next_link: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ProductContract { + #[serde(flatten)] + pub resource: Resource, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ProductContractProperties { + #[serde(flatten)] + pub product_entity_base_parameters: ProductEntityBaseParameters, + #[serde(rename = "displayName")] + pub display_name: String, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ProductEntityBaseParameters { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub description: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub terms: Option, + #[serde(rename = "subscriptionRequired", default, skip_serializing_if = "Option::is_none")] + pub subscription_required: Option, + #[serde(rename = "approvalRequired", default, skip_serializing_if = "Option::is_none")] + pub approval_required: Option, + #[serde(rename = "subscriptionsLimit", default, skip_serializing_if = "Option::is_none")] + pub subscriptions_limit: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, +} +pub mod product_entity_base_parameters { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum State { + #[serde(rename = "notPublished")] + NotPublished, + #[serde(rename = "published")] + Published, + } +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ProductTagResourceContractProperties { + #[serde(flatten)] + pub product_entity_base_parameters: ProductEntityBaseParameters, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub id: Option, + pub name: String, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ProductUpdateParameters { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ProductUpdateProperties { + #[serde(flatten)] + pub product_entity_base_parameters: ProductEntityBaseParameters, + #[serde(rename = "displayName", default, skip_serializing_if = "Option::is_none")] + pub display_name: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct NamedValueCollection { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub value: Vec, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub count: Option, + #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] + pub next_link: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct NamedValueCreateContract { + #[serde(flatten)] + pub resource: Resource, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct NamedValueCreateContractProperties { + #[serde(flatten)] + pub named_value_entity_base_parameters: NamedValueEntityBaseParameters, + #[serde(rename = "displayName")] + pub display_name: String, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub value: Option, + #[serde(rename = "keyVault", default, skip_serializing_if = "Option::is_none")] + pub key_vault: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct NamedValueContract { + #[serde(flatten)] + pub resource: Resource, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct NamedValueContractProperties { + #[serde(flatten)] + pub named_value_entity_base_parameters: NamedValueEntityBaseParameters, + #[serde(rename = "displayName")] + pub display_name: String, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub value: Option, + #[serde(rename = "keyVault", default, skip_serializing_if = "Option::is_none")] + pub key_vault: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct NamedValueEntityBaseParameters { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub tags: Vec, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub secret: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct NamedValueUpdateParameterProperties { + #[serde(flatten)] + pub named_value_entity_base_parameters: NamedValueEntityBaseParameters, + #[serde(rename = "displayName", default, skip_serializing_if = "Option::is_none")] + pub display_name: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub value: Option, + #[serde(rename = "keyVault", default, skip_serializing_if = "Option::is_none")] + pub key_vault: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct NamedValueUpdateParameters { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct QuotaCounterCollection { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub value: Vec, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub count: Option, + #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] + pub next_link: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct QuotaCounterContract { + #[serde(rename = "counterKey")] + pub counter_key: String, + #[serde(rename = "periodKey")] + pub period_key: String, + #[serde(rename = "periodStartTime")] + pub period_start_time: String, + #[serde(rename = "periodEndTime")] + pub period_end_time: String, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub value: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct QuotaCounterValueContract { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub value: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct QuotaCounterValueContractProperties { + #[serde(rename = "callsCount", default, skip_serializing_if = "Option::is_none")] + pub calls_count: Option, + #[serde(rename = "kbTransferred", default, skip_serializing_if = "Option::is_none")] + pub kb_transferred: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct QuotaCounterValueUpdateContract { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct RecipientEmailCollection { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub value: Vec, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub count: Option, + #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] + pub next_link: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct RecipientEmailContract { + #[serde(flatten)] + pub resource: Resource, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct RecipientEmailContractProperties { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub email: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct RecipientsContractProperties { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub emails: Vec, + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub users: Vec, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct RecipientUserCollection { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub value: Vec, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub count: Option, + #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] + pub next_link: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct RecipientUserContract { + #[serde(flatten)] + pub resource: Resource, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct RecipientUsersContractProperties { + #[serde(rename = "userId", default, skip_serializing_if = "Option::is_none")] + pub user_id: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct RegistrationDelegationSettingsProperties { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub enabled: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ReportCollection { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub value: Vec, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub count: Option, + #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] + pub next_link: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ReportRecordContract { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub name: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub timestamp: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub interval: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub country: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub region: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub zip: Option, + #[serde(rename = "userId", default, skip_serializing_if = "Option::is_none")] + pub user_id: Option, + #[serde(rename = "productId", default, skip_serializing_if = "Option::is_none")] + pub product_id: Option, + #[serde(rename = "apiId", default, skip_serializing_if = "Option::is_none")] + pub api_id: Option, + #[serde(rename = "operationId", default, skip_serializing_if = "Option::is_none")] + pub operation_id: Option, + #[serde(rename = "apiRegion", default, skip_serializing_if = "Option::is_none")] + pub api_region: Option, + #[serde(rename = "subscriptionId", default, skip_serializing_if = "Option::is_none")] + pub subscription_id: Option, + #[serde(rename = "callCountSuccess", default, skip_serializing_if = "Option::is_none")] + pub call_count_success: Option, + #[serde(rename = "callCountBlocked", default, skip_serializing_if = "Option::is_none")] + pub call_count_blocked: Option, + #[serde(rename = "callCountFailed", default, skip_serializing_if = "Option::is_none")] + pub call_count_failed: Option, + #[serde(rename = "callCountOther", default, skip_serializing_if = "Option::is_none")] + pub call_count_other: Option, + #[serde(rename = "callCountTotal", default, skip_serializing_if = "Option::is_none")] + pub call_count_total: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub bandwidth: Option, + #[serde(rename = "cacheHitCount", default, skip_serializing_if = "Option::is_none")] + pub cache_hit_count: Option, + #[serde(rename = "cacheMissCount", default, skip_serializing_if = "Option::is_none")] + pub cache_miss_count: Option, + #[serde(rename = "apiTimeAvg", default, skip_serializing_if = "Option::is_none")] + pub api_time_avg: Option, + #[serde(rename = "apiTimeMin", default, skip_serializing_if = "Option::is_none")] + pub api_time_min: Option, + #[serde(rename = "apiTimeMax", default, skip_serializing_if = "Option::is_none")] + pub api_time_max: Option, + #[serde(rename = "serviceTimeAvg", default, skip_serializing_if = "Option::is_none")] + pub service_time_avg: Option, + #[serde(rename = "serviceTimeMin", default, skip_serializing_if = "Option::is_none")] + pub service_time_min: Option, + #[serde(rename = "serviceTimeMax", default, skip_serializing_if = "Option::is_none")] + pub service_time_max: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct RepresentationContract { + #[serde(rename = "contentType")] + pub content_type: String, + #[serde(rename = "schemaId", default, skip_serializing_if = "Option::is_none")] + pub schema_id: Option, + #[serde(rename = "typeName", default, skip_serializing_if = "Option::is_none")] + pub type_name: Option, + #[serde(rename = "formParameters", default, skip_serializing_if = "Vec::is_empty")] + pub form_parameters: Vec, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub examples: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct RequestContract { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub description: Option, + #[serde(rename = "queryParameters", default, skip_serializing_if = "Vec::is_empty")] + pub query_parameters: Vec, + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub headers: Vec, + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub representations: Vec, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct RequestReportCollection { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub value: Vec, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub count: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct RequestReportRecordContract { + #[serde(rename = "apiId", default, skip_serializing_if = "Option::is_none")] + pub api_id: Option, + #[serde(rename = "operationId", default, skip_serializing_if = "Option::is_none")] + pub operation_id: Option, + #[serde(rename = "productId", default, skip_serializing_if = "Option::is_none")] + pub product_id: Option, + #[serde(rename = "userId", default, skip_serializing_if = "Option::is_none")] + pub user_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub method: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub url: Option, + #[serde(rename = "ipAddress", default, skip_serializing_if = "Option::is_none")] + pub ip_address: Option, + #[serde(rename = "backendResponseCode", default, skip_serializing_if = "Option::is_none")] + pub backend_response_code: Option, + #[serde(rename = "responseCode", default, skip_serializing_if = "Option::is_none")] + pub response_code: Option, + #[serde(rename = "responseSize", default, skip_serializing_if = "Option::is_none")] + pub response_size: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub timestamp: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub cache: Option, + #[serde(rename = "apiTime", default, skip_serializing_if = "Option::is_none")] + pub api_time: Option, + #[serde(rename = "serviceTime", default, skip_serializing_if = "Option::is_none")] + pub service_time: Option, + #[serde(rename = "apiRegion", default, skip_serializing_if = "Option::is_none")] + pub api_region: Option, + #[serde(rename = "subscriptionId", default, skip_serializing_if = "Option::is_none")] + pub subscription_id: Option, + #[serde(rename = "requestId", default, skip_serializing_if = "Option::is_none")] + pub request_id: Option, + #[serde(rename = "requestSize", default, skip_serializing_if = "Option::is_none")] + pub request_size: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ResponseContract { + #[serde(rename = "statusCode")] + pub status_code: i32, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub description: Option, + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub representations: Vec, + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub headers: Vec, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct SamplingSettings { + #[serde(rename = "samplingType", default, skip_serializing_if = "Option::is_none")] + pub sampling_type: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub percentage: Option, +} +pub mod sampling_settings { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum SamplingType { + #[serde(rename = "fixed")] + Fixed, + } +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct SaveConfigurationParameter { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct SaveConfigurationParameterProperties { + pub branch: String, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub force: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct SchemaCollection { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub value: Vec, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub count: Option, + #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] + pub next_link: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct SchemaContract { + #[serde(flatten)] + pub resource: Resource, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct SchemaContractProperties { + #[serde(rename = "contentType")] + pub content_type: String, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub document: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct SchemaDocumentProperties { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub value: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub definitions: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub components: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct SubscriptionCollection { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub value: Vec, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub count: Option, + #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] + pub next_link: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct SubscriptionContract { + #[serde(flatten)] + pub resource: Resource, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct SubscriptionContractProperties { + #[serde(rename = "ownerId", default, skip_serializing_if = "Option::is_none")] + pub owner_id: Option, + pub scope: String, + #[serde(rename = "displayName", default, skip_serializing_if = "Option::is_none")] + pub display_name: Option, + pub state: subscription_contract_properties::State, + #[serde(rename = "createdDate", default, skip_serializing_if = "Option::is_none")] + pub created_date: Option, + #[serde(rename = "startDate", default, skip_serializing_if = "Option::is_none")] + pub start_date: Option, + #[serde(rename = "expirationDate", default, skip_serializing_if = "Option::is_none")] + pub expiration_date: Option, + #[serde(rename = "endDate", default, skip_serializing_if = "Option::is_none")] + pub end_date: Option, + #[serde(rename = "notificationDate", default, skip_serializing_if = "Option::is_none")] + pub notification_date: Option, + #[serde(rename = "primaryKey", default, skip_serializing_if = "Option::is_none")] + pub primary_key: Option, + #[serde(rename = "secondaryKey", default, skip_serializing_if = "Option::is_none")] + pub secondary_key: Option, + #[serde(rename = "stateComment", default, skip_serializing_if = "Option::is_none")] + pub state_comment: Option, + #[serde(rename = "allowTracing", default, skip_serializing_if = "Option::is_none")] + pub allow_tracing: Option, +} +pub mod subscription_contract_properties { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum State { + #[serde(rename = "suspended")] + Suspended, + #[serde(rename = "active")] + Active, + #[serde(rename = "expired")] + Expired, + #[serde(rename = "submitted")] + Submitted, + #[serde(rename = "rejected")] + Rejected, + #[serde(rename = "cancelled")] + Cancelled, + } +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct SubscriptionCreateParameterProperties { + #[serde(rename = "ownerId", default, skip_serializing_if = "Option::is_none")] + pub owner_id: Option, + pub scope: String, + #[serde(rename = "displayName")] + pub display_name: String, + #[serde(rename = "primaryKey", default, skip_serializing_if = "Option::is_none")] + pub primary_key: Option, + #[serde(rename = "secondaryKey", default, skip_serializing_if = "Option::is_none")] + pub secondary_key: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, + #[serde(rename = "allowTracing", default, skip_serializing_if = "Option::is_none")] + pub allow_tracing: Option, +} +pub mod subscription_create_parameter_properties { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum State { + #[serde(rename = "suspended")] + Suspended, + #[serde(rename = "active")] + Active, + #[serde(rename = "expired")] + Expired, + #[serde(rename = "submitted")] + Submitted, + #[serde(rename = "rejected")] + Rejected, + #[serde(rename = "cancelled")] + Cancelled, + } +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct SubscriptionCreateParameters { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct SubscriptionKeyParameterNamesContract { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub header: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub query: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct SubscriptionsDelegationSettingsProperties { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub enabled: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct SubscriptionUpdateParameterProperties { + #[serde(rename = "ownerId", default, skip_serializing_if = "Option::is_none")] + pub owner_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub scope: Option, + #[serde(rename = "expirationDate", default, skip_serializing_if = "Option::is_none")] + pub expiration_date: Option, + #[serde(rename = "displayName", default, skip_serializing_if = "Option::is_none")] + pub display_name: Option, + #[serde(rename = "primaryKey", default, skip_serializing_if = "Option::is_none")] + pub primary_key: Option, + #[serde(rename = "secondaryKey", default, skip_serializing_if = "Option::is_none")] + pub secondary_key: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, + #[serde(rename = "stateComment", default, skip_serializing_if = "Option::is_none")] + pub state_comment: Option, + #[serde(rename = "allowTracing", default, skip_serializing_if = "Option::is_none")] + pub allow_tracing: Option, +} +pub mod subscription_update_parameter_properties { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum State { + #[serde(rename = "suspended")] + Suspended, + #[serde(rename = "active")] + Active, + #[serde(rename = "expired")] + Expired, + #[serde(rename = "submitted")] + Submitted, + #[serde(rename = "rejected")] + Rejected, + #[serde(rename = "cancelled")] + Cancelled, + } +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct SubscriptionUpdateParameters { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct TagCollection { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub value: Vec, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub count: Option, + #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] + pub next_link: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct TagContract { + #[serde(flatten)] + pub resource: Resource, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct TagContractProperties { + #[serde(rename = "displayName")] + pub display_name: String, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct TagCreateUpdateParameters { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct TagDescriptionBaseProperties { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub description: Option, + #[serde(rename = "externalDocsUrl", default, skip_serializing_if = "Option::is_none")] + pub external_docs_url: Option, + #[serde(rename = "externalDocsDescription", default, skip_serializing_if = "Option::is_none")] + pub external_docs_description: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct TagDescriptionCollection { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub value: Vec, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub count: Option, + #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] + pub next_link: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct TagDescriptionContract { + #[serde(flatten)] + pub resource: Resource, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct TagDescriptionContractProperties { + #[serde(flatten)] + pub tag_description_base_properties: TagDescriptionBaseProperties, + #[serde(rename = "tagId", default, skip_serializing_if = "Option::is_none")] + pub tag_id: Option, + #[serde(rename = "displayName", default, skip_serializing_if = "Option::is_none")] + pub display_name: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct TagDescriptionCreateParameters { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct TagResourceCollection { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub value: Vec, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub count: Option, + #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] + pub next_link: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct TagResourceContract { + pub tag: TagTagResourceContractProperties, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub api: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub operation: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub product: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct TagTagResourceContractProperties { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub id: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub name: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct TenantConfigurationSyncStateContract { + #[serde(flatten)] + pub resource: Resource, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct TenantConfigurationSyncStateContractProperties { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub branch: Option, + #[serde(rename = "commitId", default, skip_serializing_if = "Option::is_none")] + pub commit_id: Option, + #[serde(rename = "isExport", default, skip_serializing_if = "Option::is_none")] + pub is_export: Option, + #[serde(rename = "isSynced", default, skip_serializing_if = "Option::is_none")] + pub is_synced: Option, + #[serde(rename = "isGitEnabled", default, skip_serializing_if = "Option::is_none")] + pub is_git_enabled: Option, + #[serde(rename = "syncDate", default, skip_serializing_if = "Option::is_none")] + pub sync_date: Option, + #[serde(rename = "configurationChangeDate", default, skip_serializing_if = "Option::is_none")] + pub configuration_change_date: Option, + #[serde(rename = "lastOperationId", default, skip_serializing_if = "Option::is_none")] + pub last_operation_id: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct TermsOfServiceProperties { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub text: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub enabled: Option, + #[serde(rename = "consentRequired", default, skip_serializing_if = "Option::is_none")] + pub consent_required: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct TokenBodyParameterContract { + pub name: String, + pub value: String, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct UserCollection { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub value: Vec, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub count: Option, + #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] + pub next_link: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct UserContract { + #[serde(flatten)] + pub resource: Resource, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct UserContractProperties { + #[serde(flatten)] + pub user_entity_base_parameters: UserEntityBaseParameters, + #[serde(rename = "firstName", default, skip_serializing_if = "Option::is_none")] + pub first_name: Option, + #[serde(rename = "lastName", default, skip_serializing_if = "Option::is_none")] + pub last_name: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub email: Option, + #[serde(rename = "registrationDate", default, skip_serializing_if = "Option::is_none")] + pub registration_date: Option, + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub groups: Vec, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct UserCreateParameterProperties { + #[serde(flatten)] + pub user_entity_base_parameters: UserEntityBaseParameters, + pub email: String, + #[serde(rename = "firstName")] + pub first_name: String, + #[serde(rename = "lastName")] + pub last_name: String, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub password: Option, + #[serde(rename = "appType", default, skip_serializing_if = "Option::is_none")] + pub app_type: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub confirmation: Option, +} +pub mod user_create_parameter_properties { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum AppType { + #[serde(rename = "portal")] + Portal, + #[serde(rename = "developerPortal")] + DeveloperPortal, + } + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum Confirmation { + #[serde(rename = "signup")] + Signup, + #[serde(rename = "invite")] + Invite, + } +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct UserCreateParameters { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct UserEntityBaseParameters { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub note: Option, + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub identities: Vec, +} +pub mod user_entity_base_parameters { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum State { + #[serde(rename = "active")] + Active, + #[serde(rename = "blocked")] + Blocked, + #[serde(rename = "pending")] + Pending, + #[serde(rename = "deleted")] + Deleted, + } +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct UserIdentityCollection { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub value: Vec, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub count: Option, + #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] + pub next_link: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct UserIdentityContract { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provider: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub id: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct UserTokenParameters { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct UserTokenParameterProperties { + #[serde(rename = "keyType")] + pub key_type: user_token_parameter_properties::KeyType, + pub expiry: String, +} +pub mod user_token_parameter_properties { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum KeyType { + #[serde(rename = "primary")] + Primary, + #[serde(rename = "secondary")] + Secondary, + } +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct UserTokenResult { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub value: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct UserUpdateParameters { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct UserUpdateParametersProperties { + #[serde(flatten)] + pub user_entity_base_parameters: UserEntityBaseParameters, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub email: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub password: Option, + #[serde(rename = "firstName", default, skip_serializing_if = "Option::is_none")] + pub first_name: Option, + #[serde(rename = "lastName", default, skip_serializing_if = "Option::is_none")] + pub last_name: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct X509CertificateName { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub name: Option, + #[serde(rename = "issuerCertificateThumbprint", default, skip_serializing_if = "Option::is_none")] + pub issuer_certificate_thumbprint: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ClientSecretContract { + #[serde(rename = "clientSecret", default, skip_serializing_if = "Option::is_none")] + pub client_secret: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct NamedValueSecretContract { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub value: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct PortalSettingValidationKeyContract { + #[serde(rename = "validationKey", default, skip_serializing_if = "Option::is_none")] + pub validation_key: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct SubscriptionKeysContract { + #[serde(rename = "primaryKey", default, skip_serializing_if = "Option::is_none")] + pub primary_key: Option, + #[serde(rename = "secondaryKey", default, skip_serializing_if = "Option::is_none")] + pub secondary_key: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct GatewayCollection { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub value: Vec, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub count: Option, + #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] + pub next_link: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct GatewayContract { + #[serde(flatten)] + pub resource: Resource, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct GatewayContractProperties { + #[serde(rename = "locationData", default, skip_serializing_if = "Option::is_none")] + pub location_data: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub description: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ResourceLocationDataContract { + pub name: String, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub city: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub district: Option, + #[serde(rename = "countryOrRegion", default, skip_serializing_if = "Option::is_none")] + pub country_or_region: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct GatewayKeysContract { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub primary: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub secondary: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct GatewayTokenRequestContract { + #[serde(rename = "keyType")] + pub key_type: gateway_token_request_contract::KeyType, + pub expiry: String, +} +pub mod gateway_token_request_contract { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum KeyType { + #[serde(rename = "primary")] + Primary, + #[serde(rename = "secondary")] + Secondary, + } +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct GatewayTokenContract { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub value: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct GatewayKeyRegenerationRequestContract { + #[serde(rename = "keyType")] + pub key_type: gateway_key_regeneration_request_contract::KeyType, +} +pub mod gateway_key_regeneration_request_contract { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum KeyType { + #[serde(rename = "primary")] + Primary, + #[serde(rename = "secondary")] + Secondary, + } +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct GatewayHostnameConfigurationCollection { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub value: Vec, + #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] + pub next_link: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct GatewayHostnameConfigurationContract { + #[serde(flatten)] + pub resource: Resource, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct GatewayHostnameConfigurationContractProperties { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub hostname: Option, + #[serde(rename = "certificateId", default, skip_serializing_if = "Option::is_none")] + pub certificate_id: Option, + #[serde(rename = "negotiateClientCertificate", default, skip_serializing_if = "Option::is_none")] + pub negotiate_client_certificate: Option, + #[serde(rename = "tls10Enabled", default, skip_serializing_if = "Option::is_none")] + pub tls10_enabled: Option, + #[serde(rename = "tls11Enabled", default, skip_serializing_if = "Option::is_none")] + pub tls11_enabled: Option, + #[serde(rename = "http2Enabled", default, skip_serializing_if = "Option::is_none")] + pub http2_enabled: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct GatewayCertificateAuthorityCollection { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub value: Vec, + #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] + pub next_link: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct GatewayCertificateAuthorityContract { + #[serde(flatten)] + pub resource: Resource, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct GatewayCertificateAuthorityContractProperties { + #[serde(rename = "isTrusted", default, skip_serializing_if = "Option::is_none")] + pub is_trusted: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct AssociationContract { + #[serde(flatten)] + pub resource: Resource, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +pub mod association_contract { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub struct Properties { + #[serde(rename = "provisioningState", default, skip_serializing_if = "Option::is_none")] + pub provisioning_state: Option, + } + pub mod properties { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum ProvisioningState { + #[serde(rename = "created")] + Created, + } + } +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ContentTypeCollection { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub value: Vec, + #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] + pub next_link: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ContentTypeContract { + #[serde(flatten)] + pub resource: Resource, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ContentTypeContractProperties { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub id: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub name: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub description: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub schema: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub version: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ContentItemCollection { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub value: Vec, + #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] + pub next_link: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ContentItemContract { + #[serde(flatten)] + pub resource: Resource, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ContentItemContractProperties {} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct DeletedServicesCollection { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub value: Vec, + #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] + pub next_link: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct DeletedServiceContract { + #[serde(flatten)] + pub resource: Resource, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub location: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct DeletedServiceContractProperties { + #[serde(rename = "serviceId", default, skip_serializing_if = "Option::is_none")] + pub service_id: Option, + #[serde(rename = "scheduledPurgeDate", default, skip_serializing_if = "Option::is_none")] + pub scheduled_purge_date: Option, + #[serde(rename = "deletionDate", default, skip_serializing_if = "Option::is_none")] + pub deletion_date: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct PortalRevisionCollection { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub value: Vec, + #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] + pub next_link: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct PortalRevisionContract { + #[serde(flatten)] + pub resource: Resource, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct PortalRevisionContractProperties { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub description: Option, + #[serde(rename = "statusDetails", default, skip_serializing_if = "Option::is_none")] + pub status_details: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub status: Option, + #[serde(rename = "isCurrent", default, skip_serializing_if = "Option::is_none")] + pub is_current: Option, + #[serde(rename = "createdDateTime", default, skip_serializing_if = "Option::is_none")] + pub created_date_time: Option, + #[serde(rename = "updatedDateTime", default, skip_serializing_if = "Option::is_none")] + pub updated_date_time: Option, +} +pub mod portal_revision_contract_properties { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum Status { + #[serde(rename = "pending")] + Pending, + #[serde(rename = "publishing")] + Publishing, + #[serde(rename = "completed")] + Completed, + #[serde(rename = "failed")] + Failed, + } +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct PrivateEndpointConnectionRequest { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub id: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +pub mod private_endpoint_connection_request { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub struct Properties { + #[serde(rename = "privateLinkServiceConnectionState", default, skip_serializing_if = "Option::is_none")] + pub private_link_service_connection_state: Option, + } +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct RemotePrivateEndpointConnectionWrapper { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub id: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub name: Option, + #[serde(rename = "type", default, skip_serializing_if = "Option::is_none")] + pub type_: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct PrivateEndpointConnectionWrapperProperties { + #[serde(rename = "privateEndpoint", default, skip_serializing_if = "Option::is_none")] + pub private_endpoint: Option, + #[serde(rename = "privateLinkServiceConnectionState")] + pub private_link_service_connection_state: PrivateLinkServiceConnectionState, + #[serde(rename = "provisioningState", default, skip_serializing_if = "Option::is_none")] + pub provisioning_state: Option, + #[serde(rename = "groupIds", default, skip_serializing_if = "Vec::is_empty")] + pub group_ids: Vec, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ArmIdWrapper { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub id: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ConnectivityCheckRequest { + pub source: connectivity_check_request::Source, + pub destination: connectivity_check_request::Destination, + #[serde(rename = "preferredIPVersion", default, skip_serializing_if = "Option::is_none")] + pub preferred_ip_version: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub protocol: Option, + #[serde(rename = "protocolConfiguration", default, skip_serializing_if = "Option::is_none")] + pub protocol_configuration: Option, +} +pub mod connectivity_check_request { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub struct Source { + pub region: String, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub instance: Option, + } + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub struct Destination { + pub address: String, + pub port: i64, + } + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum PreferredIpVersion { + IPv4, + } + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum Protocol { + #[serde(rename = "TCP")] + Tcp, + #[serde(rename = "HTTP")] + Http, + #[serde(rename = "HTTPS")] + Https, + } + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub struct ProtocolConfiguration { + #[serde(rename = "HTTPConfiguration", default, skip_serializing_if = "Option::is_none")] + pub http_configuration: Option, + } + pub mod protocol_configuration { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub struct HttpConfiguration { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub method: Option, + #[serde(rename = "validStatusCodes", default, skip_serializing_if = "Vec::is_empty")] + pub valid_status_codes: Vec, + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub headers: Vec, + } + pub mod http_configuration { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum Method { + #[serde(rename = "GET")] + Get, + #[serde(rename = "POST")] + Post, + } + } + } +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct HttpHeader { + pub name: String, + pub value: String, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ConnectivityCheckResponse { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub hops: Vec, + #[serde(rename = "connectionStatus", default, skip_serializing_if = "Option::is_none")] + pub connection_status: Option, + #[serde(rename = "avgLatencyInMs", default, skip_serializing_if = "Option::is_none")] + pub avg_latency_in_ms: Option, + #[serde(rename = "minLatencyInMs", default, skip_serializing_if = "Option::is_none")] + pub min_latency_in_ms: Option, + #[serde(rename = "maxLatencyInMs", default, skip_serializing_if = "Option::is_none")] + pub max_latency_in_ms: Option, + #[serde(rename = "probesSent", default, skip_serializing_if = "Option::is_none")] + pub probes_sent: Option, + #[serde(rename = "probesFailed", default, skip_serializing_if = "Option::is_none")] + pub probes_failed: Option, +} +pub mod connectivity_check_response { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum ConnectionStatus { + Unknown, + Connected, + Disconnected, + Degraded, + } +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ConnectivityHop { + #[serde(rename = "type", default, skip_serializing_if = "Option::is_none")] + pub type_: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub id: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub address: Option, + #[serde(rename = "resourceId", default, skip_serializing_if = "Option::is_none")] + pub resource_id: Option, + #[serde(rename = "nextHopIds", default, skip_serializing_if = "Vec::is_empty")] + pub next_hop_ids: Vec, + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub issues: Vec, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ConnectivityIssue { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub origin: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub severity: Option, + #[serde(rename = "type", default, skip_serializing_if = "Option::is_none")] + pub type_: Option, + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub context: Vec, +} +pub mod connectivity_issue { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum Origin { + Local, + Inbound, + Outbound, + } + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum Severity { + Error, + Warning, + } + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum Type { + Unknown, + AgentStopped, + GuestFirewall, + DnsResolution, + SocketBind, + NetworkSecurityRule, + UserDefinedRoute, + PortThrottled, + Platform, + } +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct IssueContext {} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ResourceSkuResults { + pub value: Vec, + #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] + pub next_link: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ResourceSkuResult { + #[serde(rename = "resourceType", default, skip_serializing_if = "Option::is_none")] + pub resource_type: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub sku: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub capacity: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ResourceSkuCapacity { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub minimum: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub maximum: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub default: Option, + #[serde(rename = "scaleType", default, skip_serializing_if = "Option::is_none")] + pub scale_type: Option, +} +pub mod resource_sku_capacity { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum ScaleType { + #[serde(rename = "automatic")] + Automatic, + #[serde(rename = "manual")] + Manual, + #[serde(rename = "none")] + None, + } +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ResourceSku { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub name: Option, +} +pub mod resource_sku { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum Name { + Developer, + Standard, + Premium, + Basic, + Consumption, + Isolated, + } +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct CertificateInformation { + pub expiry: String, + pub thumbprint: String, + pub subject: String, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct CertificateConfiguration { + #[serde(rename = "encodedCertificate", default, skip_serializing_if = "Option::is_none")] + pub encoded_certificate: Option, + #[serde(rename = "certificatePassword", default, skip_serializing_if = "Option::is_none")] + pub certificate_password: Option, + #[serde(rename = "storeName")] + pub store_name: certificate_configuration::StoreName, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub certificate: Option, +} +pub mod certificate_configuration { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum StoreName { + CertificateAuthority, + Root, + } +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct HostnameConfiguration { + #[serde(rename = "type")] + pub type_: hostname_configuration::Type, + #[serde(rename = "hostName")] + pub host_name: String, + #[serde(rename = "keyVaultId", default, skip_serializing_if = "Option::is_none")] + pub key_vault_id: Option, + #[serde(rename = "identityClientId", default, skip_serializing_if = "Option::is_none")] + pub identity_client_id: Option, + #[serde(rename = "encodedCertificate", default, skip_serializing_if = "Option::is_none")] + pub encoded_certificate: Option, + #[serde(rename = "certificatePassword", default, skip_serializing_if = "Option::is_none")] + pub certificate_password: Option, + #[serde(rename = "defaultSslBinding", default, skip_serializing_if = "Option::is_none")] + pub default_ssl_binding: Option, + #[serde(rename = "negotiateClientCertificate", default, skip_serializing_if = "Option::is_none")] + pub negotiate_client_certificate: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub certificate: Option, + #[serde(rename = "certificateSource", default, skip_serializing_if = "Option::is_none")] + pub certificate_source: Option, + #[serde(rename = "certificateStatus", default, skip_serializing_if = "Option::is_none")] + pub certificate_status: Option, +} +pub mod hostname_configuration { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum Type { + Proxy, + Portal, + Management, + Scm, + DeveloperPortal, + } + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum CertificateSource { + Managed, + KeyVault, + Custom, + BuiltIn, + } + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum CertificateStatus { + Completed, + Failed, + InProgress, + } +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct VirtualNetworkConfiguration { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub vnetid: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub subnetname: Option, + #[serde(rename = "subnetResourceId", default, skip_serializing_if = "Option::is_none")] + pub subnet_resource_id: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct AdditionalLocation { + pub location: String, + pub sku: ApiManagementServiceSkuProperties, + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub zones: Vec, + #[serde(rename = "publicIPAddresses", default, skip_serializing_if = "Vec::is_empty")] + pub public_ip_addresses: Vec, + #[serde(rename = "privateIPAddresses", default, skip_serializing_if = "Vec::is_empty")] + pub private_ip_addresses: Vec, + #[serde(rename = "publicIpAddressId", default, skip_serializing_if = "Option::is_none")] + pub public_ip_address_id: Option, + #[serde(rename = "virtualNetworkConfiguration", default, skip_serializing_if = "Option::is_none")] + pub virtual_network_configuration: Option, + #[serde(rename = "gatewayRegionalUrl", default, skip_serializing_if = "Option::is_none")] + pub gateway_regional_url: Option, + #[serde(rename = "disableGateway", default, skip_serializing_if = "Option::is_none")] + pub disable_gateway: Option, + #[serde(rename = "platformVersion", default, skip_serializing_if = "Option::is_none")] + pub platform_version: Option, +} +pub mod additional_location { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum PlatformVersion { + #[serde(rename = "undetermined")] + Undetermined, + #[serde(rename = "stv1")] + Stv1, + #[serde(rename = "stv2")] + Stv2, + #[serde(rename = "mtv1")] + Mtv1, + } +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ApiManagementServiceBackupRestoreParameters { + #[serde(rename = "storageAccount")] + pub storage_account: String, + #[serde(rename = "containerName")] + pub container_name: String, + #[serde(rename = "backupName")] + pub backup_name: String, + #[serde(rename = "accessType", default, skip_serializing_if = "Option::is_none")] + pub access_type: Option, + #[serde(rename = "accessKey", default, skip_serializing_if = "Option::is_none")] + pub access_key: Option, + #[serde(rename = "clientId", default, skip_serializing_if = "Option::is_none")] + pub client_id: Option, +} +pub mod api_management_service_backup_restore_parameters { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum AccessType { + AccessKey, + SystemAssignedManagedIdentity, + UserAssignedManagedIdentity, + } +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ApiManagementServiceProperties { + #[serde(flatten)] + pub api_management_service_base_properties: ApiManagementServiceBaseProperties, + #[serde(rename = "publisherEmail")] + pub publisher_email: String, + #[serde(rename = "publisherName")] + pub publisher_name: String, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ApiManagementServiceUpdateProperties { + #[serde(flatten)] + pub api_management_service_base_properties: ApiManagementServiceBaseProperties, + #[serde(rename = "publisherEmail", default, skip_serializing_if = "Option::is_none")] + pub publisher_email: Option, + #[serde(rename = "publisherName", default, skip_serializing_if = "Option::is_none")] + pub publisher_name: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ApiManagementServiceBaseProperties { + #[serde(rename = "notificationSenderEmail", default, skip_serializing_if = "Option::is_none")] + pub notification_sender_email: Option, + #[serde(rename = "provisioningState", default, skip_serializing_if = "Option::is_none")] + pub provisioning_state: Option, + #[serde(rename = "targetProvisioningState", default, skip_serializing_if = "Option::is_none")] + pub target_provisioning_state: Option, + #[serde(rename = "createdAtUtc", default, skip_serializing_if = "Option::is_none")] + pub created_at_utc: Option, + #[serde(rename = "gatewayUrl", default, skip_serializing_if = "Option::is_none")] + pub gateway_url: Option, + #[serde(rename = "gatewayRegionalUrl", default, skip_serializing_if = "Option::is_none")] + pub gateway_regional_url: Option, + #[serde(rename = "portalUrl", default, skip_serializing_if = "Option::is_none")] + pub portal_url: Option, + #[serde(rename = "managementApiUrl", default, skip_serializing_if = "Option::is_none")] + pub management_api_url: Option, + #[serde(rename = "scmUrl", default, skip_serializing_if = "Option::is_none")] + pub scm_url: Option, + #[serde(rename = "developerPortalUrl", default, skip_serializing_if = "Option::is_none")] + pub developer_portal_url: Option, + #[serde(rename = "hostnameConfigurations", default, skip_serializing_if = "Vec::is_empty")] + pub hostname_configurations: Vec, + #[serde(rename = "publicIPAddresses", default, skip_serializing_if = "Vec::is_empty")] + pub public_ip_addresses: Vec, + #[serde(rename = "privateIPAddresses", default, skip_serializing_if = "Vec::is_empty")] + pub private_ip_addresses: Vec, + #[serde(rename = "publicIpAddressId", default, skip_serializing_if = "Option::is_none")] + pub public_ip_address_id: Option, + #[serde(rename = "publicNetworkAccess", default, skip_serializing_if = "Option::is_none")] + pub public_network_access: Option, + #[serde(rename = "virtualNetworkConfiguration", default, skip_serializing_if = "Option::is_none")] + pub virtual_network_configuration: Option, + #[serde(rename = "additionalLocations", default, skip_serializing_if = "Vec::is_empty")] + pub additional_locations: Vec, + #[serde(rename = "customProperties", default, skip_serializing_if = "Option::is_none")] + pub custom_properties: Option, + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub certificates: Vec, + #[serde(rename = "enableClientCertificate", default, skip_serializing_if = "Option::is_none")] + pub enable_client_certificate: Option, + #[serde(rename = "disableGateway", default, skip_serializing_if = "Option::is_none")] + pub disable_gateway: Option, + #[serde(rename = "virtualNetworkType", default, skip_serializing_if = "Option::is_none")] + pub virtual_network_type: Option, + #[serde(rename = "apiVersionConstraint", default, skip_serializing_if = "Option::is_none")] + pub api_version_constraint: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub restore: Option, + #[serde(rename = "privateEndpointConnections", default, skip_serializing_if = "Vec::is_empty")] + pub private_endpoint_connections: Vec, + #[serde(rename = "platformVersion", default, skip_serializing_if = "Option::is_none")] + pub platform_version: Option, +} +pub mod api_management_service_base_properties { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum PublicNetworkAccess { + Enabled, + Disabled, + } + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum VirtualNetworkType { + None, + External, + Internal, + } + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum PlatformVersion { + #[serde(rename = "undetermined")] + Undetermined, + #[serde(rename = "stv1")] + Stv1, + #[serde(rename = "stv2")] + Stv2, + #[serde(rename = "mtv1")] + Mtv1, + } +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ApiVersionConstraint { + #[serde(rename = "minApiVersion", default, skip_serializing_if = "Option::is_none")] + pub min_api_version: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ApiManagementServiceSkuProperties { + pub name: api_management_service_sku_properties::Name, + pub capacity: i32, +} +pub mod api_management_service_sku_properties { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum Name { + Developer, + Standard, + Premium, + Basic, + Consumption, + Isolated, + } +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ApiManagementServiceResource { + #[serde(flatten)] + pub apim_resource: ApimResource, + pub properties: ApiManagementServiceProperties, + pub sku: ApiManagementServiceSkuProperties, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub identity: Option, + #[serde(rename = "systemData", default, skip_serializing_if = "Option::is_none")] + pub system_data: Option, + pub location: String, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub etag: Option, + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub zones: Vec, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ApimResource { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub id: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub name: Option, + #[serde(rename = "type", default, skip_serializing_if = "Option::is_none")] + pub type_: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub tags: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ApiManagementServiceUpdateParameters { + #[serde(flatten)] + pub apim_resource: ApimResource, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub sku: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub identity: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub etag: Option, + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub zones: Vec, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ApiManagementServiceListResult { + pub value: Vec, + #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] + pub next_link: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ApiManagementServiceGetSsoTokenResult { + #[serde(rename = "redirectUri", default, skip_serializing_if = "Option::is_none")] + pub redirect_uri: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ApiManagementServiceCheckNameAvailabilityParameters { + pub name: String, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ApiManagementServiceNameAvailabilityResult { + #[serde(rename = "nameAvailable", default, skip_serializing_if = "Option::is_none")] + pub name_available: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub reason: Option, +} +pub mod api_management_service_name_availability_result { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum Reason { + Valid, + Invalid, + AlreadyExists, + } +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ApiManagementServiceGetDomainOwnershipIdentifierResult { + #[serde(rename = "domainOwnershipIdentifier", default, skip_serializing_if = "Option::is_none")] + pub domain_ownership_identifier: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ApiManagementServiceApplyNetworkConfigurationParameters { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub location: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ApiManagementServiceIdentity { + #[serde(rename = "type")] + pub type_: api_management_service_identity::Type, + #[serde(rename = "principalId", default, skip_serializing_if = "Option::is_none")] + pub principal_id: Option, + #[serde(rename = "tenantId", default, skip_serializing_if = "Option::is_none")] + pub tenant_id: Option, + #[serde(rename = "userAssignedIdentities", default, skip_serializing_if = "Option::is_none")] + pub user_assigned_identities: Option, +} +pub mod api_management_service_identity { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum Type { + SystemAssigned, + UserAssigned, + #[serde(rename = "SystemAssigned, UserAssigned")] + SystemAssignedUserAssigned, + None, + } +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct UserIdentityProperties { + #[serde(rename = "principalId", default, skip_serializing_if = "Option::is_none")] + pub principal_id: Option, + #[serde(rename = "clientId", default, skip_serializing_if = "Option::is_none")] + pub client_id: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct Operation { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub name: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub display: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub origin: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +pub mod operation { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub struct Display { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provider: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub operation: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub resource: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub description: Option, + } +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct OperationListResult { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub value: Vec, + #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] + pub next_link: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ConnectivityStatusContract { + pub name: String, + pub status: connectivity_status_contract::Status, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub error: Option, + #[serde(rename = "lastUpdated")] + pub last_updated: String, + #[serde(rename = "lastStatusChange")] + pub last_status_change: String, + #[serde(rename = "resourceType")] + pub resource_type: String, + #[serde(rename = "isOptional")] + pub is_optional: bool, +} +pub mod connectivity_status_contract { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum Status { + #[serde(rename = "initializing")] + Initializing, + #[serde(rename = "success")] + Success, + #[serde(rename = "failure")] + Failure, + } +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct NetworkStatusContractByLocation { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub location: Option, + #[serde(rename = "networkStatus", default, skip_serializing_if = "Option::is_none")] + pub network_status: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct NetworkStatusContract { + #[serde(rename = "dnsServers")] + pub dns_servers: Vec, + #[serde(rename = "connectivityStatus")] + pub connectivity_status: Vec, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct OutboundEnvironmentEndpointList { + pub value: Vec, + #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] + pub next_link: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct OutboundEnvironmentEndpoint { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub category: Option, + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub endpoints: Vec, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct EndpointDependency { + #[serde(rename = "domainName", default, skip_serializing_if = "Option::is_none")] + pub domain_name: Option, + #[serde(rename = "endpointDetails", default, skip_serializing_if = "Vec::is_empty")] + pub endpoint_details: Vec, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct EndpointDetail { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub port: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub region: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ApiManagementSkuCapacity { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub minimum: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub maximum: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub default: Option, + #[serde(rename = "scaleType", default, skip_serializing_if = "Option::is_none")] + pub scale_type: Option, +} +pub mod api_management_sku_capacity { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum ScaleType { + Automatic, + Manual, + None, + } +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ApiManagementSkuCosts { + #[serde(rename = "meterID", default, skip_serializing_if = "Option::is_none")] + pub meter_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub quantity: Option, + #[serde(rename = "extendedUnit", default, skip_serializing_if = "Option::is_none")] + pub extended_unit: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ApiManagementSkuCapabilities { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub name: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub value: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ApiManagementSkuZoneDetails { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub name: Vec, + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub capabilities: Vec, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ApiManagementSkuRestrictions { + #[serde(rename = "type", default, skip_serializing_if = "Option::is_none")] + pub type_: Option, + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub values: Vec, + #[serde(rename = "restrictionInfo", default, skip_serializing_if = "Option::is_none")] + pub restriction_info: Option, + #[serde(rename = "reasonCode", default, skip_serializing_if = "Option::is_none")] + pub reason_code: Option, +} +pub mod api_management_sku_restrictions { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum Type { + Location, + Zone, + } + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum ReasonCode { + QuotaId, + NotAvailableForSubscription, + } +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ApiManagementSku { + #[serde(rename = "resourceType", default, skip_serializing_if = "Option::is_none")] + pub resource_type: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub name: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub tier: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub size: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub family: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub capacity: Option, + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub locations: Vec, + #[serde(rename = "locationInfo", default, skip_serializing_if = "Vec::is_empty")] + pub location_info: Vec, + #[serde(rename = "apiVersions", default, skip_serializing_if = "Vec::is_empty")] + pub api_versions: Vec, + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub costs: Vec, + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub capabilities: Vec, + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub restrictions: Vec, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ApiManagementSkuLocationInfo { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub location: Option, + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub zones: Vec, + #[serde(rename = "zoneDetails", default, skip_serializing_if = "Vec::is_empty")] + pub zone_details: Vec, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ApiManagementSkuRestrictionInfo { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub locations: Vec, + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub zones: Vec, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct ApiManagementSkusResult { + pub value: Vec, + #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] + pub next_link: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct Resource { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub id: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub name: Option, + #[serde(rename = "type", default, skip_serializing_if = "Option::is_none")] + pub type_: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct PrivateLinkServiceConnectionState { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub status: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub description: Option, + #[serde(rename = "actionsRequired", default, skip_serializing_if = "Option::is_none")] + pub actions_required: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub enum PrivateEndpointServiceConnectionStatus { + Pending, + Approved, + Rejected, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct SystemData { + #[serde(rename = "createdBy", default, skip_serializing_if = "Option::is_none")] + pub created_by: Option, + #[serde(rename = "createdByType", default, skip_serializing_if = "Option::is_none")] + pub created_by_type: Option, + #[serde(rename = "createdAt", default, skip_serializing_if = "Option::is_none")] + pub created_at: Option, + #[serde(rename = "lastModifiedBy", default, skip_serializing_if = "Option::is_none")] + pub last_modified_by: Option, + #[serde(rename = "lastModifiedByType", default, skip_serializing_if = "Option::is_none")] + pub last_modified_by_type: Option, + #[serde(rename = "lastModifiedAt", default, skip_serializing_if = "Option::is_none")] + pub last_modified_at: Option, +} +pub mod system_data { + use super::*; + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum CreatedByType { + User, + Application, + ManagedIdentity, + Key, + } + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] + pub enum LastModifiedByType { + User, + Application, + ManagedIdentity, + Key, + } +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct PrivateEndpointConnectionListResult { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub value: Vec, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct PrivateEndpointConnection { + #[serde(flatten)] + pub resource: Resource, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct PrivateEndpointConnectionProperties { + #[serde(rename = "privateEndpoint", default, skip_serializing_if = "Option::is_none")] + pub private_endpoint: Option, + #[serde(rename = "privateLinkServiceConnectionState")] + pub private_link_service_connection_state: PrivateLinkServiceConnectionState, + #[serde(rename = "provisioningState", default, skip_serializing_if = "Option::is_none")] + pub provisioning_state: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct PrivateEndpoint { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub id: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub enum PrivateEndpointConnectionProvisioningState { + Succeeded, + Creating, + Deleting, + Failed, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct PrivateLinkResourceListResult { + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub value: Vec, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct PrivateLinkResource { + #[serde(flatten)] + pub resource: Resource, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, +} +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +pub struct PrivateLinkResourceProperties { + #[serde(rename = "groupId", default, skip_serializing_if = "Option::is_none")] + pub group_id: Option, + #[serde(rename = "requiredMembers", default, skip_serializing_if = "Vec::is_empty")] + pub required_members: Vec, + #[serde(rename = "requiredZoneNames", default, skip_serializing_if = "Vec::is_empty")] + pub required_zone_names: Vec, +} diff --git a/services/mgmt/apimanagement/src/package_2021_08/operations.rs b/services/mgmt/apimanagement/src/package_2021_08/operations.rs new file mode 100644 index 0000000000..53aa7fa036 --- /dev/null +++ b/services/mgmt/apimanagement/src/package_2021_08/operations.rs @@ -0,0 +1,20951 @@ +#![doc = "generated by AutoRust 0.1.0"] +#![allow(unused_mut)] +#![allow(unused_variables)] +#![allow(unused_imports)] +use super::{models, models::*}; +pub mod api_export { + use super::{models, models::*}; + pub async fn get( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + api_id: &str, + format: &str, + export: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/apis/{}?export=true", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + api_id + ); + let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + url.query_pairs_mut().append_pair("format", format); + url.query_pairs_mut().append_pair("export", export); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: ApiExportResult = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod api { + use super::{models, models::*}; + pub async fn list_by_tags( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + filter: Option<&str>, + top: Option, + skip: Option, + include_not_tagged_apis: Option, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/apisByTags", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(list_by_tags::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_tags::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + if let Some(filter) = filter { + url.query_pairs_mut().append_pair("$filter", filter); + } + if let Some(top) = top { + url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); + } + if let Some(skip) = skip { + url.query_pairs_mut().append_pair("$skip", skip.to_string().as_str()); + } + if let Some(include_not_tagged_apis) = include_not_tagged_apis { + url.query_pairs_mut() + .append_pair("includeNotTaggedApis", include_not_tagged_apis.to_string().as_str()); + } + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_tags::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_tags::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: TagResourceCollection = + serde_json::from_slice(rsp_body).map_err(|source| list_by_tags::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| list_by_tags::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_tags::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_tags { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod api_version_set { + use super::{models, models::*}; + pub async fn list_by_service( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + filter: Option<&str>, + top: Option, + skip: Option, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/apiVersionSets", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(list_by_service::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_service::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + if let Some(filter) = filter { + url.query_pairs_mut().append_pair("$filter", filter); + } + if let Some(top) = top { + url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); + } + if let Some(skip) = skip { + url.query_pairs_mut().append_pair("$skip", skip.to_string().as_str()); + } + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_service::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_service::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: ApiVersionSetCollection = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_service::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_service { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + version_set_id: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/apiVersionSets/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + version_set_id + ); + let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: ApiVersionSetContract = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn create_or_update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + version_set_id: &str, + parameters: &ApiVersionSetContract, + if_match: Option<&str>, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/apiVersionSets/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + version_set_id + ); + let mut url = url::Url::parse(url_str).map_err(create_or_update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PUT); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(create_or_update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(create_or_update::Error::SerializeError)?; + if let Some(if_match) = if_match { + req_builder = req_builder.header("If-Match", if_match); + } + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(create_or_update::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(create_or_update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::CREATED => { + let rsp_body = rsp.body(); + let rsp_value: ApiVersionSetContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Created201(rsp_value)) + } + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: ApiVersionSetContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Ok200(rsp_value)) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(create_or_update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod create_or_update { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Created201(ApiVersionSetContract), + Ok200(ApiVersionSetContract), + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + version_set_id: &str, + parameters: &ApiVersionSetUpdateParameters, + if_match: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/apiVersionSets/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + version_set_id + ); + let mut url = url::Url::parse(url_str).map_err(update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PATCH); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(update::Error::SerializeError)?; + req_builder = req_builder.header("If-Match", if_match); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(update::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: ApiVersionSetContract = + serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod update { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn delete( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + version_set_id: &str, + if_match: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/apiVersionSets/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + version_set_id + ); + let mut url = url::Url::parse(url_str).map_err(delete::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::DELETE); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(delete::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("If-Match", if_match); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(delete::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(delete::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(delete::Response::Ok200), + http::StatusCode::NO_CONTENT => Ok(delete::Response::NoContent204), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| delete::Error::DeserializeError(source, rsp_body.clone()))?; + Err(delete::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod delete { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Ok200, + NoContent204, + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get_entity_tag( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + version_set_id: &str, + subscription_id: &str, + ) -> std::result::Result<(), get_entity_tag::Error> { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/apiVersionSets/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + version_set_id + ); + let mut url = url::Url::parse(url_str).map_err(get_entity_tag::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::HEAD); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get_entity_tag::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get_entity_tag::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(get_entity_tag::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(()), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get_entity_tag::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get_entity_tag::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get_entity_tag { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod authorization_server { + use super::{models, models::*}; + pub async fn list_by_service( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + filter: Option<&str>, + top: Option, + skip: Option, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/authorizationServers", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(list_by_service::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_service::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + if let Some(filter) = filter { + url.query_pairs_mut().append_pair("$filter", filter); + } + if let Some(top) = top { + url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); + } + if let Some(skip) = skip { + url.query_pairs_mut().append_pair("$skip", skip.to_string().as_str()); + } + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_service::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_service::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: AuthorizationServerCollection = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_service::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_service { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + authsid: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/authorizationServers/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + authsid + ); + let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: AuthorizationServerContract = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn create_or_update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + authsid: &str, + parameters: &AuthorizationServerContract, + if_match: Option<&str>, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/authorizationServers/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + authsid + ); + let mut url = url::Url::parse(url_str).map_err(create_or_update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PUT); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(create_or_update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(create_or_update::Error::SerializeError)?; + if let Some(if_match) = if_match { + req_builder = req_builder.header("If-Match", if_match); + } + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(create_or_update::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(create_or_update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::CREATED => { + let rsp_body = rsp.body(); + let rsp_value: AuthorizationServerContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Created201(rsp_value)) + } + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: AuthorizationServerContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Ok200(rsp_value)) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(create_or_update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod create_or_update { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Created201(AuthorizationServerContract), + Ok200(AuthorizationServerContract), + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + authsid: &str, + parameters: &AuthorizationServerUpdateContract, + if_match: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/authorizationServers/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + authsid + ); + let mut url = url::Url::parse(url_str).map_err(update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PATCH); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(update::Error::SerializeError)?; + req_builder = req_builder.header("If-Match", if_match); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(update::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: AuthorizationServerContract = + serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod update { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn delete( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + authsid: &str, + if_match: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/authorizationServers/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + authsid + ); + let mut url = url::Url::parse(url_str).map_err(delete::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::DELETE); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(delete::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("If-Match", if_match); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(delete::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(delete::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(delete::Response::Ok200), + http::StatusCode::NO_CONTENT => Ok(delete::Response::NoContent204), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| delete::Error::DeserializeError(source, rsp_body.clone()))?; + Err(delete::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod delete { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Ok200, + NoContent204, + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get_entity_tag( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + authsid: &str, + subscription_id: &str, + ) -> std::result::Result<(), get_entity_tag::Error> { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/authorizationServers/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + authsid + ); + let mut url = url::Url::parse(url_str).map_err(get_entity_tag::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::HEAD); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get_entity_tag::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get_entity_tag::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(get_entity_tag::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(()), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get_entity_tag::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get_entity_tag::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get_entity_tag { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn list_secrets( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + authsid: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/authorizationServers/{}/listSecrets", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + authsid + ); + let mut url = url::Url::parse(url_str).map_err(list_secrets::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::POST); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_secrets::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.header(http::header::CONTENT_LENGTH, 0); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_secrets::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_secrets::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: AuthorizationServerSecretsContract = + serde_json::from_slice(rsp_body).map_err(|source| list_secrets::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| list_secrets::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_secrets::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_secrets { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod backend { + use super::{models, models::*}; + pub async fn list_by_service( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + filter: Option<&str>, + top: Option, + skip: Option, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/backends", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(list_by_service::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_service::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + if let Some(filter) = filter { + url.query_pairs_mut().append_pair("$filter", filter); + } + if let Some(top) = top { + url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); + } + if let Some(skip) = skip { + url.query_pairs_mut().append_pair("$skip", skip.to_string().as_str()); + } + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_service::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_service::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: BackendCollection = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_service::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_service { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + backend_id: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/backends/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + backend_id + ); + let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: BackendContract = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn create_or_update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + backend_id: &str, + parameters: &BackendContract, + if_match: Option<&str>, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/backends/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + backend_id + ); + let mut url = url::Url::parse(url_str).map_err(create_or_update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PUT); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(create_or_update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(create_or_update::Error::SerializeError)?; + if let Some(if_match) = if_match { + req_builder = req_builder.header("If-Match", if_match); + } + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(create_or_update::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(create_or_update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::CREATED => { + let rsp_body = rsp.body(); + let rsp_value: BackendContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Created201(rsp_value)) + } + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: BackendContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Ok200(rsp_value)) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(create_or_update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod create_or_update { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Created201(BackendContract), + Ok200(BackendContract), + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + backend_id: &str, + parameters: &BackendUpdateParameters, + if_match: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/backends/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + backend_id + ); + let mut url = url::Url::parse(url_str).map_err(update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PATCH); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(update::Error::SerializeError)?; + req_builder = req_builder.header("If-Match", if_match); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(update::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: BackendContract = + serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod update { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn delete( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + backend_id: &str, + if_match: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/backends/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + backend_id + ); + let mut url = url::Url::parse(url_str).map_err(delete::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::DELETE); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(delete::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("If-Match", if_match); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(delete::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(delete::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(delete::Response::Ok200), + http::StatusCode::NO_CONTENT => Ok(delete::Response::NoContent204), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| delete::Error::DeserializeError(source, rsp_body.clone()))?; + Err(delete::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod delete { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Ok200, + NoContent204, + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get_entity_tag( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + backend_id: &str, + subscription_id: &str, + ) -> std::result::Result<(), get_entity_tag::Error> { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/backends/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + backend_id + ); + let mut url = url::Url::parse(url_str).map_err(get_entity_tag::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::HEAD); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get_entity_tag::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get_entity_tag::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(get_entity_tag::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(()), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get_entity_tag::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get_entity_tag::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get_entity_tag { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn reconnect( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + backend_id: &str, + parameters: Option<&BackendReconnectContract>, + subscription_id: &str, + ) -> std::result::Result<(), reconnect::Error> { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/backends/{}/reconnect", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + backend_id + ); + let mut url = url::Url::parse(url_str).map_err(reconnect::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::POST); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(reconnect::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = if let Some(parameters) = parameters { + req_builder = req_builder.header("content-type", "application/json"); + azure_core::to_json(parameters).map_err(reconnect::Error::SerializeError)? + } else { + bytes::Bytes::from_static(azure_core::EMPTY_BODY) + }; + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(reconnect::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(reconnect::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::ACCEPTED => Ok(()), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| reconnect::Error::DeserializeError(source, rsp_body.clone()))?; + Err(reconnect::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod reconnect { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod cache { + use super::{models, models::*}; + pub async fn list_by_service( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + top: Option, + skip: Option, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/caches", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(list_by_service::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_service::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + if let Some(top) = top { + url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); + } + if let Some(skip) = skip { + url.query_pairs_mut().append_pair("$skip", skip.to_string().as_str()); + } + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_service::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_service::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: CacheCollection = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_service::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_service { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + cache_id: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/caches/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + cache_id + ); + let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: CacheContract = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn create_or_update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + cache_id: &str, + parameters: &CacheContract, + if_match: Option<&str>, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/caches/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + cache_id + ); + let mut url = url::Url::parse(url_str).map_err(create_or_update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PUT); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(create_or_update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(create_or_update::Error::SerializeError)?; + if let Some(if_match) = if_match { + req_builder = req_builder.header("If-Match", if_match); + } + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(create_or_update::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(create_or_update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::CREATED => { + let rsp_body = rsp.body(); + let rsp_value: CacheContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Created201(rsp_value)) + } + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: CacheContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Ok200(rsp_value)) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(create_or_update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod create_or_update { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Created201(CacheContract), + Ok200(CacheContract), + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + cache_id: &str, + parameters: &CacheUpdateParameters, + if_match: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/caches/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + cache_id + ); + let mut url = url::Url::parse(url_str).map_err(update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PATCH); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(update::Error::SerializeError)?; + req_builder = req_builder.header("If-Match", if_match); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(update::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: CacheContract = + serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod update { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn delete( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + cache_id: &str, + if_match: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/caches/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + cache_id + ); + let mut url = url::Url::parse(url_str).map_err(delete::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::DELETE); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(delete::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("If-Match", if_match); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(delete::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(delete::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(delete::Response::Ok200), + http::StatusCode::NO_CONTENT => Ok(delete::Response::NoContent204), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| delete::Error::DeserializeError(source, rsp_body.clone()))?; + Err(delete::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod delete { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Ok200, + NoContent204, + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get_entity_tag( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + cache_id: &str, + subscription_id: &str, + ) -> std::result::Result<(), get_entity_tag::Error> { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/caches/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + cache_id + ); + let mut url = url::Url::parse(url_str).map_err(get_entity_tag::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::HEAD); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get_entity_tag::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get_entity_tag::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(get_entity_tag::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(()), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get_entity_tag::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get_entity_tag::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get_entity_tag { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod certificate { + use super::{models, models::*}; + pub async fn list_by_service( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + filter: Option<&str>, + top: Option, + skip: Option, + is_key_vault_refresh_failed: Option, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/certificates", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(list_by_service::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_service::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + if let Some(filter) = filter { + url.query_pairs_mut().append_pair("$filter", filter); + } + if let Some(top) = top { + url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); + } + if let Some(skip) = skip { + url.query_pairs_mut().append_pair("$skip", skip.to_string().as_str()); + } + if let Some(is_key_vault_refresh_failed) = is_key_vault_refresh_failed { + url.query_pairs_mut() + .append_pair("isKeyVaultRefreshFailed", is_key_vault_refresh_failed.to_string().as_str()); + } + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_service::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_service::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: CertificateCollection = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_service::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_service { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + certificate_id: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/certificates/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + certificate_id + ); + let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: CertificateContract = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn create_or_update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + certificate_id: &str, + parameters: &CertificateCreateOrUpdateParameters, + if_match: Option<&str>, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/certificates/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + certificate_id + ); + let mut url = url::Url::parse(url_str).map_err(create_or_update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PUT); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(create_or_update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(create_or_update::Error::SerializeError)?; + if let Some(if_match) = if_match { + req_builder = req_builder.header("If-Match", if_match); + } + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(create_or_update::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(create_or_update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::CREATED => { + let rsp_body = rsp.body(); + let rsp_value: CertificateContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Created201(rsp_value)) + } + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: CertificateContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Ok200(rsp_value)) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(create_or_update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod create_or_update { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Created201(CertificateContract), + Ok200(CertificateContract), + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn delete( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + certificate_id: &str, + if_match: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/certificates/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + certificate_id + ); + let mut url = url::Url::parse(url_str).map_err(delete::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::DELETE); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(delete::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("If-Match", if_match); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(delete::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(delete::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(delete::Response::Ok200), + http::StatusCode::NO_CONTENT => Ok(delete::Response::NoContent204), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| delete::Error::DeserializeError(source, rsp_body.clone()))?; + Err(delete::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod delete { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Ok200, + NoContent204, + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get_entity_tag( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + certificate_id: &str, + subscription_id: &str, + ) -> std::result::Result<(), get_entity_tag::Error> { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/certificates/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + certificate_id + ); + let mut url = url::Url::parse(url_str).map_err(get_entity_tag::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::HEAD); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get_entity_tag::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get_entity_tag::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(get_entity_tag::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(()), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get_entity_tag::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get_entity_tag::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get_entity_tag { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn refresh_secret( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + certificate_id: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/certificates/{}/refreshSecret", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + certificate_id + ); + let mut url = url::Url::parse(url_str).map_err(refresh_secret::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::POST); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(refresh_secret::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.header(http::header::CONTENT_LENGTH, 0); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(refresh_secret::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(refresh_secret::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: CertificateContract = + serde_json::from_slice(rsp_body).map_err(|source| refresh_secret::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| refresh_secret::Error::DeserializeError(source, rsp_body.clone()))?; + Err(refresh_secret::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod refresh_secret { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub async fn perform_connectivity_check_async( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + subscription_id: &str, + connectivity_check_request_params: &ConnectivityCheckRequest, +) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/connectivityCheck", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(perform_connectivity_check_async::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::POST); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(perform_connectivity_check_async::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = + azure_core::to_json(connectivity_check_request_params).map_err(perform_connectivity_check_async::Error::SerializeError)?; + req_builder = req_builder.uri(url.as_str()); + let req = req_builder + .body(req_body) + .map_err(perform_connectivity_check_async::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(perform_connectivity_check_async::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::ACCEPTED => Ok(perform_connectivity_check_async::Response::Accepted202), + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: ConnectivityCheckResponse = serde_json::from_slice(rsp_body) + .map_err(|source| perform_connectivity_check_async::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(perform_connectivity_check_async::Response::Ok200(rsp_value)) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| perform_connectivity_check_async::Error::DeserializeError(source, rsp_body.clone()))?; + Err(perform_connectivity_check_async::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } +} +pub mod perform_connectivity_check_async { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Accepted202, + Ok200(ConnectivityCheckResponse), + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } +} +pub mod content_type { + use super::{models, models::*}; + pub async fn list_by_service( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/contentTypes", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(list_by_service::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_service::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_service::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_service::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: ContentTypeCollection = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_service::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_service { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + content_type_id: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/contentTypes/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + content_type_id + ); + let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: ContentTypeContract = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn create_or_update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + content_type_id: &str, + if_match: Option<&str>, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/contentTypes/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + content_type_id + ); + let mut url = url::Url::parse(url_str).map_err(create_or_update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PUT); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(create_or_update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + if let Some(if_match) = if_match { + req_builder = req_builder.header("If-Match", if_match); + } + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(create_or_update::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(create_or_update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::CREATED => { + let rsp_body = rsp.body(); + let rsp_value: ContentTypeContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Created201(rsp_value)) + } + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: ContentTypeContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Ok200(rsp_value)) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(create_or_update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod create_or_update { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Created201(ContentTypeContract), + Ok200(ContentTypeContract), + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn delete( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + content_type_id: &str, + if_match: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/contentTypes/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + content_type_id + ); + let mut url = url::Url::parse(url_str).map_err(delete::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::DELETE); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(delete::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("If-Match", if_match); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(delete::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(delete::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(delete::Response::Ok200), + http::StatusCode::NO_CONTENT => Ok(delete::Response::NoContent204), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| delete::Error::DeserializeError(source, rsp_body.clone()))?; + Err(delete::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod delete { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Ok200, + NoContent204, + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod content_item { + use super::{models, models::*}; + pub async fn list_by_service( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + content_type_id: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/contentTypes/{}/contentItems", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + content_type_id + ); + let mut url = url::Url::parse(url_str).map_err(list_by_service::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_service::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_service::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_service::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: ContentItemCollection = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_service::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_service { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + content_type_id: &str, + content_item_id: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/contentTypes/{}/contentItems/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + content_type_id, + content_item_id + ); + let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: ContentItemContract = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn create_or_update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + content_type_id: &str, + content_item_id: &str, + if_match: Option<&str>, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/contentTypes/{}/contentItems/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + content_type_id, + content_item_id + ); + let mut url = url::Url::parse(url_str).map_err(create_or_update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PUT); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(create_or_update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + if let Some(if_match) = if_match { + req_builder = req_builder.header("If-Match", if_match); + } + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(create_or_update::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(create_or_update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::CREATED => { + let rsp_body = rsp.body(); + let rsp_value: ContentItemContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Created201(rsp_value)) + } + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: ContentItemContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Ok200(rsp_value)) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(create_or_update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod create_or_update { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Created201(ContentItemContract), + Ok200(ContentItemContract), + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn delete( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + content_type_id: &str, + content_item_id: &str, + if_match: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/contentTypes/{}/contentItems/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + content_type_id, + content_item_id + ); + let mut url = url::Url::parse(url_str).map_err(delete::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::DELETE); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(delete::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("If-Match", if_match); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(delete::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(delete::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(delete::Response::Ok200), + http::StatusCode::NO_CONTENT => Ok(delete::Response::NoContent204), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| delete::Error::DeserializeError(source, rsp_body.clone()))?; + Err(delete::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod delete { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Ok200, + NoContent204, + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get_entity_tag( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + content_type_id: &str, + content_item_id: &str, + subscription_id: &str, + ) -> std::result::Result<(), get_entity_tag::Error> { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/contentTypes/{}/contentItems/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + content_type_id, + content_item_id + ); + let mut url = url::Url::parse(url_str).map_err(get_entity_tag::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::HEAD); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get_entity_tag::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get_entity_tag::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(get_entity_tag::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(()), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get_entity_tag::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get_entity_tag::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get_entity_tag { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod deleted_services { + use super::{models, models::*}; + pub async fn list_by_subscription( + operation_config: &crate::OperationConfig, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/providers/Microsoft.ApiManagement/deletedservices", + operation_config.base_path(), + subscription_id + ); + let mut url = url::Url::parse(url_str).map_err(list_by_subscription::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_subscription::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_subscription::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_subscription::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: DeletedServicesCollection = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_subscription::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_subscription::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_subscription::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_subscription { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get_by_name( + operation_config: &crate::OperationConfig, + service_name: &str, + subscription_id: &str, + location: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/providers/Microsoft.ApiManagement/locations/{}/deletedservices/{}", + operation_config.base_path(), + subscription_id, + location, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(get_by_name::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get_by_name::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get_by_name::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(get_by_name::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: DeletedServiceContract = + serde_json::from_slice(rsp_body).map_err(|source| get_by_name::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get_by_name::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get_by_name::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get_by_name { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn purge( + operation_config: &crate::OperationConfig, + service_name: &str, + subscription_id: &str, + location: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/providers/Microsoft.ApiManagement/locations/{}/deletedservices/{}", + operation_config.base_path(), + subscription_id, + location, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(purge::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::DELETE); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(purge::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(purge::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(purge::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(purge::Response::Ok200), + http::StatusCode::ACCEPTED => { + let rsp_body = rsp.body(); + let rsp_value: DeletedServiceContract = + serde_json::from_slice(rsp_body).map_err(|source| purge::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(purge::Response::Accepted202(rsp_value)) + } + http::StatusCode::NO_CONTENT => Ok(purge::Response::NoContent204), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| purge::Error::DeserializeError(source, rsp_body.clone()))?; + Err(purge::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod purge { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Ok200, + Accepted202(DeletedServiceContract), + NoContent204, + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod api_management_operations { + use super::{models, models::*}; + pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!("{}/providers/Microsoft.ApiManagement/operations", operation_config.base_path(),); + let mut url = url::Url::parse(url_str).map_err(list::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(list::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: OperationListResult = + serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod api_management_service_skus { + use super::{models, models::*}; + pub async fn list_available_service_skus( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/skus", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(list_available_service_skus::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_available_service_skus::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder + .body(req_body) + .map_err(list_available_service_skus::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_available_service_skus::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: ResourceSkuResults = serde_json::from_slice(rsp_body) + .map_err(|source| list_available_service_skus::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| list_available_service_skus::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_available_service_skus::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_available_service_skus { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod api_management_service { + use super::{models, models::*}; + pub async fn restore( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + parameters: &ApiManagementServiceBackupRestoreParameters, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/restore", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(restore::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::POST); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(restore::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(restore::Error::SerializeError)?; + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(restore::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(restore::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: ApiManagementServiceResource = + serde_json::from_slice(rsp_body).map_err(|source| restore::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(restore::Response::Ok200(rsp_value)) + } + http::StatusCode::ACCEPTED => Ok(restore::Response::Accepted202), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| restore::Error::DeserializeError(source, rsp_body.clone()))?; + Err(restore::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod restore { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Ok200(ApiManagementServiceResource), + Accepted202, + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn backup( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + parameters: &ApiManagementServiceBackupRestoreParameters, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/backup", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(backup::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::POST); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(backup::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(backup::Error::SerializeError)?; + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(backup::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(backup::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: ApiManagementServiceResource = + serde_json::from_slice(rsp_body).map_err(|source| backup::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(backup::Response::Ok200(rsp_value)) + } + http::StatusCode::ACCEPTED => Ok(backup::Response::Accepted202), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| backup::Error::DeserializeError(source, rsp_body.clone()))?; + Err(backup::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod backup { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Ok200(ApiManagementServiceResource), + Accepted202, + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: ApiManagementServiceResource = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn create_or_update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + parameters: &ApiManagementServiceResource, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(create_or_update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PUT); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(create_or_update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(create_or_update::Error::SerializeError)?; + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(create_or_update::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(create_or_update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: ApiManagementServiceResource = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Ok200(rsp_value)) + } + http::StatusCode::CREATED => { + let rsp_body = rsp.body(); + let rsp_value: ApiManagementServiceResource = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Created201(rsp_value)) + } + http::StatusCode::ACCEPTED => Ok(create_or_update::Response::Accepted202), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(create_or_update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod create_or_update { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Ok200(ApiManagementServiceResource), + Created201(ApiManagementServiceResource), + Accepted202, + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + parameters: &ApiManagementServiceUpdateParameters, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PATCH); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(update::Error::SerializeError)?; + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(update::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: ApiManagementServiceResource = + serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(update::Response::Ok200(rsp_value)) + } + http::StatusCode::ACCEPTED => Ok(update::Response::Accepted202), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod update { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Ok200(ApiManagementServiceResource), + Accepted202, + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn delete( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(delete::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::DELETE); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(delete::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(delete::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(delete::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(delete::Response::Ok200), + http::StatusCode::ACCEPTED => { + let rsp_body = rsp.body(); + let rsp_value: ApiManagementServiceResource = + serde_json::from_slice(rsp_body).map_err(|source| delete::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(delete::Response::Accepted202(rsp_value)) + } + http::StatusCode::NO_CONTENT => Ok(delete::Response::NoContent204), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| delete::Error::DeserializeError(source, rsp_body.clone()))?; + Err(delete::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod delete { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Ok200, + Accepted202(ApiManagementServiceResource), + NoContent204, + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn list_by_resource_group( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service", + operation_config.base_path(), + subscription_id, + resource_group_name + ); + let mut url = url::Url::parse(url_str).map_err(list_by_resource_group::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_resource_group::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder + .body(req_body) + .map_err(list_by_resource_group::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_resource_group::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: ApiManagementServiceListResult = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_resource_group::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_resource_group::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_resource_group::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_resource_group { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn list( + operation_config: &crate::OperationConfig, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/providers/Microsoft.ApiManagement/service", + operation_config.base_path(), + subscription_id + ); + let mut url = url::Url::parse(url_str).map_err(list::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(list::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: ApiManagementServiceListResult = + serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get_sso_token( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/getssotoken", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(get_sso_token::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::POST); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get_sso_token::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.header(http::header::CONTENT_LENGTH, 0); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get_sso_token::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(get_sso_token::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: ApiManagementServiceGetSsoTokenResult = + serde_json::from_slice(rsp_body).map_err(|source| get_sso_token::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get_sso_token::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get_sso_token::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get_sso_token { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn check_name_availability( + operation_config: &crate::OperationConfig, + parameters: &ApiManagementServiceCheckNameAvailabilityParameters, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/providers/Microsoft.ApiManagement/checkNameAvailability", + operation_config.base_path(), + subscription_id + ); + let mut url = url::Url::parse(url_str).map_err(check_name_availability::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::POST); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(check_name_availability::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(check_name_availability::Error::SerializeError)?; + req_builder = req_builder.uri(url.as_str()); + let req = req_builder + .body(req_body) + .map_err(check_name_availability::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(check_name_availability::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: ApiManagementServiceNameAvailabilityResult = serde_json::from_slice(rsp_body) + .map_err(|source| check_name_availability::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| check_name_availability::Error::DeserializeError(source, rsp_body.clone()))?; + Err(check_name_availability::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod check_name_availability { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get_domain_ownership_identifier( + operation_config: &crate::OperationConfig, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/providers/Microsoft.ApiManagement/getDomainOwnershipIdentifier", + operation_config.base_path(), + subscription_id + ); + let mut url = url::Url::parse(url_str).map_err(get_domain_ownership_identifier::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::POST); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get_domain_ownership_identifier::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.header(http::header::CONTENT_LENGTH, 0); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder + .body(req_body) + .map_err(get_domain_ownership_identifier::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(get_domain_ownership_identifier::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: ApiManagementServiceGetDomainOwnershipIdentifierResult = serde_json::from_slice(rsp_body) + .map_err(|source| get_domain_ownership_identifier::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| get_domain_ownership_identifier::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get_domain_ownership_identifier::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get_domain_ownership_identifier { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn apply_network_configuration_updates( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + parameters: Option<&ApiManagementServiceApplyNetworkConfigurationParameters>, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/applynetworkconfigurationupdates", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(apply_network_configuration_updates::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::POST); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(apply_network_configuration_updates::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = if let Some(parameters) = parameters { + req_builder = req_builder.header("content-type", "application/json"); + azure_core::to_json(parameters).map_err(apply_network_configuration_updates::Error::SerializeError)? + } else { + bytes::Bytes::from_static(azure_core::EMPTY_BODY) + }; + req_builder = req_builder.uri(url.as_str()); + let req = req_builder + .body(req_body) + .map_err(apply_network_configuration_updates::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(apply_network_configuration_updates::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::ACCEPTED => Ok(apply_network_configuration_updates::Response::Accepted202), + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: ApiManagementServiceResource = serde_json::from_slice(rsp_body) + .map_err(|source| apply_network_configuration_updates::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(apply_network_configuration_updates::Response::Ok200(rsp_value)) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| apply_network_configuration_updates::Error::DeserializeError(source, rsp_body.clone()))?; + Err(apply_network_configuration_updates::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod apply_network_configuration_updates { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Accepted202, + Ok200(ApiManagementServiceResource), + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod diagnostic { + use super::{models, models::*}; + pub async fn list_by_service( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + filter: Option<&str>, + top: Option, + skip: Option, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/diagnostics", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(list_by_service::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_service::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + if let Some(filter) = filter { + url.query_pairs_mut().append_pair("$filter", filter); + } + if let Some(top) = top { + url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); + } + if let Some(skip) = skip { + url.query_pairs_mut().append_pair("$skip", skip.to_string().as_str()); + } + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_service::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_service::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: DiagnosticCollection = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_service::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_service { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + diagnostic_id: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/diagnostics/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + diagnostic_id + ); + let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: DiagnosticContract = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn create_or_update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + diagnostic_id: &str, + parameters: &DiagnosticContract, + if_match: Option<&str>, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/diagnostics/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + diagnostic_id + ); + let mut url = url::Url::parse(url_str).map_err(create_or_update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PUT); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(create_or_update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(create_or_update::Error::SerializeError)?; + if let Some(if_match) = if_match { + req_builder = req_builder.header("If-Match", if_match); + } + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(create_or_update::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(create_or_update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::CREATED => { + let rsp_body = rsp.body(); + let rsp_value: DiagnosticContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Created201(rsp_value)) + } + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: DiagnosticContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Ok200(rsp_value)) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(create_or_update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod create_or_update { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Created201(DiagnosticContract), + Ok200(DiagnosticContract), + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + diagnostic_id: &str, + parameters: &DiagnosticContract, + if_match: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/diagnostics/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + diagnostic_id + ); + let mut url = url::Url::parse(url_str).map_err(update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PATCH); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(update::Error::SerializeError)?; + req_builder = req_builder.header("If-Match", if_match); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(update::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: DiagnosticContract = + serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod update { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn delete( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + diagnostic_id: &str, + if_match: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/diagnostics/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + diagnostic_id + ); + let mut url = url::Url::parse(url_str).map_err(delete::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::DELETE); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(delete::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("If-Match", if_match); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(delete::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(delete::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(delete::Response::Ok200), + http::StatusCode::NO_CONTENT => Ok(delete::Response::NoContent204), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| delete::Error::DeserializeError(source, rsp_body.clone()))?; + Err(delete::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod delete { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Ok200, + NoContent204, + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get_entity_tag( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + diagnostic_id: &str, + subscription_id: &str, + ) -> std::result::Result<(), get_entity_tag::Error> { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/diagnostics/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + diagnostic_id + ); + let mut url = url::Url::parse(url_str).map_err(get_entity_tag::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::HEAD); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get_entity_tag::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get_entity_tag::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(get_entity_tag::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(()), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get_entity_tag::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get_entity_tag::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get_entity_tag { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod email_template { + use super::{models, models::*}; + pub async fn list_by_service( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + filter: Option<&str>, + top: Option, + skip: Option, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/templates", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(list_by_service::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_service::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + if let Some(filter) = filter { + url.query_pairs_mut().append_pair("$filter", filter); + } + if let Some(top) = top { + url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); + } + if let Some(skip) = skip { + url.query_pairs_mut().append_pair("$skip", skip.to_string().as_str()); + } + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_service::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_service::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: EmailTemplateCollection = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_service::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_service { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + template_name: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/templates/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + template_name + ); + let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: EmailTemplateContract = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn create_or_update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + template_name: &str, + parameters: &EmailTemplateUpdateParameters, + if_match: Option<&str>, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/templates/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + template_name + ); + let mut url = url::Url::parse(url_str).map_err(create_or_update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PUT); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(create_or_update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(create_or_update::Error::SerializeError)?; + if let Some(if_match) = if_match { + req_builder = req_builder.header("If-Match", if_match); + } + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(create_or_update::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(create_or_update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::CREATED => { + let rsp_body = rsp.body(); + let rsp_value: EmailTemplateContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Created201(rsp_value)) + } + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: EmailTemplateContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Ok200(rsp_value)) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(create_or_update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod create_or_update { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Created201(EmailTemplateContract), + Ok200(EmailTemplateContract), + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + template_name: &str, + if_match: &str, + parameters: &EmailTemplateUpdateParameters, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/templates/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + template_name + ); + let mut url = url::Url::parse(url_str).map_err(update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PATCH); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("If-Match", if_match); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(update::Error::SerializeError)?; + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(update::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: EmailTemplateContract = + serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod update { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn delete( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + template_name: &str, + if_match: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/templates/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + template_name + ); + let mut url = url::Url::parse(url_str).map_err(delete::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::DELETE); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(delete::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("If-Match", if_match); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(delete::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(delete::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(delete::Response::Ok200), + http::StatusCode::NO_CONTENT => Ok(delete::Response::NoContent204), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| delete::Error::DeserializeError(source, rsp_body.clone()))?; + Err(delete::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod delete { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Ok200, + NoContent204, + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get_entity_tag( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + template_name: &str, + subscription_id: &str, + ) -> std::result::Result<(), get_entity_tag::Error> { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/templates/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + template_name + ); + let mut url = url::Url::parse(url_str).map_err(get_entity_tag::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::HEAD); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get_entity_tag::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get_entity_tag::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(get_entity_tag::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(()), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get_entity_tag::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get_entity_tag::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get_entity_tag { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod gateway { + use super::{models, models::*}; + pub async fn list_by_service( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + filter: Option<&str>, + top: Option, + skip: Option, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/gateways", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(list_by_service::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_service::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + if let Some(filter) = filter { + url.query_pairs_mut().append_pair("$filter", filter); + } + if let Some(top) = top { + url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); + } + if let Some(skip) = skip { + url.query_pairs_mut().append_pair("$skip", skip.to_string().as_str()); + } + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_service::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_service::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: GatewayCollection = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_service::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_service { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + gateway_id: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/gateways/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + gateway_id + ); + let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: GatewayContract = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn create_or_update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + gateway_id: &str, + parameters: &GatewayContract, + if_match: Option<&str>, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/gateways/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + gateway_id + ); + let mut url = url::Url::parse(url_str).map_err(create_or_update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PUT); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(create_or_update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(create_or_update::Error::SerializeError)?; + if let Some(if_match) = if_match { + req_builder = req_builder.header("If-Match", if_match); + } + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(create_or_update::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(create_or_update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::CREATED => { + let rsp_body = rsp.body(); + let rsp_value: GatewayContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Created201(rsp_value)) + } + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: GatewayContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Ok200(rsp_value)) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(create_or_update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod create_or_update { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Created201(GatewayContract), + Ok200(GatewayContract), + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + gateway_id: &str, + parameters: &GatewayContract, + if_match: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/gateways/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + gateway_id + ); + let mut url = url::Url::parse(url_str).map_err(update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PATCH); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(update::Error::SerializeError)?; + req_builder = req_builder.header("If-Match", if_match); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(update::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: GatewayContract = + serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod update { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn delete( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + gateway_id: &str, + if_match: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/gateways/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + gateway_id + ); + let mut url = url::Url::parse(url_str).map_err(delete::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::DELETE); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(delete::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("If-Match", if_match); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(delete::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(delete::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(delete::Response::Ok200), + http::StatusCode::NO_CONTENT => Ok(delete::Response::NoContent204), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| delete::Error::DeserializeError(source, rsp_body.clone()))?; + Err(delete::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod delete { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Ok200, + NoContent204, + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get_entity_tag( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + gateway_id: &str, + subscription_id: &str, + ) -> std::result::Result<(), get_entity_tag::Error> { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/gateways/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + gateway_id + ); + let mut url = url::Url::parse(url_str).map_err(get_entity_tag::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::HEAD); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get_entity_tag::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get_entity_tag::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(get_entity_tag::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(()), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get_entity_tag::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get_entity_tag::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get_entity_tag { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn list_keys( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + gateway_id: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/gateways/{}/listKeys", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + gateway_id + ); + let mut url = url::Url::parse(url_str).map_err(list_keys::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::POST); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_keys::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.header(http::header::CONTENT_LENGTH, 0); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_keys::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_keys::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: GatewayKeysContract = + serde_json::from_slice(rsp_body).map_err(|source| list_keys::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| list_keys::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_keys::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_keys { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn regenerate_key( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + gateway_id: &str, + parameters: &GatewayKeyRegenerationRequestContract, + subscription_id: &str, + ) -> std::result::Result<(), regenerate_key::Error> { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/gateways/{}/regenerateKey", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + gateway_id + ); + let mut url = url::Url::parse(url_str).map_err(regenerate_key::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::POST); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(regenerate_key::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(regenerate_key::Error::SerializeError)?; + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(regenerate_key::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(regenerate_key::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::NO_CONTENT => Ok(()), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| regenerate_key::Error::DeserializeError(source, rsp_body.clone()))?; + Err(regenerate_key::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod regenerate_key { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn generate_token( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + gateway_id: &str, + parameters: &GatewayTokenRequestContract, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/gateways/{}/generateToken", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + gateway_id + ); + let mut url = url::Url::parse(url_str).map_err(generate_token::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::POST); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(generate_token::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(generate_token::Error::SerializeError)?; + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(generate_token::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(generate_token::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: GatewayTokenContract = + serde_json::from_slice(rsp_body).map_err(|source| generate_token::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| generate_token::Error::DeserializeError(source, rsp_body.clone()))?; + Err(generate_token::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod generate_token { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod gateway_hostname_configuration { + use super::{models, models::*}; + pub async fn list_by_service( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + gateway_id: &str, + filter: Option<&str>, + top: Option, + skip: Option, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/gateways/{}/hostnameConfigurations", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + gateway_id + ); + let mut url = url::Url::parse(url_str).map_err(list_by_service::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_service::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + if let Some(filter) = filter { + url.query_pairs_mut().append_pair("$filter", filter); + } + if let Some(top) = top { + url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); + } + if let Some(skip) = skip { + url.query_pairs_mut().append_pair("$skip", skip.to_string().as_str()); + } + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_service::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_service::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: GatewayHostnameConfigurationCollection = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_service::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_service { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + gateway_id: &str, + hc_id: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/gateways/{}/hostnameConfigurations/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + gateway_id, + hc_id + ); + let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: GatewayHostnameConfigurationContract = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn create_or_update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + gateway_id: &str, + hc_id: &str, + if_match: Option<&str>, + parameters: &GatewayHostnameConfigurationContract, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/gateways/{}/hostnameConfigurations/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + gateway_id, + hc_id + ); + let mut url = url::Url::parse(url_str).map_err(create_or_update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PUT); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(create_or_update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + if let Some(if_match) = if_match { + req_builder = req_builder.header("If-Match", if_match); + } + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(create_or_update::Error::SerializeError)?; + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(create_or_update::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(create_or_update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::CREATED => { + let rsp_body = rsp.body(); + let rsp_value: GatewayHostnameConfigurationContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Created201(rsp_value)) + } + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: GatewayHostnameConfigurationContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Ok200(rsp_value)) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(create_or_update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod create_or_update { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Created201(GatewayHostnameConfigurationContract), + Ok200(GatewayHostnameConfigurationContract), + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn delete( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + gateway_id: &str, + hc_id: &str, + if_match: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/gateways/{}/hostnameConfigurations/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + gateway_id, + hc_id + ); + let mut url = url::Url::parse(url_str).map_err(delete::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::DELETE); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(delete::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("If-Match", if_match); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(delete::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(delete::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(delete::Response::Ok200), + http::StatusCode::NO_CONTENT => Ok(delete::Response::NoContent204), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| delete::Error::DeserializeError(source, rsp_body.clone()))?; + Err(delete::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod delete { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Ok200, + NoContent204, + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get_entity_tag( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + gateway_id: &str, + hc_id: &str, + subscription_id: &str, + ) -> std::result::Result<(), get_entity_tag::Error> { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/gateways/{}/hostnameConfigurations/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + gateway_id, + hc_id + ); + let mut url = url::Url::parse(url_str).map_err(get_entity_tag::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::HEAD); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get_entity_tag::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get_entity_tag::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(get_entity_tag::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(()), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get_entity_tag::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get_entity_tag::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get_entity_tag { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod gateway_api { + use super::{models, models::*}; + pub async fn list_by_service( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + gateway_id: &str, + filter: Option<&str>, + top: Option, + skip: Option, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/gateways/{}/apis", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + gateway_id + ); + let mut url = url::Url::parse(url_str).map_err(list_by_service::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_service::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + if let Some(filter) = filter { + url.query_pairs_mut().append_pair("$filter", filter); + } + if let Some(top) = top { + url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); + } + if let Some(skip) = skip { + url.query_pairs_mut().append_pair("$skip", skip.to_string().as_str()); + } + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_service::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_service::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: ApiCollection = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_service::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_service { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn create_or_update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + gateway_id: &str, + api_id: &str, + subscription_id: &str, + parameters: Option<&AssociationContract>, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/gateways/{}/apis/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + gateway_id, + api_id + ); + let mut url = url::Url::parse(url_str).map_err(create_or_update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PUT); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(create_or_update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = if let Some(parameters) = parameters { + req_builder = req_builder.header("content-type", "application/json"); + azure_core::to_json(parameters).map_err(create_or_update::Error::SerializeError)? + } else { + bytes::Bytes::from_static(azure_core::EMPTY_BODY) + }; + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(create_or_update::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(create_or_update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::CREATED => { + let rsp_body = rsp.body(); + let rsp_value: ApiContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Created201(rsp_value)) + } + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: ApiContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Ok200(rsp_value)) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(create_or_update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod create_or_update { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Created201(ApiContract), + Ok200(ApiContract), + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn delete( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + gateway_id: &str, + api_id: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/gateways/{}/apis/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + gateway_id, + api_id + ); + let mut url = url::Url::parse(url_str).map_err(delete::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::DELETE); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(delete::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(delete::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(delete::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(delete::Response::Ok200), + http::StatusCode::NO_CONTENT => Ok(delete::Response::NoContent204), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| delete::Error::DeserializeError(source, rsp_body.clone()))?; + Err(delete::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod delete { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Ok200, + NoContent204, + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get_entity_tag( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + gateway_id: &str, + api_id: &str, + subscription_id: &str, + ) -> std::result::Result<(), get_entity_tag::Error> { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/gateways/{}/apis/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + gateway_id, + api_id + ); + let mut url = url::Url::parse(url_str).map_err(get_entity_tag::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::HEAD); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get_entity_tag::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get_entity_tag::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(get_entity_tag::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(()), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get_entity_tag::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get_entity_tag::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get_entity_tag { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod gateway_certificate_authority { + use super::{models, models::*}; + pub async fn list_by_service( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + gateway_id: &str, + filter: Option<&str>, + top: Option, + skip: Option, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/gateways/{}/certificateAuthorities", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + gateway_id + ); + let mut url = url::Url::parse(url_str).map_err(list_by_service::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_service::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + if let Some(filter) = filter { + url.query_pairs_mut().append_pair("$filter", filter); + } + if let Some(top) = top { + url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); + } + if let Some(skip) = skip { + url.query_pairs_mut().append_pair("$skip", skip.to_string().as_str()); + } + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_service::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_service::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: GatewayCertificateAuthorityCollection = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_service::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_service { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + gateway_id: &str, + certificate_id: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/gateways/{}/certificateAuthorities/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + gateway_id, + certificate_id + ); + let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: GatewayCertificateAuthorityContract = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn create_or_update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + gateway_id: &str, + certificate_id: &str, + if_match: Option<&str>, + parameters: &GatewayCertificateAuthorityContract, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/gateways/{}/certificateAuthorities/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + gateway_id, + certificate_id + ); + let mut url = url::Url::parse(url_str).map_err(create_or_update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PUT); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(create_or_update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + if let Some(if_match) = if_match { + req_builder = req_builder.header("If-Match", if_match); + } + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(create_or_update::Error::SerializeError)?; + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(create_or_update::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(create_or_update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::CREATED => { + let rsp_body = rsp.body(); + let rsp_value: GatewayCertificateAuthorityContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Created201(rsp_value)) + } + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: GatewayCertificateAuthorityContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Ok200(rsp_value)) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(create_or_update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod create_or_update { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Created201(GatewayCertificateAuthorityContract), + Ok200(GatewayCertificateAuthorityContract), + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn delete( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + gateway_id: &str, + certificate_id: &str, + if_match: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/gateways/{}/certificateAuthorities/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + gateway_id, + certificate_id + ); + let mut url = url::Url::parse(url_str).map_err(delete::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::DELETE); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(delete::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("If-Match", if_match); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(delete::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(delete::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(delete::Response::Ok200), + http::StatusCode::NO_CONTENT => Ok(delete::Response::NoContent204), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| delete::Error::DeserializeError(source, rsp_body.clone()))?; + Err(delete::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod delete { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Ok200, + NoContent204, + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get_entity_tag( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + gateway_id: &str, + certificate_id: &str, + subscription_id: &str, + ) -> std::result::Result<(), get_entity_tag::Error> { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/gateways/{}/certificateAuthorities/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + gateway_id, + certificate_id + ); + let mut url = url::Url::parse(url_str).map_err(get_entity_tag::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::HEAD); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get_entity_tag::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get_entity_tag::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(get_entity_tag::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(()), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get_entity_tag::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get_entity_tag::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get_entity_tag { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod group { + use super::{models, models::*}; + pub async fn list_by_service( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + filter: Option<&str>, + top: Option, + skip: Option, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/groups", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(list_by_service::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_service::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + if let Some(filter) = filter { + url.query_pairs_mut().append_pair("$filter", filter); + } + if let Some(top) = top { + url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); + } + if let Some(skip) = skip { + url.query_pairs_mut().append_pair("$skip", skip.to_string().as_str()); + } + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_service::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_service::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: GroupCollection = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_service::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_service { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + group_id: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/groups/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + group_id + ); + let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: GroupContract = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn create_or_update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + group_id: &str, + parameters: &GroupCreateParameters, + if_match: Option<&str>, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/groups/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + group_id + ); + let mut url = url::Url::parse(url_str).map_err(create_or_update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PUT); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(create_or_update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(create_or_update::Error::SerializeError)?; + if let Some(if_match) = if_match { + req_builder = req_builder.header("If-Match", if_match); + } + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(create_or_update::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(create_or_update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::CREATED => { + let rsp_body = rsp.body(); + let rsp_value: GroupContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Created201(rsp_value)) + } + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: GroupContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Ok200(rsp_value)) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(create_or_update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod create_or_update { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Created201(GroupContract), + Ok200(GroupContract), + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + group_id: &str, + parameters: &GroupUpdateParameters, + if_match: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/groups/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + group_id + ); + let mut url = url::Url::parse(url_str).map_err(update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PATCH); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(update::Error::SerializeError)?; + req_builder = req_builder.header("If-Match", if_match); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(update::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: GroupContract = + serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod update { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn delete( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + group_id: &str, + if_match: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/groups/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + group_id + ); + let mut url = url::Url::parse(url_str).map_err(delete::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::DELETE); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(delete::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("If-Match", if_match); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(delete::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(delete::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(delete::Response::Ok200), + http::StatusCode::NO_CONTENT => Ok(delete::Response::NoContent204), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| delete::Error::DeserializeError(source, rsp_body.clone()))?; + Err(delete::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod delete { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Ok200, + NoContent204, + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get_entity_tag( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + group_id: &str, + subscription_id: &str, + ) -> std::result::Result<(), get_entity_tag::Error> { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/groups/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + group_id + ); + let mut url = url::Url::parse(url_str).map_err(get_entity_tag::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::HEAD); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get_entity_tag::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get_entity_tag::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(get_entity_tag::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(()), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get_entity_tag::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get_entity_tag::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get_entity_tag { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod group_user { + use super::{models, models::*}; + pub async fn list( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + group_id: &str, + filter: Option<&str>, + top: Option, + skip: Option, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/groups/{}/users", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + group_id + ); + let mut url = url::Url::parse(url_str).map_err(list::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + if let Some(filter) = filter { + url.query_pairs_mut().append_pair("$filter", filter); + } + if let Some(top) = top { + url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); + } + if let Some(skip) = skip { + url.query_pairs_mut().append_pair("$skip", skip.to_string().as_str()); + } + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(list::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: UserCollection = + serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn create( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + group_id: &str, + user_id: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/groups/{}/users/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + group_id, + user_id + ); + let mut url = url::Url::parse(url_str).map_err(create::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PUT); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(create::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(create::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(create::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::CREATED => { + let rsp_body = rsp.body(); + let rsp_value: UserContract = + serde_json::from_slice(rsp_body).map_err(|source| create::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create::Response::Created201(rsp_value)) + } + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: UserContract = + serde_json::from_slice(rsp_body).map_err(|source| create::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create::Response::Ok200(rsp_value)) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| create::Error::DeserializeError(source, rsp_body.clone()))?; + Err(create::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod create { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Created201(UserContract), + Ok200(UserContract), + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn delete( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + group_id: &str, + user_id: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/groups/{}/users/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + group_id, + user_id + ); + let mut url = url::Url::parse(url_str).map_err(delete::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::DELETE); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(delete::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(delete::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(delete::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(delete::Response::Ok200), + http::StatusCode::NO_CONTENT => Ok(delete::Response::NoContent204), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| delete::Error::DeserializeError(source, rsp_body.clone()))?; + Err(delete::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod delete { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Ok200, + NoContent204, + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn check_entity_exists( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + group_id: &str, + user_id: &str, + subscription_id: &str, + ) -> std::result::Result<(), check_entity_exists::Error> { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/groups/{}/users/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + group_id, + user_id + ); + let mut url = url::Url::parse(url_str).map_err(check_entity_exists::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::HEAD); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(check_entity_exists::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(check_entity_exists::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(check_entity_exists::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::NO_CONTENT => Ok(()), + http::StatusCode::NOT_FOUND => Err(check_entity_exists::Error::NotFound404 {}), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| check_entity_exists::Error::DeserializeError(source, rsp_body.clone()))?; + Err(check_entity_exists::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod check_entity_exists { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("Error response #response_type")] + NotFound404 {}, + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod identity_provider { + use super::{models, models::*}; + pub async fn list_by_service( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/identityProviders", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(list_by_service::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_service::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_service::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_service::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: IdentityProviderList = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_service::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_service { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + identity_provider_name: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/identityProviders/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + identity_provider_name + ); + let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: IdentityProviderContract = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn create_or_update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + identity_provider_name: &str, + parameters: &IdentityProviderCreateContract, + if_match: Option<&str>, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/identityProviders/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + identity_provider_name + ); + let mut url = url::Url::parse(url_str).map_err(create_or_update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PUT); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(create_or_update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(create_or_update::Error::SerializeError)?; + if let Some(if_match) = if_match { + req_builder = req_builder.header("If-Match", if_match); + } + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(create_or_update::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(create_or_update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::CREATED => { + let rsp_body = rsp.body(); + let rsp_value: IdentityProviderContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Created201(rsp_value)) + } + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: IdentityProviderContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Ok200(rsp_value)) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(create_or_update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod create_or_update { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Created201(IdentityProviderContract), + Ok200(IdentityProviderContract), + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + identity_provider_name: &str, + parameters: &IdentityProviderUpdateParameters, + if_match: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/identityProviders/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + identity_provider_name + ); + let mut url = url::Url::parse(url_str).map_err(update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PATCH); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(update::Error::SerializeError)?; + req_builder = req_builder.header("If-Match", if_match); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(update::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: IdentityProviderContract = + serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod update { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn delete( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + identity_provider_name: &str, + if_match: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/identityProviders/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + identity_provider_name + ); + let mut url = url::Url::parse(url_str).map_err(delete::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::DELETE); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(delete::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("If-Match", if_match); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(delete::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(delete::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(delete::Response::Ok200), + http::StatusCode::NO_CONTENT => Ok(delete::Response::NoContent204), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| delete::Error::DeserializeError(source, rsp_body.clone()))?; + Err(delete::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod delete { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Ok200, + NoContent204, + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get_entity_tag( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + identity_provider_name: &str, + subscription_id: &str, + ) -> std::result::Result<(), get_entity_tag::Error> { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/identityProviders/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + identity_provider_name + ); + let mut url = url::Url::parse(url_str).map_err(get_entity_tag::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::HEAD); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get_entity_tag::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get_entity_tag::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(get_entity_tag::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(()), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get_entity_tag::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get_entity_tag::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get_entity_tag { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn list_secrets( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + identity_provider_name: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/identityProviders/{}/listSecrets", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + identity_provider_name + ); + let mut url = url::Url::parse(url_str).map_err(list_secrets::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::POST); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_secrets::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.header(http::header::CONTENT_LENGTH, 0); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_secrets::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_secrets::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: ClientSecretContract = + serde_json::from_slice(rsp_body).map_err(|source| list_secrets::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| list_secrets::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_secrets::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_secrets { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod issue { + use super::{models, models::*}; + pub async fn list_by_service( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + filter: Option<&str>, + top: Option, + skip: Option, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/issues", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(list_by_service::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_service::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + if let Some(filter) = filter { + url.query_pairs_mut().append_pair("$filter", filter); + } + if let Some(top) = top { + url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); + } + if let Some(skip) = skip { + url.query_pairs_mut().append_pair("$skip", skip.to_string().as_str()); + } + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_service::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_service::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: IssueCollection = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_service::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_service { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + issue_id: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/issues/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + issue_id + ); + let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: IssueContract = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod logger { + use super::{models, models::*}; + pub async fn list_by_service( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + filter: Option<&str>, + top: Option, + skip: Option, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/loggers", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(list_by_service::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_service::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + if let Some(filter) = filter { + url.query_pairs_mut().append_pair("$filter", filter); + } + if let Some(top) = top { + url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); + } + if let Some(skip) = skip { + url.query_pairs_mut().append_pair("$skip", skip.to_string().as_str()); + } + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_service::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_service::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: LoggerCollection = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_service::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_service { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + logger_id: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/loggers/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + logger_id + ); + let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: LoggerContract = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn create_or_update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + logger_id: &str, + parameters: &LoggerContract, + if_match: Option<&str>, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/loggers/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + logger_id + ); + let mut url = url::Url::parse(url_str).map_err(create_or_update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PUT); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(create_or_update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(create_or_update::Error::SerializeError)?; + if let Some(if_match) = if_match { + req_builder = req_builder.header("If-Match", if_match); + } + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(create_or_update::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(create_or_update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::CREATED => { + let rsp_body = rsp.body(); + let rsp_value: LoggerContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Created201(rsp_value)) + } + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: LoggerContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Ok200(rsp_value)) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(create_or_update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod create_or_update { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Created201(LoggerContract), + Ok200(LoggerContract), + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + logger_id: &str, + parameters: &LoggerUpdateContract, + if_match: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/loggers/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + logger_id + ); + let mut url = url::Url::parse(url_str).map_err(update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PATCH); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(update::Error::SerializeError)?; + req_builder = req_builder.header("If-Match", if_match); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(update::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: LoggerContract = + serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod update { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn delete( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + logger_id: &str, + if_match: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/loggers/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + logger_id + ); + let mut url = url::Url::parse(url_str).map_err(delete::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::DELETE); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(delete::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("If-Match", if_match); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(delete::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(delete::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(delete::Response::Ok200), + http::StatusCode::NO_CONTENT => Ok(delete::Response::NoContent204), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| delete::Error::DeserializeError(source, rsp_body.clone()))?; + Err(delete::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod delete { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Ok200, + NoContent204, + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get_entity_tag( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + logger_id: &str, + subscription_id: &str, + ) -> std::result::Result<(), get_entity_tag::Error> { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/loggers/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + logger_id + ); + let mut url = url::Url::parse(url_str).map_err(get_entity_tag::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::HEAD); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get_entity_tag::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get_entity_tag::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(get_entity_tag::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(()), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get_entity_tag::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get_entity_tag::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get_entity_tag { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod named_value { + use super::{models, models::*}; + pub async fn list_by_service( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + filter: Option<&str>, + top: Option, + skip: Option, + is_key_vault_refresh_failed: Option, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/namedValues", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(list_by_service::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_service::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + if let Some(filter) = filter { + url.query_pairs_mut().append_pair("$filter", filter); + } + if let Some(top) = top { + url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); + } + if let Some(skip) = skip { + url.query_pairs_mut().append_pair("$skip", skip.to_string().as_str()); + } + if let Some(is_key_vault_refresh_failed) = is_key_vault_refresh_failed { + url.query_pairs_mut() + .append_pair("isKeyVaultRefreshFailed", is_key_vault_refresh_failed.to_string().as_str()); + } + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_service::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_service::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: NamedValueCollection = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_service::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_service { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + named_value_id: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/namedValues/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + named_value_id + ); + let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: NamedValueContract = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn create_or_update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + named_value_id: &str, + parameters: &NamedValueCreateContract, + if_match: Option<&str>, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/namedValues/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + named_value_id + ); + let mut url = url::Url::parse(url_str).map_err(create_or_update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PUT); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(create_or_update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(create_or_update::Error::SerializeError)?; + if let Some(if_match) = if_match { + req_builder = req_builder.header("If-Match", if_match); + } + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(create_or_update::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(create_or_update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::ACCEPTED => Ok(create_or_update::Response::Accepted202), + http::StatusCode::CREATED => { + let rsp_body = rsp.body(); + let rsp_value: NamedValueContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Created201(rsp_value)) + } + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: NamedValueContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Ok200(rsp_value)) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(create_or_update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod create_or_update { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Accepted202, + Created201(NamedValueContract), + Ok200(NamedValueContract), + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + named_value_id: &str, + parameters: &NamedValueUpdateParameters, + if_match: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/namedValues/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + named_value_id + ); + let mut url = url::Url::parse(url_str).map_err(update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PATCH); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(update::Error::SerializeError)?; + req_builder = req_builder.header("If-Match", if_match); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(update::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::ACCEPTED => Ok(update::Response::Accepted202), + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: NamedValueContract = + serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(update::Response::Ok200(rsp_value)) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod update { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Accepted202, + Ok200(NamedValueContract), + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn delete( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + named_value_id: &str, + if_match: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/namedValues/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + named_value_id + ); + let mut url = url::Url::parse(url_str).map_err(delete::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::DELETE); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(delete::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("If-Match", if_match); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(delete::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(delete::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(delete::Response::Ok200), + http::StatusCode::NO_CONTENT => Ok(delete::Response::NoContent204), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| delete::Error::DeserializeError(source, rsp_body.clone()))?; + Err(delete::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod delete { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Ok200, + NoContent204, + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get_entity_tag( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + named_value_id: &str, + subscription_id: &str, + ) -> std::result::Result<(), get_entity_tag::Error> { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/namedValues/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + named_value_id + ); + let mut url = url::Url::parse(url_str).map_err(get_entity_tag::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::HEAD); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get_entity_tag::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get_entity_tag::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(get_entity_tag::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(()), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get_entity_tag::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get_entity_tag::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get_entity_tag { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn list_value( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + named_value_id: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/namedValues/{}/listValue", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + named_value_id + ); + let mut url = url::Url::parse(url_str).map_err(list_value::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::POST); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_value::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.header(http::header::CONTENT_LENGTH, 0); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_value::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_value::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: NamedValueSecretContract = + serde_json::from_slice(rsp_body).map_err(|source| list_value::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| list_value::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_value::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_value { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn refresh_secret( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + named_value_id: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/namedValues/{}/refreshSecret", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + named_value_id + ); + let mut url = url::Url::parse(url_str).map_err(refresh_secret::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::POST); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(refresh_secret::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.header(http::header::CONTENT_LENGTH, 0); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(refresh_secret::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(refresh_secret::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::ACCEPTED => Ok(refresh_secret::Response::Accepted202), + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: NamedValueContract = + serde_json::from_slice(rsp_body).map_err(|source| refresh_secret::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(refresh_secret::Response::Ok200(rsp_value)) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| refresh_secret::Error::DeserializeError(source, rsp_body.clone()))?; + Err(refresh_secret::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod refresh_secret { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Accepted202, + Ok200(NamedValueContract), + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod network_status { + use super::{models, models::*}; + pub async fn list_by_service( + operation_config: &crate::OperationConfig, + subscription_id: &str, + resource_group_name: &str, + service_name: &str, + ) -> std::result::Result, list_by_service::Error> { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/networkstatus", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(list_by_service::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_service::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_service::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_service::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: Vec = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_service::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_service { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn list_by_location( + operation_config: &crate::OperationConfig, + subscription_id: &str, + resource_group_name: &str, + service_name: &str, + location_name: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/locations/{}/networkstatus", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + location_name + ); + let mut url = url::Url::parse(url_str).map_err(list_by_location::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_location::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_location::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_location::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: NetworkStatusContract = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_location::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_location::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_location::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_location { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod notification { + use super::{models, models::*}; + pub async fn list_by_service( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + top: Option, + skip: Option, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/notifications", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(list_by_service::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_service::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + if let Some(top) = top { + url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); + } + if let Some(skip) = skip { + url.query_pairs_mut().append_pair("$skip", skip.to_string().as_str()); + } + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_service::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_service::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: NotificationCollection = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_service::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_service { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + notification_name: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/notifications/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + notification_name + ); + let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: NotificationContract = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn create_or_update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + notification_name: &str, + if_match: Option<&str>, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/notifications/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + notification_name + ); + let mut url = url::Url::parse(url_str).map_err(create_or_update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PUT); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(create_or_update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + if let Some(if_match) = if_match { + req_builder = req_builder.header("If-Match", if_match); + } + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(create_or_update::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(create_or_update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: NotificationContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(create_or_update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod create_or_update { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod notification_recipient_user { + use super::{models, models::*}; + pub async fn list_by_notification( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + notification_name: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/notifications/{}/recipientUsers", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + notification_name + ); + let mut url = url::Url::parse(url_str).map_err(list_by_notification::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_notification::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_notification::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_notification::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: RecipientUserCollection = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_notification::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_notification::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_notification::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_notification { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn create_or_update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + notification_name: &str, + user_id: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/notifications/{}/recipientUsers/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + notification_name, + user_id + ); + let mut url = url::Url::parse(url_str).map_err(create_or_update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PUT); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(create_or_update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(create_or_update::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(create_or_update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::CREATED => { + let rsp_body = rsp.body(); + let rsp_value: RecipientUserContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Created201(rsp_value)) + } + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: RecipientUserContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Ok200(rsp_value)) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(create_or_update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod create_or_update { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Created201(RecipientUserContract), + Ok200(RecipientUserContract), + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn delete( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + notification_name: &str, + user_id: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/notifications/{}/recipientUsers/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + notification_name, + user_id + ); + let mut url = url::Url::parse(url_str).map_err(delete::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::DELETE); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(delete::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(delete::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(delete::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(delete::Response::Ok200), + http::StatusCode::NO_CONTENT => Ok(delete::Response::NoContent204), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| delete::Error::DeserializeError(source, rsp_body.clone()))?; + Err(delete::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod delete { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Ok200, + NoContent204, + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn check_entity_exists( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + notification_name: &str, + user_id: &str, + subscription_id: &str, + ) -> std::result::Result<(), check_entity_exists::Error> { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/notifications/{}/recipientUsers/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + notification_name, + user_id + ); + let mut url = url::Url::parse(url_str).map_err(check_entity_exists::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::HEAD); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(check_entity_exists::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(check_entity_exists::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(check_entity_exists::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::NO_CONTENT => Ok(()), + http::StatusCode::NOT_FOUND => Err(check_entity_exists::Error::NotFound404 {}), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| check_entity_exists::Error::DeserializeError(source, rsp_body.clone()))?; + Err(check_entity_exists::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod check_entity_exists { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("Error response #response_type")] + NotFound404 {}, + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod notification_recipient_email { + use super::{models, models::*}; + pub async fn list_by_notification( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + notification_name: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/notifications/{}/recipientEmails", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + notification_name + ); + let mut url = url::Url::parse(url_str).map_err(list_by_notification::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_notification::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_notification::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_notification::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: RecipientEmailCollection = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_notification::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_notification::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_notification::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_notification { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn create_or_update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + notification_name: &str, + email: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/notifications/{}/recipientEmails/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + notification_name, + email + ); + let mut url = url::Url::parse(url_str).map_err(create_or_update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PUT); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(create_or_update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(create_or_update::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(create_or_update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::CREATED => { + let rsp_body = rsp.body(); + let rsp_value: RecipientEmailContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Created201(rsp_value)) + } + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: RecipientEmailContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Ok200(rsp_value)) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(create_or_update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod create_or_update { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Created201(RecipientEmailContract), + Ok200(RecipientEmailContract), + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn delete( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + notification_name: &str, + email: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/notifications/{}/recipientEmails/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + notification_name, + email + ); + let mut url = url::Url::parse(url_str).map_err(delete::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::DELETE); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(delete::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(delete::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(delete::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(delete::Response::Ok200), + http::StatusCode::NO_CONTENT => Ok(delete::Response::NoContent204), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| delete::Error::DeserializeError(source, rsp_body.clone()))?; + Err(delete::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod delete { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Ok200, + NoContent204, + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn check_entity_exists( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + notification_name: &str, + email: &str, + subscription_id: &str, + ) -> std::result::Result<(), check_entity_exists::Error> { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/notifications/{}/recipientEmails/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + notification_name, + email + ); + let mut url = url::Url::parse(url_str).map_err(check_entity_exists::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::HEAD); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(check_entity_exists::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(check_entity_exists::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(check_entity_exists::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::NO_CONTENT => Ok(()), + http::StatusCode::NOT_FOUND => Err(check_entity_exists::Error::NotFound404 {}), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| check_entity_exists::Error::DeserializeError(source, rsp_body.clone()))?; + Err(check_entity_exists::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod check_entity_exists { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("Error response #response_type")] + NotFound404 {}, + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod open_id_connect_provider { + use super::{models, models::*}; + pub async fn list_by_service( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + filter: Option<&str>, + top: Option, + skip: Option, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/openidConnectProviders", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(list_by_service::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_service::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + if let Some(filter) = filter { + url.query_pairs_mut().append_pair("$filter", filter); + } + if let Some(top) = top { + url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); + } + if let Some(skip) = skip { + url.query_pairs_mut().append_pair("$skip", skip.to_string().as_str()); + } + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_service::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_service::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: OpenIdConnectProviderCollection = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_service::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_service { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + opid: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/openidConnectProviders/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + opid + ); + let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: OpenidConnectProviderContract = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn create_or_update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + opid: &str, + parameters: &OpenidConnectProviderContract, + if_match: Option<&str>, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/openidConnectProviders/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + opid + ); + let mut url = url::Url::parse(url_str).map_err(create_or_update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PUT); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(create_or_update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(create_or_update::Error::SerializeError)?; + if let Some(if_match) = if_match { + req_builder = req_builder.header("If-Match", if_match); + } + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(create_or_update::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(create_or_update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::CREATED => { + let rsp_body = rsp.body(); + let rsp_value: OpenidConnectProviderContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Created201(rsp_value)) + } + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: OpenidConnectProviderContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Ok200(rsp_value)) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(create_or_update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod create_or_update { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Created201(OpenidConnectProviderContract), + Ok200(OpenidConnectProviderContract), + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + opid: &str, + parameters: &OpenidConnectProviderUpdateContract, + if_match: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/openidConnectProviders/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + opid + ); + let mut url = url::Url::parse(url_str).map_err(update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PATCH); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(update::Error::SerializeError)?; + req_builder = req_builder.header("If-Match", if_match); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(update::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: OpenidConnectProviderContract = + serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod update { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn delete( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + opid: &str, + if_match: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/openidConnectProviders/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + opid + ); + let mut url = url::Url::parse(url_str).map_err(delete::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::DELETE); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(delete::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("If-Match", if_match); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(delete::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(delete::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(delete::Response::Ok200), + http::StatusCode::NO_CONTENT => Ok(delete::Response::NoContent204), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| delete::Error::DeserializeError(source, rsp_body.clone()))?; + Err(delete::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod delete { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Ok200, + NoContent204, + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get_entity_tag( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + opid: &str, + subscription_id: &str, + ) -> std::result::Result<(), get_entity_tag::Error> { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/openidConnectProviders/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + opid + ); + let mut url = url::Url::parse(url_str).map_err(get_entity_tag::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::HEAD); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get_entity_tag::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get_entity_tag::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(get_entity_tag::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(()), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get_entity_tag::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get_entity_tag::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get_entity_tag { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn list_secrets( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + opid: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/openidConnectProviders/{}/listSecrets", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + opid + ); + let mut url = url::Url::parse(url_str).map_err(list_secrets::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::POST); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_secrets::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.header(http::header::CONTENT_LENGTH, 0); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_secrets::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_secrets::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: ClientSecretContract = + serde_json::from_slice(rsp_body).map_err(|source| list_secrets::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| list_secrets::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_secrets::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_secrets { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod outbound_network_dependencies_endpoints { + use super::{models, models::*}; + pub async fn list_by_service( + operation_config: &crate::OperationConfig, + subscription_id: &str, + resource_group_name: &str, + service_name: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/outboundNetworkDependenciesEndpoints", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(list_by_service::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_service::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_service::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_service::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: OutboundEnvironmentEndpointList = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_service::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_service { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod policy { + use super::{models, models::*}; + pub async fn list_by_service( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/policies", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(list_by_service::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_service::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_service::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_service::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: PolicyCollection = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_service::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_service { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + policy_id: &str, + format: Option<&str>, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/policies/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + policy_id + ); + let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + if let Some(format) = format { + url.query_pairs_mut().append_pair("format", format); + } + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: PolicyContract = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn create_or_update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + policy_id: &str, + parameters: &PolicyContract, + if_match: Option<&str>, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/policies/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + policy_id + ); + let mut url = url::Url::parse(url_str).map_err(create_or_update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PUT); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(create_or_update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(create_or_update::Error::SerializeError)?; + if let Some(if_match) = if_match { + req_builder = req_builder.header("If-Match", if_match); + } + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(create_or_update::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(create_or_update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::CREATED => { + let rsp_body = rsp.body(); + let rsp_value: PolicyContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Created201(rsp_value)) + } + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: PolicyContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Ok200(rsp_value)) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(create_or_update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod create_or_update { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Created201(PolicyContract), + Ok200(PolicyContract), + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn delete( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + policy_id: &str, + if_match: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/policies/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + policy_id + ); + let mut url = url::Url::parse(url_str).map_err(delete::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::DELETE); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(delete::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("If-Match", if_match); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(delete::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(delete::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(delete::Response::Ok200), + http::StatusCode::NO_CONTENT => Ok(delete::Response::NoContent204), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| delete::Error::DeserializeError(source, rsp_body.clone()))?; + Err(delete::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod delete { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Ok200, + NoContent204, + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get_entity_tag( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + policy_id: &str, + subscription_id: &str, + ) -> std::result::Result<(), get_entity_tag::Error> { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/policies/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + policy_id + ); + let mut url = url::Url::parse(url_str).map_err(get_entity_tag::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::HEAD); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get_entity_tag::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get_entity_tag::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(get_entity_tag::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(()), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get_entity_tag::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get_entity_tag::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get_entity_tag { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod policy_description { + use super::{models, models::*}; + pub async fn list_by_service( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + scope: Option<&str>, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/policyDescriptions", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(list_by_service::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_service::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + if let Some(scope) = scope { + url.query_pairs_mut().append_pair("scope", scope); + } + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_service::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_service::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: PolicyDescriptionCollection = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_service::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_service { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod portal_revision { + use super::{models, models::*}; + pub async fn list_by_service( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + filter: Option<&str>, + top: Option, + skip: Option, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/portalRevisions", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(list_by_service::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_service::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + if let Some(filter) = filter { + url.query_pairs_mut().append_pair("$filter", filter); + } + if let Some(top) = top { + url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); + } + if let Some(skip) = skip { + url.query_pairs_mut().append_pair("$skip", skip.to_string().as_str()); + } + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_service::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_service::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: PortalRevisionCollection = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_service::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_service { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + portal_revision_id: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/portalRevisions/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + portal_revision_id + ); + let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: PortalRevisionContract = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn create_or_update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + portal_revision_id: &str, + parameters: &PortalRevisionContract, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/portalRevisions/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + portal_revision_id + ); + let mut url = url::Url::parse(url_str).map_err(create_or_update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PUT); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(create_or_update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(create_or_update::Error::SerializeError)?; + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(create_or_update::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(create_or_update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::ACCEPTED => Ok(create_or_update::Response::Accepted202), + http::StatusCode::CREATED => { + let rsp_body = rsp.body(); + let rsp_value: PortalRevisionContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Created201(rsp_value)) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(create_or_update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod create_or_update { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Accepted202, + Created201(PortalRevisionContract), + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + portal_revision_id: &str, + parameters: &PortalRevisionContract, + if_match: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/portalRevisions/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + portal_revision_id + ); + let mut url = url::Url::parse(url_str).map_err(update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PATCH); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(update::Error::SerializeError)?; + req_builder = req_builder.header("If-Match", if_match); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(update::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::ACCEPTED => Ok(update::Response::Accepted202), + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: PortalRevisionContract = + serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(update::Response::Ok200(rsp_value)) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod update { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Accepted202, + Ok200(PortalRevisionContract), + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get_entity_tag( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + portal_revision_id: &str, + subscription_id: &str, + ) -> std::result::Result<(), get_entity_tag::Error> { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/portalRevisions/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + portal_revision_id + ); + let mut url = url::Url::parse(url_str).map_err(get_entity_tag::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::HEAD); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get_entity_tag::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get_entity_tag::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(get_entity_tag::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(()), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get_entity_tag::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get_entity_tag::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get_entity_tag { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod portal_settings { + use super::{models, models::*}; + pub async fn list_by_service( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/portalsettings", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(list_by_service::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_service::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_service::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_service::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: PortalSettingsCollection = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_service::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_service { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod sign_in_settings { + use super::{models, models::*}; + pub async fn get( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/portalsettings/signin", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: PortalSigninSettings = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn create_or_update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + parameters: &PortalSigninSettings, + if_match: Option<&str>, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/portalsettings/signin", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(create_or_update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PUT); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(create_or_update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(create_or_update::Error::SerializeError)?; + if let Some(if_match) = if_match { + req_builder = req_builder.header("If-Match", if_match); + } + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(create_or_update::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(create_or_update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: PortalSigninSettings = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(create_or_update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod create_or_update { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + parameters: &PortalSigninSettings, + if_match: &str, + subscription_id: &str, + ) -> std::result::Result<(), update::Error> { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/portalsettings/signin", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PATCH); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(update::Error::SerializeError)?; + req_builder = req_builder.header("If-Match", if_match); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(update::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::NO_CONTENT => Ok(()), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod update { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get_entity_tag( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + subscription_id: &str, + ) -> std::result::Result<(), get_entity_tag::Error> { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/portalsettings/signin", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(get_entity_tag::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::HEAD); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get_entity_tag::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get_entity_tag::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(get_entity_tag::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(()), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get_entity_tag::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get_entity_tag::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get_entity_tag { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod sign_up_settings { + use super::{models, models::*}; + pub async fn get( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/portalsettings/signup", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: PortalSignupSettings = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn create_or_update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + parameters: &PortalSignupSettings, + if_match: Option<&str>, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/portalsettings/signup", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(create_or_update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PUT); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(create_or_update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(create_or_update::Error::SerializeError)?; + if let Some(if_match) = if_match { + req_builder = req_builder.header("If-Match", if_match); + } + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(create_or_update::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(create_or_update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: PortalSignupSettings = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(create_or_update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod create_or_update { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + parameters: &PortalSignupSettings, + if_match: &str, + subscription_id: &str, + ) -> std::result::Result<(), update::Error> { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/portalsettings/signup", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PATCH); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(update::Error::SerializeError)?; + req_builder = req_builder.header("If-Match", if_match); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(update::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::NO_CONTENT => Ok(()), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod update { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get_entity_tag( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + subscription_id: &str, + ) -> std::result::Result<(), get_entity_tag::Error> { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/portalsettings/signup", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(get_entity_tag::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::HEAD); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get_entity_tag::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get_entity_tag::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(get_entity_tag::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(()), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get_entity_tag::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get_entity_tag::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get_entity_tag { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod delegation_settings { + use super::{models, models::*}; + pub async fn get( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/portalsettings/delegation", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: PortalDelegationSettings = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn create_or_update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + parameters: &PortalDelegationSettings, + if_match: Option<&str>, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/portalsettings/delegation", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(create_or_update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PUT); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(create_or_update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(create_or_update::Error::SerializeError)?; + if let Some(if_match) = if_match { + req_builder = req_builder.header("If-Match", if_match); + } + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(create_or_update::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(create_or_update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: PortalDelegationSettings = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(create_or_update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod create_or_update { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + parameters: &PortalDelegationSettings, + if_match: &str, + subscription_id: &str, + ) -> std::result::Result<(), update::Error> { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/portalsettings/delegation", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PATCH); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(update::Error::SerializeError)?; + req_builder = req_builder.header("If-Match", if_match); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(update::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::NO_CONTENT => Ok(()), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod update { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get_entity_tag( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + subscription_id: &str, + ) -> std::result::Result<(), get_entity_tag::Error> { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/portalsettings/delegation", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(get_entity_tag::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::HEAD); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get_entity_tag::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get_entity_tag::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(get_entity_tag::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(()), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get_entity_tag::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get_entity_tag::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get_entity_tag { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn list_secrets( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/portalsettings/delegation/listSecrets", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(list_secrets::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::POST); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_secrets::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.header(http::header::CONTENT_LENGTH, 0); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_secrets::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_secrets::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: PortalSettingValidationKeyContract = + serde_json::from_slice(rsp_body).map_err(|source| list_secrets::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| list_secrets::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_secrets::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_secrets { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod private_endpoint_connection { + use super::{models, models::*}; + pub async fn list_by_service( + operation_config: &crate::OperationConfig, + subscription_id: &str, + resource_group_name: &str, + service_name: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/privateEndpointConnections", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(list_by_service::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_service::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_service::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_service::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: PrivateEndpointConnectionListResult = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_service::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_service { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get_by_name( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + private_endpoint_connection_name: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/privateEndpointConnections/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + private_endpoint_connection_name + ); + let mut url = url::Url::parse(url_str).map_err(get_by_name::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get_by_name::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get_by_name::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(get_by_name::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: PrivateEndpointConnection = + serde_json::from_slice(rsp_body).map_err(|source| get_by_name::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get_by_name::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get_by_name::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get_by_name { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn create_or_update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + private_endpoint_connection_name: &str, + subscription_id: &str, + private_endpoint_connection_request: &PrivateEndpointConnectionRequest, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/privateEndpointConnections/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + private_endpoint_connection_name + ); + let mut url = url::Url::parse(url_str).map_err(create_or_update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PUT); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(create_or_update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(private_endpoint_connection_request).map_err(create_or_update::Error::SerializeError)?; + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(create_or_update::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(create_or_update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::CREATED => Ok(create_or_update::Response::Created201), + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: PrivateEndpointConnection = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Ok200(rsp_value)) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(create_or_update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod create_or_update { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Created201, + Ok200(PrivateEndpointConnection), + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn delete( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + private_endpoint_connection_name: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/privateEndpointConnections/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + private_endpoint_connection_name + ); + let mut url = url::Url::parse(url_str).map_err(delete::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::DELETE); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(delete::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(delete::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(delete::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(delete::Response::Ok200), + http::StatusCode::ACCEPTED => Ok(delete::Response::Accepted202), + http::StatusCode::NO_CONTENT => Ok(delete::Response::NoContent204), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| delete::Error::DeserializeError(source, rsp_body.clone()))?; + Err(delete::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod delete { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Ok200, + Accepted202, + NoContent204, + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn list_private_link_resources( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + subscription_id: &str, + service_name: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/privateLinkResources", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(list_private_link_resources::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_private_link_resources::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder + .body(req_body) + .map_err(list_private_link_resources::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_private_link_resources::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: PrivateLinkResourceListResult = serde_json::from_slice(rsp_body) + .map_err(|source| list_private_link_resources::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| list_private_link_resources::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_private_link_resources::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_private_link_resources { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get_private_link_resource( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + subscription_id: &str, + service_name: &str, + private_link_sub_resource_name: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/privateLinkResources/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + private_link_sub_resource_name + ); + let mut url = url::Url::parse(url_str).map_err(get_private_link_resource::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get_private_link_resource::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder + .body(req_body) + .map_err(get_private_link_resource::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(get_private_link_resource::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: PrivateLinkResource = serde_json::from_slice(rsp_body) + .map_err(|source| get_private_link_resource::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| get_private_link_resource::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get_private_link_resource::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get_private_link_resource { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod product { + use super::{models, models::*}; + pub async fn list_by_service( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + filter: Option<&str>, + top: Option, + skip: Option, + expand_groups: Option, + tags: Option<&str>, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/products", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(list_by_service::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_service::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + if let Some(filter) = filter { + url.query_pairs_mut().append_pair("$filter", filter); + } + if let Some(top) = top { + url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); + } + if let Some(skip) = skip { + url.query_pairs_mut().append_pair("$skip", skip.to_string().as_str()); + } + if let Some(expand_groups) = expand_groups { + url.query_pairs_mut() + .append_pair("expandGroups", expand_groups.to_string().as_str()); + } + if let Some(tags) = tags { + url.query_pairs_mut().append_pair("tags", tags); + } + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_service::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_service::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: ProductCollection = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_service::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_service { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + product_id: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/products/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + product_id + ); + let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: ProductContract = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn create_or_update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + product_id: &str, + parameters: &ProductContract, + if_match: Option<&str>, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/products/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + product_id + ); + let mut url = url::Url::parse(url_str).map_err(create_or_update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PUT); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(create_or_update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(create_or_update::Error::SerializeError)?; + if let Some(if_match) = if_match { + req_builder = req_builder.header("If-Match", if_match); + } + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(create_or_update::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(create_or_update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::CREATED => { + let rsp_body = rsp.body(); + let rsp_value: ProductContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Created201(rsp_value)) + } + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: ProductContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Ok200(rsp_value)) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(create_or_update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod create_or_update { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Created201(ProductContract), + Ok200(ProductContract), + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + product_id: &str, + parameters: &ProductUpdateParameters, + if_match: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/products/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + product_id + ); + let mut url = url::Url::parse(url_str).map_err(update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PATCH); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(update::Error::SerializeError)?; + req_builder = req_builder.header("If-Match", if_match); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(update::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: ProductContract = + serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod update { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn delete( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + product_id: &str, + if_match: &str, + delete_subscriptions: Option, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/products/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + product_id + ); + let mut url = url::Url::parse(url_str).map_err(delete::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::DELETE); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(delete::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("If-Match", if_match); + if let Some(delete_subscriptions) = delete_subscriptions { + url.query_pairs_mut() + .append_pair("deleteSubscriptions", delete_subscriptions.to_string().as_str()); + } + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(delete::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(delete::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(delete::Response::Ok200), + http::StatusCode::NO_CONTENT => Ok(delete::Response::NoContent204), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| delete::Error::DeserializeError(source, rsp_body.clone()))?; + Err(delete::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod delete { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Ok200, + NoContent204, + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get_entity_tag( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + product_id: &str, + subscription_id: &str, + ) -> std::result::Result<(), get_entity_tag::Error> { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/products/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + product_id + ); + let mut url = url::Url::parse(url_str).map_err(get_entity_tag::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::HEAD); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get_entity_tag::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get_entity_tag::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(get_entity_tag::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(()), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get_entity_tag::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get_entity_tag::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get_entity_tag { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn list_by_tags( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + filter: Option<&str>, + top: Option, + skip: Option, + include_not_tagged_products: Option, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/productsByTags", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(list_by_tags::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_tags::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + if let Some(filter) = filter { + url.query_pairs_mut().append_pair("$filter", filter); + } + if let Some(top) = top { + url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); + } + if let Some(skip) = skip { + url.query_pairs_mut().append_pair("$skip", skip.to_string().as_str()); + } + if let Some(include_not_tagged_products) = include_not_tagged_products { + url.query_pairs_mut() + .append_pair("includeNotTaggedProducts", include_not_tagged_products.to_string().as_str()); + } + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_tags::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_tags::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: TagResourceCollection = + serde_json::from_slice(rsp_body).map_err(|source| list_by_tags::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| list_by_tags::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_tags::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_tags { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod product_api { + use super::{models, models::*}; + pub async fn list_by_product( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + product_id: &str, + filter: Option<&str>, + top: Option, + skip: Option, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/products/{}/apis", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + product_id + ); + let mut url = url::Url::parse(url_str).map_err(list_by_product::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_product::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + if let Some(filter) = filter { + url.query_pairs_mut().append_pair("$filter", filter); + } + if let Some(top) = top { + url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); + } + if let Some(skip) = skip { + url.query_pairs_mut().append_pair("$skip", skip.to_string().as_str()); + } + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_product::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_product::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: ApiCollection = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_product::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_product::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_product::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_product { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn create_or_update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + product_id: &str, + api_id: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/products/{}/apis/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + product_id, + api_id + ); + let mut url = url::Url::parse(url_str).map_err(create_or_update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PUT); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(create_or_update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(create_or_update::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(create_or_update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::CREATED => { + let rsp_body = rsp.body(); + let rsp_value: ApiContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Created201(rsp_value)) + } + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: ApiContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Ok200(rsp_value)) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(create_or_update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod create_or_update { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Created201(ApiContract), + Ok200(ApiContract), + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn delete( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + product_id: &str, + api_id: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/products/{}/apis/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + product_id, + api_id + ); + let mut url = url::Url::parse(url_str).map_err(delete::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::DELETE); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(delete::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(delete::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(delete::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(delete::Response::Ok200), + http::StatusCode::NO_CONTENT => Ok(delete::Response::NoContent204), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| delete::Error::DeserializeError(source, rsp_body.clone()))?; + Err(delete::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod delete { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Ok200, + NoContent204, + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn check_entity_exists( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + product_id: &str, + api_id: &str, + subscription_id: &str, + ) -> std::result::Result<(), check_entity_exists::Error> { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/products/{}/apis/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + product_id, + api_id + ); + let mut url = url::Url::parse(url_str).map_err(check_entity_exists::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::HEAD); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(check_entity_exists::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(check_entity_exists::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(check_entity_exists::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::NO_CONTENT => Ok(()), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| check_entity_exists::Error::DeserializeError(source, rsp_body.clone()))?; + Err(check_entity_exists::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod check_entity_exists { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod product_group { + use super::{models, models::*}; + pub async fn list_by_product( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + product_id: &str, + filter: Option<&str>, + top: Option, + skip: Option, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/products/{}/groups", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + product_id + ); + let mut url = url::Url::parse(url_str).map_err(list_by_product::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_product::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + if let Some(filter) = filter { + url.query_pairs_mut().append_pair("$filter", filter); + } + if let Some(top) = top { + url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); + } + if let Some(skip) = skip { + url.query_pairs_mut().append_pair("$skip", skip.to_string().as_str()); + } + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_product::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_product::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: GroupCollection = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_product::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_product::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_product::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_product { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn create_or_update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + product_id: &str, + group_id: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/products/{}/groups/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + product_id, + group_id + ); + let mut url = url::Url::parse(url_str).map_err(create_or_update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PUT); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(create_or_update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(create_or_update::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(create_or_update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::CREATED => { + let rsp_body = rsp.body(); + let rsp_value: GroupContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Created201(rsp_value)) + } + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: GroupContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Ok200(rsp_value)) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(create_or_update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod create_or_update { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Created201(GroupContract), + Ok200(GroupContract), + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn delete( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + product_id: &str, + group_id: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/products/{}/groups/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + product_id, + group_id + ); + let mut url = url::Url::parse(url_str).map_err(delete::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::DELETE); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(delete::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(delete::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(delete::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(delete::Response::Ok200), + http::StatusCode::NO_CONTENT => Ok(delete::Response::NoContent204), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| delete::Error::DeserializeError(source, rsp_body.clone()))?; + Err(delete::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod delete { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Ok200, + NoContent204, + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn check_entity_exists( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + product_id: &str, + group_id: &str, + subscription_id: &str, + ) -> std::result::Result<(), check_entity_exists::Error> { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/products/{}/groups/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + product_id, + group_id + ); + let mut url = url::Url::parse(url_str).map_err(check_entity_exists::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::HEAD); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(check_entity_exists::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(check_entity_exists::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(check_entity_exists::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::NO_CONTENT => Ok(()), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| check_entity_exists::Error::DeserializeError(source, rsp_body.clone()))?; + Err(check_entity_exists::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod check_entity_exists { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod product_subscriptions { + use super::{models, models::*}; + pub async fn list( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + product_id: &str, + filter: Option<&str>, + top: Option, + skip: Option, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/products/{}/subscriptions", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + product_id + ); + let mut url = url::Url::parse(url_str).map_err(list::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + if let Some(filter) = filter { + url.query_pairs_mut().append_pair("$filter", filter); + } + if let Some(top) = top { + url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); + } + if let Some(skip) = skip { + url.query_pairs_mut().append_pair("$skip", skip.to_string().as_str()); + } + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(list::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: SubscriptionCollection = + serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod product_policy { + use super::{models, models::*}; + pub async fn list_by_product( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + product_id: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/products/{}/policies", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + product_id + ); + let mut url = url::Url::parse(url_str).map_err(list_by_product::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_product::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_product::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_product::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: PolicyCollection = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_product::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_product::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_product::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_product { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + product_id: &str, + policy_id: &str, + format: Option<&str>, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/products/{}/policies/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + product_id, + policy_id + ); + let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + if let Some(format) = format { + url.query_pairs_mut().append_pair("format", format); + } + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: PolicyContract = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn create_or_update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + product_id: &str, + policy_id: &str, + if_match: Option<&str>, + parameters: &PolicyContract, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/products/{}/policies/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + product_id, + policy_id + ); + let mut url = url::Url::parse(url_str).map_err(create_or_update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PUT); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(create_or_update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + if let Some(if_match) = if_match { + req_builder = req_builder.header("If-Match", if_match); + } + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(create_or_update::Error::SerializeError)?; + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(create_or_update::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(create_or_update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::CREATED => { + let rsp_body = rsp.body(); + let rsp_value: PolicyContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Created201(rsp_value)) + } + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: PolicyContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Ok200(rsp_value)) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(create_or_update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod create_or_update { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Created201(PolicyContract), + Ok200(PolicyContract), + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn delete( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + product_id: &str, + policy_id: &str, + if_match: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/products/{}/policies/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + product_id, + policy_id + ); + let mut url = url::Url::parse(url_str).map_err(delete::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::DELETE); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(delete::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("If-Match", if_match); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(delete::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(delete::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(delete::Response::Ok200), + http::StatusCode::NO_CONTENT => Ok(delete::Response::NoContent204), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| delete::Error::DeserializeError(source, rsp_body.clone()))?; + Err(delete::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod delete { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Ok200, + NoContent204, + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get_entity_tag( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + product_id: &str, + policy_id: &str, + subscription_id: &str, + ) -> std::result::Result<(), get_entity_tag::Error> { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/products/{}/policies/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + product_id, + policy_id + ); + let mut url = url::Url::parse(url_str).map_err(get_entity_tag::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::HEAD); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get_entity_tag::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get_entity_tag::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(get_entity_tag::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(()), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get_entity_tag::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get_entity_tag::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get_entity_tag { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod tag { + use super::{models, models::*}; + pub async fn list_by_product( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + product_id: &str, + filter: Option<&str>, + top: Option, + skip: Option, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/products/{}/tags", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + product_id + ); + let mut url = url::Url::parse(url_str).map_err(list_by_product::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_product::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + if let Some(filter) = filter { + url.query_pairs_mut().append_pair("$filter", filter); + } + if let Some(top) = top { + url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); + } + if let Some(skip) = skip { + url.query_pairs_mut().append_pair("$skip", skip.to_string().as_str()); + } + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_product::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_product::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: TagCollection = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_product::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_product::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_product::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_product { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get_by_product( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + product_id: &str, + tag_id: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/products/{}/tags/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + product_id, + tag_id + ); + let mut url = url::Url::parse(url_str).map_err(get_by_product::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get_by_product::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get_by_product::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(get_by_product::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: TagContract = + serde_json::from_slice(rsp_body).map_err(|source| get_by_product::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get_by_product::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get_by_product::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get_by_product { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn assign_to_product( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + product_id: &str, + tag_id: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/products/{}/tags/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + product_id, + tag_id + ); + let mut url = url::Url::parse(url_str).map_err(assign_to_product::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PUT); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(assign_to_product::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(assign_to_product::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(assign_to_product::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::CREATED => { + let rsp_body = rsp.body(); + let rsp_value: TagContract = serde_json::from_slice(rsp_body) + .map_err(|source| assign_to_product::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(assign_to_product::Response::Created201(rsp_value)) + } + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: TagContract = serde_json::from_slice(rsp_body) + .map_err(|source| assign_to_product::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(assign_to_product::Response::Ok200(rsp_value)) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| assign_to_product::Error::DeserializeError(source, rsp_body.clone()))?; + Err(assign_to_product::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod assign_to_product { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Created201(TagContract), + Ok200(TagContract), + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn detach_from_product( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + product_id: &str, + tag_id: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/products/{}/tags/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + product_id, + tag_id + ); + let mut url = url::Url::parse(url_str).map_err(detach_from_product::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::DELETE); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(detach_from_product::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(detach_from_product::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(detach_from_product::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(detach_from_product::Response::Ok200), + http::StatusCode::NO_CONTENT => Ok(detach_from_product::Response::NoContent204), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| detach_from_product::Error::DeserializeError(source, rsp_body.clone()))?; + Err(detach_from_product::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod detach_from_product { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Ok200, + NoContent204, + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get_entity_state_by_product( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + product_id: &str, + tag_id: &str, + subscription_id: &str, + ) -> std::result::Result<(), get_entity_state_by_product::Error> { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/products/{}/tags/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + product_id, + tag_id + ); + let mut url = url::Url::parse(url_str).map_err(get_entity_state_by_product::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::HEAD); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get_entity_state_by_product::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder + .body(req_body) + .map_err(get_entity_state_by_product::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(get_entity_state_by_product::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(()), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| get_entity_state_by_product::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get_entity_state_by_product::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get_entity_state_by_product { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn list_by_service( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + filter: Option<&str>, + top: Option, + skip: Option, + scope: Option<&str>, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/tags", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(list_by_service::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_service::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + if let Some(filter) = filter { + url.query_pairs_mut().append_pair("$filter", filter); + } + if let Some(top) = top { + url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); + } + if let Some(skip) = skip { + url.query_pairs_mut().append_pair("$skip", skip.to_string().as_str()); + } + if let Some(scope) = scope { + url.query_pairs_mut().append_pair("scope", scope); + } + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_service::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_service::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: TagCollection = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_service::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_service { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + tag_id: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/tags/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + tag_id + ); + let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: TagContract = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn create_or_update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + tag_id: &str, + parameters: &TagCreateUpdateParameters, + if_match: Option<&str>, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/tags/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + tag_id + ); + let mut url = url::Url::parse(url_str).map_err(create_or_update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PUT); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(create_or_update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(create_or_update::Error::SerializeError)?; + if let Some(if_match) = if_match { + req_builder = req_builder.header("If-Match", if_match); + } + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(create_or_update::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(create_or_update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::CREATED => { + let rsp_body = rsp.body(); + let rsp_value: TagContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Created201(rsp_value)) + } + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: TagContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Ok200(rsp_value)) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(create_or_update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod create_or_update { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Created201(TagContract), + Ok200(TagContract), + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + tag_id: &str, + parameters: &TagCreateUpdateParameters, + if_match: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/tags/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + tag_id + ); + let mut url = url::Url::parse(url_str).map_err(update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PATCH); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(update::Error::SerializeError)?; + req_builder = req_builder.header("If-Match", if_match); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(update::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: TagContract = + serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod update { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn delete( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + tag_id: &str, + if_match: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/tags/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + tag_id + ); + let mut url = url::Url::parse(url_str).map_err(delete::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::DELETE); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(delete::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("If-Match", if_match); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(delete::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(delete::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(delete::Response::Ok200), + http::StatusCode::NO_CONTENT => Ok(delete::Response::NoContent204), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| delete::Error::DeserializeError(source, rsp_body.clone()))?; + Err(delete::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod delete { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Ok200, + NoContent204, + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get_entity_state( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + tag_id: &str, + subscription_id: &str, + ) -> std::result::Result<(), get_entity_state::Error> { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/tags/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + tag_id + ); + let mut url = url::Url::parse(url_str).map_err(get_entity_state::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::HEAD); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get_entity_state::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get_entity_state::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(get_entity_state::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(()), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| get_entity_state::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get_entity_state::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get_entity_state { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod quota_by_counter_keys { + use super::{models, models::*}; + pub async fn list_by_service( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + quota_counter_key: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/quotas/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + quota_counter_key + ); + let mut url = url::Url::parse(url_str).map_err(list_by_service::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_service::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_service::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_service::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: QuotaCounterCollection = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_service::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_service { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + quota_counter_key: &str, + parameters: &QuotaCounterValueUpdateContract, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/quotas/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + quota_counter_key + ); + let mut url = url::Url::parse(url_str).map_err(update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PATCH); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(update::Error::SerializeError)?; + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(update::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: QuotaCounterCollection = + serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod update { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod quota_by_period_keys { + use super::{models, models::*}; + pub async fn get( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + quota_counter_key: &str, + quota_period_key: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/quotas/{}/periods/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + quota_counter_key, + quota_period_key + ); + let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: QuotaCounterContract = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + quota_counter_key: &str, + quota_period_key: &str, + parameters: &QuotaCounterValueUpdateContract, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/quotas/{}/periods/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + quota_counter_key, + quota_period_key + ); + let mut url = url::Url::parse(url_str).map_err(update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PATCH); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(update::Error::SerializeError)?; + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(update::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: QuotaCounterContract = + serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod update { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod region { + use super::{models, models::*}; + pub async fn list_by_service( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/regions", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(list_by_service::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_service::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_service::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_service::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: RegionListResult = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_service::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_service { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod reports { + use super::{models, models::*}; + pub async fn list_by_api( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + filter: &str, + top: Option, + skip: Option, + orderby: Option<&str>, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/reports/byApi", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(list_by_api::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_api::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + url.query_pairs_mut().append_pair("$filter", filter); + if let Some(top) = top { + url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); + } + if let Some(skip) = skip { + url.query_pairs_mut().append_pair("$skip", skip.to_string().as_str()); + } + if let Some(orderby) = orderby { + url.query_pairs_mut().append_pair("$orderby", orderby); + } + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_api::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_api::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: ReportCollection = + serde_json::from_slice(rsp_body).map_err(|source| list_by_api::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| list_by_api::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_api::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_api { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn list_by_user( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + filter: &str, + top: Option, + skip: Option, + orderby: Option<&str>, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/reports/byUser", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(list_by_user::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_user::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + url.query_pairs_mut().append_pair("$filter", filter); + if let Some(top) = top { + url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); + } + if let Some(skip) = skip { + url.query_pairs_mut().append_pair("$skip", skip.to_string().as_str()); + } + if let Some(orderby) = orderby { + url.query_pairs_mut().append_pair("$orderby", orderby); + } + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_user::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_user::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: ReportCollection = + serde_json::from_slice(rsp_body).map_err(|source| list_by_user::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| list_by_user::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_user::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_user { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn list_by_operation( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + filter: &str, + top: Option, + skip: Option, + orderby: Option<&str>, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/reports/byOperation", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(list_by_operation::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_operation::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + url.query_pairs_mut().append_pair("$filter", filter); + if let Some(top) = top { + url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); + } + if let Some(skip) = skip { + url.query_pairs_mut().append_pair("$skip", skip.to_string().as_str()); + } + if let Some(orderby) = orderby { + url.query_pairs_mut().append_pair("$orderby", orderby); + } + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_operation::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_operation::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: ReportCollection = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_operation::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_operation::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_operation::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_operation { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn list_by_product( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + filter: &str, + top: Option, + skip: Option, + orderby: Option<&str>, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/reports/byProduct", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(list_by_product::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_product::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + url.query_pairs_mut().append_pair("$filter", filter); + if let Some(top) = top { + url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); + } + if let Some(skip) = skip { + url.query_pairs_mut().append_pair("$skip", skip.to_string().as_str()); + } + if let Some(orderby) = orderby { + url.query_pairs_mut().append_pair("$orderby", orderby); + } + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_product::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_product::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: ReportCollection = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_product::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_product::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_product::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_product { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn list_by_geo( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + filter: &str, + top: Option, + skip: Option, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/reports/byGeo", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(list_by_geo::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_geo::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + url.query_pairs_mut().append_pair("$filter", filter); + if let Some(top) = top { + url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); + } + if let Some(skip) = skip { + url.query_pairs_mut().append_pair("$skip", skip.to_string().as_str()); + } + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_geo::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_geo::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: ReportCollection = + serde_json::from_slice(rsp_body).map_err(|source| list_by_geo::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| list_by_geo::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_geo::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_geo { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn list_by_subscription( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + filter: &str, + top: Option, + skip: Option, + orderby: Option<&str>, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/reports/bySubscription", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(list_by_subscription::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_subscription::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + url.query_pairs_mut().append_pair("$filter", filter); + if let Some(top) = top { + url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); + } + if let Some(skip) = skip { + url.query_pairs_mut().append_pair("$skip", skip.to_string().as_str()); + } + if let Some(orderby) = orderby { + url.query_pairs_mut().append_pair("$orderby", orderby); + } + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_subscription::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_subscription::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: ReportCollection = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_subscription::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_subscription::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_subscription::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_subscription { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn list_by_time( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + filter: &str, + top: Option, + skip: Option, + orderby: Option<&str>, + interval: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/reports/byTime", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(list_by_time::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_time::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + url.query_pairs_mut().append_pair("$filter", filter); + if let Some(top) = top { + url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); + } + if let Some(skip) = skip { + url.query_pairs_mut().append_pair("$skip", skip.to_string().as_str()); + } + if let Some(orderby) = orderby { + url.query_pairs_mut().append_pair("$orderby", orderby); + } + url.query_pairs_mut().append_pair("interval", interval); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_time::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_time::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: ReportCollection = + serde_json::from_slice(rsp_body).map_err(|source| list_by_time::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| list_by_time::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_time::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_time { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn list_by_request( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + filter: &str, + top: Option, + skip: Option, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/reports/byRequest", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(list_by_request::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_request::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + url.query_pairs_mut().append_pair("$filter", filter); + if let Some(top) = top { + url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); + } + if let Some(skip) = skip { + url.query_pairs_mut().append_pair("$skip", skip.to_string().as_str()); + } + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_request::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_request::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: RequestReportCollection = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_request::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_request::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_request::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_request { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod tenant_settings { + use super::{models, models::*}; + pub async fn list_by_service( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + filter: Option<&str>, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/settings", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(list_by_service::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_service::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + if let Some(filter) = filter { + url.query_pairs_mut().append_pair("$filter", filter); + } + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_service::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_service::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: TenantSettingsCollection = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_service::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_service { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + subscription_id: &str, + settings_type: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/settings/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + settings_type + ); + let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: TenantSettingsContract = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod api_management_skus { + use super::{models, models::*}; + pub async fn list( + operation_config: &crate::OperationConfig, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/providers/Microsoft.ApiManagement/skus", + operation_config.base_path(), + subscription_id + ); + let mut url = url::Url::parse(url_str).map_err(list::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(list::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: ApiManagementSkusResult = + serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod subscription { + use super::{models, models::*}; + pub async fn list( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + filter: Option<&str>, + top: Option, + skip: Option, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/subscriptions", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(list::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + if let Some(filter) = filter { + url.query_pairs_mut().append_pair("$filter", filter); + } + if let Some(top) = top { + url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); + } + if let Some(skip) = skip { + url.query_pairs_mut().append_pair("$skip", skip.to_string().as_str()); + } + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(list::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: SubscriptionCollection = + serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + sid: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/subscriptions/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + sid + ); + let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: SubscriptionContract = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn create_or_update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + sid: &str, + parameters: &SubscriptionCreateParameters, + notify: Option, + if_match: Option<&str>, + subscription_id: &str, + app_type: Option<&str>, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/subscriptions/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + sid + ); + let mut url = url::Url::parse(url_str).map_err(create_or_update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PUT); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(create_or_update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(create_or_update::Error::SerializeError)?; + if let Some(notify) = notify { + url.query_pairs_mut().append_pair("notify", notify.to_string().as_str()); + } + if let Some(if_match) = if_match { + req_builder = req_builder.header("If-Match", if_match); + } + if let Some(app_type) = app_type { + url.query_pairs_mut().append_pair("appType", app_type); + } + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(create_or_update::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(create_or_update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::CREATED => { + let rsp_body = rsp.body(); + let rsp_value: SubscriptionContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Created201(rsp_value)) + } + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: SubscriptionContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Ok200(rsp_value)) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(create_or_update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod create_or_update { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Created201(SubscriptionContract), + Ok200(SubscriptionContract), + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + sid: &str, + parameters: &SubscriptionUpdateParameters, + notify: Option, + if_match: &str, + subscription_id: &str, + app_type: Option<&str>, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/subscriptions/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + sid + ); + let mut url = url::Url::parse(url_str).map_err(update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PATCH); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(update::Error::SerializeError)?; + if let Some(notify) = notify { + url.query_pairs_mut().append_pair("notify", notify.to_string().as_str()); + } + req_builder = req_builder.header("If-Match", if_match); + if let Some(app_type) = app_type { + url.query_pairs_mut().append_pair("appType", app_type); + } + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(update::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: SubscriptionContract = + serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod update { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn delete( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + sid: &str, + if_match: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/subscriptions/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + sid + ); + let mut url = url::Url::parse(url_str).map_err(delete::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::DELETE); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(delete::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("If-Match", if_match); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(delete::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(delete::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(delete::Response::Ok200), + http::StatusCode::NO_CONTENT => Ok(delete::Response::NoContent204), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| delete::Error::DeserializeError(source, rsp_body.clone()))?; + Err(delete::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod delete { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Ok200, + NoContent204, + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get_entity_tag( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + sid: &str, + subscription_id: &str, + ) -> std::result::Result<(), get_entity_tag::Error> { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/subscriptions/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + sid + ); + let mut url = url::Url::parse(url_str).map_err(get_entity_tag::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::HEAD); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get_entity_tag::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get_entity_tag::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(get_entity_tag::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(()), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get_entity_tag::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get_entity_tag::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get_entity_tag { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn regenerate_primary_key( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + sid: &str, + subscription_id: &str, + ) -> std::result::Result<(), regenerate_primary_key::Error> { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/subscriptions/{}/regeneratePrimaryKey", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + sid + ); + let mut url = url::Url::parse(url_str).map_err(regenerate_primary_key::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::POST); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(regenerate_primary_key::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.header(http::header::CONTENT_LENGTH, 0); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder + .body(req_body) + .map_err(regenerate_primary_key::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(regenerate_primary_key::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::NO_CONTENT => Ok(()), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| regenerate_primary_key::Error::DeserializeError(source, rsp_body.clone()))?; + Err(regenerate_primary_key::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod regenerate_primary_key { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn regenerate_secondary_key( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + sid: &str, + subscription_id: &str, + ) -> std::result::Result<(), regenerate_secondary_key::Error> { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/subscriptions/{}/regenerateSecondaryKey", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + sid + ); + let mut url = url::Url::parse(url_str).map_err(regenerate_secondary_key::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::POST); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(regenerate_secondary_key::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.header(http::header::CONTENT_LENGTH, 0); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder + .body(req_body) + .map_err(regenerate_secondary_key::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(regenerate_secondary_key::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::NO_CONTENT => Ok(()), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| regenerate_secondary_key::Error::DeserializeError(source, rsp_body.clone()))?; + Err(regenerate_secondary_key::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod regenerate_secondary_key { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn list_secrets( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + sid: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/subscriptions/{}/listSecrets", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + sid + ); + let mut url = url::Url::parse(url_str).map_err(list_secrets::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::POST); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_secrets::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.header(http::header::CONTENT_LENGTH, 0); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_secrets::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_secrets::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: SubscriptionKeysContract = + serde_json::from_slice(rsp_body).map_err(|source| list_secrets::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| list_secrets::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_secrets::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_secrets { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod tag_resource { + use super::{models, models::*}; + pub async fn list_by_service( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + filter: Option<&str>, + top: Option, + skip: Option, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/tagResources", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(list_by_service::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_service::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + if let Some(filter) = filter { + url.query_pairs_mut().append_pair("$filter", filter); + } + if let Some(top) = top { + url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); + } + if let Some(skip) = skip { + url.query_pairs_mut().append_pair("$skip", skip.to_string().as_str()); + } + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_service::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_service::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: TagResourceCollection = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_service::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_service { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod tenant_access { + use super::{models, models::*}; + pub async fn list_by_service( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + filter: Option<&str>, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/tenant", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(list_by_service::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_service::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + if let Some(filter) = filter { + url.query_pairs_mut().append_pair("$filter", filter); + } + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_service::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_service::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: AccessInformationCollection = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_service::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_service { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + subscription_id: &str, + access_name: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/tenant/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + access_name + ); + let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: AccessInformationContract = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn create( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + parameters: &AccessInformationCreateParameters, + access_name: &str, + if_match: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/tenant/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + access_name + ); + let mut url = url::Url::parse(url_str).map_err(create::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PUT); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(create::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(create::Error::SerializeError)?; + req_builder = req_builder.header("If-Match", if_match); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(create::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(create::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: AccessInformationContract = + serde_json::from_slice(rsp_body).map_err(|source| create::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| create::Error::DeserializeError(source, rsp_body.clone()))?; + Err(create::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod create { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + parameters: &AccessInformationUpdateParameters, + access_name: &str, + if_match: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/tenant/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + access_name + ); + let mut url = url::Url::parse(url_str).map_err(update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PATCH); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(update::Error::SerializeError)?; + req_builder = req_builder.header("If-Match", if_match); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(update::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: AccessInformationContract = + serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod update { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get_entity_tag( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + subscription_id: &str, + access_name: &str, + ) -> std::result::Result<(), get_entity_tag::Error> { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/tenant/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + access_name + ); + let mut url = url::Url::parse(url_str).map_err(get_entity_tag::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::HEAD); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get_entity_tag::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get_entity_tag::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(get_entity_tag::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(()), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get_entity_tag::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get_entity_tag::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get_entity_tag { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn regenerate_primary_key( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + subscription_id: &str, + access_name: &str, + ) -> std::result::Result<(), regenerate_primary_key::Error> { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/tenant/{}/regeneratePrimaryKey", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + access_name + ); + let mut url = url::Url::parse(url_str).map_err(regenerate_primary_key::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::POST); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(regenerate_primary_key::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.header(http::header::CONTENT_LENGTH, 0); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder + .body(req_body) + .map_err(regenerate_primary_key::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(regenerate_primary_key::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::NO_CONTENT => Ok(()), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| regenerate_primary_key::Error::DeserializeError(source, rsp_body.clone()))?; + Err(regenerate_primary_key::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod regenerate_primary_key { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn regenerate_secondary_key( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + subscription_id: &str, + access_name: &str, + ) -> std::result::Result<(), regenerate_secondary_key::Error> { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/tenant/{}/regenerateSecondaryKey", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + access_name + ); + let mut url = url::Url::parse(url_str).map_err(regenerate_secondary_key::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::POST); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(regenerate_secondary_key::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.header(http::header::CONTENT_LENGTH, 0); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder + .body(req_body) + .map_err(regenerate_secondary_key::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(regenerate_secondary_key::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::NO_CONTENT => Ok(()), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| regenerate_secondary_key::Error::DeserializeError(source, rsp_body.clone()))?; + Err(regenerate_secondary_key::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod regenerate_secondary_key { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn list_secrets( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + subscription_id: &str, + access_name: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/tenant/{}/listSecrets", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + access_name + ); + let mut url = url::Url::parse(url_str).map_err(list_secrets::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::POST); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_secrets::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.header(http::header::CONTENT_LENGTH, 0); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_secrets::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_secrets::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: AccessInformationSecretsContract = + serde_json::from_slice(rsp_body).map_err(|source| list_secrets::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| list_secrets::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_secrets::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_secrets { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod tenant_access_git { + use super::{models, models::*}; + pub async fn regenerate_primary_key( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + subscription_id: &str, + access_name: &str, + ) -> std::result::Result<(), regenerate_primary_key::Error> { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/tenant/{}/git/regeneratePrimaryKey", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + access_name + ); + let mut url = url::Url::parse(url_str).map_err(regenerate_primary_key::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::POST); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(regenerate_primary_key::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.header(http::header::CONTENT_LENGTH, 0); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder + .body(req_body) + .map_err(regenerate_primary_key::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(regenerate_primary_key::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::NO_CONTENT => Ok(()), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| regenerate_primary_key::Error::DeserializeError(source, rsp_body.clone()))?; + Err(regenerate_primary_key::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod regenerate_primary_key { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn regenerate_secondary_key( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + subscription_id: &str, + access_name: &str, + ) -> std::result::Result<(), regenerate_secondary_key::Error> { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/tenant/{}/git/regenerateSecondaryKey", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + access_name + ); + let mut url = url::Url::parse(url_str).map_err(regenerate_secondary_key::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::POST); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(regenerate_secondary_key::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.header(http::header::CONTENT_LENGTH, 0); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder + .body(req_body) + .map_err(regenerate_secondary_key::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(regenerate_secondary_key::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::NO_CONTENT => Ok(()), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| regenerate_secondary_key::Error::DeserializeError(source, rsp_body.clone()))?; + Err(regenerate_secondary_key::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod regenerate_secondary_key { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod tenant_configuration { + use super::{models, models::*}; + pub async fn deploy( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + parameters: &DeployConfigurationParameters, + subscription_id: &str, + configuration_name: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/tenant/{}/deploy", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + configuration_name + ); + let mut url = url::Url::parse(url_str).map_err(deploy::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::POST); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(deploy::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(deploy::Error::SerializeError)?; + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(deploy::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(deploy::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::ACCEPTED => Ok(deploy::Response::Accepted202), + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: OperationResultContract = + serde_json::from_slice(rsp_body).map_err(|source| deploy::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(deploy::Response::Ok200(rsp_value)) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| deploy::Error::DeserializeError(source, rsp_body.clone()))?; + Err(deploy::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod deploy { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Accepted202, + Ok200(OperationResultContract), + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn save( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + parameters: &SaveConfigurationParameter, + subscription_id: &str, + configuration_name: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/tenant/{}/save", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + configuration_name + ); + let mut url = url::Url::parse(url_str).map_err(save::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::POST); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(save::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(save::Error::SerializeError)?; + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(save::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(save::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::ACCEPTED => Ok(save::Response::Accepted202), + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: OperationResultContract = + serde_json::from_slice(rsp_body).map_err(|source| save::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(save::Response::Ok200(rsp_value)) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| save::Error::DeserializeError(source, rsp_body.clone()))?; + Err(save::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod save { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Accepted202, + Ok200(OperationResultContract), + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn validate( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + parameters: &DeployConfigurationParameters, + subscription_id: &str, + configuration_name: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/tenant/{}/validate", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + configuration_name + ); + let mut url = url::Url::parse(url_str).map_err(validate::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::POST); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(validate::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(validate::Error::SerializeError)?; + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(validate::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(validate::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::ACCEPTED => Ok(validate::Response::Accepted202), + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: OperationResultContract = + serde_json::from_slice(rsp_body).map_err(|source| validate::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(validate::Response::Ok200(rsp_value)) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| validate::Error::DeserializeError(source, rsp_body.clone()))?; + Err(validate::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod validate { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Accepted202, + Ok200(OperationResultContract), + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get_sync_state( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + subscription_id: &str, + configuration_name: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/tenant/{}/syncState", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + configuration_name + ); + let mut url = url::Url::parse(url_str).map_err(get_sync_state::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get_sync_state::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get_sync_state::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(get_sync_state::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: TenantConfigurationSyncStateContract = + serde_json::from_slice(rsp_body).map_err(|source| get_sync_state::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get_sync_state::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get_sync_state::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get_sync_state { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod user { + use super::{models, models::*}; + pub async fn list_by_service( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + filter: Option<&str>, + top: Option, + skip: Option, + expand_groups: Option, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/users", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name + ); + let mut url = url::Url::parse(url_str).map_err(list_by_service::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list_by_service::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + if let Some(filter) = filter { + url.query_pairs_mut().append_pair("$filter", filter); + } + if let Some(top) = top { + url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); + } + if let Some(skip) = skip { + url.query_pairs_mut().append_pair("$skip", skip.to_string().as_str()); + } + if let Some(expand_groups) = expand_groups { + url.query_pairs_mut() + .append_pair("expandGroups", expand_groups.to_string().as_str()); + } + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list_by_service::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(list_by_service::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: UserCollection = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| list_by_service::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list_by_service::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list_by_service { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + user_id: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/users/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + user_id + ); + let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: UserContract = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn create_or_update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + user_id: &str, + parameters: &UserCreateParameters, + notify: Option, + if_match: Option<&str>, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/users/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + user_id + ); + let mut url = url::Url::parse(url_str).map_err(create_or_update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PUT); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(create_or_update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(create_or_update::Error::SerializeError)?; + if let Some(notify) = notify { + url.query_pairs_mut().append_pair("notify", notify.to_string().as_str()); + } + if let Some(if_match) = if_match { + req_builder = req_builder.header("If-Match", if_match); + } + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(create_or_update::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(create_or_update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::CREATED => { + let rsp_body = rsp.body(); + let rsp_value: UserContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Created201(rsp_value)) + } + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: UserContract = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(create_or_update::Response::Ok200(rsp_value)) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(create_or_update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod create_or_update { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Created201(UserContract), + Ok200(UserContract), + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn update( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + user_id: &str, + parameters: &UserUpdateParameters, + if_match: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/users/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + user_id + ); + let mut url = url::Url::parse(url_str).map_err(update::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::PATCH); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(update::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(update::Error::SerializeError)?; + req_builder = req_builder.header("If-Match", if_match); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(update::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(update::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: UserContract = + serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; + Err(update::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod update { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn delete( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + user_id: &str, + delete_subscriptions: Option, + notify: Option, + if_match: &str, + subscription_id: &str, + app_type: Option<&str>, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/users/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + user_id + ); + let mut url = url::Url::parse(url_str).map_err(delete::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::DELETE); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(delete::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + if let Some(delete_subscriptions) = delete_subscriptions { + url.query_pairs_mut() + .append_pair("deleteSubscriptions", delete_subscriptions.to_string().as_str()); + } + if let Some(notify) = notify { + url.query_pairs_mut().append_pair("notify", notify.to_string().as_str()); + } + req_builder = req_builder.header("If-Match", if_match); + if let Some(app_type) = app_type { + url.query_pairs_mut().append_pair("appType", app_type); + } + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(delete::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(delete::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(delete::Response::Ok200), + http::StatusCode::NO_CONTENT => Ok(delete::Response::NoContent204), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| delete::Error::DeserializeError(source, rsp_body.clone()))?; + Err(delete::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod delete { + use super::{models, models::*}; + #[derive(Debug)] + pub enum Response { + Ok200, + NoContent204, + } + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get_entity_tag( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + user_id: &str, + subscription_id: &str, + ) -> std::result::Result<(), get_entity_tag::Error> { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/users/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + user_id + ); + let mut url = url::Url::parse(url_str).map_err(get_entity_tag::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::HEAD); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get_entity_tag::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get_entity_tag::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(get_entity_tag::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => Ok(()), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get_entity_tag::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get_entity_tag::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get_entity_tag { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn generate_sso_url( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + user_id: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/users/{}/generateSsoUrl", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + user_id + ); + let mut url = url::Url::parse(url_str).map_err(generate_sso_url::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::POST); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(generate_sso_url::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.header(http::header::CONTENT_LENGTH, 0); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(generate_sso_url::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(generate_sso_url::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: GenerateSsoUrlResult = serde_json::from_slice(rsp_body) + .map_err(|source| generate_sso_url::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| generate_sso_url::Error::DeserializeError(source, rsp_body.clone()))?; + Err(generate_sso_url::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod generate_sso_url { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get_shared_access_token( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + user_id: &str, + parameters: &UserTokenParameters, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/users/{}/token", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + user_id + ); + let mut url = url::Url::parse(url_str).map_err(get_shared_access_token::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::POST); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get_shared_access_token::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + req_builder = req_builder.header("content-type", "application/json"); + let req_body = azure_core::to_json(parameters).map_err(get_shared_access_token::Error::SerializeError)?; + req_builder = req_builder.uri(url.as_str()); + let req = req_builder + .body(req_body) + .map_err(get_shared_access_token::Error::BuildRequestError)?; + let rsp = http_client + .execute_request(req) + .await + .map_err(get_shared_access_token::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: UserTokenResult = serde_json::from_slice(rsp_body) + .map_err(|source| get_shared_access_token::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) + .map_err(|source| get_shared_access_token::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get_shared_access_token::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get_shared_access_token { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod user_group { + use super::{models, models::*}; + pub async fn list( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + user_id: &str, + filter: Option<&str>, + top: Option, + skip: Option, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/users/{}/groups", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + user_id + ); + let mut url = url::Url::parse(url_str).map_err(list::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + if let Some(filter) = filter { + url.query_pairs_mut().append_pair("$filter", filter); + } + if let Some(top) = top { + url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); + } + if let Some(skip) = skip { + url.query_pairs_mut().append_pair("$skip", skip.to_string().as_str()); + } + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(list::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: GroupCollection = + serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod user_subscription { + use super::{models, models::*}; + pub async fn list( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + user_id: &str, + filter: Option<&str>, + top: Option, + skip: Option, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/users/{}/subscriptions", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + user_id + ); + let mut url = url::Url::parse(url_str).map_err(list::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + if let Some(filter) = filter { + url.query_pairs_mut().append_pair("$filter", filter); + } + if let Some(top) = top { + url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); + } + if let Some(skip) = skip { + url.query_pairs_mut().append_pair("$skip", skip.to_string().as_str()); + } + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(list::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: SubscriptionCollection = + serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } + pub async fn get( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + user_id: &str, + sid: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/users/{}/subscriptions/{}", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + user_id, + sid + ); + let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(get::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: SubscriptionContract = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; + Err(get::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod get { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod user_identities { + use super::{models, models::*}; + pub async fn list( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + user_id: &str, + subscription_id: &str, + ) -> std::result::Result { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/users/{}/identities", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + user_id + ); + let mut url = url::Url::parse(url_str).map_err(list::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::GET); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(list::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(list::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(list::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::OK => { + let rsp_body = rsp.body(); + let rsp_value: UserIdentityCollection = + serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; + Ok(rsp_value) + } + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; + Err(list::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod list { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} +pub mod user_confirmation_password { + use super::{models, models::*}; + pub async fn send( + operation_config: &crate::OperationConfig, + resource_group_name: &str, + service_name: &str, + user_id: &str, + subscription_id: &str, + app_type: Option<&str>, + ) -> std::result::Result<(), send::Error> { + let http_client = operation_config.http_client(); + let url_str = &format!( + "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiManagement/service/{}/users/{}/confirmations/password/send", + operation_config.base_path(), + subscription_id, + resource_group_name, + service_name, + user_id + ); + let mut url = url::Url::parse(url_str).map_err(send::Error::ParseUrlError)?; + let mut req_builder = http::request::Builder::new(); + req_builder = req_builder.method(http::Method::POST); + if let Some(token_credential) = operation_config.token_credential() { + let token_response = token_credential + .get_token(operation_config.token_credential_resource()) + .await + .map_err(send::Error::GetTokenError)?; + req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); + } + url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); + if let Some(app_type) = app_type { + url.query_pairs_mut().append_pair("appType", app_type); + } + let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); + req_builder = req_builder.header(http::header::CONTENT_LENGTH, 0); + req_builder = req_builder.uri(url.as_str()); + let req = req_builder.body(req_body).map_err(send::Error::BuildRequestError)?; + let rsp = http_client.execute_request(req).await.map_err(send::Error::ExecuteRequestError)?; + match rsp.status() { + http::StatusCode::NO_CONTENT => Ok(()), + status_code => { + let rsp_body = rsp.body(); + let rsp_value: ErrorResponse = + serde_json::from_slice(rsp_body).map_err(|source| send::Error::DeserializeError(source, rsp_body.clone()))?; + Err(send::Error::DefaultResponse { + status_code, + value: rsp_value, + }) + } + } + } + pub mod send { + use super::{models, models::*}; + #[derive(Debug, thiserror :: Error)] + pub enum Error { + #[error("HTTP status code {}", status_code)] + DefaultResponse { + status_code: http::StatusCode, + value: models::ErrorResponse, + }, + #[error("Failed to parse request URL: {0}")] + ParseUrlError(url::ParseError), + #[error("Failed to build request: {0}")] + BuildRequestError(http::Error), + #[error("Failed to execute request: {0}")] + ExecuteRequestError(azure_core::HttpError), + #[error("Failed to serialize request body: {0}")] + SerializeError(serde_json::Error), + #[error("Failed to deserialize response: {0}, body: {1:?}")] + DeserializeError(serde_json::Error, bytes::Bytes), + #[error("Failed to get access token: {0}")] + GetTokenError(azure_core::Error), + } + } +} diff --git a/services/mgmt/apimanagement/src/package_preview_2019_12/operations.rs b/services/mgmt/apimanagement/src/package_preview_2019_12/operations.rs index 5718142562..e6d44ca585 100644 --- a/services/mgmt/apimanagement/src/package_preview_2019_12/operations.rs +++ b/services/mgmt/apimanagement/src/package_preview_2019_12/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod api_export { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -59,7 +59,7 @@ pub mod api_export { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -83,7 +83,7 @@ pub mod api_export { } } pub mod api { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_tags( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -152,7 +152,7 @@ pub mod api { } } pub mod list_by_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -176,7 +176,7 @@ pub mod api { } } pub mod api_version_set { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -240,7 +240,7 @@ pub mod api_version_set { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -312,7 +312,7 @@ pub mod api_version_set { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -399,7 +399,7 @@ pub mod api_version_set { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApiVersionSetContract), @@ -475,7 +475,7 @@ pub mod api_version_set { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -545,7 +545,7 @@ pub mod api_version_set { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -620,7 +620,7 @@ pub mod api_version_set { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -644,7 +644,7 @@ pub mod api_version_set { } } pub mod authorization_server { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -708,7 +708,7 @@ pub mod authorization_server { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -780,7 +780,7 @@ pub mod authorization_server { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -867,7 +867,7 @@ pub mod authorization_server { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(AuthorizationServerContract), @@ -943,7 +943,7 @@ pub mod authorization_server { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1013,7 +1013,7 @@ pub mod authorization_server { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1088,7 +1088,7 @@ pub mod authorization_server { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1164,7 +1164,7 @@ pub mod authorization_server { } } pub mod list_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1188,7 +1188,7 @@ pub mod authorization_server { } } pub mod backend { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1252,7 +1252,7 @@ pub mod backend { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1324,7 +1324,7 @@ pub mod backend { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1411,7 +1411,7 @@ pub mod backend { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(BackendContract), @@ -1487,7 +1487,7 @@ pub mod backend { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1557,7 +1557,7 @@ pub mod backend { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1632,7 +1632,7 @@ pub mod backend { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1708,7 +1708,7 @@ pub mod backend { } } pub mod reconnect { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1732,7 +1732,7 @@ pub mod backend { } } pub mod cache { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1792,7 +1792,7 @@ pub mod cache { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1864,7 +1864,7 @@ pub mod cache { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1951,7 +1951,7 @@ pub mod cache { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CacheContract), @@ -2027,7 +2027,7 @@ pub mod cache { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2097,7 +2097,7 @@ pub mod cache { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2172,7 +2172,7 @@ pub mod cache { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2196,7 +2196,7 @@ pub mod cache { } } pub mod certificate { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2260,7 +2260,7 @@ pub mod certificate { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2332,7 +2332,7 @@ pub mod certificate { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2419,7 +2419,7 @@ pub mod certificate { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CertificateContract), @@ -2494,7 +2494,7 @@ pub mod certificate { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2569,7 +2569,7 @@ pub mod certificate { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2593,7 +2593,7 @@ pub mod certificate { } } pub mod api_management_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ApiManagement/operations", operation_config.base_path(),); @@ -2629,7 +2629,7 @@ pub mod api_management_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2650,7 +2650,7 @@ pub mod api_management_operations { } } pub mod api_management_service_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list_available_service_skus( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2704,7 +2704,7 @@ pub mod api_management_service_skus { } } pub mod list_available_service_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2728,7 +2728,7 @@ pub mod api_management_service_skus { } } pub mod api_management_service { - use crate::models::*; + use super::{models, models::*}; pub async fn restore( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2783,7 +2783,7 @@ pub mod api_management_service { } } pub mod restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApiManagementServiceResource), @@ -2861,7 +2861,7 @@ pub mod api_management_service { } } pub mod backup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApiManagementServiceResource), @@ -2936,7 +2936,7 @@ pub mod api_management_service { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3018,7 +3018,7 @@ pub mod api_management_service { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApiManagementServiceResource), @@ -3097,7 +3097,7 @@ pub mod api_management_service { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApiManagementServiceResource), @@ -3174,7 +3174,7 @@ pub mod api_management_service { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3253,7 +3253,7 @@ pub mod api_management_service { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3317,7 +3317,7 @@ pub mod api_management_service { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3388,7 +3388,7 @@ pub mod api_management_service { } } pub mod get_sso_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3461,7 +3461,7 @@ pub mod api_management_service { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3543,7 +3543,7 @@ pub mod api_management_service { } } pub mod apply_network_configuration_updates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3572,7 +3572,7 @@ pub mod api_management_service { } } pub mod diagnostic { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3636,7 +3636,7 @@ pub mod diagnostic { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3708,7 +3708,7 @@ pub mod diagnostic { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3795,7 +3795,7 @@ pub mod diagnostic { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DiagnosticContract), @@ -3871,7 +3871,7 @@ pub mod diagnostic { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3941,7 +3941,7 @@ pub mod diagnostic { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4016,7 +4016,7 @@ pub mod diagnostic { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4040,7 +4040,7 @@ pub mod diagnostic { } } pub mod email_template { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4104,7 +4104,7 @@ pub mod email_template { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4176,7 +4176,7 @@ pub mod email_template { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4263,7 +4263,7 @@ pub mod email_template { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(EmailTemplateContract), @@ -4339,7 +4339,7 @@ pub mod email_template { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4409,7 +4409,7 @@ pub mod email_template { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4484,7 +4484,7 @@ pub mod email_template { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4508,7 +4508,7 @@ pub mod email_template { } } pub mod gateway { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4568,7 +4568,7 @@ pub mod gateway { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4640,7 +4640,7 @@ pub mod gateway { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4727,7 +4727,7 @@ pub mod gateway { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GatewayContract), @@ -4803,7 +4803,7 @@ pub mod gateway { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4873,7 +4873,7 @@ pub mod gateway { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4948,7 +4948,7 @@ pub mod gateway { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5024,7 +5024,7 @@ pub mod gateway { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5096,7 +5096,7 @@ pub mod gateway { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5173,7 +5173,7 @@ pub mod gateway { } } pub mod generate_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5197,7 +5197,7 @@ pub mod gateway { } } pub mod gateway_hostname_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5259,7 +5259,7 @@ pub mod gateway_hostname_configuration { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5333,7 +5333,7 @@ pub mod gateway_hostname_configuration { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5418,7 +5418,7 @@ pub mod gateway_hostname_configuration { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GatewayHostnameConfigurationContract), @@ -5493,7 +5493,7 @@ pub mod gateway_hostname_configuration { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5570,7 +5570,7 @@ pub mod gateway_hostname_configuration { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5594,7 +5594,7 @@ pub mod gateway_hostname_configuration { } } pub mod gateway_api { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5656,7 +5656,7 @@ pub mod gateway_api { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5745,7 +5745,7 @@ pub mod gateway_api { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApiContract), @@ -5820,7 +5820,7 @@ pub mod gateway_api { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5897,7 +5897,7 @@ pub mod gateway_api { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5921,7 +5921,7 @@ pub mod gateway_api { } } pub mod group { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5985,7 +5985,7 @@ pub mod group { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6057,7 +6057,7 @@ pub mod group { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6144,7 +6144,7 @@ pub mod group { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GroupContract), @@ -6220,7 +6220,7 @@ pub mod group { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6290,7 +6290,7 @@ pub mod group { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6365,7 +6365,7 @@ pub mod group { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6389,7 +6389,7 @@ pub mod group { } } pub mod group_user { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6452,7 +6452,7 @@ pub mod group_user { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6532,7 +6532,7 @@ pub mod group_user { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(UserContract), @@ -6607,7 +6607,7 @@ pub mod group_user { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6685,7 +6685,7 @@ pub mod group_user { } } pub mod check_entity_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -6711,7 +6711,7 @@ pub mod group_user { } } pub mod identity_provider { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6763,7 +6763,7 @@ pub mod identity_provider { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6835,7 +6835,7 @@ pub mod identity_provider { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6922,7 +6922,7 @@ pub mod identity_provider { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(IdentityProviderContract), @@ -6998,7 +6998,7 @@ pub mod identity_provider { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7068,7 +7068,7 @@ pub mod identity_provider { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7143,7 +7143,7 @@ pub mod identity_provider { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7219,7 +7219,7 @@ pub mod identity_provider { } } pub mod list_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7243,7 +7243,7 @@ pub mod identity_provider { } } pub mod issue { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7307,7 +7307,7 @@ pub mod issue { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7379,7 +7379,7 @@ pub mod issue { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7403,7 +7403,7 @@ pub mod issue { } } pub mod logger { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7467,7 +7467,7 @@ pub mod logger { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7539,7 +7539,7 @@ pub mod logger { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7626,7 +7626,7 @@ pub mod logger { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoggerContract), @@ -7702,7 +7702,7 @@ pub mod logger { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7776,7 +7776,7 @@ pub mod logger { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7851,7 +7851,7 @@ pub mod logger { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7875,7 +7875,7 @@ pub mod logger { } } pub mod network_status { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7927,7 +7927,7 @@ pub mod network_status { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8002,7 +8002,7 @@ pub mod network_status { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8026,7 +8026,7 @@ pub mod network_status { } } pub mod notification { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8086,7 +8086,7 @@ pub mod notification { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8158,7 +8158,7 @@ pub mod notification { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8237,7 +8237,7 @@ pub mod notification { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8261,7 +8261,7 @@ pub mod notification { } } pub mod notification_recipient_user { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_notification( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8315,7 +8315,7 @@ pub mod notification_recipient_user { } } pub mod list_by_notification { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8398,7 +8398,7 @@ pub mod notification_recipient_user { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(RecipientUserContract), @@ -8473,7 +8473,7 @@ pub mod notification_recipient_user { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8551,7 +8551,7 @@ pub mod notification_recipient_user { } } pub mod check_entity_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -8577,7 +8577,7 @@ pub mod notification_recipient_user { } } pub mod notification_recipient_email { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_notification( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8631,7 +8631,7 @@ pub mod notification_recipient_email { } } pub mod list_by_notification { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8714,7 +8714,7 @@ pub mod notification_recipient_email { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(RecipientEmailContract), @@ -8789,7 +8789,7 @@ pub mod notification_recipient_email { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8867,7 +8867,7 @@ pub mod notification_recipient_email { } } pub mod check_entity_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -8893,7 +8893,7 @@ pub mod notification_recipient_email { } } pub mod open_id_connect_provider { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8957,7 +8957,7 @@ pub mod open_id_connect_provider { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9029,7 +9029,7 @@ pub mod open_id_connect_provider { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9116,7 +9116,7 @@ pub mod open_id_connect_provider { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(OpenidConnectProviderContract), @@ -9192,7 +9192,7 @@ pub mod open_id_connect_provider { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9262,7 +9262,7 @@ pub mod open_id_connect_provider { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9337,7 +9337,7 @@ pub mod open_id_connect_provider { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9413,7 +9413,7 @@ pub mod open_id_connect_provider { } } pub mod list_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9437,7 +9437,7 @@ pub mod open_id_connect_provider { } } pub mod policy { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9489,7 +9489,7 @@ pub mod policy { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9565,7 +9565,7 @@ pub mod policy { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9652,7 +9652,7 @@ pub mod policy { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PolicyContract), @@ -9727,7 +9727,7 @@ pub mod policy { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9802,7 +9802,7 @@ pub mod policy { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9826,7 +9826,7 @@ pub mod policy { } } pub mod policy_description { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9882,7 +9882,7 @@ pub mod policy_description { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9906,7 +9906,7 @@ pub mod policy_description { } } pub mod sign_in_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9955,7 +9955,7 @@ pub mod sign_in_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10034,7 +10034,7 @@ pub mod sign_in_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10103,7 +10103,7 @@ pub mod sign_in_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10171,7 +10171,7 @@ pub mod sign_in_settings { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10195,7 +10195,7 @@ pub mod sign_in_settings { } } pub mod sign_up_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10244,7 +10244,7 @@ pub mod sign_up_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10323,7 +10323,7 @@ pub mod sign_up_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10392,7 +10392,7 @@ pub mod sign_up_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10460,7 +10460,7 @@ pub mod sign_up_settings { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10484,7 +10484,7 @@ pub mod sign_up_settings { } } pub mod delegation_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10533,7 +10533,7 @@ pub mod delegation_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10612,7 +10612,7 @@ pub mod delegation_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10681,7 +10681,7 @@ pub mod delegation_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10749,7 +10749,7 @@ pub mod delegation_settings { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10823,7 +10823,7 @@ pub mod delegation_settings { } } pub mod list_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10847,7 +10847,7 @@ pub mod delegation_settings { } } pub mod product { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10920,7 +10920,7 @@ pub mod product { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10992,7 +10992,7 @@ pub mod product { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11079,7 +11079,7 @@ pub mod product { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ProductContract), @@ -11155,7 +11155,7 @@ pub mod product { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11230,7 +11230,7 @@ pub mod product { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11305,7 +11305,7 @@ pub mod product { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11395,7 +11395,7 @@ pub mod product { } } pub mod list_by_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11419,7 +11419,7 @@ pub mod product { } } pub mod product_api { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_product( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11485,7 +11485,7 @@ pub mod product_api { } } pub mod list_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11568,7 +11568,7 @@ pub mod product_api { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApiContract), @@ -11643,7 +11643,7 @@ pub mod product_api { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11720,7 +11720,7 @@ pub mod product_api { } } pub mod check_entity_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11744,7 +11744,7 @@ pub mod product_api { } } pub mod product_group { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_product( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11810,7 +11810,7 @@ pub mod product_group { } } pub mod list_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11893,7 +11893,7 @@ pub mod product_group { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GroupContract), @@ -11968,7 +11968,7 @@ pub mod product_group { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12045,7 +12045,7 @@ pub mod product_group { } } pub mod check_entity_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12069,7 +12069,7 @@ pub mod product_group { } } pub mod product_subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12132,7 +12132,7 @@ pub mod product_subscriptions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12156,7 +12156,7 @@ pub mod product_subscriptions { } } pub mod product_policy { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_product( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12210,7 +12210,7 @@ pub mod product_policy { } } pub mod list_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12288,7 +12288,7 @@ pub mod product_policy { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12377,7 +12377,7 @@ pub mod product_policy { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PolicyContract), @@ -12454,7 +12454,7 @@ pub mod product_policy { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12531,7 +12531,7 @@ pub mod product_policy { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12555,7 +12555,7 @@ pub mod product_policy { } } pub mod tag { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_product( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12621,7 +12621,7 @@ pub mod tag { } } pub mod list_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12698,7 +12698,7 @@ pub mod tag { } } pub mod get_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12781,7 +12781,7 @@ pub mod tag { } } pub mod assign_to_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(TagContract), @@ -12859,7 +12859,7 @@ pub mod tag { } } pub mod detach_from_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12938,7 +12938,7 @@ pub mod tag { } } pub mod get_entity_state_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13027,7 +13027,7 @@ pub mod tag { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13099,7 +13099,7 @@ pub mod tag { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13186,7 +13186,7 @@ pub mod tag { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(TagContract), @@ -13262,7 +13262,7 @@ pub mod tag { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13332,7 +13332,7 @@ pub mod tag { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13407,7 +13407,7 @@ pub mod tag { } } pub mod get_entity_state { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13431,7 +13431,7 @@ pub mod tag { } } pub mod named_value { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13495,7 +13495,7 @@ pub mod named_value { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13567,7 +13567,7 @@ pub mod named_value { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13655,7 +13655,7 @@ pub mod named_value { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -13739,7 +13739,7 @@ pub mod named_value { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -13815,7 +13815,7 @@ pub mod named_value { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13890,7 +13890,7 @@ pub mod named_value { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13966,7 +13966,7 @@ pub mod named_value { } } pub mod list_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13990,7 +13990,7 @@ pub mod named_value { } } pub mod quota_by_counter_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14044,7 +14044,7 @@ pub mod quota_by_counter_keys { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14113,7 +14113,7 @@ pub mod quota_by_counter_keys { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14137,7 +14137,7 @@ pub mod quota_by_counter_keys { } } pub mod quota_by_period_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14190,7 +14190,7 @@ pub mod quota_by_period_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14261,7 +14261,7 @@ pub mod quota_by_period_keys { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14285,7 +14285,7 @@ pub mod quota_by_period_keys { } } pub mod region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14337,7 +14337,7 @@ pub mod region { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14361,7 +14361,7 @@ pub mod region { } } pub mod reports { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_api( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14425,7 +14425,7 @@ pub mod reports { } } pub mod list_by_api { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14507,7 +14507,7 @@ pub mod reports { } } pub mod list_by_user { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14589,7 +14589,7 @@ pub mod reports { } } pub mod list_by_operation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14671,7 +14671,7 @@ pub mod reports { } } pub mod list_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14749,7 +14749,7 @@ pub mod reports { } } pub mod list_by_geo { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14831,7 +14831,7 @@ pub mod reports { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14915,7 +14915,7 @@ pub mod reports { } } pub mod list_by_time { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14993,7 +14993,7 @@ pub mod reports { } } pub mod list_by_request { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15014,7 +15014,7 @@ pub mod reports { } } pub mod subscription { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15075,7 +15075,7 @@ pub mod subscription { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15147,7 +15147,7 @@ pub mod subscription { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15238,7 +15238,7 @@ pub mod subscription { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(SubscriptionContract), @@ -15318,7 +15318,7 @@ pub mod subscription { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15388,7 +15388,7 @@ pub mod subscription { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -15463,7 +15463,7 @@ pub mod subscription { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15536,7 +15536,7 @@ pub mod subscription { } } pub mod regenerate_primary_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15609,7 +15609,7 @@ pub mod subscription { } } pub mod regenerate_secondary_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15685,7 +15685,7 @@ pub mod subscription { } } pub mod list_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15709,7 +15709,7 @@ pub mod subscription { } } pub mod tag_resource { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15773,7 +15773,7 @@ pub mod tag_resource { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15797,7 +15797,7 @@ pub mod tag_resource { } } pub mod tenant_access { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15848,7 +15848,7 @@ pub mod tenant_access { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15919,7 +15919,7 @@ pub mod tenant_access { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15989,7 +15989,7 @@ pub mod tenant_access { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16062,7 +16062,7 @@ pub mod tenant_access { } } pub mod regenerate_primary_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16135,7 +16135,7 @@ pub mod tenant_access { } } pub mod regenerate_secondary_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16211,7 +16211,7 @@ pub mod tenant_access { } } pub mod list_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16235,7 +16235,7 @@ pub mod tenant_access { } } pub mod tenant_access_git { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16286,7 +16286,7 @@ pub mod tenant_access_git { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16359,7 +16359,7 @@ pub mod tenant_access_git { } } pub mod regenerate_primary_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16432,7 +16432,7 @@ pub mod tenant_access_git { } } pub mod regenerate_secondary_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16508,7 +16508,7 @@ pub mod tenant_access_git { } } pub mod list_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16532,7 +16532,7 @@ pub mod tenant_access_git { } } pub mod tenant_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn deploy( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16586,7 +16586,7 @@ pub mod tenant_configuration { } } pub mod deploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -16666,7 +16666,7 @@ pub mod tenant_configuration { } } pub mod save { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -16749,7 +16749,7 @@ pub mod tenant_configuration { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -16827,7 +16827,7 @@ pub mod tenant_configuration { } } pub mod get_sync_state { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16848,7 +16848,7 @@ pub mod tenant_configuration { } } pub mod user { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16917,7 +16917,7 @@ pub mod user { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16989,7 +16989,7 @@ pub mod user { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17076,7 +17076,7 @@ pub mod user { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(UserContract), @@ -17152,7 +17152,7 @@ pub mod user { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17231,7 +17231,7 @@ pub mod user { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -17306,7 +17306,7 @@ pub mod user { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17382,7 +17382,7 @@ pub mod user { } } pub mod generate_sso_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17461,7 +17461,7 @@ pub mod user { } } pub mod get_shared_access_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17485,7 +17485,7 @@ pub mod user { } } pub mod user_group { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17548,7 +17548,7 @@ pub mod user_group { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17572,7 +17572,7 @@ pub mod user_group { } } pub mod user_subscription { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17635,7 +17635,7 @@ pub mod user_subscription { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17659,7 +17659,7 @@ pub mod user_subscription { } } pub mod user_identities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17710,7 +17710,7 @@ pub mod user_identities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17734,7 +17734,7 @@ pub mod user_identities { } } pub mod user_confirmation_password { - use crate::models::*; + use super::{models, models::*}; pub async fn send( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17781,7 +17781,7 @@ pub mod user_confirmation_password { } } pub mod send { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/apimanagement/src/package_preview_2020_06/operations.rs b/services/mgmt/apimanagement/src/package_preview_2020_06/operations.rs index a0fd3f2a7d..5dfddd8d60 100644 --- a/services/mgmt/apimanagement/src/package_preview_2020_06/operations.rs +++ b/services/mgmt/apimanagement/src/package_preview_2020_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod api_export { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -59,7 +59,7 @@ pub mod api_export { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -83,7 +83,7 @@ pub mod api_export { } } pub mod api { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_tags( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -152,7 +152,7 @@ pub mod api { } } pub mod list_by_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -176,7 +176,7 @@ pub mod api { } } pub mod api_version_set { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -240,7 +240,7 @@ pub mod api_version_set { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -312,7 +312,7 @@ pub mod api_version_set { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -399,7 +399,7 @@ pub mod api_version_set { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApiVersionSetContract), @@ -480,7 +480,7 @@ pub mod api_version_set { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -550,7 +550,7 @@ pub mod api_version_set { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -625,7 +625,7 @@ pub mod api_version_set { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -649,7 +649,7 @@ pub mod api_version_set { } } pub mod authorization_server { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -713,7 +713,7 @@ pub mod authorization_server { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -785,7 +785,7 @@ pub mod authorization_server { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -872,7 +872,7 @@ pub mod authorization_server { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(AuthorizationServerContract), @@ -953,7 +953,7 @@ pub mod authorization_server { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1023,7 +1023,7 @@ pub mod authorization_server { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1098,7 +1098,7 @@ pub mod authorization_server { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1174,7 +1174,7 @@ pub mod authorization_server { } } pub mod list_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1198,7 +1198,7 @@ pub mod authorization_server { } } pub mod backend { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1262,7 +1262,7 @@ pub mod backend { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1334,7 +1334,7 @@ pub mod backend { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1421,7 +1421,7 @@ pub mod backend { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(BackendContract), @@ -1502,7 +1502,7 @@ pub mod backend { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1572,7 +1572,7 @@ pub mod backend { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1647,7 +1647,7 @@ pub mod backend { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1723,7 +1723,7 @@ pub mod backend { } } pub mod reconnect { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1747,7 +1747,7 @@ pub mod backend { } } pub mod cache { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1807,7 +1807,7 @@ pub mod cache { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1879,7 +1879,7 @@ pub mod cache { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1966,7 +1966,7 @@ pub mod cache { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CacheContract), @@ -2047,7 +2047,7 @@ pub mod cache { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2117,7 +2117,7 @@ pub mod cache { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2192,7 +2192,7 @@ pub mod cache { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2216,7 +2216,7 @@ pub mod cache { } } pub mod certificate { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2285,7 +2285,7 @@ pub mod certificate { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2357,7 +2357,7 @@ pub mod certificate { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2444,7 +2444,7 @@ pub mod certificate { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CertificateContract), @@ -2519,7 +2519,7 @@ pub mod certificate { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2594,7 +2594,7 @@ pub mod certificate { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2670,7 +2670,7 @@ pub mod certificate { } } pub mod refresh_secret { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2694,7 +2694,7 @@ pub mod certificate { } } pub mod content_type { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2746,7 +2746,7 @@ pub mod content_type { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2818,7 +2818,7 @@ pub mod content_type { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2903,7 +2903,7 @@ pub mod content_type { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ContentTypeContract), @@ -2978,7 +2978,7 @@ pub mod content_type { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3007,7 +3007,7 @@ pub mod content_type { } } pub mod content_item { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3061,7 +3061,7 @@ pub mod content_item { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3135,7 +3135,7 @@ pub mod content_item { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3222,7 +3222,7 @@ pub mod content_item { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ContentItemContract), @@ -3299,7 +3299,7 @@ pub mod content_item { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3376,7 +3376,7 @@ pub mod content_item { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3400,7 +3400,7 @@ pub mod content_item { } } pub mod deleted_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3448,7 +3448,7 @@ pub mod deleted_services { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3521,7 +3521,7 @@ pub mod deleted_services { } } pub mod get_by_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3593,7 +3593,7 @@ pub mod deleted_services { } } pub mod purge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3623,7 +3623,7 @@ pub mod deleted_services { } } pub mod api_management_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ApiManagement/operations", operation_config.base_path(),); @@ -3661,7 +3661,7 @@ pub mod api_management_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3685,7 +3685,7 @@ pub mod api_management_operations { } } pub mod api_management_service_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list_available_service_skus( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3739,7 +3739,7 @@ pub mod api_management_service_skus { } } pub mod list_available_service_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3763,7 +3763,7 @@ pub mod api_management_service_skus { } } pub mod api_management_service { - use crate::models::*; + use super::{models, models::*}; pub async fn restore( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3818,7 +3818,7 @@ pub mod api_management_service { } } pub mod restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApiManagementServiceResource), @@ -3896,7 +3896,7 @@ pub mod api_management_service { } } pub mod backup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApiManagementServiceResource), @@ -3971,7 +3971,7 @@ pub mod api_management_service { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4053,7 +4053,7 @@ pub mod api_management_service { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApiManagementServiceResource), @@ -4132,7 +4132,7 @@ pub mod api_management_service { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApiManagementServiceResource), @@ -4209,7 +4209,7 @@ pub mod api_management_service { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4288,7 +4288,7 @@ pub mod api_management_service { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4354,7 +4354,7 @@ pub mod api_management_service { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4428,7 +4428,7 @@ pub mod api_management_service { } } pub mod get_sso_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4501,7 +4501,7 @@ pub mod api_management_service { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4573,7 +4573,7 @@ pub mod api_management_service { } } pub mod get_domain_ownership_identifier { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4655,7 +4655,7 @@ pub mod api_management_service { } } pub mod apply_network_configuration_updates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4684,7 +4684,7 @@ pub mod api_management_service { } } pub mod diagnostic { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4748,7 +4748,7 @@ pub mod diagnostic { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4820,7 +4820,7 @@ pub mod diagnostic { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4907,7 +4907,7 @@ pub mod diagnostic { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DiagnosticContract), @@ -4988,7 +4988,7 @@ pub mod diagnostic { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5058,7 +5058,7 @@ pub mod diagnostic { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5133,7 +5133,7 @@ pub mod diagnostic { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5157,7 +5157,7 @@ pub mod diagnostic { } } pub mod email_template { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5221,7 +5221,7 @@ pub mod email_template { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5293,7 +5293,7 @@ pub mod email_template { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5380,7 +5380,7 @@ pub mod email_template { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(EmailTemplateContract), @@ -5461,7 +5461,7 @@ pub mod email_template { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5531,7 +5531,7 @@ pub mod email_template { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5606,7 +5606,7 @@ pub mod email_template { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5630,7 +5630,7 @@ pub mod email_template { } } pub mod gateway { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5694,7 +5694,7 @@ pub mod gateway { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5766,7 +5766,7 @@ pub mod gateway { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5853,7 +5853,7 @@ pub mod gateway { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GatewayContract), @@ -5934,7 +5934,7 @@ pub mod gateway { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6004,7 +6004,7 @@ pub mod gateway { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6079,7 +6079,7 @@ pub mod gateway { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6155,7 +6155,7 @@ pub mod gateway { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6227,7 +6227,7 @@ pub mod gateway { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6304,7 +6304,7 @@ pub mod gateway { } } pub mod generate_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6328,7 +6328,7 @@ pub mod gateway { } } pub mod gateway_hostname_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6394,7 +6394,7 @@ pub mod gateway_hostname_configuration { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6468,7 +6468,7 @@ pub mod gateway_hostname_configuration { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6557,7 +6557,7 @@ pub mod gateway_hostname_configuration { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GatewayHostnameConfigurationContract), @@ -6634,7 +6634,7 @@ pub mod gateway_hostname_configuration { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6711,7 +6711,7 @@ pub mod gateway_hostname_configuration { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6735,7 +6735,7 @@ pub mod gateway_hostname_configuration { } } pub mod gateway_api { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6801,7 +6801,7 @@ pub mod gateway_api { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6890,7 +6890,7 @@ pub mod gateway_api { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApiContract), @@ -6965,7 +6965,7 @@ pub mod gateway_api { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7042,7 +7042,7 @@ pub mod gateway_api { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7066,7 +7066,7 @@ pub mod gateway_api { } } pub mod gateway_certificate_authority { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7132,7 +7132,7 @@ pub mod gateway_certificate_authority { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7206,7 +7206,7 @@ pub mod gateway_certificate_authority { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7295,7 +7295,7 @@ pub mod gateway_certificate_authority { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GatewayCertificateAuthorityContract), @@ -7372,7 +7372,7 @@ pub mod gateway_certificate_authority { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7449,7 +7449,7 @@ pub mod gateway_certificate_authority { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7473,7 +7473,7 @@ pub mod gateway_certificate_authority { } } pub mod group { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7537,7 +7537,7 @@ pub mod group { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7609,7 +7609,7 @@ pub mod group { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7696,7 +7696,7 @@ pub mod group { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GroupContract), @@ -7777,7 +7777,7 @@ pub mod group { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7847,7 +7847,7 @@ pub mod group { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7922,7 +7922,7 @@ pub mod group { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7946,7 +7946,7 @@ pub mod group { } } pub mod group_user { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8009,7 +8009,7 @@ pub mod group_user { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8089,7 +8089,7 @@ pub mod group_user { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(UserContract), @@ -8164,7 +8164,7 @@ pub mod group_user { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8242,7 +8242,7 @@ pub mod group_user { } } pub mod check_entity_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -8268,7 +8268,7 @@ pub mod group_user { } } pub mod identity_provider { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8320,7 +8320,7 @@ pub mod identity_provider { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8392,7 +8392,7 @@ pub mod identity_provider { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8479,7 +8479,7 @@ pub mod identity_provider { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(IdentityProviderContract), @@ -8560,7 +8560,7 @@ pub mod identity_provider { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8630,7 +8630,7 @@ pub mod identity_provider { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8705,7 +8705,7 @@ pub mod identity_provider { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8781,7 +8781,7 @@ pub mod identity_provider { } } pub mod list_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8805,7 +8805,7 @@ pub mod identity_provider { } } pub mod issue { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8869,7 +8869,7 @@ pub mod issue { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8941,7 +8941,7 @@ pub mod issue { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8965,7 +8965,7 @@ pub mod issue { } } pub mod logger { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9029,7 +9029,7 @@ pub mod logger { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9101,7 +9101,7 @@ pub mod logger { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9188,7 +9188,7 @@ pub mod logger { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoggerContract), @@ -9269,7 +9269,7 @@ pub mod logger { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9339,7 +9339,7 @@ pub mod logger { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9414,7 +9414,7 @@ pub mod logger { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9438,7 +9438,7 @@ pub mod logger { } } pub mod named_value { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9507,7 +9507,7 @@ pub mod named_value { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9579,7 +9579,7 @@ pub mod named_value { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9667,7 +9667,7 @@ pub mod named_value { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9750,7 +9750,7 @@ pub mod named_value { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9825,7 +9825,7 @@ pub mod named_value { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9900,7 +9900,7 @@ pub mod named_value { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9976,7 +9976,7 @@ pub mod named_value { } } pub mod list_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10053,7 +10053,7 @@ pub mod named_value { } } pub mod refresh_secret { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -10082,7 +10082,7 @@ pub mod named_value { } } pub mod network_status { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10134,7 +10134,7 @@ pub mod network_status { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10209,7 +10209,7 @@ pub mod network_status { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10233,7 +10233,7 @@ pub mod network_status { } } pub mod notification { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10293,7 +10293,7 @@ pub mod notification { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10365,7 +10365,7 @@ pub mod notification { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10444,7 +10444,7 @@ pub mod notification { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10468,7 +10468,7 @@ pub mod notification { } } pub mod notification_recipient_user { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_notification( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10522,7 +10522,7 @@ pub mod notification_recipient_user { } } pub mod list_by_notification { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10605,7 +10605,7 @@ pub mod notification_recipient_user { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(RecipientUserContract), @@ -10680,7 +10680,7 @@ pub mod notification_recipient_user { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10758,7 +10758,7 @@ pub mod notification_recipient_user { } } pub mod check_entity_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -10784,7 +10784,7 @@ pub mod notification_recipient_user { } } pub mod notification_recipient_email { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_notification( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10838,7 +10838,7 @@ pub mod notification_recipient_email { } } pub mod list_by_notification { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10921,7 +10921,7 @@ pub mod notification_recipient_email { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(RecipientEmailContract), @@ -10996,7 +10996,7 @@ pub mod notification_recipient_email { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11074,7 +11074,7 @@ pub mod notification_recipient_email { } } pub mod check_entity_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -11100,7 +11100,7 @@ pub mod notification_recipient_email { } } pub mod open_id_connect_provider { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11164,7 +11164,7 @@ pub mod open_id_connect_provider { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11236,7 +11236,7 @@ pub mod open_id_connect_provider { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11323,7 +11323,7 @@ pub mod open_id_connect_provider { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(OpenidConnectProviderContract), @@ -11404,7 +11404,7 @@ pub mod open_id_connect_provider { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11474,7 +11474,7 @@ pub mod open_id_connect_provider { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11549,7 +11549,7 @@ pub mod open_id_connect_provider { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11625,7 +11625,7 @@ pub mod open_id_connect_provider { } } pub mod list_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11649,7 +11649,7 @@ pub mod open_id_connect_provider { } } pub mod policy { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11701,7 +11701,7 @@ pub mod policy { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11777,7 +11777,7 @@ pub mod policy { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11864,7 +11864,7 @@ pub mod policy { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PolicyContract), @@ -11939,7 +11939,7 @@ pub mod policy { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12014,7 +12014,7 @@ pub mod policy { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12038,7 +12038,7 @@ pub mod policy { } } pub mod policy_description { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12094,7 +12094,7 @@ pub mod policy_description { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12118,7 +12118,7 @@ pub mod policy_description { } } pub mod portal_revision { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12182,7 +12182,7 @@ pub mod portal_revision { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12254,7 +12254,7 @@ pub mod portal_revision { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12332,7 +12332,7 @@ pub mod portal_revision { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -12414,7 +12414,7 @@ pub mod portal_revision { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -12489,7 +12489,7 @@ pub mod portal_revision { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12513,7 +12513,7 @@ pub mod portal_revision { } } pub mod portal_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12565,7 +12565,7 @@ pub mod portal_settings { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12589,7 +12589,7 @@ pub mod portal_settings { } } pub mod sign_in_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12638,7 +12638,7 @@ pub mod sign_in_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12717,7 +12717,7 @@ pub mod sign_in_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12786,7 +12786,7 @@ pub mod sign_in_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12854,7 +12854,7 @@ pub mod sign_in_settings { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12878,7 +12878,7 @@ pub mod sign_in_settings { } } pub mod sign_up_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12927,7 +12927,7 @@ pub mod sign_up_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13006,7 +13006,7 @@ pub mod sign_up_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13075,7 +13075,7 @@ pub mod sign_up_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13143,7 +13143,7 @@ pub mod sign_up_settings { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13167,7 +13167,7 @@ pub mod sign_up_settings { } } pub mod delegation_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13216,7 +13216,7 @@ pub mod delegation_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13295,7 +13295,7 @@ pub mod delegation_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13364,7 +13364,7 @@ pub mod delegation_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13432,7 +13432,7 @@ pub mod delegation_settings { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13506,7 +13506,7 @@ pub mod delegation_settings { } } pub mod list_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13530,7 +13530,7 @@ pub mod delegation_settings { } } pub mod product { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13603,7 +13603,7 @@ pub mod product { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13675,7 +13675,7 @@ pub mod product { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13762,7 +13762,7 @@ pub mod product { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ProductContract), @@ -13843,7 +13843,7 @@ pub mod product { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13918,7 +13918,7 @@ pub mod product { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13993,7 +13993,7 @@ pub mod product { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14083,7 +14083,7 @@ pub mod product { } } pub mod list_by_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14107,7 +14107,7 @@ pub mod product { } } pub mod product_api { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_product( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14173,7 +14173,7 @@ pub mod product_api { } } pub mod list_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14256,7 +14256,7 @@ pub mod product_api { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApiContract), @@ -14331,7 +14331,7 @@ pub mod product_api { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -14408,7 +14408,7 @@ pub mod product_api { } } pub mod check_entity_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14432,7 +14432,7 @@ pub mod product_api { } } pub mod product_group { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_product( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14498,7 +14498,7 @@ pub mod product_group { } } pub mod list_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14581,7 +14581,7 @@ pub mod product_group { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GroupContract), @@ -14656,7 +14656,7 @@ pub mod product_group { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -14733,7 +14733,7 @@ pub mod product_group { } } pub mod check_entity_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14757,7 +14757,7 @@ pub mod product_group { } } pub mod product_subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14820,7 +14820,7 @@ pub mod product_subscriptions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14844,7 +14844,7 @@ pub mod product_subscriptions { } } pub mod product_policy { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_product( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14898,7 +14898,7 @@ pub mod product_policy { } } pub mod list_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14976,7 +14976,7 @@ pub mod product_policy { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15065,7 +15065,7 @@ pub mod product_policy { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PolicyContract), @@ -15142,7 +15142,7 @@ pub mod product_policy { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -15219,7 +15219,7 @@ pub mod product_policy { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15243,7 +15243,7 @@ pub mod product_policy { } } pub mod tag { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_product( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15309,7 +15309,7 @@ pub mod tag { } } pub mod list_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15386,7 +15386,7 @@ pub mod tag { } } pub mod get_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15469,7 +15469,7 @@ pub mod tag { } } pub mod assign_to_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(TagContract), @@ -15547,7 +15547,7 @@ pub mod tag { } } pub mod detach_from_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -15626,7 +15626,7 @@ pub mod tag { } } pub mod get_entity_state_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15715,7 +15715,7 @@ pub mod tag { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15787,7 +15787,7 @@ pub mod tag { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15874,7 +15874,7 @@ pub mod tag { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(TagContract), @@ -15955,7 +15955,7 @@ pub mod tag { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16025,7 +16025,7 @@ pub mod tag { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -16100,7 +16100,7 @@ pub mod tag { } } pub mod get_entity_state { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16124,7 +16124,7 @@ pub mod tag { } } pub mod quota_by_counter_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16178,7 +16178,7 @@ pub mod quota_by_counter_keys { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16252,7 +16252,7 @@ pub mod quota_by_counter_keys { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16276,7 +16276,7 @@ pub mod quota_by_counter_keys { } } pub mod quota_by_period_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16329,7 +16329,7 @@ pub mod quota_by_period_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16405,7 +16405,7 @@ pub mod quota_by_period_keys { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16429,7 +16429,7 @@ pub mod quota_by_period_keys { } } pub mod region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16481,7 +16481,7 @@ pub mod region { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16505,7 +16505,7 @@ pub mod region { } } pub mod reports { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_api( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16571,7 +16571,7 @@ pub mod reports { } } pub mod list_by_api { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16658,7 +16658,7 @@ pub mod reports { } } pub mod list_by_user { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16745,7 +16745,7 @@ pub mod reports { } } pub mod list_by_operation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16832,7 +16832,7 @@ pub mod reports { } } pub mod list_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16915,7 +16915,7 @@ pub mod reports { } } pub mod list_by_geo { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17002,7 +17002,7 @@ pub mod reports { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17091,7 +17091,7 @@ pub mod reports { } } pub mod list_by_time { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17174,7 +17174,7 @@ pub mod reports { } } pub mod list_by_request { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17198,7 +17198,7 @@ pub mod reports { } } pub mod tenant_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17254,7 +17254,7 @@ pub mod tenant_settings { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17326,7 +17326,7 @@ pub mod tenant_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17350,7 +17350,7 @@ pub mod tenant_settings { } } pub mod api_management_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -17395,7 +17395,7 @@ pub mod api_management_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17419,7 +17419,7 @@ pub mod api_management_skus { } } pub mod subscription { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17480,7 +17480,7 @@ pub mod subscription { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17552,7 +17552,7 @@ pub mod subscription { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17647,7 +17647,7 @@ pub mod subscription { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(SubscriptionContract), @@ -17736,7 +17736,7 @@ pub mod subscription { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17806,7 +17806,7 @@ pub mod subscription { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -17881,7 +17881,7 @@ pub mod subscription { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17954,7 +17954,7 @@ pub mod subscription { } } pub mod regenerate_primary_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18027,7 +18027,7 @@ pub mod subscription { } } pub mod regenerate_secondary_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18103,7 +18103,7 @@ pub mod subscription { } } pub mod list_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18127,7 +18127,7 @@ pub mod subscription { } } pub mod tag_resource { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18191,7 +18191,7 @@ pub mod tag_resource { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18215,7 +18215,7 @@ pub mod tag_resource { } } pub mod tenant_access { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18271,7 +18271,7 @@ pub mod tenant_access { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18343,7 +18343,7 @@ pub mod tenant_access { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18419,7 +18419,7 @@ pub mod tenant_access { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18495,7 +18495,7 @@ pub mod tenant_access { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18565,7 +18565,7 @@ pub mod tenant_access { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18638,7 +18638,7 @@ pub mod tenant_access { } } pub mod regenerate_primary_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18711,7 +18711,7 @@ pub mod tenant_access { } } pub mod regenerate_secondary_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18787,7 +18787,7 @@ pub mod tenant_access { } } pub mod list_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18811,7 +18811,7 @@ pub mod tenant_access { } } pub mod tenant_access_git { - use crate::models::*; + use super::{models, models::*}; pub async fn regenerate_primary_key( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18863,7 +18863,7 @@ pub mod tenant_access_git { } } pub mod regenerate_primary_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18936,7 +18936,7 @@ pub mod tenant_access_git { } } pub mod regenerate_secondary_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18960,7 +18960,7 @@ pub mod tenant_access_git { } } pub mod tenant_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn deploy( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19014,7 +19014,7 @@ pub mod tenant_configuration { } } pub mod deploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -19094,7 +19094,7 @@ pub mod tenant_configuration { } } pub mod save { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -19177,7 +19177,7 @@ pub mod tenant_configuration { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -19257,7 +19257,7 @@ pub mod tenant_configuration { } } pub mod get_sync_state { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19281,7 +19281,7 @@ pub mod tenant_configuration { } } pub mod user { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19350,7 +19350,7 @@ pub mod user { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19422,7 +19422,7 @@ pub mod user { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19513,7 +19513,7 @@ pub mod user { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(UserContract), @@ -19594,7 +19594,7 @@ pub mod user { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19677,7 +19677,7 @@ pub mod user { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -19752,7 +19752,7 @@ pub mod user { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19828,7 +19828,7 @@ pub mod user { } } pub mod generate_sso_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19907,7 +19907,7 @@ pub mod user { } } pub mod get_shared_access_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19931,7 +19931,7 @@ pub mod user { } } pub mod user_group { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19994,7 +19994,7 @@ pub mod user_group { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20018,7 +20018,7 @@ pub mod user_group { } } pub mod user_subscription { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20081,7 +20081,7 @@ pub mod user_subscription { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20155,7 +20155,7 @@ pub mod user_subscription { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20179,7 +20179,7 @@ pub mod user_subscription { } } pub mod user_identities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20230,7 +20230,7 @@ pub mod user_identities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20254,7 +20254,7 @@ pub mod user_identities { } } pub mod user_confirmation_password { - use crate::models::*; + use super::{models, models::*}; pub async fn send( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20305,7 +20305,7 @@ pub mod user_confirmation_password { } } pub mod send { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/apimanagement/src/package_preview_2021_01/operations.rs b/services/mgmt/apimanagement/src/package_preview_2021_01/operations.rs index a0fd3f2a7d..5dfddd8d60 100644 --- a/services/mgmt/apimanagement/src/package_preview_2021_01/operations.rs +++ b/services/mgmt/apimanagement/src/package_preview_2021_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod api_export { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -59,7 +59,7 @@ pub mod api_export { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -83,7 +83,7 @@ pub mod api_export { } } pub mod api { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_tags( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -152,7 +152,7 @@ pub mod api { } } pub mod list_by_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -176,7 +176,7 @@ pub mod api { } } pub mod api_version_set { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -240,7 +240,7 @@ pub mod api_version_set { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -312,7 +312,7 @@ pub mod api_version_set { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -399,7 +399,7 @@ pub mod api_version_set { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApiVersionSetContract), @@ -480,7 +480,7 @@ pub mod api_version_set { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -550,7 +550,7 @@ pub mod api_version_set { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -625,7 +625,7 @@ pub mod api_version_set { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -649,7 +649,7 @@ pub mod api_version_set { } } pub mod authorization_server { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -713,7 +713,7 @@ pub mod authorization_server { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -785,7 +785,7 @@ pub mod authorization_server { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -872,7 +872,7 @@ pub mod authorization_server { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(AuthorizationServerContract), @@ -953,7 +953,7 @@ pub mod authorization_server { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1023,7 +1023,7 @@ pub mod authorization_server { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1098,7 +1098,7 @@ pub mod authorization_server { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1174,7 +1174,7 @@ pub mod authorization_server { } } pub mod list_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1198,7 +1198,7 @@ pub mod authorization_server { } } pub mod backend { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1262,7 +1262,7 @@ pub mod backend { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1334,7 +1334,7 @@ pub mod backend { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1421,7 +1421,7 @@ pub mod backend { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(BackendContract), @@ -1502,7 +1502,7 @@ pub mod backend { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1572,7 +1572,7 @@ pub mod backend { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1647,7 +1647,7 @@ pub mod backend { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1723,7 +1723,7 @@ pub mod backend { } } pub mod reconnect { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1747,7 +1747,7 @@ pub mod backend { } } pub mod cache { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1807,7 +1807,7 @@ pub mod cache { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1879,7 +1879,7 @@ pub mod cache { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1966,7 +1966,7 @@ pub mod cache { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CacheContract), @@ -2047,7 +2047,7 @@ pub mod cache { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2117,7 +2117,7 @@ pub mod cache { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2192,7 +2192,7 @@ pub mod cache { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2216,7 +2216,7 @@ pub mod cache { } } pub mod certificate { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2285,7 +2285,7 @@ pub mod certificate { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2357,7 +2357,7 @@ pub mod certificate { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2444,7 +2444,7 @@ pub mod certificate { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CertificateContract), @@ -2519,7 +2519,7 @@ pub mod certificate { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2594,7 +2594,7 @@ pub mod certificate { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2670,7 +2670,7 @@ pub mod certificate { } } pub mod refresh_secret { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2694,7 +2694,7 @@ pub mod certificate { } } pub mod content_type { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2746,7 +2746,7 @@ pub mod content_type { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2818,7 +2818,7 @@ pub mod content_type { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2903,7 +2903,7 @@ pub mod content_type { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ContentTypeContract), @@ -2978,7 +2978,7 @@ pub mod content_type { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3007,7 +3007,7 @@ pub mod content_type { } } pub mod content_item { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3061,7 +3061,7 @@ pub mod content_item { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3135,7 +3135,7 @@ pub mod content_item { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3222,7 +3222,7 @@ pub mod content_item { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ContentItemContract), @@ -3299,7 +3299,7 @@ pub mod content_item { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3376,7 +3376,7 @@ pub mod content_item { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3400,7 +3400,7 @@ pub mod content_item { } } pub mod deleted_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3448,7 +3448,7 @@ pub mod deleted_services { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3521,7 +3521,7 @@ pub mod deleted_services { } } pub mod get_by_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3593,7 +3593,7 @@ pub mod deleted_services { } } pub mod purge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3623,7 +3623,7 @@ pub mod deleted_services { } } pub mod api_management_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ApiManagement/operations", operation_config.base_path(),); @@ -3661,7 +3661,7 @@ pub mod api_management_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3685,7 +3685,7 @@ pub mod api_management_operations { } } pub mod api_management_service_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list_available_service_skus( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3739,7 +3739,7 @@ pub mod api_management_service_skus { } } pub mod list_available_service_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3763,7 +3763,7 @@ pub mod api_management_service_skus { } } pub mod api_management_service { - use crate::models::*; + use super::{models, models::*}; pub async fn restore( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3818,7 +3818,7 @@ pub mod api_management_service { } } pub mod restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApiManagementServiceResource), @@ -3896,7 +3896,7 @@ pub mod api_management_service { } } pub mod backup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApiManagementServiceResource), @@ -3971,7 +3971,7 @@ pub mod api_management_service { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4053,7 +4053,7 @@ pub mod api_management_service { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApiManagementServiceResource), @@ -4132,7 +4132,7 @@ pub mod api_management_service { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApiManagementServiceResource), @@ -4209,7 +4209,7 @@ pub mod api_management_service { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4288,7 +4288,7 @@ pub mod api_management_service { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4354,7 +4354,7 @@ pub mod api_management_service { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4428,7 +4428,7 @@ pub mod api_management_service { } } pub mod get_sso_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4501,7 +4501,7 @@ pub mod api_management_service { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4573,7 +4573,7 @@ pub mod api_management_service { } } pub mod get_domain_ownership_identifier { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4655,7 +4655,7 @@ pub mod api_management_service { } } pub mod apply_network_configuration_updates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4684,7 +4684,7 @@ pub mod api_management_service { } } pub mod diagnostic { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4748,7 +4748,7 @@ pub mod diagnostic { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4820,7 +4820,7 @@ pub mod diagnostic { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4907,7 +4907,7 @@ pub mod diagnostic { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DiagnosticContract), @@ -4988,7 +4988,7 @@ pub mod diagnostic { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5058,7 +5058,7 @@ pub mod diagnostic { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5133,7 +5133,7 @@ pub mod diagnostic { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5157,7 +5157,7 @@ pub mod diagnostic { } } pub mod email_template { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5221,7 +5221,7 @@ pub mod email_template { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5293,7 +5293,7 @@ pub mod email_template { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5380,7 +5380,7 @@ pub mod email_template { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(EmailTemplateContract), @@ -5461,7 +5461,7 @@ pub mod email_template { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5531,7 +5531,7 @@ pub mod email_template { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5606,7 +5606,7 @@ pub mod email_template { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5630,7 +5630,7 @@ pub mod email_template { } } pub mod gateway { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5694,7 +5694,7 @@ pub mod gateway { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5766,7 +5766,7 @@ pub mod gateway { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5853,7 +5853,7 @@ pub mod gateway { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GatewayContract), @@ -5934,7 +5934,7 @@ pub mod gateway { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6004,7 +6004,7 @@ pub mod gateway { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6079,7 +6079,7 @@ pub mod gateway { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6155,7 +6155,7 @@ pub mod gateway { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6227,7 +6227,7 @@ pub mod gateway { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6304,7 +6304,7 @@ pub mod gateway { } } pub mod generate_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6328,7 +6328,7 @@ pub mod gateway { } } pub mod gateway_hostname_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6394,7 +6394,7 @@ pub mod gateway_hostname_configuration { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6468,7 +6468,7 @@ pub mod gateway_hostname_configuration { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6557,7 +6557,7 @@ pub mod gateway_hostname_configuration { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GatewayHostnameConfigurationContract), @@ -6634,7 +6634,7 @@ pub mod gateway_hostname_configuration { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6711,7 +6711,7 @@ pub mod gateway_hostname_configuration { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6735,7 +6735,7 @@ pub mod gateway_hostname_configuration { } } pub mod gateway_api { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6801,7 +6801,7 @@ pub mod gateway_api { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6890,7 +6890,7 @@ pub mod gateway_api { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApiContract), @@ -6965,7 +6965,7 @@ pub mod gateway_api { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7042,7 +7042,7 @@ pub mod gateway_api { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7066,7 +7066,7 @@ pub mod gateway_api { } } pub mod gateway_certificate_authority { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7132,7 +7132,7 @@ pub mod gateway_certificate_authority { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7206,7 +7206,7 @@ pub mod gateway_certificate_authority { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7295,7 +7295,7 @@ pub mod gateway_certificate_authority { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GatewayCertificateAuthorityContract), @@ -7372,7 +7372,7 @@ pub mod gateway_certificate_authority { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7449,7 +7449,7 @@ pub mod gateway_certificate_authority { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7473,7 +7473,7 @@ pub mod gateway_certificate_authority { } } pub mod group { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7537,7 +7537,7 @@ pub mod group { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7609,7 +7609,7 @@ pub mod group { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7696,7 +7696,7 @@ pub mod group { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GroupContract), @@ -7777,7 +7777,7 @@ pub mod group { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7847,7 +7847,7 @@ pub mod group { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7922,7 +7922,7 @@ pub mod group { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7946,7 +7946,7 @@ pub mod group { } } pub mod group_user { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8009,7 +8009,7 @@ pub mod group_user { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8089,7 +8089,7 @@ pub mod group_user { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(UserContract), @@ -8164,7 +8164,7 @@ pub mod group_user { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8242,7 +8242,7 @@ pub mod group_user { } } pub mod check_entity_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -8268,7 +8268,7 @@ pub mod group_user { } } pub mod identity_provider { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8320,7 +8320,7 @@ pub mod identity_provider { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8392,7 +8392,7 @@ pub mod identity_provider { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8479,7 +8479,7 @@ pub mod identity_provider { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(IdentityProviderContract), @@ -8560,7 +8560,7 @@ pub mod identity_provider { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8630,7 +8630,7 @@ pub mod identity_provider { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8705,7 +8705,7 @@ pub mod identity_provider { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8781,7 +8781,7 @@ pub mod identity_provider { } } pub mod list_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8805,7 +8805,7 @@ pub mod identity_provider { } } pub mod issue { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8869,7 +8869,7 @@ pub mod issue { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8941,7 +8941,7 @@ pub mod issue { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8965,7 +8965,7 @@ pub mod issue { } } pub mod logger { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9029,7 +9029,7 @@ pub mod logger { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9101,7 +9101,7 @@ pub mod logger { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9188,7 +9188,7 @@ pub mod logger { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoggerContract), @@ -9269,7 +9269,7 @@ pub mod logger { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9339,7 +9339,7 @@ pub mod logger { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9414,7 +9414,7 @@ pub mod logger { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9438,7 +9438,7 @@ pub mod logger { } } pub mod named_value { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9507,7 +9507,7 @@ pub mod named_value { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9579,7 +9579,7 @@ pub mod named_value { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9667,7 +9667,7 @@ pub mod named_value { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9750,7 +9750,7 @@ pub mod named_value { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9825,7 +9825,7 @@ pub mod named_value { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9900,7 +9900,7 @@ pub mod named_value { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9976,7 +9976,7 @@ pub mod named_value { } } pub mod list_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10053,7 +10053,7 @@ pub mod named_value { } } pub mod refresh_secret { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -10082,7 +10082,7 @@ pub mod named_value { } } pub mod network_status { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10134,7 +10134,7 @@ pub mod network_status { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10209,7 +10209,7 @@ pub mod network_status { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10233,7 +10233,7 @@ pub mod network_status { } } pub mod notification { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10293,7 +10293,7 @@ pub mod notification { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10365,7 +10365,7 @@ pub mod notification { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10444,7 +10444,7 @@ pub mod notification { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10468,7 +10468,7 @@ pub mod notification { } } pub mod notification_recipient_user { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_notification( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10522,7 +10522,7 @@ pub mod notification_recipient_user { } } pub mod list_by_notification { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10605,7 +10605,7 @@ pub mod notification_recipient_user { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(RecipientUserContract), @@ -10680,7 +10680,7 @@ pub mod notification_recipient_user { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10758,7 +10758,7 @@ pub mod notification_recipient_user { } } pub mod check_entity_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -10784,7 +10784,7 @@ pub mod notification_recipient_user { } } pub mod notification_recipient_email { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_notification( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10838,7 +10838,7 @@ pub mod notification_recipient_email { } } pub mod list_by_notification { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10921,7 +10921,7 @@ pub mod notification_recipient_email { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(RecipientEmailContract), @@ -10996,7 +10996,7 @@ pub mod notification_recipient_email { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11074,7 +11074,7 @@ pub mod notification_recipient_email { } } pub mod check_entity_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -11100,7 +11100,7 @@ pub mod notification_recipient_email { } } pub mod open_id_connect_provider { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11164,7 +11164,7 @@ pub mod open_id_connect_provider { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11236,7 +11236,7 @@ pub mod open_id_connect_provider { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11323,7 +11323,7 @@ pub mod open_id_connect_provider { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(OpenidConnectProviderContract), @@ -11404,7 +11404,7 @@ pub mod open_id_connect_provider { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11474,7 +11474,7 @@ pub mod open_id_connect_provider { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11549,7 +11549,7 @@ pub mod open_id_connect_provider { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11625,7 +11625,7 @@ pub mod open_id_connect_provider { } } pub mod list_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11649,7 +11649,7 @@ pub mod open_id_connect_provider { } } pub mod policy { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11701,7 +11701,7 @@ pub mod policy { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11777,7 +11777,7 @@ pub mod policy { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11864,7 +11864,7 @@ pub mod policy { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PolicyContract), @@ -11939,7 +11939,7 @@ pub mod policy { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12014,7 +12014,7 @@ pub mod policy { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12038,7 +12038,7 @@ pub mod policy { } } pub mod policy_description { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12094,7 +12094,7 @@ pub mod policy_description { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12118,7 +12118,7 @@ pub mod policy_description { } } pub mod portal_revision { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12182,7 +12182,7 @@ pub mod portal_revision { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12254,7 +12254,7 @@ pub mod portal_revision { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12332,7 +12332,7 @@ pub mod portal_revision { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -12414,7 +12414,7 @@ pub mod portal_revision { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -12489,7 +12489,7 @@ pub mod portal_revision { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12513,7 +12513,7 @@ pub mod portal_revision { } } pub mod portal_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12565,7 +12565,7 @@ pub mod portal_settings { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12589,7 +12589,7 @@ pub mod portal_settings { } } pub mod sign_in_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12638,7 +12638,7 @@ pub mod sign_in_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12717,7 +12717,7 @@ pub mod sign_in_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12786,7 +12786,7 @@ pub mod sign_in_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12854,7 +12854,7 @@ pub mod sign_in_settings { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12878,7 +12878,7 @@ pub mod sign_in_settings { } } pub mod sign_up_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12927,7 +12927,7 @@ pub mod sign_up_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13006,7 +13006,7 @@ pub mod sign_up_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13075,7 +13075,7 @@ pub mod sign_up_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13143,7 +13143,7 @@ pub mod sign_up_settings { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13167,7 +13167,7 @@ pub mod sign_up_settings { } } pub mod delegation_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13216,7 +13216,7 @@ pub mod delegation_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13295,7 +13295,7 @@ pub mod delegation_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13364,7 +13364,7 @@ pub mod delegation_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13432,7 +13432,7 @@ pub mod delegation_settings { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13506,7 +13506,7 @@ pub mod delegation_settings { } } pub mod list_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13530,7 +13530,7 @@ pub mod delegation_settings { } } pub mod product { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13603,7 +13603,7 @@ pub mod product { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13675,7 +13675,7 @@ pub mod product { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13762,7 +13762,7 @@ pub mod product { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ProductContract), @@ -13843,7 +13843,7 @@ pub mod product { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13918,7 +13918,7 @@ pub mod product { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13993,7 +13993,7 @@ pub mod product { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14083,7 +14083,7 @@ pub mod product { } } pub mod list_by_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14107,7 +14107,7 @@ pub mod product { } } pub mod product_api { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_product( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14173,7 +14173,7 @@ pub mod product_api { } } pub mod list_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14256,7 +14256,7 @@ pub mod product_api { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApiContract), @@ -14331,7 +14331,7 @@ pub mod product_api { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -14408,7 +14408,7 @@ pub mod product_api { } } pub mod check_entity_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14432,7 +14432,7 @@ pub mod product_api { } } pub mod product_group { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_product( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14498,7 +14498,7 @@ pub mod product_group { } } pub mod list_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14581,7 +14581,7 @@ pub mod product_group { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GroupContract), @@ -14656,7 +14656,7 @@ pub mod product_group { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -14733,7 +14733,7 @@ pub mod product_group { } } pub mod check_entity_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14757,7 +14757,7 @@ pub mod product_group { } } pub mod product_subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14820,7 +14820,7 @@ pub mod product_subscriptions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14844,7 +14844,7 @@ pub mod product_subscriptions { } } pub mod product_policy { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_product( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14898,7 +14898,7 @@ pub mod product_policy { } } pub mod list_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14976,7 +14976,7 @@ pub mod product_policy { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15065,7 +15065,7 @@ pub mod product_policy { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PolicyContract), @@ -15142,7 +15142,7 @@ pub mod product_policy { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -15219,7 +15219,7 @@ pub mod product_policy { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15243,7 +15243,7 @@ pub mod product_policy { } } pub mod tag { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_product( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15309,7 +15309,7 @@ pub mod tag { } } pub mod list_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15386,7 +15386,7 @@ pub mod tag { } } pub mod get_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15469,7 +15469,7 @@ pub mod tag { } } pub mod assign_to_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(TagContract), @@ -15547,7 +15547,7 @@ pub mod tag { } } pub mod detach_from_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -15626,7 +15626,7 @@ pub mod tag { } } pub mod get_entity_state_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15715,7 +15715,7 @@ pub mod tag { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15787,7 +15787,7 @@ pub mod tag { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15874,7 +15874,7 @@ pub mod tag { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(TagContract), @@ -15955,7 +15955,7 @@ pub mod tag { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16025,7 +16025,7 @@ pub mod tag { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -16100,7 +16100,7 @@ pub mod tag { } } pub mod get_entity_state { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16124,7 +16124,7 @@ pub mod tag { } } pub mod quota_by_counter_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16178,7 +16178,7 @@ pub mod quota_by_counter_keys { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16252,7 +16252,7 @@ pub mod quota_by_counter_keys { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16276,7 +16276,7 @@ pub mod quota_by_counter_keys { } } pub mod quota_by_period_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16329,7 +16329,7 @@ pub mod quota_by_period_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16405,7 +16405,7 @@ pub mod quota_by_period_keys { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16429,7 +16429,7 @@ pub mod quota_by_period_keys { } } pub mod region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16481,7 +16481,7 @@ pub mod region { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16505,7 +16505,7 @@ pub mod region { } } pub mod reports { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_api( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16571,7 +16571,7 @@ pub mod reports { } } pub mod list_by_api { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16658,7 +16658,7 @@ pub mod reports { } } pub mod list_by_user { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16745,7 +16745,7 @@ pub mod reports { } } pub mod list_by_operation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16832,7 +16832,7 @@ pub mod reports { } } pub mod list_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16915,7 +16915,7 @@ pub mod reports { } } pub mod list_by_geo { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17002,7 +17002,7 @@ pub mod reports { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17091,7 +17091,7 @@ pub mod reports { } } pub mod list_by_time { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17174,7 +17174,7 @@ pub mod reports { } } pub mod list_by_request { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17198,7 +17198,7 @@ pub mod reports { } } pub mod tenant_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17254,7 +17254,7 @@ pub mod tenant_settings { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17326,7 +17326,7 @@ pub mod tenant_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17350,7 +17350,7 @@ pub mod tenant_settings { } } pub mod api_management_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -17395,7 +17395,7 @@ pub mod api_management_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17419,7 +17419,7 @@ pub mod api_management_skus { } } pub mod subscription { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17480,7 +17480,7 @@ pub mod subscription { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17552,7 +17552,7 @@ pub mod subscription { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17647,7 +17647,7 @@ pub mod subscription { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(SubscriptionContract), @@ -17736,7 +17736,7 @@ pub mod subscription { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17806,7 +17806,7 @@ pub mod subscription { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -17881,7 +17881,7 @@ pub mod subscription { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17954,7 +17954,7 @@ pub mod subscription { } } pub mod regenerate_primary_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18027,7 +18027,7 @@ pub mod subscription { } } pub mod regenerate_secondary_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18103,7 +18103,7 @@ pub mod subscription { } } pub mod list_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18127,7 +18127,7 @@ pub mod subscription { } } pub mod tag_resource { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18191,7 +18191,7 @@ pub mod tag_resource { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18215,7 +18215,7 @@ pub mod tag_resource { } } pub mod tenant_access { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18271,7 +18271,7 @@ pub mod tenant_access { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18343,7 +18343,7 @@ pub mod tenant_access { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18419,7 +18419,7 @@ pub mod tenant_access { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18495,7 +18495,7 @@ pub mod tenant_access { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18565,7 +18565,7 @@ pub mod tenant_access { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18638,7 +18638,7 @@ pub mod tenant_access { } } pub mod regenerate_primary_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18711,7 +18711,7 @@ pub mod tenant_access { } } pub mod regenerate_secondary_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18787,7 +18787,7 @@ pub mod tenant_access { } } pub mod list_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18811,7 +18811,7 @@ pub mod tenant_access { } } pub mod tenant_access_git { - use crate::models::*; + use super::{models, models::*}; pub async fn regenerate_primary_key( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18863,7 +18863,7 @@ pub mod tenant_access_git { } } pub mod regenerate_primary_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18936,7 +18936,7 @@ pub mod tenant_access_git { } } pub mod regenerate_secondary_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18960,7 +18960,7 @@ pub mod tenant_access_git { } } pub mod tenant_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn deploy( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19014,7 +19014,7 @@ pub mod tenant_configuration { } } pub mod deploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -19094,7 +19094,7 @@ pub mod tenant_configuration { } } pub mod save { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -19177,7 +19177,7 @@ pub mod tenant_configuration { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -19257,7 +19257,7 @@ pub mod tenant_configuration { } } pub mod get_sync_state { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19281,7 +19281,7 @@ pub mod tenant_configuration { } } pub mod user { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19350,7 +19350,7 @@ pub mod user { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19422,7 +19422,7 @@ pub mod user { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19513,7 +19513,7 @@ pub mod user { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(UserContract), @@ -19594,7 +19594,7 @@ pub mod user { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19677,7 +19677,7 @@ pub mod user { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -19752,7 +19752,7 @@ pub mod user { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19828,7 +19828,7 @@ pub mod user { } } pub mod generate_sso_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19907,7 +19907,7 @@ pub mod user { } } pub mod get_shared_access_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19931,7 +19931,7 @@ pub mod user { } } pub mod user_group { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19994,7 +19994,7 @@ pub mod user_group { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20018,7 +20018,7 @@ pub mod user_group { } } pub mod user_subscription { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20081,7 +20081,7 @@ pub mod user_subscription { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20155,7 +20155,7 @@ pub mod user_subscription { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20179,7 +20179,7 @@ pub mod user_subscription { } } pub mod user_identities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20230,7 +20230,7 @@ pub mod user_identities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20254,7 +20254,7 @@ pub mod user_identities { } } pub mod user_confirmation_password { - use crate::models::*; + use super::{models, models::*}; pub async fn send( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20305,7 +20305,7 @@ pub mod user_confirmation_password { } } pub mod send { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/apimanagement/src/package_preview_2021_04/operations.rs b/services/mgmt/apimanagement/src/package_preview_2021_04/operations.rs index 592a81baaf..9ca6920baa 100644 --- a/services/mgmt/apimanagement/src/package_preview_2021_04/operations.rs +++ b/services/mgmt/apimanagement/src/package_preview_2021_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod api_export { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -59,7 +59,7 @@ pub mod api_export { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -83,7 +83,7 @@ pub mod api_export { } } pub mod api { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_tags( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -152,7 +152,7 @@ pub mod api { } } pub mod list_by_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -176,7 +176,7 @@ pub mod api { } } pub mod api_version_set { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -240,7 +240,7 @@ pub mod api_version_set { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -312,7 +312,7 @@ pub mod api_version_set { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -399,7 +399,7 @@ pub mod api_version_set { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApiVersionSetContract), @@ -480,7 +480,7 @@ pub mod api_version_set { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -550,7 +550,7 @@ pub mod api_version_set { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -625,7 +625,7 @@ pub mod api_version_set { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -649,7 +649,7 @@ pub mod api_version_set { } } pub mod authorization_server { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -713,7 +713,7 @@ pub mod authorization_server { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -785,7 +785,7 @@ pub mod authorization_server { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -872,7 +872,7 @@ pub mod authorization_server { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(AuthorizationServerContract), @@ -953,7 +953,7 @@ pub mod authorization_server { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1023,7 +1023,7 @@ pub mod authorization_server { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1098,7 +1098,7 @@ pub mod authorization_server { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1174,7 +1174,7 @@ pub mod authorization_server { } } pub mod list_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1198,7 +1198,7 @@ pub mod authorization_server { } } pub mod backend { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1262,7 +1262,7 @@ pub mod backend { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1334,7 +1334,7 @@ pub mod backend { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1421,7 +1421,7 @@ pub mod backend { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(BackendContract), @@ -1502,7 +1502,7 @@ pub mod backend { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1572,7 +1572,7 @@ pub mod backend { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1647,7 +1647,7 @@ pub mod backend { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1723,7 +1723,7 @@ pub mod backend { } } pub mod reconnect { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1747,7 +1747,7 @@ pub mod backend { } } pub mod cache { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1807,7 +1807,7 @@ pub mod cache { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1879,7 +1879,7 @@ pub mod cache { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1966,7 +1966,7 @@ pub mod cache { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CacheContract), @@ -2047,7 +2047,7 @@ pub mod cache { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2117,7 +2117,7 @@ pub mod cache { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2192,7 +2192,7 @@ pub mod cache { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2216,7 +2216,7 @@ pub mod cache { } } pub mod certificate { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2285,7 +2285,7 @@ pub mod certificate { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2357,7 +2357,7 @@ pub mod certificate { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2444,7 +2444,7 @@ pub mod certificate { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CertificateContract), @@ -2519,7 +2519,7 @@ pub mod certificate { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2594,7 +2594,7 @@ pub mod certificate { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2670,7 +2670,7 @@ pub mod certificate { } } pub mod refresh_secret { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2694,7 +2694,7 @@ pub mod certificate { } } pub mod content_type { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2746,7 +2746,7 @@ pub mod content_type { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2818,7 +2818,7 @@ pub mod content_type { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2903,7 +2903,7 @@ pub mod content_type { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ContentTypeContract), @@ -2978,7 +2978,7 @@ pub mod content_type { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3007,7 +3007,7 @@ pub mod content_type { } } pub mod content_item { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3061,7 +3061,7 @@ pub mod content_item { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3135,7 +3135,7 @@ pub mod content_item { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3222,7 +3222,7 @@ pub mod content_item { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ContentItemContract), @@ -3299,7 +3299,7 @@ pub mod content_item { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3376,7 +3376,7 @@ pub mod content_item { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3400,7 +3400,7 @@ pub mod content_item { } } pub mod deleted_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3448,7 +3448,7 @@ pub mod deleted_services { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3521,7 +3521,7 @@ pub mod deleted_services { } } pub mod get_by_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3593,7 +3593,7 @@ pub mod deleted_services { } } pub mod purge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3623,7 +3623,7 @@ pub mod deleted_services { } } pub mod api_management_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ApiManagement/operations", operation_config.base_path(),); @@ -3661,7 +3661,7 @@ pub mod api_management_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3685,7 +3685,7 @@ pub mod api_management_operations { } } pub mod api_management_service_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list_available_service_skus( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3739,7 +3739,7 @@ pub mod api_management_service_skus { } } pub mod list_available_service_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3763,7 +3763,7 @@ pub mod api_management_service_skus { } } pub mod api_management_service { - use crate::models::*; + use super::{models, models::*}; pub async fn restore( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3818,7 +3818,7 @@ pub mod api_management_service { } } pub mod restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApiManagementServiceResource), @@ -3896,7 +3896,7 @@ pub mod api_management_service { } } pub mod backup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApiManagementServiceResource), @@ -3971,7 +3971,7 @@ pub mod api_management_service { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4053,7 +4053,7 @@ pub mod api_management_service { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApiManagementServiceResource), @@ -4132,7 +4132,7 @@ pub mod api_management_service { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApiManagementServiceResource), @@ -4209,7 +4209,7 @@ pub mod api_management_service { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4288,7 +4288,7 @@ pub mod api_management_service { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4354,7 +4354,7 @@ pub mod api_management_service { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4428,7 +4428,7 @@ pub mod api_management_service { } } pub mod get_sso_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4501,7 +4501,7 @@ pub mod api_management_service { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4573,7 +4573,7 @@ pub mod api_management_service { } } pub mod get_domain_ownership_identifier { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4655,7 +4655,7 @@ pub mod api_management_service { } } pub mod apply_network_configuration_updates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4684,7 +4684,7 @@ pub mod api_management_service { } } pub mod diagnostic { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4748,7 +4748,7 @@ pub mod diagnostic { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4820,7 +4820,7 @@ pub mod diagnostic { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4907,7 +4907,7 @@ pub mod diagnostic { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DiagnosticContract), @@ -4988,7 +4988,7 @@ pub mod diagnostic { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5058,7 +5058,7 @@ pub mod diagnostic { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5133,7 +5133,7 @@ pub mod diagnostic { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5157,7 +5157,7 @@ pub mod diagnostic { } } pub mod email_template { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5221,7 +5221,7 @@ pub mod email_template { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5293,7 +5293,7 @@ pub mod email_template { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5380,7 +5380,7 @@ pub mod email_template { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(EmailTemplateContract), @@ -5461,7 +5461,7 @@ pub mod email_template { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5531,7 +5531,7 @@ pub mod email_template { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5606,7 +5606,7 @@ pub mod email_template { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5630,7 +5630,7 @@ pub mod email_template { } } pub mod gateway { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5694,7 +5694,7 @@ pub mod gateway { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5766,7 +5766,7 @@ pub mod gateway { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5853,7 +5853,7 @@ pub mod gateway { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GatewayContract), @@ -5934,7 +5934,7 @@ pub mod gateway { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6004,7 +6004,7 @@ pub mod gateway { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6079,7 +6079,7 @@ pub mod gateway { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6155,7 +6155,7 @@ pub mod gateway { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6227,7 +6227,7 @@ pub mod gateway { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6304,7 +6304,7 @@ pub mod gateway { } } pub mod generate_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6328,7 +6328,7 @@ pub mod gateway { } } pub mod gateway_hostname_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6394,7 +6394,7 @@ pub mod gateway_hostname_configuration { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6468,7 +6468,7 @@ pub mod gateway_hostname_configuration { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6557,7 +6557,7 @@ pub mod gateway_hostname_configuration { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GatewayHostnameConfigurationContract), @@ -6634,7 +6634,7 @@ pub mod gateway_hostname_configuration { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6711,7 +6711,7 @@ pub mod gateway_hostname_configuration { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6735,7 +6735,7 @@ pub mod gateway_hostname_configuration { } } pub mod gateway_api { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6801,7 +6801,7 @@ pub mod gateway_api { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6890,7 +6890,7 @@ pub mod gateway_api { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApiContract), @@ -6965,7 +6965,7 @@ pub mod gateway_api { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7042,7 +7042,7 @@ pub mod gateway_api { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7066,7 +7066,7 @@ pub mod gateway_api { } } pub mod gateway_certificate_authority { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7132,7 +7132,7 @@ pub mod gateway_certificate_authority { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7206,7 +7206,7 @@ pub mod gateway_certificate_authority { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7295,7 +7295,7 @@ pub mod gateway_certificate_authority { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GatewayCertificateAuthorityContract), @@ -7372,7 +7372,7 @@ pub mod gateway_certificate_authority { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7449,7 +7449,7 @@ pub mod gateway_certificate_authority { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7473,7 +7473,7 @@ pub mod gateway_certificate_authority { } } pub mod group { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7537,7 +7537,7 @@ pub mod group { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7609,7 +7609,7 @@ pub mod group { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7696,7 +7696,7 @@ pub mod group { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GroupContract), @@ -7777,7 +7777,7 @@ pub mod group { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7847,7 +7847,7 @@ pub mod group { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7922,7 +7922,7 @@ pub mod group { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7946,7 +7946,7 @@ pub mod group { } } pub mod group_user { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8009,7 +8009,7 @@ pub mod group_user { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8089,7 +8089,7 @@ pub mod group_user { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(UserContract), @@ -8164,7 +8164,7 @@ pub mod group_user { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8242,7 +8242,7 @@ pub mod group_user { } } pub mod check_entity_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -8268,7 +8268,7 @@ pub mod group_user { } } pub mod identity_provider { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8320,7 +8320,7 @@ pub mod identity_provider { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8392,7 +8392,7 @@ pub mod identity_provider { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8479,7 +8479,7 @@ pub mod identity_provider { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(IdentityProviderContract), @@ -8560,7 +8560,7 @@ pub mod identity_provider { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8630,7 +8630,7 @@ pub mod identity_provider { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8705,7 +8705,7 @@ pub mod identity_provider { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8781,7 +8781,7 @@ pub mod identity_provider { } } pub mod list_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8805,7 +8805,7 @@ pub mod identity_provider { } } pub mod issue { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8869,7 +8869,7 @@ pub mod issue { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8941,7 +8941,7 @@ pub mod issue { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8965,7 +8965,7 @@ pub mod issue { } } pub mod logger { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9029,7 +9029,7 @@ pub mod logger { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9101,7 +9101,7 @@ pub mod logger { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9188,7 +9188,7 @@ pub mod logger { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoggerContract), @@ -9269,7 +9269,7 @@ pub mod logger { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9339,7 +9339,7 @@ pub mod logger { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9414,7 +9414,7 @@ pub mod logger { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9438,7 +9438,7 @@ pub mod logger { } } pub mod named_value { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9507,7 +9507,7 @@ pub mod named_value { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9579,7 +9579,7 @@ pub mod named_value { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9667,7 +9667,7 @@ pub mod named_value { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9750,7 +9750,7 @@ pub mod named_value { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9825,7 +9825,7 @@ pub mod named_value { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9900,7 +9900,7 @@ pub mod named_value { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9976,7 +9976,7 @@ pub mod named_value { } } pub mod list_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10053,7 +10053,7 @@ pub mod named_value { } } pub mod refresh_secret { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -10082,7 +10082,7 @@ pub mod named_value { } } pub mod network_status { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10134,7 +10134,7 @@ pub mod network_status { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10209,7 +10209,7 @@ pub mod network_status { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10233,7 +10233,7 @@ pub mod network_status { } } pub mod notification { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10293,7 +10293,7 @@ pub mod notification { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10365,7 +10365,7 @@ pub mod notification { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10444,7 +10444,7 @@ pub mod notification { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10468,7 +10468,7 @@ pub mod notification { } } pub mod notification_recipient_user { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_notification( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10522,7 +10522,7 @@ pub mod notification_recipient_user { } } pub mod list_by_notification { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10605,7 +10605,7 @@ pub mod notification_recipient_user { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(RecipientUserContract), @@ -10680,7 +10680,7 @@ pub mod notification_recipient_user { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10758,7 +10758,7 @@ pub mod notification_recipient_user { } } pub mod check_entity_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -10784,7 +10784,7 @@ pub mod notification_recipient_user { } } pub mod notification_recipient_email { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_notification( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10838,7 +10838,7 @@ pub mod notification_recipient_email { } } pub mod list_by_notification { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10921,7 +10921,7 @@ pub mod notification_recipient_email { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(RecipientEmailContract), @@ -10996,7 +10996,7 @@ pub mod notification_recipient_email { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11074,7 +11074,7 @@ pub mod notification_recipient_email { } } pub mod check_entity_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -11100,7 +11100,7 @@ pub mod notification_recipient_email { } } pub mod open_id_connect_provider { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11164,7 +11164,7 @@ pub mod open_id_connect_provider { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11236,7 +11236,7 @@ pub mod open_id_connect_provider { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11323,7 +11323,7 @@ pub mod open_id_connect_provider { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(OpenidConnectProviderContract), @@ -11404,7 +11404,7 @@ pub mod open_id_connect_provider { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11474,7 +11474,7 @@ pub mod open_id_connect_provider { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11549,7 +11549,7 @@ pub mod open_id_connect_provider { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11625,7 +11625,7 @@ pub mod open_id_connect_provider { } } pub mod list_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11649,7 +11649,7 @@ pub mod open_id_connect_provider { } } pub mod outbound_network_dependencies_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11701,7 +11701,7 @@ pub mod outbound_network_dependencies_endpoints { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11725,7 +11725,7 @@ pub mod outbound_network_dependencies_endpoints { } } pub mod policy { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11777,7 +11777,7 @@ pub mod policy { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11853,7 +11853,7 @@ pub mod policy { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11940,7 +11940,7 @@ pub mod policy { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PolicyContract), @@ -12015,7 +12015,7 @@ pub mod policy { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12090,7 +12090,7 @@ pub mod policy { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12114,7 +12114,7 @@ pub mod policy { } } pub mod policy_description { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12170,7 +12170,7 @@ pub mod policy_description { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12194,7 +12194,7 @@ pub mod policy_description { } } pub mod portal_revision { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12258,7 +12258,7 @@ pub mod portal_revision { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12330,7 +12330,7 @@ pub mod portal_revision { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12408,7 +12408,7 @@ pub mod portal_revision { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -12490,7 +12490,7 @@ pub mod portal_revision { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -12565,7 +12565,7 @@ pub mod portal_revision { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12589,7 +12589,7 @@ pub mod portal_revision { } } pub mod portal_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12641,7 +12641,7 @@ pub mod portal_settings { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12665,7 +12665,7 @@ pub mod portal_settings { } } pub mod sign_in_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12714,7 +12714,7 @@ pub mod sign_in_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12793,7 +12793,7 @@ pub mod sign_in_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12862,7 +12862,7 @@ pub mod sign_in_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12930,7 +12930,7 @@ pub mod sign_in_settings { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12954,7 +12954,7 @@ pub mod sign_in_settings { } } pub mod sign_up_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13003,7 +13003,7 @@ pub mod sign_up_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13082,7 +13082,7 @@ pub mod sign_up_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13151,7 +13151,7 @@ pub mod sign_up_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13219,7 +13219,7 @@ pub mod sign_up_settings { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13243,7 +13243,7 @@ pub mod sign_up_settings { } } pub mod delegation_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13292,7 +13292,7 @@ pub mod delegation_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13371,7 +13371,7 @@ pub mod delegation_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13440,7 +13440,7 @@ pub mod delegation_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13508,7 +13508,7 @@ pub mod delegation_settings { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13582,7 +13582,7 @@ pub mod delegation_settings { } } pub mod list_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13606,7 +13606,7 @@ pub mod delegation_settings { } } pub mod private_endpoint_connection { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -13658,7 +13658,7 @@ pub mod private_endpoint_connection { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13733,7 +13733,7 @@ pub mod private_endpoint_connection { } } pub mod get_by_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13811,7 +13811,7 @@ pub mod private_endpoint_connection { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201, @@ -13885,7 +13885,7 @@ pub mod private_endpoint_connection { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13966,7 +13966,7 @@ pub mod private_endpoint_connection { } } pub mod list_private_link_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14043,7 +14043,7 @@ pub mod private_endpoint_connection { } } pub mod get_private_link_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14067,7 +14067,7 @@ pub mod private_endpoint_connection { } } pub mod product { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14140,7 +14140,7 @@ pub mod product { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14212,7 +14212,7 @@ pub mod product { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14299,7 +14299,7 @@ pub mod product { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ProductContract), @@ -14380,7 +14380,7 @@ pub mod product { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14455,7 +14455,7 @@ pub mod product { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -14530,7 +14530,7 @@ pub mod product { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14620,7 +14620,7 @@ pub mod product { } } pub mod list_by_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14644,7 +14644,7 @@ pub mod product { } } pub mod product_api { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_product( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14710,7 +14710,7 @@ pub mod product_api { } } pub mod list_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14793,7 +14793,7 @@ pub mod product_api { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApiContract), @@ -14868,7 +14868,7 @@ pub mod product_api { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -14945,7 +14945,7 @@ pub mod product_api { } } pub mod check_entity_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14969,7 +14969,7 @@ pub mod product_api { } } pub mod product_group { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_product( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15035,7 +15035,7 @@ pub mod product_group { } } pub mod list_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15118,7 +15118,7 @@ pub mod product_group { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GroupContract), @@ -15193,7 +15193,7 @@ pub mod product_group { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -15270,7 +15270,7 @@ pub mod product_group { } } pub mod check_entity_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15294,7 +15294,7 @@ pub mod product_group { } } pub mod product_subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15357,7 +15357,7 @@ pub mod product_subscriptions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15381,7 +15381,7 @@ pub mod product_subscriptions { } } pub mod product_policy { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_product( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15435,7 +15435,7 @@ pub mod product_policy { } } pub mod list_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15513,7 +15513,7 @@ pub mod product_policy { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15602,7 +15602,7 @@ pub mod product_policy { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PolicyContract), @@ -15679,7 +15679,7 @@ pub mod product_policy { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -15756,7 +15756,7 @@ pub mod product_policy { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15780,7 +15780,7 @@ pub mod product_policy { } } pub mod tag { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_product( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15846,7 +15846,7 @@ pub mod tag { } } pub mod list_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15923,7 +15923,7 @@ pub mod tag { } } pub mod get_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16006,7 +16006,7 @@ pub mod tag { } } pub mod assign_to_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(TagContract), @@ -16084,7 +16084,7 @@ pub mod tag { } } pub mod detach_from_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -16163,7 +16163,7 @@ pub mod tag { } } pub mod get_entity_state_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16252,7 +16252,7 @@ pub mod tag { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16324,7 +16324,7 @@ pub mod tag { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16411,7 +16411,7 @@ pub mod tag { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(TagContract), @@ -16492,7 +16492,7 @@ pub mod tag { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16562,7 +16562,7 @@ pub mod tag { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -16637,7 +16637,7 @@ pub mod tag { } } pub mod get_entity_state { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16661,7 +16661,7 @@ pub mod tag { } } pub mod quota_by_counter_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16715,7 +16715,7 @@ pub mod quota_by_counter_keys { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16789,7 +16789,7 @@ pub mod quota_by_counter_keys { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16813,7 +16813,7 @@ pub mod quota_by_counter_keys { } } pub mod quota_by_period_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16866,7 +16866,7 @@ pub mod quota_by_period_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16942,7 +16942,7 @@ pub mod quota_by_period_keys { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16966,7 +16966,7 @@ pub mod quota_by_period_keys { } } pub mod region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17018,7 +17018,7 @@ pub mod region { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17042,7 +17042,7 @@ pub mod region { } } pub mod reports { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_api( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17108,7 +17108,7 @@ pub mod reports { } } pub mod list_by_api { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17195,7 +17195,7 @@ pub mod reports { } } pub mod list_by_user { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17282,7 +17282,7 @@ pub mod reports { } } pub mod list_by_operation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17369,7 +17369,7 @@ pub mod reports { } } pub mod list_by_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17452,7 +17452,7 @@ pub mod reports { } } pub mod list_by_geo { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17539,7 +17539,7 @@ pub mod reports { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17628,7 +17628,7 @@ pub mod reports { } } pub mod list_by_time { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17711,7 +17711,7 @@ pub mod reports { } } pub mod list_by_request { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17735,7 +17735,7 @@ pub mod reports { } } pub mod tenant_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17791,7 +17791,7 @@ pub mod tenant_settings { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17863,7 +17863,7 @@ pub mod tenant_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17887,7 +17887,7 @@ pub mod tenant_settings { } } pub mod api_management_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -17932,7 +17932,7 @@ pub mod api_management_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17956,7 +17956,7 @@ pub mod api_management_skus { } } pub mod subscription { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18017,7 +18017,7 @@ pub mod subscription { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18089,7 +18089,7 @@ pub mod subscription { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18184,7 +18184,7 @@ pub mod subscription { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(SubscriptionContract), @@ -18273,7 +18273,7 @@ pub mod subscription { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18343,7 +18343,7 @@ pub mod subscription { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -18418,7 +18418,7 @@ pub mod subscription { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18491,7 +18491,7 @@ pub mod subscription { } } pub mod regenerate_primary_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18564,7 +18564,7 @@ pub mod subscription { } } pub mod regenerate_secondary_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18640,7 +18640,7 @@ pub mod subscription { } } pub mod list_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18664,7 +18664,7 @@ pub mod subscription { } } pub mod tag_resource { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18728,7 +18728,7 @@ pub mod tag_resource { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18752,7 +18752,7 @@ pub mod tag_resource { } } pub mod tenant_access { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18808,7 +18808,7 @@ pub mod tenant_access { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18880,7 +18880,7 @@ pub mod tenant_access { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18956,7 +18956,7 @@ pub mod tenant_access { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19032,7 +19032,7 @@ pub mod tenant_access { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19102,7 +19102,7 @@ pub mod tenant_access { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19175,7 +19175,7 @@ pub mod tenant_access { } } pub mod regenerate_primary_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19248,7 +19248,7 @@ pub mod tenant_access { } } pub mod regenerate_secondary_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19324,7 +19324,7 @@ pub mod tenant_access { } } pub mod list_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19348,7 +19348,7 @@ pub mod tenant_access { } } pub mod tenant_access_git { - use crate::models::*; + use super::{models, models::*}; pub async fn regenerate_primary_key( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19400,7 +19400,7 @@ pub mod tenant_access_git { } } pub mod regenerate_primary_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19473,7 +19473,7 @@ pub mod tenant_access_git { } } pub mod regenerate_secondary_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19497,7 +19497,7 @@ pub mod tenant_access_git { } } pub mod tenant_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn deploy( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19551,7 +19551,7 @@ pub mod tenant_configuration { } } pub mod deploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -19631,7 +19631,7 @@ pub mod tenant_configuration { } } pub mod save { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -19714,7 +19714,7 @@ pub mod tenant_configuration { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -19794,7 +19794,7 @@ pub mod tenant_configuration { } } pub mod get_sync_state { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19818,7 +19818,7 @@ pub mod tenant_configuration { } } pub mod user { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19887,7 +19887,7 @@ pub mod user { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19959,7 +19959,7 @@ pub mod user { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20050,7 +20050,7 @@ pub mod user { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(UserContract), @@ -20131,7 +20131,7 @@ pub mod user { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20214,7 +20214,7 @@ pub mod user { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -20289,7 +20289,7 @@ pub mod user { } } pub mod get_entity_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20365,7 +20365,7 @@ pub mod user { } } pub mod generate_sso_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20444,7 +20444,7 @@ pub mod user { } } pub mod get_shared_access_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20468,7 +20468,7 @@ pub mod user { } } pub mod user_group { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20531,7 +20531,7 @@ pub mod user_group { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20555,7 +20555,7 @@ pub mod user_group { } } pub mod user_subscription { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20618,7 +20618,7 @@ pub mod user_subscription { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20692,7 +20692,7 @@ pub mod user_subscription { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20716,7 +20716,7 @@ pub mod user_subscription { } } pub mod user_identities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20767,7 +20767,7 @@ pub mod user_identities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20791,7 +20791,7 @@ pub mod user_identities { } } pub mod user_confirmation_password { - use crate::models::*; + use super::{models, models::*}; pub async fn send( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20842,7 +20842,7 @@ pub mod user_confirmation_password { } } pub mod send { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20922,7 +20922,7 @@ pub async fn perform_connectivity_check_async( } } pub mod perform_connectivity_check_async { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, diff --git a/services/mgmt/appconfiguration/Cargo.toml b/services/mgmt/appconfiguration/Cargo.toml index 344510fd3f..267daf1adc 100644 --- a/services/mgmt/appconfiguration/Cargo.toml +++ b/services/mgmt/appconfiguration/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2020-06-01"] +no-default-version = [] "package-2021-03-01-preview" = [] "package-2020-07-01-preview" = [] "package-2020-06-01" = [] diff --git a/services/mgmt/appconfiguration/src/lib.rs b/services/mgmt/appconfiguration/src/lib.rs index 654c15eae8..89f8b3eb08 100644 --- a/services/mgmt/appconfiguration/src/lib.rs +++ b/services/mgmt/appconfiguration/src/lib.rs @@ -1,29 +1,37 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-03-01-preview")] -mod package_2021_03_01_preview; -#[cfg(feature = "package-2021-03-01-preview")] +pub mod package_2021_03_01_preview; +#[cfg(all(feature = "package-2021-03-01-preview", not(feature = "no-default-version")))] pub use package_2021_03_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-07-01-preview")] -mod package_2020_07_01_preview; -#[cfg(feature = "package-2020-07-01-preview")] +pub mod package_2020_07_01_preview; +#[cfg(all(feature = "package-2020-07-01-preview", not(feature = "no-default-version")))] pub use package_2020_07_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-06-01")] -mod package_2020_06_01; -#[cfg(feature = "package-2020-06-01")] +pub mod package_2020_06_01; +#[cfg(all(feature = "package-2020-06-01", not(feature = "no-default-version")))] pub use package_2020_06_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-11-01-preview")] -mod package_2019_11_01_preview; -#[cfg(feature = "package-2019-11-01-preview")] +pub mod package_2019_11_01_preview; +#[cfg(all(feature = "package-2019-11-01-preview", not(feature = "no-default-version")))] pub use package_2019_11_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-02-01-preview")] -mod package_2019_02_01_preview; -#[cfg(feature = "package-2019-02-01-preview")] +pub mod package_2019_02_01_preview; +#[cfg(all(feature = "package-2019-02-01-preview", not(feature = "no-default-version")))] pub use package_2019_02_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-10-01")] -mod package_2019_10_01; +pub mod package_2019_10_01; use azure_core::setters; -#[cfg(feature = "package-2019-10-01")] +#[cfg(all(feature = "package-2019-10-01", not(feature = "no-default-version")))] pub use package_2019_10_01::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -47,7 +55,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/appconfiguration/src/package_2019_02_01_preview/operations.rs b/services/mgmt/appconfiguration/src/package_2019_02_01_preview/operations.rs index 46b2837365..78c4b7da42 100644 --- a/services/mgmt/appconfiguration/src/package_2019_02_01_preview/operations.rs +++ b/services/mgmt/appconfiguration/src/package_2019_02_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod configuration_stores { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod configuration_stores { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -130,7 +130,7 @@ pub mod configuration_stores { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -200,7 +200,7 @@ pub mod configuration_stores { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -278,7 +278,7 @@ pub mod configuration_stores { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConfigurationStore), @@ -361,7 +361,7 @@ pub mod configuration_stores { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConfigurationStore), @@ -433,7 +433,7 @@ pub mod configuration_stores { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -517,7 +517,7 @@ pub mod configuration_stores { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -592,7 +592,7 @@ pub mod configuration_stores { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -667,7 +667,7 @@ pub mod configuration_stores { } } pub mod list_key_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -691,7 +691,7 @@ pub mod configuration_stores { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -743,7 +743,7 @@ pub mod operations { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -808,7 +808,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/appconfiguration/src/package_2019_10_01/operations.rs b/services/mgmt/appconfiguration/src/package_2019_10_01/operations.rs index 46b2837365..78c4b7da42 100644 --- a/services/mgmt/appconfiguration/src/package_2019_10_01/operations.rs +++ b/services/mgmt/appconfiguration/src/package_2019_10_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod configuration_stores { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod configuration_stores { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -130,7 +130,7 @@ pub mod configuration_stores { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -200,7 +200,7 @@ pub mod configuration_stores { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -278,7 +278,7 @@ pub mod configuration_stores { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConfigurationStore), @@ -361,7 +361,7 @@ pub mod configuration_stores { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConfigurationStore), @@ -433,7 +433,7 @@ pub mod configuration_stores { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -517,7 +517,7 @@ pub mod configuration_stores { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -592,7 +592,7 @@ pub mod configuration_stores { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -667,7 +667,7 @@ pub mod configuration_stores { } } pub mod list_key_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -691,7 +691,7 @@ pub mod configuration_stores { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -743,7 +743,7 @@ pub mod operations { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -808,7 +808,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/appconfiguration/src/package_2019_11_01_preview/operations.rs b/services/mgmt/appconfiguration/src/package_2019_11_01_preview/operations.rs index 4c2bbc295a..26ed4afc99 100644 --- a/services/mgmt/appconfiguration/src/package_2019_11_01_preview/operations.rs +++ b/services/mgmt/appconfiguration/src/package_2019_11_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod configuration_stores { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod configuration_stores { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -130,7 +130,7 @@ pub mod configuration_stores { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -200,7 +200,7 @@ pub mod configuration_stores { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -278,7 +278,7 @@ pub mod configuration_stores { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConfigurationStore), @@ -361,7 +361,7 @@ pub mod configuration_stores { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConfigurationStore), @@ -433,7 +433,7 @@ pub mod configuration_stores { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -517,7 +517,7 @@ pub mod configuration_stores { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -592,7 +592,7 @@ pub mod configuration_stores { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -667,7 +667,7 @@ pub mod configuration_stores { } } pub mod list_key_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -691,7 +691,7 @@ pub mod configuration_stores { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -743,7 +743,7 @@ pub mod operations { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -808,7 +808,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -832,7 +832,7 @@ pub mod operations { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_configuration_store( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -886,7 +886,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_configuration_store { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -951,7 +951,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1027,7 +1027,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -1094,7 +1094,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1124,7 +1124,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_configuration_store( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1178,7 +1178,7 @@ pub mod private_link_resources { } } pub mod list_by_configuration_store { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1250,7 +1250,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/appconfiguration/src/package_2020_06_01/operations.rs b/services/mgmt/appconfiguration/src/package_2020_06_01/operations.rs index 4c2bbc295a..26ed4afc99 100644 --- a/services/mgmt/appconfiguration/src/package_2020_06_01/operations.rs +++ b/services/mgmt/appconfiguration/src/package_2020_06_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod configuration_stores { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod configuration_stores { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -130,7 +130,7 @@ pub mod configuration_stores { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -200,7 +200,7 @@ pub mod configuration_stores { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -278,7 +278,7 @@ pub mod configuration_stores { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConfigurationStore), @@ -361,7 +361,7 @@ pub mod configuration_stores { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConfigurationStore), @@ -433,7 +433,7 @@ pub mod configuration_stores { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -517,7 +517,7 @@ pub mod configuration_stores { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -592,7 +592,7 @@ pub mod configuration_stores { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -667,7 +667,7 @@ pub mod configuration_stores { } } pub mod list_key_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -691,7 +691,7 @@ pub mod configuration_stores { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -743,7 +743,7 @@ pub mod operations { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -808,7 +808,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -832,7 +832,7 @@ pub mod operations { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_configuration_store( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -886,7 +886,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_configuration_store { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -951,7 +951,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1027,7 +1027,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -1094,7 +1094,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1124,7 +1124,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_configuration_store( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1178,7 +1178,7 @@ pub mod private_link_resources { } } pub mod list_by_configuration_store { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1250,7 +1250,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/appconfiguration/src/package_2020_07_01_preview/operations.rs b/services/mgmt/appconfiguration/src/package_2020_07_01_preview/operations.rs index b6e7731ee7..fb07fabdb2 100644 --- a/services/mgmt/appconfiguration/src/package_2020_07_01_preview/operations.rs +++ b/services/mgmt/appconfiguration/src/package_2020_07_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod configuration_stores { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod configuration_stores { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -130,7 +130,7 @@ pub mod configuration_stores { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -200,7 +200,7 @@ pub mod configuration_stores { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -278,7 +278,7 @@ pub mod configuration_stores { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConfigurationStore), @@ -361,7 +361,7 @@ pub mod configuration_stores { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConfigurationStore), @@ -433,7 +433,7 @@ pub mod configuration_stores { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -517,7 +517,7 @@ pub mod configuration_stores { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -592,7 +592,7 @@ pub mod configuration_stores { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -616,7 +616,7 @@ pub mod configuration_stores { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -668,7 +668,7 @@ pub mod operations { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -733,7 +733,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -757,7 +757,7 @@ pub mod operations { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_configuration_store( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -811,7 +811,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_configuration_store { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -876,7 +876,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -952,7 +952,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -1019,7 +1019,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1049,7 +1049,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_configuration_store( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1103,7 +1103,7 @@ pub mod private_link_resources { } } pub mod list_by_configuration_store { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1175,7 +1175,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1199,7 +1199,7 @@ pub mod private_link_resources { } } pub mod key_values { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_configuration_store( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1257,7 +1257,7 @@ pub mod key_values { } } pub mod list_by_configuration_store { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1329,7 +1329,7 @@ pub mod key_values { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1410,7 +1410,7 @@ pub mod key_values { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1479,7 +1479,7 @@ pub mod key_values { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/appconfiguration/src/package_2021_03_01_preview/operations.rs b/services/mgmt/appconfiguration/src/package_2021_03_01_preview/operations.rs index b6e7731ee7..fb07fabdb2 100644 --- a/services/mgmt/appconfiguration/src/package_2021_03_01_preview/operations.rs +++ b/services/mgmt/appconfiguration/src/package_2021_03_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod configuration_stores { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod configuration_stores { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -130,7 +130,7 @@ pub mod configuration_stores { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -200,7 +200,7 @@ pub mod configuration_stores { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -278,7 +278,7 @@ pub mod configuration_stores { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConfigurationStore), @@ -361,7 +361,7 @@ pub mod configuration_stores { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConfigurationStore), @@ -433,7 +433,7 @@ pub mod configuration_stores { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -517,7 +517,7 @@ pub mod configuration_stores { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -592,7 +592,7 @@ pub mod configuration_stores { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -616,7 +616,7 @@ pub mod configuration_stores { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -668,7 +668,7 @@ pub mod operations { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -733,7 +733,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -757,7 +757,7 @@ pub mod operations { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_configuration_store( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -811,7 +811,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_configuration_store { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -876,7 +876,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -952,7 +952,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -1019,7 +1019,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1049,7 +1049,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_configuration_store( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1103,7 +1103,7 @@ pub mod private_link_resources { } } pub mod list_by_configuration_store { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1175,7 +1175,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1199,7 +1199,7 @@ pub mod private_link_resources { } } pub mod key_values { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_configuration_store( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1257,7 +1257,7 @@ pub mod key_values { } } pub mod list_by_configuration_store { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1329,7 +1329,7 @@ pub mod key_values { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1410,7 +1410,7 @@ pub mod key_values { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1479,7 +1479,7 @@ pub mod key_values { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/applicationinsights/Cargo.toml b/services/mgmt/applicationinsights/Cargo.toml index b4982a4507..7e6708e582 100644 --- a/services/mgmt/applicationinsights/Cargo.toml +++ b/services/mgmt/applicationinsights/Cargo.toml @@ -20,13 +20,13 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-03-only"] +no-default-version = [] "package-2021-03-only" = [] "package-preview-2021-03-only" = [] "package-2020-11-only" = [] "package-2020-10-only" = [] "package-preview-2020-10-only" = [] "package-preview-2020-06-only" = [] -"package-preview-2020-06" = [] "package-2020-04" = [] "package-2020-03-01-preview" = [] "package-preview-2020-02" = [] diff --git a/services/mgmt/applicationinsights/src/lib.rs b/services/mgmt/applicationinsights/src/lib.rs index 44c17d92fe..597c4fb512 100644 --- a/services/mgmt/applicationinsights/src/lib.rs +++ b/services/mgmt/applicationinsights/src/lib.rs @@ -1,73 +1,77 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-03-only")] -mod package_2021_03_only; -#[cfg(feature = "package-2021-03-only")] +pub mod package_2021_03_only; +#[cfg(all(feature = "package-2021-03-only", not(feature = "no-default-version")))] pub use package_2021_03_only::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2021-03-only")] -mod package_preview_2021_03_only; -#[cfg(feature = "package-preview-2021-03-only")] +pub mod package_preview_2021_03_only; +#[cfg(all(feature = "package-preview-2021-03-only", not(feature = "no-default-version")))] pub use package_preview_2021_03_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-11-only")] -mod package_2020_11_only; -#[cfg(feature = "package-2020-11-only")] +pub mod package_2020_11_only; +#[cfg(all(feature = "package-2020-11-only", not(feature = "no-default-version")))] pub use package_2020_11_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-10-only")] -mod package_2020_10_only; -#[cfg(feature = "package-2020-10-only")] +pub mod package_2020_10_only; +#[cfg(all(feature = "package-2020-10-only", not(feature = "no-default-version")))] pub use package_2020_10_only::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2020-10-only")] -mod package_preview_2020_10_only; -#[cfg(feature = "package-preview-2020-10-only")] +pub mod package_preview_2020_10_only; +#[cfg(all(feature = "package-preview-2020-10-only", not(feature = "no-default-version")))] pub use package_preview_2020_10_only::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2020-06-only")] -mod package_preview_2020_06_only; -#[cfg(feature = "package-preview-2020-06-only")] +pub mod package_preview_2020_06_only; +#[cfg(all(feature = "package-preview-2020-06-only", not(feature = "no-default-version")))] pub use package_preview_2020_06_only::{models, operations, API_VERSION}; -#[cfg(feature = "package-preview-2020-06")] -mod package_preview_2020_06; -#[cfg(feature = "package-preview-2020-06")] -pub use package_preview_2020_06::{models, operations, API_VERSION}; -#[cfg(feature = "package-2020-04")] -mod package_2020_04; #[cfg(feature = "package-2020-04")] +pub mod package_2020_04; +#[cfg(all(feature = "package-2020-04", not(feature = "no-default-version")))] pub use package_2020_04::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-03-01-preview")] -mod package_2020_03_01_preview; -#[cfg(feature = "package-2020-03-01-preview")] +pub mod package_2020_03_01_preview; +#[cfg(all(feature = "package-2020-03-01-preview", not(feature = "no-default-version")))] pub use package_2020_03_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2020-02")] -mod package_preview_2020_02; -#[cfg(feature = "package-preview-2020-02")] +pub mod package_preview_2020_02; +#[cfg(all(feature = "package-preview-2020-02", not(feature = "no-default-version")))] pub use package_preview_2020_02::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-02-02-preview")] -mod package_2020_02_02_preview; -#[cfg(feature = "package-2020-02-02-preview")] +pub mod package_2020_02_02_preview; +#[cfg(all(feature = "package-2020-02-02-preview", not(feature = "no-default-version")))] pub use package_2020_02_02_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-02-02")] -mod package_2020_02_02; -#[cfg(feature = "package-2020-02-02")] +pub mod package_2020_02_02; +#[cfg(all(feature = "package-2020-02-02", not(feature = "no-default-version")))] pub use package_2020_02_02::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-10-17-preview")] -mod package_2019_10_17_preview; -#[cfg(feature = "package-2019-10-17-preview")] +pub mod package_2019_10_17_preview; +#[cfg(all(feature = "package-2019-10-17-preview", not(feature = "no-default-version")))] pub use package_2019_10_17_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-06-17-preview")] -mod package_2018_06_17_preview; -#[cfg(feature = "package-2018-06-17-preview")] +pub mod package_2018_06_17_preview; +#[cfg(all(feature = "package-2018-06-17-preview", not(feature = "no-default-version")))] pub use package_2018_06_17_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-05-01-preview")] -mod package_2018_05_01_preview; -#[cfg(feature = "package-2018-05-01-preview")] +pub mod package_2018_05_01_preview; +#[cfg(all(feature = "package-2018-05-01-preview", not(feature = "no-default-version")))] pub use package_2018_05_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-10")] -mod package_2017_10; -#[cfg(feature = "package-2017-10")] +pub mod package_2017_10; +#[cfg(all(feature = "package-2017-10", not(feature = "no-default-version")))] pub use package_2017_10::{models, operations, API_VERSION}; #[cfg(feature = "package-2015-05")] -mod package_2015_05; +pub mod package_2015_05; use azure_core::setters; -#[cfg(feature = "package-2015-05")] +#[cfg(all(feature = "package-2015-05", not(feature = "no-default-version")))] pub use package_2015_05::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -91,7 +95,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/applicationinsights/src/package_2015_05/operations.rs b/services/mgmt/applicationinsights/src/package_2015_05/operations.rs index c10f7b6419..0819c7d161 100644 --- a/services/mgmt/applicationinsights/src/package_2015_05/operations.rs +++ b/services/mgmt/applicationinsights/src/package_2015_05/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Insights/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod annotations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -119,7 +119,7 @@ pub mod annotations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -191,7 +191,7 @@ pub mod annotations { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -263,7 +263,7 @@ pub mod annotations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -328,7 +328,7 @@ pub mod annotations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -349,7 +349,7 @@ pub mod annotations { } } pub mod api_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -396,7 +396,7 @@ pub mod api_keys { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -463,7 +463,7 @@ pub mod api_keys { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -530,7 +530,7 @@ pub mod api_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -597,7 +597,7 @@ pub mod api_keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -618,7 +618,7 @@ pub mod api_keys { } } pub mod export_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -665,7 +665,7 @@ pub mod export_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -732,7 +732,7 @@ pub mod export_configurations { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -799,7 +799,7 @@ pub mod export_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -868,7 +868,7 @@ pub mod export_configurations { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -935,7 +935,7 @@ pub mod export_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -956,7 +956,7 @@ pub mod export_configurations { } } pub mod component_current_billing_features { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1003,7 +1003,7 @@ pub mod component_current_billing_features { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1070,7 +1070,7 @@ pub mod component_current_billing_features { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1091,7 +1091,7 @@ pub mod component_current_billing_features { } } pub mod component_quota_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1138,7 +1138,7 @@ pub mod component_quota_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1159,7 +1159,7 @@ pub mod component_quota_status { } } pub mod component_feature_capabilities { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1206,7 +1206,7 @@ pub mod component_feature_capabilities { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1227,7 +1227,7 @@ pub mod component_feature_capabilities { } } pub mod component_available_features { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1274,7 +1274,7 @@ pub mod component_available_features { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1295,7 +1295,7 @@ pub mod component_available_features { } } pub mod proactive_detection_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1342,7 +1342,7 @@ pub mod proactive_detection_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1409,7 +1409,7 @@ pub mod proactive_detection_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1478,7 +1478,7 @@ pub mod proactive_detection_configurations { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1499,7 +1499,7 @@ pub mod proactive_detection_configurations { } } pub mod components { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1542,7 +1542,7 @@ pub mod components { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1610,7 +1610,7 @@ pub mod components { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1675,7 +1675,7 @@ pub mod components { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1745,7 +1745,7 @@ pub mod components { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1815,7 +1815,7 @@ pub mod components { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1876,7 +1876,7 @@ pub mod components { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1948,7 +1948,7 @@ pub mod components { } } pub mod purge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2018,7 +2018,7 @@ pub mod components { } } pub mod get_purge_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2039,7 +2039,7 @@ pub mod components { } } pub mod work_item_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2088,7 +2088,7 @@ pub mod work_item_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2158,7 +2158,7 @@ pub mod work_item_configurations { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2226,7 +2226,7 @@ pub mod work_item_configurations { } } pub mod get_default { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2296,7 +2296,7 @@ pub mod work_item_configurations { } } pub mod get_item { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2368,7 +2368,7 @@ pub mod work_item_configurations { } } pub mod update_item { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2430,7 +2430,7 @@ pub mod work_item_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2451,7 +2451,7 @@ pub mod work_item_configurations { } } pub mod favorites { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2512,7 +2512,7 @@ pub mod favorites { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2579,7 +2579,7 @@ pub mod favorites { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2648,7 +2648,7 @@ pub mod favorites { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2717,7 +2717,7 @@ pub mod favorites { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2779,7 +2779,7 @@ pub mod favorites { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2800,7 +2800,7 @@ pub mod favorites { } } pub mod web_test_locations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2847,7 +2847,7 @@ pub mod web_test_locations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2868,7 +2868,7 @@ pub mod web_test_locations { } } pub mod web_tests { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2918,7 +2918,7 @@ pub mod web_tests { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2983,7 +2983,7 @@ pub mod web_tests { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3053,7 +3053,7 @@ pub mod web_tests { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3123,7 +3123,7 @@ pub mod web_tests { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3184,7 +3184,7 @@ pub mod web_tests { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -3250,7 +3250,7 @@ pub mod web_tests { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3318,7 +3318,7 @@ pub mod web_tests { } } pub mod list_by_component { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3339,7 +3339,7 @@ pub mod web_tests { } } pub mod analytics_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3401,7 +3401,7 @@ pub mod analytics_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3476,7 +3476,7 @@ pub mod analytics_items { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3550,7 +3550,7 @@ pub mod analytics_items { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3620,7 +3620,7 @@ pub mod analytics_items { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3641,7 +3641,7 @@ pub mod analytics_items { } } pub mod workbooks { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3701,7 +3701,7 @@ pub mod workbooks { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3771,7 +3771,7 @@ pub mod workbooks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3852,7 +3852,7 @@ pub mod workbooks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workbook), @@ -3929,7 +3929,7 @@ pub mod workbooks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3995,7 +3995,7 @@ pub mod workbooks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201, @@ -4024,7 +4024,7 @@ pub mod workbooks { } } pub mod my_workbooks { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4084,7 +4084,7 @@ pub mod my_workbooks { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4161,7 +4161,7 @@ pub mod my_workbooks { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4231,7 +4231,7 @@ pub mod my_workbooks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4312,7 +4312,7 @@ pub mod my_workbooks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MyWorkbook), @@ -4389,7 +4389,7 @@ pub mod my_workbooks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4455,7 +4455,7 @@ pub mod my_workbooks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201, diff --git a/services/mgmt/applicationinsights/src/package_2017_10/operations.rs b/services/mgmt/applicationinsights/src/package_2017_10/operations.rs index 09f2bd40cb..bec0d8b008 100644 --- a/services/mgmt/applicationinsights/src/package_2017_10/operations.rs +++ b/services/mgmt/applicationinsights/src/package_2017_10/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod ea_subscription_migrate_to_new_pricing_model { - use crate::models::*; + use super::{models, models::*}; pub async fn post(operation_config: &crate::OperationConfig, subscription_id: &str) -> std::result::Result<(), post::Error> { let http_client = operation_config.http_client(); let url_str = &format!( @@ -42,7 +42,7 @@ pub mod ea_subscription_migrate_to_new_pricing_model { } } pub mod post { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod ea_subscription_migrate_to_new_pricing_model { } } pub mod ea_subscription_rollback_to_legacy_pricing_model { - use crate::models::*; + use super::{models, models::*}; pub async fn post(operation_config: &crate::OperationConfig, subscription_id: &str) -> std::result::Result<(), post::Error> { let http_client = operation_config.http_client(); let url_str = &format!( @@ -104,7 +104,7 @@ pub mod ea_subscription_rollback_to_legacy_pricing_model { } } pub mod post { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -128,7 +128,7 @@ pub mod ea_subscription_rollback_to_legacy_pricing_model { } } pub mod ea_subscription_list_migration_date { - use crate::models::*; + use super::{models, models::*}; pub async fn post( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -172,7 +172,7 @@ pub mod ea_subscription_list_migration_date { } } pub mod post { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -193,7 +193,7 @@ pub mod ea_subscription_list_migration_date { } } pub mod component_current_pricing_plan { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -240,7 +240,7 @@ pub mod component_current_pricing_plan { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -310,7 +310,7 @@ pub mod component_current_pricing_plan { } } pub mod create_and_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -377,7 +377,7 @@ pub mod component_current_pricing_plan { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/applicationinsights/src/package_2018_05_01_preview/operations.rs b/services/mgmt/applicationinsights/src/package_2018_05_01_preview/operations.rs index b042935a3a..989f20c714 100644 --- a/services/mgmt/applicationinsights/src/package_2018_05_01_preview/operations.rs +++ b/services/mgmt/applicationinsights/src/package_2018_05_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod proactive_detection_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod proactive_detection_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -118,7 +118,7 @@ pub mod proactive_detection_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -187,7 +187,7 @@ pub mod proactive_detection_configurations { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -208,7 +208,7 @@ pub mod proactive_detection_configurations { } } pub mod components { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -251,7 +251,7 @@ pub mod components { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -319,7 +319,7 @@ pub mod components { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -384,7 +384,7 @@ pub mod components { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -460,7 +460,7 @@ pub mod components { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationInsightsComponent), @@ -541,7 +541,7 @@ pub mod components { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationInsightsComponent), @@ -607,7 +607,7 @@ pub mod components { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -679,7 +679,7 @@ pub mod components { } } pub mod purge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -749,7 +749,7 @@ pub mod components { } } pub mod get_purge_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -770,7 +770,7 @@ pub mod components { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Insights/operations", operation_config.base_path(),); @@ -800,7 +800,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -821,7 +821,7 @@ pub mod operations { } } pub mod web_tests { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -871,7 +871,7 @@ pub mod web_tests { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -936,7 +936,7 @@ pub mod web_tests { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1006,7 +1006,7 @@ pub mod web_tests { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1076,7 +1076,7 @@ pub mod web_tests { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1137,7 +1137,7 @@ pub mod web_tests { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1203,7 +1203,7 @@ pub mod web_tests { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1271,7 +1271,7 @@ pub mod web_tests { } } pub mod list_by_component { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/applicationinsights/src/package_2018_06_17_preview/operations.rs b/services/mgmt/applicationinsights/src/package_2018_06_17_preview/operations.rs index 5142626b55..3b33c2f914 100644 --- a/services/mgmt/applicationinsights/src/package_2018_06_17_preview/operations.rs +++ b/services/mgmt/applicationinsights/src/package_2018_06_17_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod workbooks { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -66,7 +66,7 @@ pub mod workbooks { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -136,7 +136,7 @@ pub mod workbooks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -219,7 +219,7 @@ pub mod workbooks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workbook), @@ -302,7 +302,7 @@ pub mod workbooks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -368,7 +368,7 @@ pub mod workbooks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201, diff --git a/services/mgmt/applicationinsights/src/package_2019_10_17_preview/operations.rs b/services/mgmt/applicationinsights/src/package_2019_10_17_preview/operations.rs index 7591ed0bf6..126ee00b51 100644 --- a/services/mgmt/applicationinsights/src/package_2019_10_17_preview/operations.rs +++ b/services/mgmt/applicationinsights/src/package_2019_10_17_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod workbook_templates { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -56,7 +56,7 @@ pub mod workbook_templates { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -126,7 +126,7 @@ pub mod workbook_templates { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -207,7 +207,7 @@ pub mod workbook_templates { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkbookTemplate), @@ -288,7 +288,7 @@ pub mod workbook_templates { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -354,7 +354,7 @@ pub mod workbook_templates { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/applicationinsights/src/package_2020_02_02/operations.rs b/services/mgmt/applicationinsights/src/package_2020_02_02/operations.rs index ec324d5481..e8b7e75849 100644 --- a/services/mgmt/applicationinsights/src/package_2020_02_02/operations.rs +++ b/services/mgmt/applicationinsights/src/package_2020_02_02/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Insights/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod annotations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -119,7 +119,7 @@ pub mod annotations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -191,7 +191,7 @@ pub mod annotations { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -263,7 +263,7 @@ pub mod annotations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -328,7 +328,7 @@ pub mod annotations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -349,7 +349,7 @@ pub mod annotations { } } pub mod api_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -396,7 +396,7 @@ pub mod api_keys { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -463,7 +463,7 @@ pub mod api_keys { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -530,7 +530,7 @@ pub mod api_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -597,7 +597,7 @@ pub mod api_keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -618,7 +618,7 @@ pub mod api_keys { } } pub mod export_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -665,7 +665,7 @@ pub mod export_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -732,7 +732,7 @@ pub mod export_configurations { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -799,7 +799,7 @@ pub mod export_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -868,7 +868,7 @@ pub mod export_configurations { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -935,7 +935,7 @@ pub mod export_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -956,7 +956,7 @@ pub mod export_configurations { } } pub mod component_current_billing_features { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1003,7 +1003,7 @@ pub mod component_current_billing_features { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1070,7 +1070,7 @@ pub mod component_current_billing_features { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1091,7 +1091,7 @@ pub mod component_current_billing_features { } } pub mod component_quota_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1138,7 +1138,7 @@ pub mod component_quota_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1159,7 +1159,7 @@ pub mod component_quota_status { } } pub mod component_feature_capabilities { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1206,7 +1206,7 @@ pub mod component_feature_capabilities { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1227,7 +1227,7 @@ pub mod component_feature_capabilities { } } pub mod component_available_features { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1274,7 +1274,7 @@ pub mod component_available_features { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1295,7 +1295,7 @@ pub mod component_available_features { } } pub mod proactive_detection_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1342,7 +1342,7 @@ pub mod proactive_detection_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1409,7 +1409,7 @@ pub mod proactive_detection_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1478,7 +1478,7 @@ pub mod proactive_detection_configurations { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1499,7 +1499,7 @@ pub mod proactive_detection_configurations { } } pub mod work_item_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1548,7 +1548,7 @@ pub mod work_item_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1618,7 +1618,7 @@ pub mod work_item_configurations { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1686,7 +1686,7 @@ pub mod work_item_configurations { } } pub mod get_default { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1756,7 +1756,7 @@ pub mod work_item_configurations { } } pub mod get_item { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1828,7 +1828,7 @@ pub mod work_item_configurations { } } pub mod update_item { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1890,7 +1890,7 @@ pub mod work_item_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1911,7 +1911,7 @@ pub mod work_item_configurations { } } pub mod favorites { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1972,7 +1972,7 @@ pub mod favorites { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2039,7 +2039,7 @@ pub mod favorites { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2108,7 +2108,7 @@ pub mod favorites { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2177,7 +2177,7 @@ pub mod favorites { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2239,7 +2239,7 @@ pub mod favorites { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2260,7 +2260,7 @@ pub mod favorites { } } pub mod web_test_locations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2307,7 +2307,7 @@ pub mod web_test_locations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2328,7 +2328,7 @@ pub mod web_test_locations { } } pub mod web_tests { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2378,7 +2378,7 @@ pub mod web_tests { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2443,7 +2443,7 @@ pub mod web_tests { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2513,7 +2513,7 @@ pub mod web_tests { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2583,7 +2583,7 @@ pub mod web_tests { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2644,7 +2644,7 @@ pub mod web_tests { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2710,7 +2710,7 @@ pub mod web_tests { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2778,7 +2778,7 @@ pub mod web_tests { } } pub mod list_by_component { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2799,7 +2799,7 @@ pub mod web_tests { } } pub mod analytics_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2861,7 +2861,7 @@ pub mod analytics_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2936,7 +2936,7 @@ pub mod analytics_items { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3010,7 +3010,7 @@ pub mod analytics_items { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3080,7 +3080,7 @@ pub mod analytics_items { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3101,7 +3101,7 @@ pub mod analytics_items { } } pub mod workbooks { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3161,7 +3161,7 @@ pub mod workbooks { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3231,7 +3231,7 @@ pub mod workbooks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3312,7 +3312,7 @@ pub mod workbooks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workbook), @@ -3389,7 +3389,7 @@ pub mod workbooks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3455,7 +3455,7 @@ pub mod workbooks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201, @@ -3484,7 +3484,7 @@ pub mod workbooks { } } pub mod my_workbooks { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3544,7 +3544,7 @@ pub mod my_workbooks { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3621,7 +3621,7 @@ pub mod my_workbooks { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3691,7 +3691,7 @@ pub mod my_workbooks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3772,7 +3772,7 @@ pub mod my_workbooks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MyWorkbook), @@ -3849,7 +3849,7 @@ pub mod my_workbooks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3915,7 +3915,7 @@ pub mod my_workbooks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201, @@ -3944,7 +3944,7 @@ pub mod my_workbooks { } } pub mod components { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3989,7 +3989,7 @@ pub mod components { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4062,7 +4062,7 @@ pub mod components { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4132,7 +4132,7 @@ pub mod components { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4207,7 +4207,7 @@ pub mod components { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4282,7 +4282,7 @@ pub mod components { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4348,7 +4348,7 @@ pub mod components { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4425,7 +4425,7 @@ pub mod components { } } pub mod purge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4500,7 +4500,7 @@ pub mod components { } } pub mod get_purge_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/applicationinsights/src/package_2020_02_02_preview/operations.rs b/services/mgmt/applicationinsights/src/package_2020_02_02_preview/operations.rs index 4e47cc40ca..d5e1a00842 100644 --- a/services/mgmt/applicationinsights/src/package_2020_02_02_preview/operations.rs +++ b/services/mgmt/applicationinsights/src/package_2020_02_02_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod components { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -49,7 +49,7 @@ pub mod components { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -122,7 +122,7 @@ pub mod components { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -192,7 +192,7 @@ pub mod components { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -267,7 +267,7 @@ pub mod components { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -342,7 +342,7 @@ pub mod components { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -408,7 +408,7 @@ pub mod components { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -485,7 +485,7 @@ pub mod components { } } pub mod purge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -560,7 +560,7 @@ pub mod components { } } pub mod get_purge_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/applicationinsights/src/package_2020_03_01_preview/operations.rs b/services/mgmt/applicationinsights/src/package_2020_03_01_preview/operations.rs index 95a426e392..6e18beb39d 100644 --- a/services/mgmt/applicationinsights/src/package_2020_03_01_preview/operations.rs +++ b/services/mgmt/applicationinsights/src/package_2020_03_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod component_linked_storage_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -55,7 +55,7 @@ pub mod component_linked_storage_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -132,7 +132,7 @@ pub mod component_linked_storage_accounts { } } pub mod create_and_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -206,7 +206,7 @@ pub mod component_linked_storage_accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -274,7 +274,7 @@ pub mod component_linked_storage_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/applicationinsights/src/package_2020_04/operations.rs b/services/mgmt/applicationinsights/src/package_2020_04/operations.rs index 562d28a2e4..4b961901e9 100644 --- a/services/mgmt/applicationinsights/src/package_2020_04/operations.rs +++ b/services/mgmt/applicationinsights/src/package_2020_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Insights/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod annotations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -119,7 +119,7 @@ pub mod annotations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -191,7 +191,7 @@ pub mod annotations { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -263,7 +263,7 @@ pub mod annotations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -328,7 +328,7 @@ pub mod annotations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -349,7 +349,7 @@ pub mod annotations { } } pub mod api_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -396,7 +396,7 @@ pub mod api_keys { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -463,7 +463,7 @@ pub mod api_keys { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -530,7 +530,7 @@ pub mod api_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -597,7 +597,7 @@ pub mod api_keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -618,7 +618,7 @@ pub mod api_keys { } } pub mod export_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -665,7 +665,7 @@ pub mod export_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -732,7 +732,7 @@ pub mod export_configurations { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -799,7 +799,7 @@ pub mod export_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -868,7 +868,7 @@ pub mod export_configurations { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -935,7 +935,7 @@ pub mod export_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -956,7 +956,7 @@ pub mod export_configurations { } } pub mod component_current_billing_features { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1003,7 +1003,7 @@ pub mod component_current_billing_features { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1070,7 +1070,7 @@ pub mod component_current_billing_features { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1091,7 +1091,7 @@ pub mod component_current_billing_features { } } pub mod component_quota_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1138,7 +1138,7 @@ pub mod component_quota_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1159,7 +1159,7 @@ pub mod component_quota_status { } } pub mod component_feature_capabilities { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1206,7 +1206,7 @@ pub mod component_feature_capabilities { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1227,7 +1227,7 @@ pub mod component_feature_capabilities { } } pub mod component_available_features { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1274,7 +1274,7 @@ pub mod component_available_features { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1295,7 +1295,7 @@ pub mod component_available_features { } } pub mod proactive_detection_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1342,7 +1342,7 @@ pub mod proactive_detection_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1409,7 +1409,7 @@ pub mod proactive_detection_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1478,7 +1478,7 @@ pub mod proactive_detection_configurations { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1499,7 +1499,7 @@ pub mod proactive_detection_configurations { } } pub mod work_item_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1548,7 +1548,7 @@ pub mod work_item_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1618,7 +1618,7 @@ pub mod work_item_configurations { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1686,7 +1686,7 @@ pub mod work_item_configurations { } } pub mod get_default { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1756,7 +1756,7 @@ pub mod work_item_configurations { } } pub mod get_item { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1828,7 +1828,7 @@ pub mod work_item_configurations { } } pub mod update_item { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1890,7 +1890,7 @@ pub mod work_item_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1911,7 +1911,7 @@ pub mod work_item_configurations { } } pub mod favorites { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1972,7 +1972,7 @@ pub mod favorites { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2039,7 +2039,7 @@ pub mod favorites { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2108,7 +2108,7 @@ pub mod favorites { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2177,7 +2177,7 @@ pub mod favorites { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2239,7 +2239,7 @@ pub mod favorites { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2260,7 +2260,7 @@ pub mod favorites { } } pub mod web_test_locations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2307,7 +2307,7 @@ pub mod web_test_locations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2328,7 +2328,7 @@ pub mod web_test_locations { } } pub mod web_tests { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2378,7 +2378,7 @@ pub mod web_tests { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2443,7 +2443,7 @@ pub mod web_tests { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2513,7 +2513,7 @@ pub mod web_tests { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2583,7 +2583,7 @@ pub mod web_tests { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2644,7 +2644,7 @@ pub mod web_tests { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2710,7 +2710,7 @@ pub mod web_tests { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2778,7 +2778,7 @@ pub mod web_tests { } } pub mod list_by_component { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2799,7 +2799,7 @@ pub mod web_tests { } } pub mod analytics_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2861,7 +2861,7 @@ pub mod analytics_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2936,7 +2936,7 @@ pub mod analytics_items { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3010,7 +3010,7 @@ pub mod analytics_items { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3080,7 +3080,7 @@ pub mod analytics_items { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3101,7 +3101,7 @@ pub mod analytics_items { } } pub mod workbooks { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3161,7 +3161,7 @@ pub mod workbooks { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3231,7 +3231,7 @@ pub mod workbooks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3312,7 +3312,7 @@ pub mod workbooks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workbook), @@ -3389,7 +3389,7 @@ pub mod workbooks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3455,7 +3455,7 @@ pub mod workbooks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201, @@ -3484,7 +3484,7 @@ pub mod workbooks { } } pub mod my_workbooks { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3544,7 +3544,7 @@ pub mod my_workbooks { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3621,7 +3621,7 @@ pub mod my_workbooks { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3691,7 +3691,7 @@ pub mod my_workbooks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3772,7 +3772,7 @@ pub mod my_workbooks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MyWorkbook), @@ -3849,7 +3849,7 @@ pub mod my_workbooks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3915,7 +3915,7 @@ pub mod my_workbooks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201, @@ -3944,7 +3944,7 @@ pub mod my_workbooks { } } pub mod components { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3987,7 +3987,7 @@ pub mod components { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4055,7 +4055,7 @@ pub mod components { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4120,7 +4120,7 @@ pub mod components { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4196,7 +4196,7 @@ pub mod components { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationInsightsComponent), @@ -4277,7 +4277,7 @@ pub mod components { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationInsightsComponent), @@ -4343,7 +4343,7 @@ pub mod components { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4415,7 +4415,7 @@ pub mod components { } } pub mod purge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4485,7 +4485,7 @@ pub mod components { } } pub mod get_purge_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4506,7 +4506,7 @@ pub mod components { } } pub mod component_linked_storage_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4557,7 +4557,7 @@ pub mod component_linked_storage_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4634,7 +4634,7 @@ pub mod component_linked_storage_accounts { } } pub mod create_and_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4708,7 +4708,7 @@ pub mod component_linked_storage_accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4776,7 +4776,7 @@ pub mod component_linked_storage_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/applicationinsights/src/package_2020_10_only/operations.rs b/services/mgmt/applicationinsights/src/package_2020_10_only/operations.rs index c104e14f7e..9770cfd7f6 100644 --- a/services/mgmt/applicationinsights/src/package_2020_10_only/operations.rs +++ b/services/mgmt/applicationinsights/src/package_2020_10_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Insights/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod my_workbooks { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -130,7 +130,7 @@ pub mod my_workbooks { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -207,7 +207,7 @@ pub mod my_workbooks { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -277,7 +277,7 @@ pub mod my_workbooks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -362,7 +362,7 @@ pub mod my_workbooks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MyWorkbook), @@ -443,7 +443,7 @@ pub mod my_workbooks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -509,7 +509,7 @@ pub mod my_workbooks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -538,7 +538,7 @@ pub mod my_workbooks { } } pub mod workbooks { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -594,7 +594,7 @@ pub mod workbooks { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -679,7 +679,7 @@ pub mod workbooks { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -749,7 +749,7 @@ pub mod workbooks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -834,7 +834,7 @@ pub mod workbooks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workbook), @@ -919,7 +919,7 @@ pub mod workbooks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -985,7 +985,7 @@ pub mod workbooks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/applicationinsights/src/package_2020_11_only/operations.rs b/services/mgmt/applicationinsights/src/package_2020_11_only/operations.rs index 907ad38008..9dd9235531 100644 --- a/services/mgmt/applicationinsights/src/package_2020_11_only/operations.rs +++ b/services/mgmt/applicationinsights/src/package_2020_11_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod workbook_templates { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -56,7 +56,7 @@ pub mod workbook_templates { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -126,7 +126,7 @@ pub mod workbook_templates { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -207,7 +207,7 @@ pub mod workbook_templates { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkbookTemplate), @@ -288,7 +288,7 @@ pub mod workbook_templates { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -354,7 +354,7 @@ pub mod workbook_templates { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/applicationinsights/src/package_2021_03_only/operations.rs b/services/mgmt/applicationinsights/src/package_2021_03_only/operations.rs index b975762dbe..d976099bec 100644 --- a/services/mgmt/applicationinsights/src/package_2021_03_only/operations.rs +++ b/services/mgmt/applicationinsights/src/package_2021_03_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod my_workbooks { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -68,7 +68,7 @@ pub mod my_workbooks { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -145,7 +145,7 @@ pub mod my_workbooks { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -215,7 +215,7 @@ pub mod my_workbooks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -300,7 +300,7 @@ pub mod my_workbooks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MyWorkbook), @@ -381,7 +381,7 @@ pub mod my_workbooks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -447,7 +447,7 @@ pub mod my_workbooks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -476,7 +476,7 @@ pub mod my_workbooks { } } pub mod workbooks { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -532,7 +532,7 @@ pub mod workbooks { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -617,7 +617,7 @@ pub mod workbooks { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -687,7 +687,7 @@ pub mod workbooks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -772,7 +772,7 @@ pub mod workbooks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workbook), @@ -857,7 +857,7 @@ pub mod workbooks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -923,7 +923,7 @@ pub mod workbooks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1001,7 +1001,7 @@ pub mod workbooks { } } pub mod revisions_list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1076,7 +1076,7 @@ pub mod workbooks { } } pub mod revision_get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1100,7 +1100,7 @@ pub mod workbooks { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Insights/operations", operation_config.base_path(),); @@ -1138,7 +1138,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/applicationinsights/src/package_preview_2020_02/operations.rs b/services/mgmt/applicationinsights/src/package_preview_2020_02/operations.rs index f923ef9e6a..e93992bc55 100644 --- a/services/mgmt/applicationinsights/src/package_preview_2020_02/operations.rs +++ b/services/mgmt/applicationinsights/src/package_preview_2020_02/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/microsoft.insights/operations", operation_config.base_path(),); @@ -34,7 +34,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -121,7 +121,7 @@ pub async fn get_test_result_file( } } pub mod get_test_result_file { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/applicationinsights/src/package_preview_2020_06/mod.rs b/services/mgmt/applicationinsights/src/package_preview_2020_06/mod.rs deleted file mode 100644 index 39890d0265..0000000000 --- a/services/mgmt/applicationinsights/src/package_preview_2020_06/mod.rs +++ /dev/null @@ -1,3 +0,0 @@ -pub mod models; -pub mod operations; -pub const API_VERSION: &str = "2020-06-02-preview"; diff --git a/services/mgmt/applicationinsights/src/package_preview_2020_06/models.rs b/services/mgmt/applicationinsights/src/package_preview_2020_06/models.rs deleted file mode 100644 index fcd8ec40be..0000000000 --- a/services/mgmt/applicationinsights/src/package_preview_2020_06/models.rs +++ /dev/null @@ -1,907 +0,0 @@ -#![doc = "generated by AutoRust 0.1.0"] -#![allow(non_camel_case_types)] -#![allow(unused_imports)] -use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ErrorResponse { - #[serde(default, skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub message: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct Operation { - #[serde(default, skip_serializing_if = "Option::is_none")] - pub name: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub display: Option, -} -pub mod operation { - use super::*; - #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] - pub struct Display { - #[serde(default, skip_serializing_if = "Option::is_none")] - pub provider: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub resource: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub operation: Option, - } -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct OperationListResult { - #[serde(default, skip_serializing_if = "Vec::is_empty")] - pub value: Vec, - #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] - pub next_link: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct Annotation { - #[serde(rename = "AnnotationName", default, skip_serializing_if = "Option::is_none")] - pub annotation_name: Option, - #[serde(rename = "Category", default, skip_serializing_if = "Option::is_none")] - pub category: Option, - #[serde(rename = "EventTime", default, skip_serializing_if = "Option::is_none")] - pub event_time: Option, - #[serde(rename = "Id", default, skip_serializing_if = "Option::is_none")] - pub id: Option, - #[serde(rename = "Properties", default, skip_serializing_if = "Option::is_none")] - pub properties: Option, - #[serde(rename = "RelatedAnnotation", default, skip_serializing_if = "Option::is_none")] - pub related_annotation: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct AnnotationsListResult { - #[serde(default, skip_serializing_if = "Vec::is_empty")] - pub value: Vec, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct InnerError { - #[serde(default, skip_serializing_if = "Option::is_none")] - pub diagnosticcontext: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub time: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct AnnotationError { - #[serde(default, skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub message: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub innererror: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ApiKeyRequest { - #[serde(default, skip_serializing_if = "Option::is_none")] - pub name: Option, - #[serde(rename = "linkedReadProperties", default, skip_serializing_if = "Vec::is_empty")] - pub linked_read_properties: Vec, - #[serde(rename = "linkedWriteProperties", default, skip_serializing_if = "Vec::is_empty")] - pub linked_write_properties: Vec, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ApplicationInsightsComponentApiKeyListResult { - pub value: Vec, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ApplicationInsightsComponentApiKey { - #[serde(default, skip_serializing_if = "Option::is_none")] - pub id: Option, - #[serde(rename = "apiKey", default, skip_serializing_if = "Option::is_none")] - pub api_key: Option, - #[serde(rename = "createdDate", default, skip_serializing_if = "Option::is_none")] - pub created_date: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub name: Option, - #[serde(rename = "linkedReadProperties", default, skip_serializing_if = "Vec::is_empty")] - pub linked_read_properties: Vec, - #[serde(rename = "linkedWriteProperties", default, skip_serializing_if = "Vec::is_empty")] - pub linked_write_properties: Vec, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ApplicationInsightsComponentExportRequest { - #[serde(rename = "RecordTypes", default, skip_serializing_if = "Option::is_none")] - pub record_types: Option, - #[serde(rename = "DestinationType", default, skip_serializing_if = "Option::is_none")] - pub destination_type: Option, - #[serde(rename = "DestinationAddress", default, skip_serializing_if = "Option::is_none")] - pub destination_address: Option, - #[serde(rename = "IsEnabled", default, skip_serializing_if = "Option::is_none")] - pub is_enabled: Option, - #[serde(rename = "NotificationQueueEnabled", default, skip_serializing_if = "Option::is_none")] - pub notification_queue_enabled: Option, - #[serde(rename = "NotificationQueueUri", default, skip_serializing_if = "Option::is_none")] - pub notification_queue_uri: Option, - #[serde(rename = "DestinationStorageSubscriptionId", default, skip_serializing_if = "Option::is_none")] - pub destination_storage_subscription_id: Option, - #[serde(rename = "DestinationStorageLocationId", default, skip_serializing_if = "Option::is_none")] - pub destination_storage_location_id: Option, - #[serde(rename = "DestinationAccountId", default, skip_serializing_if = "Option::is_none")] - pub destination_account_id: Option, -} -pub type ApplicationInsightsComponentExportConfigurationListResult = Vec; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ApplicationInsightsComponentExportConfiguration { - #[serde(rename = "ExportId", default, skip_serializing_if = "Option::is_none")] - pub export_id: Option, - #[serde(rename = "InstrumentationKey", default, skip_serializing_if = "Option::is_none")] - pub instrumentation_key: Option, - #[serde(rename = "RecordTypes", default, skip_serializing_if = "Option::is_none")] - pub record_types: Option, - #[serde(rename = "ApplicationName", default, skip_serializing_if = "Option::is_none")] - pub application_name: Option, - #[serde(rename = "SubscriptionId", default, skip_serializing_if = "Option::is_none")] - pub subscription_id: Option, - #[serde(rename = "ResourceGroup", default, skip_serializing_if = "Option::is_none")] - pub resource_group: Option, - #[serde(rename = "DestinationStorageSubscriptionId", default, skip_serializing_if = "Option::is_none")] - pub destination_storage_subscription_id: Option, - #[serde(rename = "DestinationStorageLocationId", default, skip_serializing_if = "Option::is_none")] - pub destination_storage_location_id: Option, - #[serde(rename = "DestinationAccountId", default, skip_serializing_if = "Option::is_none")] - pub destination_account_id: Option, - #[serde(rename = "DestinationType", default, skip_serializing_if = "Option::is_none")] - pub destination_type: Option, - #[serde(rename = "IsUserEnabled", default, skip_serializing_if = "Option::is_none")] - pub is_user_enabled: Option, - #[serde(rename = "LastUserUpdate", default, skip_serializing_if = "Option::is_none")] - pub last_user_update: Option, - #[serde(rename = "NotificationQueueEnabled", default, skip_serializing_if = "Option::is_none")] - pub notification_queue_enabled: Option, - #[serde(rename = "ExportStatus", default, skip_serializing_if = "Option::is_none")] - pub export_status: Option, - #[serde(rename = "LastSuccessTime", default, skip_serializing_if = "Option::is_none")] - pub last_success_time: Option, - #[serde(rename = "LastGapTime", default, skip_serializing_if = "Option::is_none")] - pub last_gap_time: Option, - #[serde(rename = "PermanentErrorReason", default, skip_serializing_if = "Option::is_none")] - pub permanent_error_reason: Option, - #[serde(rename = "StorageName", default, skip_serializing_if = "Option::is_none")] - pub storage_name: Option, - #[serde(rename = "ContainerName", default, skip_serializing_if = "Option::is_none")] - pub container_name: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ApplicationInsightsComponentBillingFeatures { - #[serde(rename = "DataVolumeCap", default, skip_serializing_if = "Option::is_none")] - pub data_volume_cap: Option, - #[serde(rename = "CurrentBillingFeatures", default, skip_serializing_if = "Vec::is_empty")] - pub current_billing_features: Vec, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ApplicationInsightsComponentDataVolumeCap { - #[serde(rename = "Cap", default, skip_serializing_if = "Option::is_none")] - pub cap: Option, - #[serde(rename = "ResetTime", default, skip_serializing_if = "Option::is_none")] - pub reset_time: Option, - #[serde(rename = "WarningThreshold", default, skip_serializing_if = "Option::is_none")] - pub warning_threshold: Option, - #[serde(rename = "StopSendNotificationWhenHitThreshold", default, skip_serializing_if = "Option::is_none")] - pub stop_send_notification_when_hit_threshold: Option, - #[serde(rename = "StopSendNotificationWhenHitCap", default, skip_serializing_if = "Option::is_none")] - pub stop_send_notification_when_hit_cap: Option, - #[serde(rename = "MaxHistoryCap", default, skip_serializing_if = "Option::is_none")] - pub max_history_cap: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ApplicationInsightsComponentQuotaStatus { - #[serde(rename = "AppId", default, skip_serializing_if = "Option::is_none")] - pub app_id: Option, - #[serde(rename = "ShouldBeThrottled", default, skip_serializing_if = "Option::is_none")] - pub should_be_throttled: Option, - #[serde(rename = "ExpirationTime", default, skip_serializing_if = "Option::is_none")] - pub expiration_time: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ApplicationInsightsComponentFeatureCapabilities { - #[serde(rename = "SupportExportData", default, skip_serializing_if = "Option::is_none")] - pub support_export_data: Option, - #[serde(rename = "BurstThrottlePolicy", default, skip_serializing_if = "Option::is_none")] - pub burst_throttle_policy: Option, - #[serde(rename = "MetadataClass", default, skip_serializing_if = "Option::is_none")] - pub metadata_class: Option, - #[serde(rename = "LiveStreamMetrics", default, skip_serializing_if = "Option::is_none")] - pub live_stream_metrics: Option, - #[serde(rename = "ApplicationMap", default, skip_serializing_if = "Option::is_none")] - pub application_map: Option, - #[serde(rename = "WorkItemIntegration", default, skip_serializing_if = "Option::is_none")] - pub work_item_integration: Option, - #[serde(rename = "PowerBIIntegration", default, skip_serializing_if = "Option::is_none")] - pub power_bi_integration: Option, - #[serde(rename = "OpenSchema", default, skip_serializing_if = "Option::is_none")] - pub open_schema: Option, - #[serde(rename = "ProactiveDetection", default, skip_serializing_if = "Option::is_none")] - pub proactive_detection: Option, - #[serde(rename = "AnalyticsIntegration", default, skip_serializing_if = "Option::is_none")] - pub analytics_integration: Option, - #[serde(rename = "MultipleStepWebTest", default, skip_serializing_if = "Option::is_none")] - pub multiple_step_web_test: Option, - #[serde(rename = "ApiAccessLevel", default, skip_serializing_if = "Option::is_none")] - pub api_access_level: Option, - #[serde(rename = "TrackingType", default, skip_serializing_if = "Option::is_none")] - pub tracking_type: Option, - #[serde(rename = "DailyCap", default, skip_serializing_if = "Option::is_none")] - pub daily_cap: Option, - #[serde(rename = "DailyCapResetTime", default, skip_serializing_if = "Option::is_none")] - pub daily_cap_reset_time: Option, - #[serde(rename = "ThrottleRate", default, skip_serializing_if = "Option::is_none")] - pub throttle_rate: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ApplicationInsightsComponentAvailableFeatures { - #[serde(rename = "Result", default, skip_serializing_if = "Vec::is_empty")] - pub result: Vec, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ApplicationInsightsComponentFeature { - #[serde(rename = "FeatureName", default, skip_serializing_if = "Option::is_none")] - pub feature_name: Option, - #[serde(rename = "MeterId", default, skip_serializing_if = "Option::is_none")] - pub meter_id: Option, - #[serde(rename = "MeterRateFrequency", default, skip_serializing_if = "Option::is_none")] - pub meter_rate_frequency: Option, - #[serde(rename = "ResouceId", default, skip_serializing_if = "Option::is_none")] - pub resouce_id: Option, - #[serde(rename = "IsHidden", default, skip_serializing_if = "Option::is_none")] - pub is_hidden: Option, - #[serde(rename = "Capabilities", default, skip_serializing_if = "Vec::is_empty")] - pub capabilities: Vec, - #[serde(rename = "Title", default, skip_serializing_if = "Option::is_none")] - pub title: Option, - #[serde(rename = "IsMainFeature", default, skip_serializing_if = "Option::is_none")] - pub is_main_feature: Option, - #[serde(rename = "SupportedAddonFeatures", default, skip_serializing_if = "Option::is_none")] - pub supported_addon_features: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ApplicationInsightsComponentFeatureCapability { - #[serde(rename = "Name", default, skip_serializing_if = "Option::is_none")] - pub name: Option, - #[serde(rename = "Description", default, skip_serializing_if = "Option::is_none")] - pub description: Option, - #[serde(rename = "Value", default, skip_serializing_if = "Option::is_none")] - pub value: Option, - #[serde(rename = "Unit", default, skip_serializing_if = "Option::is_none")] - pub unit: Option, - #[serde(rename = "MeterId", default, skip_serializing_if = "Option::is_none")] - pub meter_id: Option, - #[serde(rename = "MeterRateFrequency", default, skip_serializing_if = "Option::is_none")] - pub meter_rate_frequency: Option, -} -pub type ApplicationInsightsComponentProactiveDetectionConfigurationListResult = - Vec; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ApplicationInsightsComponentProactiveDetectionConfiguration { - #[serde(rename = "Name", default, skip_serializing_if = "Option::is_none")] - pub name: Option, - #[serde(rename = "Enabled", default, skip_serializing_if = "Option::is_none")] - pub enabled: Option, - #[serde(rename = "SendEmailsToSubscriptionOwners", default, skip_serializing_if = "Option::is_none")] - pub send_emails_to_subscription_owners: Option, - #[serde(rename = "CustomEmails", default, skip_serializing_if = "Vec::is_empty")] - pub custom_emails: Vec, - #[serde(rename = "LastUpdatedTime", default, skip_serializing_if = "Option::is_none")] - pub last_updated_time: Option, - #[serde(rename = "RuleDefinitions", default, skip_serializing_if = "Option::is_none")] - pub rule_definitions: Option, -} -pub mod application_insights_component_proactive_detection_configuration { - use super::*; - #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] - pub struct RuleDefinitions { - #[serde(rename = "Name", default, skip_serializing_if = "Option::is_none")] - pub name: Option, - #[serde(rename = "DisplayName", default, skip_serializing_if = "Option::is_none")] - pub display_name: Option, - #[serde(rename = "Description", default, skip_serializing_if = "Option::is_none")] - pub description: Option, - #[serde(rename = "HelpUrl", default, skip_serializing_if = "Option::is_none")] - pub help_url: Option, - #[serde(rename = "IsHidden", default, skip_serializing_if = "Option::is_none")] - pub is_hidden: Option, - #[serde(rename = "IsEnabledByDefault", default, skip_serializing_if = "Option::is_none")] - pub is_enabled_by_default: Option, - #[serde(rename = "IsInPreview", default, skip_serializing_if = "Option::is_none")] - pub is_in_preview: Option, - #[serde(rename = "SupportsEmailNotifications", default, skip_serializing_if = "Option::is_none")] - pub supports_email_notifications: Option, - } -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct WorkItemConfiguration { - #[serde(rename = "ConnectorId", default, skip_serializing_if = "Option::is_none")] - pub connector_id: Option, - #[serde(rename = "ConfigDisplayName", default, skip_serializing_if = "Option::is_none")] - pub config_display_name: Option, - #[serde(rename = "IsDefault", default, skip_serializing_if = "Option::is_none")] - pub is_default: Option, - #[serde(rename = "Id", default, skip_serializing_if = "Option::is_none")] - pub id: Option, - #[serde(rename = "ConfigProperties", default, skip_serializing_if = "Option::is_none")] - pub config_properties: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct WorkItemConfigurationsListResult { - #[serde(default, skip_serializing_if = "Vec::is_empty")] - pub value: Vec, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct WorkItemCreateConfiguration { - #[serde(rename = "ConnectorId", default, skip_serializing_if = "Option::is_none")] - pub connector_id: Option, - #[serde(rename = "ConnectorDataConfiguration", default, skip_serializing_if = "Option::is_none")] - pub connector_data_configuration: Option, - #[serde(rename = "ValidateOnly", default, skip_serializing_if = "Option::is_none")] - pub validate_only: Option, - #[serde(rename = "WorkItemProperties", default, skip_serializing_if = "Option::is_none")] - pub work_item_properties: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct WorkItemConfigurationError { - #[serde(default, skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub message: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub innererror: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ApplicationInsightsComponentFavorite { - #[serde(rename = "Name", default, skip_serializing_if = "Option::is_none")] - pub name: Option, - #[serde(rename = "Config", default, skip_serializing_if = "Option::is_none")] - pub config: Option, - #[serde(rename = "Version", default, skip_serializing_if = "Option::is_none")] - pub version: Option, - #[serde(rename = "FavoriteId", default, skip_serializing_if = "Option::is_none")] - pub favorite_id: Option, - #[serde(rename = "FavoriteType", default, skip_serializing_if = "Option::is_none")] - pub favorite_type: Option, - #[serde(rename = "SourceType", default, skip_serializing_if = "Option::is_none")] - pub source_type: Option, - #[serde(rename = "TimeModified", default, skip_serializing_if = "Option::is_none")] - pub time_modified: Option, - #[serde(rename = "Tags", default, skip_serializing_if = "Vec::is_empty")] - pub tags: Vec, - #[serde(rename = "Category", default, skip_serializing_if = "Option::is_none")] - pub category: Option, - #[serde(rename = "IsGeneratedFromTemplate", default, skip_serializing_if = "Option::is_none")] - pub is_generated_from_template: Option, - #[serde(rename = "UserId", default, skip_serializing_if = "Option::is_none")] - pub user_id: Option, -} -pub mod application_insights_component_favorite { - use super::*; - #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] - pub enum FavoriteType { - #[serde(rename = "shared")] - Shared, - #[serde(rename = "user")] - User, - } -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ApplicationInsightsWebTestLocationsListResult { - pub value: Vec, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ApplicationInsightsComponentWebTestLocation { - #[serde(rename = "DisplayName", default, skip_serializing_if = "Option::is_none")] - pub display_name: Option, - #[serde(rename = "Tag", default, skip_serializing_if = "Option::is_none")] - pub tag: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct WebtestsResource { - #[serde(default, skip_serializing_if = "Option::is_none")] - pub id: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub name: Option, - #[serde(rename = "type", default, skip_serializing_if = "Option::is_none")] - pub type_: Option, - pub location: String, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub tags: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct TagsResource { - #[serde(default, skip_serializing_if = "Option::is_none")] - pub tags: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct WebTestListResult { - pub value: Vec, - #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] - pub next_link: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct WebTest { - #[serde(flatten)] - pub webtests_resource: WebtestsResource, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub kind: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub properties: Option, -} -pub mod web_test { - use super::*; - #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] - pub enum Kind { - #[serde(rename = "ping")] - Ping, - #[serde(rename = "multistep")] - Multistep, - } -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct WebTestProperties { - #[serde(rename = "SyntheticMonitorId")] - pub synthetic_monitor_id: String, - #[serde(rename = "Name")] - pub name: String, - #[serde(rename = "Description", default, skip_serializing_if = "Option::is_none")] - pub description: Option, - #[serde(rename = "Enabled", default, skip_serializing_if = "Option::is_none")] - pub enabled: Option, - #[serde(rename = "Frequency", default, skip_serializing_if = "Option::is_none")] - pub frequency: Option, - #[serde(rename = "Timeout", default, skip_serializing_if = "Option::is_none")] - pub timeout: Option, - #[serde(rename = "Kind")] - pub kind: web_test_properties::Kind, - #[serde(rename = "RetryEnabled", default, skip_serializing_if = "Option::is_none")] - pub retry_enabled: Option, - #[serde(rename = "Locations")] - pub locations: Vec, - #[serde(rename = "Configuration", default, skip_serializing_if = "Option::is_none")] - pub configuration: Option, - #[serde(rename = "provisioningState", default, skip_serializing_if = "Option::is_none")] - pub provisioning_state: Option, -} -pub mod web_test_properties { - use super::*; - #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] - pub enum Kind { - #[serde(rename = "ping")] - Ping, - #[serde(rename = "multistep")] - Multistep, - } - #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] - pub struct Configuration { - #[serde(rename = "WebTest", default, skip_serializing_if = "Option::is_none")] - pub web_test: Option, - } -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct WebTestGeolocation { - #[serde(rename = "Id", default, skip_serializing_if = "Option::is_none")] - pub id: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ApplicationInsightsComponentAnalyticsItem { - #[serde(rename = "Id", default, skip_serializing_if = "Option::is_none")] - pub id: Option, - #[serde(rename = "Name", default, skip_serializing_if = "Option::is_none")] - pub name: Option, - #[serde(rename = "Content", default, skip_serializing_if = "Option::is_none")] - pub content: Option, - #[serde(rename = "Version", default, skip_serializing_if = "Option::is_none")] - pub version: Option, - #[serde(rename = "Scope", default, skip_serializing_if = "Option::is_none")] - pub scope: Option, - #[serde(rename = "Type", default, skip_serializing_if = "Option::is_none")] - pub type_: Option, - #[serde(rename = "TimeCreated", default, skip_serializing_if = "Option::is_none")] - pub time_created: Option, - #[serde(rename = "TimeModified", default, skip_serializing_if = "Option::is_none")] - pub time_modified: Option, - #[serde(rename = "Properties", default, skip_serializing_if = "Option::is_none")] - pub properties: Option, -} -pub mod application_insights_component_analytics_item { - use super::*; - #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] - pub enum Scope { - #[serde(rename = "shared")] - Shared, - #[serde(rename = "user")] - User, - } - #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] - pub enum Type { - #[serde(rename = "query")] - Query, - #[serde(rename = "function")] - Function, - #[serde(rename = "folder")] - Folder, - #[serde(rename = "recent")] - Recent, - } -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ApplicationInsightsComponentAnalyticsItemProperties { - #[serde(rename = "functionAlias", default, skip_serializing_if = "Option::is_none")] - pub function_alias: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct WorkbookResource { - #[serde(default, skip_serializing_if = "Option::is_none")] - pub id: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub name: Option, - #[serde(rename = "type", default, skip_serializing_if = "Option::is_none")] - pub type_: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub location: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub tags: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct WorkbooksListResult { - #[serde(default, skip_serializing_if = "Vec::is_empty")] - pub value: Vec, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct Workbook { - #[serde(flatten)] - pub workbook_resource: WorkbookResource, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub kind: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub properties: Option, -} -pub mod workbook { - use super::*; - #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] - pub enum Kind { - #[serde(rename = "user")] - User, - #[serde(rename = "shared")] - Shared, - } -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct LinkProperties { - #[serde(rename = "sourceId", default, skip_serializing_if = "Option::is_none")] - pub source_id: Option, - #[serde(rename = "targetId", default, skip_serializing_if = "Option::is_none")] - pub target_id: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub category: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct WorkbookProperties { - pub name: String, - #[serde(rename = "serializedData")] - pub serialized_data: String, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub version: Option, - #[serde(rename = "workbookId")] - pub workbook_id: String, - pub kind: workbook_properties::Kind, - #[serde(rename = "timeModified", default, skip_serializing_if = "Option::is_none")] - pub time_modified: Option, - pub category: String, - #[serde(default, skip_serializing_if = "Vec::is_empty")] - pub tags: Vec, - #[serde(rename = "userId")] - pub user_id: String, - #[serde(rename = "sourceResourceId", default, skip_serializing_if = "Option::is_none")] - pub source_resource_id: Option, -} -pub mod workbook_properties { - use super::*; - #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] - pub enum Kind { - #[serde(rename = "shared")] - Shared, - #[serde(rename = "user")] - User, - } -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ErrorFieldContract { - #[serde(default, skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub message: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub target: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct WorkbookError { - #[serde(default, skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub message: Option, - #[serde(default, skip_serializing_if = "Vec::is_empty")] - pub details: Vec, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct MyWorkbookResource { - #[serde(default, skip_serializing_if = "Option::is_none")] - pub id: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub name: Option, - #[serde(rename = "type", default, skip_serializing_if = "Option::is_none")] - pub type_: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub location: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub tags: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct MyWorkbooksListResult { - #[serde(default, skip_serializing_if = "Vec::is_empty")] - pub value: Vec, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct MyWorkbook { - #[serde(flatten)] - pub my_workbook_resource: MyWorkbookResource, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub kind: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub properties: Option, -} -pub mod my_workbook { - use super::*; - #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] - pub enum Kind { - #[serde(rename = "user")] - User, - #[serde(rename = "shared")] - Shared, - } -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct MyWorkbookProperties { - #[serde(rename = "displayName")] - pub display_name: String, - #[serde(rename = "serializedData")] - pub serialized_data: String, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub version: Option, - #[serde(rename = "timeModified", default, skip_serializing_if = "Option::is_none")] - pub time_modified: Option, - pub category: String, - #[serde(default, skip_serializing_if = "Vec::is_empty")] - pub tags: Vec, - #[serde(rename = "userId", default, skip_serializing_if = "Option::is_none")] - pub user_id: Option, - #[serde(rename = "sourceId", default, skip_serializing_if = "Option::is_none")] - pub source_id: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct MyWorkbookError { - #[serde(default, skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub message: Option, - #[serde(default, skip_serializing_if = "Vec::is_empty")] - pub details: Vec, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ComponentsResource { - #[serde(default, skip_serializing_if = "Option::is_none")] - pub id: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub name: Option, - #[serde(rename = "type", default, skip_serializing_if = "Option::is_none")] - pub type_: Option, - pub location: String, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub tags: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ApplicationInsightsComponent { - #[serde(flatten)] - pub components_resource: ComponentsResource, - pub kind: String, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub properties: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ApplicationInsightsComponentProperties { - #[serde(rename = "ApplicationId", default, skip_serializing_if = "Option::is_none")] - pub application_id: Option, - #[serde(rename = "AppId", default, skip_serializing_if = "Option::is_none")] - pub app_id: Option, - #[serde(rename = "Application_Type")] - pub application_type: application_insights_component_properties::ApplicationType, - #[serde(rename = "Flow_Type", default, skip_serializing_if = "Option::is_none")] - pub flow_type: Option, - #[serde(rename = "Request_Source", default, skip_serializing_if = "Option::is_none")] - pub request_source: Option, - #[serde(rename = "InstrumentationKey", default, skip_serializing_if = "Option::is_none")] - pub instrumentation_key: Option, - #[serde(rename = "CreationDate", default, skip_serializing_if = "Option::is_none")] - pub creation_date: Option, - #[serde(rename = "TenantId", default, skip_serializing_if = "Option::is_none")] - pub tenant_id: Option, - #[serde(rename = "HockeyAppId", default, skip_serializing_if = "Option::is_none")] - pub hockey_app_id: Option, - #[serde(rename = "HockeyAppToken", default, skip_serializing_if = "Option::is_none")] - pub hockey_app_token: Option, - #[serde(rename = "provisioningState", default, skip_serializing_if = "Option::is_none")] - pub provisioning_state: Option, - #[serde(rename = "SamplingPercentage", default, skip_serializing_if = "Option::is_none")] - pub sampling_percentage: Option, - #[serde(rename = "ConnectionString", default, skip_serializing_if = "Option::is_none")] - pub connection_string: Option, - #[serde(rename = "RetentionInDays", default, skip_serializing_if = "Option::is_none")] - pub retention_in_days: Option, - #[serde(rename = "DisableIpMasking", default, skip_serializing_if = "Option::is_none")] - pub disable_ip_masking: Option, - #[serde(rename = "ImmediatePurgeDataOn30Days", default, skip_serializing_if = "Option::is_none")] - pub immediate_purge_data_on30_days: Option, - #[serde(rename = "PrivateLinkScopedResources", default, skip_serializing_if = "Vec::is_empty")] - pub private_link_scoped_resources: Vec, - #[serde(rename = "publicNetworkAccessForIngestion", default, skip_serializing_if = "Option::is_none")] - pub public_network_access_for_ingestion: Option, - #[serde(rename = "publicNetworkAccessForQuery", default, skip_serializing_if = "Option::is_none")] - pub public_network_access_for_query: Option, - #[serde(rename = "IngestionMode", default, skip_serializing_if = "Option::is_none")] - pub ingestion_mode: Option, -} -pub mod application_insights_component_properties { - use super::*; - #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] - pub enum ApplicationType { - #[serde(rename = "web")] - Web, - #[serde(rename = "other")] - Other, - } - #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] - pub enum FlowType { - Bluefield, - } - #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] - pub enum RequestSource { - #[serde(rename = "rest")] - Rest, - } - #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] - pub enum IngestionMode { - ApplicationInsights, - ApplicationInsightsWithDiagnosticSettings, - LogAnalytics, - } -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct PrivateLinkScopedResource { - #[serde(rename = "ResourceId", default, skip_serializing_if = "Option::is_none")] - pub resource_id: Option, - #[serde(rename = "ScopeId", default, skip_serializing_if = "Option::is_none")] - pub scope_id: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ApplicationInsightsComponentListResult { - pub value: Vec, - #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] - pub next_link: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ComponentPurgeBody { - pub table: String, - pub filters: Vec, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ComponentPurgeBodyFilters { - #[serde(default, skip_serializing_if = "Option::is_none")] - pub column: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub operator: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub value: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub key: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ComponentPurgeResponse { - #[serde(rename = "operationId")] - pub operation_id: String, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ComponentPurgeStatusResponse { - pub status: component_purge_status_response::Status, -} -pub mod component_purge_status_response { - use super::*; - #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] - pub enum Status { - #[serde(rename = "pending")] - Pending, - #[serde(rename = "completed")] - Completed, - } -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub enum PublicNetworkAccessType { - Enabled, - Disabled, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ErrorResponseLinkedStorage { - #[serde(default, skip_serializing_if = "Option::is_none")] - pub error: Option, -} -pub mod error_response_linked_storage { - use super::*; - #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] - pub struct Error { - #[serde(default, skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub message: Option, - } -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ComponentLinkedStorageAccounts { - #[serde(flatten)] - pub proxy_resource: ProxyResource, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub properties: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ComponentLinkedStorageAccountsPatch { - #[serde(default, skip_serializing_if = "Option::is_none")] - pub properties: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct LinkedStorageAccountsProperties { - #[serde(rename = "linkedStorageAccount", default, skip_serializing_if = "Option::is_none")] - pub linked_storage_account: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct LiveTokenResponse { - #[serde(rename = "liveToken", default, skip_serializing_if = "Option::is_none")] - pub live_token: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct OperationsListResult { - #[serde(default, skip_serializing_if = "Vec::is_empty")] - pub value: Vec, - #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] - pub next_link: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct OperationLive { - #[serde(default, skip_serializing_if = "Option::is_none")] - pub name: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub display: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub origin: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub properties: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct OperationInfo { - #[serde(default, skip_serializing_if = "Option::is_none")] - pub provider: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub resource: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub operation: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub description: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ProxyResource { - #[serde(flatten)] - pub resource: Resource, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct Resource { - #[serde(default, skip_serializing_if = "Option::is_none")] - pub id: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub name: Option, - #[serde(rename = "type", default, skip_serializing_if = "Option::is_none")] - pub type_: Option, -} diff --git a/services/mgmt/applicationinsights/src/package_preview_2020_06/operations.rs b/services/mgmt/applicationinsights/src/package_preview_2020_06/operations.rs deleted file mode 100644 index 25760f41db..0000000000 --- a/services/mgmt/applicationinsights/src/package_preview_2020_06/operations.rs +++ /dev/null @@ -1,4921 +0,0 @@ -#![doc = "generated by AutoRust 0.1.0"] -#![allow(unused_mut)] -#![allow(unused_variables)] -#![allow(unused_imports)] -use crate::models::*; -pub mod operations { - use crate::models::*; - pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!("{}/providers/Microsoft.Insights/operations", operation_config.base_path(),); - let mut url = url::Url::parse(url_str).map_err(list::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(list::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(list::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(list::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: OperationListResult = - serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: ErrorResponse = - serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; - Err(list::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod list { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::ErrorResponse, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!("{}/providers/microsoft.insights/operations", operation_config.base_path(),); - let mut url = url::Url::parse(url_str).map_err(list::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(list::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(list::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(list::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: OperationsListResult = - serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => Err(list::Error::DefaultResponse { status_code }), - } - } - pub mod list { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { status_code: http::StatusCode }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } -} -pub mod annotations { - use crate::models::*; - pub async fn list( - operation_config: &crate::OperationConfig, - resource_group_name: &str, - subscription_id: &str, - resource_name: &str, - start: &str, - end: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/components/{}/Annotations", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name - ); - let mut url = url::Url::parse(url_str).map_err(list::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(list::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - url.query_pairs_mut().append_pair("start", start); - url.query_pairs_mut().append_pair("end", end); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(list::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(list::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: AnnotationsListResult = - serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: AnnotationError = - serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; - Err(list::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod list { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::AnnotationError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn create( - operation_config: &crate::OperationConfig, - resource_group_name: &str, - subscription_id: &str, - resource_name: &str, - annotation_properties: &Annotation, - ) -> std::result::Result, create::Error> { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/components/{}/Annotations", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name - ); - let mut url = url::Url::parse(url_str).map_err(create::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::PUT); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(create::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - req_builder = req_builder.header("content-type", "application/json"); - let req_body = azure_core::to_json(annotation_properties).map_err(create::Error::SerializeError)?; - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(create::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(create::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: Vec = - serde_json::from_slice(rsp_body).map_err(|source| create::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: AnnotationError = - serde_json::from_slice(rsp_body).map_err(|source| create::Error::DeserializeError(source, rsp_body.clone()))?; - Err(create::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod create { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::AnnotationError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn get( - operation_config: &crate::OperationConfig, - resource_group_name: &str, - subscription_id: &str, - resource_name: &str, - annotation_id: &str, - ) -> std::result::Result, get::Error> { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/components/{}/Annotations/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name, - annotation_id - ); - let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(get::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: Vec = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: AnnotationError = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Err(get::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod get { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::AnnotationError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn delete( - operation_config: &crate::OperationConfig, - resource_group_name: &str, - subscription_id: &str, - resource_name: &str, - annotation_id: &str, - ) -> std::result::Result<(), delete::Error> { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/components/{}/Annotations/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name, - annotation_id - ); - let mut url = url::Url::parse(url_str).map_err(delete::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::DELETE); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(delete::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(delete::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(delete::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => Ok(()), - status_code => { - let rsp_body = rsp.body(); - Err(delete::Error::UnexpectedResponse { - status_code, - body: rsp_body.clone(), - }) - } - } - } - pub mod delete { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("Unexpected HTTP status code {}", status_code)] - UnexpectedResponse { status_code: http::StatusCode, body: bytes::Bytes }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } -} -pub mod api_keys { - use crate::models::*; - pub async fn list( - operation_config: &crate::OperationConfig, - resource_group_name: &str, - subscription_id: &str, - resource_name: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/components/{}/ApiKeys", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name - ); - let mut url = url::Url::parse(url_str).map_err(list::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(list::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(list::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(list::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: ApplicationInsightsComponentApiKeyListResult = - serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - Err(list::Error::UnexpectedResponse { - status_code, - body: rsp_body.clone(), - }) - } - } - } - pub mod list { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("Unexpected HTTP status code {}", status_code)] - UnexpectedResponse { status_code: http::StatusCode, body: bytes::Bytes }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn create( - operation_config: &crate::OperationConfig, - resource_group_name: &str, - subscription_id: &str, - resource_name: &str, - api_key_properties: &ApiKeyRequest, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/components/{}/ApiKeys", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name - ); - let mut url = url::Url::parse(url_str).map_err(create::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::POST); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(create::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - req_builder = req_builder.header("content-type", "application/json"); - let req_body = azure_core::to_json(api_key_properties).map_err(create::Error::SerializeError)?; - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(create::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(create::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: ApplicationInsightsComponentApiKey = - serde_json::from_slice(rsp_body).map_err(|source| create::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - Err(create::Error::UnexpectedResponse { - status_code, - body: rsp_body.clone(), - }) - } - } - } - pub mod create { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("Unexpected HTTP status code {}", status_code)] - UnexpectedResponse { status_code: http::StatusCode, body: bytes::Bytes }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn get( - operation_config: &crate::OperationConfig, - resource_group_name: &str, - subscription_id: &str, - resource_name: &str, - key_id: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/components/{}/APIKeys/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name, - key_id - ); - let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(get::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: ApplicationInsightsComponentApiKey = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - Err(get::Error::UnexpectedResponse { - status_code, - body: rsp_body.clone(), - }) - } - } - } - pub mod get { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("Unexpected HTTP status code {}", status_code)] - UnexpectedResponse { status_code: http::StatusCode, body: bytes::Bytes }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn delete( - operation_config: &crate::OperationConfig, - resource_group_name: &str, - subscription_id: &str, - resource_name: &str, - key_id: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/components/{}/APIKeys/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name, - key_id - ); - let mut url = url::Url::parse(url_str).map_err(delete::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::DELETE); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(delete::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(delete::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(delete::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: ApplicationInsightsComponentApiKey = - serde_json::from_slice(rsp_body).map_err(|source| delete::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - Err(delete::Error::UnexpectedResponse { - status_code, - body: rsp_body.clone(), - }) - } - } - } - pub mod delete { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("Unexpected HTTP status code {}", status_code)] - UnexpectedResponse { status_code: http::StatusCode, body: bytes::Bytes }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } -} -pub mod export_configurations { - use crate::models::*; - pub async fn list( - operation_config: &crate::OperationConfig, - resource_group_name: &str, - subscription_id: &str, - resource_name: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/components/{}/exportconfiguration", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name - ); - let mut url = url::Url::parse(url_str).map_err(list::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(list::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(list::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(list::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: ApplicationInsightsComponentExportConfigurationListResult = - serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - Err(list::Error::UnexpectedResponse { - status_code, - body: rsp_body.clone(), - }) - } - } - } - pub mod list { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("Unexpected HTTP status code {}", status_code)] - UnexpectedResponse { status_code: http::StatusCode, body: bytes::Bytes }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn create( - operation_config: &crate::OperationConfig, - resource_group_name: &str, - subscription_id: &str, - resource_name: &str, - export_properties: &ApplicationInsightsComponentExportRequest, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/components/{}/exportconfiguration", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name - ); - let mut url = url::Url::parse(url_str).map_err(create::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::POST); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(create::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - req_builder = req_builder.header("content-type", "application/json"); - let req_body = azure_core::to_json(export_properties).map_err(create::Error::SerializeError)?; - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(create::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(create::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: ApplicationInsightsComponentExportConfigurationListResult = - serde_json::from_slice(rsp_body).map_err(|source| create::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - Err(create::Error::UnexpectedResponse { - status_code, - body: rsp_body.clone(), - }) - } - } - } - pub mod create { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("Unexpected HTTP status code {}", status_code)] - UnexpectedResponse { status_code: http::StatusCode, body: bytes::Bytes }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn get( - operation_config: &crate::OperationConfig, - resource_group_name: &str, - subscription_id: &str, - resource_name: &str, - export_id: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/components/{}/exportconfiguration/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name, - export_id - ); - let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(get::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: ApplicationInsightsComponentExportConfiguration = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - Err(get::Error::UnexpectedResponse { - status_code, - body: rsp_body.clone(), - }) - } - } - } - pub mod get { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("Unexpected HTTP status code {}", status_code)] - UnexpectedResponse { status_code: http::StatusCode, body: bytes::Bytes }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn update( - operation_config: &crate::OperationConfig, - resource_group_name: &str, - subscription_id: &str, - resource_name: &str, - export_id: &str, - export_properties: &ApplicationInsightsComponentExportRequest, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/components/{}/exportconfiguration/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name, - export_id - ); - let mut url = url::Url::parse(url_str).map_err(update::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::PUT); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(update::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - req_builder = req_builder.header("content-type", "application/json"); - let req_body = azure_core::to_json(export_properties).map_err(update::Error::SerializeError)?; - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(update::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(update::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: ApplicationInsightsComponentExportConfiguration = - serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - Err(update::Error::UnexpectedResponse { - status_code, - body: rsp_body.clone(), - }) - } - } - } - pub mod update { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("Unexpected HTTP status code {}", status_code)] - UnexpectedResponse { status_code: http::StatusCode, body: bytes::Bytes }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn delete( - operation_config: &crate::OperationConfig, - resource_group_name: &str, - subscription_id: &str, - resource_name: &str, - export_id: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/components/{}/exportconfiguration/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name, - export_id - ); - let mut url = url::Url::parse(url_str).map_err(delete::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::DELETE); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(delete::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(delete::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(delete::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: ApplicationInsightsComponentExportConfiguration = - serde_json::from_slice(rsp_body).map_err(|source| delete::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - Err(delete::Error::UnexpectedResponse { - status_code, - body: rsp_body.clone(), - }) - } - } - } - pub mod delete { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("Unexpected HTTP status code {}", status_code)] - UnexpectedResponse { status_code: http::StatusCode, body: bytes::Bytes }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } -} -pub mod component_current_billing_features { - use crate::models::*; - pub async fn get( - operation_config: &crate::OperationConfig, - resource_group_name: &str, - subscription_id: &str, - resource_name: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/components/{}/currentbillingfeatures", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name - ); - let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(get::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: ApplicationInsightsComponentBillingFeatures = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - Err(get::Error::UnexpectedResponse { - status_code, - body: rsp_body.clone(), - }) - } - } - } - pub mod get { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("Unexpected HTTP status code {}", status_code)] - UnexpectedResponse { status_code: http::StatusCode, body: bytes::Bytes }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn update( - operation_config: &crate::OperationConfig, - resource_group_name: &str, - subscription_id: &str, - resource_name: &str, - billing_features_properties: &ApplicationInsightsComponentBillingFeatures, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/components/{}/currentbillingfeatures", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name - ); - let mut url = url::Url::parse(url_str).map_err(update::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::PUT); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(update::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - req_builder = req_builder.header("content-type", "application/json"); - let req_body = azure_core::to_json(billing_features_properties).map_err(update::Error::SerializeError)?; - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(update::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(update::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: ApplicationInsightsComponentBillingFeatures = - serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - Err(update::Error::UnexpectedResponse { - status_code, - body: rsp_body.clone(), - }) - } - } - } - pub mod update { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("Unexpected HTTP status code {}", status_code)] - UnexpectedResponse { status_code: http::StatusCode, body: bytes::Bytes }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } -} -pub mod component_quota_status { - use crate::models::*; - pub async fn get( - operation_config: &crate::OperationConfig, - resource_group_name: &str, - subscription_id: &str, - resource_name: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/components/{}/quotastatus", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name - ); - let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(get::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: ApplicationInsightsComponentQuotaStatus = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - Err(get::Error::UnexpectedResponse { - status_code, - body: rsp_body.clone(), - }) - } - } - } - pub mod get { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("Unexpected HTTP status code {}", status_code)] - UnexpectedResponse { status_code: http::StatusCode, body: bytes::Bytes }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } -} -pub mod component_feature_capabilities { - use crate::models::*; - pub async fn get( - operation_config: &crate::OperationConfig, - resource_group_name: &str, - subscription_id: &str, - resource_name: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/components/{}/featurecapabilities", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name - ); - let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(get::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: ApplicationInsightsComponentFeatureCapabilities = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - Err(get::Error::UnexpectedResponse { - status_code, - body: rsp_body.clone(), - }) - } - } - } - pub mod get { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("Unexpected HTTP status code {}", status_code)] - UnexpectedResponse { status_code: http::StatusCode, body: bytes::Bytes }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } -} -pub mod component_available_features { - use crate::models::*; - pub async fn get( - operation_config: &crate::OperationConfig, - resource_group_name: &str, - subscription_id: &str, - resource_name: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/components/{}/getavailablebillingfeatures", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name - ); - let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(get::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: ApplicationInsightsComponentAvailableFeatures = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - Err(get::Error::UnexpectedResponse { - status_code, - body: rsp_body.clone(), - }) - } - } - } - pub mod get { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("Unexpected HTTP status code {}", status_code)] - UnexpectedResponse { status_code: http::StatusCode, body: bytes::Bytes }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } -} -pub mod proactive_detection_configurations { - use crate::models::*; - pub async fn list( - operation_config: &crate::OperationConfig, - resource_group_name: &str, - subscription_id: &str, - resource_name: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/components/{}/ProactiveDetectionConfigs", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name - ); - let mut url = url::Url::parse(url_str).map_err(list::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(list::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(list::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(list::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: ApplicationInsightsComponentProactiveDetectionConfigurationListResult = - serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - Err(list::Error::UnexpectedResponse { - status_code, - body: rsp_body.clone(), - }) - } - } - } - pub mod list { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("Unexpected HTTP status code {}", status_code)] - UnexpectedResponse { status_code: http::StatusCode, body: bytes::Bytes }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn get( - operation_config: &crate::OperationConfig, - resource_group_name: &str, - subscription_id: &str, - resource_name: &str, - configuration_id: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/components/{}/ProactiveDetectionConfigs/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name, - configuration_id - ); - let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(get::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: ApplicationInsightsComponentProactiveDetectionConfiguration = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - Err(get::Error::UnexpectedResponse { - status_code, - body: rsp_body.clone(), - }) - } - } - } - pub mod get { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("Unexpected HTTP status code {}", status_code)] - UnexpectedResponse { status_code: http::StatusCode, body: bytes::Bytes }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn update( - operation_config: &crate::OperationConfig, - resource_group_name: &str, - subscription_id: &str, - resource_name: &str, - configuration_id: &str, - proactive_detection_properties: &ApplicationInsightsComponentProactiveDetectionConfiguration, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/components/{}/ProactiveDetectionConfigs/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name, - configuration_id - ); - let mut url = url::Url::parse(url_str).map_err(update::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::PUT); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(update::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - req_builder = req_builder.header("content-type", "application/json"); - let req_body = azure_core::to_json(proactive_detection_properties).map_err(update::Error::SerializeError)?; - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(update::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(update::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: ApplicationInsightsComponentProactiveDetectionConfiguration = - serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - Err(update::Error::UnexpectedResponse { - status_code, - body: rsp_body.clone(), - }) - } - } - } - pub mod update { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("Unexpected HTTP status code {}", status_code)] - UnexpectedResponse { status_code: http::StatusCode, body: bytes::Bytes }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } -} -pub mod work_item_configurations { - use crate::models::*; - pub async fn list( - operation_config: &crate::OperationConfig, - resource_group_name: &str, - subscription_id: &str, - resource_name: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/components/{}/WorkItemConfigs", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name - ); - let mut url = url::Url::parse(url_str).map_err(list::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(list::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(list::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(list::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: WorkItemConfigurationsListResult = - serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: WorkItemConfigurationError = - serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; - Err(list::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod list { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::WorkItemConfigurationError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn create( - operation_config: &crate::OperationConfig, - resource_group_name: &str, - subscription_id: &str, - resource_name: &str, - work_item_configuration_properties: &WorkItemCreateConfiguration, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/components/{}/WorkItemConfigs", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name - ); - let mut url = url::Url::parse(url_str).map_err(create::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::POST); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(create::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - req_builder = req_builder.header("content-type", "application/json"); - let req_body = azure_core::to_json(work_item_configuration_properties).map_err(create::Error::SerializeError)?; - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(create::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(create::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: WorkItemConfiguration = - serde_json::from_slice(rsp_body).map_err(|source| create::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - Err(create::Error::UnexpectedResponse { - status_code, - body: rsp_body.clone(), - }) - } - } - } - pub mod create { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("Unexpected HTTP status code {}", status_code)] - UnexpectedResponse { status_code: http::StatusCode, body: bytes::Bytes }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn get_default( - operation_config: &crate::OperationConfig, - resource_group_name: &str, - subscription_id: &str, - resource_name: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/components/{}/DefaultWorkItemConfig", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name - ); - let mut url = url::Url::parse(url_str).map_err(get_default::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(get_default::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(get_default::Error::BuildRequestError)?; - let rsp = http_client - .execute_request(req) - .await - .map_err(get_default::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: WorkItemConfiguration = - serde_json::from_slice(rsp_body).map_err(|source| get_default::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - Err(get_default::Error::UnexpectedResponse { - status_code, - body: rsp_body.clone(), - }) - } - } - } - pub mod get_default { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("Unexpected HTTP status code {}", status_code)] - UnexpectedResponse { status_code: http::StatusCode, body: bytes::Bytes }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn get_item( - operation_config: &crate::OperationConfig, - resource_group_name: &str, - subscription_id: &str, - resource_name: &str, - work_item_config_id: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/components/{}/WorkItemConfigs/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name, - work_item_config_id - ); - let mut url = url::Url::parse(url_str).map_err(get_item::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(get_item::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(get_item::Error::BuildRequestError)?; - let rsp = http_client - .execute_request(req) - .await - .map_err(get_item::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: WorkItemConfiguration = - serde_json::from_slice(rsp_body).map_err(|source| get_item::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - Err(get_item::Error::UnexpectedResponse { - status_code, - body: rsp_body.clone(), - }) - } - } - } - pub mod get_item { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("Unexpected HTTP status code {}", status_code)] - UnexpectedResponse { status_code: http::StatusCode, body: bytes::Bytes }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn update_item( - operation_config: &crate::OperationConfig, - resource_group_name: &str, - subscription_id: &str, - resource_name: &str, - work_item_config_id: &str, - work_item_configuration_properties: &WorkItemCreateConfiguration, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/components/{}/WorkItemConfigs/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name, - work_item_config_id - ); - let mut url = url::Url::parse(url_str).map_err(update_item::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::PATCH); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(update_item::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - req_builder = req_builder.header("content-type", "application/json"); - let req_body = azure_core::to_json(work_item_configuration_properties).map_err(update_item::Error::SerializeError)?; - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(update_item::Error::BuildRequestError)?; - let rsp = http_client - .execute_request(req) - .await - .map_err(update_item::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: WorkItemConfiguration = - serde_json::from_slice(rsp_body).map_err(|source| update_item::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - Err(update_item::Error::UnexpectedResponse { - status_code, - body: rsp_body.clone(), - }) - } - } - } - pub mod update_item { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("Unexpected HTTP status code {}", status_code)] - UnexpectedResponse { status_code: http::StatusCode, body: bytes::Bytes }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn delete( - operation_config: &crate::OperationConfig, - resource_group_name: &str, - subscription_id: &str, - resource_name: &str, - work_item_config_id: &str, - ) -> std::result::Result<(), delete::Error> { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/components/{}/WorkItemConfigs/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name, - work_item_config_id - ); - let mut url = url::Url::parse(url_str).map_err(delete::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::DELETE); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(delete::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(delete::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(delete::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => Ok(()), - status_code => { - let rsp_body = rsp.body(); - Err(delete::Error::UnexpectedResponse { - status_code, - body: rsp_body.clone(), - }) - } - } - } - pub mod delete { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("Unexpected HTTP status code {}", status_code)] - UnexpectedResponse { status_code: http::StatusCode, body: bytes::Bytes }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } -} -pub mod favorites { - use crate::models::*; - pub async fn list( - operation_config: &crate::OperationConfig, - resource_group_name: &str, - subscription_id: &str, - resource_name: &str, - favorite_type: Option<&str>, - source_type: Option<&str>, - can_fetch_content: Option, - tags: &Vec<&str>, - ) -> std::result::Result, list::Error> { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/components/{}/favorites", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name - ); - let mut url = url::Url::parse(url_str).map_err(list::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(list::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - if let Some(favorite_type) = favorite_type { - url.query_pairs_mut().append_pair("favoriteType", favorite_type); - } - if let Some(source_type) = source_type { - url.query_pairs_mut().append_pair("sourceType", source_type); - } - if let Some(can_fetch_content) = can_fetch_content { - url.query_pairs_mut() - .append_pair("canFetchContent", can_fetch_content.to_string().as_str()); - } - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(list::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(list::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: Vec = - serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - Err(list::Error::UnexpectedResponse { - status_code, - body: rsp_body.clone(), - }) - } - } - } - pub mod list { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("Unexpected HTTP status code {}", status_code)] - UnexpectedResponse { status_code: http::StatusCode, body: bytes::Bytes }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn get( - operation_config: &crate::OperationConfig, - resource_group_name: &str, - subscription_id: &str, - resource_name: &str, - favorite_id: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/components/{}/favorites/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name, - favorite_id - ); - let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(get::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: ApplicationInsightsComponentFavorite = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - Err(get::Error::UnexpectedResponse { - status_code, - body: rsp_body.clone(), - }) - } - } - } - pub mod get { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("Unexpected HTTP status code {}", status_code)] - UnexpectedResponse { status_code: http::StatusCode, body: bytes::Bytes }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn add( - operation_config: &crate::OperationConfig, - resource_group_name: &str, - subscription_id: &str, - resource_name: &str, - favorite_id: &str, - favorite_properties: &ApplicationInsightsComponentFavorite, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/components/{}/favorites/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name, - favorite_id - ); - let mut url = url::Url::parse(url_str).map_err(add::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::PUT); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(add::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - req_builder = req_builder.header("content-type", "application/json"); - let req_body = azure_core::to_json(favorite_properties).map_err(add::Error::SerializeError)?; - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(add::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(add::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: ApplicationInsightsComponentFavorite = - serde_json::from_slice(rsp_body).map_err(|source| add::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - Err(add::Error::UnexpectedResponse { - status_code, - body: rsp_body.clone(), - }) - } - } - } - pub mod add { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("Unexpected HTTP status code {}", status_code)] - UnexpectedResponse { status_code: http::StatusCode, body: bytes::Bytes }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn update( - operation_config: &crate::OperationConfig, - resource_group_name: &str, - subscription_id: &str, - resource_name: &str, - favorite_id: &str, - favorite_properties: &ApplicationInsightsComponentFavorite, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/components/{}/favorites/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name, - favorite_id - ); - let mut url = url::Url::parse(url_str).map_err(update::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::PATCH); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(update::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - req_builder = req_builder.header("content-type", "application/json"); - let req_body = azure_core::to_json(favorite_properties).map_err(update::Error::SerializeError)?; - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(update::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(update::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: ApplicationInsightsComponentFavorite = - serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - Err(update::Error::UnexpectedResponse { - status_code, - body: rsp_body.clone(), - }) - } - } - } - pub mod update { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("Unexpected HTTP status code {}", status_code)] - UnexpectedResponse { status_code: http::StatusCode, body: bytes::Bytes }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn delete( - operation_config: &crate::OperationConfig, - resource_group_name: &str, - subscription_id: &str, - resource_name: &str, - favorite_id: &str, - ) -> std::result::Result<(), delete::Error> { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/components/{}/favorites/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name, - favorite_id - ); - let mut url = url::Url::parse(url_str).map_err(delete::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::DELETE); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(delete::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(delete::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(delete::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => Ok(()), - status_code => { - let rsp_body = rsp.body(); - Err(delete::Error::UnexpectedResponse { - status_code, - body: rsp_body.clone(), - }) - } - } - } - pub mod delete { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("Unexpected HTTP status code {}", status_code)] - UnexpectedResponse { status_code: http::StatusCode, body: bytes::Bytes }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } -} -pub mod web_test_locations { - use crate::models::*; - pub async fn list( - operation_config: &crate::OperationConfig, - resource_group_name: &str, - subscription_id: &str, - resource_name: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/components/{}/syntheticmonitorlocations", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name - ); - let mut url = url::Url::parse(url_str).map_err(list::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(list::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(list::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(list::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: ApplicationInsightsWebTestLocationsListResult = - serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - Err(list::Error::UnexpectedResponse { - status_code, - body: rsp_body.clone(), - }) - } - } - } - pub mod list { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("Unexpected HTTP status code {}", status_code)] - UnexpectedResponse { status_code: http::StatusCode, body: bytes::Bytes }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } -} -pub mod web_tests { - use crate::models::*; - pub async fn list_by_resource_group( - operation_config: &crate::OperationConfig, - resource_group_name: &str, - subscription_id: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/webtests", - operation_config.base_path(), - subscription_id, - resource_group_name - ); - let mut url = url::Url::parse(url_str).map_err(list_by_resource_group::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(list_by_resource_group::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder - .body(req_body) - .map_err(list_by_resource_group::Error::BuildRequestError)?; - let rsp = http_client - .execute_request(req) - .await - .map_err(list_by_resource_group::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: WebTestListResult = serde_json::from_slice(rsp_body) - .map_err(|source| list_by_resource_group::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - Err(list_by_resource_group::Error::UnexpectedResponse { - status_code, - body: rsp_body.clone(), - }) - } - } - } - pub mod list_by_resource_group { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("Unexpected HTTP status code {}", status_code)] - UnexpectedResponse { status_code: http::StatusCode, body: bytes::Bytes }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn get( - operation_config: &crate::OperationConfig, - resource_group_name: &str, - subscription_id: &str, - web_test_name: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/webtests/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - web_test_name - ); - let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(get::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: WebTest = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - Err(get::Error::UnexpectedResponse { - status_code, - body: rsp_body.clone(), - }) - } - } - } - pub mod get { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("Unexpected HTTP status code {}", status_code)] - UnexpectedResponse { status_code: http::StatusCode, body: bytes::Bytes }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn create_or_update( - operation_config: &crate::OperationConfig, - resource_group_name: &str, - subscription_id: &str, - web_test_name: &str, - web_test_definition: &WebTest, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/webtests/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - web_test_name - ); - let mut url = url::Url::parse(url_str).map_err(create_or_update::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::PUT); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(create_or_update::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - req_builder = req_builder.header("content-type", "application/json"); - let req_body = azure_core::to_json(web_test_definition).map_err(create_or_update::Error::SerializeError)?; - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(create_or_update::Error::BuildRequestError)?; - let rsp = http_client - .execute_request(req) - .await - .map_err(create_or_update::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: WebTest = serde_json::from_slice(rsp_body) - .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - Err(create_or_update::Error::UnexpectedResponse { - status_code, - body: rsp_body.clone(), - }) - } - } - } - pub mod create_or_update { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("Unexpected HTTP status code {}", status_code)] - UnexpectedResponse { status_code: http::StatusCode, body: bytes::Bytes }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn update_tags( - operation_config: &crate::OperationConfig, - resource_group_name: &str, - subscription_id: &str, - web_test_name: &str, - web_test_tags: &TagsResource, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/webtests/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - web_test_name - ); - let mut url = url::Url::parse(url_str).map_err(update_tags::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::PATCH); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(update_tags::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - req_builder = req_builder.header("content-type", "application/json"); - let req_body = azure_core::to_json(web_test_tags).map_err(update_tags::Error::SerializeError)?; - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(update_tags::Error::BuildRequestError)?; - let rsp = http_client - .execute_request(req) - .await - .map_err(update_tags::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: WebTest = - serde_json::from_slice(rsp_body).map_err(|source| update_tags::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - Err(update_tags::Error::UnexpectedResponse { - status_code, - body: rsp_body.clone(), - }) - } - } - } - pub mod update_tags { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("Unexpected HTTP status code {}", status_code)] - UnexpectedResponse { status_code: http::StatusCode, body: bytes::Bytes }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn delete( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - web_test_name: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/webtests/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - web_test_name - ); - let mut url = url::Url::parse(url_str).map_err(delete::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::DELETE); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(delete::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(delete::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(delete::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::NO_CONTENT => Ok(delete::Response::NoContent204), - http::StatusCode::OK => Ok(delete::Response::Ok200), - status_code => { - let rsp_body = rsp.body(); - Err(delete::Error::UnexpectedResponse { - status_code, - body: rsp_body.clone(), - }) - } - } - } - pub mod delete { - use crate::{models, models::*}; - #[derive(Debug)] - pub enum Response { - NoContent204, - Ok200, - } - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("Unexpected HTTP status code {}", status_code)] - UnexpectedResponse { status_code: http::StatusCode, body: bytes::Bytes }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn list( - operation_config: &crate::OperationConfig, - subscription_id: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/providers/Microsoft.Insights/webtests", - operation_config.base_path(), - subscription_id - ); - let mut url = url::Url::parse(url_str).map_err(list::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(list::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(list::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(list::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: WebTestListResult = - serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - Err(list::Error::UnexpectedResponse { - status_code, - body: rsp_body.clone(), - }) - } - } - } - pub mod list { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("Unexpected HTTP status code {}", status_code)] - UnexpectedResponse { status_code: http::StatusCode, body: bytes::Bytes }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn list_by_component( - operation_config: &crate::OperationConfig, - component_name: &str, - resource_group_name: &str, - subscription_id: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/components/{}/webtests", - operation_config.base_path(), - subscription_id, - resource_group_name, - component_name - ); - let mut url = url::Url::parse(url_str).map_err(list_by_component::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(list_by_component::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(list_by_component::Error::BuildRequestError)?; - let rsp = http_client - .execute_request(req) - .await - .map_err(list_by_component::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: WebTestListResult = serde_json::from_slice(rsp_body) - .map_err(|source| list_by_component::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - Err(list_by_component::Error::UnexpectedResponse { - status_code, - body: rsp_body.clone(), - }) - } - } - } - pub mod list_by_component { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("Unexpected HTTP status code {}", status_code)] - UnexpectedResponse { status_code: http::StatusCode, body: bytes::Bytes }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } -} -pub mod analytics_items { - use crate::models::*; - pub async fn list( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - resource_name: &str, - scope_path: &str, - scope: Option<&str>, - type_: Option<&str>, - include_content: Option, - ) -> std::result::Result, list::Error> { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/microsoft.insights/components/{}/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name, - scope_path - ); - let mut url = url::Url::parse(url_str).map_err(list::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(list::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - if let Some(scope) = scope { - url.query_pairs_mut().append_pair("scope", scope); - } - if let Some(type_) = type_ { - url.query_pairs_mut().append_pair("type", type_); - } - if let Some(include_content) = include_content { - url.query_pairs_mut() - .append_pair("includeContent", include_content.to_string().as_str()); - } - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(list::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(list::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: Vec = - serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - Err(list::Error::UnexpectedResponse { - status_code, - body: rsp_body.clone(), - }) - } - } - } - pub mod list { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("Unexpected HTTP status code {}", status_code)] - UnexpectedResponse { status_code: http::StatusCode, body: bytes::Bytes }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn get( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - resource_name: &str, - scope_path: &str, - id: Option<&str>, - name: Option<&str>, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/microsoft.insights/components/{}/{}/item", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name, - scope_path - ); - let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(get::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - if let Some(id) = id { - url.query_pairs_mut().append_pair("id", id); - } - if let Some(name) = name { - url.query_pairs_mut().append_pair("name", name); - } - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: ApplicationInsightsComponentAnalyticsItem = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - Err(get::Error::UnexpectedResponse { - status_code, - body: rsp_body.clone(), - }) - } - } - } - pub mod get { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("Unexpected HTTP status code {}", status_code)] - UnexpectedResponse { status_code: http::StatusCode, body: bytes::Bytes }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn put( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - resource_name: &str, - scope_path: &str, - override_item: Option, - item_properties: &ApplicationInsightsComponentAnalyticsItem, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/microsoft.insights/components/{}/{}/item", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name, - scope_path - ); - let mut url = url::Url::parse(url_str).map_err(put::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::PUT); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(put::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - if let Some(override_item) = override_item { - url.query_pairs_mut() - .append_pair("overrideItem", override_item.to_string().as_str()); - } - req_builder = req_builder.header("content-type", "application/json"); - let req_body = azure_core::to_json(item_properties).map_err(put::Error::SerializeError)?; - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(put::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(put::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: ApplicationInsightsComponentAnalyticsItem = - serde_json::from_slice(rsp_body).map_err(|source| put::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - Err(put::Error::UnexpectedResponse { - status_code, - body: rsp_body.clone(), - }) - } - } - } - pub mod put { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("Unexpected HTTP status code {}", status_code)] - UnexpectedResponse { status_code: http::StatusCode, body: bytes::Bytes }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn delete( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - resource_name: &str, - scope_path: &str, - id: Option<&str>, - name: Option<&str>, - ) -> std::result::Result<(), delete::Error> { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/microsoft.insights/components/{}/{}/item", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name, - scope_path - ); - let mut url = url::Url::parse(url_str).map_err(delete::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::DELETE); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(delete::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - if let Some(id) = id { - url.query_pairs_mut().append_pair("id", id); - } - if let Some(name) = name { - url.query_pairs_mut().append_pair("name", name); - } - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(delete::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(delete::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => Ok(()), - status_code => { - let rsp_body = rsp.body(); - Err(delete::Error::UnexpectedResponse { - status_code, - body: rsp_body.clone(), - }) - } - } - } - pub mod delete { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("Unexpected HTTP status code {}", status_code)] - UnexpectedResponse { status_code: http::StatusCode, body: bytes::Bytes }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } -} -pub mod workbooks { - use crate::models::*; - pub async fn list_by_resource_group( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - category: &str, - tags: &Vec<&str>, - can_fetch_content: Option, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/microsoft.insights/workbooks", - operation_config.base_path(), - subscription_id, - resource_group_name - ); - let mut url = url::Url::parse(url_str).map_err(list_by_resource_group::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(list_by_resource_group::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - url.query_pairs_mut().append_pair("category", category); - if let Some(can_fetch_content) = can_fetch_content { - url.query_pairs_mut() - .append_pair("canFetchContent", can_fetch_content.to_string().as_str()); - } - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder - .body(req_body) - .map_err(list_by_resource_group::Error::BuildRequestError)?; - let rsp = http_client - .execute_request(req) - .await - .map_err(list_by_resource_group::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: WorkbooksListResult = serde_json::from_slice(rsp_body) - .map_err(|source| list_by_resource_group::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: WorkbookError = serde_json::from_slice(rsp_body) - .map_err(|source| list_by_resource_group::Error::DeserializeError(source, rsp_body.clone()))?; - Err(list_by_resource_group::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod list_by_resource_group { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::WorkbookError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn get( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - resource_name: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/microsoft.insights/workbooks/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name - ); - let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(get::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: Workbook = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: WorkbookError = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Err(get::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod get { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::WorkbookError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn create_or_update( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - resource_name: &str, - workbook_properties: &Workbook, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/microsoft.insights/workbooks/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name - ); - let mut url = url::Url::parse(url_str).map_err(create_or_update::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::PUT); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(create_or_update::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - req_builder = req_builder.header("content-type", "application/json"); - let req_body = azure_core::to_json(workbook_properties).map_err(create_or_update::Error::SerializeError)?; - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(create_or_update::Error::BuildRequestError)?; - let rsp = http_client - .execute_request(req) - .await - .map_err(create_or_update::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: Workbook = serde_json::from_slice(rsp_body) - .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(create_or_update::Response::Ok200(rsp_value)) - } - http::StatusCode::CREATED => { - let rsp_body = rsp.body(); - let rsp_value: Workbook = serde_json::from_slice(rsp_body) - .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(create_or_update::Response::Created201(rsp_value)) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: WorkbookError = serde_json::from_slice(rsp_body) - .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; - Err(create_or_update::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod create_or_update { - use crate::{models, models::*}; - #[derive(Debug)] - pub enum Response { - Ok200(Workbook), - Created201(Workbook), - } - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::WorkbookError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn update( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - resource_name: &str, - workbook_properties: &Workbook, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/microsoft.insights/workbooks/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name - ); - let mut url = url::Url::parse(url_str).map_err(update::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::PATCH); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(update::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - req_builder = req_builder.header("content-type", "application/json"); - let req_body = azure_core::to_json(workbook_properties).map_err(update::Error::SerializeError)?; - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(update::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(update::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: Workbook = - serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: WorkbookError = - serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; - Err(update::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod update { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::WorkbookError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn delete( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - resource_name: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/microsoft.insights/workbooks/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name - ); - let mut url = url::Url::parse(url_str).map_err(delete::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::DELETE); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(delete::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(delete::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(delete::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::CREATED => Ok(delete::Response::Created201), - http::StatusCode::NO_CONTENT => Ok(delete::Response::NoContent204), - status_code => { - let rsp_body = rsp.body(); - let rsp_value: WorkbookError = - serde_json::from_slice(rsp_body).map_err(|source| delete::Error::DeserializeError(source, rsp_body.clone()))?; - Err(delete::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod delete { - use crate::{models, models::*}; - #[derive(Debug)] - pub enum Response { - Created201, - NoContent204, - } - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::WorkbookError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } -} -pub mod my_workbooks { - use crate::models::*; - pub async fn list_by_resource_group( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - category: &str, - tags: &Vec<&str>, - can_fetch_content: Option, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/myWorkbooks", - operation_config.base_path(), - subscription_id, - resource_group_name - ); - let mut url = url::Url::parse(url_str).map_err(list_by_resource_group::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(list_by_resource_group::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - url.query_pairs_mut().append_pair("category", category); - if let Some(can_fetch_content) = can_fetch_content { - url.query_pairs_mut() - .append_pair("canFetchContent", can_fetch_content.to_string().as_str()); - } - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder - .body(req_body) - .map_err(list_by_resource_group::Error::BuildRequestError)?; - let rsp = http_client - .execute_request(req) - .await - .map_err(list_by_resource_group::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: MyWorkbooksListResult = serde_json::from_slice(rsp_body) - .map_err(|source| list_by_resource_group::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: MyWorkbookError = serde_json::from_slice(rsp_body) - .map_err(|source| list_by_resource_group::Error::DeserializeError(source, rsp_body.clone()))?; - Err(list_by_resource_group::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod list_by_resource_group { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::MyWorkbookError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn list_by_subscription( - operation_config: &crate::OperationConfig, - subscription_id: &str, - category: &str, - tags: &Vec<&str>, - can_fetch_content: Option, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/providers/Microsoft.Insights/myWorkbooks", - operation_config.base_path(), - subscription_id - ); - let mut url = url::Url::parse(url_str).map_err(list_by_subscription::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(list_by_subscription::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - url.query_pairs_mut().append_pair("category", category); - if let Some(can_fetch_content) = can_fetch_content { - url.query_pairs_mut() - .append_pair("canFetchContent", can_fetch_content.to_string().as_str()); - } - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(list_by_subscription::Error::BuildRequestError)?; - let rsp = http_client - .execute_request(req) - .await - .map_err(list_by_subscription::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: MyWorkbooksListResult = serde_json::from_slice(rsp_body) - .map_err(|source| list_by_subscription::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: MyWorkbookError = serde_json::from_slice(rsp_body) - .map_err(|source| list_by_subscription::Error::DeserializeError(source, rsp_body.clone()))?; - Err(list_by_subscription::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod list_by_subscription { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::MyWorkbookError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn get( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - resource_name: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/myWorkbooks/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name - ); - let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(get::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: MyWorkbook = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: MyWorkbookError = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Err(get::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod get { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::MyWorkbookError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn create_or_update( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - resource_name: &str, - workbook_properties: &MyWorkbook, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/myWorkbooks/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name - ); - let mut url = url::Url::parse(url_str).map_err(create_or_update::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::PUT); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(create_or_update::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - req_builder = req_builder.header("content-type", "application/json"); - let req_body = azure_core::to_json(workbook_properties).map_err(create_or_update::Error::SerializeError)?; - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(create_or_update::Error::BuildRequestError)?; - let rsp = http_client - .execute_request(req) - .await - .map_err(create_or_update::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: MyWorkbook = serde_json::from_slice(rsp_body) - .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(create_or_update::Response::Ok200(rsp_value)) - } - http::StatusCode::CREATED => { - let rsp_body = rsp.body(); - let rsp_value: MyWorkbook = serde_json::from_slice(rsp_body) - .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(create_or_update::Response::Created201(rsp_value)) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: MyWorkbookError = serde_json::from_slice(rsp_body) - .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; - Err(create_or_update::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod create_or_update { - use crate::{models, models::*}; - #[derive(Debug)] - pub enum Response { - Ok200(MyWorkbook), - Created201(MyWorkbook), - } - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::MyWorkbookError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn update( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - resource_name: &str, - workbook_properties: &MyWorkbook, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/myWorkbooks/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name - ); - let mut url = url::Url::parse(url_str).map_err(update::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::PATCH); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(update::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - req_builder = req_builder.header("content-type", "application/json"); - let req_body = azure_core::to_json(workbook_properties).map_err(update::Error::SerializeError)?; - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(update::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(update::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: MyWorkbook = - serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: MyWorkbookError = - serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; - Err(update::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod update { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::MyWorkbookError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn delete( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - resource_name: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/myWorkbooks/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name - ); - let mut url = url::Url::parse(url_str).map_err(delete::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::DELETE); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(delete::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(delete::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(delete::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::CREATED => Ok(delete::Response::Created201), - http::StatusCode::NO_CONTENT => Ok(delete::Response::NoContent204), - status_code => { - let rsp_body = rsp.body(); - let rsp_value: MyWorkbookError = - serde_json::from_slice(rsp_body).map_err(|source| delete::Error::DeserializeError(source, rsp_body.clone()))?; - Err(delete::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod delete { - use crate::{models, models::*}; - #[derive(Debug)] - pub enum Response { - Created201, - NoContent204, - } - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::MyWorkbookError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } -} -pub mod components { - use crate::models::*; - pub async fn list( - operation_config: &crate::OperationConfig, - subscription_id: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/providers/Microsoft.Insights/components", - operation_config.base_path(), - subscription_id - ); - let mut url = url::Url::parse(url_str).map_err(list::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(list::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(list::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(list::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: ApplicationInsightsComponentListResult = - serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - Err(list::Error::UnexpectedResponse { - status_code, - body: rsp_body.clone(), - }) - } - } - } - pub mod list { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("Unexpected HTTP status code {}", status_code)] - UnexpectedResponse { status_code: http::StatusCode, body: bytes::Bytes }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn list_by_resource_group( - operation_config: &crate::OperationConfig, - resource_group_name: &str, - subscription_id: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/components", - operation_config.base_path(), - subscription_id, - resource_group_name - ); - let mut url = url::Url::parse(url_str).map_err(list_by_resource_group::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(list_by_resource_group::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder - .body(req_body) - .map_err(list_by_resource_group::Error::BuildRequestError)?; - let rsp = http_client - .execute_request(req) - .await - .map_err(list_by_resource_group::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: ApplicationInsightsComponentListResult = serde_json::from_slice(rsp_body) - .map_err(|source| list_by_resource_group::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - Err(list_by_resource_group::Error::UnexpectedResponse { - status_code, - body: rsp_body.clone(), - }) - } - } - } - pub mod list_by_resource_group { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("Unexpected HTTP status code {}", status_code)] - UnexpectedResponse { status_code: http::StatusCode, body: bytes::Bytes }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn get( - operation_config: &crate::OperationConfig, - resource_group_name: &str, - subscription_id: &str, - resource_name: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/components/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name - ); - let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(get::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: ApplicationInsightsComponent = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - Err(get::Error::UnexpectedResponse { - status_code, - body: rsp_body.clone(), - }) - } - } - } - pub mod get { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("Unexpected HTTP status code {}", status_code)] - UnexpectedResponse { status_code: http::StatusCode, body: bytes::Bytes }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn create_or_update( - operation_config: &crate::OperationConfig, - resource_group_name: &str, - subscription_id: &str, - resource_name: &str, - insight_properties: &ApplicationInsightsComponent, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/components/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name - ); - let mut url = url::Url::parse(url_str).map_err(create_or_update::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::PUT); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(create_or_update::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - req_builder = req_builder.header("content-type", "application/json"); - let req_body = azure_core::to_json(insight_properties).map_err(create_or_update::Error::SerializeError)?; - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(create_or_update::Error::BuildRequestError)?; - let rsp = http_client - .execute_request(req) - .await - .map_err(create_or_update::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: ApplicationInsightsComponent = serde_json::from_slice(rsp_body) - .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(create_or_update::Response::Ok200(rsp_value)) - } - http::StatusCode::CREATED => { - let rsp_body = rsp.body(); - let rsp_value: ApplicationInsightsComponent = serde_json::from_slice(rsp_body) - .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(create_or_update::Response::Created201(rsp_value)) - } - status_code => { - let rsp_body = rsp.body(); - Err(create_or_update::Error::UnexpectedResponse { - status_code, - body: rsp_body.clone(), - }) - } - } - } - pub mod create_or_update { - use crate::{models, models::*}; - #[derive(Debug)] - pub enum Response { - Ok200(ApplicationInsightsComponent), - Created201(ApplicationInsightsComponent), - } - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("Unexpected HTTP status code {}", status_code)] - UnexpectedResponse { status_code: http::StatusCode, body: bytes::Bytes }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn update_tags( - operation_config: &crate::OperationConfig, - resource_group_name: &str, - subscription_id: &str, - resource_name: &str, - component_tags: &TagsResource, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/components/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name - ); - let mut url = url::Url::parse(url_str).map_err(update_tags::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::PATCH); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(update_tags::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - req_builder = req_builder.header("content-type", "application/json"); - let req_body = azure_core::to_json(component_tags).map_err(update_tags::Error::SerializeError)?; - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(update_tags::Error::BuildRequestError)?; - let rsp = http_client - .execute_request(req) - .await - .map_err(update_tags::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: ApplicationInsightsComponent = - serde_json::from_slice(rsp_body).map_err(|source| update_tags::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(update_tags::Response::Ok200(rsp_value)) - } - http::StatusCode::CREATED => { - let rsp_body = rsp.body(); - let rsp_value: ApplicationInsightsComponent = - serde_json::from_slice(rsp_body).map_err(|source| update_tags::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(update_tags::Response::Created201(rsp_value)) - } - status_code => { - let rsp_body = rsp.body(); - Err(update_tags::Error::UnexpectedResponse { - status_code, - body: rsp_body.clone(), - }) - } - } - } - pub mod update_tags { - use crate::{models, models::*}; - #[derive(Debug)] - pub enum Response { - Ok200(ApplicationInsightsComponent), - Created201(ApplicationInsightsComponent), - } - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("Unexpected HTTP status code {}", status_code)] - UnexpectedResponse { status_code: http::StatusCode, body: bytes::Bytes }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn delete( - operation_config: &crate::OperationConfig, - resource_group_name: &str, - subscription_id: &str, - resource_name: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/components/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name - ); - let mut url = url::Url::parse(url_str).map_err(delete::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::DELETE); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(delete::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(delete::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(delete::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => Ok(delete::Response::Ok200), - http::StatusCode::NO_CONTENT => Ok(delete::Response::NoContent204), - status_code => { - let rsp_body = rsp.body(); - Err(delete::Error::UnexpectedResponse { - status_code, - body: rsp_body.clone(), - }) - } - } - } - pub mod delete { - use crate::{models, models::*}; - #[derive(Debug)] - pub enum Response { - Ok200, - NoContent204, - } - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("Unexpected HTTP status code {}", status_code)] - UnexpectedResponse { status_code: http::StatusCode, body: bytes::Bytes }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn purge( - operation_config: &crate::OperationConfig, - resource_group_name: &str, - subscription_id: &str, - resource_name: &str, - body: &ComponentPurgeBody, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/components/{}/purge", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name - ); - let mut url = url::Url::parse(url_str).map_err(purge::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::POST); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(purge::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - req_builder = req_builder.header("content-type", "application/json"); - let req_body = azure_core::to_json(body).map_err(purge::Error::SerializeError)?; - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(purge::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(purge::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::ACCEPTED => { - let rsp_body = rsp.body(); - let rsp_value: ComponentPurgeResponse = - serde_json::from_slice(rsp_body).map_err(|source| purge::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - Err(purge::Error::UnexpectedResponse { - status_code, - body: rsp_body.clone(), - }) - } - } - } - pub mod purge { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("Unexpected HTTP status code {}", status_code)] - UnexpectedResponse { status_code: http::StatusCode, body: bytes::Bytes }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn get_purge_status( - operation_config: &crate::OperationConfig, - resource_group_name: &str, - subscription_id: &str, - resource_name: &str, - purge_id: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/components/{}/operations/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name, - purge_id - ); - let mut url = url::Url::parse(url_str).map_err(get_purge_status::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(get_purge_status::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(get_purge_status::Error::BuildRequestError)?; - let rsp = http_client - .execute_request(req) - .await - .map_err(get_purge_status::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: ComponentPurgeStatusResponse = serde_json::from_slice(rsp_body) - .map_err(|source| get_purge_status::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - Err(get_purge_status::Error::UnexpectedResponse { - status_code, - body: rsp_body.clone(), - }) - } - } - } - pub mod get_purge_status { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("Unexpected HTTP status code {}", status_code)] - UnexpectedResponse { status_code: http::StatusCode, body: bytes::Bytes }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } -} -pub mod component_linked_storage_accounts { - use crate::models::*; - pub async fn get( - operation_config: &crate::OperationConfig, - resource_group_name: &str, - subscription_id: &str, - resource_name: &str, - storage_type: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/microsoft.insights/components/{}/linkedStorageAccounts/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name, - storage_type - ); - let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(get::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: ComponentLinkedStorageAccounts = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: ErrorResponseLinkedStorage = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Err(get::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod get { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::ErrorResponseLinkedStorage, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn create_and_update( - operation_config: &crate::OperationConfig, - resource_group_name: &str, - subscription_id: &str, - resource_name: &str, - storage_type: &str, - linked_storage_accounts_properties: &ComponentLinkedStorageAccounts, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/microsoft.insights/components/{}/linkedStorageAccounts/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name, - storage_type - ); - let mut url = url::Url::parse(url_str).map_err(create_and_update::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::PUT); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(create_and_update::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - req_builder = req_builder.header("content-type", "application/json"); - let req_body = azure_core::to_json(linked_storage_accounts_properties).map_err(create_and_update::Error::SerializeError)?; - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(create_and_update::Error::BuildRequestError)?; - let rsp = http_client - .execute_request(req) - .await - .map_err(create_and_update::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: ComponentLinkedStorageAccounts = serde_json::from_slice(rsp_body) - .map_err(|source| create_and_update::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: ErrorResponseLinkedStorage = serde_json::from_slice(rsp_body) - .map_err(|source| create_and_update::Error::DeserializeError(source, rsp_body.clone()))?; - Err(create_and_update::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod create_and_update { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::ErrorResponseLinkedStorage, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn update( - operation_config: &crate::OperationConfig, - resource_group_name: &str, - subscription_id: &str, - resource_name: &str, - storage_type: &str, - linked_storage_accounts_properties: &ComponentLinkedStorageAccountsPatch, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/microsoft.insights/components/{}/linkedStorageAccounts/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name, - storage_type - ); - let mut url = url::Url::parse(url_str).map_err(update::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::PATCH); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(update::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - req_builder = req_builder.header("content-type", "application/json"); - let req_body = azure_core::to_json(linked_storage_accounts_properties).map_err(update::Error::SerializeError)?; - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(update::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(update::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: ComponentLinkedStorageAccounts = - serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: ErrorResponseLinkedStorage = - serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; - Err(update::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod update { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::ErrorResponseLinkedStorage, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn delete( - operation_config: &crate::OperationConfig, - resource_group_name: &str, - subscription_id: &str, - resource_name: &str, - storage_type: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/microsoft.insights/components/{}/linkedStorageAccounts/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - resource_name, - storage_type - ); - let mut url = url::Url::parse(url_str).map_err(delete::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::DELETE); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(delete::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(delete::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(delete::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => Ok(delete::Response::Ok200), - http::StatusCode::NO_CONTENT => Ok(delete::Response::NoContent204), - status_code => { - let rsp_body = rsp.body(); - let rsp_value: ErrorResponseLinkedStorage = - serde_json::from_slice(rsp_body).map_err(|source| delete::Error::DeserializeError(source, rsp_body.clone()))?; - Err(delete::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod delete { - use crate::{models, models::*}; - #[derive(Debug)] - pub enum Response { - Ok200, - NoContent204, - } - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::ErrorResponseLinkedStorage, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } -} -pub mod live_token { - use crate::models::*; - pub async fn get(operation_config: &crate::OperationConfig, resource_uri: &str) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/{}/providers/microsoft.insights/generatelivetoken", - operation_config.base_path(), - resource_uri - ); - let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::POST); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(get::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.header(http::header::CONTENT_LENGTH, 0); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: LiveTokenResponse = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: ErrorResponseLinkedStorage = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Err(get::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod get { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::ErrorResponseLinkedStorage, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } -} diff --git a/services/mgmt/applicationinsights/src/package_preview_2020_06_only/operations.rs b/services/mgmt/applicationinsights/src/package_preview_2020_06_only/operations.rs index d453fab91c..008c01a9c0 100644 --- a/services/mgmt/applicationinsights/src/package_preview_2020_06_only/operations.rs +++ b/services/mgmt/applicationinsights/src/package_preview_2020_06_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/microsoft.insights/operations", operation_config.base_path(),); @@ -34,7 +34,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -55,7 +55,7 @@ pub mod operations { } } pub mod live_token { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig, resource_uri: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -98,7 +98,7 @@ pub mod live_token { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/applicationinsights/src/package_preview_2020_10_only/operations.rs b/services/mgmt/applicationinsights/src/package_preview_2020_10_only/operations.rs index e1bdfacd2e..bf849c4167 100644 --- a/services/mgmt/applicationinsights/src/package_preview_2020_10_only/operations.rs +++ b/services/mgmt/applicationinsights/src/package_preview_2020_10_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Insights/operations", operation_config.base_path(),); @@ -34,7 +34,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -55,7 +55,7 @@ pub mod operations { } } pub mod web_tests { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -105,7 +105,7 @@ pub mod web_tests { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -170,7 +170,7 @@ pub mod web_tests { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -240,7 +240,7 @@ pub mod web_tests { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -310,7 +310,7 @@ pub mod web_tests { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -371,7 +371,7 @@ pub mod web_tests { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -437,7 +437,7 @@ pub mod web_tests { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -505,7 +505,7 @@ pub mod web_tests { } } pub mod list_by_component { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/applicationinsights/src/package_preview_2021_03_only/operations.rs b/services/mgmt/applicationinsights/src/package_preview_2021_03_only/operations.rs index eeb37eacc6..c69a2f3e0f 100644 --- a/services/mgmt/applicationinsights/src/package_preview_2021_03_only/operations.rs +++ b/services/mgmt/applicationinsights/src/package_preview_2021_03_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod diagnostic_service_token { - use crate::models::*; + use super::{models, models::*}; pub async fn get_read_only( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -53,7 +53,7 @@ pub mod diagnostic_service_token { } } pub mod get_read_only { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -123,7 +123,7 @@ pub mod diagnostic_service_token { } } pub mod get_read_write { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/appplatform/Cargo.toml b/services/mgmt/appplatform/Cargo.toml index 44315cc1ca..f2160bfae2 100644 --- a/services/mgmt/appplatform/Cargo.toml +++ b/services/mgmt/appplatform/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2020-07"] +no-default-version = [] "package-preview-2021-06" = [] "package-preview-2020-11" = [] "package-2020-07" = [] diff --git a/services/mgmt/appplatform/src/lib.rs b/services/mgmt/appplatform/src/lib.rs index df1209e4aa..6a51e78daf 100644 --- a/services/mgmt/appplatform/src/lib.rs +++ b/services/mgmt/appplatform/src/lib.rs @@ -1,21 +1,29 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-preview-2021-06")] -mod package_preview_2021_06; -#[cfg(feature = "package-preview-2021-06")] +pub mod package_preview_2021_06; +#[cfg(all(feature = "package-preview-2021-06", not(feature = "no-default-version")))] pub use package_preview_2021_06::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2020-11")] -mod package_preview_2020_11; -#[cfg(feature = "package-preview-2020-11")] +pub mod package_preview_2020_11; +#[cfg(all(feature = "package-preview-2020-11", not(feature = "no-default-version")))] pub use package_preview_2020_11::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-07")] -mod package_2020_07; -#[cfg(feature = "package-2020-07")] +pub mod package_2020_07; +#[cfg(all(feature = "package-2020-07", not(feature = "no-default-version")))] pub use package_2020_07::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-05-01-preview")] -mod package_2019_05_01_preview; +pub mod package_2019_05_01_preview; use azure_core::setters; -#[cfg(feature = "package-2019-05-01-preview")] +#[cfg(all(feature = "package-2019-05-01-preview", not(feature = "no-default-version")))] pub use package_2019_05_01_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -39,7 +47,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/appplatform/src/package_2019_05_01_preview/operations.rs b/services/mgmt/appplatform/src/package_2019_05_01_preview/operations.rs index a6ea9ddc5b..4f397fef1c 100644 --- a/services/mgmt/appplatform/src/package_2019_05_01_preview/operations.rs +++ b/services/mgmt/appplatform/src/package_2019_05_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ServiceResource), @@ -217,7 +217,7 @@ pub mod services { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServiceResource), @@ -288,7 +288,7 @@ pub mod services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -367,7 +367,7 @@ pub mod services { } } pub mod list_test_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -442,7 +442,7 @@ pub mod services { } } pub mod regenerate_test_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -513,7 +513,7 @@ pub mod services { } } pub mod disable_test_endpoint { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -587,7 +587,7 @@ pub mod services { } } pub mod enable_test_endpoint { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -662,7 +662,7 @@ pub mod services { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -731,7 +731,7 @@ pub mod services { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -799,7 +799,7 @@ pub mod services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -823,7 +823,7 @@ pub mod services { } } pub mod apps { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -878,7 +878,7 @@ pub mod apps { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -961,7 +961,7 @@ pub mod apps { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AppResource), @@ -1046,7 +1046,7 @@ pub mod apps { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AppResource), @@ -1119,7 +1119,7 @@ pub mod apps { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1194,7 +1194,7 @@ pub mod apps { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1272,7 +1272,7 @@ pub mod apps { } } pub mod get_resource_upload_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1296,7 +1296,7 @@ pub mod apps { } } pub mod bindings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1349,7 +1349,7 @@ pub mod bindings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1428,7 +1428,7 @@ pub mod bindings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1504,7 +1504,7 @@ pub mod bindings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1574,7 +1574,7 @@ pub mod bindings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1651,7 +1651,7 @@ pub mod bindings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1675,7 +1675,7 @@ pub mod bindings { } } pub mod certificates { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1726,7 +1726,7 @@ pub mod certificates { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1803,7 +1803,7 @@ pub mod certificates { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1871,7 +1871,7 @@ pub mod certificates { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1946,7 +1946,7 @@ pub mod certificates { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1970,7 +1970,7 @@ pub mod certificates { } } pub mod custom_domains { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2023,7 +2023,7 @@ pub mod custom_domains { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2102,7 +2102,7 @@ pub mod custom_domains { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2178,7 +2178,7 @@ pub mod custom_domains { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2248,7 +2248,7 @@ pub mod custom_domains { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2325,7 +2325,7 @@ pub mod custom_domains { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2402,7 +2402,7 @@ pub mod custom_domains { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2426,7 +2426,7 @@ pub mod custom_domains { } } pub mod deployments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2479,7 +2479,7 @@ pub mod deployments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2570,7 +2570,7 @@ pub mod deployments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DeploymentResource), @@ -2658,7 +2658,7 @@ pub mod deployments { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(DeploymentResource), @@ -2733,7 +2733,7 @@ pub mod deployments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2814,7 +2814,7 @@ pub mod deployments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2893,7 +2893,7 @@ pub mod deployments { } } pub mod list_cluster_all_deployments { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2964,7 +2964,7 @@ pub mod deployments { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3040,7 +3040,7 @@ pub mod deployments { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3119,7 +3119,7 @@ pub mod deployments { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3203,7 +3203,7 @@ pub mod deployments { } } pub mod get_log_file_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogFileUrlResponse), @@ -3232,7 +3232,7 @@ pub mod deployments { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.AppPlatform/operations", operation_config.base_path(),); @@ -3270,7 +3270,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3294,7 +3294,7 @@ pub mod operations { } } pub mod runtime_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_runtime_versions( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -3339,7 +3339,7 @@ pub mod runtime_versions { } } pub mod list_runtime_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3363,7 +3363,7 @@ pub mod runtime_versions { } } pub mod sku { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3408,7 +3408,7 @@ pub mod sku { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/appplatform/src/package_2020_07/operations.rs b/services/mgmt/appplatform/src/package_2020_07/operations.rs index 189e7c1dca..c8ddd61a89 100644 --- a/services/mgmt/appplatform/src/package_2020_07/operations.rs +++ b/services/mgmt/appplatform/src/package_2020_07/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -140,7 +140,7 @@ pub mod services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ServiceResource), @@ -224,7 +224,7 @@ pub mod services { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServiceResource), @@ -295,7 +295,7 @@ pub mod services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -374,7 +374,7 @@ pub mod services { } } pub mod list_test_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -449,7 +449,7 @@ pub mod services { } } pub mod regenerate_test_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -520,7 +520,7 @@ pub mod services { } } pub mod disable_test_endpoint { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -594,7 +594,7 @@ pub mod services { } } pub mod enable_test_endpoint { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -669,7 +669,7 @@ pub mod services { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -738,7 +738,7 @@ pub mod services { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -806,7 +806,7 @@ pub mod services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -830,7 +830,7 @@ pub mod services { } } pub mod config_servers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -879,7 +879,7 @@ pub mod config_servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -960,7 +960,7 @@ pub mod config_servers { } } pub mod update_put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConfigServerResource), @@ -1046,7 +1046,7 @@ pub mod config_servers { } } pub mod update_patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConfigServerResource), @@ -1132,7 +1132,7 @@ pub mod config_servers { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConfigServerSettingsValidateResult), @@ -1161,7 +1161,7 @@ pub mod config_servers { } } pub mod monitoring_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1210,7 +1210,7 @@ pub mod monitoring_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1291,7 +1291,7 @@ pub mod monitoring_settings { } } pub mod update_put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MonitoringSettingResource), @@ -1377,7 +1377,7 @@ pub mod monitoring_settings { } } pub mod update_patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MonitoringSettingResource), @@ -1406,7 +1406,7 @@ pub mod monitoring_settings { } } pub mod apps { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1461,7 +1461,7 @@ pub mod apps { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1550,7 +1550,7 @@ pub mod apps { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AppResource), @@ -1636,7 +1636,7 @@ pub mod apps { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AppResource), @@ -1710,7 +1710,7 @@ pub mod apps { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1786,7 +1786,7 @@ pub mod apps { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1864,7 +1864,7 @@ pub mod apps { } } pub mod get_resource_upload_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1941,7 +1941,7 @@ pub mod apps { } } pub mod validate_domain { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1965,7 +1965,7 @@ pub mod apps { } } pub mod bindings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2018,7 +2018,7 @@ pub mod bindings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2109,7 +2109,7 @@ pub mod bindings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BindingResource), @@ -2197,7 +2197,7 @@ pub mod bindings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BindingResource), @@ -2273,7 +2273,7 @@ pub mod bindings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2351,7 +2351,7 @@ pub mod bindings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2375,7 +2375,7 @@ pub mod bindings { } } pub mod certificates { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2426,7 +2426,7 @@ pub mod certificates { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2515,7 +2515,7 @@ pub mod certificates { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CertificateResource), @@ -2590,7 +2590,7 @@ pub mod certificates { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2666,7 +2666,7 @@ pub mod certificates { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2690,7 +2690,7 @@ pub mod certificates { } } pub mod custom_domains { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2743,7 +2743,7 @@ pub mod custom_domains { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2834,7 +2834,7 @@ pub mod custom_domains { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CustomDomainResource), @@ -2922,7 +2922,7 @@ pub mod custom_domains { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CustomDomainResource), @@ -2998,7 +2998,7 @@ pub mod custom_domains { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3076,7 +3076,7 @@ pub mod custom_domains { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3100,7 +3100,7 @@ pub mod custom_domains { } } pub mod deployments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3153,7 +3153,7 @@ pub mod deployments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3244,7 +3244,7 @@ pub mod deployments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DeploymentResource), @@ -3332,7 +3332,7 @@ pub mod deployments { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(DeploymentResource), @@ -3408,7 +3408,7 @@ pub mod deployments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3490,7 +3490,7 @@ pub mod deployments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3567,7 +3567,7 @@ pub mod deployments { } } pub mod list_for_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3638,7 +3638,7 @@ pub mod deployments { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3714,7 +3714,7 @@ pub mod deployments { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3793,7 +3793,7 @@ pub mod deployments { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3877,7 +3877,7 @@ pub mod deployments { } } pub mod get_log_file_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogFileUrlResponse), @@ -3906,7 +3906,7 @@ pub mod deployments { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.AppPlatform/operations", operation_config.base_path(),); @@ -3944,7 +3944,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3968,7 +3968,7 @@ pub mod operations { } } pub mod runtime_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_runtime_versions( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -4013,7 +4013,7 @@ pub mod runtime_versions { } } pub mod list_runtime_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4037,7 +4037,7 @@ pub mod runtime_versions { } } pub mod skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4082,7 +4082,7 @@ pub mod skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/appplatform/src/package_preview_2020_11/operations.rs b/services/mgmt/appplatform/src/package_preview_2020_11/operations.rs index 189e7c1dca..c8ddd61a89 100644 --- a/services/mgmt/appplatform/src/package_preview_2020_11/operations.rs +++ b/services/mgmt/appplatform/src/package_preview_2020_11/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -140,7 +140,7 @@ pub mod services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ServiceResource), @@ -224,7 +224,7 @@ pub mod services { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServiceResource), @@ -295,7 +295,7 @@ pub mod services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -374,7 +374,7 @@ pub mod services { } } pub mod list_test_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -449,7 +449,7 @@ pub mod services { } } pub mod regenerate_test_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -520,7 +520,7 @@ pub mod services { } } pub mod disable_test_endpoint { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -594,7 +594,7 @@ pub mod services { } } pub mod enable_test_endpoint { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -669,7 +669,7 @@ pub mod services { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -738,7 +738,7 @@ pub mod services { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -806,7 +806,7 @@ pub mod services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -830,7 +830,7 @@ pub mod services { } } pub mod config_servers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -879,7 +879,7 @@ pub mod config_servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -960,7 +960,7 @@ pub mod config_servers { } } pub mod update_put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConfigServerResource), @@ -1046,7 +1046,7 @@ pub mod config_servers { } } pub mod update_patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConfigServerResource), @@ -1132,7 +1132,7 @@ pub mod config_servers { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConfigServerSettingsValidateResult), @@ -1161,7 +1161,7 @@ pub mod config_servers { } } pub mod monitoring_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1210,7 +1210,7 @@ pub mod monitoring_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1291,7 +1291,7 @@ pub mod monitoring_settings { } } pub mod update_put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MonitoringSettingResource), @@ -1377,7 +1377,7 @@ pub mod monitoring_settings { } } pub mod update_patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MonitoringSettingResource), @@ -1406,7 +1406,7 @@ pub mod monitoring_settings { } } pub mod apps { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1461,7 +1461,7 @@ pub mod apps { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1550,7 +1550,7 @@ pub mod apps { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AppResource), @@ -1636,7 +1636,7 @@ pub mod apps { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AppResource), @@ -1710,7 +1710,7 @@ pub mod apps { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1786,7 +1786,7 @@ pub mod apps { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1864,7 +1864,7 @@ pub mod apps { } } pub mod get_resource_upload_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1941,7 +1941,7 @@ pub mod apps { } } pub mod validate_domain { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1965,7 +1965,7 @@ pub mod apps { } } pub mod bindings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2018,7 +2018,7 @@ pub mod bindings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2109,7 +2109,7 @@ pub mod bindings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BindingResource), @@ -2197,7 +2197,7 @@ pub mod bindings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BindingResource), @@ -2273,7 +2273,7 @@ pub mod bindings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2351,7 +2351,7 @@ pub mod bindings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2375,7 +2375,7 @@ pub mod bindings { } } pub mod certificates { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2426,7 +2426,7 @@ pub mod certificates { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2515,7 +2515,7 @@ pub mod certificates { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CertificateResource), @@ -2590,7 +2590,7 @@ pub mod certificates { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2666,7 +2666,7 @@ pub mod certificates { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2690,7 +2690,7 @@ pub mod certificates { } } pub mod custom_domains { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2743,7 +2743,7 @@ pub mod custom_domains { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2834,7 +2834,7 @@ pub mod custom_domains { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CustomDomainResource), @@ -2922,7 +2922,7 @@ pub mod custom_domains { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CustomDomainResource), @@ -2998,7 +2998,7 @@ pub mod custom_domains { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3076,7 +3076,7 @@ pub mod custom_domains { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3100,7 +3100,7 @@ pub mod custom_domains { } } pub mod deployments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3153,7 +3153,7 @@ pub mod deployments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3244,7 +3244,7 @@ pub mod deployments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DeploymentResource), @@ -3332,7 +3332,7 @@ pub mod deployments { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(DeploymentResource), @@ -3408,7 +3408,7 @@ pub mod deployments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3490,7 +3490,7 @@ pub mod deployments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3567,7 +3567,7 @@ pub mod deployments { } } pub mod list_for_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3638,7 +3638,7 @@ pub mod deployments { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3714,7 +3714,7 @@ pub mod deployments { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3793,7 +3793,7 @@ pub mod deployments { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3877,7 +3877,7 @@ pub mod deployments { } } pub mod get_log_file_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogFileUrlResponse), @@ -3906,7 +3906,7 @@ pub mod deployments { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.AppPlatform/operations", operation_config.base_path(),); @@ -3944,7 +3944,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3968,7 +3968,7 @@ pub mod operations { } } pub mod runtime_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_runtime_versions( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -4013,7 +4013,7 @@ pub mod runtime_versions { } } pub mod list_runtime_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4037,7 +4037,7 @@ pub mod runtime_versions { } } pub mod skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4082,7 +4082,7 @@ pub mod skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/appplatform/src/package_preview_2021_06/operations.rs b/services/mgmt/appplatform/src/package_preview_2021_06/operations.rs index 189e7c1dca..c8ddd61a89 100644 --- a/services/mgmt/appplatform/src/package_preview_2021_06/operations.rs +++ b/services/mgmt/appplatform/src/package_preview_2021_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -140,7 +140,7 @@ pub mod services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ServiceResource), @@ -224,7 +224,7 @@ pub mod services { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServiceResource), @@ -295,7 +295,7 @@ pub mod services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -374,7 +374,7 @@ pub mod services { } } pub mod list_test_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -449,7 +449,7 @@ pub mod services { } } pub mod regenerate_test_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -520,7 +520,7 @@ pub mod services { } } pub mod disable_test_endpoint { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -594,7 +594,7 @@ pub mod services { } } pub mod enable_test_endpoint { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -669,7 +669,7 @@ pub mod services { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -738,7 +738,7 @@ pub mod services { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -806,7 +806,7 @@ pub mod services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -830,7 +830,7 @@ pub mod services { } } pub mod config_servers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -879,7 +879,7 @@ pub mod config_servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -960,7 +960,7 @@ pub mod config_servers { } } pub mod update_put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConfigServerResource), @@ -1046,7 +1046,7 @@ pub mod config_servers { } } pub mod update_patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConfigServerResource), @@ -1132,7 +1132,7 @@ pub mod config_servers { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConfigServerSettingsValidateResult), @@ -1161,7 +1161,7 @@ pub mod config_servers { } } pub mod monitoring_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1210,7 +1210,7 @@ pub mod monitoring_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1291,7 +1291,7 @@ pub mod monitoring_settings { } } pub mod update_put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MonitoringSettingResource), @@ -1377,7 +1377,7 @@ pub mod monitoring_settings { } } pub mod update_patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MonitoringSettingResource), @@ -1406,7 +1406,7 @@ pub mod monitoring_settings { } } pub mod apps { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1461,7 +1461,7 @@ pub mod apps { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1550,7 +1550,7 @@ pub mod apps { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AppResource), @@ -1636,7 +1636,7 @@ pub mod apps { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AppResource), @@ -1710,7 +1710,7 @@ pub mod apps { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1786,7 +1786,7 @@ pub mod apps { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1864,7 +1864,7 @@ pub mod apps { } } pub mod get_resource_upload_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1941,7 +1941,7 @@ pub mod apps { } } pub mod validate_domain { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1965,7 +1965,7 @@ pub mod apps { } } pub mod bindings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2018,7 +2018,7 @@ pub mod bindings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2109,7 +2109,7 @@ pub mod bindings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BindingResource), @@ -2197,7 +2197,7 @@ pub mod bindings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BindingResource), @@ -2273,7 +2273,7 @@ pub mod bindings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2351,7 +2351,7 @@ pub mod bindings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2375,7 +2375,7 @@ pub mod bindings { } } pub mod certificates { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2426,7 +2426,7 @@ pub mod certificates { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2515,7 +2515,7 @@ pub mod certificates { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CertificateResource), @@ -2590,7 +2590,7 @@ pub mod certificates { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2666,7 +2666,7 @@ pub mod certificates { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2690,7 +2690,7 @@ pub mod certificates { } } pub mod custom_domains { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2743,7 +2743,7 @@ pub mod custom_domains { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2834,7 +2834,7 @@ pub mod custom_domains { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CustomDomainResource), @@ -2922,7 +2922,7 @@ pub mod custom_domains { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CustomDomainResource), @@ -2998,7 +2998,7 @@ pub mod custom_domains { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3076,7 +3076,7 @@ pub mod custom_domains { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3100,7 +3100,7 @@ pub mod custom_domains { } } pub mod deployments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3153,7 +3153,7 @@ pub mod deployments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3244,7 +3244,7 @@ pub mod deployments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DeploymentResource), @@ -3332,7 +3332,7 @@ pub mod deployments { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(DeploymentResource), @@ -3408,7 +3408,7 @@ pub mod deployments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3490,7 +3490,7 @@ pub mod deployments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3567,7 +3567,7 @@ pub mod deployments { } } pub mod list_for_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3638,7 +3638,7 @@ pub mod deployments { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3714,7 +3714,7 @@ pub mod deployments { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3793,7 +3793,7 @@ pub mod deployments { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3877,7 +3877,7 @@ pub mod deployments { } } pub mod get_log_file_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogFileUrlResponse), @@ -3906,7 +3906,7 @@ pub mod deployments { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.AppPlatform/operations", operation_config.base_path(),); @@ -3944,7 +3944,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3968,7 +3968,7 @@ pub mod operations { } } pub mod runtime_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_runtime_versions( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -4013,7 +4013,7 @@ pub mod runtime_versions { } } pub mod list_runtime_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4037,7 +4037,7 @@ pub mod runtime_versions { } } pub mod skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4082,7 +4082,7 @@ pub mod skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/attestation/Cargo.toml b/services/mgmt/attestation/Cargo.toml index d29abd0554..8612c2254d 100644 --- a/services/mgmt/attestation/Cargo.toml +++ b/services/mgmt/attestation/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2018-09-01"] +no-default-version = [] "package-2018-09-01" = [] "package-2020-10-01" = [] "package-2021-06-01" = [] diff --git a/services/mgmt/attestation/src/lib.rs b/services/mgmt/attestation/src/lib.rs index 75d122ff51..ab8d1ebaab 100644 --- a/services/mgmt/attestation/src/lib.rs +++ b/services/mgmt/attestation/src/lib.rs @@ -1,17 +1,25 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2018-09-01")] -mod package_2018_09_01; -#[cfg(feature = "package-2018-09-01")] +pub mod package_2018_09_01; +#[cfg(all(feature = "package-2018-09-01", not(feature = "no-default-version")))] pub use package_2018_09_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-10-01")] -mod package_2020_10_01; -#[cfg(feature = "package-2020-10-01")] +pub mod package_2020_10_01; +#[cfg(all(feature = "package-2020-10-01", not(feature = "no-default-version")))] pub use package_2020_10_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-06-01")] -mod package_2021_06_01; +pub mod package_2021_06_01; use azure_core::setters; -#[cfg(feature = "package-2021-06-01")] +#[cfg(all(feature = "package-2021-06-01", not(feature = "no-default-version")))] pub use package_2021_06_01::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -35,7 +43,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/attestation/src/package_2018_09_01/operations.rs b/services/mgmt/attestation/src/package_2018_09_01/operations.rs index 14705d11ac..ce78cb84bc 100644 --- a/services/mgmt/attestation/src/package_2018_09_01/operations.rs +++ b/services/mgmt/attestation/src/package_2018_09_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Attestation/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod attestation_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -115,7 +115,7 @@ pub mod attestation_providers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -193,7 +193,7 @@ pub mod attestation_providers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AttestationProvider), @@ -270,7 +270,7 @@ pub mod attestation_providers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -337,7 +337,7 @@ pub mod attestation_providers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -409,7 +409,7 @@ pub mod attestation_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -482,7 +482,7 @@ pub mod attestation_providers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -551,7 +551,7 @@ pub mod attestation_providers { } } pub mod list_default { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -624,7 +624,7 @@ pub mod attestation_providers { } } pub mod get_default_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/attestation/src/package_2020_10_01/operations.rs b/services/mgmt/attestation/src/package_2020_10_01/operations.rs index 1a22b9462f..4a70a81b4f 100644 --- a/services/mgmt/attestation/src/package_2020_10_01/operations.rs +++ b/services/mgmt/attestation/src/package_2020_10_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Attestation/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod attestation_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -115,7 +115,7 @@ pub mod attestation_providers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -193,7 +193,7 @@ pub mod attestation_providers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AttestationProvider), @@ -270,7 +270,7 @@ pub mod attestation_providers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -337,7 +337,7 @@ pub mod attestation_providers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -409,7 +409,7 @@ pub mod attestation_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -482,7 +482,7 @@ pub mod attestation_providers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -551,7 +551,7 @@ pub mod attestation_providers { } } pub mod list_default { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -624,7 +624,7 @@ pub mod attestation_providers { } } pub mod get_default_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -648,7 +648,7 @@ pub mod attestation_providers { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -697,7 +697,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -769,7 +769,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -843,7 +843,7 @@ pub mod private_endpoint_connections { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -911,7 +911,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/attestation/src/package_2021_06_01/operations.rs b/services/mgmt/attestation/src/package_2021_06_01/operations.rs index 12ceca9ed6..3cd636c637 100644 --- a/services/mgmt/attestation/src/package_2021_06_01/operations.rs +++ b/services/mgmt/attestation/src/package_2021_06_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Attestation/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod attestation_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -115,7 +115,7 @@ pub mod attestation_providers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -193,7 +193,7 @@ pub mod attestation_providers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AttestationProvider), @@ -270,7 +270,7 @@ pub mod attestation_providers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -337,7 +337,7 @@ pub mod attestation_providers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -409,7 +409,7 @@ pub mod attestation_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -482,7 +482,7 @@ pub mod attestation_providers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -551,7 +551,7 @@ pub mod attestation_providers { } } pub mod list_default { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -624,7 +624,7 @@ pub mod attestation_providers { } } pub mod get_default_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -648,7 +648,7 @@ pub mod attestation_providers { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -697,7 +697,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -769,7 +769,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -843,7 +843,7 @@ pub mod private_endpoint_connections { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -911,7 +911,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -940,7 +940,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_provider( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -992,7 +992,7 @@ pub mod private_link_resources { } } pub mod list_by_provider { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/authorization/Cargo.toml b/services/mgmt/authorization/Cargo.toml index d5a44b4588..5dc9cfe046 100644 --- a/services/mgmt/authorization/Cargo.toml +++ b/services/mgmt/authorization/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["profile-hybrid-2020-09-01"] +no-default-version = [] "package-2021-01-01-preview-only" = [] "package-2020-10-01-preview-only" = [] "profile-hybrid-2020-09-01" = [] diff --git a/services/mgmt/authorization/src/lib.rs b/services/mgmt/authorization/src/lib.rs index bd68c132a1..e8274914c8 100644 --- a/services/mgmt/authorization/src/lib.rs +++ b/services/mgmt/authorization/src/lib.rs @@ -1,81 +1,89 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-01-01-preview-only")] -mod package_2021_01_01_preview_only; -#[cfg(feature = "package-2021-01-01-preview-only")] +pub mod package_2021_01_01_preview_only; +#[cfg(all(feature = "package-2021-01-01-preview-only", not(feature = "no-default-version")))] pub use package_2021_01_01_preview_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-10-01-preview-only")] -mod package_2020_10_01_preview_only; -#[cfg(feature = "package-2020-10-01-preview-only")] +pub mod package_2020_10_01_preview_only; +#[cfg(all(feature = "package-2020-10-01-preview-only", not(feature = "no-default-version")))] pub use package_2020_10_01_preview_only::{models, operations, API_VERSION}; #[cfg(feature = "profile-hybrid-2020-09-01")] -mod profile_hybrid_2020_09_01; -#[cfg(feature = "profile-hybrid-2020-09-01")] +pub mod profile_hybrid_2020_09_01; +#[cfg(all(feature = "profile-hybrid-2020-09-01", not(feature = "no-default-version")))] pub use profile_hybrid_2020_09_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-08-01-preview")] -mod package_2020_08_01_preview; -#[cfg(feature = "package-2020-08-01-preview")] +pub mod package_2020_08_01_preview; +#[cfg(all(feature = "package-2020-08-01-preview", not(feature = "no-default-version")))] pub use package_2020_08_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-04-01-preview")] -mod package_2020_04_01_preview; -#[cfg(feature = "package-2020-04-01-preview")] +pub mod package_2020_04_01_preview; +#[cfg(all(feature = "package-2020-04-01-preview", not(feature = "no-default-version")))] pub use package_2020_04_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-04-01-preview-only")] -mod package_2020_04_01_preview_only; -#[cfg(feature = "package-2020-04-01-preview-only")] +pub mod package_2020_04_01_preview_only; +#[cfg(all(feature = "package-2020-04-01-preview-only", not(feature = "no-default-version")))] pub use package_2020_04_01_preview_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-03-01-preview")] -mod package_2020_03_01_preview; -#[cfg(feature = "package-2020-03-01-preview")] +pub mod package_2020_03_01_preview; +#[cfg(all(feature = "package-2020-03-01-preview", not(feature = "no-default-version")))] pub use package_2020_03_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-08-01-preview-only")] -mod package_2019_08_01_preview_only; -#[cfg(feature = "package-2019-08-01-preview-only")] +pub mod package_2019_08_01_preview_only; +#[cfg(all(feature = "package-2019-08-01-preview-only", not(feature = "no-default-version")))] pub use package_2019_08_01_preview_only::{models, operations, API_VERSION}; #[cfg(feature = "profile-hybrid-2019-03-01")] -mod profile_hybrid_2019_03_01; -#[cfg(feature = "profile-hybrid-2019-03-01")] +pub mod profile_hybrid_2019_03_01; +#[cfg(all(feature = "profile-hybrid-2019-03-01", not(feature = "no-default-version")))] pub use profile_hybrid_2019_03_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-09-01-preview")] -mod package_2018_09_01_preview; -#[cfg(feature = "package-2018-09-01-preview")] +pub mod package_2018_09_01_preview; +#[cfg(all(feature = "package-2018-09-01-preview", not(feature = "no-default-version")))] pub use package_2018_09_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-09-01-preview-only")] -mod package_2018_09_01_preview_only; -#[cfg(feature = "package-2018-09-01-preview-only")] +pub mod package_2018_09_01_preview_only; +#[cfg(all(feature = "package-2018-09-01-preview-only", not(feature = "no-default-version")))] pub use package_2018_09_01_preview_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-07-01-preview")] -mod package_2018_07_01_preview; -#[cfg(feature = "package-2018-07-01-preview")] +pub mod package_2018_07_01_preview; +#[cfg(all(feature = "package-2018-07-01-preview", not(feature = "no-default-version")))] pub use package_2018_07_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-07-01-preview-only")] -mod package_2018_07_01_preview_only; -#[cfg(feature = "package-2018-07-01-preview-only")] +pub mod package_2018_07_01_preview_only; +#[cfg(all(feature = "package-2018-07-01-preview-only", not(feature = "no-default-version")))] pub use package_2018_07_01_preview_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-01-01-preview")] -mod package_2018_01_01_preview; -#[cfg(feature = "package-2018-01-01-preview")] +pub mod package_2018_01_01_preview; +#[cfg(all(feature = "package-2018-01-01-preview", not(feature = "no-default-version")))] pub use package_2018_01_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-01-01-preview-only")] -mod package_2018_01_01_preview_only; -#[cfg(feature = "package-2018-01-01-preview-only")] +pub mod package_2018_01_01_preview_only; +#[cfg(all(feature = "package-2018-01-01-preview-only", not(feature = "no-default-version")))] pub use package_2018_01_01_preview_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-10-01-preview")] -mod package_2017_10_01_preview; -#[cfg(feature = "package-2017-10-01-preview")] +pub mod package_2017_10_01_preview; +#[cfg(all(feature = "package-2017-10-01-preview", not(feature = "no-default-version")))] pub use package_2017_10_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-10-01-preview-only")] -mod package_2017_10_01_preview_only; -#[cfg(feature = "package-2017-10-01-preview-only")] +pub mod package_2017_10_01_preview_only; +#[cfg(all(feature = "package-2017-10-01-preview-only", not(feature = "no-default-version")))] pub use package_2017_10_01_preview_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2015-07-01")] -mod package_2015_07_01; -#[cfg(feature = "package-2015-07-01")] +pub mod package_2015_07_01; +#[cfg(all(feature = "package-2015-07-01", not(feature = "no-default-version")))] pub use package_2015_07_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2015-06-01-preview")] -mod package_2015_06_01_preview; +pub mod package_2015_06_01_preview; use azure_core::setters; -#[cfg(feature = "package-2015-06-01-preview")] +#[cfg(all(feature = "package-2015-06-01-preview", not(feature = "no-default-version")))] pub use package_2015_06_01_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -99,7 +107,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/authorization/src/package_2015_06_01_preview/operations.rs b/services/mgmt/authorization/src/package_2015_06_01_preview/operations.rs index fdf7891842..b885533ef8 100644 --- a/services/mgmt/authorization/src/package_2015_06_01_preview/operations.rs +++ b/services/mgmt/authorization/src/package_2015_06_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod classic_administrators { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -49,7 +49,7 @@ pub mod classic_administrators { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/authorization/src/package_2015_07_01/operations.rs b/services/mgmt/authorization/src/package_2015_07_01/operations.rs index f162835208..3ee8ce093b 100644 --- a/services/mgmt/authorization/src/package_2015_07_01/operations.rs +++ b/services/mgmt/authorization/src/package_2015_07_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod permissions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_for_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -56,7 +56,7 @@ pub mod permissions { } } pub mod list_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -135,7 +135,7 @@ pub mod permissions { } } pub mod list_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -159,7 +159,7 @@ pub mod permissions { } } pub mod role_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scope: &str, @@ -206,7 +206,7 @@ pub mod role_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -279,7 +279,7 @@ pub mod role_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -348,7 +348,7 @@ pub mod role_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RoleDefinition), @@ -423,7 +423,7 @@ pub mod role_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -488,7 +488,7 @@ pub mod role_definitions { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -512,7 +512,7 @@ pub mod role_definitions { } } pub mod provider_operations_metadata { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_provider_namespace: &str, @@ -561,7 +561,7 @@ pub mod provider_operations_metadata { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -629,7 +629,7 @@ pub mod provider_operations_metadata { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -653,7 +653,7 @@ pub mod provider_operations_metadata { } } pub mod global_administrator { - use crate::models::*; + use super::{models, models::*}; pub async fn elevate_access(operation_config: &crate::OperationConfig) -> std::result::Result<(), elevate_access::Error> { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Authorization/elevateAccess", operation_config.base_path(),); @@ -690,7 +690,7 @@ pub mod global_administrator { } } pub mod elevate_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -714,7 +714,7 @@ pub mod global_administrator { } } pub mod role_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn list_for_resource( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -776,7 +776,7 @@ pub mod role_assignments { } } pub mod list_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -853,7 +853,7 @@ pub mod role_assignments { } } pub mod list_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -921,7 +921,7 @@ pub mod role_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -991,7 +991,7 @@ pub mod role_assignments { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1060,7 +1060,7 @@ pub mod role_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RoleAssignment), @@ -1130,7 +1130,7 @@ pub mod role_assignments { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1197,7 +1197,7 @@ pub mod role_assignments { } } pub mod create_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1263,7 +1263,7 @@ pub mod role_assignments { } } pub mod delete_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RoleAssignment), @@ -1338,7 +1338,7 @@ pub mod role_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1411,7 +1411,7 @@ pub mod role_assignments { } } pub mod list_for_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1435,7 +1435,7 @@ pub mod role_assignments { } } pub mod classic_administrators { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1480,7 +1480,7 @@ pub mod classic_administrators { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/authorization/src/package_2017_10_01_preview/operations.rs b/services/mgmt/authorization/src/package_2017_10_01_preview/operations.rs index 179119ccd3..5a8a57848a 100644 --- a/services/mgmt/authorization/src/package_2017_10_01_preview/operations.rs +++ b/services/mgmt/authorization/src/package_2017_10_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod classic_administrators { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -49,7 +49,7 @@ pub mod classic_administrators { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -73,7 +73,7 @@ pub mod classic_administrators { } } pub mod permissions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_for_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -125,7 +125,7 @@ pub mod permissions { } } pub mod list_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -204,7 +204,7 @@ pub mod permissions { } } pub mod list_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -228,7 +228,7 @@ pub mod permissions { } } pub mod role_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scope: &str, @@ -275,7 +275,7 @@ pub mod role_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -348,7 +348,7 @@ pub mod role_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -417,7 +417,7 @@ pub mod role_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RoleDefinition), @@ -492,7 +492,7 @@ pub mod role_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -557,7 +557,7 @@ pub mod role_definitions { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -581,7 +581,7 @@ pub mod role_definitions { } } pub mod provider_operations_metadata { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_provider_namespace: &str, @@ -630,7 +630,7 @@ pub mod provider_operations_metadata { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -698,7 +698,7 @@ pub mod provider_operations_metadata { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -722,7 +722,7 @@ pub mod provider_operations_metadata { } } pub mod global_administrator { - use crate::models::*; + use super::{models, models::*}; pub async fn elevate_access(operation_config: &crate::OperationConfig) -> std::result::Result<(), elevate_access::Error> { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Authorization/elevateAccess", operation_config.base_path(),); @@ -759,7 +759,7 @@ pub mod global_administrator { } } pub mod elevate_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -783,7 +783,7 @@ pub mod global_administrator { } } pub mod role_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn list_for_resource( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -845,7 +845,7 @@ pub mod role_assignments { } } pub mod list_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -922,7 +922,7 @@ pub mod role_assignments { } } pub mod list_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -990,7 +990,7 @@ pub mod role_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1060,7 +1060,7 @@ pub mod role_assignments { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1129,7 +1129,7 @@ pub mod role_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RoleAssignment), @@ -1199,7 +1199,7 @@ pub mod role_assignments { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1266,7 +1266,7 @@ pub mod role_assignments { } } pub mod create_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1332,7 +1332,7 @@ pub mod role_assignments { } } pub mod delete_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RoleAssignment), @@ -1407,7 +1407,7 @@ pub mod role_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1480,7 +1480,7 @@ pub mod role_assignments { } } pub mod list_for_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/authorization/src/package_2017_10_01_preview_only/operations.rs b/services/mgmt/authorization/src/package_2017_10_01_preview_only/operations.rs index 962db72a00..baad14373d 100644 --- a/services/mgmt/authorization/src/package_2017_10_01_preview_only/operations.rs +++ b/services/mgmt/authorization/src/package_2017_10_01_preview_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod role_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn list_for_resource( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -66,7 +66,7 @@ pub mod role_assignments { } } pub mod list_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -143,7 +143,7 @@ pub mod role_assignments { } } pub mod list_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -211,7 +211,7 @@ pub mod role_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -281,7 +281,7 @@ pub mod role_assignments { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -350,7 +350,7 @@ pub mod role_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RoleAssignment), @@ -420,7 +420,7 @@ pub mod role_assignments { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -487,7 +487,7 @@ pub mod role_assignments { } } pub mod create_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -553,7 +553,7 @@ pub mod role_assignments { } } pub mod delete_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RoleAssignment), @@ -628,7 +628,7 @@ pub mod role_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -701,7 +701,7 @@ pub mod role_assignments { } } pub mod list_for_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/authorization/src/package_2018_01_01_preview/operations.rs b/services/mgmt/authorization/src/package_2018_01_01_preview/operations.rs index 33fda1f60b..3a3886fa04 100644 --- a/services/mgmt/authorization/src/package_2018_01_01_preview/operations.rs +++ b/services/mgmt/authorization/src/package_2018_01_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod classic_administrators { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -49,7 +49,7 @@ pub mod classic_administrators { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -73,7 +73,7 @@ pub mod classic_administrators { } } pub mod global_administrator { - use crate::models::*; + use super::{models, models::*}; pub async fn elevate_access(operation_config: &crate::OperationConfig) -> std::result::Result<(), elevate_access::Error> { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Authorization/elevateAccess", operation_config.base_path(),); @@ -110,7 +110,7 @@ pub mod global_administrator { } } pub mod elevate_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod global_administrator { } } pub mod provider_operations_metadata { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_provider_namespace: &str, @@ -183,7 +183,7 @@ pub mod provider_operations_metadata { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -251,7 +251,7 @@ pub mod provider_operations_metadata { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -275,7 +275,7 @@ pub mod provider_operations_metadata { } } pub mod role_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn list_for_resource( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -337,7 +337,7 @@ pub mod role_assignments { } } pub mod list_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -414,7 +414,7 @@ pub mod role_assignments { } } pub mod list_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -482,7 +482,7 @@ pub mod role_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -552,7 +552,7 @@ pub mod role_assignments { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -621,7 +621,7 @@ pub mod role_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RoleAssignment), @@ -691,7 +691,7 @@ pub mod role_assignments { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -758,7 +758,7 @@ pub mod role_assignments { } } pub mod create_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -824,7 +824,7 @@ pub mod role_assignments { } } pub mod delete_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RoleAssignment), @@ -899,7 +899,7 @@ pub mod role_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -972,7 +972,7 @@ pub mod role_assignments { } } pub mod list_for_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -996,7 +996,7 @@ pub mod role_assignments { } } pub mod role_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_id( operation_config: &crate::OperationConfig, role_id: &str, @@ -1040,7 +1040,7 @@ pub mod role_definitions { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/authorization/src/package_2018_01_01_preview_only/operations.rs b/services/mgmt/authorization/src/package_2018_01_01_preview_only/operations.rs index c548787572..37720c74e6 100644 --- a/services/mgmt/authorization/src/package_2018_01_01_preview_only/operations.rs +++ b/services/mgmt/authorization/src/package_2018_01_01_preview_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod provider_operations_metadata { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_provider_namespace: &str, @@ -53,7 +53,7 @@ pub mod provider_operations_metadata { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -121,7 +121,7 @@ pub mod provider_operations_metadata { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -145,7 +145,7 @@ pub mod provider_operations_metadata { } } pub mod role_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn list_for_resource( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -207,7 +207,7 @@ pub mod role_assignments { } } pub mod list_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -284,7 +284,7 @@ pub mod role_assignments { } } pub mod list_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -352,7 +352,7 @@ pub mod role_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -422,7 +422,7 @@ pub mod role_assignments { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -491,7 +491,7 @@ pub mod role_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RoleAssignment), @@ -561,7 +561,7 @@ pub mod role_assignments { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -628,7 +628,7 @@ pub mod role_assignments { } } pub mod create_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -694,7 +694,7 @@ pub mod role_assignments { } } pub mod delete_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RoleAssignment), @@ -769,7 +769,7 @@ pub mod role_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -842,7 +842,7 @@ pub mod role_assignments { } } pub mod list_for_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -866,7 +866,7 @@ pub mod role_assignments { } } pub mod role_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_id( operation_config: &crate::OperationConfig, role_id: &str, @@ -910,7 +910,7 @@ pub mod role_definitions { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/authorization/src/package_2018_07_01_preview/operations.rs b/services/mgmt/authorization/src/package_2018_07_01_preview/operations.rs index 884c03356d..a415c8eb86 100644 --- a/services/mgmt/authorization/src/package_2018_07_01_preview/operations.rs +++ b/services/mgmt/authorization/src/package_2018_07_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod classic_administrators { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -49,7 +49,7 @@ pub mod classic_administrators { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -73,7 +73,7 @@ pub mod classic_administrators { } } pub mod global_administrator { - use crate::models::*; + use super::{models, models::*}; pub async fn elevate_access(operation_config: &crate::OperationConfig) -> std::result::Result<(), elevate_access::Error> { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Authorization/elevateAccess", operation_config.base_path(),); @@ -110,7 +110,7 @@ pub mod global_administrator { } } pub mod elevate_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod global_administrator { } } pub mod provider_operations_metadata { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_provider_namespace: &str, @@ -183,7 +183,7 @@ pub mod provider_operations_metadata { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -251,7 +251,7 @@ pub mod provider_operations_metadata { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -275,7 +275,7 @@ pub mod provider_operations_metadata { } } pub mod role_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn list_for_resource( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -337,7 +337,7 @@ pub mod role_assignments { } } pub mod list_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -414,7 +414,7 @@ pub mod role_assignments { } } pub mod list_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -482,7 +482,7 @@ pub mod role_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -552,7 +552,7 @@ pub mod role_assignments { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -621,7 +621,7 @@ pub mod role_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RoleAssignment), @@ -691,7 +691,7 @@ pub mod role_assignments { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -758,7 +758,7 @@ pub mod role_assignments { } } pub mod create_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -824,7 +824,7 @@ pub mod role_assignments { } } pub mod delete_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RoleAssignment), @@ -899,7 +899,7 @@ pub mod role_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -972,7 +972,7 @@ pub mod role_assignments { } } pub mod list_for_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -996,7 +996,7 @@ pub mod role_assignments { } } pub mod role_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_id( operation_config: &crate::OperationConfig, role_id: &str, @@ -1040,7 +1040,7 @@ pub mod role_definitions { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1064,7 +1064,7 @@ pub mod role_definitions { } } pub mod deny_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn list_for_resource( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1126,7 +1126,7 @@ pub mod deny_assignments { } } pub mod list_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1203,7 +1203,7 @@ pub mod deny_assignments { } } pub mod list_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1273,7 +1273,7 @@ pub mod deny_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1341,7 +1341,7 @@ pub mod deny_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1406,7 +1406,7 @@ pub mod deny_assignments { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1479,7 +1479,7 @@ pub mod deny_assignments { } } pub mod list_for_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/authorization/src/package_2018_07_01_preview_only/operations.rs b/services/mgmt/authorization/src/package_2018_07_01_preview_only/operations.rs index faee309851..ffaac4026a 100644 --- a/services/mgmt/authorization/src/package_2018_07_01_preview_only/operations.rs +++ b/services/mgmt/authorization/src/package_2018_07_01_preview_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod deny_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn list_for_resource( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -66,7 +66,7 @@ pub mod deny_assignments { } } pub mod list_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -143,7 +143,7 @@ pub mod deny_assignments { } } pub mod list_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -213,7 +213,7 @@ pub mod deny_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -281,7 +281,7 @@ pub mod deny_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -346,7 +346,7 @@ pub mod deny_assignments { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -419,7 +419,7 @@ pub mod deny_assignments { } } pub mod list_for_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/authorization/src/package_2018_09_01_preview/operations.rs b/services/mgmt/authorization/src/package_2018_09_01_preview/operations.rs index 884c03356d..a415c8eb86 100644 --- a/services/mgmt/authorization/src/package_2018_09_01_preview/operations.rs +++ b/services/mgmt/authorization/src/package_2018_09_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod classic_administrators { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -49,7 +49,7 @@ pub mod classic_administrators { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -73,7 +73,7 @@ pub mod classic_administrators { } } pub mod global_administrator { - use crate::models::*; + use super::{models, models::*}; pub async fn elevate_access(operation_config: &crate::OperationConfig) -> std::result::Result<(), elevate_access::Error> { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Authorization/elevateAccess", operation_config.base_path(),); @@ -110,7 +110,7 @@ pub mod global_administrator { } } pub mod elevate_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod global_administrator { } } pub mod provider_operations_metadata { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_provider_namespace: &str, @@ -183,7 +183,7 @@ pub mod provider_operations_metadata { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -251,7 +251,7 @@ pub mod provider_operations_metadata { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -275,7 +275,7 @@ pub mod provider_operations_metadata { } } pub mod role_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn list_for_resource( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -337,7 +337,7 @@ pub mod role_assignments { } } pub mod list_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -414,7 +414,7 @@ pub mod role_assignments { } } pub mod list_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -482,7 +482,7 @@ pub mod role_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -552,7 +552,7 @@ pub mod role_assignments { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -621,7 +621,7 @@ pub mod role_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RoleAssignment), @@ -691,7 +691,7 @@ pub mod role_assignments { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -758,7 +758,7 @@ pub mod role_assignments { } } pub mod create_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -824,7 +824,7 @@ pub mod role_assignments { } } pub mod delete_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RoleAssignment), @@ -899,7 +899,7 @@ pub mod role_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -972,7 +972,7 @@ pub mod role_assignments { } } pub mod list_for_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -996,7 +996,7 @@ pub mod role_assignments { } } pub mod role_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_id( operation_config: &crate::OperationConfig, role_id: &str, @@ -1040,7 +1040,7 @@ pub mod role_definitions { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1064,7 +1064,7 @@ pub mod role_definitions { } } pub mod deny_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn list_for_resource( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1126,7 +1126,7 @@ pub mod deny_assignments { } } pub mod list_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1203,7 +1203,7 @@ pub mod deny_assignments { } } pub mod list_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1273,7 +1273,7 @@ pub mod deny_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1341,7 +1341,7 @@ pub mod deny_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1406,7 +1406,7 @@ pub mod deny_assignments { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1479,7 +1479,7 @@ pub mod deny_assignments { } } pub mod list_for_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/authorization/src/package_2018_09_01_preview_only/operations.rs b/services/mgmt/authorization/src/package_2018_09_01_preview_only/operations.rs index 0ed25ea1c1..b44504207a 100644 --- a/services/mgmt/authorization/src/package_2018_09_01_preview_only/operations.rs +++ b/services/mgmt/authorization/src/package_2018_09_01_preview_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod role_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn list_for_resource( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -66,7 +66,7 @@ pub mod role_assignments { } } pub mod list_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -143,7 +143,7 @@ pub mod role_assignments { } } pub mod list_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -211,7 +211,7 @@ pub mod role_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -281,7 +281,7 @@ pub mod role_assignments { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -350,7 +350,7 @@ pub mod role_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RoleAssignment), @@ -420,7 +420,7 @@ pub mod role_assignments { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -487,7 +487,7 @@ pub mod role_assignments { } } pub mod create_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -553,7 +553,7 @@ pub mod role_assignments { } } pub mod delete_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RoleAssignment), @@ -628,7 +628,7 @@ pub mod role_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -701,7 +701,7 @@ pub mod role_assignments { } } pub mod list_for_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/authorization/src/package_2019_08_01_preview_only/operations.rs b/services/mgmt/authorization/src/package_2019_08_01_preview_only/operations.rs index 522bcdf23b..dbd5f1b97c 100644 --- a/services/mgmt/authorization/src/package_2019_08_01_preview_only/operations.rs +++ b/services/mgmt/authorization/src/package_2019_08_01_preview_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod role_assignment_metrics { - use crate::models::*; + use super::{models, models::*}; pub async fn get_metrics_for_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -54,7 +54,7 @@ pub mod role_assignment_metrics { } } pub mod get_metrics_for_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/authorization/src/package_2020_03_01_preview/operations.rs b/services/mgmt/authorization/src/package_2020_03_01_preview/operations.rs index c94861cce8..12e3cd3643 100644 --- a/services/mgmt/authorization/src/package_2020_03_01_preview/operations.rs +++ b/services/mgmt/authorization/src/package_2020_03_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod classic_administrators { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -49,7 +49,7 @@ pub mod classic_administrators { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -73,7 +73,7 @@ pub mod classic_administrators { } } pub mod global_administrator { - use crate::models::*; + use super::{models, models::*}; pub async fn elevate_access(operation_config: &crate::OperationConfig) -> std::result::Result<(), elevate_access::Error> { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Authorization/elevateAccess", operation_config.base_path(),); @@ -110,7 +110,7 @@ pub mod global_administrator { } } pub mod elevate_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod global_administrator { } } pub mod provider_operations_metadata { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_provider_namespace: &str, @@ -183,7 +183,7 @@ pub mod provider_operations_metadata { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -251,7 +251,7 @@ pub mod provider_operations_metadata { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -275,7 +275,7 @@ pub mod provider_operations_metadata { } } pub mod role_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_id( operation_config: &crate::OperationConfig, role_id: &str, @@ -319,7 +319,7 @@ pub mod role_definitions { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -343,7 +343,7 @@ pub mod role_definitions { } } pub mod deny_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn list_for_resource( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -405,7 +405,7 @@ pub mod deny_assignments { } } pub mod list_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -482,7 +482,7 @@ pub mod deny_assignments { } } pub mod list_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -552,7 +552,7 @@ pub mod deny_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -620,7 +620,7 @@ pub mod deny_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -685,7 +685,7 @@ pub mod deny_assignments { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -758,7 +758,7 @@ pub mod deny_assignments { } } pub mod list_for_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -782,7 +782,7 @@ pub mod deny_assignments { } } pub mod role_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn list_for_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -836,7 +836,7 @@ pub mod role_assignments { } } pub mod list_for_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -913,7 +913,7 @@ pub mod role_assignments { } } pub mod list_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -994,7 +994,7 @@ pub mod role_assignments { } } pub mod list_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1062,7 +1062,7 @@ pub mod role_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1144,7 +1144,7 @@ pub mod role_assignments { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(RoleAssignment), @@ -1220,7 +1220,7 @@ pub mod role_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RoleAssignment), @@ -1298,7 +1298,7 @@ pub mod role_assignments { } } pub mod list_for_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1363,7 +1363,7 @@ pub mod role_assignments { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1442,7 +1442,7 @@ pub mod role_assignments { } } pub mod create_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(RoleAssignment), @@ -1515,7 +1515,7 @@ pub mod role_assignments { } } pub mod delete_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RoleAssignment), @@ -1544,7 +1544,7 @@ pub mod role_assignments { } } pub mod role_assignment_metrics { - use crate::models::*; + use super::{models, models::*}; pub async fn get_metrics_for_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1594,7 +1594,7 @@ pub mod role_assignment_metrics { } } pub mod get_metrics_for_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/authorization/src/package_2020_04_01_preview/operations.rs b/services/mgmt/authorization/src/package_2020_04_01_preview/operations.rs index 914a0a4f03..b3ad648c70 100644 --- a/services/mgmt/authorization/src/package_2020_04_01_preview/operations.rs +++ b/services/mgmt/authorization/src/package_2020_04_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod classic_administrators { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -49,7 +49,7 @@ pub mod classic_administrators { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -73,7 +73,7 @@ pub mod classic_administrators { } } pub mod global_administrator { - use crate::models::*; + use super::{models, models::*}; pub async fn elevate_access(operation_config: &crate::OperationConfig) -> std::result::Result<(), elevate_access::Error> { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Authorization/elevateAccess", operation_config.base_path(),); @@ -110,7 +110,7 @@ pub mod global_administrator { } } pub mod elevate_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod global_administrator { } } pub mod provider_operations_metadata { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_provider_namespace: &str, @@ -183,7 +183,7 @@ pub mod provider_operations_metadata { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -251,7 +251,7 @@ pub mod provider_operations_metadata { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -275,7 +275,7 @@ pub mod provider_operations_metadata { } } pub mod role_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_id( operation_config: &crate::OperationConfig, role_id: &str, @@ -319,7 +319,7 @@ pub mod role_definitions { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -343,7 +343,7 @@ pub mod role_definitions { } } pub mod deny_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn list_for_resource( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -405,7 +405,7 @@ pub mod deny_assignments { } } pub mod list_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -482,7 +482,7 @@ pub mod deny_assignments { } } pub mod list_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -552,7 +552,7 @@ pub mod deny_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -620,7 +620,7 @@ pub mod deny_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -685,7 +685,7 @@ pub mod deny_assignments { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -758,7 +758,7 @@ pub mod deny_assignments { } } pub mod list_for_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -782,7 +782,7 @@ pub mod deny_assignments { } } pub mod role_assignment_metrics { - use crate::models::*; + use super::{models, models::*}; pub async fn get_metrics_for_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -832,7 +832,7 @@ pub mod role_assignment_metrics { } } pub mod get_metrics_for_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -856,7 +856,7 @@ pub mod role_assignment_metrics { } } pub mod role_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn list_for_resource( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -922,7 +922,7 @@ pub mod role_assignments { } } pub mod list_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1003,7 +1003,7 @@ pub mod role_assignments { } } pub mod list_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1075,7 +1075,7 @@ pub mod role_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1145,7 +1145,7 @@ pub mod role_assignments { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1218,7 +1218,7 @@ pub mod role_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RoleAssignment), @@ -1292,7 +1292,7 @@ pub mod role_assignments { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1359,7 +1359,7 @@ pub mod role_assignments { } } pub mod create_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1429,7 +1429,7 @@ pub mod role_assignments { } } pub mod delete_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RoleAssignment), @@ -1508,7 +1508,7 @@ pub mod role_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1585,7 +1585,7 @@ pub mod role_assignments { } } pub mod list_for_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/authorization/src/package_2020_04_01_preview_only/operations.rs b/services/mgmt/authorization/src/package_2020_04_01_preview_only/operations.rs index b6db48d074..08179a2be1 100644 --- a/services/mgmt/authorization/src/package_2020_04_01_preview_only/operations.rs +++ b/services/mgmt/authorization/src/package_2020_04_01_preview_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod role_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn list_for_resource( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -70,7 +70,7 @@ pub mod role_assignments { } } pub mod list_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -151,7 +151,7 @@ pub mod role_assignments { } } pub mod list_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -223,7 +223,7 @@ pub mod role_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -293,7 +293,7 @@ pub mod role_assignments { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -366,7 +366,7 @@ pub mod role_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RoleAssignment), @@ -440,7 +440,7 @@ pub mod role_assignments { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -507,7 +507,7 @@ pub mod role_assignments { } } pub mod create_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -577,7 +577,7 @@ pub mod role_assignments { } } pub mod delete_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RoleAssignment), @@ -656,7 +656,7 @@ pub mod role_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -733,7 +733,7 @@ pub mod role_assignments { } } pub mod list_for_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/authorization/src/package_2020_08_01_preview/operations.rs b/services/mgmt/authorization/src/package_2020_08_01_preview/operations.rs index 13752e6aa1..467b1d3e79 100644 --- a/services/mgmt/authorization/src/package_2020_08_01_preview/operations.rs +++ b/services/mgmt/authorization/src/package_2020_08_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod classic_administrators { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -49,7 +49,7 @@ pub mod classic_administrators { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -73,7 +73,7 @@ pub mod classic_administrators { } } pub mod global_administrator { - use crate::models::*; + use super::{models, models::*}; pub async fn elevate_access(operation_config: &crate::OperationConfig) -> std::result::Result<(), elevate_access::Error> { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Authorization/elevateAccess", operation_config.base_path(),); @@ -110,7 +110,7 @@ pub mod global_administrator { } } pub mod elevate_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod global_administrator { } } pub mod provider_operations_metadata { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_provider_namespace: &str, @@ -183,7 +183,7 @@ pub mod provider_operations_metadata { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -251,7 +251,7 @@ pub mod provider_operations_metadata { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -275,7 +275,7 @@ pub mod provider_operations_metadata { } } pub mod role_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_id( operation_config: &crate::OperationConfig, role_id: &str, @@ -319,7 +319,7 @@ pub mod role_definitions { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -343,7 +343,7 @@ pub mod role_definitions { } } pub mod deny_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn list_for_resource( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -405,7 +405,7 @@ pub mod deny_assignments { } } pub mod list_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -482,7 +482,7 @@ pub mod deny_assignments { } } pub mod list_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -552,7 +552,7 @@ pub mod deny_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -620,7 +620,7 @@ pub mod deny_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -685,7 +685,7 @@ pub mod deny_assignments { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -758,7 +758,7 @@ pub mod deny_assignments { } } pub mod list_for_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -782,7 +782,7 @@ pub mod deny_assignments { } } pub mod role_assignment_metrics { - use crate::models::*; + use super::{models, models::*}; pub async fn get_metrics_for_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -832,7 +832,7 @@ pub mod role_assignment_metrics { } } pub mod get_metrics_for_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -856,7 +856,7 @@ pub mod role_assignment_metrics { } } pub mod role_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn list_for_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -914,7 +914,7 @@ pub mod role_assignments { } } pub mod list_for_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -995,7 +995,7 @@ pub mod role_assignments { } } pub mod list_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1080,7 +1080,7 @@ pub mod role_assignments { } } pub mod list_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1152,7 +1152,7 @@ pub mod role_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1228,7 +1228,7 @@ pub mod role_assignments { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(RoleAssignment), @@ -1306,7 +1306,7 @@ pub mod role_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RoleAssignment), @@ -1384,7 +1384,7 @@ pub mod role_assignments { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1461,7 +1461,7 @@ pub mod role_assignments { } } pub mod list_for_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1530,7 +1530,7 @@ pub mod role_assignments { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1603,7 +1603,7 @@ pub mod role_assignments { } } pub mod create_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(RoleAssignment), @@ -1678,7 +1678,7 @@ pub mod role_assignments { } } pub mod delete_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RoleAssignment), @@ -1750,7 +1750,7 @@ pub mod role_assignments { } } pub mod validate_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/authorization/src/package_2020_10_01_preview_only/operations.rs b/services/mgmt/authorization/src/package_2020_10_01_preview_only/operations.rs index 20c2d67fdd..c3e818db05 100644 --- a/services/mgmt/authorization/src/package_2020_10_01_preview_only/operations.rs +++ b/services/mgmt/authorization/src/package_2020_10_01_preview_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod role_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn list_for_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -62,7 +62,7 @@ pub mod role_assignments { } } pub mod list_for_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -143,7 +143,7 @@ pub mod role_assignments { } } pub mod list_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -228,7 +228,7 @@ pub mod role_assignments { } } pub mod list_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -300,7 +300,7 @@ pub mod role_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -376,7 +376,7 @@ pub mod role_assignments { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(RoleAssignment), @@ -454,7 +454,7 @@ pub mod role_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RoleAssignment), @@ -532,7 +532,7 @@ pub mod role_assignments { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -609,7 +609,7 @@ pub mod role_assignments { } } pub mod list_for_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -678,7 +678,7 @@ pub mod role_assignments { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -751,7 +751,7 @@ pub mod role_assignments { } } pub mod create_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(RoleAssignment), @@ -826,7 +826,7 @@ pub mod role_assignments { } } pub mod delete_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RoleAssignment), @@ -898,7 +898,7 @@ pub mod role_assignments { } } pub mod validate_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -922,7 +922,7 @@ pub mod role_assignments { } } pub mod eligible_child_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scope: &str, @@ -971,7 +971,7 @@ pub mod eligible_child_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -995,7 +995,7 @@ pub mod eligible_child_resources { } } pub mod role_assignment_schedules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scope: &str, @@ -1042,7 +1042,7 @@ pub mod role_assignment_schedules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1115,7 +1115,7 @@ pub mod role_assignment_schedules { } } pub mod list_for_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1139,7 +1139,7 @@ pub mod role_assignment_schedules { } } pub mod role_assignment_schedule_instances { - use crate::models::*; + use super::{models, models::*}; pub async fn list_for_scope( operation_config: &crate::OperationConfig, scope: &str, @@ -1191,7 +1191,7 @@ pub mod role_assignment_schedule_instances { } } pub mod list_for_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1259,7 +1259,7 @@ pub mod role_assignment_schedule_instances { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1283,7 +1283,7 @@ pub mod role_assignment_schedule_instances { } } pub mod role_assignment_schedule_requests { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scope: &str, @@ -1330,7 +1330,7 @@ pub mod role_assignment_schedule_requests { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1400,7 +1400,7 @@ pub mod role_assignment_schedule_requests { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1473,7 +1473,7 @@ pub mod role_assignment_schedule_requests { } } pub mod list_for_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1537,7 +1537,7 @@ pub mod role_assignment_schedule_requests { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1561,7 +1561,7 @@ pub mod role_assignment_schedule_requests { } } pub mod role_eligibility_schedules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scope: &str, @@ -1608,7 +1608,7 @@ pub mod role_eligibility_schedules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1681,7 +1681,7 @@ pub mod role_eligibility_schedules { } } pub mod list_for_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1705,7 +1705,7 @@ pub mod role_eligibility_schedules { } } pub mod role_eligibility_schedule_instances { - use crate::models::*; + use super::{models, models::*}; pub async fn list_for_scope( operation_config: &crate::OperationConfig, scope: &str, @@ -1757,7 +1757,7 @@ pub mod role_eligibility_schedule_instances { } } pub mod list_for_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1825,7 +1825,7 @@ pub mod role_eligibility_schedule_instances { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1849,7 +1849,7 @@ pub mod role_eligibility_schedule_instances { } } pub mod role_eligibility_schedule_requests { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scope: &str, @@ -1896,7 +1896,7 @@ pub mod role_eligibility_schedule_requests { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1966,7 +1966,7 @@ pub mod role_eligibility_schedule_requests { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2039,7 +2039,7 @@ pub mod role_eligibility_schedule_requests { } } pub mod list_for_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2103,7 +2103,7 @@ pub mod role_eligibility_schedule_requests { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2127,7 +2127,7 @@ pub mod role_eligibility_schedule_requests { } } pub mod role_management_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scope: &str, @@ -2174,7 +2174,7 @@ pub mod role_management_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2244,7 +2244,7 @@ pub mod role_management_policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2308,7 +2308,7 @@ pub mod role_management_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2382,7 +2382,7 @@ pub mod role_management_policies { } } pub mod list_for_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2406,7 +2406,7 @@ pub mod role_management_policies { } } pub mod role_management_policy_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scope: &str, @@ -2453,7 +2453,7 @@ pub mod role_management_policy_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2523,7 +2523,7 @@ pub mod role_management_policy_assignments { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2587,7 +2587,7 @@ pub mod role_management_policy_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2661,7 +2661,7 @@ pub mod role_management_policy_assignments { } } pub mod list_for_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/authorization/src/package_2021_01_01_preview_only/operations.rs b/services/mgmt/authorization/src/package_2021_01_01_preview_only/operations.rs index e32e38d927..30b3201814 100644 --- a/services/mgmt/authorization/src/package_2021_01_01_preview_only/operations.rs +++ b/services/mgmt/authorization/src/package_2021_01_01_preview_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Authorization/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod role_assignment_approval { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -113,7 +113,7 @@ pub mod role_assignment_approval { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -182,7 +182,7 @@ pub mod role_assignment_approval { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -206,7 +206,7 @@ pub mod role_assignment_approval { } } pub mod role_assignment_approval_steps { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, approval_id: &str, @@ -251,7 +251,7 @@ pub mod role_assignment_approval_steps { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -275,7 +275,7 @@ pub mod role_assignment_approval_steps { } } pub mod role_assignment_approval_step { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_id( operation_config: &crate::OperationConfig, approval_id: &str, @@ -325,7 +325,7 @@ pub mod role_assignment_approval_step { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -395,7 +395,7 @@ pub mod role_assignment_approval_step { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -465,7 +465,7 @@ pub mod role_assignment_approval_step { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -489,7 +489,7 @@ pub mod role_assignment_approval_step { } } pub mod scope_role_assignment_approval { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -538,7 +538,7 @@ pub mod scope_role_assignment_approval { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -609,7 +609,7 @@ pub mod scope_role_assignment_approval { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -633,7 +633,7 @@ pub mod scope_role_assignment_approval { } } pub mod scope_role_assignment_approval_steps { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, approval_id: &str, @@ -680,7 +680,7 @@ pub mod scope_role_assignment_approval_steps { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -704,7 +704,7 @@ pub mod scope_role_assignment_approval_steps { } } pub mod scope_role_assignment_approval_step { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_id( operation_config: &crate::OperationConfig, approval_id: &str, @@ -756,7 +756,7 @@ pub mod scope_role_assignment_approval_step { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -828,7 +828,7 @@ pub mod scope_role_assignment_approval_step { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -900,7 +900,7 @@ pub mod scope_role_assignment_approval_step { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/authorization/src/profile_hybrid_2019_03_01/operations.rs b/services/mgmt/authorization/src/profile_hybrid_2019_03_01/operations.rs index 653a624c9e..3a96d47da5 100644 --- a/services/mgmt/authorization/src/profile_hybrid_2019_03_01/operations.rs +++ b/services/mgmt/authorization/src/profile_hybrid_2019_03_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod permissions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_for_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -56,7 +56,7 @@ pub mod permissions { } } pub mod list_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -135,7 +135,7 @@ pub mod permissions { } } pub mod list_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -159,7 +159,7 @@ pub mod permissions { } } pub mod role_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scope: &str, @@ -206,7 +206,7 @@ pub mod role_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -279,7 +279,7 @@ pub mod role_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -348,7 +348,7 @@ pub mod role_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RoleDefinition), @@ -423,7 +423,7 @@ pub mod role_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -488,7 +488,7 @@ pub mod role_definitions { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -512,7 +512,7 @@ pub mod role_definitions { } } pub mod provider_operations_metadata { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_provider_namespace: &str, @@ -561,7 +561,7 @@ pub mod provider_operations_metadata { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -629,7 +629,7 @@ pub mod provider_operations_metadata { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -653,7 +653,7 @@ pub mod provider_operations_metadata { } } pub mod global_administrator { - use crate::models::*; + use super::{models, models::*}; pub async fn elevate_access(operation_config: &crate::OperationConfig) -> std::result::Result<(), elevate_access::Error> { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Authorization/elevateAccess", operation_config.base_path(),); @@ -690,7 +690,7 @@ pub mod global_administrator { } } pub mod elevate_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -714,7 +714,7 @@ pub mod global_administrator { } } pub mod role_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn list_for_resource( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -776,7 +776,7 @@ pub mod role_assignments { } } pub mod list_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -853,7 +853,7 @@ pub mod role_assignments { } } pub mod list_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -921,7 +921,7 @@ pub mod role_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -991,7 +991,7 @@ pub mod role_assignments { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1060,7 +1060,7 @@ pub mod role_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RoleAssignment), @@ -1130,7 +1130,7 @@ pub mod role_assignments { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1197,7 +1197,7 @@ pub mod role_assignments { } } pub mod create_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1263,7 +1263,7 @@ pub mod role_assignments { } } pub mod delete_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RoleAssignment), @@ -1338,7 +1338,7 @@ pub mod role_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1411,7 +1411,7 @@ pub mod role_assignments { } } pub mod list_for_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/authorization/src/profile_hybrid_2020_09_01/operations.rs b/services/mgmt/authorization/src/profile_hybrid_2020_09_01/operations.rs index 653a624c9e..3a96d47da5 100644 --- a/services/mgmt/authorization/src/profile_hybrid_2020_09_01/operations.rs +++ b/services/mgmt/authorization/src/profile_hybrid_2020_09_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod permissions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_for_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -56,7 +56,7 @@ pub mod permissions { } } pub mod list_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -135,7 +135,7 @@ pub mod permissions { } } pub mod list_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -159,7 +159,7 @@ pub mod permissions { } } pub mod role_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scope: &str, @@ -206,7 +206,7 @@ pub mod role_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -279,7 +279,7 @@ pub mod role_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -348,7 +348,7 @@ pub mod role_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RoleDefinition), @@ -423,7 +423,7 @@ pub mod role_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -488,7 +488,7 @@ pub mod role_definitions { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -512,7 +512,7 @@ pub mod role_definitions { } } pub mod provider_operations_metadata { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_provider_namespace: &str, @@ -561,7 +561,7 @@ pub mod provider_operations_metadata { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -629,7 +629,7 @@ pub mod provider_operations_metadata { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -653,7 +653,7 @@ pub mod provider_operations_metadata { } } pub mod global_administrator { - use crate::models::*; + use super::{models, models::*}; pub async fn elevate_access(operation_config: &crate::OperationConfig) -> std::result::Result<(), elevate_access::Error> { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Authorization/elevateAccess", operation_config.base_path(),); @@ -690,7 +690,7 @@ pub mod global_administrator { } } pub mod elevate_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -714,7 +714,7 @@ pub mod global_administrator { } } pub mod role_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn list_for_resource( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -776,7 +776,7 @@ pub mod role_assignments { } } pub mod list_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -853,7 +853,7 @@ pub mod role_assignments { } } pub mod list_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -921,7 +921,7 @@ pub mod role_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -991,7 +991,7 @@ pub mod role_assignments { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1060,7 +1060,7 @@ pub mod role_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RoleAssignment), @@ -1130,7 +1130,7 @@ pub mod role_assignments { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1197,7 +1197,7 @@ pub mod role_assignments { } } pub mod create_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1263,7 +1263,7 @@ pub mod role_assignments { } } pub mod delete_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RoleAssignment), @@ -1338,7 +1338,7 @@ pub mod role_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1411,7 +1411,7 @@ pub mod role_assignments { } } pub mod list_for_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/automanage/Cargo.toml b/services/mgmt/automanage/Cargo.toml index fa75f6f34e..07bb8a1e93 100644 --- a/services/mgmt/automanage/Cargo.toml +++ b/services/mgmt/automanage/Cargo.toml @@ -20,4 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2020-06-30-preview"] +no-default-version = [] "package-2020-06-30-preview" = [] diff --git a/services/mgmt/automanage/src/lib.rs b/services/mgmt/automanage/src/lib.rs index 10e8105051..8c96e5208c 100644 --- a/services/mgmt/automanage/src/lib.rs +++ b/services/mgmt/automanage/src/lib.rs @@ -1,9 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2020-06-30-preview")] -mod package_2020_06_30_preview; +pub mod package_2020_06_30_preview; use azure_core::setters; -#[cfg(feature = "package-2020-06-30-preview")] +#[cfg(all(feature = "package-2020-06-30-preview", not(feature = "no-default-version")))] pub use package_2020_06_30_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -27,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/automanage/src/package_2020_06_30_preview/operations.rs b/services/mgmt/automanage/src/package_2020_06_30_preview/operations.rs index 32ed1568c9..313ccb5457 100644 --- a/services/mgmt/automanage/src/package_2020_06_30_preview/operations.rs +++ b/services/mgmt/automanage/src/package_2020_06_30_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, account_name: &str, @@ -53,7 +53,7 @@ pub mod accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod accounts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Account), @@ -211,7 +211,7 @@ pub mod accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -277,7 +277,7 @@ pub mod accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -355,7 +355,7 @@ pub mod accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -424,7 +424,7 @@ pub mod accounts { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -448,7 +448,7 @@ pub mod accounts { } } pub mod configuration_profile_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -492,7 +492,7 @@ pub mod configuration_profile_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -568,7 +568,7 @@ pub mod configuration_profile_assignments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ConfigurationProfileAssignment), @@ -634,7 +634,7 @@ pub mod configuration_profile_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -707,7 +707,7 @@ pub mod configuration_profile_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -776,7 +776,7 @@ pub mod configuration_profile_assignments { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -800,7 +800,7 @@ pub mod configuration_profile_assignments { } } pub mod configuration_profile_preferences { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, configuration_profile_preference_name: &str, @@ -849,7 +849,7 @@ pub mod configuration_profile_preferences { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -930,7 +930,7 @@ pub mod configuration_profile_preferences { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ConfigurationProfilePreference), @@ -1007,7 +1007,7 @@ pub mod configuration_profile_preferences { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1073,7 +1073,7 @@ pub mod configuration_profile_preferences { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1151,7 +1151,7 @@ pub mod configuration_profile_preferences { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1220,7 +1220,7 @@ pub mod configuration_profile_preferences { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1244,7 +1244,7 @@ pub mod configuration_profile_preferences { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Automanage/operations", operation_config.base_path(),); @@ -1282,7 +1282,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/azure_kusto/Cargo.toml b/services/mgmt/azure_kusto/Cargo.toml index 4682fb1bf2..8fcad0ab0d 100644 --- a/services/mgmt/azure_kusto/Cargo.toml +++ b/services/mgmt/azure_kusto/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-08-27"] +no-default-version = [] "package-2021-08-27" = [] "package-2021-01" = [] "package-2020-09-18" = [] diff --git a/services/mgmt/azure_kusto/src/lib.rs b/services/mgmt/azure_kusto/src/lib.rs index 5aa58eba57..0af6a364a0 100644 --- a/services/mgmt/azure_kusto/src/lib.rs +++ b/services/mgmt/azure_kusto/src/lib.rs @@ -1,69 +1,77 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-08-27")] -mod package_2021_08_27; -#[cfg(feature = "package-2021-08-27")] +pub mod package_2021_08_27; +#[cfg(all(feature = "package-2021-08-27", not(feature = "no-default-version")))] pub use package_2021_08_27::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-01")] -mod package_2021_01; -#[cfg(feature = "package-2021-01")] +pub mod package_2021_01; +#[cfg(all(feature = "package-2021-01", not(feature = "no-default-version")))] pub use package_2021_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-09-18")] -mod package_2020_09_18; -#[cfg(feature = "package-2020-09-18")] +pub mod package_2020_09_18; +#[cfg(all(feature = "package-2020-09-18", not(feature = "no-default-version")))] pub use package_2020_09_18::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-06-14")] -mod package_2020_06_14; -#[cfg(feature = "package-2020-06-14")] +pub mod package_2020_06_14; +#[cfg(all(feature = "package-2020-06-14", not(feature = "no-default-version")))] pub use package_2020_06_14::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-02-15")] -mod package_2020_02_15; -#[cfg(feature = "package-2020-02-15")] +pub mod package_2020_02_15; +#[cfg(all(feature = "package-2020-02-15", not(feature = "no-default-version")))] pub use package_2020_02_15::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-11-09")] -mod package_2019_11_09; -#[cfg(feature = "package-2019-11-09")] +pub mod package_2019_11_09; +#[cfg(all(feature = "package-2019-11-09", not(feature = "no-default-version")))] pub use package_2019_11_09::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-09-07")] -mod package_2019_09_07; -#[cfg(feature = "package-2019-09-07")] +pub mod package_2019_09_07; +#[cfg(all(feature = "package-2019-09-07", not(feature = "no-default-version")))] pub use package_2019_09_07::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-05-15")] -mod package_2019_05_15; -#[cfg(feature = "package-2019-05-15")] +pub mod package_2019_05_15; +#[cfg(all(feature = "package-2019-05-15", not(feature = "no-default-version")))] pub use package_2019_05_15::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-01-21")] -mod package_2019_01_21; -#[cfg(feature = "package-2019-01-21")] +pub mod package_2019_01_21; +#[cfg(all(feature = "package-2019-01-21", not(feature = "no-default-version")))] pub use package_2019_01_21::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-09-07-preview")] -mod package_2018_09_07_preview; -#[cfg(feature = "package-2018-09-07-preview")] +pub mod package_2018_09_07_preview; +#[cfg(all(feature = "package-2018-09-07-preview", not(feature = "no-default-version")))] pub use package_2018_09_07_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-09-07-privatepreview")] -mod package_2017_09_07_privatepreview; -#[cfg(feature = "package-2017-09-07-privatepreview")] +pub mod package_2017_09_07_privatepreview; +#[cfg(all(feature = "package-2017-09-07-privatepreview", not(feature = "no-default-version")))] pub use package_2017_09_07_privatepreview::{models, operations, API_VERSION}; #[cfg(feature = "schema-2019-09-07")] -mod schema_2019_09_07; -#[cfg(feature = "schema-2019-09-07")] +pub mod schema_2019_09_07; +#[cfg(all(feature = "schema-2019-09-07", not(feature = "no-default-version")))] pub use schema_2019_09_07::{models, operations, API_VERSION}; #[cfg(feature = "schema-2019-05-15")] -mod schema_2019_05_15; -#[cfg(feature = "schema-2019-05-15")] +pub mod schema_2019_05_15; +#[cfg(all(feature = "schema-2019-05-15", not(feature = "no-default-version")))] pub use schema_2019_05_15::{models, operations, API_VERSION}; #[cfg(feature = "schema-2019-01-21")] -mod schema_2019_01_21; -#[cfg(feature = "schema-2019-01-21")] +pub mod schema_2019_01_21; +#[cfg(all(feature = "schema-2019-01-21", not(feature = "no-default-version")))] pub use schema_2019_01_21::{models, operations, API_VERSION}; #[cfg(feature = "schema-2018-09-07-preview")] -mod schema_2018_09_07_preview; -#[cfg(feature = "schema-2018-09-07-preview")] +pub mod schema_2018_09_07_preview; +#[cfg(all(feature = "schema-2018-09-07-preview", not(feature = "no-default-version")))] pub use schema_2018_09_07_preview::{models, operations, API_VERSION}; #[cfg(feature = "schema-2017-09-07-privatepreview")] -mod schema_2017_09_07_privatepreview; +pub mod schema_2017_09_07_privatepreview; use azure_core::setters; -#[cfg(feature = "schema-2017-09-07-privatepreview")] +#[cfg(all(feature = "schema-2017-09-07-privatepreview", not(feature = "no-default-version")))] pub use schema_2017_09_07_privatepreview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -87,7 +95,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/azure_kusto/src/package_2017_09_07_privatepreview/operations.rs b/services/mgmt/azure_kusto/src/package_2017_09_07_privatepreview/operations.rs index 57221cdf19..2be2beedcf 100644 --- a/services/mgmt/azure_kusto/src/package_2017_09_07_privatepreview/operations.rs +++ b/services/mgmt/azure_kusto/src/package_2017_09_07_privatepreview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -217,7 +217,7 @@ pub mod clusters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -289,7 +289,7 @@ pub mod clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -362,7 +362,7 @@ pub mod clusters { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -434,7 +434,7 @@ pub mod clusters { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -512,7 +512,7 @@ pub mod clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -578,7 +578,7 @@ pub mod clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -647,7 +647,7 @@ pub mod clusters { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -722,7 +722,7 @@ pub mod clusters { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -797,7 +797,7 @@ pub mod clusters { } } pub mod list_skus_by_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -821,7 +821,7 @@ pub mod clusters { } } pub mod databases { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -877,7 +877,7 @@ pub mod databases { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -950,7 +950,7 @@ pub mod databases { } } pub mod list_by_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1022,7 +1022,7 @@ pub mod databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1106,7 +1106,7 @@ pub mod databases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1193,7 +1193,7 @@ pub mod databases { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1268,7 +1268,7 @@ pub mod databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1350,7 +1350,7 @@ pub mod databases { } } pub mod list_principals { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1427,7 +1427,7 @@ pub mod databases { } } pub mod add_principals { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1504,7 +1504,7 @@ pub mod databases { } } pub mod remove_principals { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1528,7 +1528,7 @@ pub mod databases { } } pub mod event_hub_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1582,7 +1582,7 @@ pub mod event_hub_connections { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1659,7 +1659,7 @@ pub mod event_hub_connections { } } pub mod eventhub_connection_validation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1730,7 +1730,7 @@ pub mod event_hub_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1816,7 +1816,7 @@ pub mod event_hub_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EventHubConnection), @@ -1905,7 +1905,7 @@ pub mod event_hub_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EventHubConnection), @@ -1982,7 +1982,7 @@ pub mod event_hub_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2012,7 +2012,7 @@ pub mod event_hub_connections { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Kusto/operations", operation_config.base_path(),); @@ -2050,7 +2050,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/azure_kusto/src/package_2018_09_07_preview/operations.rs b/services/mgmt/azure_kusto/src/package_2018_09_07_preview/operations.rs index 57221cdf19..2be2beedcf 100644 --- a/services/mgmt/azure_kusto/src/package_2018_09_07_preview/operations.rs +++ b/services/mgmt/azure_kusto/src/package_2018_09_07_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -217,7 +217,7 @@ pub mod clusters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -289,7 +289,7 @@ pub mod clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -362,7 +362,7 @@ pub mod clusters { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -434,7 +434,7 @@ pub mod clusters { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -512,7 +512,7 @@ pub mod clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -578,7 +578,7 @@ pub mod clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -647,7 +647,7 @@ pub mod clusters { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -722,7 +722,7 @@ pub mod clusters { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -797,7 +797,7 @@ pub mod clusters { } } pub mod list_skus_by_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -821,7 +821,7 @@ pub mod clusters { } } pub mod databases { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -877,7 +877,7 @@ pub mod databases { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -950,7 +950,7 @@ pub mod databases { } } pub mod list_by_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1022,7 +1022,7 @@ pub mod databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1106,7 +1106,7 @@ pub mod databases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1193,7 +1193,7 @@ pub mod databases { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1268,7 +1268,7 @@ pub mod databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1350,7 +1350,7 @@ pub mod databases { } } pub mod list_principals { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1427,7 +1427,7 @@ pub mod databases { } } pub mod add_principals { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1504,7 +1504,7 @@ pub mod databases { } } pub mod remove_principals { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1528,7 +1528,7 @@ pub mod databases { } } pub mod event_hub_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1582,7 +1582,7 @@ pub mod event_hub_connections { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1659,7 +1659,7 @@ pub mod event_hub_connections { } } pub mod eventhub_connection_validation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1730,7 +1730,7 @@ pub mod event_hub_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1816,7 +1816,7 @@ pub mod event_hub_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EventHubConnection), @@ -1905,7 +1905,7 @@ pub mod event_hub_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EventHubConnection), @@ -1982,7 +1982,7 @@ pub mod event_hub_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2012,7 +2012,7 @@ pub mod event_hub_connections { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Kusto/operations", operation_config.base_path(),); @@ -2050,7 +2050,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/azure_kusto/src/package_2019_01_21/operations.rs b/services/mgmt/azure_kusto/src/package_2019_01_21/operations.rs index f924ccfbb0..fb1c2e4e79 100644 --- a/services/mgmt/azure_kusto/src/package_2019_01_21/operations.rs +++ b/services/mgmt/azure_kusto/src/package_2019_01_21/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -217,7 +217,7 @@ pub mod clusters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -289,7 +289,7 @@ pub mod clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -362,7 +362,7 @@ pub mod clusters { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -434,7 +434,7 @@ pub mod clusters { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -512,7 +512,7 @@ pub mod clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -578,7 +578,7 @@ pub mod clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -647,7 +647,7 @@ pub mod clusters { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -722,7 +722,7 @@ pub mod clusters { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -797,7 +797,7 @@ pub mod clusters { } } pub mod list_skus_by_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -821,7 +821,7 @@ pub mod clusters { } } pub mod databases { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -877,7 +877,7 @@ pub mod databases { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -950,7 +950,7 @@ pub mod databases { } } pub mod list_by_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1022,7 +1022,7 @@ pub mod databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1106,7 +1106,7 @@ pub mod databases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1193,7 +1193,7 @@ pub mod databases { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1268,7 +1268,7 @@ pub mod databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1350,7 +1350,7 @@ pub mod databases { } } pub mod list_principals { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1427,7 +1427,7 @@ pub mod databases { } } pub mod add_principals { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1504,7 +1504,7 @@ pub mod databases { } } pub mod remove_principals { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1528,7 +1528,7 @@ pub mod databases { } } pub mod data_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1582,7 +1582,7 @@ pub mod data_connections { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1659,7 +1659,7 @@ pub mod data_connections { } } pub mod data_connection_validation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1735,7 +1735,7 @@ pub mod data_connections { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1809,7 +1809,7 @@ pub mod data_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1895,7 +1895,7 @@ pub mod data_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataConnection), @@ -1984,7 +1984,7 @@ pub mod data_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataConnection), @@ -2061,7 +2061,7 @@ pub mod data_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2091,7 +2091,7 @@ pub mod data_connections { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Kusto/operations", operation_config.base_path(),); @@ -2129,7 +2129,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/azure_kusto/src/package_2019_05_15/operations.rs b/services/mgmt/azure_kusto/src/package_2019_05_15/operations.rs index 7a9fd2e085..0ece4185f2 100644 --- a/services/mgmt/azure_kusto/src/package_2019_05_15/operations.rs +++ b/services/mgmt/azure_kusto/src/package_2019_05_15/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -217,7 +217,7 @@ pub mod clusters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -289,7 +289,7 @@ pub mod clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -362,7 +362,7 @@ pub mod clusters { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -434,7 +434,7 @@ pub mod clusters { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -512,7 +512,7 @@ pub mod clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -578,7 +578,7 @@ pub mod clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -647,7 +647,7 @@ pub mod clusters { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -722,7 +722,7 @@ pub mod clusters { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -797,7 +797,7 @@ pub mod clusters { } } pub mod list_skus_by_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -821,7 +821,7 @@ pub mod clusters { } } pub mod databases { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -877,7 +877,7 @@ pub mod databases { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -950,7 +950,7 @@ pub mod databases { } } pub mod list_by_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1022,7 +1022,7 @@ pub mod databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1106,7 +1106,7 @@ pub mod databases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1193,7 +1193,7 @@ pub mod databases { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1268,7 +1268,7 @@ pub mod databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1350,7 +1350,7 @@ pub mod databases { } } pub mod list_principals { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1427,7 +1427,7 @@ pub mod databases { } } pub mod add_principals { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1504,7 +1504,7 @@ pub mod databases { } } pub mod remove_principals { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1528,7 +1528,7 @@ pub mod databases { } } pub mod data_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1582,7 +1582,7 @@ pub mod data_connections { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1659,7 +1659,7 @@ pub mod data_connections { } } pub mod data_connection_validation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1735,7 +1735,7 @@ pub mod data_connections { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1809,7 +1809,7 @@ pub mod data_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1895,7 +1895,7 @@ pub mod data_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataConnection), @@ -1984,7 +1984,7 @@ pub mod data_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataConnection), @@ -2061,7 +2061,7 @@ pub mod data_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2091,7 +2091,7 @@ pub mod data_connections { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Kusto/operations", operation_config.base_path(),); @@ -2129,7 +2129,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/azure_kusto/src/package_2019_09_07/operations.rs b/services/mgmt/azure_kusto/src/package_2019_09_07/operations.rs index 871330d7f1..4b7edbcd6e 100644 --- a/services/mgmt/azure_kusto/src/package_2019_09_07/operations.rs +++ b/services/mgmt/azure_kusto/src/package_2019_09_07/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -223,7 +223,7 @@ pub mod clusters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -296,7 +296,7 @@ pub mod clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -369,7 +369,7 @@ pub mod clusters { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -441,7 +441,7 @@ pub mod clusters { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -522,7 +522,7 @@ pub mod clusters { } } pub mod list_follower_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -595,7 +595,7 @@ pub mod clusters { } } pub mod detach_follower_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -673,7 +673,7 @@ pub mod clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -739,7 +739,7 @@ pub mod clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -808,7 +808,7 @@ pub mod clusters { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -883,7 +883,7 @@ pub mod clusters { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -958,7 +958,7 @@ pub mod clusters { } } pub mod list_skus_by_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -982,7 +982,7 @@ pub mod clusters { } } pub mod databases { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1038,7 +1038,7 @@ pub mod databases { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1111,7 +1111,7 @@ pub mod databases { } } pub mod list_by_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1183,7 +1183,7 @@ pub mod databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1272,7 +1272,7 @@ pub mod databases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1364,7 +1364,7 @@ pub mod databases { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1439,7 +1439,7 @@ pub mod databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1521,7 +1521,7 @@ pub mod databases { } } pub mod list_principals { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1598,7 +1598,7 @@ pub mod databases { } } pub mod add_principals { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1675,7 +1675,7 @@ pub mod databases { } } pub mod remove_principals { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1699,7 +1699,7 @@ pub mod databases { } } pub mod attached_database_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_cluster( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1751,7 +1751,7 @@ pub mod attached_database_configurations { } } pub mod list_by_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1823,7 +1823,7 @@ pub mod attached_database_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1912,7 +1912,7 @@ pub mod attached_database_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AttachedDatabaseConfiguration), @@ -1987,7 +1987,7 @@ pub mod attached_database_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2017,7 +2017,7 @@ pub mod attached_database_configurations { } } pub mod data_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2071,7 +2071,7 @@ pub mod data_connections { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2148,7 +2148,7 @@ pub mod data_connections { } } pub mod data_connection_validation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2224,7 +2224,7 @@ pub mod data_connections { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2298,7 +2298,7 @@ pub mod data_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2389,7 +2389,7 @@ pub mod data_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataConnection), @@ -2483,7 +2483,7 @@ pub mod data_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataConnection), @@ -2560,7 +2560,7 @@ pub mod data_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2590,7 +2590,7 @@ pub mod data_connections { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Kusto/operations", operation_config.base_path(),); @@ -2628,7 +2628,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/azure_kusto/src/package_2019_11_09/operations.rs b/services/mgmt/azure_kusto/src/package_2019_11_09/operations.rs index 292ba4f258..60c8313e97 100644 --- a/services/mgmt/azure_kusto/src/package_2019_11_09/operations.rs +++ b/services/mgmt/azure_kusto/src/package_2019_11_09/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -223,7 +223,7 @@ pub mod clusters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -296,7 +296,7 @@ pub mod clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -369,7 +369,7 @@ pub mod clusters { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -441,7 +441,7 @@ pub mod clusters { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -522,7 +522,7 @@ pub mod clusters { } } pub mod list_follower_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -595,7 +595,7 @@ pub mod clusters { } } pub mod detach_follower_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -677,7 +677,7 @@ pub mod clusters { } } pub mod diagnose_virtual_network { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiagnoseVirtualNetworkResult), @@ -755,7 +755,7 @@ pub mod clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -821,7 +821,7 @@ pub mod clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -890,7 +890,7 @@ pub mod clusters { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -965,7 +965,7 @@ pub mod clusters { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1040,7 +1040,7 @@ pub mod clusters { } } pub mod list_skus_by_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1064,7 +1064,7 @@ pub mod clusters { } } pub mod cluster_principal_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1120,7 +1120,7 @@ pub mod cluster_principal_assignments { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1192,7 +1192,7 @@ pub mod cluster_principal_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1275,7 +1275,7 @@ pub mod cluster_principal_assignments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ClusterPrincipalAssignment), @@ -1349,7 +1349,7 @@ pub mod cluster_principal_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1425,7 +1425,7 @@ pub mod cluster_principal_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1449,7 +1449,7 @@ pub mod cluster_principal_assignments { } } pub mod databases { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1505,7 +1505,7 @@ pub mod databases { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1578,7 +1578,7 @@ pub mod databases { } } pub mod list_by_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1650,7 +1650,7 @@ pub mod databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1739,7 +1739,7 @@ pub mod databases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1831,7 +1831,7 @@ pub mod databases { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1906,7 +1906,7 @@ pub mod databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1988,7 +1988,7 @@ pub mod databases { } } pub mod list_principals { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2065,7 +2065,7 @@ pub mod databases { } } pub mod add_principals { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2142,7 +2142,7 @@ pub mod databases { } } pub mod remove_principals { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2166,7 +2166,7 @@ pub mod databases { } } pub mod database_principal_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2217,7 +2217,7 @@ pub mod database_principal_assignments { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2291,7 +2291,7 @@ pub mod database_principal_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2376,7 +2376,7 @@ pub mod database_principal_assignments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatabasePrincipalAssignment), @@ -2452,7 +2452,7 @@ pub mod database_principal_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2530,7 +2530,7 @@ pub mod database_principal_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2554,7 +2554,7 @@ pub mod database_principal_assignments { } } pub mod attached_database_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_cluster( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2606,7 +2606,7 @@ pub mod attached_database_configurations { } } pub mod list_by_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2678,7 +2678,7 @@ pub mod attached_database_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2767,7 +2767,7 @@ pub mod attached_database_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AttachedDatabaseConfiguration), @@ -2842,7 +2842,7 @@ pub mod attached_database_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2872,7 +2872,7 @@ pub mod attached_database_configurations { } } pub mod data_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2926,7 +2926,7 @@ pub mod data_connections { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3003,7 +3003,7 @@ pub mod data_connections { } } pub mod data_connection_validation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3079,7 +3079,7 @@ pub mod data_connections { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3153,7 +3153,7 @@ pub mod data_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3244,7 +3244,7 @@ pub mod data_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataConnection), @@ -3338,7 +3338,7 @@ pub mod data_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataConnection), @@ -3415,7 +3415,7 @@ pub mod data_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3445,7 +3445,7 @@ pub mod data_connections { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Kusto/operations", operation_config.base_path(),); @@ -3483,7 +3483,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/azure_kusto/src/package_2020_02_15/operations.rs b/services/mgmt/azure_kusto/src/package_2020_02_15/operations.rs index c20cafb2b4..f835421557 100644 --- a/services/mgmt/azure_kusto/src/package_2020_02_15/operations.rs +++ b/services/mgmt/azure_kusto/src/package_2020_02_15/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -223,7 +223,7 @@ pub mod clusters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -296,7 +296,7 @@ pub mod clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -369,7 +369,7 @@ pub mod clusters { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -441,7 +441,7 @@ pub mod clusters { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -522,7 +522,7 @@ pub mod clusters { } } pub mod list_follower_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -595,7 +595,7 @@ pub mod clusters { } } pub mod detach_follower_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -677,7 +677,7 @@ pub mod clusters { } } pub mod diagnose_virtual_network { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiagnoseVirtualNetworkResult), @@ -755,7 +755,7 @@ pub mod clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -821,7 +821,7 @@ pub mod clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -890,7 +890,7 @@ pub mod clusters { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -965,7 +965,7 @@ pub mod clusters { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1040,7 +1040,7 @@ pub mod clusters { } } pub mod list_skus_by_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1116,7 +1116,7 @@ pub mod clusters { } } pub mod list_language_extensions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1189,7 +1189,7 @@ pub mod clusters { } } pub mod add_language_extensions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1267,7 +1267,7 @@ pub mod clusters { } } pub mod remove_language_extensions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1296,7 +1296,7 @@ pub mod clusters { } } pub mod cluster_principal_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1352,7 +1352,7 @@ pub mod cluster_principal_assignments { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1424,7 +1424,7 @@ pub mod cluster_principal_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1507,7 +1507,7 @@ pub mod cluster_principal_assignments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ClusterPrincipalAssignment), @@ -1581,7 +1581,7 @@ pub mod cluster_principal_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1657,7 +1657,7 @@ pub mod cluster_principal_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1681,7 +1681,7 @@ pub mod cluster_principal_assignments { } } pub mod databases { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1737,7 +1737,7 @@ pub mod databases { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1810,7 +1810,7 @@ pub mod databases { } } pub mod list_by_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1882,7 +1882,7 @@ pub mod databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1971,7 +1971,7 @@ pub mod databases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -2063,7 +2063,7 @@ pub mod databases { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -2138,7 +2138,7 @@ pub mod databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2220,7 +2220,7 @@ pub mod databases { } } pub mod list_principals { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2297,7 +2297,7 @@ pub mod databases { } } pub mod add_principals { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2374,7 +2374,7 @@ pub mod databases { } } pub mod remove_principals { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2398,7 +2398,7 @@ pub mod databases { } } pub mod database_principal_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2449,7 +2449,7 @@ pub mod database_principal_assignments { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2523,7 +2523,7 @@ pub mod database_principal_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2608,7 +2608,7 @@ pub mod database_principal_assignments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatabasePrincipalAssignment), @@ -2684,7 +2684,7 @@ pub mod database_principal_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2762,7 +2762,7 @@ pub mod database_principal_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2786,7 +2786,7 @@ pub mod database_principal_assignments { } } pub mod attached_database_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_cluster( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2838,7 +2838,7 @@ pub mod attached_database_configurations { } } pub mod list_by_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2910,7 +2910,7 @@ pub mod attached_database_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2999,7 +2999,7 @@ pub mod attached_database_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AttachedDatabaseConfiguration), @@ -3074,7 +3074,7 @@ pub mod attached_database_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3104,7 +3104,7 @@ pub mod attached_database_configurations { } } pub mod data_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3158,7 +3158,7 @@ pub mod data_connections { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3235,7 +3235,7 @@ pub mod data_connections { } } pub mod data_connection_validation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3311,7 +3311,7 @@ pub mod data_connections { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3385,7 +3385,7 @@ pub mod data_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3476,7 +3476,7 @@ pub mod data_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataConnection), @@ -3570,7 +3570,7 @@ pub mod data_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataConnection), @@ -3647,7 +3647,7 @@ pub mod data_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3677,7 +3677,7 @@ pub mod data_connections { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Kusto/operations", operation_config.base_path(),); @@ -3715,7 +3715,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/azure_kusto/src/package_2020_06_14/operations.rs b/services/mgmt/azure_kusto/src/package_2020_06_14/operations.rs index f680954e97..fed657875b 100644 --- a/services/mgmt/azure_kusto/src/package_2020_06_14/operations.rs +++ b/services/mgmt/azure_kusto/src/package_2020_06_14/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -223,7 +223,7 @@ pub mod clusters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -296,7 +296,7 @@ pub mod clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -369,7 +369,7 @@ pub mod clusters { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -441,7 +441,7 @@ pub mod clusters { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -522,7 +522,7 @@ pub mod clusters { } } pub mod list_follower_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -595,7 +595,7 @@ pub mod clusters { } } pub mod detach_follower_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -677,7 +677,7 @@ pub mod clusters { } } pub mod diagnose_virtual_network { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiagnoseVirtualNetworkResult), @@ -755,7 +755,7 @@ pub mod clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -821,7 +821,7 @@ pub mod clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -890,7 +890,7 @@ pub mod clusters { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -965,7 +965,7 @@ pub mod clusters { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1040,7 +1040,7 @@ pub mod clusters { } } pub mod list_skus_by_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1116,7 +1116,7 @@ pub mod clusters { } } pub mod list_language_extensions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1189,7 +1189,7 @@ pub mod clusters { } } pub mod add_language_extensions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1267,7 +1267,7 @@ pub mod clusters { } } pub mod remove_language_extensions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1296,7 +1296,7 @@ pub mod clusters { } } pub mod cluster_principal_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1352,7 +1352,7 @@ pub mod cluster_principal_assignments { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1424,7 +1424,7 @@ pub mod cluster_principal_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1507,7 +1507,7 @@ pub mod cluster_principal_assignments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ClusterPrincipalAssignment), @@ -1581,7 +1581,7 @@ pub mod cluster_principal_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1657,7 +1657,7 @@ pub mod cluster_principal_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1681,7 +1681,7 @@ pub mod cluster_principal_assignments { } } pub mod databases { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1737,7 +1737,7 @@ pub mod databases { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1810,7 +1810,7 @@ pub mod databases { } } pub mod list_by_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1882,7 +1882,7 @@ pub mod databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1971,7 +1971,7 @@ pub mod databases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -2063,7 +2063,7 @@ pub mod databases { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -2138,7 +2138,7 @@ pub mod databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2220,7 +2220,7 @@ pub mod databases { } } pub mod list_principals { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2297,7 +2297,7 @@ pub mod databases { } } pub mod add_principals { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2374,7 +2374,7 @@ pub mod databases { } } pub mod remove_principals { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2398,7 +2398,7 @@ pub mod databases { } } pub mod database_principal_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2449,7 +2449,7 @@ pub mod database_principal_assignments { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2523,7 +2523,7 @@ pub mod database_principal_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2608,7 +2608,7 @@ pub mod database_principal_assignments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatabasePrincipalAssignment), @@ -2684,7 +2684,7 @@ pub mod database_principal_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2762,7 +2762,7 @@ pub mod database_principal_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2786,7 +2786,7 @@ pub mod database_principal_assignments { } } pub mod attached_database_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_cluster( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2838,7 +2838,7 @@ pub mod attached_database_configurations { } } pub mod list_by_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2910,7 +2910,7 @@ pub mod attached_database_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2999,7 +2999,7 @@ pub mod attached_database_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AttachedDatabaseConfiguration), @@ -3074,7 +3074,7 @@ pub mod attached_database_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3104,7 +3104,7 @@ pub mod attached_database_configurations { } } pub mod data_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3158,7 +3158,7 @@ pub mod data_connections { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3238,7 +3238,7 @@ pub mod data_connections { } } pub mod data_connection_validation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataConnectionValidationListResult), @@ -3322,7 +3322,7 @@ pub mod data_connections { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3396,7 +3396,7 @@ pub mod data_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3487,7 +3487,7 @@ pub mod data_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataConnection), @@ -3581,7 +3581,7 @@ pub mod data_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataConnection), @@ -3658,7 +3658,7 @@ pub mod data_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3688,7 +3688,7 @@ pub mod data_connections { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Kusto/operations", operation_config.base_path(),); @@ -3726,7 +3726,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/azure_kusto/src/package_2020_09_18/operations.rs b/services/mgmt/azure_kusto/src/package_2020_09_18/operations.rs index f680954e97..fed657875b 100644 --- a/services/mgmt/azure_kusto/src/package_2020_09_18/operations.rs +++ b/services/mgmt/azure_kusto/src/package_2020_09_18/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -223,7 +223,7 @@ pub mod clusters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -296,7 +296,7 @@ pub mod clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -369,7 +369,7 @@ pub mod clusters { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -441,7 +441,7 @@ pub mod clusters { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -522,7 +522,7 @@ pub mod clusters { } } pub mod list_follower_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -595,7 +595,7 @@ pub mod clusters { } } pub mod detach_follower_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -677,7 +677,7 @@ pub mod clusters { } } pub mod diagnose_virtual_network { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiagnoseVirtualNetworkResult), @@ -755,7 +755,7 @@ pub mod clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -821,7 +821,7 @@ pub mod clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -890,7 +890,7 @@ pub mod clusters { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -965,7 +965,7 @@ pub mod clusters { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1040,7 +1040,7 @@ pub mod clusters { } } pub mod list_skus_by_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1116,7 +1116,7 @@ pub mod clusters { } } pub mod list_language_extensions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1189,7 +1189,7 @@ pub mod clusters { } } pub mod add_language_extensions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1267,7 +1267,7 @@ pub mod clusters { } } pub mod remove_language_extensions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1296,7 +1296,7 @@ pub mod clusters { } } pub mod cluster_principal_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1352,7 +1352,7 @@ pub mod cluster_principal_assignments { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1424,7 +1424,7 @@ pub mod cluster_principal_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1507,7 +1507,7 @@ pub mod cluster_principal_assignments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ClusterPrincipalAssignment), @@ -1581,7 +1581,7 @@ pub mod cluster_principal_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1657,7 +1657,7 @@ pub mod cluster_principal_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1681,7 +1681,7 @@ pub mod cluster_principal_assignments { } } pub mod databases { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1737,7 +1737,7 @@ pub mod databases { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1810,7 +1810,7 @@ pub mod databases { } } pub mod list_by_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1882,7 +1882,7 @@ pub mod databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1971,7 +1971,7 @@ pub mod databases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -2063,7 +2063,7 @@ pub mod databases { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -2138,7 +2138,7 @@ pub mod databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2220,7 +2220,7 @@ pub mod databases { } } pub mod list_principals { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2297,7 +2297,7 @@ pub mod databases { } } pub mod add_principals { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2374,7 +2374,7 @@ pub mod databases { } } pub mod remove_principals { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2398,7 +2398,7 @@ pub mod databases { } } pub mod database_principal_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2449,7 +2449,7 @@ pub mod database_principal_assignments { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2523,7 +2523,7 @@ pub mod database_principal_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2608,7 +2608,7 @@ pub mod database_principal_assignments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatabasePrincipalAssignment), @@ -2684,7 +2684,7 @@ pub mod database_principal_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2762,7 +2762,7 @@ pub mod database_principal_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2786,7 +2786,7 @@ pub mod database_principal_assignments { } } pub mod attached_database_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_cluster( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2838,7 +2838,7 @@ pub mod attached_database_configurations { } } pub mod list_by_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2910,7 +2910,7 @@ pub mod attached_database_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2999,7 +2999,7 @@ pub mod attached_database_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AttachedDatabaseConfiguration), @@ -3074,7 +3074,7 @@ pub mod attached_database_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3104,7 +3104,7 @@ pub mod attached_database_configurations { } } pub mod data_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3158,7 +3158,7 @@ pub mod data_connections { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3238,7 +3238,7 @@ pub mod data_connections { } } pub mod data_connection_validation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataConnectionValidationListResult), @@ -3322,7 +3322,7 @@ pub mod data_connections { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3396,7 +3396,7 @@ pub mod data_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3487,7 +3487,7 @@ pub mod data_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataConnection), @@ -3581,7 +3581,7 @@ pub mod data_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataConnection), @@ -3658,7 +3658,7 @@ pub mod data_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3688,7 +3688,7 @@ pub mod data_connections { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Kusto/operations", operation_config.base_path(),); @@ -3726,7 +3726,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/azure_kusto/src/package_2021_01/operations.rs b/services/mgmt/azure_kusto/src/package_2021_01/operations.rs index ac8e60fe70..628d74edf0 100644 --- a/services/mgmt/azure_kusto/src/package_2021_01/operations.rs +++ b/services/mgmt/azure_kusto/src/package_2021_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -142,7 +142,7 @@ pub mod clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -235,7 +235,7 @@ pub mod clusters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -308,7 +308,7 @@ pub mod clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -381,7 +381,7 @@ pub mod clusters { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -453,7 +453,7 @@ pub mod clusters { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -534,7 +534,7 @@ pub mod clusters { } } pub mod list_follower_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -607,7 +607,7 @@ pub mod clusters { } } pub mod detach_follower_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -689,7 +689,7 @@ pub mod clusters { } } pub mod diagnose_virtual_network { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiagnoseVirtualNetworkResult), @@ -767,7 +767,7 @@ pub mod clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -833,7 +833,7 @@ pub mod clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -902,7 +902,7 @@ pub mod clusters { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -977,7 +977,7 @@ pub mod clusters { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1052,7 +1052,7 @@ pub mod clusters { } } pub mod list_skus_by_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1128,7 +1128,7 @@ pub mod clusters { } } pub mod list_language_extensions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1201,7 +1201,7 @@ pub mod clusters { } } pub mod add_language_extensions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1279,7 +1279,7 @@ pub mod clusters { } } pub mod remove_language_extensions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1308,7 +1308,7 @@ pub mod clusters { } } pub mod cluster_principal_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1364,7 +1364,7 @@ pub mod cluster_principal_assignments { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1436,7 +1436,7 @@ pub mod cluster_principal_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1519,7 +1519,7 @@ pub mod cluster_principal_assignments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ClusterPrincipalAssignment), @@ -1593,7 +1593,7 @@ pub mod cluster_principal_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1669,7 +1669,7 @@ pub mod cluster_principal_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1693,7 +1693,7 @@ pub mod cluster_principal_assignments { } } pub mod databases { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1749,7 +1749,7 @@ pub mod databases { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1822,7 +1822,7 @@ pub mod databases { } } pub mod list_by_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1894,7 +1894,7 @@ pub mod databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1983,7 +1983,7 @@ pub mod databases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -2075,7 +2075,7 @@ pub mod databases { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -2150,7 +2150,7 @@ pub mod databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2232,7 +2232,7 @@ pub mod databases { } } pub mod list_principals { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2309,7 +2309,7 @@ pub mod databases { } } pub mod add_principals { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2386,7 +2386,7 @@ pub mod databases { } } pub mod remove_principals { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2410,7 +2410,7 @@ pub mod databases { } } pub mod database_principal_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2461,7 +2461,7 @@ pub mod database_principal_assignments { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2535,7 +2535,7 @@ pub mod database_principal_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2620,7 +2620,7 @@ pub mod database_principal_assignments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatabasePrincipalAssignment), @@ -2696,7 +2696,7 @@ pub mod database_principal_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2774,7 +2774,7 @@ pub mod database_principal_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2798,7 +2798,7 @@ pub mod database_principal_assignments { } } pub mod scripts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2852,7 +2852,7 @@ pub mod scripts { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2926,7 +2926,7 @@ pub mod scripts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3017,7 +3017,7 @@ pub mod scripts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Script), @@ -3105,7 +3105,7 @@ pub mod scripts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Script), @@ -3181,7 +3181,7 @@ pub mod scripts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3266,7 +3266,7 @@ pub mod scripts { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3290,7 +3290,7 @@ pub mod scripts { } } pub mod attached_database_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_cluster( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3342,7 +3342,7 @@ pub mod attached_database_configurations { } } pub mod list_by_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3414,7 +3414,7 @@ pub mod attached_database_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3503,7 +3503,7 @@ pub mod attached_database_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AttachedDatabaseConfiguration), @@ -3578,7 +3578,7 @@ pub mod attached_database_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3608,7 +3608,7 @@ pub mod attached_database_configurations { } } pub mod data_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3662,7 +3662,7 @@ pub mod data_connections { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3742,7 +3742,7 @@ pub mod data_connections { } } pub mod data_connection_validation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataConnectionValidationListResult), @@ -3826,7 +3826,7 @@ pub mod data_connections { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3900,7 +3900,7 @@ pub mod data_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3991,7 +3991,7 @@ pub mod data_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataConnection), @@ -4085,7 +4085,7 @@ pub mod data_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataConnection), @@ -4162,7 +4162,7 @@ pub mod data_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4192,7 +4192,7 @@ pub mod data_connections { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Kusto/operations", operation_config.base_path(),); @@ -4230,7 +4230,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4254,7 +4254,7 @@ pub mod operations { } } pub mod operations_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4303,7 +4303,7 @@ pub mod operations_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/azure_kusto/src/package_2021_08_27/operations.rs b/services/mgmt/azure_kusto/src/package_2021_08_27/operations.rs index cc8eae46fd..c24b6fa3c9 100644 --- a/services/mgmt/azure_kusto/src/package_2021_08_27/operations.rs +++ b/services/mgmt/azure_kusto/src/package_2021_08_27/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -142,7 +142,7 @@ pub mod clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -235,7 +235,7 @@ pub mod clusters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -308,7 +308,7 @@ pub mod clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -381,7 +381,7 @@ pub mod clusters { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -453,7 +453,7 @@ pub mod clusters { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -534,7 +534,7 @@ pub mod clusters { } } pub mod list_follower_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -607,7 +607,7 @@ pub mod clusters { } } pub mod detach_follower_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -689,7 +689,7 @@ pub mod clusters { } } pub mod diagnose_virtual_network { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiagnoseVirtualNetworkResult), @@ -767,7 +767,7 @@ pub mod clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -833,7 +833,7 @@ pub mod clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -902,7 +902,7 @@ pub mod clusters { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -977,7 +977,7 @@ pub mod clusters { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1052,7 +1052,7 @@ pub mod clusters { } } pub mod list_skus_by_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1127,7 +1127,7 @@ pub mod clusters { } } pub mod list_outbound_network_dependencies_endpoints { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1203,7 +1203,7 @@ pub mod clusters { } } pub mod list_language_extensions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1276,7 +1276,7 @@ pub mod clusters { } } pub mod add_language_extensions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1354,7 +1354,7 @@ pub mod clusters { } } pub mod remove_language_extensions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1383,7 +1383,7 @@ pub mod clusters { } } pub mod cluster_principal_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1439,7 +1439,7 @@ pub mod cluster_principal_assignments { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1511,7 +1511,7 @@ pub mod cluster_principal_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1594,7 +1594,7 @@ pub mod cluster_principal_assignments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ClusterPrincipalAssignment), @@ -1668,7 +1668,7 @@ pub mod cluster_principal_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1744,7 +1744,7 @@ pub mod cluster_principal_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1768,7 +1768,7 @@ pub mod cluster_principal_assignments { } } pub mod databases { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1824,7 +1824,7 @@ pub mod databases { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1897,7 +1897,7 @@ pub mod databases { } } pub mod list_by_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1969,7 +1969,7 @@ pub mod databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2058,7 +2058,7 @@ pub mod databases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -2150,7 +2150,7 @@ pub mod databases { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -2225,7 +2225,7 @@ pub mod databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2307,7 +2307,7 @@ pub mod databases { } } pub mod list_principals { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2384,7 +2384,7 @@ pub mod databases { } } pub mod add_principals { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2461,7 +2461,7 @@ pub mod databases { } } pub mod remove_principals { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2485,7 +2485,7 @@ pub mod databases { } } pub mod attached_database_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2535,7 +2535,7 @@ pub mod attached_database_configurations { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2608,7 +2608,7 @@ pub mod attached_database_configurations { } } pub mod list_by_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2680,7 +2680,7 @@ pub mod attached_database_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2769,7 +2769,7 @@ pub mod attached_database_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AttachedDatabaseConfiguration), @@ -2844,7 +2844,7 @@ pub mod attached_database_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2874,7 +2874,7 @@ pub mod attached_database_configurations { } } pub mod managed_private_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2930,7 +2930,7 @@ pub mod managed_private_endpoints { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3000,7 +3000,7 @@ pub mod managed_private_endpoints { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3072,7 +3072,7 @@ pub mod managed_private_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3161,7 +3161,7 @@ pub mod managed_private_endpoints { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedPrivateEndpoint), @@ -3247,7 +3247,7 @@ pub mod managed_private_endpoints { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedPrivateEndpoint), @@ -3321,7 +3321,7 @@ pub mod managed_private_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3351,7 +3351,7 @@ pub mod managed_private_endpoints { } } pub mod database_principal_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3402,7 +3402,7 @@ pub mod database_principal_assignments { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3476,7 +3476,7 @@ pub mod database_principal_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3561,7 +3561,7 @@ pub mod database_principal_assignments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatabasePrincipalAssignment), @@ -3637,7 +3637,7 @@ pub mod database_principal_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3715,7 +3715,7 @@ pub mod database_principal_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3739,7 +3739,7 @@ pub mod database_principal_assignments { } } pub mod scripts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3793,7 +3793,7 @@ pub mod scripts { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3867,7 +3867,7 @@ pub mod scripts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3958,7 +3958,7 @@ pub mod scripts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Script), @@ -4046,7 +4046,7 @@ pub mod scripts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Script), @@ -4122,7 +4122,7 @@ pub mod scripts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4207,7 +4207,7 @@ pub mod scripts { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4231,7 +4231,7 @@ pub mod scripts { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4280,7 +4280,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4352,7 +4352,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4435,7 +4435,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -4509,7 +4509,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4539,7 +4539,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4588,7 +4588,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4660,7 +4660,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4684,7 +4684,7 @@ pub mod private_link_resources { } } pub mod data_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4738,7 +4738,7 @@ pub mod data_connections { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4818,7 +4818,7 @@ pub mod data_connections { } } pub mod data_connection_validation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataConnectionValidationListResult), @@ -4902,7 +4902,7 @@ pub mod data_connections { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4976,7 +4976,7 @@ pub mod data_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5067,7 +5067,7 @@ pub mod data_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataConnection), @@ -5161,7 +5161,7 @@ pub mod data_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataConnection), @@ -5238,7 +5238,7 @@ pub mod data_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5268,7 +5268,7 @@ pub mod data_connections { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Kusto/operations", operation_config.base_path(),); @@ -5306,7 +5306,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5330,7 +5330,7 @@ pub mod operations { } } pub mod operations_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5379,7 +5379,7 @@ pub mod operations_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/azure_kusto/src/schema_2017_09_07_privatepreview/operations.rs b/services/mgmt/azure_kusto/src/schema_2017_09_07_privatepreview/operations.rs index 57221cdf19..2be2beedcf 100644 --- a/services/mgmt/azure_kusto/src/schema_2017_09_07_privatepreview/operations.rs +++ b/services/mgmt/azure_kusto/src/schema_2017_09_07_privatepreview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -217,7 +217,7 @@ pub mod clusters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -289,7 +289,7 @@ pub mod clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -362,7 +362,7 @@ pub mod clusters { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -434,7 +434,7 @@ pub mod clusters { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -512,7 +512,7 @@ pub mod clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -578,7 +578,7 @@ pub mod clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -647,7 +647,7 @@ pub mod clusters { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -722,7 +722,7 @@ pub mod clusters { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -797,7 +797,7 @@ pub mod clusters { } } pub mod list_skus_by_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -821,7 +821,7 @@ pub mod clusters { } } pub mod databases { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -877,7 +877,7 @@ pub mod databases { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -950,7 +950,7 @@ pub mod databases { } } pub mod list_by_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1022,7 +1022,7 @@ pub mod databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1106,7 +1106,7 @@ pub mod databases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1193,7 +1193,7 @@ pub mod databases { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1268,7 +1268,7 @@ pub mod databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1350,7 +1350,7 @@ pub mod databases { } } pub mod list_principals { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1427,7 +1427,7 @@ pub mod databases { } } pub mod add_principals { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1504,7 +1504,7 @@ pub mod databases { } } pub mod remove_principals { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1528,7 +1528,7 @@ pub mod databases { } } pub mod event_hub_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1582,7 +1582,7 @@ pub mod event_hub_connections { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1659,7 +1659,7 @@ pub mod event_hub_connections { } } pub mod eventhub_connection_validation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1730,7 +1730,7 @@ pub mod event_hub_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1816,7 +1816,7 @@ pub mod event_hub_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EventHubConnection), @@ -1905,7 +1905,7 @@ pub mod event_hub_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EventHubConnection), @@ -1982,7 +1982,7 @@ pub mod event_hub_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2012,7 +2012,7 @@ pub mod event_hub_connections { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Kusto/operations", operation_config.base_path(),); @@ -2050,7 +2050,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/azure_kusto/src/schema_2018_09_07_preview/operations.rs b/services/mgmt/azure_kusto/src/schema_2018_09_07_preview/operations.rs index 57221cdf19..2be2beedcf 100644 --- a/services/mgmt/azure_kusto/src/schema_2018_09_07_preview/operations.rs +++ b/services/mgmt/azure_kusto/src/schema_2018_09_07_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -217,7 +217,7 @@ pub mod clusters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -289,7 +289,7 @@ pub mod clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -362,7 +362,7 @@ pub mod clusters { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -434,7 +434,7 @@ pub mod clusters { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -512,7 +512,7 @@ pub mod clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -578,7 +578,7 @@ pub mod clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -647,7 +647,7 @@ pub mod clusters { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -722,7 +722,7 @@ pub mod clusters { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -797,7 +797,7 @@ pub mod clusters { } } pub mod list_skus_by_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -821,7 +821,7 @@ pub mod clusters { } } pub mod databases { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -877,7 +877,7 @@ pub mod databases { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -950,7 +950,7 @@ pub mod databases { } } pub mod list_by_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1022,7 +1022,7 @@ pub mod databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1106,7 +1106,7 @@ pub mod databases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1193,7 +1193,7 @@ pub mod databases { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1268,7 +1268,7 @@ pub mod databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1350,7 +1350,7 @@ pub mod databases { } } pub mod list_principals { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1427,7 +1427,7 @@ pub mod databases { } } pub mod add_principals { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1504,7 +1504,7 @@ pub mod databases { } } pub mod remove_principals { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1528,7 +1528,7 @@ pub mod databases { } } pub mod event_hub_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1582,7 +1582,7 @@ pub mod event_hub_connections { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1659,7 +1659,7 @@ pub mod event_hub_connections { } } pub mod eventhub_connection_validation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1730,7 +1730,7 @@ pub mod event_hub_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1816,7 +1816,7 @@ pub mod event_hub_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EventHubConnection), @@ -1905,7 +1905,7 @@ pub mod event_hub_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EventHubConnection), @@ -1982,7 +1982,7 @@ pub mod event_hub_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2012,7 +2012,7 @@ pub mod event_hub_connections { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Kusto/operations", operation_config.base_path(),); @@ -2050,7 +2050,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/azure_kusto/src/schema_2019_01_21/operations.rs b/services/mgmt/azure_kusto/src/schema_2019_01_21/operations.rs index f924ccfbb0..fb1c2e4e79 100644 --- a/services/mgmt/azure_kusto/src/schema_2019_01_21/operations.rs +++ b/services/mgmt/azure_kusto/src/schema_2019_01_21/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -217,7 +217,7 @@ pub mod clusters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -289,7 +289,7 @@ pub mod clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -362,7 +362,7 @@ pub mod clusters { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -434,7 +434,7 @@ pub mod clusters { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -512,7 +512,7 @@ pub mod clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -578,7 +578,7 @@ pub mod clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -647,7 +647,7 @@ pub mod clusters { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -722,7 +722,7 @@ pub mod clusters { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -797,7 +797,7 @@ pub mod clusters { } } pub mod list_skus_by_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -821,7 +821,7 @@ pub mod clusters { } } pub mod databases { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -877,7 +877,7 @@ pub mod databases { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -950,7 +950,7 @@ pub mod databases { } } pub mod list_by_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1022,7 +1022,7 @@ pub mod databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1106,7 +1106,7 @@ pub mod databases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1193,7 +1193,7 @@ pub mod databases { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1268,7 +1268,7 @@ pub mod databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1350,7 +1350,7 @@ pub mod databases { } } pub mod list_principals { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1427,7 +1427,7 @@ pub mod databases { } } pub mod add_principals { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1504,7 +1504,7 @@ pub mod databases { } } pub mod remove_principals { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1528,7 +1528,7 @@ pub mod databases { } } pub mod data_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1582,7 +1582,7 @@ pub mod data_connections { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1659,7 +1659,7 @@ pub mod data_connections { } } pub mod data_connection_validation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1735,7 +1735,7 @@ pub mod data_connections { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1809,7 +1809,7 @@ pub mod data_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1895,7 +1895,7 @@ pub mod data_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataConnection), @@ -1984,7 +1984,7 @@ pub mod data_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataConnection), @@ -2061,7 +2061,7 @@ pub mod data_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2091,7 +2091,7 @@ pub mod data_connections { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Kusto/operations", operation_config.base_path(),); @@ -2129,7 +2129,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/azure_kusto/src/schema_2019_05_15/operations.rs b/services/mgmt/azure_kusto/src/schema_2019_05_15/operations.rs index 7a9fd2e085..0ece4185f2 100644 --- a/services/mgmt/azure_kusto/src/schema_2019_05_15/operations.rs +++ b/services/mgmt/azure_kusto/src/schema_2019_05_15/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -217,7 +217,7 @@ pub mod clusters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -289,7 +289,7 @@ pub mod clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -362,7 +362,7 @@ pub mod clusters { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -434,7 +434,7 @@ pub mod clusters { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -512,7 +512,7 @@ pub mod clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -578,7 +578,7 @@ pub mod clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -647,7 +647,7 @@ pub mod clusters { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -722,7 +722,7 @@ pub mod clusters { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -797,7 +797,7 @@ pub mod clusters { } } pub mod list_skus_by_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -821,7 +821,7 @@ pub mod clusters { } } pub mod databases { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -877,7 +877,7 @@ pub mod databases { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -950,7 +950,7 @@ pub mod databases { } } pub mod list_by_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1022,7 +1022,7 @@ pub mod databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1106,7 +1106,7 @@ pub mod databases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1193,7 +1193,7 @@ pub mod databases { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1268,7 +1268,7 @@ pub mod databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1350,7 +1350,7 @@ pub mod databases { } } pub mod list_principals { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1427,7 +1427,7 @@ pub mod databases { } } pub mod add_principals { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1504,7 +1504,7 @@ pub mod databases { } } pub mod remove_principals { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1528,7 +1528,7 @@ pub mod databases { } } pub mod data_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1582,7 +1582,7 @@ pub mod data_connections { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1659,7 +1659,7 @@ pub mod data_connections { } } pub mod data_connection_validation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1735,7 +1735,7 @@ pub mod data_connections { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1809,7 +1809,7 @@ pub mod data_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1895,7 +1895,7 @@ pub mod data_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataConnection), @@ -1984,7 +1984,7 @@ pub mod data_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataConnection), @@ -2061,7 +2061,7 @@ pub mod data_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2091,7 +2091,7 @@ pub mod data_connections { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Kusto/operations", operation_config.base_path(),); @@ -2129,7 +2129,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/azure_kusto/src/schema_2019_09_07/operations.rs b/services/mgmt/azure_kusto/src/schema_2019_09_07/operations.rs index 871330d7f1..4b7edbcd6e 100644 --- a/services/mgmt/azure_kusto/src/schema_2019_09_07/operations.rs +++ b/services/mgmt/azure_kusto/src/schema_2019_09_07/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -223,7 +223,7 @@ pub mod clusters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -296,7 +296,7 @@ pub mod clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -369,7 +369,7 @@ pub mod clusters { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -441,7 +441,7 @@ pub mod clusters { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -522,7 +522,7 @@ pub mod clusters { } } pub mod list_follower_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -595,7 +595,7 @@ pub mod clusters { } } pub mod detach_follower_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -673,7 +673,7 @@ pub mod clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -739,7 +739,7 @@ pub mod clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -808,7 +808,7 @@ pub mod clusters { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -883,7 +883,7 @@ pub mod clusters { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -958,7 +958,7 @@ pub mod clusters { } } pub mod list_skus_by_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -982,7 +982,7 @@ pub mod clusters { } } pub mod databases { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1038,7 +1038,7 @@ pub mod databases { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1111,7 +1111,7 @@ pub mod databases { } } pub mod list_by_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1183,7 +1183,7 @@ pub mod databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1272,7 +1272,7 @@ pub mod databases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1364,7 +1364,7 @@ pub mod databases { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1439,7 +1439,7 @@ pub mod databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1521,7 +1521,7 @@ pub mod databases { } } pub mod list_principals { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1598,7 +1598,7 @@ pub mod databases { } } pub mod add_principals { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1675,7 +1675,7 @@ pub mod databases { } } pub mod remove_principals { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1699,7 +1699,7 @@ pub mod databases { } } pub mod attached_database_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_cluster( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1751,7 +1751,7 @@ pub mod attached_database_configurations { } } pub mod list_by_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1823,7 +1823,7 @@ pub mod attached_database_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1912,7 +1912,7 @@ pub mod attached_database_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AttachedDatabaseConfiguration), @@ -1987,7 +1987,7 @@ pub mod attached_database_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2017,7 +2017,7 @@ pub mod attached_database_configurations { } } pub mod data_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2071,7 +2071,7 @@ pub mod data_connections { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2148,7 +2148,7 @@ pub mod data_connections { } } pub mod data_connection_validation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2224,7 +2224,7 @@ pub mod data_connections { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2298,7 +2298,7 @@ pub mod data_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2389,7 +2389,7 @@ pub mod data_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataConnection), @@ -2483,7 +2483,7 @@ pub mod data_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataConnection), @@ -2560,7 +2560,7 @@ pub mod data_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2590,7 +2590,7 @@ pub mod data_connections { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Kusto/operations", operation_config.base_path(),); @@ -2628,7 +2628,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/azureactivedirectory/Cargo.toml b/services/mgmt/azureactivedirectory/Cargo.toml index e80074e664..07e6a16169 100644 --- a/services/mgmt/azureactivedirectory/Cargo.toml +++ b/services/mgmt/azureactivedirectory/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2020-03"] +no-default-version = [] "package-preview-2017-04" = [] "package-preview-2020-03" = [] "package-2020-03" = [] diff --git a/services/mgmt/azureactivedirectory/src/lib.rs b/services/mgmt/azureactivedirectory/src/lib.rs index d3f1b6f9fc..5a03de2bab 100644 --- a/services/mgmt/azureactivedirectory/src/lib.rs +++ b/services/mgmt/azureactivedirectory/src/lib.rs @@ -1,21 +1,29 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-preview-2017-04")] -mod package_preview_2017_04; -#[cfg(feature = "package-preview-2017-04")] +pub mod package_preview_2017_04; +#[cfg(all(feature = "package-preview-2017-04", not(feature = "no-default-version")))] pub use package_preview_2017_04::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2020-03")] -mod package_preview_2020_03; -#[cfg(feature = "package-preview-2020-03")] +pub mod package_preview_2020_03; +#[cfg(all(feature = "package-preview-2020-03", not(feature = "no-default-version")))] pub use package_preview_2020_03::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-03")] -mod package_2020_03; -#[cfg(feature = "package-2020-03")] +pub mod package_2020_03; +#[cfg(all(feature = "package-2020-03", not(feature = "no-default-version")))] pub use package_2020_03::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-04-01")] -mod package_2017_04_01; +pub mod package_2017_04_01; use azure_core::setters; -#[cfg(feature = "package-2017-04-01")] +#[cfg(all(feature = "package-2017-04-01", not(feature = "no-default-version")))] pub use package_2017_04_01::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -39,7 +47,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/azureactivedirectory/src/package_2017_04_01/operations.rs b/services/mgmt/azureactivedirectory/src/package_2017_04_01/operations.rs index 6ed5ac1b94..5b56f88d53 100644 --- a/services/mgmt/azureactivedirectory/src/package_2017_04_01/operations.rs +++ b/services/mgmt/azureactivedirectory/src/package_2017_04_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/microsoft.aadiam/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod diagnostic_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/microsoft.aadiam/diagnosticSettings", operation_config.base_path(),); @@ -104,7 +104,7 @@ pub mod diagnostic_settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -167,7 +167,7 @@ pub mod diagnostic_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -238,7 +238,7 @@ pub mod diagnostic_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -297,7 +297,7 @@ pub mod diagnostic_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -326,7 +326,7 @@ pub mod diagnostic_settings { } } pub mod diagnostic_settings_category { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -369,7 +369,7 @@ pub mod diagnostic_settings_category { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/azureactivedirectory/src/package_2020_03/operations.rs b/services/mgmt/azureactivedirectory/src/package_2020_03/operations.rs index c5aa3fcbc2..1b51231709 100644 --- a/services/mgmt/azureactivedirectory/src/package_2020_03/operations.rs +++ b/services/mgmt/azureactivedirectory/src/package_2020_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod private_link_for_azure_ad { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod private_link_for_azure_ad { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -131,7 +131,7 @@ pub mod private_link_for_azure_ad { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkPolicy), @@ -212,7 +212,7 @@ pub mod private_link_for_azure_ad { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -278,7 +278,7 @@ pub mod private_link_for_azure_ad { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -352,7 +352,7 @@ pub mod private_link_for_azure_ad { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -420,7 +420,7 @@ pub mod private_link_for_azure_ad { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -444,7 +444,7 @@ pub mod private_link_for_azure_ad { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_private_link_policy( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -496,7 +496,7 @@ pub mod private_link_resources { } } pub mod list_by_private_link_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -563,7 +563,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -584,7 +584,7 @@ pub mod private_link_resources { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_policy_name( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -636,7 +636,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_policy_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -708,7 +708,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -782,7 +782,7 @@ pub mod private_endpoint_connections { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -851,7 +851,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/azureactivedirectory/src/package_preview_2017_04/operations.rs b/services/mgmt/azureactivedirectory/src/package_preview_2017_04/operations.rs index 6ed5ac1b94..5b56f88d53 100644 --- a/services/mgmt/azureactivedirectory/src/package_preview_2017_04/operations.rs +++ b/services/mgmt/azureactivedirectory/src/package_preview_2017_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/microsoft.aadiam/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod diagnostic_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/microsoft.aadiam/diagnosticSettings", operation_config.base_path(),); @@ -104,7 +104,7 @@ pub mod diagnostic_settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -167,7 +167,7 @@ pub mod diagnostic_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -238,7 +238,7 @@ pub mod diagnostic_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -297,7 +297,7 @@ pub mod diagnostic_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -326,7 +326,7 @@ pub mod diagnostic_settings { } } pub mod diagnostic_settings_category { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -369,7 +369,7 @@ pub mod diagnostic_settings_category { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/azureactivedirectory/src/package_preview_2020_03/operations.rs b/services/mgmt/azureactivedirectory/src/package_preview_2020_03/operations.rs index f177f1ce3c..0a581b4037 100644 --- a/services/mgmt/azureactivedirectory/src/package_preview_2020_03/operations.rs +++ b/services/mgmt/azureactivedirectory/src/package_preview_2020_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod private_link_for_azure_ad { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod private_link_for_azure_ad { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -131,7 +131,7 @@ pub mod private_link_for_azure_ad { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkPolicy), @@ -212,7 +212,7 @@ pub mod private_link_for_azure_ad { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -278,7 +278,7 @@ pub mod private_link_for_azure_ad { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -352,7 +352,7 @@ pub mod private_link_for_azure_ad { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -420,7 +420,7 @@ pub mod private_link_for_azure_ad { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -444,7 +444,7 @@ pub mod private_link_for_azure_ad { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_private_link_policy( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -496,7 +496,7 @@ pub mod private_link_resources { } } pub mod list_by_private_link_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -563,7 +563,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/azurearcdata/Cargo.toml b/services/mgmt/azurearcdata/Cargo.toml index 13bac86ed3..e20d722d05 100644 --- a/services/mgmt/azurearcdata/Cargo.toml +++ b/services/mgmt/azurearcdata/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-11-01"] +no-default-version = [] "package-2021-11-01" = [] "package-2021-08-01" = [] "package-preview-2021-07-01" = [] diff --git a/services/mgmt/azurearcdata/src/lib.rs b/services/mgmt/azurearcdata/src/lib.rs index da6e1e442d..f42231a5a5 100644 --- a/services/mgmt/azurearcdata/src/lib.rs +++ b/services/mgmt/azurearcdata/src/lib.rs @@ -1,21 +1,29 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-11-01")] -mod package_2021_11_01; -#[cfg(feature = "package-2021-11-01")] +pub mod package_2021_11_01; +#[cfg(all(feature = "package-2021-11-01", not(feature = "no-default-version")))] pub use package_2021_11_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-08-01")] -mod package_2021_08_01; -#[cfg(feature = "package-2021-08-01")] +pub mod package_2021_08_01; +#[cfg(all(feature = "package-2021-08-01", not(feature = "no-default-version")))] pub use package_2021_08_01::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2021-07-01")] -mod package_preview_2021_07_01; -#[cfg(feature = "package-preview-2021-07-01")] +pub mod package_preview_2021_07_01; +#[cfg(all(feature = "package-preview-2021-07-01", not(feature = "no-default-version")))] pub use package_preview_2021_07_01::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2021-06-01")] -mod package_preview_2021_06_01; +pub mod package_preview_2021_06_01; use azure_core::setters; -#[cfg(feature = "package-preview-2021-06-01")] +#[cfg(all(feature = "package-preview-2021-06-01", not(feature = "no-default-version")))] pub use package_preview_2021_06_01::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -39,7 +47,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/azurearcdata/src/package_2021_08_01/operations.rs b/services/mgmt/azurearcdata/src/package_2021_08_01/operations.rs index 015bfd0a64..4d3602c04e 100644 --- a/services/mgmt/azurearcdata/src/package_2021_08_01/operations.rs +++ b/services/mgmt/azurearcdata/src/package_2021_08_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.AzureArcData/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod sql_managed_instances { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod sql_managed_instances { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub mod sql_managed_instances { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -254,7 +254,7 @@ pub mod sql_managed_instances { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -332,7 +332,7 @@ pub mod sql_managed_instances { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlManagedInstance), @@ -409,7 +409,7 @@ pub mod sql_managed_instances { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -476,7 +476,7 @@ pub mod sql_managed_instances { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -506,7 +506,7 @@ pub mod sql_managed_instances { } } pub mod sql_server_instances { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -551,7 +551,7 @@ pub mod sql_server_instances { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -624,7 +624,7 @@ pub mod sql_server_instances { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -694,7 +694,7 @@ pub mod sql_server_instances { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -772,7 +772,7 @@ pub mod sql_server_instances { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlServerInstance), @@ -849,7 +849,7 @@ pub mod sql_server_instances { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -916,7 +916,7 @@ pub mod sql_server_instances { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -946,7 +946,7 @@ pub mod sql_server_instances { } } pub mod data_controllers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_in_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -994,7 +994,7 @@ pub mod data_controllers { } } pub mod list_in_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1065,7 +1065,7 @@ pub mod data_controllers { } } pub mod list_in_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1138,7 +1138,7 @@ pub mod data_controllers { } } pub mod get_data_controller { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1219,7 +1219,7 @@ pub mod data_controllers { } } pub mod put_data_controller { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataControllerResource), @@ -1301,7 +1301,7 @@ pub mod data_controllers { } } pub mod patch_data_controller { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1373,7 +1373,7 @@ pub mod data_controllers { } } pub mod delete_data_controller { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/azurearcdata/src/package_2021_11_01/operations.rs b/services/mgmt/azurearcdata/src/package_2021_11_01/operations.rs index 015bfd0a64..4d3602c04e 100644 --- a/services/mgmt/azurearcdata/src/package_2021_11_01/operations.rs +++ b/services/mgmt/azurearcdata/src/package_2021_11_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.AzureArcData/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod sql_managed_instances { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod sql_managed_instances { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub mod sql_managed_instances { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -254,7 +254,7 @@ pub mod sql_managed_instances { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -332,7 +332,7 @@ pub mod sql_managed_instances { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlManagedInstance), @@ -409,7 +409,7 @@ pub mod sql_managed_instances { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -476,7 +476,7 @@ pub mod sql_managed_instances { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -506,7 +506,7 @@ pub mod sql_managed_instances { } } pub mod sql_server_instances { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -551,7 +551,7 @@ pub mod sql_server_instances { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -624,7 +624,7 @@ pub mod sql_server_instances { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -694,7 +694,7 @@ pub mod sql_server_instances { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -772,7 +772,7 @@ pub mod sql_server_instances { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlServerInstance), @@ -849,7 +849,7 @@ pub mod sql_server_instances { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -916,7 +916,7 @@ pub mod sql_server_instances { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -946,7 +946,7 @@ pub mod sql_server_instances { } } pub mod data_controllers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_in_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -994,7 +994,7 @@ pub mod data_controllers { } } pub mod list_in_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1065,7 +1065,7 @@ pub mod data_controllers { } } pub mod list_in_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1138,7 +1138,7 @@ pub mod data_controllers { } } pub mod get_data_controller { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1219,7 +1219,7 @@ pub mod data_controllers { } } pub mod put_data_controller { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataControllerResource), @@ -1301,7 +1301,7 @@ pub mod data_controllers { } } pub mod patch_data_controller { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1373,7 +1373,7 @@ pub mod data_controllers { } } pub mod delete_data_controller { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/azurearcdata/src/package_preview_2021_06_01/operations.rs b/services/mgmt/azurearcdata/src/package_preview_2021_06_01/operations.rs index ab45234afb..271273d5fa 100644 --- a/services/mgmt/azurearcdata/src/package_preview_2021_06_01/operations.rs +++ b/services/mgmt/azurearcdata/src/package_preview_2021_06_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.AzureArcData/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod sql_managed_instances { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod sql_managed_instances { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub mod sql_managed_instances { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -254,7 +254,7 @@ pub mod sql_managed_instances { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -332,7 +332,7 @@ pub mod sql_managed_instances { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlManagedInstance), @@ -409,7 +409,7 @@ pub mod sql_managed_instances { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -475,7 +475,7 @@ pub mod sql_managed_instances { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -504,7 +504,7 @@ pub mod sql_managed_instances { } } pub mod sql_server_instances { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -549,7 +549,7 @@ pub mod sql_server_instances { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -622,7 +622,7 @@ pub mod sql_server_instances { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -692,7 +692,7 @@ pub mod sql_server_instances { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -770,7 +770,7 @@ pub mod sql_server_instances { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlServerInstance), @@ -847,7 +847,7 @@ pub mod sql_server_instances { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -913,7 +913,7 @@ pub mod sql_server_instances { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -942,7 +942,7 @@ pub mod sql_server_instances { } } pub mod postgres_instances { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -987,7 +987,7 @@ pub mod postgres_instances { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1060,7 +1060,7 @@ pub mod postgres_instances { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1130,7 +1130,7 @@ pub mod postgres_instances { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1208,7 +1208,7 @@ pub mod postgres_instances { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PostgresInstance), @@ -1285,7 +1285,7 @@ pub mod postgres_instances { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1351,7 +1351,7 @@ pub mod postgres_instances { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1380,7 +1380,7 @@ pub mod postgres_instances { } } pub mod data_controllers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_in_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1428,7 +1428,7 @@ pub mod data_controllers { } } pub mod list_in_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1499,7 +1499,7 @@ pub mod data_controllers { } } pub mod list_in_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1572,7 +1572,7 @@ pub mod data_controllers { } } pub mod get_data_controller { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1653,7 +1653,7 @@ pub mod data_controllers { } } pub mod put_data_controller { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataControllerResource), @@ -1735,7 +1735,7 @@ pub mod data_controllers { } } pub mod patch_data_controller { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1806,7 +1806,7 @@ pub mod data_controllers { } } pub mod delete_data_controller { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/azurearcdata/src/package_preview_2021_07_01/operations.rs b/services/mgmt/azurearcdata/src/package_preview_2021_07_01/operations.rs index 94c3efe7b5..61072290b8 100644 --- a/services/mgmt/azurearcdata/src/package_preview_2021_07_01/operations.rs +++ b/services/mgmt/azurearcdata/src/package_preview_2021_07_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.AzureArcData/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod sql_managed_instances { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod sql_managed_instances { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub mod sql_managed_instances { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -254,7 +254,7 @@ pub mod sql_managed_instances { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -332,7 +332,7 @@ pub mod sql_managed_instances { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlManagedInstance), @@ -409,7 +409,7 @@ pub mod sql_managed_instances { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -476,7 +476,7 @@ pub mod sql_managed_instances { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -506,7 +506,7 @@ pub mod sql_managed_instances { } } pub mod sql_server_instances { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -551,7 +551,7 @@ pub mod sql_server_instances { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -624,7 +624,7 @@ pub mod sql_server_instances { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -694,7 +694,7 @@ pub mod sql_server_instances { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -772,7 +772,7 @@ pub mod sql_server_instances { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlServerInstance), @@ -849,7 +849,7 @@ pub mod sql_server_instances { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -916,7 +916,7 @@ pub mod sql_server_instances { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -946,7 +946,7 @@ pub mod sql_server_instances { } } pub mod postgres_instances { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -991,7 +991,7 @@ pub mod postgres_instances { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1064,7 +1064,7 @@ pub mod postgres_instances { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1134,7 +1134,7 @@ pub mod postgres_instances { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1212,7 +1212,7 @@ pub mod postgres_instances { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PostgresInstance), @@ -1289,7 +1289,7 @@ pub mod postgres_instances { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1356,7 +1356,7 @@ pub mod postgres_instances { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1386,7 +1386,7 @@ pub mod postgres_instances { } } pub mod data_controllers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_in_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1434,7 +1434,7 @@ pub mod data_controllers { } } pub mod list_in_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1505,7 +1505,7 @@ pub mod data_controllers { } } pub mod list_in_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1578,7 +1578,7 @@ pub mod data_controllers { } } pub mod get_data_controller { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1659,7 +1659,7 @@ pub mod data_controllers { } } pub mod put_data_controller { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataControllerResource), @@ -1741,7 +1741,7 @@ pub mod data_controllers { } } pub mod patch_data_controller { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1813,7 +1813,7 @@ pub mod data_controllers { } } pub mod delete_data_controller { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/azuredata/Cargo.toml b/services/mgmt/azuredata/Cargo.toml index ca549c940f..3798a7450c 100644 --- a/services/mgmt/azuredata/Cargo.toml +++ b/services/mgmt/azuredata/Cargo.toml @@ -20,5 +20,6 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-preview-2019-07"] +no-default-version = [] "package-preview-2019-07" = [] "package-2017-03-01-preview" = [] diff --git a/services/mgmt/azuredata/src/lib.rs b/services/mgmt/azuredata/src/lib.rs index c1b806c80f..0ff5715987 100644 --- a/services/mgmt/azuredata/src/lib.rs +++ b/services/mgmt/azuredata/src/lib.rs @@ -1,13 +1,21 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-preview-2019-07")] -mod package_preview_2019_07; -#[cfg(feature = "package-preview-2019-07")] +pub mod package_preview_2019_07; +#[cfg(all(feature = "package-preview-2019-07", not(feature = "no-default-version")))] pub use package_preview_2019_07::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-03-01-preview")] -mod package_2017_03_01_preview; +pub mod package_2017_03_01_preview; use azure_core::setters; -#[cfg(feature = "package-2017-03-01-preview")] +#[cfg(all(feature = "package-2017-03-01-preview", not(feature = "no-default-version")))] pub use package_2017_03_01_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -31,7 +39,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/azuredata/src/package_2017_03_01_preview/operations.rs b/services/mgmt/azuredata/src/package_2017_03_01_preview/operations.rs index fdbf8b636d..35607b326a 100644 --- a/services/mgmt/azuredata/src/package_2017_03_01_preview/operations.rs +++ b/services/mgmt/azuredata/src/package_2017_03_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.AzureData/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod sql_server_registrations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -115,7 +115,7 @@ pub mod sql_server_registrations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -196,7 +196,7 @@ pub mod sql_server_registrations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlServerRegistration), @@ -273,7 +273,7 @@ pub mod sql_server_registrations { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -339,7 +339,7 @@ pub mod sql_server_registrations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -417,7 +417,7 @@ pub mod sql_server_registrations { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -483,7 +483,7 @@ pub mod sql_server_registrations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -507,7 +507,7 @@ pub mod sql_server_registrations { } } pub mod sql_servers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -562,7 +562,7 @@ pub mod sql_servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -645,7 +645,7 @@ pub mod sql_servers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlServer), @@ -718,7 +718,7 @@ pub mod sql_servers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -802,7 +802,7 @@ pub mod sql_servers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/azuredata/src/package_preview_2019_07/operations.rs b/services/mgmt/azuredata/src/package_preview_2019_07/operations.rs index fdbf8b636d..35607b326a 100644 --- a/services/mgmt/azuredata/src/package_preview_2019_07/operations.rs +++ b/services/mgmt/azuredata/src/package_preview_2019_07/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.AzureData/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod sql_server_registrations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -115,7 +115,7 @@ pub mod sql_server_registrations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -196,7 +196,7 @@ pub mod sql_server_registrations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlServerRegistration), @@ -273,7 +273,7 @@ pub mod sql_server_registrations { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -339,7 +339,7 @@ pub mod sql_server_registrations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -417,7 +417,7 @@ pub mod sql_server_registrations { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -483,7 +483,7 @@ pub mod sql_server_registrations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -507,7 +507,7 @@ pub mod sql_server_registrations { } } pub mod sql_servers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -562,7 +562,7 @@ pub mod sql_servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -645,7 +645,7 @@ pub mod sql_servers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlServer), @@ -718,7 +718,7 @@ pub mod sql_servers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -802,7 +802,7 @@ pub mod sql_servers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/azurestack/Cargo.toml b/services/mgmt/azurestack/Cargo.toml index 993edd1dc8..06a34e9af5 100644 --- a/services/mgmt/azurestack/Cargo.toml +++ b/services/mgmt/azurestack/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2016-01"] +no-default-version = [] "package-2016-01" = [] "package-2017-06-01" = [] "package-preview-2020-06" = [] diff --git a/services/mgmt/azurestack/src/lib.rs b/services/mgmt/azurestack/src/lib.rs index 7437e9a7d2..634308ba0c 100644 --- a/services/mgmt/azurestack/src/lib.rs +++ b/services/mgmt/azurestack/src/lib.rs @@ -1,17 +1,25 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2016-01")] -mod package_2016_01; -#[cfg(feature = "package-2016-01")] +pub mod package_2016_01; +#[cfg(all(feature = "package-2016-01", not(feature = "no-default-version")))] pub use package_2016_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-06-01")] -mod package_2017_06_01; -#[cfg(feature = "package-2017-06-01")] +pub mod package_2017_06_01; +#[cfg(all(feature = "package-2017-06-01", not(feature = "no-default-version")))] pub use package_2017_06_01::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2020-06")] -mod package_preview_2020_06; +pub mod package_preview_2020_06; use azure_core::setters; -#[cfg(feature = "package-preview-2020-06")] +#[cfg(all(feature = "package-preview-2020-06", not(feature = "no-default-version")))] pub use package_preview_2020_06::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -35,7 +43,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/azurestack/src/package_2016_01/operations.rs b/services/mgmt/azurestack/src/package_2016_01/operations.rs index b64acf0d1d..b328d4411e 100644 --- a/services/mgmt/azurestack/src/package_2016_01/operations.rs +++ b/services/mgmt/azurestack/src/package_2016_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.AzureStack/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod products { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -115,7 +115,7 @@ pub mod products { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -187,7 +187,7 @@ pub mod products { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -263,7 +263,7 @@ pub mod products { } } pub mod list_details { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -344,7 +344,7 @@ pub mod products { } } pub mod get_products { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -425,7 +425,7 @@ pub mod products { } } pub mod get_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -506,7 +506,7 @@ pub mod products { } } pub mod upload_log { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -530,7 +530,7 @@ pub mod products { } } pub mod registrations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -577,7 +577,7 @@ pub mod registrations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -646,7 +646,7 @@ pub mod registrations { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -716,7 +716,7 @@ pub mod registrations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -797,7 +797,7 @@ pub mod registrations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Registration), @@ -874,7 +874,7 @@ pub mod registrations { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -940,7 +940,7 @@ pub mod registrations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1019,7 +1019,7 @@ pub mod registrations { } } pub mod get_activation_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/azurestack/src/package_2017_06_01/operations.rs b/services/mgmt/azurestack/src/package_2017_06_01/operations.rs index ad3219e5a8..b036b7ad50 100644 --- a/services/mgmt/azurestack/src/package_2017_06_01/operations.rs +++ b/services/mgmt/azurestack/src/package_2017_06_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.AzureStack/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod cloud_manifest_file { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.AzureStack/cloudManifestFiles", operation_config.base_path(),); @@ -104,7 +104,7 @@ pub mod cloud_manifest_file { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -174,7 +174,7 @@ pub mod cloud_manifest_file { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -198,7 +198,7 @@ pub mod cloud_manifest_file { } } pub mod products { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -247,7 +247,7 @@ pub mod products { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -319,7 +319,7 @@ pub mod products { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -395,7 +395,7 @@ pub mod products { } } pub mod list_details { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -476,7 +476,7 @@ pub mod products { } } pub mod get_products { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -557,7 +557,7 @@ pub mod products { } } pub mod get_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -638,7 +638,7 @@ pub mod products { } } pub mod upload_log { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -662,7 +662,7 @@ pub mod products { } } pub mod registrations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -709,7 +709,7 @@ pub mod registrations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -778,7 +778,7 @@ pub mod registrations { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -848,7 +848,7 @@ pub mod registrations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -929,7 +929,7 @@ pub mod registrations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Registration), @@ -1006,7 +1006,7 @@ pub mod registrations { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1072,7 +1072,7 @@ pub mod registrations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1151,7 +1151,7 @@ pub mod registrations { } } pub mod get_activation_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1221,7 +1221,7 @@ pub mod registrations { } } pub mod enable_remote_management { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1245,7 +1245,7 @@ pub mod registrations { } } pub mod customer_subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1294,7 +1294,7 @@ pub mod customer_subscriptions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1366,7 +1366,7 @@ pub mod customer_subscriptions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1440,7 +1440,7 @@ pub mod customer_subscriptions { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1508,7 +1508,7 @@ pub mod customer_subscriptions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/azurestack/src/package_preview_2020_06/operations.rs b/services/mgmt/azurestack/src/package_preview_2020_06/operations.rs index 669c00f973..9732f9d898 100644 --- a/services/mgmt/azurestack/src/package_preview_2020_06/operations.rs +++ b/services/mgmt/azurestack/src/package_preview_2020_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.AzureStack/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod cloud_manifest_file { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.AzureStack/cloudManifestFiles", operation_config.base_path(),); @@ -104,7 +104,7 @@ pub mod cloud_manifest_file { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -174,7 +174,7 @@ pub mod cloud_manifest_file { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -198,7 +198,7 @@ pub mod cloud_manifest_file { } } pub mod customer_subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -247,7 +247,7 @@ pub mod customer_subscriptions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -319,7 +319,7 @@ pub mod customer_subscriptions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -393,7 +393,7 @@ pub mod customer_subscriptions { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -461,7 +461,7 @@ pub mod customer_subscriptions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -490,7 +490,7 @@ pub mod customer_subscriptions { } } pub mod products { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -539,7 +539,7 @@ pub mod products { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -611,7 +611,7 @@ pub mod products { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -687,7 +687,7 @@ pub mod products { } } pub mod list_details { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -768,7 +768,7 @@ pub mod products { } } pub mod get_products { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -849,7 +849,7 @@ pub mod products { } } pub mod get_product { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -930,7 +930,7 @@ pub mod products { } } pub mod upload_log { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -954,7 +954,7 @@ pub mod products { } } pub mod registrations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1001,7 +1001,7 @@ pub mod registrations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1070,7 +1070,7 @@ pub mod registrations { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1140,7 +1140,7 @@ pub mod registrations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1221,7 +1221,7 @@ pub mod registrations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Registration), @@ -1298,7 +1298,7 @@ pub mod registrations { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1364,7 +1364,7 @@ pub mod registrations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1443,7 +1443,7 @@ pub mod registrations { } } pub mod get_activation_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1513,7 +1513,7 @@ pub mod registrations { } } pub mod enable_remote_management { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1537,7 +1537,7 @@ pub mod registrations { } } pub mod linked_subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1589,7 +1589,7 @@ pub mod linked_subscriptions { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1658,7 +1658,7 @@ pub mod linked_subscriptions { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1728,7 +1728,7 @@ pub mod linked_subscriptions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1809,7 +1809,7 @@ pub mod linked_subscriptions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LinkedSubscription), @@ -1886,7 +1886,7 @@ pub mod linked_subscriptions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1952,7 +1952,7 @@ pub mod linked_subscriptions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/baremetalinfrastructure/Cargo.toml b/services/mgmt/baremetalinfrastructure/Cargo.toml index 192dc97c0b..584dbf1e9b 100644 --- a/services/mgmt/baremetalinfrastructure/Cargo.toml +++ b/services/mgmt/baremetalinfrastructure/Cargo.toml @@ -20,5 +20,6 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-08-09"] +no-default-version = [] "package-2021-08-09" = [] "package-2020-08-06-preview" = [] diff --git a/services/mgmt/baremetalinfrastructure/src/lib.rs b/services/mgmt/baremetalinfrastructure/src/lib.rs index 8919fec0a9..e7850d1057 100644 --- a/services/mgmt/baremetalinfrastructure/src/lib.rs +++ b/services/mgmt/baremetalinfrastructure/src/lib.rs @@ -1,13 +1,21 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-08-09")] -mod package_2021_08_09; -#[cfg(feature = "package-2021-08-09")] +pub mod package_2021_08_09; +#[cfg(all(feature = "package-2021-08-09", not(feature = "no-default-version")))] pub use package_2021_08_09::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-08-06-preview")] -mod package_2020_08_06_preview; +pub mod package_2020_08_06_preview; use azure_core::setters; -#[cfg(feature = "package-2020-08-06-preview")] +#[cfg(all(feature = "package-2020-08-06-preview", not(feature = "no-default-version")))] pub use package_2020_08_06_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -31,7 +39,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/baremetalinfrastructure/src/package_2020_08_06_preview/operations.rs b/services/mgmt/baremetalinfrastructure/src/package_2020_08_06_preview/operations.rs index c0b8942e50..06f223f5e0 100644 --- a/services/mgmt/baremetalinfrastructure/src/package_2020_08_06_preview/operations.rs +++ b/services/mgmt/baremetalinfrastructure/src/package_2020_08_06_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod azure_bare_metal_instances { - use crate::models::*; + use super::{models, models::*}; pub async fn start( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -50,7 +50,7 @@ pub mod azure_bare_metal_instances { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -125,7 +125,7 @@ pub mod azure_bare_metal_instances { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -200,7 +200,7 @@ pub mod azure_bare_metal_instances { } } pub mod shutdown { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -274,7 +274,7 @@ pub mod azure_bare_metal_instances { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -342,7 +342,7 @@ pub mod azure_bare_metal_instances { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -412,7 +412,7 @@ pub mod azure_bare_metal_instances { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -484,7 +484,7 @@ pub mod azure_bare_metal_instances { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -551,7 +551,7 @@ pub mod azure_bare_metal_instances { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -581,7 +581,7 @@ pub mod azure_bare_metal_instances { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -622,7 +622,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/baremetalinfrastructure/src/package_2021_08_09/operations.rs b/services/mgmt/baremetalinfrastructure/src/package_2021_08_09/operations.rs index 666cdc0386..b8c67cfc59 100644 --- a/services/mgmt/baremetalinfrastructure/src/package_2021_08_09/operations.rs +++ b/services/mgmt/baremetalinfrastructure/src/package_2021_08_09/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod azure_bare_metal_instances { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -52,7 +52,7 @@ pub mod azure_bare_metal_instances { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -125,7 +125,7 @@ pub mod azure_bare_metal_instances { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -195,7 +195,7 @@ pub mod azure_bare_metal_instances { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -267,7 +267,7 @@ pub mod azure_bare_metal_instances { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -291,7 +291,7 @@ pub mod azure_bare_metal_instances { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -332,7 +332,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/batch/Cargo.toml b/services/mgmt/batch/Cargo.toml index 77eb7a19b7..4b8e7f9298 100644 --- a/services/mgmt/batch/Cargo.toml +++ b/services/mgmt/batch/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-06"] +no-default-version = [] "package-2021-06" = [] "package-2021-01" = [] "package-2020-09" = [] diff --git a/services/mgmt/batch/src/lib.rs b/services/mgmt/batch/src/lib.rs index 5675694830..0578a4c24e 100644 --- a/services/mgmt/batch/src/lib.rs +++ b/services/mgmt/batch/src/lib.rs @@ -1,41 +1,49 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-06")] -mod package_2021_06; -#[cfg(feature = "package-2021-06")] +pub mod package_2021_06; +#[cfg(all(feature = "package-2021-06", not(feature = "no-default-version")))] pub use package_2021_06::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-01")] -mod package_2021_01; -#[cfg(feature = "package-2021-01")] +pub mod package_2021_01; +#[cfg(all(feature = "package-2021-01", not(feature = "no-default-version")))] pub use package_2021_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-09")] -mod package_2020_09; -#[cfg(feature = "package-2020-09")] +pub mod package_2020_09; +#[cfg(all(feature = "package-2020-09", not(feature = "no-default-version")))] pub use package_2020_09::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-05")] -mod package_2020_05; -#[cfg(feature = "package-2020-05")] +pub mod package_2020_05; +#[cfg(all(feature = "package-2020-05", not(feature = "no-default-version")))] pub use package_2020_05::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-03")] -mod package_2020_03; -#[cfg(feature = "package-2020-03")] +pub mod package_2020_03; +#[cfg(all(feature = "package-2020-03", not(feature = "no-default-version")))] pub use package_2020_03::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-08")] -mod package_2019_08; -#[cfg(feature = "package-2019-08")] +pub mod package_2019_08; +#[cfg(all(feature = "package-2019-08", not(feature = "no-default-version")))] pub use package_2019_08::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-04")] -mod package_2019_04; -#[cfg(feature = "package-2019-04")] +pub mod package_2019_04; +#[cfg(all(feature = "package-2019-04", not(feature = "no-default-version")))] pub use package_2019_04::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-12")] -mod package_2018_12; -#[cfg(feature = "package-2018-12")] +pub mod package_2018_12; +#[cfg(all(feature = "package-2018-12", not(feature = "no-default-version")))] pub use package_2018_12::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-09")] -mod package_2017_09; +pub mod package_2017_09; use azure_core::setters; -#[cfg(feature = "package-2017-09")] +#[cfg(all(feature = "package-2017-09", not(feature = "no-default-version")))] pub use package_2017_09::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -59,7 +67,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/batch/src/package_2017_09/operations.rs b/services/mgmt/batch/src/package_2017_09/operations.rs index d90ac8a1d2..8fb6b1d022 100644 --- a/services/mgmt/batch/src/package_2017_09/operations.rs +++ b/services/mgmt/batch/src/package_2017_09/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod batch_account { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod batch_account { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -126,7 +126,7 @@ pub mod batch_account { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BatchAccount), @@ -203,7 +203,7 @@ pub mod batch_account { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -270,7 +270,7 @@ pub mod batch_account { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -342,7 +342,7 @@ pub mod batch_account { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -415,7 +415,7 @@ pub mod batch_account { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -486,7 +486,7 @@ pub mod batch_account { } } pub mod synchronize_auto_storage_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -561,7 +561,7 @@ pub mod batch_account { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -635,7 +635,7 @@ pub mod batch_account { } } pub mod get_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -659,7 +659,7 @@ pub mod batch_account { } } pub mod application_package { - use crate::models::*; + use super::{models, models::*}; pub async fn activate( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -712,7 +712,7 @@ pub mod application_package { } } pub mod activate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -786,7 +786,7 @@ pub mod application_package { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -860,7 +860,7 @@ pub mod application_package { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -929,7 +929,7 @@ pub mod application_package { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -953,7 +953,7 @@ pub mod application_package { } } pub mod application { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1004,7 +1004,7 @@ pub mod application { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1082,7 +1082,7 @@ pub mod application { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1151,7 +1151,7 @@ pub mod application { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1218,7 +1218,7 @@ pub mod application { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1292,7 +1292,7 @@ pub mod application { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1316,7 +1316,7 @@ pub mod application { } } pub mod location { - use crate::models::*; + use super::{models, models::*}; pub async fn get_quotas( operation_config: &crate::OperationConfig, location_name: &str, @@ -1366,7 +1366,7 @@ pub mod location { } } pub mod get_quotas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1441,7 +1441,7 @@ pub mod location { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1465,7 +1465,7 @@ pub mod location { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Batch/operations", operation_config.base_path(),); @@ -1503,7 +1503,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1527,7 +1527,7 @@ pub mod operations { } } pub mod certificate { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_batch_account( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1593,7 +1593,7 @@ pub mod certificate { } } pub mod list_by_batch_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1665,7 +1665,7 @@ pub mod certificate { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1747,7 +1747,7 @@ pub mod certificate { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1825,7 +1825,7 @@ pub mod certificate { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1894,7 +1894,7 @@ pub mod certificate { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1976,7 +1976,7 @@ pub mod certificate { } } pub mod cancel_deletion { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2000,7 +2000,7 @@ pub mod certificate { } } pub mod pool { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_batch_account( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2066,7 +2066,7 @@ pub mod pool { } } pub mod list_by_batch_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2138,7 +2138,7 @@ pub mod pool { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2220,7 +2220,7 @@ pub mod pool { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2298,7 +2298,7 @@ pub mod pool { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2367,7 +2367,7 @@ pub mod pool { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2449,7 +2449,7 @@ pub mod pool { } } pub mod disable_auto_scale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2525,7 +2525,7 @@ pub mod pool { } } pub mod stop_resize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/batch/src/package_2018_12/operations.rs b/services/mgmt/batch/src/package_2018_12/operations.rs index d578cb8c6a..dc43ce132c 100644 --- a/services/mgmt/batch/src/package_2018_12/operations.rs +++ b/services/mgmt/batch/src/package_2018_12/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod batch_account { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod batch_account { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -126,7 +126,7 @@ pub mod batch_account { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BatchAccount), @@ -203,7 +203,7 @@ pub mod batch_account { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -270,7 +270,7 @@ pub mod batch_account { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -342,7 +342,7 @@ pub mod batch_account { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -415,7 +415,7 @@ pub mod batch_account { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -486,7 +486,7 @@ pub mod batch_account { } } pub mod synchronize_auto_storage_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -561,7 +561,7 @@ pub mod batch_account { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -635,7 +635,7 @@ pub mod batch_account { } } pub mod get_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -659,7 +659,7 @@ pub mod batch_account { } } pub mod application_package { - use crate::models::*; + use super::{models, models::*}; pub async fn activate( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -717,7 +717,7 @@ pub mod application_package { } } pub mod activate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -791,7 +791,7 @@ pub mod application_package { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -871,7 +871,7 @@ pub mod application_package { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -941,7 +941,7 @@ pub mod application_package { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1022,7 +1022,7 @@ pub mod application_package { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1046,7 +1046,7 @@ pub mod application_package { } } pub mod application { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1097,7 +1097,7 @@ pub mod application { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1175,7 +1175,7 @@ pub mod application { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1249,7 +1249,7 @@ pub mod application { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1317,7 +1317,7 @@ pub mod application { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1396,7 +1396,7 @@ pub mod application { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1420,7 +1420,7 @@ pub mod application { } } pub mod location { - use crate::models::*; + use super::{models, models::*}; pub async fn get_quotas( operation_config: &crate::OperationConfig, location_name: &str, @@ -1470,7 +1470,7 @@ pub mod location { } } pub mod get_quotas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1545,7 +1545,7 @@ pub mod location { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1569,7 +1569,7 @@ pub mod location { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Batch/operations", operation_config.base_path(),); @@ -1607,7 +1607,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1631,7 +1631,7 @@ pub mod operations { } } pub mod certificate { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_batch_account( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1697,7 +1697,7 @@ pub mod certificate { } } pub mod list_by_batch_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1769,7 +1769,7 @@ pub mod certificate { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1851,7 +1851,7 @@ pub mod certificate { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1929,7 +1929,7 @@ pub mod certificate { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1998,7 +1998,7 @@ pub mod certificate { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2080,7 +2080,7 @@ pub mod certificate { } } pub mod cancel_deletion { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2104,7 +2104,7 @@ pub mod certificate { } } pub mod pool { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_batch_account( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2170,7 +2170,7 @@ pub mod pool { } } pub mod list_by_batch_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2242,7 +2242,7 @@ pub mod pool { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2324,7 +2324,7 @@ pub mod pool { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2402,7 +2402,7 @@ pub mod pool { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2471,7 +2471,7 @@ pub mod pool { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2553,7 +2553,7 @@ pub mod pool { } } pub mod disable_auto_scale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2629,7 +2629,7 @@ pub mod pool { } } pub mod stop_resize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/batch/src/package_2019_04/operations.rs b/services/mgmt/batch/src/package_2019_04/operations.rs index d578cb8c6a..dc43ce132c 100644 --- a/services/mgmt/batch/src/package_2019_04/operations.rs +++ b/services/mgmt/batch/src/package_2019_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod batch_account { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod batch_account { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -126,7 +126,7 @@ pub mod batch_account { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BatchAccount), @@ -203,7 +203,7 @@ pub mod batch_account { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -270,7 +270,7 @@ pub mod batch_account { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -342,7 +342,7 @@ pub mod batch_account { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -415,7 +415,7 @@ pub mod batch_account { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -486,7 +486,7 @@ pub mod batch_account { } } pub mod synchronize_auto_storage_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -561,7 +561,7 @@ pub mod batch_account { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -635,7 +635,7 @@ pub mod batch_account { } } pub mod get_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -659,7 +659,7 @@ pub mod batch_account { } } pub mod application_package { - use crate::models::*; + use super::{models, models::*}; pub async fn activate( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -717,7 +717,7 @@ pub mod application_package { } } pub mod activate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -791,7 +791,7 @@ pub mod application_package { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -871,7 +871,7 @@ pub mod application_package { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -941,7 +941,7 @@ pub mod application_package { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1022,7 +1022,7 @@ pub mod application_package { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1046,7 +1046,7 @@ pub mod application_package { } } pub mod application { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1097,7 +1097,7 @@ pub mod application { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1175,7 +1175,7 @@ pub mod application { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1249,7 +1249,7 @@ pub mod application { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1317,7 +1317,7 @@ pub mod application { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1396,7 +1396,7 @@ pub mod application { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1420,7 +1420,7 @@ pub mod application { } } pub mod location { - use crate::models::*; + use super::{models, models::*}; pub async fn get_quotas( operation_config: &crate::OperationConfig, location_name: &str, @@ -1470,7 +1470,7 @@ pub mod location { } } pub mod get_quotas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1545,7 +1545,7 @@ pub mod location { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1569,7 +1569,7 @@ pub mod location { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Batch/operations", operation_config.base_path(),); @@ -1607,7 +1607,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1631,7 +1631,7 @@ pub mod operations { } } pub mod certificate { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_batch_account( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1697,7 +1697,7 @@ pub mod certificate { } } pub mod list_by_batch_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1769,7 +1769,7 @@ pub mod certificate { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1851,7 +1851,7 @@ pub mod certificate { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1929,7 +1929,7 @@ pub mod certificate { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1998,7 +1998,7 @@ pub mod certificate { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2080,7 +2080,7 @@ pub mod certificate { } } pub mod cancel_deletion { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2104,7 +2104,7 @@ pub mod certificate { } } pub mod pool { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_batch_account( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2170,7 +2170,7 @@ pub mod pool { } } pub mod list_by_batch_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2242,7 +2242,7 @@ pub mod pool { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2324,7 +2324,7 @@ pub mod pool { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2402,7 +2402,7 @@ pub mod pool { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2471,7 +2471,7 @@ pub mod pool { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2553,7 +2553,7 @@ pub mod pool { } } pub mod disable_auto_scale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2629,7 +2629,7 @@ pub mod pool { } } pub mod stop_resize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/batch/src/package_2019_08/operations.rs b/services/mgmt/batch/src/package_2019_08/operations.rs index d578cb8c6a..dc43ce132c 100644 --- a/services/mgmt/batch/src/package_2019_08/operations.rs +++ b/services/mgmt/batch/src/package_2019_08/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod batch_account { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod batch_account { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -126,7 +126,7 @@ pub mod batch_account { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BatchAccount), @@ -203,7 +203,7 @@ pub mod batch_account { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -270,7 +270,7 @@ pub mod batch_account { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -342,7 +342,7 @@ pub mod batch_account { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -415,7 +415,7 @@ pub mod batch_account { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -486,7 +486,7 @@ pub mod batch_account { } } pub mod synchronize_auto_storage_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -561,7 +561,7 @@ pub mod batch_account { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -635,7 +635,7 @@ pub mod batch_account { } } pub mod get_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -659,7 +659,7 @@ pub mod batch_account { } } pub mod application_package { - use crate::models::*; + use super::{models, models::*}; pub async fn activate( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -717,7 +717,7 @@ pub mod application_package { } } pub mod activate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -791,7 +791,7 @@ pub mod application_package { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -871,7 +871,7 @@ pub mod application_package { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -941,7 +941,7 @@ pub mod application_package { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1022,7 +1022,7 @@ pub mod application_package { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1046,7 +1046,7 @@ pub mod application_package { } } pub mod application { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1097,7 +1097,7 @@ pub mod application { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1175,7 +1175,7 @@ pub mod application { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1249,7 +1249,7 @@ pub mod application { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1317,7 +1317,7 @@ pub mod application { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1396,7 +1396,7 @@ pub mod application { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1420,7 +1420,7 @@ pub mod application { } } pub mod location { - use crate::models::*; + use super::{models, models::*}; pub async fn get_quotas( operation_config: &crate::OperationConfig, location_name: &str, @@ -1470,7 +1470,7 @@ pub mod location { } } pub mod get_quotas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1545,7 +1545,7 @@ pub mod location { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1569,7 +1569,7 @@ pub mod location { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Batch/operations", operation_config.base_path(),); @@ -1607,7 +1607,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1631,7 +1631,7 @@ pub mod operations { } } pub mod certificate { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_batch_account( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1697,7 +1697,7 @@ pub mod certificate { } } pub mod list_by_batch_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1769,7 +1769,7 @@ pub mod certificate { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1851,7 +1851,7 @@ pub mod certificate { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1929,7 +1929,7 @@ pub mod certificate { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1998,7 +1998,7 @@ pub mod certificate { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2080,7 +2080,7 @@ pub mod certificate { } } pub mod cancel_deletion { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2104,7 +2104,7 @@ pub mod certificate { } } pub mod pool { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_batch_account( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2170,7 +2170,7 @@ pub mod pool { } } pub mod list_by_batch_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2242,7 +2242,7 @@ pub mod pool { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2324,7 +2324,7 @@ pub mod pool { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2402,7 +2402,7 @@ pub mod pool { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2471,7 +2471,7 @@ pub mod pool { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2553,7 +2553,7 @@ pub mod pool { } } pub mod disable_auto_scale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2629,7 +2629,7 @@ pub mod pool { } } pub mod stop_resize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/batch/src/package_2020_03/operations.rs b/services/mgmt/batch/src/package_2020_03/operations.rs index fc302fb246..e79bbbdc72 100644 --- a/services/mgmt/batch/src/package_2020_03/operations.rs +++ b/services/mgmt/batch/src/package_2020_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod batch_account { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod batch_account { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -126,7 +126,7 @@ pub mod batch_account { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BatchAccount), @@ -203,7 +203,7 @@ pub mod batch_account { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -270,7 +270,7 @@ pub mod batch_account { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -342,7 +342,7 @@ pub mod batch_account { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -415,7 +415,7 @@ pub mod batch_account { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -486,7 +486,7 @@ pub mod batch_account { } } pub mod synchronize_auto_storage_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -561,7 +561,7 @@ pub mod batch_account { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -635,7 +635,7 @@ pub mod batch_account { } } pub mod get_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -659,7 +659,7 @@ pub mod batch_account { } } pub mod application_package { - use crate::models::*; + use super::{models, models::*}; pub async fn activate( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -717,7 +717,7 @@ pub mod application_package { } } pub mod activate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -791,7 +791,7 @@ pub mod application_package { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -871,7 +871,7 @@ pub mod application_package { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -941,7 +941,7 @@ pub mod application_package { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1022,7 +1022,7 @@ pub mod application_package { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1046,7 +1046,7 @@ pub mod application_package { } } pub mod application { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1097,7 +1097,7 @@ pub mod application { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1175,7 +1175,7 @@ pub mod application { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1249,7 +1249,7 @@ pub mod application { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1317,7 +1317,7 @@ pub mod application { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1396,7 +1396,7 @@ pub mod application { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1420,7 +1420,7 @@ pub mod application { } } pub mod location { - use crate::models::*; + use super::{models, models::*}; pub async fn get_quotas( operation_config: &crate::OperationConfig, location_name: &str, @@ -1470,7 +1470,7 @@ pub mod location { } } pub mod get_quotas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1545,7 +1545,7 @@ pub mod location { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1569,7 +1569,7 @@ pub mod location { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Batch/operations", operation_config.base_path(),); @@ -1607,7 +1607,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1631,7 +1631,7 @@ pub mod operations { } } pub mod certificate { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_batch_account( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1697,7 +1697,7 @@ pub mod certificate { } } pub mod list_by_batch_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1769,7 +1769,7 @@ pub mod certificate { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1851,7 +1851,7 @@ pub mod certificate { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1929,7 +1929,7 @@ pub mod certificate { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1998,7 +1998,7 @@ pub mod certificate { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2080,7 +2080,7 @@ pub mod certificate { } } pub mod cancel_deletion { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2104,7 +2104,7 @@ pub mod certificate { } } pub mod private_link_resource { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_batch_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2162,7 +2162,7 @@ pub mod private_link_resource { } } pub mod list_by_batch_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2234,7 +2234,7 @@ pub mod private_link_resource { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2258,7 +2258,7 @@ pub mod private_link_resource { } } pub mod private_endpoint_connection { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_batch_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2316,7 +2316,7 @@ pub mod private_endpoint_connection { } } pub mod list_by_batch_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2388,7 +2388,7 @@ pub mod private_endpoint_connection { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2466,7 +2466,7 @@ pub mod private_endpoint_connection { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2490,7 +2490,7 @@ pub mod private_endpoint_connection { } } pub mod pool { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_batch_account( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2556,7 +2556,7 @@ pub mod pool { } } pub mod list_by_batch_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2628,7 +2628,7 @@ pub mod pool { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2710,7 +2710,7 @@ pub mod pool { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2788,7 +2788,7 @@ pub mod pool { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2857,7 +2857,7 @@ pub mod pool { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2939,7 +2939,7 @@ pub mod pool { } } pub mod disable_auto_scale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3015,7 +3015,7 @@ pub mod pool { } } pub mod stop_resize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/batch/src/package_2020_05/operations.rs b/services/mgmt/batch/src/package_2020_05/operations.rs index a9e6ad4771..dbe791d3bd 100644 --- a/services/mgmt/batch/src/package_2020_05/operations.rs +++ b/services/mgmt/batch/src/package_2020_05/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod batch_account { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod batch_account { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -126,7 +126,7 @@ pub mod batch_account { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BatchAccount), @@ -203,7 +203,7 @@ pub mod batch_account { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -270,7 +270,7 @@ pub mod batch_account { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -342,7 +342,7 @@ pub mod batch_account { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -415,7 +415,7 @@ pub mod batch_account { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -486,7 +486,7 @@ pub mod batch_account { } } pub mod synchronize_auto_storage_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -561,7 +561,7 @@ pub mod batch_account { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -635,7 +635,7 @@ pub mod batch_account { } } pub mod get_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -659,7 +659,7 @@ pub mod batch_account { } } pub mod application_package { - use crate::models::*; + use super::{models, models::*}; pub async fn activate( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -717,7 +717,7 @@ pub mod application_package { } } pub mod activate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -791,7 +791,7 @@ pub mod application_package { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -871,7 +871,7 @@ pub mod application_package { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -941,7 +941,7 @@ pub mod application_package { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1022,7 +1022,7 @@ pub mod application_package { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1046,7 +1046,7 @@ pub mod application_package { } } pub mod application { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1097,7 +1097,7 @@ pub mod application { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1175,7 +1175,7 @@ pub mod application { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1249,7 +1249,7 @@ pub mod application { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1317,7 +1317,7 @@ pub mod application { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1396,7 +1396,7 @@ pub mod application { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1420,7 +1420,7 @@ pub mod application { } } pub mod location { - use crate::models::*; + use super::{models, models::*}; pub async fn get_quotas( operation_config: &crate::OperationConfig, location_name: &str, @@ -1470,7 +1470,7 @@ pub mod location { } } pub mod get_quotas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1545,7 +1545,7 @@ pub mod location { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1569,7 +1569,7 @@ pub mod location { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Batch/operations", operation_config.base_path(),); @@ -1607,7 +1607,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1631,7 +1631,7 @@ pub mod operations { } } pub mod certificate { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_batch_account( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1697,7 +1697,7 @@ pub mod certificate { } } pub mod list_by_batch_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1769,7 +1769,7 @@ pub mod certificate { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1851,7 +1851,7 @@ pub mod certificate { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1929,7 +1929,7 @@ pub mod certificate { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1998,7 +1998,7 @@ pub mod certificate { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2080,7 +2080,7 @@ pub mod certificate { } } pub mod cancel_deletion { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2104,7 +2104,7 @@ pub mod certificate { } } pub mod private_link_resource { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_batch_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2162,7 +2162,7 @@ pub mod private_link_resource { } } pub mod list_by_batch_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2234,7 +2234,7 @@ pub mod private_link_resource { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2258,7 +2258,7 @@ pub mod private_link_resource { } } pub mod private_endpoint_connection { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_batch_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2316,7 +2316,7 @@ pub mod private_endpoint_connection { } } pub mod list_by_batch_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2388,7 +2388,7 @@ pub mod private_endpoint_connection { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2468,7 +2468,7 @@ pub mod private_endpoint_connection { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -2498,7 +2498,7 @@ pub mod private_endpoint_connection { } } pub mod pool { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_batch_account( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2564,7 +2564,7 @@ pub mod pool { } } pub mod list_by_batch_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2636,7 +2636,7 @@ pub mod pool { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2718,7 +2718,7 @@ pub mod pool { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2796,7 +2796,7 @@ pub mod pool { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2865,7 +2865,7 @@ pub mod pool { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2947,7 +2947,7 @@ pub mod pool { } } pub mod disable_auto_scale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3023,7 +3023,7 @@ pub mod pool { } } pub mod stop_resize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/batch/src/package_2020_09/operations.rs b/services/mgmt/batch/src/package_2020_09/operations.rs index a9e6ad4771..dbe791d3bd 100644 --- a/services/mgmt/batch/src/package_2020_09/operations.rs +++ b/services/mgmt/batch/src/package_2020_09/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod batch_account { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod batch_account { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -126,7 +126,7 @@ pub mod batch_account { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BatchAccount), @@ -203,7 +203,7 @@ pub mod batch_account { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -270,7 +270,7 @@ pub mod batch_account { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -342,7 +342,7 @@ pub mod batch_account { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -415,7 +415,7 @@ pub mod batch_account { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -486,7 +486,7 @@ pub mod batch_account { } } pub mod synchronize_auto_storage_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -561,7 +561,7 @@ pub mod batch_account { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -635,7 +635,7 @@ pub mod batch_account { } } pub mod get_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -659,7 +659,7 @@ pub mod batch_account { } } pub mod application_package { - use crate::models::*; + use super::{models, models::*}; pub async fn activate( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -717,7 +717,7 @@ pub mod application_package { } } pub mod activate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -791,7 +791,7 @@ pub mod application_package { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -871,7 +871,7 @@ pub mod application_package { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -941,7 +941,7 @@ pub mod application_package { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1022,7 +1022,7 @@ pub mod application_package { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1046,7 +1046,7 @@ pub mod application_package { } } pub mod application { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1097,7 +1097,7 @@ pub mod application { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1175,7 +1175,7 @@ pub mod application { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1249,7 +1249,7 @@ pub mod application { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1317,7 +1317,7 @@ pub mod application { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1396,7 +1396,7 @@ pub mod application { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1420,7 +1420,7 @@ pub mod application { } } pub mod location { - use crate::models::*; + use super::{models, models::*}; pub async fn get_quotas( operation_config: &crate::OperationConfig, location_name: &str, @@ -1470,7 +1470,7 @@ pub mod location { } } pub mod get_quotas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1545,7 +1545,7 @@ pub mod location { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1569,7 +1569,7 @@ pub mod location { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Batch/operations", operation_config.base_path(),); @@ -1607,7 +1607,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1631,7 +1631,7 @@ pub mod operations { } } pub mod certificate { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_batch_account( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1697,7 +1697,7 @@ pub mod certificate { } } pub mod list_by_batch_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1769,7 +1769,7 @@ pub mod certificate { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1851,7 +1851,7 @@ pub mod certificate { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1929,7 +1929,7 @@ pub mod certificate { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1998,7 +1998,7 @@ pub mod certificate { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2080,7 +2080,7 @@ pub mod certificate { } } pub mod cancel_deletion { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2104,7 +2104,7 @@ pub mod certificate { } } pub mod private_link_resource { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_batch_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2162,7 +2162,7 @@ pub mod private_link_resource { } } pub mod list_by_batch_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2234,7 +2234,7 @@ pub mod private_link_resource { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2258,7 +2258,7 @@ pub mod private_link_resource { } } pub mod private_endpoint_connection { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_batch_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2316,7 +2316,7 @@ pub mod private_endpoint_connection { } } pub mod list_by_batch_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2388,7 +2388,7 @@ pub mod private_endpoint_connection { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2468,7 +2468,7 @@ pub mod private_endpoint_connection { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -2498,7 +2498,7 @@ pub mod private_endpoint_connection { } } pub mod pool { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_batch_account( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2564,7 +2564,7 @@ pub mod pool { } } pub mod list_by_batch_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2636,7 +2636,7 @@ pub mod pool { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2718,7 +2718,7 @@ pub mod pool { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2796,7 +2796,7 @@ pub mod pool { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2865,7 +2865,7 @@ pub mod pool { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2947,7 +2947,7 @@ pub mod pool { } } pub mod disable_auto_scale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3023,7 +3023,7 @@ pub mod pool { } } pub mod stop_resize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/batch/src/package_2021_01/operations.rs b/services/mgmt/batch/src/package_2021_01/operations.rs index 1951f8464d..2a445a3b52 100644 --- a/services/mgmt/batch/src/package_2021_01/operations.rs +++ b/services/mgmt/batch/src/package_2021_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod batch_account { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod batch_account { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -126,7 +126,7 @@ pub mod batch_account { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BatchAccount), @@ -203,7 +203,7 @@ pub mod batch_account { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -270,7 +270,7 @@ pub mod batch_account { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -342,7 +342,7 @@ pub mod batch_account { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -415,7 +415,7 @@ pub mod batch_account { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -486,7 +486,7 @@ pub mod batch_account { } } pub mod synchronize_auto_storage_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -561,7 +561,7 @@ pub mod batch_account { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -635,7 +635,7 @@ pub mod batch_account { } } pub mod get_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -659,7 +659,7 @@ pub mod batch_account { } } pub mod application_package { - use crate::models::*; + use super::{models, models::*}; pub async fn activate( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -717,7 +717,7 @@ pub mod application_package { } } pub mod activate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -791,7 +791,7 @@ pub mod application_package { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -871,7 +871,7 @@ pub mod application_package { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -941,7 +941,7 @@ pub mod application_package { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1022,7 +1022,7 @@ pub mod application_package { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1046,7 +1046,7 @@ pub mod application_package { } } pub mod application { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1097,7 +1097,7 @@ pub mod application { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1175,7 +1175,7 @@ pub mod application { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1249,7 +1249,7 @@ pub mod application { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1317,7 +1317,7 @@ pub mod application { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1396,7 +1396,7 @@ pub mod application { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1420,7 +1420,7 @@ pub mod application { } } pub mod location { - use crate::models::*; + use super::{models, models::*}; pub async fn get_quotas( operation_config: &crate::OperationConfig, location_name: &str, @@ -1470,7 +1470,7 @@ pub mod location { } } pub mod get_quotas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1545,7 +1545,7 @@ pub mod location { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1569,7 +1569,7 @@ pub mod location { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Batch/operations", operation_config.base_path(),); @@ -1607,7 +1607,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1631,7 +1631,7 @@ pub mod operations { } } pub mod certificate { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_batch_account( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1697,7 +1697,7 @@ pub mod certificate { } } pub mod list_by_batch_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1769,7 +1769,7 @@ pub mod certificate { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1851,7 +1851,7 @@ pub mod certificate { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1929,7 +1929,7 @@ pub mod certificate { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1998,7 +1998,7 @@ pub mod certificate { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2080,7 +2080,7 @@ pub mod certificate { } } pub mod cancel_deletion { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2104,7 +2104,7 @@ pub mod certificate { } } pub mod private_link_resource { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_batch_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2162,7 +2162,7 @@ pub mod private_link_resource { } } pub mod list_by_batch_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2234,7 +2234,7 @@ pub mod private_link_resource { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2258,7 +2258,7 @@ pub mod private_link_resource { } } pub mod private_endpoint_connection { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_batch_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2316,7 +2316,7 @@ pub mod private_endpoint_connection { } } pub mod list_by_batch_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2388,7 +2388,7 @@ pub mod private_endpoint_connection { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2468,7 +2468,7 @@ pub mod private_endpoint_connection { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -2498,7 +2498,7 @@ pub mod private_endpoint_connection { } } pub mod pool { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_batch_account( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2564,7 +2564,7 @@ pub mod pool { } } pub mod list_by_batch_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2636,7 +2636,7 @@ pub mod pool { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2718,7 +2718,7 @@ pub mod pool { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2796,7 +2796,7 @@ pub mod pool { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2865,7 +2865,7 @@ pub mod pool { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2947,7 +2947,7 @@ pub mod pool { } } pub mod disable_auto_scale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3023,7 +3023,7 @@ pub mod pool { } } pub mod stop_resize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/batch/src/package_2021_06/operations.rs b/services/mgmt/batch/src/package_2021_06/operations.rs index 853b79b5c8..ef52d09153 100644 --- a/services/mgmt/batch/src/package_2021_06/operations.rs +++ b/services/mgmt/batch/src/package_2021_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod batch_account { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod batch_account { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -126,7 +126,7 @@ pub mod batch_account { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BatchAccount), @@ -203,7 +203,7 @@ pub mod batch_account { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -270,7 +270,7 @@ pub mod batch_account { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -342,7 +342,7 @@ pub mod batch_account { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -415,7 +415,7 @@ pub mod batch_account { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -486,7 +486,7 @@ pub mod batch_account { } } pub mod synchronize_auto_storage_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -561,7 +561,7 @@ pub mod batch_account { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -635,7 +635,7 @@ pub mod batch_account { } } pub mod get_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -710,7 +710,7 @@ pub mod batch_account { } } pub mod list_outbound_network_dependencies_endpoints { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -734,7 +734,7 @@ pub mod batch_account { } } pub mod application_package { - use crate::models::*; + use super::{models, models::*}; pub async fn activate( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -792,7 +792,7 @@ pub mod application_package { } } pub mod activate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -866,7 +866,7 @@ pub mod application_package { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -946,7 +946,7 @@ pub mod application_package { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1016,7 +1016,7 @@ pub mod application_package { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1097,7 +1097,7 @@ pub mod application_package { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1121,7 +1121,7 @@ pub mod application_package { } } pub mod application { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1172,7 +1172,7 @@ pub mod application { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1250,7 +1250,7 @@ pub mod application { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1324,7 +1324,7 @@ pub mod application { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1392,7 +1392,7 @@ pub mod application { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1471,7 +1471,7 @@ pub mod application { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1495,7 +1495,7 @@ pub mod application { } } pub mod location { - use crate::models::*; + use super::{models, models::*}; pub async fn get_quotas( operation_config: &crate::OperationConfig, location_name: &str, @@ -1545,7 +1545,7 @@ pub mod location { } } pub mod get_quotas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1626,7 +1626,7 @@ pub mod location { } } pub mod list_supported_virtual_machine_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1707,7 +1707,7 @@ pub mod location { } } pub mod list_supported_cloud_service_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1782,7 +1782,7 @@ pub mod location { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1806,7 +1806,7 @@ pub mod location { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Batch/operations", operation_config.base_path(),); @@ -1844,7 +1844,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1868,7 +1868,7 @@ pub mod operations { } } pub mod certificate { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_batch_account( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1934,7 +1934,7 @@ pub mod certificate { } } pub mod list_by_batch_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2006,7 +2006,7 @@ pub mod certificate { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2088,7 +2088,7 @@ pub mod certificate { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2166,7 +2166,7 @@ pub mod certificate { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2235,7 +2235,7 @@ pub mod certificate { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2317,7 +2317,7 @@ pub mod certificate { } } pub mod cancel_deletion { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2341,7 +2341,7 @@ pub mod certificate { } } pub mod private_link_resource { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_batch_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2399,7 +2399,7 @@ pub mod private_link_resource { } } pub mod list_by_batch_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2471,7 +2471,7 @@ pub mod private_link_resource { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2495,7 +2495,7 @@ pub mod private_link_resource { } } pub mod private_endpoint_connection { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_batch_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2553,7 +2553,7 @@ pub mod private_endpoint_connection { } } pub mod list_by_batch_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2625,7 +2625,7 @@ pub mod private_endpoint_connection { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2705,7 +2705,7 @@ pub mod private_endpoint_connection { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -2735,7 +2735,7 @@ pub mod private_endpoint_connection { } } pub mod pool { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_batch_account( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2801,7 +2801,7 @@ pub mod pool { } } pub mod list_by_batch_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2873,7 +2873,7 @@ pub mod pool { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2955,7 +2955,7 @@ pub mod pool { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3033,7 +3033,7 @@ pub mod pool { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3102,7 +3102,7 @@ pub mod pool { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3184,7 +3184,7 @@ pub mod pool { } } pub mod disable_auto_scale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3260,7 +3260,7 @@ pub mod pool { } } pub mod stop_resize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/billing/Cargo.toml b/services/mgmt/billing/Cargo.toml index 4c5d84bb2d..4da9c49939 100644 --- a/services/mgmt/billing/Cargo.toml +++ b/services/mgmt/billing/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-10"] +no-default-version = [] "package-2021-10" = [] "package-2020-05" = [] "package-2020-09-preview" = [] diff --git a/services/mgmt/billing/src/lib.rs b/services/mgmt/billing/src/lib.rs index 9445470c50..ac8bb64f93 100644 --- a/services/mgmt/billing/src/lib.rs +++ b/services/mgmt/billing/src/lib.rs @@ -1,41 +1,49 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-10")] -mod package_2021_10; -#[cfg(feature = "package-2021-10")] +pub mod package_2021_10; +#[cfg(all(feature = "package-2021-10", not(feature = "no-default-version")))] pub use package_2021_10::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-05")] -mod package_2020_05; -#[cfg(feature = "package-2020-05")] +pub mod package_2020_05; +#[cfg(all(feature = "package-2020-05", not(feature = "no-default-version")))] pub use package_2020_05::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-09-preview")] -mod package_2020_09_preview; -#[cfg(feature = "package-2020-09-preview")] +pub mod package_2020_09_preview; +#[cfg(all(feature = "package-2020-09-preview", not(feature = "no-default-version")))] pub use package_2020_09_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-11-preview")] -mod package_2020_11_preview; -#[cfg(feature = "package-2020-11-preview")] +pub mod package_2020_11_preview; +#[cfg(all(feature = "package-2020-11-preview", not(feature = "no-default-version")))] pub use package_2020_11_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-10-preview")] -mod package_2019_10_preview; -#[cfg(feature = "package-2019-10-preview")] +pub mod package_2019_10_preview; +#[cfg(all(feature = "package-2019-10-preview", not(feature = "no-default-version")))] pub use package_2019_10_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-11-preview")] -mod package_2018_11_preview; -#[cfg(feature = "package-2018-11-preview")] +pub mod package_2018_11_preview; +#[cfg(all(feature = "package-2018-11-preview", not(feature = "no-default-version")))] pub use package_2018_11_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-03-preview")] -mod package_2018_03_preview; -#[cfg(feature = "package-2018-03-preview")] +pub mod package_2018_03_preview; +#[cfg(all(feature = "package-2018-03-preview", not(feature = "no-default-version")))] pub use package_2018_03_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-04-preview")] -mod package_2017_04_preview; -#[cfg(feature = "package-2017-04-preview")] +pub mod package_2017_04_preview; +#[cfg(all(feature = "package-2017-04-preview", not(feature = "no-default-version")))] pub use package_2017_04_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-02-preview")] -mod package_2017_02_preview; +pub mod package_2017_02_preview; use azure_core::setters; -#[cfg(feature = "package-2017-02-preview")] +#[cfg(all(feature = "package-2017-02-preview", not(feature = "no-default-version")))] pub use package_2017_02_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -59,7 +67,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/billing/src/package_2017_02_preview/operations.rs b/services/mgmt/billing/src/package_2017_02_preview/operations.rs index e10c176668..661efe517f 100644 --- a/services/mgmt/billing/src/package_2017_02_preview/operations.rs +++ b/services/mgmt/billing/src/package_2017_02_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod invoices { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -65,7 +65,7 @@ pub mod invoices { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -133,7 +133,7 @@ pub mod invoices { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -202,7 +202,7 @@ pub mod invoices { } } pub mod get_latest { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -226,7 +226,7 @@ pub mod invoices { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Billing/operations", operation_config.base_path(),); @@ -264,7 +264,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/billing/src/package_2017_04_preview/operations.rs b/services/mgmt/billing/src/package_2017_04_preview/operations.rs index 8ae50f0ad1..2ec12164c2 100644 --- a/services/mgmt/billing/src/package_2017_04_preview/operations.rs +++ b/services/mgmt/billing/src/package_2017_04_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod billing_periods { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -61,7 +61,7 @@ pub mod billing_periods { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -129,7 +129,7 @@ pub mod billing_periods { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -153,7 +153,7 @@ pub mod billing_periods { } } pub mod invoices { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -214,7 +214,7 @@ pub mod invoices { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -282,7 +282,7 @@ pub mod invoices { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -351,7 +351,7 @@ pub mod invoices { } } pub mod get_latest { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -375,7 +375,7 @@ pub mod invoices { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Billing/operations", operation_config.base_path(),); @@ -413,7 +413,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/billing/src/package_2018_03_preview/operations.rs b/services/mgmt/billing/src/package_2018_03_preview/operations.rs index 3478ed8e70..09f3193328 100644 --- a/services/mgmt/billing/src/package_2018_03_preview/operations.rs +++ b/services/mgmt/billing/src/package_2018_03_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod enrollment_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Billing/enrollmentAccounts", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod enrollment_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -105,7 +105,7 @@ pub mod enrollment_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -129,7 +129,7 @@ pub mod enrollment_accounts { } } pub mod billing_periods { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -186,7 +186,7 @@ pub mod billing_periods { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -254,7 +254,7 @@ pub mod billing_periods { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -278,7 +278,7 @@ pub mod billing_periods { } } pub mod invoices { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -339,7 +339,7 @@ pub mod invoices { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -407,7 +407,7 @@ pub mod invoices { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -476,7 +476,7 @@ pub mod invoices { } } pub mod get_latest { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -500,7 +500,7 @@ pub mod invoices { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Billing/operations", operation_config.base_path(),); @@ -538,7 +538,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/billing/src/package_2018_11_preview/operations.rs b/services/mgmt/billing/src/package_2018_11_preview/operations.rs index 3668e52f71..9871f63262 100644 --- a/services/mgmt/billing/src/package_2018_11_preview/operations.rs +++ b/services/mgmt/billing/src/package_2018_11_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod billing_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, expand: Option<&str>, @@ -48,7 +48,7 @@ pub mod billing_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -118,7 +118,7 @@ pub mod billing_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -187,7 +187,7 @@ pub mod billing_accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BillingAccount), @@ -216,7 +216,7 @@ pub mod billing_accounts { } } pub mod payment_methods { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_billing_account_name( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -266,7 +266,7 @@ pub mod payment_methods { } } pub mod list_by_billing_account_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -339,7 +339,7 @@ pub mod payment_methods { } } pub mod list_by_billing_profile_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -363,7 +363,7 @@ pub mod payment_methods { } } pub mod addresses { - use crate::models::*; + use super::{models, models::*}; pub async fn validate( operation_config: &crate::OperationConfig, address: &Address, @@ -408,7 +408,7 @@ pub mod addresses { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -432,7 +432,7 @@ pub mod addresses { } } pub mod available_balances { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_billing_profile( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -484,7 +484,7 @@ pub mod available_balances { } } pub mod get_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -508,7 +508,7 @@ pub mod available_balances { } } pub mod billing_profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_billing_account_name( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -562,7 +562,7 @@ pub mod billing_profiles { } } pub mod list_by_billing_account_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -631,7 +631,7 @@ pub mod billing_profiles { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BillingProfile), @@ -708,7 +708,7 @@ pub mod billing_profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -779,7 +779,7 @@ pub mod billing_profiles { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BillingProfile), @@ -808,7 +808,7 @@ pub mod billing_profiles { } } pub mod customers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_billing_account_name( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -866,7 +866,7 @@ pub mod customers { } } pub mod list_by_billing_account_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -938,7 +938,7 @@ pub mod customers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -962,7 +962,7 @@ pub mod customers { } } pub mod invoice_sections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_billing_account_name( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -1016,7 +1016,7 @@ pub mod invoice_sections { } } pub mod list_by_billing_account_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1085,7 +1085,7 @@ pub mod invoice_sections { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(InvoiceSection), @@ -1163,7 +1163,7 @@ pub mod invoice_sections { } } pub mod list_by_billing_profile_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1238,7 +1238,7 @@ pub mod invoice_sections { } } pub mod list_by_create_subscription_permission { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1310,7 +1310,7 @@ pub mod invoice_sections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1381,7 +1381,7 @@ pub mod invoice_sections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(InvoiceSection), @@ -1454,7 +1454,7 @@ pub mod invoice_sections { } } pub mod elevate_to_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1478,7 +1478,7 @@ pub mod invoice_sections { } } pub mod departments { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_billing_account_name( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -1536,7 +1536,7 @@ pub mod departments { } } pub mod list_by_billing_account_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1612,7 +1612,7 @@ pub mod departments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1636,7 +1636,7 @@ pub mod departments { } } pub mod enrollment_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_billing_account_name( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -1694,7 +1694,7 @@ pub mod enrollment_accounts { } } pub mod list_by_billing_account_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1775,7 +1775,7 @@ pub mod enrollment_accounts { } } pub mod get_by_enrollment_account_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1799,7 +1799,7 @@ pub mod enrollment_accounts { } } pub mod invoices { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_billing_account_name( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -1853,7 +1853,7 @@ pub mod invoices { } } pub mod list_by_billing_account_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1930,7 +1930,7 @@ pub mod invoices { } } pub mod list_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2000,7 +2000,7 @@ pub mod invoices { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2024,7 +2024,7 @@ pub mod invoices { } } pub mod price_sheet { - use crate::models::*; + use super::{models, models::*}; pub async fn download( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -2076,7 +2076,7 @@ pub mod price_sheet { } } pub mod download { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2105,7 +2105,7 @@ pub mod price_sheet { } } pub mod billing_subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_billing_account_name( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -2155,7 +2155,7 @@ pub mod billing_subscriptions { } } pub mod list_by_billing_account_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2228,7 +2228,7 @@ pub mod billing_subscriptions { } } pub mod list_by_billing_profile_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2301,7 +2301,7 @@ pub mod billing_subscriptions { } } pub mod list_by_customer_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2374,7 +2374,7 @@ pub mod billing_subscriptions { } } pub mod get_by_customer_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2447,7 +2447,7 @@ pub mod billing_subscriptions { } } pub mod list_by_invoice_section_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2517,7 +2517,7 @@ pub mod billing_subscriptions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2592,7 +2592,7 @@ pub mod billing_subscriptions { } } pub mod transfer { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TransferBillingSubscriptionResult), @@ -2671,7 +2671,7 @@ pub mod billing_subscriptions { } } pub mod validate_transfer { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2695,7 +2695,7 @@ pub mod billing_subscriptions { } } pub mod products { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_billing_account_name( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -2749,7 +2749,7 @@ pub mod products { } } pub mod list_by_billing_account_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2826,7 +2826,7 @@ pub mod products { } } pub mod list_by_invoice_section_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2896,7 +2896,7 @@ pub mod products { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2972,7 +2972,7 @@ pub mod products { } } pub mod transfer { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProductSummary), @@ -3051,7 +3051,7 @@ pub mod products { } } pub mod validate_transfer { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3126,7 +3126,7 @@ pub mod products { } } pub mod update_auto_renew_by_billing_account_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3203,7 +3203,7 @@ pub mod products { } } pub mod update_auto_renew_by_invoice_section_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3227,7 +3227,7 @@ pub mod products { } } pub mod transactions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_billing_account_name( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -3285,7 +3285,7 @@ pub mod transactions { } } pub mod list_by_billing_account_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3366,7 +3366,7 @@ pub mod transactions { } } pub mod list_by_billing_profile_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3447,7 +3447,7 @@ pub mod transactions { } } pub mod list_by_customer_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3528,7 +3528,7 @@ pub mod transactions { } } pub mod list_by_invoice_section_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3552,7 +3552,7 @@ pub mod transactions { } } pub mod policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_billing_profile_name( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -3604,7 +3604,7 @@ pub mod policies { } } pub mod get_by_billing_profile_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3674,7 +3674,7 @@ pub mod policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3698,7 +3698,7 @@ pub mod policies { } } pub mod billing_property { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig, subscription_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -3740,7 +3740,7 @@ pub mod billing_property { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3764,7 +3764,7 @@ pub mod billing_property { } } pub mod transfers { - use crate::models::*; + use super::{models, models::*}; pub async fn initiate( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -3815,7 +3815,7 @@ pub mod transfers { } } pub mod initiate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3884,7 +3884,7 @@ pub mod transfers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3953,7 +3953,7 @@ pub mod transfers { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4020,7 +4020,7 @@ pub mod transfers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4044,7 +4044,7 @@ pub mod transfers { } } pub mod recipient_transfers { - use crate::models::*; + use super::{models, models::*}; pub async fn accept( operation_config: &crate::OperationConfig, transfer_name: &str, @@ -4090,7 +4090,7 @@ pub mod recipient_transfers { } } pub mod accept { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4159,7 +4159,7 @@ pub mod recipient_transfers { } } pub mod decline { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4224,7 +4224,7 @@ pub mod recipient_transfers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4282,7 +4282,7 @@ pub mod recipient_transfers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4306,7 +4306,7 @@ pub mod recipient_transfers { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Billing/operations", operation_config.base_path(),); @@ -4344,7 +4344,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4368,7 +4368,7 @@ pub mod operations { } } pub mod billing_permissions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_billing_account( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -4418,7 +4418,7 @@ pub mod billing_permissions { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4489,7 +4489,7 @@ pub mod billing_permissions { } } pub mod list_by_customers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4562,7 +4562,7 @@ pub mod billing_permissions { } } pub mod list_by_invoice_sections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4635,7 +4635,7 @@ pub mod billing_permissions { } } pub mod list_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4659,7 +4659,7 @@ pub mod billing_permissions { } } pub mod billing_role_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_billing_account_name( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -4711,7 +4711,7 @@ pub mod billing_role_definitions { } } pub mod get_by_billing_account_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4786,7 +4786,7 @@ pub mod billing_role_definitions { } } pub mod get_by_invoice_section_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4861,7 +4861,7 @@ pub mod billing_role_definitions { } } pub mod get_by_billing_profile_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4932,7 +4932,7 @@ pub mod billing_role_definitions { } } pub mod list_by_billing_account_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5005,7 +5005,7 @@ pub mod billing_role_definitions { } } pub mod list_by_invoice_section_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5078,7 +5078,7 @@ pub mod billing_role_definitions { } } pub mod list_by_billing_profile_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5102,7 +5102,7 @@ pub mod billing_role_definitions { } } pub mod billing_role_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_billing_account( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -5154,7 +5154,7 @@ pub mod billing_role_assignments { } } pub mod get_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5227,7 +5227,7 @@ pub mod billing_role_assignments { } } pub mod delete_by_billing_account_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5302,7 +5302,7 @@ pub mod billing_role_assignments { } } pub mod get_by_invoice_section_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5377,7 +5377,7 @@ pub mod billing_role_assignments { } } pub mod delete_by_invoice_section_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5452,7 +5452,7 @@ pub mod billing_role_assignments { } } pub mod get_by_billing_profile_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5527,7 +5527,7 @@ pub mod billing_role_assignments { } } pub mod delete_by_billing_profile_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5598,7 +5598,7 @@ pub mod billing_role_assignments { } } pub mod list_by_billing_account_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5671,7 +5671,7 @@ pub mod billing_role_assignments { } } pub mod add_by_billing_account_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5744,7 +5744,7 @@ pub mod billing_role_assignments { } } pub mod list_by_invoice_section_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5819,7 +5819,7 @@ pub mod billing_role_assignments { } } pub mod add_by_invoice_section_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5892,7 +5892,7 @@ pub mod billing_role_assignments { } } pub mod list_by_billing_profile_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5967,7 +5967,7 @@ pub mod billing_role_assignments { } } pub mod add_by_billing_profile_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5991,7 +5991,7 @@ pub mod billing_role_assignments { } } pub mod agreements { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_billing_account_name( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -6045,7 +6045,7 @@ pub mod agreements { } } pub mod list_by_billing_account_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6117,7 +6117,7 @@ pub mod agreements { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6141,7 +6141,7 @@ pub mod agreements { } } pub mod line_of_credits { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig, subscription_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -6183,7 +6183,7 @@ pub mod line_of_credits { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6252,7 +6252,7 @@ pub mod line_of_credits { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LineOfCredit), diff --git a/services/mgmt/billing/src/package_2019_10_preview/operations.rs b/services/mgmt/billing/src/package_2019_10_preview/operations.rs index 482d277bfb..31a6d96c91 100644 --- a/services/mgmt/billing/src/package_2019_10_preview/operations.rs +++ b/services/mgmt/billing/src/package_2019_10_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod billing_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, expand: Option<&str>, @@ -48,7 +48,7 @@ pub mod billing_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -118,7 +118,7 @@ pub mod billing_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -187,7 +187,7 @@ pub mod billing_accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BillingAccount), @@ -267,7 +267,7 @@ pub mod billing_accounts { } } pub mod list_invoice_sections_by_create_subscription_permission { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -291,7 +291,7 @@ pub mod billing_accounts { } } pub mod payment_methods { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_billing_account( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -341,7 +341,7 @@ pub mod payment_methods { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -414,7 +414,7 @@ pub mod payment_methods { } } pub mod list_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -438,7 +438,7 @@ pub mod payment_methods { } } pub mod address { - use crate::models::*; + use super::{models, models::*}; pub async fn validate( operation_config: &crate::OperationConfig, address: &AddressDetails, @@ -483,7 +483,7 @@ pub mod address { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -507,7 +507,7 @@ pub mod address { } } pub mod available_balances { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_billing_profile( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -559,7 +559,7 @@ pub mod available_balances { } } pub mod get_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -583,7 +583,7 @@ pub mod available_balances { } } pub mod instructions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_billing_profile( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -635,7 +635,7 @@ pub mod instructions { } } pub mod list_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -705,7 +705,7 @@ pub mod instructions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -777,7 +777,7 @@ pub mod instructions { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -801,7 +801,7 @@ pub mod instructions { } } pub mod billing_profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn get_eligibility_to_detach_payment_method( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -853,7 +853,7 @@ pub mod billing_profiles { } } pub mod get_eligibility_to_detach_payment_method { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -928,7 +928,7 @@ pub mod billing_profiles { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1000,7 +1000,7 @@ pub mod billing_profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1071,7 +1071,7 @@ pub mod billing_profiles { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BillingProfile), @@ -1147,7 +1147,7 @@ pub mod billing_profiles { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BillingProfile), @@ -1176,7 +1176,7 @@ pub mod billing_profiles { } } pub mod customers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_billing_profile( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -1236,7 +1236,7 @@ pub mod customers { } } pub mod list_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1315,7 +1315,7 @@ pub mod customers { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1387,7 +1387,7 @@ pub mod customers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1411,7 +1411,7 @@ pub mod customers { } } pub mod invoice_sections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_billing_profile( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -1463,7 +1463,7 @@ pub mod invoice_sections { } } pub mod list_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1533,7 +1533,7 @@ pub mod invoice_sections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1606,7 +1606,7 @@ pub mod invoice_sections { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(InvoiceSection), @@ -1684,7 +1684,7 @@ pub mod invoice_sections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(InvoiceSection), @@ -1759,7 +1759,7 @@ pub mod invoice_sections { } } pub mod elevate_to_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1783,7 +1783,7 @@ pub mod invoice_sections { } } pub mod billing_permissions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_customer( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -1833,7 +1833,7 @@ pub mod billing_permissions { } } pub mod list_by_customer { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1904,7 +1904,7 @@ pub mod billing_permissions { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1979,7 +1979,7 @@ pub mod billing_permissions { } } pub mod list_by_invoice_sections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2052,7 +2052,7 @@ pub mod billing_permissions { } } pub mod list_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2123,7 +2123,7 @@ pub mod billing_permissions { } } pub mod list_by_department { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2196,7 +2196,7 @@ pub mod billing_permissions { } } pub mod list_by_enrollment_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2220,7 +2220,7 @@ pub mod billing_permissions { } } pub mod billing_subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_customer( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -2270,7 +2270,7 @@ pub mod billing_subscriptions { } } pub mod list_by_customer { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2343,7 +2343,7 @@ pub mod billing_subscriptions { } } pub mod get_by_customer { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2414,7 +2414,7 @@ pub mod billing_subscriptions { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2487,7 +2487,7 @@ pub mod billing_subscriptions { } } pub mod list_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2562,7 +2562,7 @@ pub mod billing_subscriptions { } } pub mod list_by_invoice_section { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2634,7 +2634,7 @@ pub mod billing_subscriptions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2711,7 +2711,7 @@ pub mod billing_subscriptions { } } pub mod transfer { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TransferBillingSubscriptionResult), @@ -2785,7 +2785,7 @@ pub mod billing_subscriptions { } } pub mod validate_transfer { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2809,7 +2809,7 @@ pub mod billing_subscriptions { } } pub mod products { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_customer( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -2863,7 +2863,7 @@ pub mod products { } } pub mod list_by_customer { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2936,7 +2936,7 @@ pub mod products { } } pub mod get_by_customer { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3011,7 +3011,7 @@ pub mod products { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3090,7 +3090,7 @@ pub mod products { } } pub mod list_by_invoice_section { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3162,7 +3162,7 @@ pub mod products { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3240,7 +3240,7 @@ pub mod products { } } pub mod transfer { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Product), @@ -3314,7 +3314,7 @@ pub mod products { } } pub mod validate_transfer { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3393,7 +3393,7 @@ pub mod products { } } pub mod update_auto_renew_by_invoice_section { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3417,7 +3417,7 @@ pub mod products { } } pub mod transactions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_customer( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -3475,7 +3475,7 @@ pub mod transactions { } } pub mod list_by_customer { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3554,7 +3554,7 @@ pub mod transactions { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3635,7 +3635,7 @@ pub mod transactions { } } pub mod list_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3718,7 +3718,7 @@ pub mod transactions { } } pub mod list_by_invoice_section { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3791,7 +3791,7 @@ pub mod transactions { } } pub mod list_by_invoice { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3865,7 +3865,7 @@ pub mod transactions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3889,7 +3889,7 @@ pub mod transactions { } } pub mod departments { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_billing_account_name( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -3947,7 +3947,7 @@ pub mod departments { } } pub mod list_by_billing_account_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4023,7 +4023,7 @@ pub mod departments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4047,7 +4047,7 @@ pub mod departments { } } pub mod enrollment_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_billing_account_name( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -4105,7 +4105,7 @@ pub mod enrollment_accounts { } } pub mod list_by_billing_account_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4186,7 +4186,7 @@ pub mod enrollment_accounts { } } pub mod get_by_enrollment_account_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4210,7 +4210,7 @@ pub mod enrollment_accounts { } } pub mod invoices { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_billing_account( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -4264,7 +4264,7 @@ pub mod invoices { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4338,7 +4338,7 @@ pub mod invoices { } } pub mod download_multiple_ea_invoices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4416,7 +4416,7 @@ pub mod invoices { } } pub mod get_billing_account_invoice { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4494,7 +4494,7 @@ pub mod invoices { } } pub mod download_multiple_billing_subscription_invoices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4576,7 +4576,7 @@ pub mod invoices { } } pub mod list_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4652,7 +4652,7 @@ pub mod invoices { } } pub mod download_multiple_billing_profile_invoices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4727,7 +4727,7 @@ pub mod invoices { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4804,7 +4804,7 @@ pub mod invoices { } } pub mod list_by_billing_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4877,7 +4877,7 @@ pub mod invoices { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4901,7 +4901,7 @@ pub mod invoices { } } pub mod price_sheet { - use crate::models::*; + use super::{models, models::*}; pub async fn download( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -4955,7 +4955,7 @@ pub mod price_sheet { } } pub mod download { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5035,7 +5035,7 @@ pub mod price_sheet { } } pub mod download_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5064,7 +5064,7 @@ pub mod price_sheet { } } pub mod policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_billing_profile( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -5116,7 +5116,7 @@ pub mod policies { } } pub mod get_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5186,7 +5186,7 @@ pub mod policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5257,7 +5257,7 @@ pub mod policies { } } pub mod get_by_customer { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5330,7 +5330,7 @@ pub mod policies { } } pub mod update_customer { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5354,7 +5354,7 @@ pub mod policies { } } pub mod billing_property { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig, subscription_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -5396,7 +5396,7 @@ pub mod billing_property { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5420,7 +5420,7 @@ pub mod billing_property { } } pub mod transfers { - use crate::models::*; + use super::{models, models::*}; pub async fn initiate( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -5473,7 +5473,7 @@ pub mod transfers { } } pub mod initiate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5544,7 +5544,7 @@ pub mod transfers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5615,7 +5615,7 @@ pub mod transfers { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5684,7 +5684,7 @@ pub mod transfers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5708,7 +5708,7 @@ pub mod transfers { } } pub mod partner_transfers { - use crate::models::*; + use super::{models, models::*}; pub async fn initiate( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -5761,7 +5761,7 @@ pub mod partner_transfers { } } pub mod initiate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5832,7 +5832,7 @@ pub mod partner_transfers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5903,7 +5903,7 @@ pub mod partner_transfers { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5972,7 +5972,7 @@ pub mod partner_transfers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5996,7 +5996,7 @@ pub mod partner_transfers { } } pub mod recipient_transfers { - use crate::models::*; + use super::{models, models::*}; pub async fn accept( operation_config: &crate::OperationConfig, transfer_name: &str, @@ -6042,7 +6042,7 @@ pub mod recipient_transfers { } } pub mod accept { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6112,7 +6112,7 @@ pub mod recipient_transfers { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6181,7 +6181,7 @@ pub mod recipient_transfers { } } pub mod decline { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6246,7 +6246,7 @@ pub mod recipient_transfers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6304,7 +6304,7 @@ pub mod recipient_transfers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6328,7 +6328,7 @@ pub mod recipient_transfers { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Billing/operations", operation_config.base_path(),); @@ -6366,7 +6366,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6390,7 +6390,7 @@ pub mod operations { } } pub mod billing_role_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_billing_account( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -6442,7 +6442,7 @@ pub mod billing_role_definitions { } } pub mod get_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6519,7 +6519,7 @@ pub mod billing_role_definitions { } } pub mod get_by_invoice_section { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6594,7 +6594,7 @@ pub mod billing_role_definitions { } } pub mod get_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6667,7 +6667,7 @@ pub mod billing_role_definitions { } } pub mod get_by_department { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6742,7 +6742,7 @@ pub mod billing_role_definitions { } } pub mod get_by_enrollment_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6813,7 +6813,7 @@ pub mod billing_role_definitions { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6888,7 +6888,7 @@ pub mod billing_role_definitions { } } pub mod list_by_invoice_section { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6961,7 +6961,7 @@ pub mod billing_role_definitions { } } pub mod list_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7032,7 +7032,7 @@ pub mod billing_role_definitions { } } pub mod list_by_department { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7105,7 +7105,7 @@ pub mod billing_role_definitions { } } pub mod list_by_enrollment_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7129,7 +7129,7 @@ pub mod billing_role_definitions { } } pub mod billing_role_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_billing_account( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -7181,7 +7181,7 @@ pub mod billing_role_assignments { } } pub mod get_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7254,7 +7254,7 @@ pub mod billing_role_assignments { } } pub mod delete_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7331,7 +7331,7 @@ pub mod billing_role_assignments { } } pub mod get_by_invoice_section { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7408,7 +7408,7 @@ pub mod billing_role_assignments { } } pub mod delete_by_invoice_section { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7483,7 +7483,7 @@ pub mod billing_role_assignments { } } pub mod get_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7558,7 +7558,7 @@ pub mod billing_role_assignments { } } pub mod delete_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7631,7 +7631,7 @@ pub mod billing_role_assignments { } } pub mod get_by_department { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7704,7 +7704,7 @@ pub mod billing_role_assignments { } } pub mod delete_by_department { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7779,7 +7779,7 @@ pub mod billing_role_assignments { } } pub mod get_by_enrollment_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7854,7 +7854,7 @@ pub mod billing_role_assignments { } } pub mod delete_by_enrollment_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7925,7 +7925,7 @@ pub mod billing_role_assignments { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7998,7 +7998,7 @@ pub mod billing_role_assignments { } } pub mod add_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8073,7 +8073,7 @@ pub mod billing_role_assignments { } } pub mod list_by_invoice_section { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8150,7 +8150,7 @@ pub mod billing_role_assignments { } } pub mod add_by_invoice_section { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8223,7 +8223,7 @@ pub mod billing_role_assignments { } } pub mod list_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8298,7 +8298,7 @@ pub mod billing_role_assignments { } } pub mod add_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8369,7 +8369,7 @@ pub mod billing_role_assignments { } } pub mod list_by_department { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8442,7 +8442,7 @@ pub mod billing_role_assignments { } } pub mod list_by_enrollment_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8466,7 +8466,7 @@ pub mod billing_role_assignments { } } pub mod role_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn put( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -8515,7 +8515,7 @@ pub mod role_assignments { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8539,7 +8539,7 @@ pub mod role_assignments { } } pub mod enrollment_department_role_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn put( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -8590,7 +8590,7 @@ pub mod enrollment_department_role_assignments { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8614,7 +8614,7 @@ pub mod enrollment_department_role_assignments { } } pub mod enrollment_account_role_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn put( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -8665,7 +8665,7 @@ pub mod enrollment_account_role_assignments { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8689,7 +8689,7 @@ pub mod enrollment_account_role_assignments { } } pub mod agreements { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_billing_account( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -8743,7 +8743,7 @@ pub mod agreements { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8815,7 +8815,7 @@ pub mod agreements { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/billing/src/package_2020_05/operations.rs b/services/mgmt/billing/src/package_2020_05/operations.rs index 7f2fb1a6c9..3b164937d5 100644 --- a/services/mgmt/billing/src/package_2020_05/operations.rs +++ b/services/mgmt/billing/src/package_2020_05/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod billing_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, expand: Option<&str>, @@ -48,7 +48,7 @@ pub mod billing_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -118,7 +118,7 @@ pub mod billing_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -187,7 +187,7 @@ pub mod billing_accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BillingAccount), @@ -267,7 +267,7 @@ pub mod billing_accounts { } } pub mod list_invoice_sections_by_create_subscription_permission { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -291,7 +291,7 @@ pub mod billing_accounts { } } pub mod address { - use crate::models::*; + use super::{models, models::*}; pub async fn validate( operation_config: &crate::OperationConfig, address: &AddressDetails, @@ -336,7 +336,7 @@ pub mod address { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -360,7 +360,7 @@ pub mod address { } } pub mod available_balances { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -407,7 +407,7 @@ pub mod available_balances { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -431,7 +431,7 @@ pub mod available_balances { } } pub mod instructions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_billing_profile( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -483,7 +483,7 @@ pub mod instructions { } } pub mod list_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -553,7 +553,7 @@ pub mod instructions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -625,7 +625,7 @@ pub mod instructions { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -649,7 +649,7 @@ pub mod instructions { } } pub mod billing_profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_billing_account( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -703,7 +703,7 @@ pub mod billing_profiles { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -775,7 +775,7 @@ pub mod billing_profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -849,7 +849,7 @@ pub mod billing_profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BillingProfile), @@ -878,7 +878,7 @@ pub mod billing_profiles { } } pub mod customers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_billing_profile( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -938,7 +938,7 @@ pub mod customers { } } pub mod list_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1017,7 +1017,7 @@ pub mod customers { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1089,7 +1089,7 @@ pub mod customers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1113,7 +1113,7 @@ pub mod customers { } } pub mod invoice_sections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_billing_profile( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -1165,7 +1165,7 @@ pub mod invoice_sections { } } pub mod list_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1235,7 +1235,7 @@ pub mod invoice_sections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1311,7 +1311,7 @@ pub mod invoice_sections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(InvoiceSection), @@ -1340,7 +1340,7 @@ pub mod invoice_sections { } } pub mod billing_permissions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_customer( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -1390,7 +1390,7 @@ pub mod billing_permissions { } } pub mod list_by_customer { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1461,7 +1461,7 @@ pub mod billing_permissions { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1536,7 +1536,7 @@ pub mod billing_permissions { } } pub mod list_by_invoice_sections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1609,7 +1609,7 @@ pub mod billing_permissions { } } pub mod list_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1633,7 +1633,7 @@ pub mod billing_permissions { } } pub mod billing_subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_customer( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -1683,7 +1683,7 @@ pub mod billing_subscriptions { } } pub mod list_by_customer { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1754,7 +1754,7 @@ pub mod billing_subscriptions { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1827,7 +1827,7 @@ pub mod billing_subscriptions { } } pub mod list_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1902,7 +1902,7 @@ pub mod billing_subscriptions { } } pub mod list_by_invoice_section { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1970,7 +1970,7 @@ pub mod billing_subscriptions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2040,7 +2040,7 @@ pub mod billing_subscriptions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2111,7 +2111,7 @@ pub mod billing_subscriptions { } } pub mod move_ { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BillingSubscription), @@ -2189,7 +2189,7 @@ pub mod billing_subscriptions { } } pub mod validate_move { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2213,7 +2213,7 @@ pub mod billing_subscriptions { } } pub mod products { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_customer( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -2263,7 +2263,7 @@ pub mod products { } } pub mod list_by_customer { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2338,7 +2338,7 @@ pub mod products { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2415,7 +2415,7 @@ pub mod products { } } pub mod list_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2494,7 +2494,7 @@ pub mod products { } } pub mod list_by_invoice_section { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2562,7 +2562,7 @@ pub mod products { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2632,7 +2632,7 @@ pub mod products { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2703,7 +2703,7 @@ pub mod products { } } pub mod move_ { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Product), @@ -2781,7 +2781,7 @@ pub mod products { } } pub mod validate_move { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2805,7 +2805,7 @@ pub mod products { } } pub mod invoices { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_billing_account( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -2859,7 +2859,7 @@ pub mod invoices { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2936,7 +2936,7 @@ pub mod invoices { } } pub mod list_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3004,7 +3004,7 @@ pub mod invoices { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3073,7 +3073,7 @@ pub mod invoices { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3148,7 +3148,7 @@ pub mod invoices { } } pub mod download_invoice { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3227,7 +3227,7 @@ pub mod invoices { } } pub mod download_multiple_billing_profile_invoices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3307,7 +3307,7 @@ pub mod invoices { } } pub mod list_by_billing_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3380,7 +3380,7 @@ pub mod invoices { } } pub mod get_by_subscription_and_invoice_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3457,7 +3457,7 @@ pub mod invoices { } } pub mod download_billing_subscription_invoice { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3540,7 +3540,7 @@ pub mod invoices { } } pub mod download_multiple_billing_subscription_invoices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3569,7 +3569,7 @@ pub mod invoices { } } pub mod transactions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_invoice( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -3619,7 +3619,7 @@ pub mod transactions { } } pub mod list_by_invoice { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3643,7 +3643,7 @@ pub mod transactions { } } pub mod policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_billing_profile( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -3695,7 +3695,7 @@ pub mod policies { } } pub mod get_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3765,7 +3765,7 @@ pub mod policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3836,7 +3836,7 @@ pub mod policies { } } pub mod get_by_customer { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3909,7 +3909,7 @@ pub mod policies { } } pub mod update_customer { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3933,7 +3933,7 @@ pub mod policies { } } pub mod billing_property { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig, subscription_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -3975,7 +3975,7 @@ pub mod billing_property { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4043,7 +4043,7 @@ pub mod billing_property { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4067,7 +4067,7 @@ pub mod billing_property { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Billing/operations", operation_config.base_path(),); @@ -4105,7 +4105,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4129,7 +4129,7 @@ pub mod operations { } } pub mod billing_role_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_billing_account( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -4181,7 +4181,7 @@ pub mod billing_role_definitions { } } pub mod get_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4258,7 +4258,7 @@ pub mod billing_role_definitions { } } pub mod get_by_invoice_section { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4333,7 +4333,7 @@ pub mod billing_role_definitions { } } pub mod get_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4404,7 +4404,7 @@ pub mod billing_role_definitions { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4479,7 +4479,7 @@ pub mod billing_role_definitions { } } pub mod list_by_invoice_section { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4552,7 +4552,7 @@ pub mod billing_role_definitions { } } pub mod list_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4576,7 +4576,7 @@ pub mod billing_role_definitions { } } pub mod billing_role_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_billing_account( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -4628,7 +4628,7 @@ pub mod billing_role_assignments { } } pub mod get_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4701,7 +4701,7 @@ pub mod billing_role_assignments { } } pub mod delete_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4778,7 +4778,7 @@ pub mod billing_role_assignments { } } pub mod get_by_invoice_section { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4855,7 +4855,7 @@ pub mod billing_role_assignments { } } pub mod delete_by_invoice_section { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4930,7 +4930,7 @@ pub mod billing_role_assignments { } } pub mod get_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5005,7 +5005,7 @@ pub mod billing_role_assignments { } } pub mod delete_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5076,7 +5076,7 @@ pub mod billing_role_assignments { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5151,7 +5151,7 @@ pub mod billing_role_assignments { } } pub mod list_by_invoice_section { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5224,7 +5224,7 @@ pub mod billing_role_assignments { } } pub mod list_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5248,7 +5248,7 @@ pub mod billing_role_assignments { } } pub mod agreements { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_billing_account( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -5302,7 +5302,7 @@ pub mod agreements { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5374,7 +5374,7 @@ pub mod agreements { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5398,7 +5398,7 @@ pub mod agreements { } } pub mod reservations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_billing_account( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -5464,7 +5464,7 @@ pub mod reservations { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5553,7 +5553,7 @@ pub mod reservations { } } pub mod list_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5577,7 +5577,7 @@ pub mod reservations { } } pub mod enrollment_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Billing/enrollmentAccounts", operation_config.base_path(),); @@ -5615,7 +5615,7 @@ pub mod enrollment_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5678,7 +5678,7 @@ pub mod enrollment_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5702,7 +5702,7 @@ pub mod enrollment_accounts { } } pub mod billing_periods { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5759,7 +5759,7 @@ pub mod billing_periods { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5827,7 +5827,7 @@ pub mod billing_periods { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/billing/src/package_2020_09_preview/operations.rs b/services/mgmt/billing/src/package_2020_09_preview/operations.rs index e1cfafa47f..6a4352eb46 100644 --- a/services/mgmt/billing/src/package_2020_09_preview/operations.rs +++ b/services/mgmt/billing/src/package_2020_09_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod billing_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, expand: Option<&str>, @@ -48,7 +48,7 @@ pub mod billing_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -118,7 +118,7 @@ pub mod billing_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -187,7 +187,7 @@ pub mod billing_accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BillingAccount), @@ -267,7 +267,7 @@ pub mod billing_accounts { } } pub mod list_invoice_sections_by_create_subscription_permission { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -291,7 +291,7 @@ pub mod billing_accounts { } } pub mod address { - use crate::models::*; + use super::{models, models::*}; pub async fn validate( operation_config: &crate::OperationConfig, address: &AddressDetails, @@ -336,7 +336,7 @@ pub mod address { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -360,7 +360,7 @@ pub mod address { } } pub mod available_balances { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -407,7 +407,7 @@ pub mod available_balances { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -431,7 +431,7 @@ pub mod available_balances { } } pub mod instructions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_billing_profile( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -483,7 +483,7 @@ pub mod instructions { } } pub mod list_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -553,7 +553,7 @@ pub mod instructions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -625,7 +625,7 @@ pub mod instructions { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -649,7 +649,7 @@ pub mod instructions { } } pub mod billing_profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_billing_account( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -703,7 +703,7 @@ pub mod billing_profiles { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -775,7 +775,7 @@ pub mod billing_profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -849,7 +849,7 @@ pub mod billing_profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BillingProfile), @@ -878,7 +878,7 @@ pub mod billing_profiles { } } pub mod customers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_billing_profile( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -938,7 +938,7 @@ pub mod customers { } } pub mod list_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1017,7 +1017,7 @@ pub mod customers { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1089,7 +1089,7 @@ pub mod customers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1113,7 +1113,7 @@ pub mod customers { } } pub mod invoice_sections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_billing_profile( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -1165,7 +1165,7 @@ pub mod invoice_sections { } } pub mod list_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1235,7 +1235,7 @@ pub mod invoice_sections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1311,7 +1311,7 @@ pub mod invoice_sections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(InvoiceSection), @@ -1340,7 +1340,7 @@ pub mod invoice_sections { } } pub mod billing_permissions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_customer( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -1390,7 +1390,7 @@ pub mod billing_permissions { } } pub mod list_by_customer { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1461,7 +1461,7 @@ pub mod billing_permissions { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1536,7 +1536,7 @@ pub mod billing_permissions { } } pub mod list_by_invoice_sections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1609,7 +1609,7 @@ pub mod billing_permissions { } } pub mod list_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1633,7 +1633,7 @@ pub mod billing_permissions { } } pub mod billing_subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_customer( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -1683,7 +1683,7 @@ pub mod billing_subscriptions { } } pub mod list_by_customer { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1754,7 +1754,7 @@ pub mod billing_subscriptions { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1827,7 +1827,7 @@ pub mod billing_subscriptions { } } pub mod list_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1902,7 +1902,7 @@ pub mod billing_subscriptions { } } pub mod list_by_invoice_section { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1970,7 +1970,7 @@ pub mod billing_subscriptions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2040,7 +2040,7 @@ pub mod billing_subscriptions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2111,7 +2111,7 @@ pub mod billing_subscriptions { } } pub mod move_ { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BillingSubscription), @@ -2189,7 +2189,7 @@ pub mod billing_subscriptions { } } pub mod validate_move { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2213,7 +2213,7 @@ pub mod billing_subscriptions { } } pub mod products { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_customer( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -2263,7 +2263,7 @@ pub mod products { } } pub mod list_by_customer { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2338,7 +2338,7 @@ pub mod products { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2415,7 +2415,7 @@ pub mod products { } } pub mod list_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2494,7 +2494,7 @@ pub mod products { } } pub mod list_by_invoice_section { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2562,7 +2562,7 @@ pub mod products { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2632,7 +2632,7 @@ pub mod products { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2703,7 +2703,7 @@ pub mod products { } } pub mod move_ { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Product), @@ -2781,7 +2781,7 @@ pub mod products { } } pub mod validate_move { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2805,7 +2805,7 @@ pub mod products { } } pub mod invoices { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_billing_account( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -2859,7 +2859,7 @@ pub mod invoices { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2936,7 +2936,7 @@ pub mod invoices { } } pub mod list_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3004,7 +3004,7 @@ pub mod invoices { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3073,7 +3073,7 @@ pub mod invoices { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3148,7 +3148,7 @@ pub mod invoices { } } pub mod download_invoice { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3227,7 +3227,7 @@ pub mod invoices { } } pub mod download_multiple_billing_profile_invoices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3307,7 +3307,7 @@ pub mod invoices { } } pub mod list_by_billing_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3380,7 +3380,7 @@ pub mod invoices { } } pub mod get_by_subscription_and_invoice_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3457,7 +3457,7 @@ pub mod invoices { } } pub mod download_billing_subscription_invoice { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3540,7 +3540,7 @@ pub mod invoices { } } pub mod download_multiple_billing_subscription_invoices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3569,7 +3569,7 @@ pub mod invoices { } } pub mod transactions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_invoice( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -3619,7 +3619,7 @@ pub mod transactions { } } pub mod list_by_invoice { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3643,7 +3643,7 @@ pub mod transactions { } } pub mod policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_billing_profile( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -3695,7 +3695,7 @@ pub mod policies { } } pub mod get_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3765,7 +3765,7 @@ pub mod policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3836,7 +3836,7 @@ pub mod policies { } } pub mod get_by_customer { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3909,7 +3909,7 @@ pub mod policies { } } pub mod update_customer { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3933,7 +3933,7 @@ pub mod policies { } } pub mod billing_property { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig, subscription_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -3975,7 +3975,7 @@ pub mod billing_property { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4043,7 +4043,7 @@ pub mod billing_property { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4067,7 +4067,7 @@ pub mod billing_property { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Billing/operations", operation_config.base_path(),); @@ -4105,7 +4105,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4129,7 +4129,7 @@ pub mod operations { } } pub mod billing_role_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_billing_account( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -4181,7 +4181,7 @@ pub mod billing_role_definitions { } } pub mod get_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4258,7 +4258,7 @@ pub mod billing_role_definitions { } } pub mod get_by_invoice_section { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4333,7 +4333,7 @@ pub mod billing_role_definitions { } } pub mod get_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4404,7 +4404,7 @@ pub mod billing_role_definitions { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4479,7 +4479,7 @@ pub mod billing_role_definitions { } } pub mod list_by_invoice_section { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4552,7 +4552,7 @@ pub mod billing_role_definitions { } } pub mod list_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4576,7 +4576,7 @@ pub mod billing_role_definitions { } } pub mod billing_role_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_billing_account( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -4628,7 +4628,7 @@ pub mod billing_role_assignments { } } pub mod get_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4701,7 +4701,7 @@ pub mod billing_role_assignments { } } pub mod delete_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4778,7 +4778,7 @@ pub mod billing_role_assignments { } } pub mod get_by_invoice_section { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4855,7 +4855,7 @@ pub mod billing_role_assignments { } } pub mod delete_by_invoice_section { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4930,7 +4930,7 @@ pub mod billing_role_assignments { } } pub mod get_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5005,7 +5005,7 @@ pub mod billing_role_assignments { } } pub mod delete_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5076,7 +5076,7 @@ pub mod billing_role_assignments { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5151,7 +5151,7 @@ pub mod billing_role_assignments { } } pub mod list_by_invoice_section { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5224,7 +5224,7 @@ pub mod billing_role_assignments { } } pub mod list_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5248,7 +5248,7 @@ pub mod billing_role_assignments { } } pub mod agreements { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_billing_account( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -5302,7 +5302,7 @@ pub mod agreements { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5374,7 +5374,7 @@ pub mod agreements { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5398,7 +5398,7 @@ pub mod agreements { } } pub mod reservations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_billing_account( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -5464,7 +5464,7 @@ pub mod reservations { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5553,7 +5553,7 @@ pub mod reservations { } } pub mod list_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5577,7 +5577,7 @@ pub mod reservations { } } pub mod promotion { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig, promotion_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -5619,7 +5619,7 @@ pub mod promotion { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5690,7 +5690,7 @@ pub mod promotion { } } pub mod check_eligibility { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5714,7 +5714,7 @@ pub mod promotion { } } pub mod activate { - use crate::models::*; + use super::{models, models::*}; pub async fn promotion( operation_config: &crate::OperationConfig, promotion_id: &str, @@ -5764,7 +5764,7 @@ pub mod activate { } } pub mod promotion { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5788,7 +5788,7 @@ pub mod activate { } } pub mod promotions { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Billing/promotions", operation_config.base_path(),); @@ -5826,7 +5826,7 @@ pub mod promotions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/billing/src/package_2020_11_preview/operations.rs b/services/mgmt/billing/src/package_2020_11_preview/operations.rs index 0d5cb8e518..1935eab9d7 100644 --- a/services/mgmt/billing/src/package_2020_11_preview/operations.rs +++ b/services/mgmt/billing/src/package_2020_11_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod billing_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, expand: Option<&str>, @@ -48,7 +48,7 @@ pub mod billing_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -118,7 +118,7 @@ pub mod billing_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -187,7 +187,7 @@ pub mod billing_accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BillingAccount), @@ -267,7 +267,7 @@ pub mod billing_accounts { } } pub mod list_invoice_sections_by_create_subscription_permission { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -291,7 +291,7 @@ pub mod billing_accounts { } } pub mod address { - use crate::models::*; + use super::{models, models::*}; pub async fn validate( operation_config: &crate::OperationConfig, address: &AddressDetails, @@ -336,7 +336,7 @@ pub mod address { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -360,7 +360,7 @@ pub mod address { } } pub mod available_balances { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -407,7 +407,7 @@ pub mod available_balances { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -431,7 +431,7 @@ pub mod available_balances { } } pub mod instructions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_billing_profile( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -483,7 +483,7 @@ pub mod instructions { } } pub mod list_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -553,7 +553,7 @@ pub mod instructions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -625,7 +625,7 @@ pub mod instructions { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -649,7 +649,7 @@ pub mod instructions { } } pub mod billing_profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_billing_account( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -703,7 +703,7 @@ pub mod billing_profiles { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -775,7 +775,7 @@ pub mod billing_profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -849,7 +849,7 @@ pub mod billing_profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BillingProfile), @@ -878,7 +878,7 @@ pub mod billing_profiles { } } pub mod customers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_billing_profile( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -938,7 +938,7 @@ pub mod customers { } } pub mod list_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1017,7 +1017,7 @@ pub mod customers { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1089,7 +1089,7 @@ pub mod customers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1113,7 +1113,7 @@ pub mod customers { } } pub mod invoice_sections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_billing_profile( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -1165,7 +1165,7 @@ pub mod invoice_sections { } } pub mod list_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1235,7 +1235,7 @@ pub mod invoice_sections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1311,7 +1311,7 @@ pub mod invoice_sections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(InvoiceSection), @@ -1340,7 +1340,7 @@ pub mod invoice_sections { } } pub mod billing_permissions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_customer( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -1390,7 +1390,7 @@ pub mod billing_permissions { } } pub mod list_by_customer { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1461,7 +1461,7 @@ pub mod billing_permissions { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1536,7 +1536,7 @@ pub mod billing_permissions { } } pub mod list_by_invoice_sections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1609,7 +1609,7 @@ pub mod billing_permissions { } } pub mod list_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1633,7 +1633,7 @@ pub mod billing_permissions { } } pub mod billing_subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_customer( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -1683,7 +1683,7 @@ pub mod billing_subscriptions { } } pub mod list_by_customer { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1754,7 +1754,7 @@ pub mod billing_subscriptions { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1827,7 +1827,7 @@ pub mod billing_subscriptions { } } pub mod list_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1902,7 +1902,7 @@ pub mod billing_subscriptions { } } pub mod list_by_invoice_section { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1970,7 +1970,7 @@ pub mod billing_subscriptions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2040,7 +2040,7 @@ pub mod billing_subscriptions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2111,7 +2111,7 @@ pub mod billing_subscriptions { } } pub mod move_ { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BillingSubscription), @@ -2189,7 +2189,7 @@ pub mod billing_subscriptions { } } pub mod validate_move { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2213,7 +2213,7 @@ pub mod billing_subscriptions { } } pub mod products { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_customer( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -2263,7 +2263,7 @@ pub mod products { } } pub mod list_by_customer { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2338,7 +2338,7 @@ pub mod products { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2415,7 +2415,7 @@ pub mod products { } } pub mod list_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2494,7 +2494,7 @@ pub mod products { } } pub mod list_by_invoice_section { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2562,7 +2562,7 @@ pub mod products { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2632,7 +2632,7 @@ pub mod products { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2703,7 +2703,7 @@ pub mod products { } } pub mod move_ { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Product), @@ -2781,7 +2781,7 @@ pub mod products { } } pub mod validate_move { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2805,7 +2805,7 @@ pub mod products { } } pub mod invoices { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_billing_account( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -2859,7 +2859,7 @@ pub mod invoices { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2936,7 +2936,7 @@ pub mod invoices { } } pub mod list_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3004,7 +3004,7 @@ pub mod invoices { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3073,7 +3073,7 @@ pub mod invoices { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3148,7 +3148,7 @@ pub mod invoices { } } pub mod download_invoice { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3227,7 +3227,7 @@ pub mod invoices { } } pub mod download_multiple_billing_profile_invoices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3307,7 +3307,7 @@ pub mod invoices { } } pub mod list_by_billing_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3380,7 +3380,7 @@ pub mod invoices { } } pub mod get_by_subscription_and_invoice_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3457,7 +3457,7 @@ pub mod invoices { } } pub mod download_billing_subscription_invoice { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3540,7 +3540,7 @@ pub mod invoices { } } pub mod download_multiple_billing_subscription_invoices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3569,7 +3569,7 @@ pub mod invoices { } } pub mod transactions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_invoice( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -3619,7 +3619,7 @@ pub mod transactions { } } pub mod list_by_invoice { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3643,7 +3643,7 @@ pub mod transactions { } } pub mod policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_billing_profile( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -3695,7 +3695,7 @@ pub mod policies { } } pub mod get_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3765,7 +3765,7 @@ pub mod policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3836,7 +3836,7 @@ pub mod policies { } } pub mod get_by_customer { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3909,7 +3909,7 @@ pub mod policies { } } pub mod update_customer { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3933,7 +3933,7 @@ pub mod policies { } } pub mod billing_property { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig, subscription_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -3975,7 +3975,7 @@ pub mod billing_property { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4043,7 +4043,7 @@ pub mod billing_property { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4067,7 +4067,7 @@ pub mod billing_property { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Billing/operations", operation_config.base_path(),); @@ -4105,7 +4105,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4129,7 +4129,7 @@ pub mod operations { } } pub mod billing_role_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_billing_account( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -4181,7 +4181,7 @@ pub mod billing_role_definitions { } } pub mod get_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4258,7 +4258,7 @@ pub mod billing_role_definitions { } } pub mod get_by_invoice_section { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4333,7 +4333,7 @@ pub mod billing_role_definitions { } } pub mod get_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4404,7 +4404,7 @@ pub mod billing_role_definitions { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4479,7 +4479,7 @@ pub mod billing_role_definitions { } } pub mod list_by_invoice_section { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4552,7 +4552,7 @@ pub mod billing_role_definitions { } } pub mod list_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4576,7 +4576,7 @@ pub mod billing_role_definitions { } } pub mod billing_role_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_billing_account( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -4628,7 +4628,7 @@ pub mod billing_role_assignments { } } pub mod get_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4701,7 +4701,7 @@ pub mod billing_role_assignments { } } pub mod delete_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4778,7 +4778,7 @@ pub mod billing_role_assignments { } } pub mod get_by_invoice_section { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4855,7 +4855,7 @@ pub mod billing_role_assignments { } } pub mod delete_by_invoice_section { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4930,7 +4930,7 @@ pub mod billing_role_assignments { } } pub mod get_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5005,7 +5005,7 @@ pub mod billing_role_assignments { } } pub mod delete_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5076,7 +5076,7 @@ pub mod billing_role_assignments { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5151,7 +5151,7 @@ pub mod billing_role_assignments { } } pub mod list_by_invoice_section { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5224,7 +5224,7 @@ pub mod billing_role_assignments { } } pub mod list_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5248,7 +5248,7 @@ pub mod billing_role_assignments { } } pub mod agreements { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_billing_account( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -5302,7 +5302,7 @@ pub mod agreements { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5374,7 +5374,7 @@ pub mod agreements { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5398,7 +5398,7 @@ pub mod agreements { } } pub mod reservations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_billing_account( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -5464,7 +5464,7 @@ pub mod reservations { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5553,7 +5553,7 @@ pub mod reservations { } } pub mod list_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5577,7 +5577,7 @@ pub mod reservations { } } pub mod promotion { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig, promotion_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -5619,7 +5619,7 @@ pub mod promotion { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5690,7 +5690,7 @@ pub mod promotion { } } pub mod check_eligibility { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5714,7 +5714,7 @@ pub mod promotion { } } pub mod activate { - use crate::models::*; + use super::{models, models::*}; pub async fn promotion( operation_config: &crate::OperationConfig, promotion_id: &str, @@ -5764,7 +5764,7 @@ pub mod activate { } } pub mod promotion { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5788,7 +5788,7 @@ pub mod activate { } } pub mod promotions { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Billing/promotions", operation_config.base_path(),); @@ -5826,7 +5826,7 @@ pub mod promotions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/billing/src/package_2021_10/operations.rs b/services/mgmt/billing/src/package_2021_10/operations.rs index 67eb5d24c0..9f6a65d8a5 100644 --- a/services/mgmt/billing/src/package_2021_10/operations.rs +++ b/services/mgmt/billing/src/package_2021_10/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod payment_method_owned_by_user { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Billing/paymentMethods", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod payment_method_owned_by_user { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -108,7 +108,7 @@ pub mod payment_method_owned_by_user { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -170,7 +170,7 @@ pub mod payment_method_owned_by_user { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -199,7 +199,7 @@ pub mod payment_method_owned_by_user { } } pub mod payment_methods { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_billing_account( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -249,7 +249,7 @@ pub mod payment_methods { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -322,7 +322,7 @@ pub mod payment_methods { } } pub mod list_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -397,7 +397,7 @@ pub mod payment_methods { } } pub mod get_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -421,7 +421,7 @@ pub mod payment_methods { } } pub mod payment_method_at_billing_account { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -468,7 +468,7 @@ pub mod payment_method_at_billing_account { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -492,7 +492,7 @@ pub mod payment_method_at_billing_account { } } pub mod payment_method_at_billing_profile { - use crate::models::*; + use super::{models, models::*}; pub async fn remove( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -544,7 +544,7 @@ pub mod payment_method_at_billing_profile { } } pub mod remove { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -578,7 +578,7 @@ pub mod payment_method_at_billing_profile { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Billing/operations", operation_config.base_path(),); @@ -616,7 +616,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/blockchain/Cargo.toml b/services/mgmt/blockchain/Cargo.toml index ef91a7fc15..51e91c1ecc 100644 --- a/services/mgmt/blockchain/Cargo.toml +++ b/services/mgmt/blockchain/Cargo.toml @@ -20,4 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2018-06-01-preview"] +no-default-version = [] "package-2018-06-01-preview" = [] diff --git a/services/mgmt/blockchain/src/lib.rs b/services/mgmt/blockchain/src/lib.rs index 8dbcd8f05e..fb07e3c337 100644 --- a/services/mgmt/blockchain/src/lib.rs +++ b/services/mgmt/blockchain/src/lib.rs @@ -1,9 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2018-06-01-preview")] -mod package_2018_06_01_preview; +pub mod package_2018_06_01_preview; use azure_core::setters; -#[cfg(feature = "package-2018-06-01-preview")] +#[cfg(all(feature = "package-2018-06-01-preview", not(feature = "no-default-version")))] pub use package_2018_06_01_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -27,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/blockchain/src/package_2018_06_01_preview/operations.rs b/services/mgmt/blockchain/src/package_2018_06_01_preview/operations.rs index b64f34f36a..d5167793c0 100644 --- a/services/mgmt/blockchain/src/package_2018_06_01_preview/operations.rs +++ b/services/mgmt/blockchain/src/package_2018_06_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod blockchain_members { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, blockchain_member_name: &str, @@ -51,7 +51,7 @@ pub mod blockchain_members { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -128,7 +128,7 @@ pub mod blockchain_members { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BlockchainMember), @@ -204,7 +204,7 @@ pub mod blockchain_members { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -265,7 +265,7 @@ pub mod blockchain_members { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -333,7 +333,7 @@ pub mod blockchain_members { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -397,7 +397,7 @@ pub mod blockchain_members { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -467,7 +467,7 @@ pub mod blockchain_members { } } pub mod list_consortium_members { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -536,7 +536,7 @@ pub mod blockchain_members { } } pub mod list_api_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -612,7 +612,7 @@ pub mod blockchain_members { } } pub mod list_regenerate_api_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -633,7 +633,7 @@ pub mod blockchain_members { } } pub mod blockchain_member_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location_name: &str, @@ -681,7 +681,7 @@ pub mod blockchain_member_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationResult), @@ -707,7 +707,7 @@ pub mod blockchain_member_operation_results { } } pub mod locations { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, location_name: &str, @@ -763,7 +763,7 @@ pub mod locations { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -830,7 +830,7 @@ pub mod locations { } } pub mod list_consortiums { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -851,7 +851,7 @@ pub mod locations { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Blockchain/operations", operation_config.base_path(),); @@ -887,7 +887,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -908,7 +908,7 @@ pub mod operations { } } pub mod skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -951,7 +951,7 @@ pub mod skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -972,7 +972,7 @@ pub mod skus { } } pub mod transaction_nodes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, blockchain_member_name: &str, @@ -1021,7 +1021,7 @@ pub mod transaction_nodes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1100,7 +1100,7 @@ pub mod transaction_nodes { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TransactionNode), @@ -1178,7 +1178,7 @@ pub mod transaction_nodes { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1241,7 +1241,7 @@ pub mod transaction_nodes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1311,7 +1311,7 @@ pub mod transaction_nodes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1382,7 +1382,7 @@ pub mod transaction_nodes { } } pub mod list_api_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1453,7 +1453,7 @@ pub mod transaction_nodes { } } pub mod list_regenerate_api_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/blueprint/Cargo.toml b/services/mgmt/blueprint/Cargo.toml index 846db275eb..0bfc2db5f7 100644 --- a/services/mgmt/blueprint/Cargo.toml +++ b/services/mgmt/blueprint/Cargo.toml @@ -20,5 +20,6 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2017-11-preview"] +no-default-version = [] "package-2017-11-preview" = [] "package-2018-11-preview" = [] diff --git a/services/mgmt/blueprint/src/lib.rs b/services/mgmt/blueprint/src/lib.rs index 935c29f47f..356287291d 100644 --- a/services/mgmt/blueprint/src/lib.rs +++ b/services/mgmt/blueprint/src/lib.rs @@ -1,13 +1,21 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2017-11-preview")] -mod package_2017_11_preview; -#[cfg(feature = "package-2017-11-preview")] +pub mod package_2017_11_preview; +#[cfg(all(feature = "package-2017-11-preview", not(feature = "no-default-version")))] pub use package_2017_11_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-11-preview")] -mod package_2018_11_preview; +pub mod package_2018_11_preview; use azure_core::setters; -#[cfg(feature = "package-2018-11-preview")] +#[cfg(all(feature = "package-2018-11-preview", not(feature = "no-default-version")))] pub use package_2018_11_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -31,7 +39,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/blueprint/src/package_2017_11_preview/operations.rs b/services/mgmt/blueprint/src/package_2017_11_preview/operations.rs index bcf27b6272..cf11153d7c 100644 --- a/services/mgmt/blueprint/src/package_2017_11_preview/operations.rs +++ b/services/mgmt/blueprint/src/package_2017_11_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod blueprints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, management_group_name: &str, @@ -49,7 +49,7 @@ pub mod blueprints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -117,7 +117,7 @@ pub mod blueprints { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -181,7 +181,7 @@ pub mod blueprints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Blueprint), @@ -247,7 +247,7 @@ pub mod blueprints { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -268,7 +268,7 @@ pub mod blueprints { } } pub mod artifacts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, management_group_name: &str, @@ -315,7 +315,7 @@ pub mod artifacts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -385,7 +385,7 @@ pub mod artifacts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -451,7 +451,7 @@ pub mod artifacts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Artifact), @@ -519,7 +519,7 @@ pub mod artifacts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -540,7 +540,7 @@ pub mod artifacts { } } pub mod published_blueprints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, management_group_name: &str, @@ -587,7 +587,7 @@ pub mod published_blueprints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -652,7 +652,7 @@ pub mod published_blueprints { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -718,7 +718,7 @@ pub mod published_blueprints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PublishedBlueprint), @@ -786,7 +786,7 @@ pub mod published_blueprints { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -807,7 +807,7 @@ pub mod published_blueprints { } } pub mod published_artifacts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, management_group_name: &str, @@ -856,7 +856,7 @@ pub mod published_artifacts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -921,7 +921,7 @@ pub mod published_artifacts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -942,7 +942,7 @@ pub mod published_artifacts { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Blueprint/operations", operation_config.base_path(),); @@ -978,7 +978,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -999,7 +999,7 @@ pub mod operations { } } pub mod assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1044,7 +1044,7 @@ pub mod assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1112,7 +1112,7 @@ pub mod assignments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1176,7 +1176,7 @@ pub mod assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(Assignment), @@ -1242,7 +1242,7 @@ pub mod assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/blueprint/src/package_2018_11_preview/operations.rs b/services/mgmt/blueprint/src/package_2018_11_preview/operations.rs index 3230cadd92..d0d9edaa6d 100644 --- a/services/mgmt/blueprint/src/package_2018_11_preview/operations.rs +++ b/services/mgmt/blueprint/src/package_2018_11_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod blueprints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_scope: &str, @@ -51,7 +51,7 @@ pub mod blueprints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -124,7 +124,7 @@ pub mod blueprints { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -193,7 +193,7 @@ pub mod blueprints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Blueprint), @@ -261,7 +261,7 @@ pub mod blueprints { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -285,7 +285,7 @@ pub mod blueprints { } } pub mod artifacts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_scope: &str, @@ -334,7 +334,7 @@ pub mod artifacts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -409,7 +409,7 @@ pub mod artifacts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -480,7 +480,7 @@ pub mod artifacts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Artifact), @@ -553,7 +553,7 @@ pub mod artifacts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -577,7 +577,7 @@ pub mod artifacts { } } pub mod published_blueprints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_scope: &str, @@ -626,7 +626,7 @@ pub mod published_blueprints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -702,7 +702,7 @@ pub mod published_blueprints { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -773,7 +773,7 @@ pub mod published_blueprints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PublishedBlueprint), @@ -846,7 +846,7 @@ pub mod published_blueprints { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -870,7 +870,7 @@ pub mod published_blueprints { } } pub mod published_artifacts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_scope: &str, @@ -921,7 +921,7 @@ pub mod published_artifacts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -991,7 +991,7 @@ pub mod published_artifacts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1015,7 +1015,7 @@ pub mod published_artifacts { } } pub mod assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_scope: &str, @@ -1062,7 +1062,7 @@ pub mod assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1135,7 +1135,7 @@ pub mod assignments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1208,7 +1208,7 @@ pub mod assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(Assignment), @@ -1285,7 +1285,7 @@ pub mod assignments { } } pub mod who_is_blueprint { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1348,7 +1348,7 @@ pub mod assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1372,7 +1372,7 @@ pub mod assignments { } } pub mod assignment_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_scope: &str, @@ -1419,7 +1419,7 @@ pub mod assignment_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1489,7 +1489,7 @@ pub mod assignment_operations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/botservice/Cargo.toml b/services/mgmt/botservice/Cargo.toml index 9a4a632c62..4946f16d7e 100644 --- a/services/mgmt/botservice/Cargo.toml +++ b/services/mgmt/botservice/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-03-01"] +no-default-version = [] "package-preview-2021-05" = [] "package-2021-03-01" = [] "package-2020-06-02" = [] diff --git a/services/mgmt/botservice/src/lib.rs b/services/mgmt/botservice/src/lib.rs index c6570b54bd..c6c27d27dd 100644 --- a/services/mgmt/botservice/src/lib.rs +++ b/services/mgmt/botservice/src/lib.rs @@ -1,25 +1,33 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-preview-2021-05")] -mod package_preview_2021_05; -#[cfg(feature = "package-preview-2021-05")] +pub mod package_preview_2021_05; +#[cfg(all(feature = "package-preview-2021-05", not(feature = "no-default-version")))] pub use package_preview_2021_05::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-03-01")] -mod package_2021_03_01; -#[cfg(feature = "package-2021-03-01")] +pub mod package_2021_03_01; +#[cfg(all(feature = "package-2021-03-01", not(feature = "no-default-version")))] pub use package_2021_03_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-06-02")] -mod package_2020_06_02; -#[cfg(feature = "package-2020-06-02")] +pub mod package_2020_06_02; +#[cfg(all(feature = "package-2020-06-02", not(feature = "no-default-version")))] pub use package_2020_06_02::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-07-12")] -mod package_2018_07_12; -#[cfg(feature = "package-2018-07-12")] +pub mod package_2018_07_12; +#[cfg(all(feature = "package-2018-07-12", not(feature = "no-default-version")))] pub use package_2018_07_12::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-12-01")] -mod package_2017_12_01; +pub mod package_2017_12_01; use azure_core::setters; -#[cfg(feature = "package-2017-12-01")] +#[cfg(all(feature = "package-2017-12-01", not(feature = "no-default-version")))] pub use package_2017_12_01::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -43,7 +51,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/botservice/src/package_2017_12_01/operations.rs b/services/mgmt/botservice/src/package_2017_12_01/operations.rs index cbc6ec0c44..a8b6ba94d5 100644 --- a/services/mgmt/botservice/src/package_2017_12_01/operations.rs +++ b/services/mgmt/botservice/src/package_2017_12_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod bots { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod bots { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -131,7 +131,7 @@ pub mod bots { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Bot), @@ -214,7 +214,7 @@ pub mod bots { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Bot), @@ -285,7 +285,7 @@ pub mod bots { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -363,7 +363,7 @@ pub mod bots { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -429,7 +429,7 @@ pub mod bots { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -500,7 +500,7 @@ pub mod bots { } } pub mod get_check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -524,7 +524,7 @@ pub mod bots { } } pub mod channels { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -575,7 +575,7 @@ pub mod channels { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -655,7 +655,7 @@ pub mod channels { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BotChannel), @@ -740,7 +740,7 @@ pub mod channels { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BotChannel), @@ -813,7 +813,7 @@ pub mod channels { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -894,7 +894,7 @@ pub mod channels { } } pub mod list_with_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -969,7 +969,7 @@ pub mod channels { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -993,7 +993,7 @@ pub mod channels { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.BotService/operations", operation_config.base_path(),); @@ -1029,7 +1029,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1050,7 +1050,7 @@ pub mod operations { } } pub mod bot_connection { - use crate::models::*; + use super::{models, models::*}; pub async fn list_service_providers( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1101,7 +1101,7 @@ pub mod bot_connection { } } pub mod list_service_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1177,7 +1177,7 @@ pub mod bot_connection { } } pub mod list_with_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1249,7 +1249,7 @@ pub mod bot_connection { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1329,7 +1329,7 @@ pub mod bot_connection { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionSetting), @@ -1414,7 +1414,7 @@ pub mod bot_connection { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionSetting), @@ -1487,7 +1487,7 @@ pub mod bot_connection { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1565,7 +1565,7 @@ pub mod bot_connection { } } pub mod list_by_bot_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/botservice/src/package_2018_07_12/operations.rs b/services/mgmt/botservice/src/package_2018_07_12/operations.rs index 2cef71a87d..4961e9c424 100644 --- a/services/mgmt/botservice/src/package_2018_07_12/operations.rs +++ b/services/mgmt/botservice/src/package_2018_07_12/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod bots { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod bots { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -131,7 +131,7 @@ pub mod bots { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Bot), @@ -214,7 +214,7 @@ pub mod bots { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Bot), @@ -285,7 +285,7 @@ pub mod bots { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -363,7 +363,7 @@ pub mod bots { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -429,7 +429,7 @@ pub mod bots { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -500,7 +500,7 @@ pub mod bots { } } pub mod get_check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -524,7 +524,7 @@ pub mod bots { } } pub mod channels { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -575,7 +575,7 @@ pub mod channels { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -655,7 +655,7 @@ pub mod channels { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BotChannel), @@ -740,7 +740,7 @@ pub mod channels { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BotChannel), @@ -813,7 +813,7 @@ pub mod channels { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -894,7 +894,7 @@ pub mod channels { } } pub mod list_with_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -969,7 +969,7 @@ pub mod channels { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -993,7 +993,7 @@ pub mod channels { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.BotService/operations", operation_config.base_path(),); @@ -1029,7 +1029,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1050,7 +1050,7 @@ pub mod operations { } } pub mod bot_connection { - use crate::models::*; + use super::{models, models::*}; pub async fn list_service_providers( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1101,7 +1101,7 @@ pub mod bot_connection { } } pub mod list_service_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1177,7 +1177,7 @@ pub mod bot_connection { } } pub mod list_with_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1249,7 +1249,7 @@ pub mod bot_connection { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1329,7 +1329,7 @@ pub mod bot_connection { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionSetting), @@ -1414,7 +1414,7 @@ pub mod bot_connection { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionSetting), @@ -1487,7 +1487,7 @@ pub mod bot_connection { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1565,7 +1565,7 @@ pub mod bot_connection { } } pub mod list_by_bot_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1589,7 +1589,7 @@ pub mod bot_connection { } } pub mod enterprise_channels { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, parameters: &EnterpriseChannelCheckNameAvailabilityRequest, @@ -1639,7 +1639,7 @@ pub mod enterprise_channels { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1712,7 +1712,7 @@ pub mod enterprise_channels { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1782,7 +1782,7 @@ pub mod enterprise_channels { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1860,7 +1860,7 @@ pub mod enterprise_channels { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EnterpriseChannel), @@ -1943,7 +1943,7 @@ pub mod enterprise_channels { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EnterpriseChannel), @@ -2014,7 +2014,7 @@ pub mod enterprise_channels { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/botservice/src/package_2020_06_02/operations.rs b/services/mgmt/botservice/src/package_2020_06_02/operations.rs index f41eb8f521..29d7ef18ff 100644 --- a/services/mgmt/botservice/src/package_2020_06_02/operations.rs +++ b/services/mgmt/botservice/src/package_2020_06_02/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod bots { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod bots { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -131,7 +131,7 @@ pub mod bots { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Bot), @@ -214,7 +214,7 @@ pub mod bots { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Bot), @@ -285,7 +285,7 @@ pub mod bots { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -363,7 +363,7 @@ pub mod bots { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -429,7 +429,7 @@ pub mod bots { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -500,7 +500,7 @@ pub mod bots { } } pub mod get_check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -524,7 +524,7 @@ pub mod bots { } } pub mod channels { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -575,7 +575,7 @@ pub mod channels { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -655,7 +655,7 @@ pub mod channels { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BotChannel), @@ -740,7 +740,7 @@ pub mod channels { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BotChannel), @@ -813,7 +813,7 @@ pub mod channels { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -894,7 +894,7 @@ pub mod channels { } } pub mod list_with_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -969,7 +969,7 @@ pub mod channels { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -993,7 +993,7 @@ pub mod channels { } } pub mod direct_line { - use crate::models::*; + use super::{models, models::*}; pub async fn regenerate_keys( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1049,7 +1049,7 @@ pub mod direct_line { } } pub mod regenerate_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1073,7 +1073,7 @@ pub mod direct_line { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.BotService/operations", operation_config.base_path(),); @@ -1111,7 +1111,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1135,7 +1135,7 @@ pub mod operations { } } pub mod bot_connection { - use crate::models::*; + use super::{models, models::*}; pub async fn list_service_providers( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1186,7 +1186,7 @@ pub mod bot_connection { } } pub mod list_service_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1262,7 +1262,7 @@ pub mod bot_connection { } } pub mod list_with_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1334,7 +1334,7 @@ pub mod bot_connection { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1414,7 +1414,7 @@ pub mod bot_connection { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionSetting), @@ -1499,7 +1499,7 @@ pub mod bot_connection { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionSetting), @@ -1572,7 +1572,7 @@ pub mod bot_connection { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1650,7 +1650,7 @@ pub mod bot_connection { } } pub mod list_by_bot_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/botservice/src/package_2021_03_01/operations.rs b/services/mgmt/botservice/src/package_2021_03_01/operations.rs index 48ae10d4c9..5f3aa6b859 100644 --- a/services/mgmt/botservice/src/package_2021_03_01/operations.rs +++ b/services/mgmt/botservice/src/package_2021_03_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod bots { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod bots { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -131,7 +131,7 @@ pub mod bots { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Bot), @@ -214,7 +214,7 @@ pub mod bots { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Bot), @@ -285,7 +285,7 @@ pub mod bots { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -363,7 +363,7 @@ pub mod bots { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -429,7 +429,7 @@ pub mod bots { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -500,7 +500,7 @@ pub mod bots { } } pub mod get_check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -524,7 +524,7 @@ pub mod bots { } } pub mod channels { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -575,7 +575,7 @@ pub mod channels { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -655,7 +655,7 @@ pub mod channels { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BotChannel), @@ -740,7 +740,7 @@ pub mod channels { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BotChannel), @@ -813,7 +813,7 @@ pub mod channels { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -894,7 +894,7 @@ pub mod channels { } } pub mod list_with_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -969,7 +969,7 @@ pub mod channels { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -993,7 +993,7 @@ pub mod channels { } } pub mod direct_line { - use crate::models::*; + use super::{models, models::*}; pub async fn regenerate_keys( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1049,7 +1049,7 @@ pub mod direct_line { } } pub mod regenerate_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1073,7 +1073,7 @@ pub mod direct_line { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.BotService/operations", operation_config.base_path(),); @@ -1111,7 +1111,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1135,7 +1135,7 @@ pub mod operations { } } pub mod bot_connection { - use crate::models::*; + use super::{models, models::*}; pub async fn list_service_providers( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1186,7 +1186,7 @@ pub mod bot_connection { } } pub mod list_service_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1262,7 +1262,7 @@ pub mod bot_connection { } } pub mod list_with_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1334,7 +1334,7 @@ pub mod bot_connection { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1414,7 +1414,7 @@ pub mod bot_connection { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionSetting), @@ -1499,7 +1499,7 @@ pub mod bot_connection { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionSetting), @@ -1572,7 +1572,7 @@ pub mod bot_connection { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1650,7 +1650,7 @@ pub mod bot_connection { } } pub mod list_by_bot_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1674,7 +1674,7 @@ pub mod bot_connection { } } pub mod host_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1719,7 +1719,7 @@ pub mod host_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/botservice/src/package_preview_2021_05/operations.rs b/services/mgmt/botservice/src/package_preview_2021_05/operations.rs index 708b3faedc..1d2fec9de1 100644 --- a/services/mgmt/botservice/src/package_preview_2021_05/operations.rs +++ b/services/mgmt/botservice/src/package_preview_2021_05/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod bots { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod bots { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -131,7 +131,7 @@ pub mod bots { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Bot), @@ -214,7 +214,7 @@ pub mod bots { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Bot), @@ -285,7 +285,7 @@ pub mod bots { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -363,7 +363,7 @@ pub mod bots { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -429,7 +429,7 @@ pub mod bots { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -500,7 +500,7 @@ pub mod bots { } } pub mod get_check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -524,7 +524,7 @@ pub mod bots { } } pub mod channels { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -575,7 +575,7 @@ pub mod channels { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -655,7 +655,7 @@ pub mod channels { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BotChannel), @@ -740,7 +740,7 @@ pub mod channels { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BotChannel), @@ -813,7 +813,7 @@ pub mod channels { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -894,7 +894,7 @@ pub mod channels { } } pub mod list_with_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -969,7 +969,7 @@ pub mod channels { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -993,7 +993,7 @@ pub mod channels { } } pub mod direct_line { - use crate::models::*; + use super::{models, models::*}; pub async fn regenerate_keys( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1049,7 +1049,7 @@ pub mod direct_line { } } pub mod regenerate_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1073,7 +1073,7 @@ pub mod direct_line { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.BotService/operations", operation_config.base_path(),); @@ -1111,7 +1111,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1135,7 +1135,7 @@ pub mod operations { } } pub mod bot_connection { - use crate::models::*; + use super::{models, models::*}; pub async fn list_service_providers( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1186,7 +1186,7 @@ pub mod bot_connection { } } pub mod list_service_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1262,7 +1262,7 @@ pub mod bot_connection { } } pub mod list_with_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1334,7 +1334,7 @@ pub mod bot_connection { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1414,7 +1414,7 @@ pub mod bot_connection { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionSetting), @@ -1499,7 +1499,7 @@ pub mod bot_connection { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionSetting), @@ -1572,7 +1572,7 @@ pub mod bot_connection { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1650,7 +1650,7 @@ pub mod bot_connection { } } pub mod list_by_bot_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1674,7 +1674,7 @@ pub mod bot_connection { } } pub mod host_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1719,7 +1719,7 @@ pub mod host_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1743,7 +1743,7 @@ pub mod host_settings { } } pub mod operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1791,7 +1791,7 @@ pub mod operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationResultsDescription), @@ -1820,7 +1820,7 @@ pub mod operation_results { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1869,7 +1869,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1941,7 +1941,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2015,7 +2015,7 @@ pub mod private_endpoint_connections { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2083,7 +2083,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2112,7 +2112,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_bot_resource( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2164,7 +2164,7 @@ pub mod private_link_resources { } } pub mod list_by_bot_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/cdn/Cargo.toml b/services/mgmt/cdn/Cargo.toml index c55d8c3155..9a74b8b0db 100644 --- a/services/mgmt/cdn/Cargo.toml +++ b/services/mgmt/cdn/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2020-09"] +no-default-version = [] "package-2020-09" = [] "package-2020-04" = [] "package-2019-12" = [] diff --git a/services/mgmt/cdn/src/lib.rs b/services/mgmt/cdn/src/lib.rs index 5952a6463f..d7ae6c0843 100644 --- a/services/mgmt/cdn/src/lib.rs +++ b/services/mgmt/cdn/src/lib.rs @@ -1,49 +1,57 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2020-09")] -mod package_2020_09; -#[cfg(feature = "package-2020-09")] +pub mod package_2020_09; +#[cfg(all(feature = "package-2020-09", not(feature = "no-default-version")))] pub use package_2020_09::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-04")] -mod package_2020_04; -#[cfg(feature = "package-2020-04")] +pub mod package_2020_04; +#[cfg(all(feature = "package-2020-04", not(feature = "no-default-version")))] pub use package_2020_04::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-12")] -mod package_2019_12; -#[cfg(feature = "package-2019-12")] +pub mod package_2019_12; +#[cfg(all(feature = "package-2019-12", not(feature = "no-default-version")))] pub use package_2019_12::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-06")] -mod package_2019_06; -#[cfg(feature = "package-2019-06")] +pub mod package_2019_06; +#[cfg(all(feature = "package-2019-06", not(feature = "no-default-version")))] pub use package_2019_06::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-06-preview")] -mod package_2019_06_preview; -#[cfg(feature = "package-2019-06-preview")] +pub mod package_2019_06_preview; +#[cfg(all(feature = "package-2019-06-preview", not(feature = "no-default-version")))] pub use package_2019_06_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-04")] -mod package_2019_04; -#[cfg(feature = "package-2019-04")] +pub mod package_2019_04; +#[cfg(all(feature = "package-2019-04", not(feature = "no-default-version")))] pub use package_2019_04::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-10")] -mod package_2017_10; -#[cfg(feature = "package-2017-10")] +pub mod package_2017_10; +#[cfg(all(feature = "package-2017-10", not(feature = "no-default-version")))] pub use package_2017_10::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-04")] -mod package_2017_04; -#[cfg(feature = "package-2017-04")] +pub mod package_2017_04; +#[cfg(all(feature = "package-2017-04", not(feature = "no-default-version")))] pub use package_2017_04::{models, operations, API_VERSION}; #[cfg(feature = "package-2016-10")] -mod package_2016_10; -#[cfg(feature = "package-2016-10")] +pub mod package_2016_10; +#[cfg(all(feature = "package-2016-10", not(feature = "no-default-version")))] pub use package_2016_10::{models, operations, API_VERSION}; #[cfg(feature = "package-2016-04")] -mod package_2016_04; -#[cfg(feature = "package-2016-04")] +pub mod package_2016_04; +#[cfg(all(feature = "package-2016-04", not(feature = "no-default-version")))] pub use package_2016_04::{models, operations, API_VERSION}; #[cfg(feature = "package-2015-06")] -mod package_2015_06; +pub mod package_2015_06; use azure_core::setters; -#[cfg(feature = "package-2015-06")] +#[cfg(all(feature = "package-2015-06", not(feature = "no-default-version")))] pub use package_2015_06::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -67,7 +75,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/cdn/src/package_2015_06/operations.rs b/services/mgmt/cdn/src/package_2015_06/operations.rs index 8c99736da5..190c58c8ef 100644 --- a/services/mgmt/cdn/src/package_2015_06/operations.rs +++ b/services/mgmt/cdn/src/package_2015_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription_id( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -54,7 +54,7 @@ pub mod profiles { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod profiles { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -197,7 +197,7 @@ pub mod profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -281,7 +281,7 @@ pub mod profiles { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Profile), @@ -365,7 +365,7 @@ pub mod profiles { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Profile), @@ -439,7 +439,7 @@ pub mod profiles { } } pub mod delete_if_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -518,7 +518,7 @@ pub mod profiles { } } pub mod generate_sso_uri { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -542,7 +542,7 @@ pub mod profiles { } } pub mod endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_profile( operation_config: &crate::OperationConfig, profile_name: &str, @@ -594,7 +594,7 @@ pub mod endpoints { } } pub mod list_by_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -666,7 +666,7 @@ pub mod endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -752,7 +752,7 @@ pub mod endpoints { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Endpoint), @@ -838,7 +838,7 @@ pub mod endpoints { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Endpoint), @@ -914,7 +914,7 @@ pub mod endpoints { } } pub mod delete_if_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -992,7 +992,7 @@ pub mod endpoints { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1065,7 +1065,7 @@ pub mod endpoints { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1137,7 +1137,7 @@ pub mod endpoints { } } pub mod purge_content { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1209,7 +1209,7 @@ pub mod endpoints { } } pub mod load_content { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1288,7 +1288,7 @@ pub mod endpoints { } } pub mod validate_custom_domain { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1312,7 +1312,7 @@ pub mod endpoints { } } pub mod origins { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_endpoint( operation_config: &crate::OperationConfig, endpoint_name: &str, @@ -1366,7 +1366,7 @@ pub mod origins { } } pub mod list_by_endpoint { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1440,7 +1440,7 @@ pub mod origins { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1528,7 +1528,7 @@ pub mod origins { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Origin), @@ -1616,7 +1616,7 @@ pub mod origins { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Origin), @@ -1699,7 +1699,7 @@ pub mod origins { } } pub mod delete_if_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(Origin), @@ -1728,7 +1728,7 @@ pub mod origins { } } pub mod custom_domains { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_endpoint( operation_config: &crate::OperationConfig, endpoint_name: &str, @@ -1782,7 +1782,7 @@ pub mod custom_domains { } } pub mod list_by_endpoint { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1856,7 +1856,7 @@ pub mod custom_domains { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1944,7 +1944,7 @@ pub mod custom_domains { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CustomDomain), @@ -2020,7 +2020,7 @@ pub mod custom_domains { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response {} #[derive(Debug, thiserror :: Error)] @@ -2101,7 +2101,7 @@ pub mod custom_domains { } } pub mod delete_if_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2131,7 +2131,7 @@ pub mod custom_domains { } } pub mod name_availability { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, check_name_availability_input: &CheckNameAvailabilityInput, @@ -2178,7 +2178,7 @@ pub mod name_availability { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2202,7 +2202,7 @@ pub mod name_availability { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Cdn/operations", operation_config.base_path(),); @@ -2240,7 +2240,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/cdn/src/package_2016_04/operations.rs b/services/mgmt/cdn/src/package_2016_04/operations.rs index 8c99736da5..190c58c8ef 100644 --- a/services/mgmt/cdn/src/package_2016_04/operations.rs +++ b/services/mgmt/cdn/src/package_2016_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription_id( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -54,7 +54,7 @@ pub mod profiles { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod profiles { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -197,7 +197,7 @@ pub mod profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -281,7 +281,7 @@ pub mod profiles { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Profile), @@ -365,7 +365,7 @@ pub mod profiles { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Profile), @@ -439,7 +439,7 @@ pub mod profiles { } } pub mod delete_if_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -518,7 +518,7 @@ pub mod profiles { } } pub mod generate_sso_uri { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -542,7 +542,7 @@ pub mod profiles { } } pub mod endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_profile( operation_config: &crate::OperationConfig, profile_name: &str, @@ -594,7 +594,7 @@ pub mod endpoints { } } pub mod list_by_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -666,7 +666,7 @@ pub mod endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -752,7 +752,7 @@ pub mod endpoints { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Endpoint), @@ -838,7 +838,7 @@ pub mod endpoints { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Endpoint), @@ -914,7 +914,7 @@ pub mod endpoints { } } pub mod delete_if_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -992,7 +992,7 @@ pub mod endpoints { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1065,7 +1065,7 @@ pub mod endpoints { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1137,7 +1137,7 @@ pub mod endpoints { } } pub mod purge_content { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1209,7 +1209,7 @@ pub mod endpoints { } } pub mod load_content { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1288,7 +1288,7 @@ pub mod endpoints { } } pub mod validate_custom_domain { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1312,7 +1312,7 @@ pub mod endpoints { } } pub mod origins { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_endpoint( operation_config: &crate::OperationConfig, endpoint_name: &str, @@ -1366,7 +1366,7 @@ pub mod origins { } } pub mod list_by_endpoint { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1440,7 +1440,7 @@ pub mod origins { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1528,7 +1528,7 @@ pub mod origins { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Origin), @@ -1616,7 +1616,7 @@ pub mod origins { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Origin), @@ -1699,7 +1699,7 @@ pub mod origins { } } pub mod delete_if_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(Origin), @@ -1728,7 +1728,7 @@ pub mod origins { } } pub mod custom_domains { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_endpoint( operation_config: &crate::OperationConfig, endpoint_name: &str, @@ -1782,7 +1782,7 @@ pub mod custom_domains { } } pub mod list_by_endpoint { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1856,7 +1856,7 @@ pub mod custom_domains { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1944,7 +1944,7 @@ pub mod custom_domains { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CustomDomain), @@ -2020,7 +2020,7 @@ pub mod custom_domains { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response {} #[derive(Debug, thiserror :: Error)] @@ -2101,7 +2101,7 @@ pub mod custom_domains { } } pub mod delete_if_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2131,7 +2131,7 @@ pub mod custom_domains { } } pub mod name_availability { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, check_name_availability_input: &CheckNameAvailabilityInput, @@ -2178,7 +2178,7 @@ pub mod name_availability { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2202,7 +2202,7 @@ pub mod name_availability { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Cdn/operations", operation_config.base_path(),); @@ -2240,7 +2240,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/cdn/src/package_2016_10/operations.rs b/services/mgmt/cdn/src/package_2016_10/operations.rs index fa8cbfe004..65d120043d 100644 --- a/services/mgmt/cdn/src/package_2016_10/operations.rs +++ b/services/mgmt/cdn/src/package_2016_10/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -49,7 +49,7 @@ pub mod profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -122,7 +122,7 @@ pub mod profiles { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -192,7 +192,7 @@ pub mod profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -276,7 +276,7 @@ pub mod profiles { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Profile), @@ -360,7 +360,7 @@ pub mod profiles { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Profile), @@ -431,7 +431,7 @@ pub mod profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -510,7 +510,7 @@ pub mod profiles { } } pub mod generate_sso_uri { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -586,7 +586,7 @@ pub mod profiles { } } pub mod get_supported_optimization_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -660,7 +660,7 @@ pub mod profiles { } } pub mod list_resource_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -684,7 +684,7 @@ pub mod profiles { } } pub mod endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_profile( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -736,7 +736,7 @@ pub mod endpoints { } } pub mod list_by_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -808,7 +808,7 @@ pub mod endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -894,7 +894,7 @@ pub mod endpoints { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Endpoint), @@ -980,7 +980,7 @@ pub mod endpoints { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Endpoint), @@ -1053,7 +1053,7 @@ pub mod endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1131,7 +1131,7 @@ pub mod endpoints { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1204,7 +1204,7 @@ pub mod endpoints { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1276,7 +1276,7 @@ pub mod endpoints { } } pub mod purge_content { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1348,7 +1348,7 @@ pub mod endpoints { } } pub mod load_content { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1427,7 +1427,7 @@ pub mod endpoints { } } pub mod validate_custom_domain { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1503,7 +1503,7 @@ pub mod endpoints { } } pub mod list_resource_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1527,7 +1527,7 @@ pub mod endpoints { } } pub mod origins { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_endpoint( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1581,7 +1581,7 @@ pub mod origins { } } pub mod list_by_endpoint { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1655,7 +1655,7 @@ pub mod origins { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1737,7 +1737,7 @@ pub mod origins { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Origin), @@ -1766,7 +1766,7 @@ pub mod origins { } } pub mod custom_domains { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_endpoint( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1820,7 +1820,7 @@ pub mod custom_domains { } } pub mod list_by_endpoint { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1894,7 +1894,7 @@ pub mod custom_domains { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1982,7 +1982,7 @@ pub mod custom_domains { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CustomDomain), @@ -2064,7 +2064,7 @@ pub mod custom_domains { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2149,7 +2149,7 @@ pub mod custom_domains { } } pub mod disable_custom_https { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(CustomDomain), @@ -2233,7 +2233,7 @@ pub mod custom_domains { } } pub mod enable_custom_https { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(CustomDomain), @@ -2307,7 +2307,7 @@ pub async fn check_name_availability( } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2377,7 +2377,7 @@ pub async fn list_resource_usage( } } pub mod list_resource_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2441,7 +2441,7 @@ pub async fn list_operations( } } pub mod list_operations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2464,7 +2464,7 @@ pub mod list_operations { } } pub mod edge_nodes { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Cdn/edgenodes", operation_config.base_path(),); @@ -2502,7 +2502,7 @@ pub mod edge_nodes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/cdn/src/package_2017_04/operations.rs b/services/mgmt/cdn/src/package_2017_04/operations.rs index ade2b6a982..919b7c3a55 100644 --- a/services/mgmt/cdn/src/package_2017_04/operations.rs +++ b/services/mgmt/cdn/src/package_2017_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -49,7 +49,7 @@ pub mod profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -122,7 +122,7 @@ pub mod profiles { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -192,7 +192,7 @@ pub mod profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -276,7 +276,7 @@ pub mod profiles { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Profile), @@ -360,7 +360,7 @@ pub mod profiles { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Profile), @@ -431,7 +431,7 @@ pub mod profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -510,7 +510,7 @@ pub mod profiles { } } pub mod generate_sso_uri { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -586,7 +586,7 @@ pub mod profiles { } } pub mod list_supported_optimization_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -660,7 +660,7 @@ pub mod profiles { } } pub mod list_resource_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -684,7 +684,7 @@ pub mod profiles { } } pub mod endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_profile( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -736,7 +736,7 @@ pub mod endpoints { } } pub mod list_by_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -808,7 +808,7 @@ pub mod endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -894,7 +894,7 @@ pub mod endpoints { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Endpoint), @@ -980,7 +980,7 @@ pub mod endpoints { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Endpoint), @@ -1053,7 +1053,7 @@ pub mod endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1137,7 +1137,7 @@ pub mod endpoints { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Endpoint), @@ -1221,7 +1221,7 @@ pub mod endpoints { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Endpoint), @@ -1299,7 +1299,7 @@ pub mod endpoints { } } pub mod purge_content { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1377,7 +1377,7 @@ pub mod endpoints { } } pub mod load_content { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1461,7 +1461,7 @@ pub mod endpoints { } } pub mod validate_custom_domain { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1537,7 +1537,7 @@ pub mod endpoints { } } pub mod list_resource_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1561,7 +1561,7 @@ pub mod endpoints { } } pub mod origins { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_endpoint( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1615,7 +1615,7 @@ pub mod origins { } } pub mod list_by_endpoint { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1689,7 +1689,7 @@ pub mod origins { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1771,7 +1771,7 @@ pub mod origins { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Origin), @@ -1800,7 +1800,7 @@ pub mod origins { } } pub mod custom_domains { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_endpoint( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1854,7 +1854,7 @@ pub mod custom_domains { } } pub mod list_by_endpoint { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1928,7 +1928,7 @@ pub mod custom_domains { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2016,7 +2016,7 @@ pub mod custom_domains { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CustomDomain), @@ -2098,7 +2098,7 @@ pub mod custom_domains { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2183,7 +2183,7 @@ pub mod custom_domains { } } pub mod disable_custom_https { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2267,7 +2267,7 @@ pub mod custom_domains { } } pub mod enable_custom_https { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2341,7 +2341,7 @@ pub async fn check_name_availability( } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2412,7 +2412,7 @@ pub async fn validate_probe( } } pub mod validate_probe { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2435,7 +2435,7 @@ pub mod validate_probe { } } pub mod resource_usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2481,7 +2481,7 @@ pub mod resource_usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2505,7 +2505,7 @@ pub mod resource_usage { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Cdn/operations", operation_config.base_path(),); @@ -2543,7 +2543,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2567,7 +2567,7 @@ pub mod operations { } } pub mod edge_nodes { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Cdn/edgenodes", operation_config.base_path(),); @@ -2605,7 +2605,7 @@ pub mod edge_nodes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/cdn/src/package_2017_10/operations.rs b/services/mgmt/cdn/src/package_2017_10/operations.rs index eb370b2457..404895b7cd 100644 --- a/services/mgmt/cdn/src/package_2017_10/operations.rs +++ b/services/mgmt/cdn/src/package_2017_10/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -49,7 +49,7 @@ pub mod profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -122,7 +122,7 @@ pub mod profiles { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -192,7 +192,7 @@ pub mod profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -276,7 +276,7 @@ pub mod profiles { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Profile), @@ -360,7 +360,7 @@ pub mod profiles { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Profile), @@ -431,7 +431,7 @@ pub mod profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -510,7 +510,7 @@ pub mod profiles { } } pub mod generate_sso_uri { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -586,7 +586,7 @@ pub mod profiles { } } pub mod list_supported_optimization_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -660,7 +660,7 @@ pub mod profiles { } } pub mod list_resource_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -684,7 +684,7 @@ pub mod profiles { } } pub mod endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_profile( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -736,7 +736,7 @@ pub mod endpoints { } } pub mod list_by_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -808,7 +808,7 @@ pub mod endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -894,7 +894,7 @@ pub mod endpoints { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Endpoint), @@ -980,7 +980,7 @@ pub mod endpoints { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Endpoint), @@ -1053,7 +1053,7 @@ pub mod endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1137,7 +1137,7 @@ pub mod endpoints { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Endpoint), @@ -1221,7 +1221,7 @@ pub mod endpoints { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Endpoint), @@ -1299,7 +1299,7 @@ pub mod endpoints { } } pub mod purge_content { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1377,7 +1377,7 @@ pub mod endpoints { } } pub mod load_content { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1461,7 +1461,7 @@ pub mod endpoints { } } pub mod validate_custom_domain { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1537,7 +1537,7 @@ pub mod endpoints { } } pub mod list_resource_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1561,7 +1561,7 @@ pub mod endpoints { } } pub mod origins { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_endpoint( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1615,7 +1615,7 @@ pub mod origins { } } pub mod list_by_endpoint { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1689,7 +1689,7 @@ pub mod origins { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1771,7 +1771,7 @@ pub mod origins { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Origin), @@ -1800,7 +1800,7 @@ pub mod origins { } } pub mod custom_domains { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_endpoint( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1854,7 +1854,7 @@ pub mod custom_domains { } } pub mod list_by_endpoint { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1928,7 +1928,7 @@ pub mod custom_domains { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2016,7 +2016,7 @@ pub mod custom_domains { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CustomDomain), @@ -2098,7 +2098,7 @@ pub mod custom_domains { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2183,7 +2183,7 @@ pub mod custom_domains { } } pub mod disable_custom_https { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2272,7 +2272,7 @@ pub mod custom_domains { } } pub mod enable_custom_https { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2346,7 +2346,7 @@ pub async fn check_name_availability( } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2420,7 +2420,7 @@ pub async fn check_name_availability_with_subscription( } } pub mod check_name_availability_with_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2491,7 +2491,7 @@ pub async fn validate_probe( } } pub mod validate_probe { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2514,7 +2514,7 @@ pub mod validate_probe { } } pub mod resource_usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2560,7 +2560,7 @@ pub mod resource_usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2584,7 +2584,7 @@ pub mod resource_usage { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Cdn/operations", operation_config.base_path(),); @@ -2622,7 +2622,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2646,7 +2646,7 @@ pub mod operations { } } pub mod edge_nodes { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Cdn/edgenodes", operation_config.base_path(),); @@ -2684,7 +2684,7 @@ pub mod edge_nodes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/cdn/src/package_2019_04/operations.rs b/services/mgmt/cdn/src/package_2019_04/operations.rs index eb370b2457..404895b7cd 100644 --- a/services/mgmt/cdn/src/package_2019_04/operations.rs +++ b/services/mgmt/cdn/src/package_2019_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -49,7 +49,7 @@ pub mod profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -122,7 +122,7 @@ pub mod profiles { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -192,7 +192,7 @@ pub mod profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -276,7 +276,7 @@ pub mod profiles { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Profile), @@ -360,7 +360,7 @@ pub mod profiles { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Profile), @@ -431,7 +431,7 @@ pub mod profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -510,7 +510,7 @@ pub mod profiles { } } pub mod generate_sso_uri { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -586,7 +586,7 @@ pub mod profiles { } } pub mod list_supported_optimization_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -660,7 +660,7 @@ pub mod profiles { } } pub mod list_resource_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -684,7 +684,7 @@ pub mod profiles { } } pub mod endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_profile( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -736,7 +736,7 @@ pub mod endpoints { } } pub mod list_by_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -808,7 +808,7 @@ pub mod endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -894,7 +894,7 @@ pub mod endpoints { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Endpoint), @@ -980,7 +980,7 @@ pub mod endpoints { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Endpoint), @@ -1053,7 +1053,7 @@ pub mod endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1137,7 +1137,7 @@ pub mod endpoints { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Endpoint), @@ -1221,7 +1221,7 @@ pub mod endpoints { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Endpoint), @@ -1299,7 +1299,7 @@ pub mod endpoints { } } pub mod purge_content { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1377,7 +1377,7 @@ pub mod endpoints { } } pub mod load_content { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1461,7 +1461,7 @@ pub mod endpoints { } } pub mod validate_custom_domain { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1537,7 +1537,7 @@ pub mod endpoints { } } pub mod list_resource_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1561,7 +1561,7 @@ pub mod endpoints { } } pub mod origins { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_endpoint( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1615,7 +1615,7 @@ pub mod origins { } } pub mod list_by_endpoint { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1689,7 +1689,7 @@ pub mod origins { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1771,7 +1771,7 @@ pub mod origins { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Origin), @@ -1800,7 +1800,7 @@ pub mod origins { } } pub mod custom_domains { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_endpoint( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1854,7 +1854,7 @@ pub mod custom_domains { } } pub mod list_by_endpoint { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1928,7 +1928,7 @@ pub mod custom_domains { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2016,7 +2016,7 @@ pub mod custom_domains { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CustomDomain), @@ -2098,7 +2098,7 @@ pub mod custom_domains { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2183,7 +2183,7 @@ pub mod custom_domains { } } pub mod disable_custom_https { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2272,7 +2272,7 @@ pub mod custom_domains { } } pub mod enable_custom_https { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2346,7 +2346,7 @@ pub async fn check_name_availability( } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2420,7 +2420,7 @@ pub async fn check_name_availability_with_subscription( } } pub mod check_name_availability_with_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2491,7 +2491,7 @@ pub async fn validate_probe( } } pub mod validate_probe { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2514,7 +2514,7 @@ pub mod validate_probe { } } pub mod resource_usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2560,7 +2560,7 @@ pub mod resource_usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2584,7 +2584,7 @@ pub mod resource_usage { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Cdn/operations", operation_config.base_path(),); @@ -2622,7 +2622,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2646,7 +2646,7 @@ pub mod operations { } } pub mod edge_nodes { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Cdn/edgenodes", operation_config.base_path(),); @@ -2684,7 +2684,7 @@ pub mod edge_nodes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/cdn/src/package_2019_06/operations.rs b/services/mgmt/cdn/src/package_2019_06/operations.rs index c3a9697cb3..5225c586ef 100644 --- a/services/mgmt/cdn/src/package_2019_06/operations.rs +++ b/services/mgmt/cdn/src/package_2019_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -49,7 +49,7 @@ pub mod profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -122,7 +122,7 @@ pub mod profiles { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -192,7 +192,7 @@ pub mod profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -276,7 +276,7 @@ pub mod profiles { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Profile), @@ -360,7 +360,7 @@ pub mod profiles { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Profile), @@ -431,7 +431,7 @@ pub mod profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -510,7 +510,7 @@ pub mod profiles { } } pub mod generate_sso_uri { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -586,7 +586,7 @@ pub mod profiles { } } pub mod list_supported_optimization_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -660,7 +660,7 @@ pub mod profiles { } } pub mod list_resource_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -684,7 +684,7 @@ pub mod profiles { } } pub mod endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_profile( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -736,7 +736,7 @@ pub mod endpoints { } } pub mod list_by_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -808,7 +808,7 @@ pub mod endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -894,7 +894,7 @@ pub mod endpoints { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Endpoint), @@ -980,7 +980,7 @@ pub mod endpoints { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Endpoint), @@ -1053,7 +1053,7 @@ pub mod endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1137,7 +1137,7 @@ pub mod endpoints { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Endpoint), @@ -1221,7 +1221,7 @@ pub mod endpoints { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Endpoint), @@ -1299,7 +1299,7 @@ pub mod endpoints { } } pub mod purge_content { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1377,7 +1377,7 @@ pub mod endpoints { } } pub mod load_content { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1461,7 +1461,7 @@ pub mod endpoints { } } pub mod validate_custom_domain { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1537,7 +1537,7 @@ pub mod endpoints { } } pub mod list_resource_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1561,7 +1561,7 @@ pub mod endpoints { } } pub mod origins { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_endpoint( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1615,7 +1615,7 @@ pub mod origins { } } pub mod list_by_endpoint { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1689,7 +1689,7 @@ pub mod origins { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1771,7 +1771,7 @@ pub mod origins { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Origin), @@ -1800,7 +1800,7 @@ pub mod origins { } } pub mod custom_domains { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_endpoint( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1854,7 +1854,7 @@ pub mod custom_domains { } } pub mod list_by_endpoint { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1928,7 +1928,7 @@ pub mod custom_domains { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2016,7 +2016,7 @@ pub mod custom_domains { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CustomDomain), @@ -2098,7 +2098,7 @@ pub mod custom_domains { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2183,7 +2183,7 @@ pub mod custom_domains { } } pub mod disable_custom_https { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2272,7 +2272,7 @@ pub mod custom_domains { } } pub mod enable_custom_https { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2346,7 +2346,7 @@ pub async fn check_name_availability( } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2420,7 +2420,7 @@ pub async fn check_name_availability_with_subscription( } } pub mod check_name_availability_with_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2491,7 +2491,7 @@ pub async fn validate_probe( } } pub mod validate_probe { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2514,7 +2514,7 @@ pub mod validate_probe { } } pub mod resource_usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2560,7 +2560,7 @@ pub mod resource_usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2584,7 +2584,7 @@ pub mod resource_usage { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Cdn/operations", operation_config.base_path(),); @@ -2622,7 +2622,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2646,7 +2646,7 @@ pub mod operations { } } pub mod edge_nodes { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Cdn/edgenodes", operation_config.base_path(),); @@ -2684,7 +2684,7 @@ pub mod edge_nodes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2708,7 +2708,7 @@ pub mod edge_nodes { } } pub mod policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2755,7 +2755,7 @@ pub mod policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2825,7 +2825,7 @@ pub mod policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2912,7 +2912,7 @@ pub mod policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CdnWebApplicationFirewallPolicy), @@ -2996,7 +2996,7 @@ pub mod policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CdnWebApplicationFirewallPolicy), @@ -3065,7 +3065,7 @@ pub mod policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3091,7 +3091,7 @@ pub mod policies { } } pub mod managed_rule_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3136,7 +3136,7 @@ pub mod managed_rule_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/cdn/src/package_2019_06_preview/operations.rs b/services/mgmt/cdn/src/package_2019_06_preview/operations.rs index c3a9697cb3..5225c586ef 100644 --- a/services/mgmt/cdn/src/package_2019_06_preview/operations.rs +++ b/services/mgmt/cdn/src/package_2019_06_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -49,7 +49,7 @@ pub mod profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -122,7 +122,7 @@ pub mod profiles { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -192,7 +192,7 @@ pub mod profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -276,7 +276,7 @@ pub mod profiles { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Profile), @@ -360,7 +360,7 @@ pub mod profiles { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Profile), @@ -431,7 +431,7 @@ pub mod profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -510,7 +510,7 @@ pub mod profiles { } } pub mod generate_sso_uri { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -586,7 +586,7 @@ pub mod profiles { } } pub mod list_supported_optimization_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -660,7 +660,7 @@ pub mod profiles { } } pub mod list_resource_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -684,7 +684,7 @@ pub mod profiles { } } pub mod endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_profile( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -736,7 +736,7 @@ pub mod endpoints { } } pub mod list_by_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -808,7 +808,7 @@ pub mod endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -894,7 +894,7 @@ pub mod endpoints { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Endpoint), @@ -980,7 +980,7 @@ pub mod endpoints { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Endpoint), @@ -1053,7 +1053,7 @@ pub mod endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1137,7 +1137,7 @@ pub mod endpoints { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Endpoint), @@ -1221,7 +1221,7 @@ pub mod endpoints { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Endpoint), @@ -1299,7 +1299,7 @@ pub mod endpoints { } } pub mod purge_content { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1377,7 +1377,7 @@ pub mod endpoints { } } pub mod load_content { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1461,7 +1461,7 @@ pub mod endpoints { } } pub mod validate_custom_domain { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1537,7 +1537,7 @@ pub mod endpoints { } } pub mod list_resource_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1561,7 +1561,7 @@ pub mod endpoints { } } pub mod origins { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_endpoint( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1615,7 +1615,7 @@ pub mod origins { } } pub mod list_by_endpoint { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1689,7 +1689,7 @@ pub mod origins { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1771,7 +1771,7 @@ pub mod origins { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Origin), @@ -1800,7 +1800,7 @@ pub mod origins { } } pub mod custom_domains { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_endpoint( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1854,7 +1854,7 @@ pub mod custom_domains { } } pub mod list_by_endpoint { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1928,7 +1928,7 @@ pub mod custom_domains { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2016,7 +2016,7 @@ pub mod custom_domains { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CustomDomain), @@ -2098,7 +2098,7 @@ pub mod custom_domains { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2183,7 +2183,7 @@ pub mod custom_domains { } } pub mod disable_custom_https { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2272,7 +2272,7 @@ pub mod custom_domains { } } pub mod enable_custom_https { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2346,7 +2346,7 @@ pub async fn check_name_availability( } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2420,7 +2420,7 @@ pub async fn check_name_availability_with_subscription( } } pub mod check_name_availability_with_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2491,7 +2491,7 @@ pub async fn validate_probe( } } pub mod validate_probe { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2514,7 +2514,7 @@ pub mod validate_probe { } } pub mod resource_usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2560,7 +2560,7 @@ pub mod resource_usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2584,7 +2584,7 @@ pub mod resource_usage { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Cdn/operations", operation_config.base_path(),); @@ -2622,7 +2622,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2646,7 +2646,7 @@ pub mod operations { } } pub mod edge_nodes { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Cdn/edgenodes", operation_config.base_path(),); @@ -2684,7 +2684,7 @@ pub mod edge_nodes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2708,7 +2708,7 @@ pub mod edge_nodes { } } pub mod policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2755,7 +2755,7 @@ pub mod policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2825,7 +2825,7 @@ pub mod policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2912,7 +2912,7 @@ pub mod policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CdnWebApplicationFirewallPolicy), @@ -2996,7 +2996,7 @@ pub mod policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CdnWebApplicationFirewallPolicy), @@ -3065,7 +3065,7 @@ pub mod policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3091,7 +3091,7 @@ pub mod policies { } } pub mod managed_rule_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3136,7 +3136,7 @@ pub mod managed_rule_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/cdn/src/package_2019_12/operations.rs b/services/mgmt/cdn/src/package_2019_12/operations.rs index cf347190e6..8cf74bcf12 100644 --- a/services/mgmt/cdn/src/package_2019_12/operations.rs +++ b/services/mgmt/cdn/src/package_2019_12/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -49,7 +49,7 @@ pub mod profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -122,7 +122,7 @@ pub mod profiles { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -192,7 +192,7 @@ pub mod profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -276,7 +276,7 @@ pub mod profiles { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Profile), @@ -360,7 +360,7 @@ pub mod profiles { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Profile), @@ -431,7 +431,7 @@ pub mod profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -510,7 +510,7 @@ pub mod profiles { } } pub mod generate_sso_uri { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -586,7 +586,7 @@ pub mod profiles { } } pub mod list_supported_optimization_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -660,7 +660,7 @@ pub mod profiles { } } pub mod list_resource_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -684,7 +684,7 @@ pub mod profiles { } } pub mod endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_profile( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -736,7 +736,7 @@ pub mod endpoints { } } pub mod list_by_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -808,7 +808,7 @@ pub mod endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -894,7 +894,7 @@ pub mod endpoints { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Endpoint), @@ -980,7 +980,7 @@ pub mod endpoints { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Endpoint), @@ -1053,7 +1053,7 @@ pub mod endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1137,7 +1137,7 @@ pub mod endpoints { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Endpoint), @@ -1221,7 +1221,7 @@ pub mod endpoints { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Endpoint), @@ -1299,7 +1299,7 @@ pub mod endpoints { } } pub mod purge_content { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1377,7 +1377,7 @@ pub mod endpoints { } } pub mod load_content { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1461,7 +1461,7 @@ pub mod endpoints { } } pub mod validate_custom_domain { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1537,7 +1537,7 @@ pub mod endpoints { } } pub mod list_resource_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1561,7 +1561,7 @@ pub mod endpoints { } } pub mod origins { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_endpoint( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1615,7 +1615,7 @@ pub mod origins { } } pub mod list_by_endpoint { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1689,7 +1689,7 @@ pub mod origins { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1777,7 +1777,7 @@ pub mod origins { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Origin), @@ -1865,7 +1865,7 @@ pub mod origins { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Origin), @@ -1940,7 +1940,7 @@ pub mod origins { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1969,7 +1969,7 @@ pub mod origins { } } pub mod origin_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_endpoint( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2023,7 +2023,7 @@ pub mod origin_groups { } } pub mod list_by_endpoint { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2097,7 +2097,7 @@ pub mod origin_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2185,7 +2185,7 @@ pub mod origin_groups { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OriginGroup), @@ -2273,7 +2273,7 @@ pub mod origin_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OriginGroup), @@ -2348,7 +2348,7 @@ pub mod origin_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2377,7 +2377,7 @@ pub mod origin_groups { } } pub mod custom_domains { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_endpoint( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2431,7 +2431,7 @@ pub mod custom_domains { } } pub mod list_by_endpoint { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2505,7 +2505,7 @@ pub mod custom_domains { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2593,7 +2593,7 @@ pub mod custom_domains { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CustomDomain), @@ -2675,7 +2675,7 @@ pub mod custom_domains { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2760,7 +2760,7 @@ pub mod custom_domains { } } pub mod disable_custom_https { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2849,7 +2849,7 @@ pub mod custom_domains { } } pub mod enable_custom_https { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2923,7 +2923,7 @@ pub async fn check_name_availability( } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2997,7 +2997,7 @@ pub async fn check_name_availability_with_subscription( } } pub mod check_name_availability_with_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3068,7 +3068,7 @@ pub async fn validate_probe( } } pub mod validate_probe { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3091,7 +3091,7 @@ pub mod validate_probe { } } pub mod resource_usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3137,7 +3137,7 @@ pub mod resource_usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3161,7 +3161,7 @@ pub mod resource_usage { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Cdn/operations", operation_config.base_path(),); @@ -3199,7 +3199,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3223,7 +3223,7 @@ pub mod operations { } } pub mod edge_nodes { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Cdn/edgenodes", operation_config.base_path(),); @@ -3261,7 +3261,7 @@ pub mod edge_nodes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/cdn/src/package_2020_04/operations.rs b/services/mgmt/cdn/src/package_2020_04/operations.rs index 1feba25481..64aa66f92d 100644 --- a/services/mgmt/cdn/src/package_2020_04/operations.rs +++ b/services/mgmt/cdn/src/package_2020_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -49,7 +49,7 @@ pub mod profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -122,7 +122,7 @@ pub mod profiles { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -192,7 +192,7 @@ pub mod profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -276,7 +276,7 @@ pub mod profiles { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Profile), @@ -360,7 +360,7 @@ pub mod profiles { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Profile), @@ -431,7 +431,7 @@ pub mod profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -510,7 +510,7 @@ pub mod profiles { } } pub mod generate_sso_uri { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -586,7 +586,7 @@ pub mod profiles { } } pub mod list_supported_optimization_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -660,7 +660,7 @@ pub mod profiles { } } pub mod list_resource_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -684,7 +684,7 @@ pub mod profiles { } } pub mod endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_profile( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -736,7 +736,7 @@ pub mod endpoints { } } pub mod list_by_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -808,7 +808,7 @@ pub mod endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -894,7 +894,7 @@ pub mod endpoints { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Endpoint), @@ -980,7 +980,7 @@ pub mod endpoints { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Endpoint), @@ -1053,7 +1053,7 @@ pub mod endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1137,7 +1137,7 @@ pub mod endpoints { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Endpoint), @@ -1221,7 +1221,7 @@ pub mod endpoints { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Endpoint), @@ -1299,7 +1299,7 @@ pub mod endpoints { } } pub mod purge_content { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1377,7 +1377,7 @@ pub mod endpoints { } } pub mod load_content { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1461,7 +1461,7 @@ pub mod endpoints { } } pub mod validate_custom_domain { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1537,7 +1537,7 @@ pub mod endpoints { } } pub mod list_resource_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1561,7 +1561,7 @@ pub mod endpoints { } } pub mod origins { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_endpoint( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1615,7 +1615,7 @@ pub mod origins { } } pub mod list_by_endpoint { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1689,7 +1689,7 @@ pub mod origins { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1777,7 +1777,7 @@ pub mod origins { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Origin), @@ -1865,7 +1865,7 @@ pub mod origins { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Origin), @@ -1940,7 +1940,7 @@ pub mod origins { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1969,7 +1969,7 @@ pub mod origins { } } pub mod origin_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_endpoint( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2023,7 +2023,7 @@ pub mod origin_groups { } } pub mod list_by_endpoint { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2097,7 +2097,7 @@ pub mod origin_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2185,7 +2185,7 @@ pub mod origin_groups { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OriginGroup), @@ -2273,7 +2273,7 @@ pub mod origin_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OriginGroup), @@ -2348,7 +2348,7 @@ pub mod origin_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2377,7 +2377,7 @@ pub mod origin_groups { } } pub mod custom_domains { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_endpoint( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2431,7 +2431,7 @@ pub mod custom_domains { } } pub mod list_by_endpoint { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2505,7 +2505,7 @@ pub mod custom_domains { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2593,7 +2593,7 @@ pub mod custom_domains { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CustomDomain), @@ -2675,7 +2675,7 @@ pub mod custom_domains { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2760,7 +2760,7 @@ pub mod custom_domains { } } pub mod disable_custom_https { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2849,7 +2849,7 @@ pub mod custom_domains { } } pub mod enable_custom_https { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2923,7 +2923,7 @@ pub async fn check_name_availability( } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2997,7 +2997,7 @@ pub async fn check_name_availability_with_subscription( } } pub mod check_name_availability_with_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3068,7 +3068,7 @@ pub async fn validate_probe( } } pub mod validate_probe { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3091,7 +3091,7 @@ pub mod validate_probe { } } pub mod resource_usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3137,7 +3137,7 @@ pub mod resource_usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3161,7 +3161,7 @@ pub mod resource_usage { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Cdn/operations", operation_config.base_path(),); @@ -3199,7 +3199,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3223,7 +3223,7 @@ pub mod operations { } } pub mod edge_nodes { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Cdn/edgenodes", operation_config.base_path(),); @@ -3261,7 +3261,7 @@ pub mod edge_nodes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3285,7 +3285,7 @@ pub mod edge_nodes { } } pub mod policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3332,7 +3332,7 @@ pub mod policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3402,7 +3402,7 @@ pub mod policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3489,7 +3489,7 @@ pub mod policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CdnWebApplicationFirewallPolicy), @@ -3573,7 +3573,7 @@ pub mod policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CdnWebApplicationFirewallPolicy), @@ -3642,7 +3642,7 @@ pub mod policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3668,7 +3668,7 @@ pub mod policies { } } pub mod managed_rule_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3713,7 +3713,7 @@ pub mod managed_rule_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/cdn/src/package_2020_09/operations.rs b/services/mgmt/cdn/src/package_2020_09/operations.rs index d02c52af32..0f8c1c88e0 100644 --- a/services/mgmt/cdn/src/package_2020_09/operations.rs +++ b/services/mgmt/cdn/src/package_2020_09/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -49,7 +49,7 @@ pub mod profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -122,7 +122,7 @@ pub mod profiles { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -192,7 +192,7 @@ pub mod profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -276,7 +276,7 @@ pub mod profiles { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Profile), @@ -360,7 +360,7 @@ pub mod profiles { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Profile), @@ -431,7 +431,7 @@ pub mod profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -510,7 +510,7 @@ pub mod profiles { } } pub mod generate_sso_uri { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -586,7 +586,7 @@ pub mod profiles { } } pub mod list_supported_optimization_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -660,7 +660,7 @@ pub mod profiles { } } pub mod list_resource_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -684,7 +684,7 @@ pub mod profiles { } } pub mod endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_profile( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -736,7 +736,7 @@ pub mod endpoints { } } pub mod list_by_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -808,7 +808,7 @@ pub mod endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -894,7 +894,7 @@ pub mod endpoints { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Endpoint), @@ -980,7 +980,7 @@ pub mod endpoints { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Endpoint), @@ -1053,7 +1053,7 @@ pub mod endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1137,7 +1137,7 @@ pub mod endpoints { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Endpoint), @@ -1221,7 +1221,7 @@ pub mod endpoints { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Endpoint), @@ -1299,7 +1299,7 @@ pub mod endpoints { } } pub mod purge_content { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1377,7 +1377,7 @@ pub mod endpoints { } } pub mod load_content { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1461,7 +1461,7 @@ pub mod endpoints { } } pub mod validate_custom_domain { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1537,7 +1537,7 @@ pub mod endpoints { } } pub mod list_resource_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1561,7 +1561,7 @@ pub mod endpoints { } } pub mod origins { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_endpoint( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1615,7 +1615,7 @@ pub mod origins { } } pub mod list_by_endpoint { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1689,7 +1689,7 @@ pub mod origins { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1777,7 +1777,7 @@ pub mod origins { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Origin), @@ -1865,7 +1865,7 @@ pub mod origins { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Origin), @@ -1940,7 +1940,7 @@ pub mod origins { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1969,7 +1969,7 @@ pub mod origins { } } pub mod origin_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_endpoint( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2023,7 +2023,7 @@ pub mod origin_groups { } } pub mod list_by_endpoint { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2097,7 +2097,7 @@ pub mod origin_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2185,7 +2185,7 @@ pub mod origin_groups { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OriginGroup), @@ -2273,7 +2273,7 @@ pub mod origin_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OriginGroup), @@ -2348,7 +2348,7 @@ pub mod origin_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2377,7 +2377,7 @@ pub mod origin_groups { } } pub mod custom_domains { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_endpoint( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2431,7 +2431,7 @@ pub mod custom_domains { } } pub mod list_by_endpoint { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2505,7 +2505,7 @@ pub mod custom_domains { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2593,7 +2593,7 @@ pub mod custom_domains { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CustomDomain), @@ -2675,7 +2675,7 @@ pub mod custom_domains { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2760,7 +2760,7 @@ pub mod custom_domains { } } pub mod disable_custom_https { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2849,7 +2849,7 @@ pub mod custom_domains { } } pub mod enable_custom_https { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2923,7 +2923,7 @@ pub async fn check_name_availability( } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2997,7 +2997,7 @@ pub async fn check_name_availability_with_subscription( } } pub mod check_name_availability_with_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3068,7 +3068,7 @@ pub async fn validate_probe( } } pub mod validate_probe { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3091,7 +3091,7 @@ pub mod validate_probe { } } pub mod resource_usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3137,7 +3137,7 @@ pub mod resource_usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3161,7 +3161,7 @@ pub mod resource_usage { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Cdn/operations", operation_config.base_path(),); @@ -3199,7 +3199,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3223,7 +3223,7 @@ pub mod operations { } } pub mod edge_nodes { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Cdn/edgenodes", operation_config.base_path(),); @@ -3261,7 +3261,7 @@ pub mod edge_nodes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3285,7 +3285,7 @@ pub mod edge_nodes { } } pub mod afd_profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn list_resource_usage( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3338,7 +3338,7 @@ pub mod afd_profiles { } } pub mod list_resource_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3416,7 +3416,7 @@ pub mod afd_profiles { } } pub mod check_host_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3440,7 +3440,7 @@ pub mod afd_profiles { } } pub mod afd_custom_domains { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_profile( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3492,7 +3492,7 @@ pub mod afd_custom_domains { } } pub mod list_by_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3564,7 +3564,7 @@ pub mod afd_custom_domains { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3650,7 +3650,7 @@ pub mod afd_custom_domains { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AfdDomain), @@ -3736,7 +3736,7 @@ pub mod afd_custom_domains { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AfdDomain), @@ -3810,7 +3810,7 @@ pub mod afd_custom_domains { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3894,7 +3894,7 @@ pub mod afd_custom_domains { } } pub mod refresh_validation_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3918,7 +3918,7 @@ pub mod afd_custom_domains { } } pub mod afd_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_profile( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3970,7 +3970,7 @@ pub mod afd_endpoints { } } pub mod list_by_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4042,7 +4042,7 @@ pub mod afd_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4128,7 +4128,7 @@ pub mod afd_endpoints { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AfdEndpoint), @@ -4214,7 +4214,7 @@ pub mod afd_endpoints { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AfdEndpoint), @@ -4288,7 +4288,7 @@ pub mod afd_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4367,7 +4367,7 @@ pub mod afd_endpoints { } } pub mod purge_content { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4448,7 +4448,7 @@ pub mod afd_endpoints { } } pub mod list_resource_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4527,7 +4527,7 @@ pub mod afd_endpoints { } } pub mod validate_custom_domain { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4551,7 +4551,7 @@ pub mod afd_endpoints { } } pub mod afd_origin_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_profile( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4603,7 +4603,7 @@ pub mod afd_origin_groups { } } pub mod list_by_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4675,7 +4675,7 @@ pub mod afd_origin_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4761,7 +4761,7 @@ pub mod afd_origin_groups { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AfdOriginGroup), @@ -4847,7 +4847,7 @@ pub mod afd_origin_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AfdOriginGroup), @@ -4921,7 +4921,7 @@ pub mod afd_origin_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5003,7 +5003,7 @@ pub mod afd_origin_groups { } } pub mod list_resource_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5027,7 +5027,7 @@ pub mod afd_origin_groups { } } pub mod afd_origins { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_origin_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5081,7 +5081,7 @@ pub mod afd_origins { } } pub mod list_by_origin_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5155,7 +5155,7 @@ pub mod afd_origins { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5243,7 +5243,7 @@ pub mod afd_origins { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AfdOrigin), @@ -5331,7 +5331,7 @@ pub mod afd_origins { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AfdOrigin), @@ -5407,7 +5407,7 @@ pub mod afd_origins { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5437,7 +5437,7 @@ pub mod afd_origins { } } pub mod routes { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_endpoint( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5491,7 +5491,7 @@ pub mod routes { } } pub mod list_by_endpoint { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5565,7 +5565,7 @@ pub mod routes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5653,7 +5653,7 @@ pub mod routes { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Route), @@ -5741,7 +5741,7 @@ pub mod routes { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Route), @@ -5817,7 +5817,7 @@ pub mod routes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5847,7 +5847,7 @@ pub mod routes { } } pub mod rule_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_profile( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5899,7 +5899,7 @@ pub mod rule_sets { } } pub mod list_by_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5971,7 +5971,7 @@ pub mod rule_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6055,7 +6055,7 @@ pub mod rule_sets { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RuleSet), @@ -6129,7 +6129,7 @@ pub mod rule_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6210,7 +6210,7 @@ pub mod rule_sets { } } pub mod list_resource_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6234,7 +6234,7 @@ pub mod rule_sets { } } pub mod rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_rule_set( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6288,7 +6288,7 @@ pub mod rules { } } pub mod list_by_rule_set { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6362,7 +6362,7 @@ pub mod rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6450,7 +6450,7 @@ pub mod rules { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Rule), @@ -6538,7 +6538,7 @@ pub mod rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Rule), @@ -6614,7 +6614,7 @@ pub mod rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6644,7 +6644,7 @@ pub mod rules { } } pub mod security_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_profile( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6696,7 +6696,7 @@ pub mod security_policies { } } pub mod list_by_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6768,7 +6768,7 @@ pub mod security_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6854,7 +6854,7 @@ pub mod security_policies { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityPolicy), @@ -6940,7 +6940,7 @@ pub mod security_policies { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityPolicy), @@ -7014,7 +7014,7 @@ pub mod security_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7044,7 +7044,7 @@ pub mod security_policies { } } pub mod secrets { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_profile( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7096,7 +7096,7 @@ pub mod secrets { } } pub mod list_by_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7168,7 +7168,7 @@ pub mod secrets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7254,7 +7254,7 @@ pub mod secrets { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Secret), @@ -7340,7 +7340,7 @@ pub mod secrets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Secret), @@ -7414,7 +7414,7 @@ pub mod secrets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7444,7 +7444,7 @@ pub mod secrets { } } pub mod validate { - use crate::models::*; + use super::{models, models::*}; pub async fn secret( operation_config: &crate::OperationConfig, validate_secret_input: &ValidateSecretInput, @@ -7491,7 +7491,7 @@ pub mod validate { } } pub mod secret { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7515,7 +7515,7 @@ pub mod validate { } } pub mod log_analytics { - use crate::models::*; + use super::{models, models::*}; pub async fn get_log_analytics_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7599,7 +7599,7 @@ pub mod log_analytics { } } pub mod get_log_analytics_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7692,7 +7692,7 @@ pub mod log_analytics { } } pub mod get_log_analytics_rankings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7767,7 +7767,7 @@ pub mod log_analytics { } } pub mod get_log_analytics_locations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7842,7 +7842,7 @@ pub mod log_analytics { } } pub mod get_log_analytics_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7939,7 +7939,7 @@ pub mod log_analytics { } } pub mod get_waf_log_analytics_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8036,7 +8036,7 @@ pub mod log_analytics { } } pub mod get_waf_log_analytics_rankings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8060,7 +8060,7 @@ pub mod log_analytics { } } pub mod policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8107,7 +8107,7 @@ pub mod policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8177,7 +8177,7 @@ pub mod policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8264,7 +8264,7 @@ pub mod policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CdnWebApplicationFirewallPolicy), @@ -8348,7 +8348,7 @@ pub mod policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CdnWebApplicationFirewallPolicy), @@ -8417,7 +8417,7 @@ pub mod policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8443,7 +8443,7 @@ pub mod policies { } } pub mod managed_rule_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8488,7 +8488,7 @@ pub mod managed_rule_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/changeanalysis/Cargo.toml b/services/mgmt/changeanalysis/Cargo.toml index c821df045a..f85f2ce8c7 100644 --- a/services/mgmt/changeanalysis/Cargo.toml +++ b/services/mgmt/changeanalysis/Cargo.toml @@ -20,5 +20,6 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-04-01"] +no-default-version = [] "package-2020-04-01-preview" = [] "package-2021-04-01" = [] diff --git a/services/mgmt/changeanalysis/src/lib.rs b/services/mgmt/changeanalysis/src/lib.rs index 15fd309774..8d1db38121 100644 --- a/services/mgmt/changeanalysis/src/lib.rs +++ b/services/mgmt/changeanalysis/src/lib.rs @@ -1,13 +1,21 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2020-04-01-preview")] -mod package_2020_04_01_preview; -#[cfg(feature = "package-2020-04-01-preview")] +pub mod package_2020_04_01_preview; +#[cfg(all(feature = "package-2020-04-01-preview", not(feature = "no-default-version")))] pub use package_2020_04_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-04-01")] -mod package_2021_04_01; +pub mod package_2021_04_01; use azure_core::setters; -#[cfg(feature = "package-2021-04-01")] +#[cfg(all(feature = "package-2021-04-01", not(feature = "no-default-version")))] pub use package_2021_04_01::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -31,7 +39,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/changeanalysis/src/package_2020_04_01_preview/operations.rs b/services/mgmt/changeanalysis/src/package_2020_04_01_preview/operations.rs index 209942d160..09e368d355 100644 --- a/services/mgmt/changeanalysis/src/package_2020_04_01_preview/operations.rs +++ b/services/mgmt/changeanalysis/src/package_2020_04_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod configuration_profile { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -51,7 +51,7 @@ pub mod configuration_profile { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -125,7 +125,7 @@ pub mod configuration_profile { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -199,7 +199,7 @@ pub mod configuration_profile { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -263,7 +263,7 @@ pub mod configuration_profile { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -292,7 +292,7 @@ pub mod configuration_profile { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, skip_token: Option<&str>, @@ -336,7 +336,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/changeanalysis/src/package_2021_04_01/operations.rs b/services/mgmt/changeanalysis/src/package_2021_04_01/operations.rs index 2ce466a609..96d1486dba 100644 --- a/services/mgmt/changeanalysis/src/package_2021_04_01/operations.rs +++ b/services/mgmt/changeanalysis/src/package_2021_04_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, skip_token: Option<&str>, @@ -48,7 +48,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -72,7 +72,7 @@ pub mod operations { } } pub mod resource_changes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_id: &str, @@ -126,7 +126,7 @@ pub mod resource_changes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -150,7 +150,7 @@ pub mod resource_changes { } } pub mod changes { - use crate::models::*; + use super::{models, models::*}; pub async fn list_changes_by_resource_group( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -210,7 +210,7 @@ pub mod changes { } } pub mod list_changes_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -289,7 +289,7 @@ pub mod changes { } } pub mod list_changes_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/cloudshell/Cargo.toml b/services/mgmt/cloudshell/Cargo.toml index 36fea80077..f33b498fc4 100644 --- a/services/mgmt/cloudshell/Cargo.toml +++ b/services/mgmt/cloudshell/Cargo.toml @@ -20,4 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2018-10-01"] +no-default-version = [] "package-2018-10-01" = [] diff --git a/services/mgmt/cloudshell/src/lib.rs b/services/mgmt/cloudshell/src/lib.rs index dcba17f273..5e815055f5 100644 --- a/services/mgmt/cloudshell/src/lib.rs +++ b/services/mgmt/cloudshell/src/lib.rs @@ -1,9 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2018-10-01")] -mod package_2018_10_01; +pub mod package_2018_10_01; use azure_core::setters; -#[cfg(feature = "package-2018-10-01")] +#[cfg(all(feature = "package-2018-10-01", not(feature = "no-default-version")))] pub use package_2018_10_01::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -27,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/cloudshell/src/package_2018_10_01/operations.rs b/services/mgmt/cloudshell/src/package_2018_10_01/operations.rs index f2fe3aa2fc..b21067f7ab 100644 --- a/services/mgmt/cloudshell/src/package_2018_10_01/operations.rs +++ b/services/mgmt/cloudshell/src/package_2018_10_01/operations.rs @@ -2,7 +2,7 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub async fn get_user_settings_with_location( operation_config: &crate::OperationConfig, user_settings_name: &str, @@ -54,7 +54,7 @@ pub async fn get_user_settings_with_location( } } pub mod get_user_settings_with_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -129,7 +129,7 @@ pub async fn put_user_settings_with_location( } } pub mod put_user_settings_with_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -204,7 +204,7 @@ pub async fn patch_user_settings_with_location( } } pub mod patch_user_settings_with_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -273,7 +273,7 @@ pub async fn delete_user_settings_with_location( } } pub mod delete_user_settings_with_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -351,7 +351,7 @@ pub async fn get_console_with_location( } } pub mod get_console_with_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -430,7 +430,7 @@ pub async fn put_console_with_location( } } pub mod put_console_with_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CloudShellConsole), @@ -504,7 +504,7 @@ pub async fn delete_console_with_location( } } pub mod delete_console_with_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -577,7 +577,7 @@ pub async fn keep_alive_with_location( } } pub mod keep_alive_with_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -646,7 +646,7 @@ pub async fn get_user_settings( } } pub mod get_user_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -717,7 +717,7 @@ pub async fn put_user_settings( } } pub mod put_user_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -788,7 +788,7 @@ pub async fn patch_user_settings( } } pub mod patch_user_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -853,7 +853,7 @@ pub async fn delete_user_settings( } } pub mod delete_user_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -927,7 +927,7 @@ pub async fn get_console( } } pub mod get_console { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1004,7 +1004,7 @@ pub async fn put_console( } } pub mod put_console { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CloudShellConsole), @@ -1074,7 +1074,7 @@ pub async fn delete_console( } } pub mod delete_console { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1140,7 +1140,7 @@ pub async fn keep_alive(operation_config: &crate::OperationConfig, console_name: } } pub mod keep_alive { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/cognitiveservices/Cargo.toml b/services/mgmt/cognitiveservices/Cargo.toml index 651a13ba8f..8d1c9c53d6 100644 --- a/services/mgmt/cognitiveservices/Cargo.toml +++ b/services/mgmt/cognitiveservices/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-04"] +no-default-version = [] "package-2021-04" = [] "package-2017-04" = [] "package-2016-02-preview" = [] diff --git a/services/mgmt/cognitiveservices/src/lib.rs b/services/mgmt/cognitiveservices/src/lib.rs index 96c1b8641e..dc8983da1f 100644 --- a/services/mgmt/cognitiveservices/src/lib.rs +++ b/services/mgmt/cognitiveservices/src/lib.rs @@ -1,17 +1,25 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-04")] -mod package_2021_04; -#[cfg(feature = "package-2021-04")] +pub mod package_2021_04; +#[cfg(all(feature = "package-2021-04", not(feature = "no-default-version")))] pub use package_2021_04::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-04")] -mod package_2017_04; -#[cfg(feature = "package-2017-04")] +pub mod package_2017_04; +#[cfg(all(feature = "package-2017-04", not(feature = "no-default-version")))] pub use package_2017_04::{models, operations, API_VERSION}; #[cfg(feature = "package-2016-02-preview")] -mod package_2016_02_preview; +pub mod package_2016_02_preview; use azure_core::setters; -#[cfg(feature = "package-2016-02-preview")] +#[cfg(all(feature = "package-2016-02-preview", not(feature = "no-default-version")))] pub use package_2016_02_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -35,7 +43,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/cognitiveservices/src/package_2016_02_preview/operations.rs b/services/mgmt/cognitiveservices/src/package_2016_02_preview/operations.rs index b1da0a7bd0..88b024f069 100644 --- a/services/mgmt/cognitiveservices/src/package_2016_02_preview/operations.rs +++ b/services/mgmt/cognitiveservices/src/package_2016_02_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod cognitive_services_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn get_properties( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -56,7 +56,7 @@ pub mod cognitive_services_accounts { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod cognitive_services_accounts { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CognitiveServicesAccount), @@ -211,7 +211,7 @@ pub mod cognitive_services_accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -277,7 +277,7 @@ pub mod cognitive_services_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -355,7 +355,7 @@ pub mod cognitive_services_accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -421,7 +421,7 @@ pub mod cognitive_services_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -495,7 +495,7 @@ pub mod cognitive_services_accounts { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -570,7 +570,7 @@ pub mod cognitive_services_accounts { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -643,7 +643,7 @@ pub mod cognitive_services_accounts { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/cognitiveservices/src/package_2017_04/operations.rs b/services/mgmt/cognitiveservices/src/package_2017_04/operations.rs index b0727562b5..b3eef2f790 100644 --- a/services/mgmt/cognitiveservices/src/package_2017_04/operations.rs +++ b/services/mgmt/cognitiveservices/src/package_2017_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn get_properties( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -56,7 +56,7 @@ pub mod accounts { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -140,7 +140,7 @@ pub mod accounts { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CognitiveServicesAccount), @@ -224,7 +224,7 @@ pub mod accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CognitiveServicesAccount), @@ -296,7 +296,7 @@ pub mod accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -375,7 +375,7 @@ pub mod accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -441,7 +441,7 @@ pub mod accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -515,7 +515,7 @@ pub mod accounts { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -590,7 +590,7 @@ pub mod accounts { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -663,7 +663,7 @@ pub mod accounts { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -740,7 +740,7 @@ pub mod accounts { } } pub mod get_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -764,7 +764,7 @@ pub mod accounts { } } pub mod resource_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -809,7 +809,7 @@ pub mod resource_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -833,7 +833,7 @@ pub mod resource_skus { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.CognitiveServices/operations", operation_config.base_path(),); @@ -871,7 +871,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -947,7 +947,7 @@ pub async fn check_sku_availability( } } pub mod check_sku_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1020,7 +1020,7 @@ pub async fn check_domain_availability( } } pub mod check_domain_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1043,7 +1043,7 @@ pub mod check_domain_availability { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1092,7 +1092,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1164,7 +1164,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1241,7 +1241,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1309,7 +1309,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1338,7 +1338,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1387,7 +1387,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/cognitiveservices/src/package_2021_04/operations.rs b/services/mgmt/cognitiveservices/src/package_2021_04/operations.rs index 8d476a4032..89bb55336e 100644 --- a/services/mgmt/cognitiveservices/src/package_2021_04/operations.rs +++ b/services/mgmt/cognitiveservices/src/package_2021_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -137,7 +137,7 @@ pub mod accounts { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Account), @@ -221,7 +221,7 @@ pub mod accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Account), @@ -293,7 +293,7 @@ pub mod accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -372,7 +372,7 @@ pub mod accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -438,7 +438,7 @@ pub mod accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -512,7 +512,7 @@ pub mod accounts { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -587,7 +587,7 @@ pub mod accounts { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -660,7 +660,7 @@ pub mod accounts { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -737,7 +737,7 @@ pub mod accounts { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -761,7 +761,7 @@ pub mod accounts { } } pub mod deleted_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -812,7 +812,7 @@ pub mod deleted_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -881,7 +881,7 @@ pub mod deleted_accounts { } } pub mod purge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -953,7 +953,7 @@ pub mod deleted_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -977,7 +977,7 @@ pub mod deleted_accounts { } } pub mod resource_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1022,7 +1022,7 @@ pub mod resource_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1046,7 +1046,7 @@ pub mod resource_skus { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.CognitiveServices/operations", operation_config.base_path(),); @@ -1084,7 +1084,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1160,7 +1160,7 @@ pub async fn check_sku_availability( } } pub mod check_sku_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1233,7 +1233,7 @@ pub async fn check_domain_availability( } } pub mod check_domain_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1256,7 +1256,7 @@ pub mod check_domain_availability { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1305,7 +1305,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1377,7 +1377,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1460,7 +1460,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -1534,7 +1534,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1564,7 +1564,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1613,7 +1613,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/commerce/Cargo.toml b/services/mgmt/commerce/Cargo.toml index 0440548953..1f5588d921 100644 --- a/services/mgmt/commerce/Cargo.toml +++ b/services/mgmt/commerce/Cargo.toml @@ -20,5 +20,6 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["profile-hybrid-2020-09-01"] +no-default-version = [] "package-2015-06-preview" = [] "profile-hybrid-2020-09-01" = [] diff --git a/services/mgmt/commerce/src/lib.rs b/services/mgmt/commerce/src/lib.rs index 3707028fee..9731686e07 100644 --- a/services/mgmt/commerce/src/lib.rs +++ b/services/mgmt/commerce/src/lib.rs @@ -1,13 +1,21 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2015-06-preview")] -mod package_2015_06_preview; -#[cfg(feature = "package-2015-06-preview")] +pub mod package_2015_06_preview; +#[cfg(all(feature = "package-2015-06-preview", not(feature = "no-default-version")))] pub use package_2015_06_preview::{models, operations, API_VERSION}; #[cfg(feature = "profile-hybrid-2020-09-01")] -mod profile_hybrid_2020_09_01; +pub mod profile_hybrid_2020_09_01; use azure_core::setters; -#[cfg(feature = "profile-hybrid-2020-09-01")] +#[cfg(all(feature = "profile-hybrid-2020-09-01", not(feature = "no-default-version")))] pub use profile_hybrid_2020_09_01::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -31,7 +39,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/commerce/src/package_2015_06_preview/operations.rs b/services/mgmt/commerce/src/package_2015_06_preview/operations.rs index f8dfada2ec..83502e081f 100644 --- a/services/mgmt/commerce/src/package_2015_06_preview/operations.rs +++ b/services/mgmt/commerce/src/package_2015_06_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod usage_aggregates { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, reported_start_time: &str, @@ -65,7 +65,7 @@ pub mod usage_aggregates { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -89,7 +89,7 @@ pub mod usage_aggregates { } } pub mod rate_card { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, filter: &str, @@ -136,7 +136,7 @@ pub mod rate_card { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/commerce/src/profile_hybrid_2020_09_01/operations.rs b/services/mgmt/commerce/src/profile_hybrid_2020_09_01/operations.rs index f8dfada2ec..83502e081f 100644 --- a/services/mgmt/commerce/src/profile_hybrid_2020_09_01/operations.rs +++ b/services/mgmt/commerce/src/profile_hybrid_2020_09_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod usage_aggregates { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, reported_start_time: &str, @@ -65,7 +65,7 @@ pub mod usage_aggregates { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -89,7 +89,7 @@ pub mod usage_aggregates { } } pub mod rate_card { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, filter: &str, @@ -136,7 +136,7 @@ pub mod rate_card { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/communication/Cargo.toml b/services/mgmt/communication/Cargo.toml index 9793089df9..2bef7cab5b 100644 --- a/services/mgmt/communication/Cargo.toml +++ b/services/mgmt/communication/Cargo.toml @@ -20,5 +20,6 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2020-08-20"] +no-default-version = [] "package-2020-08-20" = [] "package-2020-08-20-preview" = [] diff --git a/services/mgmt/communication/src/lib.rs b/services/mgmt/communication/src/lib.rs index 992a5ffb2f..10e14e26fb 100644 --- a/services/mgmt/communication/src/lib.rs +++ b/services/mgmt/communication/src/lib.rs @@ -1,13 +1,21 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2020-08-20")] -mod package_2020_08_20; -#[cfg(feature = "package-2020-08-20")] +pub mod package_2020_08_20; +#[cfg(all(feature = "package-2020-08-20", not(feature = "no-default-version")))] pub use package_2020_08_20::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-08-20-preview")] -mod package_2020_08_20_preview; +pub mod package_2020_08_20_preview; use azure_core::setters; -#[cfg(feature = "package-2020-08-20-preview")] +#[cfg(all(feature = "package-2020-08-20-preview", not(feature = "no-default-version")))] pub use package_2020_08_20_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -31,7 +39,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/communication/src/package_2020_08_20/operations.rs b/services/mgmt/communication/src/package_2020_08_20/operations.rs index ce4e9de0ad..463db0ef7f 100644 --- a/services/mgmt/communication/src/package_2020_08_20/operations.rs +++ b/services/mgmt/communication/src/package_2020_08_20/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Communication/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod communication_service { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, name_availability_parameters: Option<&NameAvailabilityParameters>, @@ -122,7 +122,7 @@ pub mod communication_service { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -203,7 +203,7 @@ pub mod communication_service { } } pub mod link_notification_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -272,7 +272,7 @@ pub mod communication_service { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -345,7 +345,7 @@ pub mod communication_service { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -415,7 +415,7 @@ pub mod communication_service { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -500,7 +500,7 @@ pub mod communication_service { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CommunicationServiceResource), @@ -581,7 +581,7 @@ pub mod communication_service { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -648,7 +648,7 @@ pub mod communication_service { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -728,7 +728,7 @@ pub mod communication_service { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -803,7 +803,7 @@ pub mod communication_service { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/communication/src/package_2020_08_20_preview/operations.rs b/services/mgmt/communication/src/package_2020_08_20_preview/operations.rs index 1b5b9e31c5..3a8d5bc5eb 100644 --- a/services/mgmt/communication/src/package_2020_08_20_preview/operations.rs +++ b/services/mgmt/communication/src/package_2020_08_20_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Communication/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod communication_service { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, name_availability_parameters: Option<&NameAvailabilityParameters>, @@ -122,7 +122,7 @@ pub mod communication_service { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -203,7 +203,7 @@ pub mod communication_service { } } pub mod link_notification_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -272,7 +272,7 @@ pub mod communication_service { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -345,7 +345,7 @@ pub mod communication_service { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -415,7 +415,7 @@ pub mod communication_service { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -500,7 +500,7 @@ pub mod communication_service { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CommunicationServiceResource), @@ -581,7 +581,7 @@ pub mod communication_service { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -648,7 +648,7 @@ pub mod communication_service { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -728,7 +728,7 @@ pub mod communication_service { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -813,7 +813,7 @@ pub mod communication_service { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CommunicationServiceKeys), @@ -842,7 +842,7 @@ pub mod communication_service { } } pub mod operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -889,7 +889,7 @@ pub mod operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/compute/Cargo.toml b/services/mgmt/compute/Cargo.toml index 6bade4e462..5ec8160bf4 100644 --- a/services/mgmt/compute/Cargo.toml +++ b/services/mgmt/compute/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-07-01-only"] +no-default-version = [] "package-2021-07-01-only" = [] "package-2021-06-01-preview-only" = [] "package-2021-04-01-only" = [] diff --git a/services/mgmt/compute/src/lib.rs b/services/mgmt/compute/src/lib.rs index 1c422a519f..2237b5a4ef 100644 --- a/services/mgmt/compute/src/lib.rs +++ b/services/mgmt/compute/src/lib.rs @@ -1,209 +1,217 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-07-01-only")] -mod package_2021_07_01_only; -#[cfg(feature = "package-2021-07-01-only")] +pub mod package_2021_07_01_only; +#[cfg(all(feature = "package-2021-07-01-only", not(feature = "no-default-version")))] pub use package_2021_07_01_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-06-01-preview-only")] -mod package_2021_06_01_preview_only; -#[cfg(feature = "package-2021-06-01-preview-only")] +pub mod package_2021_06_01_preview_only; +#[cfg(all(feature = "package-2021-06-01-preview-only", not(feature = "no-default-version")))] pub use package_2021_06_01_preview_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-04-01-only")] -mod package_2021_04_01_only; -#[cfg(feature = "package-2021-04-01-only")] +pub mod package_2021_04_01_only; +#[cfg(all(feature = "package-2021-04-01-only", not(feature = "no-default-version")))] pub use package_2021_04_01_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-12-01")] -mod package_2020_12_01; -#[cfg(feature = "package-2020-12-01")] +pub mod package_2020_12_01; +#[cfg(all(feature = "package-2020-12-01", not(feature = "no-default-version")))] pub use package_2020_12_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-12-01-only")] -mod package_2020_12_01_only; -#[cfg(feature = "package-2020-12-01-only")] +pub mod package_2020_12_01_only; +#[cfg(all(feature = "package-2020-12-01-only", not(feature = "no-default-version")))] pub use package_2020_12_01_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-09-30")] -mod package_2020_09_30; -#[cfg(feature = "package-2020-09-30")] +pub mod package_2020_09_30; +#[cfg(all(feature = "package-2020-09-30", not(feature = "no-default-version")))] pub use package_2020_09_30::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-09-30-only")] -mod package_2020_09_30_only; -#[cfg(feature = "package-2020-09-30-only")] +pub mod package_2020_09_30_only; +#[cfg(all(feature = "package-2020-09-30-only", not(feature = "no-default-version")))] pub use package_2020_09_30_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-06-30")] -mod package_2020_06_30; -#[cfg(feature = "package-2020-06-30")] +pub mod package_2020_06_30; +#[cfg(all(feature = "package-2020-06-30", not(feature = "no-default-version")))] pub use package_2020_06_30::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-06-30-only")] -mod package_2020_06_30_only; -#[cfg(feature = "package-2020-06-30-only")] +pub mod package_2020_06_30_only; +#[cfg(all(feature = "package-2020-06-30-only", not(feature = "no-default-version")))] pub use package_2020_06_30_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-06-01")] -mod package_2020_06_01; -#[cfg(feature = "package-2020-06-01")] +pub mod package_2020_06_01; +#[cfg(all(feature = "package-2020-06-01", not(feature = "no-default-version")))] pub use package_2020_06_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-06-01-only")] -mod package_2020_06_01_only; -#[cfg(feature = "package-2020-06-01-only")] +pub mod package_2020_06_01_only; +#[cfg(all(feature = "package-2020-06-01-only", not(feature = "no-default-version")))] pub use package_2020_06_01_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-05-01")] -mod package_2020_05_01; -#[cfg(feature = "package-2020-05-01")] +pub mod package_2020_05_01; +#[cfg(all(feature = "package-2020-05-01", not(feature = "no-default-version")))] pub use package_2020_05_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-05-01-only")] -mod package_2020_05_01_only; -#[cfg(feature = "package-2020-05-01-only")] +pub mod package_2020_05_01_only; +#[cfg(all(feature = "package-2020-05-01-only", not(feature = "no-default-version")))] pub use package_2020_05_01_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-12-01")] -mod package_2019_12_01; -#[cfg(feature = "package-2019-12-01")] +pub mod package_2019_12_01; +#[cfg(all(feature = "package-2019-12-01", not(feature = "no-default-version")))] pub use package_2019_12_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-12-01-only")] -mod package_2019_12_01_only; -#[cfg(feature = "package-2019-12-01-only")] +pub mod package_2019_12_01_only; +#[cfg(all(feature = "package-2019-12-01-only", not(feature = "no-default-version")))] pub use package_2019_12_01_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-11-01")] -mod package_2019_11_01; -#[cfg(feature = "package-2019-11-01")] +pub mod package_2019_11_01; +#[cfg(all(feature = "package-2019-11-01", not(feature = "no-default-version")))] pub use package_2019_11_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-11-01-only")] -mod package_2019_11_01_only; -#[cfg(feature = "package-2019-11-01-only")] +pub mod package_2019_11_01_only; +#[cfg(all(feature = "package-2019-11-01-only", not(feature = "no-default-version")))] pub use package_2019_11_01_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-07")] -mod package_2019_07; -#[cfg(feature = "package-2019-07")] +pub mod package_2019_07; +#[cfg(all(feature = "package-2019-07", not(feature = "no-default-version")))] pub use package_2019_07::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-07-01")] -mod package_2019_07_01; -#[cfg(feature = "package-2019-07-01")] +pub mod package_2019_07_01; +#[cfg(all(feature = "package-2019-07-01", not(feature = "no-default-version")))] pub use package_2019_07_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-07-01-only")] -mod package_2019_07_01_only; -#[cfg(feature = "package-2019-07-01-only")] +pub mod package_2019_07_01_only; +#[cfg(all(feature = "package-2019-07-01-only", not(feature = "no-default-version")))] pub use package_2019_07_01_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-03-01")] -mod package_2019_03_01; -#[cfg(feature = "package-2019-03-01")] +pub mod package_2019_03_01; +#[cfg(all(feature = "package-2019-03-01", not(feature = "no-default-version")))] pub use package_2019_03_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-04-01-only")] -mod package_2019_04_01_only; -#[cfg(feature = "package-2019-04-01-only")] +pub mod package_2019_04_01_only; +#[cfg(all(feature = "package-2019-04-01-only", not(feature = "no-default-version")))] pub use package_2019_04_01_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-03-01-only")] -mod package_2019_03_01_only; -#[cfg(feature = "package-2019-03-01-only")] +pub mod package_2019_03_01_only; +#[cfg(all(feature = "package-2019-03-01-only", not(feature = "no-default-version")))] pub use package_2019_03_01_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-10-01-Disks")] -mod package_2018_10_01_disks; -#[cfg(feature = "package-2018-10-01-Disks")] +pub mod package_2018_10_01_disks; +#[cfg(all(feature = "package-2018-10-01-Disks", not(feature = "no-default-version")))] pub use package_2018_10_01_disks::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-10-01")] -mod package_2018_10_01; -#[cfg(feature = "package-2018-10-01")] +pub mod package_2018_10_01; +#[cfg(all(feature = "package-2018-10-01", not(feature = "no-default-version")))] pub use package_2018_10_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-10-01-only")] -mod package_2018_10_01_only; -#[cfg(feature = "package-2018-10-01-only")] +pub mod package_2018_10_01_only; +#[cfg(all(feature = "package-2018-10-01-only", not(feature = "no-default-version")))] pub use package_2018_10_01_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-09-30-only")] -mod package_2018_09_30_only; -#[cfg(feature = "package-2018-09-30-only")] +pub mod package_2018_09_30_only; +#[cfg(all(feature = "package-2018-09-30-only", not(feature = "no-default-version")))] pub use package_2018_09_30_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-06-exclude-gallery")] -mod package_2018_06_exclude_gallery; -#[cfg(feature = "package-2018-06-exclude-gallery")] +pub mod package_2018_06_exclude_gallery; +#[cfg(all(feature = "package-2018-06-exclude-gallery", not(feature = "no-default-version")))] pub use package_2018_06_exclude_gallery::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-06")] -mod package_2018_06; -#[cfg(feature = "package-2018-06")] +pub mod package_2018_06; +#[cfg(all(feature = "package-2018-06", not(feature = "no-default-version")))] pub use package_2018_06::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-06-01")] -mod package_2018_06_01; -#[cfg(feature = "package-2018-06-01")] +pub mod package_2018_06_01; +#[cfg(all(feature = "package-2018-06-01", not(feature = "no-default-version")))] pub use package_2018_06_01::{models, operations, API_VERSION}; #[cfg(feature = "package-compute-only-2018-06")] -mod package_compute_only_2018_06; -#[cfg(feature = "package-compute-only-2018-06")] +pub mod package_compute_only_2018_06; +#[cfg(all(feature = "package-compute-only-2018-06", not(feature = "no-default-version")))] pub use package_compute_only_2018_06::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-04-01")] -mod package_2018_04_01; -#[cfg(feature = "package-2018-04-01")] +pub mod package_2018_04_01; +#[cfg(all(feature = "package-2018-04-01", not(feature = "no-default-version")))] pub use package_2018_04_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-04")] -mod package_2018_04; -#[cfg(feature = "package-2018-04")] +pub mod package_2018_04; +#[cfg(all(feature = "package-2018-04", not(feature = "no-default-version")))] pub use package_2018_04::{models, operations, API_VERSION}; #[cfg(feature = "package-compute-2018-04")] -mod package_compute_2018_04; -#[cfg(feature = "package-compute-2018-04")] +pub mod package_compute_2018_04; +#[cfg(all(feature = "package-compute-2018-04", not(feature = "no-default-version")))] pub use package_compute_2018_04::{models, operations, API_VERSION}; #[cfg(feature = "package-disks-2018-04")] -mod package_disks_2018_04; -#[cfg(feature = "package-disks-2018-04")] +pub mod package_disks_2018_04; +#[cfg(all(feature = "package-disks-2018-04", not(feature = "no-default-version")))] pub use package_disks_2018_04::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-12")] -mod package_2017_12; -#[cfg(feature = "package-2017-12")] +pub mod package_2017_12; +#[cfg(all(feature = "package-2017-12", not(feature = "no-default-version")))] pub use package_2017_12::{models, operations, API_VERSION}; #[cfg(feature = "package-compute-2017-12")] -mod package_compute_2017_12; -#[cfg(feature = "package-compute-2017-12")] +pub mod package_compute_2017_12; +#[cfg(all(feature = "package-compute-2017-12", not(feature = "no-default-version")))] pub use package_compute_2017_12::{models, operations, API_VERSION}; #[cfg(feature = "package-compute-only-2017-12")] -mod package_compute_only_2017_12; -#[cfg(feature = "package-compute-only-2017-12")] +pub mod package_compute_only_2017_12; +#[cfg(all(feature = "package-compute-only-2017-12", not(feature = "no-default-version")))] pub use package_compute_only_2017_12::{models, operations, API_VERSION}; #[cfg(feature = "package-skus-2017-09")] -mod package_skus_2017_09; -#[cfg(feature = "package-skus-2017-09")] +pub mod package_skus_2017_09; +#[cfg(all(feature = "package-skus-2017-09", not(feature = "no-default-version")))] pub use package_skus_2017_09::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-03")] -mod package_2017_03; -#[cfg(feature = "package-2017-03")] +pub mod package_2017_03; +#[cfg(all(feature = "package-2017-03", not(feature = "no-default-version")))] pub use package_2017_03::{models, operations, API_VERSION}; #[cfg(feature = "package-compute-2017-03")] -mod package_compute_2017_03; -#[cfg(feature = "package-compute-2017-03")] +pub mod package_compute_2017_03; +#[cfg(all(feature = "package-compute-2017-03", not(feature = "no-default-version")))] pub use package_compute_2017_03::{models, operations, API_VERSION}; #[cfg(feature = "package-container-service-2017-01")] -mod package_container_service_2017_01; -#[cfg(feature = "package-container-service-2017-01")] +pub mod package_container_service_2017_01; +#[cfg(all(feature = "package-container-service-2017-01", not(feature = "no-default-version")))] pub use package_container_service_2017_01::{models, operations, API_VERSION}; #[cfg(feature = "package-container-service-2016-09")] -mod package_container_service_2016_09; -#[cfg(feature = "package-container-service-2016-09")] +pub mod package_container_service_2016_09; +#[cfg(all(feature = "package-container-service-2016-09", not(feature = "no-default-version")))] pub use package_container_service_2016_09::{models, operations, API_VERSION}; #[cfg(feature = "package-2016-04-preview")] -mod package_2016_04_preview; -#[cfg(feature = "package-2016-04-preview")] +pub mod package_2016_04_preview; +#[cfg(all(feature = "package-2016-04-preview", not(feature = "no-default-version")))] pub use package_2016_04_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-compute-2016-04-preview")] -mod package_compute_2016_04_preview; -#[cfg(feature = "package-compute-2016-04-preview")] +pub mod package_compute_2016_04_preview; +#[cfg(all(feature = "package-compute-2016-04-preview", not(feature = "no-default-version")))] pub use package_compute_2016_04_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2016-03")] -mod package_2016_03; -#[cfg(feature = "package-2016-03")] +pub mod package_2016_03; +#[cfg(all(feature = "package-2016-03", not(feature = "no-default-version")))] pub use package_2016_03::{models, operations, API_VERSION}; #[cfg(feature = "package-compute-2016-03")] -mod package_compute_2016_03; -#[cfg(feature = "package-compute-2016-03")] +pub mod package_compute_2016_03; +#[cfg(all(feature = "package-compute-2016-03", not(feature = "no-default-version")))] pub use package_compute_2016_03::{models, operations, API_VERSION}; #[cfg(feature = "package-container-service-2016-03")] -mod package_container_service_2016_03; -#[cfg(feature = "package-container-service-2016-03")] +pub mod package_container_service_2016_03; +#[cfg(all(feature = "package-container-service-2016-03", not(feature = "no-default-version")))] pub use package_container_service_2016_03::{models, operations, API_VERSION}; #[cfg(feature = "package-container-service-2015-11-preview")] -mod package_container_service_2015_11_preview; -#[cfg(feature = "package-container-service-2015-11-preview")] +pub mod package_container_service_2015_11_preview; +#[cfg(all(feature = "package-container-service-2015-11-preview", not(feature = "no-default-version")))] pub use package_container_service_2015_11_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-compute-2015-06")] -mod package_compute_2015_06; -#[cfg(feature = "package-compute-2015-06")] +pub mod package_compute_2015_06; +#[cfg(all(feature = "package-compute-2015-06", not(feature = "no-default-version")))] pub use package_compute_2015_06::{models, operations, API_VERSION}; #[cfg(feature = "package-2015-06-preview")] -mod package_2015_06_preview; +pub mod package_2015_06_preview; use azure_core::setters; -#[cfg(feature = "package-2015-06-preview")] +#[cfg(all(feature = "package-2015-06-preview", not(feature = "no-default-version")))] pub use package_2015_06_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -227,7 +235,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/compute/src/package_2015_06_preview/operations.rs b/services/mgmt/compute/src/package_2015_06_preview/operations.rs index 322b35d3f5..c51ae3dc77 100644 --- a/services/mgmt/compute/src/package_2015_06_preview/operations.rs +++ b/services/mgmt/compute/src/package_2015_06_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod availability_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod availability_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -121,7 +121,7 @@ pub mod availability_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -187,7 +187,7 @@ pub mod availability_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -255,7 +255,7 @@ pub mod availability_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -323,7 +323,7 @@ pub mod availability_sets { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -344,7 +344,7 @@ pub mod availability_sets { } } pub mod virtual_machine_extension_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -395,7 +395,7 @@ pub mod virtual_machine_extension_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -463,7 +463,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -545,7 +545,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -566,7 +566,7 @@ pub mod virtual_machine_extension_images { } } pub mod virtual_machine_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -619,7 +619,7 @@ pub mod virtual_machine_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -697,7 +697,7 @@ pub mod virtual_machine_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineExtension), @@ -771,7 +771,7 @@ pub mod virtual_machine_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -840,7 +840,7 @@ pub mod virtual_machine_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -867,7 +867,7 @@ pub mod virtual_machine_extensions { } } pub mod virtual_machine_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -911,7 +911,7 @@ pub mod virtual_machine_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -992,7 +992,7 @@ pub mod virtual_machine_images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1060,7 +1060,7 @@ pub mod virtual_machine_images { } } pub mod list_offers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1126,7 +1126,7 @@ pub mod virtual_machine_images { } } pub mod list_publishers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1196,7 +1196,7 @@ pub mod virtual_machine_images { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1217,7 +1217,7 @@ pub mod virtual_machine_images { } } pub mod usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -1262,7 +1262,7 @@ pub mod usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1283,7 +1283,7 @@ pub mod usage { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -1328,7 +1328,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1349,7 +1349,7 @@ pub mod virtual_machine_sizes { } } pub mod virtual_machines { - use crate::models::*; + use super::{models, models::*}; pub async fn capture( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1402,7 +1402,7 @@ pub mod virtual_machines { } } pub mod capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineCaptureResult), @@ -1476,7 +1476,7 @@ pub mod virtual_machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1552,7 +1552,7 @@ pub mod virtual_machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -1624,7 +1624,7 @@ pub mod virtual_machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -1700,7 +1700,7 @@ pub mod virtual_machines { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -1774,7 +1774,7 @@ pub mod virtual_machines { } } pub mod generalize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1837,7 +1837,7 @@ pub mod virtual_machines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1901,7 +1901,7 @@ pub mod virtual_machines { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1969,7 +1969,7 @@ pub mod virtual_machines { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2039,7 +2039,7 @@ pub mod virtual_machines { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -2114,7 +2114,7 @@ pub mod virtual_machines { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -2186,7 +2186,7 @@ pub mod virtual_machines { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -2261,7 +2261,7 @@ pub mod virtual_machines { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -2287,7 +2287,7 @@ pub mod virtual_machines { } } pub mod virtual_machine_scale_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2334,7 +2334,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2410,7 +2410,7 @@ pub mod virtual_machine_scale_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSet), @@ -2482,7 +2482,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -2563,7 +2563,7 @@ pub mod virtual_machine_scale_sets { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -2639,7 +2639,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -2712,7 +2712,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2775,7 +2775,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2839,7 +2839,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2907,7 +2907,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2982,7 +2982,7 @@ pub mod virtual_machine_scale_sets { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3062,7 +3062,7 @@ pub mod virtual_machine_scale_sets { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3139,7 +3139,7 @@ pub mod virtual_machine_scale_sets { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3215,7 +3215,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3290,7 +3290,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3316,7 +3316,7 @@ pub mod virtual_machine_scale_sets { } } pub mod virtual_machine_scale_set_v_ms { - use crate::models::*; + use super::{models, models::*}; pub async fn reimage( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3370,7 +3370,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3447,7 +3447,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3519,7 +3519,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3588,7 +3588,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3664,7 +3664,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3741,7 +3741,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3813,7 +3813,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3890,7 +3890,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3964,7 +3964,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3990,7 +3990,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod container_service { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4037,7 +4037,7 @@ pub mod container_service { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4119,7 +4119,7 @@ pub mod container_service { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerService), @@ -4186,7 +4186,7 @@ pub mod container_service { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4259,7 +4259,7 @@ pub mod container_service { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/compute/src/package_2016_03/operations.rs b/services/mgmt/compute/src/package_2016_03/operations.rs index 94fe3107b7..e08ce436b6 100644 --- a/services/mgmt/compute/src/package_2016_03/operations.rs +++ b/services/mgmt/compute/src/package_2016_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod availability_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod availability_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -121,7 +121,7 @@ pub mod availability_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -187,7 +187,7 @@ pub mod availability_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -260,7 +260,7 @@ pub mod availability_sets { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -323,7 +323,7 @@ pub mod availability_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -391,7 +391,7 @@ pub mod availability_sets { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -412,7 +412,7 @@ pub mod availability_sets { } } pub mod virtual_machine_extension_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -463,7 +463,7 @@ pub mod virtual_machine_extension_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -531,7 +531,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -613,7 +613,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -634,7 +634,7 @@ pub mod virtual_machine_extension_images { } } pub mod virtual_machine_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -687,7 +687,7 @@ pub mod virtual_machine_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -765,7 +765,7 @@ pub mod virtual_machine_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineExtension), @@ -839,7 +839,7 @@ pub mod virtual_machine_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -908,7 +908,7 @@ pub mod virtual_machine_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -935,7 +935,7 @@ pub mod virtual_machine_extensions { } } pub mod virtual_machines { - use crate::models::*; + use super::{models, models::*}; pub async fn get_extensions( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -989,7 +989,7 @@ pub mod virtual_machines { } } pub mod get_extensions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1060,7 +1060,7 @@ pub mod virtual_machines { } } pub mod capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineCaptureResult), @@ -1134,7 +1134,7 @@ pub mod virtual_machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1210,7 +1210,7 @@ pub mod virtual_machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -1282,7 +1282,7 @@ pub mod virtual_machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -1358,7 +1358,7 @@ pub mod virtual_machines { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -1432,7 +1432,7 @@ pub mod virtual_machines { } } pub mod generalize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1495,7 +1495,7 @@ pub mod virtual_machines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1559,7 +1559,7 @@ pub mod virtual_machines { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1627,7 +1627,7 @@ pub mod virtual_machines { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1697,7 +1697,7 @@ pub mod virtual_machines { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -1772,7 +1772,7 @@ pub mod virtual_machines { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -1844,7 +1844,7 @@ pub mod virtual_machines { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -1919,7 +1919,7 @@ pub mod virtual_machines { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -1945,7 +1945,7 @@ pub mod virtual_machines { } } pub mod virtual_machine_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -1989,7 +1989,7 @@ pub mod virtual_machine_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2070,7 +2070,7 @@ pub mod virtual_machine_images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2138,7 +2138,7 @@ pub mod virtual_machine_images { } } pub mod list_offers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2204,7 +2204,7 @@ pub mod virtual_machine_images { } } pub mod list_publishers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2274,7 +2274,7 @@ pub mod virtual_machine_images { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2295,7 +2295,7 @@ pub mod virtual_machine_images { } } pub mod usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -2340,7 +2340,7 @@ pub mod usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2361,7 +2361,7 @@ pub mod usage { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -2406,7 +2406,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2427,7 +2427,7 @@ pub mod virtual_machine_sizes { } } pub mod virtual_machine_scale_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2474,7 +2474,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2550,7 +2550,7 @@ pub mod virtual_machine_scale_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSet), @@ -2622,7 +2622,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -2703,7 +2703,7 @@ pub mod virtual_machine_scale_sets { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -2779,7 +2779,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -2852,7 +2852,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2915,7 +2915,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2979,7 +2979,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3047,7 +3047,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3122,7 +3122,7 @@ pub mod virtual_machine_scale_sets { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3202,7 +3202,7 @@ pub mod virtual_machine_scale_sets { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3279,7 +3279,7 @@ pub mod virtual_machine_scale_sets { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3355,7 +3355,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3430,7 +3430,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3456,7 +3456,7 @@ pub mod virtual_machine_scale_sets { } } pub mod virtual_machine_scale_set_v_ms { - use crate::models::*; + use super::{models, models::*}; pub async fn reimage( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3510,7 +3510,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3587,7 +3587,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3659,7 +3659,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3728,7 +3728,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3804,7 +3804,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3881,7 +3881,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3953,7 +3953,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4030,7 +4030,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4104,7 +4104,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4130,7 +4130,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod container_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4173,7 +4173,7 @@ pub mod container_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4238,7 +4238,7 @@ pub mod container_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4320,7 +4320,7 @@ pub mod container_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerService), @@ -4387,7 +4387,7 @@ pub mod container_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4460,7 +4460,7 @@ pub mod container_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/compute/src/package_2016_04_preview/operations.rs b/services/mgmt/compute/src/package_2016_04_preview/operations.rs index 004bb92dee..11d657f938 100644 --- a/services/mgmt/compute/src/package_2016_04_preview/operations.rs +++ b/services/mgmt/compute/src/package_2016_04_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod availability_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod availability_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -121,7 +121,7 @@ pub mod availability_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -187,7 +187,7 @@ pub mod availability_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -256,7 +256,7 @@ pub mod availability_sets { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -319,7 +319,7 @@ pub mod availability_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -387,7 +387,7 @@ pub mod availability_sets { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -408,7 +408,7 @@ pub mod availability_sets { } } pub mod virtual_machine_extension_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -459,7 +459,7 @@ pub mod virtual_machine_extension_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -527,7 +527,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -609,7 +609,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -630,7 +630,7 @@ pub mod virtual_machine_extension_images { } } pub mod virtual_machine_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -683,7 +683,7 @@ pub mod virtual_machine_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -761,7 +761,7 @@ pub mod virtual_machine_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineExtension), @@ -835,7 +835,7 @@ pub mod virtual_machine_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -904,7 +904,7 @@ pub mod virtual_machine_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -931,7 +931,7 @@ pub mod virtual_machine_extensions { } } pub mod virtual_machines { - use crate::models::*; + use super::{models, models::*}; pub async fn get_extensions( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -985,7 +985,7 @@ pub mod virtual_machines { } } pub mod get_extensions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1056,7 +1056,7 @@ pub mod virtual_machines { } } pub mod capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineCaptureResult), @@ -1130,7 +1130,7 @@ pub mod virtual_machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1206,7 +1206,7 @@ pub mod virtual_machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -1278,7 +1278,7 @@ pub mod virtual_machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -1356,7 +1356,7 @@ pub mod virtual_machines { } } pub mod convert_to_managed_disks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -1431,7 +1431,7 @@ pub mod virtual_machines { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -1505,7 +1505,7 @@ pub mod virtual_machines { } } pub mod generalize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1568,7 +1568,7 @@ pub mod virtual_machines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1632,7 +1632,7 @@ pub mod virtual_machines { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1700,7 +1700,7 @@ pub mod virtual_machines { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1770,7 +1770,7 @@ pub mod virtual_machines { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -1845,7 +1845,7 @@ pub mod virtual_machines { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -1917,7 +1917,7 @@ pub mod virtual_machines { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -1992,7 +1992,7 @@ pub mod virtual_machines { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -2018,7 +2018,7 @@ pub mod virtual_machines { } } pub mod virtual_machine_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -2062,7 +2062,7 @@ pub mod virtual_machine_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2143,7 +2143,7 @@ pub mod virtual_machine_images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2211,7 +2211,7 @@ pub mod virtual_machine_images { } } pub mod list_offers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2277,7 +2277,7 @@ pub mod virtual_machine_images { } } pub mod list_publishers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2347,7 +2347,7 @@ pub mod virtual_machine_images { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2368,7 +2368,7 @@ pub mod virtual_machine_images { } } pub mod usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -2413,7 +2413,7 @@ pub mod usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2434,7 +2434,7 @@ pub mod usage { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -2479,7 +2479,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2500,7 +2500,7 @@ pub mod virtual_machine_sizes { } } pub mod images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2551,7 +2551,7 @@ pub mod images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2627,7 +2627,7 @@ pub mod images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -2699,7 +2699,7 @@ pub mod images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -2773,7 +2773,7 @@ pub mod images { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2834,7 +2834,7 @@ pub mod images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2855,7 +2855,7 @@ pub mod images { } } pub mod virtual_machine_scale_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2902,7 +2902,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2978,7 +2978,7 @@ pub mod virtual_machine_scale_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSet), @@ -3050,7 +3050,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3131,7 +3131,7 @@ pub mod virtual_machine_scale_sets { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3207,7 +3207,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3280,7 +3280,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3343,7 +3343,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3407,7 +3407,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3475,7 +3475,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3550,7 +3550,7 @@ pub mod virtual_machine_scale_sets { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3630,7 +3630,7 @@ pub mod virtual_machine_scale_sets { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3707,7 +3707,7 @@ pub mod virtual_machine_scale_sets { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3783,7 +3783,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3858,7 +3858,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3933,7 +3933,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3959,7 +3959,7 @@ pub mod virtual_machine_scale_sets { } } pub mod virtual_machine_scale_set_v_ms { - use crate::models::*; + use super::{models, models::*}; pub async fn reimage( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4013,7 +4013,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4090,7 +4090,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4167,7 +4167,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4239,7 +4239,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4308,7 +4308,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4384,7 +4384,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4461,7 +4461,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4533,7 +4533,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4610,7 +4610,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4684,7 +4684,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4710,7 +4710,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod disks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4757,7 +4757,7 @@ pub mod disks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4833,7 +4833,7 @@ pub mod disks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -4911,7 +4911,7 @@ pub mod disks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -4983,7 +4983,7 @@ pub mod disks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -5057,7 +5057,7 @@ pub mod disks { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5115,7 +5115,7 @@ pub mod disks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5186,7 +5186,7 @@ pub mod disks { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -5261,7 +5261,7 @@ pub mod disks { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -5287,7 +5287,7 @@ pub mod disks { } } pub mod snapshots { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5334,7 +5334,7 @@ pub mod snapshots { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5410,7 +5410,7 @@ pub mod snapshots { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -5488,7 +5488,7 @@ pub mod snapshots { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -5560,7 +5560,7 @@ pub mod snapshots { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -5634,7 +5634,7 @@ pub mod snapshots { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5692,7 +5692,7 @@ pub mod snapshots { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5763,7 +5763,7 @@ pub mod snapshots { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -5838,7 +5838,7 @@ pub mod snapshots { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -5864,7 +5864,7 @@ pub mod snapshots { } } pub mod container_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5907,7 +5907,7 @@ pub mod container_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5972,7 +5972,7 @@ pub mod container_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6054,7 +6054,7 @@ pub mod container_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerService), @@ -6121,7 +6121,7 @@ pub mod container_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6194,7 +6194,7 @@ pub mod container_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/compute/src/package_2017_03/operations.rs b/services/mgmt/compute/src/package_2017_03/operations.rs index c8c7735831..4df5b056e7 100644 --- a/services/mgmt/compute/src/package_2017_03/operations.rs +++ b/services/mgmt/compute/src/package_2017_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod availability_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod availability_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -121,7 +121,7 @@ pub mod availability_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -187,7 +187,7 @@ pub mod availability_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -260,7 +260,7 @@ pub mod availability_sets { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -323,7 +323,7 @@ pub mod availability_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -391,7 +391,7 @@ pub mod availability_sets { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -412,7 +412,7 @@ pub mod availability_sets { } } pub mod virtual_machine_extension_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -463,7 +463,7 @@ pub mod virtual_machine_extension_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -531,7 +531,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -613,7 +613,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -634,7 +634,7 @@ pub mod virtual_machine_extension_images { } } pub mod virtual_machine_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -687,7 +687,7 @@ pub mod virtual_machine_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -765,7 +765,7 @@ pub mod virtual_machine_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineExtension), @@ -839,7 +839,7 @@ pub mod virtual_machine_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -908,7 +908,7 @@ pub mod virtual_machine_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -935,7 +935,7 @@ pub mod virtual_machine_extensions { } } pub mod virtual_machines { - use crate::models::*; + use super::{models, models::*}; pub async fn get_extensions( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -989,7 +989,7 @@ pub mod virtual_machines { } } pub mod get_extensions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1055,7 +1055,7 @@ pub mod virtual_machines { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1126,7 +1126,7 @@ pub mod virtual_machines { } } pub mod capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineCaptureResult), @@ -1200,7 +1200,7 @@ pub mod virtual_machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1276,7 +1276,7 @@ pub mod virtual_machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -1348,7 +1348,7 @@ pub mod virtual_machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -1422,7 +1422,7 @@ pub mod virtual_machines { } } pub mod instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1494,7 +1494,7 @@ pub mod virtual_machines { } } pub mod convert_to_managed_disks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -1569,7 +1569,7 @@ pub mod virtual_machines { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -1643,7 +1643,7 @@ pub mod virtual_machines { } } pub mod generalize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1706,7 +1706,7 @@ pub mod virtual_machines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1770,7 +1770,7 @@ pub mod virtual_machines { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1838,7 +1838,7 @@ pub mod virtual_machines { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1908,7 +1908,7 @@ pub mod virtual_machines { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -1983,7 +1983,7 @@ pub mod virtual_machines { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -2055,7 +2055,7 @@ pub mod virtual_machines { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -2130,7 +2130,7 @@ pub mod virtual_machines { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -2205,7 +2205,7 @@ pub mod virtual_machines { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -2281,7 +2281,7 @@ pub mod virtual_machines { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -2307,7 +2307,7 @@ pub mod virtual_machines { } } pub mod virtual_machine_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -2351,7 +2351,7 @@ pub mod virtual_machine_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2432,7 +2432,7 @@ pub mod virtual_machine_images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2500,7 +2500,7 @@ pub mod virtual_machine_images { } } pub mod list_offers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2566,7 +2566,7 @@ pub mod virtual_machine_images { } } pub mod list_publishers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2636,7 +2636,7 @@ pub mod virtual_machine_images { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2657,7 +2657,7 @@ pub mod virtual_machine_images { } } pub mod usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -2702,7 +2702,7 @@ pub mod usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2723,7 +2723,7 @@ pub mod usage { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -2768,7 +2768,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2789,7 +2789,7 @@ pub mod virtual_machine_sizes { } } pub mod images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2840,7 +2840,7 @@ pub mod images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2916,7 +2916,7 @@ pub mod images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -2988,7 +2988,7 @@ pub mod images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3062,7 +3062,7 @@ pub mod images { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3123,7 +3123,7 @@ pub mod images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3144,7 +3144,7 @@ pub mod images { } } pub mod resource_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3187,7 +3187,7 @@ pub mod resource_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3208,7 +3208,7 @@ pub mod resource_skus { } } pub mod virtual_machine_scale_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3255,7 +3255,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3331,7 +3331,7 @@ pub mod virtual_machine_scale_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSet), @@ -3403,7 +3403,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3470,7 +3470,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3551,7 +3551,7 @@ pub mod virtual_machine_scale_sets { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3627,7 +3627,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3700,7 +3700,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3763,7 +3763,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3827,7 +3827,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3895,7 +3895,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3970,7 +3970,7 @@ pub mod virtual_machine_scale_sets { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4050,7 +4050,7 @@ pub mod virtual_machine_scale_sets { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4127,7 +4127,7 @@ pub mod virtual_machine_scale_sets { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4203,7 +4203,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4283,7 +4283,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4363,7 +4363,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4389,7 +4389,7 @@ pub mod virtual_machine_scale_sets { } } pub mod virtual_machine_scale_set_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4442,7 +4442,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4520,7 +4520,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetExtension), @@ -4594,7 +4594,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4665,7 +4665,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4686,7 +4686,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod virtual_machine_scale_set_rolling_upgrades { - use crate::models::*; + use super::{models, models::*}; pub async fn cancel( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4735,7 +4735,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4810,7 +4810,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_os_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4883,7 +4883,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod get_latest { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4904,7 +4904,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod virtual_machine_scale_set_v_ms { - use crate::models::*; + use super::{models, models::*}; pub async fn reimage( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4958,7 +4958,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -5035,7 +5035,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -5112,7 +5112,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -5184,7 +5184,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5253,7 +5253,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -5329,7 +5329,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5406,7 +5406,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5478,7 +5478,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -5555,7 +5555,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -5629,7 +5629,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -5655,7 +5655,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod disks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5702,7 +5702,7 @@ pub mod disks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5778,7 +5778,7 @@ pub mod disks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -5856,7 +5856,7 @@ pub mod disks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -5928,7 +5928,7 @@ pub mod disks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -6002,7 +6002,7 @@ pub mod disks { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6060,7 +6060,7 @@ pub mod disks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6131,7 +6131,7 @@ pub mod disks { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -6206,7 +6206,7 @@ pub mod disks { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -6232,7 +6232,7 @@ pub mod disks { } } pub mod snapshots { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6279,7 +6279,7 @@ pub mod snapshots { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6355,7 +6355,7 @@ pub mod snapshots { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -6433,7 +6433,7 @@ pub mod snapshots { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -6505,7 +6505,7 @@ pub mod snapshots { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -6579,7 +6579,7 @@ pub mod snapshots { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6637,7 +6637,7 @@ pub mod snapshots { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6708,7 +6708,7 @@ pub mod snapshots { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -6783,7 +6783,7 @@ pub mod snapshots { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -6809,7 +6809,7 @@ pub mod snapshots { } } pub mod virtual_machine_run_commands { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -6854,7 +6854,7 @@ pub mod virtual_machine_run_commands { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6919,7 +6919,7 @@ pub mod virtual_machine_run_commands { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6940,7 +6940,7 @@ pub mod virtual_machine_run_commands { } } pub mod container_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6983,7 +6983,7 @@ pub mod container_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7048,7 +7048,7 @@ pub mod container_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7130,7 +7130,7 @@ pub mod container_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerService), @@ -7197,7 +7197,7 @@ pub mod container_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7270,7 +7270,7 @@ pub mod container_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/compute/src/package_2017_12/operations.rs b/services/mgmt/compute/src/package_2017_12/operations.rs index 90f2214d13..99c5b94535 100644 --- a/services/mgmt/compute/src/package_2017_12/operations.rs +++ b/services/mgmt/compute/src/package_2017_12/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Compute/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod availability_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -108,7 +108,7 @@ pub mod availability_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -178,7 +178,7 @@ pub mod availability_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -245,7 +245,7 @@ pub mod availability_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -311,7 +311,7 @@ pub mod availability_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -384,7 +384,7 @@ pub mod availability_sets { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -447,7 +447,7 @@ pub mod availability_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -515,7 +515,7 @@ pub mod availability_sets { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -536,7 +536,7 @@ pub mod availability_sets { } } pub mod virtual_machine_extension_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -587,7 +587,7 @@ pub mod virtual_machine_extension_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -655,7 +655,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -737,7 +737,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -758,7 +758,7 @@ pub mod virtual_machine_extension_images { } } pub mod virtual_machine_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -811,7 +811,7 @@ pub mod virtual_machine_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -889,7 +889,7 @@ pub mod virtual_machine_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineExtension), @@ -963,7 +963,7 @@ pub mod virtual_machine_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1032,7 +1032,7 @@ pub mod virtual_machine_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -1059,7 +1059,7 @@ pub mod virtual_machine_extensions { } } pub mod virtual_machines { - use crate::models::*; + use super::{models, models::*}; pub async fn get_extensions( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1113,7 +1113,7 @@ pub mod virtual_machines { } } pub mod get_extensions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1179,7 +1179,7 @@ pub mod virtual_machines { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1250,7 +1250,7 @@ pub mod virtual_machines { } } pub mod capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineCaptureResult), @@ -1324,7 +1324,7 @@ pub mod virtual_machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1400,7 +1400,7 @@ pub mod virtual_machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -1478,7 +1478,7 @@ pub mod virtual_machines { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -1550,7 +1550,7 @@ pub mod virtual_machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -1624,7 +1624,7 @@ pub mod virtual_machines { } } pub mod instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1696,7 +1696,7 @@ pub mod virtual_machines { } } pub mod convert_to_managed_disks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -1771,7 +1771,7 @@ pub mod virtual_machines { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -1845,7 +1845,7 @@ pub mod virtual_machines { } } pub mod generalize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1908,7 +1908,7 @@ pub mod virtual_machines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1972,7 +1972,7 @@ pub mod virtual_machines { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2040,7 +2040,7 @@ pub mod virtual_machines { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2110,7 +2110,7 @@ pub mod virtual_machines { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -2185,7 +2185,7 @@ pub mod virtual_machines { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -2257,7 +2257,7 @@ pub mod virtual_machines { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -2332,7 +2332,7 @@ pub mod virtual_machines { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -2407,7 +2407,7 @@ pub mod virtual_machines { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -2483,7 +2483,7 @@ pub mod virtual_machines { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -2509,7 +2509,7 @@ pub mod virtual_machines { } } pub mod virtual_machine_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -2553,7 +2553,7 @@ pub mod virtual_machine_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2634,7 +2634,7 @@ pub mod virtual_machine_images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2702,7 +2702,7 @@ pub mod virtual_machine_images { } } pub mod list_offers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2768,7 +2768,7 @@ pub mod virtual_machine_images { } } pub mod list_publishers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2838,7 +2838,7 @@ pub mod virtual_machine_images { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2859,7 +2859,7 @@ pub mod virtual_machine_images { } } pub mod usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -2904,7 +2904,7 @@ pub mod usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2925,7 +2925,7 @@ pub mod usage { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -2970,7 +2970,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2991,7 +2991,7 @@ pub mod virtual_machine_sizes { } } pub mod images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3042,7 +3042,7 @@ pub mod images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3118,7 +3118,7 @@ pub mod images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -3196,7 +3196,7 @@ pub mod images { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -3268,7 +3268,7 @@ pub mod images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3342,7 +3342,7 @@ pub mod images { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3403,7 +3403,7 @@ pub mod images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3424,7 +3424,7 @@ pub mod images { } } pub mod virtual_machine_scale_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3471,7 +3471,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3547,7 +3547,7 @@ pub mod virtual_machine_scale_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSet), @@ -3619,7 +3619,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3686,7 +3686,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3767,7 +3767,7 @@ pub mod virtual_machine_scale_sets { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3843,7 +3843,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3916,7 +3916,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3979,7 +3979,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4043,7 +4043,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4111,7 +4111,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4181,7 +4181,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_os_upgrade_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4256,7 +4256,7 @@ pub mod virtual_machine_scale_sets { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4336,7 +4336,7 @@ pub mod virtual_machine_scale_sets { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4413,7 +4413,7 @@ pub mod virtual_machine_scale_sets { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4493,7 +4493,7 @@ pub mod virtual_machine_scale_sets { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4573,7 +4573,7 @@ pub mod virtual_machine_scale_sets { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4649,7 +4649,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4729,7 +4729,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4809,7 +4809,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4885,7 +4885,7 @@ pub mod virtual_machine_scale_sets { } } pub mod force_recovery_service_fabric_platform_update_domain_walk { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4906,7 +4906,7 @@ pub mod virtual_machine_scale_sets { } } pub mod virtual_machine_scale_set_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4959,7 +4959,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5037,7 +5037,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetExtension), @@ -5111,7 +5111,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -5182,7 +5182,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5203,7 +5203,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod virtual_machine_scale_set_rolling_upgrades { - use crate::models::*; + use super::{models, models::*}; pub async fn cancel( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5252,7 +5252,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -5327,7 +5327,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_os_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -5400,7 +5400,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod get_latest { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5421,7 +5421,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod virtual_machine_scale_set_v_ms { - use crate::models::*; + use super::{models, models::*}; pub async fn reimage( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5475,7 +5475,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -5552,7 +5552,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -5629,7 +5629,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -5701,7 +5701,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5776,7 +5776,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetVm), @@ -5850,7 +5850,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -5926,7 +5926,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6003,7 +6003,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6075,7 +6075,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -6152,7 +6152,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -6226,7 +6226,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -6303,7 +6303,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -6373,7 +6373,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -6399,7 +6399,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod log_analytics { - use crate::models::*; + use super::{models, models::*}; pub async fn export_request_rate_by_interval( operation_config: &crate::OperationConfig, parameters: &RequestRateByIntervalInput, @@ -6452,7 +6452,7 @@ pub mod log_analytics { } } pub mod export_request_rate_by_interval { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -6528,7 +6528,7 @@ pub mod log_analytics { } } pub mod export_throttled_requests { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -6554,7 +6554,7 @@ pub mod log_analytics { } } pub mod virtual_machine_run_commands { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -6599,7 +6599,7 @@ pub mod virtual_machine_run_commands { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6664,7 +6664,7 @@ pub mod virtual_machine_run_commands { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6685,7 +6685,7 @@ pub mod virtual_machine_run_commands { } } pub mod resource_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6728,7 +6728,7 @@ pub mod resource_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6749,7 +6749,7 @@ pub mod resource_skus { } } pub mod disks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6796,7 +6796,7 @@ pub mod disks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6872,7 +6872,7 @@ pub mod disks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -6950,7 +6950,7 @@ pub mod disks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -7022,7 +7022,7 @@ pub mod disks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -7096,7 +7096,7 @@ pub mod disks { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7154,7 +7154,7 @@ pub mod disks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7225,7 +7225,7 @@ pub mod disks { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -7300,7 +7300,7 @@ pub mod disks { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -7326,7 +7326,7 @@ pub mod disks { } } pub mod snapshots { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7373,7 +7373,7 @@ pub mod snapshots { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7449,7 +7449,7 @@ pub mod snapshots { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -7527,7 +7527,7 @@ pub mod snapshots { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -7599,7 +7599,7 @@ pub mod snapshots { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -7673,7 +7673,7 @@ pub mod snapshots { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7731,7 +7731,7 @@ pub mod snapshots { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7802,7 +7802,7 @@ pub mod snapshots { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -7877,7 +7877,7 @@ pub mod snapshots { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -7903,7 +7903,7 @@ pub mod snapshots { } } pub mod container_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7946,7 +7946,7 @@ pub mod container_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8011,7 +8011,7 @@ pub mod container_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8093,7 +8093,7 @@ pub mod container_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerService), @@ -8160,7 +8160,7 @@ pub mod container_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8233,7 +8233,7 @@ pub mod container_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/compute/src/package_2018_04/operations.rs b/services/mgmt/compute/src/package_2018_04/operations.rs index 6203e337a0..514ead708e 100644 --- a/services/mgmt/compute/src/package_2018_04/operations.rs +++ b/services/mgmt/compute/src/package_2018_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Compute/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod availability_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -108,7 +108,7 @@ pub mod availability_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -178,7 +178,7 @@ pub mod availability_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -245,7 +245,7 @@ pub mod availability_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -311,7 +311,7 @@ pub mod availability_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -384,7 +384,7 @@ pub mod availability_sets { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -447,7 +447,7 @@ pub mod availability_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -515,7 +515,7 @@ pub mod availability_sets { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -536,7 +536,7 @@ pub mod availability_sets { } } pub mod virtual_machine_extension_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -587,7 +587,7 @@ pub mod virtual_machine_extension_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -655,7 +655,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -737,7 +737,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -758,7 +758,7 @@ pub mod virtual_machine_extension_images { } } pub mod virtual_machine_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -811,7 +811,7 @@ pub mod virtual_machine_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -889,7 +889,7 @@ pub mod virtual_machine_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineExtension), @@ -963,7 +963,7 @@ pub mod virtual_machine_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1032,7 +1032,7 @@ pub mod virtual_machine_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -1059,7 +1059,7 @@ pub mod virtual_machine_extensions { } } pub mod virtual_machines { - use crate::models::*; + use super::{models, models::*}; pub async fn get_extensions( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1113,7 +1113,7 @@ pub mod virtual_machines { } } pub mod get_extensions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1179,7 +1179,7 @@ pub mod virtual_machines { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1250,7 +1250,7 @@ pub mod virtual_machines { } } pub mod capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineCaptureResult), @@ -1324,7 +1324,7 @@ pub mod virtual_machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1400,7 +1400,7 @@ pub mod virtual_machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -1478,7 +1478,7 @@ pub mod virtual_machines { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -1550,7 +1550,7 @@ pub mod virtual_machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -1624,7 +1624,7 @@ pub mod virtual_machines { } } pub mod instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1696,7 +1696,7 @@ pub mod virtual_machines { } } pub mod convert_to_managed_disks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -1771,7 +1771,7 @@ pub mod virtual_machines { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -1845,7 +1845,7 @@ pub mod virtual_machines { } } pub mod generalize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1908,7 +1908,7 @@ pub mod virtual_machines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1972,7 +1972,7 @@ pub mod virtual_machines { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2040,7 +2040,7 @@ pub mod virtual_machines { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2110,7 +2110,7 @@ pub mod virtual_machines { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -2185,7 +2185,7 @@ pub mod virtual_machines { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -2257,7 +2257,7 @@ pub mod virtual_machines { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -2332,7 +2332,7 @@ pub mod virtual_machines { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -2407,7 +2407,7 @@ pub mod virtual_machines { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -2483,7 +2483,7 @@ pub mod virtual_machines { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -2509,7 +2509,7 @@ pub mod virtual_machines { } } pub mod virtual_machine_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -2553,7 +2553,7 @@ pub mod virtual_machine_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2634,7 +2634,7 @@ pub mod virtual_machine_images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2702,7 +2702,7 @@ pub mod virtual_machine_images { } } pub mod list_offers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2768,7 +2768,7 @@ pub mod virtual_machine_images { } } pub mod list_publishers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2838,7 +2838,7 @@ pub mod virtual_machine_images { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2859,7 +2859,7 @@ pub mod virtual_machine_images { } } pub mod usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -2904,7 +2904,7 @@ pub mod usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2925,7 +2925,7 @@ pub mod usage { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -2970,7 +2970,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2991,7 +2991,7 @@ pub mod virtual_machine_sizes { } } pub mod images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3042,7 +3042,7 @@ pub mod images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3118,7 +3118,7 @@ pub mod images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -3196,7 +3196,7 @@ pub mod images { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -3268,7 +3268,7 @@ pub mod images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3342,7 +3342,7 @@ pub mod images { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3403,7 +3403,7 @@ pub mod images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3424,7 +3424,7 @@ pub mod images { } } pub mod virtual_machine_scale_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3471,7 +3471,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3547,7 +3547,7 @@ pub mod virtual_machine_scale_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSet), @@ -3619,7 +3619,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3686,7 +3686,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3767,7 +3767,7 @@ pub mod virtual_machine_scale_sets { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3843,7 +3843,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3916,7 +3916,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3979,7 +3979,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4043,7 +4043,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4111,7 +4111,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4181,7 +4181,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_os_upgrade_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4256,7 +4256,7 @@ pub mod virtual_machine_scale_sets { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4336,7 +4336,7 @@ pub mod virtual_machine_scale_sets { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4413,7 +4413,7 @@ pub mod virtual_machine_scale_sets { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4493,7 +4493,7 @@ pub mod virtual_machine_scale_sets { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4573,7 +4573,7 @@ pub mod virtual_machine_scale_sets { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4649,7 +4649,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4729,7 +4729,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4809,7 +4809,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4885,7 +4885,7 @@ pub mod virtual_machine_scale_sets { } } pub mod force_recovery_service_fabric_platform_update_domain_walk { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4906,7 +4906,7 @@ pub mod virtual_machine_scale_sets { } } pub mod virtual_machine_scale_set_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4959,7 +4959,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5037,7 +5037,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetExtension), @@ -5111,7 +5111,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -5182,7 +5182,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5203,7 +5203,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod virtual_machine_scale_set_rolling_upgrades { - use crate::models::*; + use super::{models, models::*}; pub async fn cancel( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5252,7 +5252,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -5327,7 +5327,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_os_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -5400,7 +5400,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod get_latest { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5421,7 +5421,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod virtual_machine_scale_set_v_ms { - use crate::models::*; + use super::{models, models::*}; pub async fn reimage( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5475,7 +5475,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -5552,7 +5552,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -5629,7 +5629,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -5701,7 +5701,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5776,7 +5776,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetVm), @@ -5850,7 +5850,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -5926,7 +5926,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6003,7 +6003,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6075,7 +6075,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -6152,7 +6152,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -6226,7 +6226,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -6303,7 +6303,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -6373,7 +6373,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -6399,7 +6399,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod log_analytics { - use crate::models::*; + use super::{models, models::*}; pub async fn export_request_rate_by_interval( operation_config: &crate::OperationConfig, parameters: &RequestRateByIntervalInput, @@ -6452,7 +6452,7 @@ pub mod log_analytics { } } pub mod export_request_rate_by_interval { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -6528,7 +6528,7 @@ pub mod log_analytics { } } pub mod export_throttled_requests { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -6554,7 +6554,7 @@ pub mod log_analytics { } } pub mod virtual_machine_run_commands { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -6599,7 +6599,7 @@ pub mod virtual_machine_run_commands { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6664,7 +6664,7 @@ pub mod virtual_machine_run_commands { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6685,7 +6685,7 @@ pub mod virtual_machine_run_commands { } } pub mod resource_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6728,7 +6728,7 @@ pub mod resource_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6749,7 +6749,7 @@ pub mod resource_skus { } } pub mod disks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6796,7 +6796,7 @@ pub mod disks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6872,7 +6872,7 @@ pub mod disks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -6950,7 +6950,7 @@ pub mod disks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -7017,7 +7017,7 @@ pub mod disks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7091,7 +7091,7 @@ pub mod disks { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7149,7 +7149,7 @@ pub mod disks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7220,7 +7220,7 @@ pub mod disks { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -7290,7 +7290,7 @@ pub mod disks { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7316,7 +7316,7 @@ pub mod disks { } } pub mod snapshots { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7363,7 +7363,7 @@ pub mod snapshots { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7439,7 +7439,7 @@ pub mod snapshots { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -7517,7 +7517,7 @@ pub mod snapshots { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -7584,7 +7584,7 @@ pub mod snapshots { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7658,7 +7658,7 @@ pub mod snapshots { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7716,7 +7716,7 @@ pub mod snapshots { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7787,7 +7787,7 @@ pub mod snapshots { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -7857,7 +7857,7 @@ pub mod snapshots { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7883,7 +7883,7 @@ pub mod snapshots { } } pub mod container_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7926,7 +7926,7 @@ pub mod container_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7991,7 +7991,7 @@ pub mod container_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8073,7 +8073,7 @@ pub mod container_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerService), @@ -8140,7 +8140,7 @@ pub mod container_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8213,7 +8213,7 @@ pub mod container_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/compute/src/package_2018_04_01/operations.rs b/services/mgmt/compute/src/package_2018_04_01/operations.rs index 2e64b1b65d..739e200dd2 100644 --- a/services/mgmt/compute/src/package_2018_04_01/operations.rs +++ b/services/mgmt/compute/src/package_2018_04_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Compute/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod availability_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -108,7 +108,7 @@ pub mod availability_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -178,7 +178,7 @@ pub mod availability_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -245,7 +245,7 @@ pub mod availability_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -306,7 +306,7 @@ pub mod availability_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -379,7 +379,7 @@ pub mod availability_sets { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -442,7 +442,7 @@ pub mod availability_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -510,7 +510,7 @@ pub mod availability_sets { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -531,7 +531,7 @@ pub mod availability_sets { } } pub mod proximity_placement_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -578,7 +578,7 @@ pub mod proximity_placement_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -654,7 +654,7 @@ pub mod proximity_placement_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProximityPlacementGroup), @@ -726,7 +726,7 @@ pub mod proximity_placement_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -786,7 +786,7 @@ pub mod proximity_placement_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -850,7 +850,7 @@ pub mod proximity_placement_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -918,7 +918,7 @@ pub mod proximity_placement_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -939,7 +939,7 @@ pub mod proximity_placement_groups { } } pub mod virtual_machine_extension_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -990,7 +990,7 @@ pub mod virtual_machine_extension_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1058,7 +1058,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1140,7 +1140,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1161,7 +1161,7 @@ pub mod virtual_machine_extension_images { } } pub mod virtual_machine_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1214,7 +1214,7 @@ pub mod virtual_machine_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1292,7 +1292,7 @@ pub mod virtual_machine_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineExtension), @@ -1366,7 +1366,7 @@ pub mod virtual_machine_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1430,7 +1430,7 @@ pub mod virtual_machine_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1505,7 +1505,7 @@ pub mod virtual_machine_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1526,7 +1526,7 @@ pub mod virtual_machine_extensions { } } pub mod virtual_machine_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -1570,7 +1570,7 @@ pub mod virtual_machine_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1651,7 +1651,7 @@ pub mod virtual_machine_images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1719,7 +1719,7 @@ pub mod virtual_machine_images { } } pub mod list_offers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1785,7 +1785,7 @@ pub mod virtual_machine_images { } } pub mod list_publishers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1855,7 +1855,7 @@ pub mod virtual_machine_images { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1876,7 +1876,7 @@ pub mod virtual_machine_images { } } pub mod usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -1921,7 +1921,7 @@ pub mod usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1942,7 +1942,7 @@ pub mod usage { } } pub mod virtual_machines { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, location: &str, @@ -1990,7 +1990,7 @@ pub mod virtual_machines { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2061,7 +2061,7 @@ pub mod virtual_machines { } } pub mod capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineCaptureResult), @@ -2135,7 +2135,7 @@ pub mod virtual_machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2211,7 +2211,7 @@ pub mod virtual_machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -2289,7 +2289,7 @@ pub mod virtual_machines { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -2356,7 +2356,7 @@ pub mod virtual_machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2430,7 +2430,7 @@ pub mod virtual_machines { } } pub mod instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2497,7 +2497,7 @@ pub mod virtual_machines { } } pub mod convert_to_managed_disks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2567,7 +2567,7 @@ pub mod virtual_machines { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2636,7 +2636,7 @@ pub mod virtual_machines { } } pub mod generalize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2699,7 +2699,7 @@ pub mod virtual_machines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2763,7 +2763,7 @@ pub mod virtual_machines { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2831,7 +2831,7 @@ pub mod virtual_machines { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2896,7 +2896,7 @@ pub mod virtual_machines { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2966,7 +2966,7 @@ pub mod virtual_machines { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3033,7 +3033,7 @@ pub mod virtual_machines { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3103,7 +3103,7 @@ pub mod virtual_machines { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3173,7 +3173,7 @@ pub mod virtual_machines { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3249,7 +3249,7 @@ pub mod virtual_machines { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -3275,7 +3275,7 @@ pub mod virtual_machines { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -3320,7 +3320,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3341,7 +3341,7 @@ pub mod virtual_machine_sizes { } } pub mod images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3392,7 +3392,7 @@ pub mod images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3468,7 +3468,7 @@ pub mod images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -3546,7 +3546,7 @@ pub mod images { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -3613,7 +3613,7 @@ pub mod images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3687,7 +3687,7 @@ pub mod images { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3748,7 +3748,7 @@ pub mod images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3769,7 +3769,7 @@ pub mod images { } } pub mod virtual_machine_scale_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3816,7 +3816,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3892,7 +3892,7 @@ pub mod virtual_machine_scale_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSet), @@ -3964,7 +3964,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4026,7 +4026,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4102,7 +4102,7 @@ pub mod virtual_machine_scale_sets { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4173,7 +4173,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4246,7 +4246,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4309,7 +4309,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4373,7 +4373,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4441,7 +4441,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4511,7 +4511,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_os_upgrade_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4581,7 +4581,7 @@ pub mod virtual_machine_scale_sets { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4656,7 +4656,7 @@ pub mod virtual_machine_scale_sets { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4728,7 +4728,7 @@ pub mod virtual_machine_scale_sets { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4803,7 +4803,7 @@ pub mod virtual_machine_scale_sets { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4878,7 +4878,7 @@ pub mod virtual_machine_scale_sets { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4949,7 +4949,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5024,7 +5024,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5099,7 +5099,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5175,7 +5175,7 @@ pub mod virtual_machine_scale_sets { } } pub mod force_recovery_service_fabric_platform_update_domain_walk { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5196,7 +5196,7 @@ pub mod virtual_machine_scale_sets { } } pub mod virtual_machine_scale_set_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5249,7 +5249,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5327,7 +5327,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetExtension), @@ -5396,7 +5396,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5467,7 +5467,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5488,7 +5488,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod virtual_machine_scale_set_rolling_upgrades { - use crate::models::*; + use super::{models, models::*}; pub async fn cancel( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5532,7 +5532,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5602,7 +5602,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_os_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5675,7 +5675,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod get_latest { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5696,7 +5696,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod virtual_machine_scale_set_v_ms { - use crate::models::*; + use super::{models, models::*}; pub async fn reimage( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5745,7 +5745,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5817,7 +5817,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5889,7 +5889,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5961,7 +5961,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6036,7 +6036,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetVm), @@ -6105,7 +6105,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6181,7 +6181,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6258,7 +6258,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6325,7 +6325,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6397,7 +6397,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6466,7 +6466,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6538,7 +6538,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6603,7 +6603,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6681,7 +6681,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -6707,7 +6707,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod log_analytics { - use crate::models::*; + use super::{models, models::*}; pub async fn export_request_rate_by_interval( operation_config: &crate::OperationConfig, parameters: &RequestRateByIntervalInput, @@ -6760,7 +6760,7 @@ pub mod log_analytics { } } pub mod export_request_rate_by_interval { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -6836,7 +6836,7 @@ pub mod log_analytics { } } pub mod export_throttled_requests { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -6862,7 +6862,7 @@ pub mod log_analytics { } } pub mod virtual_machine_run_commands { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -6907,7 +6907,7 @@ pub mod virtual_machine_run_commands { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6972,7 +6972,7 @@ pub mod virtual_machine_run_commands { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6993,7 +6993,7 @@ pub mod virtual_machine_run_commands { } } pub mod resource_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7036,7 +7036,7 @@ pub mod resource_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7057,7 +7057,7 @@ pub mod resource_skus { } } pub mod disks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7104,7 +7104,7 @@ pub mod disks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7180,7 +7180,7 @@ pub mod disks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -7258,7 +7258,7 @@ pub mod disks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -7325,7 +7325,7 @@ pub mod disks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7399,7 +7399,7 @@ pub mod disks { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7457,7 +7457,7 @@ pub mod disks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7528,7 +7528,7 @@ pub mod disks { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -7598,7 +7598,7 @@ pub mod disks { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7624,7 +7624,7 @@ pub mod disks { } } pub mod snapshots { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7671,7 +7671,7 @@ pub mod snapshots { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7747,7 +7747,7 @@ pub mod snapshots { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -7825,7 +7825,7 @@ pub mod snapshots { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -7892,7 +7892,7 @@ pub mod snapshots { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7966,7 +7966,7 @@ pub mod snapshots { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8024,7 +8024,7 @@ pub mod snapshots { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8095,7 +8095,7 @@ pub mod snapshots { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -8165,7 +8165,7 @@ pub mod snapshots { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8191,7 +8191,7 @@ pub mod snapshots { } } pub mod container_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8234,7 +8234,7 @@ pub mod container_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8299,7 +8299,7 @@ pub mod container_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8381,7 +8381,7 @@ pub mod container_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerService), @@ -8448,7 +8448,7 @@ pub mod container_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8521,7 +8521,7 @@ pub mod container_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/compute/src/package_2018_06/operations.rs b/services/mgmt/compute/src/package_2018_06/operations.rs index a0d557a115..ff8805cf92 100644 --- a/services/mgmt/compute/src/package_2018_06/operations.rs +++ b/services/mgmt/compute/src/package_2018_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Compute/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod availability_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -108,7 +108,7 @@ pub mod availability_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -178,7 +178,7 @@ pub mod availability_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -245,7 +245,7 @@ pub mod availability_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -306,7 +306,7 @@ pub mod availability_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -379,7 +379,7 @@ pub mod availability_sets { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -442,7 +442,7 @@ pub mod availability_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -510,7 +510,7 @@ pub mod availability_sets { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -531,7 +531,7 @@ pub mod availability_sets { } } pub mod proximity_placement_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -578,7 +578,7 @@ pub mod proximity_placement_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -654,7 +654,7 @@ pub mod proximity_placement_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProximityPlacementGroup), @@ -726,7 +726,7 @@ pub mod proximity_placement_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -786,7 +786,7 @@ pub mod proximity_placement_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -850,7 +850,7 @@ pub mod proximity_placement_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -918,7 +918,7 @@ pub mod proximity_placement_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -939,7 +939,7 @@ pub mod proximity_placement_groups { } } pub mod virtual_machine_extension_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -990,7 +990,7 @@ pub mod virtual_machine_extension_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1058,7 +1058,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1140,7 +1140,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1161,7 +1161,7 @@ pub mod virtual_machine_extension_images { } } pub mod virtual_machine_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1214,7 +1214,7 @@ pub mod virtual_machine_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1292,7 +1292,7 @@ pub mod virtual_machine_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineExtension), @@ -1366,7 +1366,7 @@ pub mod virtual_machine_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1430,7 +1430,7 @@ pub mod virtual_machine_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1505,7 +1505,7 @@ pub mod virtual_machine_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1526,7 +1526,7 @@ pub mod virtual_machine_extensions { } } pub mod virtual_machine_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -1570,7 +1570,7 @@ pub mod virtual_machine_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1651,7 +1651,7 @@ pub mod virtual_machine_images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1719,7 +1719,7 @@ pub mod virtual_machine_images { } } pub mod list_offers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1785,7 +1785,7 @@ pub mod virtual_machine_images { } } pub mod list_publishers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1855,7 +1855,7 @@ pub mod virtual_machine_images { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1876,7 +1876,7 @@ pub mod virtual_machine_images { } } pub mod usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -1921,7 +1921,7 @@ pub mod usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1942,7 +1942,7 @@ pub mod usage { } } pub mod virtual_machines { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, location: &str, @@ -1990,7 +1990,7 @@ pub mod virtual_machines { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2061,7 +2061,7 @@ pub mod virtual_machines { } } pub mod capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineCaptureResult), @@ -2135,7 +2135,7 @@ pub mod virtual_machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2211,7 +2211,7 @@ pub mod virtual_machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -2289,7 +2289,7 @@ pub mod virtual_machines { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -2356,7 +2356,7 @@ pub mod virtual_machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2430,7 +2430,7 @@ pub mod virtual_machines { } } pub mod instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2497,7 +2497,7 @@ pub mod virtual_machines { } } pub mod convert_to_managed_disks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2567,7 +2567,7 @@ pub mod virtual_machines { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2636,7 +2636,7 @@ pub mod virtual_machines { } } pub mod generalize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2699,7 +2699,7 @@ pub mod virtual_machines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2763,7 +2763,7 @@ pub mod virtual_machines { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2831,7 +2831,7 @@ pub mod virtual_machines { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2896,7 +2896,7 @@ pub mod virtual_machines { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2966,7 +2966,7 @@ pub mod virtual_machines { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3033,7 +3033,7 @@ pub mod virtual_machines { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3103,7 +3103,7 @@ pub mod virtual_machines { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3178,7 +3178,7 @@ pub mod virtual_machines { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3248,7 +3248,7 @@ pub mod virtual_machines { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3324,7 +3324,7 @@ pub mod virtual_machines { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -3350,7 +3350,7 @@ pub mod virtual_machines { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -3395,7 +3395,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3416,7 +3416,7 @@ pub mod virtual_machine_sizes { } } pub mod images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3467,7 +3467,7 @@ pub mod images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3543,7 +3543,7 @@ pub mod images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -3621,7 +3621,7 @@ pub mod images { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -3688,7 +3688,7 @@ pub mod images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3762,7 +3762,7 @@ pub mod images { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3823,7 +3823,7 @@ pub mod images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3844,7 +3844,7 @@ pub mod images { } } pub mod virtual_machine_scale_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3891,7 +3891,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3967,7 +3967,7 @@ pub mod virtual_machine_scale_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSet), @@ -4039,7 +4039,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4101,7 +4101,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4177,7 +4177,7 @@ pub mod virtual_machine_scale_sets { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4248,7 +4248,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4321,7 +4321,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4384,7 +4384,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4448,7 +4448,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4516,7 +4516,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4586,7 +4586,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_os_upgrade_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4656,7 +4656,7 @@ pub mod virtual_machine_scale_sets { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4731,7 +4731,7 @@ pub mod virtual_machine_scale_sets { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4803,7 +4803,7 @@ pub mod virtual_machine_scale_sets { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4878,7 +4878,7 @@ pub mod virtual_machine_scale_sets { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4953,7 +4953,7 @@ pub mod virtual_machine_scale_sets { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5024,7 +5024,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5099,7 +5099,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5174,7 +5174,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5250,7 +5250,7 @@ pub mod virtual_machine_scale_sets { } } pub mod force_recovery_service_fabric_platform_update_domain_walk { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5271,7 +5271,7 @@ pub mod virtual_machine_scale_sets { } } pub mod virtual_machine_scale_set_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5324,7 +5324,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5402,7 +5402,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetExtension), @@ -5471,7 +5471,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5542,7 +5542,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5563,7 +5563,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod virtual_machine_scale_set_rolling_upgrades { - use crate::models::*; + use super::{models, models::*}; pub async fn cancel( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5607,7 +5607,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5677,7 +5677,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_os_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5749,7 +5749,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_extension_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5822,7 +5822,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod get_latest { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5843,7 +5843,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod virtual_machine_scale_set_v_ms { - use crate::models::*; + use super::{models, models::*}; pub async fn reimage( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5897,7 +5897,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5969,7 +5969,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6041,7 +6041,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6113,7 +6113,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6188,7 +6188,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetVm), @@ -6257,7 +6257,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6333,7 +6333,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6410,7 +6410,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6477,7 +6477,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6549,7 +6549,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6618,7 +6618,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6690,7 +6690,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6755,7 +6755,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6833,7 +6833,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -6859,7 +6859,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod log_analytics { - use crate::models::*; + use super::{models, models::*}; pub async fn export_request_rate_by_interval( operation_config: &crate::OperationConfig, parameters: &RequestRateByIntervalInput, @@ -6912,7 +6912,7 @@ pub mod log_analytics { } } pub mod export_request_rate_by_interval { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -6988,7 +6988,7 @@ pub mod log_analytics { } } pub mod export_throttled_requests { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -7014,7 +7014,7 @@ pub mod log_analytics { } } pub mod virtual_machine_run_commands { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -7059,7 +7059,7 @@ pub mod virtual_machine_run_commands { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7124,7 +7124,7 @@ pub mod virtual_machine_run_commands { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7145,7 +7145,7 @@ pub mod virtual_machine_run_commands { } } pub mod resource_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7188,7 +7188,7 @@ pub mod resource_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7209,7 +7209,7 @@ pub mod resource_skus { } } pub mod disks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7256,7 +7256,7 @@ pub mod disks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7332,7 +7332,7 @@ pub mod disks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -7410,7 +7410,7 @@ pub mod disks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -7477,7 +7477,7 @@ pub mod disks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7551,7 +7551,7 @@ pub mod disks { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7609,7 +7609,7 @@ pub mod disks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7680,7 +7680,7 @@ pub mod disks { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -7750,7 +7750,7 @@ pub mod disks { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7776,7 +7776,7 @@ pub mod disks { } } pub mod snapshots { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7823,7 +7823,7 @@ pub mod snapshots { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7899,7 +7899,7 @@ pub mod snapshots { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -7977,7 +7977,7 @@ pub mod snapshots { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -8044,7 +8044,7 @@ pub mod snapshots { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8118,7 +8118,7 @@ pub mod snapshots { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8176,7 +8176,7 @@ pub mod snapshots { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8247,7 +8247,7 @@ pub mod snapshots { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -8317,7 +8317,7 @@ pub mod snapshots { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8343,7 +8343,7 @@ pub mod snapshots { } } pub mod galleries { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8392,7 +8392,7 @@ pub mod galleries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8479,7 +8479,7 @@ pub mod galleries { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Gallery), @@ -8552,7 +8552,7 @@ pub mod galleries { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8631,7 +8631,7 @@ pub mod galleries { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8694,7 +8694,7 @@ pub mod galleries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8718,7 +8718,7 @@ pub mod galleries { } } pub mod gallery_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8769,7 +8769,7 @@ pub mod gallery_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8858,7 +8858,7 @@ pub mod gallery_images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryImage), @@ -8933,7 +8933,7 @@ pub mod gallery_images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9012,7 +9012,7 @@ pub mod gallery_images { } } pub mod list_by_gallery { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9036,7 +9036,7 @@ pub mod gallery_images { } } pub mod gallery_image_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9093,7 +9093,7 @@ pub mod gallery_image_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9184,7 +9184,7 @@ pub mod gallery_image_versions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryImageVersion), @@ -9261,7 +9261,7 @@ pub mod gallery_image_versions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9344,7 +9344,7 @@ pub mod gallery_image_versions { } } pub mod list_by_gallery_image { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9368,7 +9368,7 @@ pub mod gallery_image_versions { } } pub mod container_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9411,7 +9411,7 @@ pub mod container_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9476,7 +9476,7 @@ pub mod container_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9558,7 +9558,7 @@ pub mod container_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerService), @@ -9625,7 +9625,7 @@ pub mod container_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9698,7 +9698,7 @@ pub mod container_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/compute/src/package_2018_06_01/operations.rs b/services/mgmt/compute/src/package_2018_06_01/operations.rs index 6249d4ae94..3396e4f775 100644 --- a/services/mgmt/compute/src/package_2018_06_01/operations.rs +++ b/services/mgmt/compute/src/package_2018_06_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Compute/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod availability_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -108,7 +108,7 @@ pub mod availability_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -178,7 +178,7 @@ pub mod availability_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -245,7 +245,7 @@ pub mod availability_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -306,7 +306,7 @@ pub mod availability_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -379,7 +379,7 @@ pub mod availability_sets { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -442,7 +442,7 @@ pub mod availability_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -510,7 +510,7 @@ pub mod availability_sets { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -531,7 +531,7 @@ pub mod availability_sets { } } pub mod proximity_placement_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -578,7 +578,7 @@ pub mod proximity_placement_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -654,7 +654,7 @@ pub mod proximity_placement_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProximityPlacementGroup), @@ -726,7 +726,7 @@ pub mod proximity_placement_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -786,7 +786,7 @@ pub mod proximity_placement_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -850,7 +850,7 @@ pub mod proximity_placement_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -918,7 +918,7 @@ pub mod proximity_placement_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -939,7 +939,7 @@ pub mod proximity_placement_groups { } } pub mod virtual_machine_extension_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -990,7 +990,7 @@ pub mod virtual_machine_extension_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1058,7 +1058,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1140,7 +1140,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1161,7 +1161,7 @@ pub mod virtual_machine_extension_images { } } pub mod virtual_machine_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1214,7 +1214,7 @@ pub mod virtual_machine_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1292,7 +1292,7 @@ pub mod virtual_machine_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineExtension), @@ -1366,7 +1366,7 @@ pub mod virtual_machine_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1430,7 +1430,7 @@ pub mod virtual_machine_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1505,7 +1505,7 @@ pub mod virtual_machine_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1526,7 +1526,7 @@ pub mod virtual_machine_extensions { } } pub mod virtual_machine_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -1570,7 +1570,7 @@ pub mod virtual_machine_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1651,7 +1651,7 @@ pub mod virtual_machine_images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1719,7 +1719,7 @@ pub mod virtual_machine_images { } } pub mod list_offers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1785,7 +1785,7 @@ pub mod virtual_machine_images { } } pub mod list_publishers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1855,7 +1855,7 @@ pub mod virtual_machine_images { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1876,7 +1876,7 @@ pub mod virtual_machine_images { } } pub mod usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -1921,7 +1921,7 @@ pub mod usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1942,7 +1942,7 @@ pub mod usage { } } pub mod virtual_machines { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, location: &str, @@ -1990,7 +1990,7 @@ pub mod virtual_machines { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2061,7 +2061,7 @@ pub mod virtual_machines { } } pub mod capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineCaptureResult), @@ -2135,7 +2135,7 @@ pub mod virtual_machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2211,7 +2211,7 @@ pub mod virtual_machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -2289,7 +2289,7 @@ pub mod virtual_machines { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -2356,7 +2356,7 @@ pub mod virtual_machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2430,7 +2430,7 @@ pub mod virtual_machines { } } pub mod instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2497,7 +2497,7 @@ pub mod virtual_machines { } } pub mod convert_to_managed_disks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2567,7 +2567,7 @@ pub mod virtual_machines { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2636,7 +2636,7 @@ pub mod virtual_machines { } } pub mod generalize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2699,7 +2699,7 @@ pub mod virtual_machines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2763,7 +2763,7 @@ pub mod virtual_machines { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2831,7 +2831,7 @@ pub mod virtual_machines { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2896,7 +2896,7 @@ pub mod virtual_machines { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2966,7 +2966,7 @@ pub mod virtual_machines { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3033,7 +3033,7 @@ pub mod virtual_machines { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3103,7 +3103,7 @@ pub mod virtual_machines { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3173,7 +3173,7 @@ pub mod virtual_machines { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3249,7 +3249,7 @@ pub mod virtual_machines { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -3275,7 +3275,7 @@ pub mod virtual_machines { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -3320,7 +3320,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3341,7 +3341,7 @@ pub mod virtual_machine_sizes { } } pub mod images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3392,7 +3392,7 @@ pub mod images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3468,7 +3468,7 @@ pub mod images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -3546,7 +3546,7 @@ pub mod images { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -3613,7 +3613,7 @@ pub mod images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3687,7 +3687,7 @@ pub mod images { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3748,7 +3748,7 @@ pub mod images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3769,7 +3769,7 @@ pub mod images { } } pub mod virtual_machine_scale_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3816,7 +3816,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3892,7 +3892,7 @@ pub mod virtual_machine_scale_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSet), @@ -3964,7 +3964,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4026,7 +4026,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4102,7 +4102,7 @@ pub mod virtual_machine_scale_sets { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4173,7 +4173,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4246,7 +4246,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4309,7 +4309,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4373,7 +4373,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4441,7 +4441,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4511,7 +4511,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_os_upgrade_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4581,7 +4581,7 @@ pub mod virtual_machine_scale_sets { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4656,7 +4656,7 @@ pub mod virtual_machine_scale_sets { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4728,7 +4728,7 @@ pub mod virtual_machine_scale_sets { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4803,7 +4803,7 @@ pub mod virtual_machine_scale_sets { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4878,7 +4878,7 @@ pub mod virtual_machine_scale_sets { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4949,7 +4949,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5024,7 +5024,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5099,7 +5099,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5175,7 +5175,7 @@ pub mod virtual_machine_scale_sets { } } pub mod force_recovery_service_fabric_platform_update_domain_walk { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5196,7 +5196,7 @@ pub mod virtual_machine_scale_sets { } } pub mod virtual_machine_scale_set_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5249,7 +5249,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5327,7 +5327,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetExtension), @@ -5396,7 +5396,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5467,7 +5467,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5488,7 +5488,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod virtual_machine_scale_set_rolling_upgrades { - use crate::models::*; + use super::{models, models::*}; pub async fn cancel( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5532,7 +5532,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5602,7 +5602,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_os_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5675,7 +5675,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod get_latest { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5696,7 +5696,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod virtual_machine_scale_set_v_ms { - use crate::models::*; + use super::{models, models::*}; pub async fn reimage( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5745,7 +5745,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5817,7 +5817,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5889,7 +5889,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5961,7 +5961,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6036,7 +6036,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetVm), @@ -6105,7 +6105,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6181,7 +6181,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6258,7 +6258,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6325,7 +6325,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6397,7 +6397,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6466,7 +6466,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6538,7 +6538,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6603,7 +6603,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6681,7 +6681,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -6707,7 +6707,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod log_analytics { - use crate::models::*; + use super::{models, models::*}; pub async fn export_request_rate_by_interval( operation_config: &crate::OperationConfig, parameters: &RequestRateByIntervalInput, @@ -6760,7 +6760,7 @@ pub mod log_analytics { } } pub mod export_request_rate_by_interval { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -6836,7 +6836,7 @@ pub mod log_analytics { } } pub mod export_throttled_requests { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -6862,7 +6862,7 @@ pub mod log_analytics { } } pub mod virtual_machine_run_commands { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -6907,7 +6907,7 @@ pub mod virtual_machine_run_commands { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6972,7 +6972,7 @@ pub mod virtual_machine_run_commands { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6993,7 +6993,7 @@ pub mod virtual_machine_run_commands { } } pub mod resource_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7036,7 +7036,7 @@ pub mod resource_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7057,7 +7057,7 @@ pub mod resource_skus { } } pub mod disks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7104,7 +7104,7 @@ pub mod disks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7180,7 +7180,7 @@ pub mod disks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -7258,7 +7258,7 @@ pub mod disks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -7325,7 +7325,7 @@ pub mod disks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7399,7 +7399,7 @@ pub mod disks { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7457,7 +7457,7 @@ pub mod disks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7528,7 +7528,7 @@ pub mod disks { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -7598,7 +7598,7 @@ pub mod disks { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7624,7 +7624,7 @@ pub mod disks { } } pub mod snapshots { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7671,7 +7671,7 @@ pub mod snapshots { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7747,7 +7747,7 @@ pub mod snapshots { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -7825,7 +7825,7 @@ pub mod snapshots { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -7892,7 +7892,7 @@ pub mod snapshots { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7966,7 +7966,7 @@ pub mod snapshots { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8024,7 +8024,7 @@ pub mod snapshots { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8095,7 +8095,7 @@ pub mod snapshots { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -8165,7 +8165,7 @@ pub mod snapshots { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8191,7 +8191,7 @@ pub mod snapshots { } } pub mod galleries { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8240,7 +8240,7 @@ pub mod galleries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8327,7 +8327,7 @@ pub mod galleries { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Gallery), @@ -8400,7 +8400,7 @@ pub mod galleries { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8479,7 +8479,7 @@ pub mod galleries { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8542,7 +8542,7 @@ pub mod galleries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8566,7 +8566,7 @@ pub mod galleries { } } pub mod gallery_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8617,7 +8617,7 @@ pub mod gallery_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8706,7 +8706,7 @@ pub mod gallery_images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryImage), @@ -8781,7 +8781,7 @@ pub mod gallery_images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8860,7 +8860,7 @@ pub mod gallery_images { } } pub mod list_by_gallery { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8884,7 +8884,7 @@ pub mod gallery_images { } } pub mod gallery_image_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8941,7 +8941,7 @@ pub mod gallery_image_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9032,7 +9032,7 @@ pub mod gallery_image_versions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryImageVersion), @@ -9109,7 +9109,7 @@ pub mod gallery_image_versions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9192,7 +9192,7 @@ pub mod gallery_image_versions { } } pub mod list_by_gallery_image { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9216,7 +9216,7 @@ pub mod gallery_image_versions { } } pub mod container_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9259,7 +9259,7 @@ pub mod container_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9324,7 +9324,7 @@ pub mod container_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9406,7 +9406,7 @@ pub mod container_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerService), @@ -9473,7 +9473,7 @@ pub mod container_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9546,7 +9546,7 @@ pub mod container_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/compute/src/package_2018_06_exclude_gallery/operations.rs b/services/mgmt/compute/src/package_2018_06_exclude_gallery/operations.rs index 2bfb0f990a..efb20c260c 100644 --- a/services/mgmt/compute/src/package_2018_06_exclude_gallery/operations.rs +++ b/services/mgmt/compute/src/package_2018_06_exclude_gallery/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Compute/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod availability_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -108,7 +108,7 @@ pub mod availability_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -178,7 +178,7 @@ pub mod availability_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -245,7 +245,7 @@ pub mod availability_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -306,7 +306,7 @@ pub mod availability_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -379,7 +379,7 @@ pub mod availability_sets { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -442,7 +442,7 @@ pub mod availability_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -510,7 +510,7 @@ pub mod availability_sets { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -531,7 +531,7 @@ pub mod availability_sets { } } pub mod proximity_placement_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -578,7 +578,7 @@ pub mod proximity_placement_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -654,7 +654,7 @@ pub mod proximity_placement_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProximityPlacementGroup), @@ -726,7 +726,7 @@ pub mod proximity_placement_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -786,7 +786,7 @@ pub mod proximity_placement_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -850,7 +850,7 @@ pub mod proximity_placement_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -918,7 +918,7 @@ pub mod proximity_placement_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -939,7 +939,7 @@ pub mod proximity_placement_groups { } } pub mod virtual_machine_extension_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -990,7 +990,7 @@ pub mod virtual_machine_extension_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1058,7 +1058,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1140,7 +1140,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1161,7 +1161,7 @@ pub mod virtual_machine_extension_images { } } pub mod virtual_machine_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1214,7 +1214,7 @@ pub mod virtual_machine_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1292,7 +1292,7 @@ pub mod virtual_machine_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineExtension), @@ -1366,7 +1366,7 @@ pub mod virtual_machine_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1430,7 +1430,7 @@ pub mod virtual_machine_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1505,7 +1505,7 @@ pub mod virtual_machine_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1526,7 +1526,7 @@ pub mod virtual_machine_extensions { } } pub mod virtual_machine_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -1570,7 +1570,7 @@ pub mod virtual_machine_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1651,7 +1651,7 @@ pub mod virtual_machine_images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1719,7 +1719,7 @@ pub mod virtual_machine_images { } } pub mod list_offers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1785,7 +1785,7 @@ pub mod virtual_machine_images { } } pub mod list_publishers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1855,7 +1855,7 @@ pub mod virtual_machine_images { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1876,7 +1876,7 @@ pub mod virtual_machine_images { } } pub mod usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -1921,7 +1921,7 @@ pub mod usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1942,7 +1942,7 @@ pub mod usage { } } pub mod virtual_machines { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, location: &str, @@ -1990,7 +1990,7 @@ pub mod virtual_machines { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2061,7 +2061,7 @@ pub mod virtual_machines { } } pub mod capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineCaptureResult), @@ -2135,7 +2135,7 @@ pub mod virtual_machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2211,7 +2211,7 @@ pub mod virtual_machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -2289,7 +2289,7 @@ pub mod virtual_machines { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -2356,7 +2356,7 @@ pub mod virtual_machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2430,7 +2430,7 @@ pub mod virtual_machines { } } pub mod instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2497,7 +2497,7 @@ pub mod virtual_machines { } } pub mod convert_to_managed_disks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2567,7 +2567,7 @@ pub mod virtual_machines { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2636,7 +2636,7 @@ pub mod virtual_machines { } } pub mod generalize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2699,7 +2699,7 @@ pub mod virtual_machines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2763,7 +2763,7 @@ pub mod virtual_machines { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2831,7 +2831,7 @@ pub mod virtual_machines { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2896,7 +2896,7 @@ pub mod virtual_machines { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2966,7 +2966,7 @@ pub mod virtual_machines { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3033,7 +3033,7 @@ pub mod virtual_machines { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3103,7 +3103,7 @@ pub mod virtual_machines { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3178,7 +3178,7 @@ pub mod virtual_machines { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3248,7 +3248,7 @@ pub mod virtual_machines { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3324,7 +3324,7 @@ pub mod virtual_machines { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -3350,7 +3350,7 @@ pub mod virtual_machines { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -3395,7 +3395,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3416,7 +3416,7 @@ pub mod virtual_machine_sizes { } } pub mod images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3467,7 +3467,7 @@ pub mod images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3543,7 +3543,7 @@ pub mod images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -3621,7 +3621,7 @@ pub mod images { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -3688,7 +3688,7 @@ pub mod images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3762,7 +3762,7 @@ pub mod images { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3823,7 +3823,7 @@ pub mod images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3844,7 +3844,7 @@ pub mod images { } } pub mod virtual_machine_scale_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3891,7 +3891,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3967,7 +3967,7 @@ pub mod virtual_machine_scale_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSet), @@ -4039,7 +4039,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4101,7 +4101,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4177,7 +4177,7 @@ pub mod virtual_machine_scale_sets { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4248,7 +4248,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4321,7 +4321,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4384,7 +4384,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4448,7 +4448,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4516,7 +4516,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4586,7 +4586,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_os_upgrade_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4656,7 +4656,7 @@ pub mod virtual_machine_scale_sets { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4731,7 +4731,7 @@ pub mod virtual_machine_scale_sets { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4803,7 +4803,7 @@ pub mod virtual_machine_scale_sets { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4878,7 +4878,7 @@ pub mod virtual_machine_scale_sets { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4953,7 +4953,7 @@ pub mod virtual_machine_scale_sets { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5024,7 +5024,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5099,7 +5099,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5174,7 +5174,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5250,7 +5250,7 @@ pub mod virtual_machine_scale_sets { } } pub mod force_recovery_service_fabric_platform_update_domain_walk { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5271,7 +5271,7 @@ pub mod virtual_machine_scale_sets { } } pub mod virtual_machine_scale_set_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5324,7 +5324,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5402,7 +5402,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetExtension), @@ -5471,7 +5471,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5542,7 +5542,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5563,7 +5563,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod virtual_machine_scale_set_rolling_upgrades { - use crate::models::*; + use super::{models, models::*}; pub async fn cancel( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5607,7 +5607,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5677,7 +5677,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_os_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5749,7 +5749,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_extension_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5822,7 +5822,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod get_latest { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5843,7 +5843,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod virtual_machine_scale_set_v_ms { - use crate::models::*; + use super::{models, models::*}; pub async fn reimage( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5897,7 +5897,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5969,7 +5969,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6041,7 +6041,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6113,7 +6113,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6188,7 +6188,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetVm), @@ -6257,7 +6257,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6333,7 +6333,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6410,7 +6410,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6477,7 +6477,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6549,7 +6549,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6618,7 +6618,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6690,7 +6690,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6755,7 +6755,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6833,7 +6833,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -6859,7 +6859,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod log_analytics { - use crate::models::*; + use super::{models, models::*}; pub async fn export_request_rate_by_interval( operation_config: &crate::OperationConfig, parameters: &RequestRateByIntervalInput, @@ -6912,7 +6912,7 @@ pub mod log_analytics { } } pub mod export_request_rate_by_interval { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -6988,7 +6988,7 @@ pub mod log_analytics { } } pub mod export_throttled_requests { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -7014,7 +7014,7 @@ pub mod log_analytics { } } pub mod virtual_machine_run_commands { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -7059,7 +7059,7 @@ pub mod virtual_machine_run_commands { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7124,7 +7124,7 @@ pub mod virtual_machine_run_commands { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7145,7 +7145,7 @@ pub mod virtual_machine_run_commands { } } pub mod resource_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7188,7 +7188,7 @@ pub mod resource_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7209,7 +7209,7 @@ pub mod resource_skus { } } pub mod disks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7256,7 +7256,7 @@ pub mod disks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7332,7 +7332,7 @@ pub mod disks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -7410,7 +7410,7 @@ pub mod disks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -7477,7 +7477,7 @@ pub mod disks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7551,7 +7551,7 @@ pub mod disks { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7609,7 +7609,7 @@ pub mod disks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7680,7 +7680,7 @@ pub mod disks { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -7750,7 +7750,7 @@ pub mod disks { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7776,7 +7776,7 @@ pub mod disks { } } pub mod snapshots { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7823,7 +7823,7 @@ pub mod snapshots { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7899,7 +7899,7 @@ pub mod snapshots { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -7977,7 +7977,7 @@ pub mod snapshots { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -8044,7 +8044,7 @@ pub mod snapshots { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8118,7 +8118,7 @@ pub mod snapshots { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8176,7 +8176,7 @@ pub mod snapshots { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8247,7 +8247,7 @@ pub mod snapshots { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -8317,7 +8317,7 @@ pub mod snapshots { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8343,7 +8343,7 @@ pub mod snapshots { } } pub mod container_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8386,7 +8386,7 @@ pub mod container_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8451,7 +8451,7 @@ pub mod container_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8533,7 +8533,7 @@ pub mod container_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerService), @@ -8600,7 +8600,7 @@ pub mod container_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8673,7 +8673,7 @@ pub mod container_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/compute/src/package_2018_09_30_only/operations.rs b/services/mgmt/compute/src/package_2018_09_30_only/operations.rs index 7494878b54..44a1af713d 100644 --- a/services/mgmt/compute/src/package_2018_09_30_only/operations.rs +++ b/services/mgmt/compute/src/package_2018_09_30_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod disks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -51,7 +51,7 @@ pub mod disks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod disks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -205,7 +205,7 @@ pub mod disks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -272,7 +272,7 @@ pub mod disks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -346,7 +346,7 @@ pub mod disks { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -404,7 +404,7 @@ pub mod disks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -475,7 +475,7 @@ pub mod disks { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -545,7 +545,7 @@ pub mod disks { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -571,7 +571,7 @@ pub mod disks { } } pub mod snapshots { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -618,7 +618,7 @@ pub mod snapshots { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -694,7 +694,7 @@ pub mod snapshots { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -772,7 +772,7 @@ pub mod snapshots { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -839,7 +839,7 @@ pub mod snapshots { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -913,7 +913,7 @@ pub mod snapshots { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -971,7 +971,7 @@ pub mod snapshots { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1042,7 +1042,7 @@ pub mod snapshots { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -1112,7 +1112,7 @@ pub mod snapshots { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/compute/src/package_2018_10_01/operations.rs b/services/mgmt/compute/src/package_2018_10_01/operations.rs index a0d557a115..ff8805cf92 100644 --- a/services/mgmt/compute/src/package_2018_10_01/operations.rs +++ b/services/mgmt/compute/src/package_2018_10_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Compute/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod availability_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -108,7 +108,7 @@ pub mod availability_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -178,7 +178,7 @@ pub mod availability_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -245,7 +245,7 @@ pub mod availability_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -306,7 +306,7 @@ pub mod availability_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -379,7 +379,7 @@ pub mod availability_sets { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -442,7 +442,7 @@ pub mod availability_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -510,7 +510,7 @@ pub mod availability_sets { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -531,7 +531,7 @@ pub mod availability_sets { } } pub mod proximity_placement_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -578,7 +578,7 @@ pub mod proximity_placement_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -654,7 +654,7 @@ pub mod proximity_placement_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProximityPlacementGroup), @@ -726,7 +726,7 @@ pub mod proximity_placement_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -786,7 +786,7 @@ pub mod proximity_placement_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -850,7 +850,7 @@ pub mod proximity_placement_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -918,7 +918,7 @@ pub mod proximity_placement_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -939,7 +939,7 @@ pub mod proximity_placement_groups { } } pub mod virtual_machine_extension_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -990,7 +990,7 @@ pub mod virtual_machine_extension_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1058,7 +1058,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1140,7 +1140,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1161,7 +1161,7 @@ pub mod virtual_machine_extension_images { } } pub mod virtual_machine_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1214,7 +1214,7 @@ pub mod virtual_machine_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1292,7 +1292,7 @@ pub mod virtual_machine_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineExtension), @@ -1366,7 +1366,7 @@ pub mod virtual_machine_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1430,7 +1430,7 @@ pub mod virtual_machine_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1505,7 +1505,7 @@ pub mod virtual_machine_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1526,7 +1526,7 @@ pub mod virtual_machine_extensions { } } pub mod virtual_machine_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -1570,7 +1570,7 @@ pub mod virtual_machine_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1651,7 +1651,7 @@ pub mod virtual_machine_images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1719,7 +1719,7 @@ pub mod virtual_machine_images { } } pub mod list_offers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1785,7 +1785,7 @@ pub mod virtual_machine_images { } } pub mod list_publishers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1855,7 +1855,7 @@ pub mod virtual_machine_images { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1876,7 +1876,7 @@ pub mod virtual_machine_images { } } pub mod usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -1921,7 +1921,7 @@ pub mod usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1942,7 +1942,7 @@ pub mod usage { } } pub mod virtual_machines { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, location: &str, @@ -1990,7 +1990,7 @@ pub mod virtual_machines { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2061,7 +2061,7 @@ pub mod virtual_machines { } } pub mod capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineCaptureResult), @@ -2135,7 +2135,7 @@ pub mod virtual_machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2211,7 +2211,7 @@ pub mod virtual_machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -2289,7 +2289,7 @@ pub mod virtual_machines { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -2356,7 +2356,7 @@ pub mod virtual_machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2430,7 +2430,7 @@ pub mod virtual_machines { } } pub mod instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2497,7 +2497,7 @@ pub mod virtual_machines { } } pub mod convert_to_managed_disks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2567,7 +2567,7 @@ pub mod virtual_machines { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2636,7 +2636,7 @@ pub mod virtual_machines { } } pub mod generalize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2699,7 +2699,7 @@ pub mod virtual_machines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2763,7 +2763,7 @@ pub mod virtual_machines { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2831,7 +2831,7 @@ pub mod virtual_machines { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2896,7 +2896,7 @@ pub mod virtual_machines { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2966,7 +2966,7 @@ pub mod virtual_machines { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3033,7 +3033,7 @@ pub mod virtual_machines { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3103,7 +3103,7 @@ pub mod virtual_machines { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3178,7 +3178,7 @@ pub mod virtual_machines { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3248,7 +3248,7 @@ pub mod virtual_machines { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3324,7 +3324,7 @@ pub mod virtual_machines { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -3350,7 +3350,7 @@ pub mod virtual_machines { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -3395,7 +3395,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3416,7 +3416,7 @@ pub mod virtual_machine_sizes { } } pub mod images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3467,7 +3467,7 @@ pub mod images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3543,7 +3543,7 @@ pub mod images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -3621,7 +3621,7 @@ pub mod images { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -3688,7 +3688,7 @@ pub mod images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3762,7 +3762,7 @@ pub mod images { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3823,7 +3823,7 @@ pub mod images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3844,7 +3844,7 @@ pub mod images { } } pub mod virtual_machine_scale_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3891,7 +3891,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3967,7 +3967,7 @@ pub mod virtual_machine_scale_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSet), @@ -4039,7 +4039,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4101,7 +4101,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4177,7 +4177,7 @@ pub mod virtual_machine_scale_sets { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4248,7 +4248,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4321,7 +4321,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4384,7 +4384,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4448,7 +4448,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4516,7 +4516,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4586,7 +4586,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_os_upgrade_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4656,7 +4656,7 @@ pub mod virtual_machine_scale_sets { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4731,7 +4731,7 @@ pub mod virtual_machine_scale_sets { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4803,7 +4803,7 @@ pub mod virtual_machine_scale_sets { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4878,7 +4878,7 @@ pub mod virtual_machine_scale_sets { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4953,7 +4953,7 @@ pub mod virtual_machine_scale_sets { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5024,7 +5024,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5099,7 +5099,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5174,7 +5174,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5250,7 +5250,7 @@ pub mod virtual_machine_scale_sets { } } pub mod force_recovery_service_fabric_platform_update_domain_walk { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5271,7 +5271,7 @@ pub mod virtual_machine_scale_sets { } } pub mod virtual_machine_scale_set_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5324,7 +5324,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5402,7 +5402,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetExtension), @@ -5471,7 +5471,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5542,7 +5542,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5563,7 +5563,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod virtual_machine_scale_set_rolling_upgrades { - use crate::models::*; + use super::{models, models::*}; pub async fn cancel( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5607,7 +5607,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5677,7 +5677,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_os_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5749,7 +5749,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_extension_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5822,7 +5822,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod get_latest { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5843,7 +5843,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod virtual_machine_scale_set_v_ms { - use crate::models::*; + use super::{models, models::*}; pub async fn reimage( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5897,7 +5897,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5969,7 +5969,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6041,7 +6041,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6113,7 +6113,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6188,7 +6188,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetVm), @@ -6257,7 +6257,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6333,7 +6333,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6410,7 +6410,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6477,7 +6477,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6549,7 +6549,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6618,7 +6618,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6690,7 +6690,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6755,7 +6755,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6833,7 +6833,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -6859,7 +6859,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod log_analytics { - use crate::models::*; + use super::{models, models::*}; pub async fn export_request_rate_by_interval( operation_config: &crate::OperationConfig, parameters: &RequestRateByIntervalInput, @@ -6912,7 +6912,7 @@ pub mod log_analytics { } } pub mod export_request_rate_by_interval { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -6988,7 +6988,7 @@ pub mod log_analytics { } } pub mod export_throttled_requests { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -7014,7 +7014,7 @@ pub mod log_analytics { } } pub mod virtual_machine_run_commands { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -7059,7 +7059,7 @@ pub mod virtual_machine_run_commands { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7124,7 +7124,7 @@ pub mod virtual_machine_run_commands { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7145,7 +7145,7 @@ pub mod virtual_machine_run_commands { } } pub mod resource_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7188,7 +7188,7 @@ pub mod resource_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7209,7 +7209,7 @@ pub mod resource_skus { } } pub mod disks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7256,7 +7256,7 @@ pub mod disks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7332,7 +7332,7 @@ pub mod disks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -7410,7 +7410,7 @@ pub mod disks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -7477,7 +7477,7 @@ pub mod disks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7551,7 +7551,7 @@ pub mod disks { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7609,7 +7609,7 @@ pub mod disks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7680,7 +7680,7 @@ pub mod disks { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -7750,7 +7750,7 @@ pub mod disks { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7776,7 +7776,7 @@ pub mod disks { } } pub mod snapshots { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7823,7 +7823,7 @@ pub mod snapshots { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7899,7 +7899,7 @@ pub mod snapshots { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -7977,7 +7977,7 @@ pub mod snapshots { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -8044,7 +8044,7 @@ pub mod snapshots { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8118,7 +8118,7 @@ pub mod snapshots { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8176,7 +8176,7 @@ pub mod snapshots { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8247,7 +8247,7 @@ pub mod snapshots { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -8317,7 +8317,7 @@ pub mod snapshots { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8343,7 +8343,7 @@ pub mod snapshots { } } pub mod galleries { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8392,7 +8392,7 @@ pub mod galleries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8479,7 +8479,7 @@ pub mod galleries { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Gallery), @@ -8552,7 +8552,7 @@ pub mod galleries { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8631,7 +8631,7 @@ pub mod galleries { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8694,7 +8694,7 @@ pub mod galleries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8718,7 +8718,7 @@ pub mod galleries { } } pub mod gallery_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8769,7 +8769,7 @@ pub mod gallery_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8858,7 +8858,7 @@ pub mod gallery_images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryImage), @@ -8933,7 +8933,7 @@ pub mod gallery_images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9012,7 +9012,7 @@ pub mod gallery_images { } } pub mod list_by_gallery { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9036,7 +9036,7 @@ pub mod gallery_images { } } pub mod gallery_image_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9093,7 +9093,7 @@ pub mod gallery_image_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9184,7 +9184,7 @@ pub mod gallery_image_versions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryImageVersion), @@ -9261,7 +9261,7 @@ pub mod gallery_image_versions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9344,7 +9344,7 @@ pub mod gallery_image_versions { } } pub mod list_by_gallery_image { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9368,7 +9368,7 @@ pub mod gallery_image_versions { } } pub mod container_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9411,7 +9411,7 @@ pub mod container_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9476,7 +9476,7 @@ pub mod container_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9558,7 +9558,7 @@ pub mod container_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerService), @@ -9625,7 +9625,7 @@ pub mod container_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9698,7 +9698,7 @@ pub mod container_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/compute/src/package_2018_10_01_disks/operations.rs b/services/mgmt/compute/src/package_2018_10_01_disks/operations.rs index a0d557a115..ff8805cf92 100644 --- a/services/mgmt/compute/src/package_2018_10_01_disks/operations.rs +++ b/services/mgmt/compute/src/package_2018_10_01_disks/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Compute/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod availability_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -108,7 +108,7 @@ pub mod availability_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -178,7 +178,7 @@ pub mod availability_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -245,7 +245,7 @@ pub mod availability_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -306,7 +306,7 @@ pub mod availability_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -379,7 +379,7 @@ pub mod availability_sets { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -442,7 +442,7 @@ pub mod availability_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -510,7 +510,7 @@ pub mod availability_sets { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -531,7 +531,7 @@ pub mod availability_sets { } } pub mod proximity_placement_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -578,7 +578,7 @@ pub mod proximity_placement_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -654,7 +654,7 @@ pub mod proximity_placement_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProximityPlacementGroup), @@ -726,7 +726,7 @@ pub mod proximity_placement_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -786,7 +786,7 @@ pub mod proximity_placement_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -850,7 +850,7 @@ pub mod proximity_placement_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -918,7 +918,7 @@ pub mod proximity_placement_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -939,7 +939,7 @@ pub mod proximity_placement_groups { } } pub mod virtual_machine_extension_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -990,7 +990,7 @@ pub mod virtual_machine_extension_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1058,7 +1058,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1140,7 +1140,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1161,7 +1161,7 @@ pub mod virtual_machine_extension_images { } } pub mod virtual_machine_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1214,7 +1214,7 @@ pub mod virtual_machine_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1292,7 +1292,7 @@ pub mod virtual_machine_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineExtension), @@ -1366,7 +1366,7 @@ pub mod virtual_machine_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1430,7 +1430,7 @@ pub mod virtual_machine_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1505,7 +1505,7 @@ pub mod virtual_machine_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1526,7 +1526,7 @@ pub mod virtual_machine_extensions { } } pub mod virtual_machine_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -1570,7 +1570,7 @@ pub mod virtual_machine_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1651,7 +1651,7 @@ pub mod virtual_machine_images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1719,7 +1719,7 @@ pub mod virtual_machine_images { } } pub mod list_offers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1785,7 +1785,7 @@ pub mod virtual_machine_images { } } pub mod list_publishers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1855,7 +1855,7 @@ pub mod virtual_machine_images { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1876,7 +1876,7 @@ pub mod virtual_machine_images { } } pub mod usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -1921,7 +1921,7 @@ pub mod usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1942,7 +1942,7 @@ pub mod usage { } } pub mod virtual_machines { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, location: &str, @@ -1990,7 +1990,7 @@ pub mod virtual_machines { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2061,7 +2061,7 @@ pub mod virtual_machines { } } pub mod capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineCaptureResult), @@ -2135,7 +2135,7 @@ pub mod virtual_machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2211,7 +2211,7 @@ pub mod virtual_machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -2289,7 +2289,7 @@ pub mod virtual_machines { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -2356,7 +2356,7 @@ pub mod virtual_machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2430,7 +2430,7 @@ pub mod virtual_machines { } } pub mod instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2497,7 +2497,7 @@ pub mod virtual_machines { } } pub mod convert_to_managed_disks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2567,7 +2567,7 @@ pub mod virtual_machines { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2636,7 +2636,7 @@ pub mod virtual_machines { } } pub mod generalize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2699,7 +2699,7 @@ pub mod virtual_machines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2763,7 +2763,7 @@ pub mod virtual_machines { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2831,7 +2831,7 @@ pub mod virtual_machines { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2896,7 +2896,7 @@ pub mod virtual_machines { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2966,7 +2966,7 @@ pub mod virtual_machines { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3033,7 +3033,7 @@ pub mod virtual_machines { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3103,7 +3103,7 @@ pub mod virtual_machines { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3178,7 +3178,7 @@ pub mod virtual_machines { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3248,7 +3248,7 @@ pub mod virtual_machines { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3324,7 +3324,7 @@ pub mod virtual_machines { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -3350,7 +3350,7 @@ pub mod virtual_machines { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -3395,7 +3395,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3416,7 +3416,7 @@ pub mod virtual_machine_sizes { } } pub mod images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3467,7 +3467,7 @@ pub mod images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3543,7 +3543,7 @@ pub mod images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -3621,7 +3621,7 @@ pub mod images { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -3688,7 +3688,7 @@ pub mod images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3762,7 +3762,7 @@ pub mod images { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3823,7 +3823,7 @@ pub mod images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3844,7 +3844,7 @@ pub mod images { } } pub mod virtual_machine_scale_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3891,7 +3891,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3967,7 +3967,7 @@ pub mod virtual_machine_scale_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSet), @@ -4039,7 +4039,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4101,7 +4101,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4177,7 +4177,7 @@ pub mod virtual_machine_scale_sets { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4248,7 +4248,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4321,7 +4321,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4384,7 +4384,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4448,7 +4448,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4516,7 +4516,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4586,7 +4586,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_os_upgrade_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4656,7 +4656,7 @@ pub mod virtual_machine_scale_sets { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4731,7 +4731,7 @@ pub mod virtual_machine_scale_sets { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4803,7 +4803,7 @@ pub mod virtual_machine_scale_sets { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4878,7 +4878,7 @@ pub mod virtual_machine_scale_sets { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4953,7 +4953,7 @@ pub mod virtual_machine_scale_sets { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5024,7 +5024,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5099,7 +5099,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5174,7 +5174,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5250,7 +5250,7 @@ pub mod virtual_machine_scale_sets { } } pub mod force_recovery_service_fabric_platform_update_domain_walk { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5271,7 +5271,7 @@ pub mod virtual_machine_scale_sets { } } pub mod virtual_machine_scale_set_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5324,7 +5324,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5402,7 +5402,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetExtension), @@ -5471,7 +5471,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5542,7 +5542,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5563,7 +5563,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod virtual_machine_scale_set_rolling_upgrades { - use crate::models::*; + use super::{models, models::*}; pub async fn cancel( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5607,7 +5607,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5677,7 +5677,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_os_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5749,7 +5749,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_extension_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5822,7 +5822,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod get_latest { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5843,7 +5843,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod virtual_machine_scale_set_v_ms { - use crate::models::*; + use super::{models, models::*}; pub async fn reimage( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5897,7 +5897,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5969,7 +5969,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6041,7 +6041,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6113,7 +6113,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6188,7 +6188,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetVm), @@ -6257,7 +6257,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6333,7 +6333,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6410,7 +6410,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6477,7 +6477,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6549,7 +6549,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6618,7 +6618,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6690,7 +6690,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6755,7 +6755,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6833,7 +6833,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -6859,7 +6859,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod log_analytics { - use crate::models::*; + use super::{models, models::*}; pub async fn export_request_rate_by_interval( operation_config: &crate::OperationConfig, parameters: &RequestRateByIntervalInput, @@ -6912,7 +6912,7 @@ pub mod log_analytics { } } pub mod export_request_rate_by_interval { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -6988,7 +6988,7 @@ pub mod log_analytics { } } pub mod export_throttled_requests { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -7014,7 +7014,7 @@ pub mod log_analytics { } } pub mod virtual_machine_run_commands { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -7059,7 +7059,7 @@ pub mod virtual_machine_run_commands { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7124,7 +7124,7 @@ pub mod virtual_machine_run_commands { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7145,7 +7145,7 @@ pub mod virtual_machine_run_commands { } } pub mod resource_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7188,7 +7188,7 @@ pub mod resource_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7209,7 +7209,7 @@ pub mod resource_skus { } } pub mod disks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7256,7 +7256,7 @@ pub mod disks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7332,7 +7332,7 @@ pub mod disks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -7410,7 +7410,7 @@ pub mod disks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -7477,7 +7477,7 @@ pub mod disks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7551,7 +7551,7 @@ pub mod disks { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7609,7 +7609,7 @@ pub mod disks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7680,7 +7680,7 @@ pub mod disks { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -7750,7 +7750,7 @@ pub mod disks { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7776,7 +7776,7 @@ pub mod disks { } } pub mod snapshots { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7823,7 +7823,7 @@ pub mod snapshots { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7899,7 +7899,7 @@ pub mod snapshots { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -7977,7 +7977,7 @@ pub mod snapshots { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -8044,7 +8044,7 @@ pub mod snapshots { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8118,7 +8118,7 @@ pub mod snapshots { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8176,7 +8176,7 @@ pub mod snapshots { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8247,7 +8247,7 @@ pub mod snapshots { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -8317,7 +8317,7 @@ pub mod snapshots { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8343,7 +8343,7 @@ pub mod snapshots { } } pub mod galleries { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8392,7 +8392,7 @@ pub mod galleries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8479,7 +8479,7 @@ pub mod galleries { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Gallery), @@ -8552,7 +8552,7 @@ pub mod galleries { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8631,7 +8631,7 @@ pub mod galleries { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8694,7 +8694,7 @@ pub mod galleries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8718,7 +8718,7 @@ pub mod galleries { } } pub mod gallery_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8769,7 +8769,7 @@ pub mod gallery_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8858,7 +8858,7 @@ pub mod gallery_images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryImage), @@ -8933,7 +8933,7 @@ pub mod gallery_images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9012,7 +9012,7 @@ pub mod gallery_images { } } pub mod list_by_gallery { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9036,7 +9036,7 @@ pub mod gallery_images { } } pub mod gallery_image_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9093,7 +9093,7 @@ pub mod gallery_image_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9184,7 +9184,7 @@ pub mod gallery_image_versions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryImageVersion), @@ -9261,7 +9261,7 @@ pub mod gallery_image_versions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9344,7 +9344,7 @@ pub mod gallery_image_versions { } } pub mod list_by_gallery_image { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9368,7 +9368,7 @@ pub mod gallery_image_versions { } } pub mod container_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9411,7 +9411,7 @@ pub mod container_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9476,7 +9476,7 @@ pub mod container_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9558,7 +9558,7 @@ pub mod container_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerService), @@ -9625,7 +9625,7 @@ pub mod container_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9698,7 +9698,7 @@ pub mod container_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/compute/src/package_2018_10_01_only/operations.rs b/services/mgmt/compute/src/package_2018_10_01_only/operations.rs index 20561a52a6..0d1c324224 100644 --- a/services/mgmt/compute/src/package_2018_10_01_only/operations.rs +++ b/services/mgmt/compute/src/package_2018_10_01_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Compute/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod availability_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -108,7 +108,7 @@ pub mod availability_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -178,7 +178,7 @@ pub mod availability_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -245,7 +245,7 @@ pub mod availability_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -306,7 +306,7 @@ pub mod availability_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -379,7 +379,7 @@ pub mod availability_sets { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -442,7 +442,7 @@ pub mod availability_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -510,7 +510,7 @@ pub mod availability_sets { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -531,7 +531,7 @@ pub mod availability_sets { } } pub mod proximity_placement_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -578,7 +578,7 @@ pub mod proximity_placement_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -654,7 +654,7 @@ pub mod proximity_placement_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProximityPlacementGroup), @@ -726,7 +726,7 @@ pub mod proximity_placement_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -786,7 +786,7 @@ pub mod proximity_placement_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -850,7 +850,7 @@ pub mod proximity_placement_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -918,7 +918,7 @@ pub mod proximity_placement_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -939,7 +939,7 @@ pub mod proximity_placement_groups { } } pub mod virtual_machine_extension_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -990,7 +990,7 @@ pub mod virtual_machine_extension_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1058,7 +1058,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1140,7 +1140,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1161,7 +1161,7 @@ pub mod virtual_machine_extension_images { } } pub mod virtual_machine_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1214,7 +1214,7 @@ pub mod virtual_machine_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1292,7 +1292,7 @@ pub mod virtual_machine_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineExtension), @@ -1366,7 +1366,7 @@ pub mod virtual_machine_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1430,7 +1430,7 @@ pub mod virtual_machine_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1505,7 +1505,7 @@ pub mod virtual_machine_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1526,7 +1526,7 @@ pub mod virtual_machine_extensions { } } pub mod virtual_machine_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -1570,7 +1570,7 @@ pub mod virtual_machine_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1651,7 +1651,7 @@ pub mod virtual_machine_images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1719,7 +1719,7 @@ pub mod virtual_machine_images { } } pub mod list_offers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1785,7 +1785,7 @@ pub mod virtual_machine_images { } } pub mod list_publishers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1855,7 +1855,7 @@ pub mod virtual_machine_images { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1876,7 +1876,7 @@ pub mod virtual_machine_images { } } pub mod usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -1921,7 +1921,7 @@ pub mod usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1942,7 +1942,7 @@ pub mod usage { } } pub mod virtual_machines { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, location: &str, @@ -1990,7 +1990,7 @@ pub mod virtual_machines { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2061,7 +2061,7 @@ pub mod virtual_machines { } } pub mod capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineCaptureResult), @@ -2135,7 +2135,7 @@ pub mod virtual_machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2211,7 +2211,7 @@ pub mod virtual_machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -2289,7 +2289,7 @@ pub mod virtual_machines { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -2356,7 +2356,7 @@ pub mod virtual_machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2430,7 +2430,7 @@ pub mod virtual_machines { } } pub mod instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2497,7 +2497,7 @@ pub mod virtual_machines { } } pub mod convert_to_managed_disks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2567,7 +2567,7 @@ pub mod virtual_machines { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2636,7 +2636,7 @@ pub mod virtual_machines { } } pub mod generalize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2699,7 +2699,7 @@ pub mod virtual_machines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2763,7 +2763,7 @@ pub mod virtual_machines { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2831,7 +2831,7 @@ pub mod virtual_machines { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2896,7 +2896,7 @@ pub mod virtual_machines { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2966,7 +2966,7 @@ pub mod virtual_machines { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3033,7 +3033,7 @@ pub mod virtual_machines { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3103,7 +3103,7 @@ pub mod virtual_machines { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3178,7 +3178,7 @@ pub mod virtual_machines { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3248,7 +3248,7 @@ pub mod virtual_machines { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3324,7 +3324,7 @@ pub mod virtual_machines { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -3350,7 +3350,7 @@ pub mod virtual_machines { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -3395,7 +3395,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3416,7 +3416,7 @@ pub mod virtual_machine_sizes { } } pub mod images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3467,7 +3467,7 @@ pub mod images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3543,7 +3543,7 @@ pub mod images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -3621,7 +3621,7 @@ pub mod images { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -3688,7 +3688,7 @@ pub mod images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3762,7 +3762,7 @@ pub mod images { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3823,7 +3823,7 @@ pub mod images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3844,7 +3844,7 @@ pub mod images { } } pub mod virtual_machine_scale_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3891,7 +3891,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3967,7 +3967,7 @@ pub mod virtual_machine_scale_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSet), @@ -4039,7 +4039,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4101,7 +4101,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4177,7 +4177,7 @@ pub mod virtual_machine_scale_sets { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4248,7 +4248,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4321,7 +4321,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4384,7 +4384,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4448,7 +4448,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4516,7 +4516,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4586,7 +4586,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_os_upgrade_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4656,7 +4656,7 @@ pub mod virtual_machine_scale_sets { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4731,7 +4731,7 @@ pub mod virtual_machine_scale_sets { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4803,7 +4803,7 @@ pub mod virtual_machine_scale_sets { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4878,7 +4878,7 @@ pub mod virtual_machine_scale_sets { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4953,7 +4953,7 @@ pub mod virtual_machine_scale_sets { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5024,7 +5024,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5099,7 +5099,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5174,7 +5174,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5250,7 +5250,7 @@ pub mod virtual_machine_scale_sets { } } pub mod force_recovery_service_fabric_platform_update_domain_walk { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5271,7 +5271,7 @@ pub mod virtual_machine_scale_sets { } } pub mod virtual_machine_scale_set_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5324,7 +5324,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5402,7 +5402,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetExtension), @@ -5471,7 +5471,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5542,7 +5542,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5563,7 +5563,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod virtual_machine_scale_set_rolling_upgrades { - use crate::models::*; + use super::{models, models::*}; pub async fn cancel( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5607,7 +5607,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5677,7 +5677,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_os_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5749,7 +5749,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_extension_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5822,7 +5822,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod get_latest { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5843,7 +5843,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod virtual_machine_scale_set_v_ms { - use crate::models::*; + use super::{models, models::*}; pub async fn reimage( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5897,7 +5897,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5969,7 +5969,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6041,7 +6041,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6113,7 +6113,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6188,7 +6188,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetVm), @@ -6257,7 +6257,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6333,7 +6333,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6410,7 +6410,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6477,7 +6477,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6549,7 +6549,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6618,7 +6618,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6690,7 +6690,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6755,7 +6755,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6833,7 +6833,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -6859,7 +6859,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod log_analytics { - use crate::models::*; + use super::{models, models::*}; pub async fn export_request_rate_by_interval( operation_config: &crate::OperationConfig, parameters: &RequestRateByIntervalInput, @@ -6912,7 +6912,7 @@ pub mod log_analytics { } } pub mod export_request_rate_by_interval { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -6988,7 +6988,7 @@ pub mod log_analytics { } } pub mod export_throttled_requests { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -7014,7 +7014,7 @@ pub mod log_analytics { } } pub mod virtual_machine_run_commands { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -7059,7 +7059,7 @@ pub mod virtual_machine_run_commands { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7124,7 +7124,7 @@ pub mod virtual_machine_run_commands { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/compute/src/package_2019_03_01/operations.rs b/services/mgmt/compute/src/package_2019_03_01/operations.rs index 5011a58062..a44a62c48d 100644 --- a/services/mgmt/compute/src/package_2019_03_01/operations.rs +++ b/services/mgmt/compute/src/package_2019_03_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Compute/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod availability_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -108,7 +108,7 @@ pub mod availability_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -178,7 +178,7 @@ pub mod availability_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -245,7 +245,7 @@ pub mod availability_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -306,7 +306,7 @@ pub mod availability_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -379,7 +379,7 @@ pub mod availability_sets { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -442,7 +442,7 @@ pub mod availability_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -510,7 +510,7 @@ pub mod availability_sets { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -531,7 +531,7 @@ pub mod availability_sets { } } pub mod proximity_placement_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -578,7 +578,7 @@ pub mod proximity_placement_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -654,7 +654,7 @@ pub mod proximity_placement_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProximityPlacementGroup), @@ -726,7 +726,7 @@ pub mod proximity_placement_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -786,7 +786,7 @@ pub mod proximity_placement_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -850,7 +850,7 @@ pub mod proximity_placement_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -918,7 +918,7 @@ pub mod proximity_placement_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -939,7 +939,7 @@ pub mod proximity_placement_groups { } } pub mod dedicated_host_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -986,7 +986,7 @@ pub mod dedicated_host_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1062,7 +1062,7 @@ pub mod dedicated_host_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DedicatedHostGroup), @@ -1134,7 +1134,7 @@ pub mod dedicated_host_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1195,7 +1195,7 @@ pub mod dedicated_host_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1268,7 +1268,7 @@ pub mod dedicated_host_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1332,7 +1332,7 @@ pub mod dedicated_host_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1353,7 +1353,7 @@ pub mod dedicated_host_groups { } } pub mod dedicated_hosts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1406,7 +1406,7 @@ pub mod dedicated_hosts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1484,7 +1484,7 @@ pub mod dedicated_hosts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DedicatedHost), @@ -1558,7 +1558,7 @@ pub mod dedicated_hosts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1622,7 +1622,7 @@ pub mod dedicated_hosts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1696,7 +1696,7 @@ pub mod dedicated_hosts { } } pub mod list_by_host_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1717,7 +1717,7 @@ pub mod dedicated_hosts { } } pub mod virtual_machine_extension_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -1768,7 +1768,7 @@ pub mod virtual_machine_extension_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1836,7 +1836,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1918,7 +1918,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1939,7 +1939,7 @@ pub mod virtual_machine_extension_images { } } pub mod virtual_machine_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1992,7 +1992,7 @@ pub mod virtual_machine_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2070,7 +2070,7 @@ pub mod virtual_machine_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineExtension), @@ -2144,7 +2144,7 @@ pub mod virtual_machine_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2208,7 +2208,7 @@ pub mod virtual_machine_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2283,7 +2283,7 @@ pub mod virtual_machine_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2304,7 +2304,7 @@ pub mod virtual_machine_extensions { } } pub mod virtual_machine_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -2348,7 +2348,7 @@ pub mod virtual_machine_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2429,7 +2429,7 @@ pub mod virtual_machine_images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2497,7 +2497,7 @@ pub mod virtual_machine_images { } } pub mod list_offers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2563,7 +2563,7 @@ pub mod virtual_machine_images { } } pub mod list_publishers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2633,7 +2633,7 @@ pub mod virtual_machine_images { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2654,7 +2654,7 @@ pub mod virtual_machine_images { } } pub mod usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -2699,7 +2699,7 @@ pub mod usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2720,7 +2720,7 @@ pub mod usage { } } pub mod virtual_machines { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, location: &str, @@ -2768,7 +2768,7 @@ pub mod virtual_machines { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2839,7 +2839,7 @@ pub mod virtual_machines { } } pub mod capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineCaptureResult), @@ -2913,7 +2913,7 @@ pub mod virtual_machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2989,7 +2989,7 @@ pub mod virtual_machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -3067,7 +3067,7 @@ pub mod virtual_machines { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -3134,7 +3134,7 @@ pub mod virtual_machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3208,7 +3208,7 @@ pub mod virtual_machines { } } pub mod instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3275,7 +3275,7 @@ pub mod virtual_machines { } } pub mod convert_to_managed_disks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3345,7 +3345,7 @@ pub mod virtual_machines { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3414,7 +3414,7 @@ pub mod virtual_machines { } } pub mod generalize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3477,7 +3477,7 @@ pub mod virtual_machines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3541,7 +3541,7 @@ pub mod virtual_machines { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3609,7 +3609,7 @@ pub mod virtual_machines { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3679,7 +3679,7 @@ pub mod virtual_machines { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3749,7 +3749,7 @@ pub mod virtual_machines { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3816,7 +3816,7 @@ pub mod virtual_machines { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3886,7 +3886,7 @@ pub mod virtual_machines { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3961,7 +3961,7 @@ pub mod virtual_machines { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4031,7 +4031,7 @@ pub mod virtual_machines { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4107,7 +4107,7 @@ pub mod virtual_machines { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -4133,7 +4133,7 @@ pub mod virtual_machines { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -4178,7 +4178,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4199,7 +4199,7 @@ pub mod virtual_machine_sizes { } } pub mod images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4250,7 +4250,7 @@ pub mod images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4326,7 +4326,7 @@ pub mod images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -4404,7 +4404,7 @@ pub mod images { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -4471,7 +4471,7 @@ pub mod images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4545,7 +4545,7 @@ pub mod images { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4606,7 +4606,7 @@ pub mod images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4627,7 +4627,7 @@ pub mod images { } } pub mod virtual_machine_scale_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4674,7 +4674,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4750,7 +4750,7 @@ pub mod virtual_machine_scale_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSet), @@ -4822,7 +4822,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4884,7 +4884,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4960,7 +4960,7 @@ pub mod virtual_machine_scale_sets { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5031,7 +5031,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5104,7 +5104,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5167,7 +5167,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5231,7 +5231,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5299,7 +5299,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5369,7 +5369,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_os_upgrade_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5444,7 +5444,7 @@ pub mod virtual_machine_scale_sets { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5519,7 +5519,7 @@ pub mod virtual_machine_scale_sets { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5591,7 +5591,7 @@ pub mod virtual_machine_scale_sets { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5666,7 +5666,7 @@ pub mod virtual_machine_scale_sets { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5741,7 +5741,7 @@ pub mod virtual_machine_scale_sets { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5812,7 +5812,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5887,7 +5887,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5962,7 +5962,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6038,7 +6038,7 @@ pub mod virtual_machine_scale_sets { } } pub mod force_recovery_service_fabric_platform_update_domain_walk { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6105,7 +6105,7 @@ pub mod virtual_machine_scale_sets { } } pub mod convert_to_single_placement_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6126,7 +6126,7 @@ pub mod virtual_machine_scale_sets { } } pub mod virtual_machine_scale_set_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6179,7 +6179,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6257,7 +6257,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetExtension), @@ -6326,7 +6326,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6397,7 +6397,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6418,7 +6418,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod virtual_machine_scale_set_rolling_upgrades { - use crate::models::*; + use super::{models, models::*}; pub async fn cancel( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6462,7 +6462,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6532,7 +6532,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_os_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6604,7 +6604,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_extension_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6677,7 +6677,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod get_latest { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6698,7 +6698,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod virtual_machine_scale_set_v_ms { - use crate::models::*; + use super::{models, models::*}; pub async fn reimage( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6752,7 +6752,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6824,7 +6824,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6896,7 +6896,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6972,7 +6972,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7047,7 +7047,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetVm), @@ -7116,7 +7116,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7192,7 +7192,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7269,7 +7269,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7341,7 +7341,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7413,7 +7413,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7482,7 +7482,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7554,7 +7554,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7619,7 +7619,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7697,7 +7697,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -7723,7 +7723,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod log_analytics { - use crate::models::*; + use super::{models, models::*}; pub async fn export_request_rate_by_interval( operation_config: &crate::OperationConfig, parameters: &RequestRateByIntervalInput, @@ -7776,7 +7776,7 @@ pub mod log_analytics { } } pub mod export_request_rate_by_interval { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -7852,7 +7852,7 @@ pub mod log_analytics { } } pub mod export_throttled_requests { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -7878,7 +7878,7 @@ pub mod log_analytics { } } pub mod virtual_machine_run_commands { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -7923,7 +7923,7 @@ pub mod virtual_machine_run_commands { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7988,7 +7988,7 @@ pub mod virtual_machine_run_commands { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8009,7 +8009,7 @@ pub mod virtual_machine_run_commands { } } pub mod resource_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8056,7 +8056,7 @@ pub mod resource_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8077,7 +8077,7 @@ pub mod resource_skus { } } pub mod disks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8124,7 +8124,7 @@ pub mod disks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8200,7 +8200,7 @@ pub mod disks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -8278,7 +8278,7 @@ pub mod disks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -8345,7 +8345,7 @@ pub mod disks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8419,7 +8419,7 @@ pub mod disks { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8477,7 +8477,7 @@ pub mod disks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8548,7 +8548,7 @@ pub mod disks { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -8618,7 +8618,7 @@ pub mod disks { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8644,7 +8644,7 @@ pub mod disks { } } pub mod snapshots { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8691,7 +8691,7 @@ pub mod snapshots { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8767,7 +8767,7 @@ pub mod snapshots { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -8845,7 +8845,7 @@ pub mod snapshots { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -8912,7 +8912,7 @@ pub mod snapshots { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8986,7 +8986,7 @@ pub mod snapshots { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9044,7 +9044,7 @@ pub mod snapshots { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9115,7 +9115,7 @@ pub mod snapshots { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -9185,7 +9185,7 @@ pub mod snapshots { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9211,7 +9211,7 @@ pub mod snapshots { } } pub mod galleries { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9260,7 +9260,7 @@ pub mod galleries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9347,7 +9347,7 @@ pub mod galleries { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Gallery), @@ -9420,7 +9420,7 @@ pub mod galleries { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9499,7 +9499,7 @@ pub mod galleries { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9562,7 +9562,7 @@ pub mod galleries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9586,7 +9586,7 @@ pub mod galleries { } } pub mod gallery_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9637,7 +9637,7 @@ pub mod gallery_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9726,7 +9726,7 @@ pub mod gallery_images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryImage), @@ -9801,7 +9801,7 @@ pub mod gallery_images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9880,7 +9880,7 @@ pub mod gallery_images { } } pub mod list_by_gallery { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9904,7 +9904,7 @@ pub mod gallery_images { } } pub mod gallery_image_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9961,7 +9961,7 @@ pub mod gallery_image_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10052,7 +10052,7 @@ pub mod gallery_image_versions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryImageVersion), @@ -10129,7 +10129,7 @@ pub mod gallery_image_versions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10212,7 +10212,7 @@ pub mod gallery_image_versions { } } pub mod list_by_gallery_image { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10236,7 +10236,7 @@ pub mod gallery_image_versions { } } pub mod gallery_applications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10287,7 +10287,7 @@ pub mod gallery_applications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10376,7 +10376,7 @@ pub mod gallery_applications { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryApplication), @@ -10451,7 +10451,7 @@ pub mod gallery_applications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10530,7 +10530,7 @@ pub mod gallery_applications { } } pub mod list_by_gallery { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10554,7 +10554,7 @@ pub mod gallery_applications { } } pub mod gallery_application_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10611,7 +10611,7 @@ pub mod gallery_application_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10702,7 +10702,7 @@ pub mod gallery_application_versions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryApplicationVersion), @@ -10779,7 +10779,7 @@ pub mod gallery_application_versions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10862,7 +10862,7 @@ pub mod gallery_application_versions { } } pub mod list_by_gallery_application { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10886,7 +10886,7 @@ pub mod gallery_application_versions { } } pub mod container_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10929,7 +10929,7 @@ pub mod container_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10994,7 +10994,7 @@ pub mod container_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11076,7 +11076,7 @@ pub mod container_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerService), @@ -11143,7 +11143,7 @@ pub mod container_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -11216,7 +11216,7 @@ pub mod container_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/compute/src/package_2019_03_01_only/operations.rs b/services/mgmt/compute/src/package_2019_03_01_only/operations.rs index 495b0fcf66..b00d5b833a 100644 --- a/services/mgmt/compute/src/package_2019_03_01_only/operations.rs +++ b/services/mgmt/compute/src/package_2019_03_01_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Compute/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod availability_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -108,7 +108,7 @@ pub mod availability_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -178,7 +178,7 @@ pub mod availability_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -245,7 +245,7 @@ pub mod availability_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -306,7 +306,7 @@ pub mod availability_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -379,7 +379,7 @@ pub mod availability_sets { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -442,7 +442,7 @@ pub mod availability_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -510,7 +510,7 @@ pub mod availability_sets { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -531,7 +531,7 @@ pub mod availability_sets { } } pub mod proximity_placement_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -578,7 +578,7 @@ pub mod proximity_placement_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -654,7 +654,7 @@ pub mod proximity_placement_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProximityPlacementGroup), @@ -726,7 +726,7 @@ pub mod proximity_placement_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -786,7 +786,7 @@ pub mod proximity_placement_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -850,7 +850,7 @@ pub mod proximity_placement_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -918,7 +918,7 @@ pub mod proximity_placement_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -939,7 +939,7 @@ pub mod proximity_placement_groups { } } pub mod dedicated_host_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -986,7 +986,7 @@ pub mod dedicated_host_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1062,7 +1062,7 @@ pub mod dedicated_host_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DedicatedHostGroup), @@ -1134,7 +1134,7 @@ pub mod dedicated_host_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1195,7 +1195,7 @@ pub mod dedicated_host_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1268,7 +1268,7 @@ pub mod dedicated_host_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1332,7 +1332,7 @@ pub mod dedicated_host_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1353,7 +1353,7 @@ pub mod dedicated_host_groups { } } pub mod dedicated_hosts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1406,7 +1406,7 @@ pub mod dedicated_hosts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1484,7 +1484,7 @@ pub mod dedicated_hosts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DedicatedHost), @@ -1558,7 +1558,7 @@ pub mod dedicated_hosts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1622,7 +1622,7 @@ pub mod dedicated_hosts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1696,7 +1696,7 @@ pub mod dedicated_hosts { } } pub mod list_by_host_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1717,7 +1717,7 @@ pub mod dedicated_hosts { } } pub mod virtual_machine_extension_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -1768,7 +1768,7 @@ pub mod virtual_machine_extension_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1836,7 +1836,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1918,7 +1918,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1939,7 +1939,7 @@ pub mod virtual_machine_extension_images { } } pub mod virtual_machine_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1992,7 +1992,7 @@ pub mod virtual_machine_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2070,7 +2070,7 @@ pub mod virtual_machine_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineExtension), @@ -2144,7 +2144,7 @@ pub mod virtual_machine_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2208,7 +2208,7 @@ pub mod virtual_machine_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2283,7 +2283,7 @@ pub mod virtual_machine_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2304,7 +2304,7 @@ pub mod virtual_machine_extensions { } } pub mod virtual_machine_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -2348,7 +2348,7 @@ pub mod virtual_machine_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2429,7 +2429,7 @@ pub mod virtual_machine_images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2497,7 +2497,7 @@ pub mod virtual_machine_images { } } pub mod list_offers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2563,7 +2563,7 @@ pub mod virtual_machine_images { } } pub mod list_publishers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2633,7 +2633,7 @@ pub mod virtual_machine_images { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2654,7 +2654,7 @@ pub mod virtual_machine_images { } } pub mod usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -2699,7 +2699,7 @@ pub mod usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2720,7 +2720,7 @@ pub mod usage { } } pub mod virtual_machines { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, location: &str, @@ -2768,7 +2768,7 @@ pub mod virtual_machines { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2839,7 +2839,7 @@ pub mod virtual_machines { } } pub mod capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineCaptureResult), @@ -2913,7 +2913,7 @@ pub mod virtual_machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2989,7 +2989,7 @@ pub mod virtual_machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -3067,7 +3067,7 @@ pub mod virtual_machines { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -3134,7 +3134,7 @@ pub mod virtual_machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3208,7 +3208,7 @@ pub mod virtual_machines { } } pub mod instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3275,7 +3275,7 @@ pub mod virtual_machines { } } pub mod convert_to_managed_disks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3345,7 +3345,7 @@ pub mod virtual_machines { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3414,7 +3414,7 @@ pub mod virtual_machines { } } pub mod generalize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3477,7 +3477,7 @@ pub mod virtual_machines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3541,7 +3541,7 @@ pub mod virtual_machines { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3609,7 +3609,7 @@ pub mod virtual_machines { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3679,7 +3679,7 @@ pub mod virtual_machines { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3749,7 +3749,7 @@ pub mod virtual_machines { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3816,7 +3816,7 @@ pub mod virtual_machines { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3886,7 +3886,7 @@ pub mod virtual_machines { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3961,7 +3961,7 @@ pub mod virtual_machines { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4031,7 +4031,7 @@ pub mod virtual_machines { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4107,7 +4107,7 @@ pub mod virtual_machines { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -4133,7 +4133,7 @@ pub mod virtual_machines { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -4178,7 +4178,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4199,7 +4199,7 @@ pub mod virtual_machine_sizes { } } pub mod images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4250,7 +4250,7 @@ pub mod images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4326,7 +4326,7 @@ pub mod images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -4404,7 +4404,7 @@ pub mod images { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -4471,7 +4471,7 @@ pub mod images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4545,7 +4545,7 @@ pub mod images { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4606,7 +4606,7 @@ pub mod images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4627,7 +4627,7 @@ pub mod images { } } pub mod virtual_machine_scale_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4674,7 +4674,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4750,7 +4750,7 @@ pub mod virtual_machine_scale_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSet), @@ -4822,7 +4822,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4884,7 +4884,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4960,7 +4960,7 @@ pub mod virtual_machine_scale_sets { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5031,7 +5031,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5104,7 +5104,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5167,7 +5167,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5231,7 +5231,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5299,7 +5299,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5369,7 +5369,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_os_upgrade_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5444,7 +5444,7 @@ pub mod virtual_machine_scale_sets { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5519,7 +5519,7 @@ pub mod virtual_machine_scale_sets { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5591,7 +5591,7 @@ pub mod virtual_machine_scale_sets { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5666,7 +5666,7 @@ pub mod virtual_machine_scale_sets { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5741,7 +5741,7 @@ pub mod virtual_machine_scale_sets { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5812,7 +5812,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5887,7 +5887,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5962,7 +5962,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6038,7 +6038,7 @@ pub mod virtual_machine_scale_sets { } } pub mod force_recovery_service_fabric_platform_update_domain_walk { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6105,7 +6105,7 @@ pub mod virtual_machine_scale_sets { } } pub mod convert_to_single_placement_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6126,7 +6126,7 @@ pub mod virtual_machine_scale_sets { } } pub mod virtual_machine_scale_set_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6179,7 +6179,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6257,7 +6257,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetExtension), @@ -6326,7 +6326,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6397,7 +6397,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6418,7 +6418,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod virtual_machine_scale_set_rolling_upgrades { - use crate::models::*; + use super::{models, models::*}; pub async fn cancel( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6462,7 +6462,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6532,7 +6532,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_os_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6604,7 +6604,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_extension_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6677,7 +6677,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod get_latest { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6698,7 +6698,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod virtual_machine_scale_set_v_ms { - use crate::models::*; + use super::{models, models::*}; pub async fn reimage( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6752,7 +6752,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6824,7 +6824,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6896,7 +6896,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6972,7 +6972,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7047,7 +7047,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetVm), @@ -7116,7 +7116,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7192,7 +7192,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7269,7 +7269,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7341,7 +7341,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7413,7 +7413,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7482,7 +7482,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7554,7 +7554,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7619,7 +7619,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7697,7 +7697,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -7723,7 +7723,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod log_analytics { - use crate::models::*; + use super::{models, models::*}; pub async fn export_request_rate_by_interval( operation_config: &crate::OperationConfig, parameters: &RequestRateByIntervalInput, @@ -7776,7 +7776,7 @@ pub mod log_analytics { } } pub mod export_request_rate_by_interval { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -7852,7 +7852,7 @@ pub mod log_analytics { } } pub mod export_throttled_requests { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -7878,7 +7878,7 @@ pub mod log_analytics { } } pub mod virtual_machine_run_commands { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -7923,7 +7923,7 @@ pub mod virtual_machine_run_commands { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7988,7 +7988,7 @@ pub mod virtual_machine_run_commands { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8009,7 +8009,7 @@ pub mod virtual_machine_run_commands { } } pub mod galleries { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8058,7 +8058,7 @@ pub mod galleries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8145,7 +8145,7 @@ pub mod galleries { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Gallery), @@ -8218,7 +8218,7 @@ pub mod galleries { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8297,7 +8297,7 @@ pub mod galleries { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8360,7 +8360,7 @@ pub mod galleries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8384,7 +8384,7 @@ pub mod galleries { } } pub mod gallery_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8435,7 +8435,7 @@ pub mod gallery_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8524,7 +8524,7 @@ pub mod gallery_images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryImage), @@ -8599,7 +8599,7 @@ pub mod gallery_images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8678,7 +8678,7 @@ pub mod gallery_images { } } pub mod list_by_gallery { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8702,7 +8702,7 @@ pub mod gallery_images { } } pub mod gallery_image_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8759,7 +8759,7 @@ pub mod gallery_image_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8850,7 +8850,7 @@ pub mod gallery_image_versions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryImageVersion), @@ -8927,7 +8927,7 @@ pub mod gallery_image_versions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9010,7 +9010,7 @@ pub mod gallery_image_versions { } } pub mod list_by_gallery_image { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9034,7 +9034,7 @@ pub mod gallery_image_versions { } } pub mod gallery_applications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9085,7 +9085,7 @@ pub mod gallery_applications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9174,7 +9174,7 @@ pub mod gallery_applications { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryApplication), @@ -9249,7 +9249,7 @@ pub mod gallery_applications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9328,7 +9328,7 @@ pub mod gallery_applications { } } pub mod list_by_gallery { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9352,7 +9352,7 @@ pub mod gallery_applications { } } pub mod gallery_application_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9409,7 +9409,7 @@ pub mod gallery_application_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9500,7 +9500,7 @@ pub mod gallery_application_versions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryApplicationVersion), @@ -9577,7 +9577,7 @@ pub mod gallery_application_versions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9660,7 +9660,7 @@ pub mod gallery_application_versions { } } pub mod list_by_gallery_application { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9684,7 +9684,7 @@ pub mod gallery_application_versions { } } pub mod disks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9731,7 +9731,7 @@ pub mod disks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9807,7 +9807,7 @@ pub mod disks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -9885,7 +9885,7 @@ pub mod disks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -9952,7 +9952,7 @@ pub mod disks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10026,7 +10026,7 @@ pub mod disks { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10084,7 +10084,7 @@ pub mod disks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10155,7 +10155,7 @@ pub mod disks { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -10225,7 +10225,7 @@ pub mod disks { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10251,7 +10251,7 @@ pub mod disks { } } pub mod snapshots { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10298,7 +10298,7 @@ pub mod snapshots { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10374,7 +10374,7 @@ pub mod snapshots { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -10452,7 +10452,7 @@ pub mod snapshots { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -10519,7 +10519,7 @@ pub mod snapshots { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10593,7 +10593,7 @@ pub mod snapshots { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10651,7 +10651,7 @@ pub mod snapshots { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10722,7 +10722,7 @@ pub mod snapshots { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -10792,7 +10792,7 @@ pub mod snapshots { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/compute/src/package_2019_04_01_only/operations.rs b/services/mgmt/compute/src/package_2019_04_01_only/operations.rs index 42b96b6708..cffcb96a8e 100644 --- a/services/mgmt/compute/src/package_2019_04_01_only/operations.rs +++ b/services/mgmt/compute/src/package_2019_04_01_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod resource_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -51,7 +51,7 @@ pub mod resource_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/compute/src/package_2019_07/operations.rs b/services/mgmt/compute/src/package_2019_07/operations.rs index ae2be87041..a11aa28f92 100644 --- a/services/mgmt/compute/src/package_2019_07/operations.rs +++ b/services/mgmt/compute/src/package_2019_07/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Compute/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod availability_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -108,7 +108,7 @@ pub mod availability_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -178,7 +178,7 @@ pub mod availability_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -245,7 +245,7 @@ pub mod availability_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -306,7 +306,7 @@ pub mod availability_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -379,7 +379,7 @@ pub mod availability_sets { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -442,7 +442,7 @@ pub mod availability_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -510,7 +510,7 @@ pub mod availability_sets { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -531,7 +531,7 @@ pub mod availability_sets { } } pub mod proximity_placement_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -583,7 +583,7 @@ pub mod proximity_placement_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -659,7 +659,7 @@ pub mod proximity_placement_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProximityPlacementGroup), @@ -731,7 +731,7 @@ pub mod proximity_placement_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -791,7 +791,7 @@ pub mod proximity_placement_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -855,7 +855,7 @@ pub mod proximity_placement_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -923,7 +923,7 @@ pub mod proximity_placement_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -944,7 +944,7 @@ pub mod proximity_placement_groups { } } pub mod dedicated_host_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -991,7 +991,7 @@ pub mod dedicated_host_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1067,7 +1067,7 @@ pub mod dedicated_host_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DedicatedHostGroup), @@ -1139,7 +1139,7 @@ pub mod dedicated_host_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1200,7 +1200,7 @@ pub mod dedicated_host_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1273,7 +1273,7 @@ pub mod dedicated_host_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1337,7 +1337,7 @@ pub mod dedicated_host_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1358,7 +1358,7 @@ pub mod dedicated_host_groups { } } pub mod dedicated_hosts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1411,7 +1411,7 @@ pub mod dedicated_hosts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1489,7 +1489,7 @@ pub mod dedicated_hosts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DedicatedHost), @@ -1563,7 +1563,7 @@ pub mod dedicated_hosts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1627,7 +1627,7 @@ pub mod dedicated_hosts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1701,7 +1701,7 @@ pub mod dedicated_hosts { } } pub mod list_by_host_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1722,7 +1722,7 @@ pub mod dedicated_hosts { } } pub mod virtual_machine_extension_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -1773,7 +1773,7 @@ pub mod virtual_machine_extension_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1841,7 +1841,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1923,7 +1923,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1944,7 +1944,7 @@ pub mod virtual_machine_extension_images { } } pub mod virtual_machine_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1997,7 +1997,7 @@ pub mod virtual_machine_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2075,7 +2075,7 @@ pub mod virtual_machine_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineExtension), @@ -2149,7 +2149,7 @@ pub mod virtual_machine_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2213,7 +2213,7 @@ pub mod virtual_machine_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2288,7 +2288,7 @@ pub mod virtual_machine_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2309,7 +2309,7 @@ pub mod virtual_machine_extensions { } } pub mod virtual_machine_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -2353,7 +2353,7 @@ pub mod virtual_machine_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2434,7 +2434,7 @@ pub mod virtual_machine_images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2502,7 +2502,7 @@ pub mod virtual_machine_images { } } pub mod list_offers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2568,7 +2568,7 @@ pub mod virtual_machine_images { } } pub mod list_publishers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2638,7 +2638,7 @@ pub mod virtual_machine_images { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2659,7 +2659,7 @@ pub mod virtual_machine_images { } } pub mod usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -2704,7 +2704,7 @@ pub mod usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2725,7 +2725,7 @@ pub mod usage { } } pub mod virtual_machines { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, location: &str, @@ -2773,7 +2773,7 @@ pub mod virtual_machines { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2844,7 +2844,7 @@ pub mod virtual_machines { } } pub mod capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineCaptureResult), @@ -2918,7 +2918,7 @@ pub mod virtual_machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2994,7 +2994,7 @@ pub mod virtual_machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -3072,7 +3072,7 @@ pub mod virtual_machines { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -3139,7 +3139,7 @@ pub mod virtual_machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3213,7 +3213,7 @@ pub mod virtual_machines { } } pub mod instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3280,7 +3280,7 @@ pub mod virtual_machines { } } pub mod convert_to_managed_disks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3350,7 +3350,7 @@ pub mod virtual_machines { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3419,7 +3419,7 @@ pub mod virtual_machines { } } pub mod generalize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3482,7 +3482,7 @@ pub mod virtual_machines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3550,7 +3550,7 @@ pub mod virtual_machines { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3618,7 +3618,7 @@ pub mod virtual_machines { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3688,7 +3688,7 @@ pub mod virtual_machines { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3760,7 +3760,7 @@ pub mod virtual_machines { } } pub mod reapply { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3833,7 +3833,7 @@ pub mod virtual_machines { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3900,7 +3900,7 @@ pub mod virtual_machines { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3970,7 +3970,7 @@ pub mod virtual_machines { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4045,7 +4045,7 @@ pub mod virtual_machines { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4115,7 +4115,7 @@ pub mod virtual_machines { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4191,7 +4191,7 @@ pub mod virtual_machines { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -4217,7 +4217,7 @@ pub mod virtual_machines { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -4262,7 +4262,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4283,7 +4283,7 @@ pub mod virtual_machine_sizes { } } pub mod images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4334,7 +4334,7 @@ pub mod images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4410,7 +4410,7 @@ pub mod images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -4488,7 +4488,7 @@ pub mod images { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -4555,7 +4555,7 @@ pub mod images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4629,7 +4629,7 @@ pub mod images { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4690,7 +4690,7 @@ pub mod images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4711,7 +4711,7 @@ pub mod images { } } pub mod virtual_machine_scale_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4758,7 +4758,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4834,7 +4834,7 @@ pub mod virtual_machine_scale_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSet), @@ -4906,7 +4906,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4968,7 +4968,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5044,7 +5044,7 @@ pub mod virtual_machine_scale_sets { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5115,7 +5115,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5188,7 +5188,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5251,7 +5251,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5315,7 +5315,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5383,7 +5383,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5453,7 +5453,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_os_upgrade_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5528,7 +5528,7 @@ pub mod virtual_machine_scale_sets { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5603,7 +5603,7 @@ pub mod virtual_machine_scale_sets { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5675,7 +5675,7 @@ pub mod virtual_machine_scale_sets { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5750,7 +5750,7 @@ pub mod virtual_machine_scale_sets { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5825,7 +5825,7 @@ pub mod virtual_machine_scale_sets { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5896,7 +5896,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5971,7 +5971,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6046,7 +6046,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6122,7 +6122,7 @@ pub mod virtual_machine_scale_sets { } } pub mod force_recovery_service_fabric_platform_update_domain_walk { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6189,7 +6189,7 @@ pub mod virtual_machine_scale_sets { } } pub mod convert_to_single_placement_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6210,7 +6210,7 @@ pub mod virtual_machine_scale_sets { } } pub mod virtual_machine_scale_set_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6263,7 +6263,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6341,7 +6341,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetExtension), @@ -6421,7 +6421,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetExtension), @@ -6490,7 +6490,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6561,7 +6561,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6582,7 +6582,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod virtual_machine_scale_set_rolling_upgrades { - use crate::models::*; + use super::{models, models::*}; pub async fn cancel( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6626,7 +6626,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6696,7 +6696,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_os_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6768,7 +6768,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_extension_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6841,7 +6841,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod get_latest { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6862,7 +6862,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod virtual_machine_scale_set_vm_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6919,7 +6919,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7004,7 +7004,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineExtension), @@ -7085,7 +7085,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7156,7 +7156,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7238,7 +7238,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7262,7 +7262,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod virtual_machine_scale_set_v_ms { - use crate::models::*; + use super::{models, models::*}; pub async fn reimage( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7316,7 +7316,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7388,7 +7388,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7460,7 +7460,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7536,7 +7536,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7611,7 +7611,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetVm), @@ -7680,7 +7680,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7756,7 +7756,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7833,7 +7833,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7905,7 +7905,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7977,7 +7977,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8046,7 +8046,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8118,7 +8118,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8183,7 +8183,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8261,7 +8261,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -8287,7 +8287,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod log_analytics { - use crate::models::*; + use super::{models, models::*}; pub async fn export_request_rate_by_interval( operation_config: &crate::OperationConfig, parameters: &RequestRateByIntervalInput, @@ -8340,7 +8340,7 @@ pub mod log_analytics { } } pub mod export_request_rate_by_interval { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -8416,7 +8416,7 @@ pub mod log_analytics { } } pub mod export_throttled_requests { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -8442,7 +8442,7 @@ pub mod log_analytics { } } pub mod virtual_machine_run_commands { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -8487,7 +8487,7 @@ pub mod virtual_machine_run_commands { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8552,7 +8552,7 @@ pub mod virtual_machine_run_commands { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8573,7 +8573,7 @@ pub mod virtual_machine_run_commands { } } pub mod resource_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8620,7 +8620,7 @@ pub mod resource_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8641,7 +8641,7 @@ pub mod resource_skus { } } pub mod disks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8688,7 +8688,7 @@ pub mod disks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8764,7 +8764,7 @@ pub mod disks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -8842,7 +8842,7 @@ pub mod disks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -8909,7 +8909,7 @@ pub mod disks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8983,7 +8983,7 @@ pub mod disks { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9041,7 +9041,7 @@ pub mod disks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9112,7 +9112,7 @@ pub mod disks { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -9182,7 +9182,7 @@ pub mod disks { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9208,7 +9208,7 @@ pub mod disks { } } pub mod snapshots { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9255,7 +9255,7 @@ pub mod snapshots { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9331,7 +9331,7 @@ pub mod snapshots { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -9409,7 +9409,7 @@ pub mod snapshots { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -9476,7 +9476,7 @@ pub mod snapshots { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9550,7 +9550,7 @@ pub mod snapshots { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9608,7 +9608,7 @@ pub mod snapshots { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9679,7 +9679,7 @@ pub mod snapshots { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -9749,7 +9749,7 @@ pub mod snapshots { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9775,7 +9775,7 @@ pub mod snapshots { } } pub mod disk_encryption_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9824,7 +9824,7 @@ pub mod disk_encryption_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9905,7 +9905,7 @@ pub mod disk_encryption_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskEncryptionSet), @@ -9988,7 +9988,7 @@ pub mod disk_encryption_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskEncryptionSet), @@ -10060,7 +10060,7 @@ pub mod disk_encryption_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10139,7 +10139,7 @@ pub mod disk_encryption_sets { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10205,7 +10205,7 @@ pub mod disk_encryption_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10229,7 +10229,7 @@ pub mod disk_encryption_sets { } } pub mod galleries { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10278,7 +10278,7 @@ pub mod galleries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10365,7 +10365,7 @@ pub mod galleries { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Gallery), @@ -10443,7 +10443,7 @@ pub mod galleries { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10510,7 +10510,7 @@ pub mod galleries { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10589,7 +10589,7 @@ pub mod galleries { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10652,7 +10652,7 @@ pub mod galleries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10676,7 +10676,7 @@ pub mod galleries { } } pub mod gallery_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10727,7 +10727,7 @@ pub mod gallery_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10816,7 +10816,7 @@ pub mod gallery_images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryImage), @@ -10896,7 +10896,7 @@ pub mod gallery_images { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10965,7 +10965,7 @@ pub mod gallery_images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11044,7 +11044,7 @@ pub mod gallery_images { } } pub mod list_by_gallery { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11068,7 +11068,7 @@ pub mod gallery_images { } } pub mod gallery_image_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11125,7 +11125,7 @@ pub mod gallery_image_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11216,7 +11216,7 @@ pub mod gallery_image_versions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryImageVersion), @@ -11298,7 +11298,7 @@ pub mod gallery_image_versions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11369,7 +11369,7 @@ pub mod gallery_image_versions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11452,7 +11452,7 @@ pub mod gallery_image_versions { } } pub mod list_by_gallery_image { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11476,7 +11476,7 @@ pub mod gallery_image_versions { } } pub mod gallery_applications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11527,7 +11527,7 @@ pub mod gallery_applications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11616,7 +11616,7 @@ pub mod gallery_applications { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryApplication), @@ -11696,7 +11696,7 @@ pub mod gallery_applications { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11765,7 +11765,7 @@ pub mod gallery_applications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11844,7 +11844,7 @@ pub mod gallery_applications { } } pub mod list_by_gallery { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11868,7 +11868,7 @@ pub mod gallery_applications { } } pub mod gallery_application_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11925,7 +11925,7 @@ pub mod gallery_application_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12016,7 +12016,7 @@ pub mod gallery_application_versions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryApplicationVersion), @@ -12098,7 +12098,7 @@ pub mod gallery_application_versions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12169,7 +12169,7 @@ pub mod gallery_application_versions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12252,7 +12252,7 @@ pub mod gallery_application_versions { } } pub mod list_by_gallery_application { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12276,7 +12276,7 @@ pub mod gallery_application_versions { } } pub mod container_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12319,7 +12319,7 @@ pub mod container_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12384,7 +12384,7 @@ pub mod container_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12466,7 +12466,7 @@ pub mod container_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerService), @@ -12533,7 +12533,7 @@ pub mod container_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -12606,7 +12606,7 @@ pub mod container_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/compute/src/package_2019_07_01/operations.rs b/services/mgmt/compute/src/package_2019_07_01/operations.rs index 0beb6e5d59..95fb97290c 100644 --- a/services/mgmt/compute/src/package_2019_07_01/operations.rs +++ b/services/mgmt/compute/src/package_2019_07_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Compute/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod availability_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -108,7 +108,7 @@ pub mod availability_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -178,7 +178,7 @@ pub mod availability_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -245,7 +245,7 @@ pub mod availability_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -306,7 +306,7 @@ pub mod availability_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -379,7 +379,7 @@ pub mod availability_sets { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -442,7 +442,7 @@ pub mod availability_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -510,7 +510,7 @@ pub mod availability_sets { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -531,7 +531,7 @@ pub mod availability_sets { } } pub mod proximity_placement_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -578,7 +578,7 @@ pub mod proximity_placement_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -654,7 +654,7 @@ pub mod proximity_placement_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProximityPlacementGroup), @@ -726,7 +726,7 @@ pub mod proximity_placement_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -786,7 +786,7 @@ pub mod proximity_placement_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -850,7 +850,7 @@ pub mod proximity_placement_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -918,7 +918,7 @@ pub mod proximity_placement_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -939,7 +939,7 @@ pub mod proximity_placement_groups { } } pub mod dedicated_host_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -986,7 +986,7 @@ pub mod dedicated_host_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1062,7 +1062,7 @@ pub mod dedicated_host_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DedicatedHostGroup), @@ -1134,7 +1134,7 @@ pub mod dedicated_host_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1195,7 +1195,7 @@ pub mod dedicated_host_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1268,7 +1268,7 @@ pub mod dedicated_host_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1332,7 +1332,7 @@ pub mod dedicated_host_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1353,7 +1353,7 @@ pub mod dedicated_host_groups { } } pub mod dedicated_hosts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1406,7 +1406,7 @@ pub mod dedicated_hosts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1484,7 +1484,7 @@ pub mod dedicated_hosts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DedicatedHost), @@ -1558,7 +1558,7 @@ pub mod dedicated_hosts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1622,7 +1622,7 @@ pub mod dedicated_hosts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1696,7 +1696,7 @@ pub mod dedicated_hosts { } } pub mod list_by_host_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1717,7 +1717,7 @@ pub mod dedicated_hosts { } } pub mod virtual_machine_extension_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -1768,7 +1768,7 @@ pub mod virtual_machine_extension_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1836,7 +1836,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1918,7 +1918,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1939,7 +1939,7 @@ pub mod virtual_machine_extension_images { } } pub mod virtual_machine_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1992,7 +1992,7 @@ pub mod virtual_machine_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2070,7 +2070,7 @@ pub mod virtual_machine_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineExtension), @@ -2144,7 +2144,7 @@ pub mod virtual_machine_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2208,7 +2208,7 @@ pub mod virtual_machine_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2283,7 +2283,7 @@ pub mod virtual_machine_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2304,7 +2304,7 @@ pub mod virtual_machine_extensions { } } pub mod virtual_machine_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -2348,7 +2348,7 @@ pub mod virtual_machine_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2429,7 +2429,7 @@ pub mod virtual_machine_images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2497,7 +2497,7 @@ pub mod virtual_machine_images { } } pub mod list_offers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2563,7 +2563,7 @@ pub mod virtual_machine_images { } } pub mod list_publishers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2633,7 +2633,7 @@ pub mod virtual_machine_images { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2654,7 +2654,7 @@ pub mod virtual_machine_images { } } pub mod usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -2699,7 +2699,7 @@ pub mod usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2720,7 +2720,7 @@ pub mod usage { } } pub mod virtual_machines { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, location: &str, @@ -2768,7 +2768,7 @@ pub mod virtual_machines { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2839,7 +2839,7 @@ pub mod virtual_machines { } } pub mod capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineCaptureResult), @@ -2913,7 +2913,7 @@ pub mod virtual_machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2989,7 +2989,7 @@ pub mod virtual_machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -3067,7 +3067,7 @@ pub mod virtual_machines { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -3134,7 +3134,7 @@ pub mod virtual_machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3208,7 +3208,7 @@ pub mod virtual_machines { } } pub mod instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3275,7 +3275,7 @@ pub mod virtual_machines { } } pub mod convert_to_managed_disks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3345,7 +3345,7 @@ pub mod virtual_machines { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3414,7 +3414,7 @@ pub mod virtual_machines { } } pub mod generalize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3477,7 +3477,7 @@ pub mod virtual_machines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3541,7 +3541,7 @@ pub mod virtual_machines { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3609,7 +3609,7 @@ pub mod virtual_machines { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3679,7 +3679,7 @@ pub mod virtual_machines { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3749,7 +3749,7 @@ pub mod virtual_machines { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3816,7 +3816,7 @@ pub mod virtual_machines { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3886,7 +3886,7 @@ pub mod virtual_machines { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3961,7 +3961,7 @@ pub mod virtual_machines { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4031,7 +4031,7 @@ pub mod virtual_machines { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4107,7 +4107,7 @@ pub mod virtual_machines { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -4133,7 +4133,7 @@ pub mod virtual_machines { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -4178,7 +4178,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4199,7 +4199,7 @@ pub mod virtual_machine_sizes { } } pub mod images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4250,7 +4250,7 @@ pub mod images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4326,7 +4326,7 @@ pub mod images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -4404,7 +4404,7 @@ pub mod images { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -4471,7 +4471,7 @@ pub mod images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4545,7 +4545,7 @@ pub mod images { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4606,7 +4606,7 @@ pub mod images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4627,7 +4627,7 @@ pub mod images { } } pub mod virtual_machine_scale_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4674,7 +4674,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4750,7 +4750,7 @@ pub mod virtual_machine_scale_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSet), @@ -4822,7 +4822,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4884,7 +4884,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4960,7 +4960,7 @@ pub mod virtual_machine_scale_sets { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5031,7 +5031,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5104,7 +5104,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5167,7 +5167,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5231,7 +5231,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5299,7 +5299,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5369,7 +5369,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_os_upgrade_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5444,7 +5444,7 @@ pub mod virtual_machine_scale_sets { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5519,7 +5519,7 @@ pub mod virtual_machine_scale_sets { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5591,7 +5591,7 @@ pub mod virtual_machine_scale_sets { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5666,7 +5666,7 @@ pub mod virtual_machine_scale_sets { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5741,7 +5741,7 @@ pub mod virtual_machine_scale_sets { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5812,7 +5812,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5887,7 +5887,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5962,7 +5962,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6038,7 +6038,7 @@ pub mod virtual_machine_scale_sets { } } pub mod force_recovery_service_fabric_platform_update_domain_walk { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6105,7 +6105,7 @@ pub mod virtual_machine_scale_sets { } } pub mod convert_to_single_placement_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6126,7 +6126,7 @@ pub mod virtual_machine_scale_sets { } } pub mod virtual_machine_scale_set_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6179,7 +6179,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6257,7 +6257,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetExtension), @@ -6326,7 +6326,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6397,7 +6397,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6418,7 +6418,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod virtual_machine_scale_set_rolling_upgrades { - use crate::models::*; + use super::{models, models::*}; pub async fn cancel( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6462,7 +6462,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6532,7 +6532,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_os_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6604,7 +6604,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_extension_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6677,7 +6677,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod get_latest { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6698,7 +6698,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod virtual_machine_scale_set_v_ms { - use crate::models::*; + use super::{models, models::*}; pub async fn reimage( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6752,7 +6752,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6824,7 +6824,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6896,7 +6896,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6972,7 +6972,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7047,7 +7047,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetVm), @@ -7116,7 +7116,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7192,7 +7192,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7269,7 +7269,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7341,7 +7341,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7413,7 +7413,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7482,7 +7482,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7554,7 +7554,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7619,7 +7619,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7697,7 +7697,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -7723,7 +7723,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod log_analytics { - use crate::models::*; + use super::{models, models::*}; pub async fn export_request_rate_by_interval( operation_config: &crate::OperationConfig, parameters: &RequestRateByIntervalInput, @@ -7776,7 +7776,7 @@ pub mod log_analytics { } } pub mod export_request_rate_by_interval { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -7852,7 +7852,7 @@ pub mod log_analytics { } } pub mod export_throttled_requests { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -7878,7 +7878,7 @@ pub mod log_analytics { } } pub mod virtual_machine_run_commands { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -7923,7 +7923,7 @@ pub mod virtual_machine_run_commands { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7988,7 +7988,7 @@ pub mod virtual_machine_run_commands { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8009,7 +8009,7 @@ pub mod virtual_machine_run_commands { } } pub mod resource_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8056,7 +8056,7 @@ pub mod resource_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8077,7 +8077,7 @@ pub mod resource_skus { } } pub mod disks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8124,7 +8124,7 @@ pub mod disks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8200,7 +8200,7 @@ pub mod disks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -8278,7 +8278,7 @@ pub mod disks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -8345,7 +8345,7 @@ pub mod disks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8419,7 +8419,7 @@ pub mod disks { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8477,7 +8477,7 @@ pub mod disks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8548,7 +8548,7 @@ pub mod disks { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -8618,7 +8618,7 @@ pub mod disks { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8644,7 +8644,7 @@ pub mod disks { } } pub mod snapshots { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8691,7 +8691,7 @@ pub mod snapshots { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8767,7 +8767,7 @@ pub mod snapshots { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -8845,7 +8845,7 @@ pub mod snapshots { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -8912,7 +8912,7 @@ pub mod snapshots { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8986,7 +8986,7 @@ pub mod snapshots { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9044,7 +9044,7 @@ pub mod snapshots { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9115,7 +9115,7 @@ pub mod snapshots { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -9185,7 +9185,7 @@ pub mod snapshots { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9211,7 +9211,7 @@ pub mod snapshots { } } pub mod disk_encryption_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9260,7 +9260,7 @@ pub mod disk_encryption_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9341,7 +9341,7 @@ pub mod disk_encryption_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskEncryptionSet), @@ -9424,7 +9424,7 @@ pub mod disk_encryption_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskEncryptionSet), @@ -9496,7 +9496,7 @@ pub mod disk_encryption_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9575,7 +9575,7 @@ pub mod disk_encryption_sets { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9641,7 +9641,7 @@ pub mod disk_encryption_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9665,7 +9665,7 @@ pub mod disk_encryption_sets { } } pub mod galleries { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9714,7 +9714,7 @@ pub mod galleries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9801,7 +9801,7 @@ pub mod galleries { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Gallery), @@ -9879,7 +9879,7 @@ pub mod galleries { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9946,7 +9946,7 @@ pub mod galleries { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10025,7 +10025,7 @@ pub mod galleries { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10088,7 +10088,7 @@ pub mod galleries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10112,7 +10112,7 @@ pub mod galleries { } } pub mod gallery_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10163,7 +10163,7 @@ pub mod gallery_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10252,7 +10252,7 @@ pub mod gallery_images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryImage), @@ -10332,7 +10332,7 @@ pub mod gallery_images { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10401,7 +10401,7 @@ pub mod gallery_images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10480,7 +10480,7 @@ pub mod gallery_images { } } pub mod list_by_gallery { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10504,7 +10504,7 @@ pub mod gallery_images { } } pub mod gallery_image_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10561,7 +10561,7 @@ pub mod gallery_image_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10652,7 +10652,7 @@ pub mod gallery_image_versions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryImageVersion), @@ -10734,7 +10734,7 @@ pub mod gallery_image_versions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10805,7 +10805,7 @@ pub mod gallery_image_versions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10888,7 +10888,7 @@ pub mod gallery_image_versions { } } pub mod list_by_gallery_image { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10912,7 +10912,7 @@ pub mod gallery_image_versions { } } pub mod gallery_applications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10963,7 +10963,7 @@ pub mod gallery_applications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11052,7 +11052,7 @@ pub mod gallery_applications { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryApplication), @@ -11132,7 +11132,7 @@ pub mod gallery_applications { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11201,7 +11201,7 @@ pub mod gallery_applications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11280,7 +11280,7 @@ pub mod gallery_applications { } } pub mod list_by_gallery { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11304,7 +11304,7 @@ pub mod gallery_applications { } } pub mod gallery_application_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11361,7 +11361,7 @@ pub mod gallery_application_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11452,7 +11452,7 @@ pub mod gallery_application_versions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryApplicationVersion), @@ -11534,7 +11534,7 @@ pub mod gallery_application_versions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11605,7 +11605,7 @@ pub mod gallery_application_versions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11688,7 +11688,7 @@ pub mod gallery_application_versions { } } pub mod list_by_gallery_application { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11712,7 +11712,7 @@ pub mod gallery_application_versions { } } pub mod container_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11755,7 +11755,7 @@ pub mod container_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11820,7 +11820,7 @@ pub mod container_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11902,7 +11902,7 @@ pub mod container_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerService), @@ -11969,7 +11969,7 @@ pub mod container_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -12042,7 +12042,7 @@ pub mod container_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/compute/src/package_2019_07_01_only/operations.rs b/services/mgmt/compute/src/package_2019_07_01_only/operations.rs index ea70cea1ec..49f52798b7 100644 --- a/services/mgmt/compute/src/package_2019_07_01_only/operations.rs +++ b/services/mgmt/compute/src/package_2019_07_01_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Compute/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod availability_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -108,7 +108,7 @@ pub mod availability_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -178,7 +178,7 @@ pub mod availability_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -245,7 +245,7 @@ pub mod availability_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -306,7 +306,7 @@ pub mod availability_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -379,7 +379,7 @@ pub mod availability_sets { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -442,7 +442,7 @@ pub mod availability_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -510,7 +510,7 @@ pub mod availability_sets { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -531,7 +531,7 @@ pub mod availability_sets { } } pub mod proximity_placement_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -583,7 +583,7 @@ pub mod proximity_placement_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -659,7 +659,7 @@ pub mod proximity_placement_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProximityPlacementGroup), @@ -731,7 +731,7 @@ pub mod proximity_placement_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -791,7 +791,7 @@ pub mod proximity_placement_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -855,7 +855,7 @@ pub mod proximity_placement_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -923,7 +923,7 @@ pub mod proximity_placement_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -944,7 +944,7 @@ pub mod proximity_placement_groups { } } pub mod dedicated_host_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -991,7 +991,7 @@ pub mod dedicated_host_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1067,7 +1067,7 @@ pub mod dedicated_host_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DedicatedHostGroup), @@ -1139,7 +1139,7 @@ pub mod dedicated_host_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1200,7 +1200,7 @@ pub mod dedicated_host_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1273,7 +1273,7 @@ pub mod dedicated_host_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1337,7 +1337,7 @@ pub mod dedicated_host_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1358,7 +1358,7 @@ pub mod dedicated_host_groups { } } pub mod dedicated_hosts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1411,7 +1411,7 @@ pub mod dedicated_hosts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1489,7 +1489,7 @@ pub mod dedicated_hosts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DedicatedHost), @@ -1563,7 +1563,7 @@ pub mod dedicated_hosts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1627,7 +1627,7 @@ pub mod dedicated_hosts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1701,7 +1701,7 @@ pub mod dedicated_hosts { } } pub mod list_by_host_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1722,7 +1722,7 @@ pub mod dedicated_hosts { } } pub mod virtual_machine_extension_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -1773,7 +1773,7 @@ pub mod virtual_machine_extension_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1841,7 +1841,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1923,7 +1923,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1944,7 +1944,7 @@ pub mod virtual_machine_extension_images { } } pub mod virtual_machine_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1997,7 +1997,7 @@ pub mod virtual_machine_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2075,7 +2075,7 @@ pub mod virtual_machine_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineExtension), @@ -2149,7 +2149,7 @@ pub mod virtual_machine_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2213,7 +2213,7 @@ pub mod virtual_machine_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2288,7 +2288,7 @@ pub mod virtual_machine_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2309,7 +2309,7 @@ pub mod virtual_machine_extensions { } } pub mod virtual_machine_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -2353,7 +2353,7 @@ pub mod virtual_machine_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2434,7 +2434,7 @@ pub mod virtual_machine_images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2502,7 +2502,7 @@ pub mod virtual_machine_images { } } pub mod list_offers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2568,7 +2568,7 @@ pub mod virtual_machine_images { } } pub mod list_publishers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2638,7 +2638,7 @@ pub mod virtual_machine_images { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2659,7 +2659,7 @@ pub mod virtual_machine_images { } } pub mod usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -2704,7 +2704,7 @@ pub mod usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2725,7 +2725,7 @@ pub mod usage { } } pub mod virtual_machines { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, location: &str, @@ -2773,7 +2773,7 @@ pub mod virtual_machines { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2844,7 +2844,7 @@ pub mod virtual_machines { } } pub mod capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineCaptureResult), @@ -2918,7 +2918,7 @@ pub mod virtual_machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2994,7 +2994,7 @@ pub mod virtual_machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -3072,7 +3072,7 @@ pub mod virtual_machines { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -3139,7 +3139,7 @@ pub mod virtual_machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3213,7 +3213,7 @@ pub mod virtual_machines { } } pub mod instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3280,7 +3280,7 @@ pub mod virtual_machines { } } pub mod convert_to_managed_disks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3350,7 +3350,7 @@ pub mod virtual_machines { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3419,7 +3419,7 @@ pub mod virtual_machines { } } pub mod generalize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3482,7 +3482,7 @@ pub mod virtual_machines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3550,7 +3550,7 @@ pub mod virtual_machines { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3618,7 +3618,7 @@ pub mod virtual_machines { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3688,7 +3688,7 @@ pub mod virtual_machines { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3760,7 +3760,7 @@ pub mod virtual_machines { } } pub mod reapply { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3833,7 +3833,7 @@ pub mod virtual_machines { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3900,7 +3900,7 @@ pub mod virtual_machines { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3970,7 +3970,7 @@ pub mod virtual_machines { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4045,7 +4045,7 @@ pub mod virtual_machines { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4115,7 +4115,7 @@ pub mod virtual_machines { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4191,7 +4191,7 @@ pub mod virtual_machines { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -4217,7 +4217,7 @@ pub mod virtual_machines { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -4262,7 +4262,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4283,7 +4283,7 @@ pub mod virtual_machine_sizes { } } pub mod images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4334,7 +4334,7 @@ pub mod images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4410,7 +4410,7 @@ pub mod images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -4488,7 +4488,7 @@ pub mod images { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -4555,7 +4555,7 @@ pub mod images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4629,7 +4629,7 @@ pub mod images { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4690,7 +4690,7 @@ pub mod images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4711,7 +4711,7 @@ pub mod images { } } pub mod virtual_machine_scale_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4758,7 +4758,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4834,7 +4834,7 @@ pub mod virtual_machine_scale_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSet), @@ -4906,7 +4906,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4968,7 +4968,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5044,7 +5044,7 @@ pub mod virtual_machine_scale_sets { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5115,7 +5115,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5188,7 +5188,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5251,7 +5251,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5315,7 +5315,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5383,7 +5383,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5453,7 +5453,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_os_upgrade_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5528,7 +5528,7 @@ pub mod virtual_machine_scale_sets { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5603,7 +5603,7 @@ pub mod virtual_machine_scale_sets { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5675,7 +5675,7 @@ pub mod virtual_machine_scale_sets { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5750,7 +5750,7 @@ pub mod virtual_machine_scale_sets { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5825,7 +5825,7 @@ pub mod virtual_machine_scale_sets { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5896,7 +5896,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5971,7 +5971,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6046,7 +6046,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6122,7 +6122,7 @@ pub mod virtual_machine_scale_sets { } } pub mod force_recovery_service_fabric_platform_update_domain_walk { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6189,7 +6189,7 @@ pub mod virtual_machine_scale_sets { } } pub mod convert_to_single_placement_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6210,7 +6210,7 @@ pub mod virtual_machine_scale_sets { } } pub mod virtual_machine_scale_set_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6263,7 +6263,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6341,7 +6341,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetExtension), @@ -6421,7 +6421,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetExtension), @@ -6490,7 +6490,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6561,7 +6561,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6582,7 +6582,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod virtual_machine_scale_set_rolling_upgrades { - use crate::models::*; + use super::{models, models::*}; pub async fn cancel( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6626,7 +6626,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6696,7 +6696,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_os_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6768,7 +6768,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_extension_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6841,7 +6841,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod get_latest { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6862,7 +6862,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod virtual_machine_scale_set_vm_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6919,7 +6919,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7004,7 +7004,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineExtension), @@ -7085,7 +7085,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7156,7 +7156,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7238,7 +7238,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7262,7 +7262,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod virtual_machine_scale_set_v_ms { - use crate::models::*; + use super::{models, models::*}; pub async fn reimage( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7316,7 +7316,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7388,7 +7388,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7460,7 +7460,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7536,7 +7536,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7611,7 +7611,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetVm), @@ -7680,7 +7680,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7756,7 +7756,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7833,7 +7833,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7905,7 +7905,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7977,7 +7977,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8046,7 +8046,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8118,7 +8118,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8183,7 +8183,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8261,7 +8261,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -8287,7 +8287,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod log_analytics { - use crate::models::*; + use super::{models, models::*}; pub async fn export_request_rate_by_interval( operation_config: &crate::OperationConfig, parameters: &RequestRateByIntervalInput, @@ -8340,7 +8340,7 @@ pub mod log_analytics { } } pub mod export_request_rate_by_interval { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -8416,7 +8416,7 @@ pub mod log_analytics { } } pub mod export_throttled_requests { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -8442,7 +8442,7 @@ pub mod log_analytics { } } pub mod disks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8489,7 +8489,7 @@ pub mod disks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8565,7 +8565,7 @@ pub mod disks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -8643,7 +8643,7 @@ pub mod disks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -8710,7 +8710,7 @@ pub mod disks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8784,7 +8784,7 @@ pub mod disks { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8842,7 +8842,7 @@ pub mod disks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8913,7 +8913,7 @@ pub mod disks { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -8983,7 +8983,7 @@ pub mod disks { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9009,7 +9009,7 @@ pub mod disks { } } pub mod snapshots { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9056,7 +9056,7 @@ pub mod snapshots { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9132,7 +9132,7 @@ pub mod snapshots { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -9210,7 +9210,7 @@ pub mod snapshots { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -9277,7 +9277,7 @@ pub mod snapshots { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9351,7 +9351,7 @@ pub mod snapshots { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9409,7 +9409,7 @@ pub mod snapshots { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9480,7 +9480,7 @@ pub mod snapshots { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -9550,7 +9550,7 @@ pub mod snapshots { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9576,7 +9576,7 @@ pub mod snapshots { } } pub mod disk_encryption_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9625,7 +9625,7 @@ pub mod disk_encryption_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9706,7 +9706,7 @@ pub mod disk_encryption_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskEncryptionSet), @@ -9789,7 +9789,7 @@ pub mod disk_encryption_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskEncryptionSet), @@ -9861,7 +9861,7 @@ pub mod disk_encryption_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9940,7 +9940,7 @@ pub mod disk_encryption_sets { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10006,7 +10006,7 @@ pub mod disk_encryption_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10030,7 +10030,7 @@ pub mod disk_encryption_sets { } } pub mod galleries { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10079,7 +10079,7 @@ pub mod galleries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10166,7 +10166,7 @@ pub mod galleries { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Gallery), @@ -10244,7 +10244,7 @@ pub mod galleries { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10311,7 +10311,7 @@ pub mod galleries { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10390,7 +10390,7 @@ pub mod galleries { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10453,7 +10453,7 @@ pub mod galleries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10477,7 +10477,7 @@ pub mod galleries { } } pub mod gallery_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10528,7 +10528,7 @@ pub mod gallery_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10617,7 +10617,7 @@ pub mod gallery_images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryImage), @@ -10697,7 +10697,7 @@ pub mod gallery_images { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10766,7 +10766,7 @@ pub mod gallery_images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10845,7 +10845,7 @@ pub mod gallery_images { } } pub mod list_by_gallery { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10869,7 +10869,7 @@ pub mod gallery_images { } } pub mod gallery_image_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10926,7 +10926,7 @@ pub mod gallery_image_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11017,7 +11017,7 @@ pub mod gallery_image_versions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryImageVersion), @@ -11099,7 +11099,7 @@ pub mod gallery_image_versions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11170,7 +11170,7 @@ pub mod gallery_image_versions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11253,7 +11253,7 @@ pub mod gallery_image_versions { } } pub mod list_by_gallery_image { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11277,7 +11277,7 @@ pub mod gallery_image_versions { } } pub mod gallery_applications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11328,7 +11328,7 @@ pub mod gallery_applications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11417,7 +11417,7 @@ pub mod gallery_applications { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryApplication), @@ -11497,7 +11497,7 @@ pub mod gallery_applications { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11566,7 +11566,7 @@ pub mod gallery_applications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11645,7 +11645,7 @@ pub mod gallery_applications { } } pub mod list_by_gallery { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11669,7 +11669,7 @@ pub mod gallery_applications { } } pub mod gallery_application_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11726,7 +11726,7 @@ pub mod gallery_application_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11817,7 +11817,7 @@ pub mod gallery_application_versions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryApplicationVersion), @@ -11899,7 +11899,7 @@ pub mod gallery_application_versions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11970,7 +11970,7 @@ pub mod gallery_application_versions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12053,7 +12053,7 @@ pub mod gallery_application_versions { } } pub mod list_by_gallery_application { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12077,7 +12077,7 @@ pub mod gallery_application_versions { } } pub mod virtual_machine_run_commands { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -12122,7 +12122,7 @@ pub mod virtual_machine_run_commands { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12187,7 +12187,7 @@ pub mod virtual_machine_run_commands { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/compute/src/package_2019_11_01/operations.rs b/services/mgmt/compute/src/package_2019_11_01/operations.rs index ae2be87041..a11aa28f92 100644 --- a/services/mgmt/compute/src/package_2019_11_01/operations.rs +++ b/services/mgmt/compute/src/package_2019_11_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Compute/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod availability_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -108,7 +108,7 @@ pub mod availability_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -178,7 +178,7 @@ pub mod availability_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -245,7 +245,7 @@ pub mod availability_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -306,7 +306,7 @@ pub mod availability_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -379,7 +379,7 @@ pub mod availability_sets { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -442,7 +442,7 @@ pub mod availability_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -510,7 +510,7 @@ pub mod availability_sets { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -531,7 +531,7 @@ pub mod availability_sets { } } pub mod proximity_placement_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -583,7 +583,7 @@ pub mod proximity_placement_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -659,7 +659,7 @@ pub mod proximity_placement_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProximityPlacementGroup), @@ -731,7 +731,7 @@ pub mod proximity_placement_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -791,7 +791,7 @@ pub mod proximity_placement_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -855,7 +855,7 @@ pub mod proximity_placement_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -923,7 +923,7 @@ pub mod proximity_placement_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -944,7 +944,7 @@ pub mod proximity_placement_groups { } } pub mod dedicated_host_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -991,7 +991,7 @@ pub mod dedicated_host_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1067,7 +1067,7 @@ pub mod dedicated_host_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DedicatedHostGroup), @@ -1139,7 +1139,7 @@ pub mod dedicated_host_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1200,7 +1200,7 @@ pub mod dedicated_host_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1273,7 +1273,7 @@ pub mod dedicated_host_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1337,7 +1337,7 @@ pub mod dedicated_host_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1358,7 +1358,7 @@ pub mod dedicated_host_groups { } } pub mod dedicated_hosts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1411,7 +1411,7 @@ pub mod dedicated_hosts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1489,7 +1489,7 @@ pub mod dedicated_hosts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DedicatedHost), @@ -1563,7 +1563,7 @@ pub mod dedicated_hosts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1627,7 +1627,7 @@ pub mod dedicated_hosts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1701,7 +1701,7 @@ pub mod dedicated_hosts { } } pub mod list_by_host_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1722,7 +1722,7 @@ pub mod dedicated_hosts { } } pub mod virtual_machine_extension_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -1773,7 +1773,7 @@ pub mod virtual_machine_extension_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1841,7 +1841,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1923,7 +1923,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1944,7 +1944,7 @@ pub mod virtual_machine_extension_images { } } pub mod virtual_machine_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1997,7 +1997,7 @@ pub mod virtual_machine_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2075,7 +2075,7 @@ pub mod virtual_machine_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineExtension), @@ -2149,7 +2149,7 @@ pub mod virtual_machine_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2213,7 +2213,7 @@ pub mod virtual_machine_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2288,7 +2288,7 @@ pub mod virtual_machine_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2309,7 +2309,7 @@ pub mod virtual_machine_extensions { } } pub mod virtual_machine_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -2353,7 +2353,7 @@ pub mod virtual_machine_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2434,7 +2434,7 @@ pub mod virtual_machine_images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2502,7 +2502,7 @@ pub mod virtual_machine_images { } } pub mod list_offers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2568,7 +2568,7 @@ pub mod virtual_machine_images { } } pub mod list_publishers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2638,7 +2638,7 @@ pub mod virtual_machine_images { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2659,7 +2659,7 @@ pub mod virtual_machine_images { } } pub mod usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -2704,7 +2704,7 @@ pub mod usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2725,7 +2725,7 @@ pub mod usage { } } pub mod virtual_machines { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, location: &str, @@ -2773,7 +2773,7 @@ pub mod virtual_machines { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2844,7 +2844,7 @@ pub mod virtual_machines { } } pub mod capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineCaptureResult), @@ -2918,7 +2918,7 @@ pub mod virtual_machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2994,7 +2994,7 @@ pub mod virtual_machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -3072,7 +3072,7 @@ pub mod virtual_machines { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -3139,7 +3139,7 @@ pub mod virtual_machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3213,7 +3213,7 @@ pub mod virtual_machines { } } pub mod instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3280,7 +3280,7 @@ pub mod virtual_machines { } } pub mod convert_to_managed_disks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3350,7 +3350,7 @@ pub mod virtual_machines { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3419,7 +3419,7 @@ pub mod virtual_machines { } } pub mod generalize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3482,7 +3482,7 @@ pub mod virtual_machines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3550,7 +3550,7 @@ pub mod virtual_machines { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3618,7 +3618,7 @@ pub mod virtual_machines { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3688,7 +3688,7 @@ pub mod virtual_machines { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3760,7 +3760,7 @@ pub mod virtual_machines { } } pub mod reapply { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3833,7 +3833,7 @@ pub mod virtual_machines { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3900,7 +3900,7 @@ pub mod virtual_machines { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3970,7 +3970,7 @@ pub mod virtual_machines { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4045,7 +4045,7 @@ pub mod virtual_machines { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4115,7 +4115,7 @@ pub mod virtual_machines { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4191,7 +4191,7 @@ pub mod virtual_machines { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -4217,7 +4217,7 @@ pub mod virtual_machines { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -4262,7 +4262,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4283,7 +4283,7 @@ pub mod virtual_machine_sizes { } } pub mod images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4334,7 +4334,7 @@ pub mod images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4410,7 +4410,7 @@ pub mod images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -4488,7 +4488,7 @@ pub mod images { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -4555,7 +4555,7 @@ pub mod images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4629,7 +4629,7 @@ pub mod images { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4690,7 +4690,7 @@ pub mod images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4711,7 +4711,7 @@ pub mod images { } } pub mod virtual_machine_scale_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4758,7 +4758,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4834,7 +4834,7 @@ pub mod virtual_machine_scale_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSet), @@ -4906,7 +4906,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4968,7 +4968,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5044,7 +5044,7 @@ pub mod virtual_machine_scale_sets { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5115,7 +5115,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5188,7 +5188,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5251,7 +5251,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5315,7 +5315,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5383,7 +5383,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5453,7 +5453,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_os_upgrade_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5528,7 +5528,7 @@ pub mod virtual_machine_scale_sets { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5603,7 +5603,7 @@ pub mod virtual_machine_scale_sets { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5675,7 +5675,7 @@ pub mod virtual_machine_scale_sets { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5750,7 +5750,7 @@ pub mod virtual_machine_scale_sets { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5825,7 +5825,7 @@ pub mod virtual_machine_scale_sets { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5896,7 +5896,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5971,7 +5971,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6046,7 +6046,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6122,7 +6122,7 @@ pub mod virtual_machine_scale_sets { } } pub mod force_recovery_service_fabric_platform_update_domain_walk { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6189,7 +6189,7 @@ pub mod virtual_machine_scale_sets { } } pub mod convert_to_single_placement_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6210,7 +6210,7 @@ pub mod virtual_machine_scale_sets { } } pub mod virtual_machine_scale_set_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6263,7 +6263,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6341,7 +6341,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetExtension), @@ -6421,7 +6421,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetExtension), @@ -6490,7 +6490,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6561,7 +6561,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6582,7 +6582,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod virtual_machine_scale_set_rolling_upgrades { - use crate::models::*; + use super::{models, models::*}; pub async fn cancel( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6626,7 +6626,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6696,7 +6696,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_os_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6768,7 +6768,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_extension_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6841,7 +6841,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod get_latest { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6862,7 +6862,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod virtual_machine_scale_set_vm_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6919,7 +6919,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7004,7 +7004,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineExtension), @@ -7085,7 +7085,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7156,7 +7156,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7238,7 +7238,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7262,7 +7262,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod virtual_machine_scale_set_v_ms { - use crate::models::*; + use super::{models, models::*}; pub async fn reimage( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7316,7 +7316,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7388,7 +7388,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7460,7 +7460,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7536,7 +7536,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7611,7 +7611,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetVm), @@ -7680,7 +7680,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7756,7 +7756,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7833,7 +7833,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7905,7 +7905,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7977,7 +7977,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8046,7 +8046,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8118,7 +8118,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8183,7 +8183,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8261,7 +8261,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -8287,7 +8287,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod log_analytics { - use crate::models::*; + use super::{models, models::*}; pub async fn export_request_rate_by_interval( operation_config: &crate::OperationConfig, parameters: &RequestRateByIntervalInput, @@ -8340,7 +8340,7 @@ pub mod log_analytics { } } pub mod export_request_rate_by_interval { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -8416,7 +8416,7 @@ pub mod log_analytics { } } pub mod export_throttled_requests { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -8442,7 +8442,7 @@ pub mod log_analytics { } } pub mod virtual_machine_run_commands { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -8487,7 +8487,7 @@ pub mod virtual_machine_run_commands { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8552,7 +8552,7 @@ pub mod virtual_machine_run_commands { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8573,7 +8573,7 @@ pub mod virtual_machine_run_commands { } } pub mod resource_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8620,7 +8620,7 @@ pub mod resource_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8641,7 +8641,7 @@ pub mod resource_skus { } } pub mod disks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8688,7 +8688,7 @@ pub mod disks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8764,7 +8764,7 @@ pub mod disks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -8842,7 +8842,7 @@ pub mod disks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -8909,7 +8909,7 @@ pub mod disks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8983,7 +8983,7 @@ pub mod disks { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9041,7 +9041,7 @@ pub mod disks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9112,7 +9112,7 @@ pub mod disks { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -9182,7 +9182,7 @@ pub mod disks { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9208,7 +9208,7 @@ pub mod disks { } } pub mod snapshots { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9255,7 +9255,7 @@ pub mod snapshots { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9331,7 +9331,7 @@ pub mod snapshots { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -9409,7 +9409,7 @@ pub mod snapshots { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -9476,7 +9476,7 @@ pub mod snapshots { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9550,7 +9550,7 @@ pub mod snapshots { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9608,7 +9608,7 @@ pub mod snapshots { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9679,7 +9679,7 @@ pub mod snapshots { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -9749,7 +9749,7 @@ pub mod snapshots { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9775,7 +9775,7 @@ pub mod snapshots { } } pub mod disk_encryption_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9824,7 +9824,7 @@ pub mod disk_encryption_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9905,7 +9905,7 @@ pub mod disk_encryption_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskEncryptionSet), @@ -9988,7 +9988,7 @@ pub mod disk_encryption_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskEncryptionSet), @@ -10060,7 +10060,7 @@ pub mod disk_encryption_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10139,7 +10139,7 @@ pub mod disk_encryption_sets { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10205,7 +10205,7 @@ pub mod disk_encryption_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10229,7 +10229,7 @@ pub mod disk_encryption_sets { } } pub mod galleries { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10278,7 +10278,7 @@ pub mod galleries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10365,7 +10365,7 @@ pub mod galleries { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Gallery), @@ -10443,7 +10443,7 @@ pub mod galleries { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10510,7 +10510,7 @@ pub mod galleries { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10589,7 +10589,7 @@ pub mod galleries { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10652,7 +10652,7 @@ pub mod galleries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10676,7 +10676,7 @@ pub mod galleries { } } pub mod gallery_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10727,7 +10727,7 @@ pub mod gallery_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10816,7 +10816,7 @@ pub mod gallery_images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryImage), @@ -10896,7 +10896,7 @@ pub mod gallery_images { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10965,7 +10965,7 @@ pub mod gallery_images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11044,7 +11044,7 @@ pub mod gallery_images { } } pub mod list_by_gallery { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11068,7 +11068,7 @@ pub mod gallery_images { } } pub mod gallery_image_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11125,7 +11125,7 @@ pub mod gallery_image_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11216,7 +11216,7 @@ pub mod gallery_image_versions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryImageVersion), @@ -11298,7 +11298,7 @@ pub mod gallery_image_versions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11369,7 +11369,7 @@ pub mod gallery_image_versions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11452,7 +11452,7 @@ pub mod gallery_image_versions { } } pub mod list_by_gallery_image { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11476,7 +11476,7 @@ pub mod gallery_image_versions { } } pub mod gallery_applications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11527,7 +11527,7 @@ pub mod gallery_applications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11616,7 +11616,7 @@ pub mod gallery_applications { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryApplication), @@ -11696,7 +11696,7 @@ pub mod gallery_applications { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11765,7 +11765,7 @@ pub mod gallery_applications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11844,7 +11844,7 @@ pub mod gallery_applications { } } pub mod list_by_gallery { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11868,7 +11868,7 @@ pub mod gallery_applications { } } pub mod gallery_application_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11925,7 +11925,7 @@ pub mod gallery_application_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12016,7 +12016,7 @@ pub mod gallery_application_versions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryApplicationVersion), @@ -12098,7 +12098,7 @@ pub mod gallery_application_versions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12169,7 +12169,7 @@ pub mod gallery_application_versions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12252,7 +12252,7 @@ pub mod gallery_application_versions { } } pub mod list_by_gallery_application { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12276,7 +12276,7 @@ pub mod gallery_application_versions { } } pub mod container_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12319,7 +12319,7 @@ pub mod container_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12384,7 +12384,7 @@ pub mod container_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12466,7 +12466,7 @@ pub mod container_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerService), @@ -12533,7 +12533,7 @@ pub mod container_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -12606,7 +12606,7 @@ pub mod container_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/compute/src/package_2019_11_01_only/operations.rs b/services/mgmt/compute/src/package_2019_11_01_only/operations.rs index 460618af4f..f55f3e1cef 100644 --- a/services/mgmt/compute/src/package_2019_11_01_only/operations.rs +++ b/services/mgmt/compute/src/package_2019_11_01_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod disks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -51,7 +51,7 @@ pub mod disks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod disks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -205,7 +205,7 @@ pub mod disks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -272,7 +272,7 @@ pub mod disks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -346,7 +346,7 @@ pub mod disks { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -404,7 +404,7 @@ pub mod disks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -475,7 +475,7 @@ pub mod disks { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -545,7 +545,7 @@ pub mod disks { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -571,7 +571,7 @@ pub mod disks { } } pub mod snapshots { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -618,7 +618,7 @@ pub mod snapshots { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -694,7 +694,7 @@ pub mod snapshots { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -772,7 +772,7 @@ pub mod snapshots { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -839,7 +839,7 @@ pub mod snapshots { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -913,7 +913,7 @@ pub mod snapshots { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -971,7 +971,7 @@ pub mod snapshots { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1042,7 +1042,7 @@ pub mod snapshots { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -1112,7 +1112,7 @@ pub mod snapshots { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1138,7 +1138,7 @@ pub mod snapshots { } } pub mod disk_encryption_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1187,7 +1187,7 @@ pub mod disk_encryption_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1268,7 +1268,7 @@ pub mod disk_encryption_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskEncryptionSet), @@ -1351,7 +1351,7 @@ pub mod disk_encryption_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskEncryptionSet), @@ -1423,7 +1423,7 @@ pub mod disk_encryption_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1502,7 +1502,7 @@ pub mod disk_encryption_sets { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1568,7 +1568,7 @@ pub mod disk_encryption_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/compute/src/package_2019_12_01/operations.rs b/services/mgmt/compute/src/package_2019_12_01/operations.rs index 828a3bb7d0..bffd733d64 100644 --- a/services/mgmt/compute/src/package_2019_12_01/operations.rs +++ b/services/mgmt/compute/src/package_2019_12_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Compute/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod availability_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -108,7 +108,7 @@ pub mod availability_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -178,7 +178,7 @@ pub mod availability_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -245,7 +245,7 @@ pub mod availability_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -306,7 +306,7 @@ pub mod availability_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -379,7 +379,7 @@ pub mod availability_sets { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -442,7 +442,7 @@ pub mod availability_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -510,7 +510,7 @@ pub mod availability_sets { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -531,7 +531,7 @@ pub mod availability_sets { } } pub mod proximity_placement_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -583,7 +583,7 @@ pub mod proximity_placement_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -659,7 +659,7 @@ pub mod proximity_placement_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProximityPlacementGroup), @@ -731,7 +731,7 @@ pub mod proximity_placement_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -791,7 +791,7 @@ pub mod proximity_placement_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -855,7 +855,7 @@ pub mod proximity_placement_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -923,7 +923,7 @@ pub mod proximity_placement_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -944,7 +944,7 @@ pub mod proximity_placement_groups { } } pub mod dedicated_host_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -991,7 +991,7 @@ pub mod dedicated_host_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1067,7 +1067,7 @@ pub mod dedicated_host_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DedicatedHostGroup), @@ -1139,7 +1139,7 @@ pub mod dedicated_host_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1200,7 +1200,7 @@ pub mod dedicated_host_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1273,7 +1273,7 @@ pub mod dedicated_host_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1337,7 +1337,7 @@ pub mod dedicated_host_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1358,7 +1358,7 @@ pub mod dedicated_host_groups { } } pub mod dedicated_hosts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1411,7 +1411,7 @@ pub mod dedicated_hosts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1489,7 +1489,7 @@ pub mod dedicated_hosts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DedicatedHost), @@ -1563,7 +1563,7 @@ pub mod dedicated_hosts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1627,7 +1627,7 @@ pub mod dedicated_hosts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1701,7 +1701,7 @@ pub mod dedicated_hosts { } } pub mod list_by_host_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1722,7 +1722,7 @@ pub mod dedicated_hosts { } } pub mod ssh_public_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1768,7 +1768,7 @@ pub mod ssh_public_keys { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1836,7 +1836,7 @@ pub mod ssh_public_keys { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1901,7 +1901,7 @@ pub mod ssh_public_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1974,7 +1974,7 @@ pub mod ssh_public_keys { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SshPublicKeyResource), @@ -2046,7 +2046,7 @@ pub mod ssh_public_keys { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2107,7 +2107,7 @@ pub mod ssh_public_keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2181,7 +2181,7 @@ pub mod ssh_public_keys { } } pub mod generate_key_pair { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2202,7 +2202,7 @@ pub mod ssh_public_keys { } } pub mod virtual_machine_extension_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -2253,7 +2253,7 @@ pub mod virtual_machine_extension_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2321,7 +2321,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2403,7 +2403,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2424,7 +2424,7 @@ pub mod virtual_machine_extension_images { } } pub mod virtual_machine_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2477,7 +2477,7 @@ pub mod virtual_machine_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2555,7 +2555,7 @@ pub mod virtual_machine_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineExtension), @@ -2629,7 +2629,7 @@ pub mod virtual_machine_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2693,7 +2693,7 @@ pub mod virtual_machine_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2768,7 +2768,7 @@ pub mod virtual_machine_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2789,7 +2789,7 @@ pub mod virtual_machine_extensions { } } pub mod virtual_machine_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -2833,7 +2833,7 @@ pub mod virtual_machine_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2914,7 +2914,7 @@ pub mod virtual_machine_images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2982,7 +2982,7 @@ pub mod virtual_machine_images { } } pub mod list_offers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3048,7 +3048,7 @@ pub mod virtual_machine_images { } } pub mod list_publishers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3118,7 +3118,7 @@ pub mod virtual_machine_images { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3139,7 +3139,7 @@ pub mod virtual_machine_images { } } pub mod usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -3184,7 +3184,7 @@ pub mod usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3205,7 +3205,7 @@ pub mod usage { } } pub mod virtual_machines { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, location: &str, @@ -3253,7 +3253,7 @@ pub mod virtual_machines { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3324,7 +3324,7 @@ pub mod virtual_machines { } } pub mod capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineCaptureResult), @@ -3398,7 +3398,7 @@ pub mod virtual_machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3474,7 +3474,7 @@ pub mod virtual_machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -3552,7 +3552,7 @@ pub mod virtual_machines { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -3619,7 +3619,7 @@ pub mod virtual_machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3693,7 +3693,7 @@ pub mod virtual_machines { } } pub mod instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3760,7 +3760,7 @@ pub mod virtual_machines { } } pub mod convert_to_managed_disks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3830,7 +3830,7 @@ pub mod virtual_machines { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3899,7 +3899,7 @@ pub mod virtual_machines { } } pub mod generalize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3962,7 +3962,7 @@ pub mod virtual_machines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4030,7 +4030,7 @@ pub mod virtual_machines { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4098,7 +4098,7 @@ pub mod virtual_machines { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4168,7 +4168,7 @@ pub mod virtual_machines { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4240,7 +4240,7 @@ pub mod virtual_machines { } } pub mod reapply { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4313,7 +4313,7 @@ pub mod virtual_machines { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4380,7 +4380,7 @@ pub mod virtual_machines { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4450,7 +4450,7 @@ pub mod virtual_machines { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4525,7 +4525,7 @@ pub mod virtual_machines { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4595,7 +4595,7 @@ pub mod virtual_machines { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4664,7 +4664,7 @@ pub mod virtual_machines { } } pub mod simulate_eviction { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4735,7 +4735,7 @@ pub mod virtual_machines { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -4761,7 +4761,7 @@ pub mod virtual_machines { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -4806,7 +4806,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4827,7 +4827,7 @@ pub mod virtual_machine_sizes { } } pub mod images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4878,7 +4878,7 @@ pub mod images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4954,7 +4954,7 @@ pub mod images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -5032,7 +5032,7 @@ pub mod images { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -5099,7 +5099,7 @@ pub mod images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5173,7 +5173,7 @@ pub mod images { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5234,7 +5234,7 @@ pub mod images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5255,7 +5255,7 @@ pub mod images { } } pub mod virtual_machine_scale_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5302,7 +5302,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5378,7 +5378,7 @@ pub mod virtual_machine_scale_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSet), @@ -5450,7 +5450,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5512,7 +5512,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5588,7 +5588,7 @@ pub mod virtual_machine_scale_sets { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5659,7 +5659,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5732,7 +5732,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5795,7 +5795,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5859,7 +5859,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5927,7 +5927,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5997,7 +5997,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_os_upgrade_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6072,7 +6072,7 @@ pub mod virtual_machine_scale_sets { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6147,7 +6147,7 @@ pub mod virtual_machine_scale_sets { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6219,7 +6219,7 @@ pub mod virtual_machine_scale_sets { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6294,7 +6294,7 @@ pub mod virtual_machine_scale_sets { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6369,7 +6369,7 @@ pub mod virtual_machine_scale_sets { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6440,7 +6440,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6515,7 +6515,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6590,7 +6590,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6666,7 +6666,7 @@ pub mod virtual_machine_scale_sets { } } pub mod force_recovery_service_fabric_platform_update_domain_walk { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6733,7 +6733,7 @@ pub mod virtual_machine_scale_sets { } } pub mod convert_to_single_placement_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6801,7 +6801,7 @@ pub mod virtual_machine_scale_sets { } } pub mod set_orchestration_service_state { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6827,7 +6827,7 @@ pub mod virtual_machine_scale_sets { } } pub mod virtual_machine_scale_set_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6880,7 +6880,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6958,7 +6958,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetExtension), @@ -7038,7 +7038,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetExtension), @@ -7107,7 +7107,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7178,7 +7178,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7199,7 +7199,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod virtual_machine_scale_set_rolling_upgrades { - use crate::models::*; + use super::{models, models::*}; pub async fn cancel( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7243,7 +7243,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7313,7 +7313,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_os_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7385,7 +7385,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_extension_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7458,7 +7458,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod get_latest { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7479,7 +7479,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod virtual_machine_scale_set_vm_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7536,7 +7536,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7621,7 +7621,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineExtension), @@ -7702,7 +7702,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7773,7 +7773,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7855,7 +7855,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7879,7 +7879,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod virtual_machine_scale_set_v_ms { - use crate::models::*; + use super::{models, models::*}; pub async fn reimage( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7933,7 +7933,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8005,7 +8005,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8077,7 +8077,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8153,7 +8153,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8228,7 +8228,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetVm), @@ -8297,7 +8297,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8373,7 +8373,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8450,7 +8450,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8522,7 +8522,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8594,7 +8594,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8663,7 +8663,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8735,7 +8735,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8800,7 +8800,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8864,7 +8864,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod simulate_eviction { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8937,7 +8937,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -8963,7 +8963,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod log_analytics { - use crate::models::*; + use super::{models, models::*}; pub async fn export_request_rate_by_interval( operation_config: &crate::OperationConfig, parameters: &RequestRateByIntervalInput, @@ -9016,7 +9016,7 @@ pub mod log_analytics { } } pub mod export_request_rate_by_interval { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -9092,7 +9092,7 @@ pub mod log_analytics { } } pub mod export_throttled_requests { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -9118,7 +9118,7 @@ pub mod log_analytics { } } pub mod virtual_machine_run_commands { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -9163,7 +9163,7 @@ pub mod virtual_machine_run_commands { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9228,7 +9228,7 @@ pub mod virtual_machine_run_commands { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9249,7 +9249,7 @@ pub mod virtual_machine_run_commands { } } pub mod resource_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9296,7 +9296,7 @@ pub mod resource_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9317,7 +9317,7 @@ pub mod resource_skus { } } pub mod disks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9364,7 +9364,7 @@ pub mod disks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9440,7 +9440,7 @@ pub mod disks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -9518,7 +9518,7 @@ pub mod disks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -9585,7 +9585,7 @@ pub mod disks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9659,7 +9659,7 @@ pub mod disks { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9717,7 +9717,7 @@ pub mod disks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9788,7 +9788,7 @@ pub mod disks { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -9858,7 +9858,7 @@ pub mod disks { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9884,7 +9884,7 @@ pub mod disks { } } pub mod snapshots { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9931,7 +9931,7 @@ pub mod snapshots { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10007,7 +10007,7 @@ pub mod snapshots { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -10085,7 +10085,7 @@ pub mod snapshots { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -10152,7 +10152,7 @@ pub mod snapshots { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10226,7 +10226,7 @@ pub mod snapshots { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10284,7 +10284,7 @@ pub mod snapshots { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10355,7 +10355,7 @@ pub mod snapshots { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -10425,7 +10425,7 @@ pub mod snapshots { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10451,7 +10451,7 @@ pub mod snapshots { } } pub mod disk_encryption_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10500,7 +10500,7 @@ pub mod disk_encryption_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10581,7 +10581,7 @@ pub mod disk_encryption_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskEncryptionSet), @@ -10664,7 +10664,7 @@ pub mod disk_encryption_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskEncryptionSet), @@ -10736,7 +10736,7 @@ pub mod disk_encryption_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10815,7 +10815,7 @@ pub mod disk_encryption_sets { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10881,7 +10881,7 @@ pub mod disk_encryption_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10905,7 +10905,7 @@ pub mod disk_encryption_sets { } } pub mod galleries { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10954,7 +10954,7 @@ pub mod galleries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11041,7 +11041,7 @@ pub mod galleries { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Gallery), @@ -11119,7 +11119,7 @@ pub mod galleries { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11186,7 +11186,7 @@ pub mod galleries { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11265,7 +11265,7 @@ pub mod galleries { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11328,7 +11328,7 @@ pub mod galleries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11352,7 +11352,7 @@ pub mod galleries { } } pub mod gallery_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11403,7 +11403,7 @@ pub mod gallery_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11492,7 +11492,7 @@ pub mod gallery_images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryImage), @@ -11572,7 +11572,7 @@ pub mod gallery_images { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11641,7 +11641,7 @@ pub mod gallery_images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11720,7 +11720,7 @@ pub mod gallery_images { } } pub mod list_by_gallery { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11744,7 +11744,7 @@ pub mod gallery_images { } } pub mod gallery_image_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11801,7 +11801,7 @@ pub mod gallery_image_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11892,7 +11892,7 @@ pub mod gallery_image_versions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryImageVersion), @@ -11974,7 +11974,7 @@ pub mod gallery_image_versions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12045,7 +12045,7 @@ pub mod gallery_image_versions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12128,7 +12128,7 @@ pub mod gallery_image_versions { } } pub mod list_by_gallery_image { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12152,7 +12152,7 @@ pub mod gallery_image_versions { } } pub mod gallery_applications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12203,7 +12203,7 @@ pub mod gallery_applications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12292,7 +12292,7 @@ pub mod gallery_applications { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryApplication), @@ -12372,7 +12372,7 @@ pub mod gallery_applications { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12441,7 +12441,7 @@ pub mod gallery_applications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12520,7 +12520,7 @@ pub mod gallery_applications { } } pub mod list_by_gallery { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12544,7 +12544,7 @@ pub mod gallery_applications { } } pub mod gallery_application_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12601,7 +12601,7 @@ pub mod gallery_application_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12692,7 +12692,7 @@ pub mod gallery_application_versions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryApplicationVersion), @@ -12774,7 +12774,7 @@ pub mod gallery_application_versions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12845,7 +12845,7 @@ pub mod gallery_application_versions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12928,7 +12928,7 @@ pub mod gallery_application_versions { } } pub mod list_by_gallery_application { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12952,7 +12952,7 @@ pub mod gallery_application_versions { } } pub mod container_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12995,7 +12995,7 @@ pub mod container_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13060,7 +13060,7 @@ pub mod container_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13142,7 +13142,7 @@ pub mod container_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerService), @@ -13209,7 +13209,7 @@ pub mod container_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -13282,7 +13282,7 @@ pub mod container_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/compute/src/package_2019_12_01_only/operations.rs b/services/mgmt/compute/src/package_2019_12_01_only/operations.rs index 7fe972b68c..80be236451 100644 --- a/services/mgmt/compute/src/package_2019_12_01_only/operations.rs +++ b/services/mgmt/compute/src/package_2019_12_01_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Compute/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod availability_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -108,7 +108,7 @@ pub mod availability_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -178,7 +178,7 @@ pub mod availability_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -245,7 +245,7 @@ pub mod availability_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -306,7 +306,7 @@ pub mod availability_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -379,7 +379,7 @@ pub mod availability_sets { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -442,7 +442,7 @@ pub mod availability_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -510,7 +510,7 @@ pub mod availability_sets { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -531,7 +531,7 @@ pub mod availability_sets { } } pub mod proximity_placement_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -583,7 +583,7 @@ pub mod proximity_placement_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -659,7 +659,7 @@ pub mod proximity_placement_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProximityPlacementGroup), @@ -731,7 +731,7 @@ pub mod proximity_placement_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -791,7 +791,7 @@ pub mod proximity_placement_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -855,7 +855,7 @@ pub mod proximity_placement_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -923,7 +923,7 @@ pub mod proximity_placement_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -944,7 +944,7 @@ pub mod proximity_placement_groups { } } pub mod dedicated_host_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -991,7 +991,7 @@ pub mod dedicated_host_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1067,7 +1067,7 @@ pub mod dedicated_host_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DedicatedHostGroup), @@ -1139,7 +1139,7 @@ pub mod dedicated_host_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1200,7 +1200,7 @@ pub mod dedicated_host_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1273,7 +1273,7 @@ pub mod dedicated_host_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1337,7 +1337,7 @@ pub mod dedicated_host_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1358,7 +1358,7 @@ pub mod dedicated_host_groups { } } pub mod dedicated_hosts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1411,7 +1411,7 @@ pub mod dedicated_hosts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1489,7 +1489,7 @@ pub mod dedicated_hosts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DedicatedHost), @@ -1563,7 +1563,7 @@ pub mod dedicated_hosts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1627,7 +1627,7 @@ pub mod dedicated_hosts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1701,7 +1701,7 @@ pub mod dedicated_hosts { } } pub mod list_by_host_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1722,7 +1722,7 @@ pub mod dedicated_hosts { } } pub mod ssh_public_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1768,7 +1768,7 @@ pub mod ssh_public_keys { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1836,7 +1836,7 @@ pub mod ssh_public_keys { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1901,7 +1901,7 @@ pub mod ssh_public_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1974,7 +1974,7 @@ pub mod ssh_public_keys { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SshPublicKeyResource), @@ -2046,7 +2046,7 @@ pub mod ssh_public_keys { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2107,7 +2107,7 @@ pub mod ssh_public_keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2181,7 +2181,7 @@ pub mod ssh_public_keys { } } pub mod generate_key_pair { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2202,7 +2202,7 @@ pub mod ssh_public_keys { } } pub mod virtual_machine_extension_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -2253,7 +2253,7 @@ pub mod virtual_machine_extension_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2321,7 +2321,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2403,7 +2403,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2424,7 +2424,7 @@ pub mod virtual_machine_extension_images { } } pub mod virtual_machine_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2477,7 +2477,7 @@ pub mod virtual_machine_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2555,7 +2555,7 @@ pub mod virtual_machine_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineExtension), @@ -2629,7 +2629,7 @@ pub mod virtual_machine_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2693,7 +2693,7 @@ pub mod virtual_machine_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2768,7 +2768,7 @@ pub mod virtual_machine_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2789,7 +2789,7 @@ pub mod virtual_machine_extensions { } } pub mod virtual_machine_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -2833,7 +2833,7 @@ pub mod virtual_machine_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2914,7 +2914,7 @@ pub mod virtual_machine_images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2982,7 +2982,7 @@ pub mod virtual_machine_images { } } pub mod list_offers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3048,7 +3048,7 @@ pub mod virtual_machine_images { } } pub mod list_publishers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3118,7 +3118,7 @@ pub mod virtual_machine_images { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3139,7 +3139,7 @@ pub mod virtual_machine_images { } } pub mod usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -3184,7 +3184,7 @@ pub mod usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3205,7 +3205,7 @@ pub mod usage { } } pub mod virtual_machines { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, location: &str, @@ -3253,7 +3253,7 @@ pub mod virtual_machines { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3324,7 +3324,7 @@ pub mod virtual_machines { } } pub mod capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineCaptureResult), @@ -3398,7 +3398,7 @@ pub mod virtual_machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3474,7 +3474,7 @@ pub mod virtual_machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -3552,7 +3552,7 @@ pub mod virtual_machines { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -3619,7 +3619,7 @@ pub mod virtual_machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3693,7 +3693,7 @@ pub mod virtual_machines { } } pub mod instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3760,7 +3760,7 @@ pub mod virtual_machines { } } pub mod convert_to_managed_disks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3830,7 +3830,7 @@ pub mod virtual_machines { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3899,7 +3899,7 @@ pub mod virtual_machines { } } pub mod generalize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3962,7 +3962,7 @@ pub mod virtual_machines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4030,7 +4030,7 @@ pub mod virtual_machines { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4098,7 +4098,7 @@ pub mod virtual_machines { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4168,7 +4168,7 @@ pub mod virtual_machines { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4240,7 +4240,7 @@ pub mod virtual_machines { } } pub mod reapply { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4313,7 +4313,7 @@ pub mod virtual_machines { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4380,7 +4380,7 @@ pub mod virtual_machines { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4450,7 +4450,7 @@ pub mod virtual_machines { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4525,7 +4525,7 @@ pub mod virtual_machines { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4595,7 +4595,7 @@ pub mod virtual_machines { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4664,7 +4664,7 @@ pub mod virtual_machines { } } pub mod simulate_eviction { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4735,7 +4735,7 @@ pub mod virtual_machines { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -4761,7 +4761,7 @@ pub mod virtual_machines { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -4806,7 +4806,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4827,7 +4827,7 @@ pub mod virtual_machine_sizes { } } pub mod images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4878,7 +4878,7 @@ pub mod images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4954,7 +4954,7 @@ pub mod images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -5032,7 +5032,7 @@ pub mod images { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -5099,7 +5099,7 @@ pub mod images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5173,7 +5173,7 @@ pub mod images { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5234,7 +5234,7 @@ pub mod images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5255,7 +5255,7 @@ pub mod images { } } pub mod virtual_machine_scale_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5302,7 +5302,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5378,7 +5378,7 @@ pub mod virtual_machine_scale_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSet), @@ -5450,7 +5450,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5512,7 +5512,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5588,7 +5588,7 @@ pub mod virtual_machine_scale_sets { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5659,7 +5659,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5732,7 +5732,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5795,7 +5795,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5859,7 +5859,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5927,7 +5927,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5997,7 +5997,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_os_upgrade_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6072,7 +6072,7 @@ pub mod virtual_machine_scale_sets { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6147,7 +6147,7 @@ pub mod virtual_machine_scale_sets { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6219,7 +6219,7 @@ pub mod virtual_machine_scale_sets { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6294,7 +6294,7 @@ pub mod virtual_machine_scale_sets { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6369,7 +6369,7 @@ pub mod virtual_machine_scale_sets { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6440,7 +6440,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6515,7 +6515,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6590,7 +6590,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6666,7 +6666,7 @@ pub mod virtual_machine_scale_sets { } } pub mod force_recovery_service_fabric_platform_update_domain_walk { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6733,7 +6733,7 @@ pub mod virtual_machine_scale_sets { } } pub mod convert_to_single_placement_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6801,7 +6801,7 @@ pub mod virtual_machine_scale_sets { } } pub mod set_orchestration_service_state { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6827,7 +6827,7 @@ pub mod virtual_machine_scale_sets { } } pub mod virtual_machine_scale_set_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6880,7 +6880,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6958,7 +6958,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetExtension), @@ -7038,7 +7038,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetExtension), @@ -7107,7 +7107,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7178,7 +7178,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7199,7 +7199,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod virtual_machine_scale_set_rolling_upgrades { - use crate::models::*; + use super::{models, models::*}; pub async fn cancel( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7243,7 +7243,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7313,7 +7313,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_os_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7385,7 +7385,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_extension_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7458,7 +7458,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod get_latest { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7479,7 +7479,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod virtual_machine_scale_set_vm_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7536,7 +7536,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7621,7 +7621,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineExtension), @@ -7702,7 +7702,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7773,7 +7773,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7855,7 +7855,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7879,7 +7879,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod virtual_machine_scale_set_v_ms { - use crate::models::*; + use super::{models, models::*}; pub async fn reimage( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7933,7 +7933,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8005,7 +8005,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8077,7 +8077,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8153,7 +8153,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8228,7 +8228,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetVm), @@ -8297,7 +8297,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8373,7 +8373,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8450,7 +8450,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8522,7 +8522,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8594,7 +8594,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8663,7 +8663,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8735,7 +8735,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8800,7 +8800,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8864,7 +8864,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod simulate_eviction { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8937,7 +8937,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -8963,7 +8963,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod log_analytics { - use crate::models::*; + use super::{models, models::*}; pub async fn export_request_rate_by_interval( operation_config: &crate::OperationConfig, parameters: &RequestRateByIntervalInput, @@ -9016,7 +9016,7 @@ pub mod log_analytics { } } pub mod export_request_rate_by_interval { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -9092,7 +9092,7 @@ pub mod log_analytics { } } pub mod export_throttled_requests { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -9118,7 +9118,7 @@ pub mod log_analytics { } } pub mod virtual_machine_run_commands { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -9163,7 +9163,7 @@ pub mod virtual_machine_run_commands { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9228,7 +9228,7 @@ pub mod virtual_machine_run_commands { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9249,7 +9249,7 @@ pub mod virtual_machine_run_commands { } } pub mod galleries { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9298,7 +9298,7 @@ pub mod galleries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9385,7 +9385,7 @@ pub mod galleries { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Gallery), @@ -9463,7 +9463,7 @@ pub mod galleries { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9530,7 +9530,7 @@ pub mod galleries { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9609,7 +9609,7 @@ pub mod galleries { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9672,7 +9672,7 @@ pub mod galleries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9696,7 +9696,7 @@ pub mod galleries { } } pub mod gallery_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9747,7 +9747,7 @@ pub mod gallery_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9836,7 +9836,7 @@ pub mod gallery_images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryImage), @@ -9916,7 +9916,7 @@ pub mod gallery_images { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9985,7 +9985,7 @@ pub mod gallery_images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10064,7 +10064,7 @@ pub mod gallery_images { } } pub mod list_by_gallery { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10088,7 +10088,7 @@ pub mod gallery_images { } } pub mod gallery_image_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10145,7 +10145,7 @@ pub mod gallery_image_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10236,7 +10236,7 @@ pub mod gallery_image_versions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryImageVersion), @@ -10318,7 +10318,7 @@ pub mod gallery_image_versions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10389,7 +10389,7 @@ pub mod gallery_image_versions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10472,7 +10472,7 @@ pub mod gallery_image_versions { } } pub mod list_by_gallery_image { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10496,7 +10496,7 @@ pub mod gallery_image_versions { } } pub mod gallery_applications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10547,7 +10547,7 @@ pub mod gallery_applications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10636,7 +10636,7 @@ pub mod gallery_applications { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryApplication), @@ -10716,7 +10716,7 @@ pub mod gallery_applications { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10785,7 +10785,7 @@ pub mod gallery_applications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10864,7 +10864,7 @@ pub mod gallery_applications { } } pub mod list_by_gallery { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10888,7 +10888,7 @@ pub mod gallery_applications { } } pub mod gallery_application_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10945,7 +10945,7 @@ pub mod gallery_application_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11036,7 +11036,7 @@ pub mod gallery_application_versions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryApplicationVersion), @@ -11118,7 +11118,7 @@ pub mod gallery_application_versions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11189,7 +11189,7 @@ pub mod gallery_application_versions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11272,7 +11272,7 @@ pub mod gallery_application_versions { } } pub mod list_by_gallery_application { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/compute/src/package_2020_05_01/operations.rs b/services/mgmt/compute/src/package_2020_05_01/operations.rs index 9760977c04..d0b4151af7 100644 --- a/services/mgmt/compute/src/package_2020_05_01/operations.rs +++ b/services/mgmt/compute/src/package_2020_05_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Compute/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod availability_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -108,7 +108,7 @@ pub mod availability_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -178,7 +178,7 @@ pub mod availability_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -245,7 +245,7 @@ pub mod availability_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -306,7 +306,7 @@ pub mod availability_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -379,7 +379,7 @@ pub mod availability_sets { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -442,7 +442,7 @@ pub mod availability_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -510,7 +510,7 @@ pub mod availability_sets { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -531,7 +531,7 @@ pub mod availability_sets { } } pub mod proximity_placement_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -583,7 +583,7 @@ pub mod proximity_placement_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -659,7 +659,7 @@ pub mod proximity_placement_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProximityPlacementGroup), @@ -731,7 +731,7 @@ pub mod proximity_placement_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -791,7 +791,7 @@ pub mod proximity_placement_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -855,7 +855,7 @@ pub mod proximity_placement_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -923,7 +923,7 @@ pub mod proximity_placement_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -944,7 +944,7 @@ pub mod proximity_placement_groups { } } pub mod dedicated_host_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -991,7 +991,7 @@ pub mod dedicated_host_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1067,7 +1067,7 @@ pub mod dedicated_host_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DedicatedHostGroup), @@ -1139,7 +1139,7 @@ pub mod dedicated_host_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1200,7 +1200,7 @@ pub mod dedicated_host_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1273,7 +1273,7 @@ pub mod dedicated_host_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1337,7 +1337,7 @@ pub mod dedicated_host_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1358,7 +1358,7 @@ pub mod dedicated_host_groups { } } pub mod dedicated_hosts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1411,7 +1411,7 @@ pub mod dedicated_hosts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1489,7 +1489,7 @@ pub mod dedicated_hosts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DedicatedHost), @@ -1563,7 +1563,7 @@ pub mod dedicated_hosts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1627,7 +1627,7 @@ pub mod dedicated_hosts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1701,7 +1701,7 @@ pub mod dedicated_hosts { } } pub mod list_by_host_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1722,7 +1722,7 @@ pub mod dedicated_hosts { } } pub mod ssh_public_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1768,7 +1768,7 @@ pub mod ssh_public_keys { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1836,7 +1836,7 @@ pub mod ssh_public_keys { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1901,7 +1901,7 @@ pub mod ssh_public_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1974,7 +1974,7 @@ pub mod ssh_public_keys { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SshPublicKeyResource), @@ -2046,7 +2046,7 @@ pub mod ssh_public_keys { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2107,7 +2107,7 @@ pub mod ssh_public_keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2181,7 +2181,7 @@ pub mod ssh_public_keys { } } pub mod generate_key_pair { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2202,7 +2202,7 @@ pub mod ssh_public_keys { } } pub mod virtual_machine_extension_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -2253,7 +2253,7 @@ pub mod virtual_machine_extension_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2321,7 +2321,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2403,7 +2403,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2424,7 +2424,7 @@ pub mod virtual_machine_extension_images { } } pub mod virtual_machine_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2477,7 +2477,7 @@ pub mod virtual_machine_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2555,7 +2555,7 @@ pub mod virtual_machine_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineExtension), @@ -2629,7 +2629,7 @@ pub mod virtual_machine_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2693,7 +2693,7 @@ pub mod virtual_machine_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2768,7 +2768,7 @@ pub mod virtual_machine_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2789,7 +2789,7 @@ pub mod virtual_machine_extensions { } } pub mod virtual_machine_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -2833,7 +2833,7 @@ pub mod virtual_machine_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2914,7 +2914,7 @@ pub mod virtual_machine_images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2982,7 +2982,7 @@ pub mod virtual_machine_images { } } pub mod list_offers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3048,7 +3048,7 @@ pub mod virtual_machine_images { } } pub mod list_publishers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3118,7 +3118,7 @@ pub mod virtual_machine_images { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3139,7 +3139,7 @@ pub mod virtual_machine_images { } } pub mod usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -3184,7 +3184,7 @@ pub mod usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3205,7 +3205,7 @@ pub mod usage { } } pub mod virtual_machines { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, location: &str, @@ -3253,7 +3253,7 @@ pub mod virtual_machines { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3324,7 +3324,7 @@ pub mod virtual_machines { } } pub mod capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineCaptureResult), @@ -3398,7 +3398,7 @@ pub mod virtual_machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3474,7 +3474,7 @@ pub mod virtual_machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -3552,7 +3552,7 @@ pub mod virtual_machines { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -3619,7 +3619,7 @@ pub mod virtual_machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3693,7 +3693,7 @@ pub mod virtual_machines { } } pub mod instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3760,7 +3760,7 @@ pub mod virtual_machines { } } pub mod convert_to_managed_disks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3830,7 +3830,7 @@ pub mod virtual_machines { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3899,7 +3899,7 @@ pub mod virtual_machines { } } pub mod generalize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3962,7 +3962,7 @@ pub mod virtual_machines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4030,7 +4030,7 @@ pub mod virtual_machines { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4098,7 +4098,7 @@ pub mod virtual_machines { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4168,7 +4168,7 @@ pub mod virtual_machines { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4240,7 +4240,7 @@ pub mod virtual_machines { } } pub mod reapply { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4313,7 +4313,7 @@ pub mod virtual_machines { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4380,7 +4380,7 @@ pub mod virtual_machines { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4450,7 +4450,7 @@ pub mod virtual_machines { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4525,7 +4525,7 @@ pub mod virtual_machines { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4595,7 +4595,7 @@ pub mod virtual_machines { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4664,7 +4664,7 @@ pub mod virtual_machines { } } pub mod simulate_eviction { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4735,7 +4735,7 @@ pub mod virtual_machines { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -4761,7 +4761,7 @@ pub mod virtual_machines { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -4806,7 +4806,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4827,7 +4827,7 @@ pub mod virtual_machine_sizes { } } pub mod images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4878,7 +4878,7 @@ pub mod images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4954,7 +4954,7 @@ pub mod images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -5032,7 +5032,7 @@ pub mod images { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -5099,7 +5099,7 @@ pub mod images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5173,7 +5173,7 @@ pub mod images { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5234,7 +5234,7 @@ pub mod images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5255,7 +5255,7 @@ pub mod images { } } pub mod virtual_machine_scale_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5302,7 +5302,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5378,7 +5378,7 @@ pub mod virtual_machine_scale_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSet), @@ -5450,7 +5450,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5512,7 +5512,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5588,7 +5588,7 @@ pub mod virtual_machine_scale_sets { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5659,7 +5659,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5732,7 +5732,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5795,7 +5795,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5859,7 +5859,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5927,7 +5927,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5997,7 +5997,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_os_upgrade_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6072,7 +6072,7 @@ pub mod virtual_machine_scale_sets { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6147,7 +6147,7 @@ pub mod virtual_machine_scale_sets { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6219,7 +6219,7 @@ pub mod virtual_machine_scale_sets { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6294,7 +6294,7 @@ pub mod virtual_machine_scale_sets { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6369,7 +6369,7 @@ pub mod virtual_machine_scale_sets { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6440,7 +6440,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6515,7 +6515,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6590,7 +6590,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6666,7 +6666,7 @@ pub mod virtual_machine_scale_sets { } } pub mod force_recovery_service_fabric_platform_update_domain_walk { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6733,7 +6733,7 @@ pub mod virtual_machine_scale_sets { } } pub mod convert_to_single_placement_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6801,7 +6801,7 @@ pub mod virtual_machine_scale_sets { } } pub mod set_orchestration_service_state { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6827,7 +6827,7 @@ pub mod virtual_machine_scale_sets { } } pub mod virtual_machine_scale_set_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6880,7 +6880,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6958,7 +6958,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetExtension), @@ -7038,7 +7038,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetExtension), @@ -7107,7 +7107,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7178,7 +7178,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7199,7 +7199,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod virtual_machine_scale_set_rolling_upgrades { - use crate::models::*; + use super::{models, models::*}; pub async fn cancel( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7243,7 +7243,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7313,7 +7313,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_os_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7385,7 +7385,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_extension_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7458,7 +7458,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod get_latest { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7479,7 +7479,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod virtual_machine_scale_set_vm_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7536,7 +7536,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7621,7 +7621,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineExtension), @@ -7702,7 +7702,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7773,7 +7773,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7855,7 +7855,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7879,7 +7879,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod virtual_machine_scale_set_v_ms { - use crate::models::*; + use super::{models, models::*}; pub async fn reimage( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7933,7 +7933,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8005,7 +8005,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8077,7 +8077,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8153,7 +8153,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8228,7 +8228,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetVm), @@ -8297,7 +8297,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8373,7 +8373,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8450,7 +8450,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8522,7 +8522,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8594,7 +8594,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8663,7 +8663,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8735,7 +8735,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8800,7 +8800,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8864,7 +8864,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod simulate_eviction { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8937,7 +8937,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -8963,7 +8963,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod log_analytics { - use crate::models::*; + use super::{models, models::*}; pub async fn export_request_rate_by_interval( operation_config: &crate::OperationConfig, parameters: &RequestRateByIntervalInput, @@ -9016,7 +9016,7 @@ pub mod log_analytics { } } pub mod export_request_rate_by_interval { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -9092,7 +9092,7 @@ pub mod log_analytics { } } pub mod export_throttled_requests { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -9118,7 +9118,7 @@ pub mod log_analytics { } } pub mod virtual_machine_run_commands { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -9163,7 +9163,7 @@ pub mod virtual_machine_run_commands { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9228,7 +9228,7 @@ pub mod virtual_machine_run_commands { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9249,7 +9249,7 @@ pub mod virtual_machine_run_commands { } } pub mod resource_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9296,7 +9296,7 @@ pub mod resource_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9317,7 +9317,7 @@ pub mod resource_skus { } } pub mod disks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9364,7 +9364,7 @@ pub mod disks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9440,7 +9440,7 @@ pub mod disks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -9518,7 +9518,7 @@ pub mod disks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -9585,7 +9585,7 @@ pub mod disks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9659,7 +9659,7 @@ pub mod disks { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9717,7 +9717,7 @@ pub mod disks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9788,7 +9788,7 @@ pub mod disks { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -9858,7 +9858,7 @@ pub mod disks { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9884,7 +9884,7 @@ pub mod disks { } } pub mod snapshots { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9931,7 +9931,7 @@ pub mod snapshots { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10007,7 +10007,7 @@ pub mod snapshots { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -10085,7 +10085,7 @@ pub mod snapshots { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -10152,7 +10152,7 @@ pub mod snapshots { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10226,7 +10226,7 @@ pub mod snapshots { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10284,7 +10284,7 @@ pub mod snapshots { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10355,7 +10355,7 @@ pub mod snapshots { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -10425,7 +10425,7 @@ pub mod snapshots { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10451,7 +10451,7 @@ pub mod snapshots { } } pub mod disk_encryption_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10500,7 +10500,7 @@ pub mod disk_encryption_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10581,7 +10581,7 @@ pub mod disk_encryption_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskEncryptionSet), @@ -10664,7 +10664,7 @@ pub mod disk_encryption_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskEncryptionSet), @@ -10736,7 +10736,7 @@ pub mod disk_encryption_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10815,7 +10815,7 @@ pub mod disk_encryption_sets { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10881,7 +10881,7 @@ pub mod disk_encryption_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10905,7 +10905,7 @@ pub mod disk_encryption_sets { } } pub mod disk_accesses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10954,7 +10954,7 @@ pub mod disk_accesses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11035,7 +11035,7 @@ pub mod disk_accesses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskAccess), @@ -11118,7 +11118,7 @@ pub mod disk_accesses { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskAccess), @@ -11190,7 +11190,7 @@ pub mod disk_accesses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11269,7 +11269,7 @@ pub mod disk_accesses { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11335,7 +11335,7 @@ pub mod disk_accesses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11408,7 +11408,7 @@ pub mod disk_accesses { } } pub mod get_private_link_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11429,7 +11429,7 @@ pub mod disk_accesses { } } pub mod galleries { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11478,7 +11478,7 @@ pub mod galleries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11565,7 +11565,7 @@ pub mod galleries { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Gallery), @@ -11643,7 +11643,7 @@ pub mod galleries { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11710,7 +11710,7 @@ pub mod galleries { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11789,7 +11789,7 @@ pub mod galleries { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11852,7 +11852,7 @@ pub mod galleries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11876,7 +11876,7 @@ pub mod galleries { } } pub mod gallery_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11927,7 +11927,7 @@ pub mod gallery_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12016,7 +12016,7 @@ pub mod gallery_images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryImage), @@ -12096,7 +12096,7 @@ pub mod gallery_images { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12165,7 +12165,7 @@ pub mod gallery_images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12244,7 +12244,7 @@ pub mod gallery_images { } } pub mod list_by_gallery { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12268,7 +12268,7 @@ pub mod gallery_images { } } pub mod gallery_image_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12325,7 +12325,7 @@ pub mod gallery_image_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12416,7 +12416,7 @@ pub mod gallery_image_versions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryImageVersion), @@ -12498,7 +12498,7 @@ pub mod gallery_image_versions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12569,7 +12569,7 @@ pub mod gallery_image_versions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12652,7 +12652,7 @@ pub mod gallery_image_versions { } } pub mod list_by_gallery_image { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12676,7 +12676,7 @@ pub mod gallery_image_versions { } } pub mod gallery_applications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12727,7 +12727,7 @@ pub mod gallery_applications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12816,7 +12816,7 @@ pub mod gallery_applications { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryApplication), @@ -12896,7 +12896,7 @@ pub mod gallery_applications { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12965,7 +12965,7 @@ pub mod gallery_applications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13044,7 +13044,7 @@ pub mod gallery_applications { } } pub mod list_by_gallery { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13068,7 +13068,7 @@ pub mod gallery_applications { } } pub mod gallery_application_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -13125,7 +13125,7 @@ pub mod gallery_application_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13216,7 +13216,7 @@ pub mod gallery_application_versions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryApplicationVersion), @@ -13298,7 +13298,7 @@ pub mod gallery_application_versions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13369,7 +13369,7 @@ pub mod gallery_application_versions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13452,7 +13452,7 @@ pub mod gallery_application_versions { } } pub mod list_by_gallery_application { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13476,7 +13476,7 @@ pub mod gallery_application_versions { } } pub mod container_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -13519,7 +13519,7 @@ pub mod container_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13584,7 +13584,7 @@ pub mod container_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13666,7 +13666,7 @@ pub mod container_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerService), @@ -13733,7 +13733,7 @@ pub mod container_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -13806,7 +13806,7 @@ pub mod container_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/compute/src/package_2020_05_01_only/operations.rs b/services/mgmt/compute/src/package_2020_05_01_only/operations.rs index d96dae71dd..e0c8841bc1 100644 --- a/services/mgmt/compute/src/package_2020_05_01_only/operations.rs +++ b/services/mgmt/compute/src/package_2020_05_01_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod disks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -51,7 +51,7 @@ pub mod disks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod disks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -205,7 +205,7 @@ pub mod disks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -272,7 +272,7 @@ pub mod disks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -346,7 +346,7 @@ pub mod disks { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -404,7 +404,7 @@ pub mod disks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -475,7 +475,7 @@ pub mod disks { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -545,7 +545,7 @@ pub mod disks { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -571,7 +571,7 @@ pub mod disks { } } pub mod snapshots { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -618,7 +618,7 @@ pub mod snapshots { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -694,7 +694,7 @@ pub mod snapshots { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -772,7 +772,7 @@ pub mod snapshots { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -839,7 +839,7 @@ pub mod snapshots { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -913,7 +913,7 @@ pub mod snapshots { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -971,7 +971,7 @@ pub mod snapshots { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1042,7 +1042,7 @@ pub mod snapshots { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -1112,7 +1112,7 @@ pub mod snapshots { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1138,7 +1138,7 @@ pub mod snapshots { } } pub mod disk_encryption_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1187,7 +1187,7 @@ pub mod disk_encryption_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1268,7 +1268,7 @@ pub mod disk_encryption_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskEncryptionSet), @@ -1351,7 +1351,7 @@ pub mod disk_encryption_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskEncryptionSet), @@ -1423,7 +1423,7 @@ pub mod disk_encryption_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1502,7 +1502,7 @@ pub mod disk_encryption_sets { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1568,7 +1568,7 @@ pub mod disk_encryption_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1592,7 +1592,7 @@ pub mod disk_encryption_sets { } } pub mod disk_accesses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1641,7 +1641,7 @@ pub mod disk_accesses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1722,7 +1722,7 @@ pub mod disk_accesses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskAccess), @@ -1805,7 +1805,7 @@ pub mod disk_accesses { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskAccess), @@ -1877,7 +1877,7 @@ pub mod disk_accesses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1956,7 +1956,7 @@ pub mod disk_accesses { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2022,7 +2022,7 @@ pub mod disk_accesses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2095,7 +2095,7 @@ pub mod disk_accesses { } } pub mod get_private_link_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/compute/src/package_2020_06_01/operations.rs b/services/mgmt/compute/src/package_2020_06_01/operations.rs index 6b87dd6e20..3236ee569e 100644 --- a/services/mgmt/compute/src/package_2020_06_01/operations.rs +++ b/services/mgmt/compute/src/package_2020_06_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Compute/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod availability_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -108,7 +108,7 @@ pub mod availability_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -178,7 +178,7 @@ pub mod availability_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -245,7 +245,7 @@ pub mod availability_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -306,7 +306,7 @@ pub mod availability_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -379,7 +379,7 @@ pub mod availability_sets { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -442,7 +442,7 @@ pub mod availability_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -510,7 +510,7 @@ pub mod availability_sets { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -531,7 +531,7 @@ pub mod availability_sets { } } pub mod proximity_placement_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -583,7 +583,7 @@ pub mod proximity_placement_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -659,7 +659,7 @@ pub mod proximity_placement_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProximityPlacementGroup), @@ -731,7 +731,7 @@ pub mod proximity_placement_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -791,7 +791,7 @@ pub mod proximity_placement_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -855,7 +855,7 @@ pub mod proximity_placement_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -923,7 +923,7 @@ pub mod proximity_placement_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -944,7 +944,7 @@ pub mod proximity_placement_groups { } } pub mod dedicated_host_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -995,7 +995,7 @@ pub mod dedicated_host_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1071,7 +1071,7 @@ pub mod dedicated_host_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DedicatedHostGroup), @@ -1143,7 +1143,7 @@ pub mod dedicated_host_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1204,7 +1204,7 @@ pub mod dedicated_host_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1277,7 +1277,7 @@ pub mod dedicated_host_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1341,7 +1341,7 @@ pub mod dedicated_host_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1362,7 +1362,7 @@ pub mod dedicated_host_groups { } } pub mod dedicated_hosts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1415,7 +1415,7 @@ pub mod dedicated_hosts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1493,7 +1493,7 @@ pub mod dedicated_hosts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DedicatedHost), @@ -1567,7 +1567,7 @@ pub mod dedicated_hosts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1631,7 +1631,7 @@ pub mod dedicated_hosts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1705,7 +1705,7 @@ pub mod dedicated_hosts { } } pub mod list_by_host_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1726,7 +1726,7 @@ pub mod dedicated_hosts { } } pub mod ssh_public_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1772,7 +1772,7 @@ pub mod ssh_public_keys { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1840,7 +1840,7 @@ pub mod ssh_public_keys { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1905,7 +1905,7 @@ pub mod ssh_public_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1978,7 +1978,7 @@ pub mod ssh_public_keys { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SshPublicKeyResource), @@ -2050,7 +2050,7 @@ pub mod ssh_public_keys { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2111,7 +2111,7 @@ pub mod ssh_public_keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2185,7 +2185,7 @@ pub mod ssh_public_keys { } } pub mod generate_key_pair { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2206,7 +2206,7 @@ pub mod ssh_public_keys { } } pub mod virtual_machine_extension_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -2257,7 +2257,7 @@ pub mod virtual_machine_extension_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2325,7 +2325,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2407,7 +2407,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2428,7 +2428,7 @@ pub mod virtual_machine_extension_images { } } pub mod virtual_machine_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2481,7 +2481,7 @@ pub mod virtual_machine_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2559,7 +2559,7 @@ pub mod virtual_machine_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineExtension), @@ -2633,7 +2633,7 @@ pub mod virtual_machine_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2697,7 +2697,7 @@ pub mod virtual_machine_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2772,7 +2772,7 @@ pub mod virtual_machine_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2793,7 +2793,7 @@ pub mod virtual_machine_extensions { } } pub mod virtual_machine_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -2837,7 +2837,7 @@ pub mod virtual_machine_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2918,7 +2918,7 @@ pub mod virtual_machine_images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2986,7 +2986,7 @@ pub mod virtual_machine_images { } } pub mod list_offers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3052,7 +3052,7 @@ pub mod virtual_machine_images { } } pub mod list_publishers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3122,7 +3122,7 @@ pub mod virtual_machine_images { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3143,7 +3143,7 @@ pub mod virtual_machine_images { } } pub mod usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -3188,7 +3188,7 @@ pub mod usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3209,7 +3209,7 @@ pub mod usage { } } pub mod virtual_machines { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, location: &str, @@ -3257,7 +3257,7 @@ pub mod virtual_machines { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3328,7 +3328,7 @@ pub mod virtual_machines { } } pub mod capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineCaptureResult), @@ -3402,7 +3402,7 @@ pub mod virtual_machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3478,7 +3478,7 @@ pub mod virtual_machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -3556,7 +3556,7 @@ pub mod virtual_machines { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -3628,7 +3628,7 @@ pub mod virtual_machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3702,7 +3702,7 @@ pub mod virtual_machines { } } pub mod instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3769,7 +3769,7 @@ pub mod virtual_machines { } } pub mod convert_to_managed_disks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3839,7 +3839,7 @@ pub mod virtual_machines { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3908,7 +3908,7 @@ pub mod virtual_machines { } } pub mod generalize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3971,7 +3971,7 @@ pub mod virtual_machines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4039,7 +4039,7 @@ pub mod virtual_machines { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4107,7 +4107,7 @@ pub mod virtual_machines { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4177,7 +4177,7 @@ pub mod virtual_machines { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4249,7 +4249,7 @@ pub mod virtual_machines { } } pub mod reapply { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4322,7 +4322,7 @@ pub mod virtual_machines { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4389,7 +4389,7 @@ pub mod virtual_machines { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4459,7 +4459,7 @@ pub mod virtual_machines { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4534,7 +4534,7 @@ pub mod virtual_machines { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4619,7 +4619,7 @@ pub mod virtual_machines { } } pub mod retrieve_boot_diagnostics_data { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4687,7 +4687,7 @@ pub mod virtual_machines { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4756,7 +4756,7 @@ pub mod virtual_machines { } } pub mod simulate_eviction { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4828,7 +4828,7 @@ pub mod virtual_machines { } } pub mod assess_patches { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineAssessPatchesResult), @@ -4907,7 +4907,7 @@ pub mod virtual_machines { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -4933,7 +4933,7 @@ pub mod virtual_machines { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -4978,7 +4978,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4999,7 +4999,7 @@ pub mod virtual_machine_sizes { } } pub mod images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5050,7 +5050,7 @@ pub mod images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5126,7 +5126,7 @@ pub mod images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -5204,7 +5204,7 @@ pub mod images { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -5271,7 +5271,7 @@ pub mod images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5345,7 +5345,7 @@ pub mod images { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5406,7 +5406,7 @@ pub mod images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5427,7 +5427,7 @@ pub mod images { } } pub mod virtual_machine_scale_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5474,7 +5474,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5550,7 +5550,7 @@ pub mod virtual_machine_scale_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSet), @@ -5622,7 +5622,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5684,7 +5684,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5760,7 +5760,7 @@ pub mod virtual_machine_scale_sets { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5831,7 +5831,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5904,7 +5904,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5967,7 +5967,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6031,7 +6031,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6099,7 +6099,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6169,7 +6169,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_os_upgrade_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6244,7 +6244,7 @@ pub mod virtual_machine_scale_sets { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6319,7 +6319,7 @@ pub mod virtual_machine_scale_sets { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6391,7 +6391,7 @@ pub mod virtual_machine_scale_sets { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6466,7 +6466,7 @@ pub mod virtual_machine_scale_sets { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6541,7 +6541,7 @@ pub mod virtual_machine_scale_sets { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6612,7 +6612,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6687,7 +6687,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6762,7 +6762,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6838,7 +6838,7 @@ pub mod virtual_machine_scale_sets { } } pub mod force_recovery_service_fabric_platform_update_domain_walk { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6905,7 +6905,7 @@ pub mod virtual_machine_scale_sets { } } pub mod convert_to_single_placement_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6973,7 +6973,7 @@ pub mod virtual_machine_scale_sets { } } pub mod set_orchestration_service_state { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6999,7 +6999,7 @@ pub mod virtual_machine_scale_sets { } } pub mod virtual_machine_scale_set_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7052,7 +7052,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7130,7 +7130,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetExtension), @@ -7210,7 +7210,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetExtension), @@ -7279,7 +7279,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7350,7 +7350,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7371,7 +7371,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod virtual_machine_scale_set_rolling_upgrades { - use crate::models::*; + use super::{models, models::*}; pub async fn cancel( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7415,7 +7415,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7485,7 +7485,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_os_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7557,7 +7557,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_extension_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7630,7 +7630,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod get_latest { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7651,7 +7651,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod virtual_machine_scale_set_vm_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7708,7 +7708,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7793,7 +7793,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetVmExtension), @@ -7874,7 +7874,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7945,7 +7945,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8027,7 +8027,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8051,7 +8051,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod virtual_machine_scale_set_v_ms { - use crate::models::*; + use super::{models, models::*}; pub async fn reimage( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8105,7 +8105,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8177,7 +8177,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8249,7 +8249,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8325,7 +8325,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8400,7 +8400,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetVm), @@ -8469,7 +8469,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8545,7 +8545,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8622,7 +8622,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8694,7 +8694,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8766,7 +8766,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8835,7 +8835,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8907,7 +8907,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8987,7 +8987,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod retrieve_boot_diagnostics_data { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9050,7 +9050,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9114,7 +9114,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod simulate_eviction { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9187,7 +9187,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -9213,7 +9213,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod log_analytics { - use crate::models::*; + use super::{models, models::*}; pub async fn export_request_rate_by_interval( operation_config: &crate::OperationConfig, parameters: &RequestRateByIntervalInput, @@ -9266,7 +9266,7 @@ pub mod log_analytics { } } pub mod export_request_rate_by_interval { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -9342,7 +9342,7 @@ pub mod log_analytics { } } pub mod export_throttled_requests { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -9368,7 +9368,7 @@ pub mod log_analytics { } } pub mod virtual_machine_run_commands { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -9413,7 +9413,7 @@ pub mod virtual_machine_run_commands { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9478,7 +9478,7 @@ pub mod virtual_machine_run_commands { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9556,7 +9556,7 @@ pub mod virtual_machine_run_commands { } } pub mod get_by_virtual_machine { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9639,7 +9639,7 @@ pub mod virtual_machine_run_commands { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineRunCommand), @@ -9718,7 +9718,7 @@ pub mod virtual_machine_run_commands { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9787,7 +9787,7 @@ pub mod virtual_machine_run_commands { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9872,7 +9872,7 @@ pub mod virtual_machine_run_commands { } } pub mod list_by_virtual_machine { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9896,7 +9896,7 @@ pub mod virtual_machine_run_commands { } } pub mod virtual_machine_scale_set_vm_run_commands { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9945,7 +9945,7 @@ pub mod virtual_machine_scale_set_vm_run_commands { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10022,7 +10022,7 @@ pub mod virtual_machine_scale_set_vm_run_commands { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineRunCommand), @@ -10095,7 +10095,7 @@ pub mod virtual_machine_scale_set_vm_run_commands { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10158,7 +10158,7 @@ pub mod virtual_machine_scale_set_vm_run_commands { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10240,7 +10240,7 @@ pub mod virtual_machine_scale_set_vm_run_commands { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10264,7 +10264,7 @@ pub mod virtual_machine_scale_set_vm_run_commands { } } pub mod resource_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10311,7 +10311,7 @@ pub mod resource_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10332,7 +10332,7 @@ pub mod resource_skus { } } pub mod disks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10379,7 +10379,7 @@ pub mod disks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10455,7 +10455,7 @@ pub mod disks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -10533,7 +10533,7 @@ pub mod disks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -10600,7 +10600,7 @@ pub mod disks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10674,7 +10674,7 @@ pub mod disks { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10732,7 +10732,7 @@ pub mod disks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10803,7 +10803,7 @@ pub mod disks { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -10873,7 +10873,7 @@ pub mod disks { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10899,7 +10899,7 @@ pub mod disks { } } pub mod snapshots { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10946,7 +10946,7 @@ pub mod snapshots { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11022,7 +11022,7 @@ pub mod snapshots { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -11100,7 +11100,7 @@ pub mod snapshots { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -11167,7 +11167,7 @@ pub mod snapshots { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11241,7 +11241,7 @@ pub mod snapshots { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11299,7 +11299,7 @@ pub mod snapshots { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11370,7 +11370,7 @@ pub mod snapshots { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -11440,7 +11440,7 @@ pub mod snapshots { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11466,7 +11466,7 @@ pub mod snapshots { } } pub mod disk_encryption_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11515,7 +11515,7 @@ pub mod disk_encryption_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11596,7 +11596,7 @@ pub mod disk_encryption_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskEncryptionSet), @@ -11679,7 +11679,7 @@ pub mod disk_encryption_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskEncryptionSet), @@ -11751,7 +11751,7 @@ pub mod disk_encryption_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11830,7 +11830,7 @@ pub mod disk_encryption_sets { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11896,7 +11896,7 @@ pub mod disk_encryption_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11920,7 +11920,7 @@ pub mod disk_encryption_sets { } } pub mod disk_accesses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11969,7 +11969,7 @@ pub mod disk_accesses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12050,7 +12050,7 @@ pub mod disk_accesses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskAccess), @@ -12133,7 +12133,7 @@ pub mod disk_accesses { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskAccess), @@ -12205,7 +12205,7 @@ pub mod disk_accesses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12284,7 +12284,7 @@ pub mod disk_accesses { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12350,7 +12350,7 @@ pub mod disk_accesses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12423,7 +12423,7 @@ pub mod disk_accesses { } } pub mod get_private_link_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12444,7 +12444,7 @@ pub mod disk_accesses { } } pub mod galleries { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12493,7 +12493,7 @@ pub mod galleries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12580,7 +12580,7 @@ pub mod galleries { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Gallery), @@ -12658,7 +12658,7 @@ pub mod galleries { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12725,7 +12725,7 @@ pub mod galleries { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12804,7 +12804,7 @@ pub mod galleries { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12867,7 +12867,7 @@ pub mod galleries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12891,7 +12891,7 @@ pub mod galleries { } } pub mod gallery_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12942,7 +12942,7 @@ pub mod gallery_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13031,7 +13031,7 @@ pub mod gallery_images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryImage), @@ -13111,7 +13111,7 @@ pub mod gallery_images { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13180,7 +13180,7 @@ pub mod gallery_images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13259,7 +13259,7 @@ pub mod gallery_images { } } pub mod list_by_gallery { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13283,7 +13283,7 @@ pub mod gallery_images { } } pub mod gallery_image_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -13340,7 +13340,7 @@ pub mod gallery_image_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13431,7 +13431,7 @@ pub mod gallery_image_versions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryImageVersion), @@ -13513,7 +13513,7 @@ pub mod gallery_image_versions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13584,7 +13584,7 @@ pub mod gallery_image_versions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13667,7 +13667,7 @@ pub mod gallery_image_versions { } } pub mod list_by_gallery_image { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13691,7 +13691,7 @@ pub mod gallery_image_versions { } } pub mod gallery_applications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -13742,7 +13742,7 @@ pub mod gallery_applications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13831,7 +13831,7 @@ pub mod gallery_applications { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryApplication), @@ -13911,7 +13911,7 @@ pub mod gallery_applications { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13980,7 +13980,7 @@ pub mod gallery_applications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -14059,7 +14059,7 @@ pub mod gallery_applications { } } pub mod list_by_gallery { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14083,7 +14083,7 @@ pub mod gallery_applications { } } pub mod gallery_application_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -14140,7 +14140,7 @@ pub mod gallery_application_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14231,7 +14231,7 @@ pub mod gallery_application_versions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryApplicationVersion), @@ -14313,7 +14313,7 @@ pub mod gallery_application_versions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14384,7 +14384,7 @@ pub mod gallery_application_versions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -14467,7 +14467,7 @@ pub mod gallery_application_versions { } } pub mod list_by_gallery_application { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14491,7 +14491,7 @@ pub mod gallery_application_versions { } } pub mod container_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -14534,7 +14534,7 @@ pub mod container_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14599,7 +14599,7 @@ pub mod container_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14681,7 +14681,7 @@ pub mod container_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerService), @@ -14748,7 +14748,7 @@ pub mod container_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -14821,7 +14821,7 @@ pub mod container_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/compute/src/package_2020_06_01_only/operations.rs b/services/mgmt/compute/src/package_2020_06_01_only/operations.rs index fd9caa34ea..2b93ee3e22 100644 --- a/services/mgmt/compute/src/package_2020_06_01_only/operations.rs +++ b/services/mgmt/compute/src/package_2020_06_01_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Compute/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod availability_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -108,7 +108,7 @@ pub mod availability_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -178,7 +178,7 @@ pub mod availability_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -245,7 +245,7 @@ pub mod availability_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -306,7 +306,7 @@ pub mod availability_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -379,7 +379,7 @@ pub mod availability_sets { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -442,7 +442,7 @@ pub mod availability_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -510,7 +510,7 @@ pub mod availability_sets { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -531,7 +531,7 @@ pub mod availability_sets { } } pub mod proximity_placement_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -583,7 +583,7 @@ pub mod proximity_placement_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -659,7 +659,7 @@ pub mod proximity_placement_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProximityPlacementGroup), @@ -731,7 +731,7 @@ pub mod proximity_placement_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -791,7 +791,7 @@ pub mod proximity_placement_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -855,7 +855,7 @@ pub mod proximity_placement_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -923,7 +923,7 @@ pub mod proximity_placement_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -944,7 +944,7 @@ pub mod proximity_placement_groups { } } pub mod dedicated_host_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -995,7 +995,7 @@ pub mod dedicated_host_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1071,7 +1071,7 @@ pub mod dedicated_host_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DedicatedHostGroup), @@ -1143,7 +1143,7 @@ pub mod dedicated_host_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1204,7 +1204,7 @@ pub mod dedicated_host_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1277,7 +1277,7 @@ pub mod dedicated_host_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1341,7 +1341,7 @@ pub mod dedicated_host_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1362,7 +1362,7 @@ pub mod dedicated_host_groups { } } pub mod dedicated_hosts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1415,7 +1415,7 @@ pub mod dedicated_hosts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1493,7 +1493,7 @@ pub mod dedicated_hosts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DedicatedHost), @@ -1567,7 +1567,7 @@ pub mod dedicated_hosts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1631,7 +1631,7 @@ pub mod dedicated_hosts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1705,7 +1705,7 @@ pub mod dedicated_hosts { } } pub mod list_by_host_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1726,7 +1726,7 @@ pub mod dedicated_hosts { } } pub mod ssh_public_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1772,7 +1772,7 @@ pub mod ssh_public_keys { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1840,7 +1840,7 @@ pub mod ssh_public_keys { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1905,7 +1905,7 @@ pub mod ssh_public_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1978,7 +1978,7 @@ pub mod ssh_public_keys { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SshPublicKeyResource), @@ -2050,7 +2050,7 @@ pub mod ssh_public_keys { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2111,7 +2111,7 @@ pub mod ssh_public_keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2185,7 +2185,7 @@ pub mod ssh_public_keys { } } pub mod generate_key_pair { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2206,7 +2206,7 @@ pub mod ssh_public_keys { } } pub mod virtual_machine_extension_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -2257,7 +2257,7 @@ pub mod virtual_machine_extension_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2325,7 +2325,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2407,7 +2407,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2428,7 +2428,7 @@ pub mod virtual_machine_extension_images { } } pub mod virtual_machine_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2481,7 +2481,7 @@ pub mod virtual_machine_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2559,7 +2559,7 @@ pub mod virtual_machine_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineExtension), @@ -2633,7 +2633,7 @@ pub mod virtual_machine_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2697,7 +2697,7 @@ pub mod virtual_machine_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2772,7 +2772,7 @@ pub mod virtual_machine_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2793,7 +2793,7 @@ pub mod virtual_machine_extensions { } } pub mod virtual_machine_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -2837,7 +2837,7 @@ pub mod virtual_machine_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2918,7 +2918,7 @@ pub mod virtual_machine_images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2986,7 +2986,7 @@ pub mod virtual_machine_images { } } pub mod list_offers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3052,7 +3052,7 @@ pub mod virtual_machine_images { } } pub mod list_publishers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3122,7 +3122,7 @@ pub mod virtual_machine_images { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3143,7 +3143,7 @@ pub mod virtual_machine_images { } } pub mod usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -3188,7 +3188,7 @@ pub mod usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3209,7 +3209,7 @@ pub mod usage { } } pub mod virtual_machines { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, location: &str, @@ -3257,7 +3257,7 @@ pub mod virtual_machines { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3328,7 +3328,7 @@ pub mod virtual_machines { } } pub mod capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineCaptureResult), @@ -3402,7 +3402,7 @@ pub mod virtual_machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3478,7 +3478,7 @@ pub mod virtual_machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -3556,7 +3556,7 @@ pub mod virtual_machines { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -3628,7 +3628,7 @@ pub mod virtual_machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3702,7 +3702,7 @@ pub mod virtual_machines { } } pub mod instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3769,7 +3769,7 @@ pub mod virtual_machines { } } pub mod convert_to_managed_disks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3839,7 +3839,7 @@ pub mod virtual_machines { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3908,7 +3908,7 @@ pub mod virtual_machines { } } pub mod generalize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3971,7 +3971,7 @@ pub mod virtual_machines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4039,7 +4039,7 @@ pub mod virtual_machines { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4107,7 +4107,7 @@ pub mod virtual_machines { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4177,7 +4177,7 @@ pub mod virtual_machines { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4249,7 +4249,7 @@ pub mod virtual_machines { } } pub mod reapply { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4322,7 +4322,7 @@ pub mod virtual_machines { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4389,7 +4389,7 @@ pub mod virtual_machines { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4459,7 +4459,7 @@ pub mod virtual_machines { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4534,7 +4534,7 @@ pub mod virtual_machines { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4619,7 +4619,7 @@ pub mod virtual_machines { } } pub mod retrieve_boot_diagnostics_data { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4687,7 +4687,7 @@ pub mod virtual_machines { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4756,7 +4756,7 @@ pub mod virtual_machines { } } pub mod simulate_eviction { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4828,7 +4828,7 @@ pub mod virtual_machines { } } pub mod assess_patches { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineAssessPatchesResult), @@ -4907,7 +4907,7 @@ pub mod virtual_machines { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -4933,7 +4933,7 @@ pub mod virtual_machines { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -4978,7 +4978,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4999,7 +4999,7 @@ pub mod virtual_machine_sizes { } } pub mod images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5050,7 +5050,7 @@ pub mod images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5126,7 +5126,7 @@ pub mod images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -5204,7 +5204,7 @@ pub mod images { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -5271,7 +5271,7 @@ pub mod images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5345,7 +5345,7 @@ pub mod images { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5406,7 +5406,7 @@ pub mod images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5427,7 +5427,7 @@ pub mod images { } } pub mod virtual_machine_scale_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5474,7 +5474,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5550,7 +5550,7 @@ pub mod virtual_machine_scale_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSet), @@ -5622,7 +5622,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5684,7 +5684,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5760,7 +5760,7 @@ pub mod virtual_machine_scale_sets { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5831,7 +5831,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5904,7 +5904,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5967,7 +5967,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6031,7 +6031,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6099,7 +6099,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6169,7 +6169,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_os_upgrade_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6244,7 +6244,7 @@ pub mod virtual_machine_scale_sets { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6319,7 +6319,7 @@ pub mod virtual_machine_scale_sets { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6391,7 +6391,7 @@ pub mod virtual_machine_scale_sets { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6466,7 +6466,7 @@ pub mod virtual_machine_scale_sets { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6541,7 +6541,7 @@ pub mod virtual_machine_scale_sets { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6612,7 +6612,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6687,7 +6687,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6762,7 +6762,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6838,7 +6838,7 @@ pub mod virtual_machine_scale_sets { } } pub mod force_recovery_service_fabric_platform_update_domain_walk { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6905,7 +6905,7 @@ pub mod virtual_machine_scale_sets { } } pub mod convert_to_single_placement_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6973,7 +6973,7 @@ pub mod virtual_machine_scale_sets { } } pub mod set_orchestration_service_state { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6999,7 +6999,7 @@ pub mod virtual_machine_scale_sets { } } pub mod virtual_machine_scale_set_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7052,7 +7052,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7130,7 +7130,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetExtension), @@ -7210,7 +7210,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetExtension), @@ -7279,7 +7279,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7350,7 +7350,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7371,7 +7371,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod virtual_machine_scale_set_rolling_upgrades { - use crate::models::*; + use super::{models, models::*}; pub async fn cancel( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7415,7 +7415,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7485,7 +7485,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_os_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7557,7 +7557,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_extension_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7630,7 +7630,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod get_latest { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7651,7 +7651,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod virtual_machine_scale_set_vm_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7708,7 +7708,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7793,7 +7793,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetVmExtension), @@ -7874,7 +7874,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7945,7 +7945,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8027,7 +8027,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8051,7 +8051,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod virtual_machine_scale_set_v_ms { - use crate::models::*; + use super::{models, models::*}; pub async fn reimage( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8105,7 +8105,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8177,7 +8177,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8249,7 +8249,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8325,7 +8325,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8400,7 +8400,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetVm), @@ -8469,7 +8469,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8545,7 +8545,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8622,7 +8622,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8694,7 +8694,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8766,7 +8766,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8835,7 +8835,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8907,7 +8907,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8987,7 +8987,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod retrieve_boot_diagnostics_data { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9050,7 +9050,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9114,7 +9114,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod simulate_eviction { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9187,7 +9187,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -9213,7 +9213,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod log_analytics { - use crate::models::*; + use super::{models, models::*}; pub async fn export_request_rate_by_interval( operation_config: &crate::OperationConfig, parameters: &RequestRateByIntervalInput, @@ -9266,7 +9266,7 @@ pub mod log_analytics { } } pub mod export_request_rate_by_interval { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -9342,7 +9342,7 @@ pub mod log_analytics { } } pub mod export_throttled_requests { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -9368,7 +9368,7 @@ pub mod log_analytics { } } pub mod virtual_machine_run_commands { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -9413,7 +9413,7 @@ pub mod virtual_machine_run_commands { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9478,7 +9478,7 @@ pub mod virtual_machine_run_commands { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9556,7 +9556,7 @@ pub mod virtual_machine_run_commands { } } pub mod get_by_virtual_machine { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9639,7 +9639,7 @@ pub mod virtual_machine_run_commands { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineRunCommand), @@ -9718,7 +9718,7 @@ pub mod virtual_machine_run_commands { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9787,7 +9787,7 @@ pub mod virtual_machine_run_commands { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9872,7 +9872,7 @@ pub mod virtual_machine_run_commands { } } pub mod list_by_virtual_machine { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9896,7 +9896,7 @@ pub mod virtual_machine_run_commands { } } pub mod virtual_machine_scale_set_vm_run_commands { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9945,7 +9945,7 @@ pub mod virtual_machine_scale_set_vm_run_commands { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10022,7 +10022,7 @@ pub mod virtual_machine_scale_set_vm_run_commands { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineRunCommand), @@ -10095,7 +10095,7 @@ pub mod virtual_machine_scale_set_vm_run_commands { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10158,7 +10158,7 @@ pub mod virtual_machine_scale_set_vm_run_commands { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10240,7 +10240,7 @@ pub mod virtual_machine_scale_set_vm_run_commands { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/compute/src/package_2020_06_30/operations.rs b/services/mgmt/compute/src/package_2020_06_30/operations.rs index e5c22d0af8..c68a1ca632 100644 --- a/services/mgmt/compute/src/package_2020_06_30/operations.rs +++ b/services/mgmt/compute/src/package_2020_06_30/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Compute/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod availability_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -108,7 +108,7 @@ pub mod availability_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -178,7 +178,7 @@ pub mod availability_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -245,7 +245,7 @@ pub mod availability_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -306,7 +306,7 @@ pub mod availability_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -379,7 +379,7 @@ pub mod availability_sets { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -442,7 +442,7 @@ pub mod availability_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -510,7 +510,7 @@ pub mod availability_sets { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -531,7 +531,7 @@ pub mod availability_sets { } } pub mod proximity_placement_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -583,7 +583,7 @@ pub mod proximity_placement_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -659,7 +659,7 @@ pub mod proximity_placement_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProximityPlacementGroup), @@ -731,7 +731,7 @@ pub mod proximity_placement_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -791,7 +791,7 @@ pub mod proximity_placement_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -855,7 +855,7 @@ pub mod proximity_placement_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -923,7 +923,7 @@ pub mod proximity_placement_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -944,7 +944,7 @@ pub mod proximity_placement_groups { } } pub mod dedicated_host_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -995,7 +995,7 @@ pub mod dedicated_host_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1071,7 +1071,7 @@ pub mod dedicated_host_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DedicatedHostGroup), @@ -1143,7 +1143,7 @@ pub mod dedicated_host_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1204,7 +1204,7 @@ pub mod dedicated_host_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1277,7 +1277,7 @@ pub mod dedicated_host_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1341,7 +1341,7 @@ pub mod dedicated_host_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1362,7 +1362,7 @@ pub mod dedicated_host_groups { } } pub mod dedicated_hosts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1415,7 +1415,7 @@ pub mod dedicated_hosts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1493,7 +1493,7 @@ pub mod dedicated_hosts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DedicatedHost), @@ -1567,7 +1567,7 @@ pub mod dedicated_hosts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1631,7 +1631,7 @@ pub mod dedicated_hosts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1705,7 +1705,7 @@ pub mod dedicated_hosts { } } pub mod list_by_host_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1726,7 +1726,7 @@ pub mod dedicated_hosts { } } pub mod ssh_public_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1772,7 +1772,7 @@ pub mod ssh_public_keys { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1840,7 +1840,7 @@ pub mod ssh_public_keys { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1905,7 +1905,7 @@ pub mod ssh_public_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1978,7 +1978,7 @@ pub mod ssh_public_keys { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SshPublicKeyResource), @@ -2050,7 +2050,7 @@ pub mod ssh_public_keys { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2111,7 +2111,7 @@ pub mod ssh_public_keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2185,7 +2185,7 @@ pub mod ssh_public_keys { } } pub mod generate_key_pair { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2206,7 +2206,7 @@ pub mod ssh_public_keys { } } pub mod virtual_machine_extension_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -2257,7 +2257,7 @@ pub mod virtual_machine_extension_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2325,7 +2325,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2407,7 +2407,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2428,7 +2428,7 @@ pub mod virtual_machine_extension_images { } } pub mod virtual_machine_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2481,7 +2481,7 @@ pub mod virtual_machine_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2559,7 +2559,7 @@ pub mod virtual_machine_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineExtension), @@ -2633,7 +2633,7 @@ pub mod virtual_machine_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2697,7 +2697,7 @@ pub mod virtual_machine_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2772,7 +2772,7 @@ pub mod virtual_machine_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2793,7 +2793,7 @@ pub mod virtual_machine_extensions { } } pub mod virtual_machine_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -2837,7 +2837,7 @@ pub mod virtual_machine_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2918,7 +2918,7 @@ pub mod virtual_machine_images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2986,7 +2986,7 @@ pub mod virtual_machine_images { } } pub mod list_offers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3052,7 +3052,7 @@ pub mod virtual_machine_images { } } pub mod list_publishers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3122,7 +3122,7 @@ pub mod virtual_machine_images { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3143,7 +3143,7 @@ pub mod virtual_machine_images { } } pub mod usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -3188,7 +3188,7 @@ pub mod usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3209,7 +3209,7 @@ pub mod usage { } } pub mod virtual_machines { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, location: &str, @@ -3257,7 +3257,7 @@ pub mod virtual_machines { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3328,7 +3328,7 @@ pub mod virtual_machines { } } pub mod capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineCaptureResult), @@ -3402,7 +3402,7 @@ pub mod virtual_machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3478,7 +3478,7 @@ pub mod virtual_machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -3556,7 +3556,7 @@ pub mod virtual_machines { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -3628,7 +3628,7 @@ pub mod virtual_machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3702,7 +3702,7 @@ pub mod virtual_machines { } } pub mod instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3769,7 +3769,7 @@ pub mod virtual_machines { } } pub mod convert_to_managed_disks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3839,7 +3839,7 @@ pub mod virtual_machines { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3908,7 +3908,7 @@ pub mod virtual_machines { } } pub mod generalize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3971,7 +3971,7 @@ pub mod virtual_machines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4039,7 +4039,7 @@ pub mod virtual_machines { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4107,7 +4107,7 @@ pub mod virtual_machines { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4177,7 +4177,7 @@ pub mod virtual_machines { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4249,7 +4249,7 @@ pub mod virtual_machines { } } pub mod reapply { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4322,7 +4322,7 @@ pub mod virtual_machines { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4389,7 +4389,7 @@ pub mod virtual_machines { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4459,7 +4459,7 @@ pub mod virtual_machines { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4534,7 +4534,7 @@ pub mod virtual_machines { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4619,7 +4619,7 @@ pub mod virtual_machines { } } pub mod retrieve_boot_diagnostics_data { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4687,7 +4687,7 @@ pub mod virtual_machines { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4756,7 +4756,7 @@ pub mod virtual_machines { } } pub mod simulate_eviction { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4828,7 +4828,7 @@ pub mod virtual_machines { } } pub mod assess_patches { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineAssessPatchesResult), @@ -4907,7 +4907,7 @@ pub mod virtual_machines { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -4933,7 +4933,7 @@ pub mod virtual_machines { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -4978,7 +4978,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4999,7 +4999,7 @@ pub mod virtual_machine_sizes { } } pub mod images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5050,7 +5050,7 @@ pub mod images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5126,7 +5126,7 @@ pub mod images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -5204,7 +5204,7 @@ pub mod images { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -5271,7 +5271,7 @@ pub mod images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5345,7 +5345,7 @@ pub mod images { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5406,7 +5406,7 @@ pub mod images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5427,7 +5427,7 @@ pub mod images { } } pub mod virtual_machine_scale_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5474,7 +5474,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5550,7 +5550,7 @@ pub mod virtual_machine_scale_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSet), @@ -5622,7 +5622,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5684,7 +5684,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5760,7 +5760,7 @@ pub mod virtual_machine_scale_sets { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5831,7 +5831,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5904,7 +5904,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5967,7 +5967,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6031,7 +6031,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6099,7 +6099,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6169,7 +6169,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_os_upgrade_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6244,7 +6244,7 @@ pub mod virtual_machine_scale_sets { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6319,7 +6319,7 @@ pub mod virtual_machine_scale_sets { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6391,7 +6391,7 @@ pub mod virtual_machine_scale_sets { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6466,7 +6466,7 @@ pub mod virtual_machine_scale_sets { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6541,7 +6541,7 @@ pub mod virtual_machine_scale_sets { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6612,7 +6612,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6687,7 +6687,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6762,7 +6762,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6838,7 +6838,7 @@ pub mod virtual_machine_scale_sets { } } pub mod force_recovery_service_fabric_platform_update_domain_walk { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6905,7 +6905,7 @@ pub mod virtual_machine_scale_sets { } } pub mod convert_to_single_placement_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6973,7 +6973,7 @@ pub mod virtual_machine_scale_sets { } } pub mod set_orchestration_service_state { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6999,7 +6999,7 @@ pub mod virtual_machine_scale_sets { } } pub mod virtual_machine_scale_set_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7052,7 +7052,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7130,7 +7130,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetExtension), @@ -7210,7 +7210,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetExtension), @@ -7279,7 +7279,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7350,7 +7350,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7371,7 +7371,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod virtual_machine_scale_set_rolling_upgrades { - use crate::models::*; + use super::{models, models::*}; pub async fn cancel( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7415,7 +7415,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7485,7 +7485,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_os_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7557,7 +7557,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_extension_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7630,7 +7630,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod get_latest { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7651,7 +7651,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod virtual_machine_scale_set_vm_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7708,7 +7708,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7793,7 +7793,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetVmExtension), @@ -7874,7 +7874,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7945,7 +7945,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8027,7 +8027,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8051,7 +8051,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod virtual_machine_scale_set_v_ms { - use crate::models::*; + use super::{models, models::*}; pub async fn reimage( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8105,7 +8105,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8177,7 +8177,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8249,7 +8249,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8325,7 +8325,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8400,7 +8400,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetVm), @@ -8469,7 +8469,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8545,7 +8545,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8622,7 +8622,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8694,7 +8694,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8766,7 +8766,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8835,7 +8835,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8907,7 +8907,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8987,7 +8987,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod retrieve_boot_diagnostics_data { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9050,7 +9050,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9114,7 +9114,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod simulate_eviction { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9187,7 +9187,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -9213,7 +9213,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod log_analytics { - use crate::models::*; + use super::{models, models::*}; pub async fn export_request_rate_by_interval( operation_config: &crate::OperationConfig, parameters: &RequestRateByIntervalInput, @@ -9266,7 +9266,7 @@ pub mod log_analytics { } } pub mod export_request_rate_by_interval { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -9342,7 +9342,7 @@ pub mod log_analytics { } } pub mod export_throttled_requests { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -9368,7 +9368,7 @@ pub mod log_analytics { } } pub mod virtual_machine_run_commands { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -9413,7 +9413,7 @@ pub mod virtual_machine_run_commands { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9478,7 +9478,7 @@ pub mod virtual_machine_run_commands { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9556,7 +9556,7 @@ pub mod virtual_machine_run_commands { } } pub mod get_by_virtual_machine { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9639,7 +9639,7 @@ pub mod virtual_machine_run_commands { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineRunCommand), @@ -9718,7 +9718,7 @@ pub mod virtual_machine_run_commands { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9787,7 +9787,7 @@ pub mod virtual_machine_run_commands { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9872,7 +9872,7 @@ pub mod virtual_machine_run_commands { } } pub mod list_by_virtual_machine { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9896,7 +9896,7 @@ pub mod virtual_machine_run_commands { } } pub mod virtual_machine_scale_set_vm_run_commands { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9945,7 +9945,7 @@ pub mod virtual_machine_scale_set_vm_run_commands { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10022,7 +10022,7 @@ pub mod virtual_machine_scale_set_vm_run_commands { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineRunCommand), @@ -10095,7 +10095,7 @@ pub mod virtual_machine_scale_set_vm_run_commands { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10158,7 +10158,7 @@ pub mod virtual_machine_scale_set_vm_run_commands { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10240,7 +10240,7 @@ pub mod virtual_machine_scale_set_vm_run_commands { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10264,7 +10264,7 @@ pub mod virtual_machine_scale_set_vm_run_commands { } } pub mod resource_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10311,7 +10311,7 @@ pub mod resource_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10332,7 +10332,7 @@ pub mod resource_skus { } } pub mod disks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10379,7 +10379,7 @@ pub mod disks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10455,7 +10455,7 @@ pub mod disks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -10533,7 +10533,7 @@ pub mod disks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -10600,7 +10600,7 @@ pub mod disks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10674,7 +10674,7 @@ pub mod disks { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10732,7 +10732,7 @@ pub mod disks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10803,7 +10803,7 @@ pub mod disks { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -10873,7 +10873,7 @@ pub mod disks { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10899,7 +10899,7 @@ pub mod disks { } } pub mod snapshots { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10946,7 +10946,7 @@ pub mod snapshots { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11022,7 +11022,7 @@ pub mod snapshots { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -11100,7 +11100,7 @@ pub mod snapshots { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -11167,7 +11167,7 @@ pub mod snapshots { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11241,7 +11241,7 @@ pub mod snapshots { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11299,7 +11299,7 @@ pub mod snapshots { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11370,7 +11370,7 @@ pub mod snapshots { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -11440,7 +11440,7 @@ pub mod snapshots { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11466,7 +11466,7 @@ pub mod snapshots { } } pub mod disk_encryption_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11515,7 +11515,7 @@ pub mod disk_encryption_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11596,7 +11596,7 @@ pub mod disk_encryption_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskEncryptionSet), @@ -11679,7 +11679,7 @@ pub mod disk_encryption_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskEncryptionSet), @@ -11751,7 +11751,7 @@ pub mod disk_encryption_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11830,7 +11830,7 @@ pub mod disk_encryption_sets { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11896,7 +11896,7 @@ pub mod disk_encryption_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11971,7 +11971,7 @@ pub mod disk_encryption_sets { } } pub mod list_associated_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11995,7 +11995,7 @@ pub mod disk_encryption_sets { } } pub mod disk_accesses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12044,7 +12044,7 @@ pub mod disk_accesses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12125,7 +12125,7 @@ pub mod disk_accesses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskAccess), @@ -12208,7 +12208,7 @@ pub mod disk_accesses { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskAccess), @@ -12280,7 +12280,7 @@ pub mod disk_accesses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12359,7 +12359,7 @@ pub mod disk_accesses { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12425,7 +12425,7 @@ pub mod disk_accesses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12498,7 +12498,7 @@ pub mod disk_accesses { } } pub mod get_private_link_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12519,7 +12519,7 @@ pub mod disk_accesses { } } pub mod galleries { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12568,7 +12568,7 @@ pub mod galleries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12655,7 +12655,7 @@ pub mod galleries { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Gallery), @@ -12733,7 +12733,7 @@ pub mod galleries { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12800,7 +12800,7 @@ pub mod galleries { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12879,7 +12879,7 @@ pub mod galleries { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12942,7 +12942,7 @@ pub mod galleries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12966,7 +12966,7 @@ pub mod galleries { } } pub mod gallery_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -13017,7 +13017,7 @@ pub mod gallery_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13106,7 +13106,7 @@ pub mod gallery_images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryImage), @@ -13186,7 +13186,7 @@ pub mod gallery_images { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13255,7 +13255,7 @@ pub mod gallery_images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13334,7 +13334,7 @@ pub mod gallery_images { } } pub mod list_by_gallery { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13358,7 +13358,7 @@ pub mod gallery_images { } } pub mod gallery_image_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -13415,7 +13415,7 @@ pub mod gallery_image_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13506,7 +13506,7 @@ pub mod gallery_image_versions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryImageVersion), @@ -13588,7 +13588,7 @@ pub mod gallery_image_versions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13659,7 +13659,7 @@ pub mod gallery_image_versions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13742,7 +13742,7 @@ pub mod gallery_image_versions { } } pub mod list_by_gallery_image { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13766,7 +13766,7 @@ pub mod gallery_image_versions { } } pub mod gallery_applications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -13817,7 +13817,7 @@ pub mod gallery_applications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13906,7 +13906,7 @@ pub mod gallery_applications { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryApplication), @@ -13986,7 +13986,7 @@ pub mod gallery_applications { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14055,7 +14055,7 @@ pub mod gallery_applications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -14134,7 +14134,7 @@ pub mod gallery_applications { } } pub mod list_by_gallery { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14158,7 +14158,7 @@ pub mod gallery_applications { } } pub mod gallery_application_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -14215,7 +14215,7 @@ pub mod gallery_application_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14306,7 +14306,7 @@ pub mod gallery_application_versions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryApplicationVersion), @@ -14388,7 +14388,7 @@ pub mod gallery_application_versions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14459,7 +14459,7 @@ pub mod gallery_application_versions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -14542,7 +14542,7 @@ pub mod gallery_application_versions { } } pub mod list_by_gallery_application { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14566,7 +14566,7 @@ pub mod gallery_application_versions { } } pub mod container_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -14609,7 +14609,7 @@ pub mod container_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14674,7 +14674,7 @@ pub mod container_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14756,7 +14756,7 @@ pub mod container_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerService), @@ -14823,7 +14823,7 @@ pub mod container_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -14896,7 +14896,7 @@ pub mod container_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/compute/src/package_2020_06_30_only/operations.rs b/services/mgmt/compute/src/package_2020_06_30_only/operations.rs index 61f85e7e74..b4aef362f7 100644 --- a/services/mgmt/compute/src/package_2020_06_30_only/operations.rs +++ b/services/mgmt/compute/src/package_2020_06_30_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod disks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -51,7 +51,7 @@ pub mod disks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod disks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -205,7 +205,7 @@ pub mod disks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -272,7 +272,7 @@ pub mod disks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -346,7 +346,7 @@ pub mod disks { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -404,7 +404,7 @@ pub mod disks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -475,7 +475,7 @@ pub mod disks { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -545,7 +545,7 @@ pub mod disks { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -571,7 +571,7 @@ pub mod disks { } } pub mod snapshots { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -618,7 +618,7 @@ pub mod snapshots { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -694,7 +694,7 @@ pub mod snapshots { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -772,7 +772,7 @@ pub mod snapshots { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -839,7 +839,7 @@ pub mod snapshots { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -913,7 +913,7 @@ pub mod snapshots { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -971,7 +971,7 @@ pub mod snapshots { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1042,7 +1042,7 @@ pub mod snapshots { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -1112,7 +1112,7 @@ pub mod snapshots { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1138,7 +1138,7 @@ pub mod snapshots { } } pub mod disk_encryption_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1187,7 +1187,7 @@ pub mod disk_encryption_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1268,7 +1268,7 @@ pub mod disk_encryption_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskEncryptionSet), @@ -1351,7 +1351,7 @@ pub mod disk_encryption_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskEncryptionSet), @@ -1423,7 +1423,7 @@ pub mod disk_encryption_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1502,7 +1502,7 @@ pub mod disk_encryption_sets { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1568,7 +1568,7 @@ pub mod disk_encryption_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1643,7 +1643,7 @@ pub mod disk_encryption_sets { } } pub mod list_associated_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1667,7 +1667,7 @@ pub mod disk_encryption_sets { } } pub mod disk_accesses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1716,7 +1716,7 @@ pub mod disk_accesses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1797,7 +1797,7 @@ pub mod disk_accesses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskAccess), @@ -1880,7 +1880,7 @@ pub mod disk_accesses { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskAccess), @@ -1952,7 +1952,7 @@ pub mod disk_accesses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2031,7 +2031,7 @@ pub mod disk_accesses { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2097,7 +2097,7 @@ pub mod disk_accesses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2170,7 +2170,7 @@ pub mod disk_accesses { } } pub mod get_private_link_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/compute/src/package_2020_09_30/operations.rs b/services/mgmt/compute/src/package_2020_09_30/operations.rs index bd4f58917e..975d1ac135 100644 --- a/services/mgmt/compute/src/package_2020_09_30/operations.rs +++ b/services/mgmt/compute/src/package_2020_09_30/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Compute/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod availability_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -108,7 +108,7 @@ pub mod availability_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -178,7 +178,7 @@ pub mod availability_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -245,7 +245,7 @@ pub mod availability_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -306,7 +306,7 @@ pub mod availability_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -379,7 +379,7 @@ pub mod availability_sets { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -442,7 +442,7 @@ pub mod availability_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -510,7 +510,7 @@ pub mod availability_sets { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -531,7 +531,7 @@ pub mod availability_sets { } } pub mod proximity_placement_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -583,7 +583,7 @@ pub mod proximity_placement_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -659,7 +659,7 @@ pub mod proximity_placement_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProximityPlacementGroup), @@ -731,7 +731,7 @@ pub mod proximity_placement_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -791,7 +791,7 @@ pub mod proximity_placement_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -855,7 +855,7 @@ pub mod proximity_placement_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -923,7 +923,7 @@ pub mod proximity_placement_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -944,7 +944,7 @@ pub mod proximity_placement_groups { } } pub mod dedicated_host_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -995,7 +995,7 @@ pub mod dedicated_host_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1071,7 +1071,7 @@ pub mod dedicated_host_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DedicatedHostGroup), @@ -1143,7 +1143,7 @@ pub mod dedicated_host_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1204,7 +1204,7 @@ pub mod dedicated_host_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1277,7 +1277,7 @@ pub mod dedicated_host_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1341,7 +1341,7 @@ pub mod dedicated_host_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1362,7 +1362,7 @@ pub mod dedicated_host_groups { } } pub mod dedicated_hosts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1415,7 +1415,7 @@ pub mod dedicated_hosts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1493,7 +1493,7 @@ pub mod dedicated_hosts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DedicatedHost), @@ -1567,7 +1567,7 @@ pub mod dedicated_hosts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1631,7 +1631,7 @@ pub mod dedicated_hosts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1705,7 +1705,7 @@ pub mod dedicated_hosts { } } pub mod list_by_host_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1726,7 +1726,7 @@ pub mod dedicated_hosts { } } pub mod ssh_public_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1772,7 +1772,7 @@ pub mod ssh_public_keys { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1840,7 +1840,7 @@ pub mod ssh_public_keys { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1905,7 +1905,7 @@ pub mod ssh_public_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1978,7 +1978,7 @@ pub mod ssh_public_keys { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SshPublicKeyResource), @@ -2050,7 +2050,7 @@ pub mod ssh_public_keys { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2111,7 +2111,7 @@ pub mod ssh_public_keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2185,7 +2185,7 @@ pub mod ssh_public_keys { } } pub mod generate_key_pair { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2206,7 +2206,7 @@ pub mod ssh_public_keys { } } pub mod virtual_machine_extension_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -2257,7 +2257,7 @@ pub mod virtual_machine_extension_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2325,7 +2325,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2407,7 +2407,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2428,7 +2428,7 @@ pub mod virtual_machine_extension_images { } } pub mod virtual_machine_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2481,7 +2481,7 @@ pub mod virtual_machine_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2559,7 +2559,7 @@ pub mod virtual_machine_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineExtension), @@ -2633,7 +2633,7 @@ pub mod virtual_machine_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2697,7 +2697,7 @@ pub mod virtual_machine_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2772,7 +2772,7 @@ pub mod virtual_machine_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2793,7 +2793,7 @@ pub mod virtual_machine_extensions { } } pub mod virtual_machine_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -2837,7 +2837,7 @@ pub mod virtual_machine_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2918,7 +2918,7 @@ pub mod virtual_machine_images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2986,7 +2986,7 @@ pub mod virtual_machine_images { } } pub mod list_offers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3052,7 +3052,7 @@ pub mod virtual_machine_images { } } pub mod list_publishers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3122,7 +3122,7 @@ pub mod virtual_machine_images { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3143,7 +3143,7 @@ pub mod virtual_machine_images { } } pub mod usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -3188,7 +3188,7 @@ pub mod usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3209,7 +3209,7 @@ pub mod usage { } } pub mod virtual_machines { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, location: &str, @@ -3257,7 +3257,7 @@ pub mod virtual_machines { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3328,7 +3328,7 @@ pub mod virtual_machines { } } pub mod capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineCaptureResult), @@ -3402,7 +3402,7 @@ pub mod virtual_machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3478,7 +3478,7 @@ pub mod virtual_machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -3556,7 +3556,7 @@ pub mod virtual_machines { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -3628,7 +3628,7 @@ pub mod virtual_machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3702,7 +3702,7 @@ pub mod virtual_machines { } } pub mod instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3769,7 +3769,7 @@ pub mod virtual_machines { } } pub mod convert_to_managed_disks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3839,7 +3839,7 @@ pub mod virtual_machines { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3908,7 +3908,7 @@ pub mod virtual_machines { } } pub mod generalize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3971,7 +3971,7 @@ pub mod virtual_machines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4039,7 +4039,7 @@ pub mod virtual_machines { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4107,7 +4107,7 @@ pub mod virtual_machines { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4177,7 +4177,7 @@ pub mod virtual_machines { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4249,7 +4249,7 @@ pub mod virtual_machines { } } pub mod reapply { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4322,7 +4322,7 @@ pub mod virtual_machines { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4389,7 +4389,7 @@ pub mod virtual_machines { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4459,7 +4459,7 @@ pub mod virtual_machines { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4534,7 +4534,7 @@ pub mod virtual_machines { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4619,7 +4619,7 @@ pub mod virtual_machines { } } pub mod retrieve_boot_diagnostics_data { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4687,7 +4687,7 @@ pub mod virtual_machines { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4756,7 +4756,7 @@ pub mod virtual_machines { } } pub mod simulate_eviction { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4828,7 +4828,7 @@ pub mod virtual_machines { } } pub mod assess_patches { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineAssessPatchesResult), @@ -4907,7 +4907,7 @@ pub mod virtual_machines { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -4933,7 +4933,7 @@ pub mod virtual_machines { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -4978,7 +4978,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4999,7 +4999,7 @@ pub mod virtual_machine_sizes { } } pub mod images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5050,7 +5050,7 @@ pub mod images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5126,7 +5126,7 @@ pub mod images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -5204,7 +5204,7 @@ pub mod images { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -5271,7 +5271,7 @@ pub mod images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5345,7 +5345,7 @@ pub mod images { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5406,7 +5406,7 @@ pub mod images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5427,7 +5427,7 @@ pub mod images { } } pub mod virtual_machine_scale_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5474,7 +5474,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5550,7 +5550,7 @@ pub mod virtual_machine_scale_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSet), @@ -5622,7 +5622,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5684,7 +5684,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5760,7 +5760,7 @@ pub mod virtual_machine_scale_sets { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5831,7 +5831,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5904,7 +5904,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5967,7 +5967,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6031,7 +6031,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6099,7 +6099,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6169,7 +6169,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_os_upgrade_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6244,7 +6244,7 @@ pub mod virtual_machine_scale_sets { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6319,7 +6319,7 @@ pub mod virtual_machine_scale_sets { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6391,7 +6391,7 @@ pub mod virtual_machine_scale_sets { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6466,7 +6466,7 @@ pub mod virtual_machine_scale_sets { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6541,7 +6541,7 @@ pub mod virtual_machine_scale_sets { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6612,7 +6612,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6687,7 +6687,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6762,7 +6762,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6838,7 +6838,7 @@ pub mod virtual_machine_scale_sets { } } pub mod force_recovery_service_fabric_platform_update_domain_walk { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6905,7 +6905,7 @@ pub mod virtual_machine_scale_sets { } } pub mod convert_to_single_placement_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6973,7 +6973,7 @@ pub mod virtual_machine_scale_sets { } } pub mod set_orchestration_service_state { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6999,7 +6999,7 @@ pub mod virtual_machine_scale_sets { } } pub mod virtual_machine_scale_set_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7052,7 +7052,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7130,7 +7130,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetExtension), @@ -7210,7 +7210,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetExtension), @@ -7279,7 +7279,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7350,7 +7350,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7371,7 +7371,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod virtual_machine_scale_set_rolling_upgrades { - use crate::models::*; + use super::{models, models::*}; pub async fn cancel( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7415,7 +7415,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7485,7 +7485,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_os_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7557,7 +7557,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_extension_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7630,7 +7630,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod get_latest { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7651,7 +7651,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod virtual_machine_scale_set_vm_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7708,7 +7708,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7793,7 +7793,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetVmExtension), @@ -7874,7 +7874,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7945,7 +7945,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8027,7 +8027,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8051,7 +8051,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod virtual_machine_scale_set_v_ms { - use crate::models::*; + use super::{models, models::*}; pub async fn reimage( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8105,7 +8105,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8177,7 +8177,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8249,7 +8249,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8325,7 +8325,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8400,7 +8400,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetVm), @@ -8469,7 +8469,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8545,7 +8545,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8622,7 +8622,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8694,7 +8694,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8766,7 +8766,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8835,7 +8835,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8907,7 +8907,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8987,7 +8987,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod retrieve_boot_diagnostics_data { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9050,7 +9050,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9114,7 +9114,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod simulate_eviction { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9187,7 +9187,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -9213,7 +9213,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod log_analytics { - use crate::models::*; + use super::{models, models::*}; pub async fn export_request_rate_by_interval( operation_config: &crate::OperationConfig, parameters: &RequestRateByIntervalInput, @@ -9266,7 +9266,7 @@ pub mod log_analytics { } } pub mod export_request_rate_by_interval { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -9342,7 +9342,7 @@ pub mod log_analytics { } } pub mod export_throttled_requests { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -9368,7 +9368,7 @@ pub mod log_analytics { } } pub mod virtual_machine_run_commands { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -9413,7 +9413,7 @@ pub mod virtual_machine_run_commands { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9478,7 +9478,7 @@ pub mod virtual_machine_run_commands { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9556,7 +9556,7 @@ pub mod virtual_machine_run_commands { } } pub mod get_by_virtual_machine { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9639,7 +9639,7 @@ pub mod virtual_machine_run_commands { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineRunCommand), @@ -9718,7 +9718,7 @@ pub mod virtual_machine_run_commands { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9787,7 +9787,7 @@ pub mod virtual_machine_run_commands { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9872,7 +9872,7 @@ pub mod virtual_machine_run_commands { } } pub mod list_by_virtual_machine { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9896,7 +9896,7 @@ pub mod virtual_machine_run_commands { } } pub mod virtual_machine_scale_set_vm_run_commands { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9945,7 +9945,7 @@ pub mod virtual_machine_scale_set_vm_run_commands { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10022,7 +10022,7 @@ pub mod virtual_machine_scale_set_vm_run_commands { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineRunCommand), @@ -10095,7 +10095,7 @@ pub mod virtual_machine_scale_set_vm_run_commands { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10158,7 +10158,7 @@ pub mod virtual_machine_scale_set_vm_run_commands { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10240,7 +10240,7 @@ pub mod virtual_machine_scale_set_vm_run_commands { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10264,7 +10264,7 @@ pub mod virtual_machine_scale_set_vm_run_commands { } } pub mod resource_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10311,7 +10311,7 @@ pub mod resource_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10332,7 +10332,7 @@ pub mod resource_skus { } } pub mod disks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10379,7 +10379,7 @@ pub mod disks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10455,7 +10455,7 @@ pub mod disks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -10533,7 +10533,7 @@ pub mod disks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -10600,7 +10600,7 @@ pub mod disks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10674,7 +10674,7 @@ pub mod disks { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10732,7 +10732,7 @@ pub mod disks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10803,7 +10803,7 @@ pub mod disks { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -10873,7 +10873,7 @@ pub mod disks { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10899,7 +10899,7 @@ pub mod disks { } } pub mod snapshots { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10946,7 +10946,7 @@ pub mod snapshots { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11022,7 +11022,7 @@ pub mod snapshots { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -11100,7 +11100,7 @@ pub mod snapshots { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -11167,7 +11167,7 @@ pub mod snapshots { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11241,7 +11241,7 @@ pub mod snapshots { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11299,7 +11299,7 @@ pub mod snapshots { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11370,7 +11370,7 @@ pub mod snapshots { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -11440,7 +11440,7 @@ pub mod snapshots { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11466,7 +11466,7 @@ pub mod snapshots { } } pub mod disk_encryption_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11515,7 +11515,7 @@ pub mod disk_encryption_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11596,7 +11596,7 @@ pub mod disk_encryption_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskEncryptionSet), @@ -11679,7 +11679,7 @@ pub mod disk_encryption_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskEncryptionSet), @@ -11751,7 +11751,7 @@ pub mod disk_encryption_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11830,7 +11830,7 @@ pub mod disk_encryption_sets { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11896,7 +11896,7 @@ pub mod disk_encryption_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11971,7 +11971,7 @@ pub mod disk_encryption_sets { } } pub mod list_associated_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11995,7 +11995,7 @@ pub mod disk_encryption_sets { } } pub mod disk_accesses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12044,7 +12044,7 @@ pub mod disk_accesses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12125,7 +12125,7 @@ pub mod disk_accesses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskAccess), @@ -12208,7 +12208,7 @@ pub mod disk_accesses { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskAccess), @@ -12280,7 +12280,7 @@ pub mod disk_accesses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12359,7 +12359,7 @@ pub mod disk_accesses { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12425,7 +12425,7 @@ pub mod disk_accesses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12498,7 +12498,7 @@ pub mod disk_accesses { } } pub mod get_private_link_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12572,7 +12572,7 @@ pub mod disk_accesses { } } pub mod get_a_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12658,7 +12658,7 @@ pub mod disk_accesses { } } pub mod update_a_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -12737,7 +12737,7 @@ pub mod disk_accesses { } } pub mod delete_a_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12818,7 +12818,7 @@ pub mod disk_accesses { } } pub mod list_private_endpoint_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12842,7 +12842,7 @@ pub mod disk_accesses { } } pub mod disk_restore_point { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12887,7 +12887,7 @@ pub mod disk_restore_point { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12957,7 +12957,7 @@ pub mod disk_restore_point { } } pub mod list_by_restore_point { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12981,7 +12981,7 @@ pub mod disk_restore_point { } } pub mod galleries { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -13034,7 +13034,7 @@ pub mod galleries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13121,7 +13121,7 @@ pub mod galleries { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Gallery), @@ -13199,7 +13199,7 @@ pub mod galleries { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13266,7 +13266,7 @@ pub mod galleries { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13345,7 +13345,7 @@ pub mod galleries { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13408,7 +13408,7 @@ pub mod galleries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13432,7 +13432,7 @@ pub mod galleries { } } pub mod gallery_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -13483,7 +13483,7 @@ pub mod gallery_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13572,7 +13572,7 @@ pub mod gallery_images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryImage), @@ -13652,7 +13652,7 @@ pub mod gallery_images { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13721,7 +13721,7 @@ pub mod gallery_images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13800,7 +13800,7 @@ pub mod gallery_images { } } pub mod list_by_gallery { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13824,7 +13824,7 @@ pub mod gallery_images { } } pub mod gallery_image_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -13881,7 +13881,7 @@ pub mod gallery_image_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13972,7 +13972,7 @@ pub mod gallery_image_versions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryImageVersion), @@ -14054,7 +14054,7 @@ pub mod gallery_image_versions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14125,7 +14125,7 @@ pub mod gallery_image_versions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -14208,7 +14208,7 @@ pub mod gallery_image_versions { } } pub mod list_by_gallery_image { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14232,7 +14232,7 @@ pub mod gallery_image_versions { } } pub mod gallery_applications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -14283,7 +14283,7 @@ pub mod gallery_applications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14372,7 +14372,7 @@ pub mod gallery_applications { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryApplication), @@ -14452,7 +14452,7 @@ pub mod gallery_applications { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14521,7 +14521,7 @@ pub mod gallery_applications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -14600,7 +14600,7 @@ pub mod gallery_applications { } } pub mod list_by_gallery { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14624,7 +14624,7 @@ pub mod gallery_applications { } } pub mod gallery_application_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -14681,7 +14681,7 @@ pub mod gallery_application_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14772,7 +14772,7 @@ pub mod gallery_application_versions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryApplicationVersion), @@ -14854,7 +14854,7 @@ pub mod gallery_application_versions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14925,7 +14925,7 @@ pub mod gallery_application_versions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -15008,7 +15008,7 @@ pub mod gallery_application_versions { } } pub mod list_by_gallery_application { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15032,7 +15032,7 @@ pub mod gallery_application_versions { } } pub mod gallery_sharing_profile { - use crate::models::*; + use super::{models, models::*}; pub async fn update( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -15089,7 +15089,7 @@ pub mod gallery_sharing_profile { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SharingUpdate), @@ -15118,7 +15118,7 @@ pub mod gallery_sharing_profile { } } pub mod shared_galleries { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -15169,7 +15169,7 @@ pub mod shared_galleries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15239,7 +15239,7 @@ pub mod shared_galleries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15263,7 +15263,7 @@ pub mod shared_galleries { } } pub mod shared_gallery_images { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -15316,7 +15316,7 @@ pub mod shared_gallery_images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15388,7 +15388,7 @@ pub mod shared_gallery_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15412,7 +15412,7 @@ pub mod shared_gallery_images { } } pub mod shared_gallery_image_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -15467,7 +15467,7 @@ pub mod shared_gallery_image_versions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15541,7 +15541,7 @@ pub mod shared_gallery_image_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15565,7 +15565,7 @@ pub mod shared_gallery_image_versions { } } pub mod container_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -15608,7 +15608,7 @@ pub mod container_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15673,7 +15673,7 @@ pub mod container_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15755,7 +15755,7 @@ pub mod container_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerService), @@ -15822,7 +15822,7 @@ pub mod container_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -15895,7 +15895,7 @@ pub mod container_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/compute/src/package_2020_09_30_only/operations.rs b/services/mgmt/compute/src/package_2020_09_30_only/operations.rs index 9e097d32f1..0aa078c869 100644 --- a/services/mgmt/compute/src/package_2020_09_30_only/operations.rs +++ b/services/mgmt/compute/src/package_2020_09_30_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod disks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -51,7 +51,7 @@ pub mod disks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod disks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -205,7 +205,7 @@ pub mod disks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -272,7 +272,7 @@ pub mod disks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -346,7 +346,7 @@ pub mod disks { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -404,7 +404,7 @@ pub mod disks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -475,7 +475,7 @@ pub mod disks { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -545,7 +545,7 @@ pub mod disks { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -571,7 +571,7 @@ pub mod disks { } } pub mod snapshots { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -618,7 +618,7 @@ pub mod snapshots { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -694,7 +694,7 @@ pub mod snapshots { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -772,7 +772,7 @@ pub mod snapshots { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -839,7 +839,7 @@ pub mod snapshots { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -913,7 +913,7 @@ pub mod snapshots { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -971,7 +971,7 @@ pub mod snapshots { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1042,7 +1042,7 @@ pub mod snapshots { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -1112,7 +1112,7 @@ pub mod snapshots { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1138,7 +1138,7 @@ pub mod snapshots { } } pub mod disk_encryption_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1187,7 +1187,7 @@ pub mod disk_encryption_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1268,7 +1268,7 @@ pub mod disk_encryption_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskEncryptionSet), @@ -1351,7 +1351,7 @@ pub mod disk_encryption_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskEncryptionSet), @@ -1423,7 +1423,7 @@ pub mod disk_encryption_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1502,7 +1502,7 @@ pub mod disk_encryption_sets { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1568,7 +1568,7 @@ pub mod disk_encryption_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1643,7 +1643,7 @@ pub mod disk_encryption_sets { } } pub mod list_associated_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1667,7 +1667,7 @@ pub mod disk_encryption_sets { } } pub mod disk_accesses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1716,7 +1716,7 @@ pub mod disk_accesses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1797,7 +1797,7 @@ pub mod disk_accesses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskAccess), @@ -1880,7 +1880,7 @@ pub mod disk_accesses { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskAccess), @@ -1952,7 +1952,7 @@ pub mod disk_accesses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2031,7 +2031,7 @@ pub mod disk_accesses { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2097,7 +2097,7 @@ pub mod disk_accesses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2170,7 +2170,7 @@ pub mod disk_accesses { } } pub mod get_private_link_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2244,7 +2244,7 @@ pub mod disk_accesses { } } pub mod get_a_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2330,7 +2330,7 @@ pub mod disk_accesses { } } pub mod update_a_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -2409,7 +2409,7 @@ pub mod disk_accesses { } } pub mod delete_a_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2490,7 +2490,7 @@ pub mod disk_accesses { } } pub mod list_private_endpoint_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2514,7 +2514,7 @@ pub mod disk_accesses { } } pub mod disk_restore_point { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2559,7 +2559,7 @@ pub mod disk_restore_point { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2629,7 +2629,7 @@ pub mod disk_restore_point { } } pub mod list_by_restore_point { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2653,7 +2653,7 @@ pub mod disk_restore_point { } } pub mod galleries { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2706,7 +2706,7 @@ pub mod galleries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2793,7 +2793,7 @@ pub mod galleries { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Gallery), @@ -2871,7 +2871,7 @@ pub mod galleries { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2938,7 +2938,7 @@ pub mod galleries { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3017,7 +3017,7 @@ pub mod galleries { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3080,7 +3080,7 @@ pub mod galleries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3104,7 +3104,7 @@ pub mod galleries { } } pub mod gallery_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3155,7 +3155,7 @@ pub mod gallery_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3244,7 +3244,7 @@ pub mod gallery_images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryImage), @@ -3324,7 +3324,7 @@ pub mod gallery_images { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3393,7 +3393,7 @@ pub mod gallery_images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3472,7 +3472,7 @@ pub mod gallery_images { } } pub mod list_by_gallery { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3496,7 +3496,7 @@ pub mod gallery_images { } } pub mod gallery_image_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3553,7 +3553,7 @@ pub mod gallery_image_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3644,7 +3644,7 @@ pub mod gallery_image_versions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryImageVersion), @@ -3726,7 +3726,7 @@ pub mod gallery_image_versions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3797,7 +3797,7 @@ pub mod gallery_image_versions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3880,7 +3880,7 @@ pub mod gallery_image_versions { } } pub mod list_by_gallery_image { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3904,7 +3904,7 @@ pub mod gallery_image_versions { } } pub mod gallery_applications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3955,7 +3955,7 @@ pub mod gallery_applications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4044,7 +4044,7 @@ pub mod gallery_applications { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryApplication), @@ -4124,7 +4124,7 @@ pub mod gallery_applications { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4193,7 +4193,7 @@ pub mod gallery_applications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4272,7 +4272,7 @@ pub mod gallery_applications { } } pub mod list_by_gallery { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4296,7 +4296,7 @@ pub mod gallery_applications { } } pub mod gallery_application_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4353,7 +4353,7 @@ pub mod gallery_application_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4444,7 +4444,7 @@ pub mod gallery_application_versions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryApplicationVersion), @@ -4526,7 +4526,7 @@ pub mod gallery_application_versions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4597,7 +4597,7 @@ pub mod gallery_application_versions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4680,7 +4680,7 @@ pub mod gallery_application_versions { } } pub mod list_by_gallery_application { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4704,7 +4704,7 @@ pub mod gallery_application_versions { } } pub mod gallery_sharing_profile { - use crate::models::*; + use super::{models, models::*}; pub async fn update( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4761,7 +4761,7 @@ pub mod gallery_sharing_profile { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SharingUpdate), @@ -4790,7 +4790,7 @@ pub mod gallery_sharing_profile { } } pub mod shared_galleries { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4841,7 +4841,7 @@ pub mod shared_galleries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4911,7 +4911,7 @@ pub mod shared_galleries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4935,7 +4935,7 @@ pub mod shared_galleries { } } pub mod shared_gallery_images { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4988,7 +4988,7 @@ pub mod shared_gallery_images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5060,7 +5060,7 @@ pub mod shared_gallery_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5084,7 +5084,7 @@ pub mod shared_gallery_images { } } pub mod shared_gallery_image_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5139,7 +5139,7 @@ pub mod shared_gallery_image_versions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5213,7 +5213,7 @@ pub mod shared_gallery_image_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/compute/src/package_2020_12_01/operations.rs b/services/mgmt/compute/src/package_2020_12_01/operations.rs index 2cec264a19..9a3300ed09 100644 --- a/services/mgmt/compute/src/package_2020_12_01/operations.rs +++ b/services/mgmt/compute/src/package_2020_12_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Compute/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod availability_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -108,7 +108,7 @@ pub mod availability_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -178,7 +178,7 @@ pub mod availability_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -245,7 +245,7 @@ pub mod availability_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -306,7 +306,7 @@ pub mod availability_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -379,7 +379,7 @@ pub mod availability_sets { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -442,7 +442,7 @@ pub mod availability_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -510,7 +510,7 @@ pub mod availability_sets { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -531,7 +531,7 @@ pub mod availability_sets { } } pub mod proximity_placement_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -583,7 +583,7 @@ pub mod proximity_placement_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -659,7 +659,7 @@ pub mod proximity_placement_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProximityPlacementGroup), @@ -731,7 +731,7 @@ pub mod proximity_placement_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -791,7 +791,7 @@ pub mod proximity_placement_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -855,7 +855,7 @@ pub mod proximity_placement_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -923,7 +923,7 @@ pub mod proximity_placement_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -944,7 +944,7 @@ pub mod proximity_placement_groups { } } pub mod dedicated_host_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -995,7 +995,7 @@ pub mod dedicated_host_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1071,7 +1071,7 @@ pub mod dedicated_host_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DedicatedHostGroup), @@ -1143,7 +1143,7 @@ pub mod dedicated_host_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1204,7 +1204,7 @@ pub mod dedicated_host_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1277,7 +1277,7 @@ pub mod dedicated_host_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1341,7 +1341,7 @@ pub mod dedicated_host_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1362,7 +1362,7 @@ pub mod dedicated_host_groups { } } pub mod dedicated_hosts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1415,7 +1415,7 @@ pub mod dedicated_hosts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1493,7 +1493,7 @@ pub mod dedicated_hosts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DedicatedHost), @@ -1567,7 +1567,7 @@ pub mod dedicated_hosts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1631,7 +1631,7 @@ pub mod dedicated_hosts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1705,7 +1705,7 @@ pub mod dedicated_hosts { } } pub mod list_by_host_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1726,7 +1726,7 @@ pub mod dedicated_hosts { } } pub mod ssh_public_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1772,7 +1772,7 @@ pub mod ssh_public_keys { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1840,7 +1840,7 @@ pub mod ssh_public_keys { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1905,7 +1905,7 @@ pub mod ssh_public_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1978,7 +1978,7 @@ pub mod ssh_public_keys { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SshPublicKeyResource), @@ -2050,7 +2050,7 @@ pub mod ssh_public_keys { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2111,7 +2111,7 @@ pub mod ssh_public_keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2185,7 +2185,7 @@ pub mod ssh_public_keys { } } pub mod generate_key_pair { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2206,7 +2206,7 @@ pub mod ssh_public_keys { } } pub mod virtual_machine_extension_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -2257,7 +2257,7 @@ pub mod virtual_machine_extension_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2325,7 +2325,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2407,7 +2407,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2428,7 +2428,7 @@ pub mod virtual_machine_extension_images { } } pub mod virtual_machine_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2481,7 +2481,7 @@ pub mod virtual_machine_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2559,7 +2559,7 @@ pub mod virtual_machine_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineExtension), @@ -2633,7 +2633,7 @@ pub mod virtual_machine_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2697,7 +2697,7 @@ pub mod virtual_machine_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2772,7 +2772,7 @@ pub mod virtual_machine_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2793,7 +2793,7 @@ pub mod virtual_machine_extensions { } } pub mod virtual_machine_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -2837,7 +2837,7 @@ pub mod virtual_machine_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2918,7 +2918,7 @@ pub mod virtual_machine_images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2986,7 +2986,7 @@ pub mod virtual_machine_images { } } pub mod list_offers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3052,7 +3052,7 @@ pub mod virtual_machine_images { } } pub mod list_publishers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3122,7 +3122,7 @@ pub mod virtual_machine_images { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3143,7 +3143,7 @@ pub mod virtual_machine_images { } } pub mod virtual_machine_images_edge_zone { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -3190,7 +3190,7 @@ pub mod virtual_machine_images_edge_zone { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3269,7 +3269,7 @@ pub mod virtual_machine_images_edge_zone { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3344,7 +3344,7 @@ pub mod virtual_machine_images_edge_zone { } } pub mod list_offers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3417,7 +3417,7 @@ pub mod virtual_machine_images_edge_zone { } } pub mod list_publishers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3494,7 +3494,7 @@ pub mod virtual_machine_images_edge_zone { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3518,7 +3518,7 @@ pub mod virtual_machine_images_edge_zone { } } pub mod usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -3563,7 +3563,7 @@ pub mod usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3584,7 +3584,7 @@ pub mod usage { } } pub mod virtual_machines { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, location: &str, @@ -3632,7 +3632,7 @@ pub mod virtual_machines { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3703,7 +3703,7 @@ pub mod virtual_machines { } } pub mod capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineCaptureResult), @@ -3777,7 +3777,7 @@ pub mod virtual_machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3853,7 +3853,7 @@ pub mod virtual_machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -3925,7 +3925,7 @@ pub mod virtual_machines { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3992,7 +3992,7 @@ pub mod virtual_machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4066,7 +4066,7 @@ pub mod virtual_machines { } } pub mod instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4133,7 +4133,7 @@ pub mod virtual_machines { } } pub mod convert_to_managed_disks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4203,7 +4203,7 @@ pub mod virtual_machines { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4272,7 +4272,7 @@ pub mod virtual_machines { } } pub mod generalize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4335,7 +4335,7 @@ pub mod virtual_machines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4403,7 +4403,7 @@ pub mod virtual_machines { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4471,7 +4471,7 @@ pub mod virtual_machines { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4541,7 +4541,7 @@ pub mod virtual_machines { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4613,7 +4613,7 @@ pub mod virtual_machines { } } pub mod reapply { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4686,7 +4686,7 @@ pub mod virtual_machines { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4753,7 +4753,7 @@ pub mod virtual_machines { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4823,7 +4823,7 @@ pub mod virtual_machines { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4898,7 +4898,7 @@ pub mod virtual_machines { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4983,7 +4983,7 @@ pub mod virtual_machines { } } pub mod retrieve_boot_diagnostics_data { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5051,7 +5051,7 @@ pub mod virtual_machines { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5120,7 +5120,7 @@ pub mod virtual_machines { } } pub mod simulate_eviction { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5192,7 +5192,7 @@ pub mod virtual_machines { } } pub mod assess_patches { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineAssessPatchesResult), @@ -5273,7 +5273,7 @@ pub mod virtual_machines { } } pub mod install_patches { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineInstallPatchesResult), @@ -5352,7 +5352,7 @@ pub mod virtual_machines { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -5378,7 +5378,7 @@ pub mod virtual_machines { } } pub mod virtual_machine_scale_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, location: &str, @@ -5428,7 +5428,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5496,7 +5496,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5572,7 +5572,7 @@ pub mod virtual_machine_scale_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSet), @@ -5644,7 +5644,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5711,7 +5711,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5787,7 +5787,7 @@ pub mod virtual_machine_scale_sets { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5863,7 +5863,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5936,7 +5936,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5999,7 +5999,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6063,7 +6063,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6131,7 +6131,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6201,7 +6201,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_os_upgrade_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6276,7 +6276,7 @@ pub mod virtual_machine_scale_sets { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6351,7 +6351,7 @@ pub mod virtual_machine_scale_sets { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6423,7 +6423,7 @@ pub mod virtual_machine_scale_sets { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6498,7 +6498,7 @@ pub mod virtual_machine_scale_sets { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6573,7 +6573,7 @@ pub mod virtual_machine_scale_sets { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6644,7 +6644,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6719,7 +6719,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6794,7 +6794,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6870,7 +6870,7 @@ pub mod virtual_machine_scale_sets { } } pub mod force_recovery_service_fabric_platform_update_domain_walk { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6937,7 +6937,7 @@ pub mod virtual_machine_scale_sets { } } pub mod convert_to_single_placement_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7005,7 +7005,7 @@ pub mod virtual_machine_scale_sets { } } pub mod set_orchestration_service_state { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7031,7 +7031,7 @@ pub mod virtual_machine_scale_sets { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -7076,7 +7076,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7097,7 +7097,7 @@ pub mod virtual_machine_sizes { } } pub mod images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7148,7 +7148,7 @@ pub mod images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7224,7 +7224,7 @@ pub mod images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -7302,7 +7302,7 @@ pub mod images { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -7369,7 +7369,7 @@ pub mod images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7443,7 +7443,7 @@ pub mod images { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7504,7 +7504,7 @@ pub mod images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7525,7 +7525,7 @@ pub mod images { } } pub mod virtual_machine_scale_set_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7578,7 +7578,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7656,7 +7656,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetExtension), @@ -7736,7 +7736,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetExtension), @@ -7805,7 +7805,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7876,7 +7876,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7897,7 +7897,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod virtual_machine_scale_set_rolling_upgrades { - use crate::models::*; + use super::{models, models::*}; pub async fn cancel( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7941,7 +7941,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8011,7 +8011,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_os_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8083,7 +8083,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_extension_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8156,7 +8156,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod get_latest { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8177,7 +8177,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod virtual_machine_scale_set_vm_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8234,7 +8234,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8319,7 +8319,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetVmExtension), @@ -8400,7 +8400,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8471,7 +8471,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8553,7 +8553,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8577,7 +8577,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod virtual_machine_scale_set_v_ms { - use crate::models::*; + use super::{models, models::*}; pub async fn reimage( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8631,7 +8631,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8703,7 +8703,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8775,7 +8775,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8851,7 +8851,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8926,7 +8926,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetVm), @@ -9000,7 +9000,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9076,7 +9076,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9153,7 +9153,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9225,7 +9225,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9297,7 +9297,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9366,7 +9366,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9438,7 +9438,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9518,7 +9518,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod retrieve_boot_diagnostics_data { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9581,7 +9581,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9645,7 +9645,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod simulate_eviction { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9718,7 +9718,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -9744,7 +9744,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod log_analytics { - use crate::models::*; + use super::{models, models::*}; pub async fn export_request_rate_by_interval( operation_config: &crate::OperationConfig, parameters: &RequestRateByIntervalInput, @@ -9797,7 +9797,7 @@ pub mod log_analytics { } } pub mod export_request_rate_by_interval { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -9873,7 +9873,7 @@ pub mod log_analytics { } } pub mod export_throttled_requests { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -9899,7 +9899,7 @@ pub mod log_analytics { } } pub mod virtual_machine_run_commands { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -9944,7 +9944,7 @@ pub mod virtual_machine_run_commands { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10009,7 +10009,7 @@ pub mod virtual_machine_run_commands { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10087,7 +10087,7 @@ pub mod virtual_machine_run_commands { } } pub mod get_by_virtual_machine { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10170,7 +10170,7 @@ pub mod virtual_machine_run_commands { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineRunCommand), @@ -10249,7 +10249,7 @@ pub mod virtual_machine_run_commands { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10318,7 +10318,7 @@ pub mod virtual_machine_run_commands { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10403,7 +10403,7 @@ pub mod virtual_machine_run_commands { } } pub mod list_by_virtual_machine { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10427,7 +10427,7 @@ pub mod virtual_machine_run_commands { } } pub mod virtual_machine_scale_set_vm_run_commands { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10476,7 +10476,7 @@ pub mod virtual_machine_scale_set_vm_run_commands { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10553,7 +10553,7 @@ pub mod virtual_machine_scale_set_vm_run_commands { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineRunCommand), @@ -10626,7 +10626,7 @@ pub mod virtual_machine_scale_set_vm_run_commands { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10689,7 +10689,7 @@ pub mod virtual_machine_scale_set_vm_run_commands { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10771,7 +10771,7 @@ pub mod virtual_machine_scale_set_vm_run_commands { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10795,7 +10795,7 @@ pub mod virtual_machine_scale_set_vm_run_commands { } } pub mod resource_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10842,7 +10842,7 @@ pub mod resource_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10863,7 +10863,7 @@ pub mod resource_skus { } } pub mod disks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10910,7 +10910,7 @@ pub mod disks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10986,7 +10986,7 @@ pub mod disks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -11064,7 +11064,7 @@ pub mod disks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -11131,7 +11131,7 @@ pub mod disks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11205,7 +11205,7 @@ pub mod disks { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11263,7 +11263,7 @@ pub mod disks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11334,7 +11334,7 @@ pub mod disks { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -11404,7 +11404,7 @@ pub mod disks { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11430,7 +11430,7 @@ pub mod disks { } } pub mod snapshots { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11477,7 +11477,7 @@ pub mod snapshots { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11553,7 +11553,7 @@ pub mod snapshots { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -11631,7 +11631,7 @@ pub mod snapshots { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -11698,7 +11698,7 @@ pub mod snapshots { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11772,7 +11772,7 @@ pub mod snapshots { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11830,7 +11830,7 @@ pub mod snapshots { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11901,7 +11901,7 @@ pub mod snapshots { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -11971,7 +11971,7 @@ pub mod snapshots { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11997,7 +11997,7 @@ pub mod snapshots { } } pub mod disk_encryption_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12046,7 +12046,7 @@ pub mod disk_encryption_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12127,7 +12127,7 @@ pub mod disk_encryption_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskEncryptionSet), @@ -12210,7 +12210,7 @@ pub mod disk_encryption_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskEncryptionSet), @@ -12282,7 +12282,7 @@ pub mod disk_encryption_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12361,7 +12361,7 @@ pub mod disk_encryption_sets { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12427,7 +12427,7 @@ pub mod disk_encryption_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12502,7 +12502,7 @@ pub mod disk_encryption_sets { } } pub mod list_associated_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12526,7 +12526,7 @@ pub mod disk_encryption_sets { } } pub mod disk_accesses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12575,7 +12575,7 @@ pub mod disk_accesses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12656,7 +12656,7 @@ pub mod disk_accesses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskAccess), @@ -12739,7 +12739,7 @@ pub mod disk_accesses { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskAccess), @@ -12811,7 +12811,7 @@ pub mod disk_accesses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12890,7 +12890,7 @@ pub mod disk_accesses { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12956,7 +12956,7 @@ pub mod disk_accesses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13029,7 +13029,7 @@ pub mod disk_accesses { } } pub mod get_private_link_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13103,7 +13103,7 @@ pub mod disk_accesses { } } pub mod get_a_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13189,7 +13189,7 @@ pub mod disk_accesses { } } pub mod update_a_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -13268,7 +13268,7 @@ pub mod disk_accesses { } } pub mod delete_a_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13349,7 +13349,7 @@ pub mod disk_accesses { } } pub mod list_private_endpoint_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13373,7 +13373,7 @@ pub mod disk_accesses { } } pub mod disk_restore_point { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -13418,7 +13418,7 @@ pub mod disk_restore_point { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13488,7 +13488,7 @@ pub mod disk_restore_point { } } pub mod list_by_restore_point { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13560,7 +13560,7 @@ pub mod disk_restore_point { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -13631,7 +13631,7 @@ pub mod disk_restore_point { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13660,7 +13660,7 @@ pub mod disk_restore_point { } } pub mod galleries { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -13709,7 +13709,7 @@ pub mod galleries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13796,7 +13796,7 @@ pub mod galleries { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Gallery), @@ -13874,7 +13874,7 @@ pub mod galleries { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13941,7 +13941,7 @@ pub mod galleries { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -14020,7 +14020,7 @@ pub mod galleries { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14083,7 +14083,7 @@ pub mod galleries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14107,7 +14107,7 @@ pub mod galleries { } } pub mod gallery_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -14158,7 +14158,7 @@ pub mod gallery_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14247,7 +14247,7 @@ pub mod gallery_images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryImage), @@ -14327,7 +14327,7 @@ pub mod gallery_images { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14396,7 +14396,7 @@ pub mod gallery_images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -14475,7 +14475,7 @@ pub mod gallery_images { } } pub mod list_by_gallery { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14499,7 +14499,7 @@ pub mod gallery_images { } } pub mod gallery_image_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -14556,7 +14556,7 @@ pub mod gallery_image_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14647,7 +14647,7 @@ pub mod gallery_image_versions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryImageVersion), @@ -14729,7 +14729,7 @@ pub mod gallery_image_versions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14800,7 +14800,7 @@ pub mod gallery_image_versions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -14883,7 +14883,7 @@ pub mod gallery_image_versions { } } pub mod list_by_gallery_image { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14907,7 +14907,7 @@ pub mod gallery_image_versions { } } pub mod gallery_applications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -14958,7 +14958,7 @@ pub mod gallery_applications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15047,7 +15047,7 @@ pub mod gallery_applications { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryApplication), @@ -15127,7 +15127,7 @@ pub mod gallery_applications { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15196,7 +15196,7 @@ pub mod gallery_applications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -15275,7 +15275,7 @@ pub mod gallery_applications { } } pub mod list_by_gallery { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15299,7 +15299,7 @@ pub mod gallery_applications { } } pub mod gallery_application_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -15356,7 +15356,7 @@ pub mod gallery_application_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15447,7 +15447,7 @@ pub mod gallery_application_versions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryApplicationVersion), @@ -15529,7 +15529,7 @@ pub mod gallery_application_versions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15600,7 +15600,7 @@ pub mod gallery_application_versions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -15683,7 +15683,7 @@ pub mod gallery_application_versions { } } pub mod list_by_gallery_application { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/compute/src/package_2020_12_01_only/operations.rs b/services/mgmt/compute/src/package_2020_12_01_only/operations.rs index deb1a3986d..7f9cf3f4b9 100644 --- a/services/mgmt/compute/src/package_2020_12_01_only/operations.rs +++ b/services/mgmt/compute/src/package_2020_12_01_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod disks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -51,7 +51,7 @@ pub mod disks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod disks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -205,7 +205,7 @@ pub mod disks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -272,7 +272,7 @@ pub mod disks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -346,7 +346,7 @@ pub mod disks { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -404,7 +404,7 @@ pub mod disks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -475,7 +475,7 @@ pub mod disks { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -545,7 +545,7 @@ pub mod disks { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -571,7 +571,7 @@ pub mod disks { } } pub mod snapshots { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -618,7 +618,7 @@ pub mod snapshots { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -694,7 +694,7 @@ pub mod snapshots { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -772,7 +772,7 @@ pub mod snapshots { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -839,7 +839,7 @@ pub mod snapshots { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -913,7 +913,7 @@ pub mod snapshots { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -971,7 +971,7 @@ pub mod snapshots { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1042,7 +1042,7 @@ pub mod snapshots { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -1112,7 +1112,7 @@ pub mod snapshots { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1138,7 +1138,7 @@ pub mod snapshots { } } pub mod disk_encryption_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1187,7 +1187,7 @@ pub mod disk_encryption_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1268,7 +1268,7 @@ pub mod disk_encryption_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskEncryptionSet), @@ -1351,7 +1351,7 @@ pub mod disk_encryption_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskEncryptionSet), @@ -1423,7 +1423,7 @@ pub mod disk_encryption_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1502,7 +1502,7 @@ pub mod disk_encryption_sets { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1568,7 +1568,7 @@ pub mod disk_encryption_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1643,7 +1643,7 @@ pub mod disk_encryption_sets { } } pub mod list_associated_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1667,7 +1667,7 @@ pub mod disk_encryption_sets { } } pub mod disk_accesses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1716,7 +1716,7 @@ pub mod disk_accesses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1797,7 +1797,7 @@ pub mod disk_accesses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskAccess), @@ -1880,7 +1880,7 @@ pub mod disk_accesses { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskAccess), @@ -1952,7 +1952,7 @@ pub mod disk_accesses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2031,7 +2031,7 @@ pub mod disk_accesses { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2097,7 +2097,7 @@ pub mod disk_accesses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2170,7 +2170,7 @@ pub mod disk_accesses { } } pub mod get_private_link_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2244,7 +2244,7 @@ pub mod disk_accesses { } } pub mod get_a_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2330,7 +2330,7 @@ pub mod disk_accesses { } } pub mod update_a_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -2409,7 +2409,7 @@ pub mod disk_accesses { } } pub mod delete_a_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2490,7 +2490,7 @@ pub mod disk_accesses { } } pub mod list_private_endpoint_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2514,7 +2514,7 @@ pub mod disk_accesses { } } pub mod disk_restore_point { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2559,7 +2559,7 @@ pub mod disk_restore_point { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2629,7 +2629,7 @@ pub mod disk_restore_point { } } pub mod list_by_restore_point { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2701,7 +2701,7 @@ pub mod disk_restore_point { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -2772,7 +2772,7 @@ pub mod disk_restore_point { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2801,7 +2801,7 @@ pub mod disk_restore_point { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Compute/operations", operation_config.base_path(),); @@ -2837,7 +2837,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2858,7 +2858,7 @@ pub mod operations { } } pub mod availability_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2905,7 +2905,7 @@ pub mod availability_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2975,7 +2975,7 @@ pub mod availability_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3042,7 +3042,7 @@ pub mod availability_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3103,7 +3103,7 @@ pub mod availability_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3176,7 +3176,7 @@ pub mod availability_sets { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3239,7 +3239,7 @@ pub mod availability_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3307,7 +3307,7 @@ pub mod availability_sets { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3328,7 +3328,7 @@ pub mod availability_sets { } } pub mod proximity_placement_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3380,7 +3380,7 @@ pub mod proximity_placement_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3456,7 +3456,7 @@ pub mod proximity_placement_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProximityPlacementGroup), @@ -3528,7 +3528,7 @@ pub mod proximity_placement_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3588,7 +3588,7 @@ pub mod proximity_placement_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3652,7 +3652,7 @@ pub mod proximity_placement_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3720,7 +3720,7 @@ pub mod proximity_placement_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3741,7 +3741,7 @@ pub mod proximity_placement_groups { } } pub mod dedicated_host_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3792,7 +3792,7 @@ pub mod dedicated_host_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3868,7 +3868,7 @@ pub mod dedicated_host_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DedicatedHostGroup), @@ -3940,7 +3940,7 @@ pub mod dedicated_host_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4001,7 +4001,7 @@ pub mod dedicated_host_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4074,7 +4074,7 @@ pub mod dedicated_host_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4138,7 +4138,7 @@ pub mod dedicated_host_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4159,7 +4159,7 @@ pub mod dedicated_host_groups { } } pub mod dedicated_hosts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4212,7 +4212,7 @@ pub mod dedicated_hosts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4290,7 +4290,7 @@ pub mod dedicated_hosts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DedicatedHost), @@ -4364,7 +4364,7 @@ pub mod dedicated_hosts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4428,7 +4428,7 @@ pub mod dedicated_hosts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4502,7 +4502,7 @@ pub mod dedicated_hosts { } } pub mod list_by_host_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4523,7 +4523,7 @@ pub mod dedicated_hosts { } } pub mod ssh_public_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4569,7 +4569,7 @@ pub mod ssh_public_keys { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4637,7 +4637,7 @@ pub mod ssh_public_keys { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4702,7 +4702,7 @@ pub mod ssh_public_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4775,7 +4775,7 @@ pub mod ssh_public_keys { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SshPublicKeyResource), @@ -4847,7 +4847,7 @@ pub mod ssh_public_keys { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4908,7 +4908,7 @@ pub mod ssh_public_keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4982,7 +4982,7 @@ pub mod ssh_public_keys { } } pub mod generate_key_pair { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5003,7 +5003,7 @@ pub mod ssh_public_keys { } } pub mod virtual_machine_extension_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -5054,7 +5054,7 @@ pub mod virtual_machine_extension_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5122,7 +5122,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5204,7 +5204,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5225,7 +5225,7 @@ pub mod virtual_machine_extension_images { } } pub mod virtual_machine_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5278,7 +5278,7 @@ pub mod virtual_machine_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5356,7 +5356,7 @@ pub mod virtual_machine_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineExtension), @@ -5430,7 +5430,7 @@ pub mod virtual_machine_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5494,7 +5494,7 @@ pub mod virtual_machine_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5569,7 +5569,7 @@ pub mod virtual_machine_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5590,7 +5590,7 @@ pub mod virtual_machine_extensions { } } pub mod virtual_machine_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -5634,7 +5634,7 @@ pub mod virtual_machine_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5715,7 +5715,7 @@ pub mod virtual_machine_images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5783,7 +5783,7 @@ pub mod virtual_machine_images { } } pub mod list_offers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5849,7 +5849,7 @@ pub mod virtual_machine_images { } } pub mod list_publishers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5919,7 +5919,7 @@ pub mod virtual_machine_images { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5940,7 +5940,7 @@ pub mod virtual_machine_images { } } pub mod virtual_machine_images_edge_zone { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -5987,7 +5987,7 @@ pub mod virtual_machine_images_edge_zone { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6066,7 +6066,7 @@ pub mod virtual_machine_images_edge_zone { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6141,7 +6141,7 @@ pub mod virtual_machine_images_edge_zone { } } pub mod list_offers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6214,7 +6214,7 @@ pub mod virtual_machine_images_edge_zone { } } pub mod list_publishers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6291,7 +6291,7 @@ pub mod virtual_machine_images_edge_zone { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6315,7 +6315,7 @@ pub mod virtual_machine_images_edge_zone { } } pub mod usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -6360,7 +6360,7 @@ pub mod usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6381,7 +6381,7 @@ pub mod usage { } } pub mod virtual_machines { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, location: &str, @@ -6429,7 +6429,7 @@ pub mod virtual_machines { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6500,7 +6500,7 @@ pub mod virtual_machines { } } pub mod capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineCaptureResult), @@ -6574,7 +6574,7 @@ pub mod virtual_machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6650,7 +6650,7 @@ pub mod virtual_machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -6722,7 +6722,7 @@ pub mod virtual_machines { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6789,7 +6789,7 @@ pub mod virtual_machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6863,7 +6863,7 @@ pub mod virtual_machines { } } pub mod instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6930,7 +6930,7 @@ pub mod virtual_machines { } } pub mod convert_to_managed_disks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7000,7 +7000,7 @@ pub mod virtual_machines { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7069,7 +7069,7 @@ pub mod virtual_machines { } } pub mod generalize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7132,7 +7132,7 @@ pub mod virtual_machines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7200,7 +7200,7 @@ pub mod virtual_machines { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7268,7 +7268,7 @@ pub mod virtual_machines { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7338,7 +7338,7 @@ pub mod virtual_machines { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7410,7 +7410,7 @@ pub mod virtual_machines { } } pub mod reapply { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7483,7 +7483,7 @@ pub mod virtual_machines { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7550,7 +7550,7 @@ pub mod virtual_machines { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7620,7 +7620,7 @@ pub mod virtual_machines { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7695,7 +7695,7 @@ pub mod virtual_machines { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7780,7 +7780,7 @@ pub mod virtual_machines { } } pub mod retrieve_boot_diagnostics_data { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7848,7 +7848,7 @@ pub mod virtual_machines { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7917,7 +7917,7 @@ pub mod virtual_machines { } } pub mod simulate_eviction { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7989,7 +7989,7 @@ pub mod virtual_machines { } } pub mod assess_patches { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineAssessPatchesResult), @@ -8070,7 +8070,7 @@ pub mod virtual_machines { } } pub mod install_patches { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineInstallPatchesResult), @@ -8149,7 +8149,7 @@ pub mod virtual_machines { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -8175,7 +8175,7 @@ pub mod virtual_machines { } } pub mod virtual_machine_scale_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, location: &str, @@ -8225,7 +8225,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8293,7 +8293,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8369,7 +8369,7 @@ pub mod virtual_machine_scale_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSet), @@ -8441,7 +8441,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8508,7 +8508,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8584,7 +8584,7 @@ pub mod virtual_machine_scale_sets { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8660,7 +8660,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8733,7 +8733,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8796,7 +8796,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8860,7 +8860,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8928,7 +8928,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8998,7 +8998,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_os_upgrade_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9073,7 +9073,7 @@ pub mod virtual_machine_scale_sets { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9148,7 +9148,7 @@ pub mod virtual_machine_scale_sets { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9220,7 +9220,7 @@ pub mod virtual_machine_scale_sets { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9295,7 +9295,7 @@ pub mod virtual_machine_scale_sets { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9370,7 +9370,7 @@ pub mod virtual_machine_scale_sets { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9441,7 +9441,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9516,7 +9516,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9591,7 +9591,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9667,7 +9667,7 @@ pub mod virtual_machine_scale_sets { } } pub mod force_recovery_service_fabric_platform_update_domain_walk { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9734,7 +9734,7 @@ pub mod virtual_machine_scale_sets { } } pub mod convert_to_single_placement_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9802,7 +9802,7 @@ pub mod virtual_machine_scale_sets { } } pub mod set_orchestration_service_state { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9828,7 +9828,7 @@ pub mod virtual_machine_scale_sets { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -9873,7 +9873,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9894,7 +9894,7 @@ pub mod virtual_machine_sizes { } } pub mod images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9945,7 +9945,7 @@ pub mod images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10021,7 +10021,7 @@ pub mod images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -10099,7 +10099,7 @@ pub mod images { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -10166,7 +10166,7 @@ pub mod images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10240,7 +10240,7 @@ pub mod images { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10301,7 +10301,7 @@ pub mod images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10322,7 +10322,7 @@ pub mod images { } } pub mod virtual_machine_scale_set_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10375,7 +10375,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10453,7 +10453,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetExtension), @@ -10533,7 +10533,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetExtension), @@ -10602,7 +10602,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10673,7 +10673,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10694,7 +10694,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod virtual_machine_scale_set_rolling_upgrades { - use crate::models::*; + use super::{models, models::*}; pub async fn cancel( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10738,7 +10738,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10808,7 +10808,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_os_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10880,7 +10880,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_extension_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10953,7 +10953,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod get_latest { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10974,7 +10974,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod virtual_machine_scale_set_vm_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11031,7 +11031,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11116,7 +11116,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetVmExtension), @@ -11197,7 +11197,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11268,7 +11268,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11350,7 +11350,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11374,7 +11374,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod virtual_machine_scale_set_v_ms { - use crate::models::*; + use super::{models, models::*}; pub async fn reimage( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11428,7 +11428,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11500,7 +11500,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11572,7 +11572,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11648,7 +11648,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11723,7 +11723,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetVm), @@ -11797,7 +11797,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11873,7 +11873,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11950,7 +11950,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12022,7 +12022,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12094,7 +12094,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12163,7 +12163,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12235,7 +12235,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12315,7 +12315,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod retrieve_boot_diagnostics_data { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12378,7 +12378,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12442,7 +12442,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod simulate_eviction { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12515,7 +12515,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -12541,7 +12541,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod log_analytics { - use crate::models::*; + use super::{models, models::*}; pub async fn export_request_rate_by_interval( operation_config: &crate::OperationConfig, parameters: &RequestRateByIntervalInput, @@ -12594,7 +12594,7 @@ pub mod log_analytics { } } pub mod export_request_rate_by_interval { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -12670,7 +12670,7 @@ pub mod log_analytics { } } pub mod export_throttled_requests { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -12696,7 +12696,7 @@ pub mod log_analytics { } } pub mod virtual_machine_run_commands { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -12741,7 +12741,7 @@ pub mod virtual_machine_run_commands { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12806,7 +12806,7 @@ pub mod virtual_machine_run_commands { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12884,7 +12884,7 @@ pub mod virtual_machine_run_commands { } } pub mod get_by_virtual_machine { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12967,7 +12967,7 @@ pub mod virtual_machine_run_commands { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineRunCommand), @@ -13046,7 +13046,7 @@ pub mod virtual_machine_run_commands { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13115,7 +13115,7 @@ pub mod virtual_machine_run_commands { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13200,7 +13200,7 @@ pub mod virtual_machine_run_commands { } } pub mod list_by_virtual_machine { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13224,7 +13224,7 @@ pub mod virtual_machine_run_commands { } } pub mod virtual_machine_scale_set_vm_run_commands { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13273,7 +13273,7 @@ pub mod virtual_machine_scale_set_vm_run_commands { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13350,7 +13350,7 @@ pub mod virtual_machine_scale_set_vm_run_commands { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineRunCommand), @@ -13423,7 +13423,7 @@ pub mod virtual_machine_scale_set_vm_run_commands { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13486,7 +13486,7 @@ pub mod virtual_machine_scale_set_vm_run_commands { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13568,7 +13568,7 @@ pub mod virtual_machine_scale_set_vm_run_commands { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/compute/src/package_2021_04_01_only/operations.rs b/services/mgmt/compute/src/package_2021_04_01_only/operations.rs index 6042ffbe86..085c71f548 100644 --- a/services/mgmt/compute/src/package_2021_04_01_only/operations.rs +++ b/services/mgmt/compute/src/package_2021_04_01_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Compute/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod availability_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -108,7 +108,7 @@ pub mod availability_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -178,7 +178,7 @@ pub mod availability_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -245,7 +245,7 @@ pub mod availability_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -306,7 +306,7 @@ pub mod availability_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -379,7 +379,7 @@ pub mod availability_sets { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -442,7 +442,7 @@ pub mod availability_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -510,7 +510,7 @@ pub mod availability_sets { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -531,7 +531,7 @@ pub mod availability_sets { } } pub mod proximity_placement_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -583,7 +583,7 @@ pub mod proximity_placement_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -659,7 +659,7 @@ pub mod proximity_placement_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProximityPlacementGroup), @@ -731,7 +731,7 @@ pub mod proximity_placement_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -791,7 +791,7 @@ pub mod proximity_placement_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -855,7 +855,7 @@ pub mod proximity_placement_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -923,7 +923,7 @@ pub mod proximity_placement_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -944,7 +944,7 @@ pub mod proximity_placement_groups { } } pub mod dedicated_host_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -995,7 +995,7 @@ pub mod dedicated_host_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1071,7 +1071,7 @@ pub mod dedicated_host_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DedicatedHostGroup), @@ -1143,7 +1143,7 @@ pub mod dedicated_host_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1204,7 +1204,7 @@ pub mod dedicated_host_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1277,7 +1277,7 @@ pub mod dedicated_host_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1341,7 +1341,7 @@ pub mod dedicated_host_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1362,7 +1362,7 @@ pub mod dedicated_host_groups { } } pub mod dedicated_hosts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1415,7 +1415,7 @@ pub mod dedicated_hosts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1493,7 +1493,7 @@ pub mod dedicated_hosts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DedicatedHost), @@ -1567,7 +1567,7 @@ pub mod dedicated_hosts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1631,7 +1631,7 @@ pub mod dedicated_hosts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1705,7 +1705,7 @@ pub mod dedicated_hosts { } } pub mod list_by_host_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1726,7 +1726,7 @@ pub mod dedicated_hosts { } } pub mod ssh_public_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1772,7 +1772,7 @@ pub mod ssh_public_keys { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1840,7 +1840,7 @@ pub mod ssh_public_keys { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1905,7 +1905,7 @@ pub mod ssh_public_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1978,7 +1978,7 @@ pub mod ssh_public_keys { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SshPublicKeyResource), @@ -2050,7 +2050,7 @@ pub mod ssh_public_keys { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2111,7 +2111,7 @@ pub mod ssh_public_keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2185,7 +2185,7 @@ pub mod ssh_public_keys { } } pub mod generate_key_pair { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2206,7 +2206,7 @@ pub mod ssh_public_keys { } } pub mod virtual_machine_extension_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -2257,7 +2257,7 @@ pub mod virtual_machine_extension_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2325,7 +2325,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2407,7 +2407,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2428,7 +2428,7 @@ pub mod virtual_machine_extension_images { } } pub mod virtual_machine_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2481,7 +2481,7 @@ pub mod virtual_machine_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2559,7 +2559,7 @@ pub mod virtual_machine_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineExtension), @@ -2633,7 +2633,7 @@ pub mod virtual_machine_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2697,7 +2697,7 @@ pub mod virtual_machine_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2772,7 +2772,7 @@ pub mod virtual_machine_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2793,7 +2793,7 @@ pub mod virtual_machine_extensions { } } pub mod virtual_machine_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -2837,7 +2837,7 @@ pub mod virtual_machine_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2918,7 +2918,7 @@ pub mod virtual_machine_images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2986,7 +2986,7 @@ pub mod virtual_machine_images { } } pub mod list_offers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3052,7 +3052,7 @@ pub mod virtual_machine_images { } } pub mod list_publishers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3122,7 +3122,7 @@ pub mod virtual_machine_images { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3143,7 +3143,7 @@ pub mod virtual_machine_images { } } pub mod virtual_machine_images_edge_zone { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -3190,7 +3190,7 @@ pub mod virtual_machine_images_edge_zone { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3269,7 +3269,7 @@ pub mod virtual_machine_images_edge_zone { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3344,7 +3344,7 @@ pub mod virtual_machine_images_edge_zone { } } pub mod list_offers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3417,7 +3417,7 @@ pub mod virtual_machine_images_edge_zone { } } pub mod list_publishers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3494,7 +3494,7 @@ pub mod virtual_machine_images_edge_zone { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3518,7 +3518,7 @@ pub mod virtual_machine_images_edge_zone { } } pub mod usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -3563,7 +3563,7 @@ pub mod usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3584,7 +3584,7 @@ pub mod usage { } } pub mod virtual_machines { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, location: &str, @@ -3632,7 +3632,7 @@ pub mod virtual_machines { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3703,7 +3703,7 @@ pub mod virtual_machines { } } pub mod capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineCaptureResult), @@ -3777,7 +3777,7 @@ pub mod virtual_machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3853,7 +3853,7 @@ pub mod virtual_machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -3925,7 +3925,7 @@ pub mod virtual_machines { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3992,7 +3992,7 @@ pub mod virtual_machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4066,7 +4066,7 @@ pub mod virtual_machines { } } pub mod instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4133,7 +4133,7 @@ pub mod virtual_machines { } } pub mod convert_to_managed_disks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4203,7 +4203,7 @@ pub mod virtual_machines { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4272,7 +4272,7 @@ pub mod virtual_machines { } } pub mod generalize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4335,7 +4335,7 @@ pub mod virtual_machines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4403,7 +4403,7 @@ pub mod virtual_machines { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4471,7 +4471,7 @@ pub mod virtual_machines { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4541,7 +4541,7 @@ pub mod virtual_machines { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4613,7 +4613,7 @@ pub mod virtual_machines { } } pub mod reapply { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4686,7 +4686,7 @@ pub mod virtual_machines { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4753,7 +4753,7 @@ pub mod virtual_machines { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4823,7 +4823,7 @@ pub mod virtual_machines { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4898,7 +4898,7 @@ pub mod virtual_machines { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4983,7 +4983,7 @@ pub mod virtual_machines { } } pub mod retrieve_boot_diagnostics_data { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5051,7 +5051,7 @@ pub mod virtual_machines { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5120,7 +5120,7 @@ pub mod virtual_machines { } } pub mod simulate_eviction { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5192,7 +5192,7 @@ pub mod virtual_machines { } } pub mod assess_patches { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineAssessPatchesResult), @@ -5273,7 +5273,7 @@ pub mod virtual_machines { } } pub mod install_patches { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineInstallPatchesResult), @@ -5352,7 +5352,7 @@ pub mod virtual_machines { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -5378,7 +5378,7 @@ pub mod virtual_machines { } } pub mod virtual_machine_scale_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, location: &str, @@ -5428,7 +5428,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5500,7 +5500,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5576,7 +5576,7 @@ pub mod virtual_machine_scale_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSet), @@ -5648,7 +5648,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5715,7 +5715,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5791,7 +5791,7 @@ pub mod virtual_machine_scale_sets { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5867,7 +5867,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5940,7 +5940,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6003,7 +6003,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6067,7 +6067,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6135,7 +6135,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6205,7 +6205,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_os_upgrade_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6280,7 +6280,7 @@ pub mod virtual_machine_scale_sets { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6355,7 +6355,7 @@ pub mod virtual_machine_scale_sets { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6427,7 +6427,7 @@ pub mod virtual_machine_scale_sets { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6502,7 +6502,7 @@ pub mod virtual_machine_scale_sets { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6577,7 +6577,7 @@ pub mod virtual_machine_scale_sets { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6648,7 +6648,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6723,7 +6723,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6798,7 +6798,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6874,7 +6874,7 @@ pub mod virtual_machine_scale_sets { } } pub mod force_recovery_service_fabric_platform_update_domain_walk { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6941,7 +6941,7 @@ pub mod virtual_machine_scale_sets { } } pub mod convert_to_single_placement_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7009,7 +7009,7 @@ pub mod virtual_machine_scale_sets { } } pub mod set_orchestration_service_state { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7035,7 +7035,7 @@ pub mod virtual_machine_scale_sets { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -7080,7 +7080,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7101,7 +7101,7 @@ pub mod virtual_machine_sizes { } } pub mod images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7152,7 +7152,7 @@ pub mod images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7228,7 +7228,7 @@ pub mod images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -7306,7 +7306,7 @@ pub mod images { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -7373,7 +7373,7 @@ pub mod images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7447,7 +7447,7 @@ pub mod images { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7508,7 +7508,7 @@ pub mod images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7529,7 +7529,7 @@ pub mod images { } } pub mod restore_point_collections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7582,7 +7582,7 @@ pub mod restore_point_collections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7663,7 +7663,7 @@ pub mod restore_point_collections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RestorePointCollection), @@ -7740,7 +7740,7 @@ pub mod restore_point_collections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7807,7 +7807,7 @@ pub mod restore_point_collections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7881,7 +7881,7 @@ pub mod restore_point_collections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7950,7 +7950,7 @@ pub mod restore_point_collections { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7974,7 +7974,7 @@ pub mod restore_point_collections { } } pub mod restore_points { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8025,7 +8025,7 @@ pub mod restore_points { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8099,7 +8099,7 @@ pub mod restore_points { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8168,7 +8168,7 @@ pub mod restore_points { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8198,7 +8198,7 @@ pub mod restore_points { } } pub mod capacity_reservation_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8251,7 +8251,7 @@ pub mod capacity_reservation_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8332,7 +8332,7 @@ pub mod capacity_reservation_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CapacityReservationGroup), @@ -8409,7 +8409,7 @@ pub mod capacity_reservation_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8475,7 +8475,7 @@ pub mod capacity_reservation_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8557,7 +8557,7 @@ pub mod capacity_reservation_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8630,7 +8630,7 @@ pub mod capacity_reservation_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8654,7 +8654,7 @@ pub mod capacity_reservation_groups { } } pub mod capacity_reservations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8709,7 +8709,7 @@ pub mod capacity_reservations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8792,7 +8792,7 @@ pub mod capacity_reservations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CapacityReservation), @@ -8872,7 +8872,7 @@ pub mod capacity_reservations { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8946,7 +8946,7 @@ pub mod capacity_reservations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9027,7 +9027,7 @@ pub mod capacity_reservations { } } pub mod list_by_capacity_reservation_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9051,7 +9051,7 @@ pub mod capacity_reservations { } } pub mod virtual_machine_scale_set_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9104,7 +9104,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9182,7 +9182,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetExtension), @@ -9262,7 +9262,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetExtension), @@ -9331,7 +9331,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9402,7 +9402,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9423,7 +9423,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod virtual_machine_scale_set_rolling_upgrades { - use crate::models::*; + use super::{models, models::*}; pub async fn cancel( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9467,7 +9467,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9537,7 +9537,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_os_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9609,7 +9609,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_extension_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9682,7 +9682,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod get_latest { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9703,7 +9703,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod virtual_machine_scale_set_vm_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9760,7 +9760,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9845,7 +9845,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetVmExtension), @@ -9926,7 +9926,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9997,7 +9997,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10079,7 +10079,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10103,7 +10103,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod virtual_machine_scale_set_v_ms { - use crate::models::*; + use super::{models, models::*}; pub async fn reimage( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10157,7 +10157,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10229,7 +10229,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10301,7 +10301,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10377,7 +10377,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10452,7 +10452,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetVm), @@ -10526,7 +10526,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10602,7 +10602,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10679,7 +10679,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10751,7 +10751,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10823,7 +10823,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10892,7 +10892,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10964,7 +10964,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11044,7 +11044,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod retrieve_boot_diagnostics_data { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11107,7 +11107,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11171,7 +11171,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod simulate_eviction { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11244,7 +11244,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -11270,7 +11270,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod log_analytics { - use crate::models::*; + use super::{models, models::*}; pub async fn export_request_rate_by_interval( operation_config: &crate::OperationConfig, parameters: &RequestRateByIntervalInput, @@ -11323,7 +11323,7 @@ pub mod log_analytics { } } pub mod export_request_rate_by_interval { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -11399,7 +11399,7 @@ pub mod log_analytics { } } pub mod export_throttled_requests { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -11425,7 +11425,7 @@ pub mod log_analytics { } } pub mod virtual_machine_run_commands { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -11470,7 +11470,7 @@ pub mod virtual_machine_run_commands { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11535,7 +11535,7 @@ pub mod virtual_machine_run_commands { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11613,7 +11613,7 @@ pub mod virtual_machine_run_commands { } } pub mod get_by_virtual_machine { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11696,7 +11696,7 @@ pub mod virtual_machine_run_commands { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineRunCommand), @@ -11775,7 +11775,7 @@ pub mod virtual_machine_run_commands { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11844,7 +11844,7 @@ pub mod virtual_machine_run_commands { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11929,7 +11929,7 @@ pub mod virtual_machine_run_commands { } } pub mod list_by_virtual_machine { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11953,7 +11953,7 @@ pub mod virtual_machine_run_commands { } } pub mod virtual_machine_scale_set_vm_run_commands { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12002,7 +12002,7 @@ pub mod virtual_machine_scale_set_vm_run_commands { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12079,7 +12079,7 @@ pub mod virtual_machine_scale_set_vm_run_commands { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineRunCommand), @@ -12152,7 +12152,7 @@ pub mod virtual_machine_scale_set_vm_run_commands { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12215,7 +12215,7 @@ pub mod virtual_machine_scale_set_vm_run_commands { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12297,7 +12297,7 @@ pub mod virtual_machine_scale_set_vm_run_commands { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12321,7 +12321,7 @@ pub mod virtual_machine_scale_set_vm_run_commands { } } pub mod disks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12368,7 +12368,7 @@ pub mod disks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12444,7 +12444,7 @@ pub mod disks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -12522,7 +12522,7 @@ pub mod disks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -12589,7 +12589,7 @@ pub mod disks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12663,7 +12663,7 @@ pub mod disks { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12721,7 +12721,7 @@ pub mod disks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12792,7 +12792,7 @@ pub mod disks { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -12862,7 +12862,7 @@ pub mod disks { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12888,7 +12888,7 @@ pub mod disks { } } pub mod snapshots { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12935,7 +12935,7 @@ pub mod snapshots { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13011,7 +13011,7 @@ pub mod snapshots { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -13089,7 +13089,7 @@ pub mod snapshots { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -13156,7 +13156,7 @@ pub mod snapshots { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13230,7 +13230,7 @@ pub mod snapshots { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13288,7 +13288,7 @@ pub mod snapshots { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13359,7 +13359,7 @@ pub mod snapshots { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -13429,7 +13429,7 @@ pub mod snapshots { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13455,7 +13455,7 @@ pub mod snapshots { } } pub mod disk_encryption_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -13504,7 +13504,7 @@ pub mod disk_encryption_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13585,7 +13585,7 @@ pub mod disk_encryption_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskEncryptionSet), @@ -13668,7 +13668,7 @@ pub mod disk_encryption_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskEncryptionSet), @@ -13740,7 +13740,7 @@ pub mod disk_encryption_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13819,7 +13819,7 @@ pub mod disk_encryption_sets { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13885,7 +13885,7 @@ pub mod disk_encryption_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13960,7 +13960,7 @@ pub mod disk_encryption_sets { } } pub mod list_associated_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13984,7 +13984,7 @@ pub mod disk_encryption_sets { } } pub mod disk_accesses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -14033,7 +14033,7 @@ pub mod disk_accesses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14114,7 +14114,7 @@ pub mod disk_accesses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskAccess), @@ -14197,7 +14197,7 @@ pub mod disk_accesses { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskAccess), @@ -14269,7 +14269,7 @@ pub mod disk_accesses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -14348,7 +14348,7 @@ pub mod disk_accesses { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14414,7 +14414,7 @@ pub mod disk_accesses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14487,7 +14487,7 @@ pub mod disk_accesses { } } pub mod get_private_link_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14561,7 +14561,7 @@ pub mod disk_accesses { } } pub mod get_a_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14647,7 +14647,7 @@ pub mod disk_accesses { } } pub mod update_a_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -14726,7 +14726,7 @@ pub mod disk_accesses { } } pub mod delete_a_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -14807,7 +14807,7 @@ pub mod disk_accesses { } } pub mod list_private_endpoint_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14831,7 +14831,7 @@ pub mod disk_accesses { } } pub mod disk_restore_point { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -14876,7 +14876,7 @@ pub mod disk_restore_point { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14946,7 +14946,7 @@ pub mod disk_restore_point { } } pub mod list_by_restore_point { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15018,7 +15018,7 @@ pub mod disk_restore_point { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -15089,7 +15089,7 @@ pub mod disk_restore_point { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/compute/src/package_2021_06_01_preview_only/operations.rs b/services/mgmt/compute/src/package_2021_06_01_preview_only/operations.rs index 4d2f190b01..589b12004f 100644 --- a/services/mgmt/compute/src/package_2021_06_01_preview_only/operations.rs +++ b/services/mgmt/compute/src/package_2021_06_01_preview_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod diagnostic_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn read( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -48,7 +48,7 @@ pub mod diagnostic_operations { } } pub mod read { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -77,7 +77,7 @@ pub mod diagnostic_operations { } } pub mod disk_inspection { - use crate::models::*; + use super::{models, models::*}; pub async fn create( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -126,7 +126,7 @@ pub mod disk_inspection { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -193,7 +193,7 @@ pub mod disk_inspection { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -217,7 +217,7 @@ pub mod disk_inspection { } } pub mod diagnostics { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -263,7 +263,7 @@ pub mod diagnostics { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/compute/src/package_2021_07_01_only/operations.rs b/services/mgmt/compute/src/package_2021_07_01_only/operations.rs index 2549d8c43f..d708d66180 100644 --- a/services/mgmt/compute/src/package_2021_07_01_only/operations.rs +++ b/services/mgmt/compute/src/package_2021_07_01_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Compute/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod availability_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -108,7 +108,7 @@ pub mod availability_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -178,7 +178,7 @@ pub mod availability_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -245,7 +245,7 @@ pub mod availability_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -306,7 +306,7 @@ pub mod availability_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -379,7 +379,7 @@ pub mod availability_sets { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -442,7 +442,7 @@ pub mod availability_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -510,7 +510,7 @@ pub mod availability_sets { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -531,7 +531,7 @@ pub mod availability_sets { } } pub mod proximity_placement_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -583,7 +583,7 @@ pub mod proximity_placement_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -659,7 +659,7 @@ pub mod proximity_placement_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProximityPlacementGroup), @@ -731,7 +731,7 @@ pub mod proximity_placement_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -791,7 +791,7 @@ pub mod proximity_placement_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -855,7 +855,7 @@ pub mod proximity_placement_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -923,7 +923,7 @@ pub mod proximity_placement_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -944,7 +944,7 @@ pub mod proximity_placement_groups { } } pub mod dedicated_host_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -995,7 +995,7 @@ pub mod dedicated_host_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1071,7 +1071,7 @@ pub mod dedicated_host_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DedicatedHostGroup), @@ -1143,7 +1143,7 @@ pub mod dedicated_host_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1204,7 +1204,7 @@ pub mod dedicated_host_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1277,7 +1277,7 @@ pub mod dedicated_host_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1341,7 +1341,7 @@ pub mod dedicated_host_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1362,7 +1362,7 @@ pub mod dedicated_host_groups { } } pub mod dedicated_hosts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1415,7 +1415,7 @@ pub mod dedicated_hosts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1493,7 +1493,7 @@ pub mod dedicated_hosts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DedicatedHost), @@ -1567,7 +1567,7 @@ pub mod dedicated_hosts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1631,7 +1631,7 @@ pub mod dedicated_hosts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1705,7 +1705,7 @@ pub mod dedicated_hosts { } } pub mod list_by_host_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1726,7 +1726,7 @@ pub mod dedicated_hosts { } } pub mod ssh_public_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1772,7 +1772,7 @@ pub mod ssh_public_keys { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1840,7 +1840,7 @@ pub mod ssh_public_keys { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1905,7 +1905,7 @@ pub mod ssh_public_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1978,7 +1978,7 @@ pub mod ssh_public_keys { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SshPublicKeyResource), @@ -2050,7 +2050,7 @@ pub mod ssh_public_keys { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2111,7 +2111,7 @@ pub mod ssh_public_keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2185,7 +2185,7 @@ pub mod ssh_public_keys { } } pub mod generate_key_pair { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2206,7 +2206,7 @@ pub mod ssh_public_keys { } } pub mod virtual_machine_extension_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -2257,7 +2257,7 @@ pub mod virtual_machine_extension_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2325,7 +2325,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2407,7 +2407,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2428,7 +2428,7 @@ pub mod virtual_machine_extension_images { } } pub mod virtual_machine_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2481,7 +2481,7 @@ pub mod virtual_machine_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2559,7 +2559,7 @@ pub mod virtual_machine_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineExtension), @@ -2633,7 +2633,7 @@ pub mod virtual_machine_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2697,7 +2697,7 @@ pub mod virtual_machine_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2772,7 +2772,7 @@ pub mod virtual_machine_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2793,7 +2793,7 @@ pub mod virtual_machine_extensions { } } pub mod virtual_machine_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -2837,7 +2837,7 @@ pub mod virtual_machine_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2918,7 +2918,7 @@ pub mod virtual_machine_images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2986,7 +2986,7 @@ pub mod virtual_machine_images { } } pub mod list_offers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3052,7 +3052,7 @@ pub mod virtual_machine_images { } } pub mod list_publishers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3122,7 +3122,7 @@ pub mod virtual_machine_images { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3143,7 +3143,7 @@ pub mod virtual_machine_images { } } pub mod virtual_machine_images_edge_zone { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -3190,7 +3190,7 @@ pub mod virtual_machine_images_edge_zone { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3269,7 +3269,7 @@ pub mod virtual_machine_images_edge_zone { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3344,7 +3344,7 @@ pub mod virtual_machine_images_edge_zone { } } pub mod list_offers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3417,7 +3417,7 @@ pub mod virtual_machine_images_edge_zone { } } pub mod list_publishers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3494,7 +3494,7 @@ pub mod virtual_machine_images_edge_zone { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3518,7 +3518,7 @@ pub mod virtual_machine_images_edge_zone { } } pub mod usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -3563,7 +3563,7 @@ pub mod usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3584,7 +3584,7 @@ pub mod usage { } } pub mod virtual_machines { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, location: &str, @@ -3632,7 +3632,7 @@ pub mod virtual_machines { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3703,7 +3703,7 @@ pub mod virtual_machines { } } pub mod capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineCaptureResult), @@ -3777,7 +3777,7 @@ pub mod virtual_machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3853,7 +3853,7 @@ pub mod virtual_machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -3925,7 +3925,7 @@ pub mod virtual_machines { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3992,7 +3992,7 @@ pub mod virtual_machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4066,7 +4066,7 @@ pub mod virtual_machines { } } pub mod instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4133,7 +4133,7 @@ pub mod virtual_machines { } } pub mod convert_to_managed_disks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4207,7 +4207,7 @@ pub mod virtual_machines { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4276,7 +4276,7 @@ pub mod virtual_machines { } } pub mod generalize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4339,7 +4339,7 @@ pub mod virtual_machines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4407,7 +4407,7 @@ pub mod virtual_machines { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4475,7 +4475,7 @@ pub mod virtual_machines { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4545,7 +4545,7 @@ pub mod virtual_machines { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4617,7 +4617,7 @@ pub mod virtual_machines { } } pub mod reapply { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4690,7 +4690,7 @@ pub mod virtual_machines { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4757,7 +4757,7 @@ pub mod virtual_machines { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4827,7 +4827,7 @@ pub mod virtual_machines { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4902,7 +4902,7 @@ pub mod virtual_machines { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4987,7 +4987,7 @@ pub mod virtual_machines { } } pub mod retrieve_boot_diagnostics_data { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5055,7 +5055,7 @@ pub mod virtual_machines { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5124,7 +5124,7 @@ pub mod virtual_machines { } } pub mod simulate_eviction { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5196,7 +5196,7 @@ pub mod virtual_machines { } } pub mod assess_patches { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineAssessPatchesResult), @@ -5277,7 +5277,7 @@ pub mod virtual_machines { } } pub mod install_patches { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineInstallPatchesResult), @@ -5356,7 +5356,7 @@ pub mod virtual_machines { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -5382,7 +5382,7 @@ pub mod virtual_machines { } } pub mod virtual_machine_scale_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, location: &str, @@ -5432,7 +5432,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5504,7 +5504,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5580,7 +5580,7 @@ pub mod virtual_machine_scale_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSet), @@ -5652,7 +5652,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5719,7 +5719,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5795,7 +5795,7 @@ pub mod virtual_machine_scale_sets { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5871,7 +5871,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5944,7 +5944,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6007,7 +6007,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6071,7 +6071,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6139,7 +6139,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6209,7 +6209,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_os_upgrade_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6284,7 +6284,7 @@ pub mod virtual_machine_scale_sets { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6359,7 +6359,7 @@ pub mod virtual_machine_scale_sets { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6431,7 +6431,7 @@ pub mod virtual_machine_scale_sets { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6506,7 +6506,7 @@ pub mod virtual_machine_scale_sets { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6581,7 +6581,7 @@ pub mod virtual_machine_scale_sets { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6652,7 +6652,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6727,7 +6727,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6802,7 +6802,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6878,7 +6878,7 @@ pub mod virtual_machine_scale_sets { } } pub mod force_recovery_service_fabric_platform_update_domain_walk { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6945,7 +6945,7 @@ pub mod virtual_machine_scale_sets { } } pub mod convert_to_single_placement_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7013,7 +7013,7 @@ pub mod virtual_machine_scale_sets { } } pub mod set_orchestration_service_state { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7039,7 +7039,7 @@ pub mod virtual_machine_scale_sets { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -7084,7 +7084,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7105,7 +7105,7 @@ pub mod virtual_machine_sizes { } } pub mod images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7156,7 +7156,7 @@ pub mod images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7232,7 +7232,7 @@ pub mod images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -7310,7 +7310,7 @@ pub mod images { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -7377,7 +7377,7 @@ pub mod images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7451,7 +7451,7 @@ pub mod images { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7512,7 +7512,7 @@ pub mod images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7533,7 +7533,7 @@ pub mod images { } } pub mod restore_point_collections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7586,7 +7586,7 @@ pub mod restore_point_collections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7667,7 +7667,7 @@ pub mod restore_point_collections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RestorePointCollection), @@ -7744,7 +7744,7 @@ pub mod restore_point_collections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7811,7 +7811,7 @@ pub mod restore_point_collections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7885,7 +7885,7 @@ pub mod restore_point_collections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7954,7 +7954,7 @@ pub mod restore_point_collections { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7978,7 +7978,7 @@ pub mod restore_point_collections { } } pub mod restore_points { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8029,7 +8029,7 @@ pub mod restore_points { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8103,7 +8103,7 @@ pub mod restore_points { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8172,7 +8172,7 @@ pub mod restore_points { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8202,7 +8202,7 @@ pub mod restore_points { } } pub mod capacity_reservation_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8255,7 +8255,7 @@ pub mod capacity_reservation_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8336,7 +8336,7 @@ pub mod capacity_reservation_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CapacityReservationGroup), @@ -8413,7 +8413,7 @@ pub mod capacity_reservation_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8479,7 +8479,7 @@ pub mod capacity_reservation_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8561,7 +8561,7 @@ pub mod capacity_reservation_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8634,7 +8634,7 @@ pub mod capacity_reservation_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8658,7 +8658,7 @@ pub mod capacity_reservation_groups { } } pub mod capacity_reservations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8713,7 +8713,7 @@ pub mod capacity_reservations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8796,7 +8796,7 @@ pub mod capacity_reservations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CapacityReservation), @@ -8876,7 +8876,7 @@ pub mod capacity_reservations { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8950,7 +8950,7 @@ pub mod capacity_reservations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9031,7 +9031,7 @@ pub mod capacity_reservations { } } pub mod list_by_capacity_reservation_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9055,7 +9055,7 @@ pub mod capacity_reservations { } } pub mod virtual_machine_scale_set_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9108,7 +9108,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9186,7 +9186,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetExtension), @@ -9266,7 +9266,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetExtension), @@ -9335,7 +9335,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9406,7 +9406,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9427,7 +9427,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod virtual_machine_scale_set_rolling_upgrades { - use crate::models::*; + use super::{models, models::*}; pub async fn cancel( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9471,7 +9471,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9541,7 +9541,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_os_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9613,7 +9613,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_extension_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9686,7 +9686,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod get_latest { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9707,7 +9707,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod virtual_machine_scale_set_vm_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9764,7 +9764,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9849,7 +9849,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetVmExtension), @@ -9930,7 +9930,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10001,7 +10001,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10083,7 +10083,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10107,7 +10107,7 @@ pub mod virtual_machine_scale_set_vm_extensions { } } pub mod virtual_machine_scale_set_v_ms { - use crate::models::*; + use super::{models, models::*}; pub async fn reimage( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10161,7 +10161,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10233,7 +10233,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10305,7 +10305,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10381,7 +10381,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10456,7 +10456,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetVm), @@ -10530,7 +10530,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10606,7 +10606,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10683,7 +10683,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10755,7 +10755,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10827,7 +10827,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10896,7 +10896,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10968,7 +10968,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11048,7 +11048,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod retrieve_boot_diagnostics_data { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11111,7 +11111,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11175,7 +11175,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod simulate_eviction { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11248,7 +11248,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -11274,7 +11274,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod log_analytics { - use crate::models::*; + use super::{models, models::*}; pub async fn export_request_rate_by_interval( operation_config: &crate::OperationConfig, parameters: &RequestRateByIntervalInput, @@ -11327,7 +11327,7 @@ pub mod log_analytics { } } pub mod export_request_rate_by_interval { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -11403,7 +11403,7 @@ pub mod log_analytics { } } pub mod export_throttled_requests { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -11429,7 +11429,7 @@ pub mod log_analytics { } } pub mod virtual_machine_run_commands { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -11474,7 +11474,7 @@ pub mod virtual_machine_run_commands { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11539,7 +11539,7 @@ pub mod virtual_machine_run_commands { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11617,7 +11617,7 @@ pub mod virtual_machine_run_commands { } } pub mod get_by_virtual_machine { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11700,7 +11700,7 @@ pub mod virtual_machine_run_commands { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineRunCommand), @@ -11779,7 +11779,7 @@ pub mod virtual_machine_run_commands { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11848,7 +11848,7 @@ pub mod virtual_machine_run_commands { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11933,7 +11933,7 @@ pub mod virtual_machine_run_commands { } } pub mod list_by_virtual_machine { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11957,7 +11957,7 @@ pub mod virtual_machine_run_commands { } } pub mod virtual_machine_scale_set_vm_run_commands { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12006,7 +12006,7 @@ pub mod virtual_machine_scale_set_vm_run_commands { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12083,7 +12083,7 @@ pub mod virtual_machine_scale_set_vm_run_commands { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineRunCommand), @@ -12156,7 +12156,7 @@ pub mod virtual_machine_scale_set_vm_run_commands { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12219,7 +12219,7 @@ pub mod virtual_machine_scale_set_vm_run_commands { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12301,7 +12301,7 @@ pub mod virtual_machine_scale_set_vm_run_commands { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12325,7 +12325,7 @@ pub mod virtual_machine_scale_set_vm_run_commands { } } pub mod resource_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12377,7 +12377,7 @@ pub mod resource_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12398,7 +12398,7 @@ pub mod resource_skus { } } pub mod galleries { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12451,7 +12451,7 @@ pub mod galleries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12538,7 +12538,7 @@ pub mod galleries { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Gallery), @@ -12616,7 +12616,7 @@ pub mod galleries { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12683,7 +12683,7 @@ pub mod galleries { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12762,7 +12762,7 @@ pub mod galleries { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12825,7 +12825,7 @@ pub mod galleries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12849,7 +12849,7 @@ pub mod galleries { } } pub mod gallery_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12900,7 +12900,7 @@ pub mod gallery_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12989,7 +12989,7 @@ pub mod gallery_images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryImage), @@ -13069,7 +13069,7 @@ pub mod gallery_images { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13138,7 +13138,7 @@ pub mod gallery_images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13217,7 +13217,7 @@ pub mod gallery_images { } } pub mod list_by_gallery { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13241,7 +13241,7 @@ pub mod gallery_images { } } pub mod gallery_image_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -13298,7 +13298,7 @@ pub mod gallery_image_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13389,7 +13389,7 @@ pub mod gallery_image_versions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryImageVersion), @@ -13471,7 +13471,7 @@ pub mod gallery_image_versions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13542,7 +13542,7 @@ pub mod gallery_image_versions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13625,7 +13625,7 @@ pub mod gallery_image_versions { } } pub mod list_by_gallery_image { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13649,7 +13649,7 @@ pub mod gallery_image_versions { } } pub mod gallery_applications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -13700,7 +13700,7 @@ pub mod gallery_applications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13789,7 +13789,7 @@ pub mod gallery_applications { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryApplication), @@ -13869,7 +13869,7 @@ pub mod gallery_applications { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13938,7 +13938,7 @@ pub mod gallery_applications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -14017,7 +14017,7 @@ pub mod gallery_applications { } } pub mod list_by_gallery { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14041,7 +14041,7 @@ pub mod gallery_applications { } } pub mod gallery_application_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -14098,7 +14098,7 @@ pub mod gallery_application_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14189,7 +14189,7 @@ pub mod gallery_application_versions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryApplicationVersion), @@ -14271,7 +14271,7 @@ pub mod gallery_application_versions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14342,7 +14342,7 @@ pub mod gallery_application_versions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -14425,7 +14425,7 @@ pub mod gallery_application_versions { } } pub mod list_by_gallery_application { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14449,7 +14449,7 @@ pub mod gallery_application_versions { } } pub mod gallery_sharing_profile { - use crate::models::*; + use super::{models, models::*}; pub async fn update( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -14506,7 +14506,7 @@ pub mod gallery_sharing_profile { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SharingUpdate), @@ -14535,7 +14535,7 @@ pub mod gallery_sharing_profile { } } pub mod shared_galleries { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -14586,7 +14586,7 @@ pub mod shared_galleries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14656,7 +14656,7 @@ pub mod shared_galleries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14680,7 +14680,7 @@ pub mod shared_galleries { } } pub mod shared_gallery_images { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -14733,7 +14733,7 @@ pub mod shared_gallery_images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14805,7 +14805,7 @@ pub mod shared_gallery_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14829,7 +14829,7 @@ pub mod shared_gallery_images { } } pub mod shared_gallery_image_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -14884,7 +14884,7 @@ pub mod shared_gallery_image_versions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14958,7 +14958,7 @@ pub mod shared_gallery_image_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14982,7 +14982,7 @@ pub mod shared_gallery_image_versions { } } pub mod community_galleries { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -15031,7 +15031,7 @@ pub mod community_galleries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15055,7 +15055,7 @@ pub mod community_galleries { } } pub mod community_gallery_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -15106,7 +15106,7 @@ pub mod community_gallery_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15130,7 +15130,7 @@ pub mod community_gallery_images { } } pub mod community_gallery_image_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -15183,7 +15183,7 @@ pub mod community_gallery_image_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/compute/src/package_compute_2015_06/operations.rs b/services/mgmt/compute/src/package_compute_2015_06/operations.rs index 79092a5fde..1636b408f4 100644 --- a/services/mgmt/compute/src/package_compute_2015_06/operations.rs +++ b/services/mgmt/compute/src/package_compute_2015_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod availability_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod availability_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -121,7 +121,7 @@ pub mod availability_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -187,7 +187,7 @@ pub mod availability_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -255,7 +255,7 @@ pub mod availability_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -323,7 +323,7 @@ pub mod availability_sets { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -344,7 +344,7 @@ pub mod availability_sets { } } pub mod virtual_machine_extension_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -395,7 +395,7 @@ pub mod virtual_machine_extension_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -463,7 +463,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -545,7 +545,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -566,7 +566,7 @@ pub mod virtual_machine_extension_images { } } pub mod virtual_machine_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -619,7 +619,7 @@ pub mod virtual_machine_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -697,7 +697,7 @@ pub mod virtual_machine_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineExtension), @@ -771,7 +771,7 @@ pub mod virtual_machine_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -840,7 +840,7 @@ pub mod virtual_machine_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -867,7 +867,7 @@ pub mod virtual_machine_extensions { } } pub mod virtual_machine_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -911,7 +911,7 @@ pub mod virtual_machine_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -992,7 +992,7 @@ pub mod virtual_machine_images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1060,7 +1060,7 @@ pub mod virtual_machine_images { } } pub mod list_offers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1126,7 +1126,7 @@ pub mod virtual_machine_images { } } pub mod list_publishers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1196,7 +1196,7 @@ pub mod virtual_machine_images { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1217,7 +1217,7 @@ pub mod virtual_machine_images { } } pub mod usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -1262,7 +1262,7 @@ pub mod usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1283,7 +1283,7 @@ pub mod usage { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -1328,7 +1328,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1349,7 +1349,7 @@ pub mod virtual_machine_sizes { } } pub mod virtual_machines { - use crate::models::*; + use super::{models, models::*}; pub async fn capture( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1402,7 +1402,7 @@ pub mod virtual_machines { } } pub mod capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineCaptureResult), @@ -1476,7 +1476,7 @@ pub mod virtual_machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1552,7 +1552,7 @@ pub mod virtual_machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -1624,7 +1624,7 @@ pub mod virtual_machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -1700,7 +1700,7 @@ pub mod virtual_machines { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -1774,7 +1774,7 @@ pub mod virtual_machines { } } pub mod generalize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1837,7 +1837,7 @@ pub mod virtual_machines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1901,7 +1901,7 @@ pub mod virtual_machines { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1969,7 +1969,7 @@ pub mod virtual_machines { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2039,7 +2039,7 @@ pub mod virtual_machines { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -2114,7 +2114,7 @@ pub mod virtual_machines { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -2186,7 +2186,7 @@ pub mod virtual_machines { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -2261,7 +2261,7 @@ pub mod virtual_machines { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -2287,7 +2287,7 @@ pub mod virtual_machines { } } pub mod virtual_machine_scale_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2334,7 +2334,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2410,7 +2410,7 @@ pub mod virtual_machine_scale_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSet), @@ -2482,7 +2482,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -2563,7 +2563,7 @@ pub mod virtual_machine_scale_sets { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -2639,7 +2639,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -2712,7 +2712,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2775,7 +2775,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2839,7 +2839,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2907,7 +2907,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2982,7 +2982,7 @@ pub mod virtual_machine_scale_sets { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3062,7 +3062,7 @@ pub mod virtual_machine_scale_sets { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3139,7 +3139,7 @@ pub mod virtual_machine_scale_sets { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3215,7 +3215,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3290,7 +3290,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3316,7 +3316,7 @@ pub mod virtual_machine_scale_sets { } } pub mod virtual_machine_scale_set_v_ms { - use crate::models::*; + use super::{models, models::*}; pub async fn reimage( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3370,7 +3370,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3447,7 +3447,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3519,7 +3519,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3588,7 +3588,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3664,7 +3664,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3741,7 +3741,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3813,7 +3813,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3890,7 +3890,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3964,7 +3964,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), diff --git a/services/mgmt/compute/src/package_compute_2016_03/operations.rs b/services/mgmt/compute/src/package_compute_2016_03/operations.rs index 6c688c8d83..6bd5701850 100644 --- a/services/mgmt/compute/src/package_compute_2016_03/operations.rs +++ b/services/mgmt/compute/src/package_compute_2016_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod availability_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod availability_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -121,7 +121,7 @@ pub mod availability_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -187,7 +187,7 @@ pub mod availability_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -260,7 +260,7 @@ pub mod availability_sets { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -323,7 +323,7 @@ pub mod availability_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -391,7 +391,7 @@ pub mod availability_sets { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -412,7 +412,7 @@ pub mod availability_sets { } } pub mod virtual_machine_extension_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -463,7 +463,7 @@ pub mod virtual_machine_extension_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -531,7 +531,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -613,7 +613,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -634,7 +634,7 @@ pub mod virtual_machine_extension_images { } } pub mod virtual_machine_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -687,7 +687,7 @@ pub mod virtual_machine_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -765,7 +765,7 @@ pub mod virtual_machine_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineExtension), @@ -839,7 +839,7 @@ pub mod virtual_machine_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -908,7 +908,7 @@ pub mod virtual_machine_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -935,7 +935,7 @@ pub mod virtual_machine_extensions { } } pub mod virtual_machines { - use crate::models::*; + use super::{models, models::*}; pub async fn get_extensions( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -989,7 +989,7 @@ pub mod virtual_machines { } } pub mod get_extensions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1060,7 +1060,7 @@ pub mod virtual_machines { } } pub mod capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineCaptureResult), @@ -1134,7 +1134,7 @@ pub mod virtual_machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1210,7 +1210,7 @@ pub mod virtual_machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -1282,7 +1282,7 @@ pub mod virtual_machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -1358,7 +1358,7 @@ pub mod virtual_machines { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -1432,7 +1432,7 @@ pub mod virtual_machines { } } pub mod generalize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1495,7 +1495,7 @@ pub mod virtual_machines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1559,7 +1559,7 @@ pub mod virtual_machines { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1627,7 +1627,7 @@ pub mod virtual_machines { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1697,7 +1697,7 @@ pub mod virtual_machines { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -1772,7 +1772,7 @@ pub mod virtual_machines { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -1844,7 +1844,7 @@ pub mod virtual_machines { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -1919,7 +1919,7 @@ pub mod virtual_machines { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -1945,7 +1945,7 @@ pub mod virtual_machines { } } pub mod virtual_machine_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -1989,7 +1989,7 @@ pub mod virtual_machine_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2070,7 +2070,7 @@ pub mod virtual_machine_images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2138,7 +2138,7 @@ pub mod virtual_machine_images { } } pub mod list_offers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2204,7 +2204,7 @@ pub mod virtual_machine_images { } } pub mod list_publishers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2274,7 +2274,7 @@ pub mod virtual_machine_images { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2295,7 +2295,7 @@ pub mod virtual_machine_images { } } pub mod usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -2340,7 +2340,7 @@ pub mod usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2361,7 +2361,7 @@ pub mod usage { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -2406,7 +2406,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2427,7 +2427,7 @@ pub mod virtual_machine_sizes { } } pub mod virtual_machine_scale_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2474,7 +2474,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2550,7 +2550,7 @@ pub mod virtual_machine_scale_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSet), @@ -2622,7 +2622,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -2703,7 +2703,7 @@ pub mod virtual_machine_scale_sets { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -2779,7 +2779,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -2852,7 +2852,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2915,7 +2915,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2979,7 +2979,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3047,7 +3047,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3122,7 +3122,7 @@ pub mod virtual_machine_scale_sets { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3202,7 +3202,7 @@ pub mod virtual_machine_scale_sets { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3279,7 +3279,7 @@ pub mod virtual_machine_scale_sets { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3355,7 +3355,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3430,7 +3430,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3456,7 +3456,7 @@ pub mod virtual_machine_scale_sets { } } pub mod virtual_machine_scale_set_v_ms { - use crate::models::*; + use super::{models, models::*}; pub async fn reimage( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3510,7 +3510,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3587,7 +3587,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3659,7 +3659,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3728,7 +3728,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3804,7 +3804,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3881,7 +3881,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3953,7 +3953,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4030,7 +4030,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4104,7 +4104,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), diff --git a/services/mgmt/compute/src/package_compute_2016_04_preview/operations.rs b/services/mgmt/compute/src/package_compute_2016_04_preview/operations.rs index 1fa97841de..e0adf8822e 100644 --- a/services/mgmt/compute/src/package_compute_2016_04_preview/operations.rs +++ b/services/mgmt/compute/src/package_compute_2016_04_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod availability_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod availability_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -121,7 +121,7 @@ pub mod availability_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -187,7 +187,7 @@ pub mod availability_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -256,7 +256,7 @@ pub mod availability_sets { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -319,7 +319,7 @@ pub mod availability_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -387,7 +387,7 @@ pub mod availability_sets { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -408,7 +408,7 @@ pub mod availability_sets { } } pub mod virtual_machine_extension_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -459,7 +459,7 @@ pub mod virtual_machine_extension_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -527,7 +527,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -609,7 +609,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -630,7 +630,7 @@ pub mod virtual_machine_extension_images { } } pub mod virtual_machine_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -683,7 +683,7 @@ pub mod virtual_machine_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -761,7 +761,7 @@ pub mod virtual_machine_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineExtension), @@ -835,7 +835,7 @@ pub mod virtual_machine_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -904,7 +904,7 @@ pub mod virtual_machine_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -931,7 +931,7 @@ pub mod virtual_machine_extensions { } } pub mod virtual_machines { - use crate::models::*; + use super::{models, models::*}; pub async fn get_extensions( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -985,7 +985,7 @@ pub mod virtual_machines { } } pub mod get_extensions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1056,7 +1056,7 @@ pub mod virtual_machines { } } pub mod capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineCaptureResult), @@ -1130,7 +1130,7 @@ pub mod virtual_machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1206,7 +1206,7 @@ pub mod virtual_machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -1278,7 +1278,7 @@ pub mod virtual_machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -1356,7 +1356,7 @@ pub mod virtual_machines { } } pub mod convert_to_managed_disks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -1431,7 +1431,7 @@ pub mod virtual_machines { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -1505,7 +1505,7 @@ pub mod virtual_machines { } } pub mod generalize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1568,7 +1568,7 @@ pub mod virtual_machines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1632,7 +1632,7 @@ pub mod virtual_machines { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1700,7 +1700,7 @@ pub mod virtual_machines { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1770,7 +1770,7 @@ pub mod virtual_machines { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -1845,7 +1845,7 @@ pub mod virtual_machines { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -1917,7 +1917,7 @@ pub mod virtual_machines { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -1992,7 +1992,7 @@ pub mod virtual_machines { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -2018,7 +2018,7 @@ pub mod virtual_machines { } } pub mod virtual_machine_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -2062,7 +2062,7 @@ pub mod virtual_machine_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2143,7 +2143,7 @@ pub mod virtual_machine_images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2211,7 +2211,7 @@ pub mod virtual_machine_images { } } pub mod list_offers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2277,7 +2277,7 @@ pub mod virtual_machine_images { } } pub mod list_publishers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2347,7 +2347,7 @@ pub mod virtual_machine_images { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2368,7 +2368,7 @@ pub mod virtual_machine_images { } } pub mod usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -2413,7 +2413,7 @@ pub mod usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2434,7 +2434,7 @@ pub mod usage { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -2479,7 +2479,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2500,7 +2500,7 @@ pub mod virtual_machine_sizes { } } pub mod images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2551,7 +2551,7 @@ pub mod images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2627,7 +2627,7 @@ pub mod images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -2699,7 +2699,7 @@ pub mod images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -2773,7 +2773,7 @@ pub mod images { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2834,7 +2834,7 @@ pub mod images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2855,7 +2855,7 @@ pub mod images { } } pub mod virtual_machine_scale_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2902,7 +2902,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2978,7 +2978,7 @@ pub mod virtual_machine_scale_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSet), @@ -3050,7 +3050,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3131,7 +3131,7 @@ pub mod virtual_machine_scale_sets { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3207,7 +3207,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3280,7 +3280,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3343,7 +3343,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3407,7 +3407,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3475,7 +3475,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3550,7 +3550,7 @@ pub mod virtual_machine_scale_sets { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3630,7 +3630,7 @@ pub mod virtual_machine_scale_sets { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3707,7 +3707,7 @@ pub mod virtual_machine_scale_sets { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3783,7 +3783,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3858,7 +3858,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3933,7 +3933,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3959,7 +3959,7 @@ pub mod virtual_machine_scale_sets { } } pub mod virtual_machine_scale_set_v_ms { - use crate::models::*; + use super::{models, models::*}; pub async fn reimage( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4013,7 +4013,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4090,7 +4090,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4167,7 +4167,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4239,7 +4239,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4308,7 +4308,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4384,7 +4384,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4461,7 +4461,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4533,7 +4533,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4610,7 +4610,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4684,7 +4684,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4710,7 +4710,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod disks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4757,7 +4757,7 @@ pub mod disks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4833,7 +4833,7 @@ pub mod disks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -4911,7 +4911,7 @@ pub mod disks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -4983,7 +4983,7 @@ pub mod disks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -5057,7 +5057,7 @@ pub mod disks { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5115,7 +5115,7 @@ pub mod disks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5186,7 +5186,7 @@ pub mod disks { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -5261,7 +5261,7 @@ pub mod disks { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -5287,7 +5287,7 @@ pub mod disks { } } pub mod snapshots { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5334,7 +5334,7 @@ pub mod snapshots { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5410,7 +5410,7 @@ pub mod snapshots { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -5488,7 +5488,7 @@ pub mod snapshots { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -5560,7 +5560,7 @@ pub mod snapshots { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -5634,7 +5634,7 @@ pub mod snapshots { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5692,7 +5692,7 @@ pub mod snapshots { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5763,7 +5763,7 @@ pub mod snapshots { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -5838,7 +5838,7 @@ pub mod snapshots { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), diff --git a/services/mgmt/compute/src/package_compute_2017_03/operations.rs b/services/mgmt/compute/src/package_compute_2017_03/operations.rs index f14e5e7cb2..eefe45d9b7 100644 --- a/services/mgmt/compute/src/package_compute_2017_03/operations.rs +++ b/services/mgmt/compute/src/package_compute_2017_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod availability_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod availability_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -121,7 +121,7 @@ pub mod availability_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -187,7 +187,7 @@ pub mod availability_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -260,7 +260,7 @@ pub mod availability_sets { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -323,7 +323,7 @@ pub mod availability_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -391,7 +391,7 @@ pub mod availability_sets { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -412,7 +412,7 @@ pub mod availability_sets { } } pub mod virtual_machine_extension_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -463,7 +463,7 @@ pub mod virtual_machine_extension_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -531,7 +531,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -613,7 +613,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -634,7 +634,7 @@ pub mod virtual_machine_extension_images { } } pub mod virtual_machine_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -687,7 +687,7 @@ pub mod virtual_machine_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -765,7 +765,7 @@ pub mod virtual_machine_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineExtension), @@ -839,7 +839,7 @@ pub mod virtual_machine_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -908,7 +908,7 @@ pub mod virtual_machine_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -935,7 +935,7 @@ pub mod virtual_machine_extensions { } } pub mod virtual_machines { - use crate::models::*; + use super::{models, models::*}; pub async fn get_extensions( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -989,7 +989,7 @@ pub mod virtual_machines { } } pub mod get_extensions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1055,7 +1055,7 @@ pub mod virtual_machines { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1126,7 +1126,7 @@ pub mod virtual_machines { } } pub mod capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineCaptureResult), @@ -1200,7 +1200,7 @@ pub mod virtual_machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1276,7 +1276,7 @@ pub mod virtual_machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -1348,7 +1348,7 @@ pub mod virtual_machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -1422,7 +1422,7 @@ pub mod virtual_machines { } } pub mod instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1494,7 +1494,7 @@ pub mod virtual_machines { } } pub mod convert_to_managed_disks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -1569,7 +1569,7 @@ pub mod virtual_machines { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -1643,7 +1643,7 @@ pub mod virtual_machines { } } pub mod generalize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1706,7 +1706,7 @@ pub mod virtual_machines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1770,7 +1770,7 @@ pub mod virtual_machines { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1838,7 +1838,7 @@ pub mod virtual_machines { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1908,7 +1908,7 @@ pub mod virtual_machines { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -1983,7 +1983,7 @@ pub mod virtual_machines { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -2055,7 +2055,7 @@ pub mod virtual_machines { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -2130,7 +2130,7 @@ pub mod virtual_machines { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -2205,7 +2205,7 @@ pub mod virtual_machines { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -2281,7 +2281,7 @@ pub mod virtual_machines { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -2307,7 +2307,7 @@ pub mod virtual_machines { } } pub mod virtual_machine_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -2351,7 +2351,7 @@ pub mod virtual_machine_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2432,7 +2432,7 @@ pub mod virtual_machine_images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2500,7 +2500,7 @@ pub mod virtual_machine_images { } } pub mod list_offers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2566,7 +2566,7 @@ pub mod virtual_machine_images { } } pub mod list_publishers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2636,7 +2636,7 @@ pub mod virtual_machine_images { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2657,7 +2657,7 @@ pub mod virtual_machine_images { } } pub mod usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -2702,7 +2702,7 @@ pub mod usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2723,7 +2723,7 @@ pub mod usage { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -2768,7 +2768,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2789,7 +2789,7 @@ pub mod virtual_machine_sizes { } } pub mod images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2840,7 +2840,7 @@ pub mod images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2916,7 +2916,7 @@ pub mod images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -2988,7 +2988,7 @@ pub mod images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3062,7 +3062,7 @@ pub mod images { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3123,7 +3123,7 @@ pub mod images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3144,7 +3144,7 @@ pub mod images { } } pub mod resource_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3187,7 +3187,7 @@ pub mod resource_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3208,7 +3208,7 @@ pub mod resource_skus { } } pub mod virtual_machine_scale_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3255,7 +3255,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3331,7 +3331,7 @@ pub mod virtual_machine_scale_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSet), @@ -3403,7 +3403,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3470,7 +3470,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3551,7 +3551,7 @@ pub mod virtual_machine_scale_sets { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3627,7 +3627,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3700,7 +3700,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3763,7 +3763,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3827,7 +3827,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3895,7 +3895,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3970,7 +3970,7 @@ pub mod virtual_machine_scale_sets { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4050,7 +4050,7 @@ pub mod virtual_machine_scale_sets { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4127,7 +4127,7 @@ pub mod virtual_machine_scale_sets { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4203,7 +4203,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4283,7 +4283,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4363,7 +4363,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4389,7 +4389,7 @@ pub mod virtual_machine_scale_sets { } } pub mod virtual_machine_scale_set_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4442,7 +4442,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4520,7 +4520,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetExtension), @@ -4594,7 +4594,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4665,7 +4665,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4686,7 +4686,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod virtual_machine_scale_set_rolling_upgrades { - use crate::models::*; + use super::{models, models::*}; pub async fn cancel( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4735,7 +4735,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4810,7 +4810,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_os_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4883,7 +4883,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod get_latest { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4904,7 +4904,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod virtual_machine_scale_set_v_ms { - use crate::models::*; + use super::{models, models::*}; pub async fn reimage( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4958,7 +4958,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -5035,7 +5035,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -5112,7 +5112,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -5184,7 +5184,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5253,7 +5253,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -5329,7 +5329,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5406,7 +5406,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5478,7 +5478,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -5555,7 +5555,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -5629,7 +5629,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -5655,7 +5655,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod disks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5702,7 +5702,7 @@ pub mod disks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5778,7 +5778,7 @@ pub mod disks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -5856,7 +5856,7 @@ pub mod disks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -5928,7 +5928,7 @@ pub mod disks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -6002,7 +6002,7 @@ pub mod disks { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6060,7 +6060,7 @@ pub mod disks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6131,7 +6131,7 @@ pub mod disks { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -6206,7 +6206,7 @@ pub mod disks { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -6232,7 +6232,7 @@ pub mod disks { } } pub mod snapshots { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6279,7 +6279,7 @@ pub mod snapshots { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6355,7 +6355,7 @@ pub mod snapshots { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -6433,7 +6433,7 @@ pub mod snapshots { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -6505,7 +6505,7 @@ pub mod snapshots { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -6579,7 +6579,7 @@ pub mod snapshots { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6637,7 +6637,7 @@ pub mod snapshots { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6708,7 +6708,7 @@ pub mod snapshots { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -6783,7 +6783,7 @@ pub mod snapshots { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -6809,7 +6809,7 @@ pub mod snapshots { } } pub mod virtual_machine_run_commands { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -6854,7 +6854,7 @@ pub mod virtual_machine_run_commands { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6919,7 +6919,7 @@ pub mod virtual_machine_run_commands { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/compute/src/package_compute_2017_12/operations.rs b/services/mgmt/compute/src/package_compute_2017_12/operations.rs index 41b5e83833..0b2c06ab1a 100644 --- a/services/mgmt/compute/src/package_compute_2017_12/operations.rs +++ b/services/mgmt/compute/src/package_compute_2017_12/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Compute/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod availability_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -108,7 +108,7 @@ pub mod availability_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -178,7 +178,7 @@ pub mod availability_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -245,7 +245,7 @@ pub mod availability_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -311,7 +311,7 @@ pub mod availability_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -384,7 +384,7 @@ pub mod availability_sets { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -447,7 +447,7 @@ pub mod availability_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -515,7 +515,7 @@ pub mod availability_sets { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -536,7 +536,7 @@ pub mod availability_sets { } } pub mod virtual_machine_extension_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -587,7 +587,7 @@ pub mod virtual_machine_extension_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -655,7 +655,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -737,7 +737,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -758,7 +758,7 @@ pub mod virtual_machine_extension_images { } } pub mod virtual_machine_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -811,7 +811,7 @@ pub mod virtual_machine_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -889,7 +889,7 @@ pub mod virtual_machine_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineExtension), @@ -963,7 +963,7 @@ pub mod virtual_machine_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1032,7 +1032,7 @@ pub mod virtual_machine_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -1059,7 +1059,7 @@ pub mod virtual_machine_extensions { } } pub mod virtual_machines { - use crate::models::*; + use super::{models, models::*}; pub async fn get_extensions( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1113,7 +1113,7 @@ pub mod virtual_machines { } } pub mod get_extensions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1179,7 +1179,7 @@ pub mod virtual_machines { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1250,7 +1250,7 @@ pub mod virtual_machines { } } pub mod capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineCaptureResult), @@ -1324,7 +1324,7 @@ pub mod virtual_machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1400,7 +1400,7 @@ pub mod virtual_machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -1478,7 +1478,7 @@ pub mod virtual_machines { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -1550,7 +1550,7 @@ pub mod virtual_machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -1624,7 +1624,7 @@ pub mod virtual_machines { } } pub mod instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1696,7 +1696,7 @@ pub mod virtual_machines { } } pub mod convert_to_managed_disks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -1771,7 +1771,7 @@ pub mod virtual_machines { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -1845,7 +1845,7 @@ pub mod virtual_machines { } } pub mod generalize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1908,7 +1908,7 @@ pub mod virtual_machines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1972,7 +1972,7 @@ pub mod virtual_machines { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2040,7 +2040,7 @@ pub mod virtual_machines { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2110,7 +2110,7 @@ pub mod virtual_machines { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -2185,7 +2185,7 @@ pub mod virtual_machines { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -2257,7 +2257,7 @@ pub mod virtual_machines { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -2332,7 +2332,7 @@ pub mod virtual_machines { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -2407,7 +2407,7 @@ pub mod virtual_machines { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -2483,7 +2483,7 @@ pub mod virtual_machines { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -2509,7 +2509,7 @@ pub mod virtual_machines { } } pub mod virtual_machine_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -2553,7 +2553,7 @@ pub mod virtual_machine_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2634,7 +2634,7 @@ pub mod virtual_machine_images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2702,7 +2702,7 @@ pub mod virtual_machine_images { } } pub mod list_offers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2768,7 +2768,7 @@ pub mod virtual_machine_images { } } pub mod list_publishers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2838,7 +2838,7 @@ pub mod virtual_machine_images { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2859,7 +2859,7 @@ pub mod virtual_machine_images { } } pub mod usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -2904,7 +2904,7 @@ pub mod usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2925,7 +2925,7 @@ pub mod usage { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -2970,7 +2970,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2991,7 +2991,7 @@ pub mod virtual_machine_sizes { } } pub mod images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3042,7 +3042,7 @@ pub mod images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3118,7 +3118,7 @@ pub mod images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -3196,7 +3196,7 @@ pub mod images { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -3268,7 +3268,7 @@ pub mod images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3342,7 +3342,7 @@ pub mod images { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3403,7 +3403,7 @@ pub mod images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3424,7 +3424,7 @@ pub mod images { } } pub mod virtual_machine_scale_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3471,7 +3471,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3547,7 +3547,7 @@ pub mod virtual_machine_scale_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSet), @@ -3619,7 +3619,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3686,7 +3686,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3767,7 +3767,7 @@ pub mod virtual_machine_scale_sets { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3843,7 +3843,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3916,7 +3916,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3979,7 +3979,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4043,7 +4043,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4111,7 +4111,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4181,7 +4181,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_os_upgrade_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4256,7 +4256,7 @@ pub mod virtual_machine_scale_sets { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4336,7 +4336,7 @@ pub mod virtual_machine_scale_sets { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4413,7 +4413,7 @@ pub mod virtual_machine_scale_sets { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4493,7 +4493,7 @@ pub mod virtual_machine_scale_sets { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4573,7 +4573,7 @@ pub mod virtual_machine_scale_sets { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4649,7 +4649,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4729,7 +4729,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4809,7 +4809,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4885,7 +4885,7 @@ pub mod virtual_machine_scale_sets { } } pub mod force_recovery_service_fabric_platform_update_domain_walk { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4906,7 +4906,7 @@ pub mod virtual_machine_scale_sets { } } pub mod virtual_machine_scale_set_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4959,7 +4959,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5037,7 +5037,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetExtension), @@ -5111,7 +5111,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -5182,7 +5182,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5203,7 +5203,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod virtual_machine_scale_set_rolling_upgrades { - use crate::models::*; + use super::{models, models::*}; pub async fn cancel( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5252,7 +5252,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -5327,7 +5327,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_os_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -5400,7 +5400,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod get_latest { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5421,7 +5421,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod virtual_machine_scale_set_v_ms { - use crate::models::*; + use super::{models, models::*}; pub async fn reimage( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5475,7 +5475,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -5552,7 +5552,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -5629,7 +5629,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -5701,7 +5701,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5776,7 +5776,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetVm), @@ -5850,7 +5850,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -5926,7 +5926,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6003,7 +6003,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6075,7 +6075,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -6152,7 +6152,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -6226,7 +6226,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -6303,7 +6303,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -6373,7 +6373,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -6399,7 +6399,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod log_analytics { - use crate::models::*; + use super::{models, models::*}; pub async fn export_request_rate_by_interval( operation_config: &crate::OperationConfig, parameters: &RequestRateByIntervalInput, @@ -6452,7 +6452,7 @@ pub mod log_analytics { } } pub mod export_request_rate_by_interval { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -6528,7 +6528,7 @@ pub mod log_analytics { } } pub mod export_throttled_requests { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -6554,7 +6554,7 @@ pub mod log_analytics { } } pub mod virtual_machine_run_commands { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -6599,7 +6599,7 @@ pub mod virtual_machine_run_commands { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6664,7 +6664,7 @@ pub mod virtual_machine_run_commands { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6685,7 +6685,7 @@ pub mod virtual_machine_run_commands { } } pub mod resource_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6728,7 +6728,7 @@ pub mod resource_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6749,7 +6749,7 @@ pub mod resource_skus { } } pub mod disks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6796,7 +6796,7 @@ pub mod disks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6872,7 +6872,7 @@ pub mod disks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -6950,7 +6950,7 @@ pub mod disks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -7022,7 +7022,7 @@ pub mod disks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -7096,7 +7096,7 @@ pub mod disks { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7154,7 +7154,7 @@ pub mod disks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7225,7 +7225,7 @@ pub mod disks { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -7300,7 +7300,7 @@ pub mod disks { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -7326,7 +7326,7 @@ pub mod disks { } } pub mod snapshots { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7373,7 +7373,7 @@ pub mod snapshots { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7449,7 +7449,7 @@ pub mod snapshots { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -7527,7 +7527,7 @@ pub mod snapshots { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -7599,7 +7599,7 @@ pub mod snapshots { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -7673,7 +7673,7 @@ pub mod snapshots { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7731,7 +7731,7 @@ pub mod snapshots { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7802,7 +7802,7 @@ pub mod snapshots { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -7877,7 +7877,7 @@ pub mod snapshots { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), diff --git a/services/mgmt/compute/src/package_compute_2018_04/operations.rs b/services/mgmt/compute/src/package_compute_2018_04/operations.rs index 3dd21168a9..372ecc862f 100644 --- a/services/mgmt/compute/src/package_compute_2018_04/operations.rs +++ b/services/mgmt/compute/src/package_compute_2018_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Compute/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod availability_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -108,7 +108,7 @@ pub mod availability_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -178,7 +178,7 @@ pub mod availability_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -245,7 +245,7 @@ pub mod availability_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -306,7 +306,7 @@ pub mod availability_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -379,7 +379,7 @@ pub mod availability_sets { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -442,7 +442,7 @@ pub mod availability_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -510,7 +510,7 @@ pub mod availability_sets { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -531,7 +531,7 @@ pub mod availability_sets { } } pub mod proximity_placement_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -578,7 +578,7 @@ pub mod proximity_placement_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -654,7 +654,7 @@ pub mod proximity_placement_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProximityPlacementGroup), @@ -726,7 +726,7 @@ pub mod proximity_placement_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -786,7 +786,7 @@ pub mod proximity_placement_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -850,7 +850,7 @@ pub mod proximity_placement_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -918,7 +918,7 @@ pub mod proximity_placement_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -939,7 +939,7 @@ pub mod proximity_placement_groups { } } pub mod virtual_machine_extension_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -990,7 +990,7 @@ pub mod virtual_machine_extension_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1058,7 +1058,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1140,7 +1140,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1161,7 +1161,7 @@ pub mod virtual_machine_extension_images { } } pub mod virtual_machine_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1214,7 +1214,7 @@ pub mod virtual_machine_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1292,7 +1292,7 @@ pub mod virtual_machine_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineExtension), @@ -1366,7 +1366,7 @@ pub mod virtual_machine_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1430,7 +1430,7 @@ pub mod virtual_machine_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1505,7 +1505,7 @@ pub mod virtual_machine_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1526,7 +1526,7 @@ pub mod virtual_machine_extensions { } } pub mod virtual_machine_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -1570,7 +1570,7 @@ pub mod virtual_machine_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1651,7 +1651,7 @@ pub mod virtual_machine_images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1719,7 +1719,7 @@ pub mod virtual_machine_images { } } pub mod list_offers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1785,7 +1785,7 @@ pub mod virtual_machine_images { } } pub mod list_publishers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1855,7 +1855,7 @@ pub mod virtual_machine_images { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1876,7 +1876,7 @@ pub mod virtual_machine_images { } } pub mod usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -1921,7 +1921,7 @@ pub mod usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1942,7 +1942,7 @@ pub mod usage { } } pub mod virtual_machines { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, location: &str, @@ -1990,7 +1990,7 @@ pub mod virtual_machines { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2061,7 +2061,7 @@ pub mod virtual_machines { } } pub mod capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineCaptureResult), @@ -2135,7 +2135,7 @@ pub mod virtual_machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2211,7 +2211,7 @@ pub mod virtual_machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -2289,7 +2289,7 @@ pub mod virtual_machines { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -2356,7 +2356,7 @@ pub mod virtual_machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2430,7 +2430,7 @@ pub mod virtual_machines { } } pub mod instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2497,7 +2497,7 @@ pub mod virtual_machines { } } pub mod convert_to_managed_disks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2567,7 +2567,7 @@ pub mod virtual_machines { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2636,7 +2636,7 @@ pub mod virtual_machines { } } pub mod generalize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2699,7 +2699,7 @@ pub mod virtual_machines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2763,7 +2763,7 @@ pub mod virtual_machines { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2831,7 +2831,7 @@ pub mod virtual_machines { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2896,7 +2896,7 @@ pub mod virtual_machines { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2966,7 +2966,7 @@ pub mod virtual_machines { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3033,7 +3033,7 @@ pub mod virtual_machines { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3103,7 +3103,7 @@ pub mod virtual_machines { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3173,7 +3173,7 @@ pub mod virtual_machines { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3249,7 +3249,7 @@ pub mod virtual_machines { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -3275,7 +3275,7 @@ pub mod virtual_machines { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -3320,7 +3320,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3341,7 +3341,7 @@ pub mod virtual_machine_sizes { } } pub mod images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3392,7 +3392,7 @@ pub mod images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3468,7 +3468,7 @@ pub mod images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -3546,7 +3546,7 @@ pub mod images { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -3613,7 +3613,7 @@ pub mod images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3687,7 +3687,7 @@ pub mod images { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3748,7 +3748,7 @@ pub mod images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3769,7 +3769,7 @@ pub mod images { } } pub mod virtual_machine_scale_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3816,7 +3816,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3892,7 +3892,7 @@ pub mod virtual_machine_scale_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSet), @@ -3964,7 +3964,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4026,7 +4026,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4102,7 +4102,7 @@ pub mod virtual_machine_scale_sets { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4173,7 +4173,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4246,7 +4246,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4309,7 +4309,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4373,7 +4373,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4441,7 +4441,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4511,7 +4511,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_os_upgrade_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4581,7 +4581,7 @@ pub mod virtual_machine_scale_sets { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4656,7 +4656,7 @@ pub mod virtual_machine_scale_sets { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4728,7 +4728,7 @@ pub mod virtual_machine_scale_sets { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4803,7 +4803,7 @@ pub mod virtual_machine_scale_sets { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4878,7 +4878,7 @@ pub mod virtual_machine_scale_sets { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4949,7 +4949,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5024,7 +5024,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5099,7 +5099,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5175,7 +5175,7 @@ pub mod virtual_machine_scale_sets { } } pub mod force_recovery_service_fabric_platform_update_domain_walk { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5196,7 +5196,7 @@ pub mod virtual_machine_scale_sets { } } pub mod virtual_machine_scale_set_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5249,7 +5249,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5327,7 +5327,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetExtension), @@ -5396,7 +5396,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5467,7 +5467,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5488,7 +5488,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod virtual_machine_scale_set_rolling_upgrades { - use crate::models::*; + use super::{models, models::*}; pub async fn cancel( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5532,7 +5532,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5602,7 +5602,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_os_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5675,7 +5675,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod get_latest { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5696,7 +5696,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod virtual_machine_scale_set_v_ms { - use crate::models::*; + use super::{models, models::*}; pub async fn reimage( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5745,7 +5745,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5817,7 +5817,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5889,7 +5889,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5961,7 +5961,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6036,7 +6036,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetVm), @@ -6105,7 +6105,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6181,7 +6181,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6258,7 +6258,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6325,7 +6325,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6397,7 +6397,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6466,7 +6466,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6538,7 +6538,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6603,7 +6603,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6681,7 +6681,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -6707,7 +6707,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod log_analytics { - use crate::models::*; + use super::{models, models::*}; pub async fn export_request_rate_by_interval( operation_config: &crate::OperationConfig, parameters: &RequestRateByIntervalInput, @@ -6760,7 +6760,7 @@ pub mod log_analytics { } } pub mod export_request_rate_by_interval { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -6836,7 +6836,7 @@ pub mod log_analytics { } } pub mod export_throttled_requests { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -6862,7 +6862,7 @@ pub mod log_analytics { } } pub mod virtual_machine_run_commands { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -6907,7 +6907,7 @@ pub mod virtual_machine_run_commands { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6972,7 +6972,7 @@ pub mod virtual_machine_run_commands { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6993,7 +6993,7 @@ pub mod virtual_machine_run_commands { } } pub mod disks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7040,7 +7040,7 @@ pub mod disks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7116,7 +7116,7 @@ pub mod disks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -7194,7 +7194,7 @@ pub mod disks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -7261,7 +7261,7 @@ pub mod disks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7335,7 +7335,7 @@ pub mod disks { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7393,7 +7393,7 @@ pub mod disks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7464,7 +7464,7 @@ pub mod disks { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -7534,7 +7534,7 @@ pub mod disks { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7560,7 +7560,7 @@ pub mod disks { } } pub mod snapshots { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7607,7 +7607,7 @@ pub mod snapshots { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7683,7 +7683,7 @@ pub mod snapshots { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -7761,7 +7761,7 @@ pub mod snapshots { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -7828,7 +7828,7 @@ pub mod snapshots { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7902,7 +7902,7 @@ pub mod snapshots { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7960,7 +7960,7 @@ pub mod snapshots { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8031,7 +8031,7 @@ pub mod snapshots { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -8101,7 +8101,7 @@ pub mod snapshots { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/compute/src/package_compute_only_2017_12/operations.rs b/services/mgmt/compute/src/package_compute_only_2017_12/operations.rs index ccd388c939..1087ad920f 100644 --- a/services/mgmt/compute/src/package_compute_only_2017_12/operations.rs +++ b/services/mgmt/compute/src/package_compute_only_2017_12/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Compute/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod availability_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -108,7 +108,7 @@ pub mod availability_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -178,7 +178,7 @@ pub mod availability_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -245,7 +245,7 @@ pub mod availability_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -311,7 +311,7 @@ pub mod availability_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -384,7 +384,7 @@ pub mod availability_sets { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -447,7 +447,7 @@ pub mod availability_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -515,7 +515,7 @@ pub mod availability_sets { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -536,7 +536,7 @@ pub mod availability_sets { } } pub mod virtual_machine_extension_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -587,7 +587,7 @@ pub mod virtual_machine_extension_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -655,7 +655,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -737,7 +737,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -758,7 +758,7 @@ pub mod virtual_machine_extension_images { } } pub mod virtual_machine_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -811,7 +811,7 @@ pub mod virtual_machine_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -889,7 +889,7 @@ pub mod virtual_machine_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineExtension), @@ -963,7 +963,7 @@ pub mod virtual_machine_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1032,7 +1032,7 @@ pub mod virtual_machine_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -1059,7 +1059,7 @@ pub mod virtual_machine_extensions { } } pub mod virtual_machines { - use crate::models::*; + use super::{models, models::*}; pub async fn get_extensions( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1113,7 +1113,7 @@ pub mod virtual_machines { } } pub mod get_extensions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1179,7 +1179,7 @@ pub mod virtual_machines { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1250,7 +1250,7 @@ pub mod virtual_machines { } } pub mod capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineCaptureResult), @@ -1324,7 +1324,7 @@ pub mod virtual_machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1400,7 +1400,7 @@ pub mod virtual_machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -1478,7 +1478,7 @@ pub mod virtual_machines { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -1550,7 +1550,7 @@ pub mod virtual_machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -1624,7 +1624,7 @@ pub mod virtual_machines { } } pub mod instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1696,7 +1696,7 @@ pub mod virtual_machines { } } pub mod convert_to_managed_disks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -1771,7 +1771,7 @@ pub mod virtual_machines { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -1845,7 +1845,7 @@ pub mod virtual_machines { } } pub mod generalize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1908,7 +1908,7 @@ pub mod virtual_machines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1972,7 +1972,7 @@ pub mod virtual_machines { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2040,7 +2040,7 @@ pub mod virtual_machines { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2110,7 +2110,7 @@ pub mod virtual_machines { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -2185,7 +2185,7 @@ pub mod virtual_machines { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -2257,7 +2257,7 @@ pub mod virtual_machines { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -2332,7 +2332,7 @@ pub mod virtual_machines { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -2407,7 +2407,7 @@ pub mod virtual_machines { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -2483,7 +2483,7 @@ pub mod virtual_machines { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -2509,7 +2509,7 @@ pub mod virtual_machines { } } pub mod virtual_machine_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -2553,7 +2553,7 @@ pub mod virtual_machine_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2634,7 +2634,7 @@ pub mod virtual_machine_images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2702,7 +2702,7 @@ pub mod virtual_machine_images { } } pub mod list_offers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2768,7 +2768,7 @@ pub mod virtual_machine_images { } } pub mod list_publishers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2838,7 +2838,7 @@ pub mod virtual_machine_images { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2859,7 +2859,7 @@ pub mod virtual_machine_images { } } pub mod usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -2904,7 +2904,7 @@ pub mod usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2925,7 +2925,7 @@ pub mod usage { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -2970,7 +2970,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2991,7 +2991,7 @@ pub mod virtual_machine_sizes { } } pub mod images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3042,7 +3042,7 @@ pub mod images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3118,7 +3118,7 @@ pub mod images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -3196,7 +3196,7 @@ pub mod images { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -3268,7 +3268,7 @@ pub mod images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3342,7 +3342,7 @@ pub mod images { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3403,7 +3403,7 @@ pub mod images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3424,7 +3424,7 @@ pub mod images { } } pub mod virtual_machine_scale_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3471,7 +3471,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3547,7 +3547,7 @@ pub mod virtual_machine_scale_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSet), @@ -3619,7 +3619,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3686,7 +3686,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3767,7 +3767,7 @@ pub mod virtual_machine_scale_sets { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3843,7 +3843,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -3916,7 +3916,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3979,7 +3979,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4043,7 +4043,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4111,7 +4111,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4181,7 +4181,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_os_upgrade_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4256,7 +4256,7 @@ pub mod virtual_machine_scale_sets { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4336,7 +4336,7 @@ pub mod virtual_machine_scale_sets { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4413,7 +4413,7 @@ pub mod virtual_machine_scale_sets { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4493,7 +4493,7 @@ pub mod virtual_machine_scale_sets { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4573,7 +4573,7 @@ pub mod virtual_machine_scale_sets { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4649,7 +4649,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4729,7 +4729,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4809,7 +4809,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -4885,7 +4885,7 @@ pub mod virtual_machine_scale_sets { } } pub mod force_recovery_service_fabric_platform_update_domain_walk { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4906,7 +4906,7 @@ pub mod virtual_machine_scale_sets { } } pub mod virtual_machine_scale_set_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4959,7 +4959,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5037,7 +5037,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetExtension), @@ -5111,7 +5111,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -5182,7 +5182,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5203,7 +5203,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod virtual_machine_scale_set_rolling_upgrades { - use crate::models::*; + use super::{models, models::*}; pub async fn cancel( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5252,7 +5252,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -5327,7 +5327,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_os_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -5400,7 +5400,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod get_latest { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5421,7 +5421,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod virtual_machine_scale_set_v_ms { - use crate::models::*; + use super::{models, models::*}; pub async fn reimage( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5475,7 +5475,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -5552,7 +5552,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -5629,7 +5629,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -5701,7 +5701,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5776,7 +5776,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetVm), @@ -5850,7 +5850,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -5926,7 +5926,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6003,7 +6003,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6075,7 +6075,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -6152,7 +6152,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -6226,7 +6226,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -6303,7 +6303,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -6373,7 +6373,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatusResponse), @@ -6399,7 +6399,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod log_analytics { - use crate::models::*; + use super::{models, models::*}; pub async fn export_request_rate_by_interval( operation_config: &crate::OperationConfig, parameters: &RequestRateByIntervalInput, @@ -6452,7 +6452,7 @@ pub mod log_analytics { } } pub mod export_request_rate_by_interval { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -6528,7 +6528,7 @@ pub mod log_analytics { } } pub mod export_throttled_requests { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -6554,7 +6554,7 @@ pub mod log_analytics { } } pub mod virtual_machine_run_commands { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -6599,7 +6599,7 @@ pub mod virtual_machine_run_commands { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6664,7 +6664,7 @@ pub mod virtual_machine_run_commands { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/compute/src/package_compute_only_2018_06/operations.rs b/services/mgmt/compute/src/package_compute_only_2018_06/operations.rs index 5e84aa8c48..4ee776d9a7 100644 --- a/services/mgmt/compute/src/package_compute_only_2018_06/operations.rs +++ b/services/mgmt/compute/src/package_compute_only_2018_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Compute/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod availability_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -108,7 +108,7 @@ pub mod availability_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -178,7 +178,7 @@ pub mod availability_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -245,7 +245,7 @@ pub mod availability_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -306,7 +306,7 @@ pub mod availability_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -379,7 +379,7 @@ pub mod availability_sets { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -442,7 +442,7 @@ pub mod availability_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -510,7 +510,7 @@ pub mod availability_sets { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -531,7 +531,7 @@ pub mod availability_sets { } } pub mod proximity_placement_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -578,7 +578,7 @@ pub mod proximity_placement_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -654,7 +654,7 @@ pub mod proximity_placement_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProximityPlacementGroup), @@ -726,7 +726,7 @@ pub mod proximity_placement_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -786,7 +786,7 @@ pub mod proximity_placement_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -850,7 +850,7 @@ pub mod proximity_placement_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -918,7 +918,7 @@ pub mod proximity_placement_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -939,7 +939,7 @@ pub mod proximity_placement_groups { } } pub mod virtual_machine_extension_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -990,7 +990,7 @@ pub mod virtual_machine_extension_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1058,7 +1058,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1140,7 +1140,7 @@ pub mod virtual_machine_extension_images { } } pub mod list_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1161,7 +1161,7 @@ pub mod virtual_machine_extension_images { } } pub mod virtual_machine_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1214,7 +1214,7 @@ pub mod virtual_machine_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1292,7 +1292,7 @@ pub mod virtual_machine_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineExtension), @@ -1366,7 +1366,7 @@ pub mod virtual_machine_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1430,7 +1430,7 @@ pub mod virtual_machine_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1505,7 +1505,7 @@ pub mod virtual_machine_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1526,7 +1526,7 @@ pub mod virtual_machine_extensions { } } pub mod virtual_machine_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -1570,7 +1570,7 @@ pub mod virtual_machine_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1651,7 +1651,7 @@ pub mod virtual_machine_images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1719,7 +1719,7 @@ pub mod virtual_machine_images { } } pub mod list_offers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1785,7 +1785,7 @@ pub mod virtual_machine_images { } } pub mod list_publishers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1855,7 +1855,7 @@ pub mod virtual_machine_images { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1876,7 +1876,7 @@ pub mod virtual_machine_images { } } pub mod usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -1921,7 +1921,7 @@ pub mod usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1942,7 +1942,7 @@ pub mod usage { } } pub mod virtual_machines { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, location: &str, @@ -1990,7 +1990,7 @@ pub mod virtual_machines { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2061,7 +2061,7 @@ pub mod virtual_machines { } } pub mod capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineCaptureResult), @@ -2135,7 +2135,7 @@ pub mod virtual_machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2211,7 +2211,7 @@ pub mod virtual_machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -2289,7 +2289,7 @@ pub mod virtual_machines { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -2356,7 +2356,7 @@ pub mod virtual_machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2430,7 +2430,7 @@ pub mod virtual_machines { } } pub mod instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2497,7 +2497,7 @@ pub mod virtual_machines { } } pub mod convert_to_managed_disks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2567,7 +2567,7 @@ pub mod virtual_machines { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2636,7 +2636,7 @@ pub mod virtual_machines { } } pub mod generalize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2699,7 +2699,7 @@ pub mod virtual_machines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2763,7 +2763,7 @@ pub mod virtual_machines { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2831,7 +2831,7 @@ pub mod virtual_machines { } } pub mod list_available_sizes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2896,7 +2896,7 @@ pub mod virtual_machines { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2966,7 +2966,7 @@ pub mod virtual_machines { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3033,7 +3033,7 @@ pub mod virtual_machines { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3103,7 +3103,7 @@ pub mod virtual_machines { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3178,7 +3178,7 @@ pub mod virtual_machines { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3248,7 +3248,7 @@ pub mod virtual_machines { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3324,7 +3324,7 @@ pub mod virtual_machines { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -3350,7 +3350,7 @@ pub mod virtual_machines { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -3395,7 +3395,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3416,7 +3416,7 @@ pub mod virtual_machine_sizes { } } pub mod images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3467,7 +3467,7 @@ pub mod images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3543,7 +3543,7 @@ pub mod images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -3621,7 +3621,7 @@ pub mod images { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Image), @@ -3688,7 +3688,7 @@ pub mod images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3762,7 +3762,7 @@ pub mod images { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3823,7 +3823,7 @@ pub mod images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3844,7 +3844,7 @@ pub mod images { } } pub mod virtual_machine_scale_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3891,7 +3891,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3967,7 +3967,7 @@ pub mod virtual_machine_scale_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSet), @@ -4039,7 +4039,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4101,7 +4101,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4177,7 +4177,7 @@ pub mod virtual_machine_scale_sets { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4248,7 +4248,7 @@ pub mod virtual_machine_scale_sets { } } pub mod delete_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4321,7 +4321,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4384,7 +4384,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4448,7 +4448,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4516,7 +4516,7 @@ pub mod virtual_machine_scale_sets { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4586,7 +4586,7 @@ pub mod virtual_machine_scale_sets { } } pub mod get_os_upgrade_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4656,7 +4656,7 @@ pub mod virtual_machine_scale_sets { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4731,7 +4731,7 @@ pub mod virtual_machine_scale_sets { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4803,7 +4803,7 @@ pub mod virtual_machine_scale_sets { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4878,7 +4878,7 @@ pub mod virtual_machine_scale_sets { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4953,7 +4953,7 @@ pub mod virtual_machine_scale_sets { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5024,7 +5024,7 @@ pub mod virtual_machine_scale_sets { } } pub mod update_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5099,7 +5099,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5174,7 +5174,7 @@ pub mod virtual_machine_scale_sets { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5250,7 +5250,7 @@ pub mod virtual_machine_scale_sets { } } pub mod force_recovery_service_fabric_platform_update_domain_walk { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5271,7 +5271,7 @@ pub mod virtual_machine_scale_sets { } } pub mod virtual_machine_scale_set_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5324,7 +5324,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5402,7 +5402,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetExtension), @@ -5471,7 +5471,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5542,7 +5542,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5563,7 +5563,7 @@ pub mod virtual_machine_scale_set_extensions { } } pub mod virtual_machine_scale_set_rolling_upgrades { - use crate::models::*; + use super::{models, models::*}; pub async fn cancel( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5607,7 +5607,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5677,7 +5677,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_os_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5749,7 +5749,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod start_extension_upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5822,7 +5822,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod get_latest { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5843,7 +5843,7 @@ pub mod virtual_machine_scale_set_rolling_upgrades { } } pub mod virtual_machine_scale_set_v_ms { - use crate::models::*; + use super::{models, models::*}; pub async fn reimage( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5897,7 +5897,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5969,7 +5969,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod reimage_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6041,7 +6041,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6113,7 +6113,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6188,7 +6188,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineScaleSetVm), @@ -6257,7 +6257,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6333,7 +6333,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod get_instance_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6410,7 +6410,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6477,7 +6477,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod power_off { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6549,7 +6549,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6618,7 +6618,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6690,7 +6690,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6755,7 +6755,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod perform_maintenance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6833,7 +6833,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RunCommandResult), @@ -6859,7 +6859,7 @@ pub mod virtual_machine_scale_set_v_ms { } } pub mod log_analytics { - use crate::models::*; + use super::{models, models::*}; pub async fn export_request_rate_by_interval( operation_config: &crate::OperationConfig, parameters: &RequestRateByIntervalInput, @@ -6912,7 +6912,7 @@ pub mod log_analytics { } } pub mod export_request_rate_by_interval { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -6988,7 +6988,7 @@ pub mod log_analytics { } } pub mod export_throttled_requests { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogAnalyticsOperationResult), @@ -7014,7 +7014,7 @@ pub mod log_analytics { } } pub mod virtual_machine_run_commands { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -7059,7 +7059,7 @@ pub mod virtual_machine_run_commands { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7124,7 +7124,7 @@ pub mod virtual_machine_run_commands { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7145,7 +7145,7 @@ pub mod virtual_machine_run_commands { } } pub mod galleries { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7194,7 +7194,7 @@ pub mod galleries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7281,7 +7281,7 @@ pub mod galleries { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Gallery), @@ -7354,7 +7354,7 @@ pub mod galleries { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7433,7 +7433,7 @@ pub mod galleries { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7496,7 +7496,7 @@ pub mod galleries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7520,7 +7520,7 @@ pub mod galleries { } } pub mod gallery_images { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7571,7 +7571,7 @@ pub mod gallery_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7660,7 +7660,7 @@ pub mod gallery_images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryImage), @@ -7735,7 +7735,7 @@ pub mod gallery_images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7814,7 +7814,7 @@ pub mod gallery_images { } } pub mod list_by_gallery { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7838,7 +7838,7 @@ pub mod gallery_images { } } pub mod gallery_image_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7895,7 +7895,7 @@ pub mod gallery_image_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7986,7 +7986,7 @@ pub mod gallery_image_versions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryImageVersion), @@ -8063,7 +8063,7 @@ pub mod gallery_image_versions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8146,7 +8146,7 @@ pub mod gallery_image_versions { } } pub mod list_by_gallery_image { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8170,7 +8170,7 @@ pub mod gallery_image_versions { } } pub mod disks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8217,7 +8217,7 @@ pub mod disks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8293,7 +8293,7 @@ pub mod disks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -8371,7 +8371,7 @@ pub mod disks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -8438,7 +8438,7 @@ pub mod disks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8512,7 +8512,7 @@ pub mod disks { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8570,7 +8570,7 @@ pub mod disks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8641,7 +8641,7 @@ pub mod disks { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -8711,7 +8711,7 @@ pub mod disks { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8737,7 +8737,7 @@ pub mod disks { } } pub mod snapshots { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8784,7 +8784,7 @@ pub mod snapshots { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8860,7 +8860,7 @@ pub mod snapshots { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -8938,7 +8938,7 @@ pub mod snapshots { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -9005,7 +9005,7 @@ pub mod snapshots { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9079,7 +9079,7 @@ pub mod snapshots { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9137,7 +9137,7 @@ pub mod snapshots { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9208,7 +9208,7 @@ pub mod snapshots { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -9278,7 +9278,7 @@ pub mod snapshots { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/compute/src/package_container_service_2015_11_preview/operations.rs b/services/mgmt/compute/src/package_container_service_2015_11_preview/operations.rs index 2769cd5f80..1eb4a0ddc3 100644 --- a/services/mgmt/compute/src/package_container_service_2015_11_preview/operations.rs +++ b/services/mgmt/compute/src/package_container_service_2015_11_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod container_service { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod container_service { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -133,7 +133,7 @@ pub mod container_service { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerService), @@ -200,7 +200,7 @@ pub mod container_service { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -273,7 +273,7 @@ pub mod container_service { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/compute/src/package_container_service_2016_03/operations.rs b/services/mgmt/compute/src/package_container_service_2016_03/operations.rs index 6f4dbee1d5..00d54a0c3f 100644 --- a/services/mgmt/compute/src/package_container_service_2016_03/operations.rs +++ b/services/mgmt/compute/src/package_container_service_2016_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod container_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -47,7 +47,7 @@ pub mod container_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -112,7 +112,7 @@ pub mod container_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -194,7 +194,7 @@ pub mod container_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerService), @@ -261,7 +261,7 @@ pub mod container_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -334,7 +334,7 @@ pub mod container_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/compute/src/package_container_service_2016_09/operations.rs b/services/mgmt/compute/src/package_container_service_2016_09/operations.rs index 6f4dbee1d5..00d54a0c3f 100644 --- a/services/mgmt/compute/src/package_container_service_2016_09/operations.rs +++ b/services/mgmt/compute/src/package_container_service_2016_09/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod container_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -47,7 +47,7 @@ pub mod container_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -112,7 +112,7 @@ pub mod container_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -194,7 +194,7 @@ pub mod container_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerService), @@ -261,7 +261,7 @@ pub mod container_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -334,7 +334,7 @@ pub mod container_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/compute/src/package_container_service_2017_01/operations.rs b/services/mgmt/compute/src/package_container_service_2017_01/operations.rs index 6f4dbee1d5..00d54a0c3f 100644 --- a/services/mgmt/compute/src/package_container_service_2017_01/operations.rs +++ b/services/mgmt/compute/src/package_container_service_2017_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod container_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -47,7 +47,7 @@ pub mod container_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -112,7 +112,7 @@ pub mod container_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -194,7 +194,7 @@ pub mod container_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerService), @@ -261,7 +261,7 @@ pub mod container_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -334,7 +334,7 @@ pub mod container_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/compute/src/package_disks_2018_04/operations.rs b/services/mgmt/compute/src/package_disks_2018_04/operations.rs index 7494878b54..44a1af713d 100644 --- a/services/mgmt/compute/src/package_disks_2018_04/operations.rs +++ b/services/mgmt/compute/src/package_disks_2018_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod disks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -51,7 +51,7 @@ pub mod disks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod disks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -205,7 +205,7 @@ pub mod disks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -272,7 +272,7 @@ pub mod disks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -346,7 +346,7 @@ pub mod disks { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -404,7 +404,7 @@ pub mod disks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -475,7 +475,7 @@ pub mod disks { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -545,7 +545,7 @@ pub mod disks { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -571,7 +571,7 @@ pub mod disks { } } pub mod snapshots { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -618,7 +618,7 @@ pub mod snapshots { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -694,7 +694,7 @@ pub mod snapshots { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -772,7 +772,7 @@ pub mod snapshots { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -839,7 +839,7 @@ pub mod snapshots { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -913,7 +913,7 @@ pub mod snapshots { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -971,7 +971,7 @@ pub mod snapshots { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1042,7 +1042,7 @@ pub mod snapshots { } } pub mod grant_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessUri), @@ -1112,7 +1112,7 @@ pub mod snapshots { } } pub mod revoke_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/compute/src/package_skus_2017_09/operations.rs b/services/mgmt/compute/src/package_skus_2017_09/operations.rs index 491fe5dc58..404383fc3e 100644 --- a/services/mgmt/compute/src/package_skus_2017_09/operations.rs +++ b/services/mgmt/compute/src/package_skus_2017_09/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod resource_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -47,7 +47,7 @@ pub mod resource_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/confidentialledger/Cargo.toml b/services/mgmt/confidentialledger/Cargo.toml index 1a0e38d50b..cfc98da049 100644 --- a/services/mgmt/confidentialledger/Cargo.toml +++ b/services/mgmt/confidentialledger/Cargo.toml @@ -20,5 +20,6 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2020-12-01-preview"] +no-default-version = [] "package-2020-12-01-preview" = [] "package-2021-05-13-preview" = [] diff --git a/services/mgmt/confidentialledger/src/lib.rs b/services/mgmt/confidentialledger/src/lib.rs index a334d9382d..a24968e38b 100644 --- a/services/mgmt/confidentialledger/src/lib.rs +++ b/services/mgmt/confidentialledger/src/lib.rs @@ -1,13 +1,21 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2020-12-01-preview")] -mod package_2020_12_01_preview; -#[cfg(feature = "package-2020-12-01-preview")] +pub mod package_2020_12_01_preview; +#[cfg(all(feature = "package-2020-12-01-preview", not(feature = "no-default-version")))] pub use package_2020_12_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-05-13-preview")] -mod package_2021_05_13_preview; +pub mod package_2021_05_13_preview; use azure_core::setters; -#[cfg(feature = "package-2021-05-13-preview")] +#[cfg(all(feature = "package-2021-05-13-preview", not(feature = "no-default-version")))] pub use package_2021_05_13_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -31,7 +39,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/confidentialledger/src/package_2020_12_01_preview/operations.rs b/services/mgmt/confidentialledger/src/package_2020_12_01_preview/operations.rs index c50ddb3fdf..e2fabe0b82 100644 --- a/services/mgmt/confidentialledger/src/package_2020_12_01_preview/operations.rs +++ b/services/mgmt/confidentialledger/src/package_2020_12_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ConfidentialLedger/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod ledger { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -115,7 +115,7 @@ pub mod ledger { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -188,7 +188,7 @@ pub mod ledger { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConfidentialLedger), @@ -266,7 +266,7 @@ pub mod ledger { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConfidentialLedger), @@ -338,7 +338,7 @@ pub mod ledger { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -421,7 +421,7 @@ pub mod ledger { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -494,7 +494,7 @@ pub mod ledger { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/confidentialledger/src/package_2021_05_13_preview/operations.rs b/services/mgmt/confidentialledger/src/package_2021_05_13_preview/operations.rs index fdb9853577..2f08318a16 100644 --- a/services/mgmt/confidentialledger/src/package_2021_05_13_preview/operations.rs +++ b/services/mgmt/confidentialledger/src/package_2021_05_13_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ConfidentialLedger/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -116,7 +116,7 @@ pub async fn check_name_availability( } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -139,7 +139,7 @@ pub mod check_name_availability { } } pub mod ledger { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -188,7 +188,7 @@ pub mod ledger { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -261,7 +261,7 @@ pub mod ledger { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConfidentialLedger), @@ -339,7 +339,7 @@ pub mod ledger { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConfidentialLedger), @@ -411,7 +411,7 @@ pub mod ledger { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -494,7 +494,7 @@ pub mod ledger { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -567,7 +567,7 @@ pub mod ledger { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/confluent/Cargo.toml b/services/mgmt/confluent/Cargo.toml index b91bd65714..64e94870a0 100644 --- a/services/mgmt/confluent/Cargo.toml +++ b/services/mgmt/confluent/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2020-03-01"] +no-default-version = [] "package-2020-03-01" = [] "package-2020-03-01-preview" = [] "package-2021-03-01-preview" = [] diff --git a/services/mgmt/confluent/src/lib.rs b/services/mgmt/confluent/src/lib.rs index 1b4721222e..641bc48cd7 100644 --- a/services/mgmt/confluent/src/lib.rs +++ b/services/mgmt/confluent/src/lib.rs @@ -1,17 +1,25 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2020-03-01")] -mod package_2020_03_01; -#[cfg(feature = "package-2020-03-01")] +pub mod package_2020_03_01; +#[cfg(all(feature = "package-2020-03-01", not(feature = "no-default-version")))] pub use package_2020_03_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-03-01-preview")] -mod package_2020_03_01_preview; -#[cfg(feature = "package-2020-03-01-preview")] +pub mod package_2020_03_01_preview; +#[cfg(all(feature = "package-2020-03-01-preview", not(feature = "no-default-version")))] pub use package_2020_03_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-03-01-preview")] -mod package_2021_03_01_preview; +pub mod package_2021_03_01_preview; use azure_core::setters; -#[cfg(feature = "package-2021-03-01-preview")] +#[cfg(all(feature = "package-2021-03-01-preview", not(feature = "no-default-version")))] pub use package_2021_03_01_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -35,7 +43,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/confluent/src/package_2020_03_01/operations.rs b/services/mgmt/confluent/src/package_2020_03_01/operations.rs index 110f1838b4..502d02ae69 100644 --- a/services/mgmt/confluent/src/package_2020_03_01/operations.rs +++ b/services/mgmt/confluent/src/package_2020_03_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod marketplace_agreements { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -49,7 +49,7 @@ pub mod marketplace_agreements { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -121,7 +121,7 @@ pub mod marketplace_agreements { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -145,7 +145,7 @@ pub mod marketplace_agreements { } } pub mod organization_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Confluent/operations", operation_config.base_path(),); @@ -183,7 +183,7 @@ pub mod organization_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -207,7 +207,7 @@ pub mod organization_operations { } } pub mod organization { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -255,7 +255,7 @@ pub mod organization { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -328,7 +328,7 @@ pub mod organization { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -398,7 +398,7 @@ pub mod organization { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -480,7 +480,7 @@ pub mod organization { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OrganizationResource), @@ -561,7 +561,7 @@ pub mod organization { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -628,7 +628,7 @@ pub mod organization { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/confluent/src/package_2020_03_01_preview/operations.rs b/services/mgmt/confluent/src/package_2020_03_01_preview/operations.rs index 110f1838b4..502d02ae69 100644 --- a/services/mgmt/confluent/src/package_2020_03_01_preview/operations.rs +++ b/services/mgmt/confluent/src/package_2020_03_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod marketplace_agreements { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -49,7 +49,7 @@ pub mod marketplace_agreements { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -121,7 +121,7 @@ pub mod marketplace_agreements { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -145,7 +145,7 @@ pub mod marketplace_agreements { } } pub mod organization_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Confluent/operations", operation_config.base_path(),); @@ -183,7 +183,7 @@ pub mod organization_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -207,7 +207,7 @@ pub mod organization_operations { } } pub mod organization { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -255,7 +255,7 @@ pub mod organization { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -328,7 +328,7 @@ pub mod organization { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -398,7 +398,7 @@ pub mod organization { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -480,7 +480,7 @@ pub mod organization { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OrganizationResource), @@ -561,7 +561,7 @@ pub mod organization { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -628,7 +628,7 @@ pub mod organization { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/confluent/src/package_2021_03_01_preview/operations.rs b/services/mgmt/confluent/src/package_2021_03_01_preview/operations.rs index 4ef83be44b..63b6c7ce58 100644 --- a/services/mgmt/confluent/src/package_2021_03_01_preview/operations.rs +++ b/services/mgmt/confluent/src/package_2021_03_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod marketplace_agreements { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -49,7 +49,7 @@ pub mod marketplace_agreements { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -121,7 +121,7 @@ pub mod marketplace_agreements { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -145,7 +145,7 @@ pub mod marketplace_agreements { } } pub mod organization_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Confluent/operations", operation_config.base_path(),); @@ -183,7 +183,7 @@ pub mod organization_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -207,7 +207,7 @@ pub mod organization_operations { } } pub mod organization { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -255,7 +255,7 @@ pub mod organization { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -328,7 +328,7 @@ pub mod organization { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -398,7 +398,7 @@ pub mod organization { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -480,7 +480,7 @@ pub mod organization { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OrganizationResource), @@ -561,7 +561,7 @@ pub mod organization { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -628,7 +628,7 @@ pub mod organization { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -658,7 +658,7 @@ pub mod organization { } } pub mod validations { - use crate::models::*; + use super::{models, models::*}; pub async fn validate_organization( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -714,7 +714,7 @@ pub mod validations { } } pub mod validate_organization { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/connectedvmware/Cargo.toml b/services/mgmt/connectedvmware/Cargo.toml index d3001265fd..e71fd33a05 100644 --- a/services/mgmt/connectedvmware/Cargo.toml +++ b/services/mgmt/connectedvmware/Cargo.toml @@ -20,4 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2020-10-01-preview"] +no-default-version = [] "package-2020-10-01-preview" = [] diff --git a/services/mgmt/connectedvmware/src/lib.rs b/services/mgmt/connectedvmware/src/lib.rs index 5b47d12c43..c5fc5d727e 100644 --- a/services/mgmt/connectedvmware/src/lib.rs +++ b/services/mgmt/connectedvmware/src/lib.rs @@ -1,9 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2020-10-01-preview")] -mod package_2020_10_01_preview; +pub mod package_2020_10_01_preview; use azure_core::setters; -#[cfg(feature = "package-2020-10-01-preview")] +#[cfg(all(feature = "package-2020-10-01-preview", not(feature = "no-default-version")))] pub use package_2020_10_01_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -27,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/connectedvmware/src/package_2020_10_01_preview/operations.rs b/services/mgmt/connectedvmware/src/package_2020_10_01_preview/operations.rs index c603c24193..606427253d 100644 --- a/services/mgmt/connectedvmware/src/package_2020_10_01_preview/operations.rs +++ b/services/mgmt/connectedvmware/src/package_2020_10_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -45,7 +45,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -69,7 +69,7 @@ pub mod operations { } } pub mod resource_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -118,7 +118,7 @@ pub mod resource_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -200,7 +200,7 @@ pub mod resource_pools { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ResourcePool), @@ -281,7 +281,7 @@ pub mod resource_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -352,7 +352,7 @@ pub mod resource_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -424,7 +424,7 @@ pub mod resource_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -497,7 +497,7 @@ pub mod resource_pools { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -521,7 +521,7 @@ pub mod resource_pools { } } pub mod clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -570,7 +570,7 @@ pub mod clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -652,7 +652,7 @@ pub mod clusters { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -733,7 +733,7 @@ pub mod clusters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -804,7 +804,7 @@ pub mod clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -873,7 +873,7 @@ pub mod clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -946,7 +946,7 @@ pub mod clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -970,7 +970,7 @@ pub mod clusters { } } pub mod hosts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1019,7 +1019,7 @@ pub mod hosts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1101,7 +1101,7 @@ pub mod hosts { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Host), @@ -1182,7 +1182,7 @@ pub mod hosts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1253,7 +1253,7 @@ pub mod hosts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1322,7 +1322,7 @@ pub mod hosts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1395,7 +1395,7 @@ pub mod hosts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1419,7 +1419,7 @@ pub mod hosts { } } pub mod datastores { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1468,7 +1468,7 @@ pub mod datastores { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1550,7 +1550,7 @@ pub mod datastores { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Datastore), @@ -1631,7 +1631,7 @@ pub mod datastores { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1702,7 +1702,7 @@ pub mod datastores { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1774,7 +1774,7 @@ pub mod datastores { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1847,7 +1847,7 @@ pub mod datastores { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1871,7 +1871,7 @@ pub mod datastores { } } pub mod v_centers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1920,7 +1920,7 @@ pub mod v_centers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2002,7 +2002,7 @@ pub mod v_centers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VCenter), @@ -2083,7 +2083,7 @@ pub mod v_centers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2154,7 +2154,7 @@ pub mod v_centers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2223,7 +2223,7 @@ pub mod v_centers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2296,7 +2296,7 @@ pub mod v_centers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2320,7 +2320,7 @@ pub mod v_centers { } } pub mod virtual_machines { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2369,7 +2369,7 @@ pub mod virtual_machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2451,7 +2451,7 @@ pub mod virtual_machines { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -2538,7 +2538,7 @@ pub mod virtual_machines { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -2614,7 +2614,7 @@ pub mod virtual_machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2692,7 +2692,7 @@ pub mod virtual_machines { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2764,7 +2764,7 @@ pub mod virtual_machines { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2839,7 +2839,7 @@ pub mod virtual_machines { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2910,7 +2910,7 @@ pub mod virtual_machines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2983,7 +2983,7 @@ pub mod virtual_machines { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3007,7 +3007,7 @@ pub mod virtual_machines { } } pub mod virtual_machine_templates { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3056,7 +3056,7 @@ pub mod virtual_machine_templates { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3138,7 +3138,7 @@ pub mod virtual_machine_templates { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachineTemplate), @@ -3219,7 +3219,7 @@ pub mod virtual_machine_templates { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3290,7 +3290,7 @@ pub mod virtual_machine_templates { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3362,7 +3362,7 @@ pub mod virtual_machine_templates { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3435,7 +3435,7 @@ pub mod virtual_machine_templates { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3459,7 +3459,7 @@ pub mod virtual_machine_templates { } } pub mod virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3508,7 +3508,7 @@ pub mod virtual_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3590,7 +3590,7 @@ pub mod virtual_networks { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetwork), @@ -3671,7 +3671,7 @@ pub mod virtual_networks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3742,7 +3742,7 @@ pub mod virtual_networks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3814,7 +3814,7 @@ pub mod virtual_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3887,7 +3887,7 @@ pub mod virtual_networks { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3911,7 +3911,7 @@ pub mod virtual_networks { } } pub mod inventory_items { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3962,7 +3962,7 @@ pub mod inventory_items { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4040,7 +4040,7 @@ pub mod inventory_items { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4108,7 +4108,7 @@ pub mod inventory_items { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4186,7 +4186,7 @@ pub mod inventory_items { } } pub mod list_by_v_center { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4210,7 +4210,7 @@ pub mod inventory_items { } } pub mod hybrid_identity_metadata { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4261,7 +4261,7 @@ pub mod hybrid_identity_metadata { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4339,7 +4339,7 @@ pub mod hybrid_identity_metadata { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4407,7 +4407,7 @@ pub mod hybrid_identity_metadata { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4485,7 +4485,7 @@ pub mod hybrid_identity_metadata { } } pub mod list_by_vm { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4509,7 +4509,7 @@ pub mod hybrid_identity_metadata { } } pub mod machine_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4560,7 +4560,7 @@ pub mod machine_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4643,7 +4643,7 @@ pub mod machine_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MachineExtension), @@ -4728,7 +4728,7 @@ pub mod machine_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MachineExtension), @@ -4802,7 +4802,7 @@ pub mod machine_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4882,7 +4882,7 @@ pub mod machine_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4906,7 +4906,7 @@ pub mod machine_extensions { } } pub mod guest_agents { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4957,7 +4957,7 @@ pub mod guest_agents { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5041,7 +5041,7 @@ pub mod guest_agents { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GuestAgent), @@ -5115,7 +5115,7 @@ pub mod guest_agents { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5194,7 +5194,7 @@ pub mod guest_agents { } } pub mod list_by_vm { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/consumption/Cargo.toml b/services/mgmt/consumption/Cargo.toml index 5036ba5505..94441f19cc 100644 --- a/services/mgmt/consumption/Cargo.toml +++ b/services/mgmt/consumption/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-10"] +no-default-version = [] "package-2021-10" = [] "package-2019-10" = [] "package-2019-06" = [] @@ -30,7 +31,6 @@ default = ["package-2021-10"] "package-2019-01" = [] "package-2017-11" = [] "package-2018-01" = [] -"package-2018-03" = [] "package-2018-05" = [] "package-2018-06" = [] "package-2018-08" = [] diff --git a/services/mgmt/consumption/src/lib.rs b/services/mgmt/consumption/src/lib.rs index 5f8989ca00..f60df4cb05 100644 --- a/services/mgmt/consumption/src/lib.rs +++ b/services/mgmt/consumption/src/lib.rs @@ -1,65 +1,69 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-10")] -mod package_2021_10; -#[cfg(feature = "package-2021-10")] +pub mod package_2021_10; +#[cfg(all(feature = "package-2021-10", not(feature = "no-default-version")))] pub use package_2021_10::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-10")] -mod package_2019_10; -#[cfg(feature = "package-2019-10")] +pub mod package_2019_10; +#[cfg(all(feature = "package-2019-10", not(feature = "no-default-version")))] pub use package_2019_10::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-06")] -mod package_2019_06; -#[cfg(feature = "package-2019-06")] +pub mod package_2019_06; +#[cfg(all(feature = "package-2019-06", not(feature = "no-default-version")))] pub use package_2019_06::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-05")] -mod package_2019_05; -#[cfg(feature = "package-2019-05")] +pub mod package_2019_05; +#[cfg(all(feature = "package-2019-05", not(feature = "no-default-version")))] pub use package_2019_05::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2019-05")] -mod package_preview_2019_05; -#[cfg(feature = "package-preview-2019-05")] +pub mod package_preview_2019_05; +#[cfg(all(feature = "package-preview-2019-05", not(feature = "no-default-version")))] pub use package_preview_2019_05::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2019-04")] -mod package_preview_2019_04; -#[cfg(feature = "package-preview-2019-04")] +pub mod package_preview_2019_04; +#[cfg(all(feature = "package-preview-2019-04", not(feature = "no-default-version")))] pub use package_preview_2019_04::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2018-11")] -mod package_preview_2018_11; -#[cfg(feature = "package-preview-2018-11")] +pub mod package_preview_2018_11; +#[cfg(all(feature = "package-preview-2018-11", not(feature = "no-default-version")))] pub use package_preview_2018_11::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-01")] -mod package_2019_01; -#[cfg(feature = "package-2019-01")] +pub mod package_2019_01; +#[cfg(all(feature = "package-2019-01", not(feature = "no-default-version")))] pub use package_2019_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-11")] -mod package_2017_11; -#[cfg(feature = "package-2017-11")] +pub mod package_2017_11; +#[cfg(all(feature = "package-2017-11", not(feature = "no-default-version")))] pub use package_2017_11::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-01")] -mod package_2018_01; -#[cfg(feature = "package-2018-01")] +pub mod package_2018_01; +#[cfg(all(feature = "package-2018-01", not(feature = "no-default-version")))] pub use package_2018_01::{models, operations, API_VERSION}; -#[cfg(feature = "package-2018-03")] -mod package_2018_03; -#[cfg(feature = "package-2018-03")] -pub use package_2018_03::{models, operations, API_VERSION}; -#[cfg(feature = "package-2018-05")] -mod package_2018_05; #[cfg(feature = "package-2018-05")] +pub mod package_2018_05; +#[cfg(all(feature = "package-2018-05", not(feature = "no-default-version")))] pub use package_2018_05::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-06")] -mod package_2018_06; -#[cfg(feature = "package-2018-06")] +pub mod package_2018_06; +#[cfg(all(feature = "package-2018-06", not(feature = "no-default-version")))] pub use package_2018_06::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-08")] -mod package_2018_08; -#[cfg(feature = "package-2018-08")] +pub mod package_2018_08; +#[cfg(all(feature = "package-2018-08", not(feature = "no-default-version")))] pub use package_2018_08::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-10")] -mod package_2018_10; +pub mod package_2018_10; use azure_core::setters; -#[cfg(feature = "package-2018-10")] +#[cfg(all(feature = "package-2018-10", not(feature = "no-default-version")))] pub use package_2018_10::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -83,7 +87,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/consumption/src/package_2017_11/operations.rs b/services/mgmt/consumption/src/package_2017_11/operations.rs index 793ffb369c..a0c6f619cc 100644 --- a/services/mgmt/consumption/src/package_2017_11/operations.rs +++ b/services/mgmt/consumption/src/package_2017_11/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod usage_details { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, scope: &str, @@ -65,7 +65,7 @@ pub mod usage_details { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -89,7 +89,7 @@ pub mod usage_details { } } pub mod reservations_summaries { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, scope: &str, @@ -140,7 +140,7 @@ pub mod reservations_summaries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -164,7 +164,7 @@ pub mod reservations_summaries { } } pub mod reservations_details { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, scope: &str, @@ -211,7 +211,7 @@ pub mod reservations_details { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -235,7 +235,7 @@ pub mod reservations_details { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Consumption/operations", operation_config.base_path(),); @@ -273,7 +273,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/consumption/src/package_2018_01/operations.rs b/services/mgmt/consumption/src/package_2018_01/operations.rs index c6ae8b0c09..1ab98d5f83 100644 --- a/services/mgmt/consumption/src/package_2018_01/operations.rs +++ b/services/mgmt/consumption/src/package_2018_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod usage_details { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -65,7 +65,7 @@ pub mod usage_details { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -154,7 +154,7 @@ pub mod usage_details { } } pub mod list_by_billing_period { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -178,7 +178,7 @@ pub mod usage_details { } } pub mod marketplaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -235,7 +235,7 @@ pub mod marketplaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -320,7 +320,7 @@ pub mod marketplaces { } } pub mod list_by_billing_period { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -344,7 +344,7 @@ pub mod marketplaces { } } pub mod reservations_summaries { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_reservation_order( operation_config: &crate::OperationConfig, reservation_order_id: &str, @@ -400,7 +400,7 @@ pub mod reservations_summaries { } } pub mod list_by_reservation_order { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -479,7 +479,7 @@ pub mod reservations_summaries { } } pub mod list_by_reservation_order_and_reservation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -503,7 +503,7 @@ pub mod reservations_summaries { } } pub mod reservations_details { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_reservation_order( operation_config: &crate::OperationConfig, reservation_order_id: &str, @@ -555,7 +555,7 @@ pub mod reservations_details { } } pub mod list_by_reservation_order { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -630,7 +630,7 @@ pub mod reservations_details { } } pub mod list_by_reservation_order_and_reservation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -654,7 +654,7 @@ pub mod reservations_details { } } pub mod budgets { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -699,7 +699,7 @@ pub mod budgets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -772,7 +772,7 @@ pub mod budgets { } } pub mod list_by_resource_group_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -840,7 +840,7 @@ pub mod budgets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -919,7 +919,7 @@ pub mod budgets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Budget), @@ -987,7 +987,7 @@ pub mod budgets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1062,7 +1062,7 @@ pub mod budgets { } } pub mod get_by_resource_group_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1145,7 +1145,7 @@ pub mod budgets { } } pub mod create_or_update_by_resource_group_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Budget), @@ -1220,7 +1220,7 @@ pub mod budgets { } } pub mod delete_by_resource_group_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1244,7 +1244,7 @@ pub mod budgets { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Consumption/operations", operation_config.base_path(),); @@ -1282,7 +1282,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1306,7 +1306,7 @@ pub mod operations { } } pub mod price_sheet { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, expand: Option<&str>, @@ -1363,7 +1363,7 @@ pub mod price_sheet { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1448,7 +1448,7 @@ pub mod price_sheet { } } pub mod get_by_billing_period { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/consumption/src/package_2018_03/mod.rs b/services/mgmt/consumption/src/package_2018_03/mod.rs deleted file mode 100644 index 095feac171..0000000000 --- a/services/mgmt/consumption/src/package_2018_03/mod.rs +++ /dev/null @@ -1,3 +0,0 @@ -pub mod models; -pub mod operations; -pub const API_VERSION: &str = "2018-03-31"; diff --git a/services/mgmt/consumption/src/package_2018_03/models.rs b/services/mgmt/consumption/src/package_2018_03/models.rs deleted file mode 100644 index b855e8b3d3..0000000000 --- a/services/mgmt/consumption/src/package_2018_03/models.rs +++ /dev/null @@ -1,524 +0,0 @@ -#![doc = "generated by AutoRust 0.1.0"] -#![allow(non_camel_case_types)] -#![allow(unused_imports)] -use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct MeterDetails { - #[serde(rename = "meterName", default, skip_serializing_if = "Option::is_none")] - pub meter_name: Option, - #[serde(rename = "meterCategory", default, skip_serializing_if = "Option::is_none")] - pub meter_category: Option, - #[serde(rename = "meterSubCategory", default, skip_serializing_if = "Option::is_none")] - pub meter_sub_category: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub unit: Option, - #[serde(rename = "meterLocation", default, skip_serializing_if = "Option::is_none")] - pub meter_location: Option, - #[serde(rename = "totalIncludedQuantity", default, skip_serializing_if = "Option::is_none")] - pub total_included_quantity: Option, - #[serde(rename = "pretaxStandardRate", default, skip_serializing_if = "Option::is_none")] - pub pretax_standard_rate: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct UsageDetail { - #[serde(flatten)] - pub resource: Resource, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub properties: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct UsageDetailsListResult { - #[serde(default, skip_serializing_if = "Vec::is_empty")] - pub value: Vec, - #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] - pub next_link: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct UsageDetailProperties { - #[serde(rename = "billingPeriodId", default, skip_serializing_if = "Option::is_none")] - pub billing_period_id: Option, - #[serde(rename = "invoiceId", default, skip_serializing_if = "Option::is_none")] - pub invoice_id: Option, - #[serde(rename = "usageStart", default, skip_serializing_if = "Option::is_none")] - pub usage_start: Option, - #[serde(rename = "usageEnd", default, skip_serializing_if = "Option::is_none")] - pub usage_end: Option, - #[serde(rename = "instanceName", default, skip_serializing_if = "Option::is_none")] - pub instance_name: Option, - #[serde(rename = "instanceId", default, skip_serializing_if = "Option::is_none")] - pub instance_id: Option, - #[serde(rename = "instanceLocation", default, skip_serializing_if = "Option::is_none")] - pub instance_location: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub currency: Option, - #[serde(rename = "usageQuantity", default, skip_serializing_if = "Option::is_none")] - pub usage_quantity: Option, - #[serde(rename = "billableQuantity", default, skip_serializing_if = "Option::is_none")] - pub billable_quantity: Option, - #[serde(rename = "pretaxCost", default, skip_serializing_if = "Option::is_none")] - pub pretax_cost: Option, - #[serde(rename = "isEstimated", default, skip_serializing_if = "Option::is_none")] - pub is_estimated: Option, - #[serde(rename = "meterId", default, skip_serializing_if = "Option::is_none")] - pub meter_id: Option, - #[serde(rename = "meterDetails", default, skip_serializing_if = "Option::is_none")] - pub meter_details: Option, - #[serde(rename = "subscriptionGuid", default, skip_serializing_if = "Option::is_none")] - pub subscription_guid: Option, - #[serde(rename = "subscriptionName", default, skip_serializing_if = "Option::is_none")] - pub subscription_name: Option, - #[serde(rename = "accountName", default, skip_serializing_if = "Option::is_none")] - pub account_name: Option, - #[serde(rename = "departmentName", default, skip_serializing_if = "Option::is_none")] - pub department_name: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub product: Option, - #[serde(rename = "consumedService", default, skip_serializing_if = "Option::is_none")] - pub consumed_service: Option, - #[serde(rename = "costCenter", default, skip_serializing_if = "Option::is_none")] - pub cost_center: Option, - #[serde(rename = "additionalProperties", default, skip_serializing_if = "Option::is_none")] - pub additional_properties: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct Marketplace { - #[serde(flatten)] - pub resource: Resource, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub properties: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct MarketplacesListResult { - #[serde(default, skip_serializing_if = "Vec::is_empty")] - pub value: Vec, - #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] - pub next_link: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct MarketplaceProperties { - #[serde(rename = "billingPeriodId", default, skip_serializing_if = "Option::is_none")] - pub billing_period_id: Option, - #[serde(rename = "usageStart", default, skip_serializing_if = "Option::is_none")] - pub usage_start: Option, - #[serde(rename = "usageEnd", default, skip_serializing_if = "Option::is_none")] - pub usage_end: Option, - #[serde(rename = "resourceRate", default, skip_serializing_if = "Option::is_none")] - pub resource_rate: Option, - #[serde(rename = "offerName", default, skip_serializing_if = "Option::is_none")] - pub offer_name: Option, - #[serde(rename = "resourceGroup", default, skip_serializing_if = "Option::is_none")] - pub resource_group: Option, - #[serde(rename = "orderNumber", default, skip_serializing_if = "Option::is_none")] - pub order_number: Option, - #[serde(rename = "instanceName", default, skip_serializing_if = "Option::is_none")] - pub instance_name: Option, - #[serde(rename = "instanceId", default, skip_serializing_if = "Option::is_none")] - pub instance_id: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub currency: Option, - #[serde(rename = "consumedQuantity", default, skip_serializing_if = "Option::is_none")] - pub consumed_quantity: Option, - #[serde(rename = "unitOfMeasure", default, skip_serializing_if = "Option::is_none")] - pub unit_of_measure: Option, - #[serde(rename = "pretaxCost", default, skip_serializing_if = "Option::is_none")] - pub pretax_cost: Option, - #[serde(rename = "isEstimated", default, skip_serializing_if = "Option::is_none")] - pub is_estimated: Option, - #[serde(rename = "meterId", default, skip_serializing_if = "Option::is_none")] - pub meter_id: Option, - #[serde(rename = "subscriptionGuid", default, skip_serializing_if = "Option::is_none")] - pub subscription_guid: Option, - #[serde(rename = "subscriptionName", default, skip_serializing_if = "Option::is_none")] - pub subscription_name: Option, - #[serde(rename = "accountName", default, skip_serializing_if = "Option::is_none")] - pub account_name: Option, - #[serde(rename = "departmentName", default, skip_serializing_if = "Option::is_none")] - pub department_name: Option, - #[serde(rename = "consumedService", default, skip_serializing_if = "Option::is_none")] - pub consumed_service: Option, - #[serde(rename = "costCenter", default, skip_serializing_if = "Option::is_none")] - pub cost_center: Option, - #[serde(rename = "additionalProperties", default, skip_serializing_if = "Option::is_none")] - pub additional_properties: Option, - #[serde(rename = "publisherName", default, skip_serializing_if = "Option::is_none")] - pub publisher_name: Option, - #[serde(rename = "planName", default, skip_serializing_if = "Option::is_none")] - pub plan_name: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct Balance { - #[serde(flatten)] - pub resource: Resource, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub properties: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct BalanceProperties { - #[serde(default, skip_serializing_if = "Option::is_none")] - pub currency: Option, - #[serde(rename = "beginningBalance", default, skip_serializing_if = "Option::is_none")] - pub beginning_balance: Option, - #[serde(rename = "endingBalance", default, skip_serializing_if = "Option::is_none")] - pub ending_balance: Option, - #[serde(rename = "newPurchases", default, skip_serializing_if = "Option::is_none")] - pub new_purchases: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub adjustments: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub utilized: Option, - #[serde(rename = "serviceOverage", default, skip_serializing_if = "Option::is_none")] - pub service_overage: Option, - #[serde(rename = "chargesBilledSeparately", default, skip_serializing_if = "Option::is_none")] - pub charges_billed_separately: Option, - #[serde(rename = "totalOverage", default, skip_serializing_if = "Option::is_none")] - pub total_overage: Option, - #[serde(rename = "totalUsage", default, skip_serializing_if = "Option::is_none")] - pub total_usage: Option, - #[serde(rename = "azureMarketplaceServiceCharges", default, skip_serializing_if = "Option::is_none")] - pub azure_marketplace_service_charges: Option, - #[serde(rename = "billingFrequency", default, skip_serializing_if = "Option::is_none")] - pub billing_frequency: Option, - #[serde(rename = "priceHidden", default, skip_serializing_if = "Option::is_none")] - pub price_hidden: Option, - #[serde(rename = "newPurchasesDetails", default, skip_serializing_if = "Vec::is_empty")] - pub new_purchases_details: Vec, - #[serde(rename = "adjustmentDetails", default, skip_serializing_if = "Vec::is_empty")] - pub adjustment_details: Vec, -} -pub mod balance_properties { - use super::*; - #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] - pub enum BillingFrequency { - Month, - Quarter, - Year, - } -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ReservationSummaries { - #[serde(flatten)] - pub resource: Resource, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub properties: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ReservationSummariesListResult { - #[serde(default, skip_serializing_if = "Vec::is_empty")] - pub value: Vec, - #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] - pub next_link: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ReservationSummariesProperties { - #[serde(rename = "reservationOrderId", default, skip_serializing_if = "Option::is_none")] - pub reservation_order_id: Option, - #[serde(rename = "reservationId", default, skip_serializing_if = "Option::is_none")] - pub reservation_id: Option, - #[serde(rename = "skuName", default, skip_serializing_if = "Option::is_none")] - pub sku_name: Option, - #[serde(rename = "reservedHours", default, skip_serializing_if = "Option::is_none")] - pub reserved_hours: Option, - #[serde(rename = "usageDate", default, skip_serializing_if = "Option::is_none")] - pub usage_date: Option, - #[serde(rename = "usedHours", default, skip_serializing_if = "Option::is_none")] - pub used_hours: Option, - #[serde(rename = "minUtilizationPercentage", default, skip_serializing_if = "Option::is_none")] - pub min_utilization_percentage: Option, - #[serde(rename = "avgUtilizationPercentage", default, skip_serializing_if = "Option::is_none")] - pub avg_utilization_percentage: Option, - #[serde(rename = "maxUtilizationPercentage", default, skip_serializing_if = "Option::is_none")] - pub max_utilization_percentage: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ReservationDetails { - #[serde(flatten)] - pub resource: Resource, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub properties: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ReservationDetailsListResult { - #[serde(default, skip_serializing_if = "Vec::is_empty")] - pub value: Vec, - #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] - pub next_link: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ReservationRecommendationsProperties { - #[serde(rename = "lookBackPeriod", default, skip_serializing_if = "Option::is_none")] - pub look_back_period: Option, - #[serde(rename = "meterId", default, skip_serializing_if = "Option::is_none")] - pub meter_id: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub term: Option, - #[serde(rename = "costWithNoReservedInstances", default, skip_serializing_if = "Option::is_none")] - pub cost_with_no_reserved_instances: Option, - #[serde(rename = "recommendedQuantity", default, skip_serializing_if = "Option::is_none")] - pub recommended_quantity: Option, - #[serde(rename = "totalCostWithReservedInstances", default, skip_serializing_if = "Option::is_none")] - pub total_cost_with_reserved_instances: Option, - #[serde(rename = "netSavings", default, skip_serializing_if = "Option::is_none")] - pub net_savings: Option, - #[serde(rename = "firstUsageDate", default, skip_serializing_if = "Option::is_none")] - pub first_usage_date: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub scope: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ReservationRecommendations { - #[serde(flatten)] - pub resource: Resource, - #[serde(flatten)] - pub resource_attributes: ResourceAttributes, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub properties: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ReservationRecommendationsListResult { - #[serde(default, skip_serializing_if = "Vec::is_empty")] - pub value: Vec, - #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] - pub next_link: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ReservationDetailsProperties { - #[serde(rename = "reservationOrderId", default, skip_serializing_if = "Option::is_none")] - pub reservation_order_id: Option, - #[serde(rename = "reservationId", default, skip_serializing_if = "Option::is_none")] - pub reservation_id: Option, - #[serde(rename = "skuName", default, skip_serializing_if = "Option::is_none")] - pub sku_name: Option, - #[serde(rename = "reservedHours", default, skip_serializing_if = "Option::is_none")] - pub reserved_hours: Option, - #[serde(rename = "usageDate", default, skip_serializing_if = "Option::is_none")] - pub usage_date: Option, - #[serde(rename = "usedHours", default, skip_serializing_if = "Option::is_none")] - pub used_hours: Option, - #[serde(rename = "instanceId", default, skip_serializing_if = "Option::is_none")] - pub instance_id: Option, - #[serde(rename = "totalReservedQuantity", default, skip_serializing_if = "Option::is_none")] - pub total_reserved_quantity: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct Tags { - #[serde(flatten)] - pub proxy_resource: ProxyResource, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub properties: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct TagProperties { - #[serde(default, skip_serializing_if = "Vec::is_empty")] - pub tags: Vec, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct Tag { - #[serde(default, skip_serializing_if = "Option::is_none")] - pub key: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct BudgetsListResult { - #[serde(default, skip_serializing_if = "Vec::is_empty")] - pub value: Vec, - #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] - pub next_link: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct Budget { - #[serde(flatten)] - pub proxy_resource: ProxyResource, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub properties: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct BudgetProperties { - pub category: budget_properties::Category, - pub amount: f64, - #[serde(rename = "timeGrain")] - pub time_grain: budget_properties::TimeGrain, - #[serde(rename = "timePeriod")] - pub time_period: BudgetTimePeriod, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub filters: Option, - #[serde(rename = "currentSpend", default, skip_serializing_if = "Option::is_none")] - pub current_spend: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub notifications: Option, -} -pub mod budget_properties { - use super::*; - #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] - pub enum Category { - Cost, - Usage, - } - #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] - pub enum TimeGrain { - Monthly, - Quarterly, - Annually, - } -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct BudgetTimePeriod { - #[serde(rename = "startDate")] - pub start_date: String, - #[serde(rename = "endDate", default, skip_serializing_if = "Option::is_none")] - pub end_date: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct Filters { - #[serde(rename = "resourceGroups", default, skip_serializing_if = "Vec::is_empty")] - pub resource_groups: Vec, - #[serde(default, skip_serializing_if = "Vec::is_empty")] - pub resources: Vec, - #[serde(default, skip_serializing_if = "Vec::is_empty")] - pub meters: Vec, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub tags: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct CurrentSpend { - #[serde(default, skip_serializing_if = "Option::is_none")] - pub amount: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub unit: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct Notification { - pub enabled: bool, - pub operator: notification::Operator, - pub threshold: f64, - #[serde(rename = "contactEmails")] - pub contact_emails: Vec, - #[serde(rename = "contactRoles", default, skip_serializing_if = "Vec::is_empty")] - pub contact_roles: Vec, - #[serde(rename = "contactGroups", default, skip_serializing_if = "Vec::is_empty")] - pub contact_groups: Vec, -} -pub mod notification { - use super::*; - #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] - pub enum Operator { - EqualTo, - GreaterThan, - GreaterThanOrEqualTo, - } -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct CostTags { - #[serde(flatten)] - pub proxy_resource: ProxyResource, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub properties: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct CostTagProperties { - #[serde(rename = "costTags", default, skip_serializing_if = "Vec::is_empty")] - pub cost_tags: Vec, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct CostTag { - #[serde(default, skip_serializing_if = "Option::is_none")] - pub key: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ErrorDetails { - #[serde(default, skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub message: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ErrorResponse { - #[serde(default, skip_serializing_if = "Option::is_none")] - pub error: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct Operation { - #[serde(default, skip_serializing_if = "Option::is_none")] - pub name: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub display: Option, -} -pub mod operation { - use super::*; - #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] - pub struct Display { - #[serde(default, skip_serializing_if = "Option::is_none")] - pub provider: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub resource: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub operation: Option, - } -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct OperationListResult { - #[serde(default, skip_serializing_if = "Vec::is_empty")] - pub value: Vec, - #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] - pub next_link: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct Resource { - #[serde(default, skip_serializing_if = "Option::is_none")] - pub id: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub name: Option, - #[serde(rename = "type", default, skip_serializing_if = "Option::is_none")] - pub type_: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub tags: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ResourceAttributes { - #[serde(default, skip_serializing_if = "Option::is_none")] - pub location: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub sku: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ProxyResource { - #[serde(default, skip_serializing_if = "Option::is_none")] - pub id: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub name: Option, - #[serde(rename = "type", default, skip_serializing_if = "Option::is_none")] - pub type_: Option, - #[serde(rename = "eTag", default, skip_serializing_if = "Option::is_none")] - pub e_tag: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct PriceSheetResult { - #[serde(flatten)] - pub resource: Resource, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub properties: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct PriceSheetModel { - #[serde(default, skip_serializing_if = "Vec::is_empty")] - pub pricesheets: Vec, - #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] - pub next_link: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct PriceSheetProperties { - #[serde(rename = "billingPeriodId", default, skip_serializing_if = "Option::is_none")] - pub billing_period_id: Option, - #[serde(rename = "meterId", default, skip_serializing_if = "Option::is_none")] - pub meter_id: Option, - #[serde(rename = "meterDetails", default, skip_serializing_if = "Option::is_none")] - pub meter_details: Option, - #[serde(rename = "unitOfMeasure", default, skip_serializing_if = "Option::is_none")] - pub unit_of_measure: Option, - #[serde(rename = "includedQuantity", default, skip_serializing_if = "Option::is_none")] - pub included_quantity: Option, - #[serde(rename = "partNumber", default, skip_serializing_if = "Option::is_none")] - pub part_number: Option, - #[serde(rename = "unitPrice", default, skip_serializing_if = "Option::is_none")] - pub unit_price: Option, - #[serde(rename = "currencyCode", default, skip_serializing_if = "Option::is_none")] - pub currency_code: Option, -} diff --git a/services/mgmt/consumption/src/package_2018_03/operations.rs b/services/mgmt/consumption/src/package_2018_03/operations.rs deleted file mode 100644 index e0c4768203..0000000000 --- a/services/mgmt/consumption/src/package_2018_03/operations.rs +++ /dev/null @@ -1,2922 +0,0 @@ -#![doc = "generated by AutoRust 0.1.0"] -#![allow(unused_mut)] -#![allow(unused_variables)] -#![allow(unused_imports)] -use crate::models::*; -pub mod usage_details { - use crate::models::*; - pub async fn list( - operation_config: &crate::OperationConfig, - subscription_id: &str, - expand: Option<&str>, - filter: Option<&str>, - skiptoken: Option<&str>, - top: Option, - apply: Option<&str>, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/providers/Microsoft.Consumption/usageDetails", - operation_config.base_path(), - subscription_id - ); - let mut url = url::Url::parse(url_str).map_err(list::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(list::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - if let Some(expand) = expand { - url.query_pairs_mut().append_pair("$expand", expand); - } - if let Some(filter) = filter { - url.query_pairs_mut().append_pair("$filter", filter); - } - if let Some(skiptoken) = skiptoken { - url.query_pairs_mut().append_pair("$skiptoken", skiptoken); - } - if let Some(top) = top { - url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); - } - if let Some(apply) = apply { - url.query_pairs_mut().append_pair("$apply", apply); - } - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(list::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(list::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: UsageDetailsListResult = - serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: ErrorResponse = - serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; - Err(list::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod list { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::ErrorResponse, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn list_by_billing_period( - operation_config: &crate::OperationConfig, - subscription_id: &str, - billing_period_name: &str, - expand: Option<&str>, - filter: Option<&str>, - apply: Option<&str>, - skiptoken: Option<&str>, - top: Option, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/providers/Microsoft.Billing/billingPeriods/{}/providers/Microsoft.Consumption/usageDetails", - operation_config.base_path(), - subscription_id, - billing_period_name - ); - let mut url = url::Url::parse(url_str).map_err(list_by_billing_period::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(list_by_billing_period::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - if let Some(expand) = expand { - url.query_pairs_mut().append_pair("$expand", expand); - } - if let Some(filter) = filter { - url.query_pairs_mut().append_pair("$filter", filter); - } - if let Some(apply) = apply { - url.query_pairs_mut().append_pair("$apply", apply); - } - if let Some(skiptoken) = skiptoken { - url.query_pairs_mut().append_pair("$skiptoken", skiptoken); - } - if let Some(top) = top { - url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); - } - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder - .body(req_body) - .map_err(list_by_billing_period::Error::BuildRequestError)?; - let rsp = http_client - .execute_request(req) - .await - .map_err(list_by_billing_period::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: UsageDetailsListResult = serde_json::from_slice(rsp_body) - .map_err(|source| list_by_billing_period::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) - .map_err(|source| list_by_billing_period::Error::DeserializeError(source, rsp_body.clone()))?; - Err(list_by_billing_period::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod list_by_billing_period { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::ErrorResponse, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } -} -pub mod usage_details_by_billing_account { - use crate::models::*; - pub async fn list( - operation_config: &crate::OperationConfig, - billing_account_id: &str, - expand: Option<&str>, - filter: Option<&str>, - skiptoken: Option<&str>, - top: Option, - apply: Option<&str>, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/providers/Microsoft.Billing/billingAccounts/{}/providers/Microsoft.Consumption/usageDetails", - operation_config.base_path(), - billing_account_id - ); - let mut url = url::Url::parse(url_str).map_err(list::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(list::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - if let Some(expand) = expand { - url.query_pairs_mut().append_pair("$expand", expand); - } - if let Some(filter) = filter { - url.query_pairs_mut().append_pair("$filter", filter); - } - if let Some(skiptoken) = skiptoken { - url.query_pairs_mut().append_pair("$skiptoken", skiptoken); - } - if let Some(top) = top { - url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); - } - if let Some(apply) = apply { - url.query_pairs_mut().append_pair("$apply", apply); - } - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(list::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(list::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: UsageDetailsListResult = - serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: ErrorResponse = - serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; - Err(list::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod list { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::ErrorResponse, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn list_by_billing_period( - operation_config: &crate::OperationConfig, - billing_account_id: &str, - billing_period_name: &str, - expand: Option<&str>, - filter: Option<&str>, - apply: Option<&str>, - skiptoken: Option<&str>, - top: Option, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = & format ! ("{}/providers/Microsoft.Billing/billingAccounts/{}/providers/Microsoft.Billing/billingPeriods/{}/providers/Microsoft.Consumption/usageDetails" , operation_config . base_path () , billing_account_id , billing_period_name) ; - let mut url = url::Url::parse(url_str).map_err(list_by_billing_period::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(list_by_billing_period::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - if let Some(expand) = expand { - url.query_pairs_mut().append_pair("$expand", expand); - } - if let Some(filter) = filter { - url.query_pairs_mut().append_pair("$filter", filter); - } - if let Some(apply) = apply { - url.query_pairs_mut().append_pair("$apply", apply); - } - if let Some(skiptoken) = skiptoken { - url.query_pairs_mut().append_pair("$skiptoken", skiptoken); - } - if let Some(top) = top { - url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); - } - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder - .body(req_body) - .map_err(list_by_billing_period::Error::BuildRequestError)?; - let rsp = http_client - .execute_request(req) - .await - .map_err(list_by_billing_period::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: UsageDetailsListResult = serde_json::from_slice(rsp_body) - .map_err(|source| list_by_billing_period::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) - .map_err(|source| list_by_billing_period::Error::DeserializeError(source, rsp_body.clone()))?; - Err(list_by_billing_period::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod list_by_billing_period { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::ErrorResponse, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } -} -pub mod usage_details_by_department { - use crate::models::*; - pub async fn list( - operation_config: &crate::OperationConfig, - department_id: &str, - expand: Option<&str>, - filter: Option<&str>, - skiptoken: Option<&str>, - top: Option, - apply: Option<&str>, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/providers/Microsoft.Billing/departments/{}/providers/Microsoft.Consumption/usageDetails", - operation_config.base_path(), - department_id - ); - let mut url = url::Url::parse(url_str).map_err(list::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(list::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - if let Some(expand) = expand { - url.query_pairs_mut().append_pair("$expand", expand); - } - if let Some(filter) = filter { - url.query_pairs_mut().append_pair("$filter", filter); - } - if let Some(skiptoken) = skiptoken { - url.query_pairs_mut().append_pair("$skiptoken", skiptoken); - } - if let Some(top) = top { - url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); - } - if let Some(apply) = apply { - url.query_pairs_mut().append_pair("$apply", apply); - } - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(list::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(list::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: UsageDetailsListResult = - serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: ErrorResponse = - serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; - Err(list::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod list { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::ErrorResponse, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn list_by_billing_period( - operation_config: &crate::OperationConfig, - department_id: &str, - billing_period_name: &str, - expand: Option<&str>, - filter: Option<&str>, - apply: Option<&str>, - skiptoken: Option<&str>, - top: Option, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = & format ! ("{}/providers/Microsoft.Billing/departments/{}/providers/Microsoft.Billing/billingPeriods/{}/providers/Microsoft.Consumption/usageDetails" , operation_config . base_path () , department_id , billing_period_name) ; - let mut url = url::Url::parse(url_str).map_err(list_by_billing_period::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(list_by_billing_period::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - if let Some(expand) = expand { - url.query_pairs_mut().append_pair("$expand", expand); - } - if let Some(filter) = filter { - url.query_pairs_mut().append_pair("$filter", filter); - } - if let Some(apply) = apply { - url.query_pairs_mut().append_pair("$apply", apply); - } - if let Some(skiptoken) = skiptoken { - url.query_pairs_mut().append_pair("$skiptoken", skiptoken); - } - if let Some(top) = top { - url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); - } - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder - .body(req_body) - .map_err(list_by_billing_period::Error::BuildRequestError)?; - let rsp = http_client - .execute_request(req) - .await - .map_err(list_by_billing_period::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: UsageDetailsListResult = serde_json::from_slice(rsp_body) - .map_err(|source| list_by_billing_period::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) - .map_err(|source| list_by_billing_period::Error::DeserializeError(source, rsp_body.clone()))?; - Err(list_by_billing_period::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod list_by_billing_period { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::ErrorResponse, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } -} -pub mod usage_details_by_enrollment_account { - use crate::models::*; - pub async fn list( - operation_config: &crate::OperationConfig, - enrollment_account_id: &str, - expand: Option<&str>, - filter: Option<&str>, - skiptoken: Option<&str>, - top: Option, - apply: Option<&str>, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/providers/Microsoft.Billing/enrollmentAccounts/{}/providers/Microsoft.Consumption/usageDetails", - operation_config.base_path(), - enrollment_account_id - ); - let mut url = url::Url::parse(url_str).map_err(list::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(list::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - if let Some(expand) = expand { - url.query_pairs_mut().append_pair("$expand", expand); - } - if let Some(filter) = filter { - url.query_pairs_mut().append_pair("$filter", filter); - } - if let Some(skiptoken) = skiptoken { - url.query_pairs_mut().append_pair("$skiptoken", skiptoken); - } - if let Some(top) = top { - url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); - } - if let Some(apply) = apply { - url.query_pairs_mut().append_pair("$apply", apply); - } - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(list::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(list::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: UsageDetailsListResult = - serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: ErrorResponse = - serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; - Err(list::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod list { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::ErrorResponse, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn list_by_billing_period( - operation_config: &crate::OperationConfig, - enrollment_account_id: &str, - billing_period_name: &str, - expand: Option<&str>, - filter: Option<&str>, - apply: Option<&str>, - skiptoken: Option<&str>, - top: Option, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = & format ! ("{}/providers/Microsoft.Billing/enrollmentAccounts/{}/providers/Microsoft.Billing/billingPeriods/{}/providers/Microsoft.Consumption/usageDetails" , operation_config . base_path () , enrollment_account_id , billing_period_name) ; - let mut url = url::Url::parse(url_str).map_err(list_by_billing_period::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(list_by_billing_period::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - if let Some(expand) = expand { - url.query_pairs_mut().append_pair("$expand", expand); - } - if let Some(filter) = filter { - url.query_pairs_mut().append_pair("$filter", filter); - } - if let Some(apply) = apply { - url.query_pairs_mut().append_pair("$apply", apply); - } - if let Some(skiptoken) = skiptoken { - url.query_pairs_mut().append_pair("$skiptoken", skiptoken); - } - if let Some(top) = top { - url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); - } - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder - .body(req_body) - .map_err(list_by_billing_period::Error::BuildRequestError)?; - let rsp = http_client - .execute_request(req) - .await - .map_err(list_by_billing_period::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: UsageDetailsListResult = serde_json::from_slice(rsp_body) - .map_err(|source| list_by_billing_period::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) - .map_err(|source| list_by_billing_period::Error::DeserializeError(source, rsp_body.clone()))?; - Err(list_by_billing_period::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod list_by_billing_period { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::ErrorResponse, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } -} -pub mod marketplaces { - use crate::models::*; - pub async fn list( - operation_config: &crate::OperationConfig, - filter: Option<&str>, - top: Option, - skiptoken: Option<&str>, - subscription_id: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/providers/Microsoft.Consumption/marketplaces", - operation_config.base_path(), - subscription_id - ); - let mut url = url::Url::parse(url_str).map_err(list::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(list::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - if let Some(filter) = filter { - url.query_pairs_mut().append_pair("$filter", filter); - } - if let Some(top) = top { - url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); - } - if let Some(skiptoken) = skiptoken { - url.query_pairs_mut().append_pair("$skiptoken", skiptoken); - } - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(list::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(list::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: MarketplacesListResult = - serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: ErrorResponse = - serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; - Err(list::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod list { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::ErrorResponse, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn list_by_billing_period( - operation_config: &crate::OperationConfig, - filter: Option<&str>, - top: Option, - skiptoken: Option<&str>, - subscription_id: &str, - billing_period_name: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/providers/Microsoft.Billing/billingPeriods/{}/providers/Microsoft.Consumption/marketplaces", - operation_config.base_path(), - subscription_id, - billing_period_name - ); - let mut url = url::Url::parse(url_str).map_err(list_by_billing_period::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(list_by_billing_period::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - if let Some(filter) = filter { - url.query_pairs_mut().append_pair("$filter", filter); - } - if let Some(top) = top { - url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); - } - if let Some(skiptoken) = skiptoken { - url.query_pairs_mut().append_pair("$skiptoken", skiptoken); - } - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder - .body(req_body) - .map_err(list_by_billing_period::Error::BuildRequestError)?; - let rsp = http_client - .execute_request(req) - .await - .map_err(list_by_billing_period::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: MarketplacesListResult = serde_json::from_slice(rsp_body) - .map_err(|source| list_by_billing_period::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) - .map_err(|source| list_by_billing_period::Error::DeserializeError(source, rsp_body.clone()))?; - Err(list_by_billing_period::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod list_by_billing_period { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::ErrorResponse, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } -} -pub mod marketplaces_by_billing_account { - use crate::models::*; - pub async fn list( - operation_config: &crate::OperationConfig, - filter: Option<&str>, - top: Option, - skiptoken: Option<&str>, - billing_account_id: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/providers/Microsoft.Billing/billingAccounts/{}/providers/Microsoft.Consumption/marketplaces", - operation_config.base_path(), - billing_account_id - ); - let mut url = url::Url::parse(url_str).map_err(list::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(list::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - if let Some(filter) = filter { - url.query_pairs_mut().append_pair("$filter", filter); - } - if let Some(top) = top { - url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); - } - if let Some(skiptoken) = skiptoken { - url.query_pairs_mut().append_pair("$skiptoken", skiptoken); - } - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(list::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(list::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: MarketplacesListResult = - serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: ErrorResponse = - serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; - Err(list::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod list { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::ErrorResponse, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn list_by_billing_period( - operation_config: &crate::OperationConfig, - filter: Option<&str>, - top: Option, - skiptoken: Option<&str>, - billing_account_id: &str, - billing_period_name: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = & format ! ("{}/providers/Microsoft.Billing/billingAccounts/{}/providers/Microsoft.Billing/billingPeriods/{}/providers/Microsoft.Consumption/marketplaces" , operation_config . base_path () , billing_account_id , billing_period_name) ; - let mut url = url::Url::parse(url_str).map_err(list_by_billing_period::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(list_by_billing_period::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - if let Some(filter) = filter { - url.query_pairs_mut().append_pair("$filter", filter); - } - if let Some(top) = top { - url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); - } - if let Some(skiptoken) = skiptoken { - url.query_pairs_mut().append_pair("$skiptoken", skiptoken); - } - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder - .body(req_body) - .map_err(list_by_billing_period::Error::BuildRequestError)?; - let rsp = http_client - .execute_request(req) - .await - .map_err(list_by_billing_period::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: MarketplacesListResult = serde_json::from_slice(rsp_body) - .map_err(|source| list_by_billing_period::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) - .map_err(|source| list_by_billing_period::Error::DeserializeError(source, rsp_body.clone()))?; - Err(list_by_billing_period::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod list_by_billing_period { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::ErrorResponse, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } -} -pub mod marketplaces_by_department { - use crate::models::*; - pub async fn list( - operation_config: &crate::OperationConfig, - filter: Option<&str>, - top: Option, - skiptoken: Option<&str>, - department_id: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/providers/Microsoft.Billing/departments/{}/providers/Microsoft.Consumption/marketplaces", - operation_config.base_path(), - department_id - ); - let mut url = url::Url::parse(url_str).map_err(list::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(list::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - if let Some(filter) = filter { - url.query_pairs_mut().append_pair("$filter", filter); - } - if let Some(top) = top { - url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); - } - if let Some(skiptoken) = skiptoken { - url.query_pairs_mut().append_pair("$skiptoken", skiptoken); - } - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(list::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(list::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: MarketplacesListResult = - serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: ErrorResponse = - serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; - Err(list::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod list { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::ErrorResponse, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn list_by_billing_period( - operation_config: &crate::OperationConfig, - filter: Option<&str>, - top: Option, - skiptoken: Option<&str>, - department_id: &str, - billing_period_name: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = & format ! ("{}/providers/Microsoft.Billing/departments/{}/providers/Microsoft.Billing/billingPeriods/{}/providers/Microsoft.Consumption/marketplaces" , operation_config . base_path () , department_id , billing_period_name) ; - let mut url = url::Url::parse(url_str).map_err(list_by_billing_period::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(list_by_billing_period::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - if let Some(filter) = filter { - url.query_pairs_mut().append_pair("$filter", filter); - } - if let Some(top) = top { - url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); - } - if let Some(skiptoken) = skiptoken { - url.query_pairs_mut().append_pair("$skiptoken", skiptoken); - } - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder - .body(req_body) - .map_err(list_by_billing_period::Error::BuildRequestError)?; - let rsp = http_client - .execute_request(req) - .await - .map_err(list_by_billing_period::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: MarketplacesListResult = serde_json::from_slice(rsp_body) - .map_err(|source| list_by_billing_period::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) - .map_err(|source| list_by_billing_period::Error::DeserializeError(source, rsp_body.clone()))?; - Err(list_by_billing_period::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod list_by_billing_period { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::ErrorResponse, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } -} -pub mod marketplaces_by_enrollment_accounts { - use crate::models::*; - pub async fn list( - operation_config: &crate::OperationConfig, - filter: Option<&str>, - top: Option, - skiptoken: Option<&str>, - enrollment_account_id: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/providers/Microsoft.Billing/enrollmentAccounts/{}/providers/Microsoft.Consumption/marketplaces", - operation_config.base_path(), - enrollment_account_id - ); - let mut url = url::Url::parse(url_str).map_err(list::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(list::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - if let Some(filter) = filter { - url.query_pairs_mut().append_pair("$filter", filter); - } - if let Some(top) = top { - url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); - } - if let Some(skiptoken) = skiptoken { - url.query_pairs_mut().append_pair("$skiptoken", skiptoken); - } - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(list::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(list::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: MarketplacesListResult = - serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: ErrorResponse = - serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; - Err(list::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod list { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::ErrorResponse, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn list_by_billing_period( - operation_config: &crate::OperationConfig, - filter: Option<&str>, - top: Option, - skiptoken: Option<&str>, - enrollment_account_id: &str, - billing_period_name: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = & format ! ("{}/providers/Microsoft.Billing/enrollmentAccounts/{}/providers/Microsoft.Billing/billingPeriods/{}/providers/Microsoft.Consumption/marketplaces" , operation_config . base_path () , enrollment_account_id , billing_period_name) ; - let mut url = url::Url::parse(url_str).map_err(list_by_billing_period::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(list_by_billing_period::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - if let Some(filter) = filter { - url.query_pairs_mut().append_pair("$filter", filter); - } - if let Some(top) = top { - url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); - } - if let Some(skiptoken) = skiptoken { - url.query_pairs_mut().append_pair("$skiptoken", skiptoken); - } - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder - .body(req_body) - .map_err(list_by_billing_period::Error::BuildRequestError)?; - let rsp = http_client - .execute_request(req) - .await - .map_err(list_by_billing_period::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: MarketplacesListResult = serde_json::from_slice(rsp_body) - .map_err(|source| list_by_billing_period::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) - .map_err(|source| list_by_billing_period::Error::DeserializeError(source, rsp_body.clone()))?; - Err(list_by_billing_period::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod list_by_billing_period { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::ErrorResponse, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } -} -pub async fn get_balances_by_billing_account( - operation_config: &crate::OperationConfig, - billing_account_id: &str, -) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/providers/Microsoft.Billing/billingAccounts/{}/providers/Microsoft.Consumption/balances", - operation_config.base_path(), - billing_account_id - ); - let mut url = url::Url::parse(url_str).map_err(get_balances_by_billing_account::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(get_balances_by_billing_account::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder - .body(req_body) - .map_err(get_balances_by_billing_account::Error::BuildRequestError)?; - let rsp = http_client - .execute_request(req) - .await - .map_err(get_balances_by_billing_account::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: Balance = serde_json::from_slice(rsp_body) - .map_err(|source| get_balances_by_billing_account::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) - .map_err(|source| get_balances_by_billing_account::Error::DeserializeError(source, rsp_body.clone()))?; - Err(get_balances_by_billing_account::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } -} -pub mod get_balances_by_billing_account { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::ErrorResponse, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } -} -pub mod get_balances_by_billing_account { - use crate::models::*; - pub async fn by_billing_period( - operation_config: &crate::OperationConfig, - billing_account_id: &str, - billing_period_name: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = & format ! ("{}/providers/Microsoft.Billing/billingAccounts/{}/providers/Microsoft.Billing/billingPeriods/{}/providers/Microsoft.Consumption/balances" , operation_config . base_path () , billing_account_id , billing_period_name) ; - let mut url = url::Url::parse(url_str).map_err(by_billing_period::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(by_billing_period::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(by_billing_period::Error::BuildRequestError)?; - let rsp = http_client - .execute_request(req) - .await - .map_err(by_billing_period::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: Balance = serde_json::from_slice(rsp_body) - .map_err(|source| by_billing_period::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) - .map_err(|source| by_billing_period::Error::DeserializeError(source, rsp_body.clone()))?; - Err(by_billing_period::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod by_billing_period { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::ErrorResponse, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } -} -pub mod reservations_summaries { - use crate::models::*; - pub async fn list_by_reservation_order( - operation_config: &crate::OperationConfig, - reservation_order_id: &str, - grain: &str, - filter: Option<&str>, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/providers/Microsoft.Capacity/reservationorders/{}/providers/Microsoft.Consumption/reservationSummaries", - operation_config.base_path(), - reservation_order_id - ); - let mut url = url::Url::parse(url_str).map_err(list_by_reservation_order::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(list_by_reservation_order::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - url.query_pairs_mut().append_pair("grain", grain); - if let Some(filter) = filter { - url.query_pairs_mut().append_pair("$filter", filter); - } - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder - .body(req_body) - .map_err(list_by_reservation_order::Error::BuildRequestError)?; - let rsp = http_client - .execute_request(req) - .await - .map_err(list_by_reservation_order::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: ReservationSummariesListResult = serde_json::from_slice(rsp_body) - .map_err(|source| list_by_reservation_order::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) - .map_err(|source| list_by_reservation_order::Error::DeserializeError(source, rsp_body.clone()))?; - Err(list_by_reservation_order::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod list_by_reservation_order { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::ErrorResponse, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn list_by_reservation_order_and_reservation( - operation_config: &crate::OperationConfig, - reservation_order_id: &str, - reservation_id: &str, - grain: &str, - filter: Option<&str>, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/providers/Microsoft.Capacity/reservationorders/{}/reservations/{}/providers/Microsoft.Consumption/reservationSummaries", - operation_config.base_path(), - reservation_order_id, - reservation_id - ); - let mut url = url::Url::parse(url_str).map_err(list_by_reservation_order_and_reservation::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(list_by_reservation_order_and_reservation::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - url.query_pairs_mut().append_pair("grain", grain); - if let Some(filter) = filter { - url.query_pairs_mut().append_pair("$filter", filter); - } - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder - .body(req_body) - .map_err(list_by_reservation_order_and_reservation::Error::BuildRequestError)?; - let rsp = http_client - .execute_request(req) - .await - .map_err(list_by_reservation_order_and_reservation::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: ReservationSummariesListResult = serde_json::from_slice(rsp_body) - .map_err(|source| list_by_reservation_order_and_reservation::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) - .map_err(|source| list_by_reservation_order_and_reservation::Error::DeserializeError(source, rsp_body.clone()))?; - Err(list_by_reservation_order_and_reservation::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod list_by_reservation_order_and_reservation { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::ErrorResponse, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } -} -pub mod reservations_details { - use crate::models::*; - pub async fn list_by_reservation_order( - operation_config: &crate::OperationConfig, - reservation_order_id: &str, - filter: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/providers/Microsoft.Capacity/reservationorders/{}/providers/Microsoft.Consumption/reservationDetails", - operation_config.base_path(), - reservation_order_id - ); - let mut url = url::Url::parse(url_str).map_err(list_by_reservation_order::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(list_by_reservation_order::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - url.query_pairs_mut().append_pair("$filter", filter); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder - .body(req_body) - .map_err(list_by_reservation_order::Error::BuildRequestError)?; - let rsp = http_client - .execute_request(req) - .await - .map_err(list_by_reservation_order::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: ReservationDetailsListResult = serde_json::from_slice(rsp_body) - .map_err(|source| list_by_reservation_order::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) - .map_err(|source| list_by_reservation_order::Error::DeserializeError(source, rsp_body.clone()))?; - Err(list_by_reservation_order::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod list_by_reservation_order { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::ErrorResponse, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn list_by_reservation_order_and_reservation( - operation_config: &crate::OperationConfig, - reservation_order_id: &str, - reservation_id: &str, - filter: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/providers/Microsoft.Capacity/reservationorders/{}/reservations/{}/providers/Microsoft.Consumption/reservationDetails", - operation_config.base_path(), - reservation_order_id, - reservation_id - ); - let mut url = url::Url::parse(url_str).map_err(list_by_reservation_order_and_reservation::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(list_by_reservation_order_and_reservation::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - url.query_pairs_mut().append_pair("$filter", filter); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder - .body(req_body) - .map_err(list_by_reservation_order_and_reservation::Error::BuildRequestError)?; - let rsp = http_client - .execute_request(req) - .await - .map_err(list_by_reservation_order_and_reservation::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: ReservationDetailsListResult = serde_json::from_slice(rsp_body) - .map_err(|source| list_by_reservation_order_and_reservation::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) - .map_err(|source| list_by_reservation_order_and_reservation::Error::DeserializeError(source, rsp_body.clone()))?; - Err(list_by_reservation_order_and_reservation::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod list_by_reservation_order_and_reservation { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::ErrorResponse, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } -} -pub mod reservation_recommendations { - use crate::models::*; - pub async fn list( - operation_config: &crate::OperationConfig, - filter: Option<&str>, - subscription_id: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/providers/Microsoft.Consumption/reservationRecommendations", - operation_config.base_path(), - subscription_id - ); - let mut url = url::Url::parse(url_str).map_err(list::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(list::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - if let Some(filter) = filter { - url.query_pairs_mut().append_pair("$filter", filter); - } - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(list::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(list::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: ReservationRecommendationsListResult = - serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: ErrorResponse = - serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; - Err(list::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod list { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::ErrorResponse, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } -} -pub mod budgets { - use crate::models::*; - pub async fn list( - operation_config: &crate::OperationConfig, - subscription_id: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/providers/Microsoft.Consumption/budgets", - operation_config.base_path(), - subscription_id - ); - let mut url = url::Url::parse(url_str).map_err(list::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(list::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(list::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(list::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: BudgetsListResult = - serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: ErrorResponse = - serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; - Err(list::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod list { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::ErrorResponse, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn list_by_resource_group_name( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Consumption/budgets", - operation_config.base_path(), - subscription_id, - resource_group_name - ); - let mut url = url::Url::parse(url_str).map_err(list_by_resource_group_name::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(list_by_resource_group_name::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder - .body(req_body) - .map_err(list_by_resource_group_name::Error::BuildRequestError)?; - let rsp = http_client - .execute_request(req) - .await - .map_err(list_by_resource_group_name::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: BudgetsListResult = serde_json::from_slice(rsp_body) - .map_err(|source| list_by_resource_group_name::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) - .map_err(|source| list_by_resource_group_name::Error::DeserializeError(source, rsp_body.clone()))?; - Err(list_by_resource_group_name::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod list_by_resource_group_name { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::ErrorResponse, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn get( - operation_config: &crate::OperationConfig, - subscription_id: &str, - budget_name: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/providers/Microsoft.Consumption/budgets/{}", - operation_config.base_path(), - subscription_id, - budget_name - ); - let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(get::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: Budget = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: ErrorResponse = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Err(get::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod get { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::ErrorResponse, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn create_or_update( - operation_config: &crate::OperationConfig, - subscription_id: &str, - budget_name: &str, - parameters: &Budget, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/providers/Microsoft.Consumption/budgets/{}", - operation_config.base_path(), - subscription_id, - budget_name - ); - let mut url = url::Url::parse(url_str).map_err(create_or_update::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::PUT); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(create_or_update::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - req_builder = req_builder.header("content-type", "application/json"); - let req_body = azure_core::to_json(parameters).map_err(create_or_update::Error::SerializeError)?; - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(create_or_update::Error::BuildRequestError)?; - let rsp = http_client - .execute_request(req) - .await - .map_err(create_or_update::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: Budget = serde_json::from_slice(rsp_body) - .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(create_or_update::Response::Ok200(rsp_value)) - } - http::StatusCode::CREATED => { - let rsp_body = rsp.body(); - let rsp_value: Budget = serde_json::from_slice(rsp_body) - .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(create_or_update::Response::Created201(rsp_value)) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) - .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; - Err(create_or_update::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod create_or_update { - use crate::{models, models::*}; - #[derive(Debug)] - pub enum Response { - Ok200(Budget), - Created201(Budget), - } - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::ErrorResponse, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn delete( - operation_config: &crate::OperationConfig, - subscription_id: &str, - budget_name: &str, - ) -> std::result::Result<(), delete::Error> { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/providers/Microsoft.Consumption/budgets/{}", - operation_config.base_path(), - subscription_id, - budget_name - ); - let mut url = url::Url::parse(url_str).map_err(delete::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::DELETE); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(delete::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(delete::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(delete::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => Ok(()), - status_code => { - let rsp_body = rsp.body(); - let rsp_value: ErrorResponse = - serde_json::from_slice(rsp_body).map_err(|source| delete::Error::DeserializeError(source, rsp_body.clone()))?; - Err(delete::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod delete { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::ErrorResponse, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn get_by_resource_group_name( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - budget_name: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Consumption/budgets/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - budget_name - ); - let mut url = url::Url::parse(url_str).map_err(get_by_resource_group_name::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(get_by_resource_group_name::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder - .body(req_body) - .map_err(get_by_resource_group_name::Error::BuildRequestError)?; - let rsp = http_client - .execute_request(req) - .await - .map_err(get_by_resource_group_name::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: Budget = serde_json::from_slice(rsp_body) - .map_err(|source| get_by_resource_group_name::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) - .map_err(|source| get_by_resource_group_name::Error::DeserializeError(source, rsp_body.clone()))?; - Err(get_by_resource_group_name::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod get_by_resource_group_name { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::ErrorResponse, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn create_or_update_by_resource_group_name( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - budget_name: &str, - parameters: &Budget, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Consumption/budgets/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - budget_name - ); - let mut url = url::Url::parse(url_str).map_err(create_or_update_by_resource_group_name::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::PUT); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(create_or_update_by_resource_group_name::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - req_builder = req_builder.header("content-type", "application/json"); - let req_body = azure_core::to_json(parameters).map_err(create_or_update_by_resource_group_name::Error::SerializeError)?; - req_builder = req_builder.uri(url.as_str()); - let req = req_builder - .body(req_body) - .map_err(create_or_update_by_resource_group_name::Error::BuildRequestError)?; - let rsp = http_client - .execute_request(req) - .await - .map_err(create_or_update_by_resource_group_name::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: Budget = serde_json::from_slice(rsp_body) - .map_err(|source| create_or_update_by_resource_group_name::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(create_or_update_by_resource_group_name::Response::Ok200(rsp_value)) - } - http::StatusCode::CREATED => { - let rsp_body = rsp.body(); - let rsp_value: Budget = serde_json::from_slice(rsp_body) - .map_err(|source| create_or_update_by_resource_group_name::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(create_or_update_by_resource_group_name::Response::Created201(rsp_value)) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) - .map_err(|source| create_or_update_by_resource_group_name::Error::DeserializeError(source, rsp_body.clone()))?; - Err(create_or_update_by_resource_group_name::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod create_or_update_by_resource_group_name { - use crate::{models, models::*}; - #[derive(Debug)] - pub enum Response { - Ok200(Budget), - Created201(Budget), - } - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::ErrorResponse, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn delete_by_resource_group_name( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - budget_name: &str, - ) -> std::result::Result<(), delete_by_resource_group_name::Error> { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Consumption/budgets/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - budget_name - ); - let mut url = url::Url::parse(url_str).map_err(delete_by_resource_group_name::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::DELETE); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(delete_by_resource_group_name::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder - .body(req_body) - .map_err(delete_by_resource_group_name::Error::BuildRequestError)?; - let rsp = http_client - .execute_request(req) - .await - .map_err(delete_by_resource_group_name::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => Ok(()), - status_code => { - let rsp_body = rsp.body(); - let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) - .map_err(|source| delete_by_resource_group_name::Error::DeserializeError(source, rsp_body.clone()))?; - Err(delete_by_resource_group_name::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod delete_by_resource_group_name { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::ErrorResponse, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } -} -pub mod operations { - use crate::models::*; - pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!("{}/providers/Microsoft.Consumption/operations", operation_config.base_path(),); - let mut url = url::Url::parse(url_str).map_err(list::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(list::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(list::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(list::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: OperationListResult = - serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: ErrorResponse = - serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; - Err(list::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod list { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::ErrorResponse, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } -} -pub mod price_sheet { - use crate::models::*; - pub async fn get( - operation_config: &crate::OperationConfig, - expand: Option<&str>, - skiptoken: Option<&str>, - top: Option, - subscription_id: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/providers/Microsoft.Consumption/pricesheets/default", - operation_config.base_path(), - subscription_id - ); - let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(get::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - if let Some(expand) = expand { - url.query_pairs_mut().append_pair("$expand", expand); - } - if let Some(skiptoken) = skiptoken { - url.query_pairs_mut().append_pair("$skiptoken", skiptoken); - } - if let Some(top) = top { - url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); - } - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: PriceSheetResult = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: ErrorResponse = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Err(get::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod get { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::ErrorResponse, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn get_by_billing_period( - operation_config: &crate::OperationConfig, - expand: Option<&str>, - skiptoken: Option<&str>, - top: Option, - subscription_id: &str, - billing_period_name: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/providers/Microsoft.Billing/billingPeriods/{}/providers/Microsoft.Consumption/pricesheets/default", - operation_config.base_path(), - subscription_id, - billing_period_name - ); - let mut url = url::Url::parse(url_str).map_err(get_by_billing_period::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(get_by_billing_period::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - if let Some(expand) = expand { - url.query_pairs_mut().append_pair("$expand", expand); - } - if let Some(skiptoken) = skiptoken { - url.query_pairs_mut().append_pair("$skiptoken", skiptoken); - } - if let Some(top) = top { - url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); - } - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder - .body(req_body) - .map_err(get_by_billing_period::Error::BuildRequestError)?; - let rsp = http_client - .execute_request(req) - .await - .map_err(get_by_billing_period::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: PriceSheetResult = serde_json::from_slice(rsp_body) - .map_err(|source| get_by_billing_period::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) - .map_err(|source| get_by_billing_period::Error::DeserializeError(source, rsp_body.clone()))?; - Err(get_by_billing_period::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod get_by_billing_period { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::ErrorResponse, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } -} -pub mod cost_tags { - use crate::models::*; - pub async fn get(operation_config: &crate::OperationConfig, billing_account_id: &str) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/providers/Microsoft.Billing/billingAccounts/{}/providers/Microsoft.Consumption/costTags", - operation_config.base_path(), - billing_account_id - ); - let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(get::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: CostTags = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: ErrorResponse = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Err(get::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod get { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::ErrorResponse, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn create_or_update( - operation_config: &crate::OperationConfig, - billing_account_id: &str, - parameters: &CostTags, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/providers/Microsoft.Billing/billingAccounts/{}/providers/Microsoft.Consumption/costTags", - operation_config.base_path(), - billing_account_id - ); - let mut url = url::Url::parse(url_str).map_err(create_or_update::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::PUT); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(create_or_update::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - req_builder = req_builder.header("content-type", "application/json"); - let req_body = azure_core::to_json(parameters).map_err(create_or_update::Error::SerializeError)?; - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(create_or_update::Error::BuildRequestError)?; - let rsp = http_client - .execute_request(req) - .await - .map_err(create_or_update::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: CostTags = serde_json::from_slice(rsp_body) - .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(create_or_update::Response::Ok200(rsp_value)) - } - http::StatusCode::CREATED => { - let rsp_body = rsp.body(); - let rsp_value: CostTags = serde_json::from_slice(rsp_body) - .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(create_or_update::Response::Created201(rsp_value)) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: ErrorResponse = serde_json::from_slice(rsp_body) - .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; - Err(create_or_update::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod create_or_update { - use crate::{models, models::*}; - #[derive(Debug)] - pub enum Response { - Ok200(CostTags), - Created201(CostTags), - } - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::ErrorResponse, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } -} -pub mod tags { - use crate::models::*; - pub async fn get(operation_config: &crate::OperationConfig, billing_account_id: &str) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/providers/Microsoft.CostManagement/billingAccounts/{}/providers/Microsoft.Consumption/tags", - operation_config.base_path(), - billing_account_id - ); - let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(get::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: Tags = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: ErrorResponse = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Err(get::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod get { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::ErrorResponse, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } -} diff --git a/services/mgmt/consumption/src/package_2018_05/operations.rs b/services/mgmt/consumption/src/package_2018_05/operations.rs index 42e751439e..8d671564f6 100644 --- a/services/mgmt/consumption/src/package_2018_05/operations.rs +++ b/services/mgmt/consumption/src/package_2018_05/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod price_sheet { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, expand: Option<&str>, @@ -61,7 +61,7 @@ pub mod price_sheet { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -146,7 +146,7 @@ pub mod price_sheet { } } pub mod get_by_billing_period { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -170,7 +170,7 @@ pub mod price_sheet { } } pub mod usage_details { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -235,7 +235,7 @@ pub mod usage_details { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -328,7 +328,7 @@ pub mod usage_details { } } pub mod list_by_billing_period { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -419,7 +419,7 @@ pub mod usage_details { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -507,7 +507,7 @@ pub mod usage_details { } } pub mod list_for_billing_period_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -596,7 +596,7 @@ pub mod usage_details { } } pub mod list_by_department { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -684,7 +684,7 @@ pub mod usage_details { } } pub mod list_for_billing_period_by_department { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -775,7 +775,7 @@ pub mod usage_details { } } pub mod list_by_enrollment_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -863,7 +863,7 @@ pub mod usage_details { } } pub mod list_for_billing_period_by_enrollment_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -887,7 +887,7 @@ pub mod usage_details { } } pub mod forecasts { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -936,7 +936,7 @@ pub mod forecasts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -960,7 +960,7 @@ pub mod forecasts { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Consumption/operations", operation_config.base_path(),); @@ -998,7 +998,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/consumption/src/package_2018_06/operations.rs b/services/mgmt/consumption/src/package_2018_06/operations.rs index 6c183d1e34..94b1d6043b 100644 --- a/services/mgmt/consumption/src/package_2018_06/operations.rs +++ b/services/mgmt/consumption/src/package_2018_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod usage_details { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -69,7 +69,7 @@ pub mod usage_details { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -162,7 +162,7 @@ pub mod usage_details { } } pub mod list_by_billing_period { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -253,7 +253,7 @@ pub mod usage_details { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -341,7 +341,7 @@ pub mod usage_details { } } pub mod list_for_billing_period_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -430,7 +430,7 @@ pub mod usage_details { } } pub mod list_by_department { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -518,7 +518,7 @@ pub mod usage_details { } } pub mod list_for_billing_period_by_department { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -609,7 +609,7 @@ pub mod usage_details { } } pub mod list_by_enrollment_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -697,7 +697,7 @@ pub mod usage_details { } } pub mod list_for_billing_period_by_enrollment_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -788,7 +788,7 @@ pub mod usage_details { } } pub mod list_by_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -876,7 +876,7 @@ pub mod usage_details { } } pub mod list_for_billing_period_by_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -900,7 +900,7 @@ pub mod usage_details { } } pub mod marketplaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -957,7 +957,7 @@ pub mod marketplaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1042,7 +1042,7 @@ pub mod marketplaces { } } pub mod list_by_billing_period { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1125,7 +1125,7 @@ pub mod marketplaces { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1205,7 +1205,7 @@ pub mod marketplaces { } } pub mod list_for_billing_period_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1286,7 +1286,7 @@ pub mod marketplaces { } } pub mod list_by_department { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1366,7 +1366,7 @@ pub mod marketplaces { } } pub mod list_for_billing_period_by_department { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1449,7 +1449,7 @@ pub mod marketplaces { } } pub mod list_by_enrollment_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1529,7 +1529,7 @@ pub mod marketplaces { } } pub mod list_for_billing_period_by_enrollment_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1553,7 +1553,7 @@ pub mod marketplaces { } } pub mod balances { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_billing_account( operation_config: &crate::OperationConfig, billing_account_id: &str, @@ -1603,7 +1603,7 @@ pub mod balances { } } pub mod get_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1671,7 +1671,7 @@ pub mod balances { } } pub mod get_for_billing_period_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1695,7 +1695,7 @@ pub mod balances { } } pub mod reservations_summaries { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_reservation_order( operation_config: &crate::OperationConfig, reservation_order_id: &str, @@ -1751,7 +1751,7 @@ pub mod reservations_summaries { } } pub mod list_by_reservation_order { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1830,7 +1830,7 @@ pub mod reservations_summaries { } } pub mod list_by_reservation_order_and_reservation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1854,7 +1854,7 @@ pub mod reservations_summaries { } } pub mod reservations_details { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_reservation_order( operation_config: &crate::OperationConfig, reservation_order_id: &str, @@ -1906,7 +1906,7 @@ pub mod reservations_details { } } pub mod list_by_reservation_order { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1981,7 +1981,7 @@ pub mod reservations_details { } } pub mod list_by_reservation_order_and_reservation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2005,7 +2005,7 @@ pub mod reservations_details { } } pub mod reservation_recommendations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -2054,7 +2054,7 @@ pub mod reservation_recommendations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2078,7 +2078,7 @@ pub mod reservation_recommendations { } } pub mod budgets { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2123,7 +2123,7 @@ pub mod budgets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2196,7 +2196,7 @@ pub mod budgets { } } pub mod list_by_resource_group_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2264,7 +2264,7 @@ pub mod budgets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2343,7 +2343,7 @@ pub mod budgets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Budget), @@ -2411,7 +2411,7 @@ pub mod budgets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2486,7 +2486,7 @@ pub mod budgets { } } pub mod get_by_resource_group_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2569,7 +2569,7 @@ pub mod budgets { } } pub mod create_or_update_by_resource_group_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Budget), @@ -2644,7 +2644,7 @@ pub mod budgets { } } pub mod delete_by_resource_group_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2668,7 +2668,7 @@ pub mod budgets { } } pub mod price_sheet { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, expand: Option<&str>, @@ -2725,7 +2725,7 @@ pub mod price_sheet { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2810,7 +2810,7 @@ pub mod price_sheet { } } pub mod get_by_billing_period { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2834,7 +2834,7 @@ pub mod price_sheet { } } pub mod cost_tags { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig, billing_account_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -2876,7 +2876,7 @@ pub mod cost_tags { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2953,7 +2953,7 @@ pub mod cost_tags { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CostTag), @@ -2982,7 +2982,7 @@ pub mod cost_tags { } } pub mod tags { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig, billing_account_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -3024,7 +3024,7 @@ pub mod tags { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3048,7 +3048,7 @@ pub mod tags { } } pub mod forecasts { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -3097,7 +3097,7 @@ pub mod forecasts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3121,7 +3121,7 @@ pub mod forecasts { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Consumption/operations", operation_config.base_path(),); @@ -3159,7 +3159,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3183,7 +3183,7 @@ pub mod operations { } } pub mod aggregated_cost { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_management_group( operation_config: &crate::OperationConfig, management_group_id: &str, @@ -3233,7 +3233,7 @@ pub mod aggregated_cost { } } pub mod get_by_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3301,7 +3301,7 @@ pub mod aggregated_cost { } } pub mod get_for_billing_period_by_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/consumption/src/package_2018_08/operations.rs b/services/mgmt/consumption/src/package_2018_08/operations.rs index 50f01cf024..0a26d17501 100644 --- a/services/mgmt/consumption/src/package_2018_08/operations.rs +++ b/services/mgmt/consumption/src/package_2018_08/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod usage_details { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -69,7 +69,7 @@ pub mod usage_details { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -162,7 +162,7 @@ pub mod usage_details { } } pub mod list_by_billing_period { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -253,7 +253,7 @@ pub mod usage_details { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -341,7 +341,7 @@ pub mod usage_details { } } pub mod list_for_billing_period_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -430,7 +430,7 @@ pub mod usage_details { } } pub mod list_by_department { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -518,7 +518,7 @@ pub mod usage_details { } } pub mod list_for_billing_period_by_department { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -609,7 +609,7 @@ pub mod usage_details { } } pub mod list_by_enrollment_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -697,7 +697,7 @@ pub mod usage_details { } } pub mod list_for_billing_period_by_enrollment_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -788,7 +788,7 @@ pub mod usage_details { } } pub mod list_by_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -876,7 +876,7 @@ pub mod usage_details { } } pub mod list_for_billing_period_by_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -900,7 +900,7 @@ pub mod usage_details { } } pub mod marketplaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -957,7 +957,7 @@ pub mod marketplaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1042,7 +1042,7 @@ pub mod marketplaces { } } pub mod list_by_billing_period { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1125,7 +1125,7 @@ pub mod marketplaces { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1205,7 +1205,7 @@ pub mod marketplaces { } } pub mod list_for_billing_period_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1286,7 +1286,7 @@ pub mod marketplaces { } } pub mod list_by_department { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1366,7 +1366,7 @@ pub mod marketplaces { } } pub mod list_for_billing_period_by_department { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1449,7 +1449,7 @@ pub mod marketplaces { } } pub mod list_by_enrollment_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1529,7 +1529,7 @@ pub mod marketplaces { } } pub mod list_for_billing_period_by_enrollment_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1553,7 +1553,7 @@ pub mod marketplaces { } } pub mod balances { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_billing_account( operation_config: &crate::OperationConfig, billing_account_id: &str, @@ -1603,7 +1603,7 @@ pub mod balances { } } pub mod get_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1671,7 +1671,7 @@ pub mod balances { } } pub mod get_for_billing_period_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1695,7 +1695,7 @@ pub mod balances { } } pub mod reservations_summaries { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_reservation_order( operation_config: &crate::OperationConfig, reservation_order_id: &str, @@ -1751,7 +1751,7 @@ pub mod reservations_summaries { } } pub mod list_by_reservation_order { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1830,7 +1830,7 @@ pub mod reservations_summaries { } } pub mod list_by_reservation_order_and_reservation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1854,7 +1854,7 @@ pub mod reservations_summaries { } } pub mod reservations_details { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_reservation_order( operation_config: &crate::OperationConfig, reservation_order_id: &str, @@ -1906,7 +1906,7 @@ pub mod reservations_details { } } pub mod list_by_reservation_order { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1981,7 +1981,7 @@ pub mod reservations_details { } } pub mod list_by_reservation_order_and_reservation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2005,7 +2005,7 @@ pub mod reservations_details { } } pub mod reservation_recommendations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -2054,7 +2054,7 @@ pub mod reservation_recommendations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2078,7 +2078,7 @@ pub mod reservation_recommendations { } } pub mod budgets { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2123,7 +2123,7 @@ pub mod budgets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2196,7 +2196,7 @@ pub mod budgets { } } pub mod list_by_resource_group_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2264,7 +2264,7 @@ pub mod budgets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2343,7 +2343,7 @@ pub mod budgets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Budget), @@ -2411,7 +2411,7 @@ pub mod budgets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2486,7 +2486,7 @@ pub mod budgets { } } pub mod get_by_resource_group_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2569,7 +2569,7 @@ pub mod budgets { } } pub mod create_or_update_by_resource_group_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Budget), @@ -2644,7 +2644,7 @@ pub mod budgets { } } pub mod delete_by_resource_group_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2668,7 +2668,7 @@ pub mod budgets { } } pub mod price_sheet { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, expand: Option<&str>, @@ -2725,7 +2725,7 @@ pub mod price_sheet { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2810,7 +2810,7 @@ pub mod price_sheet { } } pub mod get_by_billing_period { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2834,7 +2834,7 @@ pub mod price_sheet { } } pub mod tags { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig, billing_account_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -2876,7 +2876,7 @@ pub mod tags { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2900,7 +2900,7 @@ pub mod tags { } } pub mod forecasts { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -2949,7 +2949,7 @@ pub mod forecasts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2973,7 +2973,7 @@ pub mod forecasts { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Consumption/operations", operation_config.base_path(),); @@ -3011,7 +3011,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3035,7 +3035,7 @@ pub mod operations { } } pub mod aggregated_cost { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_management_group( operation_config: &crate::OperationConfig, management_group_id: &str, @@ -3089,7 +3089,7 @@ pub mod aggregated_cost { } } pub mod get_by_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3157,7 +3157,7 @@ pub mod aggregated_cost { } } pub mod get_for_billing_period_by_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3181,7 +3181,7 @@ pub mod aggregated_cost { } } pub mod charges { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_enrollment_account( operation_config: &crate::OperationConfig, billing_account_id: &str, @@ -3237,7 +3237,7 @@ pub mod charges { } } pub mod list_by_enrollment_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3310,7 +3310,7 @@ pub mod charges { } } pub mod list_for_billing_period_by_enrollment_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3385,7 +3385,7 @@ pub mod charges { } } pub mod list_by_department { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3458,7 +3458,7 @@ pub mod charges { } } pub mod list_for_billing_period_by_department { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/consumption/src/package_2018_10/operations.rs b/services/mgmt/consumption/src/package_2018_10/operations.rs index 5ef3a0bfc1..916a625281 100644 --- a/services/mgmt/consumption/src/package_2018_10/operations.rs +++ b/services/mgmt/consumption/src/package_2018_10/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod usage_details { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -69,7 +69,7 @@ pub mod usage_details { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -162,7 +162,7 @@ pub mod usage_details { } } pub mod list_by_billing_period { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -253,7 +253,7 @@ pub mod usage_details { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -341,7 +341,7 @@ pub mod usage_details { } } pub mod list_for_billing_period_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -430,7 +430,7 @@ pub mod usage_details { } } pub mod list_by_department { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -518,7 +518,7 @@ pub mod usage_details { } } pub mod list_for_billing_period_by_department { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -609,7 +609,7 @@ pub mod usage_details { } } pub mod list_by_enrollment_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -697,7 +697,7 @@ pub mod usage_details { } } pub mod list_for_billing_period_by_enrollment_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -788,7 +788,7 @@ pub mod usage_details { } } pub mod list_by_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -876,7 +876,7 @@ pub mod usage_details { } } pub mod list_for_billing_period_by_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -900,7 +900,7 @@ pub mod usage_details { } } pub mod marketplaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -957,7 +957,7 @@ pub mod marketplaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1042,7 +1042,7 @@ pub mod marketplaces { } } pub mod list_by_billing_period { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1125,7 +1125,7 @@ pub mod marketplaces { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1205,7 +1205,7 @@ pub mod marketplaces { } } pub mod list_for_billing_period_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1286,7 +1286,7 @@ pub mod marketplaces { } } pub mod list_by_department { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1366,7 +1366,7 @@ pub mod marketplaces { } } pub mod list_for_billing_period_by_department { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1449,7 +1449,7 @@ pub mod marketplaces { } } pub mod list_by_enrollment_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1529,7 +1529,7 @@ pub mod marketplaces { } } pub mod list_for_billing_period_by_enrollment_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1612,7 +1612,7 @@ pub mod marketplaces { } } pub mod list_by_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1692,7 +1692,7 @@ pub mod marketplaces { } } pub mod list_for_billing_period_by_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1716,7 +1716,7 @@ pub mod marketplaces { } } pub mod balances { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_billing_account( operation_config: &crate::OperationConfig, billing_account_id: &str, @@ -1766,7 +1766,7 @@ pub mod balances { } } pub mod get_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1834,7 +1834,7 @@ pub mod balances { } } pub mod get_for_billing_period_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1858,7 +1858,7 @@ pub mod balances { } } pub mod reservations_summaries { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_reservation_order( operation_config: &crate::OperationConfig, reservation_order_id: &str, @@ -1914,7 +1914,7 @@ pub mod reservations_summaries { } } pub mod list_by_reservation_order { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1993,7 +1993,7 @@ pub mod reservations_summaries { } } pub mod list_by_reservation_order_and_reservation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2017,7 +2017,7 @@ pub mod reservations_summaries { } } pub mod reservations_details { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_reservation_order( operation_config: &crate::OperationConfig, reservation_order_id: &str, @@ -2069,7 +2069,7 @@ pub mod reservations_details { } } pub mod list_by_reservation_order { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2144,7 +2144,7 @@ pub mod reservations_details { } } pub mod list_by_reservation_order_and_reservation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2168,7 +2168,7 @@ pub mod reservations_details { } } pub mod reservation_recommendations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -2217,7 +2217,7 @@ pub mod reservation_recommendations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2241,7 +2241,7 @@ pub mod reservation_recommendations { } } pub mod budgets { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2286,7 +2286,7 @@ pub mod budgets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2359,7 +2359,7 @@ pub mod budgets { } } pub mod list_by_resource_group_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2427,7 +2427,7 @@ pub mod budgets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2506,7 +2506,7 @@ pub mod budgets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Budget), @@ -2574,7 +2574,7 @@ pub mod budgets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2649,7 +2649,7 @@ pub mod budgets { } } pub mod get_by_resource_group_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2732,7 +2732,7 @@ pub mod budgets { } } pub mod create_or_update_by_resource_group_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Budget), @@ -2807,7 +2807,7 @@ pub mod budgets { } } pub mod delete_by_resource_group_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2831,7 +2831,7 @@ pub mod budgets { } } pub mod price_sheet { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, expand: Option<&str>, @@ -2888,7 +2888,7 @@ pub mod price_sheet { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2973,7 +2973,7 @@ pub mod price_sheet { } } pub mod get_by_billing_period { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2997,7 +2997,7 @@ pub mod price_sheet { } } pub mod tags { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig, billing_account_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -3039,7 +3039,7 @@ pub mod tags { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3063,7 +3063,7 @@ pub mod tags { } } pub mod forecasts { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -3112,7 +3112,7 @@ pub mod forecasts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3136,7 +3136,7 @@ pub mod forecasts { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Consumption/operations", operation_config.base_path(),); @@ -3174,7 +3174,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3198,7 +3198,7 @@ pub mod operations { } } pub mod aggregated_cost { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_management_group( operation_config: &crate::OperationConfig, management_group_id: &str, @@ -3252,7 +3252,7 @@ pub mod aggregated_cost { } } pub mod get_by_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3320,7 +3320,7 @@ pub mod aggregated_cost { } } pub mod get_for_billing_period_by_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3344,7 +3344,7 @@ pub mod aggregated_cost { } } pub mod charges { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_enrollment_account( operation_config: &crate::OperationConfig, billing_account_id: &str, @@ -3400,7 +3400,7 @@ pub mod charges { } } pub mod list_by_enrollment_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3473,7 +3473,7 @@ pub mod charges { } } pub mod list_for_billing_period_by_enrollment_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3548,7 +3548,7 @@ pub mod charges { } } pub mod list_by_department { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3621,7 +3621,7 @@ pub mod charges { } } pub mod list_for_billing_period_by_department { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3645,7 +3645,7 @@ pub mod charges { } } pub mod tenants { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, billing_account_id: &str, @@ -3692,7 +3692,7 @@ pub mod tenants { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/consumption/src/package_2019_01/operations.rs b/services/mgmt/consumption/src/package_2019_01/operations.rs index ad18c130cc..81edfa3ea8 100644 --- a/services/mgmt/consumption/src/package_2019_01/operations.rs +++ b/services/mgmt/consumption/src/package_2019_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod usage_details { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, scope: &str, @@ -69,7 +69,7 @@ pub mod usage_details { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -93,7 +93,7 @@ pub mod usage_details { } } pub mod marketplaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -150,7 +150,7 @@ pub mod marketplaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -174,7 +174,7 @@ pub mod marketplaces { } } pub mod budgets { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, scope: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/{}/providers/Microsoft.Consumption/budgets", operation_config.base_path(), scope); @@ -212,7 +212,7 @@ pub mod budgets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -276,7 +276,7 @@ pub mod budgets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -355,7 +355,7 @@ pub mod budgets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Budget), @@ -423,7 +423,7 @@ pub mod budgets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -447,7 +447,7 @@ pub mod budgets { } } pub mod tags { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig, scope: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/{}/providers/Microsoft.Consumption/tags", operation_config.base_path(), scope); @@ -485,7 +485,7 @@ pub mod tags { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -509,7 +509,7 @@ pub mod tags { } } pub mod charges { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_scope( operation_config: &crate::OperationConfig, scope: &str, @@ -557,7 +557,7 @@ pub mod charges { } } pub mod list_by_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -581,7 +581,7 @@ pub mod charges { } } pub mod balances { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_billing_account( operation_config: &crate::OperationConfig, billing_account_id: &str, @@ -631,7 +631,7 @@ pub mod balances { } } pub mod get_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -699,7 +699,7 @@ pub mod balances { } } pub mod get_for_billing_period_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -723,7 +723,7 @@ pub mod balances { } } pub mod reservations_summaries { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_reservation_order( operation_config: &crate::OperationConfig, reservation_order_id: &str, @@ -779,7 +779,7 @@ pub mod reservations_summaries { } } pub mod list_by_reservation_order { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -858,7 +858,7 @@ pub mod reservations_summaries { } } pub mod list_by_reservation_order_and_reservation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -882,7 +882,7 @@ pub mod reservations_summaries { } } pub mod reservations_details { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_reservation_order( operation_config: &crate::OperationConfig, reservation_order_id: &str, @@ -934,7 +934,7 @@ pub mod reservations_details { } } pub mod list_by_reservation_order { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1009,7 +1009,7 @@ pub mod reservations_details { } } pub mod list_by_reservation_order_and_reservation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1033,7 +1033,7 @@ pub mod reservations_details { } } pub mod reservation_recommendations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -1082,7 +1082,7 @@ pub mod reservation_recommendations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1106,7 +1106,7 @@ pub mod reservation_recommendations { } } pub mod price_sheet { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, expand: Option<&str>, @@ -1163,7 +1163,7 @@ pub mod price_sheet { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1248,7 +1248,7 @@ pub mod price_sheet { } } pub mod get_by_billing_period { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1272,7 +1272,7 @@ pub mod price_sheet { } } pub mod forecasts { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -1321,7 +1321,7 @@ pub mod forecasts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1345,7 +1345,7 @@ pub mod forecasts { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Consumption/operations", operation_config.base_path(),); @@ -1383,7 +1383,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1407,7 +1407,7 @@ pub mod operations { } } pub mod aggregated_cost { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_management_group( operation_config: &crate::OperationConfig, management_group_id: &str, @@ -1461,7 +1461,7 @@ pub mod aggregated_cost { } } pub mod get_by_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1529,7 +1529,7 @@ pub mod aggregated_cost { } } pub mod get_for_billing_period_by_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/consumption/src/package_2019_05/operations.rs b/services/mgmt/consumption/src/package_2019_05/operations.rs index ca02c22129..fb9c3019ea 100644 --- a/services/mgmt/consumption/src/package_2019_05/operations.rs +++ b/services/mgmt/consumption/src/package_2019_05/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod usage_details { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, scope: &str, @@ -69,7 +69,7 @@ pub mod usage_details { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -93,7 +93,7 @@ pub mod usage_details { } } pub mod marketplaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -150,7 +150,7 @@ pub mod marketplaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -174,7 +174,7 @@ pub mod marketplaces { } } pub mod budgets { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, scope: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/{}/providers/Microsoft.Consumption/budgets", operation_config.base_path(), scope); @@ -212,7 +212,7 @@ pub mod budgets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -276,7 +276,7 @@ pub mod budgets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -355,7 +355,7 @@ pub mod budgets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Budget), @@ -423,7 +423,7 @@ pub mod budgets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -447,7 +447,7 @@ pub mod budgets { } } pub mod tags { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig, scope: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/{}/providers/Microsoft.Consumption/tags", operation_config.base_path(), scope); @@ -485,7 +485,7 @@ pub mod tags { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -509,7 +509,7 @@ pub mod tags { } } pub mod charges { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_scope( operation_config: &crate::OperationConfig, scope: &str, @@ -557,7 +557,7 @@ pub mod charges { } } pub mod list_by_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -581,7 +581,7 @@ pub mod charges { } } pub mod balances { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_billing_account( operation_config: &crate::OperationConfig, billing_account_id: &str, @@ -631,7 +631,7 @@ pub mod balances { } } pub mod get_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -699,7 +699,7 @@ pub mod balances { } } pub mod get_for_billing_period_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -723,7 +723,7 @@ pub mod balances { } } pub mod reservations_summaries { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_reservation_order( operation_config: &crate::OperationConfig, reservation_order_id: &str, @@ -779,7 +779,7 @@ pub mod reservations_summaries { } } pub mod list_by_reservation_order { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -858,7 +858,7 @@ pub mod reservations_summaries { } } pub mod list_by_reservation_order_and_reservation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -935,7 +935,7 @@ pub mod reservations_summaries { } } pub mod list_by_billing_account_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -959,7 +959,7 @@ pub mod reservations_summaries { } } pub mod reservations_details { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_reservation_order( operation_config: &crate::OperationConfig, reservation_order_id: &str, @@ -1011,7 +1011,7 @@ pub mod reservations_details { } } pub mod list_by_reservation_order { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1086,7 +1086,7 @@ pub mod reservations_details { } } pub mod list_by_reservation_order_and_reservation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1159,7 +1159,7 @@ pub mod reservations_details { } } pub mod list_by_billing_account_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1183,7 +1183,7 @@ pub mod reservations_details { } } pub mod reservation_recommendations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -1232,7 +1232,7 @@ pub mod reservation_recommendations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1307,7 +1307,7 @@ pub mod reservation_recommendations { } } pub mod list_by_billing_account_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1331,7 +1331,7 @@ pub mod reservation_recommendations { } } pub mod price_sheet { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, expand: Option<&str>, @@ -1388,7 +1388,7 @@ pub mod price_sheet { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1473,7 +1473,7 @@ pub mod price_sheet { } } pub mod get_by_billing_period { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1497,7 +1497,7 @@ pub mod price_sheet { } } pub mod forecasts { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -1546,7 +1546,7 @@ pub mod forecasts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1570,7 +1570,7 @@ pub mod forecasts { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Consumption/operations", operation_config.base_path(),); @@ -1608,7 +1608,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1632,7 +1632,7 @@ pub mod operations { } } pub mod aggregated_cost { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_management_group( operation_config: &crate::OperationConfig, management_group_id: &str, @@ -1686,7 +1686,7 @@ pub mod aggregated_cost { } } pub mod get_by_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1754,7 +1754,7 @@ pub mod aggregated_cost { } } pub mod get_for_billing_period_by_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/consumption/src/package_2019_06/operations.rs b/services/mgmt/consumption/src/package_2019_06/operations.rs index 70f4a0178f..56c937b589 100644 --- a/services/mgmt/consumption/src/package_2019_06/operations.rs +++ b/services/mgmt/consumption/src/package_2019_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod usage_details { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, scope: &str, @@ -69,7 +69,7 @@ pub mod usage_details { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -93,7 +93,7 @@ pub mod usage_details { } } pub mod marketplaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -150,7 +150,7 @@ pub mod marketplaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -174,7 +174,7 @@ pub mod marketplaces { } } pub mod budgets { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, scope: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/{}/providers/Microsoft.Consumption/budgets", operation_config.base_path(), scope); @@ -212,7 +212,7 @@ pub mod budgets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -276,7 +276,7 @@ pub mod budgets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -355,7 +355,7 @@ pub mod budgets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Budget), @@ -423,7 +423,7 @@ pub mod budgets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -447,7 +447,7 @@ pub mod budgets { } } pub mod tags { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig, scope: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/{}/providers/Microsoft.Consumption/tags", operation_config.base_path(), scope); @@ -485,7 +485,7 @@ pub mod tags { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -509,7 +509,7 @@ pub mod tags { } } pub mod charges { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_scope( operation_config: &crate::OperationConfig, scope: &str, @@ -557,7 +557,7 @@ pub mod charges { } } pub mod list_by_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -581,7 +581,7 @@ pub mod charges { } } pub mod balances { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_billing_account( operation_config: &crate::OperationConfig, billing_account_id: &str, @@ -631,7 +631,7 @@ pub mod balances { } } pub mod get_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -699,7 +699,7 @@ pub mod balances { } } pub mod get_for_billing_period_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -723,7 +723,7 @@ pub mod balances { } } pub mod reservations_summaries { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_reservation_order( operation_config: &crate::OperationConfig, reservation_order_id: &str, @@ -779,7 +779,7 @@ pub mod reservations_summaries { } } pub mod list_by_reservation_order { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -858,7 +858,7 @@ pub mod reservations_summaries { } } pub mod list_by_reservation_order_and_reservation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -935,7 +935,7 @@ pub mod reservations_summaries { } } pub mod list_by_billing_account_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -959,7 +959,7 @@ pub mod reservations_summaries { } } pub mod reservations_details { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_reservation_order( operation_config: &crate::OperationConfig, reservation_order_id: &str, @@ -1011,7 +1011,7 @@ pub mod reservations_details { } } pub mod list_by_reservation_order { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1086,7 +1086,7 @@ pub mod reservations_details { } } pub mod list_by_reservation_order_and_reservation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1159,7 +1159,7 @@ pub mod reservations_details { } } pub mod list_by_billing_account_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1183,7 +1183,7 @@ pub mod reservations_details { } } pub mod reservation_recommendations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -1232,7 +1232,7 @@ pub mod reservation_recommendations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1307,7 +1307,7 @@ pub mod reservation_recommendations { } } pub mod list_by_billing_account_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1331,7 +1331,7 @@ pub mod reservation_recommendations { } } pub mod reservation_transactions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_billing_account_id( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -1385,7 +1385,7 @@ pub mod reservation_transactions { } } pub mod list_by_billing_account_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1409,7 +1409,7 @@ pub mod reservation_transactions { } } pub mod price_sheet { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, expand: Option<&str>, @@ -1466,7 +1466,7 @@ pub mod price_sheet { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1551,7 +1551,7 @@ pub mod price_sheet { } } pub mod get_by_billing_period { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1575,7 +1575,7 @@ pub mod price_sheet { } } pub mod forecasts { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -1624,7 +1624,7 @@ pub mod forecasts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1648,7 +1648,7 @@ pub mod forecasts { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Consumption/operations", operation_config.base_path(),); @@ -1686,7 +1686,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1710,7 +1710,7 @@ pub mod operations { } } pub mod aggregated_cost { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_management_group( operation_config: &crate::OperationConfig, management_group_id: &str, @@ -1764,7 +1764,7 @@ pub mod aggregated_cost { } } pub mod get_by_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1832,7 +1832,7 @@ pub mod aggregated_cost { } } pub mod get_for_billing_period_by_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/consumption/src/package_2019_10/operations.rs b/services/mgmt/consumption/src/package_2019_10/operations.rs index 0611885da0..2c01f00064 100644 --- a/services/mgmt/consumption/src/package_2019_10/operations.rs +++ b/services/mgmt/consumption/src/package_2019_10/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod usage_details { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, scope: &str, @@ -69,7 +69,7 @@ pub mod usage_details { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -93,7 +93,7 @@ pub mod usage_details { } } pub mod marketplaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -150,7 +150,7 @@ pub mod marketplaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -174,7 +174,7 @@ pub mod marketplaces { } } pub mod budgets { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, scope: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/{}/providers/Microsoft.Consumption/budgets", operation_config.base_path(), scope); @@ -212,7 +212,7 @@ pub mod budgets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -276,7 +276,7 @@ pub mod budgets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -355,7 +355,7 @@ pub mod budgets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Budget), @@ -423,7 +423,7 @@ pub mod budgets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -447,7 +447,7 @@ pub mod budgets { } } pub mod tags { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig, scope: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/{}/providers/Microsoft.Consumption/tags", operation_config.base_path(), scope); @@ -486,7 +486,7 @@ pub mod tags { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TagsResult), @@ -515,7 +515,7 @@ pub mod tags { } } pub mod charges { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, scope: &str, @@ -572,7 +572,7 @@ pub mod charges { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -596,7 +596,7 @@ pub mod charges { } } pub mod balances { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_billing_account( operation_config: &crate::OperationConfig, billing_account_id: &str, @@ -646,7 +646,7 @@ pub mod balances { } } pub mod get_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -719,7 +719,7 @@ pub mod balances { } } pub mod get_for_billing_period_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -743,7 +743,7 @@ pub mod balances { } } pub mod reservations_summaries { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_reservation_order( operation_config: &crate::OperationConfig, reservation_order_id: &str, @@ -799,7 +799,7 @@ pub mod reservations_summaries { } } pub mod list_by_reservation_order { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -878,7 +878,7 @@ pub mod reservations_summaries { } } pub mod list_by_reservation_order_and_reservation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -966,7 +966,7 @@ pub mod reservations_summaries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -990,7 +990,7 @@ pub mod reservations_summaries { } } pub mod reservations_details { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_reservation_order( operation_config: &crate::OperationConfig, reservation_order_id: &str, @@ -1042,7 +1042,7 @@ pub mod reservations_details { } } pub mod list_by_reservation_order { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1117,7 +1117,7 @@ pub mod reservations_details { } } pub mod list_by_reservation_order_and_reservation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1203,7 +1203,7 @@ pub mod reservations_details { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1227,7 +1227,7 @@ pub mod reservations_details { } } pub mod reservation_recommendations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -1277,7 +1277,7 @@ pub mod reservation_recommendations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReservationRecommendationsListResult), @@ -1306,7 +1306,7 @@ pub mod reservation_recommendations { } } pub mod reservation_recommendation_details { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, billing_scope: &str, @@ -1362,7 +1362,7 @@ pub mod reservation_recommendation_details { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReservationRecommendationDetailsModel), @@ -1391,7 +1391,7 @@ pub mod reservation_recommendation_details { } } pub mod reservation_transactions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -1440,7 +1440,7 @@ pub mod reservation_transactions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1517,7 +1517,7 @@ pub mod reservation_transactions { } } pub mod list_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1541,7 +1541,7 @@ pub mod reservation_transactions { } } pub mod price_sheet { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, expand: Option<&str>, @@ -1598,7 +1598,7 @@ pub mod price_sheet { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1683,7 +1683,7 @@ pub mod price_sheet { } } pub mod get_by_billing_period { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1707,7 +1707,7 @@ pub mod price_sheet { } } pub mod forecasts { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -1756,7 +1756,7 @@ pub mod forecasts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1780,7 +1780,7 @@ pub mod forecasts { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Consumption/operations", operation_config.base_path(),); @@ -1818,7 +1818,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1842,7 +1842,7 @@ pub mod operations { } } pub mod aggregated_cost { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_management_group( operation_config: &crate::OperationConfig, management_group_id: &str, @@ -1896,7 +1896,7 @@ pub mod aggregated_cost { } } pub mod get_by_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1964,7 +1964,7 @@ pub mod aggregated_cost { } } pub mod get_for_billing_period_by_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1988,7 +1988,7 @@ pub mod aggregated_cost { } } pub mod events { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, start_date: &str, @@ -2033,7 +2033,7 @@ pub mod events { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2057,7 +2057,7 @@ pub mod events { } } pub mod lots { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, scope: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/{}/providers/Microsoft.Consumption/lots", operation_config.base_path(), scope); @@ -2095,7 +2095,7 @@ pub mod lots { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2119,7 +2119,7 @@ pub mod lots { } } pub mod credits { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig, scope: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -2161,7 +2161,7 @@ pub mod credits { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/consumption/src/package_2021_10/operations.rs b/services/mgmt/consumption/src/package_2021_10/operations.rs index aef27580c2..d64d483635 100644 --- a/services/mgmt/consumption/src/package_2021_10/operations.rs +++ b/services/mgmt/consumption/src/package_2021_10/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod usage_details { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, scope: &str, @@ -69,7 +69,7 @@ pub mod usage_details { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -93,7 +93,7 @@ pub mod usage_details { } } pub mod marketplaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -150,7 +150,7 @@ pub mod marketplaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -174,7 +174,7 @@ pub mod marketplaces { } } pub mod budgets { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, scope: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/{}/providers/Microsoft.Consumption/budgets", operation_config.base_path(), scope); @@ -212,7 +212,7 @@ pub mod budgets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -276,7 +276,7 @@ pub mod budgets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -355,7 +355,7 @@ pub mod budgets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Budget), @@ -423,7 +423,7 @@ pub mod budgets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -447,7 +447,7 @@ pub mod budgets { } } pub mod tags { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig, scope: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/{}/providers/Microsoft.Consumption/tags", operation_config.base_path(), scope); @@ -486,7 +486,7 @@ pub mod tags { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TagsResult), @@ -515,7 +515,7 @@ pub mod tags { } } pub mod charges { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, scope: &str, @@ -572,7 +572,7 @@ pub mod charges { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -596,7 +596,7 @@ pub mod charges { } } pub mod balances { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_billing_account( operation_config: &crate::OperationConfig, billing_account_id: &str, @@ -646,7 +646,7 @@ pub mod balances { } } pub mod get_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -714,7 +714,7 @@ pub mod balances { } } pub mod get_for_billing_period_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -738,7 +738,7 @@ pub mod balances { } } pub mod reservations_summaries { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_reservation_order( operation_config: &crate::OperationConfig, reservation_order_id: &str, @@ -794,7 +794,7 @@ pub mod reservations_summaries { } } pub mod list_by_reservation_order { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -873,7 +873,7 @@ pub mod reservations_summaries { } } pub mod list_by_reservation_order_and_reservation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -961,7 +961,7 @@ pub mod reservations_summaries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -985,7 +985,7 @@ pub mod reservations_summaries { } } pub mod reservations_details { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_reservation_order( operation_config: &crate::OperationConfig, reservation_order_id: &str, @@ -1037,7 +1037,7 @@ pub mod reservations_details { } } pub mod list_by_reservation_order { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1112,7 +1112,7 @@ pub mod reservations_details { } } pub mod list_by_reservation_order_and_reservation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1198,7 +1198,7 @@ pub mod reservations_details { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1222,7 +1222,7 @@ pub mod reservations_details { } } pub mod reservation_recommendations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -1272,7 +1272,7 @@ pub mod reservation_recommendations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReservationRecommendationsListResult), @@ -1301,7 +1301,7 @@ pub mod reservation_recommendations { } } pub mod reservation_recommendation_details { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scope: &str, @@ -1355,7 +1355,7 @@ pub mod reservation_recommendation_details { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReservationRecommendationDetailsModel), @@ -1384,7 +1384,7 @@ pub mod reservation_recommendation_details { } } pub mod reservation_transactions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -1433,7 +1433,7 @@ pub mod reservation_transactions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1510,7 +1510,7 @@ pub mod reservation_transactions { } } pub mod list_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1534,7 +1534,7 @@ pub mod reservation_transactions { } } pub mod price_sheet { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, expand: Option<&str>, @@ -1591,7 +1591,7 @@ pub mod price_sheet { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1676,7 +1676,7 @@ pub mod price_sheet { } } pub mod get_by_billing_period { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1700,7 +1700,7 @@ pub mod price_sheet { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Consumption/operations", operation_config.base_path(),); @@ -1738,7 +1738,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1762,7 +1762,7 @@ pub mod operations { } } pub mod aggregated_cost { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_management_group( operation_config: &crate::OperationConfig, management_group_id: &str, @@ -1816,7 +1816,7 @@ pub mod aggregated_cost { } } pub mod get_by_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1884,7 +1884,7 @@ pub mod aggregated_cost { } } pub mod get_for_billing_period_by_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1908,7 +1908,7 @@ pub mod aggregated_cost { } } pub mod events { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_billing_profile( operation_config: &crate::OperationConfig, billing_account_id: &str, @@ -1964,7 +1964,7 @@ pub mod events { } } pub mod list_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2039,7 +2039,7 @@ pub mod events { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2063,7 +2063,7 @@ pub mod events { } } pub mod lots { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_billing_profile( operation_config: &crate::OperationConfig, billing_account_id: &str, @@ -2115,7 +2115,7 @@ pub mod lots { } } pub mod list_by_billing_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2190,7 +2190,7 @@ pub mod lots { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2214,7 +2214,7 @@ pub mod lots { } } pub mod credits { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, billing_account_id: &str, @@ -2262,7 +2262,7 @@ pub mod credits { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CreditSummary), diff --git a/services/mgmt/consumption/src/package_preview_2018_11/operations.rs b/services/mgmt/consumption/src/package_preview_2018_11/operations.rs index f895cf4df7..a415b12047 100644 --- a/services/mgmt/consumption/src/package_preview_2018_11/operations.rs +++ b/services/mgmt/consumption/src/package_preview_2018_11/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Consumption/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod credit_summary_by_billing_profile { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, billing_account_id: &str, @@ -113,7 +113,7 @@ pub mod credit_summary_by_billing_profile { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -137,7 +137,7 @@ pub mod credit_summary_by_billing_profile { } } pub mod events_by_billing_profile { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, billing_account_id: &str, @@ -188,7 +188,7 @@ pub mod events_by_billing_profile { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -212,7 +212,7 @@ pub mod events_by_billing_profile { } } pub mod lots_by_billing_profile { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, billing_account_id: &str, @@ -259,7 +259,7 @@ pub mod lots_by_billing_profile { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -283,7 +283,7 @@ pub mod lots_by_billing_profile { } } pub mod invoice_pricesheet { - use crate::models::*; + use super::{models, models::*}; pub async fn download( operation_config: &crate::OperationConfig, billing_account_id: &str, @@ -335,7 +335,7 @@ pub mod invoice_pricesheet { } } pub mod download { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PricesheetDownloadResponse), @@ -364,7 +364,7 @@ pub mod invoice_pricesheet { } } pub mod billing_profile_pricesheet { - use crate::models::*; + use super::{models, models::*}; pub async fn download( operation_config: &crate::OperationConfig, billing_account_id: &str, @@ -416,7 +416,7 @@ pub mod billing_profile_pricesheet { } } pub mod download { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PricesheetDownloadResponse), @@ -445,7 +445,7 @@ pub mod billing_profile_pricesheet { } } pub mod charges_by_billing_account { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, billing_account_id: &str, @@ -498,7 +498,7 @@ pub mod charges_by_billing_account { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -522,7 +522,7 @@ pub mod charges_by_billing_account { } } pub mod charges_by_billing_profile { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, billing_account_id: &str, @@ -573,7 +573,7 @@ pub mod charges_by_billing_profile { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -597,7 +597,7 @@ pub mod charges_by_billing_profile { } } pub mod charges_by_invoice_section { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, billing_account_id: &str, @@ -652,7 +652,7 @@ pub mod charges_by_invoice_section { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/consumption/src/package_preview_2019_04/operations.rs b/services/mgmt/consumption/src/package_preview_2019_04/operations.rs index 61a79c841d..592ffea033 100644 --- a/services/mgmt/consumption/src/package_preview_2019_04/operations.rs +++ b/services/mgmt/consumption/src/package_preview_2019_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod usage_details { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, scope: &str, @@ -69,7 +69,7 @@ pub mod usage_details { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -144,7 +144,7 @@ pub mod usage_details { } } pub mod download { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(UsageDetailsDownloadResponse), @@ -173,7 +173,7 @@ pub mod usage_details { } } pub mod marketplaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -230,7 +230,7 @@ pub mod marketplaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -254,7 +254,7 @@ pub mod marketplaces { } } pub mod budgets { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, scope: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/{}/providers/Microsoft.Consumption/budgets", operation_config.base_path(), scope); @@ -292,7 +292,7 @@ pub mod budgets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -356,7 +356,7 @@ pub mod budgets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -435,7 +435,7 @@ pub mod budgets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Budget), @@ -503,7 +503,7 @@ pub mod budgets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -527,7 +527,7 @@ pub mod budgets { } } pub mod tags { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig, scope: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/{}/providers/Microsoft.Consumption/tags", operation_config.base_path(), scope); @@ -565,7 +565,7 @@ pub mod tags { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -589,7 +589,7 @@ pub mod tags { } } pub mod charges { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_scope( operation_config: &crate::OperationConfig, scope: &str, @@ -637,7 +637,7 @@ pub mod charges { } } pub mod list_by_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -661,7 +661,7 @@ pub mod charges { } } pub mod balances { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_billing_account( operation_config: &crate::OperationConfig, billing_account_id: &str, @@ -711,7 +711,7 @@ pub mod balances { } } pub mod get_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -779,7 +779,7 @@ pub mod balances { } } pub mod get_for_billing_period_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -803,7 +803,7 @@ pub mod balances { } } pub mod reservations_summaries { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_reservation_order( operation_config: &crate::OperationConfig, reservation_order_id: &str, @@ -859,7 +859,7 @@ pub mod reservations_summaries { } } pub mod list_by_reservation_order { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -938,7 +938,7 @@ pub mod reservations_summaries { } } pub mod list_by_reservation_order_and_reservation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -962,7 +962,7 @@ pub mod reservations_summaries { } } pub mod reservations_details { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_reservation_order( operation_config: &crate::OperationConfig, reservation_order_id: &str, @@ -1014,7 +1014,7 @@ pub mod reservations_details { } } pub mod list_by_reservation_order { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1089,7 +1089,7 @@ pub mod reservations_details { } } pub mod list_by_reservation_order_and_reservation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1113,7 +1113,7 @@ pub mod reservations_details { } } pub mod reservation_recommendations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -1162,7 +1162,7 @@ pub mod reservation_recommendations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1186,7 +1186,7 @@ pub mod reservation_recommendations { } } pub mod price_sheet { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, expand: Option<&str>, @@ -1243,7 +1243,7 @@ pub mod price_sheet { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1328,7 +1328,7 @@ pub mod price_sheet { } } pub mod get_by_billing_period { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1352,7 +1352,7 @@ pub mod price_sheet { } } pub mod forecasts { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -1401,7 +1401,7 @@ pub mod forecasts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1425,7 +1425,7 @@ pub mod forecasts { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Consumption/operations", operation_config.base_path(),); @@ -1463,7 +1463,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1487,7 +1487,7 @@ pub mod operations { } } pub mod aggregated_cost { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_management_group( operation_config: &crate::OperationConfig, management_group_id: &str, @@ -1541,7 +1541,7 @@ pub mod aggregated_cost { } } pub mod get_by_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1609,7 +1609,7 @@ pub mod aggregated_cost { } } pub mod get_for_billing_period_by_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/consumption/src/package_preview_2019_05/operations.rs b/services/mgmt/consumption/src/package_preview_2019_05/operations.rs index be6c70a2a6..6d2eb37d69 100644 --- a/services/mgmt/consumption/src/package_preview_2019_05/operations.rs +++ b/services/mgmt/consumption/src/package_preview_2019_05/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod usage_details { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, scope: &str, @@ -69,7 +69,7 @@ pub mod usage_details { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -148,7 +148,7 @@ pub mod usage_details { } } pub mod download { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(UsageDetailsDownloadResponse), @@ -177,7 +177,7 @@ pub mod usage_details { } } pub mod marketplaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -234,7 +234,7 @@ pub mod marketplaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -258,7 +258,7 @@ pub mod marketplaces { } } pub mod budgets { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, scope: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/{}/providers/Microsoft.Consumption/budgets", operation_config.base_path(), scope); @@ -296,7 +296,7 @@ pub mod budgets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -360,7 +360,7 @@ pub mod budgets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -439,7 +439,7 @@ pub mod budgets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Budget), @@ -507,7 +507,7 @@ pub mod budgets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -531,7 +531,7 @@ pub mod budgets { } } pub mod tags { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig, scope: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/{}/providers/Microsoft.Consumption/tags", operation_config.base_path(), scope); @@ -569,7 +569,7 @@ pub mod tags { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -593,7 +593,7 @@ pub mod tags { } } pub mod charges { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_scope( operation_config: &crate::OperationConfig, scope: &str, @@ -641,7 +641,7 @@ pub mod charges { } } pub mod list_by_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -665,7 +665,7 @@ pub mod charges { } } pub mod balances { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_billing_account( operation_config: &crate::OperationConfig, billing_account_id: &str, @@ -715,7 +715,7 @@ pub mod balances { } } pub mod get_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -783,7 +783,7 @@ pub mod balances { } } pub mod get_for_billing_period_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -807,7 +807,7 @@ pub mod balances { } } pub mod reservations_summaries { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_reservation_order( operation_config: &crate::OperationConfig, reservation_order_id: &str, @@ -863,7 +863,7 @@ pub mod reservations_summaries { } } pub mod list_by_reservation_order { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -942,7 +942,7 @@ pub mod reservations_summaries { } } pub mod list_by_reservation_order_and_reservation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -966,7 +966,7 @@ pub mod reservations_summaries { } } pub mod reservations_details { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_reservation_order( operation_config: &crate::OperationConfig, reservation_order_id: &str, @@ -1018,7 +1018,7 @@ pub mod reservations_details { } } pub mod list_by_reservation_order { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1093,7 +1093,7 @@ pub mod reservations_details { } } pub mod list_by_reservation_order_and_reservation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1117,7 +1117,7 @@ pub mod reservations_details { } } pub mod reservation_recommendations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -1166,7 +1166,7 @@ pub mod reservation_recommendations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1190,7 +1190,7 @@ pub mod reservation_recommendations { } } pub mod price_sheet { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, expand: Option<&str>, @@ -1247,7 +1247,7 @@ pub mod price_sheet { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1332,7 +1332,7 @@ pub mod price_sheet { } } pub mod get_by_billing_period { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1356,7 +1356,7 @@ pub mod price_sheet { } } pub mod forecasts { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -1405,7 +1405,7 @@ pub mod forecasts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1429,7 +1429,7 @@ pub mod forecasts { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Consumption/operations", operation_config.base_path(),); @@ -1467,7 +1467,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1491,7 +1491,7 @@ pub mod operations { } } pub mod aggregated_cost { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_management_group( operation_config: &crate::OperationConfig, management_group_id: &str, @@ -1545,7 +1545,7 @@ pub mod aggregated_cost { } } pub mod get_by_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1613,7 +1613,7 @@ pub mod aggregated_cost { } } pub mod get_for_billing_period_by_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/containerinstance/Cargo.toml b/services/mgmt/containerinstance/Cargo.toml index 632ac1de3a..be4fdc32f9 100644 --- a/services/mgmt/containerinstance/Cargo.toml +++ b/services/mgmt/containerinstance/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-09"] +no-default-version = [] "package-2021-09" = [] "package-2021-07" = [] "package-2021-03" = [] diff --git a/services/mgmt/containerinstance/src/lib.rs b/services/mgmt/containerinstance/src/lib.rs index a7d85472b1..7a11736ea1 100644 --- a/services/mgmt/containerinstance/src/lib.rs +++ b/services/mgmt/containerinstance/src/lib.rs @@ -1,57 +1,65 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-09")] -mod package_2021_09; -#[cfg(feature = "package-2021-09")] +pub mod package_2021_09; +#[cfg(all(feature = "package-2021-09", not(feature = "no-default-version")))] pub use package_2021_09::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-07")] -mod package_2021_07; -#[cfg(feature = "package-2021-07")] +pub mod package_2021_07; +#[cfg(all(feature = "package-2021-07", not(feature = "no-default-version")))] pub use package_2021_07::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-03")] -mod package_2021_03; -#[cfg(feature = "package-2021-03")] +pub mod package_2021_03; +#[cfg(all(feature = "package-2021-03", not(feature = "no-default-version")))] pub use package_2021_03::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-11")] -mod package_2020_11; -#[cfg(feature = "package-2020-11")] +pub mod package_2020_11; +#[cfg(all(feature = "package-2020-11", not(feature = "no-default-version")))] pub use package_2020_11::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-12")] -mod package_2019_12; -#[cfg(feature = "package-2019-12")] +pub mod package_2019_12; +#[cfg(all(feature = "package-2019-12", not(feature = "no-default-version")))] pub use package_2019_12::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-10")] -mod package_2018_10; -#[cfg(feature = "package-2018-10")] +pub mod package_2018_10; +#[cfg(all(feature = "package-2018-10", not(feature = "no-default-version")))] pub use package_2018_10::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-09")] -mod package_2018_09; -#[cfg(feature = "package-2018-09")] +pub mod package_2018_09; +#[cfg(all(feature = "package-2018-09", not(feature = "no-default-version")))] pub use package_2018_09::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-06")] -mod package_2018_06; -#[cfg(feature = "package-2018-06")] +pub mod package_2018_06; +#[cfg(all(feature = "package-2018-06", not(feature = "no-default-version")))] pub use package_2018_06::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-04")] -mod package_2018_04; -#[cfg(feature = "package-2018-04")] +pub mod package_2018_04; +#[cfg(all(feature = "package-2018-04", not(feature = "no-default-version")))] pub use package_2018_04::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-02-preview")] -mod package_2018_02_preview; -#[cfg(feature = "package-2018-02-preview")] +pub mod package_2018_02_preview; +#[cfg(all(feature = "package-2018-02-preview", not(feature = "no-default-version")))] pub use package_2018_02_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-12-preview")] -mod package_2017_12_preview; -#[cfg(feature = "package-2017-12-preview")] +pub mod package_2017_12_preview; +#[cfg(all(feature = "package-2017-12-preview", not(feature = "no-default-version")))] pub use package_2017_12_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-10-preview")] -mod package_2017_10_preview; -#[cfg(feature = "package-2017-10-preview")] +pub mod package_2017_10_preview; +#[cfg(all(feature = "package-2017-10-preview", not(feature = "no-default-version")))] pub use package_2017_10_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-08-preview")] -mod package_2017_08_preview; +pub mod package_2017_08_preview; use azure_core::setters; -#[cfg(feature = "package-2017-08-preview")] +#[cfg(all(feature = "package-2017-08-preview", not(feature = "no-default-version")))] pub use package_2017_08_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -75,7 +83,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/containerinstance/src/package_2017_08_preview/operations.rs b/services/mgmt/containerinstance/src/package_2017_08_preview/operations.rs index 92e0efd0b2..1d1774e203 100644 --- a/services/mgmt/containerinstance/src/package_2017_08_preview/operations.rs +++ b/services/mgmt/containerinstance/src/package_2017_08_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod container_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -47,7 +47,7 @@ pub mod container_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -115,7 +115,7 @@ pub mod container_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -180,7 +180,7 @@ pub mod container_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -256,7 +256,7 @@ pub mod container_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerGroup), @@ -327,7 +327,7 @@ pub mod container_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerGroup), @@ -353,7 +353,7 @@ pub mod container_groups { } } pub mod container_logs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -406,7 +406,7 @@ pub mod container_logs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/containerinstance/src/package_2017_10_preview/operations.rs b/services/mgmt/containerinstance/src/package_2017_10_preview/operations.rs index 1f3868c3c6..aa830d04e9 100644 --- a/services/mgmt/containerinstance/src/package_2017_10_preview/operations.rs +++ b/services/mgmt/containerinstance/src/package_2017_10_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod container_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -47,7 +47,7 @@ pub mod container_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -115,7 +115,7 @@ pub mod container_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -180,7 +180,7 @@ pub mod container_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -256,7 +256,7 @@ pub mod container_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerGroup), @@ -327,7 +327,7 @@ pub mod container_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerGroup), @@ -353,7 +353,7 @@ pub mod container_groups { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerInstance/operations", operation_config.base_path(),); @@ -389,7 +389,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -410,7 +410,7 @@ pub mod operations { } } pub mod container_logs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -463,7 +463,7 @@ pub mod container_logs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/containerinstance/src/package_2017_12_preview/operations.rs b/services/mgmt/containerinstance/src/package_2017_12_preview/operations.rs index 876b2bfa67..14daf887ab 100644 --- a/services/mgmt/containerinstance/src/package_2017_12_preview/operations.rs +++ b/services/mgmt/containerinstance/src/package_2017_12_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod container_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -47,7 +47,7 @@ pub mod container_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -115,7 +115,7 @@ pub mod container_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -180,7 +180,7 @@ pub mod container_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -256,7 +256,7 @@ pub mod container_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerGroup), @@ -327,7 +327,7 @@ pub mod container_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerGroup), @@ -353,7 +353,7 @@ pub mod container_groups { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerInstance/operations", operation_config.base_path(),); @@ -389,7 +389,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -410,7 +410,7 @@ pub mod operations { } } pub mod container_group_usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -455,7 +455,7 @@ pub mod container_group_usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -476,7 +476,7 @@ pub mod container_group_usage { } } pub mod container_logs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -529,7 +529,7 @@ pub mod container_logs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/containerinstance/src/package_2018_02_preview/operations.rs b/services/mgmt/containerinstance/src/package_2018_02_preview/operations.rs index f427e639bd..9c157b5a71 100644 --- a/services/mgmt/containerinstance/src/package_2018_02_preview/operations.rs +++ b/services/mgmt/containerinstance/src/package_2018_02_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod container_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -47,7 +47,7 @@ pub mod container_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -115,7 +115,7 @@ pub mod container_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -180,7 +180,7 @@ pub mod container_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -256,7 +256,7 @@ pub mod container_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerGroup), @@ -328,7 +328,7 @@ pub mod container_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -394,7 +394,7 @@ pub mod container_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerGroup), @@ -420,7 +420,7 @@ pub mod container_groups { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerInstance/operations", operation_config.base_path(),); @@ -456,7 +456,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -477,7 +477,7 @@ pub mod operations { } } pub mod container_group_usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -522,7 +522,7 @@ pub mod container_group_usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -543,7 +543,7 @@ pub mod container_group_usage { } } pub mod container_logs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -596,7 +596,7 @@ pub mod container_logs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -617,7 +617,7 @@ pub mod container_logs { } } pub mod start_container { - use crate::models::*; + use super::{models, models::*}; pub async fn launch_exec( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -671,7 +671,7 @@ pub mod start_container { } } pub mod launch_exec { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/containerinstance/src/package_2018_04/operations.rs b/services/mgmt/containerinstance/src/package_2018_04/operations.rs index f427e639bd..9c157b5a71 100644 --- a/services/mgmt/containerinstance/src/package_2018_04/operations.rs +++ b/services/mgmt/containerinstance/src/package_2018_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod container_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -47,7 +47,7 @@ pub mod container_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -115,7 +115,7 @@ pub mod container_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -180,7 +180,7 @@ pub mod container_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -256,7 +256,7 @@ pub mod container_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerGroup), @@ -328,7 +328,7 @@ pub mod container_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -394,7 +394,7 @@ pub mod container_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerGroup), @@ -420,7 +420,7 @@ pub mod container_groups { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerInstance/operations", operation_config.base_path(),); @@ -456,7 +456,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -477,7 +477,7 @@ pub mod operations { } } pub mod container_group_usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -522,7 +522,7 @@ pub mod container_group_usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -543,7 +543,7 @@ pub mod container_group_usage { } } pub mod container_logs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -596,7 +596,7 @@ pub mod container_logs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -617,7 +617,7 @@ pub mod container_logs { } } pub mod start_container { - use crate::models::*; + use super::{models, models::*}; pub async fn launch_exec( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -671,7 +671,7 @@ pub mod start_container { } } pub mod launch_exec { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/containerinstance/src/package_2018_06/operations.rs b/services/mgmt/containerinstance/src/package_2018_06/operations.rs index 94cbd3de5a..e419dc2fea 100644 --- a/services/mgmt/containerinstance/src/package_2018_06/operations.rs +++ b/services/mgmt/containerinstance/src/package_2018_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod container_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -47,7 +47,7 @@ pub mod container_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -115,7 +115,7 @@ pub mod container_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -180,7 +180,7 @@ pub mod container_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -256,7 +256,7 @@ pub mod container_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerGroup), @@ -328,7 +328,7 @@ pub mod container_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -394,7 +394,7 @@ pub mod container_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerGroup), @@ -463,7 +463,7 @@ pub mod container_groups { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -524,7 +524,7 @@ pub mod container_groups { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -545,7 +545,7 @@ pub mod container_groups { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerInstance/operations", operation_config.base_path(),); @@ -581,7 +581,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -602,7 +602,7 @@ pub mod operations { } } pub mod container_group_usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -647,7 +647,7 @@ pub mod container_group_usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -668,7 +668,7 @@ pub mod container_group_usage { } } pub mod container { - use crate::models::*; + use super::{models, models::*}; pub async fn list_logs( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -724,7 +724,7 @@ pub mod container { } } pub mod list_logs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -796,7 +796,7 @@ pub mod container { } } pub mod execute_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/containerinstance/src/package_2018_09/operations.rs b/services/mgmt/containerinstance/src/package_2018_09/operations.rs index 94cbd3de5a..e419dc2fea 100644 --- a/services/mgmt/containerinstance/src/package_2018_09/operations.rs +++ b/services/mgmt/containerinstance/src/package_2018_09/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod container_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -47,7 +47,7 @@ pub mod container_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -115,7 +115,7 @@ pub mod container_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -180,7 +180,7 @@ pub mod container_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -256,7 +256,7 @@ pub mod container_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerGroup), @@ -328,7 +328,7 @@ pub mod container_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -394,7 +394,7 @@ pub mod container_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerGroup), @@ -463,7 +463,7 @@ pub mod container_groups { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -524,7 +524,7 @@ pub mod container_groups { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -545,7 +545,7 @@ pub mod container_groups { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerInstance/operations", operation_config.base_path(),); @@ -581,7 +581,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -602,7 +602,7 @@ pub mod operations { } } pub mod container_group_usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -647,7 +647,7 @@ pub mod container_group_usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -668,7 +668,7 @@ pub mod container_group_usage { } } pub mod container { - use crate::models::*; + use super::{models, models::*}; pub async fn list_logs( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -724,7 +724,7 @@ pub mod container { } } pub mod list_logs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -796,7 +796,7 @@ pub mod container { } } pub mod execute_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/containerinstance/src/package_2018_10/operations.rs b/services/mgmt/containerinstance/src/package_2018_10/operations.rs index 1429874412..ab3a938279 100644 --- a/services/mgmt/containerinstance/src/package_2018_10/operations.rs +++ b/services/mgmt/containerinstance/src/package_2018_10/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod container_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -49,7 +49,7 @@ pub mod container_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -122,7 +122,7 @@ pub mod container_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -192,7 +192,7 @@ pub mod container_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -273,7 +273,7 @@ pub mod container_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerGroup), @@ -350,7 +350,7 @@ pub mod container_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -421,7 +421,7 @@ pub mod container_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerGroup), @@ -495,7 +495,7 @@ pub mod container_groups { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -561,7 +561,7 @@ pub mod container_groups { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -627,7 +627,7 @@ pub mod container_groups { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -651,7 +651,7 @@ pub mod container_groups { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerInstance/operations", operation_config.base_path(),); @@ -689,7 +689,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -713,7 +713,7 @@ pub mod operations { } } pub mod container_group_usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -760,7 +760,7 @@ pub mod container_group_usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -784,7 +784,7 @@ pub mod container_group_usage { } } pub mod container { - use crate::models::*; + use super::{models, models::*}; pub async fn list_logs( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -842,7 +842,7 @@ pub mod container { } } pub mod list_logs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -919,7 +919,7 @@ pub mod container { } } pub mod execute_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -943,7 +943,7 @@ pub mod container { } } pub mod service_association_link { - use crate::models::*; + use super::{models, models::*}; pub async fn delete( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -983,7 +983,7 @@ pub mod service_association_link { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1060,7 +1060,7 @@ pub async fn list_cached_images( } } pub mod list_cached_images { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1131,7 +1131,7 @@ pub async fn list_capabilities( } } pub mod list_capabilities { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/containerinstance/src/package_2019_12/operations.rs b/services/mgmt/containerinstance/src/package_2019_12/operations.rs index 79837e214e..5ea04d7ce9 100644 --- a/services/mgmt/containerinstance/src/package_2019_12/operations.rs +++ b/services/mgmt/containerinstance/src/package_2019_12/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod container_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -49,7 +49,7 @@ pub mod container_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -122,7 +122,7 @@ pub mod container_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -192,7 +192,7 @@ pub mod container_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -273,7 +273,7 @@ pub mod container_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerGroup), @@ -350,7 +350,7 @@ pub mod container_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -422,7 +422,7 @@ pub mod container_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerGroup), @@ -497,7 +497,7 @@ pub mod container_groups { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -563,7 +563,7 @@ pub mod container_groups { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -629,7 +629,7 @@ pub mod container_groups { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -653,7 +653,7 @@ pub mod container_groups { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerInstance/operations", operation_config.base_path(),); @@ -691,7 +691,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -715,7 +715,7 @@ pub mod operations { } } pub mod location { - use crate::models::*; + use super::{models, models::*}; pub async fn list_usage( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -765,7 +765,7 @@ pub mod location { } } pub mod list_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -836,7 +836,7 @@ pub mod location { } } pub mod list_cached_images { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -907,7 +907,7 @@ pub mod location { } } pub mod list_capabilities { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -931,7 +931,7 @@ pub mod location { } } pub mod containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_logs( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -989,7 +989,7 @@ pub mod containers { } } pub mod list_logs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1066,7 +1066,7 @@ pub mod containers { } } pub mod execute_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/containerinstance/src/package_2020_11/operations.rs b/services/mgmt/containerinstance/src/package_2020_11/operations.rs index ec932a52bb..887d8c90a5 100644 --- a/services/mgmt/containerinstance/src/package_2020_11/operations.rs +++ b/services/mgmt/containerinstance/src/package_2020_11/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod container_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -49,7 +49,7 @@ pub mod container_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -122,7 +122,7 @@ pub mod container_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -192,7 +192,7 @@ pub mod container_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -273,7 +273,7 @@ pub mod container_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerGroup), @@ -350,7 +350,7 @@ pub mod container_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -422,7 +422,7 @@ pub mod container_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerGroup), @@ -497,7 +497,7 @@ pub mod container_groups { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -563,7 +563,7 @@ pub mod container_groups { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -629,7 +629,7 @@ pub mod container_groups { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -653,7 +653,7 @@ pub mod container_groups { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerInstance/operations", operation_config.base_path(),); @@ -691,7 +691,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -715,7 +715,7 @@ pub mod operations { } } pub mod location { - use crate::models::*; + use super::{models, models::*}; pub async fn list_usage( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -765,7 +765,7 @@ pub mod location { } } pub mod list_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -836,7 +836,7 @@ pub mod location { } } pub mod list_cached_images { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -907,7 +907,7 @@ pub mod location { } } pub mod list_capabilities { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -931,7 +931,7 @@ pub mod location { } } pub mod containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_logs( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -993,7 +993,7 @@ pub mod containers { } } pub mod list_logs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1070,7 +1070,7 @@ pub mod containers { } } pub mod execute_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1143,7 +1143,7 @@ pub mod containers { } } pub mod attach { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/containerinstance/src/package_2021_03/operations.rs b/services/mgmt/containerinstance/src/package_2021_03/operations.rs index 882c611542..1fbff66157 100644 --- a/services/mgmt/containerinstance/src/package_2021_03/operations.rs +++ b/services/mgmt/containerinstance/src/package_2021_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod container_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -49,7 +49,7 @@ pub mod container_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -122,7 +122,7 @@ pub mod container_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -192,7 +192,7 @@ pub mod container_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -273,7 +273,7 @@ pub mod container_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerGroup), @@ -350,7 +350,7 @@ pub mod container_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -422,7 +422,7 @@ pub mod container_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerGroup), @@ -497,7 +497,7 @@ pub mod container_groups { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -563,7 +563,7 @@ pub mod container_groups { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -629,7 +629,7 @@ pub mod container_groups { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -653,7 +653,7 @@ pub mod container_groups { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerInstance/operations", operation_config.base_path(),); @@ -691,7 +691,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -715,7 +715,7 @@ pub mod operations { } } pub mod location { - use crate::models::*; + use super::{models, models::*}; pub async fn list_usage( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -765,7 +765,7 @@ pub mod location { } } pub mod list_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -836,7 +836,7 @@ pub mod location { } } pub mod list_cached_images { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -907,7 +907,7 @@ pub mod location { } } pub mod list_capabilities { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -931,7 +931,7 @@ pub mod location { } } pub mod containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_logs( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -993,7 +993,7 @@ pub mod containers { } } pub mod list_logs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1070,7 +1070,7 @@ pub mod containers { } } pub mod execute_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1143,7 +1143,7 @@ pub mod containers { } } pub mod attach { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/containerinstance/src/package_2021_07/operations.rs b/services/mgmt/containerinstance/src/package_2021_07/operations.rs index 6952e7964f..c7e599dbbe 100644 --- a/services/mgmt/containerinstance/src/package_2021_07/operations.rs +++ b/services/mgmt/containerinstance/src/package_2021_07/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod container_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -49,7 +49,7 @@ pub mod container_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -122,7 +122,7 @@ pub mod container_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -192,7 +192,7 @@ pub mod container_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -273,7 +273,7 @@ pub mod container_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerGroup), @@ -350,7 +350,7 @@ pub mod container_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -422,7 +422,7 @@ pub mod container_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerGroup), @@ -497,7 +497,7 @@ pub mod container_groups { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -563,7 +563,7 @@ pub mod container_groups { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -629,7 +629,7 @@ pub mod container_groups { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -698,7 +698,7 @@ pub mod container_groups { } } pub mod get_outbound_network_dependencies_endpoints { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -722,7 +722,7 @@ pub mod container_groups { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerInstance/operations", operation_config.base_path(),); @@ -760,7 +760,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -784,7 +784,7 @@ pub mod operations { } } pub mod location { - use crate::models::*; + use super::{models, models::*}; pub async fn list_usage( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -834,7 +834,7 @@ pub mod location { } } pub mod list_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -905,7 +905,7 @@ pub mod location { } } pub mod list_cached_images { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -976,7 +976,7 @@ pub mod location { } } pub mod list_capabilities { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1000,7 +1000,7 @@ pub mod location { } } pub mod containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_logs( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1062,7 +1062,7 @@ pub mod containers { } } pub mod list_logs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1139,7 +1139,7 @@ pub mod containers { } } pub mod execute_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1212,7 +1212,7 @@ pub mod containers { } } pub mod attach { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/containerinstance/src/package_2021_09/operations.rs b/services/mgmt/containerinstance/src/package_2021_09/operations.rs index 6952e7964f..c7e599dbbe 100644 --- a/services/mgmt/containerinstance/src/package_2021_09/operations.rs +++ b/services/mgmt/containerinstance/src/package_2021_09/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod container_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -49,7 +49,7 @@ pub mod container_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -122,7 +122,7 @@ pub mod container_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -192,7 +192,7 @@ pub mod container_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -273,7 +273,7 @@ pub mod container_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerGroup), @@ -350,7 +350,7 @@ pub mod container_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -422,7 +422,7 @@ pub mod container_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerGroup), @@ -497,7 +497,7 @@ pub mod container_groups { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -563,7 +563,7 @@ pub mod container_groups { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -629,7 +629,7 @@ pub mod container_groups { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -698,7 +698,7 @@ pub mod container_groups { } } pub mod get_outbound_network_dependencies_endpoints { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -722,7 +722,7 @@ pub mod container_groups { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerInstance/operations", operation_config.base_path(),); @@ -760,7 +760,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -784,7 +784,7 @@ pub mod operations { } } pub mod location { - use crate::models::*; + use super::{models, models::*}; pub async fn list_usage( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -834,7 +834,7 @@ pub mod location { } } pub mod list_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -905,7 +905,7 @@ pub mod location { } } pub mod list_cached_images { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -976,7 +976,7 @@ pub mod location { } } pub mod list_capabilities { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1000,7 +1000,7 @@ pub mod location { } } pub mod containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_logs( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1062,7 +1062,7 @@ pub mod containers { } } pub mod list_logs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1139,7 +1139,7 @@ pub mod containers { } } pub mod execute_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1212,7 +1212,7 @@ pub mod containers { } } pub mod attach { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/containerregistry/Cargo.toml b/services/mgmt/containerregistry/Cargo.toml index d2f0550dea..6ec45ddc19 100644 --- a/services/mgmt/containerregistry/Cargo.toml +++ b/services/mgmt/containerregistry/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2019-05-only"] +no-default-version = [] "package-2021-08-preview-only" = [] "package-2021-08-preview" = [] "package-2021-06-preview-only" = [] diff --git a/services/mgmt/containerregistry/src/lib.rs b/services/mgmt/containerregistry/src/lib.rs index bd925d1566..be485d2ca0 100644 --- a/services/mgmt/containerregistry/src/lib.rs +++ b/services/mgmt/containerregistry/src/lib.rs @@ -1,101 +1,109 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-08-preview-only")] -mod package_2021_08_preview_only; -#[cfg(feature = "package-2021-08-preview-only")] +pub mod package_2021_08_preview_only; +#[cfg(all(feature = "package-2021-08-preview-only", not(feature = "no-default-version")))] pub use package_2021_08_preview_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-08-preview")] -mod package_2021_08_preview; -#[cfg(feature = "package-2021-08-preview")] +pub mod package_2021_08_preview; +#[cfg(all(feature = "package-2021-08-preview", not(feature = "no-default-version")))] pub use package_2021_08_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-06-preview-only")] -mod package_2021_06_preview_only; -#[cfg(feature = "package-2021-06-preview-only")] +pub mod package_2021_06_preview_only; +#[cfg(all(feature = "package-2021-06-preview-only", not(feature = "no-default-version")))] pub use package_2021_06_preview_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-06-preview")] -mod package_2021_06_preview; -#[cfg(feature = "package-2021-06-preview")] +pub mod package_2021_06_preview; +#[cfg(all(feature = "package-2021-06-preview", not(feature = "no-default-version")))] pub use package_2021_06_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-11-preview-only")] -mod package_2020_11_preview_only; -#[cfg(feature = "package-2020-11-preview-only")] +pub mod package_2020_11_preview_only; +#[cfg(all(feature = "package-2020-11-preview-only", not(feature = "no-default-version")))] pub use package_2020_11_preview_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-11-preview")] -mod package_2020_11_preview; -#[cfg(feature = "package-2020-11-preview")] +pub mod package_2020_11_preview; +#[cfg(all(feature = "package-2020-11-preview", not(feature = "no-default-version")))] pub use package_2020_11_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-12-preview-only")] -mod package_2019_12_preview_only; -#[cfg(feature = "package-2019-12-preview-only")] +pub mod package_2019_12_preview_only; +#[cfg(all(feature = "package-2019-12-preview-only", not(feature = "no-default-version")))] pub use package_2019_12_preview_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-12-preview")] -mod package_2019_12_preview; -#[cfg(feature = "package-2019-12-preview")] +pub mod package_2019_12_preview; +#[cfg(all(feature = "package-2019-12-preview", not(feature = "no-default-version")))] pub use package_2019_12_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-06-preview")] -mod package_2019_06_preview; -#[cfg(feature = "package-2019-06-preview")] +pub mod package_2019_06_preview; +#[cfg(all(feature = "package-2019-06-preview", not(feature = "no-default-version")))] pub use package_2019_06_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-06-preview-only")] -mod package_2019_06_preview_only; -#[cfg(feature = "package-2019-06-preview-only")] +pub mod package_2019_06_preview_only; +#[cfg(all(feature = "package-2019-06-preview-only", not(feature = "no-default-version")))] pub use package_2019_06_preview_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-05-only")] -mod package_2019_05_only; -#[cfg(feature = "package-2019-05-only")] +pub mod package_2019_05_only; +#[cfg(all(feature = "package-2019-05-only", not(feature = "no-default-version")))] pub use package_2019_05_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-05")] -mod package_2019_05; -#[cfg(feature = "package-2019-05")] +pub mod package_2019_05; +#[cfg(all(feature = "package-2019-05", not(feature = "no-default-version")))] pub use package_2019_05::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-05-preview-only")] -mod package_2019_05_preview_only; -#[cfg(feature = "package-2019-05-preview-only")] +pub mod package_2019_05_preview_only; +#[cfg(all(feature = "package-2019-05-preview-only", not(feature = "no-default-version")))] pub use package_2019_05_preview_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-05-preview")] -mod package_2019_05_preview; -#[cfg(feature = "package-2019-05-preview")] +pub mod package_2019_05_preview; +#[cfg(all(feature = "package-2019-05-preview", not(feature = "no-default-version")))] pub use package_2019_05_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-04")] -mod package_2019_04; -#[cfg(feature = "package-2019-04")] +pub mod package_2019_04; +#[cfg(all(feature = "package-2019-04", not(feature = "no-default-version")))] pub use package_2019_04::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-04-only")] -mod package_2019_04_only; -#[cfg(feature = "package-2019-04-only")] +pub mod package_2019_04_only; +#[cfg(all(feature = "package-2019-04-only", not(feature = "no-default-version")))] pub use package_2019_04_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-09-only")] -mod package_2018_09_only; -#[cfg(feature = "package-2018-09-only")] +pub mod package_2018_09_only; +#[cfg(all(feature = "package-2018-09-only", not(feature = "no-default-version")))] pub use package_2018_09_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-09")] -mod package_2018_09; -#[cfg(feature = "package-2018-09")] +pub mod package_2018_09; +#[cfg(all(feature = "package-2018-09", not(feature = "no-default-version")))] pub use package_2018_09::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-02-preview-only")] -mod package_2018_02_preview_only; -#[cfg(feature = "package-2018-02-preview-only")] +pub mod package_2018_02_preview_only; +#[cfg(all(feature = "package-2018-02-preview-only", not(feature = "no-default-version")))] pub use package_2018_02_preview_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-02-preview")] -mod package_2018_02_preview; -#[cfg(feature = "package-2018-02-preview")] +pub mod package_2018_02_preview; +#[cfg(all(feature = "package-2018-02-preview", not(feature = "no-default-version")))] pub use package_2018_02_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-10")] -mod package_2017_10; -#[cfg(feature = "package-2017-10")] +pub mod package_2017_10; +#[cfg(all(feature = "package-2017-10", not(feature = "no-default-version")))] pub use package_2017_10::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-06-preview")] -mod package_2017_06_preview; -#[cfg(feature = "package-2017-06-preview")] +pub mod package_2017_06_preview; +#[cfg(all(feature = "package-2017-06-preview", not(feature = "no-default-version")))] pub use package_2017_06_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-03")] -mod package_2017_03; -#[cfg(feature = "package-2017-03")] +pub mod package_2017_03; +#[cfg(all(feature = "package-2017-03", not(feature = "no-default-version")))] pub use package_2017_03::{models, operations, API_VERSION}; #[cfg(feature = "package-2016-06-preview")] -mod package_2016_06_preview; +pub mod package_2016_06_preview; use azure_core::setters; -#[cfg(feature = "package-2016-06-preview")] +#[cfg(all(feature = "package-2016-06-preview", not(feature = "no-default-version")))] pub use package_2016_06_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -119,7 +127,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/containerregistry/src/package_2016_06_preview/operations.rs b/services/mgmt/containerregistry/src/package_2016_06_preview/operations.rs index 80ae1da554..132958bfb1 100644 --- a/services/mgmt/containerregistry/src/package_2016_06_preview/operations.rs +++ b/services/mgmt/containerregistry/src/package_2016_06_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod registries { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -54,7 +54,7 @@ pub mod registries { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -122,7 +122,7 @@ pub mod registries { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -193,7 +193,7 @@ pub mod registries { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Registry), @@ -265,7 +265,7 @@ pub mod registries { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -326,7 +326,7 @@ pub mod registries { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -399,7 +399,7 @@ pub mod registries { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -460,7 +460,7 @@ pub mod registries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -529,7 +529,7 @@ pub mod registries { } } pub mod get_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -600,7 +600,7 @@ pub mod registries { } } pub mod regenerate_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/containerregistry/src/package_2017_03/operations.rs b/services/mgmt/containerregistry/src/package_2017_03/operations.rs index 3fd4b0bc18..fe5738bf20 100644 --- a/services/mgmt/containerregistry/src/package_2017_03/operations.rs +++ b/services/mgmt/containerregistry/src/package_2017_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod registries { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -54,7 +54,7 @@ pub mod registries { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -119,7 +119,7 @@ pub mod registries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -187,7 +187,7 @@ pub mod registries { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Registry), @@ -259,7 +259,7 @@ pub mod registries { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -320,7 +320,7 @@ pub mod registries { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -393,7 +393,7 @@ pub mod registries { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -454,7 +454,7 @@ pub mod registries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -523,7 +523,7 @@ pub mod registries { } } pub mod list_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -595,7 +595,7 @@ pub mod registries { } } pub mod regenerate_credential { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -616,7 +616,7 @@ pub mod registries { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerRegistry/operations", operation_config.base_path(),); @@ -652,7 +652,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/containerregistry/src/package_2017_06_preview/operations.rs b/services/mgmt/containerregistry/src/package_2017_06_preview/operations.rs index a968eebda1..06e3df34a8 100644 --- a/services/mgmt/containerregistry/src/package_2017_06_preview/operations.rs +++ b/services/mgmt/containerregistry/src/package_2017_06_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod registries { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -54,7 +54,7 @@ pub mod registries { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -119,7 +119,7 @@ pub mod registries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -192,7 +192,7 @@ pub mod registries { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Registry), @@ -270,7 +270,7 @@ pub mod registries { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Registry), @@ -337,7 +337,7 @@ pub mod registries { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -411,7 +411,7 @@ pub mod registries { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -472,7 +472,7 @@ pub mod registries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -541,7 +541,7 @@ pub mod registries { } } pub mod list_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -613,7 +613,7 @@ pub mod registries { } } pub mod regenerate_credential { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -681,7 +681,7 @@ pub mod registries { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -702,7 +702,7 @@ pub mod registries { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerRegistry/operations", operation_config.base_path(),); @@ -738,7 +738,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -759,7 +759,7 @@ pub mod operations { } } pub mod replications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -808,7 +808,7 @@ pub mod replications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -883,7 +883,7 @@ pub mod replications { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Replication), @@ -963,7 +963,7 @@ pub mod replications { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Replication), @@ -1032,7 +1032,7 @@ pub mod replications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1103,7 +1103,7 @@ pub mod replications { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1124,7 +1124,7 @@ pub mod replications { } } pub mod webhooks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1173,7 +1173,7 @@ pub mod webhooks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1248,7 +1248,7 @@ pub mod webhooks { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Webhook), @@ -1328,7 +1328,7 @@ pub mod webhooks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Webhook), @@ -1397,7 +1397,7 @@ pub mod webhooks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1468,7 +1468,7 @@ pub mod webhooks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1536,7 +1536,7 @@ pub mod webhooks { } } pub mod ping { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1607,7 +1607,7 @@ pub mod webhooks { } } pub mod get_callback_config { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1678,7 +1678,7 @@ pub mod webhooks { } } pub mod list_events { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/containerregistry/src/package_2017_10/operations.rs b/services/mgmt/containerregistry/src/package_2017_10/operations.rs index 7edcc26379..a45842ef9e 100644 --- a/services/mgmt/containerregistry/src/package_2017_10/operations.rs +++ b/services/mgmt/containerregistry/src/package_2017_10/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod registries { - use crate::models::*; + use super::{models, models::*}; pub async fn import_image( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -52,7 +52,7 @@ pub mod registries { } } pub mod import_image { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -125,7 +125,7 @@ pub mod registries { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -190,7 +190,7 @@ pub mod registries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -263,7 +263,7 @@ pub mod registries { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Registry), @@ -341,7 +341,7 @@ pub mod registries { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Registry), @@ -408,7 +408,7 @@ pub mod registries { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -482,7 +482,7 @@ pub mod registries { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -543,7 +543,7 @@ pub mod registries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -612,7 +612,7 @@ pub mod registries { } } pub mod list_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -684,7 +684,7 @@ pub mod registries { } } pub mod regenerate_credential { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -752,7 +752,7 @@ pub mod registries { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -820,7 +820,7 @@ pub mod registries { } } pub mod list_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -891,7 +891,7 @@ pub mod registries { } } pub mod update_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RegistryPolicies), @@ -917,7 +917,7 @@ pub mod registries { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerRegistry/operations", operation_config.base_path(),); @@ -953,7 +953,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -974,7 +974,7 @@ pub mod operations { } } pub mod replications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1023,7 +1023,7 @@ pub mod replications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1098,7 +1098,7 @@ pub mod replications { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Replication), @@ -1178,7 +1178,7 @@ pub mod replications { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Replication), @@ -1247,7 +1247,7 @@ pub mod replications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1318,7 +1318,7 @@ pub mod replications { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1339,7 +1339,7 @@ pub mod replications { } } pub mod webhooks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1388,7 +1388,7 @@ pub mod webhooks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1463,7 +1463,7 @@ pub mod webhooks { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Webhook), @@ -1543,7 +1543,7 @@ pub mod webhooks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Webhook), @@ -1612,7 +1612,7 @@ pub mod webhooks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1683,7 +1683,7 @@ pub mod webhooks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1751,7 +1751,7 @@ pub mod webhooks { } } pub mod ping { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1822,7 +1822,7 @@ pub mod webhooks { } } pub mod get_callback_config { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1893,7 +1893,7 @@ pub mod webhooks { } } pub mod list_events { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/containerregistry/src/package_2018_02_preview/operations.rs b/services/mgmt/containerregistry/src/package_2018_02_preview/operations.rs index 58343bab92..bce5664907 100644 --- a/services/mgmt/containerregistry/src/package_2018_02_preview/operations.rs +++ b/services/mgmt/containerregistry/src/package_2018_02_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod registries { - use crate::models::*; + use super::{models, models::*}; pub async fn import_image( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -52,7 +52,7 @@ pub mod registries { } } pub mod import_image { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -125,7 +125,7 @@ pub mod registries { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -190,7 +190,7 @@ pub mod registries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -263,7 +263,7 @@ pub mod registries { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Registry), @@ -341,7 +341,7 @@ pub mod registries { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Registry), @@ -408,7 +408,7 @@ pub mod registries { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -482,7 +482,7 @@ pub mod registries { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -543,7 +543,7 @@ pub mod registries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -612,7 +612,7 @@ pub mod registries { } } pub mod list_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -684,7 +684,7 @@ pub mod registries { } } pub mod regenerate_credential { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -752,7 +752,7 @@ pub mod registries { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -820,7 +820,7 @@ pub mod registries { } } pub mod list_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -891,7 +891,7 @@ pub mod registries { } } pub mod update_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RegistryPolicies), @@ -961,7 +961,7 @@ pub mod registries { } } pub mod queue_build { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Build), @@ -1031,7 +1031,7 @@ pub mod registries { } } pub mod get_build_source_upload_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1052,7 +1052,7 @@ pub mod registries { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerRegistry/operations", operation_config.base_path(),); @@ -1088,7 +1088,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1109,7 +1109,7 @@ pub mod operations { } } pub mod replications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1158,7 +1158,7 @@ pub mod replications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1233,7 +1233,7 @@ pub mod replications { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Replication), @@ -1313,7 +1313,7 @@ pub mod replications { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Replication), @@ -1382,7 +1382,7 @@ pub mod replications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1453,7 +1453,7 @@ pub mod replications { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1474,7 +1474,7 @@ pub mod replications { } } pub mod webhooks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1523,7 +1523,7 @@ pub mod webhooks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1598,7 +1598,7 @@ pub mod webhooks { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Webhook), @@ -1678,7 +1678,7 @@ pub mod webhooks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Webhook), @@ -1747,7 +1747,7 @@ pub mod webhooks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1818,7 +1818,7 @@ pub mod webhooks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1886,7 +1886,7 @@ pub mod webhooks { } } pub mod ping { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1957,7 +1957,7 @@ pub mod webhooks { } } pub mod get_callback_config { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2028,7 +2028,7 @@ pub mod webhooks { } } pub mod list_events { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2049,7 +2049,7 @@ pub mod webhooks { } } pub mod builds { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2102,7 +2102,7 @@ pub mod builds { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2163,7 +2163,7 @@ pub mod builds { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2232,7 +2232,7 @@ pub mod builds { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Build), @@ -2302,7 +2302,7 @@ pub mod builds { } } pub mod get_log_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2360,7 +2360,7 @@ pub mod builds { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2386,7 +2386,7 @@ pub mod builds { } } pub mod build_steps { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2429,7 +2429,7 @@ pub mod build_steps { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2492,7 +2492,7 @@ pub mod build_steps { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2563,7 +2563,7 @@ pub mod build_steps { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BuildStep), @@ -2639,7 +2639,7 @@ pub mod build_steps { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BuildStep), @@ -2703,7 +2703,7 @@ pub mod build_steps { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2767,7 +2767,7 @@ pub mod build_steps { } } pub mod list_build_arguments { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2788,7 +2788,7 @@ pub mod build_steps { } } pub mod build_tasks { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2837,7 +2837,7 @@ pub mod build_tasks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2898,7 +2898,7 @@ pub mod build_tasks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2967,7 +2967,7 @@ pub mod build_tasks { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BuildTask), @@ -3041,7 +3041,7 @@ pub mod build_tasks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BuildTask), @@ -3104,7 +3104,7 @@ pub mod build_tasks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3170,7 +3170,7 @@ pub mod build_tasks { } } pub mod list_source_repository_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/containerregistry/src/package_2018_02_preview_only/operations.rs b/services/mgmt/containerregistry/src/package_2018_02_preview_only/operations.rs index ed22bd6124..d75e5422a6 100644 --- a/services/mgmt/containerregistry/src/package_2018_02_preview_only/operations.rs +++ b/services/mgmt/containerregistry/src/package_2018_02_preview_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod builds { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -57,7 +57,7 @@ pub mod builds { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -118,7 +118,7 @@ pub mod builds { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -187,7 +187,7 @@ pub mod builds { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Build), @@ -257,7 +257,7 @@ pub mod builds { } } pub mod get_log_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -315,7 +315,7 @@ pub mod builds { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -341,7 +341,7 @@ pub mod builds { } } pub mod build_steps { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -384,7 +384,7 @@ pub mod build_steps { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -447,7 +447,7 @@ pub mod build_steps { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -518,7 +518,7 @@ pub mod build_steps { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BuildStep), @@ -594,7 +594,7 @@ pub mod build_steps { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BuildStep), @@ -658,7 +658,7 @@ pub mod build_steps { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -722,7 +722,7 @@ pub mod build_steps { } } pub mod list_build_arguments { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -743,7 +743,7 @@ pub mod build_steps { } } pub mod build_tasks { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -792,7 +792,7 @@ pub mod build_tasks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -853,7 +853,7 @@ pub mod build_tasks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -922,7 +922,7 @@ pub mod build_tasks { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BuildTask), @@ -996,7 +996,7 @@ pub mod build_tasks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BuildTask), @@ -1059,7 +1059,7 @@ pub mod build_tasks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1125,7 +1125,7 @@ pub mod build_tasks { } } pub mod list_source_repository_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1146,7 +1146,7 @@ pub mod build_tasks { } } pub mod registries { - use crate::models::*; + use super::{models, models::*}; pub async fn queue_build( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1193,7 +1193,7 @@ pub mod registries { } } pub mod queue_build { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Build), @@ -1263,7 +1263,7 @@ pub mod registries { } } pub mod get_build_source_upload_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/containerregistry/src/package_2018_09/operations.rs b/services/mgmt/containerregistry/src/package_2018_09/operations.rs index d2b9c88282..3d05ab9566 100644 --- a/services/mgmt/containerregistry/src/package_2018_09/operations.rs +++ b/services/mgmt/containerregistry/src/package_2018_09/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod registries { - use crate::models::*; + use super::{models, models::*}; pub async fn import_image( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -52,7 +52,7 @@ pub mod registries { } } pub mod import_image { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -125,7 +125,7 @@ pub mod registries { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -190,7 +190,7 @@ pub mod registries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -263,7 +263,7 @@ pub mod registries { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Registry), @@ -341,7 +341,7 @@ pub mod registries { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Registry), @@ -408,7 +408,7 @@ pub mod registries { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -482,7 +482,7 @@ pub mod registries { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -543,7 +543,7 @@ pub mod registries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -612,7 +612,7 @@ pub mod registries { } } pub mod list_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -684,7 +684,7 @@ pub mod registries { } } pub mod regenerate_credential { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -752,7 +752,7 @@ pub mod registries { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -820,7 +820,7 @@ pub mod registries { } } pub mod list_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -891,7 +891,7 @@ pub mod registries { } } pub mod update_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RegistryPolicies), @@ -961,7 +961,7 @@ pub mod registries { } } pub mod schedule_run { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Run), @@ -1031,7 +1031,7 @@ pub mod registries { } } pub mod get_build_source_upload_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1052,7 +1052,7 @@ pub mod registries { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerRegistry/operations", operation_config.base_path(),); @@ -1088,7 +1088,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1109,7 +1109,7 @@ pub mod operations { } } pub mod replications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1158,7 +1158,7 @@ pub mod replications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1233,7 +1233,7 @@ pub mod replications { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Replication), @@ -1313,7 +1313,7 @@ pub mod replications { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Replication), @@ -1382,7 +1382,7 @@ pub mod replications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1453,7 +1453,7 @@ pub mod replications { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1474,7 +1474,7 @@ pub mod replications { } } pub mod webhooks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1523,7 +1523,7 @@ pub mod webhooks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1598,7 +1598,7 @@ pub mod webhooks { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Webhook), @@ -1678,7 +1678,7 @@ pub mod webhooks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Webhook), @@ -1747,7 +1747,7 @@ pub mod webhooks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1818,7 +1818,7 @@ pub mod webhooks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1886,7 +1886,7 @@ pub mod webhooks { } } pub mod ping { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1957,7 +1957,7 @@ pub mod webhooks { } } pub mod get_callback_config { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2028,7 +2028,7 @@ pub mod webhooks { } } pub mod list_events { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2049,7 +2049,7 @@ pub mod webhooks { } } pub mod runs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2098,7 +2098,7 @@ pub mod runs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2159,7 +2159,7 @@ pub mod runs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2228,7 +2228,7 @@ pub mod runs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Run), @@ -2298,7 +2298,7 @@ pub mod runs { } } pub mod get_log_sas_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2356,7 +2356,7 @@ pub mod runs { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2382,7 +2382,7 @@ pub mod runs { } } pub mod tasks { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2423,7 +2423,7 @@ pub mod tasks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2484,7 +2484,7 @@ pub mod tasks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2553,7 +2553,7 @@ pub mod tasks { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Task), @@ -2627,7 +2627,7 @@ pub mod tasks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Task), @@ -2690,7 +2690,7 @@ pub mod tasks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2761,7 +2761,7 @@ pub mod tasks { } } pub mod get_details { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/containerregistry/src/package_2018_09_only/operations.rs b/services/mgmt/containerregistry/src/package_2018_09_only/operations.rs index 29f192d2a4..07437c9cfa 100644 --- a/services/mgmt/containerregistry/src/package_2018_09_only/operations.rs +++ b/services/mgmt/containerregistry/src/package_2018_09_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod registries { - use crate::models::*; + use super::{models, models::*}; pub async fn schedule_run( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -51,7 +51,7 @@ pub mod registries { } } pub mod schedule_run { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Run), @@ -121,7 +121,7 @@ pub mod registries { } } pub mod get_build_source_upload_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -142,7 +142,7 @@ pub mod registries { } } pub mod runs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -191,7 +191,7 @@ pub mod runs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -252,7 +252,7 @@ pub mod runs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -321,7 +321,7 @@ pub mod runs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Run), @@ -391,7 +391,7 @@ pub mod runs { } } pub mod get_log_sas_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -449,7 +449,7 @@ pub mod runs { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -475,7 +475,7 @@ pub mod runs { } } pub mod tasks { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -516,7 +516,7 @@ pub mod tasks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -577,7 +577,7 @@ pub mod tasks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -646,7 +646,7 @@ pub mod tasks { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Task), @@ -720,7 +720,7 @@ pub mod tasks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Task), @@ -783,7 +783,7 @@ pub mod tasks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -854,7 +854,7 @@ pub mod tasks { } } pub mod get_details { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/containerregistry/src/package_2019_04/operations.rs b/services/mgmt/containerregistry/src/package_2019_04/operations.rs index d2b9c88282..3d05ab9566 100644 --- a/services/mgmt/containerregistry/src/package_2019_04/operations.rs +++ b/services/mgmt/containerregistry/src/package_2019_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod registries { - use crate::models::*; + use super::{models, models::*}; pub async fn import_image( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -52,7 +52,7 @@ pub mod registries { } } pub mod import_image { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -125,7 +125,7 @@ pub mod registries { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -190,7 +190,7 @@ pub mod registries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -263,7 +263,7 @@ pub mod registries { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Registry), @@ -341,7 +341,7 @@ pub mod registries { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Registry), @@ -408,7 +408,7 @@ pub mod registries { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -482,7 +482,7 @@ pub mod registries { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -543,7 +543,7 @@ pub mod registries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -612,7 +612,7 @@ pub mod registries { } } pub mod list_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -684,7 +684,7 @@ pub mod registries { } } pub mod regenerate_credential { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -752,7 +752,7 @@ pub mod registries { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -820,7 +820,7 @@ pub mod registries { } } pub mod list_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -891,7 +891,7 @@ pub mod registries { } } pub mod update_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RegistryPolicies), @@ -961,7 +961,7 @@ pub mod registries { } } pub mod schedule_run { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Run), @@ -1031,7 +1031,7 @@ pub mod registries { } } pub mod get_build_source_upload_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1052,7 +1052,7 @@ pub mod registries { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerRegistry/operations", operation_config.base_path(),); @@ -1088,7 +1088,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1109,7 +1109,7 @@ pub mod operations { } } pub mod replications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1158,7 +1158,7 @@ pub mod replications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1233,7 +1233,7 @@ pub mod replications { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Replication), @@ -1313,7 +1313,7 @@ pub mod replications { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Replication), @@ -1382,7 +1382,7 @@ pub mod replications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1453,7 +1453,7 @@ pub mod replications { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1474,7 +1474,7 @@ pub mod replications { } } pub mod webhooks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1523,7 +1523,7 @@ pub mod webhooks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1598,7 +1598,7 @@ pub mod webhooks { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Webhook), @@ -1678,7 +1678,7 @@ pub mod webhooks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Webhook), @@ -1747,7 +1747,7 @@ pub mod webhooks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1818,7 +1818,7 @@ pub mod webhooks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1886,7 +1886,7 @@ pub mod webhooks { } } pub mod ping { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1957,7 +1957,7 @@ pub mod webhooks { } } pub mod get_callback_config { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2028,7 +2028,7 @@ pub mod webhooks { } } pub mod list_events { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2049,7 +2049,7 @@ pub mod webhooks { } } pub mod runs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2098,7 +2098,7 @@ pub mod runs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2159,7 +2159,7 @@ pub mod runs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2228,7 +2228,7 @@ pub mod runs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Run), @@ -2298,7 +2298,7 @@ pub mod runs { } } pub mod get_log_sas_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2356,7 +2356,7 @@ pub mod runs { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2382,7 +2382,7 @@ pub mod runs { } } pub mod tasks { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2423,7 +2423,7 @@ pub mod tasks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2484,7 +2484,7 @@ pub mod tasks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2553,7 +2553,7 @@ pub mod tasks { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Task), @@ -2627,7 +2627,7 @@ pub mod tasks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Task), @@ -2690,7 +2690,7 @@ pub mod tasks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2761,7 +2761,7 @@ pub mod tasks { } } pub mod get_details { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/containerregistry/src/package_2019_04_only/operations.rs b/services/mgmt/containerregistry/src/package_2019_04_only/operations.rs index 29f192d2a4..07437c9cfa 100644 --- a/services/mgmt/containerregistry/src/package_2019_04_only/operations.rs +++ b/services/mgmt/containerregistry/src/package_2019_04_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod registries { - use crate::models::*; + use super::{models, models::*}; pub async fn schedule_run( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -51,7 +51,7 @@ pub mod registries { } } pub mod schedule_run { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Run), @@ -121,7 +121,7 @@ pub mod registries { } } pub mod get_build_source_upload_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -142,7 +142,7 @@ pub mod registries { } } pub mod runs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -191,7 +191,7 @@ pub mod runs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -252,7 +252,7 @@ pub mod runs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -321,7 +321,7 @@ pub mod runs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Run), @@ -391,7 +391,7 @@ pub mod runs { } } pub mod get_log_sas_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -449,7 +449,7 @@ pub mod runs { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -475,7 +475,7 @@ pub mod runs { } } pub mod tasks { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -516,7 +516,7 @@ pub mod tasks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -577,7 +577,7 @@ pub mod tasks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -646,7 +646,7 @@ pub mod tasks { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Task), @@ -720,7 +720,7 @@ pub mod tasks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Task), @@ -783,7 +783,7 @@ pub mod tasks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -854,7 +854,7 @@ pub mod tasks { } } pub mod get_details { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/containerregistry/src/package_2019_05/operations.rs b/services/mgmt/containerregistry/src/package_2019_05/operations.rs index f96b7322e4..7b5b61fa21 100644 --- a/services/mgmt/containerregistry/src/package_2019_05/operations.rs +++ b/services/mgmt/containerregistry/src/package_2019_05/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod registries { - use crate::models::*; + use super::{models, models::*}; pub async fn import_image( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -52,7 +52,7 @@ pub mod registries { } } pub mod import_image { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -125,7 +125,7 @@ pub mod registries { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -190,7 +190,7 @@ pub mod registries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -263,7 +263,7 @@ pub mod registries { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Registry), @@ -341,7 +341,7 @@ pub mod registries { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Registry), @@ -408,7 +408,7 @@ pub mod registries { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -482,7 +482,7 @@ pub mod registries { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -543,7 +543,7 @@ pub mod registries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -612,7 +612,7 @@ pub mod registries { } } pub mod list_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -684,7 +684,7 @@ pub mod registries { } } pub mod regenerate_credential { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -752,7 +752,7 @@ pub mod registries { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -817,7 +817,7 @@ pub mod registries { } } pub mod schedule_run { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Run), @@ -887,7 +887,7 @@ pub mod registries { } } pub mod get_build_source_upload_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -908,7 +908,7 @@ pub mod registries { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerRegistry/operations", operation_config.base_path(),); @@ -944,7 +944,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -965,7 +965,7 @@ pub mod operations { } } pub mod replications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1014,7 +1014,7 @@ pub mod replications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1089,7 +1089,7 @@ pub mod replications { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Replication), @@ -1169,7 +1169,7 @@ pub mod replications { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Replication), @@ -1238,7 +1238,7 @@ pub mod replications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1309,7 +1309,7 @@ pub mod replications { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1330,7 +1330,7 @@ pub mod replications { } } pub mod webhooks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1379,7 +1379,7 @@ pub mod webhooks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1454,7 +1454,7 @@ pub mod webhooks { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Webhook), @@ -1534,7 +1534,7 @@ pub mod webhooks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Webhook), @@ -1603,7 +1603,7 @@ pub mod webhooks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1674,7 +1674,7 @@ pub mod webhooks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1742,7 +1742,7 @@ pub mod webhooks { } } pub mod ping { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1813,7 +1813,7 @@ pub mod webhooks { } } pub mod get_callback_config { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1884,7 +1884,7 @@ pub mod webhooks { } } pub mod list_events { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1905,7 +1905,7 @@ pub mod webhooks { } } pub mod runs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1954,7 +1954,7 @@ pub mod runs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2015,7 +2015,7 @@ pub mod runs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2084,7 +2084,7 @@ pub mod runs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Run), @@ -2154,7 +2154,7 @@ pub mod runs { } } pub mod get_log_sas_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2212,7 +2212,7 @@ pub mod runs { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2238,7 +2238,7 @@ pub mod runs { } } pub mod tasks { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2279,7 +2279,7 @@ pub mod tasks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2340,7 +2340,7 @@ pub mod tasks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2409,7 +2409,7 @@ pub mod tasks { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Task), @@ -2483,7 +2483,7 @@ pub mod tasks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Task), @@ -2546,7 +2546,7 @@ pub mod tasks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2617,7 +2617,7 @@ pub mod tasks { } } pub mod get_details { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/containerregistry/src/package_2019_05_only/operations.rs b/services/mgmt/containerregistry/src/package_2019_05_only/operations.rs index bc6f32ffc2..fc1f8c4a8b 100644 --- a/services/mgmt/containerregistry/src/package_2019_05_only/operations.rs +++ b/services/mgmt/containerregistry/src/package_2019_05_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod registries { - use crate::models::*; + use super::{models, models::*}; pub async fn import_image( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -52,7 +52,7 @@ pub mod registries { } } pub mod import_image { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -125,7 +125,7 @@ pub mod registries { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -190,7 +190,7 @@ pub mod registries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -263,7 +263,7 @@ pub mod registries { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Registry), @@ -341,7 +341,7 @@ pub mod registries { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Registry), @@ -408,7 +408,7 @@ pub mod registries { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -482,7 +482,7 @@ pub mod registries { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -543,7 +543,7 @@ pub mod registries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -612,7 +612,7 @@ pub mod registries { } } pub mod list_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -684,7 +684,7 @@ pub mod registries { } } pub mod regenerate_credential { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -752,7 +752,7 @@ pub mod registries { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -773,7 +773,7 @@ pub mod registries { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerRegistry/operations", operation_config.base_path(),); @@ -809,7 +809,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -830,7 +830,7 @@ pub mod operations { } } pub mod replications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -879,7 +879,7 @@ pub mod replications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -954,7 +954,7 @@ pub mod replications { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Replication), @@ -1034,7 +1034,7 @@ pub mod replications { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Replication), @@ -1103,7 +1103,7 @@ pub mod replications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1174,7 +1174,7 @@ pub mod replications { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1195,7 +1195,7 @@ pub mod replications { } } pub mod webhooks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1244,7 +1244,7 @@ pub mod webhooks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1319,7 +1319,7 @@ pub mod webhooks { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Webhook), @@ -1399,7 +1399,7 @@ pub mod webhooks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Webhook), @@ -1468,7 +1468,7 @@ pub mod webhooks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1539,7 +1539,7 @@ pub mod webhooks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1607,7 +1607,7 @@ pub mod webhooks { } } pub mod ping { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1678,7 +1678,7 @@ pub mod webhooks { } } pub mod get_callback_config { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1749,7 +1749,7 @@ pub mod webhooks { } } pub mod list_events { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/containerregistry/src/package_2019_05_preview/operations.rs b/services/mgmt/containerregistry/src/package_2019_05_preview/operations.rs index e8584a27d4..4233840f2b 100644 --- a/services/mgmt/containerregistry/src/package_2019_05_preview/operations.rs +++ b/services/mgmt/containerregistry/src/package_2019_05_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod registries { - use crate::models::*; + use super::{models, models::*}; pub async fn import_image( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -52,7 +52,7 @@ pub mod registries { } } pub mod import_image { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -125,7 +125,7 @@ pub mod registries { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -190,7 +190,7 @@ pub mod registries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -263,7 +263,7 @@ pub mod registries { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Registry), @@ -341,7 +341,7 @@ pub mod registries { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Registry), @@ -408,7 +408,7 @@ pub mod registries { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -482,7 +482,7 @@ pub mod registries { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -543,7 +543,7 @@ pub mod registries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -612,7 +612,7 @@ pub mod registries { } } pub mod list_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -684,7 +684,7 @@ pub mod registries { } } pub mod regenerate_credential { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -752,7 +752,7 @@ pub mod registries { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -820,7 +820,7 @@ pub mod registries { } } pub mod list_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -891,7 +891,7 @@ pub mod registries { } } pub mod update_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RegistryPolicies), @@ -967,7 +967,7 @@ pub mod registries { } } pub mod generate_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenerateCredentialsResult), @@ -993,7 +993,7 @@ pub mod registries { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerRegistry/operations", operation_config.base_path(),); @@ -1029,7 +1029,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1050,7 +1050,7 @@ pub mod operations { } } pub mod replications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1099,7 +1099,7 @@ pub mod replications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1174,7 +1174,7 @@ pub mod replications { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Replication), @@ -1254,7 +1254,7 @@ pub mod replications { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Replication), @@ -1323,7 +1323,7 @@ pub mod replications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1394,7 +1394,7 @@ pub mod replications { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1415,7 +1415,7 @@ pub mod replications { } } pub mod webhooks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1464,7 +1464,7 @@ pub mod webhooks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1539,7 +1539,7 @@ pub mod webhooks { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Webhook), @@ -1619,7 +1619,7 @@ pub mod webhooks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Webhook), @@ -1688,7 +1688,7 @@ pub mod webhooks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1759,7 +1759,7 @@ pub mod webhooks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1827,7 +1827,7 @@ pub mod webhooks { } } pub mod ping { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1898,7 +1898,7 @@ pub mod webhooks { } } pub mod get_callback_config { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1969,7 +1969,7 @@ pub mod webhooks { } } pub mod list_events { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1990,7 +1990,7 @@ pub mod webhooks { } } pub mod scope_maps { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2039,7 +2039,7 @@ pub mod scope_maps { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2114,7 +2114,7 @@ pub mod scope_maps { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ScopeMap), @@ -2194,7 +2194,7 @@ pub mod scope_maps { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ScopeMap), @@ -2263,7 +2263,7 @@ pub mod scope_maps { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2334,7 +2334,7 @@ pub mod scope_maps { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2355,7 +2355,7 @@ pub mod scope_maps { } } pub mod tokens { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2404,7 +2404,7 @@ pub mod tokens { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2479,7 +2479,7 @@ pub mod tokens { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Token), @@ -2559,7 +2559,7 @@ pub mod tokens { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Token), @@ -2628,7 +2628,7 @@ pub mod tokens { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2699,7 +2699,7 @@ pub mod tokens { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/containerregistry/src/package_2019_05_preview_only/operations.rs b/services/mgmt/containerregistry/src/package_2019_05_preview_only/operations.rs index 8a7f315051..0748076c87 100644 --- a/services/mgmt/containerregistry/src/package_2019_05_preview_only/operations.rs +++ b/services/mgmt/containerregistry/src/package_2019_05_preview_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod scope_maps { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod scope_maps { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -128,7 +128,7 @@ pub mod scope_maps { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ScopeMap), @@ -208,7 +208,7 @@ pub mod scope_maps { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ScopeMap), @@ -277,7 +277,7 @@ pub mod scope_maps { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -348,7 +348,7 @@ pub mod scope_maps { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -369,7 +369,7 @@ pub mod scope_maps { } } pub mod tokens { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -418,7 +418,7 @@ pub mod tokens { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -493,7 +493,7 @@ pub mod tokens { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Token), @@ -573,7 +573,7 @@ pub mod tokens { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Token), @@ -642,7 +642,7 @@ pub mod tokens { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -713,7 +713,7 @@ pub mod tokens { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -734,7 +734,7 @@ pub mod tokens { } } pub mod registries { - use crate::models::*; + use super::{models, models::*}; pub async fn generate_credentials( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -787,7 +787,7 @@ pub mod registries { } } pub mod generate_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenerateCredentialsResult), diff --git a/services/mgmt/containerregistry/src/package_2019_06_preview/operations.rs b/services/mgmt/containerregistry/src/package_2019_06_preview/operations.rs index 772f3f518c..7a181559ad 100644 --- a/services/mgmt/containerregistry/src/package_2019_06_preview/operations.rs +++ b/services/mgmt/containerregistry/src/package_2019_06_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod registries { - use crate::models::*; + use super::{models, models::*}; pub async fn import_image( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -52,7 +52,7 @@ pub mod registries { } } pub mod import_image { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -125,7 +125,7 @@ pub mod registries { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -190,7 +190,7 @@ pub mod registries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -263,7 +263,7 @@ pub mod registries { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Registry), @@ -341,7 +341,7 @@ pub mod registries { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Registry), @@ -408,7 +408,7 @@ pub mod registries { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -482,7 +482,7 @@ pub mod registries { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -543,7 +543,7 @@ pub mod registries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -612,7 +612,7 @@ pub mod registries { } } pub mod list_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -684,7 +684,7 @@ pub mod registries { } } pub mod regenerate_credential { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -752,7 +752,7 @@ pub mod registries { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -825,7 +825,7 @@ pub mod registries { } } pub mod schedule_run { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Run), @@ -906,7 +906,7 @@ pub mod registries { } } pub mod get_build_source_upload_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -980,7 +980,7 @@ pub mod registries { } } pub mod generate_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenerateCredentialsResult), @@ -1006,7 +1006,7 @@ pub mod registries { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerRegistry/operations", operation_config.base_path(),); @@ -1042,7 +1042,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1063,7 +1063,7 @@ pub mod operations { } } pub mod replications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1112,7 +1112,7 @@ pub mod replications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1187,7 +1187,7 @@ pub mod replications { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Replication), @@ -1267,7 +1267,7 @@ pub mod replications { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Replication), @@ -1336,7 +1336,7 @@ pub mod replications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1407,7 +1407,7 @@ pub mod replications { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1428,7 +1428,7 @@ pub mod replications { } } pub mod webhooks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1477,7 +1477,7 @@ pub mod webhooks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1552,7 +1552,7 @@ pub mod webhooks { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Webhook), @@ -1632,7 +1632,7 @@ pub mod webhooks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Webhook), @@ -1701,7 +1701,7 @@ pub mod webhooks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1772,7 +1772,7 @@ pub mod webhooks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1840,7 +1840,7 @@ pub mod webhooks { } } pub mod ping { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1911,7 +1911,7 @@ pub mod webhooks { } } pub mod get_callback_config { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1982,7 +1982,7 @@ pub mod webhooks { } } pub mod list_events { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2003,7 +2003,7 @@ pub mod webhooks { } } pub mod agent_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2054,7 +2054,7 @@ pub mod agent_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2134,7 +2134,7 @@ pub mod agent_pools { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -2219,7 +2219,7 @@ pub mod agent_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -2293,7 +2293,7 @@ pub mod agent_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2369,7 +2369,7 @@ pub mod agent_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2445,7 +2445,7 @@ pub mod agent_pools { } } pub mod get_queue_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2469,7 +2469,7 @@ pub mod agent_pools { } } pub mod runs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2526,7 +2526,7 @@ pub mod runs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2598,7 +2598,7 @@ pub mod runs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2678,7 +2678,7 @@ pub mod runs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Run), @@ -2759,7 +2759,7 @@ pub mod runs { } } pub mod get_log_sas_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2828,7 +2828,7 @@ pub mod runs { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2857,7 +2857,7 @@ pub mod runs { } } pub mod task_runs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2908,7 +2908,7 @@ pub mod task_runs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2988,7 +2988,7 @@ pub mod task_runs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TaskRun), @@ -3073,7 +3073,7 @@ pub mod task_runs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TaskRun), @@ -3147,7 +3147,7 @@ pub mod task_runs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3229,7 +3229,7 @@ pub mod task_runs { } } pub mod get_details { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3299,7 +3299,7 @@ pub mod task_runs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3323,7 +3323,7 @@ pub mod task_runs { } } pub mod tasks { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3372,7 +3372,7 @@ pub mod tasks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3444,7 +3444,7 @@ pub mod tasks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3524,7 +3524,7 @@ pub mod tasks { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Task), @@ -3609,7 +3609,7 @@ pub mod tasks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Task), @@ -3683,7 +3683,7 @@ pub mod tasks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3765,7 +3765,7 @@ pub mod tasks { } } pub mod get_details { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3789,7 +3789,7 @@ pub mod tasks { } } pub mod scope_maps { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3838,7 +3838,7 @@ pub mod scope_maps { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3913,7 +3913,7 @@ pub mod scope_maps { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ScopeMap), @@ -3993,7 +3993,7 @@ pub mod scope_maps { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ScopeMap), @@ -4062,7 +4062,7 @@ pub mod scope_maps { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4133,7 +4133,7 @@ pub mod scope_maps { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4154,7 +4154,7 @@ pub mod scope_maps { } } pub mod tokens { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4203,7 +4203,7 @@ pub mod tokens { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4278,7 +4278,7 @@ pub mod tokens { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Token), @@ -4358,7 +4358,7 @@ pub mod tokens { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Token), @@ -4427,7 +4427,7 @@ pub mod tokens { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4498,7 +4498,7 @@ pub mod tokens { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/containerregistry/src/package_2019_06_preview_only/operations.rs b/services/mgmt/containerregistry/src/package_2019_06_preview_only/operations.rs index 0a2505c935..621574ccb2 100644 --- a/services/mgmt/containerregistry/src/package_2019_06_preview_only/operations.rs +++ b/services/mgmt/containerregistry/src/package_2019_06_preview_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod agent_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -55,7 +55,7 @@ pub mod agent_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -135,7 +135,7 @@ pub mod agent_pools { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -220,7 +220,7 @@ pub mod agent_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -294,7 +294,7 @@ pub mod agent_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -370,7 +370,7 @@ pub mod agent_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -446,7 +446,7 @@ pub mod agent_pools { } } pub mod get_queue_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -470,7 +470,7 @@ pub mod agent_pools { } } pub mod registries { - use crate::models::*; + use super::{models, models::*}; pub async fn schedule_run( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -525,7 +525,7 @@ pub mod registries { } } pub mod schedule_run { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Run), @@ -606,7 +606,7 @@ pub mod registries { } } pub mod get_build_source_upload_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -630,7 +630,7 @@ pub mod registries { } } pub mod runs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -687,7 +687,7 @@ pub mod runs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -759,7 +759,7 @@ pub mod runs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -839,7 +839,7 @@ pub mod runs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Run), @@ -920,7 +920,7 @@ pub mod runs { } } pub mod get_log_sas_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -989,7 +989,7 @@ pub mod runs { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1018,7 +1018,7 @@ pub mod runs { } } pub mod task_runs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1069,7 +1069,7 @@ pub mod task_runs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1149,7 +1149,7 @@ pub mod task_runs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TaskRun), @@ -1234,7 +1234,7 @@ pub mod task_runs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TaskRun), @@ -1308,7 +1308,7 @@ pub mod task_runs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1390,7 +1390,7 @@ pub mod task_runs { } } pub mod get_details { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1460,7 +1460,7 @@ pub mod task_runs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1484,7 +1484,7 @@ pub mod task_runs { } } pub mod tasks { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1533,7 +1533,7 @@ pub mod tasks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1605,7 +1605,7 @@ pub mod tasks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1685,7 +1685,7 @@ pub mod tasks { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Task), @@ -1770,7 +1770,7 @@ pub mod tasks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Task), @@ -1844,7 +1844,7 @@ pub mod tasks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1926,7 +1926,7 @@ pub mod tasks { } } pub mod get_details { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/containerregistry/src/package_2019_12_preview/operations.rs b/services/mgmt/containerregistry/src/package_2019_12_preview/operations.rs index 7be04820ea..eeefe94195 100644 --- a/services/mgmt/containerregistry/src/package_2019_12_preview/operations.rs +++ b/services/mgmt/containerregistry/src/package_2019_12_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod export_pipelines { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod export_pipelines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -128,7 +128,7 @@ pub mod export_pipelines { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExportPipeline), @@ -197,7 +197,7 @@ pub mod export_pipelines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -268,7 +268,7 @@ pub mod export_pipelines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -289,7 +289,7 @@ pub mod export_pipelines { } } pub mod registries { - use crate::models::*; + use super::{models, models::*}; pub async fn import_image( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -337,7 +337,7 @@ pub mod registries { } } pub mod import_image { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -410,7 +410,7 @@ pub mod registries { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -475,7 +475,7 @@ pub mod registries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -548,7 +548,7 @@ pub mod registries { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Registry), @@ -626,7 +626,7 @@ pub mod registries { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Registry), @@ -693,7 +693,7 @@ pub mod registries { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -767,7 +767,7 @@ pub mod registries { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -828,7 +828,7 @@ pub mod registries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -897,7 +897,7 @@ pub mod registries { } } pub mod list_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -969,7 +969,7 @@ pub mod registries { } } pub mod regenerate_credential { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1037,7 +1037,7 @@ pub mod registries { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1107,7 +1107,7 @@ pub mod registries { } } pub mod list_private_link_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1180,7 +1180,7 @@ pub mod registries { } } pub mod schedule_run { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Run), @@ -1261,7 +1261,7 @@ pub mod registries { } } pub mod get_build_source_upload_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1335,7 +1335,7 @@ pub mod registries { } } pub mod generate_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenerateCredentialsResult), @@ -1361,7 +1361,7 @@ pub mod registries { } } pub mod import_pipelines { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1410,7 +1410,7 @@ pub mod import_pipelines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1485,7 +1485,7 @@ pub mod import_pipelines { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ImportPipeline), @@ -1554,7 +1554,7 @@ pub mod import_pipelines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1625,7 +1625,7 @@ pub mod import_pipelines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1646,7 +1646,7 @@ pub mod import_pipelines { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerRegistry/operations", operation_config.base_path(),); @@ -1682,7 +1682,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1703,7 +1703,7 @@ pub mod operations { } } pub mod pipeline_runs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1752,7 +1752,7 @@ pub mod pipeline_runs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1827,7 +1827,7 @@ pub mod pipeline_runs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PipelineRun), @@ -1896,7 +1896,7 @@ pub mod pipeline_runs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1967,7 +1967,7 @@ pub mod pipeline_runs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1988,7 +1988,7 @@ pub mod pipeline_runs { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2037,7 +2037,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2115,7 +2115,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -2184,7 +2184,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2255,7 +2255,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2276,7 +2276,7 @@ pub mod private_endpoint_connections { } } pub mod replications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2325,7 +2325,7 @@ pub mod replications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2400,7 +2400,7 @@ pub mod replications { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Replication), @@ -2480,7 +2480,7 @@ pub mod replications { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Replication), @@ -2549,7 +2549,7 @@ pub mod replications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2620,7 +2620,7 @@ pub mod replications { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2641,7 +2641,7 @@ pub mod replications { } } pub mod webhooks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2690,7 +2690,7 @@ pub mod webhooks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2765,7 +2765,7 @@ pub mod webhooks { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Webhook), @@ -2845,7 +2845,7 @@ pub mod webhooks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Webhook), @@ -2914,7 +2914,7 @@ pub mod webhooks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2985,7 +2985,7 @@ pub mod webhooks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3053,7 +3053,7 @@ pub mod webhooks { } } pub mod ping { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3124,7 +3124,7 @@ pub mod webhooks { } } pub mod get_callback_config { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3195,7 +3195,7 @@ pub mod webhooks { } } pub mod list_events { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3216,7 +3216,7 @@ pub mod webhooks { } } pub mod agent_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3267,7 +3267,7 @@ pub mod agent_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3347,7 +3347,7 @@ pub mod agent_pools { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -3432,7 +3432,7 @@ pub mod agent_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -3506,7 +3506,7 @@ pub mod agent_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3582,7 +3582,7 @@ pub mod agent_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3658,7 +3658,7 @@ pub mod agent_pools { } } pub mod get_queue_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3682,7 +3682,7 @@ pub mod agent_pools { } } pub mod runs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3739,7 +3739,7 @@ pub mod runs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3811,7 +3811,7 @@ pub mod runs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3891,7 +3891,7 @@ pub mod runs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Run), @@ -3972,7 +3972,7 @@ pub mod runs { } } pub mod get_log_sas_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4041,7 +4041,7 @@ pub mod runs { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4070,7 +4070,7 @@ pub mod runs { } } pub mod task_runs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4121,7 +4121,7 @@ pub mod task_runs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4201,7 +4201,7 @@ pub mod task_runs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TaskRun), @@ -4286,7 +4286,7 @@ pub mod task_runs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TaskRun), @@ -4360,7 +4360,7 @@ pub mod task_runs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4442,7 +4442,7 @@ pub mod task_runs { } } pub mod get_details { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4512,7 +4512,7 @@ pub mod task_runs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4536,7 +4536,7 @@ pub mod task_runs { } } pub mod tasks { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4585,7 +4585,7 @@ pub mod tasks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4657,7 +4657,7 @@ pub mod tasks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4737,7 +4737,7 @@ pub mod tasks { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Task), @@ -4822,7 +4822,7 @@ pub mod tasks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Task), @@ -4896,7 +4896,7 @@ pub mod tasks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4978,7 +4978,7 @@ pub mod tasks { } } pub mod get_details { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5002,7 +5002,7 @@ pub mod tasks { } } pub mod scope_maps { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5051,7 +5051,7 @@ pub mod scope_maps { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5126,7 +5126,7 @@ pub mod scope_maps { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ScopeMap), @@ -5206,7 +5206,7 @@ pub mod scope_maps { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ScopeMap), @@ -5275,7 +5275,7 @@ pub mod scope_maps { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5346,7 +5346,7 @@ pub mod scope_maps { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5367,7 +5367,7 @@ pub mod scope_maps { } } pub mod tokens { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5416,7 +5416,7 @@ pub mod tokens { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5491,7 +5491,7 @@ pub mod tokens { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Token), @@ -5571,7 +5571,7 @@ pub mod tokens { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Token), @@ -5640,7 +5640,7 @@ pub mod tokens { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5711,7 +5711,7 @@ pub mod tokens { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/containerregistry/src/package_2019_12_preview_only/operations.rs b/services/mgmt/containerregistry/src/package_2019_12_preview_only/operations.rs index ac50622195..86e973b797 100644 --- a/services/mgmt/containerregistry/src/package_2019_12_preview_only/operations.rs +++ b/services/mgmt/containerregistry/src/package_2019_12_preview_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod export_pipelines { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod export_pipelines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -128,7 +128,7 @@ pub mod export_pipelines { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExportPipeline), @@ -197,7 +197,7 @@ pub mod export_pipelines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -268,7 +268,7 @@ pub mod export_pipelines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -289,7 +289,7 @@ pub mod export_pipelines { } } pub mod registries { - use crate::models::*; + use super::{models, models::*}; pub async fn import_image( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -337,7 +337,7 @@ pub mod registries { } } pub mod import_image { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -410,7 +410,7 @@ pub mod registries { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -475,7 +475,7 @@ pub mod registries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -548,7 +548,7 @@ pub mod registries { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Registry), @@ -626,7 +626,7 @@ pub mod registries { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Registry), @@ -693,7 +693,7 @@ pub mod registries { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -767,7 +767,7 @@ pub mod registries { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -828,7 +828,7 @@ pub mod registries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -897,7 +897,7 @@ pub mod registries { } } pub mod list_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -969,7 +969,7 @@ pub mod registries { } } pub mod regenerate_credential { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1037,7 +1037,7 @@ pub mod registries { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1107,7 +1107,7 @@ pub mod registries { } } pub mod list_private_link_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1128,7 +1128,7 @@ pub mod registries { } } pub mod import_pipelines { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1177,7 +1177,7 @@ pub mod import_pipelines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1252,7 +1252,7 @@ pub mod import_pipelines { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ImportPipeline), @@ -1321,7 +1321,7 @@ pub mod import_pipelines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1392,7 +1392,7 @@ pub mod import_pipelines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1413,7 +1413,7 @@ pub mod import_pipelines { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerRegistry/operations", operation_config.base_path(),); @@ -1449,7 +1449,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1470,7 +1470,7 @@ pub mod operations { } } pub mod pipeline_runs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1519,7 +1519,7 @@ pub mod pipeline_runs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1594,7 +1594,7 @@ pub mod pipeline_runs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PipelineRun), @@ -1663,7 +1663,7 @@ pub mod pipeline_runs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1734,7 +1734,7 @@ pub mod pipeline_runs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1755,7 +1755,7 @@ pub mod pipeline_runs { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1804,7 +1804,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1882,7 +1882,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -1951,7 +1951,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2022,7 +2022,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2043,7 +2043,7 @@ pub mod private_endpoint_connections { } } pub mod replications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2092,7 +2092,7 @@ pub mod replications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2167,7 +2167,7 @@ pub mod replications { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Replication), @@ -2247,7 +2247,7 @@ pub mod replications { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Replication), @@ -2316,7 +2316,7 @@ pub mod replications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2387,7 +2387,7 @@ pub mod replications { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2408,7 +2408,7 @@ pub mod replications { } } pub mod webhooks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2457,7 +2457,7 @@ pub mod webhooks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2532,7 +2532,7 @@ pub mod webhooks { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Webhook), @@ -2612,7 +2612,7 @@ pub mod webhooks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Webhook), @@ -2681,7 +2681,7 @@ pub mod webhooks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2752,7 +2752,7 @@ pub mod webhooks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2820,7 +2820,7 @@ pub mod webhooks { } } pub mod ping { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2891,7 +2891,7 @@ pub mod webhooks { } } pub mod get_callback_config { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2962,7 +2962,7 @@ pub mod webhooks { } } pub mod list_events { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/containerregistry/src/package_2020_11_preview/operations.rs b/services/mgmt/containerregistry/src/package_2020_11_preview/operations.rs index e0566d554f..51e255625c 100644 --- a/services/mgmt/containerregistry/src/package_2020_11_preview/operations.rs +++ b/services/mgmt/containerregistry/src/package_2020_11_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod connected_registries { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -55,7 +55,7 @@ pub mod connected_registries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -135,7 +135,7 @@ pub mod connected_registries { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectedRegistry), @@ -220,7 +220,7 @@ pub mod connected_registries { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectedRegistry), @@ -294,7 +294,7 @@ pub mod connected_registries { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -374,7 +374,7 @@ pub mod connected_registries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -446,7 +446,7 @@ pub mod connected_registries { } } pub mod deactivate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -475,7 +475,7 @@ pub mod connected_registries { } } pub mod export_pipelines { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -524,7 +524,7 @@ pub mod export_pipelines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -599,7 +599,7 @@ pub mod export_pipelines { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExportPipeline), @@ -668,7 +668,7 @@ pub mod export_pipelines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -739,7 +739,7 @@ pub mod export_pipelines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -760,7 +760,7 @@ pub mod export_pipelines { } } pub mod registries { - use crate::models::*; + use super::{models, models::*}; pub async fn import_image( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -808,7 +808,7 @@ pub mod registries { } } pub mod import_image { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -881,7 +881,7 @@ pub mod registries { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -946,7 +946,7 @@ pub mod registries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1019,7 +1019,7 @@ pub mod registries { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Registry), @@ -1097,7 +1097,7 @@ pub mod registries { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Registry), @@ -1164,7 +1164,7 @@ pub mod registries { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1238,7 +1238,7 @@ pub mod registries { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1299,7 +1299,7 @@ pub mod registries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1368,7 +1368,7 @@ pub mod registries { } } pub mod list_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1440,7 +1440,7 @@ pub mod registries { } } pub mod regenerate_credential { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1508,7 +1508,7 @@ pub mod registries { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1578,7 +1578,7 @@ pub mod registries { } } pub mod list_private_link_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1649,7 +1649,7 @@ pub mod registries { } } pub mod generate_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenerateCredentialsResult), @@ -1727,7 +1727,7 @@ pub mod registries { } } pub mod schedule_run { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Run), @@ -1808,7 +1808,7 @@ pub mod registries { } } pub mod get_build_source_upload_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1832,7 +1832,7 @@ pub mod registries { } } pub mod import_pipelines { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1881,7 +1881,7 @@ pub mod import_pipelines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1956,7 +1956,7 @@ pub mod import_pipelines { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ImportPipeline), @@ -2025,7 +2025,7 @@ pub mod import_pipelines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2096,7 +2096,7 @@ pub mod import_pipelines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2117,7 +2117,7 @@ pub mod import_pipelines { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerRegistry/operations", operation_config.base_path(),); @@ -2153,7 +2153,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2174,7 +2174,7 @@ pub mod operations { } } pub mod pipeline_runs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2223,7 +2223,7 @@ pub mod pipeline_runs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2298,7 +2298,7 @@ pub mod pipeline_runs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PipelineRun), @@ -2367,7 +2367,7 @@ pub mod pipeline_runs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2438,7 +2438,7 @@ pub mod pipeline_runs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2459,7 +2459,7 @@ pub mod pipeline_runs { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2508,7 +2508,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2586,7 +2586,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -2655,7 +2655,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2726,7 +2726,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2747,7 +2747,7 @@ pub mod private_endpoint_connections { } } pub mod replications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2796,7 +2796,7 @@ pub mod replications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2871,7 +2871,7 @@ pub mod replications { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Replication), @@ -2951,7 +2951,7 @@ pub mod replications { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Replication), @@ -3020,7 +3020,7 @@ pub mod replications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3091,7 +3091,7 @@ pub mod replications { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3112,7 +3112,7 @@ pub mod replications { } } pub mod scope_maps { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3161,7 +3161,7 @@ pub mod scope_maps { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3236,7 +3236,7 @@ pub mod scope_maps { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ScopeMap), @@ -3316,7 +3316,7 @@ pub mod scope_maps { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ScopeMap), @@ -3385,7 +3385,7 @@ pub mod scope_maps { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3456,7 +3456,7 @@ pub mod scope_maps { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3477,7 +3477,7 @@ pub mod scope_maps { } } pub mod tokens { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3526,7 +3526,7 @@ pub mod tokens { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3601,7 +3601,7 @@ pub mod tokens { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Token), @@ -3681,7 +3681,7 @@ pub mod tokens { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Token), @@ -3750,7 +3750,7 @@ pub mod tokens { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3821,7 +3821,7 @@ pub mod tokens { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3842,7 +3842,7 @@ pub mod tokens { } } pub mod webhooks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3891,7 +3891,7 @@ pub mod webhooks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3966,7 +3966,7 @@ pub mod webhooks { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Webhook), @@ -4046,7 +4046,7 @@ pub mod webhooks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Webhook), @@ -4115,7 +4115,7 @@ pub mod webhooks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4186,7 +4186,7 @@ pub mod webhooks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4254,7 +4254,7 @@ pub mod webhooks { } } pub mod ping { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4325,7 +4325,7 @@ pub mod webhooks { } } pub mod get_callback_config { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4396,7 +4396,7 @@ pub mod webhooks { } } pub mod list_events { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4417,7 +4417,7 @@ pub mod webhooks { } } pub mod agent_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4468,7 +4468,7 @@ pub mod agent_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4548,7 +4548,7 @@ pub mod agent_pools { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -4633,7 +4633,7 @@ pub mod agent_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -4707,7 +4707,7 @@ pub mod agent_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4783,7 +4783,7 @@ pub mod agent_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4859,7 +4859,7 @@ pub mod agent_pools { } } pub mod get_queue_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4883,7 +4883,7 @@ pub mod agent_pools { } } pub mod runs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4940,7 +4940,7 @@ pub mod runs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5012,7 +5012,7 @@ pub mod runs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5092,7 +5092,7 @@ pub mod runs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Run), @@ -5173,7 +5173,7 @@ pub mod runs { } } pub mod get_log_sas_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5242,7 +5242,7 @@ pub mod runs { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5271,7 +5271,7 @@ pub mod runs { } } pub mod task_runs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5322,7 +5322,7 @@ pub mod task_runs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5402,7 +5402,7 @@ pub mod task_runs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TaskRun), @@ -5487,7 +5487,7 @@ pub mod task_runs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TaskRun), @@ -5561,7 +5561,7 @@ pub mod task_runs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5643,7 +5643,7 @@ pub mod task_runs { } } pub mod get_details { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5713,7 +5713,7 @@ pub mod task_runs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5737,7 +5737,7 @@ pub mod task_runs { } } pub mod tasks { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5786,7 +5786,7 @@ pub mod tasks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5858,7 +5858,7 @@ pub mod tasks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5938,7 +5938,7 @@ pub mod tasks { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Task), @@ -6023,7 +6023,7 @@ pub mod tasks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Task), @@ -6097,7 +6097,7 @@ pub mod tasks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6179,7 +6179,7 @@ pub mod tasks { } } pub mod get_details { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/containerregistry/src/package_2020_11_preview_only/operations.rs b/services/mgmt/containerregistry/src/package_2020_11_preview_only/operations.rs index a529853a0a..0352ab4ab2 100644 --- a/services/mgmt/containerregistry/src/package_2020_11_preview_only/operations.rs +++ b/services/mgmt/containerregistry/src/package_2020_11_preview_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod connected_registries { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -55,7 +55,7 @@ pub mod connected_registries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -135,7 +135,7 @@ pub mod connected_registries { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectedRegistry), @@ -220,7 +220,7 @@ pub mod connected_registries { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectedRegistry), @@ -294,7 +294,7 @@ pub mod connected_registries { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -374,7 +374,7 @@ pub mod connected_registries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -446,7 +446,7 @@ pub mod connected_registries { } } pub mod deactivate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -475,7 +475,7 @@ pub mod connected_registries { } } pub mod export_pipelines { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -524,7 +524,7 @@ pub mod export_pipelines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -599,7 +599,7 @@ pub mod export_pipelines { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExportPipeline), @@ -668,7 +668,7 @@ pub mod export_pipelines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -739,7 +739,7 @@ pub mod export_pipelines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -760,7 +760,7 @@ pub mod export_pipelines { } } pub mod registries { - use crate::models::*; + use super::{models, models::*}; pub async fn import_image( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -808,7 +808,7 @@ pub mod registries { } } pub mod import_image { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -881,7 +881,7 @@ pub mod registries { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -946,7 +946,7 @@ pub mod registries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1019,7 +1019,7 @@ pub mod registries { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Registry), @@ -1097,7 +1097,7 @@ pub mod registries { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Registry), @@ -1164,7 +1164,7 @@ pub mod registries { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1238,7 +1238,7 @@ pub mod registries { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1299,7 +1299,7 @@ pub mod registries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1368,7 +1368,7 @@ pub mod registries { } } pub mod list_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1440,7 +1440,7 @@ pub mod registries { } } pub mod regenerate_credential { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1508,7 +1508,7 @@ pub mod registries { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1578,7 +1578,7 @@ pub mod registries { } } pub mod list_private_link_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1649,7 +1649,7 @@ pub mod registries { } } pub mod generate_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenerateCredentialsResult), @@ -1675,7 +1675,7 @@ pub mod registries { } } pub mod import_pipelines { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1724,7 +1724,7 @@ pub mod import_pipelines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1799,7 +1799,7 @@ pub mod import_pipelines { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ImportPipeline), @@ -1868,7 +1868,7 @@ pub mod import_pipelines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1939,7 +1939,7 @@ pub mod import_pipelines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1960,7 +1960,7 @@ pub mod import_pipelines { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerRegistry/operations", operation_config.base_path(),); @@ -1996,7 +1996,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2017,7 +2017,7 @@ pub mod operations { } } pub mod pipeline_runs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2066,7 +2066,7 @@ pub mod pipeline_runs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2141,7 +2141,7 @@ pub mod pipeline_runs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PipelineRun), @@ -2210,7 +2210,7 @@ pub mod pipeline_runs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2281,7 +2281,7 @@ pub mod pipeline_runs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2302,7 +2302,7 @@ pub mod pipeline_runs { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2351,7 +2351,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2429,7 +2429,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -2498,7 +2498,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2569,7 +2569,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2590,7 +2590,7 @@ pub mod private_endpoint_connections { } } pub mod replications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2639,7 +2639,7 @@ pub mod replications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2714,7 +2714,7 @@ pub mod replications { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Replication), @@ -2794,7 +2794,7 @@ pub mod replications { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Replication), @@ -2863,7 +2863,7 @@ pub mod replications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2934,7 +2934,7 @@ pub mod replications { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2955,7 +2955,7 @@ pub mod replications { } } pub mod scope_maps { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3004,7 +3004,7 @@ pub mod scope_maps { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3079,7 +3079,7 @@ pub mod scope_maps { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ScopeMap), @@ -3159,7 +3159,7 @@ pub mod scope_maps { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ScopeMap), @@ -3228,7 +3228,7 @@ pub mod scope_maps { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3299,7 +3299,7 @@ pub mod scope_maps { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3320,7 +3320,7 @@ pub mod scope_maps { } } pub mod tokens { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3369,7 +3369,7 @@ pub mod tokens { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3444,7 +3444,7 @@ pub mod tokens { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Token), @@ -3524,7 +3524,7 @@ pub mod tokens { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Token), @@ -3593,7 +3593,7 @@ pub mod tokens { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3664,7 +3664,7 @@ pub mod tokens { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3685,7 +3685,7 @@ pub mod tokens { } } pub mod webhooks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3734,7 +3734,7 @@ pub mod webhooks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3809,7 +3809,7 @@ pub mod webhooks { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Webhook), @@ -3889,7 +3889,7 @@ pub mod webhooks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Webhook), @@ -3958,7 +3958,7 @@ pub mod webhooks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4029,7 +4029,7 @@ pub mod webhooks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4097,7 +4097,7 @@ pub mod webhooks { } } pub mod ping { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4168,7 +4168,7 @@ pub mod webhooks { } } pub mod get_callback_config { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4239,7 +4239,7 @@ pub mod webhooks { } } pub mod list_events { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/containerregistry/src/package_2021_06_preview/operations.rs b/services/mgmt/containerregistry/src/package_2021_06_preview/operations.rs index e0566d554f..51e255625c 100644 --- a/services/mgmt/containerregistry/src/package_2021_06_preview/operations.rs +++ b/services/mgmt/containerregistry/src/package_2021_06_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod connected_registries { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -55,7 +55,7 @@ pub mod connected_registries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -135,7 +135,7 @@ pub mod connected_registries { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectedRegistry), @@ -220,7 +220,7 @@ pub mod connected_registries { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectedRegistry), @@ -294,7 +294,7 @@ pub mod connected_registries { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -374,7 +374,7 @@ pub mod connected_registries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -446,7 +446,7 @@ pub mod connected_registries { } } pub mod deactivate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -475,7 +475,7 @@ pub mod connected_registries { } } pub mod export_pipelines { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -524,7 +524,7 @@ pub mod export_pipelines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -599,7 +599,7 @@ pub mod export_pipelines { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExportPipeline), @@ -668,7 +668,7 @@ pub mod export_pipelines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -739,7 +739,7 @@ pub mod export_pipelines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -760,7 +760,7 @@ pub mod export_pipelines { } } pub mod registries { - use crate::models::*; + use super::{models, models::*}; pub async fn import_image( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -808,7 +808,7 @@ pub mod registries { } } pub mod import_image { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -881,7 +881,7 @@ pub mod registries { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -946,7 +946,7 @@ pub mod registries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1019,7 +1019,7 @@ pub mod registries { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Registry), @@ -1097,7 +1097,7 @@ pub mod registries { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Registry), @@ -1164,7 +1164,7 @@ pub mod registries { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1238,7 +1238,7 @@ pub mod registries { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1299,7 +1299,7 @@ pub mod registries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1368,7 +1368,7 @@ pub mod registries { } } pub mod list_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1440,7 +1440,7 @@ pub mod registries { } } pub mod regenerate_credential { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1508,7 +1508,7 @@ pub mod registries { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1578,7 +1578,7 @@ pub mod registries { } } pub mod list_private_link_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1649,7 +1649,7 @@ pub mod registries { } } pub mod generate_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenerateCredentialsResult), @@ -1727,7 +1727,7 @@ pub mod registries { } } pub mod schedule_run { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Run), @@ -1808,7 +1808,7 @@ pub mod registries { } } pub mod get_build_source_upload_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1832,7 +1832,7 @@ pub mod registries { } } pub mod import_pipelines { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1881,7 +1881,7 @@ pub mod import_pipelines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1956,7 +1956,7 @@ pub mod import_pipelines { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ImportPipeline), @@ -2025,7 +2025,7 @@ pub mod import_pipelines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2096,7 +2096,7 @@ pub mod import_pipelines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2117,7 +2117,7 @@ pub mod import_pipelines { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerRegistry/operations", operation_config.base_path(),); @@ -2153,7 +2153,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2174,7 +2174,7 @@ pub mod operations { } } pub mod pipeline_runs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2223,7 +2223,7 @@ pub mod pipeline_runs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2298,7 +2298,7 @@ pub mod pipeline_runs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PipelineRun), @@ -2367,7 +2367,7 @@ pub mod pipeline_runs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2438,7 +2438,7 @@ pub mod pipeline_runs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2459,7 +2459,7 @@ pub mod pipeline_runs { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2508,7 +2508,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2586,7 +2586,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -2655,7 +2655,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2726,7 +2726,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2747,7 +2747,7 @@ pub mod private_endpoint_connections { } } pub mod replications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2796,7 +2796,7 @@ pub mod replications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2871,7 +2871,7 @@ pub mod replications { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Replication), @@ -2951,7 +2951,7 @@ pub mod replications { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Replication), @@ -3020,7 +3020,7 @@ pub mod replications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3091,7 +3091,7 @@ pub mod replications { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3112,7 +3112,7 @@ pub mod replications { } } pub mod scope_maps { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3161,7 +3161,7 @@ pub mod scope_maps { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3236,7 +3236,7 @@ pub mod scope_maps { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ScopeMap), @@ -3316,7 +3316,7 @@ pub mod scope_maps { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ScopeMap), @@ -3385,7 +3385,7 @@ pub mod scope_maps { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3456,7 +3456,7 @@ pub mod scope_maps { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3477,7 +3477,7 @@ pub mod scope_maps { } } pub mod tokens { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3526,7 +3526,7 @@ pub mod tokens { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3601,7 +3601,7 @@ pub mod tokens { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Token), @@ -3681,7 +3681,7 @@ pub mod tokens { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Token), @@ -3750,7 +3750,7 @@ pub mod tokens { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3821,7 +3821,7 @@ pub mod tokens { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3842,7 +3842,7 @@ pub mod tokens { } } pub mod webhooks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3891,7 +3891,7 @@ pub mod webhooks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3966,7 +3966,7 @@ pub mod webhooks { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Webhook), @@ -4046,7 +4046,7 @@ pub mod webhooks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Webhook), @@ -4115,7 +4115,7 @@ pub mod webhooks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4186,7 +4186,7 @@ pub mod webhooks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4254,7 +4254,7 @@ pub mod webhooks { } } pub mod ping { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4325,7 +4325,7 @@ pub mod webhooks { } } pub mod get_callback_config { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4396,7 +4396,7 @@ pub mod webhooks { } } pub mod list_events { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4417,7 +4417,7 @@ pub mod webhooks { } } pub mod agent_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4468,7 +4468,7 @@ pub mod agent_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4548,7 +4548,7 @@ pub mod agent_pools { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -4633,7 +4633,7 @@ pub mod agent_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -4707,7 +4707,7 @@ pub mod agent_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4783,7 +4783,7 @@ pub mod agent_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4859,7 +4859,7 @@ pub mod agent_pools { } } pub mod get_queue_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4883,7 +4883,7 @@ pub mod agent_pools { } } pub mod runs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4940,7 +4940,7 @@ pub mod runs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5012,7 +5012,7 @@ pub mod runs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5092,7 +5092,7 @@ pub mod runs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Run), @@ -5173,7 +5173,7 @@ pub mod runs { } } pub mod get_log_sas_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5242,7 +5242,7 @@ pub mod runs { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5271,7 +5271,7 @@ pub mod runs { } } pub mod task_runs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5322,7 +5322,7 @@ pub mod task_runs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5402,7 +5402,7 @@ pub mod task_runs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TaskRun), @@ -5487,7 +5487,7 @@ pub mod task_runs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TaskRun), @@ -5561,7 +5561,7 @@ pub mod task_runs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5643,7 +5643,7 @@ pub mod task_runs { } } pub mod get_details { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5713,7 +5713,7 @@ pub mod task_runs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5737,7 +5737,7 @@ pub mod task_runs { } } pub mod tasks { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5786,7 +5786,7 @@ pub mod tasks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5858,7 +5858,7 @@ pub mod tasks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5938,7 +5938,7 @@ pub mod tasks { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Task), @@ -6023,7 +6023,7 @@ pub mod tasks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Task), @@ -6097,7 +6097,7 @@ pub mod tasks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6179,7 +6179,7 @@ pub mod tasks { } } pub mod get_details { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/containerregistry/src/package_2021_06_preview_only/operations.rs b/services/mgmt/containerregistry/src/package_2021_06_preview_only/operations.rs index a529853a0a..0352ab4ab2 100644 --- a/services/mgmt/containerregistry/src/package_2021_06_preview_only/operations.rs +++ b/services/mgmt/containerregistry/src/package_2021_06_preview_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod connected_registries { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -55,7 +55,7 @@ pub mod connected_registries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -135,7 +135,7 @@ pub mod connected_registries { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectedRegistry), @@ -220,7 +220,7 @@ pub mod connected_registries { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectedRegistry), @@ -294,7 +294,7 @@ pub mod connected_registries { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -374,7 +374,7 @@ pub mod connected_registries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -446,7 +446,7 @@ pub mod connected_registries { } } pub mod deactivate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -475,7 +475,7 @@ pub mod connected_registries { } } pub mod export_pipelines { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -524,7 +524,7 @@ pub mod export_pipelines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -599,7 +599,7 @@ pub mod export_pipelines { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExportPipeline), @@ -668,7 +668,7 @@ pub mod export_pipelines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -739,7 +739,7 @@ pub mod export_pipelines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -760,7 +760,7 @@ pub mod export_pipelines { } } pub mod registries { - use crate::models::*; + use super::{models, models::*}; pub async fn import_image( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -808,7 +808,7 @@ pub mod registries { } } pub mod import_image { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -881,7 +881,7 @@ pub mod registries { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -946,7 +946,7 @@ pub mod registries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1019,7 +1019,7 @@ pub mod registries { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Registry), @@ -1097,7 +1097,7 @@ pub mod registries { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Registry), @@ -1164,7 +1164,7 @@ pub mod registries { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1238,7 +1238,7 @@ pub mod registries { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1299,7 +1299,7 @@ pub mod registries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1368,7 +1368,7 @@ pub mod registries { } } pub mod list_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1440,7 +1440,7 @@ pub mod registries { } } pub mod regenerate_credential { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1508,7 +1508,7 @@ pub mod registries { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1578,7 +1578,7 @@ pub mod registries { } } pub mod list_private_link_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1649,7 +1649,7 @@ pub mod registries { } } pub mod generate_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenerateCredentialsResult), @@ -1675,7 +1675,7 @@ pub mod registries { } } pub mod import_pipelines { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1724,7 +1724,7 @@ pub mod import_pipelines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1799,7 +1799,7 @@ pub mod import_pipelines { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ImportPipeline), @@ -1868,7 +1868,7 @@ pub mod import_pipelines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1939,7 +1939,7 @@ pub mod import_pipelines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1960,7 +1960,7 @@ pub mod import_pipelines { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerRegistry/operations", operation_config.base_path(),); @@ -1996,7 +1996,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2017,7 +2017,7 @@ pub mod operations { } } pub mod pipeline_runs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2066,7 +2066,7 @@ pub mod pipeline_runs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2141,7 +2141,7 @@ pub mod pipeline_runs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PipelineRun), @@ -2210,7 +2210,7 @@ pub mod pipeline_runs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2281,7 +2281,7 @@ pub mod pipeline_runs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2302,7 +2302,7 @@ pub mod pipeline_runs { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2351,7 +2351,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2429,7 +2429,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -2498,7 +2498,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2569,7 +2569,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2590,7 +2590,7 @@ pub mod private_endpoint_connections { } } pub mod replications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2639,7 +2639,7 @@ pub mod replications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2714,7 +2714,7 @@ pub mod replications { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Replication), @@ -2794,7 +2794,7 @@ pub mod replications { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Replication), @@ -2863,7 +2863,7 @@ pub mod replications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2934,7 +2934,7 @@ pub mod replications { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2955,7 +2955,7 @@ pub mod replications { } } pub mod scope_maps { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3004,7 +3004,7 @@ pub mod scope_maps { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3079,7 +3079,7 @@ pub mod scope_maps { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ScopeMap), @@ -3159,7 +3159,7 @@ pub mod scope_maps { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ScopeMap), @@ -3228,7 +3228,7 @@ pub mod scope_maps { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3299,7 +3299,7 @@ pub mod scope_maps { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3320,7 +3320,7 @@ pub mod scope_maps { } } pub mod tokens { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3369,7 +3369,7 @@ pub mod tokens { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3444,7 +3444,7 @@ pub mod tokens { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Token), @@ -3524,7 +3524,7 @@ pub mod tokens { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Token), @@ -3593,7 +3593,7 @@ pub mod tokens { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3664,7 +3664,7 @@ pub mod tokens { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3685,7 +3685,7 @@ pub mod tokens { } } pub mod webhooks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3734,7 +3734,7 @@ pub mod webhooks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3809,7 +3809,7 @@ pub mod webhooks { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Webhook), @@ -3889,7 +3889,7 @@ pub mod webhooks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Webhook), @@ -3958,7 +3958,7 @@ pub mod webhooks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4029,7 +4029,7 @@ pub mod webhooks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4097,7 +4097,7 @@ pub mod webhooks { } } pub mod ping { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4168,7 +4168,7 @@ pub mod webhooks { } } pub mod get_callback_config { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4239,7 +4239,7 @@ pub mod webhooks { } } pub mod list_events { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/containerregistry/src/package_2021_08_preview/operations.rs b/services/mgmt/containerregistry/src/package_2021_08_preview/operations.rs index 11ace7f326..f440d87408 100644 --- a/services/mgmt/containerregistry/src/package_2021_08_preview/operations.rs +++ b/services/mgmt/containerregistry/src/package_2021_08_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod connected_registries { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -57,7 +57,7 @@ pub mod connected_registries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -129,7 +129,7 @@ pub mod connected_registries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -209,7 +209,7 @@ pub mod connected_registries { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectedRegistry), @@ -294,7 +294,7 @@ pub mod connected_registries { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectedRegistry), @@ -368,7 +368,7 @@ pub mod connected_registries { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -446,7 +446,7 @@ pub mod connected_registries { } } pub mod deactivate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -475,7 +475,7 @@ pub mod connected_registries { } } pub mod export_pipelines { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -522,7 +522,7 @@ pub mod export_pipelines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -589,7 +589,7 @@ pub mod export_pipelines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -664,7 +664,7 @@ pub mod export_pipelines { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExportPipeline), @@ -733,7 +733,7 @@ pub mod export_pipelines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -760,7 +760,7 @@ pub mod export_pipelines { } } pub mod registries { - use crate::models::*; + use super::{models, models::*}; pub async fn import_image( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -808,7 +808,7 @@ pub mod registries { } } pub mod import_image { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -881,7 +881,7 @@ pub mod registries { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -942,7 +942,7 @@ pub mod registries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1010,7 +1010,7 @@ pub mod registries { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1075,7 +1075,7 @@ pub mod registries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1148,7 +1148,7 @@ pub mod registries { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Registry), @@ -1226,7 +1226,7 @@ pub mod registries { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Registry), @@ -1293,7 +1293,7 @@ pub mod registries { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1367,7 +1367,7 @@ pub mod registries { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1437,7 +1437,7 @@ pub mod registries { } } pub mod list_private_link_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1506,7 +1506,7 @@ pub mod registries { } } pub mod list_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1578,7 +1578,7 @@ pub mod registries { } } pub mod regenerate_credential { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1649,7 +1649,7 @@ pub mod registries { } } pub mod generate_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenerateCredentialsResult), @@ -1727,7 +1727,7 @@ pub mod registries { } } pub mod schedule_run { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Run), @@ -1808,7 +1808,7 @@ pub mod registries { } } pub mod get_build_source_upload_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1832,7 +1832,7 @@ pub mod registries { } } pub mod import_pipelines { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1879,7 +1879,7 @@ pub mod import_pipelines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1946,7 +1946,7 @@ pub mod import_pipelines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2021,7 +2021,7 @@ pub mod import_pipelines { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ImportPipeline), @@ -2090,7 +2090,7 @@ pub mod import_pipelines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2117,7 +2117,7 @@ pub mod import_pipelines { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerRegistry/operations", operation_config.base_path(),); @@ -2153,7 +2153,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2174,7 +2174,7 @@ pub mod operations { } } pub mod pipeline_runs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2221,7 +2221,7 @@ pub mod pipeline_runs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2288,7 +2288,7 @@ pub mod pipeline_runs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2363,7 +2363,7 @@ pub mod pipeline_runs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PipelineRun), @@ -2432,7 +2432,7 @@ pub mod pipeline_runs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2459,7 +2459,7 @@ pub mod pipeline_runs { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2506,7 +2506,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2573,7 +2573,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2651,7 +2651,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -2720,7 +2720,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2747,7 +2747,7 @@ pub mod private_endpoint_connections { } } pub mod replications { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2794,7 +2794,7 @@ pub mod replications { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2861,7 +2861,7 @@ pub mod replications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2936,7 +2936,7 @@ pub mod replications { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Replication), @@ -3016,7 +3016,7 @@ pub mod replications { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Replication), @@ -3085,7 +3085,7 @@ pub mod replications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3112,7 +3112,7 @@ pub mod replications { } } pub mod scope_maps { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3159,7 +3159,7 @@ pub mod scope_maps { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3226,7 +3226,7 @@ pub mod scope_maps { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3301,7 +3301,7 @@ pub mod scope_maps { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ScopeMap), @@ -3381,7 +3381,7 @@ pub mod scope_maps { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ScopeMap), @@ -3450,7 +3450,7 @@ pub mod scope_maps { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3477,7 +3477,7 @@ pub mod scope_maps { } } pub mod tokens { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3524,7 +3524,7 @@ pub mod tokens { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3591,7 +3591,7 @@ pub mod tokens { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3666,7 +3666,7 @@ pub mod tokens { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Token), @@ -3746,7 +3746,7 @@ pub mod tokens { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Token), @@ -3815,7 +3815,7 @@ pub mod tokens { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3842,7 +3842,7 @@ pub mod tokens { } } pub mod webhooks { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3889,7 +3889,7 @@ pub mod webhooks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3956,7 +3956,7 @@ pub mod webhooks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4031,7 +4031,7 @@ pub mod webhooks { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Webhook), @@ -4111,7 +4111,7 @@ pub mod webhooks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Webhook), @@ -4180,7 +4180,7 @@ pub mod webhooks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4254,7 +4254,7 @@ pub mod webhooks { } } pub mod ping { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4325,7 +4325,7 @@ pub mod webhooks { } } pub mod list_events { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4396,7 +4396,7 @@ pub mod webhooks { } } pub mod get_callback_config { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4417,7 +4417,7 @@ pub mod webhooks { } } pub mod agent_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4468,7 +4468,7 @@ pub mod agent_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4548,7 +4548,7 @@ pub mod agent_pools { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -4633,7 +4633,7 @@ pub mod agent_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -4707,7 +4707,7 @@ pub mod agent_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4783,7 +4783,7 @@ pub mod agent_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4859,7 +4859,7 @@ pub mod agent_pools { } } pub mod get_queue_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4883,7 +4883,7 @@ pub mod agent_pools { } } pub mod runs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4940,7 +4940,7 @@ pub mod runs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5012,7 +5012,7 @@ pub mod runs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5092,7 +5092,7 @@ pub mod runs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Run), @@ -5173,7 +5173,7 @@ pub mod runs { } } pub mod get_log_sas_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5242,7 +5242,7 @@ pub mod runs { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5271,7 +5271,7 @@ pub mod runs { } } pub mod task_runs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5322,7 +5322,7 @@ pub mod task_runs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5402,7 +5402,7 @@ pub mod task_runs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TaskRun), @@ -5487,7 +5487,7 @@ pub mod task_runs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TaskRun), @@ -5561,7 +5561,7 @@ pub mod task_runs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5643,7 +5643,7 @@ pub mod task_runs { } } pub mod get_details { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5713,7 +5713,7 @@ pub mod task_runs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5737,7 +5737,7 @@ pub mod task_runs { } } pub mod tasks { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5786,7 +5786,7 @@ pub mod tasks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5858,7 +5858,7 @@ pub mod tasks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5938,7 +5938,7 @@ pub mod tasks { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Task), @@ -6023,7 +6023,7 @@ pub mod tasks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Task), @@ -6097,7 +6097,7 @@ pub mod tasks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6179,7 +6179,7 @@ pub mod tasks { } } pub mod get_details { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/containerregistry/src/package_2021_08_preview_only/operations.rs b/services/mgmt/containerregistry/src/package_2021_08_preview_only/operations.rs index 1c1912fcc7..23eba14242 100644 --- a/services/mgmt/containerregistry/src/package_2021_08_preview_only/operations.rs +++ b/services/mgmt/containerregistry/src/package_2021_08_preview_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod connected_registries { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -57,7 +57,7 @@ pub mod connected_registries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -129,7 +129,7 @@ pub mod connected_registries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -209,7 +209,7 @@ pub mod connected_registries { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectedRegistry), @@ -294,7 +294,7 @@ pub mod connected_registries { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectedRegistry), @@ -368,7 +368,7 @@ pub mod connected_registries { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -446,7 +446,7 @@ pub mod connected_registries { } } pub mod deactivate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -475,7 +475,7 @@ pub mod connected_registries { } } pub mod export_pipelines { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -522,7 +522,7 @@ pub mod export_pipelines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -589,7 +589,7 @@ pub mod export_pipelines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -664,7 +664,7 @@ pub mod export_pipelines { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExportPipeline), @@ -733,7 +733,7 @@ pub mod export_pipelines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -760,7 +760,7 @@ pub mod export_pipelines { } } pub mod registries { - use crate::models::*; + use super::{models, models::*}; pub async fn import_image( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -808,7 +808,7 @@ pub mod registries { } } pub mod import_image { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -881,7 +881,7 @@ pub mod registries { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -942,7 +942,7 @@ pub mod registries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1010,7 +1010,7 @@ pub mod registries { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1075,7 +1075,7 @@ pub mod registries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1148,7 +1148,7 @@ pub mod registries { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Registry), @@ -1226,7 +1226,7 @@ pub mod registries { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Registry), @@ -1293,7 +1293,7 @@ pub mod registries { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1367,7 +1367,7 @@ pub mod registries { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1437,7 +1437,7 @@ pub mod registries { } } pub mod list_private_link_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1506,7 +1506,7 @@ pub mod registries { } } pub mod list_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1578,7 +1578,7 @@ pub mod registries { } } pub mod regenerate_credential { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1649,7 +1649,7 @@ pub mod registries { } } pub mod generate_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenerateCredentialsResult), @@ -1675,7 +1675,7 @@ pub mod registries { } } pub mod import_pipelines { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1722,7 +1722,7 @@ pub mod import_pipelines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1789,7 +1789,7 @@ pub mod import_pipelines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1864,7 +1864,7 @@ pub mod import_pipelines { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ImportPipeline), @@ -1933,7 +1933,7 @@ pub mod import_pipelines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1960,7 +1960,7 @@ pub mod import_pipelines { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerRegistry/operations", operation_config.base_path(),); @@ -1996,7 +1996,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2017,7 +2017,7 @@ pub mod operations { } } pub mod pipeline_runs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2064,7 +2064,7 @@ pub mod pipeline_runs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2131,7 +2131,7 @@ pub mod pipeline_runs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2206,7 +2206,7 @@ pub mod pipeline_runs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PipelineRun), @@ -2275,7 +2275,7 @@ pub mod pipeline_runs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2302,7 +2302,7 @@ pub mod pipeline_runs { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2349,7 +2349,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2416,7 +2416,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2494,7 +2494,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -2563,7 +2563,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2590,7 +2590,7 @@ pub mod private_endpoint_connections { } } pub mod replications { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2637,7 +2637,7 @@ pub mod replications { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2704,7 +2704,7 @@ pub mod replications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2779,7 +2779,7 @@ pub mod replications { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Replication), @@ -2859,7 +2859,7 @@ pub mod replications { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Replication), @@ -2928,7 +2928,7 @@ pub mod replications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2955,7 +2955,7 @@ pub mod replications { } } pub mod scope_maps { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3002,7 +3002,7 @@ pub mod scope_maps { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3069,7 +3069,7 @@ pub mod scope_maps { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3144,7 +3144,7 @@ pub mod scope_maps { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ScopeMap), @@ -3224,7 +3224,7 @@ pub mod scope_maps { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ScopeMap), @@ -3293,7 +3293,7 @@ pub mod scope_maps { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3320,7 +3320,7 @@ pub mod scope_maps { } } pub mod tokens { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3367,7 +3367,7 @@ pub mod tokens { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3434,7 +3434,7 @@ pub mod tokens { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3509,7 +3509,7 @@ pub mod tokens { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Token), @@ -3589,7 +3589,7 @@ pub mod tokens { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Token), @@ -3658,7 +3658,7 @@ pub mod tokens { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3685,7 +3685,7 @@ pub mod tokens { } } pub mod webhooks { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3732,7 +3732,7 @@ pub mod webhooks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3799,7 +3799,7 @@ pub mod webhooks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3874,7 +3874,7 @@ pub mod webhooks { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Webhook), @@ -3954,7 +3954,7 @@ pub mod webhooks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Webhook), @@ -4023,7 +4023,7 @@ pub mod webhooks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4097,7 +4097,7 @@ pub mod webhooks { } } pub mod ping { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4168,7 +4168,7 @@ pub mod webhooks { } } pub mod list_events { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4239,7 +4239,7 @@ pub mod webhooks { } } pub mod get_callback_config { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/containerservice/Cargo.toml b/services/mgmt/containerservice/Cargo.toml index 61fbd94f75..bfbaec29ce 100644 --- a/services/mgmt/containerservice/Cargo.toml +++ b/services/mgmt/containerservice/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-09"] +no-default-version = [] "package-2021-09" = [] "package-2021-08" = [] "package-2021-07" = [] diff --git a/services/mgmt/containerservice/src/lib.rs b/services/mgmt/containerservice/src/lib.rs index 671a692394..5c87934e58 100644 --- a/services/mgmt/containerservice/src/lib.rs +++ b/services/mgmt/containerservice/src/lib.rs @@ -1,253 +1,261 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-09")] -mod package_2021_09; -#[cfg(feature = "package-2021-09")] +pub mod package_2021_09; +#[cfg(all(feature = "package-2021-09", not(feature = "no-default-version")))] pub use package_2021_09::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-08")] -mod package_2021_08; -#[cfg(feature = "package-2021-08")] +pub mod package_2021_08; +#[cfg(all(feature = "package-2021-08", not(feature = "no-default-version")))] pub use package_2021_08::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-07")] -mod package_2021_07; -#[cfg(feature = "package-2021-07")] +pub mod package_2021_07; +#[cfg(all(feature = "package-2021-07", not(feature = "no-default-version")))] pub use package_2021_07::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-05")] -mod package_2021_05; -#[cfg(feature = "package-2021-05")] +pub mod package_2021_05; +#[cfg(all(feature = "package-2021-05", not(feature = "no-default-version")))] pub use package_2021_05::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-03")] -mod package_2021_03; -#[cfg(feature = "package-2021-03")] +pub mod package_2021_03; +#[cfg(all(feature = "package-2021-03", not(feature = "no-default-version")))] pub use package_2021_03::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-02")] -mod package_2021_02; -#[cfg(feature = "package-2021-02")] +pub mod package_2021_02; +#[cfg(all(feature = "package-2021-02", not(feature = "no-default-version")))] pub use package_2021_02::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-12")] -mod package_2020_12; -#[cfg(feature = "package-2020-12")] +pub mod package_2020_12; +#[cfg(all(feature = "package-2020-12", not(feature = "no-default-version")))] pub use package_2020_12::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-11")] -mod package_2020_11; -#[cfg(feature = "package-2020-11")] +pub mod package_2020_11; +#[cfg(all(feature = "package-2020-11", not(feature = "no-default-version")))] pub use package_2020_11::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-09")] -mod package_2020_09; -#[cfg(feature = "package-2020-09")] +pub mod package_2020_09; +#[cfg(all(feature = "package-2020-09", not(feature = "no-default-version")))] pub use package_2020_09::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-07")] -mod package_2020_07; -#[cfg(feature = "package-2020-07")] +pub mod package_2020_07; +#[cfg(all(feature = "package-2020-07", not(feature = "no-default-version")))] pub use package_2020_07::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-06")] -mod package_2020_06; -#[cfg(feature = "package-2020-06")] +pub mod package_2020_06; +#[cfg(all(feature = "package-2020-06", not(feature = "no-default-version")))] pub use package_2020_06::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-04")] -mod package_2020_04; -#[cfg(feature = "package-2020-04")] +pub mod package_2020_04; +#[cfg(all(feature = "package-2020-04", not(feature = "no-default-version")))] pub use package_2020_04::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-03")] -mod package_2020_03; -#[cfg(feature = "package-2020-03")] +pub mod package_2020_03; +#[cfg(all(feature = "package-2020-03", not(feature = "no-default-version")))] pub use package_2020_03::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-02")] -mod package_2020_02; -#[cfg(feature = "package-2020-02")] +pub mod package_2020_02; +#[cfg(all(feature = "package-2020-02", not(feature = "no-default-version")))] pub use package_2020_02::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-01")] -mod package_2020_01; -#[cfg(feature = "package-2020-01")] +pub mod package_2020_01; +#[cfg(all(feature = "package-2020-01", not(feature = "no-default-version")))] pub use package_2020_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-11")] -mod package_2019_11; -#[cfg(feature = "package-2019-11")] +pub mod package_2019_11; +#[cfg(all(feature = "package-2019-11", not(feature = "no-default-version")))] pub use package_2019_11::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-10-27-preview")] -mod package_2019_10_27_preview; -#[cfg(feature = "package-2019-10-27-preview")] +pub mod package_2019_10_27_preview; +#[cfg(all(feature = "package-2019-10-27-preview", not(feature = "no-default-version")))] pub use package_2019_10_27_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-09-30-preview")] -mod package_2019_09_30_preview; -#[cfg(feature = "package-2019-09-30-preview")] +pub mod package_2019_09_30_preview; +#[cfg(all(feature = "package-2019-09-30-preview", not(feature = "no-default-version")))] pub use package_2019_09_30_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-10")] -mod package_2019_10; -#[cfg(feature = "package-2019-10")] +pub mod package_2019_10; +#[cfg(all(feature = "package-2019-10", not(feature = "no-default-version")))] pub use package_2019_10::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-08")] -mod package_2019_08; -#[cfg(feature = "package-2019-08")] +pub mod package_2019_08; +#[cfg(all(feature = "package-2019-08", not(feature = "no-default-version")))] pub use package_2019_08::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-06")] -mod package_2019_06; -#[cfg(feature = "package-2019-06")] +pub mod package_2019_06; +#[cfg(all(feature = "package-2019-06", not(feature = "no-default-version")))] pub use package_2019_06::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-04")] -mod package_2019_04; -#[cfg(feature = "package-2019-04")] +pub mod package_2019_04; +#[cfg(all(feature = "package-2019-04", not(feature = "no-default-version")))] pub use package_2019_04::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-02")] -mod package_2019_02; -#[cfg(feature = "package-2019-02")] +pub mod package_2019_02; +#[cfg(all(feature = "package-2019-02", not(feature = "no-default-version")))] pub use package_2019_02::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-08-preview")] -mod package_2018_08_preview; -#[cfg(feature = "package-2018-08-preview")] +pub mod package_2018_08_preview; +#[cfg(all(feature = "package-2018-08-preview", not(feature = "no-default-version")))] pub use package_2018_08_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-09-30-preview")] -mod package_2018_09_30_preview; -#[cfg(feature = "package-2018-09-30-preview")] +pub mod package_2018_09_30_preview; +#[cfg(all(feature = "package-2018-09-30-preview", not(feature = "no-default-version")))] pub use package_2018_09_30_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-03")] -mod package_2018_03; -#[cfg(feature = "package-2018-03")] +pub mod package_2018_03; +#[cfg(all(feature = "package-2018-03", not(feature = "no-default-version")))] pub use package_2018_03::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-09")] -mod package_2017_09; -#[cfg(feature = "package-2017-09")] +pub mod package_2017_09; +#[cfg(all(feature = "package-2017-09", not(feature = "no-default-version")))] pub use package_2017_09::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-08")] -mod package_2017_08; -#[cfg(feature = "package-2017-08")] +pub mod package_2017_08; +#[cfg(all(feature = "package-2017-08", not(feature = "no-default-version")))] pub use package_2017_08::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-07")] -mod package_2017_07; -#[cfg(feature = "package-2017-07")] +pub mod package_2017_07; +#[cfg(all(feature = "package-2017-07", not(feature = "no-default-version")))] pub use package_2017_07::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-09-01-only")] -mod package_2021_09_01_only; -#[cfg(feature = "package-2021-09-01-only")] +pub mod package_2021_09_01_only; +#[cfg(all(feature = "package-2021-09-01-only", not(feature = "no-default-version")))] pub use package_2021_09_01_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-08-01-only")] -mod package_2021_08_01_only; -#[cfg(feature = "package-2021-08-01-only")] +pub mod package_2021_08_01_only; +#[cfg(all(feature = "package-2021-08-01-only", not(feature = "no-default-version")))] pub use package_2021_08_01_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-07-01-only")] -mod package_2021_07_01_only; -#[cfg(feature = "package-2021-07-01-only")] +pub mod package_2021_07_01_only; +#[cfg(all(feature = "package-2021-07-01-only", not(feature = "no-default-version")))] pub use package_2021_07_01_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-05-01-only")] -mod package_2021_05_01_only; -#[cfg(feature = "package-2021-05-01-only")] +pub mod package_2021_05_01_only; +#[cfg(all(feature = "package-2021-05-01-only", not(feature = "no-default-version")))] pub use package_2021_05_01_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-03-01-only")] -mod package_2021_03_01_only; -#[cfg(feature = "package-2021-03-01-only")] +pub mod package_2021_03_01_only; +#[cfg(all(feature = "package-2021-03-01-only", not(feature = "no-default-version")))] pub use package_2021_03_01_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-02-01-only")] -mod package_2021_02_01_only; -#[cfg(feature = "package-2021-02-01-only")] +pub mod package_2021_02_01_only; +#[cfg(all(feature = "package-2021-02-01-only", not(feature = "no-default-version")))] pub use package_2021_02_01_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-12-01-only")] -mod package_2020_12_01_only; -#[cfg(feature = "package-2020-12-01-only")] +pub mod package_2020_12_01_only; +#[cfg(all(feature = "package-2020-12-01-only", not(feature = "no-default-version")))] pub use package_2020_12_01_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-11-01-only")] -mod package_2020_11_01_only; -#[cfg(feature = "package-2020-11-01-only")] +pub mod package_2020_11_01_only; +#[cfg(all(feature = "package-2020-11-01-only", not(feature = "no-default-version")))] pub use package_2020_11_01_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-09-01-only")] -mod package_2020_09_01_only; -#[cfg(feature = "package-2020-09-01-only")] +pub mod package_2020_09_01_only; +#[cfg(all(feature = "package-2020-09-01-only", not(feature = "no-default-version")))] pub use package_2020_09_01_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-07-01-only")] -mod package_2020_07_01_only; -#[cfg(feature = "package-2020-07-01-only")] +pub mod package_2020_07_01_only; +#[cfg(all(feature = "package-2020-07-01-only", not(feature = "no-default-version")))] pub use package_2020_07_01_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-06-01-only")] -mod package_2020_06_01_only; -#[cfg(feature = "package-2020-06-01-only")] +pub mod package_2020_06_01_only; +#[cfg(all(feature = "package-2020-06-01-only", not(feature = "no-default-version")))] pub use package_2020_06_01_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-04-01-only")] -mod package_2020_04_01_only; -#[cfg(feature = "package-2020-04-01-only")] +pub mod package_2020_04_01_only; +#[cfg(all(feature = "package-2020-04-01-only", not(feature = "no-default-version")))] pub use package_2020_04_01_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-03-01-only")] -mod package_2020_03_01_only; -#[cfg(feature = "package-2020-03-01-only")] +pub mod package_2020_03_01_only; +#[cfg(all(feature = "package-2020-03-01-only", not(feature = "no-default-version")))] pub use package_2020_03_01_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-02-01-only")] -mod package_2020_02_01_only; -#[cfg(feature = "package-2020-02-01-only")] +pub mod package_2020_02_01_only; +#[cfg(all(feature = "package-2020-02-01-only", not(feature = "no-default-version")))] pub use package_2020_02_01_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-01-01-only")] -mod package_2020_01_01_only; -#[cfg(feature = "package-2020-01-01-only")] +pub mod package_2020_01_01_only; +#[cfg(all(feature = "package-2020-01-01-only", not(feature = "no-default-version")))] pub use package_2020_01_01_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-11-01-only")] -mod package_2019_11_01_only; -#[cfg(feature = "package-2019-11-01-only")] +pub mod package_2019_11_01_only; +#[cfg(all(feature = "package-2019-11-01-only", not(feature = "no-default-version")))] pub use package_2019_11_01_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-10-27-preview-only")] -mod package_2019_10_27_preview_only; -#[cfg(feature = "package-2019-10-27-preview-only")] +pub mod package_2019_10_27_preview_only; +#[cfg(all(feature = "package-2019-10-27-preview-only", not(feature = "no-default-version")))] pub use package_2019_10_27_preview_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-10-01-only")] -mod package_2019_10_01_only; -#[cfg(feature = "package-2019-10-01-only")] +pub mod package_2019_10_01_only; +#[cfg(all(feature = "package-2019-10-01-only", not(feature = "no-default-version")))] pub use package_2019_10_01_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-08-01-only")] -mod package_2019_08_01_only; -#[cfg(feature = "package-2019-08-01-only")] +pub mod package_2019_08_01_only; +#[cfg(all(feature = "package-2019-08-01-only", not(feature = "no-default-version")))] pub use package_2019_08_01_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-06-01-only")] -mod package_2019_06_01_only; -#[cfg(feature = "package-2019-06-01-only")] +pub mod package_2019_06_01_only; +#[cfg(all(feature = "package-2019-06-01-only", not(feature = "no-default-version")))] pub use package_2019_06_01_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-04-30-only")] -mod package_2019_04_30_only; -#[cfg(feature = "package-2019-04-30-only")] +pub mod package_2019_04_30_only; +#[cfg(all(feature = "package-2019-04-30-only", not(feature = "no-default-version")))] pub use package_2019_04_30_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-04-01-only")] -mod package_2019_04_01_only; -#[cfg(feature = "package-2019-04-01-only")] +pub mod package_2019_04_01_only; +#[cfg(all(feature = "package-2019-04-01-only", not(feature = "no-default-version")))] pub use package_2019_04_01_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-02-only")] -mod package_2019_02_only; -#[cfg(feature = "package-2019-02-only")] +pub mod package_2019_02_only; +#[cfg(all(feature = "package-2019-02-only", not(feature = "no-default-version")))] pub use package_2019_02_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-08-preview-only")] -mod package_2018_08_preview_only; -#[cfg(feature = "package-2018-08-preview-only")] +pub mod package_2018_08_preview_only; +#[cfg(all(feature = "package-2018-08-preview-only", not(feature = "no-default-version")))] pub use package_2018_08_preview_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-09-preview-only")] -mod package_2018_09_preview_only; -#[cfg(feature = "package-2018-09-preview-only")] +pub mod package_2018_09_preview_only; +#[cfg(all(feature = "package-2018-09-preview-only", not(feature = "no-default-version")))] pub use package_2018_09_preview_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-09-preview-only")] -mod package_2019_09_preview_only; -#[cfg(feature = "package-2019-09-preview-only")] +pub mod package_2019_09_preview_only; +#[cfg(all(feature = "package-2019-09-preview-only", not(feature = "no-default-version")))] pub use package_2019_09_preview_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-03-only")] -mod package_2018_03_only; -#[cfg(feature = "package-2018-03-only")] +pub mod package_2018_03_only; +#[cfg(all(feature = "package-2018-03-only", not(feature = "no-default-version")))] pub use package_2018_03_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-07-only-extended")] -mod package_2017_07_only_extended; -#[cfg(feature = "package-2017-07-only-extended")] +pub mod package_2017_07_only_extended; +#[cfg(all(feature = "package-2017-07-only-extended", not(feature = "no-default-version")))] pub use package_2017_07_only_extended::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-08-only")] -mod package_2017_08_only; -#[cfg(feature = "package-2017-08-only")] +pub mod package_2017_08_only; +#[cfg(all(feature = "package-2017-08-only", not(feature = "no-default-version")))] pub use package_2017_08_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-09-only")] -mod package_2017_09_only; -#[cfg(feature = "package-2017-09-only")] +pub mod package_2017_09_only; +#[cfg(all(feature = "package-2017-09-only", not(feature = "no-default-version")))] pub use package_2017_09_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-01-only")] -mod package_2017_01_only; -#[cfg(feature = "package-2017-01-only")] +pub mod package_2017_01_only; +#[cfg(all(feature = "package-2017-01-only", not(feature = "no-default-version")))] pub use package_2017_01_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2016-09-only")] -mod package_2016_09_only; -#[cfg(feature = "package-2016-09-only")] +pub mod package_2016_09_only; +#[cfg(all(feature = "package-2016-09-only", not(feature = "no-default-version")))] pub use package_2016_09_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2016-03-only")] -mod package_2016_03_only; +pub mod package_2016_03_only; use azure_core::setters; -#[cfg(feature = "package-2016-03-only")] +#[cfg(all(feature = "package-2016-03-only", not(feature = "no-default-version")))] pub use package_2016_03_only::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -271,7 +279,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/containerservice/src/package_2016_03_only/operations.rs b/services/mgmt/containerservice/src/package_2016_03_only/operations.rs index 6f4dbee1d5..00d54a0c3f 100644 --- a/services/mgmt/containerservice/src/package_2016_03_only/operations.rs +++ b/services/mgmt/containerservice/src/package_2016_03_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod container_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -47,7 +47,7 @@ pub mod container_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -112,7 +112,7 @@ pub mod container_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -194,7 +194,7 @@ pub mod container_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerService), @@ -261,7 +261,7 @@ pub mod container_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -334,7 +334,7 @@ pub mod container_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/containerservice/src/package_2016_09_only/operations.rs b/services/mgmt/containerservice/src/package_2016_09_only/operations.rs index 6f4dbee1d5..00d54a0c3f 100644 --- a/services/mgmt/containerservice/src/package_2016_09_only/operations.rs +++ b/services/mgmt/containerservice/src/package_2016_09_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod container_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -47,7 +47,7 @@ pub mod container_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -112,7 +112,7 @@ pub mod container_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -194,7 +194,7 @@ pub mod container_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerService), @@ -261,7 +261,7 @@ pub mod container_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -334,7 +334,7 @@ pub mod container_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/containerservice/src/package_2017_01_only/operations.rs b/services/mgmt/containerservice/src/package_2017_01_only/operations.rs index 6f4dbee1d5..00d54a0c3f 100644 --- a/services/mgmt/containerservice/src/package_2017_01_only/operations.rs +++ b/services/mgmt/containerservice/src/package_2017_01_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod container_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -47,7 +47,7 @@ pub mod container_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -112,7 +112,7 @@ pub mod container_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -194,7 +194,7 @@ pub mod container_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerService), @@ -261,7 +261,7 @@ pub mod container_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -334,7 +334,7 @@ pub mod container_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/containerservice/src/package_2017_07/operations.rs b/services/mgmt/containerservice/src/package_2017_07/operations.rs index 6f4dbee1d5..00d54a0c3f 100644 --- a/services/mgmt/containerservice/src/package_2017_07/operations.rs +++ b/services/mgmt/containerservice/src/package_2017_07/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod container_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -47,7 +47,7 @@ pub mod container_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -112,7 +112,7 @@ pub mod container_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -194,7 +194,7 @@ pub mod container_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerService), @@ -261,7 +261,7 @@ pub mod container_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -334,7 +334,7 @@ pub mod container_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/containerservice/src/package_2017_07_only_extended/operations.rs b/services/mgmt/containerservice/src/package_2017_07_only_extended/operations.rs index 3865ec33ca..93de65cee3 100644 --- a/services/mgmt/containerservice/src/package_2017_07_only_extended/operations.rs +++ b/services/mgmt/containerservice/src/package_2017_07_only_extended/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod container_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -47,7 +47,7 @@ pub mod container_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -112,7 +112,7 @@ pub mod container_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -194,7 +194,7 @@ pub mod container_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerService), @@ -261,7 +261,7 @@ pub mod container_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -334,7 +334,7 @@ pub mod container_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -404,7 +404,7 @@ pub mod container_services { } } pub mod list_orchestrators { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/containerservice/src/package_2017_08/operations.rs b/services/mgmt/containerservice/src/package_2017_08/operations.rs index 5db7429bcc..40676464e5 100644 --- a/services/mgmt/containerservice/src/package_2017_08/operations.rs +++ b/services/mgmt/containerservice/src/package_2017_08/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod container_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -47,7 +47,7 @@ pub mod container_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -112,7 +112,7 @@ pub mod container_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -194,7 +194,7 @@ pub mod container_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerService), @@ -261,7 +261,7 @@ pub mod container_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -334,7 +334,7 @@ pub mod container_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -355,7 +355,7 @@ pub mod container_services { } } pub mod managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -398,7 +398,7 @@ pub mod managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -466,7 +466,7 @@ pub mod managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -534,7 +534,7 @@ pub mod managed_clusters { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -598,7 +598,7 @@ pub mod managed_clusters { } } pub mod get_access_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -668,7 +668,7 @@ pub mod managed_clusters { } } pub mod get_access_profiles { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -733,7 +733,7 @@ pub mod managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -809,7 +809,7 @@ pub mod managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedCluster), @@ -875,7 +875,7 @@ pub mod managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, diff --git a/services/mgmt/containerservice/src/package_2017_08_only/operations.rs b/services/mgmt/containerservice/src/package_2017_08_only/operations.rs index da08dc2642..f8c86543ef 100644 --- a/services/mgmt/containerservice/src/package_2017_08_only/operations.rs +++ b/services/mgmt/containerservice/src/package_2017_08_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -47,7 +47,7 @@ pub mod managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -115,7 +115,7 @@ pub mod managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -183,7 +183,7 @@ pub mod managed_clusters { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -247,7 +247,7 @@ pub mod managed_clusters { } } pub mod get_access_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -317,7 +317,7 @@ pub mod managed_clusters { } } pub mod get_access_profiles { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -382,7 +382,7 @@ pub mod managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -458,7 +458,7 @@ pub mod managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedCluster), @@ -524,7 +524,7 @@ pub mod managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, diff --git a/services/mgmt/containerservice/src/package_2017_09/operations.rs b/services/mgmt/containerservice/src/package_2017_09/operations.rs index 09f5670d0a..64bb81379c 100644 --- a/services/mgmt/containerservice/src/package_2017_09/operations.rs +++ b/services/mgmt/containerservice/src/package_2017_09/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod container_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -47,7 +47,7 @@ pub mod container_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -112,7 +112,7 @@ pub mod container_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -194,7 +194,7 @@ pub mod container_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerService), @@ -261,7 +261,7 @@ pub mod container_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -334,7 +334,7 @@ pub mod container_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -404,7 +404,7 @@ pub mod container_services { } } pub mod list_orchestrators { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -425,7 +425,7 @@ pub mod container_services { } } pub mod managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -468,7 +468,7 @@ pub mod managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -536,7 +536,7 @@ pub mod managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -604,7 +604,7 @@ pub mod managed_clusters { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -668,7 +668,7 @@ pub mod managed_clusters { } } pub mod get_access_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -738,7 +738,7 @@ pub mod managed_clusters { } } pub mod get_access_profiles { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -803,7 +803,7 @@ pub mod managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -879,7 +879,7 @@ pub mod managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedCluster), @@ -945,7 +945,7 @@ pub mod managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, diff --git a/services/mgmt/containerservice/src/package_2017_09_only/operations.rs b/services/mgmt/containerservice/src/package_2017_09_only/operations.rs index ff2df0a17d..60f8f8fb59 100644 --- a/services/mgmt/containerservice/src/package_2017_09_only/operations.rs +++ b/services/mgmt/containerservice/src/package_2017_09_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod container_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list_orchestrators( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -56,7 +56,7 @@ pub mod container_services { } } pub mod list_orchestrators { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/containerservice/src/package_2018_03/operations.rs b/services/mgmt/containerservice/src/package_2018_03/operations.rs index fd9777342e..d35a4df8a6 100644 --- a/services/mgmt/containerservice/src/package_2018_03/operations.rs +++ b/services/mgmt/containerservice/src/package_2018_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod container_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -47,7 +47,7 @@ pub mod container_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -112,7 +112,7 @@ pub mod container_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -194,7 +194,7 @@ pub mod container_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerService), @@ -261,7 +261,7 @@ pub mod container_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -334,7 +334,7 @@ pub mod container_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -404,7 +404,7 @@ pub mod container_services { } } pub mod list_orchestrators { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -425,7 +425,7 @@ pub mod container_services { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerService/operations", operation_config.base_path(),); @@ -461,7 +461,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -482,7 +482,7 @@ pub mod operations { } } pub mod managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -525,7 +525,7 @@ pub mod managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -593,7 +593,7 @@ pub mod managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -661,7 +661,7 @@ pub mod managed_clusters { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -725,7 +725,7 @@ pub mod managed_clusters { } } pub mod get_access_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -796,7 +796,7 @@ pub mod managed_clusters { } } pub mod list_cluster_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -867,7 +867,7 @@ pub mod managed_clusters { } } pub mod list_cluster_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -932,7 +932,7 @@ pub mod managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1008,7 +1008,7 @@ pub mod managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedCluster), @@ -1083,7 +1083,7 @@ pub mod managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1144,7 +1144,7 @@ pub mod managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1217,7 +1217,7 @@ pub mod managed_clusters { } } pub mod reset_service_principal_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1288,7 +1288,7 @@ pub mod managed_clusters { } } pub mod reset_aad_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/containerservice/src/package_2018_03_only/operations.rs b/services/mgmt/containerservice/src/package_2018_03_only/operations.rs index db677cc3c4..0b69455e47 100644 --- a/services/mgmt/containerservice/src/package_2018_03_only/operations.rs +++ b/services/mgmt/containerservice/src/package_2018_03_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerService/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -104,7 +104,7 @@ pub mod managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -172,7 +172,7 @@ pub mod managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -240,7 +240,7 @@ pub mod managed_clusters { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -304,7 +304,7 @@ pub mod managed_clusters { } } pub mod get_access_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -375,7 +375,7 @@ pub mod managed_clusters { } } pub mod list_cluster_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -446,7 +446,7 @@ pub mod managed_clusters { } } pub mod list_cluster_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -511,7 +511,7 @@ pub mod managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -587,7 +587,7 @@ pub mod managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedCluster), @@ -662,7 +662,7 @@ pub mod managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -723,7 +723,7 @@ pub mod managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -796,7 +796,7 @@ pub mod managed_clusters { } } pub mod reset_service_principal_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -867,7 +867,7 @@ pub mod managed_clusters { } } pub mod reset_aad_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/containerservice/src/package_2018_08_preview/operations.rs b/services/mgmt/containerservice/src/package_2018_08_preview/operations.rs index 04bd824097..ac962edd83 100644 --- a/services/mgmt/containerservice/src/package_2018_08_preview/operations.rs +++ b/services/mgmt/containerservice/src/package_2018_08_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod open_shift_managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -47,7 +47,7 @@ pub mod open_shift_managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -115,7 +115,7 @@ pub mod open_shift_managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -182,7 +182,7 @@ pub mod open_shift_managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -263,7 +263,7 @@ pub mod open_shift_managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OpenShiftManagedCluster), @@ -343,7 +343,7 @@ pub mod open_shift_managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -409,7 +409,7 @@ pub mod open_shift_managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -438,7 +438,7 @@ pub mod open_shift_managed_clusters { } } pub mod container_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -481,7 +481,7 @@ pub mod container_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -546,7 +546,7 @@ pub mod container_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -628,7 +628,7 @@ pub mod container_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerService), @@ -695,7 +695,7 @@ pub mod container_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -768,7 +768,7 @@ pub mod container_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -838,7 +838,7 @@ pub mod container_services { } } pub mod list_orchestrators { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -859,7 +859,7 @@ pub mod container_services { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerService/operations", operation_config.base_path(),); @@ -895,7 +895,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -916,7 +916,7 @@ pub mod operations { } } pub mod managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -959,7 +959,7 @@ pub mod managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1027,7 +1027,7 @@ pub mod managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1095,7 +1095,7 @@ pub mod managed_clusters { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1159,7 +1159,7 @@ pub mod managed_clusters { } } pub mod get_access_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1230,7 +1230,7 @@ pub mod managed_clusters { } } pub mod list_cluster_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1301,7 +1301,7 @@ pub mod managed_clusters { } } pub mod list_cluster_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1366,7 +1366,7 @@ pub mod managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1442,7 +1442,7 @@ pub mod managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedCluster), @@ -1517,7 +1517,7 @@ pub mod managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1578,7 +1578,7 @@ pub mod managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1653,7 +1653,7 @@ pub mod managed_clusters { } } pub mod reset_service_principal_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1729,7 +1729,7 @@ pub mod managed_clusters { } } pub mod reset_aad_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/containerservice/src/package_2018_08_preview_only/operations.rs b/services/mgmt/containerservice/src/package_2018_08_preview_only/operations.rs index edc4bbfd72..cddc961e9a 100644 --- a/services/mgmt/containerservice/src/package_2018_08_preview_only/operations.rs +++ b/services/mgmt/containerservice/src/package_2018_08_preview_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerService/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -104,7 +104,7 @@ pub mod managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -172,7 +172,7 @@ pub mod managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -240,7 +240,7 @@ pub mod managed_clusters { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -304,7 +304,7 @@ pub mod managed_clusters { } } pub mod get_access_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -375,7 +375,7 @@ pub mod managed_clusters { } } pub mod list_cluster_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -446,7 +446,7 @@ pub mod managed_clusters { } } pub mod list_cluster_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -511,7 +511,7 @@ pub mod managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -587,7 +587,7 @@ pub mod managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedCluster), @@ -662,7 +662,7 @@ pub mod managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -723,7 +723,7 @@ pub mod managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -798,7 +798,7 @@ pub mod managed_clusters { } } pub mod reset_service_principal_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -874,7 +874,7 @@ pub mod managed_clusters { } } pub mod reset_aad_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/containerservice/src/package_2018_09_30_preview/operations.rs b/services/mgmt/containerservice/src/package_2018_09_30_preview/operations.rs index 1ccdac4dce..9765c573e6 100644 --- a/services/mgmt/containerservice/src/package_2018_09_30_preview/operations.rs +++ b/services/mgmt/containerservice/src/package_2018_09_30_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod open_shift_managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -47,7 +47,7 @@ pub mod open_shift_managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -115,7 +115,7 @@ pub mod open_shift_managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -182,7 +182,7 @@ pub mod open_shift_managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -263,7 +263,7 @@ pub mod open_shift_managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OpenShiftManagedCluster), @@ -343,7 +343,7 @@ pub mod open_shift_managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -409,7 +409,7 @@ pub mod open_shift_managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -438,7 +438,7 @@ pub mod open_shift_managed_clusters { } } pub mod container_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -481,7 +481,7 @@ pub mod container_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -546,7 +546,7 @@ pub mod container_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -628,7 +628,7 @@ pub mod container_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerService), @@ -695,7 +695,7 @@ pub mod container_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -768,7 +768,7 @@ pub mod container_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -838,7 +838,7 @@ pub mod container_services { } } pub mod list_orchestrators { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -859,7 +859,7 @@ pub mod container_services { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerService/operations", operation_config.base_path(),); @@ -895,7 +895,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -916,7 +916,7 @@ pub mod operations { } } pub mod managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -959,7 +959,7 @@ pub mod managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1027,7 +1027,7 @@ pub mod managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1095,7 +1095,7 @@ pub mod managed_clusters { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1159,7 +1159,7 @@ pub mod managed_clusters { } } pub mod get_access_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1230,7 +1230,7 @@ pub mod managed_clusters { } } pub mod list_cluster_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1301,7 +1301,7 @@ pub mod managed_clusters { } } pub mod list_cluster_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1366,7 +1366,7 @@ pub mod managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1442,7 +1442,7 @@ pub mod managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedCluster), @@ -1517,7 +1517,7 @@ pub mod managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1578,7 +1578,7 @@ pub mod managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1651,7 +1651,7 @@ pub mod managed_clusters { } } pub mod reset_service_principal_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1722,7 +1722,7 @@ pub mod managed_clusters { } } pub mod reset_aad_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/containerservice/src/package_2018_09_preview_only/operations.rs b/services/mgmt/containerservice/src/package_2018_09_preview_only/operations.rs index 8f85ec76eb..457cab5655 100644 --- a/services/mgmt/containerservice/src/package_2018_09_preview_only/operations.rs +++ b/services/mgmt/containerservice/src/package_2018_09_preview_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod open_shift_managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -47,7 +47,7 @@ pub mod open_shift_managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -115,7 +115,7 @@ pub mod open_shift_managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -182,7 +182,7 @@ pub mod open_shift_managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -263,7 +263,7 @@ pub mod open_shift_managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OpenShiftManagedCluster), @@ -343,7 +343,7 @@ pub mod open_shift_managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -409,7 +409,7 @@ pub mod open_shift_managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, diff --git a/services/mgmt/containerservice/src/package_2019_02/operations.rs b/services/mgmt/containerservice/src/package_2019_02/operations.rs index bde1385519..3ee994bf51 100644 --- a/services/mgmt/containerservice/src/package_2019_02/operations.rs +++ b/services/mgmt/containerservice/src/package_2019_02/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod open_shift_managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -47,7 +47,7 @@ pub mod open_shift_managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -115,7 +115,7 @@ pub mod open_shift_managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -182,7 +182,7 @@ pub mod open_shift_managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -263,7 +263,7 @@ pub mod open_shift_managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OpenShiftManagedCluster), @@ -343,7 +343,7 @@ pub mod open_shift_managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -409,7 +409,7 @@ pub mod open_shift_managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -438,7 +438,7 @@ pub mod open_shift_managed_clusters { } } pub mod container_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -481,7 +481,7 @@ pub mod container_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -546,7 +546,7 @@ pub mod container_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -628,7 +628,7 @@ pub mod container_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerService), @@ -695,7 +695,7 @@ pub mod container_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -768,7 +768,7 @@ pub mod container_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -838,7 +838,7 @@ pub mod container_services { } } pub mod list_orchestrators { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -859,7 +859,7 @@ pub mod container_services { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerService/operations", operation_config.base_path(),); @@ -897,7 +897,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -921,7 +921,7 @@ pub mod operations { } } pub mod managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -966,7 +966,7 @@ pub mod managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1039,7 +1039,7 @@ pub mod managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1112,7 +1112,7 @@ pub mod managed_clusters { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1181,7 +1181,7 @@ pub mod managed_clusters { } } pub mod get_access_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1257,7 +1257,7 @@ pub mod managed_clusters { } } pub mod list_cluster_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1333,7 +1333,7 @@ pub mod managed_clusters { } } pub mod list_cluster_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1403,7 +1403,7 @@ pub mod managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1484,7 +1484,7 @@ pub mod managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedCluster), @@ -1564,7 +1564,7 @@ pub mod managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1630,7 +1630,7 @@ pub mod managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1708,7 +1708,7 @@ pub mod managed_clusters { } } pub mod reset_service_principal_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1784,7 +1784,7 @@ pub mod managed_clusters { } } pub mod reset_aad_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1813,7 +1813,7 @@ pub mod managed_clusters { } } pub mod agent_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1862,7 +1862,7 @@ pub mod agent_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1934,7 +1934,7 @@ pub mod agent_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2017,7 +2017,7 @@ pub mod agent_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -2090,7 +2090,7 @@ pub mod agent_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, diff --git a/services/mgmt/containerservice/src/package_2019_02_only/operations.rs b/services/mgmt/containerservice/src/package_2019_02_only/operations.rs index 01615dbda3..d6a82c7433 100644 --- a/services/mgmt/containerservice/src/package_2019_02_only/operations.rs +++ b/services/mgmt/containerservice/src/package_2019_02_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerService/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub mod managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -257,7 +257,7 @@ pub mod managed_clusters { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -326,7 +326,7 @@ pub mod managed_clusters { } } pub mod get_access_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -402,7 +402,7 @@ pub mod managed_clusters { } } pub mod list_cluster_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -478,7 +478,7 @@ pub mod managed_clusters { } } pub mod list_cluster_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -548,7 +548,7 @@ pub mod managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -629,7 +629,7 @@ pub mod managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedCluster), @@ -709,7 +709,7 @@ pub mod managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -775,7 +775,7 @@ pub mod managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -853,7 +853,7 @@ pub mod managed_clusters { } } pub mod reset_service_principal_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -929,7 +929,7 @@ pub mod managed_clusters { } } pub mod reset_aad_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -958,7 +958,7 @@ pub mod managed_clusters { } } pub mod agent_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1007,7 +1007,7 @@ pub mod agent_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1079,7 +1079,7 @@ pub mod agent_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1162,7 +1162,7 @@ pub mod agent_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -1235,7 +1235,7 @@ pub mod agent_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, diff --git a/services/mgmt/containerservice/src/package_2019_04/operations.rs b/services/mgmt/containerservice/src/package_2019_04/operations.rs index 4699ba94f1..249688c862 100644 --- a/services/mgmt/containerservice/src/package_2019_04/operations.rs +++ b/services/mgmt/containerservice/src/package_2019_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod open_shift_managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -47,7 +47,7 @@ pub mod open_shift_managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -115,7 +115,7 @@ pub mod open_shift_managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -182,7 +182,7 @@ pub mod open_shift_managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -263,7 +263,7 @@ pub mod open_shift_managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OpenShiftManagedCluster), @@ -343,7 +343,7 @@ pub mod open_shift_managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -409,7 +409,7 @@ pub mod open_shift_managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -438,7 +438,7 @@ pub mod open_shift_managed_clusters { } } pub mod container_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -481,7 +481,7 @@ pub mod container_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -546,7 +546,7 @@ pub mod container_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -628,7 +628,7 @@ pub mod container_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerService), @@ -695,7 +695,7 @@ pub mod container_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -768,7 +768,7 @@ pub mod container_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -838,7 +838,7 @@ pub mod container_services { } } pub mod list_orchestrators { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -859,7 +859,7 @@ pub mod container_services { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerService/operations", operation_config.base_path(),); @@ -897,7 +897,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -921,7 +921,7 @@ pub mod operations { } } pub mod managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -966,7 +966,7 @@ pub mod managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1039,7 +1039,7 @@ pub mod managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1112,7 +1112,7 @@ pub mod managed_clusters { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1181,7 +1181,7 @@ pub mod managed_clusters { } } pub mod get_access_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1257,7 +1257,7 @@ pub mod managed_clusters { } } pub mod list_cluster_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1333,7 +1333,7 @@ pub mod managed_clusters { } } pub mod list_cluster_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1403,7 +1403,7 @@ pub mod managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1484,7 +1484,7 @@ pub mod managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedCluster), @@ -1564,7 +1564,7 @@ pub mod managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1630,7 +1630,7 @@ pub mod managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1708,7 +1708,7 @@ pub mod managed_clusters { } } pub mod reset_service_principal_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1784,7 +1784,7 @@ pub mod managed_clusters { } } pub mod reset_aad_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1813,7 +1813,7 @@ pub mod managed_clusters { } } pub mod agent_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1862,7 +1862,7 @@ pub mod agent_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1934,7 +1934,7 @@ pub mod agent_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2017,7 +2017,7 @@ pub mod agent_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -2090,7 +2090,7 @@ pub mod agent_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, diff --git a/services/mgmt/containerservice/src/package_2019_04_01_only/operations.rs b/services/mgmt/containerservice/src/package_2019_04_01_only/operations.rs index 2fd7533fa9..9409790851 100644 --- a/services/mgmt/containerservice/src/package_2019_04_01_only/operations.rs +++ b/services/mgmt/containerservice/src/package_2019_04_01_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerService/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub mod managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -257,7 +257,7 @@ pub mod managed_clusters { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -326,7 +326,7 @@ pub mod managed_clusters { } } pub mod get_access_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -402,7 +402,7 @@ pub mod managed_clusters { } } pub mod list_cluster_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -478,7 +478,7 @@ pub mod managed_clusters { } } pub mod list_cluster_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -548,7 +548,7 @@ pub mod managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -629,7 +629,7 @@ pub mod managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedCluster), @@ -709,7 +709,7 @@ pub mod managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -775,7 +775,7 @@ pub mod managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -853,7 +853,7 @@ pub mod managed_clusters { } } pub mod reset_service_principal_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -929,7 +929,7 @@ pub mod managed_clusters { } } pub mod reset_aad_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -958,7 +958,7 @@ pub mod managed_clusters { } } pub mod agent_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1007,7 +1007,7 @@ pub mod agent_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1079,7 +1079,7 @@ pub mod agent_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1162,7 +1162,7 @@ pub mod agent_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -1235,7 +1235,7 @@ pub mod agent_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, diff --git a/services/mgmt/containerservice/src/package_2019_04_30_only/operations.rs b/services/mgmt/containerservice/src/package_2019_04_30_only/operations.rs index 8f85ec76eb..457cab5655 100644 --- a/services/mgmt/containerservice/src/package_2019_04_30_only/operations.rs +++ b/services/mgmt/containerservice/src/package_2019_04_30_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod open_shift_managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -47,7 +47,7 @@ pub mod open_shift_managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -115,7 +115,7 @@ pub mod open_shift_managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -182,7 +182,7 @@ pub mod open_shift_managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -263,7 +263,7 @@ pub mod open_shift_managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OpenShiftManagedCluster), @@ -343,7 +343,7 @@ pub mod open_shift_managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -409,7 +409,7 @@ pub mod open_shift_managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, diff --git a/services/mgmt/containerservice/src/package_2019_06/operations.rs b/services/mgmt/containerservice/src/package_2019_06/operations.rs index 556a9ad1c3..a2a6e11e1c 100644 --- a/services/mgmt/containerservice/src/package_2019_06/operations.rs +++ b/services/mgmt/containerservice/src/package_2019_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod open_shift_managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -47,7 +47,7 @@ pub mod open_shift_managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -115,7 +115,7 @@ pub mod open_shift_managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -182,7 +182,7 @@ pub mod open_shift_managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -263,7 +263,7 @@ pub mod open_shift_managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OpenShiftManagedCluster), @@ -343,7 +343,7 @@ pub mod open_shift_managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -409,7 +409,7 @@ pub mod open_shift_managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -438,7 +438,7 @@ pub mod open_shift_managed_clusters { } } pub mod container_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -481,7 +481,7 @@ pub mod container_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -546,7 +546,7 @@ pub mod container_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -628,7 +628,7 @@ pub mod container_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerService), @@ -695,7 +695,7 @@ pub mod container_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -768,7 +768,7 @@ pub mod container_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -838,7 +838,7 @@ pub mod container_services { } } pub mod list_orchestrators { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -859,7 +859,7 @@ pub mod container_services { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerService/operations", operation_config.base_path(),); @@ -897,7 +897,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -921,7 +921,7 @@ pub mod operations { } } pub mod managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -966,7 +966,7 @@ pub mod managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1039,7 +1039,7 @@ pub mod managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1112,7 +1112,7 @@ pub mod managed_clusters { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1181,7 +1181,7 @@ pub mod managed_clusters { } } pub mod get_access_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1257,7 +1257,7 @@ pub mod managed_clusters { } } pub mod list_cluster_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1333,7 +1333,7 @@ pub mod managed_clusters { } } pub mod list_cluster_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1403,7 +1403,7 @@ pub mod managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1484,7 +1484,7 @@ pub mod managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedCluster), @@ -1564,7 +1564,7 @@ pub mod managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1630,7 +1630,7 @@ pub mod managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1708,7 +1708,7 @@ pub mod managed_clusters { } } pub mod reset_service_principal_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1784,7 +1784,7 @@ pub mod managed_clusters { } } pub mod reset_aad_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1813,7 +1813,7 @@ pub mod managed_clusters { } } pub mod agent_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1862,7 +1862,7 @@ pub mod agent_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1934,7 +1934,7 @@ pub mod agent_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2017,7 +2017,7 @@ pub mod agent_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -2090,7 +2090,7 @@ pub mod agent_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2163,7 +2163,7 @@ pub mod agent_pools { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2236,7 +2236,7 @@ pub mod agent_pools { } } pub mod get_available_agent_pool_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/containerservice/src/package_2019_06_01_only/operations.rs b/services/mgmt/containerservice/src/package_2019_06_01_only/operations.rs index aa142acf3b..94687bf5a5 100644 --- a/services/mgmt/containerservice/src/package_2019_06_01_only/operations.rs +++ b/services/mgmt/containerservice/src/package_2019_06_01_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerService/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub mod managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -257,7 +257,7 @@ pub mod managed_clusters { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -326,7 +326,7 @@ pub mod managed_clusters { } } pub mod get_access_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -402,7 +402,7 @@ pub mod managed_clusters { } } pub mod list_cluster_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -478,7 +478,7 @@ pub mod managed_clusters { } } pub mod list_cluster_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -548,7 +548,7 @@ pub mod managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -629,7 +629,7 @@ pub mod managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedCluster), @@ -709,7 +709,7 @@ pub mod managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -775,7 +775,7 @@ pub mod managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -853,7 +853,7 @@ pub mod managed_clusters { } } pub mod reset_service_principal_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -929,7 +929,7 @@ pub mod managed_clusters { } } pub mod reset_aad_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -958,7 +958,7 @@ pub mod managed_clusters { } } pub mod agent_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1007,7 +1007,7 @@ pub mod agent_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1079,7 +1079,7 @@ pub mod agent_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1162,7 +1162,7 @@ pub mod agent_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -1235,7 +1235,7 @@ pub mod agent_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1308,7 +1308,7 @@ pub mod agent_pools { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1381,7 +1381,7 @@ pub mod agent_pools { } } pub mod get_available_agent_pool_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/containerservice/src/package_2019_08/operations.rs b/services/mgmt/containerservice/src/package_2019_08/operations.rs index f0e88acab3..9edafd0127 100644 --- a/services/mgmt/containerservice/src/package_2019_08/operations.rs +++ b/services/mgmt/containerservice/src/package_2019_08/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod open_shift_managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -47,7 +47,7 @@ pub mod open_shift_managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -115,7 +115,7 @@ pub mod open_shift_managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -182,7 +182,7 @@ pub mod open_shift_managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -263,7 +263,7 @@ pub mod open_shift_managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OpenShiftManagedCluster), @@ -343,7 +343,7 @@ pub mod open_shift_managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -409,7 +409,7 @@ pub mod open_shift_managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -438,7 +438,7 @@ pub mod open_shift_managed_clusters { } } pub mod container_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -481,7 +481,7 @@ pub mod container_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -546,7 +546,7 @@ pub mod container_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -628,7 +628,7 @@ pub mod container_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerService), @@ -695,7 +695,7 @@ pub mod container_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -768,7 +768,7 @@ pub mod container_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -838,7 +838,7 @@ pub mod container_services { } } pub mod list_orchestrators { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -859,7 +859,7 @@ pub mod container_services { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerService/operations", operation_config.base_path(),); @@ -897,7 +897,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -921,7 +921,7 @@ pub mod operations { } } pub mod managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -966,7 +966,7 @@ pub mod managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1039,7 +1039,7 @@ pub mod managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1112,7 +1112,7 @@ pub mod managed_clusters { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1181,7 +1181,7 @@ pub mod managed_clusters { } } pub mod get_access_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1257,7 +1257,7 @@ pub mod managed_clusters { } } pub mod list_cluster_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1333,7 +1333,7 @@ pub mod managed_clusters { } } pub mod list_cluster_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1403,7 +1403,7 @@ pub mod managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1484,7 +1484,7 @@ pub mod managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedCluster), @@ -1564,7 +1564,7 @@ pub mod managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1630,7 +1630,7 @@ pub mod managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1708,7 +1708,7 @@ pub mod managed_clusters { } } pub mod reset_service_principal_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1784,7 +1784,7 @@ pub mod managed_clusters { } } pub mod reset_aad_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1861,7 +1861,7 @@ pub mod managed_clusters { } } pub mod rotate_cluster_certificates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1890,7 +1890,7 @@ pub mod managed_clusters { } } pub mod agent_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1939,7 +1939,7 @@ pub mod agent_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2011,7 +2011,7 @@ pub mod agent_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2094,7 +2094,7 @@ pub mod agent_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -2167,7 +2167,7 @@ pub mod agent_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2240,7 +2240,7 @@ pub mod agent_pools { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2313,7 +2313,7 @@ pub mod agent_pools { } } pub mod get_available_agent_pool_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/containerservice/src/package_2019_08_01_only/operations.rs b/services/mgmt/containerservice/src/package_2019_08_01_only/operations.rs index 43fa64c1c0..f21207d6ba 100644 --- a/services/mgmt/containerservice/src/package_2019_08_01_only/operations.rs +++ b/services/mgmt/containerservice/src/package_2019_08_01_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerService/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub mod managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -257,7 +257,7 @@ pub mod managed_clusters { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -326,7 +326,7 @@ pub mod managed_clusters { } } pub mod get_access_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -402,7 +402,7 @@ pub mod managed_clusters { } } pub mod list_cluster_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -478,7 +478,7 @@ pub mod managed_clusters { } } pub mod list_cluster_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -548,7 +548,7 @@ pub mod managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -629,7 +629,7 @@ pub mod managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedCluster), @@ -709,7 +709,7 @@ pub mod managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -775,7 +775,7 @@ pub mod managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -853,7 +853,7 @@ pub mod managed_clusters { } } pub mod reset_service_principal_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -929,7 +929,7 @@ pub mod managed_clusters { } } pub mod reset_aad_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1006,7 +1006,7 @@ pub mod managed_clusters { } } pub mod rotate_cluster_certificates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1035,7 +1035,7 @@ pub mod managed_clusters { } } pub mod agent_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1084,7 +1084,7 @@ pub mod agent_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1156,7 +1156,7 @@ pub mod agent_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1239,7 +1239,7 @@ pub mod agent_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -1312,7 +1312,7 @@ pub mod agent_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1385,7 +1385,7 @@ pub mod agent_pools { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1458,7 +1458,7 @@ pub mod agent_pools { } } pub mod get_available_agent_pool_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/containerservice/src/package_2019_09_30_preview/operations.rs b/services/mgmt/containerservice/src/package_2019_09_30_preview/operations.rs index f0e88acab3..9edafd0127 100644 --- a/services/mgmt/containerservice/src/package_2019_09_30_preview/operations.rs +++ b/services/mgmt/containerservice/src/package_2019_09_30_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod open_shift_managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -47,7 +47,7 @@ pub mod open_shift_managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -115,7 +115,7 @@ pub mod open_shift_managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -182,7 +182,7 @@ pub mod open_shift_managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -263,7 +263,7 @@ pub mod open_shift_managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OpenShiftManagedCluster), @@ -343,7 +343,7 @@ pub mod open_shift_managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -409,7 +409,7 @@ pub mod open_shift_managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -438,7 +438,7 @@ pub mod open_shift_managed_clusters { } } pub mod container_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -481,7 +481,7 @@ pub mod container_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -546,7 +546,7 @@ pub mod container_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -628,7 +628,7 @@ pub mod container_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerService), @@ -695,7 +695,7 @@ pub mod container_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -768,7 +768,7 @@ pub mod container_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -838,7 +838,7 @@ pub mod container_services { } } pub mod list_orchestrators { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -859,7 +859,7 @@ pub mod container_services { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerService/operations", operation_config.base_path(),); @@ -897,7 +897,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -921,7 +921,7 @@ pub mod operations { } } pub mod managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -966,7 +966,7 @@ pub mod managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1039,7 +1039,7 @@ pub mod managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1112,7 +1112,7 @@ pub mod managed_clusters { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1181,7 +1181,7 @@ pub mod managed_clusters { } } pub mod get_access_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1257,7 +1257,7 @@ pub mod managed_clusters { } } pub mod list_cluster_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1333,7 +1333,7 @@ pub mod managed_clusters { } } pub mod list_cluster_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1403,7 +1403,7 @@ pub mod managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1484,7 +1484,7 @@ pub mod managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedCluster), @@ -1564,7 +1564,7 @@ pub mod managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1630,7 +1630,7 @@ pub mod managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1708,7 +1708,7 @@ pub mod managed_clusters { } } pub mod reset_service_principal_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1784,7 +1784,7 @@ pub mod managed_clusters { } } pub mod reset_aad_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1861,7 +1861,7 @@ pub mod managed_clusters { } } pub mod rotate_cluster_certificates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1890,7 +1890,7 @@ pub mod managed_clusters { } } pub mod agent_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1939,7 +1939,7 @@ pub mod agent_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2011,7 +2011,7 @@ pub mod agent_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2094,7 +2094,7 @@ pub mod agent_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -2167,7 +2167,7 @@ pub mod agent_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2240,7 +2240,7 @@ pub mod agent_pools { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2313,7 +2313,7 @@ pub mod agent_pools { } } pub mod get_available_agent_pool_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/containerservice/src/package_2019_09_preview_only/operations.rs b/services/mgmt/containerservice/src/package_2019_09_preview_only/operations.rs index 8f85ec76eb..457cab5655 100644 --- a/services/mgmt/containerservice/src/package_2019_09_preview_only/operations.rs +++ b/services/mgmt/containerservice/src/package_2019_09_preview_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod open_shift_managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -47,7 +47,7 @@ pub mod open_shift_managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -115,7 +115,7 @@ pub mod open_shift_managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -182,7 +182,7 @@ pub mod open_shift_managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -263,7 +263,7 @@ pub mod open_shift_managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OpenShiftManagedCluster), @@ -343,7 +343,7 @@ pub mod open_shift_managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -409,7 +409,7 @@ pub mod open_shift_managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, diff --git a/services/mgmt/containerservice/src/package_2019_10/operations.rs b/services/mgmt/containerservice/src/package_2019_10/operations.rs index 258c1db1da..59c0a0b076 100644 --- a/services/mgmt/containerservice/src/package_2019_10/operations.rs +++ b/services/mgmt/containerservice/src/package_2019_10/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod open_shift_managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -47,7 +47,7 @@ pub mod open_shift_managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -115,7 +115,7 @@ pub mod open_shift_managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -182,7 +182,7 @@ pub mod open_shift_managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -263,7 +263,7 @@ pub mod open_shift_managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OpenShiftManagedCluster), @@ -343,7 +343,7 @@ pub mod open_shift_managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -409,7 +409,7 @@ pub mod open_shift_managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -438,7 +438,7 @@ pub mod open_shift_managed_clusters { } } pub mod container_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -481,7 +481,7 @@ pub mod container_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -546,7 +546,7 @@ pub mod container_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -628,7 +628,7 @@ pub mod container_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerService), @@ -695,7 +695,7 @@ pub mod container_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -768,7 +768,7 @@ pub mod container_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -838,7 +838,7 @@ pub mod container_services { } } pub mod list_orchestrators { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -859,7 +859,7 @@ pub mod container_services { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerService/operations", operation_config.base_path(),); @@ -897,7 +897,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -921,7 +921,7 @@ pub mod operations { } } pub mod managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -966,7 +966,7 @@ pub mod managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1039,7 +1039,7 @@ pub mod managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1112,7 +1112,7 @@ pub mod managed_clusters { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1181,7 +1181,7 @@ pub mod managed_clusters { } } pub mod get_access_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1257,7 +1257,7 @@ pub mod managed_clusters { } } pub mod list_cluster_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1333,7 +1333,7 @@ pub mod managed_clusters { } } pub mod list_cluster_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1403,7 +1403,7 @@ pub mod managed_clusters { } } pub mod list_cluster_monitoring_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1473,7 +1473,7 @@ pub mod managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1554,7 +1554,7 @@ pub mod managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedCluster), @@ -1634,7 +1634,7 @@ pub mod managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1700,7 +1700,7 @@ pub mod managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1778,7 +1778,7 @@ pub mod managed_clusters { } } pub mod reset_service_principal_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1854,7 +1854,7 @@ pub mod managed_clusters { } } pub mod reset_aad_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1931,7 +1931,7 @@ pub mod managed_clusters { } } pub mod rotate_cluster_certificates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1960,7 +1960,7 @@ pub mod managed_clusters { } } pub mod agent_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2009,7 +2009,7 @@ pub mod agent_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2081,7 +2081,7 @@ pub mod agent_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2164,7 +2164,7 @@ pub mod agent_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -2237,7 +2237,7 @@ pub mod agent_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2310,7 +2310,7 @@ pub mod agent_pools { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2383,7 +2383,7 @@ pub mod agent_pools { } } pub mod get_available_agent_pool_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/containerservice/src/package_2019_10_01_only/operations.rs b/services/mgmt/containerservice/src/package_2019_10_01_only/operations.rs index aefbbe3a38..fd13e63c7e 100644 --- a/services/mgmt/containerservice/src/package_2019_10_01_only/operations.rs +++ b/services/mgmt/containerservice/src/package_2019_10_01_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerService/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub mod managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -257,7 +257,7 @@ pub mod managed_clusters { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -326,7 +326,7 @@ pub mod managed_clusters { } } pub mod get_access_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -402,7 +402,7 @@ pub mod managed_clusters { } } pub mod list_cluster_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -478,7 +478,7 @@ pub mod managed_clusters { } } pub mod list_cluster_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -548,7 +548,7 @@ pub mod managed_clusters { } } pub mod list_cluster_monitoring_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -618,7 +618,7 @@ pub mod managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -699,7 +699,7 @@ pub mod managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedCluster), @@ -779,7 +779,7 @@ pub mod managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -845,7 +845,7 @@ pub mod managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -923,7 +923,7 @@ pub mod managed_clusters { } } pub mod reset_service_principal_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -999,7 +999,7 @@ pub mod managed_clusters { } } pub mod reset_aad_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1076,7 +1076,7 @@ pub mod managed_clusters { } } pub mod rotate_cluster_certificates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1105,7 +1105,7 @@ pub mod managed_clusters { } } pub mod agent_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1154,7 +1154,7 @@ pub mod agent_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1226,7 +1226,7 @@ pub mod agent_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1309,7 +1309,7 @@ pub mod agent_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -1382,7 +1382,7 @@ pub mod agent_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1455,7 +1455,7 @@ pub mod agent_pools { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1528,7 +1528,7 @@ pub mod agent_pools { } } pub mod get_available_agent_pool_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/containerservice/src/package_2019_10_27_preview/operations.rs b/services/mgmt/containerservice/src/package_2019_10_27_preview/operations.rs index 258c1db1da..59c0a0b076 100644 --- a/services/mgmt/containerservice/src/package_2019_10_27_preview/operations.rs +++ b/services/mgmt/containerservice/src/package_2019_10_27_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod open_shift_managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -47,7 +47,7 @@ pub mod open_shift_managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -115,7 +115,7 @@ pub mod open_shift_managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -182,7 +182,7 @@ pub mod open_shift_managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -263,7 +263,7 @@ pub mod open_shift_managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OpenShiftManagedCluster), @@ -343,7 +343,7 @@ pub mod open_shift_managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -409,7 +409,7 @@ pub mod open_shift_managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -438,7 +438,7 @@ pub mod open_shift_managed_clusters { } } pub mod container_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -481,7 +481,7 @@ pub mod container_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -546,7 +546,7 @@ pub mod container_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -628,7 +628,7 @@ pub mod container_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerService), @@ -695,7 +695,7 @@ pub mod container_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -768,7 +768,7 @@ pub mod container_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -838,7 +838,7 @@ pub mod container_services { } } pub mod list_orchestrators { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -859,7 +859,7 @@ pub mod container_services { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerService/operations", operation_config.base_path(),); @@ -897,7 +897,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -921,7 +921,7 @@ pub mod operations { } } pub mod managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -966,7 +966,7 @@ pub mod managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1039,7 +1039,7 @@ pub mod managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1112,7 +1112,7 @@ pub mod managed_clusters { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1181,7 +1181,7 @@ pub mod managed_clusters { } } pub mod get_access_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1257,7 +1257,7 @@ pub mod managed_clusters { } } pub mod list_cluster_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1333,7 +1333,7 @@ pub mod managed_clusters { } } pub mod list_cluster_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1403,7 +1403,7 @@ pub mod managed_clusters { } } pub mod list_cluster_monitoring_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1473,7 +1473,7 @@ pub mod managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1554,7 +1554,7 @@ pub mod managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedCluster), @@ -1634,7 +1634,7 @@ pub mod managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1700,7 +1700,7 @@ pub mod managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1778,7 +1778,7 @@ pub mod managed_clusters { } } pub mod reset_service_principal_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1854,7 +1854,7 @@ pub mod managed_clusters { } } pub mod reset_aad_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1931,7 +1931,7 @@ pub mod managed_clusters { } } pub mod rotate_cluster_certificates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1960,7 +1960,7 @@ pub mod managed_clusters { } } pub mod agent_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2009,7 +2009,7 @@ pub mod agent_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2081,7 +2081,7 @@ pub mod agent_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2164,7 +2164,7 @@ pub mod agent_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -2237,7 +2237,7 @@ pub mod agent_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2310,7 +2310,7 @@ pub mod agent_pools { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2383,7 +2383,7 @@ pub mod agent_pools { } } pub mod get_available_agent_pool_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/containerservice/src/package_2019_10_27_preview_only/operations.rs b/services/mgmt/containerservice/src/package_2019_10_27_preview_only/operations.rs index 8f85ec76eb..457cab5655 100644 --- a/services/mgmt/containerservice/src/package_2019_10_27_preview_only/operations.rs +++ b/services/mgmt/containerservice/src/package_2019_10_27_preview_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod open_shift_managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -47,7 +47,7 @@ pub mod open_shift_managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -115,7 +115,7 @@ pub mod open_shift_managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -182,7 +182,7 @@ pub mod open_shift_managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -263,7 +263,7 @@ pub mod open_shift_managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OpenShiftManagedCluster), @@ -343,7 +343,7 @@ pub mod open_shift_managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -409,7 +409,7 @@ pub mod open_shift_managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, diff --git a/services/mgmt/containerservice/src/package_2019_11/operations.rs b/services/mgmt/containerservice/src/package_2019_11/operations.rs index 258c1db1da..59c0a0b076 100644 --- a/services/mgmt/containerservice/src/package_2019_11/operations.rs +++ b/services/mgmt/containerservice/src/package_2019_11/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod open_shift_managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -47,7 +47,7 @@ pub mod open_shift_managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -115,7 +115,7 @@ pub mod open_shift_managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -182,7 +182,7 @@ pub mod open_shift_managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -263,7 +263,7 @@ pub mod open_shift_managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OpenShiftManagedCluster), @@ -343,7 +343,7 @@ pub mod open_shift_managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -409,7 +409,7 @@ pub mod open_shift_managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -438,7 +438,7 @@ pub mod open_shift_managed_clusters { } } pub mod container_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -481,7 +481,7 @@ pub mod container_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -546,7 +546,7 @@ pub mod container_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -628,7 +628,7 @@ pub mod container_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerService), @@ -695,7 +695,7 @@ pub mod container_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -768,7 +768,7 @@ pub mod container_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -838,7 +838,7 @@ pub mod container_services { } } pub mod list_orchestrators { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -859,7 +859,7 @@ pub mod container_services { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerService/operations", operation_config.base_path(),); @@ -897,7 +897,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -921,7 +921,7 @@ pub mod operations { } } pub mod managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -966,7 +966,7 @@ pub mod managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1039,7 +1039,7 @@ pub mod managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1112,7 +1112,7 @@ pub mod managed_clusters { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1181,7 +1181,7 @@ pub mod managed_clusters { } } pub mod get_access_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1257,7 +1257,7 @@ pub mod managed_clusters { } } pub mod list_cluster_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1333,7 +1333,7 @@ pub mod managed_clusters { } } pub mod list_cluster_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1403,7 +1403,7 @@ pub mod managed_clusters { } } pub mod list_cluster_monitoring_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1473,7 +1473,7 @@ pub mod managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1554,7 +1554,7 @@ pub mod managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedCluster), @@ -1634,7 +1634,7 @@ pub mod managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1700,7 +1700,7 @@ pub mod managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1778,7 +1778,7 @@ pub mod managed_clusters { } } pub mod reset_service_principal_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1854,7 +1854,7 @@ pub mod managed_clusters { } } pub mod reset_aad_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1931,7 +1931,7 @@ pub mod managed_clusters { } } pub mod rotate_cluster_certificates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1960,7 +1960,7 @@ pub mod managed_clusters { } } pub mod agent_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2009,7 +2009,7 @@ pub mod agent_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2081,7 +2081,7 @@ pub mod agent_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2164,7 +2164,7 @@ pub mod agent_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -2237,7 +2237,7 @@ pub mod agent_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2310,7 +2310,7 @@ pub mod agent_pools { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2383,7 +2383,7 @@ pub mod agent_pools { } } pub mod get_available_agent_pool_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/containerservice/src/package_2019_11_01_only/operations.rs b/services/mgmt/containerservice/src/package_2019_11_01_only/operations.rs index aefbbe3a38..fd13e63c7e 100644 --- a/services/mgmt/containerservice/src/package_2019_11_01_only/operations.rs +++ b/services/mgmt/containerservice/src/package_2019_11_01_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerService/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub mod managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -257,7 +257,7 @@ pub mod managed_clusters { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -326,7 +326,7 @@ pub mod managed_clusters { } } pub mod get_access_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -402,7 +402,7 @@ pub mod managed_clusters { } } pub mod list_cluster_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -478,7 +478,7 @@ pub mod managed_clusters { } } pub mod list_cluster_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -548,7 +548,7 @@ pub mod managed_clusters { } } pub mod list_cluster_monitoring_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -618,7 +618,7 @@ pub mod managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -699,7 +699,7 @@ pub mod managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedCluster), @@ -779,7 +779,7 @@ pub mod managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -845,7 +845,7 @@ pub mod managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -923,7 +923,7 @@ pub mod managed_clusters { } } pub mod reset_service_principal_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -999,7 +999,7 @@ pub mod managed_clusters { } } pub mod reset_aad_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1076,7 +1076,7 @@ pub mod managed_clusters { } } pub mod rotate_cluster_certificates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1105,7 +1105,7 @@ pub mod managed_clusters { } } pub mod agent_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1154,7 +1154,7 @@ pub mod agent_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1226,7 +1226,7 @@ pub mod agent_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1309,7 +1309,7 @@ pub mod agent_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -1382,7 +1382,7 @@ pub mod agent_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1455,7 +1455,7 @@ pub mod agent_pools { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1528,7 +1528,7 @@ pub mod agent_pools { } } pub mod get_available_agent_pool_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/containerservice/src/package_2020_01/operations.rs b/services/mgmt/containerservice/src/package_2020_01/operations.rs index 258c1db1da..59c0a0b076 100644 --- a/services/mgmt/containerservice/src/package_2020_01/operations.rs +++ b/services/mgmt/containerservice/src/package_2020_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod open_shift_managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -47,7 +47,7 @@ pub mod open_shift_managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -115,7 +115,7 @@ pub mod open_shift_managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -182,7 +182,7 @@ pub mod open_shift_managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -263,7 +263,7 @@ pub mod open_shift_managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OpenShiftManagedCluster), @@ -343,7 +343,7 @@ pub mod open_shift_managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -409,7 +409,7 @@ pub mod open_shift_managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -438,7 +438,7 @@ pub mod open_shift_managed_clusters { } } pub mod container_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -481,7 +481,7 @@ pub mod container_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -546,7 +546,7 @@ pub mod container_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -628,7 +628,7 @@ pub mod container_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerService), @@ -695,7 +695,7 @@ pub mod container_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -768,7 +768,7 @@ pub mod container_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -838,7 +838,7 @@ pub mod container_services { } } pub mod list_orchestrators { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -859,7 +859,7 @@ pub mod container_services { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerService/operations", operation_config.base_path(),); @@ -897,7 +897,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -921,7 +921,7 @@ pub mod operations { } } pub mod managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -966,7 +966,7 @@ pub mod managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1039,7 +1039,7 @@ pub mod managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1112,7 +1112,7 @@ pub mod managed_clusters { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1181,7 +1181,7 @@ pub mod managed_clusters { } } pub mod get_access_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1257,7 +1257,7 @@ pub mod managed_clusters { } } pub mod list_cluster_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1333,7 +1333,7 @@ pub mod managed_clusters { } } pub mod list_cluster_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1403,7 +1403,7 @@ pub mod managed_clusters { } } pub mod list_cluster_monitoring_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1473,7 +1473,7 @@ pub mod managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1554,7 +1554,7 @@ pub mod managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedCluster), @@ -1634,7 +1634,7 @@ pub mod managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1700,7 +1700,7 @@ pub mod managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1778,7 +1778,7 @@ pub mod managed_clusters { } } pub mod reset_service_principal_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1854,7 +1854,7 @@ pub mod managed_clusters { } } pub mod reset_aad_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1931,7 +1931,7 @@ pub mod managed_clusters { } } pub mod rotate_cluster_certificates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1960,7 +1960,7 @@ pub mod managed_clusters { } } pub mod agent_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2009,7 +2009,7 @@ pub mod agent_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2081,7 +2081,7 @@ pub mod agent_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2164,7 +2164,7 @@ pub mod agent_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -2237,7 +2237,7 @@ pub mod agent_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2310,7 +2310,7 @@ pub mod agent_pools { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2383,7 +2383,7 @@ pub mod agent_pools { } } pub mod get_available_agent_pool_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/containerservice/src/package_2020_01_01_only/operations.rs b/services/mgmt/containerservice/src/package_2020_01_01_only/operations.rs index aefbbe3a38..fd13e63c7e 100644 --- a/services/mgmt/containerservice/src/package_2020_01_01_only/operations.rs +++ b/services/mgmt/containerservice/src/package_2020_01_01_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerService/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub mod managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -257,7 +257,7 @@ pub mod managed_clusters { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -326,7 +326,7 @@ pub mod managed_clusters { } } pub mod get_access_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -402,7 +402,7 @@ pub mod managed_clusters { } } pub mod list_cluster_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -478,7 +478,7 @@ pub mod managed_clusters { } } pub mod list_cluster_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -548,7 +548,7 @@ pub mod managed_clusters { } } pub mod list_cluster_monitoring_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -618,7 +618,7 @@ pub mod managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -699,7 +699,7 @@ pub mod managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedCluster), @@ -779,7 +779,7 @@ pub mod managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -845,7 +845,7 @@ pub mod managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -923,7 +923,7 @@ pub mod managed_clusters { } } pub mod reset_service_principal_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -999,7 +999,7 @@ pub mod managed_clusters { } } pub mod reset_aad_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1076,7 +1076,7 @@ pub mod managed_clusters { } } pub mod rotate_cluster_certificates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1105,7 +1105,7 @@ pub mod managed_clusters { } } pub mod agent_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1154,7 +1154,7 @@ pub mod agent_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1226,7 +1226,7 @@ pub mod agent_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1309,7 +1309,7 @@ pub mod agent_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -1382,7 +1382,7 @@ pub mod agent_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1455,7 +1455,7 @@ pub mod agent_pools { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1528,7 +1528,7 @@ pub mod agent_pools { } } pub mod get_available_agent_pool_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/containerservice/src/package_2020_02/operations.rs b/services/mgmt/containerservice/src/package_2020_02/operations.rs index 258c1db1da..59c0a0b076 100644 --- a/services/mgmt/containerservice/src/package_2020_02/operations.rs +++ b/services/mgmt/containerservice/src/package_2020_02/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod open_shift_managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -47,7 +47,7 @@ pub mod open_shift_managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -115,7 +115,7 @@ pub mod open_shift_managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -182,7 +182,7 @@ pub mod open_shift_managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -263,7 +263,7 @@ pub mod open_shift_managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OpenShiftManagedCluster), @@ -343,7 +343,7 @@ pub mod open_shift_managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -409,7 +409,7 @@ pub mod open_shift_managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -438,7 +438,7 @@ pub mod open_shift_managed_clusters { } } pub mod container_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -481,7 +481,7 @@ pub mod container_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -546,7 +546,7 @@ pub mod container_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -628,7 +628,7 @@ pub mod container_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerService), @@ -695,7 +695,7 @@ pub mod container_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -768,7 +768,7 @@ pub mod container_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -838,7 +838,7 @@ pub mod container_services { } } pub mod list_orchestrators { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -859,7 +859,7 @@ pub mod container_services { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerService/operations", operation_config.base_path(),); @@ -897,7 +897,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -921,7 +921,7 @@ pub mod operations { } } pub mod managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -966,7 +966,7 @@ pub mod managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1039,7 +1039,7 @@ pub mod managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1112,7 +1112,7 @@ pub mod managed_clusters { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1181,7 +1181,7 @@ pub mod managed_clusters { } } pub mod get_access_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1257,7 +1257,7 @@ pub mod managed_clusters { } } pub mod list_cluster_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1333,7 +1333,7 @@ pub mod managed_clusters { } } pub mod list_cluster_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1403,7 +1403,7 @@ pub mod managed_clusters { } } pub mod list_cluster_monitoring_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1473,7 +1473,7 @@ pub mod managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1554,7 +1554,7 @@ pub mod managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedCluster), @@ -1634,7 +1634,7 @@ pub mod managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1700,7 +1700,7 @@ pub mod managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1778,7 +1778,7 @@ pub mod managed_clusters { } } pub mod reset_service_principal_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1854,7 +1854,7 @@ pub mod managed_clusters { } } pub mod reset_aad_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1931,7 +1931,7 @@ pub mod managed_clusters { } } pub mod rotate_cluster_certificates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1960,7 +1960,7 @@ pub mod managed_clusters { } } pub mod agent_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2009,7 +2009,7 @@ pub mod agent_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2081,7 +2081,7 @@ pub mod agent_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2164,7 +2164,7 @@ pub mod agent_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -2237,7 +2237,7 @@ pub mod agent_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2310,7 +2310,7 @@ pub mod agent_pools { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2383,7 +2383,7 @@ pub mod agent_pools { } } pub mod get_available_agent_pool_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/containerservice/src/package_2020_02_01_only/operations.rs b/services/mgmt/containerservice/src/package_2020_02_01_only/operations.rs index aefbbe3a38..fd13e63c7e 100644 --- a/services/mgmt/containerservice/src/package_2020_02_01_only/operations.rs +++ b/services/mgmt/containerservice/src/package_2020_02_01_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerService/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub mod managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -257,7 +257,7 @@ pub mod managed_clusters { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -326,7 +326,7 @@ pub mod managed_clusters { } } pub mod get_access_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -402,7 +402,7 @@ pub mod managed_clusters { } } pub mod list_cluster_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -478,7 +478,7 @@ pub mod managed_clusters { } } pub mod list_cluster_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -548,7 +548,7 @@ pub mod managed_clusters { } } pub mod list_cluster_monitoring_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -618,7 +618,7 @@ pub mod managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -699,7 +699,7 @@ pub mod managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedCluster), @@ -779,7 +779,7 @@ pub mod managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -845,7 +845,7 @@ pub mod managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -923,7 +923,7 @@ pub mod managed_clusters { } } pub mod reset_service_principal_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -999,7 +999,7 @@ pub mod managed_clusters { } } pub mod reset_aad_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1076,7 +1076,7 @@ pub mod managed_clusters { } } pub mod rotate_cluster_certificates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1105,7 +1105,7 @@ pub mod managed_clusters { } } pub mod agent_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1154,7 +1154,7 @@ pub mod agent_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1226,7 +1226,7 @@ pub mod agent_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1309,7 +1309,7 @@ pub mod agent_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -1382,7 +1382,7 @@ pub mod agent_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1455,7 +1455,7 @@ pub mod agent_pools { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1528,7 +1528,7 @@ pub mod agent_pools { } } pub mod get_available_agent_pool_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/containerservice/src/package_2020_03/operations.rs b/services/mgmt/containerservice/src/package_2020_03/operations.rs index 258c1db1da..59c0a0b076 100644 --- a/services/mgmt/containerservice/src/package_2020_03/operations.rs +++ b/services/mgmt/containerservice/src/package_2020_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod open_shift_managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -47,7 +47,7 @@ pub mod open_shift_managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -115,7 +115,7 @@ pub mod open_shift_managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -182,7 +182,7 @@ pub mod open_shift_managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -263,7 +263,7 @@ pub mod open_shift_managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OpenShiftManagedCluster), @@ -343,7 +343,7 @@ pub mod open_shift_managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -409,7 +409,7 @@ pub mod open_shift_managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -438,7 +438,7 @@ pub mod open_shift_managed_clusters { } } pub mod container_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -481,7 +481,7 @@ pub mod container_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -546,7 +546,7 @@ pub mod container_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -628,7 +628,7 @@ pub mod container_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerService), @@ -695,7 +695,7 @@ pub mod container_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -768,7 +768,7 @@ pub mod container_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -838,7 +838,7 @@ pub mod container_services { } } pub mod list_orchestrators { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -859,7 +859,7 @@ pub mod container_services { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerService/operations", operation_config.base_path(),); @@ -897,7 +897,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -921,7 +921,7 @@ pub mod operations { } } pub mod managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -966,7 +966,7 @@ pub mod managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1039,7 +1039,7 @@ pub mod managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1112,7 +1112,7 @@ pub mod managed_clusters { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1181,7 +1181,7 @@ pub mod managed_clusters { } } pub mod get_access_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1257,7 +1257,7 @@ pub mod managed_clusters { } } pub mod list_cluster_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1333,7 +1333,7 @@ pub mod managed_clusters { } } pub mod list_cluster_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1403,7 +1403,7 @@ pub mod managed_clusters { } } pub mod list_cluster_monitoring_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1473,7 +1473,7 @@ pub mod managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1554,7 +1554,7 @@ pub mod managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedCluster), @@ -1634,7 +1634,7 @@ pub mod managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1700,7 +1700,7 @@ pub mod managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1778,7 +1778,7 @@ pub mod managed_clusters { } } pub mod reset_service_principal_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1854,7 +1854,7 @@ pub mod managed_clusters { } } pub mod reset_aad_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1931,7 +1931,7 @@ pub mod managed_clusters { } } pub mod rotate_cluster_certificates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1960,7 +1960,7 @@ pub mod managed_clusters { } } pub mod agent_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2009,7 +2009,7 @@ pub mod agent_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2081,7 +2081,7 @@ pub mod agent_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2164,7 +2164,7 @@ pub mod agent_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -2237,7 +2237,7 @@ pub mod agent_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2310,7 +2310,7 @@ pub mod agent_pools { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2383,7 +2383,7 @@ pub mod agent_pools { } } pub mod get_available_agent_pool_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/containerservice/src/package_2020_03_01_only/operations.rs b/services/mgmt/containerservice/src/package_2020_03_01_only/operations.rs index aefbbe3a38..fd13e63c7e 100644 --- a/services/mgmt/containerservice/src/package_2020_03_01_only/operations.rs +++ b/services/mgmt/containerservice/src/package_2020_03_01_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerService/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub mod managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -257,7 +257,7 @@ pub mod managed_clusters { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -326,7 +326,7 @@ pub mod managed_clusters { } } pub mod get_access_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -402,7 +402,7 @@ pub mod managed_clusters { } } pub mod list_cluster_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -478,7 +478,7 @@ pub mod managed_clusters { } } pub mod list_cluster_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -548,7 +548,7 @@ pub mod managed_clusters { } } pub mod list_cluster_monitoring_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -618,7 +618,7 @@ pub mod managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -699,7 +699,7 @@ pub mod managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedCluster), @@ -779,7 +779,7 @@ pub mod managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -845,7 +845,7 @@ pub mod managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -923,7 +923,7 @@ pub mod managed_clusters { } } pub mod reset_service_principal_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -999,7 +999,7 @@ pub mod managed_clusters { } } pub mod reset_aad_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1076,7 +1076,7 @@ pub mod managed_clusters { } } pub mod rotate_cluster_certificates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1105,7 +1105,7 @@ pub mod managed_clusters { } } pub mod agent_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1154,7 +1154,7 @@ pub mod agent_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1226,7 +1226,7 @@ pub mod agent_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1309,7 +1309,7 @@ pub mod agent_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -1382,7 +1382,7 @@ pub mod agent_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1455,7 +1455,7 @@ pub mod agent_pools { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1528,7 +1528,7 @@ pub mod agent_pools { } } pub mod get_available_agent_pool_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/containerservice/src/package_2020_04/operations.rs b/services/mgmt/containerservice/src/package_2020_04/operations.rs index 258c1db1da..59c0a0b076 100644 --- a/services/mgmt/containerservice/src/package_2020_04/operations.rs +++ b/services/mgmt/containerservice/src/package_2020_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod open_shift_managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -47,7 +47,7 @@ pub mod open_shift_managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -115,7 +115,7 @@ pub mod open_shift_managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -182,7 +182,7 @@ pub mod open_shift_managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -263,7 +263,7 @@ pub mod open_shift_managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OpenShiftManagedCluster), @@ -343,7 +343,7 @@ pub mod open_shift_managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -409,7 +409,7 @@ pub mod open_shift_managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -438,7 +438,7 @@ pub mod open_shift_managed_clusters { } } pub mod container_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -481,7 +481,7 @@ pub mod container_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -546,7 +546,7 @@ pub mod container_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -628,7 +628,7 @@ pub mod container_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerService), @@ -695,7 +695,7 @@ pub mod container_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -768,7 +768,7 @@ pub mod container_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -838,7 +838,7 @@ pub mod container_services { } } pub mod list_orchestrators { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -859,7 +859,7 @@ pub mod container_services { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerService/operations", operation_config.base_path(),); @@ -897,7 +897,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -921,7 +921,7 @@ pub mod operations { } } pub mod managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -966,7 +966,7 @@ pub mod managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1039,7 +1039,7 @@ pub mod managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1112,7 +1112,7 @@ pub mod managed_clusters { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1181,7 +1181,7 @@ pub mod managed_clusters { } } pub mod get_access_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1257,7 +1257,7 @@ pub mod managed_clusters { } } pub mod list_cluster_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1333,7 +1333,7 @@ pub mod managed_clusters { } } pub mod list_cluster_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1403,7 +1403,7 @@ pub mod managed_clusters { } } pub mod list_cluster_monitoring_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1473,7 +1473,7 @@ pub mod managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1554,7 +1554,7 @@ pub mod managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedCluster), @@ -1634,7 +1634,7 @@ pub mod managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1700,7 +1700,7 @@ pub mod managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1778,7 +1778,7 @@ pub mod managed_clusters { } } pub mod reset_service_principal_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1854,7 +1854,7 @@ pub mod managed_clusters { } } pub mod reset_aad_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1931,7 +1931,7 @@ pub mod managed_clusters { } } pub mod rotate_cluster_certificates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1960,7 +1960,7 @@ pub mod managed_clusters { } } pub mod agent_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2009,7 +2009,7 @@ pub mod agent_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2081,7 +2081,7 @@ pub mod agent_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2164,7 +2164,7 @@ pub mod agent_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -2237,7 +2237,7 @@ pub mod agent_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2310,7 +2310,7 @@ pub mod agent_pools { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2383,7 +2383,7 @@ pub mod agent_pools { } } pub mod get_available_agent_pool_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/containerservice/src/package_2020_04_01_only/operations.rs b/services/mgmt/containerservice/src/package_2020_04_01_only/operations.rs index aefbbe3a38..fd13e63c7e 100644 --- a/services/mgmt/containerservice/src/package_2020_04_01_only/operations.rs +++ b/services/mgmt/containerservice/src/package_2020_04_01_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerService/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub mod managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -257,7 +257,7 @@ pub mod managed_clusters { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -326,7 +326,7 @@ pub mod managed_clusters { } } pub mod get_access_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -402,7 +402,7 @@ pub mod managed_clusters { } } pub mod list_cluster_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -478,7 +478,7 @@ pub mod managed_clusters { } } pub mod list_cluster_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -548,7 +548,7 @@ pub mod managed_clusters { } } pub mod list_cluster_monitoring_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -618,7 +618,7 @@ pub mod managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -699,7 +699,7 @@ pub mod managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedCluster), @@ -779,7 +779,7 @@ pub mod managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -845,7 +845,7 @@ pub mod managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -923,7 +923,7 @@ pub mod managed_clusters { } } pub mod reset_service_principal_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -999,7 +999,7 @@ pub mod managed_clusters { } } pub mod reset_aad_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1076,7 +1076,7 @@ pub mod managed_clusters { } } pub mod rotate_cluster_certificates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1105,7 +1105,7 @@ pub mod managed_clusters { } } pub mod agent_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1154,7 +1154,7 @@ pub mod agent_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1226,7 +1226,7 @@ pub mod agent_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1309,7 +1309,7 @@ pub mod agent_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -1382,7 +1382,7 @@ pub mod agent_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1455,7 +1455,7 @@ pub mod agent_pools { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1528,7 +1528,7 @@ pub mod agent_pools { } } pub mod get_available_agent_pool_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/containerservice/src/package_2020_06/operations.rs b/services/mgmt/containerservice/src/package_2020_06/operations.rs index 753d2435d0..e252132257 100644 --- a/services/mgmt/containerservice/src/package_2020_06/operations.rs +++ b/services/mgmt/containerservice/src/package_2020_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod open_shift_managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -47,7 +47,7 @@ pub mod open_shift_managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -115,7 +115,7 @@ pub mod open_shift_managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -182,7 +182,7 @@ pub mod open_shift_managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -263,7 +263,7 @@ pub mod open_shift_managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OpenShiftManagedCluster), @@ -343,7 +343,7 @@ pub mod open_shift_managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -409,7 +409,7 @@ pub mod open_shift_managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -438,7 +438,7 @@ pub mod open_shift_managed_clusters { } } pub mod container_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -481,7 +481,7 @@ pub mod container_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -546,7 +546,7 @@ pub mod container_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -628,7 +628,7 @@ pub mod container_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerService), @@ -695,7 +695,7 @@ pub mod container_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -768,7 +768,7 @@ pub mod container_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -838,7 +838,7 @@ pub mod container_services { } } pub mod list_orchestrators { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -859,7 +859,7 @@ pub mod container_services { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerService/operations", operation_config.base_path(),); @@ -897,7 +897,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -921,7 +921,7 @@ pub mod operations { } } pub mod managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -966,7 +966,7 @@ pub mod managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1039,7 +1039,7 @@ pub mod managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1112,7 +1112,7 @@ pub mod managed_clusters { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1181,7 +1181,7 @@ pub mod managed_clusters { } } pub mod get_access_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1257,7 +1257,7 @@ pub mod managed_clusters { } } pub mod list_cluster_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1333,7 +1333,7 @@ pub mod managed_clusters { } } pub mod list_cluster_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1403,7 +1403,7 @@ pub mod managed_clusters { } } pub mod list_cluster_monitoring_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1473,7 +1473,7 @@ pub mod managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1554,7 +1554,7 @@ pub mod managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedCluster), @@ -1634,7 +1634,7 @@ pub mod managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1700,7 +1700,7 @@ pub mod managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1778,7 +1778,7 @@ pub mod managed_clusters { } } pub mod reset_service_principal_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1854,7 +1854,7 @@ pub mod managed_clusters { } } pub mod reset_aad_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1931,7 +1931,7 @@ pub mod managed_clusters { } } pub mod rotate_cluster_certificates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1960,7 +1960,7 @@ pub mod managed_clusters { } } pub mod agent_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2009,7 +2009,7 @@ pub mod agent_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2081,7 +2081,7 @@ pub mod agent_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2164,7 +2164,7 @@ pub mod agent_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -2237,7 +2237,7 @@ pub mod agent_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2310,7 +2310,7 @@ pub mod agent_pools { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2383,7 +2383,7 @@ pub mod agent_pools { } } pub mod get_available_agent_pool_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2404,7 +2404,7 @@ pub mod agent_pools { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2453,7 +2453,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2525,7 +2525,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2599,7 +2599,7 @@ pub mod private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2667,7 +2667,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/containerservice/src/package_2020_06_01_only/operations.rs b/services/mgmt/containerservice/src/package_2020_06_01_only/operations.rs index 5de55353ad..32a9c46013 100644 --- a/services/mgmt/containerservice/src/package_2020_06_01_only/operations.rs +++ b/services/mgmt/containerservice/src/package_2020_06_01_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerService/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub mod managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -257,7 +257,7 @@ pub mod managed_clusters { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -326,7 +326,7 @@ pub mod managed_clusters { } } pub mod get_access_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -402,7 +402,7 @@ pub mod managed_clusters { } } pub mod list_cluster_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -478,7 +478,7 @@ pub mod managed_clusters { } } pub mod list_cluster_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -548,7 +548,7 @@ pub mod managed_clusters { } } pub mod list_cluster_monitoring_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -618,7 +618,7 @@ pub mod managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -699,7 +699,7 @@ pub mod managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedCluster), @@ -779,7 +779,7 @@ pub mod managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -845,7 +845,7 @@ pub mod managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -923,7 +923,7 @@ pub mod managed_clusters { } } pub mod reset_service_principal_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -999,7 +999,7 @@ pub mod managed_clusters { } } pub mod reset_aad_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1076,7 +1076,7 @@ pub mod managed_clusters { } } pub mod rotate_cluster_certificates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1105,7 +1105,7 @@ pub mod managed_clusters { } } pub mod agent_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1154,7 +1154,7 @@ pub mod agent_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1226,7 +1226,7 @@ pub mod agent_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1309,7 +1309,7 @@ pub mod agent_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -1382,7 +1382,7 @@ pub mod agent_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1455,7 +1455,7 @@ pub mod agent_pools { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1528,7 +1528,7 @@ pub mod agent_pools { } } pub mod get_available_agent_pool_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1549,7 +1549,7 @@ pub mod agent_pools { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1598,7 +1598,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1670,7 +1670,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1744,7 +1744,7 @@ pub mod private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1812,7 +1812,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/containerservice/src/package_2020_07/operations.rs b/services/mgmt/containerservice/src/package_2020_07/operations.rs index c8d2b12176..bef102ad24 100644 --- a/services/mgmt/containerservice/src/package_2020_07/operations.rs +++ b/services/mgmt/containerservice/src/package_2020_07/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod open_shift_managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -47,7 +47,7 @@ pub mod open_shift_managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -115,7 +115,7 @@ pub mod open_shift_managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -182,7 +182,7 @@ pub mod open_shift_managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -263,7 +263,7 @@ pub mod open_shift_managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OpenShiftManagedCluster), @@ -343,7 +343,7 @@ pub mod open_shift_managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -409,7 +409,7 @@ pub mod open_shift_managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -438,7 +438,7 @@ pub mod open_shift_managed_clusters { } } pub mod container_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -481,7 +481,7 @@ pub mod container_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -546,7 +546,7 @@ pub mod container_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -628,7 +628,7 @@ pub mod container_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerService), @@ -695,7 +695,7 @@ pub mod container_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -768,7 +768,7 @@ pub mod container_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -838,7 +838,7 @@ pub mod container_services { } } pub mod list_orchestrators { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -859,7 +859,7 @@ pub mod container_services { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerService/operations", operation_config.base_path(),); @@ -897,7 +897,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -921,7 +921,7 @@ pub mod operations { } } pub mod managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -966,7 +966,7 @@ pub mod managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1039,7 +1039,7 @@ pub mod managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1112,7 +1112,7 @@ pub mod managed_clusters { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1181,7 +1181,7 @@ pub mod managed_clusters { } } pub mod get_access_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1257,7 +1257,7 @@ pub mod managed_clusters { } } pub mod list_cluster_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1333,7 +1333,7 @@ pub mod managed_clusters { } } pub mod list_cluster_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1403,7 +1403,7 @@ pub mod managed_clusters { } } pub mod list_cluster_monitoring_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1473,7 +1473,7 @@ pub mod managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1554,7 +1554,7 @@ pub mod managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedCluster), @@ -1634,7 +1634,7 @@ pub mod managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1700,7 +1700,7 @@ pub mod managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1778,7 +1778,7 @@ pub mod managed_clusters { } } pub mod reset_service_principal_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1854,7 +1854,7 @@ pub mod managed_clusters { } } pub mod reset_aad_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1931,7 +1931,7 @@ pub mod managed_clusters { } } pub mod rotate_cluster_certificates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1960,7 +1960,7 @@ pub mod managed_clusters { } } pub mod agent_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2009,7 +2009,7 @@ pub mod agent_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2081,7 +2081,7 @@ pub mod agent_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2164,7 +2164,7 @@ pub mod agent_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -2237,7 +2237,7 @@ pub mod agent_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2310,7 +2310,7 @@ pub mod agent_pools { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2383,7 +2383,7 @@ pub mod agent_pools { } } pub mod get_available_agent_pool_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2452,7 +2452,7 @@ pub mod agent_pools { } } pub mod upgrade_node_image_version { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2481,7 +2481,7 @@ pub mod agent_pools { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2530,7 +2530,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2602,7 +2602,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2676,7 +2676,7 @@ pub mod private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2744,7 +2744,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/containerservice/src/package_2020_07_01_only/operations.rs b/services/mgmt/containerservice/src/package_2020_07_01_only/operations.rs index 6641c2402e..29c6f676cc 100644 --- a/services/mgmt/containerservice/src/package_2020_07_01_only/operations.rs +++ b/services/mgmt/containerservice/src/package_2020_07_01_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerService/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub mod managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -257,7 +257,7 @@ pub mod managed_clusters { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -326,7 +326,7 @@ pub mod managed_clusters { } } pub mod get_access_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -402,7 +402,7 @@ pub mod managed_clusters { } } pub mod list_cluster_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -478,7 +478,7 @@ pub mod managed_clusters { } } pub mod list_cluster_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -548,7 +548,7 @@ pub mod managed_clusters { } } pub mod list_cluster_monitoring_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -618,7 +618,7 @@ pub mod managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -699,7 +699,7 @@ pub mod managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedCluster), @@ -779,7 +779,7 @@ pub mod managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -845,7 +845,7 @@ pub mod managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -923,7 +923,7 @@ pub mod managed_clusters { } } pub mod reset_service_principal_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -999,7 +999,7 @@ pub mod managed_clusters { } } pub mod reset_aad_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1076,7 +1076,7 @@ pub mod managed_clusters { } } pub mod rotate_cluster_certificates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1105,7 +1105,7 @@ pub mod managed_clusters { } } pub mod agent_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1154,7 +1154,7 @@ pub mod agent_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1226,7 +1226,7 @@ pub mod agent_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1309,7 +1309,7 @@ pub mod agent_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -1382,7 +1382,7 @@ pub mod agent_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1455,7 +1455,7 @@ pub mod agent_pools { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1528,7 +1528,7 @@ pub mod agent_pools { } } pub mod get_available_agent_pool_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1597,7 +1597,7 @@ pub mod agent_pools { } } pub mod upgrade_node_image_version { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1626,7 +1626,7 @@ pub mod agent_pools { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1675,7 +1675,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1747,7 +1747,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1821,7 +1821,7 @@ pub mod private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1889,7 +1889,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/containerservice/src/package_2020_09/operations.rs b/services/mgmt/containerservice/src/package_2020_09/operations.rs index 601e8a8fc5..609fc287e9 100644 --- a/services/mgmt/containerservice/src/package_2020_09/operations.rs +++ b/services/mgmt/containerservice/src/package_2020_09/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod open_shift_managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -47,7 +47,7 @@ pub mod open_shift_managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -115,7 +115,7 @@ pub mod open_shift_managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -182,7 +182,7 @@ pub mod open_shift_managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -263,7 +263,7 @@ pub mod open_shift_managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OpenShiftManagedCluster), @@ -343,7 +343,7 @@ pub mod open_shift_managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -409,7 +409,7 @@ pub mod open_shift_managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -438,7 +438,7 @@ pub mod open_shift_managed_clusters { } } pub mod container_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -481,7 +481,7 @@ pub mod container_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -546,7 +546,7 @@ pub mod container_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -628,7 +628,7 @@ pub mod container_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerService), @@ -695,7 +695,7 @@ pub mod container_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -768,7 +768,7 @@ pub mod container_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -838,7 +838,7 @@ pub mod container_services { } } pub mod list_orchestrators { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -859,7 +859,7 @@ pub mod container_services { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerService/operations", operation_config.base_path(),); @@ -897,7 +897,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -921,7 +921,7 @@ pub mod operations { } } pub mod managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -966,7 +966,7 @@ pub mod managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1039,7 +1039,7 @@ pub mod managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1112,7 +1112,7 @@ pub mod managed_clusters { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1181,7 +1181,7 @@ pub mod managed_clusters { } } pub mod get_access_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1257,7 +1257,7 @@ pub mod managed_clusters { } } pub mod list_cluster_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1333,7 +1333,7 @@ pub mod managed_clusters { } } pub mod list_cluster_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1403,7 +1403,7 @@ pub mod managed_clusters { } } pub mod list_cluster_monitoring_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1473,7 +1473,7 @@ pub mod managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1554,7 +1554,7 @@ pub mod managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedCluster), @@ -1634,7 +1634,7 @@ pub mod managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1700,7 +1700,7 @@ pub mod managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1778,7 +1778,7 @@ pub mod managed_clusters { } } pub mod reset_service_principal_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1854,7 +1854,7 @@ pub mod managed_clusters { } } pub mod reset_aad_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1931,7 +1931,7 @@ pub mod managed_clusters { } } pub mod rotate_cluster_certificates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2003,7 +2003,7 @@ pub mod managed_clusters { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2075,7 +2075,7 @@ pub mod managed_clusters { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2104,7 +2104,7 @@ pub mod managed_clusters { } } pub mod agent_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2153,7 +2153,7 @@ pub mod agent_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2225,7 +2225,7 @@ pub mod agent_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2308,7 +2308,7 @@ pub mod agent_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -2381,7 +2381,7 @@ pub mod agent_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2454,7 +2454,7 @@ pub mod agent_pools { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2527,7 +2527,7 @@ pub mod agent_pools { } } pub mod get_available_agent_pool_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2596,7 +2596,7 @@ pub mod agent_pools { } } pub mod upgrade_node_image_version { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2625,7 +2625,7 @@ pub mod agent_pools { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2674,7 +2674,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2746,7 +2746,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2820,7 +2820,7 @@ pub mod private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2888,7 +2888,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2917,7 +2917,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2966,7 +2966,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2990,7 +2990,7 @@ pub mod private_link_resources { } } pub mod resolve_private_link_service_id { - use crate::models::*; + use super::{models, models::*}; pub async fn post( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3041,7 +3041,7 @@ pub mod resolve_private_link_service_id { } } pub mod post { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/containerservice/src/package_2020_09_01_only/operations.rs b/services/mgmt/containerservice/src/package_2020_09_01_only/operations.rs index 1f5570bd00..2ca815c659 100644 --- a/services/mgmt/containerservice/src/package_2020_09_01_only/operations.rs +++ b/services/mgmt/containerservice/src/package_2020_09_01_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerService/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub mod managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -257,7 +257,7 @@ pub mod managed_clusters { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -326,7 +326,7 @@ pub mod managed_clusters { } } pub mod get_access_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -402,7 +402,7 @@ pub mod managed_clusters { } } pub mod list_cluster_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -478,7 +478,7 @@ pub mod managed_clusters { } } pub mod list_cluster_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -548,7 +548,7 @@ pub mod managed_clusters { } } pub mod list_cluster_monitoring_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -618,7 +618,7 @@ pub mod managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -699,7 +699,7 @@ pub mod managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedCluster), @@ -779,7 +779,7 @@ pub mod managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -845,7 +845,7 @@ pub mod managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -923,7 +923,7 @@ pub mod managed_clusters { } } pub mod reset_service_principal_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -999,7 +999,7 @@ pub mod managed_clusters { } } pub mod reset_aad_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1076,7 +1076,7 @@ pub mod managed_clusters { } } pub mod rotate_cluster_certificates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1148,7 +1148,7 @@ pub mod managed_clusters { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1220,7 +1220,7 @@ pub mod managed_clusters { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1249,7 +1249,7 @@ pub mod managed_clusters { } } pub mod agent_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1298,7 +1298,7 @@ pub mod agent_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1370,7 +1370,7 @@ pub mod agent_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1453,7 +1453,7 @@ pub mod agent_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -1526,7 +1526,7 @@ pub mod agent_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1599,7 +1599,7 @@ pub mod agent_pools { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1672,7 +1672,7 @@ pub mod agent_pools { } } pub mod get_available_agent_pool_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1741,7 +1741,7 @@ pub mod agent_pools { } } pub mod upgrade_node_image_version { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1770,7 +1770,7 @@ pub mod agent_pools { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1819,7 +1819,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1891,7 +1891,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1965,7 +1965,7 @@ pub mod private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2033,7 +2033,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2062,7 +2062,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2111,7 +2111,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2135,7 +2135,7 @@ pub mod private_link_resources { } } pub mod resolve_private_link_service_id { - use crate::models::*; + use super::{models, models::*}; pub async fn post( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2186,7 +2186,7 @@ pub mod resolve_private_link_service_id { } } pub mod post { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/containerservice/src/package_2020_11/operations.rs b/services/mgmt/containerservice/src/package_2020_11/operations.rs index 1f5570bd00..2ca815c659 100644 --- a/services/mgmt/containerservice/src/package_2020_11/operations.rs +++ b/services/mgmt/containerservice/src/package_2020_11/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerService/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub mod managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -257,7 +257,7 @@ pub mod managed_clusters { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -326,7 +326,7 @@ pub mod managed_clusters { } } pub mod get_access_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -402,7 +402,7 @@ pub mod managed_clusters { } } pub mod list_cluster_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -478,7 +478,7 @@ pub mod managed_clusters { } } pub mod list_cluster_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -548,7 +548,7 @@ pub mod managed_clusters { } } pub mod list_cluster_monitoring_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -618,7 +618,7 @@ pub mod managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -699,7 +699,7 @@ pub mod managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedCluster), @@ -779,7 +779,7 @@ pub mod managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -845,7 +845,7 @@ pub mod managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -923,7 +923,7 @@ pub mod managed_clusters { } } pub mod reset_service_principal_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -999,7 +999,7 @@ pub mod managed_clusters { } } pub mod reset_aad_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1076,7 +1076,7 @@ pub mod managed_clusters { } } pub mod rotate_cluster_certificates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1148,7 +1148,7 @@ pub mod managed_clusters { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1220,7 +1220,7 @@ pub mod managed_clusters { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1249,7 +1249,7 @@ pub mod managed_clusters { } } pub mod agent_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1298,7 +1298,7 @@ pub mod agent_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1370,7 +1370,7 @@ pub mod agent_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1453,7 +1453,7 @@ pub mod agent_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -1526,7 +1526,7 @@ pub mod agent_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1599,7 +1599,7 @@ pub mod agent_pools { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1672,7 +1672,7 @@ pub mod agent_pools { } } pub mod get_available_agent_pool_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1741,7 +1741,7 @@ pub mod agent_pools { } } pub mod upgrade_node_image_version { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1770,7 +1770,7 @@ pub mod agent_pools { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1819,7 +1819,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1891,7 +1891,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1965,7 +1965,7 @@ pub mod private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2033,7 +2033,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2062,7 +2062,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2111,7 +2111,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2135,7 +2135,7 @@ pub mod private_link_resources { } } pub mod resolve_private_link_service_id { - use crate::models::*; + use super::{models, models::*}; pub async fn post( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2186,7 +2186,7 @@ pub mod resolve_private_link_service_id { } } pub mod post { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/containerservice/src/package_2020_11_01_only/operations.rs b/services/mgmt/containerservice/src/package_2020_11_01_only/operations.rs index 1f5570bd00..2ca815c659 100644 --- a/services/mgmt/containerservice/src/package_2020_11_01_only/operations.rs +++ b/services/mgmt/containerservice/src/package_2020_11_01_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerService/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub mod managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -257,7 +257,7 @@ pub mod managed_clusters { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -326,7 +326,7 @@ pub mod managed_clusters { } } pub mod get_access_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -402,7 +402,7 @@ pub mod managed_clusters { } } pub mod list_cluster_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -478,7 +478,7 @@ pub mod managed_clusters { } } pub mod list_cluster_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -548,7 +548,7 @@ pub mod managed_clusters { } } pub mod list_cluster_monitoring_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -618,7 +618,7 @@ pub mod managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -699,7 +699,7 @@ pub mod managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedCluster), @@ -779,7 +779,7 @@ pub mod managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -845,7 +845,7 @@ pub mod managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -923,7 +923,7 @@ pub mod managed_clusters { } } pub mod reset_service_principal_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -999,7 +999,7 @@ pub mod managed_clusters { } } pub mod reset_aad_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1076,7 +1076,7 @@ pub mod managed_clusters { } } pub mod rotate_cluster_certificates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1148,7 +1148,7 @@ pub mod managed_clusters { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1220,7 +1220,7 @@ pub mod managed_clusters { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1249,7 +1249,7 @@ pub mod managed_clusters { } } pub mod agent_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1298,7 +1298,7 @@ pub mod agent_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1370,7 +1370,7 @@ pub mod agent_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1453,7 +1453,7 @@ pub mod agent_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -1526,7 +1526,7 @@ pub mod agent_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1599,7 +1599,7 @@ pub mod agent_pools { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1672,7 +1672,7 @@ pub mod agent_pools { } } pub mod get_available_agent_pool_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1741,7 +1741,7 @@ pub mod agent_pools { } } pub mod upgrade_node_image_version { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1770,7 +1770,7 @@ pub mod agent_pools { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1819,7 +1819,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1891,7 +1891,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1965,7 +1965,7 @@ pub mod private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2033,7 +2033,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2062,7 +2062,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2111,7 +2111,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2135,7 +2135,7 @@ pub mod private_link_resources { } } pub mod resolve_private_link_service_id { - use crate::models::*; + use super::{models, models::*}; pub async fn post( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2186,7 +2186,7 @@ pub mod resolve_private_link_service_id { } } pub mod post { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/containerservice/src/package_2020_12/operations.rs b/services/mgmt/containerservice/src/package_2020_12/operations.rs index fbcb359bac..766e6783cb 100644 --- a/services/mgmt/containerservice/src/package_2020_12/operations.rs +++ b/services/mgmt/containerservice/src/package_2020_12/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerService/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub mod managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -257,7 +257,7 @@ pub mod managed_clusters { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -326,7 +326,7 @@ pub mod managed_clusters { } } pub mod get_access_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -402,7 +402,7 @@ pub mod managed_clusters { } } pub mod list_cluster_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -478,7 +478,7 @@ pub mod managed_clusters { } } pub mod list_cluster_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -548,7 +548,7 @@ pub mod managed_clusters { } } pub mod list_cluster_monitoring_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -618,7 +618,7 @@ pub mod managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -699,7 +699,7 @@ pub mod managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedCluster), @@ -779,7 +779,7 @@ pub mod managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -845,7 +845,7 @@ pub mod managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -923,7 +923,7 @@ pub mod managed_clusters { } } pub mod reset_service_principal_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -999,7 +999,7 @@ pub mod managed_clusters { } } pub mod reset_aad_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1076,7 +1076,7 @@ pub mod managed_clusters { } } pub mod rotate_cluster_certificates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1148,7 +1148,7 @@ pub mod managed_clusters { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1220,7 +1220,7 @@ pub mod managed_clusters { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1249,7 +1249,7 @@ pub mod managed_clusters { } } pub mod maintenance_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_managed_cluster( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1303,7 +1303,7 @@ pub mod maintenance_configurations { } } pub mod list_by_managed_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1375,7 +1375,7 @@ pub mod maintenance_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1452,7 +1452,7 @@ pub mod maintenance_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1520,7 +1520,7 @@ pub mod maintenance_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1549,7 +1549,7 @@ pub mod maintenance_configurations { } } pub mod agent_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1598,7 +1598,7 @@ pub mod agent_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1670,7 +1670,7 @@ pub mod agent_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1753,7 +1753,7 @@ pub mod agent_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -1826,7 +1826,7 @@ pub mod agent_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1899,7 +1899,7 @@ pub mod agent_pools { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1972,7 +1972,7 @@ pub mod agent_pools { } } pub mod get_available_agent_pool_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2041,7 +2041,7 @@ pub mod agent_pools { } } pub mod upgrade_node_image_version { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2070,7 +2070,7 @@ pub mod agent_pools { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2119,7 +2119,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2191,7 +2191,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2265,7 +2265,7 @@ pub mod private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2333,7 +2333,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2362,7 +2362,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2411,7 +2411,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2435,7 +2435,7 @@ pub mod private_link_resources { } } pub mod resolve_private_link_service_id { - use crate::models::*; + use super::{models, models::*}; pub async fn post( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2486,7 +2486,7 @@ pub mod resolve_private_link_service_id { } } pub mod post { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/containerservice/src/package_2020_12_01_only/operations.rs b/services/mgmt/containerservice/src/package_2020_12_01_only/operations.rs index fbcb359bac..766e6783cb 100644 --- a/services/mgmt/containerservice/src/package_2020_12_01_only/operations.rs +++ b/services/mgmt/containerservice/src/package_2020_12_01_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerService/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub mod managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -257,7 +257,7 @@ pub mod managed_clusters { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -326,7 +326,7 @@ pub mod managed_clusters { } } pub mod get_access_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -402,7 +402,7 @@ pub mod managed_clusters { } } pub mod list_cluster_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -478,7 +478,7 @@ pub mod managed_clusters { } } pub mod list_cluster_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -548,7 +548,7 @@ pub mod managed_clusters { } } pub mod list_cluster_monitoring_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -618,7 +618,7 @@ pub mod managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -699,7 +699,7 @@ pub mod managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedCluster), @@ -779,7 +779,7 @@ pub mod managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -845,7 +845,7 @@ pub mod managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -923,7 +923,7 @@ pub mod managed_clusters { } } pub mod reset_service_principal_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -999,7 +999,7 @@ pub mod managed_clusters { } } pub mod reset_aad_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1076,7 +1076,7 @@ pub mod managed_clusters { } } pub mod rotate_cluster_certificates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1148,7 +1148,7 @@ pub mod managed_clusters { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1220,7 +1220,7 @@ pub mod managed_clusters { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1249,7 +1249,7 @@ pub mod managed_clusters { } } pub mod maintenance_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_managed_cluster( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1303,7 +1303,7 @@ pub mod maintenance_configurations { } } pub mod list_by_managed_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1375,7 +1375,7 @@ pub mod maintenance_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1452,7 +1452,7 @@ pub mod maintenance_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1520,7 +1520,7 @@ pub mod maintenance_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1549,7 +1549,7 @@ pub mod maintenance_configurations { } } pub mod agent_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1598,7 +1598,7 @@ pub mod agent_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1670,7 +1670,7 @@ pub mod agent_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1753,7 +1753,7 @@ pub mod agent_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -1826,7 +1826,7 @@ pub mod agent_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1899,7 +1899,7 @@ pub mod agent_pools { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1972,7 +1972,7 @@ pub mod agent_pools { } } pub mod get_available_agent_pool_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2041,7 +2041,7 @@ pub mod agent_pools { } } pub mod upgrade_node_image_version { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2070,7 +2070,7 @@ pub mod agent_pools { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2119,7 +2119,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2191,7 +2191,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2265,7 +2265,7 @@ pub mod private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2333,7 +2333,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2362,7 +2362,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2411,7 +2411,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2435,7 +2435,7 @@ pub mod private_link_resources { } } pub mod resolve_private_link_service_id { - use crate::models::*; + use super::{models, models::*}; pub async fn post( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2486,7 +2486,7 @@ pub mod resolve_private_link_service_id { } } pub mod post { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/containerservice/src/package_2021_02/operations.rs b/services/mgmt/containerservice/src/package_2021_02/operations.rs index fbcb359bac..766e6783cb 100644 --- a/services/mgmt/containerservice/src/package_2021_02/operations.rs +++ b/services/mgmt/containerservice/src/package_2021_02/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerService/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub mod managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -257,7 +257,7 @@ pub mod managed_clusters { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -326,7 +326,7 @@ pub mod managed_clusters { } } pub mod get_access_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -402,7 +402,7 @@ pub mod managed_clusters { } } pub mod list_cluster_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -478,7 +478,7 @@ pub mod managed_clusters { } } pub mod list_cluster_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -548,7 +548,7 @@ pub mod managed_clusters { } } pub mod list_cluster_monitoring_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -618,7 +618,7 @@ pub mod managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -699,7 +699,7 @@ pub mod managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedCluster), @@ -779,7 +779,7 @@ pub mod managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -845,7 +845,7 @@ pub mod managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -923,7 +923,7 @@ pub mod managed_clusters { } } pub mod reset_service_principal_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -999,7 +999,7 @@ pub mod managed_clusters { } } pub mod reset_aad_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1076,7 +1076,7 @@ pub mod managed_clusters { } } pub mod rotate_cluster_certificates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1148,7 +1148,7 @@ pub mod managed_clusters { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1220,7 +1220,7 @@ pub mod managed_clusters { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1249,7 +1249,7 @@ pub mod managed_clusters { } } pub mod maintenance_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_managed_cluster( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1303,7 +1303,7 @@ pub mod maintenance_configurations { } } pub mod list_by_managed_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1375,7 +1375,7 @@ pub mod maintenance_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1452,7 +1452,7 @@ pub mod maintenance_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1520,7 +1520,7 @@ pub mod maintenance_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1549,7 +1549,7 @@ pub mod maintenance_configurations { } } pub mod agent_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1598,7 +1598,7 @@ pub mod agent_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1670,7 +1670,7 @@ pub mod agent_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1753,7 +1753,7 @@ pub mod agent_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -1826,7 +1826,7 @@ pub mod agent_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1899,7 +1899,7 @@ pub mod agent_pools { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1972,7 +1972,7 @@ pub mod agent_pools { } } pub mod get_available_agent_pool_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2041,7 +2041,7 @@ pub mod agent_pools { } } pub mod upgrade_node_image_version { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2070,7 +2070,7 @@ pub mod agent_pools { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2119,7 +2119,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2191,7 +2191,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2265,7 +2265,7 @@ pub mod private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2333,7 +2333,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2362,7 +2362,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2411,7 +2411,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2435,7 +2435,7 @@ pub mod private_link_resources { } } pub mod resolve_private_link_service_id { - use crate::models::*; + use super::{models, models::*}; pub async fn post( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2486,7 +2486,7 @@ pub mod resolve_private_link_service_id { } } pub mod post { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/containerservice/src/package_2021_02_01_only/operations.rs b/services/mgmt/containerservice/src/package_2021_02_01_only/operations.rs index fbcb359bac..766e6783cb 100644 --- a/services/mgmt/containerservice/src/package_2021_02_01_only/operations.rs +++ b/services/mgmt/containerservice/src/package_2021_02_01_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerService/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub mod managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -257,7 +257,7 @@ pub mod managed_clusters { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -326,7 +326,7 @@ pub mod managed_clusters { } } pub mod get_access_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -402,7 +402,7 @@ pub mod managed_clusters { } } pub mod list_cluster_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -478,7 +478,7 @@ pub mod managed_clusters { } } pub mod list_cluster_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -548,7 +548,7 @@ pub mod managed_clusters { } } pub mod list_cluster_monitoring_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -618,7 +618,7 @@ pub mod managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -699,7 +699,7 @@ pub mod managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedCluster), @@ -779,7 +779,7 @@ pub mod managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -845,7 +845,7 @@ pub mod managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -923,7 +923,7 @@ pub mod managed_clusters { } } pub mod reset_service_principal_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -999,7 +999,7 @@ pub mod managed_clusters { } } pub mod reset_aad_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1076,7 +1076,7 @@ pub mod managed_clusters { } } pub mod rotate_cluster_certificates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1148,7 +1148,7 @@ pub mod managed_clusters { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1220,7 +1220,7 @@ pub mod managed_clusters { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1249,7 +1249,7 @@ pub mod managed_clusters { } } pub mod maintenance_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_managed_cluster( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1303,7 +1303,7 @@ pub mod maintenance_configurations { } } pub mod list_by_managed_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1375,7 +1375,7 @@ pub mod maintenance_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1452,7 +1452,7 @@ pub mod maintenance_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1520,7 +1520,7 @@ pub mod maintenance_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1549,7 +1549,7 @@ pub mod maintenance_configurations { } } pub mod agent_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1598,7 +1598,7 @@ pub mod agent_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1670,7 +1670,7 @@ pub mod agent_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1753,7 +1753,7 @@ pub mod agent_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -1826,7 +1826,7 @@ pub mod agent_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1899,7 +1899,7 @@ pub mod agent_pools { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1972,7 +1972,7 @@ pub mod agent_pools { } } pub mod get_available_agent_pool_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2041,7 +2041,7 @@ pub mod agent_pools { } } pub mod upgrade_node_image_version { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2070,7 +2070,7 @@ pub mod agent_pools { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2119,7 +2119,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2191,7 +2191,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2265,7 +2265,7 @@ pub mod private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2333,7 +2333,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2362,7 +2362,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2411,7 +2411,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2435,7 +2435,7 @@ pub mod private_link_resources { } } pub mod resolve_private_link_service_id { - use crate::models::*; + use super::{models, models::*}; pub async fn post( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2486,7 +2486,7 @@ pub mod resolve_private_link_service_id { } } pub mod post { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/containerservice/src/package_2021_03/operations.rs b/services/mgmt/containerservice/src/package_2021_03/operations.rs index 7ceb020968..ac7ab5a4f9 100644 --- a/services/mgmt/containerservice/src/package_2021_03/operations.rs +++ b/services/mgmt/containerservice/src/package_2021_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerService/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn get_os_options( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -120,7 +120,7 @@ pub mod managed_clusters { } } pub mod get_os_options { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -186,7 +186,7 @@ pub mod managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -259,7 +259,7 @@ pub mod managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -332,7 +332,7 @@ pub mod managed_clusters { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -401,7 +401,7 @@ pub mod managed_clusters { } } pub mod get_access_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -477,7 +477,7 @@ pub mod managed_clusters { } } pub mod list_cluster_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -553,7 +553,7 @@ pub mod managed_clusters { } } pub mod list_cluster_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -623,7 +623,7 @@ pub mod managed_clusters { } } pub mod list_cluster_monitoring_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -693,7 +693,7 @@ pub mod managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -774,7 +774,7 @@ pub mod managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedCluster), @@ -854,7 +854,7 @@ pub mod managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -920,7 +920,7 @@ pub mod managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -998,7 +998,7 @@ pub mod managed_clusters { } } pub mod reset_service_principal_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1074,7 +1074,7 @@ pub mod managed_clusters { } } pub mod reset_aad_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1151,7 +1151,7 @@ pub mod managed_clusters { } } pub mod rotate_cluster_certificates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1223,7 +1223,7 @@ pub mod managed_clusters { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1295,7 +1295,7 @@ pub mod managed_clusters { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1376,7 +1376,7 @@ pub mod managed_clusters { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1457,7 +1457,7 @@ pub mod managed_clusters { } } pub mod get_command_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1486,7 +1486,7 @@ pub mod managed_clusters { } } pub mod maintenance_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_managed_cluster( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1540,7 +1540,7 @@ pub mod maintenance_configurations { } } pub mod list_by_managed_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1612,7 +1612,7 @@ pub mod maintenance_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1689,7 +1689,7 @@ pub mod maintenance_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1757,7 +1757,7 @@ pub mod maintenance_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1786,7 +1786,7 @@ pub mod maintenance_configurations { } } pub mod agent_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1835,7 +1835,7 @@ pub mod agent_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1907,7 +1907,7 @@ pub mod agent_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1990,7 +1990,7 @@ pub mod agent_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -2063,7 +2063,7 @@ pub mod agent_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2136,7 +2136,7 @@ pub mod agent_pools { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2209,7 +2209,7 @@ pub mod agent_pools { } } pub mod get_available_agent_pool_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2278,7 +2278,7 @@ pub mod agent_pools { } } pub mod upgrade_node_image_version { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2307,7 +2307,7 @@ pub mod agent_pools { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2356,7 +2356,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2428,7 +2428,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2502,7 +2502,7 @@ pub mod private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2570,7 +2570,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2599,7 +2599,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2648,7 +2648,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2672,7 +2672,7 @@ pub mod private_link_resources { } } pub mod resolve_private_link_service_id { - use crate::models::*; + use super::{models, models::*}; pub async fn post( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2723,7 +2723,7 @@ pub mod resolve_private_link_service_id { } } pub mod post { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/containerservice/src/package_2021_03_01_only/operations.rs b/services/mgmt/containerservice/src/package_2021_03_01_only/operations.rs index 7ceb020968..ac7ab5a4f9 100644 --- a/services/mgmt/containerservice/src/package_2021_03_01_only/operations.rs +++ b/services/mgmt/containerservice/src/package_2021_03_01_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerService/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn get_os_options( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -120,7 +120,7 @@ pub mod managed_clusters { } } pub mod get_os_options { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -186,7 +186,7 @@ pub mod managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -259,7 +259,7 @@ pub mod managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -332,7 +332,7 @@ pub mod managed_clusters { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -401,7 +401,7 @@ pub mod managed_clusters { } } pub mod get_access_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -477,7 +477,7 @@ pub mod managed_clusters { } } pub mod list_cluster_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -553,7 +553,7 @@ pub mod managed_clusters { } } pub mod list_cluster_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -623,7 +623,7 @@ pub mod managed_clusters { } } pub mod list_cluster_monitoring_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -693,7 +693,7 @@ pub mod managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -774,7 +774,7 @@ pub mod managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedCluster), @@ -854,7 +854,7 @@ pub mod managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -920,7 +920,7 @@ pub mod managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -998,7 +998,7 @@ pub mod managed_clusters { } } pub mod reset_service_principal_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1074,7 +1074,7 @@ pub mod managed_clusters { } } pub mod reset_aad_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1151,7 +1151,7 @@ pub mod managed_clusters { } } pub mod rotate_cluster_certificates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1223,7 +1223,7 @@ pub mod managed_clusters { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1295,7 +1295,7 @@ pub mod managed_clusters { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1376,7 +1376,7 @@ pub mod managed_clusters { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1457,7 +1457,7 @@ pub mod managed_clusters { } } pub mod get_command_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1486,7 +1486,7 @@ pub mod managed_clusters { } } pub mod maintenance_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_managed_cluster( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1540,7 +1540,7 @@ pub mod maintenance_configurations { } } pub mod list_by_managed_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1612,7 +1612,7 @@ pub mod maintenance_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1689,7 +1689,7 @@ pub mod maintenance_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1757,7 +1757,7 @@ pub mod maintenance_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1786,7 +1786,7 @@ pub mod maintenance_configurations { } } pub mod agent_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1835,7 +1835,7 @@ pub mod agent_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1907,7 +1907,7 @@ pub mod agent_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1990,7 +1990,7 @@ pub mod agent_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -2063,7 +2063,7 @@ pub mod agent_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2136,7 +2136,7 @@ pub mod agent_pools { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2209,7 +2209,7 @@ pub mod agent_pools { } } pub mod get_available_agent_pool_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2278,7 +2278,7 @@ pub mod agent_pools { } } pub mod upgrade_node_image_version { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2307,7 +2307,7 @@ pub mod agent_pools { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2356,7 +2356,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2428,7 +2428,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2502,7 +2502,7 @@ pub mod private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2570,7 +2570,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2599,7 +2599,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2648,7 +2648,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2672,7 +2672,7 @@ pub mod private_link_resources { } } pub mod resolve_private_link_service_id { - use crate::models::*; + use super::{models, models::*}; pub async fn post( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2723,7 +2723,7 @@ pub mod resolve_private_link_service_id { } } pub mod post { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/containerservice/src/package_2021_05/operations.rs b/services/mgmt/containerservice/src/package_2021_05/operations.rs index 6eaadb4a6f..a0e207ac42 100644 --- a/services/mgmt/containerservice/src/package_2021_05/operations.rs +++ b/services/mgmt/containerservice/src/package_2021_05/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerService/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn get_os_options( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -120,7 +120,7 @@ pub mod managed_clusters { } } pub mod get_os_options { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -186,7 +186,7 @@ pub mod managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -259,7 +259,7 @@ pub mod managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -332,7 +332,7 @@ pub mod managed_clusters { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -401,7 +401,7 @@ pub mod managed_clusters { } } pub mod get_access_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -481,7 +481,7 @@ pub mod managed_clusters { } } pub mod list_cluster_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -561,7 +561,7 @@ pub mod managed_clusters { } } pub mod list_cluster_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -635,7 +635,7 @@ pub mod managed_clusters { } } pub mod list_cluster_monitoring_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -705,7 +705,7 @@ pub mod managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -786,7 +786,7 @@ pub mod managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedCluster), @@ -866,7 +866,7 @@ pub mod managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -932,7 +932,7 @@ pub mod managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1010,7 +1010,7 @@ pub mod managed_clusters { } } pub mod reset_service_principal_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1086,7 +1086,7 @@ pub mod managed_clusters { } } pub mod reset_aad_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1163,7 +1163,7 @@ pub mod managed_clusters { } } pub mod rotate_cluster_certificates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1235,7 +1235,7 @@ pub mod managed_clusters { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1307,7 +1307,7 @@ pub mod managed_clusters { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1388,7 +1388,7 @@ pub mod managed_clusters { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1469,7 +1469,7 @@ pub mod managed_clusters { } } pub mod get_command_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1543,7 +1543,7 @@ pub mod managed_clusters { } } pub mod list_outbound_network_dependencies_endpoints { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1567,7 +1567,7 @@ pub mod managed_clusters { } } pub mod maintenance_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_managed_cluster( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1621,7 +1621,7 @@ pub mod maintenance_configurations { } } pub mod list_by_managed_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1693,7 +1693,7 @@ pub mod maintenance_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1770,7 +1770,7 @@ pub mod maintenance_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1838,7 +1838,7 @@ pub mod maintenance_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1867,7 +1867,7 @@ pub mod maintenance_configurations { } } pub mod agent_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1916,7 +1916,7 @@ pub mod agent_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1988,7 +1988,7 @@ pub mod agent_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2071,7 +2071,7 @@ pub mod agent_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -2144,7 +2144,7 @@ pub mod agent_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2217,7 +2217,7 @@ pub mod agent_pools { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2290,7 +2290,7 @@ pub mod agent_pools { } } pub mod get_available_agent_pool_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2359,7 +2359,7 @@ pub mod agent_pools { } } pub mod upgrade_node_image_version { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2388,7 +2388,7 @@ pub mod agent_pools { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2437,7 +2437,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2509,7 +2509,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2583,7 +2583,7 @@ pub mod private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2651,7 +2651,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2680,7 +2680,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2729,7 +2729,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2753,7 +2753,7 @@ pub mod private_link_resources { } } pub mod resolve_private_link_service_id { - use crate::models::*; + use super::{models, models::*}; pub async fn post( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2804,7 +2804,7 @@ pub mod resolve_private_link_service_id { } } pub mod post { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/containerservice/src/package_2021_05_01_only/operations.rs b/services/mgmt/containerservice/src/package_2021_05_01_only/operations.rs index 6eaadb4a6f..a0e207ac42 100644 --- a/services/mgmt/containerservice/src/package_2021_05_01_only/operations.rs +++ b/services/mgmt/containerservice/src/package_2021_05_01_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerService/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn get_os_options( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -120,7 +120,7 @@ pub mod managed_clusters { } } pub mod get_os_options { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -186,7 +186,7 @@ pub mod managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -259,7 +259,7 @@ pub mod managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -332,7 +332,7 @@ pub mod managed_clusters { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -401,7 +401,7 @@ pub mod managed_clusters { } } pub mod get_access_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -481,7 +481,7 @@ pub mod managed_clusters { } } pub mod list_cluster_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -561,7 +561,7 @@ pub mod managed_clusters { } } pub mod list_cluster_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -635,7 +635,7 @@ pub mod managed_clusters { } } pub mod list_cluster_monitoring_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -705,7 +705,7 @@ pub mod managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -786,7 +786,7 @@ pub mod managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedCluster), @@ -866,7 +866,7 @@ pub mod managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -932,7 +932,7 @@ pub mod managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1010,7 +1010,7 @@ pub mod managed_clusters { } } pub mod reset_service_principal_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1086,7 +1086,7 @@ pub mod managed_clusters { } } pub mod reset_aad_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1163,7 +1163,7 @@ pub mod managed_clusters { } } pub mod rotate_cluster_certificates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1235,7 +1235,7 @@ pub mod managed_clusters { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1307,7 +1307,7 @@ pub mod managed_clusters { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1388,7 +1388,7 @@ pub mod managed_clusters { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1469,7 +1469,7 @@ pub mod managed_clusters { } } pub mod get_command_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1543,7 +1543,7 @@ pub mod managed_clusters { } } pub mod list_outbound_network_dependencies_endpoints { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1567,7 +1567,7 @@ pub mod managed_clusters { } } pub mod maintenance_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_managed_cluster( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1621,7 +1621,7 @@ pub mod maintenance_configurations { } } pub mod list_by_managed_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1693,7 +1693,7 @@ pub mod maintenance_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1770,7 +1770,7 @@ pub mod maintenance_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1838,7 +1838,7 @@ pub mod maintenance_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1867,7 +1867,7 @@ pub mod maintenance_configurations { } } pub mod agent_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1916,7 +1916,7 @@ pub mod agent_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1988,7 +1988,7 @@ pub mod agent_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2071,7 +2071,7 @@ pub mod agent_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -2144,7 +2144,7 @@ pub mod agent_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2217,7 +2217,7 @@ pub mod agent_pools { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2290,7 +2290,7 @@ pub mod agent_pools { } } pub mod get_available_agent_pool_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2359,7 +2359,7 @@ pub mod agent_pools { } } pub mod upgrade_node_image_version { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2388,7 +2388,7 @@ pub mod agent_pools { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2437,7 +2437,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2509,7 +2509,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2583,7 +2583,7 @@ pub mod private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2651,7 +2651,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2680,7 +2680,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2729,7 +2729,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2753,7 +2753,7 @@ pub mod private_link_resources { } } pub mod resolve_private_link_service_id { - use crate::models::*; + use super::{models, models::*}; pub async fn post( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2804,7 +2804,7 @@ pub mod resolve_private_link_service_id { } } pub mod post { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/containerservice/src/package_2021_07/operations.rs b/services/mgmt/containerservice/src/package_2021_07/operations.rs index 6eaadb4a6f..a0e207ac42 100644 --- a/services/mgmt/containerservice/src/package_2021_07/operations.rs +++ b/services/mgmt/containerservice/src/package_2021_07/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerService/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn get_os_options( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -120,7 +120,7 @@ pub mod managed_clusters { } } pub mod get_os_options { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -186,7 +186,7 @@ pub mod managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -259,7 +259,7 @@ pub mod managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -332,7 +332,7 @@ pub mod managed_clusters { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -401,7 +401,7 @@ pub mod managed_clusters { } } pub mod get_access_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -481,7 +481,7 @@ pub mod managed_clusters { } } pub mod list_cluster_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -561,7 +561,7 @@ pub mod managed_clusters { } } pub mod list_cluster_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -635,7 +635,7 @@ pub mod managed_clusters { } } pub mod list_cluster_monitoring_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -705,7 +705,7 @@ pub mod managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -786,7 +786,7 @@ pub mod managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedCluster), @@ -866,7 +866,7 @@ pub mod managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -932,7 +932,7 @@ pub mod managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1010,7 +1010,7 @@ pub mod managed_clusters { } } pub mod reset_service_principal_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1086,7 +1086,7 @@ pub mod managed_clusters { } } pub mod reset_aad_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1163,7 +1163,7 @@ pub mod managed_clusters { } } pub mod rotate_cluster_certificates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1235,7 +1235,7 @@ pub mod managed_clusters { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1307,7 +1307,7 @@ pub mod managed_clusters { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1388,7 +1388,7 @@ pub mod managed_clusters { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1469,7 +1469,7 @@ pub mod managed_clusters { } } pub mod get_command_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1543,7 +1543,7 @@ pub mod managed_clusters { } } pub mod list_outbound_network_dependencies_endpoints { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1567,7 +1567,7 @@ pub mod managed_clusters { } } pub mod maintenance_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_managed_cluster( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1621,7 +1621,7 @@ pub mod maintenance_configurations { } } pub mod list_by_managed_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1693,7 +1693,7 @@ pub mod maintenance_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1770,7 +1770,7 @@ pub mod maintenance_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1838,7 +1838,7 @@ pub mod maintenance_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1867,7 +1867,7 @@ pub mod maintenance_configurations { } } pub mod agent_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1916,7 +1916,7 @@ pub mod agent_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1988,7 +1988,7 @@ pub mod agent_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2071,7 +2071,7 @@ pub mod agent_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -2144,7 +2144,7 @@ pub mod agent_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2217,7 +2217,7 @@ pub mod agent_pools { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2290,7 +2290,7 @@ pub mod agent_pools { } } pub mod get_available_agent_pool_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2359,7 +2359,7 @@ pub mod agent_pools { } } pub mod upgrade_node_image_version { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2388,7 +2388,7 @@ pub mod agent_pools { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2437,7 +2437,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2509,7 +2509,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2583,7 +2583,7 @@ pub mod private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2651,7 +2651,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2680,7 +2680,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2729,7 +2729,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2753,7 +2753,7 @@ pub mod private_link_resources { } } pub mod resolve_private_link_service_id { - use crate::models::*; + use super::{models, models::*}; pub async fn post( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2804,7 +2804,7 @@ pub mod resolve_private_link_service_id { } } pub mod post { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/containerservice/src/package_2021_07_01_only/operations.rs b/services/mgmt/containerservice/src/package_2021_07_01_only/operations.rs index 6eaadb4a6f..a0e207ac42 100644 --- a/services/mgmt/containerservice/src/package_2021_07_01_only/operations.rs +++ b/services/mgmt/containerservice/src/package_2021_07_01_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerService/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn get_os_options( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -120,7 +120,7 @@ pub mod managed_clusters { } } pub mod get_os_options { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -186,7 +186,7 @@ pub mod managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -259,7 +259,7 @@ pub mod managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -332,7 +332,7 @@ pub mod managed_clusters { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -401,7 +401,7 @@ pub mod managed_clusters { } } pub mod get_access_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -481,7 +481,7 @@ pub mod managed_clusters { } } pub mod list_cluster_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -561,7 +561,7 @@ pub mod managed_clusters { } } pub mod list_cluster_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -635,7 +635,7 @@ pub mod managed_clusters { } } pub mod list_cluster_monitoring_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -705,7 +705,7 @@ pub mod managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -786,7 +786,7 @@ pub mod managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedCluster), @@ -866,7 +866,7 @@ pub mod managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -932,7 +932,7 @@ pub mod managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1010,7 +1010,7 @@ pub mod managed_clusters { } } pub mod reset_service_principal_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1086,7 +1086,7 @@ pub mod managed_clusters { } } pub mod reset_aad_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1163,7 +1163,7 @@ pub mod managed_clusters { } } pub mod rotate_cluster_certificates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1235,7 +1235,7 @@ pub mod managed_clusters { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1307,7 +1307,7 @@ pub mod managed_clusters { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1388,7 +1388,7 @@ pub mod managed_clusters { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1469,7 +1469,7 @@ pub mod managed_clusters { } } pub mod get_command_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1543,7 +1543,7 @@ pub mod managed_clusters { } } pub mod list_outbound_network_dependencies_endpoints { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1567,7 +1567,7 @@ pub mod managed_clusters { } } pub mod maintenance_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_managed_cluster( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1621,7 +1621,7 @@ pub mod maintenance_configurations { } } pub mod list_by_managed_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1693,7 +1693,7 @@ pub mod maintenance_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1770,7 +1770,7 @@ pub mod maintenance_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1838,7 +1838,7 @@ pub mod maintenance_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1867,7 +1867,7 @@ pub mod maintenance_configurations { } } pub mod agent_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1916,7 +1916,7 @@ pub mod agent_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1988,7 +1988,7 @@ pub mod agent_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2071,7 +2071,7 @@ pub mod agent_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -2144,7 +2144,7 @@ pub mod agent_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2217,7 +2217,7 @@ pub mod agent_pools { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2290,7 +2290,7 @@ pub mod agent_pools { } } pub mod get_available_agent_pool_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2359,7 +2359,7 @@ pub mod agent_pools { } } pub mod upgrade_node_image_version { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2388,7 +2388,7 @@ pub mod agent_pools { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2437,7 +2437,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2509,7 +2509,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2583,7 +2583,7 @@ pub mod private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2651,7 +2651,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2680,7 +2680,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2729,7 +2729,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2753,7 +2753,7 @@ pub mod private_link_resources { } } pub mod resolve_private_link_service_id { - use crate::models::*; + use super::{models, models::*}; pub async fn post( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2804,7 +2804,7 @@ pub mod resolve_private_link_service_id { } } pub mod post { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/containerservice/src/package_2021_08/operations.rs b/services/mgmt/containerservice/src/package_2021_08/operations.rs index b40e10ba98..a6142a75d8 100644 --- a/services/mgmt/containerservice/src/package_2021_08/operations.rs +++ b/services/mgmt/containerservice/src/package_2021_08/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerService/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn get_os_options( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -120,7 +120,7 @@ pub mod managed_clusters { } } pub mod get_os_options { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -186,7 +186,7 @@ pub mod managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -259,7 +259,7 @@ pub mod managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -332,7 +332,7 @@ pub mod managed_clusters { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -401,7 +401,7 @@ pub mod managed_clusters { } } pub mod get_access_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -481,7 +481,7 @@ pub mod managed_clusters { } } pub mod list_cluster_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -561,7 +561,7 @@ pub mod managed_clusters { } } pub mod list_cluster_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -635,7 +635,7 @@ pub mod managed_clusters { } } pub mod list_cluster_monitoring_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -705,7 +705,7 @@ pub mod managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -786,7 +786,7 @@ pub mod managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedCluster), @@ -866,7 +866,7 @@ pub mod managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -932,7 +932,7 @@ pub mod managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1010,7 +1010,7 @@ pub mod managed_clusters { } } pub mod reset_service_principal_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1086,7 +1086,7 @@ pub mod managed_clusters { } } pub mod reset_aad_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1163,7 +1163,7 @@ pub mod managed_clusters { } } pub mod rotate_cluster_certificates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1235,7 +1235,7 @@ pub mod managed_clusters { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1307,7 +1307,7 @@ pub mod managed_clusters { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1388,7 +1388,7 @@ pub mod managed_clusters { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1469,7 +1469,7 @@ pub mod managed_clusters { } } pub mod get_command_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1543,7 +1543,7 @@ pub mod managed_clusters { } } pub mod list_outbound_network_dependencies_endpoints { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1567,7 +1567,7 @@ pub mod managed_clusters { } } pub mod maintenance_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_managed_cluster( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1621,7 +1621,7 @@ pub mod maintenance_configurations { } } pub mod list_by_managed_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1693,7 +1693,7 @@ pub mod maintenance_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1770,7 +1770,7 @@ pub mod maintenance_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1838,7 +1838,7 @@ pub mod maintenance_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1867,7 +1867,7 @@ pub mod maintenance_configurations { } } pub mod agent_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1916,7 +1916,7 @@ pub mod agent_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1988,7 +1988,7 @@ pub mod agent_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2071,7 +2071,7 @@ pub mod agent_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -2144,7 +2144,7 @@ pub mod agent_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2217,7 +2217,7 @@ pub mod agent_pools { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2290,7 +2290,7 @@ pub mod agent_pools { } } pub mod get_available_agent_pool_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2359,7 +2359,7 @@ pub mod agent_pools { } } pub mod upgrade_node_image_version { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2388,7 +2388,7 @@ pub mod agent_pools { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2437,7 +2437,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2509,7 +2509,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2583,7 +2583,7 @@ pub mod private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2651,7 +2651,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2680,7 +2680,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2729,7 +2729,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2753,7 +2753,7 @@ pub mod private_link_resources { } } pub mod resolve_private_link_service_id { - use crate::models::*; + use super::{models, models::*}; pub async fn post( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2804,7 +2804,7 @@ pub mod resolve_private_link_service_id { } } pub mod post { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2828,7 +2828,7 @@ pub mod resolve_private_link_service_id { } } pub mod snapshots { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2873,7 +2873,7 @@ pub mod snapshots { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2946,7 +2946,7 @@ pub mod snapshots { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3016,7 +3016,7 @@ pub mod snapshots { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3097,7 +3097,7 @@ pub mod snapshots { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -3177,7 +3177,7 @@ pub mod snapshots { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3243,7 +3243,7 @@ pub mod snapshots { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/containerservice/src/package_2021_08_01_only/operations.rs b/services/mgmt/containerservice/src/package_2021_08_01_only/operations.rs index b40e10ba98..a6142a75d8 100644 --- a/services/mgmt/containerservice/src/package_2021_08_01_only/operations.rs +++ b/services/mgmt/containerservice/src/package_2021_08_01_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerService/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn get_os_options( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -120,7 +120,7 @@ pub mod managed_clusters { } } pub mod get_os_options { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -186,7 +186,7 @@ pub mod managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -259,7 +259,7 @@ pub mod managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -332,7 +332,7 @@ pub mod managed_clusters { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -401,7 +401,7 @@ pub mod managed_clusters { } } pub mod get_access_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -481,7 +481,7 @@ pub mod managed_clusters { } } pub mod list_cluster_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -561,7 +561,7 @@ pub mod managed_clusters { } } pub mod list_cluster_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -635,7 +635,7 @@ pub mod managed_clusters { } } pub mod list_cluster_monitoring_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -705,7 +705,7 @@ pub mod managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -786,7 +786,7 @@ pub mod managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedCluster), @@ -866,7 +866,7 @@ pub mod managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -932,7 +932,7 @@ pub mod managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1010,7 +1010,7 @@ pub mod managed_clusters { } } pub mod reset_service_principal_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1086,7 +1086,7 @@ pub mod managed_clusters { } } pub mod reset_aad_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1163,7 +1163,7 @@ pub mod managed_clusters { } } pub mod rotate_cluster_certificates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1235,7 +1235,7 @@ pub mod managed_clusters { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1307,7 +1307,7 @@ pub mod managed_clusters { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1388,7 +1388,7 @@ pub mod managed_clusters { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1469,7 +1469,7 @@ pub mod managed_clusters { } } pub mod get_command_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1543,7 +1543,7 @@ pub mod managed_clusters { } } pub mod list_outbound_network_dependencies_endpoints { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1567,7 +1567,7 @@ pub mod managed_clusters { } } pub mod maintenance_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_managed_cluster( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1621,7 +1621,7 @@ pub mod maintenance_configurations { } } pub mod list_by_managed_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1693,7 +1693,7 @@ pub mod maintenance_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1770,7 +1770,7 @@ pub mod maintenance_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1838,7 +1838,7 @@ pub mod maintenance_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1867,7 +1867,7 @@ pub mod maintenance_configurations { } } pub mod agent_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1916,7 +1916,7 @@ pub mod agent_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1988,7 +1988,7 @@ pub mod agent_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2071,7 +2071,7 @@ pub mod agent_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -2144,7 +2144,7 @@ pub mod agent_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2217,7 +2217,7 @@ pub mod agent_pools { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2290,7 +2290,7 @@ pub mod agent_pools { } } pub mod get_available_agent_pool_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2359,7 +2359,7 @@ pub mod agent_pools { } } pub mod upgrade_node_image_version { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2388,7 +2388,7 @@ pub mod agent_pools { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2437,7 +2437,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2509,7 +2509,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2583,7 +2583,7 @@ pub mod private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2651,7 +2651,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2680,7 +2680,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2729,7 +2729,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2753,7 +2753,7 @@ pub mod private_link_resources { } } pub mod resolve_private_link_service_id { - use crate::models::*; + use super::{models, models::*}; pub async fn post( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2804,7 +2804,7 @@ pub mod resolve_private_link_service_id { } } pub mod post { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2828,7 +2828,7 @@ pub mod resolve_private_link_service_id { } } pub mod snapshots { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2873,7 +2873,7 @@ pub mod snapshots { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2946,7 +2946,7 @@ pub mod snapshots { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3016,7 +3016,7 @@ pub mod snapshots { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3097,7 +3097,7 @@ pub mod snapshots { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -3177,7 +3177,7 @@ pub mod snapshots { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3243,7 +3243,7 @@ pub mod snapshots { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/containerservice/src/package_2021_09/operations.rs b/services/mgmt/containerservice/src/package_2021_09/operations.rs index b40e10ba98..a6142a75d8 100644 --- a/services/mgmt/containerservice/src/package_2021_09/operations.rs +++ b/services/mgmt/containerservice/src/package_2021_09/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerService/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn get_os_options( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -120,7 +120,7 @@ pub mod managed_clusters { } } pub mod get_os_options { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -186,7 +186,7 @@ pub mod managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -259,7 +259,7 @@ pub mod managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -332,7 +332,7 @@ pub mod managed_clusters { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -401,7 +401,7 @@ pub mod managed_clusters { } } pub mod get_access_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -481,7 +481,7 @@ pub mod managed_clusters { } } pub mod list_cluster_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -561,7 +561,7 @@ pub mod managed_clusters { } } pub mod list_cluster_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -635,7 +635,7 @@ pub mod managed_clusters { } } pub mod list_cluster_monitoring_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -705,7 +705,7 @@ pub mod managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -786,7 +786,7 @@ pub mod managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedCluster), @@ -866,7 +866,7 @@ pub mod managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -932,7 +932,7 @@ pub mod managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1010,7 +1010,7 @@ pub mod managed_clusters { } } pub mod reset_service_principal_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1086,7 +1086,7 @@ pub mod managed_clusters { } } pub mod reset_aad_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1163,7 +1163,7 @@ pub mod managed_clusters { } } pub mod rotate_cluster_certificates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1235,7 +1235,7 @@ pub mod managed_clusters { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1307,7 +1307,7 @@ pub mod managed_clusters { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1388,7 +1388,7 @@ pub mod managed_clusters { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1469,7 +1469,7 @@ pub mod managed_clusters { } } pub mod get_command_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1543,7 +1543,7 @@ pub mod managed_clusters { } } pub mod list_outbound_network_dependencies_endpoints { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1567,7 +1567,7 @@ pub mod managed_clusters { } } pub mod maintenance_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_managed_cluster( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1621,7 +1621,7 @@ pub mod maintenance_configurations { } } pub mod list_by_managed_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1693,7 +1693,7 @@ pub mod maintenance_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1770,7 +1770,7 @@ pub mod maintenance_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1838,7 +1838,7 @@ pub mod maintenance_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1867,7 +1867,7 @@ pub mod maintenance_configurations { } } pub mod agent_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1916,7 +1916,7 @@ pub mod agent_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1988,7 +1988,7 @@ pub mod agent_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2071,7 +2071,7 @@ pub mod agent_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -2144,7 +2144,7 @@ pub mod agent_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2217,7 +2217,7 @@ pub mod agent_pools { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2290,7 +2290,7 @@ pub mod agent_pools { } } pub mod get_available_agent_pool_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2359,7 +2359,7 @@ pub mod agent_pools { } } pub mod upgrade_node_image_version { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2388,7 +2388,7 @@ pub mod agent_pools { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2437,7 +2437,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2509,7 +2509,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2583,7 +2583,7 @@ pub mod private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2651,7 +2651,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2680,7 +2680,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2729,7 +2729,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2753,7 +2753,7 @@ pub mod private_link_resources { } } pub mod resolve_private_link_service_id { - use crate::models::*; + use super::{models, models::*}; pub async fn post( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2804,7 +2804,7 @@ pub mod resolve_private_link_service_id { } } pub mod post { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2828,7 +2828,7 @@ pub mod resolve_private_link_service_id { } } pub mod snapshots { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2873,7 +2873,7 @@ pub mod snapshots { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2946,7 +2946,7 @@ pub mod snapshots { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3016,7 +3016,7 @@ pub mod snapshots { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3097,7 +3097,7 @@ pub mod snapshots { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -3177,7 +3177,7 @@ pub mod snapshots { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3243,7 +3243,7 @@ pub mod snapshots { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/containerservice/src/package_2021_09_01_only/operations.rs b/services/mgmt/containerservice/src/package_2021_09_01_only/operations.rs index b40e10ba98..a6142a75d8 100644 --- a/services/mgmt/containerservice/src/package_2021_09_01_only/operations.rs +++ b/services/mgmt/containerservice/src/package_2021_09_01_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ContainerService/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod managed_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn get_os_options( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -120,7 +120,7 @@ pub mod managed_clusters { } } pub mod get_os_options { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -186,7 +186,7 @@ pub mod managed_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -259,7 +259,7 @@ pub mod managed_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -332,7 +332,7 @@ pub mod managed_clusters { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -401,7 +401,7 @@ pub mod managed_clusters { } } pub mod get_access_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -481,7 +481,7 @@ pub mod managed_clusters { } } pub mod list_cluster_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -561,7 +561,7 @@ pub mod managed_clusters { } } pub mod list_cluster_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -635,7 +635,7 @@ pub mod managed_clusters { } } pub mod list_cluster_monitoring_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -705,7 +705,7 @@ pub mod managed_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -786,7 +786,7 @@ pub mod managed_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedCluster), @@ -866,7 +866,7 @@ pub mod managed_clusters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -932,7 +932,7 @@ pub mod managed_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1010,7 +1010,7 @@ pub mod managed_clusters { } } pub mod reset_service_principal_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1086,7 +1086,7 @@ pub mod managed_clusters { } } pub mod reset_aad_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1163,7 +1163,7 @@ pub mod managed_clusters { } } pub mod rotate_cluster_certificates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1235,7 +1235,7 @@ pub mod managed_clusters { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1307,7 +1307,7 @@ pub mod managed_clusters { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1388,7 +1388,7 @@ pub mod managed_clusters { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1469,7 +1469,7 @@ pub mod managed_clusters { } } pub mod get_command_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1543,7 +1543,7 @@ pub mod managed_clusters { } } pub mod list_outbound_network_dependencies_endpoints { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1567,7 +1567,7 @@ pub mod managed_clusters { } } pub mod maintenance_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_managed_cluster( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1621,7 +1621,7 @@ pub mod maintenance_configurations { } } pub mod list_by_managed_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1693,7 +1693,7 @@ pub mod maintenance_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1770,7 +1770,7 @@ pub mod maintenance_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1838,7 +1838,7 @@ pub mod maintenance_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1867,7 +1867,7 @@ pub mod maintenance_configurations { } } pub mod agent_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1916,7 +1916,7 @@ pub mod agent_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1988,7 +1988,7 @@ pub mod agent_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2071,7 +2071,7 @@ pub mod agent_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AgentPool), @@ -2144,7 +2144,7 @@ pub mod agent_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2217,7 +2217,7 @@ pub mod agent_pools { } } pub mod get_upgrade_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2290,7 +2290,7 @@ pub mod agent_pools { } } pub mod get_available_agent_pool_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2359,7 +2359,7 @@ pub mod agent_pools { } } pub mod upgrade_node_image_version { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2388,7 +2388,7 @@ pub mod agent_pools { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2437,7 +2437,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2509,7 +2509,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2583,7 +2583,7 @@ pub mod private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2651,7 +2651,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2680,7 +2680,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2729,7 +2729,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2753,7 +2753,7 @@ pub mod private_link_resources { } } pub mod resolve_private_link_service_id { - use crate::models::*; + use super::{models, models::*}; pub async fn post( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2804,7 +2804,7 @@ pub mod resolve_private_link_service_id { } } pub mod post { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2828,7 +2828,7 @@ pub mod resolve_private_link_service_id { } } pub mod snapshots { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2873,7 +2873,7 @@ pub mod snapshots { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2946,7 +2946,7 @@ pub mod snapshots { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3016,7 +3016,7 @@ pub mod snapshots { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3097,7 +3097,7 @@ pub mod snapshots { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Snapshot), @@ -3177,7 +3177,7 @@ pub mod snapshots { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3243,7 +3243,7 @@ pub mod snapshots { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/cosmos_db/Cargo.toml b/services/mgmt/cosmos_db/Cargo.toml index 19361de122..aa96f7bf01 100644 --- a/services/mgmt/cosmos_db/Cargo.toml +++ b/services/mgmt/cosmos_db/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-05"] +no-default-version = [] "package-2021-07-preview" = [] "package-2021-05" = [] "package-2021-04" = [] diff --git a/services/mgmt/cosmos_db/src/lib.rs b/services/mgmt/cosmos_db/src/lib.rs index 09fa8e6f1c..4c68972fb4 100644 --- a/services/mgmt/cosmos_db/src/lib.rs +++ b/services/mgmt/cosmos_db/src/lib.rs @@ -1,85 +1,93 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-07-preview")] -mod package_2021_07_preview; -#[cfg(feature = "package-2021-07-preview")] +pub mod package_2021_07_preview; +#[cfg(all(feature = "package-2021-07-preview", not(feature = "no-default-version")))] pub use package_2021_07_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-05")] -mod package_2021_05; -#[cfg(feature = "package-2021-05")] +pub mod package_2021_05; +#[cfg(all(feature = "package-2021-05", not(feature = "no-default-version")))] pub use package_2021_05::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-04")] -mod package_2021_04; -#[cfg(feature = "package-2021-04")] +pub mod package_2021_04; +#[cfg(all(feature = "package-2021-04", not(feature = "no-default-version")))] pub use package_2021_04::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-04-preview")] -mod package_2021_04_preview; -#[cfg(feature = "package-2021-04-preview")] +pub mod package_2021_04_preview; +#[cfg(all(feature = "package-2021-04-preview", not(feature = "no-default-version")))] pub use package_2021_04_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-03")] -mod package_2021_03; -#[cfg(feature = "package-2021-03")] +pub mod package_2021_03; +#[cfg(all(feature = "package-2021-03", not(feature = "no-default-version")))] pub use package_2021_03::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-03-preview")] -mod package_2021_03_preview; -#[cfg(feature = "package-2021-03-preview")] +pub mod package_2021_03_preview; +#[cfg(all(feature = "package-2021-03-preview", not(feature = "no-default-version")))] pub use package_2021_03_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2021-04")] -mod package_preview_2021_04; -#[cfg(feature = "package-preview-2021-04")] +pub mod package_preview_2021_04; +#[cfg(all(feature = "package-preview-2021-04", not(feature = "no-default-version")))] pub use package_preview_2021_04::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-01")] -mod package_2021_01; -#[cfg(feature = "package-2021-01")] +pub mod package_2021_01; +#[cfg(all(feature = "package-2021-01", not(feature = "no-default-version")))] pub use package_2021_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-09")] -mod package_2020_09; -#[cfg(feature = "package-2020-09")] +pub mod package_2020_09; +#[cfg(all(feature = "package-2020-09", not(feature = "no-default-version")))] pub use package_2020_09::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-06-preview")] -mod package_2020_06_preview; -#[cfg(feature = "package-2020-06-preview")] +pub mod package_2020_06_preview; +#[cfg(all(feature = "package-2020-06-preview", not(feature = "no-default-version")))] pub use package_2020_06_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-04")] -mod package_2020_04; -#[cfg(feature = "package-2020-04")] +pub mod package_2020_04; +#[cfg(all(feature = "package-2020-04", not(feature = "no-default-version")))] pub use package_2020_04::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-03")] -mod package_2020_03; -#[cfg(feature = "package-2020-03")] +pub mod package_2020_03; +#[cfg(all(feature = "package-2020-03", not(feature = "no-default-version")))] pub use package_2020_03::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-12")] -mod package_2019_12; -#[cfg(feature = "package-2019-12")] +pub mod package_2019_12; +#[cfg(all(feature = "package-2019-12", not(feature = "no-default-version")))] pub use package_2019_12::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-08")] -mod package_2019_08; -#[cfg(feature = "package-2019-08")] +pub mod package_2019_08; +#[cfg(all(feature = "package-2019-08", not(feature = "no-default-version")))] pub use package_2019_08::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-08-preview")] -mod package_2019_08_preview; -#[cfg(feature = "package-2019-08-preview")] +pub mod package_2019_08_preview; +#[cfg(all(feature = "package-2019-08-preview", not(feature = "no-default-version")))] pub use package_2019_08_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2015-04")] -mod package_2015_04; -#[cfg(feature = "package-2015-04")] +pub mod package_2015_04; +#[cfg(all(feature = "package-2015-04", not(feature = "no-default-version")))] pub use package_2015_04::{models, operations, API_VERSION}; #[cfg(feature = "package-2014-04")] -mod package_2014_04; -#[cfg(feature = "package-2014-04")] +pub mod package_2014_04; +#[cfg(all(feature = "package-2014-04", not(feature = "no-default-version")))] pub use package_2014_04::{models, operations, API_VERSION}; #[cfg(feature = "package-2015-11")] -mod package_2015_11; -#[cfg(feature = "package-2015-11")] +pub mod package_2015_11; +#[cfg(all(feature = "package-2015-11", not(feature = "no-default-version")))] pub use package_2015_11::{models, operations, API_VERSION}; #[cfg(feature = "package-2016-03-19")] -mod package_2016_03_19; -#[cfg(feature = "package-2016-03-19")] +pub mod package_2016_03_19; +#[cfg(all(feature = "package-2016-03-19", not(feature = "no-default-version")))] pub use package_2016_03_19::{models, operations, API_VERSION}; #[cfg(feature = "package-2016-03-31")] -mod package_2016_03_31; +pub mod package_2016_03_31; use azure_core::setters; -#[cfg(feature = "package-2016-03-31")] +#[cfg(all(feature = "package-2016-03-31", not(feature = "no-default-version")))] pub use package_2016_03_31::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -103,7 +111,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/cosmos_db/src/package_2014_04/operations.rs b/services/mgmt/cosmos_db/src/package_2014_04/operations.rs index 070735cd87..bdf65bd77b 100644 --- a/services/mgmt/cosmos_db/src/package_2014_04/operations.rs +++ b/services/mgmt/cosmos_db/src/package_2014_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod database_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -51,7 +51,7 @@ pub mod database_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -121,7 +121,7 @@ pub mod database_accounts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -188,7 +188,7 @@ pub mod database_accounts { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -249,7 +249,7 @@ pub mod database_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -322,7 +322,7 @@ pub mod database_accounts { } } pub mod failover_priority_change { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -388,7 +388,7 @@ pub mod database_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -456,7 +456,7 @@ pub mod database_accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -525,7 +525,7 @@ pub mod database_accounts { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -596,7 +596,7 @@ pub mod database_accounts { } } pub mod list_connection_strings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -664,7 +664,7 @@ pub mod database_accounts { } } pub mod offline_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -740,7 +740,7 @@ pub mod database_accounts { } } pub mod online_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -816,7 +816,7 @@ pub mod database_accounts { } } pub mod get_read_only_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -885,7 +885,7 @@ pub mod database_accounts { } } pub mod list_read_only_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -951,7 +951,7 @@ pub mod database_accounts { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1016,7 +1016,7 @@ pub mod database_accounts { } } pub mod check_name_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1088,7 +1088,7 @@ pub mod database_accounts { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1160,7 +1160,7 @@ pub mod database_accounts { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1230,7 +1230,7 @@ pub mod database_accounts { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1298,7 +1298,7 @@ pub mod database_accounts { } } pub mod list_sql_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1368,7 +1368,7 @@ pub mod database_accounts { } } pub mod get_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1444,7 +1444,7 @@ pub mod database_accounts { } } pub mod create_update_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1515,7 +1515,7 @@ pub mod database_accounts { } } pub mod delete_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1585,7 +1585,7 @@ pub mod database_accounts { } } pub mod get_sql_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1653,7 +1653,7 @@ pub mod database_accounts { } } pub mod update_sql_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1728,7 +1728,7 @@ pub mod database_accounts { } } pub mod list_sql_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1800,7 +1800,7 @@ pub mod database_accounts { } } pub mod get_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1878,7 +1878,7 @@ pub mod database_accounts { } } pub mod create_update_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1951,7 +1951,7 @@ pub mod database_accounts { } } pub mod delete_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2022,7 +2022,7 @@ pub mod database_accounts { } } pub mod get_sql_container_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2091,7 +2091,7 @@ pub mod database_accounts { } } pub mod update_sql_container_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2166,7 +2166,7 @@ pub mod database_accounts { } } pub mod list_mongo_db_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2238,7 +2238,7 @@ pub mod database_accounts { } } pub mod get_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2314,7 +2314,7 @@ pub mod database_accounts { } } pub mod create_update_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2387,7 +2387,7 @@ pub mod database_accounts { } } pub mod delete_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2457,7 +2457,7 @@ pub mod database_accounts { } } pub mod get_mongo_db_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2526,7 +2526,7 @@ pub mod database_accounts { } } pub mod update_mongo_db_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2596,7 +2596,7 @@ pub mod database_accounts { } } pub mod list_mongo_db_collections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2662,7 +2662,7 @@ pub mod database_accounts { } } pub mod get_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2732,7 +2732,7 @@ pub mod database_accounts { } } pub mod create_update_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2799,7 +2799,7 @@ pub mod database_accounts { } } pub mod delete_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2870,7 +2870,7 @@ pub mod database_accounts { } } pub mod get_mongo_db_collection_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2940,7 +2940,7 @@ pub mod database_accounts { } } pub mod update_mongo_db_collection_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3013,7 +3013,7 @@ pub mod database_accounts { } } pub mod list_tables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3083,7 +3083,7 @@ pub mod database_accounts { } } pub mod get_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3156,7 +3156,7 @@ pub mod database_accounts { } } pub mod create_update_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3227,7 +3227,7 @@ pub mod database_accounts { } } pub mod delete_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3295,7 +3295,7 @@ pub mod database_accounts { } } pub mod get_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3363,7 +3363,7 @@ pub mod database_accounts { } } pub mod update_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3438,7 +3438,7 @@ pub mod database_accounts { } } pub mod list_cassandra_keyspaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3510,7 +3510,7 @@ pub mod database_accounts { } } pub mod get_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3586,7 +3586,7 @@ pub mod database_accounts { } } pub mod create_update_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3659,7 +3659,7 @@ pub mod database_accounts { } } pub mod delete_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3729,7 +3729,7 @@ pub mod database_accounts { } } pub mod get_cassandra_keyspace_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3798,7 +3798,7 @@ pub mod database_accounts { } } pub mod update_cassandra_keyspace_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3875,7 +3875,7 @@ pub mod database_accounts { } } pub mod list_cassandra_tables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3939,7 +3939,7 @@ pub mod database_accounts { } } pub mod get_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4009,7 +4009,7 @@ pub mod database_accounts { } } pub mod create_update_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4076,7 +4076,7 @@ pub mod database_accounts { } } pub mod delete_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4147,7 +4147,7 @@ pub mod database_accounts { } } pub mod get_cassandra_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4217,7 +4217,7 @@ pub mod database_accounts { } } pub mod update_cassandra_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4292,7 +4292,7 @@ pub mod database_accounts { } } pub mod list_gremlin_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4362,7 +4362,7 @@ pub mod database_accounts { } } pub mod get_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4438,7 +4438,7 @@ pub mod database_accounts { } } pub mod create_update_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4511,7 +4511,7 @@ pub mod database_accounts { } } pub mod delete_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4581,7 +4581,7 @@ pub mod database_accounts { } } pub mod get_gremlin_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4650,7 +4650,7 @@ pub mod database_accounts { } } pub mod update_gremlin_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4725,7 +4725,7 @@ pub mod database_accounts { } } pub mod list_gremlin_graphs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4797,7 +4797,7 @@ pub mod database_accounts { } } pub mod get_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4875,7 +4875,7 @@ pub mod database_accounts { } } pub mod create_update_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4948,7 +4948,7 @@ pub mod database_accounts { } } pub mod delete_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5019,7 +5019,7 @@ pub mod database_accounts { } } pub mod get_gremlin_graph_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5088,7 +5088,7 @@ pub mod database_accounts { } } pub mod update_gremlin_graph_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5114,7 +5114,7 @@ pub mod database_accounts { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DocumentDB/operations", operation_config.base_path(),); @@ -5150,7 +5150,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5171,7 +5171,7 @@ pub mod operations { } } pub mod database { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5225,7 +5225,7 @@ pub mod database { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5299,7 +5299,7 @@ pub mod database { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5371,7 +5371,7 @@ pub mod database { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5392,7 +5392,7 @@ pub mod database { } } pub mod collection { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5448,7 +5448,7 @@ pub mod collection { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5524,7 +5524,7 @@ pub mod collection { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5590,7 +5590,7 @@ pub mod collection { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5611,7 +5611,7 @@ pub mod collection { } } pub mod collection_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5660,7 +5660,7 @@ pub mod collection_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5681,7 +5681,7 @@ pub mod collection_region { } } pub mod database_account_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5735,7 +5735,7 @@ pub mod database_account_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5756,7 +5756,7 @@ pub mod database_account_region { } } pub mod percentile_source_target { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5804,7 +5804,7 @@ pub mod percentile_source_target { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5825,7 +5825,7 @@ pub mod percentile_source_target { } } pub mod percentile_target { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5879,7 +5879,7 @@ pub mod percentile_target { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5900,7 +5900,7 @@ pub mod percentile_target { } } pub mod percentile { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5952,7 +5952,7 @@ pub mod percentile { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5973,7 +5973,7 @@ pub mod percentile { } } pub mod collection_partition_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6022,7 +6022,7 @@ pub mod collection_partition_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6043,7 +6043,7 @@ pub mod collection_partition_region { } } pub mod collection_partition { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6091,7 +6091,7 @@ pub mod collection_partition { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6159,7 +6159,7 @@ pub mod collection_partition { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6180,7 +6180,7 @@ pub mod collection_partition { } } pub mod partition_key_range_id { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6229,7 +6229,7 @@ pub mod partition_key_range_id { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6250,7 +6250,7 @@ pub mod partition_key_range_id { } } pub mod partition_key_range_id_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6300,7 +6300,7 @@ pub mod partition_key_range_id_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/cosmos_db/src/package_2015_04/operations.rs b/services/mgmt/cosmos_db/src/package_2015_04/operations.rs index 070735cd87..bdf65bd77b 100644 --- a/services/mgmt/cosmos_db/src/package_2015_04/operations.rs +++ b/services/mgmt/cosmos_db/src/package_2015_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod database_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -51,7 +51,7 @@ pub mod database_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -121,7 +121,7 @@ pub mod database_accounts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -188,7 +188,7 @@ pub mod database_accounts { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -249,7 +249,7 @@ pub mod database_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -322,7 +322,7 @@ pub mod database_accounts { } } pub mod failover_priority_change { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -388,7 +388,7 @@ pub mod database_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -456,7 +456,7 @@ pub mod database_accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -525,7 +525,7 @@ pub mod database_accounts { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -596,7 +596,7 @@ pub mod database_accounts { } } pub mod list_connection_strings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -664,7 +664,7 @@ pub mod database_accounts { } } pub mod offline_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -740,7 +740,7 @@ pub mod database_accounts { } } pub mod online_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -816,7 +816,7 @@ pub mod database_accounts { } } pub mod get_read_only_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -885,7 +885,7 @@ pub mod database_accounts { } } pub mod list_read_only_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -951,7 +951,7 @@ pub mod database_accounts { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1016,7 +1016,7 @@ pub mod database_accounts { } } pub mod check_name_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1088,7 +1088,7 @@ pub mod database_accounts { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1160,7 +1160,7 @@ pub mod database_accounts { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1230,7 +1230,7 @@ pub mod database_accounts { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1298,7 +1298,7 @@ pub mod database_accounts { } } pub mod list_sql_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1368,7 +1368,7 @@ pub mod database_accounts { } } pub mod get_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1444,7 +1444,7 @@ pub mod database_accounts { } } pub mod create_update_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1515,7 +1515,7 @@ pub mod database_accounts { } } pub mod delete_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1585,7 +1585,7 @@ pub mod database_accounts { } } pub mod get_sql_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1653,7 +1653,7 @@ pub mod database_accounts { } } pub mod update_sql_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1728,7 +1728,7 @@ pub mod database_accounts { } } pub mod list_sql_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1800,7 +1800,7 @@ pub mod database_accounts { } } pub mod get_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1878,7 +1878,7 @@ pub mod database_accounts { } } pub mod create_update_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1951,7 +1951,7 @@ pub mod database_accounts { } } pub mod delete_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2022,7 +2022,7 @@ pub mod database_accounts { } } pub mod get_sql_container_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2091,7 +2091,7 @@ pub mod database_accounts { } } pub mod update_sql_container_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2166,7 +2166,7 @@ pub mod database_accounts { } } pub mod list_mongo_db_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2238,7 +2238,7 @@ pub mod database_accounts { } } pub mod get_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2314,7 +2314,7 @@ pub mod database_accounts { } } pub mod create_update_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2387,7 +2387,7 @@ pub mod database_accounts { } } pub mod delete_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2457,7 +2457,7 @@ pub mod database_accounts { } } pub mod get_mongo_db_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2526,7 +2526,7 @@ pub mod database_accounts { } } pub mod update_mongo_db_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2596,7 +2596,7 @@ pub mod database_accounts { } } pub mod list_mongo_db_collections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2662,7 +2662,7 @@ pub mod database_accounts { } } pub mod get_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2732,7 +2732,7 @@ pub mod database_accounts { } } pub mod create_update_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2799,7 +2799,7 @@ pub mod database_accounts { } } pub mod delete_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2870,7 +2870,7 @@ pub mod database_accounts { } } pub mod get_mongo_db_collection_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2940,7 +2940,7 @@ pub mod database_accounts { } } pub mod update_mongo_db_collection_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3013,7 +3013,7 @@ pub mod database_accounts { } } pub mod list_tables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3083,7 +3083,7 @@ pub mod database_accounts { } } pub mod get_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3156,7 +3156,7 @@ pub mod database_accounts { } } pub mod create_update_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3227,7 +3227,7 @@ pub mod database_accounts { } } pub mod delete_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3295,7 +3295,7 @@ pub mod database_accounts { } } pub mod get_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3363,7 +3363,7 @@ pub mod database_accounts { } } pub mod update_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3438,7 +3438,7 @@ pub mod database_accounts { } } pub mod list_cassandra_keyspaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3510,7 +3510,7 @@ pub mod database_accounts { } } pub mod get_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3586,7 +3586,7 @@ pub mod database_accounts { } } pub mod create_update_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3659,7 +3659,7 @@ pub mod database_accounts { } } pub mod delete_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3729,7 +3729,7 @@ pub mod database_accounts { } } pub mod get_cassandra_keyspace_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3798,7 +3798,7 @@ pub mod database_accounts { } } pub mod update_cassandra_keyspace_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3875,7 +3875,7 @@ pub mod database_accounts { } } pub mod list_cassandra_tables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3939,7 +3939,7 @@ pub mod database_accounts { } } pub mod get_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4009,7 +4009,7 @@ pub mod database_accounts { } } pub mod create_update_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4076,7 +4076,7 @@ pub mod database_accounts { } } pub mod delete_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4147,7 +4147,7 @@ pub mod database_accounts { } } pub mod get_cassandra_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4217,7 +4217,7 @@ pub mod database_accounts { } } pub mod update_cassandra_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4292,7 +4292,7 @@ pub mod database_accounts { } } pub mod list_gremlin_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4362,7 +4362,7 @@ pub mod database_accounts { } } pub mod get_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4438,7 +4438,7 @@ pub mod database_accounts { } } pub mod create_update_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4511,7 +4511,7 @@ pub mod database_accounts { } } pub mod delete_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4581,7 +4581,7 @@ pub mod database_accounts { } } pub mod get_gremlin_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4650,7 +4650,7 @@ pub mod database_accounts { } } pub mod update_gremlin_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4725,7 +4725,7 @@ pub mod database_accounts { } } pub mod list_gremlin_graphs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4797,7 +4797,7 @@ pub mod database_accounts { } } pub mod get_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4875,7 +4875,7 @@ pub mod database_accounts { } } pub mod create_update_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4948,7 +4948,7 @@ pub mod database_accounts { } } pub mod delete_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5019,7 +5019,7 @@ pub mod database_accounts { } } pub mod get_gremlin_graph_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5088,7 +5088,7 @@ pub mod database_accounts { } } pub mod update_gremlin_graph_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5114,7 +5114,7 @@ pub mod database_accounts { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DocumentDB/operations", operation_config.base_path(),); @@ -5150,7 +5150,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5171,7 +5171,7 @@ pub mod operations { } } pub mod database { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5225,7 +5225,7 @@ pub mod database { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5299,7 +5299,7 @@ pub mod database { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5371,7 +5371,7 @@ pub mod database { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5392,7 +5392,7 @@ pub mod database { } } pub mod collection { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5448,7 +5448,7 @@ pub mod collection { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5524,7 +5524,7 @@ pub mod collection { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5590,7 +5590,7 @@ pub mod collection { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5611,7 +5611,7 @@ pub mod collection { } } pub mod collection_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5660,7 +5660,7 @@ pub mod collection_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5681,7 +5681,7 @@ pub mod collection_region { } } pub mod database_account_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5735,7 +5735,7 @@ pub mod database_account_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5756,7 +5756,7 @@ pub mod database_account_region { } } pub mod percentile_source_target { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5804,7 +5804,7 @@ pub mod percentile_source_target { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5825,7 +5825,7 @@ pub mod percentile_source_target { } } pub mod percentile_target { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5879,7 +5879,7 @@ pub mod percentile_target { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5900,7 +5900,7 @@ pub mod percentile_target { } } pub mod percentile { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5952,7 +5952,7 @@ pub mod percentile { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5973,7 +5973,7 @@ pub mod percentile { } } pub mod collection_partition_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6022,7 +6022,7 @@ pub mod collection_partition_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6043,7 +6043,7 @@ pub mod collection_partition_region { } } pub mod collection_partition { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6091,7 +6091,7 @@ pub mod collection_partition { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6159,7 +6159,7 @@ pub mod collection_partition { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6180,7 +6180,7 @@ pub mod collection_partition { } } pub mod partition_key_range_id { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6229,7 +6229,7 @@ pub mod partition_key_range_id { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6250,7 +6250,7 @@ pub mod partition_key_range_id { } } pub mod partition_key_range_id_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6300,7 +6300,7 @@ pub mod partition_key_range_id_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/cosmos_db/src/package_2015_11/operations.rs b/services/mgmt/cosmos_db/src/package_2015_11/operations.rs index 070735cd87..bdf65bd77b 100644 --- a/services/mgmt/cosmos_db/src/package_2015_11/operations.rs +++ b/services/mgmt/cosmos_db/src/package_2015_11/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod database_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -51,7 +51,7 @@ pub mod database_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -121,7 +121,7 @@ pub mod database_accounts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -188,7 +188,7 @@ pub mod database_accounts { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -249,7 +249,7 @@ pub mod database_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -322,7 +322,7 @@ pub mod database_accounts { } } pub mod failover_priority_change { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -388,7 +388,7 @@ pub mod database_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -456,7 +456,7 @@ pub mod database_accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -525,7 +525,7 @@ pub mod database_accounts { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -596,7 +596,7 @@ pub mod database_accounts { } } pub mod list_connection_strings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -664,7 +664,7 @@ pub mod database_accounts { } } pub mod offline_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -740,7 +740,7 @@ pub mod database_accounts { } } pub mod online_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -816,7 +816,7 @@ pub mod database_accounts { } } pub mod get_read_only_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -885,7 +885,7 @@ pub mod database_accounts { } } pub mod list_read_only_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -951,7 +951,7 @@ pub mod database_accounts { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1016,7 +1016,7 @@ pub mod database_accounts { } } pub mod check_name_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1088,7 +1088,7 @@ pub mod database_accounts { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1160,7 +1160,7 @@ pub mod database_accounts { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1230,7 +1230,7 @@ pub mod database_accounts { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1298,7 +1298,7 @@ pub mod database_accounts { } } pub mod list_sql_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1368,7 +1368,7 @@ pub mod database_accounts { } } pub mod get_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1444,7 +1444,7 @@ pub mod database_accounts { } } pub mod create_update_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1515,7 +1515,7 @@ pub mod database_accounts { } } pub mod delete_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1585,7 +1585,7 @@ pub mod database_accounts { } } pub mod get_sql_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1653,7 +1653,7 @@ pub mod database_accounts { } } pub mod update_sql_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1728,7 +1728,7 @@ pub mod database_accounts { } } pub mod list_sql_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1800,7 +1800,7 @@ pub mod database_accounts { } } pub mod get_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1878,7 +1878,7 @@ pub mod database_accounts { } } pub mod create_update_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1951,7 +1951,7 @@ pub mod database_accounts { } } pub mod delete_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2022,7 +2022,7 @@ pub mod database_accounts { } } pub mod get_sql_container_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2091,7 +2091,7 @@ pub mod database_accounts { } } pub mod update_sql_container_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2166,7 +2166,7 @@ pub mod database_accounts { } } pub mod list_mongo_db_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2238,7 +2238,7 @@ pub mod database_accounts { } } pub mod get_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2314,7 +2314,7 @@ pub mod database_accounts { } } pub mod create_update_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2387,7 +2387,7 @@ pub mod database_accounts { } } pub mod delete_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2457,7 +2457,7 @@ pub mod database_accounts { } } pub mod get_mongo_db_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2526,7 +2526,7 @@ pub mod database_accounts { } } pub mod update_mongo_db_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2596,7 +2596,7 @@ pub mod database_accounts { } } pub mod list_mongo_db_collections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2662,7 +2662,7 @@ pub mod database_accounts { } } pub mod get_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2732,7 +2732,7 @@ pub mod database_accounts { } } pub mod create_update_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2799,7 +2799,7 @@ pub mod database_accounts { } } pub mod delete_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2870,7 +2870,7 @@ pub mod database_accounts { } } pub mod get_mongo_db_collection_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2940,7 +2940,7 @@ pub mod database_accounts { } } pub mod update_mongo_db_collection_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3013,7 +3013,7 @@ pub mod database_accounts { } } pub mod list_tables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3083,7 +3083,7 @@ pub mod database_accounts { } } pub mod get_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3156,7 +3156,7 @@ pub mod database_accounts { } } pub mod create_update_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3227,7 +3227,7 @@ pub mod database_accounts { } } pub mod delete_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3295,7 +3295,7 @@ pub mod database_accounts { } } pub mod get_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3363,7 +3363,7 @@ pub mod database_accounts { } } pub mod update_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3438,7 +3438,7 @@ pub mod database_accounts { } } pub mod list_cassandra_keyspaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3510,7 +3510,7 @@ pub mod database_accounts { } } pub mod get_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3586,7 +3586,7 @@ pub mod database_accounts { } } pub mod create_update_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3659,7 +3659,7 @@ pub mod database_accounts { } } pub mod delete_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3729,7 +3729,7 @@ pub mod database_accounts { } } pub mod get_cassandra_keyspace_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3798,7 +3798,7 @@ pub mod database_accounts { } } pub mod update_cassandra_keyspace_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3875,7 +3875,7 @@ pub mod database_accounts { } } pub mod list_cassandra_tables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3939,7 +3939,7 @@ pub mod database_accounts { } } pub mod get_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4009,7 +4009,7 @@ pub mod database_accounts { } } pub mod create_update_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4076,7 +4076,7 @@ pub mod database_accounts { } } pub mod delete_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4147,7 +4147,7 @@ pub mod database_accounts { } } pub mod get_cassandra_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4217,7 +4217,7 @@ pub mod database_accounts { } } pub mod update_cassandra_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4292,7 +4292,7 @@ pub mod database_accounts { } } pub mod list_gremlin_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4362,7 +4362,7 @@ pub mod database_accounts { } } pub mod get_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4438,7 +4438,7 @@ pub mod database_accounts { } } pub mod create_update_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4511,7 +4511,7 @@ pub mod database_accounts { } } pub mod delete_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4581,7 +4581,7 @@ pub mod database_accounts { } } pub mod get_gremlin_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4650,7 +4650,7 @@ pub mod database_accounts { } } pub mod update_gremlin_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4725,7 +4725,7 @@ pub mod database_accounts { } } pub mod list_gremlin_graphs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4797,7 +4797,7 @@ pub mod database_accounts { } } pub mod get_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4875,7 +4875,7 @@ pub mod database_accounts { } } pub mod create_update_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4948,7 +4948,7 @@ pub mod database_accounts { } } pub mod delete_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5019,7 +5019,7 @@ pub mod database_accounts { } } pub mod get_gremlin_graph_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5088,7 +5088,7 @@ pub mod database_accounts { } } pub mod update_gremlin_graph_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5114,7 +5114,7 @@ pub mod database_accounts { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DocumentDB/operations", operation_config.base_path(),); @@ -5150,7 +5150,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5171,7 +5171,7 @@ pub mod operations { } } pub mod database { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5225,7 +5225,7 @@ pub mod database { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5299,7 +5299,7 @@ pub mod database { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5371,7 +5371,7 @@ pub mod database { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5392,7 +5392,7 @@ pub mod database { } } pub mod collection { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5448,7 +5448,7 @@ pub mod collection { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5524,7 +5524,7 @@ pub mod collection { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5590,7 +5590,7 @@ pub mod collection { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5611,7 +5611,7 @@ pub mod collection { } } pub mod collection_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5660,7 +5660,7 @@ pub mod collection_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5681,7 +5681,7 @@ pub mod collection_region { } } pub mod database_account_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5735,7 +5735,7 @@ pub mod database_account_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5756,7 +5756,7 @@ pub mod database_account_region { } } pub mod percentile_source_target { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5804,7 +5804,7 @@ pub mod percentile_source_target { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5825,7 +5825,7 @@ pub mod percentile_source_target { } } pub mod percentile_target { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5879,7 +5879,7 @@ pub mod percentile_target { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5900,7 +5900,7 @@ pub mod percentile_target { } } pub mod percentile { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5952,7 +5952,7 @@ pub mod percentile { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5973,7 +5973,7 @@ pub mod percentile { } } pub mod collection_partition_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6022,7 +6022,7 @@ pub mod collection_partition_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6043,7 +6043,7 @@ pub mod collection_partition_region { } } pub mod collection_partition { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6091,7 +6091,7 @@ pub mod collection_partition { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6159,7 +6159,7 @@ pub mod collection_partition { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6180,7 +6180,7 @@ pub mod collection_partition { } } pub mod partition_key_range_id { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6229,7 +6229,7 @@ pub mod partition_key_range_id { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6250,7 +6250,7 @@ pub mod partition_key_range_id { } } pub mod partition_key_range_id_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6300,7 +6300,7 @@ pub mod partition_key_range_id_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/cosmos_db/src/package_2016_03_19/operations.rs b/services/mgmt/cosmos_db/src/package_2016_03_19/operations.rs index 070735cd87..bdf65bd77b 100644 --- a/services/mgmt/cosmos_db/src/package_2016_03_19/operations.rs +++ b/services/mgmt/cosmos_db/src/package_2016_03_19/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod database_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -51,7 +51,7 @@ pub mod database_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -121,7 +121,7 @@ pub mod database_accounts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -188,7 +188,7 @@ pub mod database_accounts { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -249,7 +249,7 @@ pub mod database_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -322,7 +322,7 @@ pub mod database_accounts { } } pub mod failover_priority_change { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -388,7 +388,7 @@ pub mod database_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -456,7 +456,7 @@ pub mod database_accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -525,7 +525,7 @@ pub mod database_accounts { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -596,7 +596,7 @@ pub mod database_accounts { } } pub mod list_connection_strings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -664,7 +664,7 @@ pub mod database_accounts { } } pub mod offline_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -740,7 +740,7 @@ pub mod database_accounts { } } pub mod online_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -816,7 +816,7 @@ pub mod database_accounts { } } pub mod get_read_only_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -885,7 +885,7 @@ pub mod database_accounts { } } pub mod list_read_only_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -951,7 +951,7 @@ pub mod database_accounts { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1016,7 +1016,7 @@ pub mod database_accounts { } } pub mod check_name_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1088,7 +1088,7 @@ pub mod database_accounts { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1160,7 +1160,7 @@ pub mod database_accounts { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1230,7 +1230,7 @@ pub mod database_accounts { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1298,7 +1298,7 @@ pub mod database_accounts { } } pub mod list_sql_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1368,7 +1368,7 @@ pub mod database_accounts { } } pub mod get_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1444,7 +1444,7 @@ pub mod database_accounts { } } pub mod create_update_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1515,7 +1515,7 @@ pub mod database_accounts { } } pub mod delete_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1585,7 +1585,7 @@ pub mod database_accounts { } } pub mod get_sql_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1653,7 +1653,7 @@ pub mod database_accounts { } } pub mod update_sql_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1728,7 +1728,7 @@ pub mod database_accounts { } } pub mod list_sql_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1800,7 +1800,7 @@ pub mod database_accounts { } } pub mod get_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1878,7 +1878,7 @@ pub mod database_accounts { } } pub mod create_update_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1951,7 +1951,7 @@ pub mod database_accounts { } } pub mod delete_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2022,7 +2022,7 @@ pub mod database_accounts { } } pub mod get_sql_container_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2091,7 +2091,7 @@ pub mod database_accounts { } } pub mod update_sql_container_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2166,7 +2166,7 @@ pub mod database_accounts { } } pub mod list_mongo_db_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2238,7 +2238,7 @@ pub mod database_accounts { } } pub mod get_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2314,7 +2314,7 @@ pub mod database_accounts { } } pub mod create_update_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2387,7 +2387,7 @@ pub mod database_accounts { } } pub mod delete_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2457,7 +2457,7 @@ pub mod database_accounts { } } pub mod get_mongo_db_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2526,7 +2526,7 @@ pub mod database_accounts { } } pub mod update_mongo_db_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2596,7 +2596,7 @@ pub mod database_accounts { } } pub mod list_mongo_db_collections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2662,7 +2662,7 @@ pub mod database_accounts { } } pub mod get_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2732,7 +2732,7 @@ pub mod database_accounts { } } pub mod create_update_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2799,7 +2799,7 @@ pub mod database_accounts { } } pub mod delete_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2870,7 +2870,7 @@ pub mod database_accounts { } } pub mod get_mongo_db_collection_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2940,7 +2940,7 @@ pub mod database_accounts { } } pub mod update_mongo_db_collection_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3013,7 +3013,7 @@ pub mod database_accounts { } } pub mod list_tables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3083,7 +3083,7 @@ pub mod database_accounts { } } pub mod get_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3156,7 +3156,7 @@ pub mod database_accounts { } } pub mod create_update_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3227,7 +3227,7 @@ pub mod database_accounts { } } pub mod delete_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3295,7 +3295,7 @@ pub mod database_accounts { } } pub mod get_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3363,7 +3363,7 @@ pub mod database_accounts { } } pub mod update_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3438,7 +3438,7 @@ pub mod database_accounts { } } pub mod list_cassandra_keyspaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3510,7 +3510,7 @@ pub mod database_accounts { } } pub mod get_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3586,7 +3586,7 @@ pub mod database_accounts { } } pub mod create_update_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3659,7 +3659,7 @@ pub mod database_accounts { } } pub mod delete_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3729,7 +3729,7 @@ pub mod database_accounts { } } pub mod get_cassandra_keyspace_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3798,7 +3798,7 @@ pub mod database_accounts { } } pub mod update_cassandra_keyspace_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3875,7 +3875,7 @@ pub mod database_accounts { } } pub mod list_cassandra_tables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3939,7 +3939,7 @@ pub mod database_accounts { } } pub mod get_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4009,7 +4009,7 @@ pub mod database_accounts { } } pub mod create_update_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4076,7 +4076,7 @@ pub mod database_accounts { } } pub mod delete_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4147,7 +4147,7 @@ pub mod database_accounts { } } pub mod get_cassandra_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4217,7 +4217,7 @@ pub mod database_accounts { } } pub mod update_cassandra_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4292,7 +4292,7 @@ pub mod database_accounts { } } pub mod list_gremlin_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4362,7 +4362,7 @@ pub mod database_accounts { } } pub mod get_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4438,7 +4438,7 @@ pub mod database_accounts { } } pub mod create_update_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4511,7 +4511,7 @@ pub mod database_accounts { } } pub mod delete_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4581,7 +4581,7 @@ pub mod database_accounts { } } pub mod get_gremlin_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4650,7 +4650,7 @@ pub mod database_accounts { } } pub mod update_gremlin_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4725,7 +4725,7 @@ pub mod database_accounts { } } pub mod list_gremlin_graphs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4797,7 +4797,7 @@ pub mod database_accounts { } } pub mod get_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4875,7 +4875,7 @@ pub mod database_accounts { } } pub mod create_update_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4948,7 +4948,7 @@ pub mod database_accounts { } } pub mod delete_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5019,7 +5019,7 @@ pub mod database_accounts { } } pub mod get_gremlin_graph_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5088,7 +5088,7 @@ pub mod database_accounts { } } pub mod update_gremlin_graph_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5114,7 +5114,7 @@ pub mod database_accounts { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DocumentDB/operations", operation_config.base_path(),); @@ -5150,7 +5150,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5171,7 +5171,7 @@ pub mod operations { } } pub mod database { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5225,7 +5225,7 @@ pub mod database { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5299,7 +5299,7 @@ pub mod database { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5371,7 +5371,7 @@ pub mod database { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5392,7 +5392,7 @@ pub mod database { } } pub mod collection { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5448,7 +5448,7 @@ pub mod collection { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5524,7 +5524,7 @@ pub mod collection { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5590,7 +5590,7 @@ pub mod collection { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5611,7 +5611,7 @@ pub mod collection { } } pub mod collection_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5660,7 +5660,7 @@ pub mod collection_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5681,7 +5681,7 @@ pub mod collection_region { } } pub mod database_account_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5735,7 +5735,7 @@ pub mod database_account_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5756,7 +5756,7 @@ pub mod database_account_region { } } pub mod percentile_source_target { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5804,7 +5804,7 @@ pub mod percentile_source_target { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5825,7 +5825,7 @@ pub mod percentile_source_target { } } pub mod percentile_target { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5879,7 +5879,7 @@ pub mod percentile_target { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5900,7 +5900,7 @@ pub mod percentile_target { } } pub mod percentile { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5952,7 +5952,7 @@ pub mod percentile { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5973,7 +5973,7 @@ pub mod percentile { } } pub mod collection_partition_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6022,7 +6022,7 @@ pub mod collection_partition_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6043,7 +6043,7 @@ pub mod collection_partition_region { } } pub mod collection_partition { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6091,7 +6091,7 @@ pub mod collection_partition { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6159,7 +6159,7 @@ pub mod collection_partition { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6180,7 +6180,7 @@ pub mod collection_partition { } } pub mod partition_key_range_id { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6229,7 +6229,7 @@ pub mod partition_key_range_id { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6250,7 +6250,7 @@ pub mod partition_key_range_id { } } pub mod partition_key_range_id_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6300,7 +6300,7 @@ pub mod partition_key_range_id_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/cosmos_db/src/package_2016_03_31/operations.rs b/services/mgmt/cosmos_db/src/package_2016_03_31/operations.rs index 070735cd87..bdf65bd77b 100644 --- a/services/mgmt/cosmos_db/src/package_2016_03_31/operations.rs +++ b/services/mgmt/cosmos_db/src/package_2016_03_31/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod database_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -51,7 +51,7 @@ pub mod database_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -121,7 +121,7 @@ pub mod database_accounts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -188,7 +188,7 @@ pub mod database_accounts { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -249,7 +249,7 @@ pub mod database_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -322,7 +322,7 @@ pub mod database_accounts { } } pub mod failover_priority_change { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -388,7 +388,7 @@ pub mod database_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -456,7 +456,7 @@ pub mod database_accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -525,7 +525,7 @@ pub mod database_accounts { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -596,7 +596,7 @@ pub mod database_accounts { } } pub mod list_connection_strings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -664,7 +664,7 @@ pub mod database_accounts { } } pub mod offline_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -740,7 +740,7 @@ pub mod database_accounts { } } pub mod online_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -816,7 +816,7 @@ pub mod database_accounts { } } pub mod get_read_only_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -885,7 +885,7 @@ pub mod database_accounts { } } pub mod list_read_only_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -951,7 +951,7 @@ pub mod database_accounts { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1016,7 +1016,7 @@ pub mod database_accounts { } } pub mod check_name_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1088,7 +1088,7 @@ pub mod database_accounts { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1160,7 +1160,7 @@ pub mod database_accounts { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1230,7 +1230,7 @@ pub mod database_accounts { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1298,7 +1298,7 @@ pub mod database_accounts { } } pub mod list_sql_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1368,7 +1368,7 @@ pub mod database_accounts { } } pub mod get_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1444,7 +1444,7 @@ pub mod database_accounts { } } pub mod create_update_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1515,7 +1515,7 @@ pub mod database_accounts { } } pub mod delete_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1585,7 +1585,7 @@ pub mod database_accounts { } } pub mod get_sql_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1653,7 +1653,7 @@ pub mod database_accounts { } } pub mod update_sql_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1728,7 +1728,7 @@ pub mod database_accounts { } } pub mod list_sql_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1800,7 +1800,7 @@ pub mod database_accounts { } } pub mod get_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1878,7 +1878,7 @@ pub mod database_accounts { } } pub mod create_update_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1951,7 +1951,7 @@ pub mod database_accounts { } } pub mod delete_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2022,7 +2022,7 @@ pub mod database_accounts { } } pub mod get_sql_container_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2091,7 +2091,7 @@ pub mod database_accounts { } } pub mod update_sql_container_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2166,7 +2166,7 @@ pub mod database_accounts { } } pub mod list_mongo_db_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2238,7 +2238,7 @@ pub mod database_accounts { } } pub mod get_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2314,7 +2314,7 @@ pub mod database_accounts { } } pub mod create_update_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2387,7 +2387,7 @@ pub mod database_accounts { } } pub mod delete_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2457,7 +2457,7 @@ pub mod database_accounts { } } pub mod get_mongo_db_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2526,7 +2526,7 @@ pub mod database_accounts { } } pub mod update_mongo_db_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2596,7 +2596,7 @@ pub mod database_accounts { } } pub mod list_mongo_db_collections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2662,7 +2662,7 @@ pub mod database_accounts { } } pub mod get_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2732,7 +2732,7 @@ pub mod database_accounts { } } pub mod create_update_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2799,7 +2799,7 @@ pub mod database_accounts { } } pub mod delete_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2870,7 +2870,7 @@ pub mod database_accounts { } } pub mod get_mongo_db_collection_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2940,7 +2940,7 @@ pub mod database_accounts { } } pub mod update_mongo_db_collection_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3013,7 +3013,7 @@ pub mod database_accounts { } } pub mod list_tables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3083,7 +3083,7 @@ pub mod database_accounts { } } pub mod get_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3156,7 +3156,7 @@ pub mod database_accounts { } } pub mod create_update_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3227,7 +3227,7 @@ pub mod database_accounts { } } pub mod delete_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3295,7 +3295,7 @@ pub mod database_accounts { } } pub mod get_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3363,7 +3363,7 @@ pub mod database_accounts { } } pub mod update_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3438,7 +3438,7 @@ pub mod database_accounts { } } pub mod list_cassandra_keyspaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3510,7 +3510,7 @@ pub mod database_accounts { } } pub mod get_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3586,7 +3586,7 @@ pub mod database_accounts { } } pub mod create_update_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3659,7 +3659,7 @@ pub mod database_accounts { } } pub mod delete_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3729,7 +3729,7 @@ pub mod database_accounts { } } pub mod get_cassandra_keyspace_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3798,7 +3798,7 @@ pub mod database_accounts { } } pub mod update_cassandra_keyspace_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3875,7 +3875,7 @@ pub mod database_accounts { } } pub mod list_cassandra_tables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3939,7 +3939,7 @@ pub mod database_accounts { } } pub mod get_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4009,7 +4009,7 @@ pub mod database_accounts { } } pub mod create_update_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4076,7 +4076,7 @@ pub mod database_accounts { } } pub mod delete_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4147,7 +4147,7 @@ pub mod database_accounts { } } pub mod get_cassandra_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4217,7 +4217,7 @@ pub mod database_accounts { } } pub mod update_cassandra_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4292,7 +4292,7 @@ pub mod database_accounts { } } pub mod list_gremlin_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4362,7 +4362,7 @@ pub mod database_accounts { } } pub mod get_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4438,7 +4438,7 @@ pub mod database_accounts { } } pub mod create_update_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4511,7 +4511,7 @@ pub mod database_accounts { } } pub mod delete_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4581,7 +4581,7 @@ pub mod database_accounts { } } pub mod get_gremlin_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4650,7 +4650,7 @@ pub mod database_accounts { } } pub mod update_gremlin_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4725,7 +4725,7 @@ pub mod database_accounts { } } pub mod list_gremlin_graphs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4797,7 +4797,7 @@ pub mod database_accounts { } } pub mod get_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4875,7 +4875,7 @@ pub mod database_accounts { } } pub mod create_update_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4948,7 +4948,7 @@ pub mod database_accounts { } } pub mod delete_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5019,7 +5019,7 @@ pub mod database_accounts { } } pub mod get_gremlin_graph_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5088,7 +5088,7 @@ pub mod database_accounts { } } pub mod update_gremlin_graph_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5114,7 +5114,7 @@ pub mod database_accounts { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DocumentDB/operations", operation_config.base_path(),); @@ -5150,7 +5150,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5171,7 +5171,7 @@ pub mod operations { } } pub mod database { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5225,7 +5225,7 @@ pub mod database { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5299,7 +5299,7 @@ pub mod database { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5371,7 +5371,7 @@ pub mod database { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5392,7 +5392,7 @@ pub mod database { } } pub mod collection { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5448,7 +5448,7 @@ pub mod collection { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5524,7 +5524,7 @@ pub mod collection { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5590,7 +5590,7 @@ pub mod collection { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5611,7 +5611,7 @@ pub mod collection { } } pub mod collection_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5660,7 +5660,7 @@ pub mod collection_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5681,7 +5681,7 @@ pub mod collection_region { } } pub mod database_account_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5735,7 +5735,7 @@ pub mod database_account_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5756,7 +5756,7 @@ pub mod database_account_region { } } pub mod percentile_source_target { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5804,7 +5804,7 @@ pub mod percentile_source_target { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5825,7 +5825,7 @@ pub mod percentile_source_target { } } pub mod percentile_target { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5879,7 +5879,7 @@ pub mod percentile_target { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5900,7 +5900,7 @@ pub mod percentile_target { } } pub mod percentile { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5952,7 +5952,7 @@ pub mod percentile { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5973,7 +5973,7 @@ pub mod percentile { } } pub mod collection_partition_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6022,7 +6022,7 @@ pub mod collection_partition_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6043,7 +6043,7 @@ pub mod collection_partition_region { } } pub mod collection_partition { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6091,7 +6091,7 @@ pub mod collection_partition { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6159,7 +6159,7 @@ pub mod collection_partition { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6180,7 +6180,7 @@ pub mod collection_partition { } } pub mod partition_key_range_id { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6229,7 +6229,7 @@ pub mod partition_key_range_id { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6250,7 +6250,7 @@ pub mod partition_key_range_id { } } pub mod partition_key_range_id_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6300,7 +6300,7 @@ pub mod partition_key_range_id_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/cosmos_db/src/package_2019_08/operations.rs b/services/mgmt/cosmos_db/src/package_2019_08/operations.rs index 0dc46b0045..609475b510 100644 --- a/services/mgmt/cosmos_db/src/package_2019_08/operations.rs +++ b/services/mgmt/cosmos_db/src/package_2019_08/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod database_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -51,7 +51,7 @@ pub mod database_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -121,7 +121,7 @@ pub mod database_accounts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -188,7 +188,7 @@ pub mod database_accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -249,7 +249,7 @@ pub mod database_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -322,7 +322,7 @@ pub mod database_accounts { } } pub mod failover_priority_change { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -388,7 +388,7 @@ pub mod database_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -456,7 +456,7 @@ pub mod database_accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -525,7 +525,7 @@ pub mod database_accounts { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -596,7 +596,7 @@ pub mod database_accounts { } } pub mod list_connection_strings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -664,7 +664,7 @@ pub mod database_accounts { } } pub mod offline_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -740,7 +740,7 @@ pub mod database_accounts { } } pub mod online_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -816,7 +816,7 @@ pub mod database_accounts { } } pub mod get_read_only_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -885,7 +885,7 @@ pub mod database_accounts { } } pub mod list_read_only_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -951,7 +951,7 @@ pub mod database_accounts { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1016,7 +1016,7 @@ pub mod database_accounts { } } pub mod check_name_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1088,7 +1088,7 @@ pub mod database_accounts { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1160,7 +1160,7 @@ pub mod database_accounts { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1230,7 +1230,7 @@ pub mod database_accounts { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1251,7 +1251,7 @@ pub mod database_accounts { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DocumentDB/operations", operation_config.base_path(),); @@ -1287,7 +1287,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1308,7 +1308,7 @@ pub mod operations { } } pub mod database { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1362,7 +1362,7 @@ pub mod database { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1436,7 +1436,7 @@ pub mod database { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1508,7 +1508,7 @@ pub mod database { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1529,7 +1529,7 @@ pub mod database { } } pub mod collection { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1585,7 +1585,7 @@ pub mod collection { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1661,7 +1661,7 @@ pub mod collection { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1727,7 +1727,7 @@ pub mod collection { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1748,7 +1748,7 @@ pub mod collection { } } pub mod collection_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1797,7 +1797,7 @@ pub mod collection_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1818,7 +1818,7 @@ pub mod collection_region { } } pub mod database_account_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1872,7 +1872,7 @@ pub mod database_account_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1893,7 +1893,7 @@ pub mod database_account_region { } } pub mod percentile_source_target { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1941,7 +1941,7 @@ pub mod percentile_source_target { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1962,7 +1962,7 @@ pub mod percentile_source_target { } } pub mod percentile_target { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2016,7 +2016,7 @@ pub mod percentile_target { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2037,7 +2037,7 @@ pub mod percentile_target { } } pub mod percentile { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2089,7 +2089,7 @@ pub mod percentile { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2110,7 +2110,7 @@ pub mod percentile { } } pub mod collection_partition_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2159,7 +2159,7 @@ pub mod collection_partition_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2180,7 +2180,7 @@ pub mod collection_partition_region { } } pub mod collection_partition { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2228,7 +2228,7 @@ pub mod collection_partition { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2296,7 +2296,7 @@ pub mod collection_partition { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2317,7 +2317,7 @@ pub mod collection_partition { } } pub mod partition_key_range_id { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2366,7 +2366,7 @@ pub mod partition_key_range_id { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2387,7 +2387,7 @@ pub mod partition_key_range_id { } } pub mod partition_key_range_id_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2437,7 +2437,7 @@ pub mod partition_key_range_id_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2458,7 +2458,7 @@ pub mod partition_key_range_id_region { } } pub mod sql_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_sql_databases( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2508,7 +2508,7 @@ pub mod sql_resources { } } pub mod list_sql_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2578,7 +2578,7 @@ pub mod sql_resources { } } pub mod get_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2654,7 +2654,7 @@ pub mod sql_resources { } } pub mod create_update_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2725,7 +2725,7 @@ pub mod sql_resources { } } pub mod delete_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2795,7 +2795,7 @@ pub mod sql_resources { } } pub mod get_sql_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2863,7 +2863,7 @@ pub mod sql_resources { } } pub mod update_sql_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2938,7 +2938,7 @@ pub mod sql_resources { } } pub mod list_sql_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3010,7 +3010,7 @@ pub mod sql_resources { } } pub mod get_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3088,7 +3088,7 @@ pub mod sql_resources { } } pub mod create_update_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3161,7 +3161,7 @@ pub mod sql_resources { } } pub mod delete_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3232,7 +3232,7 @@ pub mod sql_resources { } } pub mod get_sql_container_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3301,7 +3301,7 @@ pub mod sql_resources { } } pub mod update_sql_container_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3372,7 +3372,7 @@ pub mod sql_resources { } } pub mod list_sql_stored_procedures { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3439,7 +3439,7 @@ pub mod sql_resources { } } pub mod get_sql_stored_procedure { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3510,7 +3510,7 @@ pub mod sql_resources { } } pub mod create_update_sql_stored_procedure { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3578,7 +3578,7 @@ pub mod sql_resources { } } pub mod delete_sql_stored_procedure { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3649,7 +3649,7 @@ pub mod sql_resources { } } pub mod list_sql_user_defined_functions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3716,7 +3716,7 @@ pub mod sql_resources { } } pub mod get_sql_user_defined_function { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3787,7 +3787,7 @@ pub mod sql_resources { } } pub mod create_update_sql_user_defined_function { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3855,7 +3855,7 @@ pub mod sql_resources { } } pub mod delete_sql_user_defined_function { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3924,7 +3924,7 @@ pub mod sql_resources { } } pub mod list_sql_triggers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3989,7 +3989,7 @@ pub mod sql_resources { } } pub mod get_sql_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4060,7 +4060,7 @@ pub mod sql_resources { } } pub mod create_update_sql_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4126,7 +4126,7 @@ pub mod sql_resources { } } pub mod delete_sql_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4152,7 +4152,7 @@ pub mod sql_resources { } } pub mod mongo_db_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_mongo_db_databases( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4204,7 +4204,7 @@ pub mod mongo_db_resources { } } pub mod list_mongo_db_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4276,7 +4276,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4352,7 +4352,7 @@ pub mod mongo_db_resources { } } pub mod create_update_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4425,7 +4425,7 @@ pub mod mongo_db_resources { } } pub mod delete_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4495,7 +4495,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4564,7 +4564,7 @@ pub mod mongo_db_resources { } } pub mod update_mongo_db_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4641,7 +4641,7 @@ pub mod mongo_db_resources { } } pub mod list_mongo_db_collections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4715,7 +4715,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4793,7 +4793,7 @@ pub mod mongo_db_resources { } } pub mod create_update_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4868,7 +4868,7 @@ pub mod mongo_db_resources { } } pub mod delete_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4939,7 +4939,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_collection_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5009,7 +5009,7 @@ pub mod mongo_db_resources { } } pub mod update_mongo_db_collection_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5035,7 +5035,7 @@ pub mod mongo_db_resources { } } pub mod table_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_tables( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5085,7 +5085,7 @@ pub mod table_resources { } } pub mod list_tables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5155,7 +5155,7 @@ pub mod table_resources { } } pub mod get_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5228,7 +5228,7 @@ pub mod table_resources { } } pub mod create_update_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5299,7 +5299,7 @@ pub mod table_resources { } } pub mod delete_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5374,7 +5374,7 @@ pub mod table_resources { } } pub mod get_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5449,7 +5449,7 @@ pub mod table_resources { } } pub mod update_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5475,7 +5475,7 @@ pub mod table_resources { } } pub mod cassandra_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_cassandra_keyspaces( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5527,7 +5527,7 @@ pub mod cassandra_resources { } } pub mod list_cassandra_keyspaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5599,7 +5599,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5675,7 +5675,7 @@ pub mod cassandra_resources { } } pub mod create_update_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5748,7 +5748,7 @@ pub mod cassandra_resources { } } pub mod delete_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5818,7 +5818,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_keyspace_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5887,7 +5887,7 @@ pub mod cassandra_resources { } } pub mod update_cassandra_keyspace_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5964,7 +5964,7 @@ pub mod cassandra_resources { } } pub mod list_cassandra_tables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6036,7 +6036,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6114,7 +6114,7 @@ pub mod cassandra_resources { } } pub mod create_update_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6189,7 +6189,7 @@ pub mod cassandra_resources { } } pub mod delete_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6260,7 +6260,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6330,7 +6330,7 @@ pub mod cassandra_resources { } } pub mod update_cassandra_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6356,7 +6356,7 @@ pub mod cassandra_resources { } } pub mod gremlin_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_gremlin_databases( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6408,7 +6408,7 @@ pub mod gremlin_resources { } } pub mod list_gremlin_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6478,7 +6478,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6554,7 +6554,7 @@ pub mod gremlin_resources { } } pub mod create_update_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6627,7 +6627,7 @@ pub mod gremlin_resources { } } pub mod delete_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6697,7 +6697,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6766,7 +6766,7 @@ pub mod gremlin_resources { } } pub mod update_gremlin_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6841,7 +6841,7 @@ pub mod gremlin_resources { } } pub mod list_gremlin_graphs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6913,7 +6913,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6991,7 +6991,7 @@ pub mod gremlin_resources { } } pub mod create_update_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7064,7 +7064,7 @@ pub mod gremlin_resources { } } pub mod delete_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7135,7 +7135,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_graph_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7204,7 +7204,7 @@ pub mod gremlin_resources { } } pub mod update_gremlin_graph_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7230,7 +7230,7 @@ pub mod gremlin_resources { } } pub mod notebook_workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7284,7 +7284,7 @@ pub mod notebook_workspaces { } } pub mod list_by_database_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7356,7 +7356,7 @@ pub mod notebook_workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7433,7 +7433,7 @@ pub mod notebook_workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7501,7 +7501,7 @@ pub mod notebook_workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7575,7 +7575,7 @@ pub mod notebook_workspaces { } } pub mod list_connection_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7642,7 +7642,7 @@ pub mod notebook_workspaces { } } pub mod regenerate_auth_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7716,7 +7716,7 @@ pub mod notebook_workspaces { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/cosmos_db/src/package_2019_08_preview/operations.rs b/services/mgmt/cosmos_db/src/package_2019_08_preview/operations.rs index b17e9da62c..f2969e29fe 100644 --- a/services/mgmt/cosmos_db/src/package_2019_08_preview/operations.rs +++ b/services/mgmt/cosmos_db/src/package_2019_08_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod database_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -51,7 +51,7 @@ pub mod database_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -121,7 +121,7 @@ pub mod database_accounts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -188,7 +188,7 @@ pub mod database_accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -249,7 +249,7 @@ pub mod database_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -322,7 +322,7 @@ pub mod database_accounts { } } pub mod failover_priority_change { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -388,7 +388,7 @@ pub mod database_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -456,7 +456,7 @@ pub mod database_accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -525,7 +525,7 @@ pub mod database_accounts { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -596,7 +596,7 @@ pub mod database_accounts { } } pub mod list_connection_strings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -664,7 +664,7 @@ pub mod database_accounts { } } pub mod offline_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -740,7 +740,7 @@ pub mod database_accounts { } } pub mod online_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -816,7 +816,7 @@ pub mod database_accounts { } } pub mod get_read_only_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -885,7 +885,7 @@ pub mod database_accounts { } } pub mod list_read_only_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -951,7 +951,7 @@ pub mod database_accounts { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1016,7 +1016,7 @@ pub mod database_accounts { } } pub mod check_name_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1088,7 +1088,7 @@ pub mod database_accounts { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1160,7 +1160,7 @@ pub mod database_accounts { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1230,7 +1230,7 @@ pub mod database_accounts { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1251,7 +1251,7 @@ pub mod database_accounts { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DocumentDB/operations", operation_config.base_path(),); @@ -1287,7 +1287,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1308,7 +1308,7 @@ pub mod operations { } } pub mod database { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1362,7 +1362,7 @@ pub mod database { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1436,7 +1436,7 @@ pub mod database { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1508,7 +1508,7 @@ pub mod database { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1529,7 +1529,7 @@ pub mod database { } } pub mod collection { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1585,7 +1585,7 @@ pub mod collection { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1661,7 +1661,7 @@ pub mod collection { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1727,7 +1727,7 @@ pub mod collection { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1748,7 +1748,7 @@ pub mod collection { } } pub mod collection_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1797,7 +1797,7 @@ pub mod collection_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1818,7 +1818,7 @@ pub mod collection_region { } } pub mod database_account_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1872,7 +1872,7 @@ pub mod database_account_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1893,7 +1893,7 @@ pub mod database_account_region { } } pub mod percentile_source_target { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1941,7 +1941,7 @@ pub mod percentile_source_target { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1962,7 +1962,7 @@ pub mod percentile_source_target { } } pub mod percentile_target { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2016,7 +2016,7 @@ pub mod percentile_target { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2037,7 +2037,7 @@ pub mod percentile_target { } } pub mod percentile { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2089,7 +2089,7 @@ pub mod percentile { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2110,7 +2110,7 @@ pub mod percentile { } } pub mod collection_partition_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2159,7 +2159,7 @@ pub mod collection_partition_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2180,7 +2180,7 @@ pub mod collection_partition_region { } } pub mod collection_partition { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2228,7 +2228,7 @@ pub mod collection_partition { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2296,7 +2296,7 @@ pub mod collection_partition { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2317,7 +2317,7 @@ pub mod collection_partition { } } pub mod partition_key_range_id { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2366,7 +2366,7 @@ pub mod partition_key_range_id { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2387,7 +2387,7 @@ pub mod partition_key_range_id { } } pub mod partition_key_range_id_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2437,7 +2437,7 @@ pub mod partition_key_range_id_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2458,7 +2458,7 @@ pub mod partition_key_range_id_region { } } pub mod sql_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_sql_databases( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2508,7 +2508,7 @@ pub mod sql_resources { } } pub mod list_sql_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2578,7 +2578,7 @@ pub mod sql_resources { } } pub mod get_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2654,7 +2654,7 @@ pub mod sql_resources { } } pub mod create_update_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2725,7 +2725,7 @@ pub mod sql_resources { } } pub mod delete_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2795,7 +2795,7 @@ pub mod sql_resources { } } pub mod get_sql_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2863,7 +2863,7 @@ pub mod sql_resources { } } pub mod update_sql_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2938,7 +2938,7 @@ pub mod sql_resources { } } pub mod list_sql_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3010,7 +3010,7 @@ pub mod sql_resources { } } pub mod get_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3088,7 +3088,7 @@ pub mod sql_resources { } } pub mod create_update_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3161,7 +3161,7 @@ pub mod sql_resources { } } pub mod delete_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3232,7 +3232,7 @@ pub mod sql_resources { } } pub mod get_sql_container_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3301,7 +3301,7 @@ pub mod sql_resources { } } pub mod update_sql_container_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3372,7 +3372,7 @@ pub mod sql_resources { } } pub mod list_sql_stored_procedures { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3439,7 +3439,7 @@ pub mod sql_resources { } } pub mod get_sql_stored_procedure { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3510,7 +3510,7 @@ pub mod sql_resources { } } pub mod create_update_sql_stored_procedure { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3578,7 +3578,7 @@ pub mod sql_resources { } } pub mod delete_sql_stored_procedure { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3649,7 +3649,7 @@ pub mod sql_resources { } } pub mod list_sql_user_defined_functions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3716,7 +3716,7 @@ pub mod sql_resources { } } pub mod get_sql_user_defined_function { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3787,7 +3787,7 @@ pub mod sql_resources { } } pub mod create_update_sql_user_defined_function { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3855,7 +3855,7 @@ pub mod sql_resources { } } pub mod delete_sql_user_defined_function { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3924,7 +3924,7 @@ pub mod sql_resources { } } pub mod list_sql_triggers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3989,7 +3989,7 @@ pub mod sql_resources { } } pub mod get_sql_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4060,7 +4060,7 @@ pub mod sql_resources { } } pub mod create_update_sql_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4126,7 +4126,7 @@ pub mod sql_resources { } } pub mod delete_sql_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4152,7 +4152,7 @@ pub mod sql_resources { } } pub mod mongo_db_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_mongo_db_databases( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4204,7 +4204,7 @@ pub mod mongo_db_resources { } } pub mod list_mongo_db_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4276,7 +4276,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4352,7 +4352,7 @@ pub mod mongo_db_resources { } } pub mod create_update_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4425,7 +4425,7 @@ pub mod mongo_db_resources { } } pub mod delete_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4495,7 +4495,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4564,7 +4564,7 @@ pub mod mongo_db_resources { } } pub mod update_mongo_db_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4641,7 +4641,7 @@ pub mod mongo_db_resources { } } pub mod list_mongo_db_collections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4715,7 +4715,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4793,7 +4793,7 @@ pub mod mongo_db_resources { } } pub mod create_update_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4868,7 +4868,7 @@ pub mod mongo_db_resources { } } pub mod delete_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4939,7 +4939,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_collection_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5009,7 +5009,7 @@ pub mod mongo_db_resources { } } pub mod update_mongo_db_collection_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5035,7 +5035,7 @@ pub mod mongo_db_resources { } } pub mod table_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_tables( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5085,7 +5085,7 @@ pub mod table_resources { } } pub mod list_tables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5155,7 +5155,7 @@ pub mod table_resources { } } pub mod get_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5228,7 +5228,7 @@ pub mod table_resources { } } pub mod create_update_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5299,7 +5299,7 @@ pub mod table_resources { } } pub mod delete_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5374,7 +5374,7 @@ pub mod table_resources { } } pub mod get_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5449,7 +5449,7 @@ pub mod table_resources { } } pub mod update_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5475,7 +5475,7 @@ pub mod table_resources { } } pub mod cassandra_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_cassandra_keyspaces( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5527,7 +5527,7 @@ pub mod cassandra_resources { } } pub mod list_cassandra_keyspaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5599,7 +5599,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5675,7 +5675,7 @@ pub mod cassandra_resources { } } pub mod create_update_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5748,7 +5748,7 @@ pub mod cassandra_resources { } } pub mod delete_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5818,7 +5818,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_keyspace_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5887,7 +5887,7 @@ pub mod cassandra_resources { } } pub mod update_cassandra_keyspace_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5964,7 +5964,7 @@ pub mod cassandra_resources { } } pub mod list_cassandra_tables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6036,7 +6036,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6114,7 +6114,7 @@ pub mod cassandra_resources { } } pub mod create_update_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6189,7 +6189,7 @@ pub mod cassandra_resources { } } pub mod delete_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6260,7 +6260,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6330,7 +6330,7 @@ pub mod cassandra_resources { } } pub mod update_cassandra_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6356,7 +6356,7 @@ pub mod cassandra_resources { } } pub mod gremlin_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_gremlin_databases( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6408,7 +6408,7 @@ pub mod gremlin_resources { } } pub mod list_gremlin_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6478,7 +6478,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6554,7 +6554,7 @@ pub mod gremlin_resources { } } pub mod create_update_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6627,7 +6627,7 @@ pub mod gremlin_resources { } } pub mod delete_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6697,7 +6697,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6766,7 +6766,7 @@ pub mod gremlin_resources { } } pub mod update_gremlin_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6841,7 +6841,7 @@ pub mod gremlin_resources { } } pub mod list_gremlin_graphs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6913,7 +6913,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6991,7 +6991,7 @@ pub mod gremlin_resources { } } pub mod create_update_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7064,7 +7064,7 @@ pub mod gremlin_resources { } } pub mod delete_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7135,7 +7135,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_graph_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7204,7 +7204,7 @@ pub mod gremlin_resources { } } pub mod update_gremlin_graph_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7230,7 +7230,7 @@ pub mod gremlin_resources { } } pub mod notebook_workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7284,7 +7284,7 @@ pub mod notebook_workspaces { } } pub mod list_by_database_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7356,7 +7356,7 @@ pub mod notebook_workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7433,7 +7433,7 @@ pub mod notebook_workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7501,7 +7501,7 @@ pub mod notebook_workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7575,7 +7575,7 @@ pub mod notebook_workspaces { } } pub mod list_connection_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7642,7 +7642,7 @@ pub mod notebook_workspaces { } } pub mod regenerate_auth_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7716,7 +7716,7 @@ pub mod notebook_workspaces { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7745,7 +7745,7 @@ pub mod notebook_workspaces { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7797,7 +7797,7 @@ pub mod private_link_resources { } } pub mod list_by_database_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7864,7 +7864,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7885,7 +7885,7 @@ pub mod private_link_resources { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7937,7 +7937,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_database_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8004,7 +8004,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8079,7 +8079,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -8152,7 +8152,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, diff --git a/services/mgmt/cosmos_db/src/package_2019_12/operations.rs b/services/mgmt/cosmos_db/src/package_2019_12/operations.rs index b17e9da62c..f2969e29fe 100644 --- a/services/mgmt/cosmos_db/src/package_2019_12/operations.rs +++ b/services/mgmt/cosmos_db/src/package_2019_12/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod database_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -51,7 +51,7 @@ pub mod database_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -121,7 +121,7 @@ pub mod database_accounts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -188,7 +188,7 @@ pub mod database_accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -249,7 +249,7 @@ pub mod database_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -322,7 +322,7 @@ pub mod database_accounts { } } pub mod failover_priority_change { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -388,7 +388,7 @@ pub mod database_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -456,7 +456,7 @@ pub mod database_accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -525,7 +525,7 @@ pub mod database_accounts { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -596,7 +596,7 @@ pub mod database_accounts { } } pub mod list_connection_strings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -664,7 +664,7 @@ pub mod database_accounts { } } pub mod offline_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -740,7 +740,7 @@ pub mod database_accounts { } } pub mod online_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -816,7 +816,7 @@ pub mod database_accounts { } } pub mod get_read_only_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -885,7 +885,7 @@ pub mod database_accounts { } } pub mod list_read_only_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -951,7 +951,7 @@ pub mod database_accounts { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1016,7 +1016,7 @@ pub mod database_accounts { } } pub mod check_name_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1088,7 +1088,7 @@ pub mod database_accounts { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1160,7 +1160,7 @@ pub mod database_accounts { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1230,7 +1230,7 @@ pub mod database_accounts { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1251,7 +1251,7 @@ pub mod database_accounts { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DocumentDB/operations", operation_config.base_path(),); @@ -1287,7 +1287,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1308,7 +1308,7 @@ pub mod operations { } } pub mod database { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1362,7 +1362,7 @@ pub mod database { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1436,7 +1436,7 @@ pub mod database { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1508,7 +1508,7 @@ pub mod database { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1529,7 +1529,7 @@ pub mod database { } } pub mod collection { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1585,7 +1585,7 @@ pub mod collection { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1661,7 +1661,7 @@ pub mod collection { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1727,7 +1727,7 @@ pub mod collection { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1748,7 +1748,7 @@ pub mod collection { } } pub mod collection_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1797,7 +1797,7 @@ pub mod collection_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1818,7 +1818,7 @@ pub mod collection_region { } } pub mod database_account_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1872,7 +1872,7 @@ pub mod database_account_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1893,7 +1893,7 @@ pub mod database_account_region { } } pub mod percentile_source_target { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1941,7 +1941,7 @@ pub mod percentile_source_target { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1962,7 +1962,7 @@ pub mod percentile_source_target { } } pub mod percentile_target { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2016,7 +2016,7 @@ pub mod percentile_target { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2037,7 +2037,7 @@ pub mod percentile_target { } } pub mod percentile { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2089,7 +2089,7 @@ pub mod percentile { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2110,7 +2110,7 @@ pub mod percentile { } } pub mod collection_partition_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2159,7 +2159,7 @@ pub mod collection_partition_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2180,7 +2180,7 @@ pub mod collection_partition_region { } } pub mod collection_partition { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2228,7 +2228,7 @@ pub mod collection_partition { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2296,7 +2296,7 @@ pub mod collection_partition { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2317,7 +2317,7 @@ pub mod collection_partition { } } pub mod partition_key_range_id { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2366,7 +2366,7 @@ pub mod partition_key_range_id { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2387,7 +2387,7 @@ pub mod partition_key_range_id { } } pub mod partition_key_range_id_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2437,7 +2437,7 @@ pub mod partition_key_range_id_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2458,7 +2458,7 @@ pub mod partition_key_range_id_region { } } pub mod sql_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_sql_databases( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2508,7 +2508,7 @@ pub mod sql_resources { } } pub mod list_sql_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2578,7 +2578,7 @@ pub mod sql_resources { } } pub mod get_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2654,7 +2654,7 @@ pub mod sql_resources { } } pub mod create_update_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2725,7 +2725,7 @@ pub mod sql_resources { } } pub mod delete_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2795,7 +2795,7 @@ pub mod sql_resources { } } pub mod get_sql_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2863,7 +2863,7 @@ pub mod sql_resources { } } pub mod update_sql_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2938,7 +2938,7 @@ pub mod sql_resources { } } pub mod list_sql_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3010,7 +3010,7 @@ pub mod sql_resources { } } pub mod get_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3088,7 +3088,7 @@ pub mod sql_resources { } } pub mod create_update_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3161,7 +3161,7 @@ pub mod sql_resources { } } pub mod delete_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3232,7 +3232,7 @@ pub mod sql_resources { } } pub mod get_sql_container_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3301,7 +3301,7 @@ pub mod sql_resources { } } pub mod update_sql_container_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3372,7 +3372,7 @@ pub mod sql_resources { } } pub mod list_sql_stored_procedures { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3439,7 +3439,7 @@ pub mod sql_resources { } } pub mod get_sql_stored_procedure { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3510,7 +3510,7 @@ pub mod sql_resources { } } pub mod create_update_sql_stored_procedure { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3578,7 +3578,7 @@ pub mod sql_resources { } } pub mod delete_sql_stored_procedure { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3649,7 +3649,7 @@ pub mod sql_resources { } } pub mod list_sql_user_defined_functions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3716,7 +3716,7 @@ pub mod sql_resources { } } pub mod get_sql_user_defined_function { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3787,7 +3787,7 @@ pub mod sql_resources { } } pub mod create_update_sql_user_defined_function { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3855,7 +3855,7 @@ pub mod sql_resources { } } pub mod delete_sql_user_defined_function { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3924,7 +3924,7 @@ pub mod sql_resources { } } pub mod list_sql_triggers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3989,7 +3989,7 @@ pub mod sql_resources { } } pub mod get_sql_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4060,7 +4060,7 @@ pub mod sql_resources { } } pub mod create_update_sql_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4126,7 +4126,7 @@ pub mod sql_resources { } } pub mod delete_sql_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4152,7 +4152,7 @@ pub mod sql_resources { } } pub mod mongo_db_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_mongo_db_databases( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4204,7 +4204,7 @@ pub mod mongo_db_resources { } } pub mod list_mongo_db_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4276,7 +4276,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4352,7 +4352,7 @@ pub mod mongo_db_resources { } } pub mod create_update_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4425,7 +4425,7 @@ pub mod mongo_db_resources { } } pub mod delete_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4495,7 +4495,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4564,7 +4564,7 @@ pub mod mongo_db_resources { } } pub mod update_mongo_db_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4641,7 +4641,7 @@ pub mod mongo_db_resources { } } pub mod list_mongo_db_collections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4715,7 +4715,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4793,7 +4793,7 @@ pub mod mongo_db_resources { } } pub mod create_update_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4868,7 +4868,7 @@ pub mod mongo_db_resources { } } pub mod delete_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4939,7 +4939,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_collection_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5009,7 +5009,7 @@ pub mod mongo_db_resources { } } pub mod update_mongo_db_collection_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5035,7 +5035,7 @@ pub mod mongo_db_resources { } } pub mod table_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_tables( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5085,7 +5085,7 @@ pub mod table_resources { } } pub mod list_tables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5155,7 +5155,7 @@ pub mod table_resources { } } pub mod get_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5228,7 +5228,7 @@ pub mod table_resources { } } pub mod create_update_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5299,7 +5299,7 @@ pub mod table_resources { } } pub mod delete_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5374,7 +5374,7 @@ pub mod table_resources { } } pub mod get_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5449,7 +5449,7 @@ pub mod table_resources { } } pub mod update_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5475,7 +5475,7 @@ pub mod table_resources { } } pub mod cassandra_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_cassandra_keyspaces( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5527,7 +5527,7 @@ pub mod cassandra_resources { } } pub mod list_cassandra_keyspaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5599,7 +5599,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5675,7 +5675,7 @@ pub mod cassandra_resources { } } pub mod create_update_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5748,7 +5748,7 @@ pub mod cassandra_resources { } } pub mod delete_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5818,7 +5818,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_keyspace_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5887,7 +5887,7 @@ pub mod cassandra_resources { } } pub mod update_cassandra_keyspace_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5964,7 +5964,7 @@ pub mod cassandra_resources { } } pub mod list_cassandra_tables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6036,7 +6036,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6114,7 +6114,7 @@ pub mod cassandra_resources { } } pub mod create_update_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6189,7 +6189,7 @@ pub mod cassandra_resources { } } pub mod delete_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6260,7 +6260,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6330,7 +6330,7 @@ pub mod cassandra_resources { } } pub mod update_cassandra_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6356,7 +6356,7 @@ pub mod cassandra_resources { } } pub mod gremlin_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_gremlin_databases( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6408,7 +6408,7 @@ pub mod gremlin_resources { } } pub mod list_gremlin_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6478,7 +6478,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6554,7 +6554,7 @@ pub mod gremlin_resources { } } pub mod create_update_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6627,7 +6627,7 @@ pub mod gremlin_resources { } } pub mod delete_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6697,7 +6697,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6766,7 +6766,7 @@ pub mod gremlin_resources { } } pub mod update_gremlin_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6841,7 +6841,7 @@ pub mod gremlin_resources { } } pub mod list_gremlin_graphs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6913,7 +6913,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6991,7 +6991,7 @@ pub mod gremlin_resources { } } pub mod create_update_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7064,7 +7064,7 @@ pub mod gremlin_resources { } } pub mod delete_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7135,7 +7135,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_graph_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7204,7 +7204,7 @@ pub mod gremlin_resources { } } pub mod update_gremlin_graph_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7230,7 +7230,7 @@ pub mod gremlin_resources { } } pub mod notebook_workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7284,7 +7284,7 @@ pub mod notebook_workspaces { } } pub mod list_by_database_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7356,7 +7356,7 @@ pub mod notebook_workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7433,7 +7433,7 @@ pub mod notebook_workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7501,7 +7501,7 @@ pub mod notebook_workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7575,7 +7575,7 @@ pub mod notebook_workspaces { } } pub mod list_connection_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7642,7 +7642,7 @@ pub mod notebook_workspaces { } } pub mod regenerate_auth_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7716,7 +7716,7 @@ pub mod notebook_workspaces { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7745,7 +7745,7 @@ pub mod notebook_workspaces { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7797,7 +7797,7 @@ pub mod private_link_resources { } } pub mod list_by_database_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7864,7 +7864,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7885,7 +7885,7 @@ pub mod private_link_resources { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7937,7 +7937,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_database_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8004,7 +8004,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8079,7 +8079,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -8152,7 +8152,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, diff --git a/services/mgmt/cosmos_db/src/package_2020_03/operations.rs b/services/mgmt/cosmos_db/src/package_2020_03/operations.rs index d158ea5109..38ac8aa361 100644 --- a/services/mgmt/cosmos_db/src/package_2020_03/operations.rs +++ b/services/mgmt/cosmos_db/src/package_2020_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod database_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -51,7 +51,7 @@ pub mod database_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -121,7 +121,7 @@ pub mod database_accounts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -188,7 +188,7 @@ pub mod database_accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -249,7 +249,7 @@ pub mod database_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -322,7 +322,7 @@ pub mod database_accounts { } } pub mod failover_priority_change { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -388,7 +388,7 @@ pub mod database_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -456,7 +456,7 @@ pub mod database_accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -525,7 +525,7 @@ pub mod database_accounts { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -596,7 +596,7 @@ pub mod database_accounts { } } pub mod list_connection_strings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -664,7 +664,7 @@ pub mod database_accounts { } } pub mod offline_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -740,7 +740,7 @@ pub mod database_accounts { } } pub mod online_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -816,7 +816,7 @@ pub mod database_accounts { } } pub mod get_read_only_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -885,7 +885,7 @@ pub mod database_accounts { } } pub mod list_read_only_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -951,7 +951,7 @@ pub mod database_accounts { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1016,7 +1016,7 @@ pub mod database_accounts { } } pub mod check_name_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1088,7 +1088,7 @@ pub mod database_accounts { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1160,7 +1160,7 @@ pub mod database_accounts { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1230,7 +1230,7 @@ pub mod database_accounts { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1251,7 +1251,7 @@ pub mod database_accounts { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DocumentDB/operations", operation_config.base_path(),); @@ -1287,7 +1287,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1308,7 +1308,7 @@ pub mod operations { } } pub mod database { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1362,7 +1362,7 @@ pub mod database { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1436,7 +1436,7 @@ pub mod database { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1508,7 +1508,7 @@ pub mod database { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1529,7 +1529,7 @@ pub mod database { } } pub mod collection { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1585,7 +1585,7 @@ pub mod collection { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1661,7 +1661,7 @@ pub mod collection { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1727,7 +1727,7 @@ pub mod collection { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1748,7 +1748,7 @@ pub mod collection { } } pub mod collection_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1797,7 +1797,7 @@ pub mod collection_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1818,7 +1818,7 @@ pub mod collection_region { } } pub mod database_account_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1872,7 +1872,7 @@ pub mod database_account_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1893,7 +1893,7 @@ pub mod database_account_region { } } pub mod percentile_source_target { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1941,7 +1941,7 @@ pub mod percentile_source_target { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1962,7 +1962,7 @@ pub mod percentile_source_target { } } pub mod percentile_target { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2016,7 +2016,7 @@ pub mod percentile_target { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2037,7 +2037,7 @@ pub mod percentile_target { } } pub mod percentile { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2089,7 +2089,7 @@ pub mod percentile { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2110,7 +2110,7 @@ pub mod percentile { } } pub mod collection_partition_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2159,7 +2159,7 @@ pub mod collection_partition_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2180,7 +2180,7 @@ pub mod collection_partition_region { } } pub mod collection_partition { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2228,7 +2228,7 @@ pub mod collection_partition { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2296,7 +2296,7 @@ pub mod collection_partition { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2317,7 +2317,7 @@ pub mod collection_partition { } } pub mod partition_key_range_id { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2366,7 +2366,7 @@ pub mod partition_key_range_id { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2387,7 +2387,7 @@ pub mod partition_key_range_id { } } pub mod partition_key_range_id_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2437,7 +2437,7 @@ pub mod partition_key_range_id_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2458,7 +2458,7 @@ pub mod partition_key_range_id_region { } } pub mod sql_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_sql_databases( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2508,7 +2508,7 @@ pub mod sql_resources { } } pub mod list_sql_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2578,7 +2578,7 @@ pub mod sql_resources { } } pub mod get_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2654,7 +2654,7 @@ pub mod sql_resources { } } pub mod create_update_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2725,7 +2725,7 @@ pub mod sql_resources { } } pub mod delete_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2795,7 +2795,7 @@ pub mod sql_resources { } } pub mod get_sql_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2863,7 +2863,7 @@ pub mod sql_resources { } } pub mod update_sql_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2935,7 +2935,7 @@ pub mod sql_resources { } } pub mod migrate_sql_database_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3007,7 +3007,7 @@ pub mod sql_resources { } } pub mod migrate_sql_database_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3082,7 +3082,7 @@ pub mod sql_resources { } } pub mod list_sql_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3154,7 +3154,7 @@ pub mod sql_resources { } } pub mod get_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3232,7 +3232,7 @@ pub mod sql_resources { } } pub mod create_update_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3305,7 +3305,7 @@ pub mod sql_resources { } } pub mod delete_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3376,7 +3376,7 @@ pub mod sql_resources { } } pub mod get_sql_container_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3445,7 +3445,7 @@ pub mod sql_resources { } } pub mod update_sql_container_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3518,7 +3518,7 @@ pub mod sql_resources { } } pub mod migrate_sql_container_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3591,7 +3591,7 @@ pub mod sql_resources { } } pub mod migrate_sql_container_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3662,7 +3662,7 @@ pub mod sql_resources { } } pub mod list_sql_stored_procedures { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3729,7 +3729,7 @@ pub mod sql_resources { } } pub mod get_sql_stored_procedure { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3800,7 +3800,7 @@ pub mod sql_resources { } } pub mod create_update_sql_stored_procedure { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3868,7 +3868,7 @@ pub mod sql_resources { } } pub mod delete_sql_stored_procedure { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3939,7 +3939,7 @@ pub mod sql_resources { } } pub mod list_sql_user_defined_functions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4006,7 +4006,7 @@ pub mod sql_resources { } } pub mod get_sql_user_defined_function { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4077,7 +4077,7 @@ pub mod sql_resources { } } pub mod create_update_sql_user_defined_function { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4145,7 +4145,7 @@ pub mod sql_resources { } } pub mod delete_sql_user_defined_function { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4214,7 +4214,7 @@ pub mod sql_resources { } } pub mod list_sql_triggers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4279,7 +4279,7 @@ pub mod sql_resources { } } pub mod get_sql_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4350,7 +4350,7 @@ pub mod sql_resources { } } pub mod create_update_sql_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4416,7 +4416,7 @@ pub mod sql_resources { } } pub mod delete_sql_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4442,7 +4442,7 @@ pub mod sql_resources { } } pub mod mongo_db_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_mongo_db_databases( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4494,7 +4494,7 @@ pub mod mongo_db_resources { } } pub mod list_mongo_db_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4566,7 +4566,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4642,7 +4642,7 @@ pub mod mongo_db_resources { } } pub mod create_update_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4715,7 +4715,7 @@ pub mod mongo_db_resources { } } pub mod delete_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4785,7 +4785,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4854,7 +4854,7 @@ pub mod mongo_db_resources { } } pub mod update_mongo_db_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4926,7 +4926,7 @@ pub mod mongo_db_resources { } } pub mod migrate_mongo_db_database_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4999,7 +4999,7 @@ pub mod mongo_db_resources { } } pub mod migrate_mongo_db_database_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5076,7 +5076,7 @@ pub mod mongo_db_resources { } } pub mod list_mongo_db_collections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5150,7 +5150,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5228,7 +5228,7 @@ pub mod mongo_db_resources { } } pub mod create_update_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5303,7 +5303,7 @@ pub mod mongo_db_resources { } } pub mod delete_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5374,7 +5374,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_collection_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5444,7 +5444,7 @@ pub mod mongo_db_resources { } } pub mod update_mongo_db_collection_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5517,7 +5517,7 @@ pub mod mongo_db_resources { } } pub mod migrate_mongo_db_collection_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5594,7 +5594,7 @@ pub mod mongo_db_resources { } } pub mod migrate_mongo_db_collection_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5620,7 +5620,7 @@ pub mod mongo_db_resources { } } pub mod table_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_tables( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5670,7 +5670,7 @@ pub mod table_resources { } } pub mod list_tables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5740,7 +5740,7 @@ pub mod table_resources { } } pub mod get_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5813,7 +5813,7 @@ pub mod table_resources { } } pub mod create_update_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5884,7 +5884,7 @@ pub mod table_resources { } } pub mod delete_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5959,7 +5959,7 @@ pub mod table_resources { } } pub mod get_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6034,7 +6034,7 @@ pub mod table_resources { } } pub mod update_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6106,7 +6106,7 @@ pub mod table_resources { } } pub mod migrate_table_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6178,7 +6178,7 @@ pub mod table_resources { } } pub mod migrate_table_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6204,7 +6204,7 @@ pub mod table_resources { } } pub mod cassandra_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_cassandra_keyspaces( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6256,7 +6256,7 @@ pub mod cassandra_resources { } } pub mod list_cassandra_keyspaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6328,7 +6328,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6404,7 +6404,7 @@ pub mod cassandra_resources { } } pub mod create_update_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6477,7 +6477,7 @@ pub mod cassandra_resources { } } pub mod delete_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6547,7 +6547,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_keyspace_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6616,7 +6616,7 @@ pub mod cassandra_resources { } } pub mod update_cassandra_keyspace_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6688,7 +6688,7 @@ pub mod cassandra_resources { } } pub mod migrate_cassandra_keyspace_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6763,7 +6763,7 @@ pub mod cassandra_resources { } } pub mod migrate_cassandra_keyspace_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6840,7 +6840,7 @@ pub mod cassandra_resources { } } pub mod list_cassandra_tables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6912,7 +6912,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6990,7 +6990,7 @@ pub mod cassandra_resources { } } pub mod create_update_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7065,7 +7065,7 @@ pub mod cassandra_resources { } } pub mod delete_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7136,7 +7136,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7206,7 +7206,7 @@ pub mod cassandra_resources { } } pub mod update_cassandra_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7279,7 +7279,7 @@ pub mod cassandra_resources { } } pub mod migrate_cassandra_table_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7353,7 +7353,7 @@ pub mod cassandra_resources { } } pub mod migrate_cassandra_table_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7379,7 +7379,7 @@ pub mod cassandra_resources { } } pub mod gremlin_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_gremlin_databases( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7431,7 +7431,7 @@ pub mod gremlin_resources { } } pub mod list_gremlin_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7501,7 +7501,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7577,7 +7577,7 @@ pub mod gremlin_resources { } } pub mod create_update_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7650,7 +7650,7 @@ pub mod gremlin_resources { } } pub mod delete_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7720,7 +7720,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7789,7 +7789,7 @@ pub mod gremlin_resources { } } pub mod update_gremlin_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7861,7 +7861,7 @@ pub mod gremlin_resources { } } pub mod migrate_gremlin_database_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7934,7 +7934,7 @@ pub mod gremlin_resources { } } pub mod migrate_gremlin_database_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8009,7 +8009,7 @@ pub mod gremlin_resources { } } pub mod list_gremlin_graphs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8081,7 +8081,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8159,7 +8159,7 @@ pub mod gremlin_resources { } } pub mod create_update_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8232,7 +8232,7 @@ pub mod gremlin_resources { } } pub mod delete_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8303,7 +8303,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_graph_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8372,7 +8372,7 @@ pub mod gremlin_resources { } } pub mod update_gremlin_graph_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8445,7 +8445,7 @@ pub mod gremlin_resources { } } pub mod migrate_gremlin_graph_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8518,7 +8518,7 @@ pub mod gremlin_resources { } } pub mod migrate_gremlin_graph_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8544,7 +8544,7 @@ pub mod gremlin_resources { } } pub mod notebook_workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8598,7 +8598,7 @@ pub mod notebook_workspaces { } } pub mod list_by_database_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8670,7 +8670,7 @@ pub mod notebook_workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8747,7 +8747,7 @@ pub mod notebook_workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8815,7 +8815,7 @@ pub mod notebook_workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8889,7 +8889,7 @@ pub mod notebook_workspaces { } } pub mod list_connection_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8956,7 +8956,7 @@ pub mod notebook_workspaces { } } pub mod regenerate_auth_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9030,7 +9030,7 @@ pub mod notebook_workspaces { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9059,7 +9059,7 @@ pub mod notebook_workspaces { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9111,7 +9111,7 @@ pub mod private_link_resources { } } pub mod list_by_database_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9178,7 +9178,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9199,7 +9199,7 @@ pub mod private_link_resources { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9251,7 +9251,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_database_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9318,7 +9318,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9393,7 +9393,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -9466,7 +9466,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, diff --git a/services/mgmt/cosmos_db/src/package_2020_04/operations.rs b/services/mgmt/cosmos_db/src/package_2020_04/operations.rs index d158ea5109..38ac8aa361 100644 --- a/services/mgmt/cosmos_db/src/package_2020_04/operations.rs +++ b/services/mgmt/cosmos_db/src/package_2020_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod database_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -51,7 +51,7 @@ pub mod database_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -121,7 +121,7 @@ pub mod database_accounts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -188,7 +188,7 @@ pub mod database_accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -249,7 +249,7 @@ pub mod database_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -322,7 +322,7 @@ pub mod database_accounts { } } pub mod failover_priority_change { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -388,7 +388,7 @@ pub mod database_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -456,7 +456,7 @@ pub mod database_accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -525,7 +525,7 @@ pub mod database_accounts { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -596,7 +596,7 @@ pub mod database_accounts { } } pub mod list_connection_strings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -664,7 +664,7 @@ pub mod database_accounts { } } pub mod offline_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -740,7 +740,7 @@ pub mod database_accounts { } } pub mod online_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -816,7 +816,7 @@ pub mod database_accounts { } } pub mod get_read_only_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -885,7 +885,7 @@ pub mod database_accounts { } } pub mod list_read_only_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -951,7 +951,7 @@ pub mod database_accounts { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1016,7 +1016,7 @@ pub mod database_accounts { } } pub mod check_name_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1088,7 +1088,7 @@ pub mod database_accounts { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1160,7 +1160,7 @@ pub mod database_accounts { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1230,7 +1230,7 @@ pub mod database_accounts { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1251,7 +1251,7 @@ pub mod database_accounts { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DocumentDB/operations", operation_config.base_path(),); @@ -1287,7 +1287,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1308,7 +1308,7 @@ pub mod operations { } } pub mod database { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1362,7 +1362,7 @@ pub mod database { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1436,7 +1436,7 @@ pub mod database { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1508,7 +1508,7 @@ pub mod database { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1529,7 +1529,7 @@ pub mod database { } } pub mod collection { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1585,7 +1585,7 @@ pub mod collection { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1661,7 +1661,7 @@ pub mod collection { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1727,7 +1727,7 @@ pub mod collection { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1748,7 +1748,7 @@ pub mod collection { } } pub mod collection_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1797,7 +1797,7 @@ pub mod collection_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1818,7 +1818,7 @@ pub mod collection_region { } } pub mod database_account_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1872,7 +1872,7 @@ pub mod database_account_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1893,7 +1893,7 @@ pub mod database_account_region { } } pub mod percentile_source_target { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1941,7 +1941,7 @@ pub mod percentile_source_target { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1962,7 +1962,7 @@ pub mod percentile_source_target { } } pub mod percentile_target { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2016,7 +2016,7 @@ pub mod percentile_target { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2037,7 +2037,7 @@ pub mod percentile_target { } } pub mod percentile { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2089,7 +2089,7 @@ pub mod percentile { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2110,7 +2110,7 @@ pub mod percentile { } } pub mod collection_partition_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2159,7 +2159,7 @@ pub mod collection_partition_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2180,7 +2180,7 @@ pub mod collection_partition_region { } } pub mod collection_partition { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2228,7 +2228,7 @@ pub mod collection_partition { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2296,7 +2296,7 @@ pub mod collection_partition { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2317,7 +2317,7 @@ pub mod collection_partition { } } pub mod partition_key_range_id { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2366,7 +2366,7 @@ pub mod partition_key_range_id { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2387,7 +2387,7 @@ pub mod partition_key_range_id { } } pub mod partition_key_range_id_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2437,7 +2437,7 @@ pub mod partition_key_range_id_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2458,7 +2458,7 @@ pub mod partition_key_range_id_region { } } pub mod sql_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_sql_databases( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2508,7 +2508,7 @@ pub mod sql_resources { } } pub mod list_sql_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2578,7 +2578,7 @@ pub mod sql_resources { } } pub mod get_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2654,7 +2654,7 @@ pub mod sql_resources { } } pub mod create_update_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2725,7 +2725,7 @@ pub mod sql_resources { } } pub mod delete_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2795,7 +2795,7 @@ pub mod sql_resources { } } pub mod get_sql_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2863,7 +2863,7 @@ pub mod sql_resources { } } pub mod update_sql_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2935,7 +2935,7 @@ pub mod sql_resources { } } pub mod migrate_sql_database_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3007,7 +3007,7 @@ pub mod sql_resources { } } pub mod migrate_sql_database_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3082,7 +3082,7 @@ pub mod sql_resources { } } pub mod list_sql_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3154,7 +3154,7 @@ pub mod sql_resources { } } pub mod get_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3232,7 +3232,7 @@ pub mod sql_resources { } } pub mod create_update_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3305,7 +3305,7 @@ pub mod sql_resources { } } pub mod delete_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3376,7 +3376,7 @@ pub mod sql_resources { } } pub mod get_sql_container_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3445,7 +3445,7 @@ pub mod sql_resources { } } pub mod update_sql_container_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3518,7 +3518,7 @@ pub mod sql_resources { } } pub mod migrate_sql_container_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3591,7 +3591,7 @@ pub mod sql_resources { } } pub mod migrate_sql_container_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3662,7 +3662,7 @@ pub mod sql_resources { } } pub mod list_sql_stored_procedures { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3729,7 +3729,7 @@ pub mod sql_resources { } } pub mod get_sql_stored_procedure { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3800,7 +3800,7 @@ pub mod sql_resources { } } pub mod create_update_sql_stored_procedure { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3868,7 +3868,7 @@ pub mod sql_resources { } } pub mod delete_sql_stored_procedure { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3939,7 +3939,7 @@ pub mod sql_resources { } } pub mod list_sql_user_defined_functions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4006,7 +4006,7 @@ pub mod sql_resources { } } pub mod get_sql_user_defined_function { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4077,7 +4077,7 @@ pub mod sql_resources { } } pub mod create_update_sql_user_defined_function { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4145,7 +4145,7 @@ pub mod sql_resources { } } pub mod delete_sql_user_defined_function { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4214,7 +4214,7 @@ pub mod sql_resources { } } pub mod list_sql_triggers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4279,7 +4279,7 @@ pub mod sql_resources { } } pub mod get_sql_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4350,7 +4350,7 @@ pub mod sql_resources { } } pub mod create_update_sql_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4416,7 +4416,7 @@ pub mod sql_resources { } } pub mod delete_sql_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4442,7 +4442,7 @@ pub mod sql_resources { } } pub mod mongo_db_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_mongo_db_databases( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4494,7 +4494,7 @@ pub mod mongo_db_resources { } } pub mod list_mongo_db_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4566,7 +4566,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4642,7 +4642,7 @@ pub mod mongo_db_resources { } } pub mod create_update_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4715,7 +4715,7 @@ pub mod mongo_db_resources { } } pub mod delete_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4785,7 +4785,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4854,7 +4854,7 @@ pub mod mongo_db_resources { } } pub mod update_mongo_db_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4926,7 +4926,7 @@ pub mod mongo_db_resources { } } pub mod migrate_mongo_db_database_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4999,7 +4999,7 @@ pub mod mongo_db_resources { } } pub mod migrate_mongo_db_database_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5076,7 +5076,7 @@ pub mod mongo_db_resources { } } pub mod list_mongo_db_collections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5150,7 +5150,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5228,7 +5228,7 @@ pub mod mongo_db_resources { } } pub mod create_update_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5303,7 +5303,7 @@ pub mod mongo_db_resources { } } pub mod delete_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5374,7 +5374,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_collection_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5444,7 +5444,7 @@ pub mod mongo_db_resources { } } pub mod update_mongo_db_collection_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5517,7 +5517,7 @@ pub mod mongo_db_resources { } } pub mod migrate_mongo_db_collection_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5594,7 +5594,7 @@ pub mod mongo_db_resources { } } pub mod migrate_mongo_db_collection_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5620,7 +5620,7 @@ pub mod mongo_db_resources { } } pub mod table_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_tables( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5670,7 +5670,7 @@ pub mod table_resources { } } pub mod list_tables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5740,7 +5740,7 @@ pub mod table_resources { } } pub mod get_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5813,7 +5813,7 @@ pub mod table_resources { } } pub mod create_update_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5884,7 +5884,7 @@ pub mod table_resources { } } pub mod delete_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5959,7 +5959,7 @@ pub mod table_resources { } } pub mod get_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6034,7 +6034,7 @@ pub mod table_resources { } } pub mod update_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6106,7 +6106,7 @@ pub mod table_resources { } } pub mod migrate_table_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6178,7 +6178,7 @@ pub mod table_resources { } } pub mod migrate_table_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6204,7 +6204,7 @@ pub mod table_resources { } } pub mod cassandra_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_cassandra_keyspaces( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6256,7 +6256,7 @@ pub mod cassandra_resources { } } pub mod list_cassandra_keyspaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6328,7 +6328,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6404,7 +6404,7 @@ pub mod cassandra_resources { } } pub mod create_update_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6477,7 +6477,7 @@ pub mod cassandra_resources { } } pub mod delete_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6547,7 +6547,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_keyspace_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6616,7 +6616,7 @@ pub mod cassandra_resources { } } pub mod update_cassandra_keyspace_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6688,7 +6688,7 @@ pub mod cassandra_resources { } } pub mod migrate_cassandra_keyspace_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6763,7 +6763,7 @@ pub mod cassandra_resources { } } pub mod migrate_cassandra_keyspace_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6840,7 +6840,7 @@ pub mod cassandra_resources { } } pub mod list_cassandra_tables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6912,7 +6912,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6990,7 +6990,7 @@ pub mod cassandra_resources { } } pub mod create_update_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7065,7 +7065,7 @@ pub mod cassandra_resources { } } pub mod delete_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7136,7 +7136,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7206,7 +7206,7 @@ pub mod cassandra_resources { } } pub mod update_cassandra_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7279,7 +7279,7 @@ pub mod cassandra_resources { } } pub mod migrate_cassandra_table_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7353,7 +7353,7 @@ pub mod cassandra_resources { } } pub mod migrate_cassandra_table_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7379,7 +7379,7 @@ pub mod cassandra_resources { } } pub mod gremlin_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_gremlin_databases( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7431,7 +7431,7 @@ pub mod gremlin_resources { } } pub mod list_gremlin_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7501,7 +7501,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7577,7 +7577,7 @@ pub mod gremlin_resources { } } pub mod create_update_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7650,7 +7650,7 @@ pub mod gremlin_resources { } } pub mod delete_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7720,7 +7720,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7789,7 +7789,7 @@ pub mod gremlin_resources { } } pub mod update_gremlin_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7861,7 +7861,7 @@ pub mod gremlin_resources { } } pub mod migrate_gremlin_database_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7934,7 +7934,7 @@ pub mod gremlin_resources { } } pub mod migrate_gremlin_database_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8009,7 +8009,7 @@ pub mod gremlin_resources { } } pub mod list_gremlin_graphs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8081,7 +8081,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8159,7 +8159,7 @@ pub mod gremlin_resources { } } pub mod create_update_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8232,7 +8232,7 @@ pub mod gremlin_resources { } } pub mod delete_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8303,7 +8303,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_graph_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8372,7 +8372,7 @@ pub mod gremlin_resources { } } pub mod update_gremlin_graph_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8445,7 +8445,7 @@ pub mod gremlin_resources { } } pub mod migrate_gremlin_graph_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8518,7 +8518,7 @@ pub mod gremlin_resources { } } pub mod migrate_gremlin_graph_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8544,7 +8544,7 @@ pub mod gremlin_resources { } } pub mod notebook_workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8598,7 +8598,7 @@ pub mod notebook_workspaces { } } pub mod list_by_database_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8670,7 +8670,7 @@ pub mod notebook_workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8747,7 +8747,7 @@ pub mod notebook_workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8815,7 +8815,7 @@ pub mod notebook_workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8889,7 +8889,7 @@ pub mod notebook_workspaces { } } pub mod list_connection_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8956,7 +8956,7 @@ pub mod notebook_workspaces { } } pub mod regenerate_auth_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9030,7 +9030,7 @@ pub mod notebook_workspaces { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9059,7 +9059,7 @@ pub mod notebook_workspaces { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9111,7 +9111,7 @@ pub mod private_link_resources { } } pub mod list_by_database_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9178,7 +9178,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9199,7 +9199,7 @@ pub mod private_link_resources { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9251,7 +9251,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_database_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9318,7 +9318,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9393,7 +9393,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -9466,7 +9466,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, diff --git a/services/mgmt/cosmos_db/src/package_2020_06_preview/operations.rs b/services/mgmt/cosmos_db/src/package_2020_06_preview/operations.rs index a550a922c2..511fc97aaa 100644 --- a/services/mgmt/cosmos_db/src/package_2020_06_preview/operations.rs +++ b/services/mgmt/cosmos_db/src/package_2020_06_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod database_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -51,7 +51,7 @@ pub mod database_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -121,7 +121,7 @@ pub mod database_accounts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -188,7 +188,7 @@ pub mod database_accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -249,7 +249,7 @@ pub mod database_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -322,7 +322,7 @@ pub mod database_accounts { } } pub mod failover_priority_change { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -388,7 +388,7 @@ pub mod database_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -456,7 +456,7 @@ pub mod database_accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -525,7 +525,7 @@ pub mod database_accounts { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -596,7 +596,7 @@ pub mod database_accounts { } } pub mod list_connection_strings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -664,7 +664,7 @@ pub mod database_accounts { } } pub mod offline_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -740,7 +740,7 @@ pub mod database_accounts { } } pub mod online_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -816,7 +816,7 @@ pub mod database_accounts { } } pub mod get_read_only_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -885,7 +885,7 @@ pub mod database_accounts { } } pub mod list_read_only_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -951,7 +951,7 @@ pub mod database_accounts { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1016,7 +1016,7 @@ pub mod database_accounts { } } pub mod check_name_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1088,7 +1088,7 @@ pub mod database_accounts { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1160,7 +1160,7 @@ pub mod database_accounts { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1230,7 +1230,7 @@ pub mod database_accounts { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1251,7 +1251,7 @@ pub mod database_accounts { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DocumentDB/operations", operation_config.base_path(),); @@ -1287,7 +1287,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1308,7 +1308,7 @@ pub mod operations { } } pub mod database { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1362,7 +1362,7 @@ pub mod database { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1436,7 +1436,7 @@ pub mod database { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1508,7 +1508,7 @@ pub mod database { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1529,7 +1529,7 @@ pub mod database { } } pub mod collection { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1585,7 +1585,7 @@ pub mod collection { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1661,7 +1661,7 @@ pub mod collection { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1727,7 +1727,7 @@ pub mod collection { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1748,7 +1748,7 @@ pub mod collection { } } pub mod collection_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1797,7 +1797,7 @@ pub mod collection_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1818,7 +1818,7 @@ pub mod collection_region { } } pub mod database_account_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1872,7 +1872,7 @@ pub mod database_account_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1893,7 +1893,7 @@ pub mod database_account_region { } } pub mod percentile_source_target { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1941,7 +1941,7 @@ pub mod percentile_source_target { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1962,7 +1962,7 @@ pub mod percentile_source_target { } } pub mod percentile_target { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2016,7 +2016,7 @@ pub mod percentile_target { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2037,7 +2037,7 @@ pub mod percentile_target { } } pub mod percentile { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2089,7 +2089,7 @@ pub mod percentile { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2110,7 +2110,7 @@ pub mod percentile { } } pub mod collection_partition_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2159,7 +2159,7 @@ pub mod collection_partition_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2180,7 +2180,7 @@ pub mod collection_partition_region { } } pub mod collection_partition { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2228,7 +2228,7 @@ pub mod collection_partition { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2296,7 +2296,7 @@ pub mod collection_partition { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2317,7 +2317,7 @@ pub mod collection_partition { } } pub mod partition_key_range_id { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2366,7 +2366,7 @@ pub mod partition_key_range_id { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2387,7 +2387,7 @@ pub mod partition_key_range_id { } } pub mod partition_key_range_id_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2437,7 +2437,7 @@ pub mod partition_key_range_id_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2458,7 +2458,7 @@ pub mod partition_key_range_id_region { } } pub mod sql_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_sql_databases( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2508,7 +2508,7 @@ pub mod sql_resources { } } pub mod list_sql_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2578,7 +2578,7 @@ pub mod sql_resources { } } pub mod get_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2654,7 +2654,7 @@ pub mod sql_resources { } } pub mod create_update_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2725,7 +2725,7 @@ pub mod sql_resources { } } pub mod delete_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2795,7 +2795,7 @@ pub mod sql_resources { } } pub mod get_sql_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2863,7 +2863,7 @@ pub mod sql_resources { } } pub mod update_sql_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2938,7 +2938,7 @@ pub mod sql_resources { } } pub mod list_sql_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3010,7 +3010,7 @@ pub mod sql_resources { } } pub mod get_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3088,7 +3088,7 @@ pub mod sql_resources { } } pub mod create_update_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3161,7 +3161,7 @@ pub mod sql_resources { } } pub mod delete_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3232,7 +3232,7 @@ pub mod sql_resources { } } pub mod get_sql_container_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3301,7 +3301,7 @@ pub mod sql_resources { } } pub mod update_sql_container_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3372,7 +3372,7 @@ pub mod sql_resources { } } pub mod list_sql_stored_procedures { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3439,7 +3439,7 @@ pub mod sql_resources { } } pub mod get_sql_stored_procedure { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3510,7 +3510,7 @@ pub mod sql_resources { } } pub mod create_update_sql_stored_procedure { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3578,7 +3578,7 @@ pub mod sql_resources { } } pub mod delete_sql_stored_procedure { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3649,7 +3649,7 @@ pub mod sql_resources { } } pub mod list_sql_user_defined_functions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3716,7 +3716,7 @@ pub mod sql_resources { } } pub mod get_sql_user_defined_function { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3787,7 +3787,7 @@ pub mod sql_resources { } } pub mod create_update_sql_user_defined_function { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3855,7 +3855,7 @@ pub mod sql_resources { } } pub mod delete_sql_user_defined_function { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3924,7 +3924,7 @@ pub mod sql_resources { } } pub mod list_sql_triggers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3989,7 +3989,7 @@ pub mod sql_resources { } } pub mod get_sql_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4060,7 +4060,7 @@ pub mod sql_resources { } } pub mod create_update_sql_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4126,7 +4126,7 @@ pub mod sql_resources { } } pub mod delete_sql_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4205,7 +4205,7 @@ pub mod sql_resources { } } pub mod get_sql_role_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4286,7 +4286,7 @@ pub mod sql_resources { } } pub mod create_update_sql_role_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlRoleDefinitionGetResults), @@ -4365,7 +4365,7 @@ pub mod sql_resources { } } pub mod delete_sql_role_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4446,7 +4446,7 @@ pub mod sql_resources { } } pub mod list_sql_role_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4523,7 +4523,7 @@ pub mod sql_resources { } } pub mod get_sql_role_assignment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4604,7 +4604,7 @@ pub mod sql_resources { } } pub mod create_update_sql_role_assignment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlRoleAssignmentGetResults), @@ -4683,7 +4683,7 @@ pub mod sql_resources { } } pub mod delete_sql_role_assignment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4764,7 +4764,7 @@ pub mod sql_resources { } } pub mod list_sql_role_assignments { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4788,7 +4788,7 @@ pub mod sql_resources { } } pub mod mongo_db_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_mongo_db_databases( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4840,7 +4840,7 @@ pub mod mongo_db_resources { } } pub mod list_mongo_db_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4912,7 +4912,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4988,7 +4988,7 @@ pub mod mongo_db_resources { } } pub mod create_update_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5061,7 +5061,7 @@ pub mod mongo_db_resources { } } pub mod delete_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5131,7 +5131,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5200,7 +5200,7 @@ pub mod mongo_db_resources { } } pub mod update_mongo_db_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5277,7 +5277,7 @@ pub mod mongo_db_resources { } } pub mod list_mongo_db_collections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5351,7 +5351,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5429,7 +5429,7 @@ pub mod mongo_db_resources { } } pub mod create_update_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5504,7 +5504,7 @@ pub mod mongo_db_resources { } } pub mod delete_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5575,7 +5575,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_collection_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5645,7 +5645,7 @@ pub mod mongo_db_resources { } } pub mod update_mongo_db_collection_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5671,7 +5671,7 @@ pub mod mongo_db_resources { } } pub mod table_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_tables( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5721,7 +5721,7 @@ pub mod table_resources { } } pub mod list_tables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5791,7 +5791,7 @@ pub mod table_resources { } } pub mod get_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5864,7 +5864,7 @@ pub mod table_resources { } } pub mod create_update_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5935,7 +5935,7 @@ pub mod table_resources { } } pub mod delete_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6010,7 +6010,7 @@ pub mod table_resources { } } pub mod get_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6085,7 +6085,7 @@ pub mod table_resources { } } pub mod update_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6111,7 +6111,7 @@ pub mod table_resources { } } pub mod cassandra_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_cassandra_keyspaces( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6163,7 +6163,7 @@ pub mod cassandra_resources { } } pub mod list_cassandra_keyspaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6235,7 +6235,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6311,7 +6311,7 @@ pub mod cassandra_resources { } } pub mod create_update_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6384,7 +6384,7 @@ pub mod cassandra_resources { } } pub mod delete_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6454,7 +6454,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_keyspace_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6523,7 +6523,7 @@ pub mod cassandra_resources { } } pub mod update_cassandra_keyspace_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6600,7 +6600,7 @@ pub mod cassandra_resources { } } pub mod list_cassandra_tables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6672,7 +6672,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6750,7 +6750,7 @@ pub mod cassandra_resources { } } pub mod create_update_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6825,7 +6825,7 @@ pub mod cassandra_resources { } } pub mod delete_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6896,7 +6896,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6966,7 +6966,7 @@ pub mod cassandra_resources { } } pub mod update_cassandra_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6992,7 +6992,7 @@ pub mod cassandra_resources { } } pub mod gremlin_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_gremlin_databases( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7044,7 +7044,7 @@ pub mod gremlin_resources { } } pub mod list_gremlin_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7114,7 +7114,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7190,7 +7190,7 @@ pub mod gremlin_resources { } } pub mod create_update_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7263,7 +7263,7 @@ pub mod gremlin_resources { } } pub mod delete_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7333,7 +7333,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7402,7 +7402,7 @@ pub mod gremlin_resources { } } pub mod update_gremlin_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7477,7 +7477,7 @@ pub mod gremlin_resources { } } pub mod list_gremlin_graphs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7549,7 +7549,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7627,7 +7627,7 @@ pub mod gremlin_resources { } } pub mod create_update_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7700,7 +7700,7 @@ pub mod gremlin_resources { } } pub mod delete_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7771,7 +7771,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_graph_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7840,7 +7840,7 @@ pub mod gremlin_resources { } } pub mod update_gremlin_graph_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7866,7 +7866,7 @@ pub mod gremlin_resources { } } pub mod restorable_database_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7916,7 +7916,7 @@ pub mod restorable_database_accounts { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7982,7 +7982,7 @@ pub mod restorable_database_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8055,7 +8055,7 @@ pub mod restorable_database_accounts { } } pub mod get_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8079,7 +8079,7 @@ pub mod restorable_database_accounts { } } pub mod notebook_workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8133,7 +8133,7 @@ pub mod notebook_workspaces { } } pub mod list_by_database_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8205,7 +8205,7 @@ pub mod notebook_workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8282,7 +8282,7 @@ pub mod notebook_workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8350,7 +8350,7 @@ pub mod notebook_workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8424,7 +8424,7 @@ pub mod notebook_workspaces { } } pub mod list_connection_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8491,7 +8491,7 @@ pub mod notebook_workspaces { } } pub mod regenerate_auth_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8565,7 +8565,7 @@ pub mod notebook_workspaces { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8594,7 +8594,7 @@ pub mod notebook_workspaces { } } pub mod restorable_sql_databases { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8643,7 +8643,7 @@ pub mod restorable_sql_databases { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8667,7 +8667,7 @@ pub mod restorable_sql_databases { } } pub mod restorable_sql_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8721,7 +8721,7 @@ pub mod restorable_sql_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8745,7 +8745,7 @@ pub mod restorable_sql_containers { } } pub mod restorable_sql_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8802,7 +8802,7 @@ pub mod restorable_sql_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8826,7 +8826,7 @@ pub mod restorable_sql_resources { } } pub mod restorable_mongodb_databases { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8875,7 +8875,7 @@ pub mod restorable_mongodb_databases { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8899,7 +8899,7 @@ pub mod restorable_mongodb_databases { } } pub mod restorable_mongodb_collections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8953,7 +8953,7 @@ pub mod restorable_mongodb_collections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8977,7 +8977,7 @@ pub mod restorable_mongodb_collections { } } pub mod restorable_mongodb_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9034,7 +9034,7 @@ pub mod restorable_mongodb_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9058,7 +9058,7 @@ pub mod restorable_mongodb_resources { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9110,7 +9110,7 @@ pub mod private_link_resources { } } pub mod list_by_database_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9177,7 +9177,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9198,7 +9198,7 @@ pub mod private_link_resources { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9250,7 +9250,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_database_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9317,7 +9317,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9392,7 +9392,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -9465,7 +9465,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, diff --git a/services/mgmt/cosmos_db/src/package_2020_09/operations.rs b/services/mgmt/cosmos_db/src/package_2020_09/operations.rs index b2961a51b9..94af79f91f 100644 --- a/services/mgmt/cosmos_db/src/package_2020_09/operations.rs +++ b/services/mgmt/cosmos_db/src/package_2020_09/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod database_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -51,7 +51,7 @@ pub mod database_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -121,7 +121,7 @@ pub mod database_accounts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -188,7 +188,7 @@ pub mod database_accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -249,7 +249,7 @@ pub mod database_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -322,7 +322,7 @@ pub mod database_accounts { } } pub mod failover_priority_change { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -388,7 +388,7 @@ pub mod database_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -456,7 +456,7 @@ pub mod database_accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -525,7 +525,7 @@ pub mod database_accounts { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -596,7 +596,7 @@ pub mod database_accounts { } } pub mod list_connection_strings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -664,7 +664,7 @@ pub mod database_accounts { } } pub mod offline_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -740,7 +740,7 @@ pub mod database_accounts { } } pub mod online_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -816,7 +816,7 @@ pub mod database_accounts { } } pub mod get_read_only_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -885,7 +885,7 @@ pub mod database_accounts { } } pub mod list_read_only_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -951,7 +951,7 @@ pub mod database_accounts { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1016,7 +1016,7 @@ pub mod database_accounts { } } pub mod check_name_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1088,7 +1088,7 @@ pub mod database_accounts { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1160,7 +1160,7 @@ pub mod database_accounts { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1230,7 +1230,7 @@ pub mod database_accounts { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1251,7 +1251,7 @@ pub mod database_accounts { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DocumentDB/operations", operation_config.base_path(),); @@ -1287,7 +1287,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1308,7 +1308,7 @@ pub mod operations { } } pub mod database { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1362,7 +1362,7 @@ pub mod database { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1436,7 +1436,7 @@ pub mod database { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1508,7 +1508,7 @@ pub mod database { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1529,7 +1529,7 @@ pub mod database { } } pub mod collection { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1585,7 +1585,7 @@ pub mod collection { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1661,7 +1661,7 @@ pub mod collection { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1727,7 +1727,7 @@ pub mod collection { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1748,7 +1748,7 @@ pub mod collection { } } pub mod collection_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1797,7 +1797,7 @@ pub mod collection_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1818,7 +1818,7 @@ pub mod collection_region { } } pub mod database_account_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1872,7 +1872,7 @@ pub mod database_account_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1893,7 +1893,7 @@ pub mod database_account_region { } } pub mod percentile_source_target { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1941,7 +1941,7 @@ pub mod percentile_source_target { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1962,7 +1962,7 @@ pub mod percentile_source_target { } } pub mod percentile_target { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2016,7 +2016,7 @@ pub mod percentile_target { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2037,7 +2037,7 @@ pub mod percentile_target { } } pub mod percentile { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2089,7 +2089,7 @@ pub mod percentile { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2110,7 +2110,7 @@ pub mod percentile { } } pub mod collection_partition_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2159,7 +2159,7 @@ pub mod collection_partition_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2180,7 +2180,7 @@ pub mod collection_partition_region { } } pub mod collection_partition { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2228,7 +2228,7 @@ pub mod collection_partition { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2296,7 +2296,7 @@ pub mod collection_partition { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2317,7 +2317,7 @@ pub mod collection_partition { } } pub mod partition_key_range_id { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2366,7 +2366,7 @@ pub mod partition_key_range_id { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2387,7 +2387,7 @@ pub mod partition_key_range_id { } } pub mod partition_key_range_id_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2437,7 +2437,7 @@ pub mod partition_key_range_id_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2458,7 +2458,7 @@ pub mod partition_key_range_id_region { } } pub mod sql_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_sql_databases( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2508,7 +2508,7 @@ pub mod sql_resources { } } pub mod list_sql_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2578,7 +2578,7 @@ pub mod sql_resources { } } pub mod get_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2654,7 +2654,7 @@ pub mod sql_resources { } } pub mod create_update_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2725,7 +2725,7 @@ pub mod sql_resources { } } pub mod delete_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2795,7 +2795,7 @@ pub mod sql_resources { } } pub mod get_sql_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2863,7 +2863,7 @@ pub mod sql_resources { } } pub mod update_sql_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2937,7 +2937,7 @@ pub mod sql_resources { } } pub mod migrate_sql_database_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3014,7 +3014,7 @@ pub mod sql_resources { } } pub mod migrate_sql_database_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3092,7 +3092,7 @@ pub mod sql_resources { } } pub mod list_sql_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3164,7 +3164,7 @@ pub mod sql_resources { } } pub mod get_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3242,7 +3242,7 @@ pub mod sql_resources { } } pub mod create_update_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3315,7 +3315,7 @@ pub mod sql_resources { } } pub mod delete_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3386,7 +3386,7 @@ pub mod sql_resources { } } pub mod get_sql_container_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3455,7 +3455,7 @@ pub mod sql_resources { } } pub mod update_sql_container_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3530,7 +3530,7 @@ pub mod sql_resources { } } pub mod migrate_sql_container_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3608,7 +3608,7 @@ pub mod sql_resources { } } pub mod migrate_sql_container_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3684,7 +3684,7 @@ pub mod sql_resources { } } pub mod list_sql_stored_procedures { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3754,7 +3754,7 @@ pub mod sql_resources { } } pub mod get_sql_stored_procedure { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3825,7 +3825,7 @@ pub mod sql_resources { } } pub mod create_update_sql_stored_procedure { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3893,7 +3893,7 @@ pub mod sql_resources { } } pub mod delete_sql_stored_procedure { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3964,7 +3964,7 @@ pub mod sql_resources { } } pub mod list_sql_user_defined_functions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4031,7 +4031,7 @@ pub mod sql_resources { } } pub mod get_sql_user_defined_function { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4102,7 +4102,7 @@ pub mod sql_resources { } } pub mod create_update_sql_user_defined_function { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4170,7 +4170,7 @@ pub mod sql_resources { } } pub mod delete_sql_user_defined_function { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4239,7 +4239,7 @@ pub mod sql_resources { } } pub mod list_sql_triggers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4304,7 +4304,7 @@ pub mod sql_resources { } } pub mod get_sql_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4375,7 +4375,7 @@ pub mod sql_resources { } } pub mod create_update_sql_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4441,7 +4441,7 @@ pub mod sql_resources { } } pub mod delete_sql_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4467,7 +4467,7 @@ pub mod sql_resources { } } pub mod mongo_db_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_mongo_db_databases( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4519,7 +4519,7 @@ pub mod mongo_db_resources { } } pub mod list_mongo_db_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4591,7 +4591,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4667,7 +4667,7 @@ pub mod mongo_db_resources { } } pub mod create_update_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4740,7 +4740,7 @@ pub mod mongo_db_resources { } } pub mod delete_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4810,7 +4810,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4881,7 +4881,7 @@ pub mod mongo_db_resources { } } pub mod update_mongo_db_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4958,7 +4958,7 @@ pub mod mongo_db_resources { } } pub mod migrate_mongo_db_database_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5036,7 +5036,7 @@ pub mod mongo_db_resources { } } pub mod migrate_mongo_db_database_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5116,7 +5116,7 @@ pub mod mongo_db_resources { } } pub mod list_mongo_db_collections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5190,7 +5190,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5268,7 +5268,7 @@ pub mod mongo_db_resources { } } pub mod create_update_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5343,7 +5343,7 @@ pub mod mongo_db_resources { } } pub mod delete_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5414,7 +5414,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_collection_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5484,7 +5484,7 @@ pub mod mongo_db_resources { } } pub mod update_mongo_db_collection_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5559,7 +5559,7 @@ pub mod mongo_db_resources { } } pub mod migrate_mongo_db_collection_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5642,7 +5642,7 @@ pub mod mongo_db_resources { } } pub mod migrate_mongo_db_collection_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5671,7 +5671,7 @@ pub mod mongo_db_resources { } } pub mod table_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_tables( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5721,7 +5721,7 @@ pub mod table_resources { } } pub mod list_tables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5791,7 +5791,7 @@ pub mod table_resources { } } pub mod get_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5864,7 +5864,7 @@ pub mod table_resources { } } pub mod create_update_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5935,7 +5935,7 @@ pub mod table_resources { } } pub mod delete_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6010,7 +6010,7 @@ pub mod table_resources { } } pub mod get_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6085,7 +6085,7 @@ pub mod table_resources { } } pub mod update_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6159,7 +6159,7 @@ pub mod table_resources { } } pub mod migrate_table_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6236,7 +6236,7 @@ pub mod table_resources { } } pub mod migrate_table_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6265,7 +6265,7 @@ pub mod table_resources { } } pub mod cassandra_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_cassandra_keyspaces( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6317,7 +6317,7 @@ pub mod cassandra_resources { } } pub mod list_cassandra_keyspaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6389,7 +6389,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6465,7 +6465,7 @@ pub mod cassandra_resources { } } pub mod create_update_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6538,7 +6538,7 @@ pub mod cassandra_resources { } } pub mod delete_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6608,7 +6608,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_keyspace_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6677,7 +6677,7 @@ pub mod cassandra_resources { } } pub mod update_cassandra_keyspace_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6751,7 +6751,7 @@ pub mod cassandra_resources { } } pub mod migrate_cassandra_keyspace_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6831,7 +6831,7 @@ pub mod cassandra_resources { } } pub mod migrate_cassandra_keyspace_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6911,7 +6911,7 @@ pub mod cassandra_resources { } } pub mod list_cassandra_tables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6983,7 +6983,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7061,7 +7061,7 @@ pub mod cassandra_resources { } } pub mod create_update_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7136,7 +7136,7 @@ pub mod cassandra_resources { } } pub mod delete_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7207,7 +7207,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7277,7 +7277,7 @@ pub mod cassandra_resources { } } pub mod update_cassandra_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7352,7 +7352,7 @@ pub mod cassandra_resources { } } pub mod migrate_cassandra_table_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7431,7 +7431,7 @@ pub mod cassandra_resources { } } pub mod migrate_cassandra_table_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7460,7 +7460,7 @@ pub mod cassandra_resources { } } pub mod gremlin_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_gremlin_databases( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7512,7 +7512,7 @@ pub mod gremlin_resources { } } pub mod list_gremlin_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7582,7 +7582,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7658,7 +7658,7 @@ pub mod gremlin_resources { } } pub mod create_update_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7731,7 +7731,7 @@ pub mod gremlin_resources { } } pub mod delete_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7801,7 +7801,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7870,7 +7870,7 @@ pub mod gremlin_resources { } } pub mod update_gremlin_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7944,7 +7944,7 @@ pub mod gremlin_resources { } } pub mod migrate_gremlin_database_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8022,7 +8022,7 @@ pub mod gremlin_resources { } } pub mod migrate_gremlin_database_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8100,7 +8100,7 @@ pub mod gremlin_resources { } } pub mod list_gremlin_graphs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8172,7 +8172,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8250,7 +8250,7 @@ pub mod gremlin_resources { } } pub mod create_update_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8323,7 +8323,7 @@ pub mod gremlin_resources { } } pub mod delete_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8394,7 +8394,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_graph_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8463,7 +8463,7 @@ pub mod gremlin_resources { } } pub mod update_gremlin_graph_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8538,7 +8538,7 @@ pub mod gremlin_resources { } } pub mod migrate_gremlin_graph_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8616,7 +8616,7 @@ pub mod gremlin_resources { } } pub mod migrate_gremlin_graph_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8645,7 +8645,7 @@ pub mod gremlin_resources { } } pub mod notebook_workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8699,7 +8699,7 @@ pub mod notebook_workspaces { } } pub mod list_by_database_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8771,7 +8771,7 @@ pub mod notebook_workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8848,7 +8848,7 @@ pub mod notebook_workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8916,7 +8916,7 @@ pub mod notebook_workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8990,7 +8990,7 @@ pub mod notebook_workspaces { } } pub mod list_connection_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9057,7 +9057,7 @@ pub mod notebook_workspaces { } } pub mod regenerate_auth_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9131,7 +9131,7 @@ pub mod notebook_workspaces { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9160,7 +9160,7 @@ pub mod notebook_workspaces { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9212,7 +9212,7 @@ pub mod private_link_resources { } } pub mod list_by_database_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9279,7 +9279,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9300,7 +9300,7 @@ pub mod private_link_resources { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9352,7 +9352,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_database_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9419,7 +9419,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9494,7 +9494,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -9567,7 +9567,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, diff --git a/services/mgmt/cosmos_db/src/package_2021_01/operations.rs b/services/mgmt/cosmos_db/src/package_2021_01/operations.rs index 603b07fc55..2c946eac53 100644 --- a/services/mgmt/cosmos_db/src/package_2021_01/operations.rs +++ b/services/mgmt/cosmos_db/src/package_2021_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod database_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -51,7 +51,7 @@ pub mod database_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -121,7 +121,7 @@ pub mod database_accounts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -188,7 +188,7 @@ pub mod database_accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -249,7 +249,7 @@ pub mod database_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -322,7 +322,7 @@ pub mod database_accounts { } } pub mod failover_priority_change { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -388,7 +388,7 @@ pub mod database_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -456,7 +456,7 @@ pub mod database_accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -525,7 +525,7 @@ pub mod database_accounts { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -596,7 +596,7 @@ pub mod database_accounts { } } pub mod list_connection_strings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -664,7 +664,7 @@ pub mod database_accounts { } } pub mod offline_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -740,7 +740,7 @@ pub mod database_accounts { } } pub mod online_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -816,7 +816,7 @@ pub mod database_accounts { } } pub mod get_read_only_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -885,7 +885,7 @@ pub mod database_accounts { } } pub mod list_read_only_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -951,7 +951,7 @@ pub mod database_accounts { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1016,7 +1016,7 @@ pub mod database_accounts { } } pub mod check_name_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1088,7 +1088,7 @@ pub mod database_accounts { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1160,7 +1160,7 @@ pub mod database_accounts { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1230,7 +1230,7 @@ pub mod database_accounts { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1251,7 +1251,7 @@ pub mod database_accounts { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DocumentDB/operations", operation_config.base_path(),); @@ -1287,7 +1287,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1308,7 +1308,7 @@ pub mod operations { } } pub mod database { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1362,7 +1362,7 @@ pub mod database { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1436,7 +1436,7 @@ pub mod database { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1508,7 +1508,7 @@ pub mod database { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1529,7 +1529,7 @@ pub mod database { } } pub mod collection { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1585,7 +1585,7 @@ pub mod collection { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1661,7 +1661,7 @@ pub mod collection { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1727,7 +1727,7 @@ pub mod collection { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1748,7 +1748,7 @@ pub mod collection { } } pub mod collection_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1797,7 +1797,7 @@ pub mod collection_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1818,7 +1818,7 @@ pub mod collection_region { } } pub mod database_account_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1872,7 +1872,7 @@ pub mod database_account_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1893,7 +1893,7 @@ pub mod database_account_region { } } pub mod percentile_source_target { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1941,7 +1941,7 @@ pub mod percentile_source_target { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1962,7 +1962,7 @@ pub mod percentile_source_target { } } pub mod percentile_target { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2016,7 +2016,7 @@ pub mod percentile_target { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2037,7 +2037,7 @@ pub mod percentile_target { } } pub mod percentile { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2089,7 +2089,7 @@ pub mod percentile { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2110,7 +2110,7 @@ pub mod percentile { } } pub mod collection_partition_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2159,7 +2159,7 @@ pub mod collection_partition_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2180,7 +2180,7 @@ pub mod collection_partition_region { } } pub mod collection_partition { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2228,7 +2228,7 @@ pub mod collection_partition { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2296,7 +2296,7 @@ pub mod collection_partition { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2317,7 +2317,7 @@ pub mod collection_partition { } } pub mod partition_key_range_id { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2366,7 +2366,7 @@ pub mod partition_key_range_id { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2387,7 +2387,7 @@ pub mod partition_key_range_id { } } pub mod partition_key_range_id_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2437,7 +2437,7 @@ pub mod partition_key_range_id_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2458,7 +2458,7 @@ pub mod partition_key_range_id_region { } } pub mod sql_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_sql_databases( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2508,7 +2508,7 @@ pub mod sql_resources { } } pub mod list_sql_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2578,7 +2578,7 @@ pub mod sql_resources { } } pub mod get_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2654,7 +2654,7 @@ pub mod sql_resources { } } pub mod create_update_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2725,7 +2725,7 @@ pub mod sql_resources { } } pub mod delete_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2795,7 +2795,7 @@ pub mod sql_resources { } } pub mod get_sql_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2863,7 +2863,7 @@ pub mod sql_resources { } } pub mod update_sql_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2937,7 +2937,7 @@ pub mod sql_resources { } } pub mod migrate_sql_database_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3014,7 +3014,7 @@ pub mod sql_resources { } } pub mod migrate_sql_database_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3092,7 +3092,7 @@ pub mod sql_resources { } } pub mod list_sql_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3164,7 +3164,7 @@ pub mod sql_resources { } } pub mod get_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3242,7 +3242,7 @@ pub mod sql_resources { } } pub mod create_update_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3315,7 +3315,7 @@ pub mod sql_resources { } } pub mod delete_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3386,7 +3386,7 @@ pub mod sql_resources { } } pub mod get_sql_container_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3455,7 +3455,7 @@ pub mod sql_resources { } } pub mod update_sql_container_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3530,7 +3530,7 @@ pub mod sql_resources { } } pub mod migrate_sql_container_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3608,7 +3608,7 @@ pub mod sql_resources { } } pub mod migrate_sql_container_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3684,7 +3684,7 @@ pub mod sql_resources { } } pub mod list_sql_stored_procedures { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3754,7 +3754,7 @@ pub mod sql_resources { } } pub mod get_sql_stored_procedure { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3825,7 +3825,7 @@ pub mod sql_resources { } } pub mod create_update_sql_stored_procedure { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3893,7 +3893,7 @@ pub mod sql_resources { } } pub mod delete_sql_stored_procedure { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3964,7 +3964,7 @@ pub mod sql_resources { } } pub mod list_sql_user_defined_functions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4031,7 +4031,7 @@ pub mod sql_resources { } } pub mod get_sql_user_defined_function { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4102,7 +4102,7 @@ pub mod sql_resources { } } pub mod create_update_sql_user_defined_function { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4170,7 +4170,7 @@ pub mod sql_resources { } } pub mod delete_sql_user_defined_function { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4239,7 +4239,7 @@ pub mod sql_resources { } } pub mod list_sql_triggers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4304,7 +4304,7 @@ pub mod sql_resources { } } pub mod get_sql_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4375,7 +4375,7 @@ pub mod sql_resources { } } pub mod create_update_sql_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4441,7 +4441,7 @@ pub mod sql_resources { } } pub mod delete_sql_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4467,7 +4467,7 @@ pub mod sql_resources { } } pub mod mongo_db_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_mongo_db_databases( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4519,7 +4519,7 @@ pub mod mongo_db_resources { } } pub mod list_mongo_db_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4591,7 +4591,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4667,7 +4667,7 @@ pub mod mongo_db_resources { } } pub mod create_update_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4740,7 +4740,7 @@ pub mod mongo_db_resources { } } pub mod delete_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4810,7 +4810,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4881,7 +4881,7 @@ pub mod mongo_db_resources { } } pub mod update_mongo_db_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4958,7 +4958,7 @@ pub mod mongo_db_resources { } } pub mod migrate_mongo_db_database_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5036,7 +5036,7 @@ pub mod mongo_db_resources { } } pub mod migrate_mongo_db_database_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5116,7 +5116,7 @@ pub mod mongo_db_resources { } } pub mod list_mongo_db_collections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5190,7 +5190,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5268,7 +5268,7 @@ pub mod mongo_db_resources { } } pub mod create_update_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5343,7 +5343,7 @@ pub mod mongo_db_resources { } } pub mod delete_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5414,7 +5414,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_collection_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5484,7 +5484,7 @@ pub mod mongo_db_resources { } } pub mod update_mongo_db_collection_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5559,7 +5559,7 @@ pub mod mongo_db_resources { } } pub mod migrate_mongo_db_collection_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5642,7 +5642,7 @@ pub mod mongo_db_resources { } } pub mod migrate_mongo_db_collection_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5671,7 +5671,7 @@ pub mod mongo_db_resources { } } pub mod table_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_tables( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5721,7 +5721,7 @@ pub mod table_resources { } } pub mod list_tables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5791,7 +5791,7 @@ pub mod table_resources { } } pub mod get_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5864,7 +5864,7 @@ pub mod table_resources { } } pub mod create_update_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5935,7 +5935,7 @@ pub mod table_resources { } } pub mod delete_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6010,7 +6010,7 @@ pub mod table_resources { } } pub mod get_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6085,7 +6085,7 @@ pub mod table_resources { } } pub mod update_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6159,7 +6159,7 @@ pub mod table_resources { } } pub mod migrate_table_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6236,7 +6236,7 @@ pub mod table_resources { } } pub mod migrate_table_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6265,7 +6265,7 @@ pub mod table_resources { } } pub mod cassandra_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_cassandra_keyspaces( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6317,7 +6317,7 @@ pub mod cassandra_resources { } } pub mod list_cassandra_keyspaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6389,7 +6389,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6465,7 +6465,7 @@ pub mod cassandra_resources { } } pub mod create_update_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6538,7 +6538,7 @@ pub mod cassandra_resources { } } pub mod delete_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6608,7 +6608,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_keyspace_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6677,7 +6677,7 @@ pub mod cassandra_resources { } } pub mod update_cassandra_keyspace_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6751,7 +6751,7 @@ pub mod cassandra_resources { } } pub mod migrate_cassandra_keyspace_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6831,7 +6831,7 @@ pub mod cassandra_resources { } } pub mod migrate_cassandra_keyspace_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6911,7 +6911,7 @@ pub mod cassandra_resources { } } pub mod list_cassandra_tables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6983,7 +6983,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7061,7 +7061,7 @@ pub mod cassandra_resources { } } pub mod create_update_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7136,7 +7136,7 @@ pub mod cassandra_resources { } } pub mod delete_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7207,7 +7207,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7277,7 +7277,7 @@ pub mod cassandra_resources { } } pub mod update_cassandra_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7352,7 +7352,7 @@ pub mod cassandra_resources { } } pub mod migrate_cassandra_table_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7431,7 +7431,7 @@ pub mod cassandra_resources { } } pub mod migrate_cassandra_table_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7460,7 +7460,7 @@ pub mod cassandra_resources { } } pub mod gremlin_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_gremlin_databases( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7512,7 +7512,7 @@ pub mod gremlin_resources { } } pub mod list_gremlin_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7582,7 +7582,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7658,7 +7658,7 @@ pub mod gremlin_resources { } } pub mod create_update_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7731,7 +7731,7 @@ pub mod gremlin_resources { } } pub mod delete_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7801,7 +7801,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7870,7 +7870,7 @@ pub mod gremlin_resources { } } pub mod update_gremlin_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7944,7 +7944,7 @@ pub mod gremlin_resources { } } pub mod migrate_gremlin_database_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8022,7 +8022,7 @@ pub mod gremlin_resources { } } pub mod migrate_gremlin_database_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8100,7 +8100,7 @@ pub mod gremlin_resources { } } pub mod list_gremlin_graphs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8172,7 +8172,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8250,7 +8250,7 @@ pub mod gremlin_resources { } } pub mod create_update_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8323,7 +8323,7 @@ pub mod gremlin_resources { } } pub mod delete_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8394,7 +8394,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_graph_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8463,7 +8463,7 @@ pub mod gremlin_resources { } } pub mod update_gremlin_graph_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8538,7 +8538,7 @@ pub mod gremlin_resources { } } pub mod migrate_gremlin_graph_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8616,7 +8616,7 @@ pub mod gremlin_resources { } } pub mod migrate_gremlin_graph_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8645,7 +8645,7 @@ pub mod gremlin_resources { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8697,7 +8697,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_database_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8764,7 +8764,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8839,7 +8839,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -8912,7 +8912,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8941,7 +8941,7 @@ pub mod private_endpoint_connections { } } pub mod notebook_workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8995,7 +8995,7 @@ pub mod notebook_workspaces { } } pub mod list_by_database_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9067,7 +9067,7 @@ pub mod notebook_workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9144,7 +9144,7 @@ pub mod notebook_workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9212,7 +9212,7 @@ pub mod notebook_workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9286,7 +9286,7 @@ pub mod notebook_workspaces { } } pub mod list_connection_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9353,7 +9353,7 @@ pub mod notebook_workspaces { } } pub mod regenerate_auth_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9427,7 +9427,7 @@ pub mod notebook_workspaces { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9456,7 +9456,7 @@ pub mod notebook_workspaces { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9508,7 +9508,7 @@ pub mod private_link_resources { } } pub mod list_by_database_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9575,7 +9575,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/cosmos_db/src/package_2021_03/operations.rs b/services/mgmt/cosmos_db/src/package_2021_03/operations.rs index 603b07fc55..2c946eac53 100644 --- a/services/mgmt/cosmos_db/src/package_2021_03/operations.rs +++ b/services/mgmt/cosmos_db/src/package_2021_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod database_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -51,7 +51,7 @@ pub mod database_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -121,7 +121,7 @@ pub mod database_accounts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -188,7 +188,7 @@ pub mod database_accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -249,7 +249,7 @@ pub mod database_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -322,7 +322,7 @@ pub mod database_accounts { } } pub mod failover_priority_change { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -388,7 +388,7 @@ pub mod database_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -456,7 +456,7 @@ pub mod database_accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -525,7 +525,7 @@ pub mod database_accounts { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -596,7 +596,7 @@ pub mod database_accounts { } } pub mod list_connection_strings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -664,7 +664,7 @@ pub mod database_accounts { } } pub mod offline_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -740,7 +740,7 @@ pub mod database_accounts { } } pub mod online_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -816,7 +816,7 @@ pub mod database_accounts { } } pub mod get_read_only_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -885,7 +885,7 @@ pub mod database_accounts { } } pub mod list_read_only_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -951,7 +951,7 @@ pub mod database_accounts { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1016,7 +1016,7 @@ pub mod database_accounts { } } pub mod check_name_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1088,7 +1088,7 @@ pub mod database_accounts { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1160,7 +1160,7 @@ pub mod database_accounts { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1230,7 +1230,7 @@ pub mod database_accounts { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1251,7 +1251,7 @@ pub mod database_accounts { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DocumentDB/operations", operation_config.base_path(),); @@ -1287,7 +1287,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1308,7 +1308,7 @@ pub mod operations { } } pub mod database { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1362,7 +1362,7 @@ pub mod database { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1436,7 +1436,7 @@ pub mod database { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1508,7 +1508,7 @@ pub mod database { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1529,7 +1529,7 @@ pub mod database { } } pub mod collection { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1585,7 +1585,7 @@ pub mod collection { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1661,7 +1661,7 @@ pub mod collection { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1727,7 +1727,7 @@ pub mod collection { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1748,7 +1748,7 @@ pub mod collection { } } pub mod collection_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1797,7 +1797,7 @@ pub mod collection_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1818,7 +1818,7 @@ pub mod collection_region { } } pub mod database_account_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1872,7 +1872,7 @@ pub mod database_account_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1893,7 +1893,7 @@ pub mod database_account_region { } } pub mod percentile_source_target { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1941,7 +1941,7 @@ pub mod percentile_source_target { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1962,7 +1962,7 @@ pub mod percentile_source_target { } } pub mod percentile_target { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2016,7 +2016,7 @@ pub mod percentile_target { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2037,7 +2037,7 @@ pub mod percentile_target { } } pub mod percentile { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2089,7 +2089,7 @@ pub mod percentile { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2110,7 +2110,7 @@ pub mod percentile { } } pub mod collection_partition_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2159,7 +2159,7 @@ pub mod collection_partition_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2180,7 +2180,7 @@ pub mod collection_partition_region { } } pub mod collection_partition { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2228,7 +2228,7 @@ pub mod collection_partition { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2296,7 +2296,7 @@ pub mod collection_partition { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2317,7 +2317,7 @@ pub mod collection_partition { } } pub mod partition_key_range_id { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2366,7 +2366,7 @@ pub mod partition_key_range_id { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2387,7 +2387,7 @@ pub mod partition_key_range_id { } } pub mod partition_key_range_id_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2437,7 +2437,7 @@ pub mod partition_key_range_id_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2458,7 +2458,7 @@ pub mod partition_key_range_id_region { } } pub mod sql_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_sql_databases( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2508,7 +2508,7 @@ pub mod sql_resources { } } pub mod list_sql_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2578,7 +2578,7 @@ pub mod sql_resources { } } pub mod get_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2654,7 +2654,7 @@ pub mod sql_resources { } } pub mod create_update_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2725,7 +2725,7 @@ pub mod sql_resources { } } pub mod delete_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2795,7 +2795,7 @@ pub mod sql_resources { } } pub mod get_sql_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2863,7 +2863,7 @@ pub mod sql_resources { } } pub mod update_sql_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2937,7 +2937,7 @@ pub mod sql_resources { } } pub mod migrate_sql_database_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3014,7 +3014,7 @@ pub mod sql_resources { } } pub mod migrate_sql_database_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3092,7 +3092,7 @@ pub mod sql_resources { } } pub mod list_sql_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3164,7 +3164,7 @@ pub mod sql_resources { } } pub mod get_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3242,7 +3242,7 @@ pub mod sql_resources { } } pub mod create_update_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3315,7 +3315,7 @@ pub mod sql_resources { } } pub mod delete_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3386,7 +3386,7 @@ pub mod sql_resources { } } pub mod get_sql_container_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3455,7 +3455,7 @@ pub mod sql_resources { } } pub mod update_sql_container_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3530,7 +3530,7 @@ pub mod sql_resources { } } pub mod migrate_sql_container_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3608,7 +3608,7 @@ pub mod sql_resources { } } pub mod migrate_sql_container_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3684,7 +3684,7 @@ pub mod sql_resources { } } pub mod list_sql_stored_procedures { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3754,7 +3754,7 @@ pub mod sql_resources { } } pub mod get_sql_stored_procedure { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3825,7 +3825,7 @@ pub mod sql_resources { } } pub mod create_update_sql_stored_procedure { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3893,7 +3893,7 @@ pub mod sql_resources { } } pub mod delete_sql_stored_procedure { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3964,7 +3964,7 @@ pub mod sql_resources { } } pub mod list_sql_user_defined_functions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4031,7 +4031,7 @@ pub mod sql_resources { } } pub mod get_sql_user_defined_function { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4102,7 +4102,7 @@ pub mod sql_resources { } } pub mod create_update_sql_user_defined_function { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4170,7 +4170,7 @@ pub mod sql_resources { } } pub mod delete_sql_user_defined_function { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4239,7 +4239,7 @@ pub mod sql_resources { } } pub mod list_sql_triggers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4304,7 +4304,7 @@ pub mod sql_resources { } } pub mod get_sql_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4375,7 +4375,7 @@ pub mod sql_resources { } } pub mod create_update_sql_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4441,7 +4441,7 @@ pub mod sql_resources { } } pub mod delete_sql_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4467,7 +4467,7 @@ pub mod sql_resources { } } pub mod mongo_db_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_mongo_db_databases( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4519,7 +4519,7 @@ pub mod mongo_db_resources { } } pub mod list_mongo_db_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4591,7 +4591,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4667,7 +4667,7 @@ pub mod mongo_db_resources { } } pub mod create_update_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4740,7 +4740,7 @@ pub mod mongo_db_resources { } } pub mod delete_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4810,7 +4810,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4881,7 +4881,7 @@ pub mod mongo_db_resources { } } pub mod update_mongo_db_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4958,7 +4958,7 @@ pub mod mongo_db_resources { } } pub mod migrate_mongo_db_database_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5036,7 +5036,7 @@ pub mod mongo_db_resources { } } pub mod migrate_mongo_db_database_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5116,7 +5116,7 @@ pub mod mongo_db_resources { } } pub mod list_mongo_db_collections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5190,7 +5190,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5268,7 +5268,7 @@ pub mod mongo_db_resources { } } pub mod create_update_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5343,7 +5343,7 @@ pub mod mongo_db_resources { } } pub mod delete_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5414,7 +5414,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_collection_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5484,7 +5484,7 @@ pub mod mongo_db_resources { } } pub mod update_mongo_db_collection_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5559,7 +5559,7 @@ pub mod mongo_db_resources { } } pub mod migrate_mongo_db_collection_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5642,7 +5642,7 @@ pub mod mongo_db_resources { } } pub mod migrate_mongo_db_collection_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5671,7 +5671,7 @@ pub mod mongo_db_resources { } } pub mod table_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_tables( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5721,7 +5721,7 @@ pub mod table_resources { } } pub mod list_tables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5791,7 +5791,7 @@ pub mod table_resources { } } pub mod get_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5864,7 +5864,7 @@ pub mod table_resources { } } pub mod create_update_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5935,7 +5935,7 @@ pub mod table_resources { } } pub mod delete_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6010,7 +6010,7 @@ pub mod table_resources { } } pub mod get_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6085,7 +6085,7 @@ pub mod table_resources { } } pub mod update_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6159,7 +6159,7 @@ pub mod table_resources { } } pub mod migrate_table_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6236,7 +6236,7 @@ pub mod table_resources { } } pub mod migrate_table_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6265,7 +6265,7 @@ pub mod table_resources { } } pub mod cassandra_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_cassandra_keyspaces( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6317,7 +6317,7 @@ pub mod cassandra_resources { } } pub mod list_cassandra_keyspaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6389,7 +6389,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6465,7 +6465,7 @@ pub mod cassandra_resources { } } pub mod create_update_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6538,7 +6538,7 @@ pub mod cassandra_resources { } } pub mod delete_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6608,7 +6608,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_keyspace_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6677,7 +6677,7 @@ pub mod cassandra_resources { } } pub mod update_cassandra_keyspace_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6751,7 +6751,7 @@ pub mod cassandra_resources { } } pub mod migrate_cassandra_keyspace_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6831,7 +6831,7 @@ pub mod cassandra_resources { } } pub mod migrate_cassandra_keyspace_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6911,7 +6911,7 @@ pub mod cassandra_resources { } } pub mod list_cassandra_tables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6983,7 +6983,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7061,7 +7061,7 @@ pub mod cassandra_resources { } } pub mod create_update_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7136,7 +7136,7 @@ pub mod cassandra_resources { } } pub mod delete_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7207,7 +7207,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7277,7 +7277,7 @@ pub mod cassandra_resources { } } pub mod update_cassandra_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7352,7 +7352,7 @@ pub mod cassandra_resources { } } pub mod migrate_cassandra_table_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7431,7 +7431,7 @@ pub mod cassandra_resources { } } pub mod migrate_cassandra_table_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7460,7 +7460,7 @@ pub mod cassandra_resources { } } pub mod gremlin_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_gremlin_databases( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7512,7 +7512,7 @@ pub mod gremlin_resources { } } pub mod list_gremlin_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7582,7 +7582,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7658,7 +7658,7 @@ pub mod gremlin_resources { } } pub mod create_update_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7731,7 +7731,7 @@ pub mod gremlin_resources { } } pub mod delete_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7801,7 +7801,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7870,7 +7870,7 @@ pub mod gremlin_resources { } } pub mod update_gremlin_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7944,7 +7944,7 @@ pub mod gremlin_resources { } } pub mod migrate_gremlin_database_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8022,7 +8022,7 @@ pub mod gremlin_resources { } } pub mod migrate_gremlin_database_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8100,7 +8100,7 @@ pub mod gremlin_resources { } } pub mod list_gremlin_graphs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8172,7 +8172,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8250,7 +8250,7 @@ pub mod gremlin_resources { } } pub mod create_update_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8323,7 +8323,7 @@ pub mod gremlin_resources { } } pub mod delete_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8394,7 +8394,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_graph_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8463,7 +8463,7 @@ pub mod gremlin_resources { } } pub mod update_gremlin_graph_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8538,7 +8538,7 @@ pub mod gremlin_resources { } } pub mod migrate_gremlin_graph_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8616,7 +8616,7 @@ pub mod gremlin_resources { } } pub mod migrate_gremlin_graph_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8645,7 +8645,7 @@ pub mod gremlin_resources { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8697,7 +8697,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_database_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8764,7 +8764,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8839,7 +8839,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -8912,7 +8912,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8941,7 +8941,7 @@ pub mod private_endpoint_connections { } } pub mod notebook_workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8995,7 +8995,7 @@ pub mod notebook_workspaces { } } pub mod list_by_database_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9067,7 +9067,7 @@ pub mod notebook_workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9144,7 +9144,7 @@ pub mod notebook_workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9212,7 +9212,7 @@ pub mod notebook_workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9286,7 +9286,7 @@ pub mod notebook_workspaces { } } pub mod list_connection_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9353,7 +9353,7 @@ pub mod notebook_workspaces { } } pub mod regenerate_auth_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9427,7 +9427,7 @@ pub mod notebook_workspaces { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9456,7 +9456,7 @@ pub mod notebook_workspaces { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9508,7 +9508,7 @@ pub mod private_link_resources { } } pub mod list_by_database_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9575,7 +9575,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/cosmos_db/src/package_2021_03_preview/operations.rs b/services/mgmt/cosmos_db/src/package_2021_03_preview/operations.rs index c10ec8dfa7..1a21971e7e 100644 --- a/services/mgmt/cosmos_db/src/package_2021_03_preview/operations.rs +++ b/services/mgmt/cosmos_db/src/package_2021_03_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod database_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -51,7 +51,7 @@ pub mod database_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -121,7 +121,7 @@ pub mod database_accounts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -188,7 +188,7 @@ pub mod database_accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -249,7 +249,7 @@ pub mod database_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -322,7 +322,7 @@ pub mod database_accounts { } } pub mod failover_priority_change { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -388,7 +388,7 @@ pub mod database_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -456,7 +456,7 @@ pub mod database_accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -525,7 +525,7 @@ pub mod database_accounts { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -596,7 +596,7 @@ pub mod database_accounts { } } pub mod list_connection_strings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -664,7 +664,7 @@ pub mod database_accounts { } } pub mod offline_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -740,7 +740,7 @@ pub mod database_accounts { } } pub mod online_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -816,7 +816,7 @@ pub mod database_accounts { } } pub mod get_read_only_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -885,7 +885,7 @@ pub mod database_accounts { } } pub mod list_read_only_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -951,7 +951,7 @@ pub mod database_accounts { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1016,7 +1016,7 @@ pub mod database_accounts { } } pub mod check_name_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1088,7 +1088,7 @@ pub mod database_accounts { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1160,7 +1160,7 @@ pub mod database_accounts { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1230,7 +1230,7 @@ pub mod database_accounts { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1251,7 +1251,7 @@ pub mod database_accounts { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DocumentDB/operations", operation_config.base_path(),); @@ -1287,7 +1287,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1308,7 +1308,7 @@ pub mod operations { } } pub mod database { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1362,7 +1362,7 @@ pub mod database { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1436,7 +1436,7 @@ pub mod database { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1508,7 +1508,7 @@ pub mod database { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1529,7 +1529,7 @@ pub mod database { } } pub mod collection { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1585,7 +1585,7 @@ pub mod collection { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1661,7 +1661,7 @@ pub mod collection { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1727,7 +1727,7 @@ pub mod collection { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1748,7 +1748,7 @@ pub mod collection { } } pub mod collection_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1797,7 +1797,7 @@ pub mod collection_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1818,7 +1818,7 @@ pub mod collection_region { } } pub mod database_account_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1872,7 +1872,7 @@ pub mod database_account_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1893,7 +1893,7 @@ pub mod database_account_region { } } pub mod percentile_source_target { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1941,7 +1941,7 @@ pub mod percentile_source_target { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1962,7 +1962,7 @@ pub mod percentile_source_target { } } pub mod percentile_target { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2016,7 +2016,7 @@ pub mod percentile_target { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2037,7 +2037,7 @@ pub mod percentile_target { } } pub mod percentile { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2089,7 +2089,7 @@ pub mod percentile { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2110,7 +2110,7 @@ pub mod percentile { } } pub mod collection_partition_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2159,7 +2159,7 @@ pub mod collection_partition_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2180,7 +2180,7 @@ pub mod collection_partition_region { } } pub mod collection_partition { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2228,7 +2228,7 @@ pub mod collection_partition { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2296,7 +2296,7 @@ pub mod collection_partition { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2317,7 +2317,7 @@ pub mod collection_partition { } } pub mod partition_key_range_id { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2366,7 +2366,7 @@ pub mod partition_key_range_id { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2387,7 +2387,7 @@ pub mod partition_key_range_id { } } pub mod partition_key_range_id_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2437,7 +2437,7 @@ pub mod partition_key_range_id_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2458,7 +2458,7 @@ pub mod partition_key_range_id_region { } } pub mod sql_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_sql_databases( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2508,7 +2508,7 @@ pub mod sql_resources { } } pub mod list_sql_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2578,7 +2578,7 @@ pub mod sql_resources { } } pub mod get_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2654,7 +2654,7 @@ pub mod sql_resources { } } pub mod create_update_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2725,7 +2725,7 @@ pub mod sql_resources { } } pub mod delete_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2795,7 +2795,7 @@ pub mod sql_resources { } } pub mod get_sql_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2863,7 +2863,7 @@ pub mod sql_resources { } } pub mod update_sql_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2937,7 +2937,7 @@ pub mod sql_resources { } } pub mod migrate_sql_database_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3014,7 +3014,7 @@ pub mod sql_resources { } } pub mod migrate_sql_database_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3092,7 +3092,7 @@ pub mod sql_resources { } } pub mod list_sql_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3164,7 +3164,7 @@ pub mod sql_resources { } } pub mod get_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3242,7 +3242,7 @@ pub mod sql_resources { } } pub mod create_update_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3315,7 +3315,7 @@ pub mod sql_resources { } } pub mod delete_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3386,7 +3386,7 @@ pub mod sql_resources { } } pub mod get_sql_container_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3455,7 +3455,7 @@ pub mod sql_resources { } } pub mod update_sql_container_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3530,7 +3530,7 @@ pub mod sql_resources { } } pub mod migrate_sql_container_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3608,7 +3608,7 @@ pub mod sql_resources { } } pub mod migrate_sql_container_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3682,7 +3682,7 @@ pub mod sql_resources { } } pub mod list_sql_stored_procedures { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3749,7 +3749,7 @@ pub mod sql_resources { } } pub mod get_sql_stored_procedure { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3820,7 +3820,7 @@ pub mod sql_resources { } } pub mod create_update_sql_stored_procedure { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3888,7 +3888,7 @@ pub mod sql_resources { } } pub mod delete_sql_stored_procedure { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3959,7 +3959,7 @@ pub mod sql_resources { } } pub mod list_sql_user_defined_functions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4026,7 +4026,7 @@ pub mod sql_resources { } } pub mod get_sql_user_defined_function { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4097,7 +4097,7 @@ pub mod sql_resources { } } pub mod create_update_sql_user_defined_function { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4165,7 +4165,7 @@ pub mod sql_resources { } } pub mod delete_sql_user_defined_function { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4234,7 +4234,7 @@ pub mod sql_resources { } } pub mod list_sql_triggers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4299,7 +4299,7 @@ pub mod sql_resources { } } pub mod get_sql_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4370,7 +4370,7 @@ pub mod sql_resources { } } pub mod create_update_sql_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4436,7 +4436,7 @@ pub mod sql_resources { } } pub mod delete_sql_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4515,7 +4515,7 @@ pub mod sql_resources { } } pub mod get_sql_role_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4596,7 +4596,7 @@ pub mod sql_resources { } } pub mod create_update_sql_role_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlRoleDefinitionGetResults), @@ -4675,7 +4675,7 @@ pub mod sql_resources { } } pub mod delete_sql_role_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4756,7 +4756,7 @@ pub mod sql_resources { } } pub mod list_sql_role_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4833,7 +4833,7 @@ pub mod sql_resources { } } pub mod get_sql_role_assignment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4914,7 +4914,7 @@ pub mod sql_resources { } } pub mod create_update_sql_role_assignment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlRoleAssignmentGetResults), @@ -4993,7 +4993,7 @@ pub mod sql_resources { } } pub mod delete_sql_role_assignment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5074,7 +5074,7 @@ pub mod sql_resources { } } pub mod list_sql_role_assignments { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5098,7 +5098,7 @@ pub mod sql_resources { } } pub mod mongo_db_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_mongo_db_databases( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5150,7 +5150,7 @@ pub mod mongo_db_resources { } } pub mod list_mongo_db_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5222,7 +5222,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5298,7 +5298,7 @@ pub mod mongo_db_resources { } } pub mod create_update_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5371,7 +5371,7 @@ pub mod mongo_db_resources { } } pub mod delete_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5441,7 +5441,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5510,7 +5510,7 @@ pub mod mongo_db_resources { } } pub mod update_mongo_db_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5584,7 +5584,7 @@ pub mod mongo_db_resources { } } pub mod migrate_mongo_db_database_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5662,7 +5662,7 @@ pub mod mongo_db_resources { } } pub mod migrate_mongo_db_database_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5742,7 +5742,7 @@ pub mod mongo_db_resources { } } pub mod list_mongo_db_collections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5816,7 +5816,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5894,7 +5894,7 @@ pub mod mongo_db_resources { } } pub mod create_update_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5969,7 +5969,7 @@ pub mod mongo_db_resources { } } pub mod delete_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6040,7 +6040,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_collection_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6110,7 +6110,7 @@ pub mod mongo_db_resources { } } pub mod update_mongo_db_collection_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6185,7 +6185,7 @@ pub mod mongo_db_resources { } } pub mod migrate_mongo_db_collection_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6268,7 +6268,7 @@ pub mod mongo_db_resources { } } pub mod migrate_mongo_db_collection_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6297,7 +6297,7 @@ pub mod mongo_db_resources { } } pub mod table_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_tables( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6347,7 +6347,7 @@ pub mod table_resources { } } pub mod list_tables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6417,7 +6417,7 @@ pub mod table_resources { } } pub mod get_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6490,7 +6490,7 @@ pub mod table_resources { } } pub mod create_update_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6561,7 +6561,7 @@ pub mod table_resources { } } pub mod delete_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6636,7 +6636,7 @@ pub mod table_resources { } } pub mod get_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6711,7 +6711,7 @@ pub mod table_resources { } } pub mod update_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6785,7 +6785,7 @@ pub mod table_resources { } } pub mod migrate_table_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6862,7 +6862,7 @@ pub mod table_resources { } } pub mod migrate_table_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6891,7 +6891,7 @@ pub mod table_resources { } } pub mod cassandra_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_cassandra_keyspaces( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6943,7 +6943,7 @@ pub mod cassandra_resources { } } pub mod list_cassandra_keyspaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7015,7 +7015,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7091,7 +7091,7 @@ pub mod cassandra_resources { } } pub mod create_update_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7164,7 +7164,7 @@ pub mod cassandra_resources { } } pub mod delete_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7234,7 +7234,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_keyspace_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7303,7 +7303,7 @@ pub mod cassandra_resources { } } pub mod update_cassandra_keyspace_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7377,7 +7377,7 @@ pub mod cassandra_resources { } } pub mod migrate_cassandra_keyspace_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7457,7 +7457,7 @@ pub mod cassandra_resources { } } pub mod migrate_cassandra_keyspace_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7537,7 +7537,7 @@ pub mod cassandra_resources { } } pub mod list_cassandra_tables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7609,7 +7609,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7687,7 +7687,7 @@ pub mod cassandra_resources { } } pub mod create_update_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7762,7 +7762,7 @@ pub mod cassandra_resources { } } pub mod delete_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7833,7 +7833,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7903,7 +7903,7 @@ pub mod cassandra_resources { } } pub mod update_cassandra_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7978,7 +7978,7 @@ pub mod cassandra_resources { } } pub mod migrate_cassandra_table_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8057,7 +8057,7 @@ pub mod cassandra_resources { } } pub mod migrate_cassandra_table_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8086,7 +8086,7 @@ pub mod cassandra_resources { } } pub mod gremlin_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_gremlin_databases( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8138,7 +8138,7 @@ pub mod gremlin_resources { } } pub mod list_gremlin_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8208,7 +8208,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8284,7 +8284,7 @@ pub mod gremlin_resources { } } pub mod create_update_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8357,7 +8357,7 @@ pub mod gremlin_resources { } } pub mod delete_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8427,7 +8427,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8496,7 +8496,7 @@ pub mod gremlin_resources { } } pub mod update_gremlin_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8570,7 +8570,7 @@ pub mod gremlin_resources { } } pub mod migrate_gremlin_database_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8648,7 +8648,7 @@ pub mod gremlin_resources { } } pub mod migrate_gremlin_database_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8726,7 +8726,7 @@ pub mod gremlin_resources { } } pub mod list_gremlin_graphs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8798,7 +8798,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8876,7 +8876,7 @@ pub mod gremlin_resources { } } pub mod create_update_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8949,7 +8949,7 @@ pub mod gremlin_resources { } } pub mod delete_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9020,7 +9020,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_graph_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9089,7 +9089,7 @@ pub mod gremlin_resources { } } pub mod update_gremlin_graph_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9164,7 +9164,7 @@ pub mod gremlin_resources { } } pub mod migrate_gremlin_graph_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9242,7 +9242,7 @@ pub mod gremlin_resources { } } pub mod migrate_gremlin_graph_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9271,7 +9271,7 @@ pub mod gremlin_resources { } } pub mod restorable_database_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9321,7 +9321,7 @@ pub mod restorable_database_accounts { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9387,7 +9387,7 @@ pub mod restorable_database_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9460,7 +9460,7 @@ pub mod restorable_database_accounts { } } pub mod get_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9530,7 +9530,7 @@ pub async fn location_list( } } pub mod location_list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9601,7 +9601,7 @@ pub async fn location_get( } } pub mod location_get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9624,7 +9624,7 @@ pub mod location_get { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9676,7 +9676,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_database_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9743,7 +9743,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9818,7 +9818,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -9891,7 +9891,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9920,7 +9920,7 @@ pub mod private_endpoint_connections { } } pub mod notebook_workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9974,7 +9974,7 @@ pub mod notebook_workspaces { } } pub mod list_by_database_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10046,7 +10046,7 @@ pub mod notebook_workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10123,7 +10123,7 @@ pub mod notebook_workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10191,7 +10191,7 @@ pub mod notebook_workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -10265,7 +10265,7 @@ pub mod notebook_workspaces { } } pub mod list_connection_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10332,7 +10332,7 @@ pub mod notebook_workspaces { } } pub mod regenerate_auth_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10406,7 +10406,7 @@ pub mod notebook_workspaces { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10435,7 +10435,7 @@ pub mod notebook_workspaces { } } pub mod restorable_sql_databases { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10484,7 +10484,7 @@ pub mod restorable_sql_databases { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10508,7 +10508,7 @@ pub mod restorable_sql_databases { } } pub mod restorable_sql_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10562,7 +10562,7 @@ pub mod restorable_sql_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10586,7 +10586,7 @@ pub mod restorable_sql_containers { } } pub mod restorable_sql_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10643,7 +10643,7 @@ pub mod restorable_sql_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10667,7 +10667,7 @@ pub mod restorable_sql_resources { } } pub mod restorable_mongodb_databases { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10716,7 +10716,7 @@ pub mod restorable_mongodb_databases { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10740,7 +10740,7 @@ pub mod restorable_mongodb_databases { } } pub mod restorable_mongodb_collections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10794,7 +10794,7 @@ pub mod restorable_mongodb_collections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10818,7 +10818,7 @@ pub mod restorable_mongodb_collections { } } pub mod restorable_mongodb_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10875,7 +10875,7 @@ pub mod restorable_mongodb_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10899,7 +10899,7 @@ pub mod restorable_mongodb_resources { } } pub mod cassandra_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10947,7 +10947,7 @@ pub mod cassandra_clusters { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11020,7 +11020,7 @@ pub mod cassandra_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11090,7 +11090,7 @@ pub mod cassandra_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11171,7 +11171,7 @@ pub mod cassandra_clusters { } } pub mod create_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ClusterResource), @@ -11254,7 +11254,7 @@ pub mod cassandra_clusters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(ClusterResource), @@ -11325,7 +11325,7 @@ pub mod cassandra_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -11400,7 +11400,7 @@ pub mod cassandra_clusters { } } pub mod request_repair { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11475,7 +11475,7 @@ pub mod cassandra_clusters { } } pub mod fetch_node_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -11553,7 +11553,7 @@ pub mod cassandra_clusters { } } pub mod list_backups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11628,7 +11628,7 @@ pub mod cassandra_clusters { } } pub mod get_backup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11652,7 +11652,7 @@ pub mod cassandra_clusters { } } pub mod cassandra_data_centers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11701,7 +11701,7 @@ pub mod cassandra_data_centers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11773,7 +11773,7 @@ pub mod cassandra_data_centers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11856,7 +11856,7 @@ pub mod cassandra_data_centers { } } pub mod create_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DataCenterResource), @@ -11941,7 +11941,7 @@ pub mod cassandra_data_centers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(DataCenterResource), @@ -12014,7 +12014,7 @@ pub mod cassandra_data_centers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -12043,7 +12043,7 @@ pub mod cassandra_data_centers { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12095,7 +12095,7 @@ pub mod private_link_resources { } } pub mod list_by_database_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12162,7 +12162,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/cosmos_db/src/package_2021_04/operations.rs b/services/mgmt/cosmos_db/src/package_2021_04/operations.rs index 28bf660227..49ee5a828e 100644 --- a/services/mgmt/cosmos_db/src/package_2021_04/operations.rs +++ b/services/mgmt/cosmos_db/src/package_2021_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod database_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -51,7 +51,7 @@ pub mod database_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -121,7 +121,7 @@ pub mod database_accounts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -188,7 +188,7 @@ pub mod database_accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -249,7 +249,7 @@ pub mod database_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -322,7 +322,7 @@ pub mod database_accounts { } } pub mod failover_priority_change { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -388,7 +388,7 @@ pub mod database_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -456,7 +456,7 @@ pub mod database_accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -525,7 +525,7 @@ pub mod database_accounts { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -596,7 +596,7 @@ pub mod database_accounts { } } pub mod list_connection_strings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -664,7 +664,7 @@ pub mod database_accounts { } } pub mod offline_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -740,7 +740,7 @@ pub mod database_accounts { } } pub mod online_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -816,7 +816,7 @@ pub mod database_accounts { } } pub mod get_read_only_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -885,7 +885,7 @@ pub mod database_accounts { } } pub mod list_read_only_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -951,7 +951,7 @@ pub mod database_accounts { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1016,7 +1016,7 @@ pub mod database_accounts { } } pub mod check_name_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1088,7 +1088,7 @@ pub mod database_accounts { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1160,7 +1160,7 @@ pub mod database_accounts { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1230,7 +1230,7 @@ pub mod database_accounts { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1251,7 +1251,7 @@ pub mod database_accounts { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DocumentDB/operations", operation_config.base_path(),); @@ -1287,7 +1287,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1308,7 +1308,7 @@ pub mod operations { } } pub mod database { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1362,7 +1362,7 @@ pub mod database { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1436,7 +1436,7 @@ pub mod database { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1508,7 +1508,7 @@ pub mod database { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1529,7 +1529,7 @@ pub mod database { } } pub mod collection { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1585,7 +1585,7 @@ pub mod collection { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1661,7 +1661,7 @@ pub mod collection { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1727,7 +1727,7 @@ pub mod collection { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1748,7 +1748,7 @@ pub mod collection { } } pub mod collection_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1797,7 +1797,7 @@ pub mod collection_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1818,7 +1818,7 @@ pub mod collection_region { } } pub mod database_account_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1872,7 +1872,7 @@ pub mod database_account_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1893,7 +1893,7 @@ pub mod database_account_region { } } pub mod percentile_source_target { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1941,7 +1941,7 @@ pub mod percentile_source_target { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1962,7 +1962,7 @@ pub mod percentile_source_target { } } pub mod percentile_target { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2016,7 +2016,7 @@ pub mod percentile_target { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2037,7 +2037,7 @@ pub mod percentile_target { } } pub mod percentile { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2089,7 +2089,7 @@ pub mod percentile { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2110,7 +2110,7 @@ pub mod percentile { } } pub mod collection_partition_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2159,7 +2159,7 @@ pub mod collection_partition_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2180,7 +2180,7 @@ pub mod collection_partition_region { } } pub mod collection_partition { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2228,7 +2228,7 @@ pub mod collection_partition { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2296,7 +2296,7 @@ pub mod collection_partition { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2317,7 +2317,7 @@ pub mod collection_partition { } } pub mod partition_key_range_id { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2366,7 +2366,7 @@ pub mod partition_key_range_id { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2387,7 +2387,7 @@ pub mod partition_key_range_id { } } pub mod partition_key_range_id_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2437,7 +2437,7 @@ pub mod partition_key_range_id_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2458,7 +2458,7 @@ pub mod partition_key_range_id_region { } } pub mod sql_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_sql_databases( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2508,7 +2508,7 @@ pub mod sql_resources { } } pub mod list_sql_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2578,7 +2578,7 @@ pub mod sql_resources { } } pub mod get_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2654,7 +2654,7 @@ pub mod sql_resources { } } pub mod create_update_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2725,7 +2725,7 @@ pub mod sql_resources { } } pub mod delete_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2795,7 +2795,7 @@ pub mod sql_resources { } } pub mod get_sql_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2863,7 +2863,7 @@ pub mod sql_resources { } } pub mod update_sql_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2937,7 +2937,7 @@ pub mod sql_resources { } } pub mod migrate_sql_database_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3014,7 +3014,7 @@ pub mod sql_resources { } } pub mod migrate_sql_database_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3092,7 +3092,7 @@ pub mod sql_resources { } } pub mod list_sql_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3164,7 +3164,7 @@ pub mod sql_resources { } } pub mod get_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3242,7 +3242,7 @@ pub mod sql_resources { } } pub mod create_update_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3315,7 +3315,7 @@ pub mod sql_resources { } } pub mod delete_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3386,7 +3386,7 @@ pub mod sql_resources { } } pub mod get_sql_container_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3455,7 +3455,7 @@ pub mod sql_resources { } } pub mod update_sql_container_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3530,7 +3530,7 @@ pub mod sql_resources { } } pub mod migrate_sql_container_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3608,7 +3608,7 @@ pub mod sql_resources { } } pub mod migrate_sql_container_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3684,7 +3684,7 @@ pub mod sql_resources { } } pub mod list_sql_stored_procedures { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3754,7 +3754,7 @@ pub mod sql_resources { } } pub mod get_sql_stored_procedure { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3825,7 +3825,7 @@ pub mod sql_resources { } } pub mod create_update_sql_stored_procedure { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3893,7 +3893,7 @@ pub mod sql_resources { } } pub mod delete_sql_stored_procedure { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3964,7 +3964,7 @@ pub mod sql_resources { } } pub mod list_sql_user_defined_functions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4031,7 +4031,7 @@ pub mod sql_resources { } } pub mod get_sql_user_defined_function { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4102,7 +4102,7 @@ pub mod sql_resources { } } pub mod create_update_sql_user_defined_function { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4170,7 +4170,7 @@ pub mod sql_resources { } } pub mod delete_sql_user_defined_function { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4239,7 +4239,7 @@ pub mod sql_resources { } } pub mod list_sql_triggers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4304,7 +4304,7 @@ pub mod sql_resources { } } pub mod get_sql_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4375,7 +4375,7 @@ pub mod sql_resources { } } pub mod create_update_sql_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4441,7 +4441,7 @@ pub mod sql_resources { } } pub mod delete_sql_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4520,7 +4520,7 @@ pub mod sql_resources { } } pub mod get_sql_role_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4601,7 +4601,7 @@ pub mod sql_resources { } } pub mod create_update_sql_role_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlRoleDefinitionGetResults), @@ -4680,7 +4680,7 @@ pub mod sql_resources { } } pub mod delete_sql_role_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4761,7 +4761,7 @@ pub mod sql_resources { } } pub mod list_sql_role_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4838,7 +4838,7 @@ pub mod sql_resources { } } pub mod get_sql_role_assignment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4919,7 +4919,7 @@ pub mod sql_resources { } } pub mod create_update_sql_role_assignment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlRoleAssignmentGetResults), @@ -4998,7 +4998,7 @@ pub mod sql_resources { } } pub mod delete_sql_role_assignment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5079,7 +5079,7 @@ pub mod sql_resources { } } pub mod list_sql_role_assignments { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5103,7 +5103,7 @@ pub mod sql_resources { } } pub mod mongo_db_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_mongo_db_databases( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5155,7 +5155,7 @@ pub mod mongo_db_resources { } } pub mod list_mongo_db_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5227,7 +5227,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5303,7 +5303,7 @@ pub mod mongo_db_resources { } } pub mod create_update_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5376,7 +5376,7 @@ pub mod mongo_db_resources { } } pub mod delete_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5446,7 +5446,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5517,7 +5517,7 @@ pub mod mongo_db_resources { } } pub mod update_mongo_db_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5594,7 +5594,7 @@ pub mod mongo_db_resources { } } pub mod migrate_mongo_db_database_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5672,7 +5672,7 @@ pub mod mongo_db_resources { } } pub mod migrate_mongo_db_database_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5752,7 +5752,7 @@ pub mod mongo_db_resources { } } pub mod list_mongo_db_collections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5826,7 +5826,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5904,7 +5904,7 @@ pub mod mongo_db_resources { } } pub mod create_update_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5979,7 +5979,7 @@ pub mod mongo_db_resources { } } pub mod delete_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6050,7 +6050,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_collection_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6120,7 +6120,7 @@ pub mod mongo_db_resources { } } pub mod update_mongo_db_collection_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6195,7 +6195,7 @@ pub mod mongo_db_resources { } } pub mod migrate_mongo_db_collection_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6278,7 +6278,7 @@ pub mod mongo_db_resources { } } pub mod migrate_mongo_db_collection_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6307,7 +6307,7 @@ pub mod mongo_db_resources { } } pub mod table_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_tables( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6357,7 +6357,7 @@ pub mod table_resources { } } pub mod list_tables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6427,7 +6427,7 @@ pub mod table_resources { } } pub mod get_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6500,7 +6500,7 @@ pub mod table_resources { } } pub mod create_update_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6571,7 +6571,7 @@ pub mod table_resources { } } pub mod delete_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6646,7 +6646,7 @@ pub mod table_resources { } } pub mod get_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6721,7 +6721,7 @@ pub mod table_resources { } } pub mod update_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6795,7 +6795,7 @@ pub mod table_resources { } } pub mod migrate_table_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6872,7 +6872,7 @@ pub mod table_resources { } } pub mod migrate_table_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6901,7 +6901,7 @@ pub mod table_resources { } } pub mod cassandra_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_cassandra_keyspaces( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6953,7 +6953,7 @@ pub mod cassandra_resources { } } pub mod list_cassandra_keyspaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7025,7 +7025,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7101,7 +7101,7 @@ pub mod cassandra_resources { } } pub mod create_update_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7174,7 +7174,7 @@ pub mod cassandra_resources { } } pub mod delete_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7244,7 +7244,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_keyspace_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7313,7 +7313,7 @@ pub mod cassandra_resources { } } pub mod update_cassandra_keyspace_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7387,7 +7387,7 @@ pub mod cassandra_resources { } } pub mod migrate_cassandra_keyspace_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7467,7 +7467,7 @@ pub mod cassandra_resources { } } pub mod migrate_cassandra_keyspace_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7547,7 +7547,7 @@ pub mod cassandra_resources { } } pub mod list_cassandra_tables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7619,7 +7619,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7697,7 +7697,7 @@ pub mod cassandra_resources { } } pub mod create_update_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7772,7 +7772,7 @@ pub mod cassandra_resources { } } pub mod delete_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7843,7 +7843,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7913,7 +7913,7 @@ pub mod cassandra_resources { } } pub mod update_cassandra_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7988,7 +7988,7 @@ pub mod cassandra_resources { } } pub mod migrate_cassandra_table_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8067,7 +8067,7 @@ pub mod cassandra_resources { } } pub mod migrate_cassandra_table_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8096,7 +8096,7 @@ pub mod cassandra_resources { } } pub mod gremlin_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_gremlin_databases( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8148,7 +8148,7 @@ pub mod gremlin_resources { } } pub mod list_gremlin_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8218,7 +8218,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8294,7 +8294,7 @@ pub mod gremlin_resources { } } pub mod create_update_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8367,7 +8367,7 @@ pub mod gremlin_resources { } } pub mod delete_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8437,7 +8437,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8506,7 +8506,7 @@ pub mod gremlin_resources { } } pub mod update_gremlin_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8580,7 +8580,7 @@ pub mod gremlin_resources { } } pub mod migrate_gremlin_database_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8658,7 +8658,7 @@ pub mod gremlin_resources { } } pub mod migrate_gremlin_database_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8736,7 +8736,7 @@ pub mod gremlin_resources { } } pub mod list_gremlin_graphs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8808,7 +8808,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8886,7 +8886,7 @@ pub mod gremlin_resources { } } pub mod create_update_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8959,7 +8959,7 @@ pub mod gremlin_resources { } } pub mod delete_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9030,7 +9030,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_graph_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9099,7 +9099,7 @@ pub mod gremlin_resources { } } pub mod update_gremlin_graph_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9174,7 +9174,7 @@ pub mod gremlin_resources { } } pub mod migrate_gremlin_graph_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9252,7 +9252,7 @@ pub mod gremlin_resources { } } pub mod migrate_gremlin_graph_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9281,7 +9281,7 @@ pub mod gremlin_resources { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9333,7 +9333,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_database_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9400,7 +9400,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9475,7 +9475,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -9548,7 +9548,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9577,7 +9577,7 @@ pub mod private_endpoint_connections { } } pub mod notebook_workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9631,7 +9631,7 @@ pub mod notebook_workspaces { } } pub mod list_by_database_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9703,7 +9703,7 @@ pub mod notebook_workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9780,7 +9780,7 @@ pub mod notebook_workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9848,7 +9848,7 @@ pub mod notebook_workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9922,7 +9922,7 @@ pub mod notebook_workspaces { } } pub mod list_connection_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9989,7 +9989,7 @@ pub mod notebook_workspaces { } } pub mod regenerate_auth_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10063,7 +10063,7 @@ pub mod notebook_workspaces { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10092,7 +10092,7 @@ pub mod notebook_workspaces { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10144,7 +10144,7 @@ pub mod private_link_resources { } } pub mod list_by_database_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10211,7 +10211,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/cosmos_db/src/package_2021_04_preview/operations.rs b/services/mgmt/cosmos_db/src/package_2021_04_preview/operations.rs index 319b7c486c..d4581e2bda 100644 --- a/services/mgmt/cosmos_db/src/package_2021_04_preview/operations.rs +++ b/services/mgmt/cosmos_db/src/package_2021_04_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod database_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -51,7 +51,7 @@ pub mod database_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -121,7 +121,7 @@ pub mod database_accounts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -188,7 +188,7 @@ pub mod database_accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -249,7 +249,7 @@ pub mod database_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -322,7 +322,7 @@ pub mod database_accounts { } } pub mod failover_priority_change { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -388,7 +388,7 @@ pub mod database_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -456,7 +456,7 @@ pub mod database_accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -525,7 +525,7 @@ pub mod database_accounts { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -596,7 +596,7 @@ pub mod database_accounts { } } pub mod list_connection_strings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -664,7 +664,7 @@ pub mod database_accounts { } } pub mod offline_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -740,7 +740,7 @@ pub mod database_accounts { } } pub mod online_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -816,7 +816,7 @@ pub mod database_accounts { } } pub mod get_read_only_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -885,7 +885,7 @@ pub mod database_accounts { } } pub mod list_read_only_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -951,7 +951,7 @@ pub mod database_accounts { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1016,7 +1016,7 @@ pub mod database_accounts { } } pub mod check_name_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1088,7 +1088,7 @@ pub mod database_accounts { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1160,7 +1160,7 @@ pub mod database_accounts { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1230,7 +1230,7 @@ pub mod database_accounts { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1251,7 +1251,7 @@ pub mod database_accounts { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DocumentDB/operations", operation_config.base_path(),); @@ -1287,7 +1287,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1308,7 +1308,7 @@ pub mod operations { } } pub mod database { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1362,7 +1362,7 @@ pub mod database { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1436,7 +1436,7 @@ pub mod database { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1508,7 +1508,7 @@ pub mod database { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1529,7 +1529,7 @@ pub mod database { } } pub mod collection { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1585,7 +1585,7 @@ pub mod collection { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1661,7 +1661,7 @@ pub mod collection { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1727,7 +1727,7 @@ pub mod collection { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1748,7 +1748,7 @@ pub mod collection { } } pub mod collection_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1797,7 +1797,7 @@ pub mod collection_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1818,7 +1818,7 @@ pub mod collection_region { } } pub mod database_account_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1872,7 +1872,7 @@ pub mod database_account_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1893,7 +1893,7 @@ pub mod database_account_region { } } pub mod percentile_source_target { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1941,7 +1941,7 @@ pub mod percentile_source_target { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1962,7 +1962,7 @@ pub mod percentile_source_target { } } pub mod percentile_target { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2016,7 +2016,7 @@ pub mod percentile_target { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2037,7 +2037,7 @@ pub mod percentile_target { } } pub mod percentile { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2089,7 +2089,7 @@ pub mod percentile { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2110,7 +2110,7 @@ pub mod percentile { } } pub mod collection_partition_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2159,7 +2159,7 @@ pub mod collection_partition_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2180,7 +2180,7 @@ pub mod collection_partition_region { } } pub mod collection_partition { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2228,7 +2228,7 @@ pub mod collection_partition { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2296,7 +2296,7 @@ pub mod collection_partition { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2317,7 +2317,7 @@ pub mod collection_partition { } } pub mod partition_key_range_id { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2366,7 +2366,7 @@ pub mod partition_key_range_id { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2387,7 +2387,7 @@ pub mod partition_key_range_id { } } pub mod partition_key_range_id_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2437,7 +2437,7 @@ pub mod partition_key_range_id_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2458,7 +2458,7 @@ pub mod partition_key_range_id_region { } } pub mod sql_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_sql_databases( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2508,7 +2508,7 @@ pub mod sql_resources { } } pub mod list_sql_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2578,7 +2578,7 @@ pub mod sql_resources { } } pub mod get_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2654,7 +2654,7 @@ pub mod sql_resources { } } pub mod create_update_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2725,7 +2725,7 @@ pub mod sql_resources { } } pub mod delete_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2795,7 +2795,7 @@ pub mod sql_resources { } } pub mod get_sql_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2863,7 +2863,7 @@ pub mod sql_resources { } } pub mod update_sql_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2937,7 +2937,7 @@ pub mod sql_resources { } } pub mod migrate_sql_database_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3014,7 +3014,7 @@ pub mod sql_resources { } } pub mod migrate_sql_database_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3092,7 +3092,7 @@ pub mod sql_resources { } } pub mod list_sql_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3164,7 +3164,7 @@ pub mod sql_resources { } } pub mod get_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3242,7 +3242,7 @@ pub mod sql_resources { } } pub mod create_update_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3315,7 +3315,7 @@ pub mod sql_resources { } } pub mod delete_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3386,7 +3386,7 @@ pub mod sql_resources { } } pub mod get_sql_container_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3455,7 +3455,7 @@ pub mod sql_resources { } } pub mod update_sql_container_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3530,7 +3530,7 @@ pub mod sql_resources { } } pub mod migrate_sql_container_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3608,7 +3608,7 @@ pub mod sql_resources { } } pub mod migrate_sql_container_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3682,7 +3682,7 @@ pub mod sql_resources { } } pub mod list_sql_stored_procedures { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3749,7 +3749,7 @@ pub mod sql_resources { } } pub mod get_sql_stored_procedure { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3820,7 +3820,7 @@ pub mod sql_resources { } } pub mod create_update_sql_stored_procedure { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3888,7 +3888,7 @@ pub mod sql_resources { } } pub mod delete_sql_stored_procedure { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3959,7 +3959,7 @@ pub mod sql_resources { } } pub mod list_sql_user_defined_functions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4026,7 +4026,7 @@ pub mod sql_resources { } } pub mod get_sql_user_defined_function { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4097,7 +4097,7 @@ pub mod sql_resources { } } pub mod create_update_sql_user_defined_function { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4165,7 +4165,7 @@ pub mod sql_resources { } } pub mod delete_sql_user_defined_function { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4234,7 +4234,7 @@ pub mod sql_resources { } } pub mod list_sql_triggers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4299,7 +4299,7 @@ pub mod sql_resources { } } pub mod get_sql_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4370,7 +4370,7 @@ pub mod sql_resources { } } pub mod create_update_sql_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4436,7 +4436,7 @@ pub mod sql_resources { } } pub mod delete_sql_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4510,7 +4510,7 @@ pub mod sql_resources { } } pub mod retrieve_continuous_backup_information { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BackupInformation), @@ -4589,7 +4589,7 @@ pub mod sql_resources { } } pub mod get_sql_role_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4670,7 +4670,7 @@ pub mod sql_resources { } } pub mod create_update_sql_role_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlRoleDefinitionGetResults), @@ -4749,7 +4749,7 @@ pub mod sql_resources { } } pub mod delete_sql_role_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4830,7 +4830,7 @@ pub mod sql_resources { } } pub mod list_sql_role_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4907,7 +4907,7 @@ pub mod sql_resources { } } pub mod get_sql_role_assignment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4988,7 +4988,7 @@ pub mod sql_resources { } } pub mod create_update_sql_role_assignment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlRoleAssignmentGetResults), @@ -5067,7 +5067,7 @@ pub mod sql_resources { } } pub mod delete_sql_role_assignment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5148,7 +5148,7 @@ pub mod sql_resources { } } pub mod list_sql_role_assignments { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5172,7 +5172,7 @@ pub mod sql_resources { } } pub mod mongo_db_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_mongo_db_databases( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5224,7 +5224,7 @@ pub mod mongo_db_resources { } } pub mod list_mongo_db_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5296,7 +5296,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5372,7 +5372,7 @@ pub mod mongo_db_resources { } } pub mod create_update_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5445,7 +5445,7 @@ pub mod mongo_db_resources { } } pub mod delete_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5515,7 +5515,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5584,7 +5584,7 @@ pub mod mongo_db_resources { } } pub mod update_mongo_db_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5658,7 +5658,7 @@ pub mod mongo_db_resources { } } pub mod migrate_mongo_db_database_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5736,7 +5736,7 @@ pub mod mongo_db_resources { } } pub mod migrate_mongo_db_database_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5816,7 +5816,7 @@ pub mod mongo_db_resources { } } pub mod list_mongo_db_collections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5890,7 +5890,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5968,7 +5968,7 @@ pub mod mongo_db_resources { } } pub mod create_update_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6043,7 +6043,7 @@ pub mod mongo_db_resources { } } pub mod delete_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6114,7 +6114,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_collection_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6184,7 +6184,7 @@ pub mod mongo_db_resources { } } pub mod update_mongo_db_collection_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6259,7 +6259,7 @@ pub mod mongo_db_resources { } } pub mod migrate_mongo_db_collection_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6342,7 +6342,7 @@ pub mod mongo_db_resources { } } pub mod migrate_mongo_db_collection_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6371,7 +6371,7 @@ pub mod mongo_db_resources { } } pub mod table_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_tables( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6421,7 +6421,7 @@ pub mod table_resources { } } pub mod list_tables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6491,7 +6491,7 @@ pub mod table_resources { } } pub mod get_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6564,7 +6564,7 @@ pub mod table_resources { } } pub mod create_update_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6635,7 +6635,7 @@ pub mod table_resources { } } pub mod delete_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6710,7 +6710,7 @@ pub mod table_resources { } } pub mod get_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6785,7 +6785,7 @@ pub mod table_resources { } } pub mod update_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6859,7 +6859,7 @@ pub mod table_resources { } } pub mod migrate_table_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6936,7 +6936,7 @@ pub mod table_resources { } } pub mod migrate_table_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6965,7 +6965,7 @@ pub mod table_resources { } } pub mod cassandra_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_cassandra_keyspaces( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7017,7 +7017,7 @@ pub mod cassandra_resources { } } pub mod list_cassandra_keyspaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7089,7 +7089,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7165,7 +7165,7 @@ pub mod cassandra_resources { } } pub mod create_update_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7238,7 +7238,7 @@ pub mod cassandra_resources { } } pub mod delete_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7308,7 +7308,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_keyspace_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7377,7 +7377,7 @@ pub mod cassandra_resources { } } pub mod update_cassandra_keyspace_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7451,7 +7451,7 @@ pub mod cassandra_resources { } } pub mod migrate_cassandra_keyspace_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7531,7 +7531,7 @@ pub mod cassandra_resources { } } pub mod migrate_cassandra_keyspace_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7611,7 +7611,7 @@ pub mod cassandra_resources { } } pub mod list_cassandra_tables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7683,7 +7683,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7761,7 +7761,7 @@ pub mod cassandra_resources { } } pub mod create_update_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7836,7 +7836,7 @@ pub mod cassandra_resources { } } pub mod delete_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7907,7 +7907,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7977,7 +7977,7 @@ pub mod cassandra_resources { } } pub mod update_cassandra_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8052,7 +8052,7 @@ pub mod cassandra_resources { } } pub mod migrate_cassandra_table_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8131,7 +8131,7 @@ pub mod cassandra_resources { } } pub mod migrate_cassandra_table_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8160,7 +8160,7 @@ pub mod cassandra_resources { } } pub mod gremlin_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_gremlin_databases( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8212,7 +8212,7 @@ pub mod gremlin_resources { } } pub mod list_gremlin_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8282,7 +8282,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8358,7 +8358,7 @@ pub mod gremlin_resources { } } pub mod create_update_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8431,7 +8431,7 @@ pub mod gremlin_resources { } } pub mod delete_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8501,7 +8501,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8570,7 +8570,7 @@ pub mod gremlin_resources { } } pub mod update_gremlin_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8644,7 +8644,7 @@ pub mod gremlin_resources { } } pub mod migrate_gremlin_database_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8722,7 +8722,7 @@ pub mod gremlin_resources { } } pub mod migrate_gremlin_database_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8800,7 +8800,7 @@ pub mod gremlin_resources { } } pub mod list_gremlin_graphs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8872,7 +8872,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8950,7 +8950,7 @@ pub mod gremlin_resources { } } pub mod create_update_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9023,7 +9023,7 @@ pub mod gremlin_resources { } } pub mod delete_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9094,7 +9094,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_graph_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9163,7 +9163,7 @@ pub mod gremlin_resources { } } pub mod update_gremlin_graph_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9238,7 +9238,7 @@ pub mod gremlin_resources { } } pub mod migrate_gremlin_graph_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9316,7 +9316,7 @@ pub mod gremlin_resources { } } pub mod migrate_gremlin_graph_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9345,7 +9345,7 @@ pub mod gremlin_resources { } } pub mod restorable_database_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9395,7 +9395,7 @@ pub mod restorable_database_accounts { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9461,7 +9461,7 @@ pub mod restorable_database_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9534,7 +9534,7 @@ pub mod restorable_database_accounts { } } pub mod get_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9604,7 +9604,7 @@ pub async fn location_list( } } pub mod location_list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9675,7 +9675,7 @@ pub async fn location_get( } } pub mod location_get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9698,7 +9698,7 @@ pub mod location_get { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9750,7 +9750,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_database_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9817,7 +9817,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9892,7 +9892,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -9965,7 +9965,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9994,7 +9994,7 @@ pub mod private_endpoint_connections { } } pub mod notebook_workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10048,7 +10048,7 @@ pub mod notebook_workspaces { } } pub mod list_by_database_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10120,7 +10120,7 @@ pub mod notebook_workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10197,7 +10197,7 @@ pub mod notebook_workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10265,7 +10265,7 @@ pub mod notebook_workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -10339,7 +10339,7 @@ pub mod notebook_workspaces { } } pub mod list_connection_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10406,7 +10406,7 @@ pub mod notebook_workspaces { } } pub mod regenerate_auth_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10480,7 +10480,7 @@ pub mod notebook_workspaces { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10509,7 +10509,7 @@ pub mod notebook_workspaces { } } pub mod restorable_sql_databases { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10558,7 +10558,7 @@ pub mod restorable_sql_databases { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10582,7 +10582,7 @@ pub mod restorable_sql_databases { } } pub mod restorable_sql_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10644,7 +10644,7 @@ pub mod restorable_sql_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10668,7 +10668,7 @@ pub mod restorable_sql_containers { } } pub mod restorable_sql_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10725,7 +10725,7 @@ pub mod restorable_sql_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10749,7 +10749,7 @@ pub mod restorable_sql_resources { } } pub mod restorable_mongodb_databases { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10798,7 +10798,7 @@ pub mod restorable_mongodb_databases { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10822,7 +10822,7 @@ pub mod restorable_mongodb_databases { } } pub mod restorable_mongodb_collections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10876,7 +10876,7 @@ pub mod restorable_mongodb_collections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10900,7 +10900,7 @@ pub mod restorable_mongodb_collections { } } pub mod restorable_mongodb_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10957,7 +10957,7 @@ pub mod restorable_mongodb_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10981,7 +10981,7 @@ pub mod restorable_mongodb_resources { } } pub mod cassandra_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11029,7 +11029,7 @@ pub mod cassandra_clusters { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11102,7 +11102,7 @@ pub mod cassandra_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11172,7 +11172,7 @@ pub mod cassandra_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11253,7 +11253,7 @@ pub mod cassandra_clusters { } } pub mod create_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ClusterResource), @@ -11336,7 +11336,7 @@ pub mod cassandra_clusters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(ClusterResource), @@ -11407,7 +11407,7 @@ pub mod cassandra_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -11482,7 +11482,7 @@ pub mod cassandra_clusters { } } pub mod request_repair { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11557,7 +11557,7 @@ pub mod cassandra_clusters { } } pub mod fetch_node_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -11635,7 +11635,7 @@ pub mod cassandra_clusters { } } pub mod list_backups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11710,7 +11710,7 @@ pub mod cassandra_clusters { } } pub mod get_backup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11734,7 +11734,7 @@ pub mod cassandra_clusters { } } pub mod cassandra_data_centers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11783,7 +11783,7 @@ pub mod cassandra_data_centers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11855,7 +11855,7 @@ pub mod cassandra_data_centers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11938,7 +11938,7 @@ pub mod cassandra_data_centers { } } pub mod create_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DataCenterResource), @@ -12023,7 +12023,7 @@ pub mod cassandra_data_centers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(DataCenterResource), @@ -12096,7 +12096,7 @@ pub mod cassandra_data_centers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -12125,7 +12125,7 @@ pub mod cassandra_data_centers { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12177,7 +12177,7 @@ pub mod private_link_resources { } } pub mod list_by_database_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12244,7 +12244,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12265,7 +12265,7 @@ pub mod private_link_resources { } } pub mod service { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12314,7 +12314,7 @@ pub mod service { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12386,7 +12386,7 @@ pub mod service { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12461,7 +12461,7 @@ pub mod service { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServiceResource), @@ -12535,7 +12535,7 @@ pub mod service { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, diff --git a/services/mgmt/cosmos_db/src/package_2021_05/operations.rs b/services/mgmt/cosmos_db/src/package_2021_05/operations.rs index 28bf660227..49ee5a828e 100644 --- a/services/mgmt/cosmos_db/src/package_2021_05/operations.rs +++ b/services/mgmt/cosmos_db/src/package_2021_05/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod database_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -51,7 +51,7 @@ pub mod database_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -121,7 +121,7 @@ pub mod database_accounts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -188,7 +188,7 @@ pub mod database_accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -249,7 +249,7 @@ pub mod database_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -322,7 +322,7 @@ pub mod database_accounts { } } pub mod failover_priority_change { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -388,7 +388,7 @@ pub mod database_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -456,7 +456,7 @@ pub mod database_accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -525,7 +525,7 @@ pub mod database_accounts { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -596,7 +596,7 @@ pub mod database_accounts { } } pub mod list_connection_strings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -664,7 +664,7 @@ pub mod database_accounts { } } pub mod offline_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -740,7 +740,7 @@ pub mod database_accounts { } } pub mod online_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -816,7 +816,7 @@ pub mod database_accounts { } } pub mod get_read_only_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -885,7 +885,7 @@ pub mod database_accounts { } } pub mod list_read_only_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -951,7 +951,7 @@ pub mod database_accounts { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1016,7 +1016,7 @@ pub mod database_accounts { } } pub mod check_name_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1088,7 +1088,7 @@ pub mod database_accounts { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1160,7 +1160,7 @@ pub mod database_accounts { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1230,7 +1230,7 @@ pub mod database_accounts { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1251,7 +1251,7 @@ pub mod database_accounts { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DocumentDB/operations", operation_config.base_path(),); @@ -1287,7 +1287,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1308,7 +1308,7 @@ pub mod operations { } } pub mod database { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1362,7 +1362,7 @@ pub mod database { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1436,7 +1436,7 @@ pub mod database { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1508,7 +1508,7 @@ pub mod database { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1529,7 +1529,7 @@ pub mod database { } } pub mod collection { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1585,7 +1585,7 @@ pub mod collection { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1661,7 +1661,7 @@ pub mod collection { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1727,7 +1727,7 @@ pub mod collection { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1748,7 +1748,7 @@ pub mod collection { } } pub mod collection_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1797,7 +1797,7 @@ pub mod collection_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1818,7 +1818,7 @@ pub mod collection_region { } } pub mod database_account_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1872,7 +1872,7 @@ pub mod database_account_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1893,7 +1893,7 @@ pub mod database_account_region { } } pub mod percentile_source_target { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1941,7 +1941,7 @@ pub mod percentile_source_target { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1962,7 +1962,7 @@ pub mod percentile_source_target { } } pub mod percentile_target { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2016,7 +2016,7 @@ pub mod percentile_target { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2037,7 +2037,7 @@ pub mod percentile_target { } } pub mod percentile { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2089,7 +2089,7 @@ pub mod percentile { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2110,7 +2110,7 @@ pub mod percentile { } } pub mod collection_partition_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2159,7 +2159,7 @@ pub mod collection_partition_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2180,7 +2180,7 @@ pub mod collection_partition_region { } } pub mod collection_partition { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2228,7 +2228,7 @@ pub mod collection_partition { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2296,7 +2296,7 @@ pub mod collection_partition { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2317,7 +2317,7 @@ pub mod collection_partition { } } pub mod partition_key_range_id { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2366,7 +2366,7 @@ pub mod partition_key_range_id { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2387,7 +2387,7 @@ pub mod partition_key_range_id { } } pub mod partition_key_range_id_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2437,7 +2437,7 @@ pub mod partition_key_range_id_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2458,7 +2458,7 @@ pub mod partition_key_range_id_region { } } pub mod sql_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_sql_databases( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2508,7 +2508,7 @@ pub mod sql_resources { } } pub mod list_sql_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2578,7 +2578,7 @@ pub mod sql_resources { } } pub mod get_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2654,7 +2654,7 @@ pub mod sql_resources { } } pub mod create_update_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2725,7 +2725,7 @@ pub mod sql_resources { } } pub mod delete_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2795,7 +2795,7 @@ pub mod sql_resources { } } pub mod get_sql_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2863,7 +2863,7 @@ pub mod sql_resources { } } pub mod update_sql_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2937,7 +2937,7 @@ pub mod sql_resources { } } pub mod migrate_sql_database_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3014,7 +3014,7 @@ pub mod sql_resources { } } pub mod migrate_sql_database_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3092,7 +3092,7 @@ pub mod sql_resources { } } pub mod list_sql_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3164,7 +3164,7 @@ pub mod sql_resources { } } pub mod get_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3242,7 +3242,7 @@ pub mod sql_resources { } } pub mod create_update_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3315,7 +3315,7 @@ pub mod sql_resources { } } pub mod delete_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3386,7 +3386,7 @@ pub mod sql_resources { } } pub mod get_sql_container_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3455,7 +3455,7 @@ pub mod sql_resources { } } pub mod update_sql_container_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3530,7 +3530,7 @@ pub mod sql_resources { } } pub mod migrate_sql_container_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3608,7 +3608,7 @@ pub mod sql_resources { } } pub mod migrate_sql_container_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3684,7 +3684,7 @@ pub mod sql_resources { } } pub mod list_sql_stored_procedures { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3754,7 +3754,7 @@ pub mod sql_resources { } } pub mod get_sql_stored_procedure { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3825,7 +3825,7 @@ pub mod sql_resources { } } pub mod create_update_sql_stored_procedure { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3893,7 +3893,7 @@ pub mod sql_resources { } } pub mod delete_sql_stored_procedure { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3964,7 +3964,7 @@ pub mod sql_resources { } } pub mod list_sql_user_defined_functions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4031,7 +4031,7 @@ pub mod sql_resources { } } pub mod get_sql_user_defined_function { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4102,7 +4102,7 @@ pub mod sql_resources { } } pub mod create_update_sql_user_defined_function { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4170,7 +4170,7 @@ pub mod sql_resources { } } pub mod delete_sql_user_defined_function { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4239,7 +4239,7 @@ pub mod sql_resources { } } pub mod list_sql_triggers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4304,7 +4304,7 @@ pub mod sql_resources { } } pub mod get_sql_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4375,7 +4375,7 @@ pub mod sql_resources { } } pub mod create_update_sql_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4441,7 +4441,7 @@ pub mod sql_resources { } } pub mod delete_sql_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4520,7 +4520,7 @@ pub mod sql_resources { } } pub mod get_sql_role_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4601,7 +4601,7 @@ pub mod sql_resources { } } pub mod create_update_sql_role_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlRoleDefinitionGetResults), @@ -4680,7 +4680,7 @@ pub mod sql_resources { } } pub mod delete_sql_role_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4761,7 +4761,7 @@ pub mod sql_resources { } } pub mod list_sql_role_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4838,7 +4838,7 @@ pub mod sql_resources { } } pub mod get_sql_role_assignment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4919,7 +4919,7 @@ pub mod sql_resources { } } pub mod create_update_sql_role_assignment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlRoleAssignmentGetResults), @@ -4998,7 +4998,7 @@ pub mod sql_resources { } } pub mod delete_sql_role_assignment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5079,7 +5079,7 @@ pub mod sql_resources { } } pub mod list_sql_role_assignments { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5103,7 +5103,7 @@ pub mod sql_resources { } } pub mod mongo_db_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_mongo_db_databases( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5155,7 +5155,7 @@ pub mod mongo_db_resources { } } pub mod list_mongo_db_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5227,7 +5227,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5303,7 +5303,7 @@ pub mod mongo_db_resources { } } pub mod create_update_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5376,7 +5376,7 @@ pub mod mongo_db_resources { } } pub mod delete_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5446,7 +5446,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5517,7 +5517,7 @@ pub mod mongo_db_resources { } } pub mod update_mongo_db_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5594,7 +5594,7 @@ pub mod mongo_db_resources { } } pub mod migrate_mongo_db_database_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5672,7 +5672,7 @@ pub mod mongo_db_resources { } } pub mod migrate_mongo_db_database_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5752,7 +5752,7 @@ pub mod mongo_db_resources { } } pub mod list_mongo_db_collections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5826,7 +5826,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5904,7 +5904,7 @@ pub mod mongo_db_resources { } } pub mod create_update_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5979,7 +5979,7 @@ pub mod mongo_db_resources { } } pub mod delete_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6050,7 +6050,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_collection_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6120,7 +6120,7 @@ pub mod mongo_db_resources { } } pub mod update_mongo_db_collection_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6195,7 +6195,7 @@ pub mod mongo_db_resources { } } pub mod migrate_mongo_db_collection_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6278,7 +6278,7 @@ pub mod mongo_db_resources { } } pub mod migrate_mongo_db_collection_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6307,7 +6307,7 @@ pub mod mongo_db_resources { } } pub mod table_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_tables( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6357,7 +6357,7 @@ pub mod table_resources { } } pub mod list_tables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6427,7 +6427,7 @@ pub mod table_resources { } } pub mod get_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6500,7 +6500,7 @@ pub mod table_resources { } } pub mod create_update_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6571,7 +6571,7 @@ pub mod table_resources { } } pub mod delete_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6646,7 +6646,7 @@ pub mod table_resources { } } pub mod get_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6721,7 +6721,7 @@ pub mod table_resources { } } pub mod update_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6795,7 +6795,7 @@ pub mod table_resources { } } pub mod migrate_table_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6872,7 +6872,7 @@ pub mod table_resources { } } pub mod migrate_table_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6901,7 +6901,7 @@ pub mod table_resources { } } pub mod cassandra_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_cassandra_keyspaces( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6953,7 +6953,7 @@ pub mod cassandra_resources { } } pub mod list_cassandra_keyspaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7025,7 +7025,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7101,7 +7101,7 @@ pub mod cassandra_resources { } } pub mod create_update_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7174,7 +7174,7 @@ pub mod cassandra_resources { } } pub mod delete_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7244,7 +7244,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_keyspace_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7313,7 +7313,7 @@ pub mod cassandra_resources { } } pub mod update_cassandra_keyspace_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7387,7 +7387,7 @@ pub mod cassandra_resources { } } pub mod migrate_cassandra_keyspace_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7467,7 +7467,7 @@ pub mod cassandra_resources { } } pub mod migrate_cassandra_keyspace_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7547,7 +7547,7 @@ pub mod cassandra_resources { } } pub mod list_cassandra_tables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7619,7 +7619,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7697,7 +7697,7 @@ pub mod cassandra_resources { } } pub mod create_update_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7772,7 +7772,7 @@ pub mod cassandra_resources { } } pub mod delete_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7843,7 +7843,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7913,7 +7913,7 @@ pub mod cassandra_resources { } } pub mod update_cassandra_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7988,7 +7988,7 @@ pub mod cassandra_resources { } } pub mod migrate_cassandra_table_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8067,7 +8067,7 @@ pub mod cassandra_resources { } } pub mod migrate_cassandra_table_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8096,7 +8096,7 @@ pub mod cassandra_resources { } } pub mod gremlin_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_gremlin_databases( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8148,7 +8148,7 @@ pub mod gremlin_resources { } } pub mod list_gremlin_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8218,7 +8218,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8294,7 +8294,7 @@ pub mod gremlin_resources { } } pub mod create_update_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8367,7 +8367,7 @@ pub mod gremlin_resources { } } pub mod delete_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8437,7 +8437,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8506,7 +8506,7 @@ pub mod gremlin_resources { } } pub mod update_gremlin_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8580,7 +8580,7 @@ pub mod gremlin_resources { } } pub mod migrate_gremlin_database_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8658,7 +8658,7 @@ pub mod gremlin_resources { } } pub mod migrate_gremlin_database_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8736,7 +8736,7 @@ pub mod gremlin_resources { } } pub mod list_gremlin_graphs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8808,7 +8808,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8886,7 +8886,7 @@ pub mod gremlin_resources { } } pub mod create_update_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8959,7 +8959,7 @@ pub mod gremlin_resources { } } pub mod delete_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9030,7 +9030,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_graph_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9099,7 +9099,7 @@ pub mod gremlin_resources { } } pub mod update_gremlin_graph_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9174,7 +9174,7 @@ pub mod gremlin_resources { } } pub mod migrate_gremlin_graph_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9252,7 +9252,7 @@ pub mod gremlin_resources { } } pub mod migrate_gremlin_graph_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9281,7 +9281,7 @@ pub mod gremlin_resources { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9333,7 +9333,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_database_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9400,7 +9400,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9475,7 +9475,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -9548,7 +9548,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9577,7 +9577,7 @@ pub mod private_endpoint_connections { } } pub mod notebook_workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9631,7 +9631,7 @@ pub mod notebook_workspaces { } } pub mod list_by_database_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9703,7 +9703,7 @@ pub mod notebook_workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9780,7 +9780,7 @@ pub mod notebook_workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9848,7 +9848,7 @@ pub mod notebook_workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9922,7 +9922,7 @@ pub mod notebook_workspaces { } } pub mod list_connection_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9989,7 +9989,7 @@ pub mod notebook_workspaces { } } pub mod regenerate_auth_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10063,7 +10063,7 @@ pub mod notebook_workspaces { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10092,7 +10092,7 @@ pub mod notebook_workspaces { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10144,7 +10144,7 @@ pub mod private_link_resources { } } pub mod list_by_database_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10211,7 +10211,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/cosmos_db/src/package_2021_07_preview/operations.rs b/services/mgmt/cosmos_db/src/package_2021_07_preview/operations.rs index 72d9213383..ab6641f479 100644 --- a/services/mgmt/cosmos_db/src/package_2021_07_preview/operations.rs +++ b/services/mgmt/cosmos_db/src/package_2021_07_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod database_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -51,7 +51,7 @@ pub mod database_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -121,7 +121,7 @@ pub mod database_accounts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -188,7 +188,7 @@ pub mod database_accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -249,7 +249,7 @@ pub mod database_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -322,7 +322,7 @@ pub mod database_accounts { } } pub mod failover_priority_change { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -388,7 +388,7 @@ pub mod database_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -456,7 +456,7 @@ pub mod database_accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -525,7 +525,7 @@ pub mod database_accounts { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -596,7 +596,7 @@ pub mod database_accounts { } } pub mod list_connection_strings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -664,7 +664,7 @@ pub mod database_accounts { } } pub mod offline_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -740,7 +740,7 @@ pub mod database_accounts { } } pub mod online_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -816,7 +816,7 @@ pub mod database_accounts { } } pub mod get_read_only_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -885,7 +885,7 @@ pub mod database_accounts { } } pub mod list_read_only_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -951,7 +951,7 @@ pub mod database_accounts { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1016,7 +1016,7 @@ pub mod database_accounts { } } pub mod check_name_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1088,7 +1088,7 @@ pub mod database_accounts { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1160,7 +1160,7 @@ pub mod database_accounts { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1230,7 +1230,7 @@ pub mod database_accounts { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1251,7 +1251,7 @@ pub mod database_accounts { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DocumentDB/operations", operation_config.base_path(),); @@ -1287,7 +1287,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1308,7 +1308,7 @@ pub mod operations { } } pub mod database { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1362,7 +1362,7 @@ pub mod database { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1436,7 +1436,7 @@ pub mod database { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1508,7 +1508,7 @@ pub mod database { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1529,7 +1529,7 @@ pub mod database { } } pub mod collection { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1585,7 +1585,7 @@ pub mod collection { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1661,7 +1661,7 @@ pub mod collection { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1727,7 +1727,7 @@ pub mod collection { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1748,7 +1748,7 @@ pub mod collection { } } pub mod collection_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1797,7 +1797,7 @@ pub mod collection_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1818,7 +1818,7 @@ pub mod collection_region { } } pub mod database_account_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1872,7 +1872,7 @@ pub mod database_account_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1893,7 +1893,7 @@ pub mod database_account_region { } } pub mod percentile_source_target { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1941,7 +1941,7 @@ pub mod percentile_source_target { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1962,7 +1962,7 @@ pub mod percentile_source_target { } } pub mod percentile_target { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2016,7 +2016,7 @@ pub mod percentile_target { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2037,7 +2037,7 @@ pub mod percentile_target { } } pub mod percentile { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2089,7 +2089,7 @@ pub mod percentile { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2110,7 +2110,7 @@ pub mod percentile { } } pub mod collection_partition_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2159,7 +2159,7 @@ pub mod collection_partition_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2180,7 +2180,7 @@ pub mod collection_partition_region { } } pub mod collection_partition { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2228,7 +2228,7 @@ pub mod collection_partition { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2296,7 +2296,7 @@ pub mod collection_partition { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2317,7 +2317,7 @@ pub mod collection_partition { } } pub mod partition_key_range_id { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2366,7 +2366,7 @@ pub mod partition_key_range_id { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2387,7 +2387,7 @@ pub mod partition_key_range_id { } } pub mod partition_key_range_id_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2437,7 +2437,7 @@ pub mod partition_key_range_id_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2458,7 +2458,7 @@ pub mod partition_key_range_id_region { } } pub mod graph_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_graphs( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2508,7 +2508,7 @@ pub mod graph_resources { } } pub mod list_graphs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2578,7 +2578,7 @@ pub mod graph_resources { } } pub mod get_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2651,7 +2651,7 @@ pub mod graph_resources { } } pub mod create_update_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2725,7 +2725,7 @@ pub mod graph_resources { } } pub mod delete_graph_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2752,7 +2752,7 @@ pub mod graph_resources { } } pub mod sql_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_sql_databases( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2802,7 +2802,7 @@ pub mod sql_resources { } } pub mod list_sql_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2872,7 +2872,7 @@ pub mod sql_resources { } } pub mod get_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2948,7 +2948,7 @@ pub mod sql_resources { } } pub mod create_update_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3019,7 +3019,7 @@ pub mod sql_resources { } } pub mod delete_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3089,7 +3089,7 @@ pub mod sql_resources { } } pub mod get_sql_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3157,7 +3157,7 @@ pub mod sql_resources { } } pub mod update_sql_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3231,7 +3231,7 @@ pub mod sql_resources { } } pub mod migrate_sql_database_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3308,7 +3308,7 @@ pub mod sql_resources { } } pub mod migrate_sql_database_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3386,7 +3386,7 @@ pub mod sql_resources { } } pub mod list_sql_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3458,7 +3458,7 @@ pub mod sql_resources { } } pub mod get_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3536,7 +3536,7 @@ pub mod sql_resources { } } pub mod create_update_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3609,7 +3609,7 @@ pub mod sql_resources { } } pub mod delete_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3680,7 +3680,7 @@ pub mod sql_resources { } } pub mod get_sql_container_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3749,7 +3749,7 @@ pub mod sql_resources { } } pub mod update_sql_container_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3824,7 +3824,7 @@ pub mod sql_resources { } } pub mod migrate_sql_container_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3902,7 +3902,7 @@ pub mod sql_resources { } } pub mod migrate_sql_container_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3978,7 +3978,7 @@ pub mod sql_resources { } } pub mod list_sql_stored_procedures { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4048,7 +4048,7 @@ pub mod sql_resources { } } pub mod get_sql_stored_procedure { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4119,7 +4119,7 @@ pub mod sql_resources { } } pub mod create_update_sql_stored_procedure { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4187,7 +4187,7 @@ pub mod sql_resources { } } pub mod delete_sql_stored_procedure { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4258,7 +4258,7 @@ pub mod sql_resources { } } pub mod list_sql_user_defined_functions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4325,7 +4325,7 @@ pub mod sql_resources { } } pub mod get_sql_user_defined_function { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4396,7 +4396,7 @@ pub mod sql_resources { } } pub mod create_update_sql_user_defined_function { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4464,7 +4464,7 @@ pub mod sql_resources { } } pub mod delete_sql_user_defined_function { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4533,7 +4533,7 @@ pub mod sql_resources { } } pub mod list_sql_triggers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4598,7 +4598,7 @@ pub mod sql_resources { } } pub mod get_sql_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4669,7 +4669,7 @@ pub mod sql_resources { } } pub mod create_update_sql_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4735,7 +4735,7 @@ pub mod sql_resources { } } pub mod delete_sql_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4814,7 +4814,7 @@ pub mod sql_resources { } } pub mod get_sql_role_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4895,7 +4895,7 @@ pub mod sql_resources { } } pub mod create_update_sql_role_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlRoleDefinitionGetResults), @@ -4974,7 +4974,7 @@ pub mod sql_resources { } } pub mod delete_sql_role_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5055,7 +5055,7 @@ pub mod sql_resources { } } pub mod list_sql_role_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5132,7 +5132,7 @@ pub mod sql_resources { } } pub mod get_sql_role_assignment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5213,7 +5213,7 @@ pub mod sql_resources { } } pub mod create_update_sql_role_assignment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlRoleAssignmentGetResults), @@ -5292,7 +5292,7 @@ pub mod sql_resources { } } pub mod delete_sql_role_assignment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5373,7 +5373,7 @@ pub mod sql_resources { } } pub mod list_sql_role_assignments { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5447,7 +5447,7 @@ pub mod sql_resources { } } pub mod retrieve_continuous_backup_information { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BackupInformation), @@ -5476,7 +5476,7 @@ pub mod sql_resources { } } pub mod mongo_db_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_mongo_db_databases( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5528,7 +5528,7 @@ pub mod mongo_db_resources { } } pub mod list_mongo_db_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5600,7 +5600,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5676,7 +5676,7 @@ pub mod mongo_db_resources { } } pub mod create_update_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5749,7 +5749,7 @@ pub mod mongo_db_resources { } } pub mod delete_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5819,7 +5819,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5890,7 +5890,7 @@ pub mod mongo_db_resources { } } pub mod update_mongo_db_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5967,7 +5967,7 @@ pub mod mongo_db_resources { } } pub mod migrate_mongo_db_database_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6045,7 +6045,7 @@ pub mod mongo_db_resources { } } pub mod migrate_mongo_db_database_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6125,7 +6125,7 @@ pub mod mongo_db_resources { } } pub mod list_mongo_db_collections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6199,7 +6199,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6277,7 +6277,7 @@ pub mod mongo_db_resources { } } pub mod create_update_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6352,7 +6352,7 @@ pub mod mongo_db_resources { } } pub mod delete_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6423,7 +6423,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_collection_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6493,7 +6493,7 @@ pub mod mongo_db_resources { } } pub mod update_mongo_db_collection_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6568,7 +6568,7 @@ pub mod mongo_db_resources { } } pub mod migrate_mongo_db_collection_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6651,7 +6651,7 @@ pub mod mongo_db_resources { } } pub mod migrate_mongo_db_collection_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6680,7 +6680,7 @@ pub mod mongo_db_resources { } } pub mod table_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_tables( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6730,7 +6730,7 @@ pub mod table_resources { } } pub mod list_tables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6800,7 +6800,7 @@ pub mod table_resources { } } pub mod get_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6873,7 +6873,7 @@ pub mod table_resources { } } pub mod create_update_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6944,7 +6944,7 @@ pub mod table_resources { } } pub mod delete_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7019,7 +7019,7 @@ pub mod table_resources { } } pub mod get_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7094,7 +7094,7 @@ pub mod table_resources { } } pub mod update_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7168,7 +7168,7 @@ pub mod table_resources { } } pub mod migrate_table_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7245,7 +7245,7 @@ pub mod table_resources { } } pub mod migrate_table_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7274,7 +7274,7 @@ pub mod table_resources { } } pub mod cassandra_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_cassandra_keyspaces( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7326,7 +7326,7 @@ pub mod cassandra_resources { } } pub mod list_cassandra_keyspaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7398,7 +7398,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7474,7 +7474,7 @@ pub mod cassandra_resources { } } pub mod create_update_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7547,7 +7547,7 @@ pub mod cassandra_resources { } } pub mod delete_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7617,7 +7617,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_keyspace_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7686,7 +7686,7 @@ pub mod cassandra_resources { } } pub mod update_cassandra_keyspace_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7760,7 +7760,7 @@ pub mod cassandra_resources { } } pub mod migrate_cassandra_keyspace_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7840,7 +7840,7 @@ pub mod cassandra_resources { } } pub mod migrate_cassandra_keyspace_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7920,7 +7920,7 @@ pub mod cassandra_resources { } } pub mod list_cassandra_tables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7992,7 +7992,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8070,7 +8070,7 @@ pub mod cassandra_resources { } } pub mod create_update_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8145,7 +8145,7 @@ pub mod cassandra_resources { } } pub mod delete_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8216,7 +8216,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8286,7 +8286,7 @@ pub mod cassandra_resources { } } pub mod update_cassandra_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8361,7 +8361,7 @@ pub mod cassandra_resources { } } pub mod migrate_cassandra_table_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8440,7 +8440,7 @@ pub mod cassandra_resources { } } pub mod migrate_cassandra_table_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8518,7 +8518,7 @@ pub mod cassandra_resources { } } pub mod list_cassandra_views { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8590,7 +8590,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8668,7 +8668,7 @@ pub mod cassandra_resources { } } pub mod create_update_cassandra_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8744,7 +8744,7 @@ pub mod cassandra_resources { } } pub mod delete_cassandra_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8816,7 +8816,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_view_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8886,7 +8886,7 @@ pub mod cassandra_resources { } } pub mod update_cassandra_view_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8961,7 +8961,7 @@ pub mod cassandra_resources { } } pub mod migrate_cassandra_view_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9040,7 +9040,7 @@ pub mod cassandra_resources { } } pub mod migrate_cassandra_view_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9069,7 +9069,7 @@ pub mod cassandra_resources { } } pub mod gremlin_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_gremlin_databases( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9121,7 +9121,7 @@ pub mod gremlin_resources { } } pub mod list_gremlin_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9191,7 +9191,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9267,7 +9267,7 @@ pub mod gremlin_resources { } } pub mod create_update_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9340,7 +9340,7 @@ pub mod gremlin_resources { } } pub mod delete_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9410,7 +9410,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9479,7 +9479,7 @@ pub mod gremlin_resources { } } pub mod update_gremlin_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9553,7 +9553,7 @@ pub mod gremlin_resources { } } pub mod migrate_gremlin_database_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9631,7 +9631,7 @@ pub mod gremlin_resources { } } pub mod migrate_gremlin_database_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9709,7 +9709,7 @@ pub mod gremlin_resources { } } pub mod list_gremlin_graphs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9781,7 +9781,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9859,7 +9859,7 @@ pub mod gremlin_resources { } } pub mod create_update_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9932,7 +9932,7 @@ pub mod gremlin_resources { } } pub mod delete_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -10003,7 +10003,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_graph_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10072,7 +10072,7 @@ pub mod gremlin_resources { } } pub mod update_gremlin_graph_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -10147,7 +10147,7 @@ pub mod gremlin_resources { } } pub mod migrate_gremlin_graph_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -10225,7 +10225,7 @@ pub mod gremlin_resources { } } pub mod migrate_gremlin_graph_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -10300,7 +10300,7 @@ pub async fn location_list( } } pub mod location_list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10371,7 +10371,7 @@ pub async fn location_get( } } pub mod location_get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10394,7 +10394,7 @@ pub mod location_get { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10446,7 +10446,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_database_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10513,7 +10513,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10588,7 +10588,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -10661,7 +10661,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -10690,7 +10690,7 @@ pub mod private_endpoint_connections { } } pub mod notebook_workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10744,7 +10744,7 @@ pub mod notebook_workspaces { } } pub mod list_by_database_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10816,7 +10816,7 @@ pub mod notebook_workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10893,7 +10893,7 @@ pub mod notebook_workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10961,7 +10961,7 @@ pub mod notebook_workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -11035,7 +11035,7 @@ pub mod notebook_workspaces { } } pub mod list_connection_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11102,7 +11102,7 @@ pub mod notebook_workspaces { } } pub mod regenerate_auth_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11176,7 +11176,7 @@ pub mod notebook_workspaces { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11205,7 +11205,7 @@ pub mod notebook_workspaces { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11257,7 +11257,7 @@ pub mod private_link_resources { } } pub mod list_by_database_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11324,7 +11324,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11345,7 +11345,7 @@ pub mod private_link_resources { } } pub mod restorable_database_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11395,7 +11395,7 @@ pub mod restorable_database_accounts { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11461,7 +11461,7 @@ pub mod restorable_database_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11534,7 +11534,7 @@ pub mod restorable_database_accounts { } } pub mod get_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11558,7 +11558,7 @@ pub mod restorable_database_accounts { } } pub mod restorable_sql_databases { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11607,7 +11607,7 @@ pub mod restorable_sql_databases { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11631,7 +11631,7 @@ pub mod restorable_sql_databases { } } pub mod restorable_sql_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11693,7 +11693,7 @@ pub mod restorable_sql_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11717,7 +11717,7 @@ pub mod restorable_sql_containers { } } pub mod restorable_sql_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11774,7 +11774,7 @@ pub mod restorable_sql_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11798,7 +11798,7 @@ pub mod restorable_sql_resources { } } pub mod restorable_mongodb_databases { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11847,7 +11847,7 @@ pub mod restorable_mongodb_databases { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11871,7 +11871,7 @@ pub mod restorable_mongodb_databases { } } pub mod restorable_mongodb_collections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11925,7 +11925,7 @@ pub mod restorable_mongodb_collections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11949,7 +11949,7 @@ pub mod restorable_mongodb_collections { } } pub mod restorable_mongodb_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12006,7 +12006,7 @@ pub mod restorable_mongodb_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12030,7 +12030,7 @@ pub mod restorable_mongodb_resources { } } pub mod cassandra_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12078,7 +12078,7 @@ pub mod cassandra_clusters { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12151,7 +12151,7 @@ pub mod cassandra_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12221,7 +12221,7 @@ pub mod cassandra_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12302,7 +12302,7 @@ pub mod cassandra_clusters { } } pub mod create_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ClusterResource), @@ -12385,7 +12385,7 @@ pub mod cassandra_clusters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(ClusterResource), @@ -12456,7 +12456,7 @@ pub mod cassandra_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -12531,7 +12531,7 @@ pub mod cassandra_clusters { } } pub mod request_repair { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12606,7 +12606,7 @@ pub mod cassandra_clusters { } } pub mod fetch_node_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -12684,7 +12684,7 @@ pub mod cassandra_clusters { } } pub mod list_backups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12759,7 +12759,7 @@ pub mod cassandra_clusters { } } pub mod get_backup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12783,7 +12783,7 @@ pub mod cassandra_clusters { } } pub mod cassandra_data_centers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12832,7 +12832,7 @@ pub mod cassandra_data_centers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12904,7 +12904,7 @@ pub mod cassandra_data_centers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12987,7 +12987,7 @@ pub mod cassandra_data_centers { } } pub mod create_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DataCenterResource), @@ -13072,7 +13072,7 @@ pub mod cassandra_data_centers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(DataCenterResource), @@ -13145,7 +13145,7 @@ pub mod cassandra_data_centers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -13174,7 +13174,7 @@ pub mod cassandra_data_centers { } } pub mod service { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -13223,7 +13223,7 @@ pub mod service { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13295,7 +13295,7 @@ pub mod service { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13370,7 +13370,7 @@ pub mod service { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServiceResource), @@ -13444,7 +13444,7 @@ pub mod service { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, diff --git a/services/mgmt/cosmos_db/src/package_preview_2021_04/operations.rs b/services/mgmt/cosmos_db/src/package_preview_2021_04/operations.rs index 620c14234c..fe6c35d984 100644 --- a/services/mgmt/cosmos_db/src/package_preview_2021_04/operations.rs +++ b/services/mgmt/cosmos_db/src/package_preview_2021_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod database_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -51,7 +51,7 @@ pub mod database_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -121,7 +121,7 @@ pub mod database_accounts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -188,7 +188,7 @@ pub mod database_accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -249,7 +249,7 @@ pub mod database_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -322,7 +322,7 @@ pub mod database_accounts { } } pub mod failover_priority_change { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -388,7 +388,7 @@ pub mod database_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -456,7 +456,7 @@ pub mod database_accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -525,7 +525,7 @@ pub mod database_accounts { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -596,7 +596,7 @@ pub mod database_accounts { } } pub mod list_connection_strings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -664,7 +664,7 @@ pub mod database_accounts { } } pub mod offline_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -740,7 +740,7 @@ pub mod database_accounts { } } pub mod online_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -816,7 +816,7 @@ pub mod database_accounts { } } pub mod get_read_only_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -885,7 +885,7 @@ pub mod database_accounts { } } pub mod list_read_only_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -951,7 +951,7 @@ pub mod database_accounts { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1016,7 +1016,7 @@ pub mod database_accounts { } } pub mod check_name_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1088,7 +1088,7 @@ pub mod database_accounts { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1160,7 +1160,7 @@ pub mod database_accounts { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1230,7 +1230,7 @@ pub mod database_accounts { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1251,7 +1251,7 @@ pub mod database_accounts { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DocumentDB/operations", operation_config.base_path(),); @@ -1287,7 +1287,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1308,7 +1308,7 @@ pub mod operations { } } pub mod database { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1362,7 +1362,7 @@ pub mod database { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1436,7 +1436,7 @@ pub mod database { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1508,7 +1508,7 @@ pub mod database { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1529,7 +1529,7 @@ pub mod database { } } pub mod collection { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1585,7 +1585,7 @@ pub mod collection { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1661,7 +1661,7 @@ pub mod collection { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1727,7 +1727,7 @@ pub mod collection { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1748,7 +1748,7 @@ pub mod collection { } } pub mod collection_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1797,7 +1797,7 @@ pub mod collection_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1818,7 +1818,7 @@ pub mod collection_region { } } pub mod database_account_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1872,7 +1872,7 @@ pub mod database_account_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1893,7 +1893,7 @@ pub mod database_account_region { } } pub mod percentile_source_target { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1941,7 +1941,7 @@ pub mod percentile_source_target { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1962,7 +1962,7 @@ pub mod percentile_source_target { } } pub mod percentile_target { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2016,7 +2016,7 @@ pub mod percentile_target { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2037,7 +2037,7 @@ pub mod percentile_target { } } pub mod percentile { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2089,7 +2089,7 @@ pub mod percentile { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2110,7 +2110,7 @@ pub mod percentile { } } pub mod collection_partition_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2159,7 +2159,7 @@ pub mod collection_partition_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2180,7 +2180,7 @@ pub mod collection_partition_region { } } pub mod collection_partition { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2228,7 +2228,7 @@ pub mod collection_partition { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2296,7 +2296,7 @@ pub mod collection_partition { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2317,7 +2317,7 @@ pub mod collection_partition { } } pub mod partition_key_range_id { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2366,7 +2366,7 @@ pub mod partition_key_range_id { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2387,7 +2387,7 @@ pub mod partition_key_range_id { } } pub mod partition_key_range_id_region { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2437,7 +2437,7 @@ pub mod partition_key_range_id_region { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2458,7 +2458,7 @@ pub mod partition_key_range_id_region { } } pub mod sql_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_sql_databases( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2508,7 +2508,7 @@ pub mod sql_resources { } } pub mod list_sql_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2578,7 +2578,7 @@ pub mod sql_resources { } } pub mod get_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2654,7 +2654,7 @@ pub mod sql_resources { } } pub mod create_update_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2725,7 +2725,7 @@ pub mod sql_resources { } } pub mod delete_sql_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2795,7 +2795,7 @@ pub mod sql_resources { } } pub mod get_sql_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2863,7 +2863,7 @@ pub mod sql_resources { } } pub mod update_sql_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2937,7 +2937,7 @@ pub mod sql_resources { } } pub mod migrate_sql_database_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3014,7 +3014,7 @@ pub mod sql_resources { } } pub mod migrate_sql_database_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3092,7 +3092,7 @@ pub mod sql_resources { } } pub mod list_sql_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3164,7 +3164,7 @@ pub mod sql_resources { } } pub mod get_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3242,7 +3242,7 @@ pub mod sql_resources { } } pub mod create_update_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3315,7 +3315,7 @@ pub mod sql_resources { } } pub mod delete_sql_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3386,7 +3386,7 @@ pub mod sql_resources { } } pub mod get_sql_container_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3455,7 +3455,7 @@ pub mod sql_resources { } } pub mod update_sql_container_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3530,7 +3530,7 @@ pub mod sql_resources { } } pub mod migrate_sql_container_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3608,7 +3608,7 @@ pub mod sql_resources { } } pub mod migrate_sql_container_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3682,7 +3682,7 @@ pub mod sql_resources { } } pub mod list_sql_stored_procedures { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3749,7 +3749,7 @@ pub mod sql_resources { } } pub mod get_sql_stored_procedure { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3820,7 +3820,7 @@ pub mod sql_resources { } } pub mod create_update_sql_stored_procedure { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3888,7 +3888,7 @@ pub mod sql_resources { } } pub mod delete_sql_stored_procedure { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3959,7 +3959,7 @@ pub mod sql_resources { } } pub mod list_sql_user_defined_functions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4026,7 +4026,7 @@ pub mod sql_resources { } } pub mod get_sql_user_defined_function { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4097,7 +4097,7 @@ pub mod sql_resources { } } pub mod create_update_sql_user_defined_function { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4165,7 +4165,7 @@ pub mod sql_resources { } } pub mod delete_sql_user_defined_function { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4234,7 +4234,7 @@ pub mod sql_resources { } } pub mod list_sql_triggers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4299,7 +4299,7 @@ pub mod sql_resources { } } pub mod get_sql_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4370,7 +4370,7 @@ pub mod sql_resources { } } pub mod create_update_sql_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4436,7 +4436,7 @@ pub mod sql_resources { } } pub mod delete_sql_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4510,7 +4510,7 @@ pub mod sql_resources { } } pub mod retrieve_continuous_backup_information { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BackupInformation), @@ -4589,7 +4589,7 @@ pub mod sql_resources { } } pub mod get_sql_role_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4670,7 +4670,7 @@ pub mod sql_resources { } } pub mod create_update_sql_role_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlRoleDefinitionGetResults), @@ -4749,7 +4749,7 @@ pub mod sql_resources { } } pub mod delete_sql_role_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4830,7 +4830,7 @@ pub mod sql_resources { } } pub mod list_sql_role_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4907,7 +4907,7 @@ pub mod sql_resources { } } pub mod get_sql_role_assignment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4988,7 +4988,7 @@ pub mod sql_resources { } } pub mod create_update_sql_role_assignment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlRoleAssignmentGetResults), @@ -5067,7 +5067,7 @@ pub mod sql_resources { } } pub mod delete_sql_role_assignment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5148,7 +5148,7 @@ pub mod sql_resources { } } pub mod list_sql_role_assignments { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5172,7 +5172,7 @@ pub mod sql_resources { } } pub mod mongo_db_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_mongo_db_databases( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5224,7 +5224,7 @@ pub mod mongo_db_resources { } } pub mod list_mongo_db_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5296,7 +5296,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5372,7 +5372,7 @@ pub mod mongo_db_resources { } } pub mod create_update_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5445,7 +5445,7 @@ pub mod mongo_db_resources { } } pub mod delete_mongo_db_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5515,7 +5515,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5584,7 +5584,7 @@ pub mod mongo_db_resources { } } pub mod update_mongo_db_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5658,7 +5658,7 @@ pub mod mongo_db_resources { } } pub mod migrate_mongo_db_database_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5736,7 +5736,7 @@ pub mod mongo_db_resources { } } pub mod migrate_mongo_db_database_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5816,7 +5816,7 @@ pub mod mongo_db_resources { } } pub mod list_mongo_db_collections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5890,7 +5890,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5968,7 +5968,7 @@ pub mod mongo_db_resources { } } pub mod create_update_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6043,7 +6043,7 @@ pub mod mongo_db_resources { } } pub mod delete_mongo_db_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6114,7 +6114,7 @@ pub mod mongo_db_resources { } } pub mod get_mongo_db_collection_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6184,7 +6184,7 @@ pub mod mongo_db_resources { } } pub mod update_mongo_db_collection_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6259,7 +6259,7 @@ pub mod mongo_db_resources { } } pub mod migrate_mongo_db_collection_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6342,7 +6342,7 @@ pub mod mongo_db_resources { } } pub mod migrate_mongo_db_collection_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6371,7 +6371,7 @@ pub mod mongo_db_resources { } } pub mod table_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_tables( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6421,7 +6421,7 @@ pub mod table_resources { } } pub mod list_tables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6491,7 +6491,7 @@ pub mod table_resources { } } pub mod get_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6564,7 +6564,7 @@ pub mod table_resources { } } pub mod create_update_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6635,7 +6635,7 @@ pub mod table_resources { } } pub mod delete_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6710,7 +6710,7 @@ pub mod table_resources { } } pub mod get_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6785,7 +6785,7 @@ pub mod table_resources { } } pub mod update_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6859,7 +6859,7 @@ pub mod table_resources { } } pub mod migrate_table_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6936,7 +6936,7 @@ pub mod table_resources { } } pub mod migrate_table_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6965,7 +6965,7 @@ pub mod table_resources { } } pub mod cassandra_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_cassandra_keyspaces( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7017,7 +7017,7 @@ pub mod cassandra_resources { } } pub mod list_cassandra_keyspaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7089,7 +7089,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7165,7 +7165,7 @@ pub mod cassandra_resources { } } pub mod create_update_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7238,7 +7238,7 @@ pub mod cassandra_resources { } } pub mod delete_cassandra_keyspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7308,7 +7308,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_keyspace_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7377,7 +7377,7 @@ pub mod cassandra_resources { } } pub mod update_cassandra_keyspace_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7451,7 +7451,7 @@ pub mod cassandra_resources { } } pub mod migrate_cassandra_keyspace_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7531,7 +7531,7 @@ pub mod cassandra_resources { } } pub mod migrate_cassandra_keyspace_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7611,7 +7611,7 @@ pub mod cassandra_resources { } } pub mod list_cassandra_tables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7683,7 +7683,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7761,7 +7761,7 @@ pub mod cassandra_resources { } } pub mod create_update_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7836,7 +7836,7 @@ pub mod cassandra_resources { } } pub mod delete_cassandra_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7907,7 +7907,7 @@ pub mod cassandra_resources { } } pub mod get_cassandra_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7977,7 +7977,7 @@ pub mod cassandra_resources { } } pub mod update_cassandra_table_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8052,7 +8052,7 @@ pub mod cassandra_resources { } } pub mod migrate_cassandra_table_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8131,7 +8131,7 @@ pub mod cassandra_resources { } } pub mod migrate_cassandra_table_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8160,7 +8160,7 @@ pub mod cassandra_resources { } } pub mod gremlin_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_gremlin_databases( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8212,7 +8212,7 @@ pub mod gremlin_resources { } } pub mod list_gremlin_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8282,7 +8282,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8358,7 +8358,7 @@ pub mod gremlin_resources { } } pub mod create_update_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8431,7 +8431,7 @@ pub mod gremlin_resources { } } pub mod delete_gremlin_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8501,7 +8501,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8570,7 +8570,7 @@ pub mod gremlin_resources { } } pub mod update_gremlin_database_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8644,7 +8644,7 @@ pub mod gremlin_resources { } } pub mod migrate_gremlin_database_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8722,7 +8722,7 @@ pub mod gremlin_resources { } } pub mod migrate_gremlin_database_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8800,7 +8800,7 @@ pub mod gremlin_resources { } } pub mod list_gremlin_graphs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8872,7 +8872,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8950,7 +8950,7 @@ pub mod gremlin_resources { } } pub mod create_update_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9023,7 +9023,7 @@ pub mod gremlin_resources { } } pub mod delete_gremlin_graph { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9094,7 +9094,7 @@ pub mod gremlin_resources { } } pub mod get_gremlin_graph_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9163,7 +9163,7 @@ pub mod gremlin_resources { } } pub mod update_gremlin_graph_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9238,7 +9238,7 @@ pub mod gremlin_resources { } } pub mod migrate_gremlin_graph_to_autoscale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9316,7 +9316,7 @@ pub mod gremlin_resources { } } pub mod migrate_gremlin_graph_to_manual_throughput { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9345,7 +9345,7 @@ pub mod gremlin_resources { } } pub mod restorable_database_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9395,7 +9395,7 @@ pub mod restorable_database_accounts { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9461,7 +9461,7 @@ pub mod restorable_database_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9534,7 +9534,7 @@ pub mod restorable_database_accounts { } } pub mod get_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9604,7 +9604,7 @@ pub async fn location_list( } } pub mod location_list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9675,7 +9675,7 @@ pub async fn location_get( } } pub mod location_get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9698,7 +9698,7 @@ pub mod location_get { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9750,7 +9750,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_database_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9817,7 +9817,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9892,7 +9892,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -9965,7 +9965,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9994,7 +9994,7 @@ pub mod private_endpoint_connections { } } pub mod cassandra_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10042,7 +10042,7 @@ pub mod cassandra_clusters { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10115,7 +10115,7 @@ pub mod cassandra_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10185,7 +10185,7 @@ pub mod cassandra_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10266,7 +10266,7 @@ pub mod cassandra_clusters { } } pub mod create_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ClusterResource), @@ -10349,7 +10349,7 @@ pub mod cassandra_clusters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(ClusterResource), @@ -10420,7 +10420,7 @@ pub mod cassandra_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -10495,7 +10495,7 @@ pub mod cassandra_clusters { } } pub mod request_repair { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10570,7 +10570,7 @@ pub mod cassandra_clusters { } } pub mod fetch_node_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -10648,7 +10648,7 @@ pub mod cassandra_clusters { } } pub mod list_backups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10723,7 +10723,7 @@ pub mod cassandra_clusters { } } pub mod get_backup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10747,7 +10747,7 @@ pub mod cassandra_clusters { } } pub mod cassandra_data_centers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10796,7 +10796,7 @@ pub mod cassandra_data_centers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10868,7 +10868,7 @@ pub mod cassandra_data_centers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10951,7 +10951,7 @@ pub mod cassandra_data_centers { } } pub mod create_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DataCenterResource), @@ -11036,7 +11036,7 @@ pub mod cassandra_data_centers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(DataCenterResource), @@ -11109,7 +11109,7 @@ pub mod cassandra_data_centers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -11138,7 +11138,7 @@ pub mod cassandra_data_centers { } } pub mod notebook_workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11192,7 +11192,7 @@ pub mod notebook_workspaces { } } pub mod list_by_database_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11264,7 +11264,7 @@ pub mod notebook_workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11341,7 +11341,7 @@ pub mod notebook_workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11409,7 +11409,7 @@ pub mod notebook_workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -11483,7 +11483,7 @@ pub mod notebook_workspaces { } } pub mod list_connection_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11550,7 +11550,7 @@ pub mod notebook_workspaces { } } pub mod regenerate_auth_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11624,7 +11624,7 @@ pub mod notebook_workspaces { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11653,7 +11653,7 @@ pub mod notebook_workspaces { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11705,7 +11705,7 @@ pub mod private_link_resources { } } pub mod list_by_database_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11772,7 +11772,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11793,7 +11793,7 @@ pub mod private_link_resources { } } pub mod restorable_sql_databases { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11842,7 +11842,7 @@ pub mod restorable_sql_databases { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11866,7 +11866,7 @@ pub mod restorable_sql_databases { } } pub mod restorable_sql_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11928,7 +11928,7 @@ pub mod restorable_sql_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11952,7 +11952,7 @@ pub mod restorable_sql_containers { } } pub mod restorable_sql_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12009,7 +12009,7 @@ pub mod restorable_sql_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12033,7 +12033,7 @@ pub mod restorable_sql_resources { } } pub mod restorable_mongodb_databases { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12082,7 +12082,7 @@ pub mod restorable_mongodb_databases { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12106,7 +12106,7 @@ pub mod restorable_mongodb_databases { } } pub mod restorable_mongodb_collections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12160,7 +12160,7 @@ pub mod restorable_mongodb_collections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12184,7 +12184,7 @@ pub mod restorable_mongodb_collections { } } pub mod restorable_mongodb_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12241,7 +12241,7 @@ pub mod restorable_mongodb_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/cost_management/Cargo.toml b/services/mgmt/cost_management/Cargo.toml index f7254f28fb..17ee158e1c 100644 --- a/services/mgmt/cost_management/Cargo.toml +++ b/services/mgmt/cost_management/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-10"] +no-default-version = [] "package-2021-10" = [] "package-2021-01" = [] "package-preview-2020-12" = [] diff --git a/services/mgmt/cost_management/src/lib.rs b/services/mgmt/cost_management/src/lib.rs index 698445b979..f9a7bfb875 100644 --- a/services/mgmt/cost_management/src/lib.rs +++ b/services/mgmt/cost_management/src/lib.rs @@ -1,53 +1,61 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-10")] -mod package_2021_10; -#[cfg(feature = "package-2021-10")] +pub mod package_2021_10; +#[cfg(all(feature = "package-2021-10", not(feature = "no-default-version")))] pub use package_2021_10::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-01")] -mod package_2021_01; -#[cfg(feature = "package-2021-01")] +pub mod package_2021_01; +#[cfg(all(feature = "package-2021-01", not(feature = "no-default-version")))] pub use package_2021_01::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2020-12")] -mod package_preview_2020_12; -#[cfg(feature = "package-preview-2020-12")] +pub mod package_preview_2020_12; +#[cfg(all(feature = "package-preview-2020-12", not(feature = "no-default-version")))] pub use package_preview_2020_12::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2020-03")] -mod package_preview_2020_03; -#[cfg(feature = "package-preview-2020-03")] +pub mod package_preview_2020_03; +#[cfg(all(feature = "package-preview-2020-03", not(feature = "no-default-version")))] pub use package_preview_2020_03::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-06")] -mod package_2020_06; -#[cfg(feature = "package-2020-06")] +pub mod package_2020_06; +#[cfg(all(feature = "package-2020-06", not(feature = "no-default-version")))] pub use package_2020_06::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-11")] -mod package_2019_11; -#[cfg(feature = "package-2019-11")] +pub mod package_2019_11; +#[cfg(all(feature = "package-2019-11", not(feature = "no-default-version")))] pub use package_2019_11::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-10")] -mod package_2019_10; -#[cfg(feature = "package-2019-10")] +pub mod package_2019_10; +#[cfg(all(feature = "package-2019-10", not(feature = "no-default-version")))] pub use package_2019_10::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-09")] -mod package_2019_09; -#[cfg(feature = "package-2019-09")] +pub mod package_2019_09; +#[cfg(all(feature = "package-2019-09", not(feature = "no-default-version")))] pub use package_2019_09::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2019-04")] -mod package_preview_2019_04; -#[cfg(feature = "package-preview-2019-04")] +pub mod package_preview_2019_04; +#[cfg(all(feature = "package-preview-2019-04", not(feature = "no-default-version")))] pub use package_preview_2019_04::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-01")] -mod package_2019_01; -#[cfg(feature = "package-2019-01")] +pub mod package_2019_01; +#[cfg(all(feature = "package-2019-01", not(feature = "no-default-version")))] pub use package_2019_01::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2019-03")] -mod package_preview_2019_03; -#[cfg(feature = "package-preview-2019-03")] +pub mod package_preview_2019_03; +#[cfg(all(feature = "package-preview-2019-03", not(feature = "no-default-version")))] pub use package_preview_2019_03::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-05")] -mod package_2018_05; +pub mod package_2018_05; use azure_core::setters; -#[cfg(feature = "package-2018-05")] +#[cfg(all(feature = "package-2018-05", not(feature = "no-default-version")))] pub use package_2018_05::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -71,7 +79,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/cost_management/src/package_2018_05/models.rs b/services/mgmt/cost_management/src/package_2018_05/models.rs index a8fdfa572e..c142bb750e 100644 --- a/services/mgmt/cost_management/src/package_2018_05/models.rs +++ b/services/mgmt/cost_management/src/package_2018_05/models.rs @@ -174,7 +174,7 @@ pub struct ReportConfigFilter { #[serde(default, skip_serializing_if = "Vec::is_empty")] pub or: Vec, #[serde(default, skip_serializing_if = "Option::is_none")] - pub not: Option, + pub not: Box>, #[serde(default, skip_serializing_if = "Option::is_none")] pub dimension: Option, #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/services/mgmt/cost_management/src/package_2018_05/operations.rs b/services/mgmt/cost_management/src/package_2018_05/operations.rs index 057be51774..6906b926b7 100644 --- a/services/mgmt/cost_management/src/package_2018_05/operations.rs +++ b/services/mgmt/cost_management/src/package_2018_05/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod report_config { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -49,7 +49,7 @@ pub mod report_config { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -122,7 +122,7 @@ pub mod report_config { } } pub mod list_by_resource_group_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -190,7 +190,7 @@ pub mod report_config { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -269,7 +269,7 @@ pub mod report_config { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReportConfig), @@ -337,7 +337,7 @@ pub mod report_config { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -412,7 +412,7 @@ pub mod report_config { } } pub mod get_by_resource_group_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -495,7 +495,7 @@ pub mod report_config { } } pub mod create_or_update_by_resource_group_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReportConfig), @@ -570,7 +570,7 @@ pub mod report_config { } } pub mod delete_by_resource_group_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -594,7 +594,7 @@ pub mod report_config { } } pub mod billing_account_dimensions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, billing_account_id: &str, @@ -655,7 +655,7 @@ pub mod billing_account_dimensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -679,7 +679,7 @@ pub mod billing_account_dimensions { } } pub mod subscription_dimensions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -740,7 +740,7 @@ pub mod subscription_dimensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -764,7 +764,7 @@ pub mod subscription_dimensions { } } pub mod resource_group_dimensions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -827,7 +827,7 @@ pub mod resource_group_dimensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -899,7 +899,7 @@ pub async fn query_subscription( } } pub mod query_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -972,7 +972,7 @@ pub async fn query_resource_group( } } pub mod query_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1045,7 +1045,7 @@ pub async fn query_billing_account( } } pub mod query_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1068,7 +1068,7 @@ pub mod query_billing_account { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.CostManagement/operations", operation_config.base_path(),); @@ -1106,7 +1106,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/cost_management/src/package_2019_01/models.rs b/services/mgmt/cost_management/src/package_2019_01/models.rs index 8b7e6b5973..268ad22fb4 100644 --- a/services/mgmt/cost_management/src/package_2019_01/models.rs +++ b/services/mgmt/cost_management/src/package_2019_01/models.rs @@ -214,7 +214,7 @@ pub struct QueryFilter { #[serde(default, skip_serializing_if = "Vec::is_empty")] pub or: Vec, #[serde(default, skip_serializing_if = "Option::is_none")] - pub not: Option, + pub not: Box>, #[serde(default, skip_serializing_if = "Option::is_none")] pub dimension: Option, #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/services/mgmt/cost_management/src/package_2019_01/operations.rs b/services/mgmt/cost_management/src/package_2019_01/operations.rs index 5f59d9d11d..8fb9ca0c2f 100644 --- a/services/mgmt/cost_management/src/package_2019_01/operations.rs +++ b/services/mgmt/cost_management/src/package_2019_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod dimensions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, scope: &str, @@ -68,7 +68,7 @@ pub mod dimensions { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -92,7 +92,7 @@ pub mod dimensions { } } pub mod query { - use crate::models::*; + use super::{models, models::*}; pub async fn usage_by_scope( operation_config: &crate::OperationConfig, scope: &str, @@ -142,7 +142,7 @@ pub mod query { } } pub mod usage_by_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -166,7 +166,7 @@ pub mod query { } } pub mod exports { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, scope: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -208,7 +208,7 @@ pub mod exports { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -272,7 +272,7 @@ pub mod exports { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -351,7 +351,7 @@ pub mod exports { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Export), @@ -419,7 +419,7 @@ pub mod exports { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -486,7 +486,7 @@ pub mod exports { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -559,7 +559,7 @@ pub mod exports { } } pub mod get_execution_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -583,7 +583,7 @@ pub mod exports { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.CostManagement/operations", operation_config.base_path(),); @@ -621,7 +621,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/cost_management/src/package_2019_09/models.rs b/services/mgmt/cost_management/src/package_2019_09/models.rs index dd4c76e62f..446756ade2 100644 --- a/services/mgmt/cost_management/src/package_2019_09/models.rs +++ b/services/mgmt/cost_management/src/package_2019_09/models.rs @@ -212,7 +212,7 @@ pub struct QueryFilter { #[serde(default, skip_serializing_if = "Vec::is_empty")] pub or: Vec, #[serde(default, skip_serializing_if = "Option::is_none")] - pub not: Option, + pub not: Box>, #[serde(default, skip_serializing_if = "Option::is_none")] pub dimension: Option, #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/services/mgmt/cost_management/src/package_2019_09/operations.rs b/services/mgmt/cost_management/src/package_2019_09/operations.rs index 5f59d9d11d..8fb9ca0c2f 100644 --- a/services/mgmt/cost_management/src/package_2019_09/operations.rs +++ b/services/mgmt/cost_management/src/package_2019_09/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod dimensions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, scope: &str, @@ -68,7 +68,7 @@ pub mod dimensions { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -92,7 +92,7 @@ pub mod dimensions { } } pub mod query { - use crate::models::*; + use super::{models, models::*}; pub async fn usage_by_scope( operation_config: &crate::OperationConfig, scope: &str, @@ -142,7 +142,7 @@ pub mod query { } } pub mod usage_by_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -166,7 +166,7 @@ pub mod query { } } pub mod exports { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, scope: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -208,7 +208,7 @@ pub mod exports { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -272,7 +272,7 @@ pub mod exports { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -351,7 +351,7 @@ pub mod exports { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Export), @@ -419,7 +419,7 @@ pub mod exports { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -486,7 +486,7 @@ pub mod exports { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -559,7 +559,7 @@ pub mod exports { } } pub mod get_execution_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -583,7 +583,7 @@ pub mod exports { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.CostManagement/operations", operation_config.base_path(),); @@ -621,7 +621,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/cost_management/src/package_2019_10/models.rs b/services/mgmt/cost_management/src/package_2019_10/models.rs index 35e49a6349..4e341abf1a 100644 --- a/services/mgmt/cost_management/src/package_2019_10/models.rs +++ b/services/mgmt/cost_management/src/package_2019_10/models.rs @@ -207,7 +207,7 @@ pub struct QueryFilter { #[serde(default, skip_serializing_if = "Vec::is_empty")] pub or: Vec, #[serde(default, skip_serializing_if = "Option::is_none")] - pub not: Option, + pub not: Box>, #[serde(default, skip_serializing_if = "Option::is_none")] pub dimension: Option, #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/services/mgmt/cost_management/src/package_2019_10/operations.rs b/services/mgmt/cost_management/src/package_2019_10/operations.rs index 987210b4af..f77f474592 100644 --- a/services/mgmt/cost_management/src/package_2019_10/operations.rs +++ b/services/mgmt/cost_management/src/package_2019_10/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod dimensions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, scope: &str, @@ -65,7 +65,7 @@ pub mod dimensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -89,7 +89,7 @@ pub mod dimensions { } } pub mod query { - use crate::models::*; + use super::{models, models::*}; pub async fn usage( operation_config: &crate::OperationConfig, scope: &str, @@ -136,7 +136,7 @@ pub mod query { } } pub mod usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -160,7 +160,7 @@ pub mod query { } } pub mod exports { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, scope: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -202,7 +202,7 @@ pub mod exports { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -266,7 +266,7 @@ pub mod exports { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -345,7 +345,7 @@ pub mod exports { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Export), @@ -413,7 +413,7 @@ pub mod exports { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -480,7 +480,7 @@ pub mod exports { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -553,7 +553,7 @@ pub mod exports { } } pub mod get_execution_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -577,7 +577,7 @@ pub mod exports { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.CostManagement/operations", operation_config.base_path(),); @@ -615,7 +615,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/cost_management/src/package_2019_11/operations.rs b/services/mgmt/cost_management/src/package_2019_11/operations.rs index 121565781b..0950f0130b 100644 --- a/services/mgmt/cost_management/src/package_2019_11/operations.rs +++ b/services/mgmt/cost_management/src/package_2019_11/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.CostManagement/settings", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -105,7 +105,7 @@ pub mod settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -176,7 +176,7 @@ pub mod settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -238,7 +238,7 @@ pub mod settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -267,7 +267,7 @@ pub mod settings { } } pub mod views { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.CostManagement/views", operation_config.base_path(),); @@ -306,7 +306,7 @@ pub mod views { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ViewListResult), @@ -381,7 +381,7 @@ pub mod views { } } pub mod list_by_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ViewListResult), @@ -449,7 +449,7 @@ pub mod views { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -526,7 +526,7 @@ pub mod views { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(View), @@ -593,7 +593,7 @@ pub mod views { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -669,7 +669,7 @@ pub mod views { } } pub mod get_by_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -750,7 +750,7 @@ pub mod views { } } pub mod create_or_update_by_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(View), @@ -822,7 +822,7 @@ pub mod views { } } pub mod delete_by_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -851,7 +851,7 @@ pub mod views { } } pub mod alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, scope: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -893,7 +893,7 @@ pub mod alerts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -957,7 +957,7 @@ pub mod alerts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1030,7 +1030,7 @@ pub mod alerts { } } pub mod dismiss { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1101,7 +1101,7 @@ pub mod alerts { } } pub mod list_external { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1125,7 +1125,7 @@ pub mod alerts { } } pub mod forecast { - use crate::models::*; + use super::{models, models::*}; pub async fn usage( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -1177,7 +1177,7 @@ pub mod forecast { } } pub mod usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(QueryResult), @@ -1261,7 +1261,7 @@ pub mod forecast { } } pub mod external_cloud_provider_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1285,7 +1285,7 @@ pub mod forecast { } } pub mod dimensions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, scope: &str, @@ -1347,7 +1347,7 @@ pub mod dimensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DimensionsListResult), @@ -1441,7 +1441,7 @@ pub mod dimensions { } } pub mod by_external_cloud_provider_type { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1465,7 +1465,7 @@ pub mod dimensions { } } pub mod query { - use crate::models::*; + use super::{models, models::*}; pub async fn usage( operation_config: &crate::OperationConfig, scope: &str, @@ -1513,7 +1513,7 @@ pub mod query { } } pub mod usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(QueryResult), @@ -1593,7 +1593,7 @@ pub mod query { } } pub mod usage_by_external_cloud_provider_type { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1617,7 +1617,7 @@ pub mod query { } } pub mod generate_reservation_details_report { - use crate::models::*; + use super::{models, models::*}; pub async fn by_billing_account_id( operation_config: &crate::OperationConfig, billing_account_id: &str, @@ -1673,7 +1673,7 @@ pub mod generate_reservation_details_report { } } pub mod by_billing_account_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatus), @@ -1752,7 +1752,7 @@ pub mod generate_reservation_details_report { } } pub mod by_billing_profile_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatus), @@ -1781,7 +1781,7 @@ pub mod generate_reservation_details_report { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.CostManagement/operations", operation_config.base_path(),); @@ -1819,7 +1819,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1843,7 +1843,7 @@ pub mod operations { } } pub mod exports { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, scope: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -1885,7 +1885,7 @@ pub mod exports { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1949,7 +1949,7 @@ pub mod exports { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2028,7 +2028,7 @@ pub mod exports { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Export), @@ -2096,7 +2096,7 @@ pub mod exports { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2163,7 +2163,7 @@ pub mod exports { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2236,7 +2236,7 @@ pub mod exports { } } pub mod get_execution_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/cost_management/src/package_2020_06/operations.rs b/services/mgmt/cost_management/src/package_2020_06/operations.rs index a3dac1b8af..23c1deb383 100644 --- a/services/mgmt/cost_management/src/package_2020_06/operations.rs +++ b/services/mgmt/cost_management/src/package_2020_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod views { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.CostManagement/views", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod views { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -111,7 +111,7 @@ pub mod views { } } pub mod list_by_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -174,7 +174,7 @@ pub mod views { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -251,7 +251,7 @@ pub mod views { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(View), @@ -318,7 +318,7 @@ pub mod views { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -394,7 +394,7 @@ pub mod views { } } pub mod get_by_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -475,7 +475,7 @@ pub mod views { } } pub mod create_or_update_by_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(View), @@ -547,7 +547,7 @@ pub mod views { } } pub mod delete_by_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -576,7 +576,7 @@ pub mod views { } } pub mod alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, scope: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -618,7 +618,7 @@ pub mod alerts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -682,7 +682,7 @@ pub mod alerts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -755,7 +755,7 @@ pub mod alerts { } } pub mod dismiss { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -826,7 +826,7 @@ pub mod alerts { } } pub mod list_external { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -850,7 +850,7 @@ pub mod alerts { } } pub mod forecast { - use crate::models::*; + use super::{models, models::*}; pub async fn usage( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -901,7 +901,7 @@ pub mod forecast { } } pub mod usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -980,7 +980,7 @@ pub mod forecast { } } pub mod external_cloud_provider_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1004,7 +1004,7 @@ pub mod forecast { } } pub mod dimensions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, scope: &str, @@ -1065,7 +1065,7 @@ pub mod dimensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1154,7 +1154,7 @@ pub mod dimensions { } } pub mod by_external_cloud_provider_type { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1178,7 +1178,7 @@ pub mod dimensions { } } pub mod query { - use crate::models::*; + use super::{models, models::*}; pub async fn usage( operation_config: &crate::OperationConfig, scope: &str, @@ -1225,7 +1225,7 @@ pub mod query { } } pub mod usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1300,7 +1300,7 @@ pub mod query { } } pub mod usage_by_external_cloud_provider_type { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1324,7 +1324,7 @@ pub mod query { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.CostManagement/operations", operation_config.base_path(),); @@ -1362,7 +1362,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1386,7 +1386,7 @@ pub mod operations { } } pub mod exports { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, scope: &str, @@ -1435,7 +1435,7 @@ pub mod exports { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1507,7 +1507,7 @@ pub mod exports { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1586,7 +1586,7 @@ pub mod exports { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Export), @@ -1654,7 +1654,7 @@ pub mod exports { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1721,7 +1721,7 @@ pub mod exports { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1794,7 +1794,7 @@ pub mod exports { } } pub mod get_execution_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/cost_management/src/package_2021_01/operations.rs b/services/mgmt/cost_management/src/package_2021_01/operations.rs index 6f6d65da67..a7a8c80e0d 100644 --- a/services/mgmt/cost_management/src/package_2021_01/operations.rs +++ b/services/mgmt/cost_management/src/package_2021_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod exports { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, scope: &str, @@ -53,7 +53,7 @@ pub mod exports { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -125,7 +125,7 @@ pub mod exports { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -204,7 +204,7 @@ pub mod exports { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Export), @@ -272,7 +272,7 @@ pub mod exports { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -339,7 +339,7 @@ pub mod exports { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -412,7 +412,7 @@ pub mod exports { } } pub mod get_execution_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -436,7 +436,7 @@ pub mod exports { } } pub mod generate_detailed_cost_report { - use crate::models::*; + use super::{models, models::*}; pub async fn create_operation( operation_config: &crate::OperationConfig, scope: &str, @@ -487,7 +487,7 @@ pub mod generate_detailed_cost_report { } } pub mod create_operation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenerateDetailedCostReportOperationResult), @@ -516,7 +516,7 @@ pub mod generate_detailed_cost_report { } } pub mod generate_detailed_cost_report_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, operation_id: &str, @@ -564,7 +564,7 @@ pub mod generate_detailed_cost_report_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenerateDetailedCostReportOperationResult), @@ -593,7 +593,7 @@ pub mod generate_detailed_cost_report_operation_results { } } pub mod generate_detailed_cost_report_operation_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, operation_id: &str, @@ -640,7 +640,7 @@ pub mod generate_detailed_cost_report_operation_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -664,7 +664,7 @@ pub mod generate_detailed_cost_report_operation_status { } } pub mod views { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.CostManagement/views", operation_config.base_path(),); @@ -702,7 +702,7 @@ pub mod views { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -771,7 +771,7 @@ pub mod views { } } pub mod list_by_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -834,7 +834,7 @@ pub mod views { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -911,7 +911,7 @@ pub mod views { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(View), @@ -978,7 +978,7 @@ pub mod views { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1054,7 +1054,7 @@ pub mod views { } } pub mod get_by_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1135,7 +1135,7 @@ pub mod views { } } pub mod create_or_update_by_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(View), @@ -1207,7 +1207,7 @@ pub mod views { } } pub mod delete_by_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1236,7 +1236,7 @@ pub mod views { } } pub mod alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, scope: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -1278,7 +1278,7 @@ pub mod alerts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1342,7 +1342,7 @@ pub mod alerts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1415,7 +1415,7 @@ pub mod alerts { } } pub mod dismiss { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1486,7 +1486,7 @@ pub mod alerts { } } pub mod list_external { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1510,7 +1510,7 @@ pub mod alerts { } } pub mod forecast { - use crate::models::*; + use super::{models, models::*}; pub async fn usage( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -1561,7 +1561,7 @@ pub mod forecast { } } pub mod usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1640,7 +1640,7 @@ pub mod forecast { } } pub mod external_cloud_provider_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1664,7 +1664,7 @@ pub mod forecast { } } pub mod dimensions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, scope: &str, @@ -1725,7 +1725,7 @@ pub mod dimensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1814,7 +1814,7 @@ pub mod dimensions { } } pub mod by_external_cloud_provider_type { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1838,7 +1838,7 @@ pub mod dimensions { } } pub mod query { - use crate::models::*; + use super::{models, models::*}; pub async fn usage( operation_config: &crate::OperationConfig, scope: &str, @@ -1885,7 +1885,7 @@ pub mod query { } } pub mod usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1960,7 +1960,7 @@ pub mod query { } } pub mod usage_by_external_cloud_provider_type { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1984,7 +1984,7 @@ pub mod query { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.CostManagement/operations", operation_config.base_path(),); @@ -2022,7 +2022,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/cost_management/src/package_2021_10/operations.rs b/services/mgmt/cost_management/src/package_2021_10/operations.rs index 6f6d65da67..a7a8c80e0d 100644 --- a/services/mgmt/cost_management/src/package_2021_10/operations.rs +++ b/services/mgmt/cost_management/src/package_2021_10/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod exports { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, scope: &str, @@ -53,7 +53,7 @@ pub mod exports { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -125,7 +125,7 @@ pub mod exports { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -204,7 +204,7 @@ pub mod exports { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Export), @@ -272,7 +272,7 @@ pub mod exports { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -339,7 +339,7 @@ pub mod exports { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -412,7 +412,7 @@ pub mod exports { } } pub mod get_execution_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -436,7 +436,7 @@ pub mod exports { } } pub mod generate_detailed_cost_report { - use crate::models::*; + use super::{models, models::*}; pub async fn create_operation( operation_config: &crate::OperationConfig, scope: &str, @@ -487,7 +487,7 @@ pub mod generate_detailed_cost_report { } } pub mod create_operation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenerateDetailedCostReportOperationResult), @@ -516,7 +516,7 @@ pub mod generate_detailed_cost_report { } } pub mod generate_detailed_cost_report_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, operation_id: &str, @@ -564,7 +564,7 @@ pub mod generate_detailed_cost_report_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenerateDetailedCostReportOperationResult), @@ -593,7 +593,7 @@ pub mod generate_detailed_cost_report_operation_results { } } pub mod generate_detailed_cost_report_operation_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, operation_id: &str, @@ -640,7 +640,7 @@ pub mod generate_detailed_cost_report_operation_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -664,7 +664,7 @@ pub mod generate_detailed_cost_report_operation_status { } } pub mod views { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.CostManagement/views", operation_config.base_path(),); @@ -702,7 +702,7 @@ pub mod views { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -771,7 +771,7 @@ pub mod views { } } pub mod list_by_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -834,7 +834,7 @@ pub mod views { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -911,7 +911,7 @@ pub mod views { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(View), @@ -978,7 +978,7 @@ pub mod views { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1054,7 +1054,7 @@ pub mod views { } } pub mod get_by_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1135,7 +1135,7 @@ pub mod views { } } pub mod create_or_update_by_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(View), @@ -1207,7 +1207,7 @@ pub mod views { } } pub mod delete_by_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1236,7 +1236,7 @@ pub mod views { } } pub mod alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, scope: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -1278,7 +1278,7 @@ pub mod alerts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1342,7 +1342,7 @@ pub mod alerts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1415,7 +1415,7 @@ pub mod alerts { } } pub mod dismiss { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1486,7 +1486,7 @@ pub mod alerts { } } pub mod list_external { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1510,7 +1510,7 @@ pub mod alerts { } } pub mod forecast { - use crate::models::*; + use super::{models, models::*}; pub async fn usage( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -1561,7 +1561,7 @@ pub mod forecast { } } pub mod usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1640,7 +1640,7 @@ pub mod forecast { } } pub mod external_cloud_provider_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1664,7 +1664,7 @@ pub mod forecast { } } pub mod dimensions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, scope: &str, @@ -1725,7 +1725,7 @@ pub mod dimensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1814,7 +1814,7 @@ pub mod dimensions { } } pub mod by_external_cloud_provider_type { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1838,7 +1838,7 @@ pub mod dimensions { } } pub mod query { - use crate::models::*; + use super::{models, models::*}; pub async fn usage( operation_config: &crate::OperationConfig, scope: &str, @@ -1885,7 +1885,7 @@ pub mod query { } } pub mod usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1960,7 +1960,7 @@ pub mod query { } } pub mod usage_by_external_cloud_provider_type { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1984,7 +1984,7 @@ pub mod query { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.CostManagement/operations", operation_config.base_path(),); @@ -2022,7 +2022,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/cost_management/src/package_preview_2019_03/models.rs b/services/mgmt/cost_management/src/package_preview_2019_03/models.rs index baad0fcd4c..edae5c3774 100644 --- a/services/mgmt/cost_management/src/package_preview_2019_03/models.rs +++ b/services/mgmt/cost_management/src/package_preview_2019_03/models.rs @@ -134,7 +134,7 @@ pub struct ReportConfigFilter { #[serde(default, skip_serializing_if = "Vec::is_empty")] pub or: Vec, #[serde(default, skip_serializing_if = "Option::is_none")] - pub not: Option, + pub not: Box>, #[serde(default, skip_serializing_if = "Option::is_none")] pub dimension: Option, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -479,7 +479,7 @@ pub struct Scope { #[serde(rename = "type", default, skip_serializing_if = "Option::is_none")] pub type_: Option, #[serde(rename = "childScope", default, skip_serializing_if = "Option::is_none")] - pub child_scope: Option, + pub child_scope: Box>, } #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct Markup { diff --git a/services/mgmt/cost_management/src/package_preview_2019_03/operations.rs b/services/mgmt/cost_management/src/package_preview_2019_03/operations.rs index 1274a3d1b2..cd1b605184 100644 --- a/services/mgmt/cost_management/src/package_preview_2019_03/operations.rs +++ b/services/mgmt/cost_management/src/package_preview_2019_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod dimensions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_billing_account( operation_config: &crate::OperationConfig, billing_account_id: &str, @@ -70,7 +70,7 @@ pub mod dimensions { } } pub mod list_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -159,7 +159,7 @@ pub mod dimensions { } } pub mod list_by_enrollment_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -246,7 +246,7 @@ pub mod dimensions { } } pub mod list_by_department { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -333,7 +333,7 @@ pub mod dimensions { } } pub mod list_by_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -418,7 +418,7 @@ pub mod dimensions { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -507,7 +507,7 @@ pub mod dimensions { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -531,7 +531,7 @@ pub mod dimensions { } } pub mod query { - use crate::models::*; + use super::{models, models::*}; pub async fn usage_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -583,7 +583,7 @@ pub mod query { } } pub mod usage_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -658,7 +658,7 @@ pub mod query { } } pub mod usage_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -731,7 +731,7 @@ pub mod query { } } pub mod usage_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -806,7 +806,7 @@ pub mod query { } } pub mod usage_by_enrollment_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -879,7 +879,7 @@ pub mod query { } } pub mod usage_by_department { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -952,7 +952,7 @@ pub mod query { } } pub mod usage_by_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -976,7 +976,7 @@ pub mod query { } } pub mod forecast { - use crate::models::*; + use super::{models, models::*}; pub async fn usage_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1028,7 +1028,7 @@ pub mod forecast { } } pub mod usage_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1103,7 +1103,7 @@ pub mod forecast { } } pub mod usage_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1176,7 +1176,7 @@ pub mod forecast { } } pub mod usage_by_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1251,7 +1251,7 @@ pub mod forecast { } } pub mod usage_by_enrollment_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1324,7 +1324,7 @@ pub mod forecast { } } pub mod usage_by_department { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1397,7 +1397,7 @@ pub mod forecast { } } pub mod usage_by_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1470,7 +1470,7 @@ pub mod forecast { } } pub mod usage_by_external_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1494,7 +1494,7 @@ pub mod forecast { } } pub mod cloud_connector { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -1535,7 +1535,7 @@ pub mod cloud_connector { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1605,7 +1605,7 @@ pub mod cloud_connector { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1682,7 +1682,7 @@ pub mod cloud_connector { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectorDefinition), @@ -1755,7 +1755,7 @@ pub mod cloud_connector { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1813,7 +1813,7 @@ pub mod cloud_connector { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1837,7 +1837,7 @@ pub mod cloud_connector { } } pub mod connector { - use crate::models::*; + use super::{models, models::*}; pub async fn check_eligibility( operation_config: &crate::OperationConfig, connector_credentials: &CheckEligibilityDefinition, @@ -1885,7 +1885,7 @@ pub mod connector { } } pub mod check_eligibility { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1909,7 +1909,7 @@ pub mod connector { } } pub mod external_billing_account { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -1952,7 +1952,7 @@ pub mod external_billing_account { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2022,7 +2022,7 @@ pub mod external_billing_account { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2046,7 +2046,7 @@ pub mod external_billing_account { } } pub mod external_subscription { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_external_billing_account( operation_config: &crate::OperationConfig, external_billing_account_name: &str, @@ -2096,7 +2096,7 @@ pub mod external_subscription { } } pub mod list_by_external_billing_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2160,7 +2160,7 @@ pub mod external_subscription { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2230,7 +2230,7 @@ pub mod external_subscription { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2305,7 +2305,7 @@ pub mod external_subscription { } } pub mod list_by_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2373,7 +2373,7 @@ pub mod external_subscription { } } pub mod update_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2397,7 +2397,7 @@ pub mod external_subscription { } } pub mod showback_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, billing_account_id: &str, @@ -2442,7 +2442,7 @@ pub mod showback_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2466,7 +2466,7 @@ pub mod showback_rules { } } pub mod showback_rule { - use crate::models::*; + use super::{models, models::*}; pub async fn get_billing_account_id( operation_config: &crate::OperationConfig, billing_account_id: &str, @@ -2518,7 +2518,7 @@ pub mod showback_rule { } } pub mod get_billing_account_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2591,7 +2591,7 @@ pub mod showback_rule { } } pub mod create_update_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2615,7 +2615,7 @@ pub mod showback_rule { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.CostManagement/operations", operation_config.base_path(),); @@ -2653,7 +2653,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/cost_management/src/package_preview_2019_04/models.rs b/services/mgmt/cost_management/src/package_preview_2019_04/models.rs index f0c293a115..48b68e4f98 100644 --- a/services/mgmt/cost_management/src/package_preview_2019_04/models.rs +++ b/services/mgmt/cost_management/src/package_preview_2019_04/models.rs @@ -145,7 +145,7 @@ pub struct ReportConfigFilter { #[serde(default, skip_serializing_if = "Vec::is_empty")] pub or: Vec, #[serde(default, skip_serializing_if = "Option::is_none")] - pub not: Option, + pub not: Box>, #[serde(default, skip_serializing_if = "Option::is_none")] pub dimension: Option, #[serde(default, skip_serializing_if = "Option::is_none")] @@ -205,7 +205,7 @@ pub struct Scope { #[serde(rename = "type", default, skip_serializing_if = "Option::is_none")] pub type_: Option, #[serde(rename = "childScope", default, skip_serializing_if = "Option::is_none")] - pub child_scope: Option, + pub child_scope: Box>, } #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ViewListResult { diff --git a/services/mgmt/cost_management/src/package_preview_2019_04/operations.rs b/services/mgmt/cost_management/src/package_preview_2019_04/operations.rs index e9ce537389..7fd5fb2557 100644 --- a/services/mgmt/cost_management/src/package_preview_2019_04/operations.rs +++ b/services/mgmt/cost_management/src/package_preview_2019_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod views { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.CostManagement/views", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod views { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -111,7 +111,7 @@ pub mod views { } } pub mod list_by_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -174,7 +174,7 @@ pub mod views { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -251,7 +251,7 @@ pub mod views { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(View), @@ -318,7 +318,7 @@ pub mod views { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -394,7 +394,7 @@ pub mod views { } } pub mod get_by_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -475,7 +475,7 @@ pub mod views { } } pub mod create_or_update_by_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(View), @@ -547,7 +547,7 @@ pub mod views { } } pub mod delete_by_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -576,7 +576,7 @@ pub mod views { } } pub mod budgets { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, scope: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -618,7 +618,7 @@ pub mod budgets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -642,7 +642,7 @@ pub mod budgets { } } pub mod budget { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scope: &str, @@ -689,7 +689,7 @@ pub mod budget { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -772,7 +772,7 @@ pub mod budget { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BudgetModel), @@ -841,7 +841,7 @@ pub mod budget { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -870,7 +870,7 @@ pub mod budget { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.CostManagement/operations", operation_config.base_path(),); @@ -908,7 +908,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/cost_management/src/package_preview_2020_03/operations.rs b/services/mgmt/cost_management/src/package_preview_2020_03/operations.rs index 33f4397412..833a1486b7 100644 --- a/services/mgmt/cost_management/src/package_preview_2020_03/operations.rs +++ b/services/mgmt/cost_management/src/package_preview_2020_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod views { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.CostManagement/views", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod views { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -111,7 +111,7 @@ pub mod views { } } pub mod list_by_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -174,7 +174,7 @@ pub mod views { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -251,7 +251,7 @@ pub mod views { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(View), @@ -318,7 +318,7 @@ pub mod views { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -394,7 +394,7 @@ pub mod views { } } pub mod get_by_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -475,7 +475,7 @@ pub mod views { } } pub mod create_or_update_by_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(View), @@ -547,7 +547,7 @@ pub mod views { } } pub mod delete_by_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -576,7 +576,7 @@ pub mod views { } } pub mod alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, scope: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -618,7 +618,7 @@ pub mod alerts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -682,7 +682,7 @@ pub mod alerts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -755,7 +755,7 @@ pub mod alerts { } } pub mod dismiss { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -826,7 +826,7 @@ pub mod alerts { } } pub mod list_external { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -850,7 +850,7 @@ pub mod alerts { } } pub mod forecast { - use crate::models::*; + use super::{models, models::*}; pub async fn usage( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -901,7 +901,7 @@ pub mod forecast { } } pub mod usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -980,7 +980,7 @@ pub mod forecast { } } pub mod external_cloud_provider_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1004,7 +1004,7 @@ pub mod forecast { } } pub mod dimensions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, scope: &str, @@ -1065,7 +1065,7 @@ pub mod dimensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1154,7 +1154,7 @@ pub mod dimensions { } } pub mod by_external_cloud_provider_type { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1178,7 +1178,7 @@ pub mod dimensions { } } pub mod query { - use crate::models::*; + use super::{models, models::*}; pub async fn usage( operation_config: &crate::OperationConfig, scope: &str, @@ -1225,7 +1225,7 @@ pub mod query { } } pub mod usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1300,7 +1300,7 @@ pub mod query { } } pub mod usage_by_external_cloud_provider_type { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1324,7 +1324,7 @@ pub mod query { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.CostManagement/operations", operation_config.base_path(),); @@ -1362,7 +1362,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1386,7 +1386,7 @@ pub mod operations { } } pub mod cost_allocation_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, billing_account_id: &str, @@ -1431,7 +1431,7 @@ pub mod cost_allocation_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1501,7 +1501,7 @@ pub mod cost_allocation_rules { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1569,7 +1569,7 @@ pub mod cost_allocation_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1642,7 +1642,7 @@ pub mod cost_allocation_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1706,7 +1706,7 @@ pub mod cost_allocation_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/cost_management/src/package_preview_2020_12/operations.rs b/services/mgmt/cost_management/src/package_preview_2020_12/operations.rs index 6f6d65da67..a7a8c80e0d 100644 --- a/services/mgmt/cost_management/src/package_preview_2020_12/operations.rs +++ b/services/mgmt/cost_management/src/package_preview_2020_12/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod exports { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, scope: &str, @@ -53,7 +53,7 @@ pub mod exports { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -125,7 +125,7 @@ pub mod exports { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -204,7 +204,7 @@ pub mod exports { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Export), @@ -272,7 +272,7 @@ pub mod exports { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -339,7 +339,7 @@ pub mod exports { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -412,7 +412,7 @@ pub mod exports { } } pub mod get_execution_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -436,7 +436,7 @@ pub mod exports { } } pub mod generate_detailed_cost_report { - use crate::models::*; + use super::{models, models::*}; pub async fn create_operation( operation_config: &crate::OperationConfig, scope: &str, @@ -487,7 +487,7 @@ pub mod generate_detailed_cost_report { } } pub mod create_operation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenerateDetailedCostReportOperationResult), @@ -516,7 +516,7 @@ pub mod generate_detailed_cost_report { } } pub mod generate_detailed_cost_report_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, operation_id: &str, @@ -564,7 +564,7 @@ pub mod generate_detailed_cost_report_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenerateDetailedCostReportOperationResult), @@ -593,7 +593,7 @@ pub mod generate_detailed_cost_report_operation_results { } } pub mod generate_detailed_cost_report_operation_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, operation_id: &str, @@ -640,7 +640,7 @@ pub mod generate_detailed_cost_report_operation_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -664,7 +664,7 @@ pub mod generate_detailed_cost_report_operation_status { } } pub mod views { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.CostManagement/views", operation_config.base_path(),); @@ -702,7 +702,7 @@ pub mod views { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -771,7 +771,7 @@ pub mod views { } } pub mod list_by_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -834,7 +834,7 @@ pub mod views { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -911,7 +911,7 @@ pub mod views { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(View), @@ -978,7 +978,7 @@ pub mod views { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1054,7 +1054,7 @@ pub mod views { } } pub mod get_by_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1135,7 +1135,7 @@ pub mod views { } } pub mod create_or_update_by_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(View), @@ -1207,7 +1207,7 @@ pub mod views { } } pub mod delete_by_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1236,7 +1236,7 @@ pub mod views { } } pub mod alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, scope: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -1278,7 +1278,7 @@ pub mod alerts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1342,7 +1342,7 @@ pub mod alerts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1415,7 +1415,7 @@ pub mod alerts { } } pub mod dismiss { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1486,7 +1486,7 @@ pub mod alerts { } } pub mod list_external { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1510,7 +1510,7 @@ pub mod alerts { } } pub mod forecast { - use crate::models::*; + use super::{models, models::*}; pub async fn usage( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -1561,7 +1561,7 @@ pub mod forecast { } } pub mod usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1640,7 +1640,7 @@ pub mod forecast { } } pub mod external_cloud_provider_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1664,7 +1664,7 @@ pub mod forecast { } } pub mod dimensions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, scope: &str, @@ -1725,7 +1725,7 @@ pub mod dimensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1814,7 +1814,7 @@ pub mod dimensions { } } pub mod by_external_cloud_provider_type { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1838,7 +1838,7 @@ pub mod dimensions { } } pub mod query { - use crate::models::*; + use super::{models, models::*}; pub async fn usage( operation_config: &crate::OperationConfig, scope: &str, @@ -1885,7 +1885,7 @@ pub mod query { } } pub mod usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1960,7 +1960,7 @@ pub mod query { } } pub mod usage_by_external_cloud_provider_type { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1984,7 +1984,7 @@ pub mod query { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.CostManagement/operations", operation_config.base_path(),); @@ -2022,7 +2022,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/cpim/Cargo.toml b/services/mgmt/cpim/Cargo.toml index 8fbdcbe91c..a97fe79ec2 100644 --- a/services/mgmt/cpim/Cargo.toml +++ b/services/mgmt/cpim/Cargo.toml @@ -20,5 +20,6 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2019-01-01-preview"] +no-default-version = [] "package-2019-01-01-preview" = [] "package-2020-05-01-preview" = [] diff --git a/services/mgmt/cpim/src/lib.rs b/services/mgmt/cpim/src/lib.rs index 421e5f496d..2979868d3e 100644 --- a/services/mgmt/cpim/src/lib.rs +++ b/services/mgmt/cpim/src/lib.rs @@ -1,13 +1,21 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2019-01-01-preview")] -mod package_2019_01_01_preview; -#[cfg(feature = "package-2019-01-01-preview")] +pub mod package_2019_01_01_preview; +#[cfg(all(feature = "package-2019-01-01-preview", not(feature = "no-default-version")))] pub use package_2019_01_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-05-01-preview")] -mod package_2020_05_01_preview; +pub mod package_2020_05_01_preview; use azure_core::setters; -#[cfg(feature = "package-2020-05-01-preview")] +#[cfg(all(feature = "package-2020-05-01-preview", not(feature = "no-default-version")))] pub use package_2020_05_01_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -31,7 +39,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/cpim/src/package_2019_01_01_preview/operations.rs b/services/mgmt/cpim/src/package_2019_01_01_preview/operations.rs index 2424107e4d..3a99369f4f 100644 --- a/services/mgmt/cpim/src/package_2019_01_01_preview/operations.rs +++ b/services/mgmt/cpim/src/package_2019_01_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod b2c_tenants { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -60,7 +60,7 @@ pub mod b2c_tenants { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -133,7 +133,7 @@ pub mod b2c_tenants { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -202,7 +202,7 @@ pub mod b2c_tenants { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -272,7 +272,7 @@ pub mod b2c_tenants { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -355,7 +355,7 @@ pub mod b2c_tenants { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(B2cTenantResource), @@ -437,7 +437,7 @@ pub mod b2c_tenants { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -504,7 +504,7 @@ pub mod b2c_tenants { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -534,7 +534,7 @@ pub mod b2c_tenants { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -575,7 +575,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -646,7 +646,7 @@ pub mod operations { } } pub mod get_async_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/cpim/src/package_2020_05_01_preview/operations.rs b/services/mgmt/cpim/src/package_2020_05_01_preview/operations.rs index 230b17255d..331e00c7a2 100644 --- a/services/mgmt/cpim/src/package_2020_05_01_preview/operations.rs +++ b/services/mgmt/cpim/src/package_2020_05_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -45,7 +45,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -69,7 +69,7 @@ pub mod operations { } } pub mod guest_usages { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -118,7 +118,7 @@ pub mod guest_usages { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -194,7 +194,7 @@ pub mod guest_usages { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -270,7 +270,7 @@ pub mod guest_usages { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -335,7 +335,7 @@ pub mod guest_usages { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -404,7 +404,7 @@ pub mod guest_usages { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -477,7 +477,7 @@ pub mod guest_usages { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/customer_insights/Cargo.toml b/services/mgmt/customer_insights/Cargo.toml index 6ffead380b..e5d6687d66 100644 --- a/services/mgmt/customer_insights/Cargo.toml +++ b/services/mgmt/customer_insights/Cargo.toml @@ -20,5 +20,6 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2017-04"] +no-default-version = [] "package-2017-04" = [] "package-2017-01" = [] diff --git a/services/mgmt/customer_insights/src/lib.rs b/services/mgmt/customer_insights/src/lib.rs index 0e1b34e516..8386785224 100644 --- a/services/mgmt/customer_insights/src/lib.rs +++ b/services/mgmt/customer_insights/src/lib.rs @@ -1,13 +1,21 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2017-04")] -mod package_2017_04; -#[cfg(feature = "package-2017-04")] +pub mod package_2017_04; +#[cfg(all(feature = "package-2017-04", not(feature = "no-default-version")))] pub use package_2017_04::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-01")] -mod package_2017_01; +pub mod package_2017_01; use azure_core::setters; -#[cfg(feature = "package-2017-01")] +#[cfg(all(feature = "package-2017-01", not(feature = "no-default-version")))] pub use package_2017_01::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -31,7 +39,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/customer_insights/src/package_2017_01/operations.rs b/services/mgmt/customer_insights/src/package_2017_01/operations.rs index 44fe5ca808..85ab1aee2b 100644 --- a/services/mgmt/customer_insights/src/package_2017_01/operations.rs +++ b/services/mgmt/customer_insights/src/package_2017_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.CustomerInsights/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod hubs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -108,7 +108,7 @@ pub mod hubs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub mod hubs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Hub), @@ -256,7 +256,7 @@ pub mod hubs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -318,7 +318,7 @@ pub mod hubs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -392,7 +392,7 @@ pub mod hubs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -450,7 +450,7 @@ pub mod hubs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -471,7 +471,7 @@ pub mod hubs { } } pub mod profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -524,7 +524,7 @@ pub mod profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -597,7 +597,7 @@ pub mod profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProfileResourceFormat), @@ -670,7 +670,7 @@ pub mod profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -748,7 +748,7 @@ pub mod profiles { } } pub mod list_by_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -819,7 +819,7 @@ pub mod profiles { } } pub mod get_enriching_kpis { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -840,7 +840,7 @@ pub mod profiles { } } pub mod interactions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -893,7 +893,7 @@ pub mod interactions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -966,7 +966,7 @@ pub mod interactions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(InteractionResourceFormat), @@ -1043,7 +1043,7 @@ pub mod interactions { } } pub mod list_by_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1116,7 +1116,7 @@ pub mod interactions { } } pub mod suggest_relationship_links { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1137,7 +1137,7 @@ pub mod interactions { } } pub mod relationships { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1186,7 +1186,7 @@ pub mod relationships { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1259,7 +1259,7 @@ pub mod relationships { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RelationshipResourceFormat), @@ -1327,7 +1327,7 @@ pub mod relationships { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1400,7 +1400,7 @@ pub mod relationships { } } pub mod list_by_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1421,7 +1421,7 @@ pub mod relationships { } } pub mod relationship_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1470,7 +1470,7 @@ pub mod relationship_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1543,7 +1543,7 @@ pub mod relationship_links { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RelationshipLinkResourceFormat), @@ -1611,7 +1611,7 @@ pub mod relationship_links { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1684,7 +1684,7 @@ pub mod relationship_links { } } pub mod list_by_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1705,7 +1705,7 @@ pub mod relationship_links { } } pub mod authorization_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1754,7 +1754,7 @@ pub mod authorization_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1832,7 +1832,7 @@ pub mod authorization_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AuthorizationPolicyResourceFormat), @@ -1905,7 +1905,7 @@ pub mod authorization_policies { } } pub mod list_by_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1971,7 +1971,7 @@ pub mod authorization_policies { } } pub mod regenerate_primary_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2037,7 +2037,7 @@ pub mod authorization_policies { } } pub mod regenerate_secondary_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2058,7 +2058,7 @@ pub mod authorization_policies { } } pub mod connectors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2107,7 +2107,7 @@ pub mod connectors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2180,7 +2180,7 @@ pub mod connectors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectorResourceFormat), @@ -2249,7 +2249,7 @@ pub mod connectors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2323,7 +2323,7 @@ pub mod connectors { } } pub mod list_by_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2344,7 +2344,7 @@ pub mod connectors { } } pub mod connector_mappings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2395,7 +2395,7 @@ pub mod connector_mappings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2475,7 +2475,7 @@ pub mod connector_mappings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectorMappingResourceFormat), @@ -2545,7 +2545,7 @@ pub mod connector_mappings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2620,7 +2620,7 @@ pub mod connector_mappings { } } pub mod list_by_connector { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2641,7 +2641,7 @@ pub mod connector_mappings { } } pub mod kpi { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2690,7 +2690,7 @@ pub mod kpi { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2763,7 +2763,7 @@ pub mod kpi { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(KpiResourceFormat), @@ -2831,7 +2831,7 @@ pub mod kpi { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2902,7 +2902,7 @@ pub mod kpi { } } pub mod reprocess { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2970,7 +2970,7 @@ pub mod kpi { } } pub mod list_by_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2991,7 +2991,7 @@ pub mod kpi { } } pub mod widget_types { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_hub( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3041,7 +3041,7 @@ pub mod widget_types { } } pub mod list_by_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3108,7 +3108,7 @@ pub mod widget_types { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3129,7 +3129,7 @@ pub mod widget_types { } } pub mod views { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_hub( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3181,7 +3181,7 @@ pub mod views { } } pub mod list_by_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3250,7 +3250,7 @@ pub mod views { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3322,7 +3322,7 @@ pub mod views { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3386,7 +3386,7 @@ pub mod views { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3407,7 +3407,7 @@ pub mod views { } } pub mod links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3456,7 +3456,7 @@ pub mod links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3529,7 +3529,7 @@ pub mod links { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LinkResourceFormat), @@ -3597,7 +3597,7 @@ pub mod links { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3670,7 +3670,7 @@ pub mod links { } } pub mod list_by_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3691,7 +3691,7 @@ pub mod links { } } pub mod roles { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_hub( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3741,7 +3741,7 @@ pub mod roles { } } pub mod list_by_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3762,7 +3762,7 @@ pub mod roles { } } pub mod role_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_hub( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3812,7 +3812,7 @@ pub mod role_assignments { } } pub mod list_by_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3879,7 +3879,7 @@ pub mod role_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3952,7 +3952,7 @@ pub mod role_assignments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RoleAssignmentResourceFormat), @@ -4021,7 +4021,7 @@ pub mod role_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4048,7 +4048,7 @@ pub mod role_assignments { } } pub mod images { - use crate::models::*; + use super::{models, models::*}; pub async fn get_upload_url_for_entity_type( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4102,7 +4102,7 @@ pub mod images { } } pub mod get_upload_url_for_entity_type { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4174,7 +4174,7 @@ pub mod images { } } pub mod get_upload_url_for_data { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/customer_insights/src/package_2017_04/operations.rs b/services/mgmt/customer_insights/src/package_2017_04/operations.rs index 51719e20f7..231e681714 100644 --- a/services/mgmt/customer_insights/src/package_2017_04/operations.rs +++ b/services/mgmt/customer_insights/src/package_2017_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.CustomerInsights/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod hubs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -108,7 +108,7 @@ pub mod hubs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub mod hubs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Hub), @@ -256,7 +256,7 @@ pub mod hubs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -318,7 +318,7 @@ pub mod hubs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -392,7 +392,7 @@ pub mod hubs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -450,7 +450,7 @@ pub mod hubs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -471,7 +471,7 @@ pub mod hubs { } } pub mod profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -524,7 +524,7 @@ pub mod profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -597,7 +597,7 @@ pub mod profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProfileResourceFormat), @@ -670,7 +670,7 @@ pub mod profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -748,7 +748,7 @@ pub mod profiles { } } pub mod list_by_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -819,7 +819,7 @@ pub mod profiles { } } pub mod get_enriching_kpis { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -840,7 +840,7 @@ pub mod profiles { } } pub mod interactions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -893,7 +893,7 @@ pub mod interactions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -966,7 +966,7 @@ pub mod interactions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(InteractionResourceFormat), @@ -1043,7 +1043,7 @@ pub mod interactions { } } pub mod list_by_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1116,7 +1116,7 @@ pub mod interactions { } } pub mod suggest_relationship_links { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1137,7 +1137,7 @@ pub mod interactions { } } pub mod relationships { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1186,7 +1186,7 @@ pub mod relationships { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1259,7 +1259,7 @@ pub mod relationships { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RelationshipResourceFormat), @@ -1327,7 +1327,7 @@ pub mod relationships { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1400,7 +1400,7 @@ pub mod relationships { } } pub mod list_by_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1421,7 +1421,7 @@ pub mod relationships { } } pub mod relationship_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1470,7 +1470,7 @@ pub mod relationship_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1543,7 +1543,7 @@ pub mod relationship_links { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RelationshipLinkResourceFormat), @@ -1611,7 +1611,7 @@ pub mod relationship_links { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1684,7 +1684,7 @@ pub mod relationship_links { } } pub mod list_by_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1705,7 +1705,7 @@ pub mod relationship_links { } } pub mod authorization_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1754,7 +1754,7 @@ pub mod authorization_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1832,7 +1832,7 @@ pub mod authorization_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AuthorizationPolicyResourceFormat), @@ -1905,7 +1905,7 @@ pub mod authorization_policies { } } pub mod list_by_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1971,7 +1971,7 @@ pub mod authorization_policies { } } pub mod regenerate_primary_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2037,7 +2037,7 @@ pub mod authorization_policies { } } pub mod regenerate_secondary_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2058,7 +2058,7 @@ pub mod authorization_policies { } } pub mod connectors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2107,7 +2107,7 @@ pub mod connectors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2180,7 +2180,7 @@ pub mod connectors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectorResourceFormat), @@ -2249,7 +2249,7 @@ pub mod connectors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2323,7 +2323,7 @@ pub mod connectors { } } pub mod list_by_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2344,7 +2344,7 @@ pub mod connectors { } } pub mod connector_mappings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2395,7 +2395,7 @@ pub mod connector_mappings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2475,7 +2475,7 @@ pub mod connector_mappings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectorMappingResourceFormat), @@ -2545,7 +2545,7 @@ pub mod connector_mappings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2620,7 +2620,7 @@ pub mod connector_mappings { } } pub mod list_by_connector { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2641,7 +2641,7 @@ pub mod connector_mappings { } } pub mod kpi { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2690,7 +2690,7 @@ pub mod kpi { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2763,7 +2763,7 @@ pub mod kpi { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(KpiResourceFormat), @@ -2831,7 +2831,7 @@ pub mod kpi { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2902,7 +2902,7 @@ pub mod kpi { } } pub mod reprocess { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2970,7 +2970,7 @@ pub mod kpi { } } pub mod list_by_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2991,7 +2991,7 @@ pub mod kpi { } } pub mod widget_types { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_hub( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3041,7 +3041,7 @@ pub mod widget_types { } } pub mod list_by_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3108,7 +3108,7 @@ pub mod widget_types { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3129,7 +3129,7 @@ pub mod widget_types { } } pub mod views { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_hub( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3181,7 +3181,7 @@ pub mod views { } } pub mod list_by_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3250,7 +3250,7 @@ pub mod views { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3322,7 +3322,7 @@ pub mod views { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3386,7 +3386,7 @@ pub mod views { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3407,7 +3407,7 @@ pub mod views { } } pub mod links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3456,7 +3456,7 @@ pub mod links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3529,7 +3529,7 @@ pub mod links { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LinkResourceFormat), @@ -3597,7 +3597,7 @@ pub mod links { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3670,7 +3670,7 @@ pub mod links { } } pub mod list_by_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3691,7 +3691,7 @@ pub mod links { } } pub mod roles { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_hub( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3741,7 +3741,7 @@ pub mod roles { } } pub mod list_by_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3762,7 +3762,7 @@ pub mod roles { } } pub mod role_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_hub( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3812,7 +3812,7 @@ pub mod role_assignments { } } pub mod list_by_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3879,7 +3879,7 @@ pub mod role_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3952,7 +3952,7 @@ pub mod role_assignments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RoleAssignmentResourceFormat), @@ -4021,7 +4021,7 @@ pub mod role_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4048,7 +4048,7 @@ pub mod role_assignments { } } pub mod images { - use crate::models::*; + use super::{models, models::*}; pub async fn get_upload_url_for_entity_type( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4102,7 +4102,7 @@ pub mod images { } } pub mod get_upload_url_for_entity_type { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4174,7 +4174,7 @@ pub mod images { } } pub mod get_upload_url_for_data { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4195,7 +4195,7 @@ pub mod images { } } pub mod predictions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4244,7 +4244,7 @@ pub mod predictions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4317,7 +4317,7 @@ pub mod predictions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PredictionResourceFormat), @@ -4385,7 +4385,7 @@ pub mod predictions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4461,7 +4461,7 @@ pub mod predictions { } } pub mod get_training_results { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4532,7 +4532,7 @@ pub mod predictions { } } pub mod get_model_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4599,7 +4599,7 @@ pub mod predictions { } } pub mod model_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4667,7 +4667,7 @@ pub mod predictions { } } pub mod list_by_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/customerlockbox/Cargo.toml b/services/mgmt/customerlockbox/Cargo.toml index 954c02b5d2..a7082c463f 100644 --- a/services/mgmt/customerlockbox/Cargo.toml +++ b/services/mgmt/customerlockbox/Cargo.toml @@ -20,4 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2018-02-28-preview"] +no-default-version = [] "package-2018-02-28-preview" = [] diff --git a/services/mgmt/customerlockbox/src/lib.rs b/services/mgmt/customerlockbox/src/lib.rs index 3e140fe628..d5becc5227 100644 --- a/services/mgmt/customerlockbox/src/lib.rs +++ b/services/mgmt/customerlockbox/src/lib.rs @@ -1,9 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2018-02-28-preview")] -mod package_2018_02_28_preview; +pub mod package_2018_02_28_preview; use azure_core::setters; -#[cfg(feature = "package-2018-02-28-preview")] +#[cfg(all(feature = "package-2018-02-28-preview", not(feature = "no-default-version")))] pub use package_2018_02_28_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -27,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/customerlockbox/src/package_2018_02_28_preview/operations.rs b/services/mgmt/customerlockbox/src/package_2018_02_28_preview/operations.rs index 978c2eda7a..04d486c6da 100644 --- a/services/mgmt/customerlockbox/src/package_2018_02_28_preview/operations.rs +++ b/services/mgmt/customerlockbox/src/package_2018_02_28_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.CustomerLockbox/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod requests { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, request_id: &str, @@ -113,7 +113,7 @@ pub mod requests { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -186,7 +186,7 @@ pub mod requests { } } pub mod update_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -255,7 +255,7 @@ pub mod requests { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/customproviders/Cargo.toml b/services/mgmt/customproviders/Cargo.toml index ff54bf8c08..2ff1bd803b 100644 --- a/services/mgmt/customproviders/Cargo.toml +++ b/services/mgmt/customproviders/Cargo.toml @@ -20,4 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2018-09-01-preview"] +no-default-version = [] "package-2018-09-01-preview" = [] diff --git a/services/mgmt/customproviders/src/lib.rs b/services/mgmt/customproviders/src/lib.rs index 1afca36896..ec01958183 100644 --- a/services/mgmt/customproviders/src/lib.rs +++ b/services/mgmt/customproviders/src/lib.rs @@ -1,9 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2018-09-01-preview")] -mod package_2018_09_01_preview; +pub mod package_2018_09_01_preview; use azure_core::setters; -#[cfg(feature = "package-2018-09-01-preview")] +#[cfg(all(feature = "package-2018-09-01-preview", not(feature = "no-default-version")))] pub use package_2018_09_01_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -27,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/customproviders/src/package_2018_09_01_preview/operations.rs b/services/mgmt/customproviders/src/package_2018_09_01_preview/operations.rs index 73c37f7966..4581a5b77d 100644 --- a/services/mgmt/customproviders/src/package_2018_09_01_preview/operations.rs +++ b/services/mgmt/customproviders/src/package_2018_09_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.CustomProviders/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod custom_resource_provider { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -115,7 +115,7 @@ pub mod custom_resource_provider { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -196,7 +196,7 @@ pub mod custom_resource_provider { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CustomRpManifest), @@ -273,7 +273,7 @@ pub mod custom_resource_provider { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -340,7 +340,7 @@ pub mod custom_resource_provider { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -419,7 +419,7 @@ pub mod custom_resource_provider { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -488,7 +488,7 @@ pub mod custom_resource_provider { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -512,7 +512,7 @@ pub mod custom_resource_provider { } } pub mod associations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scope: &str, @@ -559,7 +559,7 @@ pub mod associations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -638,7 +638,7 @@ pub mod associations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Association), @@ -708,7 +708,7 @@ pub mod associations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -783,7 +783,7 @@ pub mod associations { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/databox/Cargo.toml b/services/mgmt/databox/Cargo.toml index 6fcd9b00c9..f488f1247a 100644 --- a/services/mgmt/databox/Cargo.toml +++ b/services/mgmt/databox/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-05"] +no-default-version = [] "package-2021-08-preview" = [] "package-2021-05" = [] "package-2021-03" = [] diff --git a/services/mgmt/databox/src/lib.rs b/services/mgmt/databox/src/lib.rs index 7546a9d7b1..b784b8dadf 100644 --- a/services/mgmt/databox/src/lib.rs +++ b/services/mgmt/databox/src/lib.rs @@ -1,33 +1,41 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-08-preview")] -mod package_2021_08_preview; -#[cfg(feature = "package-2021-08-preview")] +pub mod package_2021_08_preview; +#[cfg(all(feature = "package-2021-08-preview", not(feature = "no-default-version")))] pub use package_2021_08_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-05")] -mod package_2021_05; -#[cfg(feature = "package-2021-05")] +pub mod package_2021_05; +#[cfg(all(feature = "package-2021-05", not(feature = "no-default-version")))] pub use package_2021_05::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-03")] -mod package_2021_03; -#[cfg(feature = "package-2021-03")] +pub mod package_2021_03; +#[cfg(all(feature = "package-2021-03", not(feature = "no-default-version")))] pub use package_2021_03::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-11")] -mod package_2020_11; -#[cfg(feature = "package-2020-11")] +pub mod package_2020_11; +#[cfg(all(feature = "package-2020-11", not(feature = "no-default-version")))] pub use package_2020_11::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-04")] -mod package_2020_04; -#[cfg(feature = "package-2020-04")] +pub mod package_2020_04; +#[cfg(all(feature = "package-2020-04", not(feature = "no-default-version")))] pub use package_2020_04::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-09")] -mod package_2019_09; -#[cfg(feature = "package-2019-09")] +pub mod package_2019_09; +#[cfg(all(feature = "package-2019-09", not(feature = "no-default-version")))] pub use package_2019_09::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-01")] -mod package_2018_01; +pub mod package_2018_01; use azure_core::setters; -#[cfg(feature = "package-2018-01")] +#[cfg(all(feature = "package-2018-01", not(feature = "no-default-version")))] pub use package_2018_01::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -51,7 +59,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/databox/src/package_2018_01/operations.rs b/services/mgmt/databox/src/package_2018_01/operations.rs index d0d4dbed09..3ea6f2f9c9 100644 --- a/services/mgmt/databox/src/package_2018_01/operations.rs +++ b/services/mgmt/databox/src/package_2018_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DataBox/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -108,7 +108,7 @@ pub mod jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -180,7 +180,7 @@ pub mod jobs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -249,7 +249,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -317,7 +317,7 @@ pub mod jobs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobResource), @@ -394,7 +394,7 @@ pub mod jobs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobResource), @@ -460,7 +460,7 @@ pub mod jobs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -537,7 +537,7 @@ pub mod jobs { } } pub mod book_shipment_pick_up { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -599,7 +599,7 @@ pub mod jobs { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -668,7 +668,7 @@ pub mod jobs { } } pub mod list_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -689,7 +689,7 @@ pub mod jobs { } } pub mod service { - use crate::models::*; + use super::{models, models::*}; pub async fn list_available_skus( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -739,7 +739,7 @@ pub mod service { } } pub mod list_available_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -807,7 +807,7 @@ pub mod service { } } pub mod validate_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/databox/src/package_2019_09/operations.rs b/services/mgmt/databox/src/package_2019_09/operations.rs index d809fa5e1f..ee29bf9bca 100644 --- a/services/mgmt/databox/src/package_2019_09/operations.rs +++ b/services/mgmt/databox/src/package_2019_09/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DataBox/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -115,7 +115,7 @@ pub mod jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -192,7 +192,7 @@ pub mod jobs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -266,7 +266,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -339,7 +339,7 @@ pub mod jobs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobResource), @@ -421,7 +421,7 @@ pub mod jobs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobResource), @@ -492,7 +492,7 @@ pub mod jobs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -574,7 +574,7 @@ pub mod jobs { } } pub mod book_shipment_pick_up { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -641,7 +641,7 @@ pub mod jobs { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -715,7 +715,7 @@ pub mod jobs { } } pub mod list_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -739,7 +739,7 @@ pub mod jobs { } } pub mod service { - use crate::models::*; + use super::{models, models::*}; pub async fn list_available_skus( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -791,7 +791,7 @@ pub mod service { } } pub mod list_available_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -868,7 +868,7 @@ pub mod service { } } pub mod list_available_skus_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -941,7 +941,7 @@ pub mod service { } } pub mod validate_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1018,7 +1018,7 @@ pub mod service { } } pub mod validate_inputs_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1091,7 +1091,7 @@ pub mod service { } } pub mod validate_inputs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1164,7 +1164,7 @@ pub mod service { } } pub mod region_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/databox/src/package_2020_04/models.rs b/services/mgmt/databox/src/package_2020_04/models.rs index 154b11c38d..a430eb200b 100644 --- a/services/mgmt/databox/src/package_2020_04/models.rs +++ b/services/mgmt/databox/src/package_2020_04/models.rs @@ -1173,12 +1173,12 @@ pub mod transfer_configuration { #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct TransferFilterDetails { #[serde(default, skip_serializing_if = "Option::is_none")] - pub include: Option, + pub include: Box>, } #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct TransferAllDetails { #[serde(default, skip_serializing_if = "Option::is_none")] - pub include: Option, + pub include: Box>, } } #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] diff --git a/services/mgmt/databox/src/package_2020_04/operations.rs b/services/mgmt/databox/src/package_2020_04/operations.rs index 29fd707f4e..7eafffc20b 100644 --- a/services/mgmt/databox/src/package_2020_04/operations.rs +++ b/services/mgmt/databox/src/package_2020_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DataBox/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -115,7 +115,7 @@ pub mod jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -192,7 +192,7 @@ pub mod jobs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -266,7 +266,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -339,7 +339,7 @@ pub mod jobs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobResource), @@ -421,7 +421,7 @@ pub mod jobs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobResource), @@ -493,7 +493,7 @@ pub mod jobs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -576,7 +576,7 @@ pub mod jobs { } } pub mod book_shipment_pick_up { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -643,7 +643,7 @@ pub mod jobs { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -717,7 +717,7 @@ pub mod jobs { } } pub mod list_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -741,7 +741,7 @@ pub mod jobs { } } pub mod service { - use crate::models::*; + use super::{models, models::*}; pub async fn list_available_skus_by_resource_group( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -797,7 +797,7 @@ pub mod service { } } pub mod list_available_skus_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -870,7 +870,7 @@ pub mod service { } } pub mod validate_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -947,7 +947,7 @@ pub mod service { } } pub mod validate_inputs_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1020,7 +1020,7 @@ pub mod service { } } pub mod validate_inputs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1093,7 +1093,7 @@ pub mod service { } } pub mod region_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1171,7 +1171,7 @@ pub mod service { } } pub mod region_configuration_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/databox/src/package_2020_11/operations.rs b/services/mgmt/databox/src/package_2020_11/operations.rs index 29fd707f4e..7eafffc20b 100644 --- a/services/mgmt/databox/src/package_2020_11/operations.rs +++ b/services/mgmt/databox/src/package_2020_11/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DataBox/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -115,7 +115,7 @@ pub mod jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -192,7 +192,7 @@ pub mod jobs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -266,7 +266,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -339,7 +339,7 @@ pub mod jobs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobResource), @@ -421,7 +421,7 @@ pub mod jobs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobResource), @@ -493,7 +493,7 @@ pub mod jobs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -576,7 +576,7 @@ pub mod jobs { } } pub mod book_shipment_pick_up { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -643,7 +643,7 @@ pub mod jobs { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -717,7 +717,7 @@ pub mod jobs { } } pub mod list_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -741,7 +741,7 @@ pub mod jobs { } } pub mod service { - use crate::models::*; + use super::{models, models::*}; pub async fn list_available_skus_by_resource_group( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -797,7 +797,7 @@ pub mod service { } } pub mod list_available_skus_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -870,7 +870,7 @@ pub mod service { } } pub mod validate_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -947,7 +947,7 @@ pub mod service { } } pub mod validate_inputs_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1020,7 +1020,7 @@ pub mod service { } } pub mod validate_inputs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1093,7 +1093,7 @@ pub mod service { } } pub mod region_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1171,7 +1171,7 @@ pub mod service { } } pub mod region_configuration_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/databox/src/package_2021_03/operations.rs b/services/mgmt/databox/src/package_2021_03/operations.rs index 0317896c40..d93c15ccbf 100644 --- a/services/mgmt/databox/src/package_2021_03/operations.rs +++ b/services/mgmt/databox/src/package_2021_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DataBox/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -115,7 +115,7 @@ pub mod jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -192,7 +192,7 @@ pub mod jobs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -266,7 +266,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -339,7 +339,7 @@ pub mod jobs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobResource), @@ -421,7 +421,7 @@ pub mod jobs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobResource), @@ -493,7 +493,7 @@ pub mod jobs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -576,7 +576,7 @@ pub mod jobs { } } pub mod book_shipment_pick_up { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -643,7 +643,7 @@ pub mod jobs { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -717,7 +717,7 @@ pub mod jobs { } } pub mod list_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -788,7 +788,7 @@ pub async fn mitigate( } } pub mod mitigate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -811,7 +811,7 @@ pub mod mitigate { } } pub mod service { - use crate::models::*; + use super::{models, models::*}; pub async fn list_available_skus_by_resource_group( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -867,7 +867,7 @@ pub mod service { } } pub mod list_available_skus_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -940,7 +940,7 @@ pub mod service { } } pub mod validate_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1017,7 +1017,7 @@ pub mod service { } } pub mod validate_inputs_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1090,7 +1090,7 @@ pub mod service { } } pub mod validate_inputs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1163,7 +1163,7 @@ pub mod service { } } pub mod region_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1241,7 +1241,7 @@ pub mod service { } } pub mod region_configuration_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/databox/src/package_2021_05/operations.rs b/services/mgmt/databox/src/package_2021_05/operations.rs index 0317896c40..d93c15ccbf 100644 --- a/services/mgmt/databox/src/package_2021_05/operations.rs +++ b/services/mgmt/databox/src/package_2021_05/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DataBox/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -115,7 +115,7 @@ pub mod jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -192,7 +192,7 @@ pub mod jobs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -266,7 +266,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -339,7 +339,7 @@ pub mod jobs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobResource), @@ -421,7 +421,7 @@ pub mod jobs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobResource), @@ -493,7 +493,7 @@ pub mod jobs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -576,7 +576,7 @@ pub mod jobs { } } pub mod book_shipment_pick_up { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -643,7 +643,7 @@ pub mod jobs { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -717,7 +717,7 @@ pub mod jobs { } } pub mod list_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -788,7 +788,7 @@ pub async fn mitigate( } } pub mod mitigate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -811,7 +811,7 @@ pub mod mitigate { } } pub mod service { - use crate::models::*; + use super::{models, models::*}; pub async fn list_available_skus_by_resource_group( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -867,7 +867,7 @@ pub mod service { } } pub mod list_available_skus_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -940,7 +940,7 @@ pub mod service { } } pub mod validate_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1017,7 +1017,7 @@ pub mod service { } } pub mod validate_inputs_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1090,7 +1090,7 @@ pub mod service { } } pub mod validate_inputs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1163,7 +1163,7 @@ pub mod service { } } pub mod region_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1241,7 +1241,7 @@ pub mod service { } } pub mod region_configuration_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/databox/src/package_2021_08_preview/models.rs b/services/mgmt/databox/src/package_2021_08_preview/models.rs index 0539600569..0062374d68 100644 --- a/services/mgmt/databox/src/package_2021_08_preview/models.rs +++ b/services/mgmt/databox/src/package_2021_08_preview/models.rs @@ -1589,12 +1589,12 @@ pub mod transfer_configuration { #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct TransferFilterDetails { #[serde(default, skip_serializing_if = "Option::is_none")] - pub include: Option, + pub include: Box>, } #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct TransferAllDetails { #[serde(default, skip_serializing_if = "Option::is_none")] - pub include: Option, + pub include: Box>, } } #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] diff --git a/services/mgmt/databox/src/package_2021_08_preview/operations.rs b/services/mgmt/databox/src/package_2021_08_preview/operations.rs index fca1514a39..5ac0c2ad99 100644 --- a/services/mgmt/databox/src/package_2021_08_preview/operations.rs +++ b/services/mgmt/databox/src/package_2021_08_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DataBox/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -115,7 +115,7 @@ pub mod jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -185,7 +185,7 @@ pub mod jobs { } } pub mod mark_devices_shipped { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -262,7 +262,7 @@ pub mod jobs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -336,7 +336,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -409,7 +409,7 @@ pub mod jobs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobResource), @@ -491,7 +491,7 @@ pub mod jobs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobResource), @@ -563,7 +563,7 @@ pub mod jobs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -646,7 +646,7 @@ pub mod jobs { } } pub mod book_shipment_pick_up { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -713,7 +713,7 @@ pub mod jobs { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -787,7 +787,7 @@ pub mod jobs { } } pub mod list_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -858,7 +858,7 @@ pub async fn mitigate( } } pub mod mitigate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -881,7 +881,7 @@ pub mod mitigate { } } pub mod service { - use crate::models::*; + use super::{models, models::*}; pub async fn list_available_skus_by_resource_group( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -937,7 +937,7 @@ pub mod service { } } pub mod list_available_skus_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1010,7 +1010,7 @@ pub mod service { } } pub mod validate_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1087,7 +1087,7 @@ pub mod service { } } pub mod validate_inputs_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1160,7 +1160,7 @@ pub mod service { } } pub mod validate_inputs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1233,7 +1233,7 @@ pub mod service { } } pub mod region_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1311,7 +1311,7 @@ pub mod service { } } pub mod region_configuration_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/databoxedge/Cargo.toml b/services/mgmt/databoxedge/Cargo.toml index 2f6feb46ec..5da1794ad1 100644 --- a/services/mgmt/databoxedge/Cargo.toml +++ b/services/mgmt/databoxedge/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-06-01"] +no-default-version = [] "package-2021-06-01" = [] "package-2021-06-01-preview" = [] "package-2021-02-01" = [] diff --git a/services/mgmt/databoxedge/src/lib.rs b/services/mgmt/databoxedge/src/lib.rs index bfc8ed8c5a..2323a67574 100644 --- a/services/mgmt/databoxedge/src/lib.rs +++ b/services/mgmt/databoxedge/src/lib.rs @@ -1,53 +1,61 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-06-01")] -mod package_2021_06_01; -#[cfg(feature = "package-2021-06-01")] +pub mod package_2021_06_01; +#[cfg(all(feature = "package-2021-06-01", not(feature = "no-default-version")))] pub use package_2021_06_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-06-01-preview")] -mod package_2021_06_01_preview; -#[cfg(feature = "package-2021-06-01-preview")] +pub mod package_2021_06_01_preview; +#[cfg(all(feature = "package-2021-06-01-preview", not(feature = "no-default-version")))] pub use package_2021_06_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-02-01")] -mod package_2021_02_01; -#[cfg(feature = "package-2021-02-01")] +pub mod package_2021_02_01; +#[cfg(all(feature = "package-2021-02-01", not(feature = "no-default-version")))] pub use package_2021_02_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-02-01-preview")] -mod package_2021_02_01_preview; -#[cfg(feature = "package-2021-02-01-preview")] +pub mod package_2021_02_01_preview; +#[cfg(all(feature = "package-2021-02-01-preview", not(feature = "no-default-version")))] pub use package_2021_02_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-12-01")] -mod package_2020_12_01; -#[cfg(feature = "package-2020-12-01")] +pub mod package_2020_12_01; +#[cfg(all(feature = "package-2020-12-01", not(feature = "no-default-version")))] pub use package_2020_12_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-09-01-preview")] -mod package_2020_09_01_preview; -#[cfg(feature = "package-2020-09-01-preview")] +pub mod package_2020_09_01_preview; +#[cfg(all(feature = "package-2020-09-01-preview", not(feature = "no-default-version")))] pub use package_2020_09_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-09-01")] -mod package_2020_09_01; -#[cfg(feature = "package-2020-09-01")] +pub mod package_2020_09_01; +#[cfg(all(feature = "package-2020-09-01", not(feature = "no-default-version")))] pub use package_2020_09_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-05-preview")] -mod package_2020_05_preview; -#[cfg(feature = "package-2020-05-preview")] +pub mod package_2020_05_preview; +#[cfg(all(feature = "package-2020-05-preview", not(feature = "no-default-version")))] pub use package_2020_05_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-08")] -mod package_2019_08; -#[cfg(feature = "package-2019-08")] +pub mod package_2019_08; +#[cfg(all(feature = "package-2019-08", not(feature = "no-default-version")))] pub use package_2019_08::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-07")] -mod package_2019_07; -#[cfg(feature = "package-2019-07")] +pub mod package_2019_07; +#[cfg(all(feature = "package-2019-07", not(feature = "no-default-version")))] pub use package_2019_07::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-03")] -mod package_2019_03; -#[cfg(feature = "package-2019-03")] +pub mod package_2019_03; +#[cfg(all(feature = "package-2019-03", not(feature = "no-default-version")))] pub use package_2019_03::{models, operations, API_VERSION}; #[cfg(feature = "profile-hybrid-2020-09-01")] -mod profile_hybrid_2020_09_01; +pub mod profile_hybrid_2020_09_01; use azure_core::setters; -#[cfg(feature = "profile-hybrid-2020-09-01")] +#[cfg(all(feature = "profile-hybrid-2020-09-01", not(feature = "no-default-version")))] pub use profile_hybrid_2020_09_01::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -71,7 +79,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/databoxedge/src/package_2019_03/operations.rs b/services/mgmt/databoxedge/src/package_2019_03/operations.rs index b5b726ad61..e682468c70 100644 --- a/services/mgmt/databoxedge/src/package_2019_03/operations.rs +++ b/services/mgmt/databoxedge/src/package_2019_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DataBoxEdge/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod devices { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -118,7 +118,7 @@ pub mod devices { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -195,7 +195,7 @@ pub mod devices { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -265,7 +265,7 @@ pub mod devices { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -340,7 +340,7 @@ pub mod devices { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -412,7 +412,7 @@ pub mod devices { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -479,7 +479,7 @@ pub mod devices { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -555,7 +555,7 @@ pub mod devices { } } pub mod download_updates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -636,7 +636,7 @@ pub mod devices { } } pub mod get_extended_information { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -706,7 +706,7 @@ pub mod devices { } } pub mod install_updates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -784,7 +784,7 @@ pub mod devices { } } pub mod get_network_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -854,7 +854,7 @@ pub mod devices { } } pub mod scan_for_updates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -932,7 +932,7 @@ pub mod devices { } } pub mod create_or_update_security_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1010,7 +1010,7 @@ pub mod devices { } } pub mod get_update_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1085,7 +1085,7 @@ pub mod devices { } } pub mod upload_certificate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1109,7 +1109,7 @@ pub mod devices { } } pub mod alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -1163,7 +1163,7 @@ pub mod alerts { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1235,7 +1235,7 @@ pub mod alerts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1259,7 +1259,7 @@ pub mod alerts { } } pub mod bandwidth_schedules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -1313,7 +1313,7 @@ pub mod bandwidth_schedules { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1385,7 +1385,7 @@ pub mod bandwidth_schedules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1463,7 +1463,7 @@ pub mod bandwidth_schedules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BandwidthSchedule), @@ -1537,7 +1537,7 @@ pub mod bandwidth_schedules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1567,7 +1567,7 @@ pub mod bandwidth_schedules { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, device_name: &str, @@ -1618,7 +1618,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1642,7 +1642,7 @@ pub mod jobs { } } pub mod operations_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, device_name: &str, @@ -1693,7 +1693,7 @@ pub mod operations_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1717,7 +1717,7 @@ pub mod operations_status { } } pub mod orders { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -1771,7 +1771,7 @@ pub mod orders { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1841,7 +1841,7 @@ pub mod orders { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1917,7 +1917,7 @@ pub mod orders { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Order), @@ -1989,7 +1989,7 @@ pub mod orders { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2019,7 +2019,7 @@ pub mod orders { } } pub mod roles { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -2073,7 +2073,7 @@ pub mod roles { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2145,7 +2145,7 @@ pub mod roles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2223,7 +2223,7 @@ pub mod roles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Role), @@ -2297,7 +2297,7 @@ pub mod roles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2327,7 +2327,7 @@ pub mod roles { } } pub mod shares { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -2381,7 +2381,7 @@ pub mod shares { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2453,7 +2453,7 @@ pub mod shares { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2531,7 +2531,7 @@ pub mod shares { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Share), @@ -2605,7 +2605,7 @@ pub mod shares { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2683,7 +2683,7 @@ pub mod shares { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2712,7 +2712,7 @@ pub mod shares { } } pub mod storage_account_credentials { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -2766,7 +2766,7 @@ pub mod storage_account_credentials { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2838,7 +2838,7 @@ pub mod storage_account_credentials { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2916,7 +2916,7 @@ pub mod storage_account_credentials { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageAccountCredential), @@ -2990,7 +2990,7 @@ pub mod storage_account_credentials { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3020,7 +3020,7 @@ pub mod storage_account_credentials { } } pub mod triggers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -3078,7 +3078,7 @@ pub mod triggers { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3150,7 +3150,7 @@ pub mod triggers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3228,7 +3228,7 @@ pub mod triggers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Trigger), @@ -3302,7 +3302,7 @@ pub mod triggers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3332,7 +3332,7 @@ pub mod triggers { } } pub mod users { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -3386,7 +3386,7 @@ pub mod users { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3458,7 +3458,7 @@ pub mod users { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3536,7 +3536,7 @@ pub mod users { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(User), @@ -3610,7 +3610,7 @@ pub mod users { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/databoxedge/src/package_2019_07/operations.rs b/services/mgmt/databoxedge/src/package_2019_07/operations.rs index f2fb951904..0b9d6ed932 100644 --- a/services/mgmt/databoxedge/src/package_2019_07/operations.rs +++ b/services/mgmt/databoxedge/src/package_2019_07/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DataBoxEdge/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod devices { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -118,7 +118,7 @@ pub mod devices { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -195,7 +195,7 @@ pub mod devices { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -265,7 +265,7 @@ pub mod devices { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -340,7 +340,7 @@ pub mod devices { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -412,7 +412,7 @@ pub mod devices { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -479,7 +479,7 @@ pub mod devices { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -555,7 +555,7 @@ pub mod devices { } } pub mod download_updates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -636,7 +636,7 @@ pub mod devices { } } pub mod get_extended_information { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -706,7 +706,7 @@ pub mod devices { } } pub mod install_updates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -784,7 +784,7 @@ pub mod devices { } } pub mod get_network_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -854,7 +854,7 @@ pub mod devices { } } pub mod scan_for_updates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -932,7 +932,7 @@ pub mod devices { } } pub mod create_or_update_security_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1010,7 +1010,7 @@ pub mod devices { } } pub mod get_update_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1085,7 +1085,7 @@ pub mod devices { } } pub mod upload_certificate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1109,7 +1109,7 @@ pub mod devices { } } pub mod alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -1163,7 +1163,7 @@ pub mod alerts { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1235,7 +1235,7 @@ pub mod alerts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1259,7 +1259,7 @@ pub mod alerts { } } pub mod bandwidth_schedules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -1313,7 +1313,7 @@ pub mod bandwidth_schedules { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1385,7 +1385,7 @@ pub mod bandwidth_schedules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1463,7 +1463,7 @@ pub mod bandwidth_schedules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BandwidthSchedule), @@ -1537,7 +1537,7 @@ pub mod bandwidth_schedules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1567,7 +1567,7 @@ pub mod bandwidth_schedules { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, device_name: &str, @@ -1618,7 +1618,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1642,7 +1642,7 @@ pub mod jobs { } } pub mod nodes { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -1696,7 +1696,7 @@ pub mod nodes { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1720,7 +1720,7 @@ pub mod nodes { } } pub mod operations_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, device_name: &str, @@ -1771,7 +1771,7 @@ pub mod operations_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1795,7 +1795,7 @@ pub mod operations_status { } } pub mod orders { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -1849,7 +1849,7 @@ pub mod orders { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1919,7 +1919,7 @@ pub mod orders { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1995,7 +1995,7 @@ pub mod orders { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Order), @@ -2067,7 +2067,7 @@ pub mod orders { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2097,7 +2097,7 @@ pub mod orders { } } pub mod roles { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -2151,7 +2151,7 @@ pub mod roles { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2223,7 +2223,7 @@ pub mod roles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2301,7 +2301,7 @@ pub mod roles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Role), @@ -2375,7 +2375,7 @@ pub mod roles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2405,7 +2405,7 @@ pub mod roles { } } pub mod shares { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -2459,7 +2459,7 @@ pub mod shares { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2531,7 +2531,7 @@ pub mod shares { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2609,7 +2609,7 @@ pub mod shares { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Share), @@ -2683,7 +2683,7 @@ pub mod shares { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2761,7 +2761,7 @@ pub mod shares { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2790,7 +2790,7 @@ pub mod shares { } } pub mod storage_account_credentials { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -2844,7 +2844,7 @@ pub mod storage_account_credentials { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2916,7 +2916,7 @@ pub mod storage_account_credentials { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2994,7 +2994,7 @@ pub mod storage_account_credentials { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageAccountCredential), @@ -3068,7 +3068,7 @@ pub mod storage_account_credentials { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3098,7 +3098,7 @@ pub mod storage_account_credentials { } } pub mod triggers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -3156,7 +3156,7 @@ pub mod triggers { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3228,7 +3228,7 @@ pub mod triggers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3306,7 +3306,7 @@ pub mod triggers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Trigger), @@ -3380,7 +3380,7 @@ pub mod triggers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3410,7 +3410,7 @@ pub mod triggers { } } pub mod users { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -3464,7 +3464,7 @@ pub mod users { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3536,7 +3536,7 @@ pub mod users { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3614,7 +3614,7 @@ pub mod users { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(User), @@ -3688,7 +3688,7 @@ pub mod users { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/databoxedge/src/package_2019_08/operations.rs b/services/mgmt/databoxedge/src/package_2019_08/operations.rs index 503b217e02..b1af73b26e 100644 --- a/services/mgmt/databoxedge/src/package_2019_08/operations.rs +++ b/services/mgmt/databoxedge/src/package_2019_08/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DataBoxEdge/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod devices { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -118,7 +118,7 @@ pub mod devices { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -195,7 +195,7 @@ pub mod devices { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -265,7 +265,7 @@ pub mod devices { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -340,7 +340,7 @@ pub mod devices { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -412,7 +412,7 @@ pub mod devices { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -479,7 +479,7 @@ pub mod devices { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -555,7 +555,7 @@ pub mod devices { } } pub mod download_updates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -636,7 +636,7 @@ pub mod devices { } } pub mod get_extended_information { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -706,7 +706,7 @@ pub mod devices { } } pub mod install_updates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -784,7 +784,7 @@ pub mod devices { } } pub mod get_network_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -854,7 +854,7 @@ pub mod devices { } } pub mod scan_for_updates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -932,7 +932,7 @@ pub mod devices { } } pub mod create_or_update_security_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1010,7 +1010,7 @@ pub mod devices { } } pub mod get_update_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1085,7 +1085,7 @@ pub mod devices { } } pub mod upload_certificate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1109,7 +1109,7 @@ pub mod devices { } } pub mod alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -1163,7 +1163,7 @@ pub mod alerts { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1235,7 +1235,7 @@ pub mod alerts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1259,7 +1259,7 @@ pub mod alerts { } } pub mod bandwidth_schedules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -1313,7 +1313,7 @@ pub mod bandwidth_schedules { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1385,7 +1385,7 @@ pub mod bandwidth_schedules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1463,7 +1463,7 @@ pub mod bandwidth_schedules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BandwidthSchedule), @@ -1537,7 +1537,7 @@ pub mod bandwidth_schedules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1567,7 +1567,7 @@ pub mod bandwidth_schedules { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, device_name: &str, @@ -1618,7 +1618,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1642,7 +1642,7 @@ pub mod jobs { } } pub mod nodes { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -1696,7 +1696,7 @@ pub mod nodes { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1720,7 +1720,7 @@ pub mod nodes { } } pub mod operations_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, device_name: &str, @@ -1771,7 +1771,7 @@ pub mod operations_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1795,7 +1795,7 @@ pub mod operations_status { } } pub mod orders { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -1849,7 +1849,7 @@ pub mod orders { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1919,7 +1919,7 @@ pub mod orders { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1995,7 +1995,7 @@ pub mod orders { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Order), @@ -2067,7 +2067,7 @@ pub mod orders { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2097,7 +2097,7 @@ pub mod orders { } } pub mod roles { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -2151,7 +2151,7 @@ pub mod roles { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2223,7 +2223,7 @@ pub mod roles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2301,7 +2301,7 @@ pub mod roles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Role), @@ -2375,7 +2375,7 @@ pub mod roles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2405,7 +2405,7 @@ pub mod roles { } } pub mod shares { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -2459,7 +2459,7 @@ pub mod shares { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2531,7 +2531,7 @@ pub mod shares { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2609,7 +2609,7 @@ pub mod shares { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Share), @@ -2683,7 +2683,7 @@ pub mod shares { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2761,7 +2761,7 @@ pub mod shares { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2790,7 +2790,7 @@ pub mod shares { } } pub mod storage_account_credentials { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -2844,7 +2844,7 @@ pub mod storage_account_credentials { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2916,7 +2916,7 @@ pub mod storage_account_credentials { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2994,7 +2994,7 @@ pub mod storage_account_credentials { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageAccountCredential), @@ -3068,7 +3068,7 @@ pub mod storage_account_credentials { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3098,7 +3098,7 @@ pub mod storage_account_credentials { } } pub mod storage_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -3152,7 +3152,7 @@ pub mod storage_accounts { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3224,7 +3224,7 @@ pub mod storage_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3302,7 +3302,7 @@ pub mod storage_accounts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageAccount), @@ -3375,7 +3375,7 @@ pub mod storage_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3404,7 +3404,7 @@ pub mod storage_accounts { } } pub mod containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_storage_account( operation_config: &crate::OperationConfig, device_name: &str, @@ -3460,7 +3460,7 @@ pub mod containers { } } pub mod list_by_storage_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3534,7 +3534,7 @@ pub mod containers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3614,7 +3614,7 @@ pub mod containers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Container), @@ -3689,7 +3689,7 @@ pub mod containers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3760,7 +3760,7 @@ pub mod containers { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3789,7 +3789,7 @@ pub mod containers { } } pub mod triggers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -3847,7 +3847,7 @@ pub mod triggers { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3919,7 +3919,7 @@ pub mod triggers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3997,7 +3997,7 @@ pub mod triggers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Trigger), @@ -4071,7 +4071,7 @@ pub mod triggers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4101,7 +4101,7 @@ pub mod triggers { } } pub mod users { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -4159,7 +4159,7 @@ pub mod users { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4231,7 +4231,7 @@ pub mod users { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4309,7 +4309,7 @@ pub mod users { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(User), @@ -4383,7 +4383,7 @@ pub mod users { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4413,7 +4413,7 @@ pub mod users { } } pub mod skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4462,7 +4462,7 @@ pub mod skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/databoxedge/src/package_2020_05_preview/operations.rs b/services/mgmt/databoxedge/src/package_2020_05_preview/operations.rs index ecc147e7bb..48ac3451c7 100644 --- a/services/mgmt/databoxedge/src/package_2020_05_preview/operations.rs +++ b/services/mgmt/databoxedge/src/package_2020_05_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DataBoxEdge/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod available_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod available_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -135,7 +135,7 @@ pub mod available_skus { } } pub mod devices { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -187,7 +187,7 @@ pub mod devices { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -264,7 +264,7 @@ pub mod devices { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -334,7 +334,7 @@ pub mod devices { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -409,7 +409,7 @@ pub mod devices { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -481,7 +481,7 @@ pub mod devices { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -548,7 +548,7 @@ pub mod devices { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -624,7 +624,7 @@ pub mod devices { } } pub mod download_updates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -705,7 +705,7 @@ pub mod devices { } } pub mod get_extended_information { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -775,7 +775,7 @@ pub mod devices { } } pub mod install_updates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -853,7 +853,7 @@ pub mod devices { } } pub mod get_network_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -923,7 +923,7 @@ pub mod devices { } } pub mod scan_for_updates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1001,7 +1001,7 @@ pub mod devices { } } pub mod create_or_update_security_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1079,7 +1079,7 @@ pub mod devices { } } pub mod get_update_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1154,7 +1154,7 @@ pub mod devices { } } pub mod upload_certificate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1178,7 +1178,7 @@ pub mod devices { } } pub mod alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -1232,7 +1232,7 @@ pub mod alerts { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1304,7 +1304,7 @@ pub mod alerts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1328,7 +1328,7 @@ pub mod alerts { } } pub mod bandwidth_schedules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -1382,7 +1382,7 @@ pub mod bandwidth_schedules { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1454,7 +1454,7 @@ pub mod bandwidth_schedules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1532,7 +1532,7 @@ pub mod bandwidth_schedules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BandwidthSchedule), @@ -1606,7 +1606,7 @@ pub mod bandwidth_schedules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1636,7 +1636,7 @@ pub mod bandwidth_schedules { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, device_name: &str, @@ -1687,7 +1687,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1711,7 +1711,7 @@ pub mod jobs { } } pub mod nodes { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -1765,7 +1765,7 @@ pub mod nodes { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1789,7 +1789,7 @@ pub mod nodes { } } pub mod operations_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, device_name: &str, @@ -1840,7 +1840,7 @@ pub mod operations_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1864,7 +1864,7 @@ pub mod operations_status { } } pub mod orders { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -1918,7 +1918,7 @@ pub mod orders { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1988,7 +1988,7 @@ pub mod orders { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2064,7 +2064,7 @@ pub mod orders { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Order), @@ -2136,7 +2136,7 @@ pub mod orders { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2166,7 +2166,7 @@ pub mod orders { } } pub mod roles { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -2220,7 +2220,7 @@ pub mod roles { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2292,7 +2292,7 @@ pub mod roles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2370,7 +2370,7 @@ pub mod roles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Role), @@ -2444,7 +2444,7 @@ pub mod roles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2474,7 +2474,7 @@ pub mod roles { } } pub mod shares { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -2528,7 +2528,7 @@ pub mod shares { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2600,7 +2600,7 @@ pub mod shares { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2678,7 +2678,7 @@ pub mod shares { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Share), @@ -2752,7 +2752,7 @@ pub mod shares { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2830,7 +2830,7 @@ pub mod shares { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2859,7 +2859,7 @@ pub mod shares { } } pub mod storage_account_credentials { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -2913,7 +2913,7 @@ pub mod storage_account_credentials { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2985,7 +2985,7 @@ pub mod storage_account_credentials { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3063,7 +3063,7 @@ pub mod storage_account_credentials { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageAccountCredential), @@ -3137,7 +3137,7 @@ pub mod storage_account_credentials { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3167,7 +3167,7 @@ pub mod storage_account_credentials { } } pub mod storage_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -3221,7 +3221,7 @@ pub mod storage_accounts { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3293,7 +3293,7 @@ pub mod storage_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3371,7 +3371,7 @@ pub mod storage_accounts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageAccount), @@ -3444,7 +3444,7 @@ pub mod storage_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3473,7 +3473,7 @@ pub mod storage_accounts { } } pub mod containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_storage_account( operation_config: &crate::OperationConfig, device_name: &str, @@ -3529,7 +3529,7 @@ pub mod containers { } } pub mod list_by_storage_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3603,7 +3603,7 @@ pub mod containers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3683,7 +3683,7 @@ pub mod containers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Container), @@ -3758,7 +3758,7 @@ pub mod containers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3829,7 +3829,7 @@ pub mod containers { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3858,7 +3858,7 @@ pub mod containers { } } pub mod triggers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -3916,7 +3916,7 @@ pub mod triggers { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3988,7 +3988,7 @@ pub mod triggers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4066,7 +4066,7 @@ pub mod triggers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Trigger), @@ -4140,7 +4140,7 @@ pub mod triggers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4170,7 +4170,7 @@ pub mod triggers { } } pub mod users { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -4228,7 +4228,7 @@ pub mod users { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4300,7 +4300,7 @@ pub mod users { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4378,7 +4378,7 @@ pub mod users { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(User), @@ -4452,7 +4452,7 @@ pub mod users { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4482,7 +4482,7 @@ pub mod users { } } pub mod skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4531,7 +4531,7 @@ pub mod skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/databoxedge/src/package_2020_09_01/operations.rs b/services/mgmt/databoxedge/src/package_2020_09_01/operations.rs index 8921328c47..f916e33033 100644 --- a/services/mgmt/databoxedge/src/package_2020_09_01/operations.rs +++ b/services/mgmt/databoxedge/src/package_2020_09_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DataBoxEdge/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod available_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod available_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -135,7 +135,7 @@ pub mod available_skus { } } pub mod devices { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -187,7 +187,7 @@ pub mod devices { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -264,7 +264,7 @@ pub mod devices { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -334,7 +334,7 @@ pub mod devices { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -409,7 +409,7 @@ pub mod devices { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -481,7 +481,7 @@ pub mod devices { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -548,7 +548,7 @@ pub mod devices { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -624,7 +624,7 @@ pub mod devices { } } pub mod download_updates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -703,7 +703,7 @@ pub mod devices { } } pub mod generate_certificate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -779,7 +779,7 @@ pub mod devices { } } pub mod get_extended_information { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -849,7 +849,7 @@ pub mod devices { } } pub mod install_updates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -927,7 +927,7 @@ pub mod devices { } } pub mod get_network_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -997,7 +997,7 @@ pub mod devices { } } pub mod scan_for_updates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1075,7 +1075,7 @@ pub mod devices { } } pub mod create_or_update_security_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1157,7 +1157,7 @@ pub mod devices { } } pub mod update_extended_information { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1230,7 +1230,7 @@ pub mod devices { } } pub mod get_update_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1305,7 +1305,7 @@ pub mod devices { } } pub mod upload_certificate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1329,7 +1329,7 @@ pub mod devices { } } pub mod alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -1383,7 +1383,7 @@ pub mod alerts { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1455,7 +1455,7 @@ pub mod alerts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1479,7 +1479,7 @@ pub mod alerts { } } pub mod bandwidth_schedules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -1533,7 +1533,7 @@ pub mod bandwidth_schedules { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1605,7 +1605,7 @@ pub mod bandwidth_schedules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1683,7 +1683,7 @@ pub mod bandwidth_schedules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1757,7 +1757,7 @@ pub mod bandwidth_schedules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1787,7 +1787,7 @@ pub mod bandwidth_schedules { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, device_name: &str, @@ -1838,7 +1838,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1862,7 +1862,7 @@ pub mod jobs { } } pub mod nodes { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -1916,7 +1916,7 @@ pub mod nodes { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1940,7 +1940,7 @@ pub mod nodes { } } pub mod operations_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, device_name: &str, @@ -1991,7 +1991,7 @@ pub mod operations_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2015,7 +2015,7 @@ pub mod operations_status { } } pub mod orders { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -2069,7 +2069,7 @@ pub mod orders { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2139,7 +2139,7 @@ pub mod orders { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2215,7 +2215,7 @@ pub mod orders { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2287,7 +2287,7 @@ pub mod orders { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2367,7 +2367,7 @@ pub mod orders { } } pub mod list_dc_access_code { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2391,7 +2391,7 @@ pub mod orders { } } pub mod roles { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -2445,7 +2445,7 @@ pub mod roles { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2517,7 +2517,7 @@ pub mod roles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2595,7 +2595,7 @@ pub mod roles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2669,7 +2669,7 @@ pub mod roles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2699,7 +2699,7 @@ pub mod roles { } } pub mod addons { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_role( operation_config: &crate::OperationConfig, device_name: &str, @@ -2753,7 +2753,7 @@ pub mod addons { } } pub mod list_by_role { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2827,7 +2827,7 @@ pub mod addons { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2907,7 +2907,7 @@ pub mod addons { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2983,7 +2983,7 @@ pub mod addons { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3013,7 +3013,7 @@ pub mod addons { } } pub mod monitoring_config { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, device_name: &str, @@ -3064,7 +3064,7 @@ pub mod monitoring_config { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3136,7 +3136,7 @@ pub mod monitoring_config { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3214,7 +3214,7 @@ pub mod monitoring_config { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3288,7 +3288,7 @@ pub mod monitoring_config { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3318,7 +3318,7 @@ pub mod monitoring_config { } } pub mod shares { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -3372,7 +3372,7 @@ pub mod shares { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3444,7 +3444,7 @@ pub mod shares { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3522,7 +3522,7 @@ pub mod shares { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3596,7 +3596,7 @@ pub mod shares { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3674,7 +3674,7 @@ pub mod shares { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3703,7 +3703,7 @@ pub mod shares { } } pub mod storage_account_credentials { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -3757,7 +3757,7 @@ pub mod storage_account_credentials { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3829,7 +3829,7 @@ pub mod storage_account_credentials { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3907,7 +3907,7 @@ pub mod storage_account_credentials { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3981,7 +3981,7 @@ pub mod storage_account_credentials { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4011,7 +4011,7 @@ pub mod storage_account_credentials { } } pub mod storage_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -4065,7 +4065,7 @@ pub mod storage_accounts { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4137,7 +4137,7 @@ pub mod storage_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4215,7 +4215,7 @@ pub mod storage_accounts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4288,7 +4288,7 @@ pub mod storage_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4317,7 +4317,7 @@ pub mod storage_accounts { } } pub mod containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_storage_account( operation_config: &crate::OperationConfig, device_name: &str, @@ -4373,7 +4373,7 @@ pub mod containers { } } pub mod list_by_storage_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4447,7 +4447,7 @@ pub mod containers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4527,7 +4527,7 @@ pub mod containers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4602,7 +4602,7 @@ pub mod containers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4673,7 +4673,7 @@ pub mod containers { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4702,7 +4702,7 @@ pub mod containers { } } pub mod triggers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -4760,7 +4760,7 @@ pub mod triggers { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4832,7 +4832,7 @@ pub mod triggers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4910,7 +4910,7 @@ pub mod triggers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4984,7 +4984,7 @@ pub mod triggers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5014,7 +5014,7 @@ pub mod triggers { } } pub mod users { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -5072,7 +5072,7 @@ pub mod users { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5144,7 +5144,7 @@ pub mod users { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5222,7 +5222,7 @@ pub mod users { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5296,7 +5296,7 @@ pub mod users { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, diff --git a/services/mgmt/databoxedge/src/package_2020_09_01_preview/operations.rs b/services/mgmt/databoxedge/src/package_2020_09_01_preview/operations.rs index 8921328c47..f916e33033 100644 --- a/services/mgmt/databoxedge/src/package_2020_09_01_preview/operations.rs +++ b/services/mgmt/databoxedge/src/package_2020_09_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DataBoxEdge/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod available_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod available_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -135,7 +135,7 @@ pub mod available_skus { } } pub mod devices { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -187,7 +187,7 @@ pub mod devices { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -264,7 +264,7 @@ pub mod devices { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -334,7 +334,7 @@ pub mod devices { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -409,7 +409,7 @@ pub mod devices { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -481,7 +481,7 @@ pub mod devices { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -548,7 +548,7 @@ pub mod devices { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -624,7 +624,7 @@ pub mod devices { } } pub mod download_updates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -703,7 +703,7 @@ pub mod devices { } } pub mod generate_certificate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -779,7 +779,7 @@ pub mod devices { } } pub mod get_extended_information { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -849,7 +849,7 @@ pub mod devices { } } pub mod install_updates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -927,7 +927,7 @@ pub mod devices { } } pub mod get_network_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -997,7 +997,7 @@ pub mod devices { } } pub mod scan_for_updates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1075,7 +1075,7 @@ pub mod devices { } } pub mod create_or_update_security_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1157,7 +1157,7 @@ pub mod devices { } } pub mod update_extended_information { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1230,7 +1230,7 @@ pub mod devices { } } pub mod get_update_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1305,7 +1305,7 @@ pub mod devices { } } pub mod upload_certificate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1329,7 +1329,7 @@ pub mod devices { } } pub mod alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -1383,7 +1383,7 @@ pub mod alerts { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1455,7 +1455,7 @@ pub mod alerts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1479,7 +1479,7 @@ pub mod alerts { } } pub mod bandwidth_schedules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -1533,7 +1533,7 @@ pub mod bandwidth_schedules { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1605,7 +1605,7 @@ pub mod bandwidth_schedules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1683,7 +1683,7 @@ pub mod bandwidth_schedules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1757,7 +1757,7 @@ pub mod bandwidth_schedules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1787,7 +1787,7 @@ pub mod bandwidth_schedules { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, device_name: &str, @@ -1838,7 +1838,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1862,7 +1862,7 @@ pub mod jobs { } } pub mod nodes { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -1916,7 +1916,7 @@ pub mod nodes { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1940,7 +1940,7 @@ pub mod nodes { } } pub mod operations_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, device_name: &str, @@ -1991,7 +1991,7 @@ pub mod operations_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2015,7 +2015,7 @@ pub mod operations_status { } } pub mod orders { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -2069,7 +2069,7 @@ pub mod orders { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2139,7 +2139,7 @@ pub mod orders { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2215,7 +2215,7 @@ pub mod orders { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2287,7 +2287,7 @@ pub mod orders { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2367,7 +2367,7 @@ pub mod orders { } } pub mod list_dc_access_code { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2391,7 +2391,7 @@ pub mod orders { } } pub mod roles { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -2445,7 +2445,7 @@ pub mod roles { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2517,7 +2517,7 @@ pub mod roles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2595,7 +2595,7 @@ pub mod roles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2669,7 +2669,7 @@ pub mod roles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2699,7 +2699,7 @@ pub mod roles { } } pub mod addons { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_role( operation_config: &crate::OperationConfig, device_name: &str, @@ -2753,7 +2753,7 @@ pub mod addons { } } pub mod list_by_role { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2827,7 +2827,7 @@ pub mod addons { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2907,7 +2907,7 @@ pub mod addons { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2983,7 +2983,7 @@ pub mod addons { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3013,7 +3013,7 @@ pub mod addons { } } pub mod monitoring_config { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, device_name: &str, @@ -3064,7 +3064,7 @@ pub mod monitoring_config { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3136,7 +3136,7 @@ pub mod monitoring_config { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3214,7 +3214,7 @@ pub mod monitoring_config { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3288,7 +3288,7 @@ pub mod monitoring_config { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3318,7 +3318,7 @@ pub mod monitoring_config { } } pub mod shares { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -3372,7 +3372,7 @@ pub mod shares { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3444,7 +3444,7 @@ pub mod shares { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3522,7 +3522,7 @@ pub mod shares { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3596,7 +3596,7 @@ pub mod shares { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3674,7 +3674,7 @@ pub mod shares { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3703,7 +3703,7 @@ pub mod shares { } } pub mod storage_account_credentials { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -3757,7 +3757,7 @@ pub mod storage_account_credentials { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3829,7 +3829,7 @@ pub mod storage_account_credentials { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3907,7 +3907,7 @@ pub mod storage_account_credentials { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3981,7 +3981,7 @@ pub mod storage_account_credentials { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4011,7 +4011,7 @@ pub mod storage_account_credentials { } } pub mod storage_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -4065,7 +4065,7 @@ pub mod storage_accounts { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4137,7 +4137,7 @@ pub mod storage_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4215,7 +4215,7 @@ pub mod storage_accounts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4288,7 +4288,7 @@ pub mod storage_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4317,7 +4317,7 @@ pub mod storage_accounts { } } pub mod containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_storage_account( operation_config: &crate::OperationConfig, device_name: &str, @@ -4373,7 +4373,7 @@ pub mod containers { } } pub mod list_by_storage_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4447,7 +4447,7 @@ pub mod containers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4527,7 +4527,7 @@ pub mod containers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4602,7 +4602,7 @@ pub mod containers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4673,7 +4673,7 @@ pub mod containers { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4702,7 +4702,7 @@ pub mod containers { } } pub mod triggers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -4760,7 +4760,7 @@ pub mod triggers { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4832,7 +4832,7 @@ pub mod triggers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4910,7 +4910,7 @@ pub mod triggers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4984,7 +4984,7 @@ pub mod triggers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5014,7 +5014,7 @@ pub mod triggers { } } pub mod users { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -5072,7 +5072,7 @@ pub mod users { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5144,7 +5144,7 @@ pub mod users { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5222,7 +5222,7 @@ pub mod users { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5296,7 +5296,7 @@ pub mod users { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, diff --git a/services/mgmt/databoxedge/src/package_2020_12_01/operations.rs b/services/mgmt/databoxedge/src/package_2020_12_01/operations.rs index e9f2136bb1..eb59fb1999 100644 --- a/services/mgmt/databoxedge/src/package_2020_12_01/operations.rs +++ b/services/mgmt/databoxedge/src/package_2020_12_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DataBoxEdge/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod available_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod available_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -135,7 +135,7 @@ pub mod available_skus { } } pub mod devices { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -187,7 +187,7 @@ pub mod devices { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -264,7 +264,7 @@ pub mod devices { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -334,7 +334,7 @@ pub mod devices { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -409,7 +409,7 @@ pub mod devices { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -481,7 +481,7 @@ pub mod devices { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -548,7 +548,7 @@ pub mod devices { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -624,7 +624,7 @@ pub mod devices { } } pub mod download_updates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -703,7 +703,7 @@ pub mod devices { } } pub mod generate_certificate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -779,7 +779,7 @@ pub mod devices { } } pub mod get_extended_information { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -849,7 +849,7 @@ pub mod devices { } } pub mod install_updates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -927,7 +927,7 @@ pub mod devices { } } pub mod get_network_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -997,7 +997,7 @@ pub mod devices { } } pub mod scan_for_updates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1075,7 +1075,7 @@ pub mod devices { } } pub mod create_or_update_security_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1157,7 +1157,7 @@ pub mod devices { } } pub mod update_extended_information { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1230,7 +1230,7 @@ pub mod devices { } } pub mod get_update_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1305,7 +1305,7 @@ pub mod devices { } } pub mod upload_certificate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1329,7 +1329,7 @@ pub mod devices { } } pub mod alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -1383,7 +1383,7 @@ pub mod alerts { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1455,7 +1455,7 @@ pub mod alerts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1479,7 +1479,7 @@ pub mod alerts { } } pub mod bandwidth_schedules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -1533,7 +1533,7 @@ pub mod bandwidth_schedules { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1605,7 +1605,7 @@ pub mod bandwidth_schedules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1683,7 +1683,7 @@ pub mod bandwidth_schedules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1757,7 +1757,7 @@ pub mod bandwidth_schedules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1787,7 +1787,7 @@ pub mod bandwidth_schedules { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, device_name: &str, @@ -1838,7 +1838,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1862,7 +1862,7 @@ pub mod jobs { } } pub mod nodes { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -1916,7 +1916,7 @@ pub mod nodes { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1940,7 +1940,7 @@ pub mod nodes { } } pub mod operations_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, device_name: &str, @@ -1991,7 +1991,7 @@ pub mod operations_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2015,7 +2015,7 @@ pub mod operations_status { } } pub mod orders { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -2069,7 +2069,7 @@ pub mod orders { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2139,7 +2139,7 @@ pub mod orders { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2215,7 +2215,7 @@ pub mod orders { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2287,7 +2287,7 @@ pub mod orders { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2367,7 +2367,7 @@ pub mod orders { } } pub mod list_dc_access_code { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2391,7 +2391,7 @@ pub mod orders { } } pub mod roles { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -2445,7 +2445,7 @@ pub mod roles { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2517,7 +2517,7 @@ pub mod roles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2595,7 +2595,7 @@ pub mod roles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2669,7 +2669,7 @@ pub mod roles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2699,7 +2699,7 @@ pub mod roles { } } pub mod addons { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_role( operation_config: &crate::OperationConfig, device_name: &str, @@ -2753,7 +2753,7 @@ pub mod addons { } } pub mod list_by_role { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2827,7 +2827,7 @@ pub mod addons { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2907,7 +2907,7 @@ pub mod addons { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2983,7 +2983,7 @@ pub mod addons { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3013,7 +3013,7 @@ pub mod addons { } } pub mod monitoring_config { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, device_name: &str, @@ -3064,7 +3064,7 @@ pub mod monitoring_config { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3136,7 +3136,7 @@ pub mod monitoring_config { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3214,7 +3214,7 @@ pub mod monitoring_config { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3288,7 +3288,7 @@ pub mod monitoring_config { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3318,7 +3318,7 @@ pub mod monitoring_config { } } pub mod shares { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -3372,7 +3372,7 @@ pub mod shares { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3444,7 +3444,7 @@ pub mod shares { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3522,7 +3522,7 @@ pub mod shares { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3596,7 +3596,7 @@ pub mod shares { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3674,7 +3674,7 @@ pub mod shares { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3703,7 +3703,7 @@ pub mod shares { } } pub mod storage_account_credentials { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -3757,7 +3757,7 @@ pub mod storage_account_credentials { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3829,7 +3829,7 @@ pub mod storage_account_credentials { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3907,7 +3907,7 @@ pub mod storage_account_credentials { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3981,7 +3981,7 @@ pub mod storage_account_credentials { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4011,7 +4011,7 @@ pub mod storage_account_credentials { } } pub mod storage_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -4065,7 +4065,7 @@ pub mod storage_accounts { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4137,7 +4137,7 @@ pub mod storage_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4215,7 +4215,7 @@ pub mod storage_accounts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4288,7 +4288,7 @@ pub mod storage_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4317,7 +4317,7 @@ pub mod storage_accounts { } } pub mod containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_storage_account( operation_config: &crate::OperationConfig, device_name: &str, @@ -4373,7 +4373,7 @@ pub mod containers { } } pub mod list_by_storage_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4447,7 +4447,7 @@ pub mod containers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4527,7 +4527,7 @@ pub mod containers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4602,7 +4602,7 @@ pub mod containers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4673,7 +4673,7 @@ pub mod containers { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4702,7 +4702,7 @@ pub mod containers { } } pub mod triggers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -4760,7 +4760,7 @@ pub mod triggers { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4832,7 +4832,7 @@ pub mod triggers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4910,7 +4910,7 @@ pub mod triggers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4984,7 +4984,7 @@ pub mod triggers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5014,7 +5014,7 @@ pub mod triggers { } } pub mod users { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -5072,7 +5072,7 @@ pub mod users { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5144,7 +5144,7 @@ pub mod users { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5222,7 +5222,7 @@ pub mod users { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5296,7 +5296,7 @@ pub mod users { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, diff --git a/services/mgmt/databoxedge/src/package_2021_02_01/operations.rs b/services/mgmt/databoxedge/src/package_2021_02_01/operations.rs index d5b065c917..60f1cf8e0a 100644 --- a/services/mgmt/databoxedge/src/package_2021_02_01/operations.rs +++ b/services/mgmt/databoxedge/src/package_2021_02_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DataBoxEdge/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod available_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod available_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -135,7 +135,7 @@ pub mod available_skus { } } pub mod devices { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -187,7 +187,7 @@ pub mod devices { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -264,7 +264,7 @@ pub mod devices { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -334,7 +334,7 @@ pub mod devices { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -409,7 +409,7 @@ pub mod devices { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -481,7 +481,7 @@ pub mod devices { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -548,7 +548,7 @@ pub mod devices { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -624,7 +624,7 @@ pub mod devices { } } pub mod download_updates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -703,7 +703,7 @@ pub mod devices { } } pub mod generate_certificate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -779,7 +779,7 @@ pub mod devices { } } pub mod get_extended_information { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -849,7 +849,7 @@ pub mod devices { } } pub mod install_updates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -927,7 +927,7 @@ pub mod devices { } } pub mod get_network_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -997,7 +997,7 @@ pub mod devices { } } pub mod scan_for_updates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1075,7 +1075,7 @@ pub mod devices { } } pub mod create_or_update_security_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1157,7 +1157,7 @@ pub mod devices { } } pub mod update_extended_information { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1230,7 +1230,7 @@ pub mod devices { } } pub mod get_update_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1305,7 +1305,7 @@ pub mod devices { } } pub mod upload_certificate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1329,7 +1329,7 @@ pub mod devices { } } pub mod alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -1383,7 +1383,7 @@ pub mod alerts { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1455,7 +1455,7 @@ pub mod alerts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1479,7 +1479,7 @@ pub mod alerts { } } pub mod bandwidth_schedules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -1533,7 +1533,7 @@ pub mod bandwidth_schedules { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1605,7 +1605,7 @@ pub mod bandwidth_schedules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1683,7 +1683,7 @@ pub mod bandwidth_schedules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BandwidthSchedule), @@ -1757,7 +1757,7 @@ pub mod bandwidth_schedules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1787,7 +1787,7 @@ pub mod bandwidth_schedules { } } pub mod diagnostic_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get_diagnostic_proactive_log_collection_settings( operation_config: &crate::OperationConfig, device_name: &str, @@ -1837,7 +1837,7 @@ pub mod diagnostic_settings { } } pub mod get_diagnostic_proactive_log_collection_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1909,7 +1909,7 @@ pub mod diagnostic_settings { } } pub mod update_diagnostic_proactive_log_collection_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1983,7 +1983,7 @@ pub mod diagnostic_settings { } } pub mod get_diagnostic_remote_support_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2051,7 +2051,7 @@ pub mod diagnostic_settings { } } pub mod update_diagnostic_remote_support_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2080,7 +2080,7 @@ pub mod diagnostic_settings { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, device_name: &str, @@ -2131,7 +2131,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2155,7 +2155,7 @@ pub mod jobs { } } pub mod nodes { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -2209,7 +2209,7 @@ pub mod nodes { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2233,7 +2233,7 @@ pub mod nodes { } } pub mod operations_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, device_name: &str, @@ -2284,7 +2284,7 @@ pub mod operations_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2308,7 +2308,7 @@ pub mod operations_status { } } pub mod orders { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -2362,7 +2362,7 @@ pub mod orders { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2432,7 +2432,7 @@ pub mod orders { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2508,7 +2508,7 @@ pub mod orders { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Order), @@ -2580,7 +2580,7 @@ pub mod orders { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2660,7 +2660,7 @@ pub mod orders { } } pub mod list_dc_access_code { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2684,7 +2684,7 @@ pub mod orders { } } pub mod roles { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -2738,7 +2738,7 @@ pub mod roles { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2810,7 +2810,7 @@ pub mod roles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2888,7 +2888,7 @@ pub mod roles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Role), @@ -2962,7 +2962,7 @@ pub mod roles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2992,7 +2992,7 @@ pub mod roles { } } pub mod addons { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_role( operation_config: &crate::OperationConfig, device_name: &str, @@ -3046,7 +3046,7 @@ pub mod addons { } } pub mod list_by_role { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3120,7 +3120,7 @@ pub mod addons { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3200,7 +3200,7 @@ pub mod addons { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Addon), @@ -3276,7 +3276,7 @@ pub mod addons { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3306,7 +3306,7 @@ pub mod addons { } } pub mod monitoring_config { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, device_name: &str, @@ -3357,7 +3357,7 @@ pub mod monitoring_config { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3429,7 +3429,7 @@ pub mod monitoring_config { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3507,7 +3507,7 @@ pub mod monitoring_config { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MonitoringMetricConfiguration), @@ -3581,7 +3581,7 @@ pub mod monitoring_config { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3611,7 +3611,7 @@ pub mod monitoring_config { } } pub mod shares { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -3665,7 +3665,7 @@ pub mod shares { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3737,7 +3737,7 @@ pub mod shares { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3815,7 +3815,7 @@ pub mod shares { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Share), @@ -3889,7 +3889,7 @@ pub mod shares { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3967,7 +3967,7 @@ pub mod shares { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3996,7 +3996,7 @@ pub mod shares { } } pub mod storage_account_credentials { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -4050,7 +4050,7 @@ pub mod storage_account_credentials { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4122,7 +4122,7 @@ pub mod storage_account_credentials { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4200,7 +4200,7 @@ pub mod storage_account_credentials { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageAccountCredential), @@ -4274,7 +4274,7 @@ pub mod storage_account_credentials { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4304,7 +4304,7 @@ pub mod storage_account_credentials { } } pub mod storage_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -4358,7 +4358,7 @@ pub mod storage_accounts { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4430,7 +4430,7 @@ pub mod storage_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4508,7 +4508,7 @@ pub mod storage_accounts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageAccount), @@ -4581,7 +4581,7 @@ pub mod storage_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4610,7 +4610,7 @@ pub mod storage_accounts { } } pub mod containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_storage_account( operation_config: &crate::OperationConfig, device_name: &str, @@ -4666,7 +4666,7 @@ pub mod containers { } } pub mod list_by_storage_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4740,7 +4740,7 @@ pub mod containers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4820,7 +4820,7 @@ pub mod containers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Container), @@ -4895,7 +4895,7 @@ pub mod containers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4966,7 +4966,7 @@ pub mod containers { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4995,7 +4995,7 @@ pub mod containers { } } pub mod triggers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -5053,7 +5053,7 @@ pub mod triggers { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5125,7 +5125,7 @@ pub mod triggers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5203,7 +5203,7 @@ pub mod triggers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Trigger), @@ -5277,7 +5277,7 @@ pub mod triggers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5307,7 +5307,7 @@ pub mod triggers { } } pub mod support_packages { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger_support_package( operation_config: &crate::OperationConfig, device_name: &str, @@ -5359,7 +5359,7 @@ pub mod support_packages { } } pub mod trigger_support_package { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5388,7 +5388,7 @@ pub mod support_packages { } } pub mod users { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -5446,7 +5446,7 @@ pub mod users { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5518,7 +5518,7 @@ pub mod users { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5596,7 +5596,7 @@ pub mod users { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(User), @@ -5670,7 +5670,7 @@ pub mod users { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/databoxedge/src/package_2021_02_01_preview/operations.rs b/services/mgmt/databoxedge/src/package_2021_02_01_preview/operations.rs index 8921328c47..f916e33033 100644 --- a/services/mgmt/databoxedge/src/package_2021_02_01_preview/operations.rs +++ b/services/mgmt/databoxedge/src/package_2021_02_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DataBoxEdge/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod available_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod available_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -135,7 +135,7 @@ pub mod available_skus { } } pub mod devices { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -187,7 +187,7 @@ pub mod devices { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -264,7 +264,7 @@ pub mod devices { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -334,7 +334,7 @@ pub mod devices { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -409,7 +409,7 @@ pub mod devices { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -481,7 +481,7 @@ pub mod devices { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -548,7 +548,7 @@ pub mod devices { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -624,7 +624,7 @@ pub mod devices { } } pub mod download_updates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -703,7 +703,7 @@ pub mod devices { } } pub mod generate_certificate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -779,7 +779,7 @@ pub mod devices { } } pub mod get_extended_information { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -849,7 +849,7 @@ pub mod devices { } } pub mod install_updates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -927,7 +927,7 @@ pub mod devices { } } pub mod get_network_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -997,7 +997,7 @@ pub mod devices { } } pub mod scan_for_updates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1075,7 +1075,7 @@ pub mod devices { } } pub mod create_or_update_security_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1157,7 +1157,7 @@ pub mod devices { } } pub mod update_extended_information { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1230,7 +1230,7 @@ pub mod devices { } } pub mod get_update_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1305,7 +1305,7 @@ pub mod devices { } } pub mod upload_certificate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1329,7 +1329,7 @@ pub mod devices { } } pub mod alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -1383,7 +1383,7 @@ pub mod alerts { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1455,7 +1455,7 @@ pub mod alerts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1479,7 +1479,7 @@ pub mod alerts { } } pub mod bandwidth_schedules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -1533,7 +1533,7 @@ pub mod bandwidth_schedules { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1605,7 +1605,7 @@ pub mod bandwidth_schedules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1683,7 +1683,7 @@ pub mod bandwidth_schedules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1757,7 +1757,7 @@ pub mod bandwidth_schedules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1787,7 +1787,7 @@ pub mod bandwidth_schedules { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, device_name: &str, @@ -1838,7 +1838,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1862,7 +1862,7 @@ pub mod jobs { } } pub mod nodes { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -1916,7 +1916,7 @@ pub mod nodes { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1940,7 +1940,7 @@ pub mod nodes { } } pub mod operations_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, device_name: &str, @@ -1991,7 +1991,7 @@ pub mod operations_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2015,7 +2015,7 @@ pub mod operations_status { } } pub mod orders { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -2069,7 +2069,7 @@ pub mod orders { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2139,7 +2139,7 @@ pub mod orders { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2215,7 +2215,7 @@ pub mod orders { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2287,7 +2287,7 @@ pub mod orders { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2367,7 +2367,7 @@ pub mod orders { } } pub mod list_dc_access_code { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2391,7 +2391,7 @@ pub mod orders { } } pub mod roles { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -2445,7 +2445,7 @@ pub mod roles { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2517,7 +2517,7 @@ pub mod roles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2595,7 +2595,7 @@ pub mod roles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2669,7 +2669,7 @@ pub mod roles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2699,7 +2699,7 @@ pub mod roles { } } pub mod addons { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_role( operation_config: &crate::OperationConfig, device_name: &str, @@ -2753,7 +2753,7 @@ pub mod addons { } } pub mod list_by_role { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2827,7 +2827,7 @@ pub mod addons { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2907,7 +2907,7 @@ pub mod addons { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2983,7 +2983,7 @@ pub mod addons { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3013,7 +3013,7 @@ pub mod addons { } } pub mod monitoring_config { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, device_name: &str, @@ -3064,7 +3064,7 @@ pub mod monitoring_config { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3136,7 +3136,7 @@ pub mod monitoring_config { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3214,7 +3214,7 @@ pub mod monitoring_config { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3288,7 +3288,7 @@ pub mod monitoring_config { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3318,7 +3318,7 @@ pub mod monitoring_config { } } pub mod shares { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -3372,7 +3372,7 @@ pub mod shares { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3444,7 +3444,7 @@ pub mod shares { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3522,7 +3522,7 @@ pub mod shares { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3596,7 +3596,7 @@ pub mod shares { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3674,7 +3674,7 @@ pub mod shares { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3703,7 +3703,7 @@ pub mod shares { } } pub mod storage_account_credentials { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -3757,7 +3757,7 @@ pub mod storage_account_credentials { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3829,7 +3829,7 @@ pub mod storage_account_credentials { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3907,7 +3907,7 @@ pub mod storage_account_credentials { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3981,7 +3981,7 @@ pub mod storage_account_credentials { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4011,7 +4011,7 @@ pub mod storage_account_credentials { } } pub mod storage_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -4065,7 +4065,7 @@ pub mod storage_accounts { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4137,7 +4137,7 @@ pub mod storage_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4215,7 +4215,7 @@ pub mod storage_accounts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4288,7 +4288,7 @@ pub mod storage_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4317,7 +4317,7 @@ pub mod storage_accounts { } } pub mod containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_storage_account( operation_config: &crate::OperationConfig, device_name: &str, @@ -4373,7 +4373,7 @@ pub mod containers { } } pub mod list_by_storage_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4447,7 +4447,7 @@ pub mod containers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4527,7 +4527,7 @@ pub mod containers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4602,7 +4602,7 @@ pub mod containers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4673,7 +4673,7 @@ pub mod containers { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4702,7 +4702,7 @@ pub mod containers { } } pub mod triggers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -4760,7 +4760,7 @@ pub mod triggers { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4832,7 +4832,7 @@ pub mod triggers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4910,7 +4910,7 @@ pub mod triggers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4984,7 +4984,7 @@ pub mod triggers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5014,7 +5014,7 @@ pub mod triggers { } } pub mod users { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -5072,7 +5072,7 @@ pub mod users { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5144,7 +5144,7 @@ pub mod users { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5222,7 +5222,7 @@ pub mod users { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5296,7 +5296,7 @@ pub mod users { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, diff --git a/services/mgmt/databoxedge/src/package_2021_06_01/operations.rs b/services/mgmt/databoxedge/src/package_2021_06_01/operations.rs index 95533ff3bf..4874d0f3fd 100644 --- a/services/mgmt/databoxedge/src/package_2021_06_01/operations.rs +++ b/services/mgmt/databoxedge/src/package_2021_06_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DataBoxEdge/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod available_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod available_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -135,7 +135,7 @@ pub mod available_skus { } } pub mod devices { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -187,7 +187,7 @@ pub mod devices { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -264,7 +264,7 @@ pub mod devices { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -334,7 +334,7 @@ pub mod devices { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -409,7 +409,7 @@ pub mod devices { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -481,7 +481,7 @@ pub mod devices { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -548,7 +548,7 @@ pub mod devices { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -624,7 +624,7 @@ pub mod devices { } } pub mod download_updates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -703,7 +703,7 @@ pub mod devices { } } pub mod generate_certificate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -779,7 +779,7 @@ pub mod devices { } } pub mod get_extended_information { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -849,7 +849,7 @@ pub mod devices { } } pub mod install_updates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -927,7 +927,7 @@ pub mod devices { } } pub mod get_network_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -997,7 +997,7 @@ pub mod devices { } } pub mod scan_for_updates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1075,7 +1075,7 @@ pub mod devices { } } pub mod create_or_update_security_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1157,7 +1157,7 @@ pub mod devices { } } pub mod update_extended_information { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1230,7 +1230,7 @@ pub mod devices { } } pub mod get_update_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1305,7 +1305,7 @@ pub mod devices { } } pub mod upload_certificate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1329,7 +1329,7 @@ pub mod devices { } } pub mod alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -1383,7 +1383,7 @@ pub mod alerts { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1455,7 +1455,7 @@ pub mod alerts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1479,7 +1479,7 @@ pub mod alerts { } } pub mod bandwidth_schedules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -1533,7 +1533,7 @@ pub mod bandwidth_schedules { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1605,7 +1605,7 @@ pub mod bandwidth_schedules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1683,7 +1683,7 @@ pub mod bandwidth_schedules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BandwidthSchedule), @@ -1757,7 +1757,7 @@ pub mod bandwidth_schedules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1787,7 +1787,7 @@ pub mod bandwidth_schedules { } } pub mod diagnostic_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get_diagnostic_proactive_log_collection_settings( operation_config: &crate::OperationConfig, device_name: &str, @@ -1837,7 +1837,7 @@ pub mod diagnostic_settings { } } pub mod get_diagnostic_proactive_log_collection_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1915,7 +1915,7 @@ pub mod diagnostic_settings { } } pub mod update_diagnostic_proactive_log_collection_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiagnosticProactiveLogCollectionSettings), @@ -1989,7 +1989,7 @@ pub mod diagnostic_settings { } } pub mod get_diagnostic_remote_support_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2062,7 +2062,7 @@ pub mod diagnostic_settings { } } pub mod update_diagnostic_remote_support_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2091,7 +2091,7 @@ pub mod diagnostic_settings { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, device_name: &str, @@ -2142,7 +2142,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2166,7 +2166,7 @@ pub mod jobs { } } pub mod nodes { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -2220,7 +2220,7 @@ pub mod nodes { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2244,7 +2244,7 @@ pub mod nodes { } } pub mod operations_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, device_name: &str, @@ -2295,7 +2295,7 @@ pub mod operations_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2319,7 +2319,7 @@ pub mod operations_status { } } pub mod orders { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -2373,7 +2373,7 @@ pub mod orders { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2443,7 +2443,7 @@ pub mod orders { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2519,7 +2519,7 @@ pub mod orders { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Order), @@ -2591,7 +2591,7 @@ pub mod orders { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2671,7 +2671,7 @@ pub mod orders { } } pub mod list_dc_access_code { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2695,7 +2695,7 @@ pub mod orders { } } pub mod roles { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -2749,7 +2749,7 @@ pub mod roles { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2821,7 +2821,7 @@ pub mod roles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2899,7 +2899,7 @@ pub mod roles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Role), @@ -2973,7 +2973,7 @@ pub mod roles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3003,7 +3003,7 @@ pub mod roles { } } pub mod addons { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_role( operation_config: &crate::OperationConfig, device_name: &str, @@ -3057,7 +3057,7 @@ pub mod addons { } } pub mod list_by_role { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3131,7 +3131,7 @@ pub mod addons { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3211,7 +3211,7 @@ pub mod addons { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Addon), @@ -3287,7 +3287,7 @@ pub mod addons { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3317,7 +3317,7 @@ pub mod addons { } } pub mod monitoring_config { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, device_name: &str, @@ -3368,7 +3368,7 @@ pub mod monitoring_config { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3440,7 +3440,7 @@ pub mod monitoring_config { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3518,7 +3518,7 @@ pub mod monitoring_config { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MonitoringMetricConfiguration), @@ -3592,7 +3592,7 @@ pub mod monitoring_config { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3622,7 +3622,7 @@ pub mod monitoring_config { } } pub mod shares { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -3676,7 +3676,7 @@ pub mod shares { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3748,7 +3748,7 @@ pub mod shares { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3826,7 +3826,7 @@ pub mod shares { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Share), @@ -3900,7 +3900,7 @@ pub mod shares { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3978,7 +3978,7 @@ pub mod shares { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4007,7 +4007,7 @@ pub mod shares { } } pub mod storage_account_credentials { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -4061,7 +4061,7 @@ pub mod storage_account_credentials { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4133,7 +4133,7 @@ pub mod storage_account_credentials { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4211,7 +4211,7 @@ pub mod storage_account_credentials { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageAccountCredential), @@ -4285,7 +4285,7 @@ pub mod storage_account_credentials { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4315,7 +4315,7 @@ pub mod storage_account_credentials { } } pub mod storage_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -4369,7 +4369,7 @@ pub mod storage_accounts { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4441,7 +4441,7 @@ pub mod storage_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4519,7 +4519,7 @@ pub mod storage_accounts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageAccount), @@ -4592,7 +4592,7 @@ pub mod storage_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4621,7 +4621,7 @@ pub mod storage_accounts { } } pub mod containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_storage_account( operation_config: &crate::OperationConfig, device_name: &str, @@ -4677,7 +4677,7 @@ pub mod containers { } } pub mod list_by_storage_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4751,7 +4751,7 @@ pub mod containers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4831,7 +4831,7 @@ pub mod containers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Container), @@ -4906,7 +4906,7 @@ pub mod containers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4977,7 +4977,7 @@ pub mod containers { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5006,7 +5006,7 @@ pub mod containers { } } pub mod triggers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -5064,7 +5064,7 @@ pub mod triggers { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5136,7 +5136,7 @@ pub mod triggers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5214,7 +5214,7 @@ pub mod triggers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Trigger), @@ -5288,7 +5288,7 @@ pub mod triggers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5318,7 +5318,7 @@ pub mod triggers { } } pub mod support_packages { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger_support_package( operation_config: &crate::OperationConfig, device_name: &str, @@ -5370,7 +5370,7 @@ pub mod support_packages { } } pub mod trigger_support_package { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5399,7 +5399,7 @@ pub mod support_packages { } } pub mod users { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -5457,7 +5457,7 @@ pub mod users { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5529,7 +5529,7 @@ pub mod users { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5607,7 +5607,7 @@ pub mod users { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(User), @@ -5681,7 +5681,7 @@ pub mod users { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/databoxedge/src/package_2021_06_01_preview/operations.rs b/services/mgmt/databoxedge/src/package_2021_06_01_preview/operations.rs index 95533ff3bf..4874d0f3fd 100644 --- a/services/mgmt/databoxedge/src/package_2021_06_01_preview/operations.rs +++ b/services/mgmt/databoxedge/src/package_2021_06_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DataBoxEdge/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod available_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod available_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -135,7 +135,7 @@ pub mod available_skus { } } pub mod devices { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -187,7 +187,7 @@ pub mod devices { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -264,7 +264,7 @@ pub mod devices { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -334,7 +334,7 @@ pub mod devices { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -409,7 +409,7 @@ pub mod devices { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -481,7 +481,7 @@ pub mod devices { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -548,7 +548,7 @@ pub mod devices { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -624,7 +624,7 @@ pub mod devices { } } pub mod download_updates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -703,7 +703,7 @@ pub mod devices { } } pub mod generate_certificate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -779,7 +779,7 @@ pub mod devices { } } pub mod get_extended_information { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -849,7 +849,7 @@ pub mod devices { } } pub mod install_updates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -927,7 +927,7 @@ pub mod devices { } } pub mod get_network_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -997,7 +997,7 @@ pub mod devices { } } pub mod scan_for_updates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1075,7 +1075,7 @@ pub mod devices { } } pub mod create_or_update_security_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1157,7 +1157,7 @@ pub mod devices { } } pub mod update_extended_information { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1230,7 +1230,7 @@ pub mod devices { } } pub mod get_update_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1305,7 +1305,7 @@ pub mod devices { } } pub mod upload_certificate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1329,7 +1329,7 @@ pub mod devices { } } pub mod alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -1383,7 +1383,7 @@ pub mod alerts { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1455,7 +1455,7 @@ pub mod alerts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1479,7 +1479,7 @@ pub mod alerts { } } pub mod bandwidth_schedules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -1533,7 +1533,7 @@ pub mod bandwidth_schedules { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1605,7 +1605,7 @@ pub mod bandwidth_schedules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1683,7 +1683,7 @@ pub mod bandwidth_schedules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BandwidthSchedule), @@ -1757,7 +1757,7 @@ pub mod bandwidth_schedules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1787,7 +1787,7 @@ pub mod bandwidth_schedules { } } pub mod diagnostic_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get_diagnostic_proactive_log_collection_settings( operation_config: &crate::OperationConfig, device_name: &str, @@ -1837,7 +1837,7 @@ pub mod diagnostic_settings { } } pub mod get_diagnostic_proactive_log_collection_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1915,7 +1915,7 @@ pub mod diagnostic_settings { } } pub mod update_diagnostic_proactive_log_collection_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiagnosticProactiveLogCollectionSettings), @@ -1989,7 +1989,7 @@ pub mod diagnostic_settings { } } pub mod get_diagnostic_remote_support_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2062,7 +2062,7 @@ pub mod diagnostic_settings { } } pub mod update_diagnostic_remote_support_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2091,7 +2091,7 @@ pub mod diagnostic_settings { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, device_name: &str, @@ -2142,7 +2142,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2166,7 +2166,7 @@ pub mod jobs { } } pub mod nodes { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -2220,7 +2220,7 @@ pub mod nodes { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2244,7 +2244,7 @@ pub mod nodes { } } pub mod operations_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, device_name: &str, @@ -2295,7 +2295,7 @@ pub mod operations_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2319,7 +2319,7 @@ pub mod operations_status { } } pub mod orders { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -2373,7 +2373,7 @@ pub mod orders { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2443,7 +2443,7 @@ pub mod orders { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2519,7 +2519,7 @@ pub mod orders { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Order), @@ -2591,7 +2591,7 @@ pub mod orders { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2671,7 +2671,7 @@ pub mod orders { } } pub mod list_dc_access_code { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2695,7 +2695,7 @@ pub mod orders { } } pub mod roles { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -2749,7 +2749,7 @@ pub mod roles { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2821,7 +2821,7 @@ pub mod roles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2899,7 +2899,7 @@ pub mod roles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Role), @@ -2973,7 +2973,7 @@ pub mod roles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3003,7 +3003,7 @@ pub mod roles { } } pub mod addons { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_role( operation_config: &crate::OperationConfig, device_name: &str, @@ -3057,7 +3057,7 @@ pub mod addons { } } pub mod list_by_role { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3131,7 +3131,7 @@ pub mod addons { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3211,7 +3211,7 @@ pub mod addons { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Addon), @@ -3287,7 +3287,7 @@ pub mod addons { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3317,7 +3317,7 @@ pub mod addons { } } pub mod monitoring_config { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, device_name: &str, @@ -3368,7 +3368,7 @@ pub mod monitoring_config { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3440,7 +3440,7 @@ pub mod monitoring_config { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3518,7 +3518,7 @@ pub mod monitoring_config { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MonitoringMetricConfiguration), @@ -3592,7 +3592,7 @@ pub mod monitoring_config { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3622,7 +3622,7 @@ pub mod monitoring_config { } } pub mod shares { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -3676,7 +3676,7 @@ pub mod shares { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3748,7 +3748,7 @@ pub mod shares { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3826,7 +3826,7 @@ pub mod shares { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Share), @@ -3900,7 +3900,7 @@ pub mod shares { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3978,7 +3978,7 @@ pub mod shares { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4007,7 +4007,7 @@ pub mod shares { } } pub mod storage_account_credentials { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -4061,7 +4061,7 @@ pub mod storage_account_credentials { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4133,7 +4133,7 @@ pub mod storage_account_credentials { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4211,7 +4211,7 @@ pub mod storage_account_credentials { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageAccountCredential), @@ -4285,7 +4285,7 @@ pub mod storage_account_credentials { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4315,7 +4315,7 @@ pub mod storage_account_credentials { } } pub mod storage_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -4369,7 +4369,7 @@ pub mod storage_accounts { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4441,7 +4441,7 @@ pub mod storage_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4519,7 +4519,7 @@ pub mod storage_accounts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageAccount), @@ -4592,7 +4592,7 @@ pub mod storage_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4621,7 +4621,7 @@ pub mod storage_accounts { } } pub mod containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_storage_account( operation_config: &crate::OperationConfig, device_name: &str, @@ -4677,7 +4677,7 @@ pub mod containers { } } pub mod list_by_storage_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4751,7 +4751,7 @@ pub mod containers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4831,7 +4831,7 @@ pub mod containers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Container), @@ -4906,7 +4906,7 @@ pub mod containers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4977,7 +4977,7 @@ pub mod containers { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5006,7 +5006,7 @@ pub mod containers { } } pub mod triggers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -5064,7 +5064,7 @@ pub mod triggers { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5136,7 +5136,7 @@ pub mod triggers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5214,7 +5214,7 @@ pub mod triggers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Trigger), @@ -5288,7 +5288,7 @@ pub mod triggers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5318,7 +5318,7 @@ pub mod triggers { } } pub mod support_packages { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger_support_package( operation_config: &crate::OperationConfig, device_name: &str, @@ -5370,7 +5370,7 @@ pub mod support_packages { } } pub mod trigger_support_package { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5399,7 +5399,7 @@ pub mod support_packages { } } pub mod users { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -5457,7 +5457,7 @@ pub mod users { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5529,7 +5529,7 @@ pub mod users { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5607,7 +5607,7 @@ pub mod users { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(User), @@ -5681,7 +5681,7 @@ pub mod users { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/databoxedge/src/profile_hybrid_2020_09_01/operations.rs b/services/mgmt/databoxedge/src/profile_hybrid_2020_09_01/operations.rs index 503b217e02..b1af73b26e 100644 --- a/services/mgmt/databoxedge/src/profile_hybrid_2020_09_01/operations.rs +++ b/services/mgmt/databoxedge/src/profile_hybrid_2020_09_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DataBoxEdge/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod devices { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -118,7 +118,7 @@ pub mod devices { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -195,7 +195,7 @@ pub mod devices { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -265,7 +265,7 @@ pub mod devices { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -340,7 +340,7 @@ pub mod devices { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -412,7 +412,7 @@ pub mod devices { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -479,7 +479,7 @@ pub mod devices { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -555,7 +555,7 @@ pub mod devices { } } pub mod download_updates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -636,7 +636,7 @@ pub mod devices { } } pub mod get_extended_information { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -706,7 +706,7 @@ pub mod devices { } } pub mod install_updates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -784,7 +784,7 @@ pub mod devices { } } pub mod get_network_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -854,7 +854,7 @@ pub mod devices { } } pub mod scan_for_updates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -932,7 +932,7 @@ pub mod devices { } } pub mod create_or_update_security_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1010,7 +1010,7 @@ pub mod devices { } } pub mod get_update_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1085,7 +1085,7 @@ pub mod devices { } } pub mod upload_certificate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1109,7 +1109,7 @@ pub mod devices { } } pub mod alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -1163,7 +1163,7 @@ pub mod alerts { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1235,7 +1235,7 @@ pub mod alerts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1259,7 +1259,7 @@ pub mod alerts { } } pub mod bandwidth_schedules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -1313,7 +1313,7 @@ pub mod bandwidth_schedules { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1385,7 +1385,7 @@ pub mod bandwidth_schedules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1463,7 +1463,7 @@ pub mod bandwidth_schedules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BandwidthSchedule), @@ -1537,7 +1537,7 @@ pub mod bandwidth_schedules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1567,7 +1567,7 @@ pub mod bandwidth_schedules { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, device_name: &str, @@ -1618,7 +1618,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1642,7 +1642,7 @@ pub mod jobs { } } pub mod nodes { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -1696,7 +1696,7 @@ pub mod nodes { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1720,7 +1720,7 @@ pub mod nodes { } } pub mod operations_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, device_name: &str, @@ -1771,7 +1771,7 @@ pub mod operations_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1795,7 +1795,7 @@ pub mod operations_status { } } pub mod orders { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -1849,7 +1849,7 @@ pub mod orders { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1919,7 +1919,7 @@ pub mod orders { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1995,7 +1995,7 @@ pub mod orders { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Order), @@ -2067,7 +2067,7 @@ pub mod orders { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2097,7 +2097,7 @@ pub mod orders { } } pub mod roles { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -2151,7 +2151,7 @@ pub mod roles { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2223,7 +2223,7 @@ pub mod roles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2301,7 +2301,7 @@ pub mod roles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Role), @@ -2375,7 +2375,7 @@ pub mod roles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2405,7 +2405,7 @@ pub mod roles { } } pub mod shares { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -2459,7 +2459,7 @@ pub mod shares { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2531,7 +2531,7 @@ pub mod shares { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2609,7 +2609,7 @@ pub mod shares { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Share), @@ -2683,7 +2683,7 @@ pub mod shares { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2761,7 +2761,7 @@ pub mod shares { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2790,7 +2790,7 @@ pub mod shares { } } pub mod storage_account_credentials { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -2844,7 +2844,7 @@ pub mod storage_account_credentials { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2916,7 +2916,7 @@ pub mod storage_account_credentials { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2994,7 +2994,7 @@ pub mod storage_account_credentials { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageAccountCredential), @@ -3068,7 +3068,7 @@ pub mod storage_account_credentials { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3098,7 +3098,7 @@ pub mod storage_account_credentials { } } pub mod storage_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -3152,7 +3152,7 @@ pub mod storage_accounts { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3224,7 +3224,7 @@ pub mod storage_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3302,7 +3302,7 @@ pub mod storage_accounts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageAccount), @@ -3375,7 +3375,7 @@ pub mod storage_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3404,7 +3404,7 @@ pub mod storage_accounts { } } pub mod containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_storage_account( operation_config: &crate::OperationConfig, device_name: &str, @@ -3460,7 +3460,7 @@ pub mod containers { } } pub mod list_by_storage_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3534,7 +3534,7 @@ pub mod containers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3614,7 +3614,7 @@ pub mod containers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Container), @@ -3689,7 +3689,7 @@ pub mod containers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3760,7 +3760,7 @@ pub mod containers { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3789,7 +3789,7 @@ pub mod containers { } } pub mod triggers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -3847,7 +3847,7 @@ pub mod triggers { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3919,7 +3919,7 @@ pub mod triggers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3997,7 +3997,7 @@ pub mod triggers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Trigger), @@ -4071,7 +4071,7 @@ pub mod triggers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4101,7 +4101,7 @@ pub mod triggers { } } pub mod users { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_box_edge_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -4159,7 +4159,7 @@ pub mod users { } } pub mod list_by_data_box_edge_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4231,7 +4231,7 @@ pub mod users { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4309,7 +4309,7 @@ pub mod users { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(User), @@ -4383,7 +4383,7 @@ pub mod users { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4413,7 +4413,7 @@ pub mod users { } } pub mod skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4462,7 +4462,7 @@ pub mod skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/databricks/Cargo.toml b/services/mgmt/databricks/Cargo.toml index 8ae1e875e5..10c9f99886 100644 --- a/services/mgmt/databricks/Cargo.toml +++ b/services/mgmt/databricks/Cargo.toml @@ -20,4 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2018-04-01"] +no-default-version = [] "package-2018-04-01" = [] diff --git a/services/mgmt/databricks/src/lib.rs b/services/mgmt/databricks/src/lib.rs index 623fc59be8..b4c18b28e0 100644 --- a/services/mgmt/databricks/src/lib.rs +++ b/services/mgmt/databricks/src/lib.rs @@ -1,9 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2018-04-01")] -mod package_2018_04_01; +pub mod package_2018_04_01; use azure_core::setters; -#[cfg(feature = "package-2018-04-01")] +#[cfg(all(feature = "package-2018-04-01", not(feature = "no-default-version")))] pub use package_2018_04_01::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -27,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/databricks/src/package_2018_04_01/operations.rs b/services/mgmt/databricks/src/package_2018_04_01/operations.rs index d41c451687..559c544574 100644 --- a/services/mgmt/databricks/src/package_2018_04_01/operations.rs +++ b/services/mgmt/databricks/src/package_2018_04_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -212,7 +212,7 @@ pub mod workspaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -284,7 +284,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -363,7 +363,7 @@ pub mod workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -432,7 +432,7 @@ pub mod workspaces { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -456,7 +456,7 @@ pub mod workspaces { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Databricks/operations", operation_config.base_path(),); @@ -494,7 +494,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -518,7 +518,7 @@ pub mod operations { } } pub mod v_net_peering { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -570,7 +570,7 @@ pub mod v_net_peering { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkPeering), @@ -658,7 +658,7 @@ pub mod v_net_peering { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(VirtualNetworkPeering), @@ -732,7 +732,7 @@ pub mod v_net_peering { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -811,7 +811,7 @@ pub mod v_net_peering { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/datacatalog/Cargo.toml b/services/mgmt/datacatalog/Cargo.toml index b4eea14cec..8efb31862b 100644 --- a/services/mgmt/datacatalog/Cargo.toml +++ b/services/mgmt/datacatalog/Cargo.toml @@ -20,4 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2016-03-30"] +no-default-version = [] "package-2016-03-30" = [] diff --git a/services/mgmt/datacatalog/src/lib.rs b/services/mgmt/datacatalog/src/lib.rs index 8a3470b52a..9cfaadfa97 100644 --- a/services/mgmt/datacatalog/src/lib.rs +++ b/services/mgmt/datacatalog/src/lib.rs @@ -1,9 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2016-03-30")] -mod package_2016_03_30; +pub mod package_2016_03_30; use azure_core::setters; -#[cfg(feature = "package-2016-03-30")] +#[cfg(all(feature = "package-2016-03-30", not(feature = "no-default-version")))] pub use package_2016_03_30::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -27,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/datacatalog/src/package_2016_03_30/operations.rs b/services/mgmt/datacatalog/src/package_2016_03_30/operations.rs index 43c97367e7..03c58e50bc 100644 --- a/services/mgmt/datacatalog/src/package_2016_03_30/operations.rs +++ b/services/mgmt/datacatalog/src/package_2016_03_30/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod adc_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DataCatalog/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod adc_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod adc_operations { } } pub mod adc_catalogs { - use crate::models::*; + use super::{models, models::*}; pub async fn listt_by_resource_group( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod adc_catalogs { } } pub mod listt_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -176,7 +176,7 @@ pub mod adc_catalogs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -252,7 +252,7 @@ pub mod adc_catalogs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AdcCatalog), @@ -324,7 +324,7 @@ pub mod adc_catalogs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -386,7 +386,7 @@ pub mod adc_catalogs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/datadog/Cargo.toml b/services/mgmt/datadog/Cargo.toml index 54e161a44c..6658c6fe45 100644 --- a/services/mgmt/datadog/Cargo.toml +++ b/services/mgmt/datadog/Cargo.toml @@ -20,5 +20,6 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-03"] +no-default-version = [] "package-2021-03" = [] "package-2020-02-preview" = [] diff --git a/services/mgmt/datadog/src/lib.rs b/services/mgmt/datadog/src/lib.rs index 32e9392af2..7b702cd6e9 100644 --- a/services/mgmt/datadog/src/lib.rs +++ b/services/mgmt/datadog/src/lib.rs @@ -1,13 +1,21 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-03")] -mod package_2021_03; -#[cfg(feature = "package-2021-03")] +pub mod package_2021_03; +#[cfg(all(feature = "package-2021-03", not(feature = "no-default-version")))] pub use package_2021_03::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-02-preview")] -mod package_2020_02_preview; +pub mod package_2020_02_preview; use azure_core::setters; -#[cfg(feature = "package-2020-02-preview")] +#[cfg(all(feature = "package-2020-02-preview", not(feature = "no-default-version")))] pub use package_2020_02_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -31,7 +39,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/datadog/src/package_2020_02_preview/operations.rs b/services/mgmt/datadog/src/package_2020_02_preview/operations.rs index e6250f6821..a23505c4da 100644 --- a/services/mgmt/datadog/src/package_2020_02_preview/operations.rs +++ b/services/mgmt/datadog/src/package_2020_02_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod marketplace_agreements { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -49,7 +49,7 @@ pub mod marketplace_agreements { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -124,7 +124,7 @@ pub mod marketplace_agreements { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -148,7 +148,7 @@ pub mod marketplace_agreements { } } pub mod monitors { - use crate::models::*; + use super::{models, models::*}; pub async fn list_api_keys( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -201,7 +201,7 @@ pub mod monitors { } } pub mod list_api_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -275,7 +275,7 @@ pub mod monitors { } } pub mod get_default_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -349,7 +349,7 @@ pub mod monitors { } } pub mod set_default_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -423,7 +423,7 @@ pub mod monitors { } } pub mod list_hosts { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -499,7 +499,7 @@ pub mod monitors { } } pub mod list_linked_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -575,7 +575,7 @@ pub mod monitors { } } pub mod list_monitored_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -641,7 +641,7 @@ pub mod monitors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -714,7 +714,7 @@ pub mod monitors { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -784,7 +784,7 @@ pub mod monitors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -866,7 +866,7 @@ pub mod monitors { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatadogMonitorResource), @@ -953,7 +953,7 @@ pub mod monitors { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatadogMonitorResource), @@ -1025,7 +1025,7 @@ pub mod monitors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1107,7 +1107,7 @@ pub mod monitors { } } pub mod refresh_set_password_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1131,7 +1131,7 @@ pub mod monitors { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Datadog/operations", operation_config.base_path(),); @@ -1169,7 +1169,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1193,7 +1193,7 @@ pub mod operations { } } pub mod tag_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1242,7 +1242,7 @@ pub mod tag_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1314,7 +1314,7 @@ pub mod tag_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1395,7 +1395,7 @@ pub mod tag_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1419,7 +1419,7 @@ pub mod tag_rules { } } pub mod single_sign_on_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1468,7 +1468,7 @@ pub mod single_sign_on_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1540,7 +1540,7 @@ pub mod single_sign_on_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1627,7 +1627,7 @@ pub mod single_sign_on_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatadogSingleSignOnResource), diff --git a/services/mgmt/datadog/src/package_2021_03/operations.rs b/services/mgmt/datadog/src/package_2021_03/operations.rs index a3116fa781..1e46e61476 100644 --- a/services/mgmt/datadog/src/package_2021_03/operations.rs +++ b/services/mgmt/datadog/src/package_2021_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod marketplace_agreements { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -49,7 +49,7 @@ pub mod marketplace_agreements { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -124,7 +124,7 @@ pub mod marketplace_agreements { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -148,7 +148,7 @@ pub mod marketplace_agreements { } } pub mod monitors { - use crate::models::*; + use super::{models, models::*}; pub async fn list_api_keys( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -201,7 +201,7 @@ pub mod monitors { } } pub mod list_api_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -275,7 +275,7 @@ pub mod monitors { } } pub mod get_default_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -349,7 +349,7 @@ pub mod monitors { } } pub mod set_default_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -423,7 +423,7 @@ pub mod monitors { } } pub mod list_hosts { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -499,7 +499,7 @@ pub mod monitors { } } pub mod list_linked_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -575,7 +575,7 @@ pub mod monitors { } } pub mod list_monitored_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -641,7 +641,7 @@ pub mod monitors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -714,7 +714,7 @@ pub mod monitors { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -784,7 +784,7 @@ pub mod monitors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -866,7 +866,7 @@ pub mod monitors { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatadogMonitorResource), @@ -953,7 +953,7 @@ pub mod monitors { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatadogMonitorResource), @@ -1025,7 +1025,7 @@ pub mod monitors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1107,7 +1107,7 @@ pub mod monitors { } } pub mod refresh_set_password_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1131,7 +1131,7 @@ pub mod monitors { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Datadog/operations", operation_config.base_path(),); @@ -1169,7 +1169,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1193,7 +1193,7 @@ pub mod operations { } } pub mod tag_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1242,7 +1242,7 @@ pub mod tag_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1314,7 +1314,7 @@ pub mod tag_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1395,7 +1395,7 @@ pub mod tag_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1419,7 +1419,7 @@ pub mod tag_rules { } } pub mod single_sign_on_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1468,7 +1468,7 @@ pub mod single_sign_on_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1540,7 +1540,7 @@ pub mod single_sign_on_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1627,7 +1627,7 @@ pub mod single_sign_on_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatadogSingleSignOnResource), diff --git a/services/mgmt/datafactory/Cargo.toml b/services/mgmt/datafactory/Cargo.toml index 62c0e5e130..3a64058dbc 100644 --- a/services/mgmt/datafactory/Cargo.toml +++ b/services/mgmt/datafactory/Cargo.toml @@ -20,5 +20,6 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2018-06"] +no-default-version = [] "package-2018-06" = [] "package-2017-09-preview" = [] diff --git a/services/mgmt/datafactory/src/lib.rs b/services/mgmt/datafactory/src/lib.rs index 824b859141..3dd6ad28ed 100644 --- a/services/mgmt/datafactory/src/lib.rs +++ b/services/mgmt/datafactory/src/lib.rs @@ -1,13 +1,21 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2018-06")] -mod package_2018_06; -#[cfg(feature = "package-2018-06")] +pub mod package_2018_06; +#[cfg(all(feature = "package-2018-06", not(feature = "no-default-version")))] pub use package_2018_06::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-09-preview")] -mod package_2017_09_preview; +pub mod package_2017_09_preview; use azure_core::setters; -#[cfg(feature = "package-2017-09-preview")] +#[cfg(all(feature = "package-2017-09-preview", not(feature = "no-default-version")))] pub use package_2017_09_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -31,7 +39,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/datafactory/src/package_2017_09_preview/operations.rs b/services/mgmt/datafactory/src/package_2017_09_preview/operations.rs index 22e71474ae..ce44a195fa 100644 --- a/services/mgmt/datafactory/src/package_2017_09_preview/operations.rs +++ b/services/mgmt/datafactory/src/package_2017_09_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DataFactory/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod factories { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod factories { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -186,7 +186,7 @@ pub mod factories { } } pub mod configure_factory_repo { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -259,7 +259,7 @@ pub mod factories { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -329,7 +329,7 @@ pub mod factories { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -404,7 +404,7 @@ pub mod factories { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -476,7 +476,7 @@ pub mod factories { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -542,7 +542,7 @@ pub mod factories { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -618,7 +618,7 @@ pub mod factories { } } pub mod cancel_pipeline_run { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -642,7 +642,7 @@ pub mod factories { } } pub mod integration_runtimes { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_factory( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -694,7 +694,7 @@ pub mod integration_runtimes { } } pub mod list_by_factory { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -766,7 +766,7 @@ pub mod integration_runtimes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -847,7 +847,7 @@ pub mod integration_runtimes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -921,7 +921,7 @@ pub mod integration_runtimes { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -989,7 +989,7 @@ pub mod integration_runtimes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1070,7 +1070,7 @@ pub mod integration_runtimes { } } pub mod get_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1146,7 +1146,7 @@ pub mod integration_runtimes { } } pub mod get_connection_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1223,7 +1223,7 @@ pub mod integration_runtimes { } } pub mod regenerate_auth_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1299,7 +1299,7 @@ pub mod integration_runtimes { } } pub mod list_auth_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1373,7 +1373,7 @@ pub mod integration_runtimes { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IntegrationRuntimeStatusResponse), @@ -1447,7 +1447,7 @@ pub mod integration_runtimes { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1525,7 +1525,7 @@ pub mod integration_runtimes { } } pub mod remove_node { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1601,7 +1601,7 @@ pub mod integration_runtimes { } } pub mod sync_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1677,7 +1677,7 @@ pub mod integration_runtimes { } } pub mod get_monitoring_data { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1748,7 +1748,7 @@ pub mod integration_runtimes { } } pub mod upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1772,7 +1772,7 @@ pub mod integration_runtimes { } } pub mod integration_runtime_nodes { - use crate::models::*; + use super::{models, models::*}; pub async fn update( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1827,7 +1827,7 @@ pub mod integration_runtime_nodes { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1897,7 +1897,7 @@ pub mod integration_runtime_nodes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1980,7 +1980,7 @@ pub mod integration_runtime_nodes { } } pub mod get_ip_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2004,7 +2004,7 @@ pub mod integration_runtime_nodes { } } pub mod linked_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_factory( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2056,7 +2056,7 @@ pub mod linked_services { } } pub mod list_by_factory { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2128,7 +2128,7 @@ pub mod linked_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2209,7 +2209,7 @@ pub mod linked_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2277,7 +2277,7 @@ pub mod linked_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2306,7 +2306,7 @@ pub mod linked_services { } } pub mod datasets { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_factory( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2358,7 +2358,7 @@ pub mod datasets { } } pub mod list_by_factory { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2430,7 +2430,7 @@ pub mod datasets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2511,7 +2511,7 @@ pub mod datasets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2579,7 +2579,7 @@ pub mod datasets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2608,7 +2608,7 @@ pub mod datasets { } } pub mod pipelines { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_factory( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2660,7 +2660,7 @@ pub mod pipelines { } } pub mod list_by_factory { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2732,7 +2732,7 @@ pub mod pipelines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2813,7 +2813,7 @@ pub mod pipelines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2881,7 +2881,7 @@ pub mod pipelines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2967,7 +2967,7 @@ pub mod pipelines { } } pub mod create_run { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2991,7 +2991,7 @@ pub mod pipelines { } } pub mod pipeline_runs { - use crate::models::*; + use super::{models, models::*}; pub async fn query_by_factory( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3045,7 +3045,7 @@ pub mod pipeline_runs { } } pub mod query_by_factory { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3117,7 +3117,7 @@ pub mod pipeline_runs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3141,7 +3141,7 @@ pub mod pipeline_runs { } } pub mod activity_runs { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_pipeline_run( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3211,7 +3211,7 @@ pub mod activity_runs { } } pub mod list_by_pipeline_run { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3235,7 +3235,7 @@ pub mod activity_runs { } } pub mod triggers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_factory( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3287,7 +3287,7 @@ pub mod triggers { } } pub mod list_by_factory { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3359,7 +3359,7 @@ pub mod triggers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3440,7 +3440,7 @@ pub mod triggers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3508,7 +3508,7 @@ pub mod triggers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3581,7 +3581,7 @@ pub mod triggers { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3649,7 +3649,7 @@ pub mod triggers { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3728,7 +3728,7 @@ pub mod triggers { } } pub mod list_runs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/datafactory/src/package_2018_06/operations.rs b/services/mgmt/datafactory/src/package_2018_06/operations.rs index 81df45e240..ee9d2851ef 100644 --- a/services/mgmt/datafactory/src/package_2018_06/operations.rs +++ b/services/mgmt/datafactory/src/package_2018_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DataFactory/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod factories { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod factories { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -186,7 +186,7 @@ pub mod factories { } } pub mod configure_factory_repo { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -259,7 +259,7 @@ pub mod factories { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -334,7 +334,7 @@ pub mod factories { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -415,7 +415,7 @@ pub mod factories { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -487,7 +487,7 @@ pub mod factories { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -553,7 +553,7 @@ pub mod factories { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -635,7 +635,7 @@ pub mod factories { } } pub mod get_git_hub_access_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -712,7 +712,7 @@ pub mod factories { } } pub mod get_data_plane_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -736,7 +736,7 @@ pub mod factories { } } pub mod exposure_control { - use crate::models::*; + use super::{models, models::*}; pub async fn get_feature_value( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -788,7 +788,7 @@ pub mod exposure_control { } } pub mod get_feature_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -865,7 +865,7 @@ pub mod exposure_control { } } pub mod get_feature_value_by_factory { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -943,7 +943,7 @@ pub mod exposure_control { } } pub mod query_feature_values_by_factory { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -967,7 +967,7 @@ pub mod exposure_control { } } pub mod integration_runtimes { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_factory( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1019,7 +1019,7 @@ pub mod integration_runtimes { } } pub mod list_by_factory { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1096,7 +1096,7 @@ pub mod integration_runtimes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1179,7 +1179,7 @@ pub mod integration_runtimes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1253,7 +1253,7 @@ pub mod integration_runtimes { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1321,7 +1321,7 @@ pub mod integration_runtimes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1402,7 +1402,7 @@ pub mod integration_runtimes { } } pub mod get_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1475,7 +1475,7 @@ pub mod integration_runtimes { } } pub mod list_outbound_network_dependencies_endpoints { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1551,7 +1551,7 @@ pub mod integration_runtimes { } } pub mod get_connection_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1628,7 +1628,7 @@ pub mod integration_runtimes { } } pub mod regenerate_auth_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1704,7 +1704,7 @@ pub mod integration_runtimes { } } pub mod list_auth_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1778,7 +1778,7 @@ pub mod integration_runtimes { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IntegrationRuntimeStatusResponse), @@ -1852,7 +1852,7 @@ pub mod integration_runtimes { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1928,7 +1928,7 @@ pub mod integration_runtimes { } } pub mod sync_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2004,7 +2004,7 @@ pub mod integration_runtimes { } } pub mod get_monitoring_data { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2075,7 +2075,7 @@ pub mod integration_runtimes { } } pub mod upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2147,7 +2147,7 @@ pub mod integration_runtimes { } } pub mod remove_links { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2220,7 +2220,7 @@ pub mod integration_runtimes { } } pub mod create_linked_integration_runtime { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2244,7 +2244,7 @@ pub mod integration_runtimes { } } pub mod integration_runtime_object_metadata { - use crate::models::*; + use super::{models, models::*}; pub async fn refresh( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2293,7 +2293,7 @@ pub mod integration_runtime_object_metadata { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SsisObjectMetadataStatusResponse), @@ -2376,7 +2376,7 @@ pub mod integration_runtime_object_metadata { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2400,7 +2400,7 @@ pub mod integration_runtime_object_metadata { } } pub mod integration_runtime_nodes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2453,7 +2453,7 @@ pub mod integration_runtime_nodes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2529,7 +2529,7 @@ pub mod integration_runtime_nodes { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2599,7 +2599,7 @@ pub mod integration_runtime_nodes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2682,7 +2682,7 @@ pub mod integration_runtime_nodes { } } pub mod get_ip_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2706,7 +2706,7 @@ pub mod integration_runtime_nodes { } } pub mod linked_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_factory( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2758,7 +2758,7 @@ pub mod linked_services { } } pub mod list_by_factory { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2835,7 +2835,7 @@ pub mod linked_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2918,7 +2918,7 @@ pub mod linked_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2986,7 +2986,7 @@ pub mod linked_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3015,7 +3015,7 @@ pub mod linked_services { } } pub mod datasets { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_factory( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3067,7 +3067,7 @@ pub mod datasets { } } pub mod list_by_factory { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3144,7 +3144,7 @@ pub mod datasets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -3227,7 +3227,7 @@ pub mod datasets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3295,7 +3295,7 @@ pub mod datasets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3324,7 +3324,7 @@ pub mod datasets { } } pub mod pipelines { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_factory( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3376,7 +3376,7 @@ pub mod pipelines { } } pub mod list_by_factory { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3453,7 +3453,7 @@ pub mod pipelines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -3536,7 +3536,7 @@ pub mod pipelines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3604,7 +3604,7 @@ pub mod pipelines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3708,7 +3708,7 @@ pub mod pipelines { } } pub mod create_run { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3732,7 +3732,7 @@ pub mod pipelines { } } pub mod pipeline_runs { - use crate::models::*; + use super::{models, models::*}; pub async fn query_by_factory( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3786,7 +3786,7 @@ pub mod pipeline_runs { } } pub mod query_by_factory { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3858,7 +3858,7 @@ pub mod pipeline_runs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3930,7 +3930,7 @@ pub mod pipeline_runs { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3954,7 +3954,7 @@ pub mod pipeline_runs { } } pub mod activity_runs { - use crate::models::*; + use super::{models, models::*}; pub async fn query_by_pipeline_run( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4012,7 +4012,7 @@ pub mod activity_runs { } } pub mod query_by_pipeline_run { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4036,7 +4036,7 @@ pub mod activity_runs { } } pub mod triggers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_factory( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4088,7 +4088,7 @@ pub mod triggers { } } pub mod list_by_factory { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4163,7 +4163,7 @@ pub mod triggers { } } pub mod query_by_factory { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4240,7 +4240,7 @@ pub mod triggers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -4323,7 +4323,7 @@ pub mod triggers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4391,7 +4391,7 @@ pub mod triggers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4473,7 +4473,7 @@ pub mod triggers { } } pub mod subscribe_to_events { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TriggerSubscriptionOperationStatus), @@ -4556,7 +4556,7 @@ pub mod triggers { } } pub mod get_event_subscription_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4635,7 +4635,7 @@ pub mod triggers { } } pub mod unsubscribe_from_events { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TriggerSubscriptionOperationStatus), @@ -4708,7 +4708,7 @@ pub mod triggers { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4776,7 +4776,7 @@ pub mod triggers { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4800,7 +4800,7 @@ pub mod triggers { } } pub mod trigger_runs { - use crate::models::*; + use super::{models, models::*}; pub async fn rerun( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4849,7 +4849,7 @@ pub mod trigger_runs { } } pub mod rerun { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4919,7 +4919,7 @@ pub mod trigger_runs { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4994,7 +4994,7 @@ pub mod trigger_runs { } } pub mod query_by_factory { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5018,7 +5018,7 @@ pub mod trigger_runs { } } pub mod data_flows { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5073,7 +5073,7 @@ pub mod data_flows { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5154,7 +5154,7 @@ pub mod data_flows { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5222,7 +5222,7 @@ pub mod data_flows { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5300,7 +5300,7 @@ pub mod data_flows { } } pub mod list_by_factory { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5324,7 +5324,7 @@ pub mod data_flows { } } pub mod data_flow_debug_session { - use crate::models::*; + use super::{models, models::*}; pub async fn create( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5376,7 +5376,7 @@ pub mod data_flow_debug_session { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5455,7 +5455,7 @@ pub mod data_flow_debug_session { } } pub mod query_by_factory { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5530,7 +5530,7 @@ pub mod data_flow_debug_session { } } pub mod add_data_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5597,7 +5597,7 @@ pub mod data_flow_debug_session { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5673,7 +5673,7 @@ pub mod data_flow_debug_session { } } pub mod execute_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5702,7 +5702,7 @@ pub mod data_flow_debug_session { } } pub mod managed_virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_factory( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5754,7 +5754,7 @@ pub mod managed_virtual_networks { } } pub mod list_by_factory { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5830,7 +5830,7 @@ pub mod managed_virtual_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5911,7 +5911,7 @@ pub mod managed_virtual_networks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5935,7 +5935,7 @@ pub mod managed_virtual_networks { } } pub mod managed_private_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_factory( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5982,7 +5982,7 @@ pub mod managed_private_endpoints { } } pub mod list_by_factory { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6052,7 +6052,7 @@ pub mod managed_private_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6127,7 +6127,7 @@ pub mod managed_private_endpoints { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6189,7 +6189,7 @@ pub mod managed_private_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6218,7 +6218,7 @@ pub mod managed_private_endpoints { } } pub mod private_end_point_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_factory( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6270,7 +6270,7 @@ pub mod private_end_point_connections { } } pub mod list_by_factory { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6294,7 +6294,7 @@ pub mod private_end_point_connections { } } pub mod private_endpoint_connection { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6349,7 +6349,7 @@ pub mod private_endpoint_connection { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6430,7 +6430,7 @@ pub mod private_endpoint_connection { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6498,7 +6498,7 @@ pub mod private_endpoint_connection { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6527,7 +6527,7 @@ pub mod private_endpoint_connection { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6576,7 +6576,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/datalake_analytics/Cargo.toml b/services/mgmt/datalake_analytics/Cargo.toml index ed73e275d9..0563b17dcf 100644 --- a/services/mgmt/datalake_analytics/Cargo.toml +++ b/services/mgmt/datalake_analytics/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2016-11"] +no-default-version = [] "package-preview-2019-11" = [] "package-2016-11" = [] "package-2015-10-preview" = [] diff --git a/services/mgmt/datalake_analytics/src/lib.rs b/services/mgmt/datalake_analytics/src/lib.rs index bd59804470..7b34892b45 100644 --- a/services/mgmt/datalake_analytics/src/lib.rs +++ b/services/mgmt/datalake_analytics/src/lib.rs @@ -1,17 +1,25 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-preview-2019-11")] -mod package_preview_2019_11; -#[cfg(feature = "package-preview-2019-11")] +pub mod package_preview_2019_11; +#[cfg(all(feature = "package-preview-2019-11", not(feature = "no-default-version")))] pub use package_preview_2019_11::{models, operations, API_VERSION}; #[cfg(feature = "package-2016-11")] -mod package_2016_11; -#[cfg(feature = "package-2016-11")] +pub mod package_2016_11; +#[cfg(all(feature = "package-2016-11", not(feature = "no-default-version")))] pub use package_2016_11::{models, operations, API_VERSION}; #[cfg(feature = "package-2015-10-preview")] -mod package_2015_10_preview; +pub mod package_2015_10_preview; use azure_core::setters; -#[cfg(feature = "package-2015-10-preview")] +#[cfg(all(feature = "package-2015-10-preview", not(feature = "no-default-version")))] pub use package_2015_10_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -35,7 +43,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/datalake_analytics/src/package_2015_10_preview/operations.rs b/services/mgmt/datalake_analytics/src/package_2015_10_preview/operations.rs index 5385b2315a..e42be8df24 100644 --- a/services/mgmt/datalake_analytics/src/package_2015_10_preview/operations.rs +++ b/services/mgmt/datalake_analytics/src/package_2015_10_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod account { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -73,7 +73,7 @@ pub mod account { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -170,7 +170,7 @@ pub mod account { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -240,7 +240,7 @@ pub mod account { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -318,7 +318,7 @@ pub mod account { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataLakeAnalyticsAccount), @@ -411,7 +411,7 @@ pub mod account { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataLakeAnalyticsAccount), @@ -484,7 +484,7 @@ pub mod account { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -589,7 +589,7 @@ pub mod account { } } pub mod list_data_lake_store_accounts { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -666,7 +666,7 @@ pub mod account { } } pub mod get_data_lake_store_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -744,7 +744,7 @@ pub mod account { } } pub mod add_data_lake_store_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -817,7 +817,7 @@ pub mod account { } } pub mod delete_data_lake_store_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -921,7 +921,7 @@ pub mod account { } } pub mod list_storage_accounts { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -996,7 +996,7 @@ pub mod account { } } pub mod get_storage_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1068,7 +1068,7 @@ pub mod account { } } pub mod add_storage_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1146,7 +1146,7 @@ pub mod account { } } pub mod update_storage_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1219,7 +1219,7 @@ pub mod account { } } pub mod delete_storage_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1301,7 +1301,7 @@ pub mod account { } } pub mod list_storage_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1380,7 +1380,7 @@ pub mod account { } } pub mod get_storage_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1450,7 +1450,7 @@ pub mod account { } } pub mod list_sas_tokens { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1474,7 +1474,7 @@ pub mod account { } } pub mod compute_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1526,7 +1526,7 @@ pub mod compute_policies { } } pub mod list_by_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1598,7 +1598,7 @@ pub mod compute_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1675,7 +1675,7 @@ pub mod compute_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1753,7 +1753,7 @@ pub mod compute_policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1821,7 +1821,7 @@ pub mod compute_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1850,7 +1850,7 @@ pub mod compute_policies { } } pub mod firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1902,7 +1902,7 @@ pub mod firewall_rules { } } pub mod list_by_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1974,7 +1974,7 @@ pub mod firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2051,7 +2051,7 @@ pub mod firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2129,7 +2129,7 @@ pub mod firewall_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2197,7 +2197,7 @@ pub mod firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2226,7 +2226,7 @@ pub mod firewall_rules { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DataLakeAnalytics/operations", operation_config.base_path(),); @@ -2264,7 +2264,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2288,7 +2288,7 @@ pub mod operations { } } pub mod locations { - use crate::models::*; + use super::{models, models::*}; pub async fn get_capability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2338,7 +2338,7 @@ pub mod locations { } } pub mod get_capability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2362,7 +2362,7 @@ pub mod locations { } } pub mod accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2416,7 +2416,7 @@ pub mod accounts { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/datalake_analytics/src/package_2016_11/operations.rs b/services/mgmt/datalake_analytics/src/package_2016_11/operations.rs index c50f2bdbc8..896cc0e93f 100644 --- a/services/mgmt/datalake_analytics/src/package_2016_11/operations.rs +++ b/services/mgmt/datalake_analytics/src/package_2016_11/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -73,7 +73,7 @@ pub mod accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -170,7 +170,7 @@ pub mod accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -240,7 +240,7 @@ pub mod accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -318,7 +318,7 @@ pub mod accounts { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataLakeAnalyticsAccount), @@ -411,7 +411,7 @@ pub mod accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataLakeAnalyticsAccount), @@ -484,7 +484,7 @@ pub mod accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -565,7 +565,7 @@ pub mod accounts { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -589,7 +589,7 @@ pub mod accounts { } } pub mod data_lake_store_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -665,7 +665,7 @@ pub mod data_lake_store_accounts { } } pub mod list_by_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -737,7 +737,7 @@ pub mod data_lake_store_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -810,7 +810,7 @@ pub mod data_lake_store_accounts { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -877,7 +877,7 @@ pub mod data_lake_store_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -901,7 +901,7 @@ pub mod data_lake_store_accounts { } } pub mod storage_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -977,7 +977,7 @@ pub mod storage_accounts { } } pub mod list_by_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1049,7 +1049,7 @@ pub mod storage_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1118,7 +1118,7 @@ pub mod storage_accounts { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1191,7 +1191,7 @@ pub mod storage_accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1258,7 +1258,7 @@ pub mod storage_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1335,7 +1335,7 @@ pub mod storage_accounts { } } pub mod list_storage_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1414,7 +1414,7 @@ pub mod storage_accounts { } } pub mod get_storage_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1484,7 +1484,7 @@ pub mod storage_accounts { } } pub mod list_sas_tokens { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1508,7 +1508,7 @@ pub mod storage_accounts { } } pub mod compute_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1560,7 +1560,7 @@ pub mod compute_policies { } } pub mod list_by_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1632,7 +1632,7 @@ pub mod compute_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1709,7 +1709,7 @@ pub mod compute_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1787,7 +1787,7 @@ pub mod compute_policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1855,7 +1855,7 @@ pub mod compute_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1884,7 +1884,7 @@ pub mod compute_policies { } } pub mod firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1936,7 +1936,7 @@ pub mod firewall_rules { } } pub mod list_by_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2008,7 +2008,7 @@ pub mod firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2085,7 +2085,7 @@ pub mod firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2163,7 +2163,7 @@ pub mod firewall_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2231,7 +2231,7 @@ pub mod firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2260,7 +2260,7 @@ pub mod firewall_rules { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DataLakeAnalytics/operations", operation_config.base_path(),); @@ -2298,7 +2298,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2322,7 +2322,7 @@ pub mod operations { } } pub mod locations { - use crate::models::*; + use super::{models, models::*}; pub async fn get_capability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2373,7 +2373,7 @@ pub mod locations { } } pub mod get_capability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] diff --git a/services/mgmt/datalake_analytics/src/package_preview_2019_11/operations.rs b/services/mgmt/datalake_analytics/src/package_preview_2019_11/operations.rs index c50f2bdbc8..896cc0e93f 100644 --- a/services/mgmt/datalake_analytics/src/package_preview_2019_11/operations.rs +++ b/services/mgmt/datalake_analytics/src/package_preview_2019_11/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -73,7 +73,7 @@ pub mod accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -170,7 +170,7 @@ pub mod accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -240,7 +240,7 @@ pub mod accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -318,7 +318,7 @@ pub mod accounts { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataLakeAnalyticsAccount), @@ -411,7 +411,7 @@ pub mod accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataLakeAnalyticsAccount), @@ -484,7 +484,7 @@ pub mod accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -565,7 +565,7 @@ pub mod accounts { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -589,7 +589,7 @@ pub mod accounts { } } pub mod data_lake_store_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -665,7 +665,7 @@ pub mod data_lake_store_accounts { } } pub mod list_by_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -737,7 +737,7 @@ pub mod data_lake_store_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -810,7 +810,7 @@ pub mod data_lake_store_accounts { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -877,7 +877,7 @@ pub mod data_lake_store_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -901,7 +901,7 @@ pub mod data_lake_store_accounts { } } pub mod storage_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -977,7 +977,7 @@ pub mod storage_accounts { } } pub mod list_by_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1049,7 +1049,7 @@ pub mod storage_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1118,7 +1118,7 @@ pub mod storage_accounts { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1191,7 +1191,7 @@ pub mod storage_accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1258,7 +1258,7 @@ pub mod storage_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1335,7 +1335,7 @@ pub mod storage_accounts { } } pub mod list_storage_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1414,7 +1414,7 @@ pub mod storage_accounts { } } pub mod get_storage_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1484,7 +1484,7 @@ pub mod storage_accounts { } } pub mod list_sas_tokens { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1508,7 +1508,7 @@ pub mod storage_accounts { } } pub mod compute_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1560,7 +1560,7 @@ pub mod compute_policies { } } pub mod list_by_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1632,7 +1632,7 @@ pub mod compute_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1709,7 +1709,7 @@ pub mod compute_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1787,7 +1787,7 @@ pub mod compute_policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1855,7 +1855,7 @@ pub mod compute_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1884,7 +1884,7 @@ pub mod compute_policies { } } pub mod firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1936,7 +1936,7 @@ pub mod firewall_rules { } } pub mod list_by_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2008,7 +2008,7 @@ pub mod firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2085,7 +2085,7 @@ pub mod firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2163,7 +2163,7 @@ pub mod firewall_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2231,7 +2231,7 @@ pub mod firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2260,7 +2260,7 @@ pub mod firewall_rules { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DataLakeAnalytics/operations", operation_config.base_path(),); @@ -2298,7 +2298,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2322,7 +2322,7 @@ pub mod operations { } } pub mod locations { - use crate::models::*; + use super::{models, models::*}; pub async fn get_capability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2373,7 +2373,7 @@ pub mod locations { } } pub mod get_capability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] diff --git a/services/mgmt/datalake_store/Cargo.toml b/services/mgmt/datalake_store/Cargo.toml index 8078124add..be77aa7061 100644 --- a/services/mgmt/datalake_store/Cargo.toml +++ b/services/mgmt/datalake_store/Cargo.toml @@ -20,5 +20,6 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2016-11"] +no-default-version = [] "package-2016-11" = [] "package-2015-10-preview" = [] diff --git a/services/mgmt/datalake_store/src/lib.rs b/services/mgmt/datalake_store/src/lib.rs index 5e465ebd5c..4a578d0194 100644 --- a/services/mgmt/datalake_store/src/lib.rs +++ b/services/mgmt/datalake_store/src/lib.rs @@ -1,13 +1,21 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2016-11")] -mod package_2016_11; -#[cfg(feature = "package-2016-11")] +pub mod package_2016_11; +#[cfg(all(feature = "package-2016-11", not(feature = "no-default-version")))] pub use package_2016_11::{models, operations, API_VERSION}; #[cfg(feature = "package-2015-10-preview")] -mod package_2015_10_preview; +pub mod package_2015_10_preview; use azure_core::setters; -#[cfg(feature = "package-2015-10-preview")] +#[cfg(all(feature = "package-2015-10-preview", not(feature = "no-default-version")))] pub use package_2015_10_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -31,7 +39,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/datalake_store/src/package_2015_10_preview/operations.rs b/services/mgmt/datalake_store/src/package_2015_10_preview/operations.rs index c5e8e056b9..0224c954d8 100644 --- a/services/mgmt/datalake_store/src/package_2015_10_preview/operations.rs +++ b/services/mgmt/datalake_store/src/package_2015_10_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod account { - use crate::models::*; + use super::{models, models::*}; pub async fn get_firewall_rule( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -56,7 +56,7 @@ pub mod account { } } pub mod get_firewall_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -122,7 +122,7 @@ pub mod account { } } pub mod delete_firewall_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -195,7 +195,7 @@ pub mod account { } } pub mod list_firewall_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -269,7 +269,7 @@ pub mod account { } } pub mod create_or_update_firewall_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -342,7 +342,7 @@ pub mod account { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DataLakeStoreAccount), @@ -420,7 +420,7 @@ pub mod account { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataLakeStoreAccount), @@ -490,7 +490,7 @@ pub mod account { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -553,7 +553,7 @@ pub mod account { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -625,7 +625,7 @@ pub mod account { } } pub mod enable_key_vault { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -729,7 +729,7 @@ pub mod account { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -826,7 +826,7 @@ pub mod account { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/datalake_store/src/package_2016_11/operations.rs b/services/mgmt/datalake_store/src/package_2016_11/operations.rs index 7de31c1b03..4d498bafde 100644 --- a/services/mgmt/datalake_store/src/package_2016_11/operations.rs +++ b/services/mgmt/datalake_store/src/package_2016_11/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -71,7 +71,7 @@ pub mod accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -163,7 +163,7 @@ pub mod accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -228,7 +228,7 @@ pub mod accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -301,7 +301,7 @@ pub mod accounts { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataLakeStoreAccount), @@ -385,7 +385,7 @@ pub mod accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataLakeStoreAccount), @@ -453,7 +453,7 @@ pub mod accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -523,7 +523,7 @@ pub mod accounts { } } pub mod enable_key_vault { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -593,7 +593,7 @@ pub mod accounts { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -614,7 +614,7 @@ pub mod accounts { } } pub mod firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -664,7 +664,7 @@ pub mod firewall_rules { } } pub mod list_by_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -731,7 +731,7 @@ pub mod firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -803,7 +803,7 @@ pub mod firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -876,7 +876,7 @@ pub mod firewall_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -939,7 +939,7 @@ pub mod firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -965,7 +965,7 @@ pub mod firewall_rules { } } pub mod virtual_network_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1015,7 +1015,7 @@ pub mod virtual_network_rules { } } pub mod list_by_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1082,7 +1082,7 @@ pub mod virtual_network_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1154,7 +1154,7 @@ pub mod virtual_network_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1227,7 +1227,7 @@ pub mod virtual_network_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1290,7 +1290,7 @@ pub mod virtual_network_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1316,7 +1316,7 @@ pub mod virtual_network_rules { } } pub mod trusted_id_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1366,7 +1366,7 @@ pub mod trusted_id_providers { } } pub mod list_by_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1433,7 +1433,7 @@ pub mod trusted_id_providers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1505,7 +1505,7 @@ pub mod trusted_id_providers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1578,7 +1578,7 @@ pub mod trusted_id_providers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1641,7 +1641,7 @@ pub mod trusted_id_providers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1667,7 +1667,7 @@ pub mod trusted_id_providers { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DataLakeStore/operations", operation_config.base_path(),); @@ -1703,7 +1703,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1724,7 +1724,7 @@ pub mod operations { } } pub mod locations { - use crate::models::*; + use super::{models, models::*}; pub async fn get_capability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1773,7 +1773,7 @@ pub mod locations { } } pub mod get_capability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1841,7 +1841,7 @@ pub mod locations { } } pub mod get_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/dataprotection/Cargo.toml b/services/mgmt/dataprotection/Cargo.toml index b3f2112a24..20dd9d9d10 100644 --- a/services/mgmt/dataprotection/Cargo.toml +++ b/services/mgmt/dataprotection/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-07"] +no-default-version = [] "package-2021-10-preview" = [] "package-2021-07" = [] "package-2021-01" = [] diff --git a/services/mgmt/dataprotection/src/lib.rs b/services/mgmt/dataprotection/src/lib.rs index 2d8a93e054..2909b4346b 100644 --- a/services/mgmt/dataprotection/src/lib.rs +++ b/services/mgmt/dataprotection/src/lib.rs @@ -1,25 +1,33 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-10-preview")] -mod package_2021_10_preview; -#[cfg(feature = "package-2021-10-preview")] +pub mod package_2021_10_preview; +#[cfg(all(feature = "package-2021-10-preview", not(feature = "no-default-version")))] pub use package_2021_10_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-07")] -mod package_2021_07; -#[cfg(feature = "package-2021-07")] +pub mod package_2021_07; +#[cfg(all(feature = "package-2021-07", not(feature = "no-default-version")))] pub use package_2021_07::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-01")] -mod package_2021_01; -#[cfg(feature = "package-2021-01")] +pub mod package_2021_01; +#[cfg(all(feature = "package-2021-01", not(feature = "no-default-version")))] pub use package_2021_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-02-preview")] -mod package_2021_02_preview; -#[cfg(feature = "package-2021-02-preview")] +pub mod package_2021_02_preview; +#[cfg(all(feature = "package-2021-02-preview", not(feature = "no-default-version")))] pub use package_2021_02_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-06-preview")] -mod package_2021_06_preview; +pub mod package_2021_06_preview; use azure_core::setters; -#[cfg(feature = "package-2021-06-preview")] +#[cfg(all(feature = "package-2021-06-preview", not(feature = "no-default-version")))] pub use package_2021_06_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -43,7 +51,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/dataprotection/src/package_2021_01/operations.rs b/services/mgmt/dataprotection/src/package_2021_01/operations.rs index a754f1460a..199f656d30 100644 --- a/services/mgmt/dataprotection/src/package_2021_01/operations.rs +++ b/services/mgmt/dataprotection/src/package_2021_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod backup_vaults { - use crate::models::*; + use super::{models, models::*}; pub async fn get_in_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -52,7 +52,7 @@ pub mod backup_vaults { } } pub mod get_in_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -125,7 +125,7 @@ pub mod backup_vaults { } } pub mod get_in_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -195,7 +195,7 @@ pub mod backup_vaults { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -276,7 +276,7 @@ pub mod backup_vaults { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BackupVaultResource), @@ -354,7 +354,7 @@ pub mod backup_vaults { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BackupVaultResource), @@ -426,7 +426,7 @@ pub mod backup_vaults { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -509,7 +509,7 @@ pub mod backup_vaults { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -533,7 +533,7 @@ pub mod backup_vaults { } } pub mod operation_result { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -583,7 +583,7 @@ pub mod operation_result { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -612,7 +612,7 @@ pub mod operation_result { } } pub mod operation_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -661,7 +661,7 @@ pub mod operation_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -685,7 +685,7 @@ pub mod operation_status { } } pub mod backup_vault_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -736,7 +736,7 @@ pub mod backup_vault_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -760,7 +760,7 @@ pub mod backup_vault_operation_results { } } pub mod data_protection { - use crate::models::*; + use super::{models, models::*}; pub async fn check_feature_support( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -814,7 +814,7 @@ pub mod data_protection { } } pub mod check_feature_support { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -838,7 +838,7 @@ pub mod data_protection { } } pub mod data_protection_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DataProtection/operations", operation_config.base_path(),); @@ -876,7 +876,7 @@ pub mod data_protection_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -900,7 +900,7 @@ pub mod data_protection_operations { } } pub mod backup_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -949,7 +949,7 @@ pub mod backup_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1021,7 +1021,7 @@ pub mod backup_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1098,7 +1098,7 @@ pub mod backup_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1166,7 +1166,7 @@ pub mod backup_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1195,7 +1195,7 @@ pub mod backup_policies { } } pub mod backup_instances { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1244,7 +1244,7 @@ pub mod backup_instances { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1316,7 +1316,7 @@ pub mod backup_instances { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1399,7 +1399,7 @@ pub mod backup_instances { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BackupInstanceResource), @@ -1473,7 +1473,7 @@ pub mod backup_instances { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1557,7 +1557,7 @@ pub mod backup_instances { } } pub mod adhoc_backup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationJobExtendedInfo), @@ -1638,7 +1638,7 @@ pub mod backup_instances { } } pub mod validate_for_backup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationJobExtendedInfo), @@ -1716,7 +1716,7 @@ pub mod backup_instances { } } pub mod trigger_rehydrate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1799,7 +1799,7 @@ pub mod backup_instances { } } pub mod trigger_restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationJobExtendedInfo), @@ -1882,7 +1882,7 @@ pub mod backup_instances { } } pub mod validate_for_restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationJobExtendedInfo), @@ -1911,7 +1911,7 @@ pub mod backup_instances { } } pub mod recovery_points { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1970,7 +1970,7 @@ pub mod recovery_points { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2044,7 +2044,7 @@ pub mod recovery_points { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2068,7 +2068,7 @@ pub mod recovery_points { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2117,7 +2117,7 @@ pub mod jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2189,7 +2189,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2213,7 +2213,7 @@ pub mod jobs { } } pub mod restorable_time_ranges { - use crate::models::*; + use super::{models, models::*}; pub async fn find( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2259,7 +2259,7 @@ pub mod restorable_time_ranges { } } pub mod find { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2283,7 +2283,7 @@ pub mod restorable_time_ranges { } } pub mod export_jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2332,7 +2332,7 @@ pub mod export_jobs { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2361,7 +2361,7 @@ pub mod export_jobs { } } pub mod export_jobs_operation_result { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2413,7 +2413,7 @@ pub mod export_jobs_operation_result { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExportJobsResult), diff --git a/services/mgmt/dataprotection/src/package_2021_02_preview/models.rs b/services/mgmt/dataprotection/src/package_2021_02_preview/models.rs index 0a11009d06..c70996e154 100644 --- a/services/mgmt/dataprotection/src/package_2021_02_preview/models.rs +++ b/services/mgmt/dataprotection/src/package_2021_02_preview/models.rs @@ -769,7 +769,7 @@ pub struct InnerError { #[serde(default, skip_serializing_if = "Option::is_none")] pub code: Option, #[serde(rename = "embeddedInnerError", default, skip_serializing_if = "Option::is_none")] - pub embedded_inner_error: Option, + pub embedded_inner_error: Box>, } #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ItemLevelRestoreCriteria { diff --git a/services/mgmt/dataprotection/src/package_2021_02_preview/operations.rs b/services/mgmt/dataprotection/src/package_2021_02_preview/operations.rs index 9ac0d0e05b..f06fb9406e 100644 --- a/services/mgmt/dataprotection/src/package_2021_02_preview/operations.rs +++ b/services/mgmt/dataprotection/src/package_2021_02_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod backup_vaults { - use crate::models::*; + use super::{models, models::*}; pub async fn get_in_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -52,7 +52,7 @@ pub mod backup_vaults { } } pub mod get_in_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -125,7 +125,7 @@ pub mod backup_vaults { } } pub mod get_in_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -195,7 +195,7 @@ pub mod backup_vaults { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -276,7 +276,7 @@ pub mod backup_vaults { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BackupVaultResource), @@ -354,7 +354,7 @@ pub mod backup_vaults { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BackupVaultResource), @@ -426,7 +426,7 @@ pub mod backup_vaults { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -509,7 +509,7 @@ pub mod backup_vaults { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -533,7 +533,7 @@ pub mod backup_vaults { } } pub mod operation_result { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -583,7 +583,7 @@ pub mod operation_result { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -612,7 +612,7 @@ pub mod operation_result { } } pub mod operation_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -661,7 +661,7 @@ pub mod operation_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -685,7 +685,7 @@ pub mod operation_status { } } pub mod backup_vault_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -736,7 +736,7 @@ pub mod backup_vault_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -760,7 +760,7 @@ pub mod backup_vault_operation_results { } } pub mod data_protection { - use crate::models::*; + use super::{models, models::*}; pub async fn check_feature_support( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -814,7 +814,7 @@ pub mod data_protection { } } pub mod check_feature_support { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -838,7 +838,7 @@ pub mod data_protection { } } pub mod data_protection_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DataProtection/operations", operation_config.base_path(),); @@ -876,7 +876,7 @@ pub mod data_protection_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -900,7 +900,7 @@ pub mod data_protection_operations { } } pub mod backup_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -949,7 +949,7 @@ pub mod backup_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1021,7 +1021,7 @@ pub mod backup_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1098,7 +1098,7 @@ pub mod backup_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1166,7 +1166,7 @@ pub mod backup_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1195,7 +1195,7 @@ pub mod backup_policies { } } pub mod backup_instances { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1244,7 +1244,7 @@ pub mod backup_instances { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1316,7 +1316,7 @@ pub mod backup_instances { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1399,7 +1399,7 @@ pub mod backup_instances { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BackupInstanceResource), @@ -1473,7 +1473,7 @@ pub mod backup_instances { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1557,7 +1557,7 @@ pub mod backup_instances { } } pub mod adhoc_backup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationJobExtendedInfo), @@ -1638,7 +1638,7 @@ pub mod backup_instances { } } pub mod validate_for_backup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationJobExtendedInfo), @@ -1716,7 +1716,7 @@ pub mod backup_instances { } } pub mod trigger_rehydrate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1799,7 +1799,7 @@ pub mod backup_instances { } } pub mod trigger_restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationJobExtendedInfo), @@ -1876,7 +1876,7 @@ pub mod backup_instances { } } pub mod resume_backups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1953,7 +1953,7 @@ pub mod backup_instances { } } pub mod resume_protection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2030,7 +2030,7 @@ pub mod backup_instances { } } pub mod stop_protection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2107,7 +2107,7 @@ pub mod backup_instances { } } pub mod suspend_backups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2185,7 +2185,7 @@ pub mod backup_instances { } } pub mod sync_backup_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2268,7 +2268,7 @@ pub mod backup_instances { } } pub mod validate_for_restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationJobExtendedInfo), @@ -2297,7 +2297,7 @@ pub mod backup_instances { } } pub mod recovery_points { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2356,7 +2356,7 @@ pub mod recovery_points { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2430,7 +2430,7 @@ pub mod recovery_points { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2454,7 +2454,7 @@ pub mod recovery_points { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2503,7 +2503,7 @@ pub mod jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2575,7 +2575,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2599,7 +2599,7 @@ pub mod jobs { } } pub mod restorable_time_ranges { - use crate::models::*; + use super::{models, models::*}; pub async fn find( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2645,7 +2645,7 @@ pub mod restorable_time_ranges { } } pub mod find { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2669,7 +2669,7 @@ pub mod restorable_time_ranges { } } pub mod export_jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2718,7 +2718,7 @@ pub mod export_jobs { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2747,7 +2747,7 @@ pub mod export_jobs { } } pub mod export_jobs_operation_result { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2799,7 +2799,7 @@ pub mod export_jobs_operation_result { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExportJobsResult), diff --git a/services/mgmt/dataprotection/src/package_2021_06_preview/models.rs b/services/mgmt/dataprotection/src/package_2021_06_preview/models.rs index f5998f90ba..a94ab8cc51 100644 --- a/services/mgmt/dataprotection/src/package_2021_06_preview/models.rs +++ b/services/mgmt/dataprotection/src/package_2021_06_preview/models.rs @@ -776,7 +776,7 @@ pub struct InnerError { #[serde(default, skip_serializing_if = "Option::is_none")] pub code: Option, #[serde(rename = "embeddedInnerError", default, skip_serializing_if = "Option::is_none")] - pub embedded_inner_error: Option, + pub embedded_inner_error: Box>, } #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ItemLevelRestoreCriteria { diff --git a/services/mgmt/dataprotection/src/package_2021_06_preview/operations.rs b/services/mgmt/dataprotection/src/package_2021_06_preview/operations.rs index 9ac0d0e05b..f06fb9406e 100644 --- a/services/mgmt/dataprotection/src/package_2021_06_preview/operations.rs +++ b/services/mgmt/dataprotection/src/package_2021_06_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod backup_vaults { - use crate::models::*; + use super::{models, models::*}; pub async fn get_in_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -52,7 +52,7 @@ pub mod backup_vaults { } } pub mod get_in_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -125,7 +125,7 @@ pub mod backup_vaults { } } pub mod get_in_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -195,7 +195,7 @@ pub mod backup_vaults { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -276,7 +276,7 @@ pub mod backup_vaults { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BackupVaultResource), @@ -354,7 +354,7 @@ pub mod backup_vaults { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BackupVaultResource), @@ -426,7 +426,7 @@ pub mod backup_vaults { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -509,7 +509,7 @@ pub mod backup_vaults { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -533,7 +533,7 @@ pub mod backup_vaults { } } pub mod operation_result { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -583,7 +583,7 @@ pub mod operation_result { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -612,7 +612,7 @@ pub mod operation_result { } } pub mod operation_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -661,7 +661,7 @@ pub mod operation_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -685,7 +685,7 @@ pub mod operation_status { } } pub mod backup_vault_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -736,7 +736,7 @@ pub mod backup_vault_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -760,7 +760,7 @@ pub mod backup_vault_operation_results { } } pub mod data_protection { - use crate::models::*; + use super::{models, models::*}; pub async fn check_feature_support( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -814,7 +814,7 @@ pub mod data_protection { } } pub mod check_feature_support { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -838,7 +838,7 @@ pub mod data_protection { } } pub mod data_protection_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DataProtection/operations", operation_config.base_path(),); @@ -876,7 +876,7 @@ pub mod data_protection_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -900,7 +900,7 @@ pub mod data_protection_operations { } } pub mod backup_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -949,7 +949,7 @@ pub mod backup_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1021,7 +1021,7 @@ pub mod backup_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1098,7 +1098,7 @@ pub mod backup_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1166,7 +1166,7 @@ pub mod backup_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1195,7 +1195,7 @@ pub mod backup_policies { } } pub mod backup_instances { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1244,7 +1244,7 @@ pub mod backup_instances { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1316,7 +1316,7 @@ pub mod backup_instances { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1399,7 +1399,7 @@ pub mod backup_instances { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BackupInstanceResource), @@ -1473,7 +1473,7 @@ pub mod backup_instances { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1557,7 +1557,7 @@ pub mod backup_instances { } } pub mod adhoc_backup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationJobExtendedInfo), @@ -1638,7 +1638,7 @@ pub mod backup_instances { } } pub mod validate_for_backup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationJobExtendedInfo), @@ -1716,7 +1716,7 @@ pub mod backup_instances { } } pub mod trigger_rehydrate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1799,7 +1799,7 @@ pub mod backup_instances { } } pub mod trigger_restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationJobExtendedInfo), @@ -1876,7 +1876,7 @@ pub mod backup_instances { } } pub mod resume_backups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1953,7 +1953,7 @@ pub mod backup_instances { } } pub mod resume_protection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2030,7 +2030,7 @@ pub mod backup_instances { } } pub mod stop_protection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2107,7 +2107,7 @@ pub mod backup_instances { } } pub mod suspend_backups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2185,7 +2185,7 @@ pub mod backup_instances { } } pub mod sync_backup_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2268,7 +2268,7 @@ pub mod backup_instances { } } pub mod validate_for_restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationJobExtendedInfo), @@ -2297,7 +2297,7 @@ pub mod backup_instances { } } pub mod recovery_points { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2356,7 +2356,7 @@ pub mod recovery_points { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2430,7 +2430,7 @@ pub mod recovery_points { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2454,7 +2454,7 @@ pub mod recovery_points { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2503,7 +2503,7 @@ pub mod jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2575,7 +2575,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2599,7 +2599,7 @@ pub mod jobs { } } pub mod restorable_time_ranges { - use crate::models::*; + use super::{models, models::*}; pub async fn find( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2645,7 +2645,7 @@ pub mod restorable_time_ranges { } } pub mod find { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2669,7 +2669,7 @@ pub mod restorable_time_ranges { } } pub mod export_jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2718,7 +2718,7 @@ pub mod export_jobs { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2747,7 +2747,7 @@ pub mod export_jobs { } } pub mod export_jobs_operation_result { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2799,7 +2799,7 @@ pub mod export_jobs_operation_result { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExportJobsResult), diff --git a/services/mgmt/dataprotection/src/package_2021_07/operations.rs b/services/mgmt/dataprotection/src/package_2021_07/operations.rs index 8b03bcf0cb..897d2804ab 100644 --- a/services/mgmt/dataprotection/src/package_2021_07/operations.rs +++ b/services/mgmt/dataprotection/src/package_2021_07/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod backup_vaults { - use crate::models::*; + use super::{models, models::*}; pub async fn get_in_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -52,7 +52,7 @@ pub mod backup_vaults { } } pub mod get_in_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -125,7 +125,7 @@ pub mod backup_vaults { } } pub mod get_in_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -195,7 +195,7 @@ pub mod backup_vaults { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -276,7 +276,7 @@ pub mod backup_vaults { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BackupVaultResource), @@ -354,7 +354,7 @@ pub mod backup_vaults { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BackupVaultResource), @@ -426,7 +426,7 @@ pub mod backup_vaults { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -509,7 +509,7 @@ pub mod backup_vaults { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -533,7 +533,7 @@ pub mod backup_vaults { } } pub mod operation_result { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -583,7 +583,7 @@ pub mod operation_result { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -612,7 +612,7 @@ pub mod operation_result { } } pub mod operation_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -661,7 +661,7 @@ pub mod operation_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -685,7 +685,7 @@ pub mod operation_status { } } pub mod backup_vault_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -737,7 +737,7 @@ pub mod backup_vault_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BackupVaultResource), @@ -766,7 +766,7 @@ pub mod backup_vault_operation_results { } } pub mod data_protection { - use crate::models::*; + use super::{models, models::*}; pub async fn check_feature_support( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -820,7 +820,7 @@ pub mod data_protection { } } pub mod check_feature_support { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -844,7 +844,7 @@ pub mod data_protection { } } pub mod data_protection_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DataProtection/operations", operation_config.base_path(),); @@ -882,7 +882,7 @@ pub mod data_protection_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -906,7 +906,7 @@ pub mod data_protection_operations { } } pub mod backup_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -955,7 +955,7 @@ pub mod backup_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1027,7 +1027,7 @@ pub mod backup_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1104,7 +1104,7 @@ pub mod backup_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1172,7 +1172,7 @@ pub mod backup_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1201,7 +1201,7 @@ pub mod backup_policies { } } pub mod backup_instances { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1250,7 +1250,7 @@ pub mod backup_instances { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1322,7 +1322,7 @@ pub mod backup_instances { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1405,7 +1405,7 @@ pub mod backup_instances { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BackupInstanceResource), @@ -1479,7 +1479,7 @@ pub mod backup_instances { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1563,7 +1563,7 @@ pub mod backup_instances { } } pub mod adhoc_backup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationJobExtendedInfo), @@ -1644,7 +1644,7 @@ pub mod backup_instances { } } pub mod validate_for_backup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationJobExtendedInfo), @@ -1722,7 +1722,7 @@ pub mod backup_instances { } } pub mod trigger_rehydrate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1805,7 +1805,7 @@ pub mod backup_instances { } } pub mod trigger_restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationJobExtendedInfo), @@ -1888,7 +1888,7 @@ pub mod backup_instances { } } pub mod validate_for_restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationJobExtendedInfo), @@ -1917,7 +1917,7 @@ pub mod backup_instances { } } pub mod recovery_points { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1976,7 +1976,7 @@ pub mod recovery_points { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2050,7 +2050,7 @@ pub mod recovery_points { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2074,7 +2074,7 @@ pub mod recovery_points { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2123,7 +2123,7 @@ pub mod jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2195,7 +2195,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2219,7 +2219,7 @@ pub mod jobs { } } pub mod restorable_time_ranges { - use crate::models::*; + use super::{models, models::*}; pub async fn find( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2265,7 +2265,7 @@ pub mod restorable_time_ranges { } } pub mod find { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2289,7 +2289,7 @@ pub mod restorable_time_ranges { } } pub mod export_jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2338,7 +2338,7 @@ pub mod export_jobs { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2367,7 +2367,7 @@ pub mod export_jobs { } } pub mod export_jobs_operation_result { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2419,7 +2419,7 @@ pub mod export_jobs_operation_result { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExportJobsResult), @@ -2448,7 +2448,7 @@ pub mod export_jobs_operation_result { } } pub mod resource_guards { - use crate::models::*; + use super::{models, models::*}; pub async fn get_resources_in_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2498,7 +2498,7 @@ pub mod resource_guards { } } pub mod get_resources_in_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2571,7 +2571,7 @@ pub mod resource_guards { } } pub mod get_resources_in_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2641,7 +2641,7 @@ pub mod resource_guards { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2713,7 +2713,7 @@ pub mod resource_guards { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2785,7 +2785,7 @@ pub mod resource_guards { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2851,7 +2851,7 @@ pub mod resource_guards { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2931,7 +2931,7 @@ pub mod resource_guards { } } pub mod get_disable_soft_delete_requests_objects { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3008,7 +3008,7 @@ pub mod resource_guards { } } pub mod get_delete_resource_guard_proxy_requests_objects { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3083,7 +3083,7 @@ pub mod resource_guards { } } pub mod get_backup_security_pin_requests_objects { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3158,7 +3158,7 @@ pub mod resource_guards { } } pub mod get_delete_protected_item_requests_objects { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3233,7 +3233,7 @@ pub mod resource_guards { } } pub mod get_update_protection_policy_requests_objects { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3308,7 +3308,7 @@ pub mod resource_guards { } } pub mod get_update_protected_item_requests_objects { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3385,7 +3385,7 @@ pub mod resource_guards { } } pub mod get_default_disable_soft_delete_requests_object { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3457,7 +3457,7 @@ pub mod resource_guards { } } pub mod get_default_delete_resource_guard_proxy_requests_object { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3534,7 +3534,7 @@ pub mod resource_guards { } } pub mod get_default_backup_security_pin_requests_object { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3613,7 +3613,7 @@ pub mod resource_guards { } } pub mod get_default_delete_protected_item_requests_object { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3692,7 +3692,7 @@ pub mod resource_guards { } } pub mod get_default_update_protection_policy_requests_object { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3771,7 +3771,7 @@ pub mod resource_guards { } } pub mod get_default_update_protected_item_requests_object { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/dataprotection/src/package_2021_10_preview/models.rs b/services/mgmt/dataprotection/src/package_2021_10_preview/models.rs index 2ea6956bfc..14dce5a997 100644 --- a/services/mgmt/dataprotection/src/package_2021_10_preview/models.rs +++ b/services/mgmt/dataprotection/src/package_2021_10_preview/models.rs @@ -820,7 +820,7 @@ pub struct InnerError { #[serde(default, skip_serializing_if = "Option::is_none")] pub code: Option, #[serde(rename = "embeddedInnerError", default, skip_serializing_if = "Option::is_none")] - pub embedded_inner_error: Option, + pub embedded_inner_error: Box>, } #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ItemLevelRestoreCriteria { diff --git a/services/mgmt/dataprotection/src/package_2021_10_preview/operations.rs b/services/mgmt/dataprotection/src/package_2021_10_preview/operations.rs index 8b03bcf0cb..897d2804ab 100644 --- a/services/mgmt/dataprotection/src/package_2021_10_preview/operations.rs +++ b/services/mgmt/dataprotection/src/package_2021_10_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod backup_vaults { - use crate::models::*; + use super::{models, models::*}; pub async fn get_in_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -52,7 +52,7 @@ pub mod backup_vaults { } } pub mod get_in_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -125,7 +125,7 @@ pub mod backup_vaults { } } pub mod get_in_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -195,7 +195,7 @@ pub mod backup_vaults { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -276,7 +276,7 @@ pub mod backup_vaults { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BackupVaultResource), @@ -354,7 +354,7 @@ pub mod backup_vaults { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BackupVaultResource), @@ -426,7 +426,7 @@ pub mod backup_vaults { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -509,7 +509,7 @@ pub mod backup_vaults { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -533,7 +533,7 @@ pub mod backup_vaults { } } pub mod operation_result { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -583,7 +583,7 @@ pub mod operation_result { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -612,7 +612,7 @@ pub mod operation_result { } } pub mod operation_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -661,7 +661,7 @@ pub mod operation_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -685,7 +685,7 @@ pub mod operation_status { } } pub mod backup_vault_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -737,7 +737,7 @@ pub mod backup_vault_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BackupVaultResource), @@ -766,7 +766,7 @@ pub mod backup_vault_operation_results { } } pub mod data_protection { - use crate::models::*; + use super::{models, models::*}; pub async fn check_feature_support( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -820,7 +820,7 @@ pub mod data_protection { } } pub mod check_feature_support { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -844,7 +844,7 @@ pub mod data_protection { } } pub mod data_protection_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DataProtection/operations", operation_config.base_path(),); @@ -882,7 +882,7 @@ pub mod data_protection_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -906,7 +906,7 @@ pub mod data_protection_operations { } } pub mod backup_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -955,7 +955,7 @@ pub mod backup_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1027,7 +1027,7 @@ pub mod backup_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1104,7 +1104,7 @@ pub mod backup_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1172,7 +1172,7 @@ pub mod backup_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1201,7 +1201,7 @@ pub mod backup_policies { } } pub mod backup_instances { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1250,7 +1250,7 @@ pub mod backup_instances { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1322,7 +1322,7 @@ pub mod backup_instances { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1405,7 +1405,7 @@ pub mod backup_instances { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BackupInstanceResource), @@ -1479,7 +1479,7 @@ pub mod backup_instances { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1563,7 +1563,7 @@ pub mod backup_instances { } } pub mod adhoc_backup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationJobExtendedInfo), @@ -1644,7 +1644,7 @@ pub mod backup_instances { } } pub mod validate_for_backup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationJobExtendedInfo), @@ -1722,7 +1722,7 @@ pub mod backup_instances { } } pub mod trigger_rehydrate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1805,7 +1805,7 @@ pub mod backup_instances { } } pub mod trigger_restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationJobExtendedInfo), @@ -1888,7 +1888,7 @@ pub mod backup_instances { } } pub mod validate_for_restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationJobExtendedInfo), @@ -1917,7 +1917,7 @@ pub mod backup_instances { } } pub mod recovery_points { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1976,7 +1976,7 @@ pub mod recovery_points { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2050,7 +2050,7 @@ pub mod recovery_points { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2074,7 +2074,7 @@ pub mod recovery_points { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2123,7 +2123,7 @@ pub mod jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2195,7 +2195,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2219,7 +2219,7 @@ pub mod jobs { } } pub mod restorable_time_ranges { - use crate::models::*; + use super::{models, models::*}; pub async fn find( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2265,7 +2265,7 @@ pub mod restorable_time_ranges { } } pub mod find { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2289,7 +2289,7 @@ pub mod restorable_time_ranges { } } pub mod export_jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2338,7 +2338,7 @@ pub mod export_jobs { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2367,7 +2367,7 @@ pub mod export_jobs { } } pub mod export_jobs_operation_result { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2419,7 +2419,7 @@ pub mod export_jobs_operation_result { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExportJobsResult), @@ -2448,7 +2448,7 @@ pub mod export_jobs_operation_result { } } pub mod resource_guards { - use crate::models::*; + use super::{models, models::*}; pub async fn get_resources_in_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2498,7 +2498,7 @@ pub mod resource_guards { } } pub mod get_resources_in_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2571,7 +2571,7 @@ pub mod resource_guards { } } pub mod get_resources_in_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2641,7 +2641,7 @@ pub mod resource_guards { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2713,7 +2713,7 @@ pub mod resource_guards { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2785,7 +2785,7 @@ pub mod resource_guards { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2851,7 +2851,7 @@ pub mod resource_guards { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2931,7 +2931,7 @@ pub mod resource_guards { } } pub mod get_disable_soft_delete_requests_objects { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3008,7 +3008,7 @@ pub mod resource_guards { } } pub mod get_delete_resource_guard_proxy_requests_objects { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3083,7 +3083,7 @@ pub mod resource_guards { } } pub mod get_backup_security_pin_requests_objects { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3158,7 +3158,7 @@ pub mod resource_guards { } } pub mod get_delete_protected_item_requests_objects { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3233,7 +3233,7 @@ pub mod resource_guards { } } pub mod get_update_protection_policy_requests_objects { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3308,7 +3308,7 @@ pub mod resource_guards { } } pub mod get_update_protected_item_requests_objects { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3385,7 +3385,7 @@ pub mod resource_guards { } } pub mod get_default_disable_soft_delete_requests_object { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3457,7 +3457,7 @@ pub mod resource_guards { } } pub mod get_default_delete_resource_guard_proxy_requests_object { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3534,7 +3534,7 @@ pub mod resource_guards { } } pub mod get_default_backup_security_pin_requests_object { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3613,7 +3613,7 @@ pub mod resource_guards { } } pub mod get_default_delete_protected_item_requests_object { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3692,7 +3692,7 @@ pub mod resource_guards { } } pub mod get_default_update_protection_policy_requests_object { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3771,7 +3771,7 @@ pub mod resource_guards { } } pub mod get_default_update_protected_item_requests_object { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/datashare/Cargo.toml b/services/mgmt/datashare/Cargo.toml index 955c3bafc7..8398effa6b 100644 --- a/services/mgmt/datashare/Cargo.toml +++ b/services/mgmt/datashare/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2019-11-01"] +no-default-version = [] "package-2018-11-01-preview" = [] "package-2019-11-01" = [] "package-2020-09-01" = [] diff --git a/services/mgmt/datashare/src/lib.rs b/services/mgmt/datashare/src/lib.rs index 99fd9aeb89..b80ea7af80 100644 --- a/services/mgmt/datashare/src/lib.rs +++ b/services/mgmt/datashare/src/lib.rs @@ -1,25 +1,33 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2018-11-01-preview")] -mod package_2018_11_01_preview; -#[cfg(feature = "package-2018-11-01-preview")] +pub mod package_2018_11_01_preview; +#[cfg(all(feature = "package-2018-11-01-preview", not(feature = "no-default-version")))] pub use package_2018_11_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-11-01")] -mod package_2019_11_01; -#[cfg(feature = "package-2019-11-01")] +pub mod package_2019_11_01; +#[cfg(all(feature = "package-2019-11-01", not(feature = "no-default-version")))] pub use package_2019_11_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-09-01")] -mod package_2020_09_01; -#[cfg(feature = "package-2020-09-01")] +pub mod package_2020_09_01; +#[cfg(all(feature = "package-2020-09-01", not(feature = "no-default-version")))] pub use package_2020_09_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-10-01-preview")] -mod package_2020_10_01_preview; -#[cfg(feature = "package-2020-10-01-preview")] +pub mod package_2020_10_01_preview; +#[cfg(all(feature = "package-2020-10-01-preview", not(feature = "no-default-version")))] pub use package_2020_10_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-08-01")] -mod package_2021_08_01; +pub mod package_2021_08_01; use azure_core::setters; -#[cfg(feature = "package-2021-08-01")] +#[cfg(all(feature = "package-2021-08-01", not(feature = "no-default-version")))] pub use package_2021_08_01::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -43,7 +51,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/datashare/src/package_2018_11_01_preview/operations.rs b/services/mgmt/datashare/src/package_2018_11_01_preview/operations.rs index ee33a6ce37..d5065061a4 100644 --- a/services/mgmt/datashare/src/package_2018_11_01_preview/operations.rs +++ b/services/mgmt/datashare/src/package_2018_11_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -56,7 +56,7 @@ pub mod accounts { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -126,7 +126,7 @@ pub mod accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -204,7 +204,7 @@ pub mod accounts { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Account), @@ -281,7 +281,7 @@ pub mod accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -353,7 +353,7 @@ pub mod accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationResponse), @@ -436,7 +436,7 @@ pub mod accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -460,7 +460,7 @@ pub mod accounts { } } pub mod consumer_invitations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_invitations( operation_config: &crate::OperationConfig, skip_token: Option<&str>, @@ -507,7 +507,7 @@ pub mod consumer_invitations { } } pub mod list_invitations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -575,7 +575,7 @@ pub mod consumer_invitations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -646,7 +646,7 @@ pub mod consumer_invitations { } } pub mod reject_invitation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -670,7 +670,7 @@ pub mod consumer_invitations { } } pub mod data_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -723,7 +723,7 @@ pub mod data_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -805,7 +805,7 @@ pub mod data_sets { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DataSet), @@ -881,7 +881,7 @@ pub mod data_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -974,7 +974,7 @@ pub mod data_sets { } } pub mod list_by_share { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -998,7 +998,7 @@ pub mod data_sets { } } pub mod data_set_mappings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1051,7 +1051,7 @@ pub mod data_set_mappings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1133,7 +1133,7 @@ pub mod data_set_mappings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DataSetMapping), @@ -1208,7 +1208,7 @@ pub mod data_set_mappings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1302,7 +1302,7 @@ pub mod data_set_mappings { } } pub mod list_by_share_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1326,7 +1326,7 @@ pub mod data_set_mappings { } } pub mod invitations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1379,7 +1379,7 @@ pub mod invitations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1461,7 +1461,7 @@ pub mod invitations { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Invitation), @@ -1536,7 +1536,7 @@ pub mod invitations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1628,7 +1628,7 @@ pub mod invitations { } } pub mod list_by_share { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1652,7 +1652,7 @@ pub mod invitations { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DataShare/operations", operation_config.base_path(),); @@ -1690,7 +1690,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1714,7 +1714,7 @@ pub mod operations { } } pub mod shares { - use crate::models::*; + use super::{models, models::*}; pub async fn list_synchronization_details( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1784,7 +1784,7 @@ pub mod shares { } } pub mod list_synchronization_details { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1874,7 +1874,7 @@ pub mod shares { } } pub mod list_synchronizations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1946,7 +1946,7 @@ pub mod shares { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2026,7 +2026,7 @@ pub mod shares { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Share), @@ -2105,7 +2105,7 @@ pub mod shares { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationResponse), @@ -2196,7 +2196,7 @@ pub mod shares { } } pub mod list_by_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2220,7 +2220,7 @@ pub mod shares { } } pub mod provider_share_subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn reinstate( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2269,7 +2269,7 @@ pub mod provider_share_subscriptions { } } pub mod reinstate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2342,7 +2342,7 @@ pub mod provider_share_subscriptions { } } pub mod revoke { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProviderShareSubscription), @@ -2424,7 +2424,7 @@ pub mod provider_share_subscriptions { } } pub mod get_by_share { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2503,7 +2503,7 @@ pub mod provider_share_subscriptions { } } pub mod list_by_share { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2527,7 +2527,7 @@ pub mod provider_share_subscriptions { } } pub mod share_subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn cancel_synchronization( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2591,7 +2591,7 @@ pub mod share_subscriptions { } } pub mod cancel_synchronization { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ShareSubscriptionSynchronization), @@ -2671,7 +2671,7 @@ pub mod share_subscriptions { } } pub mod list_source_share_synchronization_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2756,7 +2756,7 @@ pub mod share_subscriptions { } } pub mod list_synchronization_details { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2846,7 +2846,7 @@ pub mod share_subscriptions { } } pub mod list_synchronizations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2929,7 +2929,7 @@ pub mod share_subscriptions { } } pub mod synchronize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ShareSubscriptionSynchronization), @@ -3006,7 +3006,7 @@ pub mod share_subscriptions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3086,7 +3086,7 @@ pub mod share_subscriptions { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ShareSubscription), @@ -3165,7 +3165,7 @@ pub mod share_subscriptions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationResponse), @@ -3256,7 +3256,7 @@ pub mod share_subscriptions { } } pub mod list_by_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3280,7 +3280,7 @@ pub mod share_subscriptions { } } pub mod consumer_source_data_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_share_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3340,7 +3340,7 @@ pub mod consumer_source_data_sets { } } pub mod list_by_share_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3364,7 +3364,7 @@ pub mod consumer_source_data_sets { } } pub mod synchronization_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3417,7 +3417,7 @@ pub mod synchronization_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3499,7 +3499,7 @@ pub mod synchronization_settings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(SynchronizationSetting), @@ -3580,7 +3580,7 @@ pub mod synchronization_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationResponse), @@ -3665,7 +3665,7 @@ pub mod synchronization_settings { } } pub mod list_by_share { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3689,7 +3689,7 @@ pub mod synchronization_settings { } } pub mod triggers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3742,7 +3742,7 @@ pub mod triggers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3824,7 +3824,7 @@ pub mod triggers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Trigger), @@ -3905,7 +3905,7 @@ pub mod triggers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationResponse), @@ -3992,7 +3992,7 @@ pub mod triggers { } } pub mod list_by_share_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/datashare/src/package_2019_11_01/operations.rs b/services/mgmt/datashare/src/package_2019_11_01/operations.rs index 31cb03df8b..1ef8b95ecd 100644 --- a/services/mgmt/datashare/src/package_2019_11_01/operations.rs +++ b/services/mgmt/datashare/src/package_2019_11_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -56,7 +56,7 @@ pub mod accounts { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -126,7 +126,7 @@ pub mod accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -204,7 +204,7 @@ pub mod accounts { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Account), @@ -281,7 +281,7 @@ pub mod accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -353,7 +353,7 @@ pub mod accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationResponse), @@ -436,7 +436,7 @@ pub mod accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -460,7 +460,7 @@ pub mod accounts { } } pub mod consumer_invitations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_invitations( operation_config: &crate::OperationConfig, skip_token: Option<&str>, @@ -507,7 +507,7 @@ pub mod consumer_invitations { } } pub mod list_invitations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -575,7 +575,7 @@ pub mod consumer_invitations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -646,7 +646,7 @@ pub mod consumer_invitations { } } pub mod reject_invitation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -670,7 +670,7 @@ pub mod consumer_invitations { } } pub mod data_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -723,7 +723,7 @@ pub mod data_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -805,7 +805,7 @@ pub mod data_sets { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DataSet), @@ -881,7 +881,7 @@ pub mod data_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -974,7 +974,7 @@ pub mod data_sets { } } pub mod list_by_share { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -998,7 +998,7 @@ pub mod data_sets { } } pub mod data_set_mappings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1051,7 +1051,7 @@ pub mod data_set_mappings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1133,7 +1133,7 @@ pub mod data_set_mappings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DataSetMapping), @@ -1208,7 +1208,7 @@ pub mod data_set_mappings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1302,7 +1302,7 @@ pub mod data_set_mappings { } } pub mod list_by_share_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1326,7 +1326,7 @@ pub mod data_set_mappings { } } pub mod email_registrations { - use crate::models::*; + use super::{models, models::*}; pub async fn activate_email( operation_config: &crate::OperationConfig, location: &str, @@ -1376,7 +1376,7 @@ pub mod email_registrations { } } pub mod activate_email { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1446,7 +1446,7 @@ pub mod email_registrations { } } pub mod register_email { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1470,7 +1470,7 @@ pub mod email_registrations { } } pub mod invitations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1523,7 +1523,7 @@ pub mod invitations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1605,7 +1605,7 @@ pub mod invitations { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Invitation), @@ -1680,7 +1680,7 @@ pub mod invitations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1772,7 +1772,7 @@ pub mod invitations { } } pub mod list_by_share { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1796,7 +1796,7 @@ pub mod invitations { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DataShare/operations", operation_config.base_path(),); @@ -1834,7 +1834,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1858,7 +1858,7 @@ pub mod operations { } } pub mod shares { - use crate::models::*; + use super::{models, models::*}; pub async fn list_synchronization_details( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1928,7 +1928,7 @@ pub mod shares { } } pub mod list_synchronization_details { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2018,7 +2018,7 @@ pub mod shares { } } pub mod list_synchronizations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2090,7 +2090,7 @@ pub mod shares { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2170,7 +2170,7 @@ pub mod shares { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Share), @@ -2249,7 +2249,7 @@ pub mod shares { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationResponse), @@ -2340,7 +2340,7 @@ pub mod shares { } } pub mod list_by_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2364,7 +2364,7 @@ pub mod shares { } } pub mod provider_share_subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn reinstate( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2413,7 +2413,7 @@ pub mod provider_share_subscriptions { } } pub mod reinstate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2486,7 +2486,7 @@ pub mod provider_share_subscriptions { } } pub mod revoke { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProviderShareSubscription), @@ -2568,7 +2568,7 @@ pub mod provider_share_subscriptions { } } pub mod get_by_share { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2647,7 +2647,7 @@ pub mod provider_share_subscriptions { } } pub mod list_by_share { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2671,7 +2671,7 @@ pub mod provider_share_subscriptions { } } pub mod share_subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn cancel_synchronization( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2735,7 +2735,7 @@ pub mod share_subscriptions { } } pub mod cancel_synchronization { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ShareSubscriptionSynchronization), @@ -2815,7 +2815,7 @@ pub mod share_subscriptions { } } pub mod list_source_share_synchronization_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2900,7 +2900,7 @@ pub mod share_subscriptions { } } pub mod list_synchronization_details { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2990,7 +2990,7 @@ pub mod share_subscriptions { } } pub mod list_synchronizations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3073,7 +3073,7 @@ pub mod share_subscriptions { } } pub mod synchronize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ShareSubscriptionSynchronization), @@ -3150,7 +3150,7 @@ pub mod share_subscriptions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3230,7 +3230,7 @@ pub mod share_subscriptions { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ShareSubscription), @@ -3309,7 +3309,7 @@ pub mod share_subscriptions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationResponse), @@ -3400,7 +3400,7 @@ pub mod share_subscriptions { } } pub mod list_by_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3424,7 +3424,7 @@ pub mod share_subscriptions { } } pub mod consumer_source_data_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_share_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3484,7 +3484,7 @@ pub mod consumer_source_data_sets { } } pub mod list_by_share_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3508,7 +3508,7 @@ pub mod consumer_source_data_sets { } } pub mod synchronization_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3561,7 +3561,7 @@ pub mod synchronization_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3643,7 +3643,7 @@ pub mod synchronization_settings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(SynchronizationSetting), @@ -3724,7 +3724,7 @@ pub mod synchronization_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationResponse), @@ -3809,7 +3809,7 @@ pub mod synchronization_settings { } } pub mod list_by_share { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3833,7 +3833,7 @@ pub mod synchronization_settings { } } pub mod triggers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3886,7 +3886,7 @@ pub mod triggers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3968,7 +3968,7 @@ pub mod triggers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Trigger), @@ -4049,7 +4049,7 @@ pub mod triggers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationResponse), @@ -4136,7 +4136,7 @@ pub mod triggers { } } pub mod list_by_share_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/datashare/src/package_2020_09_01/operations.rs b/services/mgmt/datashare/src/package_2020_09_01/operations.rs index a73f1d3ff2..43bc7d8a6a 100644 --- a/services/mgmt/datashare/src/package_2020_09_01/operations.rs +++ b/services/mgmt/datashare/src/package_2020_09_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -56,7 +56,7 @@ pub mod accounts { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -126,7 +126,7 @@ pub mod accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -204,7 +204,7 @@ pub mod accounts { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Account), @@ -281,7 +281,7 @@ pub mod accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -353,7 +353,7 @@ pub mod accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationResponse), @@ -436,7 +436,7 @@ pub mod accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -460,7 +460,7 @@ pub mod accounts { } } pub mod consumer_invitations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_invitations( operation_config: &crate::OperationConfig, skip_token: Option<&str>, @@ -507,7 +507,7 @@ pub mod consumer_invitations { } } pub mod list_invitations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -575,7 +575,7 @@ pub mod consumer_invitations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -646,7 +646,7 @@ pub mod consumer_invitations { } } pub mod reject_invitation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -670,7 +670,7 @@ pub mod consumer_invitations { } } pub mod data_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -723,7 +723,7 @@ pub mod data_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -805,7 +805,7 @@ pub mod data_sets { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DataSet), @@ -881,7 +881,7 @@ pub mod data_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -974,7 +974,7 @@ pub mod data_sets { } } pub mod list_by_share { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -998,7 +998,7 @@ pub mod data_sets { } } pub mod data_set_mappings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1051,7 +1051,7 @@ pub mod data_set_mappings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1133,7 +1133,7 @@ pub mod data_set_mappings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DataSetMapping), @@ -1208,7 +1208,7 @@ pub mod data_set_mappings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1302,7 +1302,7 @@ pub mod data_set_mappings { } } pub mod list_by_share_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1326,7 +1326,7 @@ pub mod data_set_mappings { } } pub mod email_registrations { - use crate::models::*; + use super::{models, models::*}; pub async fn activate_email( operation_config: &crate::OperationConfig, location: &str, @@ -1376,7 +1376,7 @@ pub mod email_registrations { } } pub mod activate_email { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1446,7 +1446,7 @@ pub mod email_registrations { } } pub mod register_email { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1470,7 +1470,7 @@ pub mod email_registrations { } } pub mod invitations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1523,7 +1523,7 @@ pub mod invitations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1605,7 +1605,7 @@ pub mod invitations { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Invitation), @@ -1680,7 +1680,7 @@ pub mod invitations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1772,7 +1772,7 @@ pub mod invitations { } } pub mod list_by_share { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1796,7 +1796,7 @@ pub mod invitations { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DataShare/operations", operation_config.base_path(),); @@ -1834,7 +1834,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1858,7 +1858,7 @@ pub mod operations { } } pub mod shares { - use crate::models::*; + use super::{models, models::*}; pub async fn list_synchronization_details( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1928,7 +1928,7 @@ pub mod shares { } } pub mod list_synchronization_details { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2018,7 +2018,7 @@ pub mod shares { } } pub mod list_synchronizations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2090,7 +2090,7 @@ pub mod shares { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2170,7 +2170,7 @@ pub mod shares { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Share), @@ -2249,7 +2249,7 @@ pub mod shares { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationResponse), @@ -2340,7 +2340,7 @@ pub mod shares { } } pub mod list_by_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2364,7 +2364,7 @@ pub mod shares { } } pub mod provider_share_subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn adjust( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2411,7 +2411,7 @@ pub mod provider_share_subscriptions { } } pub mod adjust { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2482,7 +2482,7 @@ pub mod provider_share_subscriptions { } } pub mod reinstate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2555,7 +2555,7 @@ pub mod provider_share_subscriptions { } } pub mod revoke { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProviderShareSubscription), @@ -2637,7 +2637,7 @@ pub mod provider_share_subscriptions { } } pub mod get_by_share { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2716,7 +2716,7 @@ pub mod provider_share_subscriptions { } } pub mod list_by_share { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2740,7 +2740,7 @@ pub mod provider_share_subscriptions { } } pub mod share_subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn cancel_synchronization( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2804,7 +2804,7 @@ pub mod share_subscriptions { } } pub mod cancel_synchronization { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ShareSubscriptionSynchronization), @@ -2884,7 +2884,7 @@ pub mod share_subscriptions { } } pub mod list_source_share_synchronization_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2969,7 +2969,7 @@ pub mod share_subscriptions { } } pub mod list_synchronization_details { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3059,7 +3059,7 @@ pub mod share_subscriptions { } } pub mod list_synchronizations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3142,7 +3142,7 @@ pub mod share_subscriptions { } } pub mod synchronize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ShareSubscriptionSynchronization), @@ -3219,7 +3219,7 @@ pub mod share_subscriptions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3299,7 +3299,7 @@ pub mod share_subscriptions { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ShareSubscription), @@ -3378,7 +3378,7 @@ pub mod share_subscriptions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationResponse), @@ -3469,7 +3469,7 @@ pub mod share_subscriptions { } } pub mod list_by_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3493,7 +3493,7 @@ pub mod share_subscriptions { } } pub mod consumer_source_data_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_share_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3553,7 +3553,7 @@ pub mod consumer_source_data_sets { } } pub mod list_by_share_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3577,7 +3577,7 @@ pub mod consumer_source_data_sets { } } pub mod synchronization_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3630,7 +3630,7 @@ pub mod synchronization_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3712,7 +3712,7 @@ pub mod synchronization_settings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(SynchronizationSetting), @@ -3793,7 +3793,7 @@ pub mod synchronization_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationResponse), @@ -3878,7 +3878,7 @@ pub mod synchronization_settings { } } pub mod list_by_share { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3902,7 +3902,7 @@ pub mod synchronization_settings { } } pub mod triggers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3955,7 +3955,7 @@ pub mod triggers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4037,7 +4037,7 @@ pub mod triggers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Trigger), @@ -4118,7 +4118,7 @@ pub mod triggers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationResponse), @@ -4205,7 +4205,7 @@ pub mod triggers { } } pub mod list_by_share_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/datashare/src/package_2020_10_01_preview/operations.rs b/services/mgmt/datashare/src/package_2020_10_01_preview/operations.rs index d44f3f84a2..b7a8376d70 100644 --- a/services/mgmt/datashare/src/package_2020_10_01_preview/operations.rs +++ b/services/mgmt/datashare/src/package_2020_10_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -56,7 +56,7 @@ pub mod accounts { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -126,7 +126,7 @@ pub mod accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -204,7 +204,7 @@ pub mod accounts { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Account), @@ -281,7 +281,7 @@ pub mod accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -353,7 +353,7 @@ pub mod accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationResponse), @@ -436,7 +436,7 @@ pub mod accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -460,7 +460,7 @@ pub mod accounts { } } pub mod consumer_invitations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_invitations( operation_config: &crate::OperationConfig, skip_token: Option<&str>, @@ -507,7 +507,7 @@ pub mod consumer_invitations { } } pub mod list_invitations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -575,7 +575,7 @@ pub mod consumer_invitations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -646,7 +646,7 @@ pub mod consumer_invitations { } } pub mod reject_invitation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -670,7 +670,7 @@ pub mod consumer_invitations { } } pub mod data_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -723,7 +723,7 @@ pub mod data_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -805,7 +805,7 @@ pub mod data_sets { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DataSet), @@ -881,7 +881,7 @@ pub mod data_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -974,7 +974,7 @@ pub mod data_sets { } } pub mod list_by_share { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -998,7 +998,7 @@ pub mod data_sets { } } pub mod data_set_mappings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1051,7 +1051,7 @@ pub mod data_set_mappings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1133,7 +1133,7 @@ pub mod data_set_mappings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DataSetMapping), @@ -1208,7 +1208,7 @@ pub mod data_set_mappings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1302,7 +1302,7 @@ pub mod data_set_mappings { } } pub mod list_by_share_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1326,7 +1326,7 @@ pub mod data_set_mappings { } } pub mod invitations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1379,7 +1379,7 @@ pub mod invitations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1461,7 +1461,7 @@ pub mod invitations { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Invitation), @@ -1536,7 +1536,7 @@ pub mod invitations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1628,7 +1628,7 @@ pub mod invitations { } } pub mod list_by_share { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1652,7 +1652,7 @@ pub mod invitations { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DataShare/operations", operation_config.base_path(),); @@ -1690,7 +1690,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1714,7 +1714,7 @@ pub mod operations { } } pub mod shares { - use crate::models::*; + use super::{models, models::*}; pub async fn list_synchronization_details( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1784,7 +1784,7 @@ pub mod shares { } } pub mod list_synchronization_details { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1874,7 +1874,7 @@ pub mod shares { } } pub mod list_synchronizations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1946,7 +1946,7 @@ pub mod shares { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2026,7 +2026,7 @@ pub mod shares { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Share), @@ -2105,7 +2105,7 @@ pub mod shares { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationResponse), @@ -2196,7 +2196,7 @@ pub mod shares { } } pub mod list_by_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2220,7 +2220,7 @@ pub mod shares { } } pub mod provider_share_subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn adjust( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2267,7 +2267,7 @@ pub mod provider_share_subscriptions { } } pub mod adjust { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2338,7 +2338,7 @@ pub mod provider_share_subscriptions { } } pub mod reinstate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2411,7 +2411,7 @@ pub mod provider_share_subscriptions { } } pub mod revoke { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProviderShareSubscription), @@ -2493,7 +2493,7 @@ pub mod provider_share_subscriptions { } } pub mod get_by_share { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2572,7 +2572,7 @@ pub mod provider_share_subscriptions { } } pub mod list_by_share { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2596,7 +2596,7 @@ pub mod provider_share_subscriptions { } } pub mod share_subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn cancel_synchronization( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2660,7 +2660,7 @@ pub mod share_subscriptions { } } pub mod cancel_synchronization { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ShareSubscriptionSynchronization), @@ -2740,7 +2740,7 @@ pub mod share_subscriptions { } } pub mod list_source_share_synchronization_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2825,7 +2825,7 @@ pub mod share_subscriptions { } } pub mod list_synchronization_details { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2915,7 +2915,7 @@ pub mod share_subscriptions { } } pub mod list_synchronizations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2998,7 +2998,7 @@ pub mod share_subscriptions { } } pub mod synchronize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ShareSubscriptionSynchronization), @@ -3075,7 +3075,7 @@ pub mod share_subscriptions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3155,7 +3155,7 @@ pub mod share_subscriptions { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ShareSubscription), @@ -3234,7 +3234,7 @@ pub mod share_subscriptions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationResponse), @@ -3325,7 +3325,7 @@ pub mod share_subscriptions { } } pub mod list_by_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3349,7 +3349,7 @@ pub mod share_subscriptions { } } pub mod consumer_source_data_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_share_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3409,7 +3409,7 @@ pub mod consumer_source_data_sets { } } pub mod list_by_share_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3433,7 +3433,7 @@ pub mod consumer_source_data_sets { } } pub mod synchronization_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3486,7 +3486,7 @@ pub mod synchronization_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3568,7 +3568,7 @@ pub mod synchronization_settings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(SynchronizationSetting), @@ -3649,7 +3649,7 @@ pub mod synchronization_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationResponse), @@ -3734,7 +3734,7 @@ pub mod synchronization_settings { } } pub mod list_by_share { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3758,7 +3758,7 @@ pub mod synchronization_settings { } } pub mod triggers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3811,7 +3811,7 @@ pub mod triggers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3893,7 +3893,7 @@ pub mod triggers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Trigger), @@ -3974,7 +3974,7 @@ pub mod triggers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationResponse), @@ -4061,7 +4061,7 @@ pub mod triggers { } } pub mod list_by_share_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/datashare/src/package_2021_08_01/operations.rs b/services/mgmt/datashare/src/package_2021_08_01/operations.rs index a73f1d3ff2..43bc7d8a6a 100644 --- a/services/mgmt/datashare/src/package_2021_08_01/operations.rs +++ b/services/mgmt/datashare/src/package_2021_08_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -56,7 +56,7 @@ pub mod accounts { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -126,7 +126,7 @@ pub mod accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -204,7 +204,7 @@ pub mod accounts { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Account), @@ -281,7 +281,7 @@ pub mod accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -353,7 +353,7 @@ pub mod accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationResponse), @@ -436,7 +436,7 @@ pub mod accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -460,7 +460,7 @@ pub mod accounts { } } pub mod consumer_invitations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_invitations( operation_config: &crate::OperationConfig, skip_token: Option<&str>, @@ -507,7 +507,7 @@ pub mod consumer_invitations { } } pub mod list_invitations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -575,7 +575,7 @@ pub mod consumer_invitations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -646,7 +646,7 @@ pub mod consumer_invitations { } } pub mod reject_invitation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -670,7 +670,7 @@ pub mod consumer_invitations { } } pub mod data_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -723,7 +723,7 @@ pub mod data_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -805,7 +805,7 @@ pub mod data_sets { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DataSet), @@ -881,7 +881,7 @@ pub mod data_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -974,7 +974,7 @@ pub mod data_sets { } } pub mod list_by_share { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -998,7 +998,7 @@ pub mod data_sets { } } pub mod data_set_mappings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1051,7 +1051,7 @@ pub mod data_set_mappings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1133,7 +1133,7 @@ pub mod data_set_mappings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DataSetMapping), @@ -1208,7 +1208,7 @@ pub mod data_set_mappings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1302,7 +1302,7 @@ pub mod data_set_mappings { } } pub mod list_by_share_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1326,7 +1326,7 @@ pub mod data_set_mappings { } } pub mod email_registrations { - use crate::models::*; + use super::{models, models::*}; pub async fn activate_email( operation_config: &crate::OperationConfig, location: &str, @@ -1376,7 +1376,7 @@ pub mod email_registrations { } } pub mod activate_email { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1446,7 +1446,7 @@ pub mod email_registrations { } } pub mod register_email { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1470,7 +1470,7 @@ pub mod email_registrations { } } pub mod invitations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1523,7 +1523,7 @@ pub mod invitations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1605,7 +1605,7 @@ pub mod invitations { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Invitation), @@ -1680,7 +1680,7 @@ pub mod invitations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1772,7 +1772,7 @@ pub mod invitations { } } pub mod list_by_share { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1796,7 +1796,7 @@ pub mod invitations { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DataShare/operations", operation_config.base_path(),); @@ -1834,7 +1834,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1858,7 +1858,7 @@ pub mod operations { } } pub mod shares { - use crate::models::*; + use super::{models, models::*}; pub async fn list_synchronization_details( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1928,7 +1928,7 @@ pub mod shares { } } pub mod list_synchronization_details { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2018,7 +2018,7 @@ pub mod shares { } } pub mod list_synchronizations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2090,7 +2090,7 @@ pub mod shares { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2170,7 +2170,7 @@ pub mod shares { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Share), @@ -2249,7 +2249,7 @@ pub mod shares { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationResponse), @@ -2340,7 +2340,7 @@ pub mod shares { } } pub mod list_by_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2364,7 +2364,7 @@ pub mod shares { } } pub mod provider_share_subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn adjust( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2411,7 +2411,7 @@ pub mod provider_share_subscriptions { } } pub mod adjust { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2482,7 +2482,7 @@ pub mod provider_share_subscriptions { } } pub mod reinstate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2555,7 +2555,7 @@ pub mod provider_share_subscriptions { } } pub mod revoke { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProviderShareSubscription), @@ -2637,7 +2637,7 @@ pub mod provider_share_subscriptions { } } pub mod get_by_share { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2716,7 +2716,7 @@ pub mod provider_share_subscriptions { } } pub mod list_by_share { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2740,7 +2740,7 @@ pub mod provider_share_subscriptions { } } pub mod share_subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn cancel_synchronization( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2804,7 +2804,7 @@ pub mod share_subscriptions { } } pub mod cancel_synchronization { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ShareSubscriptionSynchronization), @@ -2884,7 +2884,7 @@ pub mod share_subscriptions { } } pub mod list_source_share_synchronization_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2969,7 +2969,7 @@ pub mod share_subscriptions { } } pub mod list_synchronization_details { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3059,7 +3059,7 @@ pub mod share_subscriptions { } } pub mod list_synchronizations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3142,7 +3142,7 @@ pub mod share_subscriptions { } } pub mod synchronize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ShareSubscriptionSynchronization), @@ -3219,7 +3219,7 @@ pub mod share_subscriptions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3299,7 +3299,7 @@ pub mod share_subscriptions { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ShareSubscription), @@ -3378,7 +3378,7 @@ pub mod share_subscriptions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationResponse), @@ -3469,7 +3469,7 @@ pub mod share_subscriptions { } } pub mod list_by_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3493,7 +3493,7 @@ pub mod share_subscriptions { } } pub mod consumer_source_data_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_share_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3553,7 +3553,7 @@ pub mod consumer_source_data_sets { } } pub mod list_by_share_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3577,7 +3577,7 @@ pub mod consumer_source_data_sets { } } pub mod synchronization_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3630,7 +3630,7 @@ pub mod synchronization_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3712,7 +3712,7 @@ pub mod synchronization_settings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(SynchronizationSetting), @@ -3793,7 +3793,7 @@ pub mod synchronization_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationResponse), @@ -3878,7 +3878,7 @@ pub mod synchronization_settings { } } pub mod list_by_share { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3902,7 +3902,7 @@ pub mod synchronization_settings { } } pub mod triggers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3955,7 +3955,7 @@ pub mod triggers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4037,7 +4037,7 @@ pub mod triggers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Trigger), @@ -4118,7 +4118,7 @@ pub mod triggers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationResponse), @@ -4205,7 +4205,7 @@ pub mod triggers { } } pub mod list_by_share_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/deploymentmanager/Cargo.toml b/services/mgmt/deploymentmanager/Cargo.toml index cf0efbc87e..a7a34edae3 100644 --- a/services/mgmt/deploymentmanager/Cargo.toml +++ b/services/mgmt/deploymentmanager/Cargo.toml @@ -20,5 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2019-11-01-preview"] +no-default-version = [] "package-2019-11-01-preview" = [] -"package-2018-09-01-preview" = [] diff --git a/services/mgmt/deploymentmanager/src/lib.rs b/services/mgmt/deploymentmanager/src/lib.rs index a95e8668dc..6f9e0a3abf 100644 --- a/services/mgmt/deploymentmanager/src/lib.rs +++ b/services/mgmt/deploymentmanager/src/lib.rs @@ -1,13 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2019-11-01-preview")] -mod package_2019_11_01_preview; -#[cfg(feature = "package-2019-11-01-preview")] -pub use package_2019_11_01_preview::{models, operations, API_VERSION}; -#[cfg(feature = "package-2018-09-01-preview")] -mod package_2018_09_01_preview; +pub mod package_2019_11_01_preview; use azure_core::setters; -#[cfg(feature = "package-2018-09-01-preview")] -pub use package_2018_09_01_preview::{models, operations, API_VERSION}; +#[cfg(all(feature = "package-2019-11-01-preview", not(feature = "no-default-version")))] +pub use package_2019_11_01_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -31,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/deploymentmanager/src/package_2018_09_01_preview/mod.rs b/services/mgmt/deploymentmanager/src/package_2018_09_01_preview/mod.rs deleted file mode 100644 index c3c2ce7445..0000000000 --- a/services/mgmt/deploymentmanager/src/package_2018_09_01_preview/mod.rs +++ /dev/null @@ -1,3 +0,0 @@ -pub mod models; -pub mod operations; -pub const API_VERSION: &str = "2018-09-01-preview"; diff --git a/services/mgmt/deploymentmanager/src/package_2018_09_01_preview/models.rs b/services/mgmt/deploymentmanager/src/package_2018_09_01_preview/models.rs deleted file mode 100644 index 5d188fbf75..0000000000 --- a/services/mgmt/deploymentmanager/src/package_2018_09_01_preview/models.rs +++ /dev/null @@ -1,316 +0,0 @@ -#![doc = "generated by AutoRust 0.1.0"] -#![allow(non_camel_case_types)] -#![allow(unused_imports)] -use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct Identity { - #[serde(rename = "type")] - pub type_: String, - #[serde(rename = "identityIds")] - pub identity_ids: Vec, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct RolloutRequest { - #[serde(flatten)] - pub tracked_resource: TrackedResource, - pub identity: Identity, - pub properties: RolloutRequestProperties, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct RolloutRequestProperties { - #[serde(rename = "buildVersion")] - pub build_version: String, - #[serde(rename = "artifactSourceId", default, skip_serializing_if = "Option::is_none")] - pub artifact_source_id: Option, - #[serde(rename = "targetServiceTopologyId")] - pub target_service_topology_id: String, - #[serde(rename = "stepGroups")] - pub step_groups: Vec, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct Step { - pub name: String, - #[serde(rename = "dependsOnStepGroups", default, skip_serializing_if = "Vec::is_empty")] - pub depends_on_step_groups: Vec, - #[serde(rename = "preDeploymentSteps", default, skip_serializing_if = "Vec::is_empty")] - pub pre_deployment_steps: Vec, - #[serde(rename = "deploymentTargetId")] - pub deployment_target_id: String, - #[serde(rename = "postDeploymentSteps", default, skip_serializing_if = "Vec::is_empty")] - pub post_deployment_steps: Vec, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct PrePostStep { - #[serde(rename = "stepId")] - pub step_id: String, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ArtifactSource { - #[serde(flatten)] - pub tracked_resource: TrackedResource, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub properties: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ArtifactSourceProperties { - #[serde(rename = "sourceType")] - pub source_type: String, - #[serde(rename = "artifactRoot", default, skip_serializing_if = "Option::is_none")] - pub artifact_root: Option, - pub authentication: Authentication, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct Authentication { - #[serde(rename = "type")] - pub type_: String, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct SasAuthentication { - #[serde(flatten)] - pub authentication: Authentication, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub properties: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct SasProperties { - #[serde(rename = "sasUri")] - pub sas_uri: String, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct Rollout { - #[serde(flatten)] - pub tracked_resource: TrackedResource, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub identity: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub properties: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct RolloutProperties { - #[serde(default, skip_serializing_if = "Option::is_none")] - pub status: Option, - #[serde(rename = "totalRetryAttempts", default, skip_serializing_if = "Option::is_none")] - pub total_retry_attempts: Option, - #[serde(rename = "operationInfo", default, skip_serializing_if = "Option::is_none")] - pub operation_info: Option, - #[serde(default, skip_serializing_if = "Vec::is_empty")] - pub services: Vec, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct RolloutOperationInfo { - #[serde(rename = "retryAttempt", default, skip_serializing_if = "Option::is_none")] - pub retry_attempt: Option, - #[serde(rename = "skipSucceededOnRetry", default, skip_serializing_if = "Option::is_none")] - pub skip_succeeded_on_retry: Option, - #[serde(rename = "startTime", default, skip_serializing_if = "Option::is_none")] - pub start_time: Option, - #[serde(rename = "endTime", default, skip_serializing_if = "Option::is_none")] - pub end_time: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub error: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ServiceTopologyResource { - #[serde(flatten)] - pub tracked_resource: TrackedResource, - pub properties: serde_json::Value, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ServiceTopologyProperties { - #[serde(rename = "artifactSourceId", default, skip_serializing_if = "Option::is_none")] - pub artifact_source_id: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ServiceResource { - #[serde(flatten)] - pub tracked_resource: TrackedResource, - pub properties: serde_json::Value, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct Service { - #[serde(flatten)] - pub service_properties: ServiceProperties, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub name: Option, - #[serde(rename = "serviceUnits", default, skip_serializing_if = "Vec::is_empty")] - pub service_units: Vec, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ServiceProperties { - #[serde(rename = "targetLocation")] - pub target_location: String, - #[serde(rename = "targetSubscriptionId")] - pub target_subscription_id: String, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ServiceUnitResource { - #[serde(flatten)] - pub tracked_resource: TrackedResource, - pub properties: serde_json::Value, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ServiceUnit { - #[serde(flatten)] - pub service_unit_properties: ServiceUnitProperties, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub name: Option, - #[serde(default, skip_serializing_if = "Vec::is_empty")] - pub steps: Vec, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ServiceUnitProperties { - #[serde(rename = "targetResourceGroup")] - pub target_resource_group: String, - #[serde(rename = "deploymentMode")] - pub deployment_mode: service_unit_properties::DeploymentMode, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub artifacts: Option, -} -pub mod service_unit_properties { - use super::*; - #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] - pub enum DeploymentMode { - Incremental, - Complete, - } -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ServiceUnitArtifacts { - #[serde(rename = "templateUri", default, skip_serializing_if = "Option::is_none")] - pub template_uri: Option, - #[serde(rename = "parametersUri", default, skip_serializing_if = "Option::is_none")] - pub parameters_uri: Option, - #[serde(rename = "templateArtifactSourceRelativePath", default, skip_serializing_if = "Option::is_none")] - pub template_artifact_source_relative_path: Option, - #[serde(rename = "parametersArtifactSourceRelativePath", default, skip_serializing_if = "Option::is_none")] - pub parameters_artifact_source_relative_path: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct RolloutStep { - pub name: String, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub status: Option, - #[serde(rename = "stepGroup", default, skip_serializing_if = "Option::is_none")] - pub step_group: Option, - #[serde(rename = "operationInfo", default, skip_serializing_if = "Option::is_none")] - pub operation_info: Option, - #[serde(rename = "resourceOperations", default, skip_serializing_if = "Vec::is_empty")] - pub resource_operations: Vec, - #[serde(default, skip_serializing_if = "Vec::is_empty")] - pub messages: Vec, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct StepOperationInfo { - #[serde(rename = "deploymentName", default, skip_serializing_if = "Option::is_none")] - pub deployment_name: Option, - #[serde(rename = "correlationId", default, skip_serializing_if = "Option::is_none")] - pub correlation_id: Option, - #[serde(rename = "startTime", default, skip_serializing_if = "Option::is_none")] - pub start_time: Option, - #[serde(rename = "endTime", default, skip_serializing_if = "Option::is_none")] - pub end_time: Option, - #[serde(rename = "lastUpdatedTime", default, skip_serializing_if = "Option::is_none")] - pub last_updated_time: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub error: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ResourceOperation { - #[serde(rename = "resourceName", default, skip_serializing_if = "Option::is_none")] - pub resource_name: Option, - #[serde(rename = "operationId", default, skip_serializing_if = "Option::is_none")] - pub operation_id: Option, - #[serde(rename = "resourceType", default, skip_serializing_if = "Option::is_none")] - pub resource_type: Option, - #[serde(rename = "provisioningState", default, skip_serializing_if = "Option::is_none")] - pub provisioning_state: Option, - #[serde(rename = "statusMessage", default, skip_serializing_if = "Option::is_none")] - pub status_message: Option, - #[serde(rename = "statusCode", default, skip_serializing_if = "Option::is_none")] - pub status_code: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct Message { - #[serde(rename = "timeStamp", default, skip_serializing_if = "Option::is_none")] - pub time_stamp: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub message: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct CloudError { - #[serde(default, skip_serializing_if = "Option::is_none")] - pub error: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct CloudErrorBody { - #[serde(default, skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub message: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub target: Option, - #[serde(default, skip_serializing_if = "Vec::is_empty")] - pub details: Vec, -} -pub type OperationsList = Vec; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct Operation { - #[serde(default, skip_serializing_if = "Option::is_none")] - pub name: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub display: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub origin: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub properties: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct OperationDetail { - #[serde(default, skip_serializing_if = "Option::is_none")] - pub provider: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub resource: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub operation: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub description: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct StepResource { - #[serde(flatten)] - pub tracked_resource: TrackedResource, - pub properties: StepProperties, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct StepProperties { - #[serde(rename = "stepType")] - pub step_type: String, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct WaitStepProperties { - #[serde(flatten)] - pub step_properties: StepProperties, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub attributes: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct WaitStepAttributes { - pub duration: String, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct TrackedResource { - #[serde(flatten)] - pub resource: Resource, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub tags: Option, - pub location: String, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct Resource { - #[serde(default, skip_serializing_if = "Option::is_none")] - pub id: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub name: Option, - #[serde(rename = "type", default, skip_serializing_if = "Option::is_none")] - pub type_: Option, -} diff --git a/services/mgmt/deploymentmanager/src/package_2018_09_01_preview/operations.rs b/services/mgmt/deploymentmanager/src/package_2018_09_01_preview/operations.rs deleted file mode 100644 index 3dc8f124dd..0000000000 --- a/services/mgmt/deploymentmanager/src/package_2018_09_01_preview/operations.rs +++ /dev/null @@ -1,1576 +0,0 @@ -#![doc = "generated by AutoRust 0.1.0"] -#![allow(unused_mut)] -#![allow(unused_variables)] -#![allow(unused_imports)] -use crate::models::*; -pub mod service_topologies { - use crate::models::*; - pub async fn get( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - service_topology_name: &str, - subscription_id: &str, - resource_group_name: &str, - service_topology_name: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DeploymentManager/serviceTopologies/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - service_topology_name - ); - let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(get::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: ServiceTopologyResource = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: CloudError = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Err(get::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod get { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::CloudError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn create_or_update( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - service_topology_name: &str, - service_topology_info: &ServiceTopologyResource, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DeploymentManager/serviceTopologies/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - service_topology_name - ); - let mut url = url::Url::parse(url_str).map_err(create_or_update::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::PUT); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(create_or_update::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - req_builder = req_builder.header("content-type", "application/json"); - let req_body = azure_core::to_json(service_topology_info).map_err(create_or_update::Error::SerializeError)?; - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(create_or_update::Error::BuildRequestError)?; - let rsp = http_client - .execute_request(req) - .await - .map_err(create_or_update::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::CREATED => { - let rsp_body = rsp.body(); - let rsp_value: ServiceTopologyResource = serde_json::from_slice(rsp_body) - .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: CloudError = serde_json::from_slice(rsp_body) - .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; - Err(create_or_update::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod create_or_update { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::CloudError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn delete( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - service_topology_name: &str, - subscription_id: &str, - resource_group_name: &str, - service_topology_name: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DeploymentManager/serviceTopologies/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - service_topology_name - ); - let mut url = url::Url::parse(url_str).map_err(delete::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::DELETE); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(delete::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(delete::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(delete::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => Ok(delete::Response::Ok200), - http::StatusCode::NO_CONTENT => Ok(delete::Response::NoContent204), - status_code => { - let rsp_body = rsp.body(); - let rsp_value: CloudError = - serde_json::from_slice(rsp_body).map_err(|source| delete::Error::DeserializeError(source, rsp_body.clone()))?; - Err(delete::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod delete { - use crate::{models, models::*}; - #[derive(Debug)] - pub enum Response { - Ok200, - NoContent204, - } - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::CloudError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } -} -pub mod services { - use crate::models::*; - pub async fn get( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - service_topology_name: &str, - service_name: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DeploymentManager/serviceTopologies/{}/services/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - service_topology_name, - service_name - ); - let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(get::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: ServiceResource = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: CloudError = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Err(get::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod get { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::CloudError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn create_or_update( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - service_topology_name: &str, - service_name: &str, - service_info: &ServiceResource, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DeploymentManager/serviceTopologies/{}/services/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - service_topology_name, - service_name - ); - let mut url = url::Url::parse(url_str).map_err(create_or_update::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::PUT); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(create_or_update::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - req_builder = req_builder.header("content-type", "application/json"); - let req_body = azure_core::to_json(service_info).map_err(create_or_update::Error::SerializeError)?; - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(create_or_update::Error::BuildRequestError)?; - let rsp = http_client - .execute_request(req) - .await - .map_err(create_or_update::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::CREATED => { - let rsp_body = rsp.body(); - let rsp_value: ServiceResource = serde_json::from_slice(rsp_body) - .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: CloudError = serde_json::from_slice(rsp_body) - .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; - Err(create_or_update::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod create_or_update { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::CloudError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn delete( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - service_topology_name: &str, - service_name: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DeploymentManager/serviceTopologies/{}/services/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - service_topology_name, - service_name - ); - let mut url = url::Url::parse(url_str).map_err(delete::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::DELETE); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(delete::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(delete::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(delete::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => Ok(delete::Response::Ok200), - http::StatusCode::NO_CONTENT => Ok(delete::Response::NoContent204), - status_code => { - let rsp_body = rsp.body(); - let rsp_value: CloudError = - serde_json::from_slice(rsp_body).map_err(|source| delete::Error::DeserializeError(source, rsp_body.clone()))?; - Err(delete::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod delete { - use crate::{models, models::*}; - #[derive(Debug)] - pub enum Response { - Ok200, - NoContent204, - } - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::CloudError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } -} -pub mod service_units { - use crate::models::*; - pub async fn get( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - service_topology_name: &str, - service_name: &str, - service_unit_name: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DeploymentManager/serviceTopologies/{}/services/{}/serviceUnits/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - service_topology_name, - service_name, - service_unit_name - ); - let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(get::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: ServiceUnitResource = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: CloudError = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Err(get::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod get { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::CloudError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn create_or_update( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - service_topology_name: &str, - service_name: &str, - service_unit_name: &str, - service_unit_info: &ServiceUnitResource, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DeploymentManager/serviceTopologies/{}/services/{}/serviceUnits/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - service_topology_name, - service_name, - service_unit_name - ); - let mut url = url::Url::parse(url_str).map_err(create_or_update::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::PUT); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(create_or_update::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - req_builder = req_builder.header("content-type", "application/json"); - let req_body = azure_core::to_json(service_unit_info).map_err(create_or_update::Error::SerializeError)?; - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(create_or_update::Error::BuildRequestError)?; - let rsp = http_client - .execute_request(req) - .await - .map_err(create_or_update::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::CREATED => { - let rsp_body = rsp.body(); - let rsp_value: ServiceUnitResource = serde_json::from_slice(rsp_body) - .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: CloudError = serde_json::from_slice(rsp_body) - .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; - Err(create_or_update::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod create_or_update { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::CloudError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn delete( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - service_topology_name: &str, - service_name: &str, - service_unit_name: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DeploymentManager/serviceTopologies/{}/services/{}/serviceUnits/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - service_topology_name, - service_name, - service_unit_name - ); - let mut url = url::Url::parse(url_str).map_err(delete::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::DELETE); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(delete::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(delete::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(delete::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => Ok(delete::Response::Ok200), - http::StatusCode::NO_CONTENT => Ok(delete::Response::NoContent204), - status_code => { - let rsp_body = rsp.body(); - let rsp_value: CloudError = - serde_json::from_slice(rsp_body).map_err(|source| delete::Error::DeserializeError(source, rsp_body.clone()))?; - Err(delete::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod delete { - use crate::{models, models::*}; - #[derive(Debug)] - pub enum Response { - Ok200, - NoContent204, - } - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::CloudError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } -} -pub mod steps { - use crate::models::*; - pub async fn get( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - step_name: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DeploymentManager/steps/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - step_name - ); - let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(get::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: StepResource = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: CloudError = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Err(get::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod get { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::CloudError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn create_or_update( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - step_name: &str, - step_info: Option<&StepResource>, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DeploymentManager/steps/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - step_name - ); - let mut url = url::Url::parse(url_str).map_err(create_or_update::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::PUT); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(create_or_update::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = if let Some(step_info) = step_info { - req_builder = req_builder.header("content-type", "application/json"); - azure_core::to_json(step_info).map_err(create_or_update::Error::SerializeError)? - } else { - bytes::Bytes::from_static(azure_core::EMPTY_BODY) - }; - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(create_or_update::Error::BuildRequestError)?; - let rsp = http_client - .execute_request(req) - .await - .map_err(create_or_update::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::CREATED => { - let rsp_body = rsp.body(); - let rsp_value: StepResource = serde_json::from_slice(rsp_body) - .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: CloudError = serde_json::from_slice(rsp_body) - .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; - Err(create_or_update::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod create_or_update { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::CloudError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn delete( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - step_name: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DeploymentManager/steps/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - step_name - ); - let mut url = url::Url::parse(url_str).map_err(delete::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::DELETE); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(delete::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(delete::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(delete::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => Ok(delete::Response::Ok200), - http::StatusCode::NO_CONTENT => Ok(delete::Response::NoContent204), - status_code => { - let rsp_body = rsp.body(); - let rsp_value: CloudError = - serde_json::from_slice(rsp_body).map_err(|source| delete::Error::DeserializeError(source, rsp_body.clone()))?; - Err(delete::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod delete { - use crate::{models, models::*}; - #[derive(Debug)] - pub enum Response { - Ok200, - NoContent204, - } - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::CloudError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } -} -pub mod rollouts { - use crate::models::*; - pub async fn get( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - rollout_name: &str, - retry_attempt: Option, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DeploymentManager/rollouts/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - rollout_name - ); - let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(get::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - if let Some(retry_attempt) = retry_attempt { - url.query_pairs_mut() - .append_pair("retryAttempt", retry_attempt.to_string().as_str()); - } - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: Rollout = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: CloudError = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Err(get::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod get { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::CloudError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn create_or_update( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - rollout_name: &str, - rollout_request: Option<&RolloutRequest>, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DeploymentManager/rollouts/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - rollout_name - ); - let mut url = url::Url::parse(url_str).map_err(create_or_update::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::PUT); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(create_or_update::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = if let Some(rollout_request) = rollout_request { - req_builder = req_builder.header("content-type", "application/json"); - azure_core::to_json(rollout_request).map_err(create_or_update::Error::SerializeError)? - } else { - bytes::Bytes::from_static(azure_core::EMPTY_BODY) - }; - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(create_or_update::Error::BuildRequestError)?; - let rsp = http_client - .execute_request(req) - .await - .map_err(create_or_update::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::CREATED => { - let rsp_body = rsp.body(); - let rsp_value: RolloutRequest = serde_json::from_slice(rsp_body) - .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: CloudError = serde_json::from_slice(rsp_body) - .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; - Err(create_or_update::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod create_or_update { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::CloudError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn delete( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - rollout_name: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DeploymentManager/rollouts/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - rollout_name - ); - let mut url = url::Url::parse(url_str).map_err(delete::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::DELETE); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(delete::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(delete::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(delete::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => Ok(delete::Response::Ok200), - http::StatusCode::NO_CONTENT => Ok(delete::Response::NoContent204), - status_code => { - let rsp_body = rsp.body(); - let rsp_value: CloudError = - serde_json::from_slice(rsp_body).map_err(|source| delete::Error::DeserializeError(source, rsp_body.clone()))?; - Err(delete::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod delete { - use crate::{models, models::*}; - #[derive(Debug)] - pub enum Response { - Ok200, - NoContent204, - } - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::CloudError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn cancel( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - rollout_name: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DeploymentManager/rollouts/{}/cancel", - operation_config.base_path(), - subscription_id, - resource_group_name, - rollout_name - ); - let mut url = url::Url::parse(url_str).map_err(cancel::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::POST); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(cancel::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.header(http::header::CONTENT_LENGTH, 0); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(cancel::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(cancel::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: Rollout = - serde_json::from_slice(rsp_body).map_err(|source| cancel::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: CloudError = - serde_json::from_slice(rsp_body).map_err(|source| cancel::Error::DeserializeError(source, rsp_body.clone()))?; - Err(cancel::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod cancel { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::CloudError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn restart( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - rollout_name: &str, - skip_succeeded: Option, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DeploymentManager/rollouts/{}/restart", - operation_config.base_path(), - subscription_id, - resource_group_name, - rollout_name - ); - let mut url = url::Url::parse(url_str).map_err(restart::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::POST); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(restart::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - if let Some(skip_succeeded) = skip_succeeded { - url.query_pairs_mut() - .append_pair("skipSucceeded", skip_succeeded.to_string().as_str()); - } - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.header(http::header::CONTENT_LENGTH, 0); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(restart::Error::BuildRequestError)?; - let rsp = http_client - .execute_request(req) - .await - .map_err(restart::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: Rollout = - serde_json::from_slice(rsp_body).map_err(|source| restart::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: CloudError = - serde_json::from_slice(rsp_body).map_err(|source| restart::Error::DeserializeError(source, rsp_body.clone()))?; - Err(restart::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod restart { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::CloudError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } -} -pub mod artifact_sources { - use crate::models::*; - pub async fn get( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - artifact_source_name: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DeploymentManager/artifactSources/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - artifact_source_name - ); - let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(get::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: ArtifactSource = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: CloudError = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Err(get::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod get { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::CloudError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn create_or_update( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - artifact_source_name: &str, - artifact_source_info: Option<&ArtifactSource>, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DeploymentManager/artifactSources/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - artifact_source_name - ); - let mut url = url::Url::parse(url_str).map_err(create_or_update::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::PUT); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(create_or_update::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = if let Some(artifact_source_info) = artifact_source_info { - req_builder = req_builder.header("content-type", "application/json"); - azure_core::to_json(artifact_source_info).map_err(create_or_update::Error::SerializeError)? - } else { - bytes::Bytes::from_static(azure_core::EMPTY_BODY) - }; - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(create_or_update::Error::BuildRequestError)?; - let rsp = http_client - .execute_request(req) - .await - .map_err(create_or_update::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::CREATED => { - let rsp_body = rsp.body(); - let rsp_value: ArtifactSource = serde_json::from_slice(rsp_body) - .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: CloudError = serde_json::from_slice(rsp_body) - .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; - Err(create_or_update::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod create_or_update { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::CloudError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn delete( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - artifact_source_name: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DeploymentManager/artifactSources/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - artifact_source_name - ); - let mut url = url::Url::parse(url_str).map_err(delete::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::DELETE); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(delete::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(delete::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(delete::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => Ok(delete::Response::Ok200), - http::StatusCode::NO_CONTENT => Ok(delete::Response::NoContent204), - status_code => { - let rsp_body = rsp.body(); - let rsp_value: CloudError = - serde_json::from_slice(rsp_body).map_err(|source| delete::Error::DeserializeError(source, rsp_body.clone()))?; - Err(delete::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod delete { - use crate::{models, models::*}; - #[derive(Debug)] - pub enum Response { - Ok200, - NoContent204, - } - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::CloudError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } -} -pub mod operations { - use crate::models::*; - pub async fn get(operation_config: &crate::OperationConfig, subscription_id: &str) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/providers/Microsoft.DeploymentManager/operations", - operation_config.base_path(), - subscription_id - ); - let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(get::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: OperationsList = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: CloudError = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Err(get::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod get { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::CloudError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } -} diff --git a/services/mgmt/deploymentmanager/src/package_2019_11_01_preview/operations.rs b/services/mgmt/deploymentmanager/src/package_2019_11_01_preview/operations.rs index 91a6286b9a..2235999df5 100644 --- a/services/mgmt/deploymentmanager/src/package_2019_11_01_preview/operations.rs +++ b/services/mgmt/deploymentmanager/src/package_2019_11_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod service_topologies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod service_topologies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -128,7 +128,7 @@ pub mod service_topologies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -194,7 +194,7 @@ pub mod service_topologies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -267,7 +267,7 @@ pub mod service_topologies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -291,7 +291,7 @@ pub mod service_topologies { } } pub mod services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -342,7 +342,7 @@ pub mod services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -419,7 +419,7 @@ pub mod services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -487,7 +487,7 @@ pub mod services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -562,7 +562,7 @@ pub mod services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -586,7 +586,7 @@ pub mod services { } } pub mod service_units { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -639,7 +639,7 @@ pub mod service_units { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -718,7 +718,7 @@ pub mod service_units { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -788,7 +788,7 @@ pub mod service_units { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -865,7 +865,7 @@ pub mod service_units { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -889,7 +889,7 @@ pub mod service_units { } } pub mod steps { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -938,7 +938,7 @@ pub mod steps { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1017,7 +1017,7 @@ pub mod steps { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1083,7 +1083,7 @@ pub mod steps { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1156,7 +1156,7 @@ pub mod steps { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1180,7 +1180,7 @@ pub mod steps { } } pub mod rollouts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1234,7 +1234,7 @@ pub mod rollouts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1313,7 +1313,7 @@ pub mod rollouts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1379,7 +1379,7 @@ pub mod rollouts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1455,7 +1455,7 @@ pub mod rollouts { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1534,7 +1534,7 @@ pub mod rollouts { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1602,7 +1602,7 @@ pub mod rollouts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1626,7 +1626,7 @@ pub mod rollouts { } } pub mod artifact_sources { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1675,7 +1675,7 @@ pub mod artifact_sources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1754,7 +1754,7 @@ pub mod artifact_sources { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1820,7 +1820,7 @@ pub mod artifact_sources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1893,7 +1893,7 @@ pub mod artifact_sources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1917,7 +1917,7 @@ pub mod artifact_sources { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DeploymentManager/operations", operation_config.base_path(),); @@ -1955,7 +1955,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/desktopvirtualization/Cargo.toml b/services/mgmt/desktopvirtualization/Cargo.toml index f131e2d4ac..30adb90254 100644 --- a/services/mgmt/desktopvirtualization/Cargo.toml +++ b/services/mgmt/desktopvirtualization/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-07"] +no-default-version = [] "package-preview-2021-09" = [] "package-2021-07" = [] "package-2019-01-23-preview" = [] diff --git a/services/mgmt/desktopvirtualization/src/lib.rs b/services/mgmt/desktopvirtualization/src/lib.rs index b63e7031f7..3fb341a8c2 100644 --- a/services/mgmt/desktopvirtualization/src/lib.rs +++ b/services/mgmt/desktopvirtualization/src/lib.rs @@ -1,57 +1,65 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-preview-2021-09")] -mod package_preview_2021_09; -#[cfg(feature = "package-preview-2021-09")] +pub mod package_preview_2021_09; +#[cfg(all(feature = "package-preview-2021-09", not(feature = "no-default-version")))] pub use package_preview_2021_09::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-07")] -mod package_2021_07; -#[cfg(feature = "package-2021-07")] +pub mod package_2021_07; +#[cfg(all(feature = "package-2021-07", not(feature = "no-default-version")))] pub use package_2021_07::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-01-23-preview")] -mod package_2019_01_23_preview; -#[cfg(feature = "package-2019-01-23-preview")] +pub mod package_2019_01_23_preview; +#[cfg(all(feature = "package-2019-01-23-preview", not(feature = "no-default-version")))] pub use package_2019_01_23_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-09-24-preview")] -mod package_2019_09_24_preview; -#[cfg(feature = "package-2019-09-24-preview")] +pub mod package_2019_09_24_preview; +#[cfg(all(feature = "package-2019-09-24-preview", not(feature = "no-default-version")))] pub use package_2019_09_24_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-12-10-preview")] -mod package_2019_12_10_preview; -#[cfg(feature = "package-2019-12-10-preview")] +pub mod package_2019_12_10_preview; +#[cfg(all(feature = "package-2019-12-10-preview", not(feature = "no-default-version")))] pub use package_2019_12_10_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-09-21-preview")] -mod package_2020_09_21_preview; -#[cfg(feature = "package-2020-09-21-preview")] +pub mod package_2020_09_21_preview; +#[cfg(all(feature = "package-2020-09-21-preview", not(feature = "no-default-version")))] pub use package_2020_09_21_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-10-19-preview")] -mod package_2020_10_19_preview; -#[cfg(feature = "package-2020-10-19-preview")] +pub mod package_2020_10_19_preview; +#[cfg(all(feature = "package-2020-10-19-preview", not(feature = "no-default-version")))] pub use package_2020_10_19_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-11-02-preview")] -mod package_2020_11_02_preview; -#[cfg(feature = "package-2020-11-02-preview")] +pub mod package_2020_11_02_preview; +#[cfg(all(feature = "package-2020-11-02-preview", not(feature = "no-default-version")))] pub use package_2020_11_02_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-11-10-preview")] -mod package_2020_11_10_preview; -#[cfg(feature = "package-2020-11-10-preview")] +pub mod package_2020_11_10_preview; +#[cfg(all(feature = "package-2020-11-10-preview", not(feature = "no-default-version")))] pub use package_2020_11_10_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-01-14-preview")] -mod package_2021_01_14_preview; -#[cfg(feature = "package-2021-01-14-preview")] +pub mod package_2021_01_14_preview; +#[cfg(all(feature = "package-2021-01-14-preview", not(feature = "no-default-version")))] pub use package_2021_01_14_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-02-01-preview")] -mod package_2021_02_01_preview; -#[cfg(feature = "package-2021-02-01-preview")] +pub mod package_2021_02_01_preview; +#[cfg(all(feature = "package-2021-02-01-preview", not(feature = "no-default-version")))] pub use package_2021_02_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-03-09-preview")] -mod package_2021_03_09_preview; -#[cfg(feature = "package-2021-03-09-preview")] +pub mod package_2021_03_09_preview; +#[cfg(all(feature = "package-2021-03-09-preview", not(feature = "no-default-version")))] pub use package_2021_03_09_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-04-01-preview")] -mod package_2021_04_01_preview; +pub mod package_2021_04_01_preview; use azure_core::setters; -#[cfg(feature = "package-2021-04-01-preview")] +#[cfg(all(feature = "package-2021-04-01-preview", not(feature = "no-default-version")))] pub use package_2021_04_01_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -75,7 +83,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/desktopvirtualization/src/package_2019_01_23_preview/operations.rs b/services/mgmt/desktopvirtualization/src/package_2019_01_23_preview/operations.rs index f3d5e44ec4..451763444b 100644 --- a/services/mgmt/desktopvirtualization/src/package_2019_01_23_preview/operations.rs +++ b/services/mgmt/desktopvirtualization/src/package_2019_01_23_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -43,7 +43,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -64,7 +64,7 @@ pub mod operations { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -113,7 +113,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -194,7 +194,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -275,7 +275,7 @@ pub mod workspaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -341,7 +341,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -419,7 +419,7 @@ pub mod workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -488,7 +488,7 @@ pub mod workspaces { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -512,7 +512,7 @@ pub mod workspaces { } } pub mod application_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -561,7 +561,7 @@ pub mod application_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -642,7 +642,7 @@ pub mod application_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGroup), @@ -723,7 +723,7 @@ pub mod application_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -789,7 +789,7 @@ pub mod application_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -871,7 +871,7 @@ pub mod application_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -944,7 +944,7 @@ pub mod application_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -968,7 +968,7 @@ pub mod application_groups { } } pub mod start_menu_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1017,7 +1017,7 @@ pub mod start_menu_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1041,7 +1041,7 @@ pub mod start_menu_items { } } pub mod applications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1092,7 +1092,7 @@ pub mod applications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1175,7 +1175,7 @@ pub mod applications { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Application), @@ -1258,7 +1258,7 @@ pub mod applications { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1326,7 +1326,7 @@ pub mod applications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1401,7 +1401,7 @@ pub mod applications { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1425,7 +1425,7 @@ pub mod applications { } } pub mod desktops { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1476,7 +1476,7 @@ pub mod desktops { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1554,7 +1554,7 @@ pub mod desktops { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1624,7 +1624,7 @@ pub mod desktops { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1648,7 +1648,7 @@ pub mod desktops { } } pub mod host_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1697,7 +1697,7 @@ pub mod host_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1778,7 +1778,7 @@ pub mod host_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HostPool), @@ -1859,7 +1859,7 @@ pub mod host_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1929,7 +1929,7 @@ pub mod host_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2007,7 +2007,7 @@ pub mod host_pools { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2070,7 +2070,7 @@ pub mod host_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2094,7 +2094,7 @@ pub mod host_pools { } } pub mod user_sessions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_host_pool( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2150,7 +2150,7 @@ pub mod user_sessions { } } pub mod list_by_host_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2224,7 +2224,7 @@ pub mod user_sessions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2298,7 +2298,7 @@ pub mod user_sessions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2375,7 +2375,7 @@ pub mod user_sessions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2440,7 +2440,7 @@ pub mod user_sessions { } } pub mod disconnect { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2510,7 +2510,7 @@ pub mod user_sessions { } } pub mod send_message { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2534,7 +2534,7 @@ pub mod user_sessions { } } pub mod session_hosts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2585,7 +2585,7 @@ pub mod session_hosts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2663,7 +2663,7 @@ pub mod session_hosts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2735,7 +2735,7 @@ pub mod session_hosts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2810,7 +2810,7 @@ pub mod session_hosts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/desktopvirtualization/src/package_2019_09_24_preview/operations.rs b/services/mgmt/desktopvirtualization/src/package_2019_09_24_preview/operations.rs index f3d5e44ec4..451763444b 100644 --- a/services/mgmt/desktopvirtualization/src/package_2019_09_24_preview/operations.rs +++ b/services/mgmt/desktopvirtualization/src/package_2019_09_24_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -43,7 +43,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -64,7 +64,7 @@ pub mod operations { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -113,7 +113,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -194,7 +194,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -275,7 +275,7 @@ pub mod workspaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -341,7 +341,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -419,7 +419,7 @@ pub mod workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -488,7 +488,7 @@ pub mod workspaces { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -512,7 +512,7 @@ pub mod workspaces { } } pub mod application_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -561,7 +561,7 @@ pub mod application_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -642,7 +642,7 @@ pub mod application_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGroup), @@ -723,7 +723,7 @@ pub mod application_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -789,7 +789,7 @@ pub mod application_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -871,7 +871,7 @@ pub mod application_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -944,7 +944,7 @@ pub mod application_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -968,7 +968,7 @@ pub mod application_groups { } } pub mod start_menu_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1017,7 +1017,7 @@ pub mod start_menu_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1041,7 +1041,7 @@ pub mod start_menu_items { } } pub mod applications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1092,7 +1092,7 @@ pub mod applications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1175,7 +1175,7 @@ pub mod applications { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Application), @@ -1258,7 +1258,7 @@ pub mod applications { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1326,7 +1326,7 @@ pub mod applications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1401,7 +1401,7 @@ pub mod applications { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1425,7 +1425,7 @@ pub mod applications { } } pub mod desktops { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1476,7 +1476,7 @@ pub mod desktops { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1554,7 +1554,7 @@ pub mod desktops { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1624,7 +1624,7 @@ pub mod desktops { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1648,7 +1648,7 @@ pub mod desktops { } } pub mod host_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1697,7 +1697,7 @@ pub mod host_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1778,7 +1778,7 @@ pub mod host_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HostPool), @@ -1859,7 +1859,7 @@ pub mod host_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1929,7 +1929,7 @@ pub mod host_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2007,7 +2007,7 @@ pub mod host_pools { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2070,7 +2070,7 @@ pub mod host_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2094,7 +2094,7 @@ pub mod host_pools { } } pub mod user_sessions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_host_pool( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2150,7 +2150,7 @@ pub mod user_sessions { } } pub mod list_by_host_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2224,7 +2224,7 @@ pub mod user_sessions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2298,7 +2298,7 @@ pub mod user_sessions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2375,7 +2375,7 @@ pub mod user_sessions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2440,7 +2440,7 @@ pub mod user_sessions { } } pub mod disconnect { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2510,7 +2510,7 @@ pub mod user_sessions { } } pub mod send_message { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2534,7 +2534,7 @@ pub mod user_sessions { } } pub mod session_hosts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2585,7 +2585,7 @@ pub mod session_hosts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2663,7 +2663,7 @@ pub mod session_hosts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2735,7 +2735,7 @@ pub mod session_hosts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2810,7 +2810,7 @@ pub mod session_hosts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/desktopvirtualization/src/package_2019_12_10_preview/operations.rs b/services/mgmt/desktopvirtualization/src/package_2019_12_10_preview/operations.rs index f3d5e44ec4..451763444b 100644 --- a/services/mgmt/desktopvirtualization/src/package_2019_12_10_preview/operations.rs +++ b/services/mgmt/desktopvirtualization/src/package_2019_12_10_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -43,7 +43,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -64,7 +64,7 @@ pub mod operations { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -113,7 +113,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -194,7 +194,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -275,7 +275,7 @@ pub mod workspaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -341,7 +341,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -419,7 +419,7 @@ pub mod workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -488,7 +488,7 @@ pub mod workspaces { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -512,7 +512,7 @@ pub mod workspaces { } } pub mod application_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -561,7 +561,7 @@ pub mod application_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -642,7 +642,7 @@ pub mod application_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGroup), @@ -723,7 +723,7 @@ pub mod application_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -789,7 +789,7 @@ pub mod application_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -871,7 +871,7 @@ pub mod application_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -944,7 +944,7 @@ pub mod application_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -968,7 +968,7 @@ pub mod application_groups { } } pub mod start_menu_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1017,7 +1017,7 @@ pub mod start_menu_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1041,7 +1041,7 @@ pub mod start_menu_items { } } pub mod applications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1092,7 +1092,7 @@ pub mod applications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1175,7 +1175,7 @@ pub mod applications { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Application), @@ -1258,7 +1258,7 @@ pub mod applications { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1326,7 +1326,7 @@ pub mod applications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1401,7 +1401,7 @@ pub mod applications { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1425,7 +1425,7 @@ pub mod applications { } } pub mod desktops { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1476,7 +1476,7 @@ pub mod desktops { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1554,7 +1554,7 @@ pub mod desktops { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1624,7 +1624,7 @@ pub mod desktops { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1648,7 +1648,7 @@ pub mod desktops { } } pub mod host_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1697,7 +1697,7 @@ pub mod host_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1778,7 +1778,7 @@ pub mod host_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HostPool), @@ -1859,7 +1859,7 @@ pub mod host_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1929,7 +1929,7 @@ pub mod host_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2007,7 +2007,7 @@ pub mod host_pools { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2070,7 +2070,7 @@ pub mod host_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2094,7 +2094,7 @@ pub mod host_pools { } } pub mod user_sessions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_host_pool( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2150,7 +2150,7 @@ pub mod user_sessions { } } pub mod list_by_host_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2224,7 +2224,7 @@ pub mod user_sessions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2298,7 +2298,7 @@ pub mod user_sessions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2375,7 +2375,7 @@ pub mod user_sessions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2440,7 +2440,7 @@ pub mod user_sessions { } } pub mod disconnect { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2510,7 +2510,7 @@ pub mod user_sessions { } } pub mod send_message { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2534,7 +2534,7 @@ pub mod user_sessions { } } pub mod session_hosts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2585,7 +2585,7 @@ pub mod session_hosts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2663,7 +2663,7 @@ pub mod session_hosts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2735,7 +2735,7 @@ pub mod session_hosts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2810,7 +2810,7 @@ pub mod session_hosts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/desktopvirtualization/src/package_2020_09_21_preview/operations.rs b/services/mgmt/desktopvirtualization/src/package_2020_09_21_preview/operations.rs index 56299dcabd..7a0bc9fdc1 100644 --- a/services/mgmt/desktopvirtualization/src/package_2020_09_21_preview/operations.rs +++ b/services/mgmt/desktopvirtualization/src/package_2020_09_21_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -43,7 +43,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -64,7 +64,7 @@ pub mod operations { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -113,7 +113,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -194,7 +194,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -275,7 +275,7 @@ pub mod workspaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -341,7 +341,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -419,7 +419,7 @@ pub mod workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -488,7 +488,7 @@ pub mod workspaces { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -512,7 +512,7 @@ pub mod workspaces { } } pub mod application_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -561,7 +561,7 @@ pub mod application_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -642,7 +642,7 @@ pub mod application_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGroup), @@ -723,7 +723,7 @@ pub mod application_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -789,7 +789,7 @@ pub mod application_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -871,7 +871,7 @@ pub mod application_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -944,7 +944,7 @@ pub mod application_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -968,7 +968,7 @@ pub mod application_groups { } } pub mod start_menu_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1017,7 +1017,7 @@ pub mod start_menu_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1041,7 +1041,7 @@ pub mod start_menu_items { } } pub mod applications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1092,7 +1092,7 @@ pub mod applications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1175,7 +1175,7 @@ pub mod applications { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Application), @@ -1258,7 +1258,7 @@ pub mod applications { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1326,7 +1326,7 @@ pub mod applications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1401,7 +1401,7 @@ pub mod applications { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1425,7 +1425,7 @@ pub mod applications { } } pub mod desktops { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1476,7 +1476,7 @@ pub mod desktops { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1554,7 +1554,7 @@ pub mod desktops { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1624,7 +1624,7 @@ pub mod desktops { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1648,7 +1648,7 @@ pub mod desktops { } } pub mod host_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1697,7 +1697,7 @@ pub mod host_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1778,7 +1778,7 @@ pub mod host_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HostPool), @@ -1859,7 +1859,7 @@ pub mod host_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1929,7 +1929,7 @@ pub mod host_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2007,7 +2007,7 @@ pub mod host_pools { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2070,7 +2070,7 @@ pub mod host_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2094,7 +2094,7 @@ pub mod host_pools { } } pub mod user_sessions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_host_pool( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2150,7 +2150,7 @@ pub mod user_sessions { } } pub mod list_by_host_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2224,7 +2224,7 @@ pub mod user_sessions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2298,7 +2298,7 @@ pub mod user_sessions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2375,7 +2375,7 @@ pub mod user_sessions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2440,7 +2440,7 @@ pub mod user_sessions { } } pub mod disconnect { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2510,7 +2510,7 @@ pub mod user_sessions { } } pub mod send_message { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2534,7 +2534,7 @@ pub mod user_sessions { } } pub mod session_hosts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2585,7 +2585,7 @@ pub mod session_hosts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2663,7 +2663,7 @@ pub mod session_hosts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2735,7 +2735,7 @@ pub mod session_hosts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2810,7 +2810,7 @@ pub mod session_hosts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2834,7 +2834,7 @@ pub mod session_hosts { } } pub mod msix_packages { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2885,7 +2885,7 @@ pub mod msix_packages { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2968,7 +2968,7 @@ pub mod msix_packages { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MsixPackage), @@ -3051,7 +3051,7 @@ pub mod msix_packages { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3119,7 +3119,7 @@ pub mod msix_packages { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3194,7 +3194,7 @@ pub mod msix_packages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3218,7 +3218,7 @@ pub mod msix_packages { } } pub mod msix_images { - use crate::models::*; + use super::{models, models::*}; pub async fn expand( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3269,7 +3269,7 @@ pub mod msix_images { } } pub mod expand { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/desktopvirtualization/src/package_2020_10_19_preview/operations.rs b/services/mgmt/desktopvirtualization/src/package_2020_10_19_preview/operations.rs index 56299dcabd..7a0bc9fdc1 100644 --- a/services/mgmt/desktopvirtualization/src/package_2020_10_19_preview/operations.rs +++ b/services/mgmt/desktopvirtualization/src/package_2020_10_19_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -43,7 +43,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -64,7 +64,7 @@ pub mod operations { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -113,7 +113,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -194,7 +194,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -275,7 +275,7 @@ pub mod workspaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -341,7 +341,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -419,7 +419,7 @@ pub mod workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -488,7 +488,7 @@ pub mod workspaces { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -512,7 +512,7 @@ pub mod workspaces { } } pub mod application_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -561,7 +561,7 @@ pub mod application_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -642,7 +642,7 @@ pub mod application_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGroup), @@ -723,7 +723,7 @@ pub mod application_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -789,7 +789,7 @@ pub mod application_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -871,7 +871,7 @@ pub mod application_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -944,7 +944,7 @@ pub mod application_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -968,7 +968,7 @@ pub mod application_groups { } } pub mod start_menu_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1017,7 +1017,7 @@ pub mod start_menu_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1041,7 +1041,7 @@ pub mod start_menu_items { } } pub mod applications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1092,7 +1092,7 @@ pub mod applications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1175,7 +1175,7 @@ pub mod applications { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Application), @@ -1258,7 +1258,7 @@ pub mod applications { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1326,7 +1326,7 @@ pub mod applications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1401,7 +1401,7 @@ pub mod applications { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1425,7 +1425,7 @@ pub mod applications { } } pub mod desktops { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1476,7 +1476,7 @@ pub mod desktops { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1554,7 +1554,7 @@ pub mod desktops { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1624,7 +1624,7 @@ pub mod desktops { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1648,7 +1648,7 @@ pub mod desktops { } } pub mod host_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1697,7 +1697,7 @@ pub mod host_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1778,7 +1778,7 @@ pub mod host_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HostPool), @@ -1859,7 +1859,7 @@ pub mod host_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1929,7 +1929,7 @@ pub mod host_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2007,7 +2007,7 @@ pub mod host_pools { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2070,7 +2070,7 @@ pub mod host_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2094,7 +2094,7 @@ pub mod host_pools { } } pub mod user_sessions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_host_pool( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2150,7 +2150,7 @@ pub mod user_sessions { } } pub mod list_by_host_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2224,7 +2224,7 @@ pub mod user_sessions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2298,7 +2298,7 @@ pub mod user_sessions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2375,7 +2375,7 @@ pub mod user_sessions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2440,7 +2440,7 @@ pub mod user_sessions { } } pub mod disconnect { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2510,7 +2510,7 @@ pub mod user_sessions { } } pub mod send_message { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2534,7 +2534,7 @@ pub mod user_sessions { } } pub mod session_hosts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2585,7 +2585,7 @@ pub mod session_hosts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2663,7 +2663,7 @@ pub mod session_hosts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2735,7 +2735,7 @@ pub mod session_hosts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2810,7 +2810,7 @@ pub mod session_hosts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2834,7 +2834,7 @@ pub mod session_hosts { } } pub mod msix_packages { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2885,7 +2885,7 @@ pub mod msix_packages { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2968,7 +2968,7 @@ pub mod msix_packages { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MsixPackage), @@ -3051,7 +3051,7 @@ pub mod msix_packages { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3119,7 +3119,7 @@ pub mod msix_packages { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3194,7 +3194,7 @@ pub mod msix_packages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3218,7 +3218,7 @@ pub mod msix_packages { } } pub mod msix_images { - use crate::models::*; + use super::{models, models::*}; pub async fn expand( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3269,7 +3269,7 @@ pub mod msix_images { } } pub mod expand { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/desktopvirtualization/src/package_2020_11_02_preview/operations.rs b/services/mgmt/desktopvirtualization/src/package_2020_11_02_preview/operations.rs index 56299dcabd..7a0bc9fdc1 100644 --- a/services/mgmt/desktopvirtualization/src/package_2020_11_02_preview/operations.rs +++ b/services/mgmt/desktopvirtualization/src/package_2020_11_02_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -43,7 +43,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -64,7 +64,7 @@ pub mod operations { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -113,7 +113,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -194,7 +194,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -275,7 +275,7 @@ pub mod workspaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -341,7 +341,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -419,7 +419,7 @@ pub mod workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -488,7 +488,7 @@ pub mod workspaces { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -512,7 +512,7 @@ pub mod workspaces { } } pub mod application_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -561,7 +561,7 @@ pub mod application_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -642,7 +642,7 @@ pub mod application_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGroup), @@ -723,7 +723,7 @@ pub mod application_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -789,7 +789,7 @@ pub mod application_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -871,7 +871,7 @@ pub mod application_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -944,7 +944,7 @@ pub mod application_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -968,7 +968,7 @@ pub mod application_groups { } } pub mod start_menu_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1017,7 +1017,7 @@ pub mod start_menu_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1041,7 +1041,7 @@ pub mod start_menu_items { } } pub mod applications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1092,7 +1092,7 @@ pub mod applications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1175,7 +1175,7 @@ pub mod applications { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Application), @@ -1258,7 +1258,7 @@ pub mod applications { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1326,7 +1326,7 @@ pub mod applications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1401,7 +1401,7 @@ pub mod applications { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1425,7 +1425,7 @@ pub mod applications { } } pub mod desktops { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1476,7 +1476,7 @@ pub mod desktops { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1554,7 +1554,7 @@ pub mod desktops { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1624,7 +1624,7 @@ pub mod desktops { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1648,7 +1648,7 @@ pub mod desktops { } } pub mod host_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1697,7 +1697,7 @@ pub mod host_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1778,7 +1778,7 @@ pub mod host_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HostPool), @@ -1859,7 +1859,7 @@ pub mod host_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1929,7 +1929,7 @@ pub mod host_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2007,7 +2007,7 @@ pub mod host_pools { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2070,7 +2070,7 @@ pub mod host_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2094,7 +2094,7 @@ pub mod host_pools { } } pub mod user_sessions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_host_pool( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2150,7 +2150,7 @@ pub mod user_sessions { } } pub mod list_by_host_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2224,7 +2224,7 @@ pub mod user_sessions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2298,7 +2298,7 @@ pub mod user_sessions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2375,7 +2375,7 @@ pub mod user_sessions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2440,7 +2440,7 @@ pub mod user_sessions { } } pub mod disconnect { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2510,7 +2510,7 @@ pub mod user_sessions { } } pub mod send_message { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2534,7 +2534,7 @@ pub mod user_sessions { } } pub mod session_hosts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2585,7 +2585,7 @@ pub mod session_hosts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2663,7 +2663,7 @@ pub mod session_hosts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2735,7 +2735,7 @@ pub mod session_hosts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2810,7 +2810,7 @@ pub mod session_hosts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2834,7 +2834,7 @@ pub mod session_hosts { } } pub mod msix_packages { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2885,7 +2885,7 @@ pub mod msix_packages { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2968,7 +2968,7 @@ pub mod msix_packages { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MsixPackage), @@ -3051,7 +3051,7 @@ pub mod msix_packages { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3119,7 +3119,7 @@ pub mod msix_packages { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3194,7 +3194,7 @@ pub mod msix_packages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3218,7 +3218,7 @@ pub mod msix_packages { } } pub mod msix_images { - use crate::models::*; + use super::{models, models::*}; pub async fn expand( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3269,7 +3269,7 @@ pub mod msix_images { } } pub mod expand { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/desktopvirtualization/src/package_2020_11_10_preview/operations.rs b/services/mgmt/desktopvirtualization/src/package_2020_11_10_preview/operations.rs index 37b34858c9..9a8c5453d2 100644 --- a/services/mgmt/desktopvirtualization/src/package_2020_11_10_preview/operations.rs +++ b/services/mgmt/desktopvirtualization/src/package_2020_11_10_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -43,7 +43,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -64,7 +64,7 @@ pub mod operations { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -113,7 +113,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -194,7 +194,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -275,7 +275,7 @@ pub mod workspaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -341,7 +341,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -419,7 +419,7 @@ pub mod workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -488,7 +488,7 @@ pub mod workspaces { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -512,7 +512,7 @@ pub mod workspaces { } } pub mod scaling_plans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -561,7 +561,7 @@ pub mod scaling_plans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -639,7 +639,7 @@ pub mod scaling_plans { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ScalingPlan), @@ -720,7 +720,7 @@ pub mod scaling_plans { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -786,7 +786,7 @@ pub mod scaling_plans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -864,7 +864,7 @@ pub mod scaling_plans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -933,7 +933,7 @@ pub mod scaling_plans { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1006,7 +1006,7 @@ pub mod scaling_plans { } } pub mod list_by_host_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1030,7 +1030,7 @@ pub mod scaling_plans { } } pub mod application_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1079,7 +1079,7 @@ pub mod application_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1160,7 +1160,7 @@ pub mod application_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGroup), @@ -1241,7 +1241,7 @@ pub mod application_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1307,7 +1307,7 @@ pub mod application_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1389,7 +1389,7 @@ pub mod application_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1462,7 +1462,7 @@ pub mod application_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1486,7 +1486,7 @@ pub mod application_groups { } } pub mod start_menu_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1535,7 +1535,7 @@ pub mod start_menu_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1559,7 +1559,7 @@ pub mod start_menu_items { } } pub mod applications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1610,7 +1610,7 @@ pub mod applications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1693,7 +1693,7 @@ pub mod applications { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Application), @@ -1776,7 +1776,7 @@ pub mod applications { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1844,7 +1844,7 @@ pub mod applications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1919,7 +1919,7 @@ pub mod applications { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1943,7 +1943,7 @@ pub mod applications { } } pub mod desktops { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1994,7 +1994,7 @@ pub mod desktops { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2072,7 +2072,7 @@ pub mod desktops { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2142,7 +2142,7 @@ pub mod desktops { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2166,7 +2166,7 @@ pub mod desktops { } } pub mod host_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2215,7 +2215,7 @@ pub mod host_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2296,7 +2296,7 @@ pub mod host_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HostPool), @@ -2377,7 +2377,7 @@ pub mod host_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2447,7 +2447,7 @@ pub mod host_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2525,7 +2525,7 @@ pub mod host_pools { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2588,7 +2588,7 @@ pub mod host_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2612,7 +2612,7 @@ pub mod host_pools { } } pub mod user_sessions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_host_pool( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2668,7 +2668,7 @@ pub mod user_sessions { } } pub mod list_by_host_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2742,7 +2742,7 @@ pub mod user_sessions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2816,7 +2816,7 @@ pub mod user_sessions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2893,7 +2893,7 @@ pub mod user_sessions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2958,7 +2958,7 @@ pub mod user_sessions { } } pub mod disconnect { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3028,7 +3028,7 @@ pub mod user_sessions { } } pub mod send_message { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3052,7 +3052,7 @@ pub mod user_sessions { } } pub mod session_hosts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3103,7 +3103,7 @@ pub mod session_hosts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3181,7 +3181,7 @@ pub mod session_hosts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3253,7 +3253,7 @@ pub mod session_hosts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3328,7 +3328,7 @@ pub mod session_hosts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3352,7 +3352,7 @@ pub mod session_hosts { } } pub mod msix_packages { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3403,7 +3403,7 @@ pub mod msix_packages { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3486,7 +3486,7 @@ pub mod msix_packages { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MsixPackage), @@ -3569,7 +3569,7 @@ pub mod msix_packages { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3637,7 +3637,7 @@ pub mod msix_packages { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3712,7 +3712,7 @@ pub mod msix_packages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3736,7 +3736,7 @@ pub mod msix_packages { } } pub mod msix_images { - use crate::models::*; + use super::{models, models::*}; pub async fn expand( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3787,7 +3787,7 @@ pub mod msix_images { } } pub mod expand { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/desktopvirtualization/src/package_2021_01_14_preview/operations.rs b/services/mgmt/desktopvirtualization/src/package_2021_01_14_preview/operations.rs index b052973fbd..0eb3c5e342 100644 --- a/services/mgmt/desktopvirtualization/src/package_2021_01_14_preview/operations.rs +++ b/services/mgmt/desktopvirtualization/src/package_2021_01_14_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -43,7 +43,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -64,7 +64,7 @@ pub mod operations { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -113,7 +113,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -194,7 +194,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -275,7 +275,7 @@ pub mod workspaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -341,7 +341,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -419,7 +419,7 @@ pub mod workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -488,7 +488,7 @@ pub mod workspaces { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -512,7 +512,7 @@ pub mod workspaces { } } pub mod scaling_plans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -561,7 +561,7 @@ pub mod scaling_plans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -639,7 +639,7 @@ pub mod scaling_plans { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ScalingPlan), @@ -720,7 +720,7 @@ pub mod scaling_plans { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -786,7 +786,7 @@ pub mod scaling_plans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -864,7 +864,7 @@ pub mod scaling_plans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -933,7 +933,7 @@ pub mod scaling_plans { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1006,7 +1006,7 @@ pub mod scaling_plans { } } pub mod list_by_host_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1030,7 +1030,7 @@ pub mod scaling_plans { } } pub mod application_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1079,7 +1079,7 @@ pub mod application_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1160,7 +1160,7 @@ pub mod application_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGroup), @@ -1241,7 +1241,7 @@ pub mod application_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1307,7 +1307,7 @@ pub mod application_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1389,7 +1389,7 @@ pub mod application_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1462,7 +1462,7 @@ pub mod application_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1486,7 +1486,7 @@ pub mod application_groups { } } pub mod start_menu_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1535,7 +1535,7 @@ pub mod start_menu_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1559,7 +1559,7 @@ pub mod start_menu_items { } } pub mod applications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1610,7 +1610,7 @@ pub mod applications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1693,7 +1693,7 @@ pub mod applications { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Application), @@ -1776,7 +1776,7 @@ pub mod applications { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1844,7 +1844,7 @@ pub mod applications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1919,7 +1919,7 @@ pub mod applications { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1943,7 +1943,7 @@ pub mod applications { } } pub mod desktops { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1994,7 +1994,7 @@ pub mod desktops { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2072,7 +2072,7 @@ pub mod desktops { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2142,7 +2142,7 @@ pub mod desktops { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2166,7 +2166,7 @@ pub mod desktops { } } pub mod host_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2215,7 +2215,7 @@ pub mod host_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2296,7 +2296,7 @@ pub mod host_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HostPool), @@ -2377,7 +2377,7 @@ pub mod host_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2447,7 +2447,7 @@ pub mod host_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2525,7 +2525,7 @@ pub mod host_pools { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2588,7 +2588,7 @@ pub mod host_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2664,7 +2664,7 @@ pub mod host_pools { } } pub mod retrieve_registration_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2688,7 +2688,7 @@ pub mod host_pools { } } pub mod user_sessions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_host_pool( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2744,7 +2744,7 @@ pub mod user_sessions { } } pub mod list_by_host_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2818,7 +2818,7 @@ pub mod user_sessions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2892,7 +2892,7 @@ pub mod user_sessions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2969,7 +2969,7 @@ pub mod user_sessions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3034,7 +3034,7 @@ pub mod user_sessions { } } pub mod disconnect { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3104,7 +3104,7 @@ pub mod user_sessions { } } pub mod send_message { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3128,7 +3128,7 @@ pub mod user_sessions { } } pub mod session_hosts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3179,7 +3179,7 @@ pub mod session_hosts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3257,7 +3257,7 @@ pub mod session_hosts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3329,7 +3329,7 @@ pub mod session_hosts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3404,7 +3404,7 @@ pub mod session_hosts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3428,7 +3428,7 @@ pub mod session_hosts { } } pub mod msix_packages { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3479,7 +3479,7 @@ pub mod msix_packages { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3562,7 +3562,7 @@ pub mod msix_packages { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MsixPackage), @@ -3645,7 +3645,7 @@ pub mod msix_packages { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3713,7 +3713,7 @@ pub mod msix_packages { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3788,7 +3788,7 @@ pub mod msix_packages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3812,7 +3812,7 @@ pub mod msix_packages { } } pub mod msix_images { - use crate::models::*; + use super::{models, models::*}; pub async fn expand( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3863,7 +3863,7 @@ pub mod msix_images { } } pub mod expand { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/desktopvirtualization/src/package_2021_02_01_preview/operations.rs b/services/mgmt/desktopvirtualization/src/package_2021_02_01_preview/operations.rs index b052973fbd..0eb3c5e342 100644 --- a/services/mgmt/desktopvirtualization/src/package_2021_02_01_preview/operations.rs +++ b/services/mgmt/desktopvirtualization/src/package_2021_02_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -43,7 +43,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -64,7 +64,7 @@ pub mod operations { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -113,7 +113,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -194,7 +194,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -275,7 +275,7 @@ pub mod workspaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -341,7 +341,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -419,7 +419,7 @@ pub mod workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -488,7 +488,7 @@ pub mod workspaces { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -512,7 +512,7 @@ pub mod workspaces { } } pub mod scaling_plans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -561,7 +561,7 @@ pub mod scaling_plans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -639,7 +639,7 @@ pub mod scaling_plans { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ScalingPlan), @@ -720,7 +720,7 @@ pub mod scaling_plans { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -786,7 +786,7 @@ pub mod scaling_plans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -864,7 +864,7 @@ pub mod scaling_plans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -933,7 +933,7 @@ pub mod scaling_plans { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1006,7 +1006,7 @@ pub mod scaling_plans { } } pub mod list_by_host_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1030,7 +1030,7 @@ pub mod scaling_plans { } } pub mod application_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1079,7 +1079,7 @@ pub mod application_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1160,7 +1160,7 @@ pub mod application_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGroup), @@ -1241,7 +1241,7 @@ pub mod application_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1307,7 +1307,7 @@ pub mod application_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1389,7 +1389,7 @@ pub mod application_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1462,7 +1462,7 @@ pub mod application_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1486,7 +1486,7 @@ pub mod application_groups { } } pub mod start_menu_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1535,7 +1535,7 @@ pub mod start_menu_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1559,7 +1559,7 @@ pub mod start_menu_items { } } pub mod applications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1610,7 +1610,7 @@ pub mod applications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1693,7 +1693,7 @@ pub mod applications { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Application), @@ -1776,7 +1776,7 @@ pub mod applications { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1844,7 +1844,7 @@ pub mod applications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1919,7 +1919,7 @@ pub mod applications { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1943,7 +1943,7 @@ pub mod applications { } } pub mod desktops { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1994,7 +1994,7 @@ pub mod desktops { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2072,7 +2072,7 @@ pub mod desktops { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2142,7 +2142,7 @@ pub mod desktops { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2166,7 +2166,7 @@ pub mod desktops { } } pub mod host_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2215,7 +2215,7 @@ pub mod host_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2296,7 +2296,7 @@ pub mod host_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HostPool), @@ -2377,7 +2377,7 @@ pub mod host_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2447,7 +2447,7 @@ pub mod host_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2525,7 +2525,7 @@ pub mod host_pools { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2588,7 +2588,7 @@ pub mod host_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2664,7 +2664,7 @@ pub mod host_pools { } } pub mod retrieve_registration_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2688,7 +2688,7 @@ pub mod host_pools { } } pub mod user_sessions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_host_pool( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2744,7 +2744,7 @@ pub mod user_sessions { } } pub mod list_by_host_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2818,7 +2818,7 @@ pub mod user_sessions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2892,7 +2892,7 @@ pub mod user_sessions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2969,7 +2969,7 @@ pub mod user_sessions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3034,7 +3034,7 @@ pub mod user_sessions { } } pub mod disconnect { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3104,7 +3104,7 @@ pub mod user_sessions { } } pub mod send_message { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3128,7 +3128,7 @@ pub mod user_sessions { } } pub mod session_hosts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3179,7 +3179,7 @@ pub mod session_hosts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3257,7 +3257,7 @@ pub mod session_hosts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3329,7 +3329,7 @@ pub mod session_hosts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3404,7 +3404,7 @@ pub mod session_hosts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3428,7 +3428,7 @@ pub mod session_hosts { } } pub mod msix_packages { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3479,7 +3479,7 @@ pub mod msix_packages { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3562,7 +3562,7 @@ pub mod msix_packages { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MsixPackage), @@ -3645,7 +3645,7 @@ pub mod msix_packages { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3713,7 +3713,7 @@ pub mod msix_packages { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3788,7 +3788,7 @@ pub mod msix_packages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3812,7 +3812,7 @@ pub mod msix_packages { } } pub mod msix_images { - use crate::models::*; + use super::{models, models::*}; pub async fn expand( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3863,7 +3863,7 @@ pub mod msix_images { } } pub mod expand { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/desktopvirtualization/src/package_2021_03_09_preview/operations.rs b/services/mgmt/desktopvirtualization/src/package_2021_03_09_preview/operations.rs index b052973fbd..0eb3c5e342 100644 --- a/services/mgmt/desktopvirtualization/src/package_2021_03_09_preview/operations.rs +++ b/services/mgmt/desktopvirtualization/src/package_2021_03_09_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -43,7 +43,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -64,7 +64,7 @@ pub mod operations { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -113,7 +113,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -194,7 +194,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -275,7 +275,7 @@ pub mod workspaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -341,7 +341,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -419,7 +419,7 @@ pub mod workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -488,7 +488,7 @@ pub mod workspaces { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -512,7 +512,7 @@ pub mod workspaces { } } pub mod scaling_plans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -561,7 +561,7 @@ pub mod scaling_plans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -639,7 +639,7 @@ pub mod scaling_plans { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ScalingPlan), @@ -720,7 +720,7 @@ pub mod scaling_plans { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -786,7 +786,7 @@ pub mod scaling_plans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -864,7 +864,7 @@ pub mod scaling_plans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -933,7 +933,7 @@ pub mod scaling_plans { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1006,7 +1006,7 @@ pub mod scaling_plans { } } pub mod list_by_host_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1030,7 +1030,7 @@ pub mod scaling_plans { } } pub mod application_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1079,7 +1079,7 @@ pub mod application_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1160,7 +1160,7 @@ pub mod application_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGroup), @@ -1241,7 +1241,7 @@ pub mod application_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1307,7 +1307,7 @@ pub mod application_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1389,7 +1389,7 @@ pub mod application_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1462,7 +1462,7 @@ pub mod application_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1486,7 +1486,7 @@ pub mod application_groups { } } pub mod start_menu_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1535,7 +1535,7 @@ pub mod start_menu_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1559,7 +1559,7 @@ pub mod start_menu_items { } } pub mod applications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1610,7 +1610,7 @@ pub mod applications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1693,7 +1693,7 @@ pub mod applications { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Application), @@ -1776,7 +1776,7 @@ pub mod applications { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1844,7 +1844,7 @@ pub mod applications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1919,7 +1919,7 @@ pub mod applications { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1943,7 +1943,7 @@ pub mod applications { } } pub mod desktops { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1994,7 +1994,7 @@ pub mod desktops { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2072,7 +2072,7 @@ pub mod desktops { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2142,7 +2142,7 @@ pub mod desktops { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2166,7 +2166,7 @@ pub mod desktops { } } pub mod host_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2215,7 +2215,7 @@ pub mod host_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2296,7 +2296,7 @@ pub mod host_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HostPool), @@ -2377,7 +2377,7 @@ pub mod host_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2447,7 +2447,7 @@ pub mod host_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2525,7 +2525,7 @@ pub mod host_pools { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2588,7 +2588,7 @@ pub mod host_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2664,7 +2664,7 @@ pub mod host_pools { } } pub mod retrieve_registration_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2688,7 +2688,7 @@ pub mod host_pools { } } pub mod user_sessions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_host_pool( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2744,7 +2744,7 @@ pub mod user_sessions { } } pub mod list_by_host_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2818,7 +2818,7 @@ pub mod user_sessions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2892,7 +2892,7 @@ pub mod user_sessions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2969,7 +2969,7 @@ pub mod user_sessions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3034,7 +3034,7 @@ pub mod user_sessions { } } pub mod disconnect { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3104,7 +3104,7 @@ pub mod user_sessions { } } pub mod send_message { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3128,7 +3128,7 @@ pub mod user_sessions { } } pub mod session_hosts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3179,7 +3179,7 @@ pub mod session_hosts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3257,7 +3257,7 @@ pub mod session_hosts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3329,7 +3329,7 @@ pub mod session_hosts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3404,7 +3404,7 @@ pub mod session_hosts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3428,7 +3428,7 @@ pub mod session_hosts { } } pub mod msix_packages { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3479,7 +3479,7 @@ pub mod msix_packages { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3562,7 +3562,7 @@ pub mod msix_packages { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MsixPackage), @@ -3645,7 +3645,7 @@ pub mod msix_packages { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3713,7 +3713,7 @@ pub mod msix_packages { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3788,7 +3788,7 @@ pub mod msix_packages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3812,7 +3812,7 @@ pub mod msix_packages { } } pub mod msix_images { - use crate::models::*; + use super::{models, models::*}; pub async fn expand( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3863,7 +3863,7 @@ pub mod msix_images { } } pub mod expand { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/desktopvirtualization/src/package_2021_04_01_preview/operations.rs b/services/mgmt/desktopvirtualization/src/package_2021_04_01_preview/operations.rs index af73cf63c7..eab47b0c30 100644 --- a/services/mgmt/desktopvirtualization/src/package_2021_04_01_preview/operations.rs +++ b/services/mgmt/desktopvirtualization/src/package_2021_04_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -43,7 +43,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -64,7 +64,7 @@ pub mod operations { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -113,7 +113,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -194,7 +194,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -275,7 +275,7 @@ pub mod workspaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -341,7 +341,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -419,7 +419,7 @@ pub mod workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -488,7 +488,7 @@ pub mod workspaces { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -512,7 +512,7 @@ pub mod workspaces { } } pub mod scaling_plans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -561,7 +561,7 @@ pub mod scaling_plans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -639,7 +639,7 @@ pub mod scaling_plans { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ScalingPlan), @@ -720,7 +720,7 @@ pub mod scaling_plans { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -786,7 +786,7 @@ pub mod scaling_plans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -864,7 +864,7 @@ pub mod scaling_plans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -933,7 +933,7 @@ pub mod scaling_plans { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1006,7 +1006,7 @@ pub mod scaling_plans { } } pub mod list_by_host_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1030,7 +1030,7 @@ pub mod scaling_plans { } } pub mod application_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1079,7 +1079,7 @@ pub mod application_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1160,7 +1160,7 @@ pub mod application_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGroup), @@ -1241,7 +1241,7 @@ pub mod application_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1307,7 +1307,7 @@ pub mod application_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1389,7 +1389,7 @@ pub mod application_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1462,7 +1462,7 @@ pub mod application_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1486,7 +1486,7 @@ pub mod application_groups { } } pub mod start_menu_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1535,7 +1535,7 @@ pub mod start_menu_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1559,7 +1559,7 @@ pub mod start_menu_items { } } pub mod applications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1610,7 +1610,7 @@ pub mod applications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1693,7 +1693,7 @@ pub mod applications { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Application), @@ -1776,7 +1776,7 @@ pub mod applications { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1844,7 +1844,7 @@ pub mod applications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1919,7 +1919,7 @@ pub mod applications { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1943,7 +1943,7 @@ pub mod applications { } } pub mod desktops { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1994,7 +1994,7 @@ pub mod desktops { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2072,7 +2072,7 @@ pub mod desktops { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2142,7 +2142,7 @@ pub mod desktops { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2166,7 +2166,7 @@ pub mod desktops { } } pub mod host_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2215,7 +2215,7 @@ pub mod host_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2296,7 +2296,7 @@ pub mod host_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HostPool), @@ -2377,7 +2377,7 @@ pub mod host_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2447,7 +2447,7 @@ pub mod host_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2525,7 +2525,7 @@ pub mod host_pools { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2588,7 +2588,7 @@ pub mod host_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2664,7 +2664,7 @@ pub mod host_pools { } } pub mod retrieve_registration_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2688,7 +2688,7 @@ pub mod host_pools { } } pub mod user_sessions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_host_pool( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2744,7 +2744,7 @@ pub mod user_sessions { } } pub mod list_by_host_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2818,7 +2818,7 @@ pub mod user_sessions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2892,7 +2892,7 @@ pub mod user_sessions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2969,7 +2969,7 @@ pub mod user_sessions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3034,7 +3034,7 @@ pub mod user_sessions { } } pub mod disconnect { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3104,7 +3104,7 @@ pub mod user_sessions { } } pub mod send_message { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3128,7 +3128,7 @@ pub mod user_sessions { } } pub mod session_hosts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3179,7 +3179,7 @@ pub mod session_hosts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3257,7 +3257,7 @@ pub mod session_hosts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3329,7 +3329,7 @@ pub mod session_hosts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3404,7 +3404,7 @@ pub mod session_hosts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3428,7 +3428,7 @@ pub mod session_hosts { } } pub mod msix_packages { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3479,7 +3479,7 @@ pub mod msix_packages { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3562,7 +3562,7 @@ pub mod msix_packages { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MsixPackage), @@ -3645,7 +3645,7 @@ pub mod msix_packages { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3713,7 +3713,7 @@ pub mod msix_packages { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3788,7 +3788,7 @@ pub mod msix_packages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3812,7 +3812,7 @@ pub mod msix_packages { } } pub mod msix_images { - use crate::models::*; + use super::{models, models::*}; pub async fn expand( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3863,7 +3863,7 @@ pub mod msix_images { } } pub mod expand { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3887,7 +3887,7 @@ pub mod msix_images { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_host_pool( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3939,7 +3939,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_host_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4014,7 +4014,7 @@ pub mod private_endpoint_connections { } } pub mod get_by_host_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4091,7 +4091,7 @@ pub mod private_endpoint_connections { } } pub mod update_by_host_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4162,7 +4162,7 @@ pub mod private_endpoint_connections { } } pub mod delete_by_host_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4240,7 +4240,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4315,7 +4315,7 @@ pub mod private_endpoint_connections { } } pub mod get_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4392,7 +4392,7 @@ pub mod private_endpoint_connections { } } pub mod update_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4463,7 +4463,7 @@ pub mod private_endpoint_connections { } } pub mod delete_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4492,7 +4492,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_host_pool( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4544,7 +4544,7 @@ pub mod private_link_resources { } } pub mod list_by_host_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4617,7 +4617,7 @@ pub mod private_link_resources { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/desktopvirtualization/src/package_2021_07/operations.rs b/services/mgmt/desktopvirtualization/src/package_2021_07/operations.rs index b052973fbd..0eb3c5e342 100644 --- a/services/mgmt/desktopvirtualization/src/package_2021_07/operations.rs +++ b/services/mgmt/desktopvirtualization/src/package_2021_07/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -43,7 +43,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -64,7 +64,7 @@ pub mod operations { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -113,7 +113,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -194,7 +194,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -275,7 +275,7 @@ pub mod workspaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -341,7 +341,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -419,7 +419,7 @@ pub mod workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -488,7 +488,7 @@ pub mod workspaces { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -512,7 +512,7 @@ pub mod workspaces { } } pub mod scaling_plans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -561,7 +561,7 @@ pub mod scaling_plans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -639,7 +639,7 @@ pub mod scaling_plans { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ScalingPlan), @@ -720,7 +720,7 @@ pub mod scaling_plans { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -786,7 +786,7 @@ pub mod scaling_plans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -864,7 +864,7 @@ pub mod scaling_plans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -933,7 +933,7 @@ pub mod scaling_plans { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1006,7 +1006,7 @@ pub mod scaling_plans { } } pub mod list_by_host_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1030,7 +1030,7 @@ pub mod scaling_plans { } } pub mod application_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1079,7 +1079,7 @@ pub mod application_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1160,7 +1160,7 @@ pub mod application_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGroup), @@ -1241,7 +1241,7 @@ pub mod application_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1307,7 +1307,7 @@ pub mod application_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1389,7 +1389,7 @@ pub mod application_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1462,7 +1462,7 @@ pub mod application_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1486,7 +1486,7 @@ pub mod application_groups { } } pub mod start_menu_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1535,7 +1535,7 @@ pub mod start_menu_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1559,7 +1559,7 @@ pub mod start_menu_items { } } pub mod applications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1610,7 +1610,7 @@ pub mod applications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1693,7 +1693,7 @@ pub mod applications { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Application), @@ -1776,7 +1776,7 @@ pub mod applications { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1844,7 +1844,7 @@ pub mod applications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1919,7 +1919,7 @@ pub mod applications { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1943,7 +1943,7 @@ pub mod applications { } } pub mod desktops { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1994,7 +1994,7 @@ pub mod desktops { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2072,7 +2072,7 @@ pub mod desktops { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2142,7 +2142,7 @@ pub mod desktops { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2166,7 +2166,7 @@ pub mod desktops { } } pub mod host_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2215,7 +2215,7 @@ pub mod host_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2296,7 +2296,7 @@ pub mod host_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HostPool), @@ -2377,7 +2377,7 @@ pub mod host_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2447,7 +2447,7 @@ pub mod host_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2525,7 +2525,7 @@ pub mod host_pools { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2588,7 +2588,7 @@ pub mod host_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2664,7 +2664,7 @@ pub mod host_pools { } } pub mod retrieve_registration_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2688,7 +2688,7 @@ pub mod host_pools { } } pub mod user_sessions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_host_pool( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2744,7 +2744,7 @@ pub mod user_sessions { } } pub mod list_by_host_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2818,7 +2818,7 @@ pub mod user_sessions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2892,7 +2892,7 @@ pub mod user_sessions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2969,7 +2969,7 @@ pub mod user_sessions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3034,7 +3034,7 @@ pub mod user_sessions { } } pub mod disconnect { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3104,7 +3104,7 @@ pub mod user_sessions { } } pub mod send_message { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3128,7 +3128,7 @@ pub mod user_sessions { } } pub mod session_hosts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3179,7 +3179,7 @@ pub mod session_hosts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3257,7 +3257,7 @@ pub mod session_hosts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3329,7 +3329,7 @@ pub mod session_hosts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3404,7 +3404,7 @@ pub mod session_hosts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3428,7 +3428,7 @@ pub mod session_hosts { } } pub mod msix_packages { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3479,7 +3479,7 @@ pub mod msix_packages { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3562,7 +3562,7 @@ pub mod msix_packages { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MsixPackage), @@ -3645,7 +3645,7 @@ pub mod msix_packages { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3713,7 +3713,7 @@ pub mod msix_packages { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3788,7 +3788,7 @@ pub mod msix_packages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3812,7 +3812,7 @@ pub mod msix_packages { } } pub mod msix_images { - use crate::models::*; + use super::{models, models::*}; pub async fn expand( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3863,7 +3863,7 @@ pub mod msix_images { } } pub mod expand { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/desktopvirtualization/src/package_preview_2021_09/operations.rs b/services/mgmt/desktopvirtualization/src/package_preview_2021_09/operations.rs index 82280a468d..800c95417b 100644 --- a/services/mgmt/desktopvirtualization/src/package_preview_2021_09/operations.rs +++ b/services/mgmt/desktopvirtualization/src/package_preview_2021_09/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -45,7 +45,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -69,7 +69,7 @@ pub mod operations { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -118,7 +118,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -199,7 +199,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -280,7 +280,7 @@ pub mod workspaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -346,7 +346,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -424,7 +424,7 @@ pub mod workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -493,7 +493,7 @@ pub mod workspaces { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -517,7 +517,7 @@ pub mod workspaces { } } pub mod scaling_plans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -566,7 +566,7 @@ pub mod scaling_plans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -644,7 +644,7 @@ pub mod scaling_plans { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ScalingPlan), @@ -725,7 +725,7 @@ pub mod scaling_plans { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -791,7 +791,7 @@ pub mod scaling_plans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -869,7 +869,7 @@ pub mod scaling_plans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -938,7 +938,7 @@ pub mod scaling_plans { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1011,7 +1011,7 @@ pub mod scaling_plans { } } pub mod list_by_host_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1035,7 +1035,7 @@ pub mod scaling_plans { } } pub mod application_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1084,7 +1084,7 @@ pub mod application_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1165,7 +1165,7 @@ pub mod application_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGroup), @@ -1246,7 +1246,7 @@ pub mod application_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1312,7 +1312,7 @@ pub mod application_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1394,7 +1394,7 @@ pub mod application_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1467,7 +1467,7 @@ pub mod application_groups { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1491,7 +1491,7 @@ pub mod application_groups { } } pub mod start_menu_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1540,7 +1540,7 @@ pub mod start_menu_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1564,7 +1564,7 @@ pub mod start_menu_items { } } pub mod applications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1615,7 +1615,7 @@ pub mod applications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1698,7 +1698,7 @@ pub mod applications { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Application), @@ -1781,7 +1781,7 @@ pub mod applications { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1849,7 +1849,7 @@ pub mod applications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1924,7 +1924,7 @@ pub mod applications { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1948,7 +1948,7 @@ pub mod applications { } } pub mod desktops { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1999,7 +1999,7 @@ pub mod desktops { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2077,7 +2077,7 @@ pub mod desktops { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2147,7 +2147,7 @@ pub mod desktops { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2171,7 +2171,7 @@ pub mod desktops { } } pub mod host_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2220,7 +2220,7 @@ pub mod host_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2301,7 +2301,7 @@ pub mod host_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HostPool), @@ -2382,7 +2382,7 @@ pub mod host_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2452,7 +2452,7 @@ pub mod host_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2530,7 +2530,7 @@ pub mod host_pools { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2593,7 +2593,7 @@ pub mod host_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2669,7 +2669,7 @@ pub mod host_pools { } } pub mod retrieve_registration_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2693,7 +2693,7 @@ pub mod host_pools { } } pub mod user_sessions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_host_pool( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2749,7 +2749,7 @@ pub mod user_sessions { } } pub mod list_by_host_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2823,7 +2823,7 @@ pub mod user_sessions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2897,7 +2897,7 @@ pub mod user_sessions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2974,7 +2974,7 @@ pub mod user_sessions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3039,7 +3039,7 @@ pub mod user_sessions { } } pub mod disconnect { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3109,7 +3109,7 @@ pub mod user_sessions { } } pub mod send_message { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3133,7 +3133,7 @@ pub mod user_sessions { } } pub mod session_hosts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3184,7 +3184,7 @@ pub mod session_hosts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3266,7 +3266,7 @@ pub mod session_hosts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3338,7 +3338,7 @@ pub mod session_hosts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3413,7 +3413,7 @@ pub mod session_hosts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3437,7 +3437,7 @@ pub mod session_hosts { } } pub mod msix_packages { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3488,7 +3488,7 @@ pub mod msix_packages { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3571,7 +3571,7 @@ pub mod msix_packages { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MsixPackage), @@ -3654,7 +3654,7 @@ pub mod msix_packages { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3722,7 +3722,7 @@ pub mod msix_packages { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3797,7 +3797,7 @@ pub mod msix_packages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3821,7 +3821,7 @@ pub mod msix_packages { } } pub mod msix_images { - use crate::models::*; + use super::{models, models::*}; pub async fn expand( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3872,7 +3872,7 @@ pub mod msix_images { } } pub mod expand { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3896,7 +3896,7 @@ pub mod msix_images { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_host_pool( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3948,7 +3948,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_host_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4023,7 +4023,7 @@ pub mod private_endpoint_connections { } } pub mod get_by_host_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4100,7 +4100,7 @@ pub mod private_endpoint_connections { } } pub mod update_by_host_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4171,7 +4171,7 @@ pub mod private_endpoint_connections { } } pub mod delete_by_host_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4249,7 +4249,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4324,7 +4324,7 @@ pub mod private_endpoint_connections { } } pub mod get_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4401,7 +4401,7 @@ pub mod private_endpoint_connections { } } pub mod update_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4472,7 +4472,7 @@ pub mod private_endpoint_connections { } } pub mod delete_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4501,7 +4501,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_host_pool( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4553,7 +4553,7 @@ pub mod private_link_resources { } } pub mod list_by_host_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4626,7 +4626,7 @@ pub mod private_link_resources { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/deviceupdate/Cargo.toml b/services/mgmt/deviceupdate/Cargo.toml index 476c44bed5..ccd86ba635 100644 --- a/services/mgmt/deviceupdate/Cargo.toml +++ b/services/mgmt/deviceupdate/Cargo.toml @@ -20,4 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2020-03-01-preview"] +no-default-version = [] "package-2020-03-01-preview" = [] diff --git a/services/mgmt/deviceupdate/src/lib.rs b/services/mgmt/deviceupdate/src/lib.rs index f5b3e645b6..f1c4dde6fa 100644 --- a/services/mgmt/deviceupdate/src/lib.rs +++ b/services/mgmt/deviceupdate/src/lib.rs @@ -1,9 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2020-03-01-preview")] -mod package_2020_03_01_preview; +pub mod package_2020_03_01_preview; use azure_core::setters; -#[cfg(feature = "package-2020-03-01-preview")] +#[cfg(all(feature = "package-2020-03-01-preview", not(feature = "no-default-version")))] pub use package_2020_03_01_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -27,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/deviceupdate/src/package_2020_03_01_preview/operations.rs b/services/mgmt/deviceupdate/src/package_2020_03_01_preview/operations.rs index c3a03fc138..860ccdce56 100644 --- a/services/mgmt/deviceupdate/src/package_2020_03_01_preview/operations.rs +++ b/services/mgmt/deviceupdate/src/package_2020_03_01_preview/operations.rs @@ -2,7 +2,7 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -54,7 +54,7 @@ pub async fn check_name_availability( } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -77,7 +77,7 @@ pub mod check_name_availability { } } pub mod accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -125,7 +125,7 @@ pub mod accounts { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -198,7 +198,7 @@ pub mod accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -268,7 +268,7 @@ pub mod accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -340,7 +340,7 @@ pub mod accounts { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -418,7 +418,7 @@ pub mod accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Account), @@ -490,7 +490,7 @@ pub mod accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -561,7 +561,7 @@ pub mod accounts { } } pub mod head { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -585,7 +585,7 @@ pub mod accounts { } } pub mod instances { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_account( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -637,7 +637,7 @@ pub mod instances { } } pub mod list_by_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -709,7 +709,7 @@ pub mod instances { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -783,7 +783,7 @@ pub mod instances { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -857,7 +857,7 @@ pub mod instances { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -926,7 +926,7 @@ pub mod instances { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -999,7 +999,7 @@ pub mod instances { } } pub mod head { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1023,7 +1023,7 @@ pub mod instances { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1075,7 +1075,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1147,7 +1147,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1224,7 +1224,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1293,7 +1293,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1323,7 +1323,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1375,7 +1375,7 @@ pub mod private_link_resources { } } pub mod list_by_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1447,7 +1447,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1471,7 +1471,7 @@ pub mod private_link_resources { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DeviceUpdate/operations", operation_config.base_path(),); @@ -1509,7 +1509,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/devops/Cargo.toml b/services/mgmt/devops/Cargo.toml index 8262ce9e28..7a4007e531 100644 --- a/services/mgmt/devops/Cargo.toml +++ b/services/mgmt/devops/Cargo.toml @@ -20,5 +20,6 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2020-07-13-preview"] +no-default-version = [] "package-2020-07-13-preview" = [] "package-2019-07-01-preview" = [] diff --git a/services/mgmt/devops/src/lib.rs b/services/mgmt/devops/src/lib.rs index e0e2f5fca6..f81105982f 100644 --- a/services/mgmt/devops/src/lib.rs +++ b/services/mgmt/devops/src/lib.rs @@ -1,13 +1,21 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2020-07-13-preview")] -mod package_2020_07_13_preview; -#[cfg(feature = "package-2020-07-13-preview")] +pub mod package_2020_07_13_preview; +#[cfg(all(feature = "package-2020-07-13-preview", not(feature = "no-default-version")))] pub use package_2020_07_13_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-07-01-preview")] -mod package_2019_07_01_preview; +pub mod package_2019_07_01_preview; use azure_core::setters; -#[cfg(feature = "package-2019-07-01-preview")] +#[cfg(all(feature = "package-2019-07-01-preview", not(feature = "no-default-version")))] pub use package_2019_07_01_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -31,7 +39,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/devops/src/package_2019_07_01_preview/operations.rs b/services/mgmt/devops/src/package_2019_07_01_preview/operations.rs index b40cac8e49..0b015243a1 100644 --- a/services/mgmt/devops/src/package_2019_07_01_preview/operations.rs +++ b/services/mgmt/devops/src/package_2019_07_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DevOps/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod pipeline_template_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -107,7 +107,7 @@ pub mod pipeline_template_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -131,7 +131,7 @@ pub mod pipeline_template_definitions { } } pub mod pipelines { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -180,7 +180,7 @@ pub mod pipelines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -256,7 +256,7 @@ pub mod pipelines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -333,7 +333,7 @@ pub mod pipelines { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -399,7 +399,7 @@ pub mod pipelines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -477,7 +477,7 @@ pub mod pipelines { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -546,7 +546,7 @@ pub mod pipelines { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/devops/src/package_2020_07_13_preview/operations.rs b/services/mgmt/devops/src/package_2020_07_13_preview/operations.rs index b40cac8e49..0b015243a1 100644 --- a/services/mgmt/devops/src/package_2020_07_13_preview/operations.rs +++ b/services/mgmt/devops/src/package_2020_07_13_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DevOps/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod pipeline_template_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -107,7 +107,7 @@ pub mod pipeline_template_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -131,7 +131,7 @@ pub mod pipeline_template_definitions { } } pub mod pipelines { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -180,7 +180,7 @@ pub mod pipelines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -256,7 +256,7 @@ pub mod pipelines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -333,7 +333,7 @@ pub mod pipelines { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -399,7 +399,7 @@ pub mod pipelines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -477,7 +477,7 @@ pub mod pipelines { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -546,7 +546,7 @@ pub mod pipelines { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/devspaces/Cargo.toml b/services/mgmt/devspaces/Cargo.toml index 387d97710e..f3f8ff65a8 100644 --- a/services/mgmt/devspaces/Cargo.toml +++ b/services/mgmt/devspaces/Cargo.toml @@ -20,4 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2019-04-01"] +no-default-version = [] "package-2019-04-01" = [] diff --git a/services/mgmt/devspaces/src/lib.rs b/services/mgmt/devspaces/src/lib.rs index ef5ce01339..9e4cb2ebcc 100644 --- a/services/mgmt/devspaces/src/lib.rs +++ b/services/mgmt/devspaces/src/lib.rs @@ -1,9 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2019-04-01")] -mod package_2019_04_01; +pub mod package_2019_04_01; use azure_core::setters; -#[cfg(feature = "package-2019-04-01")] +#[cfg(all(feature = "package-2019-04-01", not(feature = "no-default-version")))] pub use package_2019_04_01::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -27,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/devspaces/src/package_2019_04_01/operations.rs b/services/mgmt/devspaces/src/package_2019_04_01/operations.rs index dd24f8be1f..ee772a6d94 100644 --- a/services/mgmt/devspaces/src/package_2019_04_01/operations.rs +++ b/services/mgmt/devspaces/src/package_2019_04_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod container_host_mappings { - use crate::models::*; + use super::{models, models::*}; pub async fn get_container_host_mapping( operation_config: &crate::OperationConfig, container_host_mapping: &ContainerHostMapping, @@ -61,7 +61,7 @@ pub mod container_host_mappings { } } pub mod get_container_host_mapping { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContainerHostMapping), @@ -90,7 +90,7 @@ pub mod container_host_mappings { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DevSpaces/operations", operation_config.base_path(),); @@ -126,7 +126,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -147,7 +147,7 @@ pub mod operations { } } pub mod controllers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -196,7 +196,7 @@ pub mod controllers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -274,7 +274,7 @@ pub mod controllers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Controller), @@ -357,7 +357,7 @@ pub mod controllers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Controller), @@ -429,7 +429,7 @@ pub mod controllers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -508,7 +508,7 @@ pub mod controllers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -574,7 +574,7 @@ pub mod controllers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -651,7 +651,7 @@ pub mod controllers { } } pub mod list_connection_details { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/devtestlabs/Cargo.toml b/services/mgmt/devtestlabs/Cargo.toml index 277a65001e..9359b944de 100644 --- a/services/mgmt/devtestlabs/Cargo.toml +++ b/services/mgmt/devtestlabs/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2018-09"] +no-default-version = [] "package-2018-09" = [] "package-2016-05" = [] "package-2015-05-preview" = [] diff --git a/services/mgmt/devtestlabs/src/lib.rs b/services/mgmt/devtestlabs/src/lib.rs index c8f40aa40e..3b162f37df 100644 --- a/services/mgmt/devtestlabs/src/lib.rs +++ b/services/mgmt/devtestlabs/src/lib.rs @@ -1,17 +1,25 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2018-09")] -mod package_2018_09; -#[cfg(feature = "package-2018-09")] +pub mod package_2018_09; +#[cfg(all(feature = "package-2018-09", not(feature = "no-default-version")))] pub use package_2018_09::{models, operations, API_VERSION}; #[cfg(feature = "package-2016-05")] -mod package_2016_05; -#[cfg(feature = "package-2016-05")] +pub mod package_2016_05; +#[cfg(all(feature = "package-2016-05", not(feature = "no-default-version")))] pub use package_2016_05::{models, operations, API_VERSION}; #[cfg(feature = "package-2015-05-preview")] -mod package_2015_05_preview; +pub mod package_2015_05_preview; use azure_core::setters; -#[cfg(feature = "package-2015-05-preview")] +#[cfg(all(feature = "package-2015-05-preview", not(feature = "no-default-version")))] pub use package_2015_05_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -35,7 +43,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/devtestlabs/src/package_2015_05_preview/operations.rs b/services/mgmt/devtestlabs/src/package_2015_05_preview/operations.rs index 6022f9a543..e282812916 100644 --- a/services/mgmt/devtestlabs/src/package_2015_05_preview/operations.rs +++ b/services/mgmt/devtestlabs/src/package_2015_05_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod lab { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -64,7 +64,7 @@ pub mod lab { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -149,7 +149,7 @@ pub mod lab { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -222,7 +222,7 @@ pub mod lab { } } pub mod get_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -305,7 +305,7 @@ pub mod lab { } } pub mod create_or_update_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Lab), @@ -385,7 +385,7 @@ pub mod lab { } } pub mod patch_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -454,7 +454,7 @@ pub mod lab { } } pub mod delete_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -530,7 +530,7 @@ pub mod lab { } } pub mod create_environment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -610,7 +610,7 @@ pub mod lab { } } pub mod generate_upload_uri { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -684,7 +684,7 @@ pub mod lab { } } pub mod list_vhds { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -708,7 +708,7 @@ pub mod lab { } } pub mod artifact_source { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -769,7 +769,7 @@ pub mod artifact_source { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -844,7 +844,7 @@ pub mod artifact_source { } } pub mod get_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -929,7 +929,7 @@ pub mod artifact_source { } } pub mod create_or_update_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ArtifactSource), @@ -1011,7 +1011,7 @@ pub mod artifact_source { } } pub mod patch_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1082,7 +1082,7 @@ pub mod artifact_source { } } pub mod delete_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1111,7 +1111,7 @@ pub mod artifact_source { } } pub mod artifact { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1174,7 +1174,7 @@ pub mod artifact { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1251,7 +1251,7 @@ pub mod artifact { } } pub mod get_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1324,7 +1324,7 @@ pub mod artifact { } } pub mod generate_arm_template { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1348,7 +1348,7 @@ pub mod artifact { } } pub mod cost_insight { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1409,7 +1409,7 @@ pub mod cost_insight { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1484,7 +1484,7 @@ pub mod cost_insight { } } pub mod get_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1556,7 +1556,7 @@ pub mod cost_insight { } } pub mod refresh_data { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1585,7 +1585,7 @@ pub mod cost_insight { } } pub mod cost { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1646,7 +1646,7 @@ pub mod cost { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1721,7 +1721,7 @@ pub mod cost { } } pub mod get_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1793,7 +1793,7 @@ pub mod cost { } } pub mod refresh_data { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1822,7 +1822,7 @@ pub mod cost { } } pub mod custom_image { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1883,7 +1883,7 @@ pub mod custom_image { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1958,7 +1958,7 @@ pub mod custom_image { } } pub mod get_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2043,7 +2043,7 @@ pub mod custom_image { } } pub mod create_or_update_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CustomImage), @@ -2119,7 +2119,7 @@ pub mod custom_image { } } pub mod delete_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2148,7 +2148,7 @@ pub mod custom_image { } } pub mod formula { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2209,7 +2209,7 @@ pub mod formula { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2284,7 +2284,7 @@ pub mod formula { } } pub mod get_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2369,7 +2369,7 @@ pub mod formula { } } pub mod create_or_update_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Formula), @@ -2445,7 +2445,7 @@ pub mod formula { } } pub mod delete_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2474,7 +2474,7 @@ pub mod formula { } } pub mod gallery_image { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2535,7 +2535,7 @@ pub mod gallery_image { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2559,7 +2559,7 @@ pub mod gallery_image { } } pub mod policy_set { - use crate::models::*; + use super::{models, models::*}; pub async fn evaluate_policies( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2615,7 +2615,7 @@ pub mod policy_set { } } pub mod evaluate_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2639,7 +2639,7 @@ pub mod policy_set { } } pub mod policy { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2702,7 +2702,7 @@ pub mod policy { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2779,7 +2779,7 @@ pub mod policy { } } pub mod get_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2866,7 +2866,7 @@ pub mod policy { } } pub mod create_or_update_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Policy), @@ -2950,7 +2950,7 @@ pub mod policy { } } pub mod patch_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3023,7 +3023,7 @@ pub mod policy { } } pub mod delete_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3052,7 +3052,7 @@ pub mod policy { } } pub mod schedule { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3113,7 +3113,7 @@ pub mod schedule { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3188,7 +3188,7 @@ pub mod schedule { } } pub mod get_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3273,7 +3273,7 @@ pub mod schedule { } } pub mod create_or_update_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Schedule), @@ -3355,7 +3355,7 @@ pub mod schedule { } } pub mod patch_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3426,7 +3426,7 @@ pub mod schedule { } } pub mod delete_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3503,7 +3503,7 @@ pub mod schedule { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3532,7 +3532,7 @@ pub mod schedule { } } pub mod virtual_machine { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3593,7 +3593,7 @@ pub mod virtual_machine { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3668,7 +3668,7 @@ pub mod virtual_machine { } } pub mod get_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3753,7 +3753,7 @@ pub mod virtual_machine { } } pub mod create_or_update_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LabVirtualMachine), @@ -3835,7 +3835,7 @@ pub mod virtual_machine { } } pub mod patch_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3906,7 +3906,7 @@ pub mod virtual_machine { } } pub mod delete_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3984,7 +3984,7 @@ pub mod virtual_machine { } } pub mod apply_artifacts { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4058,7 +4058,7 @@ pub mod virtual_machine { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4132,7 +4132,7 @@ pub mod virtual_machine { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4161,7 +4161,7 @@ pub mod virtual_machine { } } pub mod virtual_network { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4222,7 +4222,7 @@ pub mod virtual_network { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4297,7 +4297,7 @@ pub mod virtual_network { } } pub mod get_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4382,7 +4382,7 @@ pub mod virtual_network { } } pub mod create_or_update_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetwork), @@ -4464,7 +4464,7 @@ pub mod virtual_network { } } pub mod patch_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4535,7 +4535,7 @@ pub mod virtual_network { } } pub mod delete_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, diff --git a/services/mgmt/devtestlabs/src/package_2016_05/operations.rs b/services/mgmt/devtestlabs/src/package_2016_05/operations.rs index ec490d846e..e0ac760445 100644 --- a/services/mgmt/devtestlabs/src/package_2016_05/operations.rs +++ b/services/mgmt/devtestlabs/src/package_2016_05/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod provider_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DevTestLab/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod provider_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod provider_operations { } } pub mod labs { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -125,7 +125,7 @@ pub mod labs { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -214,7 +214,7 @@ pub mod labs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -288,7 +288,7 @@ pub mod labs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -369,7 +369,7 @@ pub mod labs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Lab), @@ -446,7 +446,7 @@ pub mod labs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -512,7 +512,7 @@ pub mod labs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -587,7 +587,7 @@ pub mod labs { } } pub mod claim_any_vm { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -663,7 +663,7 @@ pub mod labs { } } pub mod create_environment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -741,7 +741,7 @@ pub mod labs { } } pub mod export_resource_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -821,7 +821,7 @@ pub mod labs { } } pub mod generate_upload_uri { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -895,7 +895,7 @@ pub mod labs { } } pub mod list_vhds { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -919,7 +919,7 @@ pub mod labs { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -968,7 +968,7 @@ pub mod operations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -992,7 +992,7 @@ pub mod operations { } } pub mod global_schedules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1056,7 +1056,7 @@ pub mod global_schedules { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1145,7 +1145,7 @@ pub mod global_schedules { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1219,7 +1219,7 @@ pub mod global_schedules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1300,7 +1300,7 @@ pub mod global_schedules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Schedule), @@ -1377,7 +1377,7 @@ pub mod global_schedules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1443,7 +1443,7 @@ pub mod global_schedules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1518,7 +1518,7 @@ pub mod global_schedules { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1594,7 +1594,7 @@ pub mod global_schedules { } } pub mod retarget { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1623,7 +1623,7 @@ pub mod global_schedules { } } pub mod artifact_sources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1688,7 +1688,7 @@ pub mod artifact_sources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1764,7 +1764,7 @@ pub mod artifact_sources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1847,7 +1847,7 @@ pub mod artifact_sources { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ArtifactSource), @@ -1926,7 +1926,7 @@ pub mod artifact_sources { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1994,7 +1994,7 @@ pub mod artifact_sources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2023,7 +2023,7 @@ pub mod artifact_sources { } } pub mod arm_templates { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2090,7 +2090,7 @@ pub mod arm_templates { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2168,7 +2168,7 @@ pub mod arm_templates { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2192,7 +2192,7 @@ pub mod arm_templates { } } pub mod artifacts { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2259,7 +2259,7 @@ pub mod artifacts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2337,7 +2337,7 @@ pub mod artifacts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2410,7 +2410,7 @@ pub mod artifacts { } } pub mod generate_arm_template { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2434,7 +2434,7 @@ pub mod artifacts { } } pub mod costs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2489,7 +2489,7 @@ pub mod costs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2572,7 +2572,7 @@ pub mod costs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LabCost), @@ -2601,7 +2601,7 @@ pub mod costs { } } pub mod custom_images { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2666,7 +2666,7 @@ pub mod custom_images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2742,7 +2742,7 @@ pub mod custom_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2825,7 +2825,7 @@ pub mod custom_images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CustomImage), @@ -2898,7 +2898,7 @@ pub mod custom_images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2927,7 +2927,7 @@ pub mod custom_images { } } pub mod formulas { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2992,7 +2992,7 @@ pub mod formulas { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3068,7 +3068,7 @@ pub mod formulas { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3151,7 +3151,7 @@ pub mod formulas { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Formula), @@ -3224,7 +3224,7 @@ pub mod formulas { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3253,7 +3253,7 @@ pub mod formulas { } } pub mod gallery_images { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3318,7 +3318,7 @@ pub mod gallery_images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3342,7 +3342,7 @@ pub mod gallery_images { } } pub mod notification_channels { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3407,7 +3407,7 @@ pub mod notification_channels { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3483,7 +3483,7 @@ pub mod notification_channels { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3566,7 +3566,7 @@ pub mod notification_channels { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NotificationChannel), @@ -3645,7 +3645,7 @@ pub mod notification_channels { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3713,7 +3713,7 @@ pub mod notification_channels { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3787,7 +3787,7 @@ pub mod notification_channels { } } pub mod notify { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3811,7 +3811,7 @@ pub mod notification_channels { } } pub mod policy_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn evaluate_policies( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3867,7 +3867,7 @@ pub mod policy_sets { } } pub mod evaluate_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3891,7 +3891,7 @@ pub mod policy_sets { } } pub mod policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3958,7 +3958,7 @@ pub mod policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4036,7 +4036,7 @@ pub mod policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4121,7 +4121,7 @@ pub mod policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Policy), @@ -4202,7 +4202,7 @@ pub mod policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4272,7 +4272,7 @@ pub mod policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4301,7 +4301,7 @@ pub mod policies { } } pub mod schedules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4366,7 +4366,7 @@ pub mod schedules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4442,7 +4442,7 @@ pub mod schedules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4525,7 +4525,7 @@ pub mod schedules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Schedule), @@ -4604,7 +4604,7 @@ pub mod schedules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4672,7 +4672,7 @@ pub mod schedules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4749,7 +4749,7 @@ pub mod schedules { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4830,7 +4830,7 @@ pub mod schedules { } } pub mod list_applicable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4854,7 +4854,7 @@ pub mod schedules { } } pub mod service_runners { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4915,7 +4915,7 @@ pub mod service_runners { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4987,7 +4987,7 @@ pub mod service_runners { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5070,7 +5070,7 @@ pub mod service_runners { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServiceRunner), @@ -5143,7 +5143,7 @@ pub mod service_runners { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5172,7 +5172,7 @@ pub mod service_runners { } } pub mod users { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5237,7 +5237,7 @@ pub mod users { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5313,7 +5313,7 @@ pub mod users { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5396,7 +5396,7 @@ pub mod users { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(User), @@ -5475,7 +5475,7 @@ pub mod users { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5543,7 +5543,7 @@ pub mod users { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5572,7 +5572,7 @@ pub mod users { } } pub mod disks { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5639,7 +5639,7 @@ pub mod disks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5717,7 +5717,7 @@ pub mod disks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5802,7 +5802,7 @@ pub mod disks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -5877,7 +5877,7 @@ pub mod disks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5954,7 +5954,7 @@ pub mod disks { } } pub mod attach { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6031,7 +6031,7 @@ pub mod disks { } } pub mod detach { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6060,7 +6060,7 @@ pub mod disks { } } pub mod environments { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6127,7 +6127,7 @@ pub mod environments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6205,7 +6205,7 @@ pub mod environments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6290,7 +6290,7 @@ pub mod environments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DtlEnvironment), @@ -6365,7 +6365,7 @@ pub mod environments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6394,7 +6394,7 @@ pub mod environments { } } pub mod secrets { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6461,7 +6461,7 @@ pub mod secrets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6539,7 +6539,7 @@ pub mod secrets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6624,7 +6624,7 @@ pub mod secrets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Secret), @@ -6699,7 +6699,7 @@ pub mod secrets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6728,7 +6728,7 @@ pub mod secrets { } } pub mod virtual_machines { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6793,7 +6793,7 @@ pub mod virtual_machines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6869,7 +6869,7 @@ pub mod virtual_machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6952,7 +6952,7 @@ pub mod virtual_machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LabVirtualMachine), @@ -7031,7 +7031,7 @@ pub mod virtual_machines { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7099,7 +7099,7 @@ pub mod virtual_machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7177,7 +7177,7 @@ pub mod virtual_machines { } } pub mod add_data_disk { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7255,7 +7255,7 @@ pub mod virtual_machines { } } pub mod apply_artifacts { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7329,7 +7329,7 @@ pub mod virtual_machines { } } pub mod claim { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7407,7 +7407,7 @@ pub mod virtual_machines { } } pub mod detach_data_disk { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7490,7 +7490,7 @@ pub mod virtual_machines { } } pub mod list_applicable_schedules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7559,7 +7559,7 @@ pub mod virtual_machines { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7633,7 +7633,7 @@ pub mod virtual_machines { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7662,7 +7662,7 @@ pub mod virtual_machines { } } pub mod virtual_machine_schedules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7729,7 +7729,7 @@ pub mod virtual_machine_schedules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7807,7 +7807,7 @@ pub mod virtual_machine_schedules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7892,7 +7892,7 @@ pub mod virtual_machine_schedules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Schedule), @@ -7973,7 +7973,7 @@ pub mod virtual_machine_schedules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8043,7 +8043,7 @@ pub mod virtual_machine_schedules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8122,7 +8122,7 @@ pub mod virtual_machine_schedules { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8151,7 +8151,7 @@ pub mod virtual_machine_schedules { } } pub mod virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8216,7 +8216,7 @@ pub mod virtual_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8292,7 +8292,7 @@ pub mod virtual_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8375,7 +8375,7 @@ pub mod virtual_networks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetwork), @@ -8454,7 +8454,7 @@ pub mod virtual_networks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8522,7 +8522,7 @@ pub mod virtual_networks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, diff --git a/services/mgmt/devtestlabs/src/package_2018_09/operations.rs b/services/mgmt/devtestlabs/src/package_2018_09/operations.rs index 1270db9112..3c1adb779d 100644 --- a/services/mgmt/devtestlabs/src/package_2018_09/operations.rs +++ b/services/mgmt/devtestlabs/src/package_2018_09/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod provider_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DevTestLab/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod provider_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod provider_operations { } } pub mod labs { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -130,7 +130,7 @@ pub mod labs { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -219,7 +219,7 @@ pub mod labs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -293,7 +293,7 @@ pub mod labs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -374,7 +374,7 @@ pub mod labs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Lab), @@ -451,7 +451,7 @@ pub mod labs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -518,7 +518,7 @@ pub mod labs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -594,7 +594,7 @@ pub mod labs { } } pub mod claim_any_vm { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -670,7 +670,7 @@ pub mod labs { } } pub mod create_environment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -748,7 +748,7 @@ pub mod labs { } } pub mod export_resource_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -828,7 +828,7 @@ pub mod labs { } } pub mod generate_upload_uri { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -901,7 +901,7 @@ pub mod labs { } } pub mod import_virtual_machine { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -980,7 +980,7 @@ pub mod labs { } } pub mod list_vhds { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1004,7 +1004,7 @@ pub mod labs { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1059,7 +1059,7 @@ pub mod operations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationResult), @@ -1088,7 +1088,7 @@ pub mod operations { } } pub mod global_schedules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1152,7 +1152,7 @@ pub mod global_schedules { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1241,7 +1241,7 @@ pub mod global_schedules { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1315,7 +1315,7 @@ pub mod global_schedules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1396,7 +1396,7 @@ pub mod global_schedules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Schedule), @@ -1473,7 +1473,7 @@ pub mod global_schedules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1539,7 +1539,7 @@ pub mod global_schedules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1614,7 +1614,7 @@ pub mod global_schedules { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1690,7 +1690,7 @@ pub mod global_schedules { } } pub mod retarget { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1719,7 +1719,7 @@ pub mod global_schedules { } } pub mod artifact_sources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1784,7 +1784,7 @@ pub mod artifact_sources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1860,7 +1860,7 @@ pub mod artifact_sources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1943,7 +1943,7 @@ pub mod artifact_sources { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ArtifactSource), @@ -2022,7 +2022,7 @@ pub mod artifact_sources { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2090,7 +2090,7 @@ pub mod artifact_sources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2119,7 +2119,7 @@ pub mod artifact_sources { } } pub mod arm_templates { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2186,7 +2186,7 @@ pub mod arm_templates { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2264,7 +2264,7 @@ pub mod arm_templates { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2288,7 +2288,7 @@ pub mod arm_templates { } } pub mod artifacts { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2355,7 +2355,7 @@ pub mod artifacts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2433,7 +2433,7 @@ pub mod artifacts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2506,7 +2506,7 @@ pub mod artifacts { } } pub mod generate_arm_template { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2530,7 +2530,7 @@ pub mod artifacts { } } pub mod costs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2585,7 +2585,7 @@ pub mod costs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2668,7 +2668,7 @@ pub mod costs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LabCost), @@ -2697,7 +2697,7 @@ pub mod costs { } } pub mod custom_images { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2762,7 +2762,7 @@ pub mod custom_images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2838,7 +2838,7 @@ pub mod custom_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2921,7 +2921,7 @@ pub mod custom_images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CustomImage), @@ -3000,7 +3000,7 @@ pub mod custom_images { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3069,7 +3069,7 @@ pub mod custom_images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3099,7 +3099,7 @@ pub mod custom_images { } } pub mod formulas { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3164,7 +3164,7 @@ pub mod formulas { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3240,7 +3240,7 @@ pub mod formulas { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3323,7 +3323,7 @@ pub mod formulas { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Formula), @@ -3402,7 +3402,7 @@ pub mod formulas { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3470,7 +3470,7 @@ pub mod formulas { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3499,7 +3499,7 @@ pub mod formulas { } } pub mod gallery_images { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3564,7 +3564,7 @@ pub mod gallery_images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3588,7 +3588,7 @@ pub mod gallery_images { } } pub mod notification_channels { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3653,7 +3653,7 @@ pub mod notification_channels { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3729,7 +3729,7 @@ pub mod notification_channels { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3812,7 +3812,7 @@ pub mod notification_channels { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NotificationChannel), @@ -3891,7 +3891,7 @@ pub mod notification_channels { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3959,7 +3959,7 @@ pub mod notification_channels { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4033,7 +4033,7 @@ pub mod notification_channels { } } pub mod notify { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4057,7 +4057,7 @@ pub mod notification_channels { } } pub mod policy_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn evaluate_policies( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4113,7 +4113,7 @@ pub mod policy_sets { } } pub mod evaluate_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4137,7 +4137,7 @@ pub mod policy_sets { } } pub mod policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4204,7 +4204,7 @@ pub mod policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4282,7 +4282,7 @@ pub mod policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4367,7 +4367,7 @@ pub mod policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Policy), @@ -4448,7 +4448,7 @@ pub mod policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4518,7 +4518,7 @@ pub mod policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4547,7 +4547,7 @@ pub mod policies { } } pub mod schedules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4612,7 +4612,7 @@ pub mod schedules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4688,7 +4688,7 @@ pub mod schedules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4771,7 +4771,7 @@ pub mod schedules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Schedule), @@ -4850,7 +4850,7 @@ pub mod schedules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4918,7 +4918,7 @@ pub mod schedules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4995,7 +4995,7 @@ pub mod schedules { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5076,7 +5076,7 @@ pub mod schedules { } } pub mod list_applicable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5100,7 +5100,7 @@ pub mod schedules { } } pub mod service_runners { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5151,7 +5151,7 @@ pub mod service_runners { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5234,7 +5234,7 @@ pub mod service_runners { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServiceRunner), @@ -5307,7 +5307,7 @@ pub mod service_runners { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5336,7 +5336,7 @@ pub mod service_runners { } } pub mod users { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5401,7 +5401,7 @@ pub mod users { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5477,7 +5477,7 @@ pub mod users { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5560,7 +5560,7 @@ pub mod users { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(User), @@ -5639,7 +5639,7 @@ pub mod users { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5708,7 +5708,7 @@ pub mod users { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5738,7 +5738,7 @@ pub mod users { } } pub mod disks { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5805,7 +5805,7 @@ pub mod disks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5883,7 +5883,7 @@ pub mod disks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5968,7 +5968,7 @@ pub mod disks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Disk), @@ -6049,7 +6049,7 @@ pub mod disks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6120,7 +6120,7 @@ pub mod disks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6198,7 +6198,7 @@ pub mod disks { } } pub mod attach { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6275,7 +6275,7 @@ pub mod disks { } } pub mod detach { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6304,7 +6304,7 @@ pub mod disks { } } pub mod environments { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6371,7 +6371,7 @@ pub mod environments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6449,7 +6449,7 @@ pub mod environments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6534,7 +6534,7 @@ pub mod environments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DtlEnvironment), @@ -6615,7 +6615,7 @@ pub mod environments { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6686,7 +6686,7 @@ pub mod environments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6716,7 +6716,7 @@ pub mod environments { } } pub mod secrets { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6783,7 +6783,7 @@ pub mod secrets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6861,7 +6861,7 @@ pub mod secrets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6946,7 +6946,7 @@ pub mod secrets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Secret), @@ -7027,7 +7027,7 @@ pub mod secrets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7097,7 +7097,7 @@ pub mod secrets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7126,7 +7126,7 @@ pub mod secrets { } } pub mod service_fabrics { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7193,7 +7193,7 @@ pub mod service_fabrics { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7271,7 +7271,7 @@ pub mod service_fabrics { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7356,7 +7356,7 @@ pub mod service_fabrics { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServiceFabric), @@ -7437,7 +7437,7 @@ pub mod service_fabrics { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7508,7 +7508,7 @@ pub mod service_fabrics { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7586,7 +7586,7 @@ pub mod service_fabrics { } } pub mod list_applicable_schedules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7657,7 +7657,7 @@ pub mod service_fabrics { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7733,7 +7733,7 @@ pub mod service_fabrics { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7762,7 +7762,7 @@ pub mod service_fabrics { } } pub mod service_fabric_schedules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7831,7 +7831,7 @@ pub mod service_fabric_schedules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7911,7 +7911,7 @@ pub mod service_fabric_schedules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7998,7 +7998,7 @@ pub mod service_fabric_schedules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Schedule), @@ -8081,7 +8081,7 @@ pub mod service_fabric_schedules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8153,7 +8153,7 @@ pub mod service_fabric_schedules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8234,7 +8234,7 @@ pub mod service_fabric_schedules { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8263,7 +8263,7 @@ pub mod service_fabric_schedules { } } pub mod virtual_machines { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8328,7 +8328,7 @@ pub mod virtual_machines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8404,7 +8404,7 @@ pub mod virtual_machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8487,7 +8487,7 @@ pub mod virtual_machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LabVirtualMachine), @@ -8566,7 +8566,7 @@ pub mod virtual_machines { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8635,7 +8635,7 @@ pub mod virtual_machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8714,7 +8714,7 @@ pub mod virtual_machines { } } pub mod add_data_disk { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8792,7 +8792,7 @@ pub mod virtual_machines { } } pub mod apply_artifacts { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8866,7 +8866,7 @@ pub mod virtual_machines { } } pub mod claim { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8944,7 +8944,7 @@ pub mod virtual_machines { } } pub mod detach_data_disk { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9027,7 +9027,7 @@ pub mod virtual_machines { } } pub mod get_rdp_file_contents { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9105,7 +9105,7 @@ pub mod virtual_machines { } } pub mod list_applicable_schedules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9177,7 +9177,7 @@ pub mod virtual_machines { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9252,7 +9252,7 @@ pub mod virtual_machines { } } pub mod resize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9329,7 +9329,7 @@ pub mod virtual_machines { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9403,7 +9403,7 @@ pub mod virtual_machines { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9477,7 +9477,7 @@ pub mod virtual_machines { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9554,7 +9554,7 @@ pub mod virtual_machines { } } pub mod transfer_disks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9631,7 +9631,7 @@ pub mod virtual_machines { } } pub mod un_claim { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9660,7 +9660,7 @@ pub mod virtual_machines { } } pub mod virtual_machine_schedules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9727,7 +9727,7 @@ pub mod virtual_machine_schedules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9805,7 +9805,7 @@ pub mod virtual_machine_schedules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9890,7 +9890,7 @@ pub mod virtual_machine_schedules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Schedule), @@ -9971,7 +9971,7 @@ pub mod virtual_machine_schedules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10041,7 +10041,7 @@ pub mod virtual_machine_schedules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10120,7 +10120,7 @@ pub mod virtual_machine_schedules { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10149,7 +10149,7 @@ pub mod virtual_machine_schedules { } } pub mod virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10214,7 +10214,7 @@ pub mod virtual_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10290,7 +10290,7 @@ pub mod virtual_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10373,7 +10373,7 @@ pub mod virtual_networks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetwork), @@ -10452,7 +10452,7 @@ pub mod virtual_networks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10521,7 +10521,7 @@ pub mod virtual_networks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/dfp/Cargo.toml b/services/mgmt/dfp/Cargo.toml index c5b0600cdd..23a9a4646b 100644 --- a/services/mgmt/dfp/Cargo.toml +++ b/services/mgmt/dfp/Cargo.toml @@ -20,4 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-02-01-preview"] +no-default-version = [] "package-2021-02-01-preview" = [] diff --git a/services/mgmt/dfp/src/lib.rs b/services/mgmt/dfp/src/lib.rs index a0275c8bbb..82c35bd893 100644 --- a/services/mgmt/dfp/src/lib.rs +++ b/services/mgmt/dfp/src/lib.rs @@ -1,9 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-02-01-preview")] -mod package_2021_02_01_preview; +pub mod package_2021_02_01_preview; use azure_core::setters; -#[cfg(feature = "package-2021-02-01-preview")] +#[cfg(all(feature = "package-2021-02-01-preview", not(feature = "no-default-version")))] pub use package_2021_02_01_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -27,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/dfp/src/package_2021_02_01_preview/operations.rs b/services/mgmt/dfp/src/package_2021_02_01_preview/operations.rs index 49bd1eabf3..749db3aed9 100644 --- a/services/mgmt/dfp/src/package_2021_02_01_preview/operations.rs +++ b/services/mgmt/dfp/src/package_2021_02_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod instances { - use crate::models::*; + use super::{models, models::*}; pub async fn get_details( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -56,7 +56,7 @@ pub mod instances { } } pub mod get_details { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -140,7 +140,7 @@ pub mod instances { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DfpInstance), @@ -224,7 +224,7 @@ pub mod instances { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DfpInstance), @@ -296,7 +296,7 @@ pub mod instances { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -375,7 +375,7 @@ pub mod instances { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -438,7 +438,7 @@ pub mod instances { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -513,7 +513,7 @@ pub mod instances { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -581,7 +581,7 @@ pub async fn list_operations( } } pub mod list_operations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/digitaltwins/Cargo.toml b/services/mgmt/digitaltwins/Cargo.toml index 502fcdfbf3..c678dd046f 100644 --- a/services/mgmt/digitaltwins/Cargo.toml +++ b/services/mgmt/digitaltwins/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2020-12"] +no-default-version = [] "package-2020-12" = [] "package-2020-10" = [] "package-2020-03-01-preview" = [] diff --git a/services/mgmt/digitaltwins/src/lib.rs b/services/mgmt/digitaltwins/src/lib.rs index b29c4ee793..a48c2c0308 100644 --- a/services/mgmt/digitaltwins/src/lib.rs +++ b/services/mgmt/digitaltwins/src/lib.rs @@ -1,17 +1,25 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2020-12")] -mod package_2020_12; -#[cfg(feature = "package-2020-12")] +pub mod package_2020_12; +#[cfg(all(feature = "package-2020-12", not(feature = "no-default-version")))] pub use package_2020_12::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-10")] -mod package_2020_10; -#[cfg(feature = "package-2020-10")] +pub mod package_2020_10; +#[cfg(all(feature = "package-2020-10", not(feature = "no-default-version")))] pub use package_2020_10::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-03-01-preview")] -mod package_2020_03_01_preview; +pub mod package_2020_03_01_preview; use azure_core::setters; -#[cfg(feature = "package-2020-03-01-preview")] +#[cfg(all(feature = "package-2020-03-01-preview", not(feature = "no-default-version")))] pub use package_2020_03_01_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -35,7 +43,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/digitaltwins/src/package_2020_03_01_preview/operations.rs b/services/mgmt/digitaltwins/src/package_2020_03_01_preview/operations.rs index d833f0d993..d07ce6413a 100644 --- a/services/mgmt/digitaltwins/src/package_2020_03_01_preview/operations.rs +++ b/services/mgmt/digitaltwins/src/package_2020_03_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod digital_twins { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod digital_twins { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod digital_twins { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DigitalTwinsDescription), @@ -212,7 +212,7 @@ pub mod digital_twins { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DigitalTwinsDescription), @@ -289,7 +289,7 @@ pub mod digital_twins { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -361,7 +361,7 @@ pub mod digital_twins { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -434,7 +434,7 @@ pub mod digital_twins { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -509,7 +509,7 @@ pub mod digital_twins { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -533,7 +533,7 @@ pub mod digital_twins { } } pub mod digital_twins_endpoint { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -582,7 +582,7 @@ pub mod digital_twins_endpoint { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -654,7 +654,7 @@ pub mod digital_twins_endpoint { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -737,7 +737,7 @@ pub mod digital_twins_endpoint { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DigitalTwinsEndpointResource), @@ -816,7 +816,7 @@ pub mod digital_twins_endpoint { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -846,7 +846,7 @@ pub mod digital_twins_endpoint { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DigitalTwins/operations", operation_config.base_path(),); @@ -884,7 +884,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/digitaltwins/src/package_2020_10/operations.rs b/services/mgmt/digitaltwins/src/package_2020_10/operations.rs index 7a02b6690c..3b3ac57e55 100644 --- a/services/mgmt/digitaltwins/src/package_2020_10/operations.rs +++ b/services/mgmt/digitaltwins/src/package_2020_10/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod digital_twins { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod digital_twins { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod digital_twins { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DigitalTwinsDescription), @@ -211,7 +211,7 @@ pub mod digital_twins { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -288,7 +288,7 @@ pub mod digital_twins { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DigitalTwinsDescription), @@ -360,7 +360,7 @@ pub mod digital_twins { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -433,7 +433,7 @@ pub mod digital_twins { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -508,7 +508,7 @@ pub mod digital_twins { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -532,7 +532,7 @@ pub mod digital_twins { } } pub mod digital_twins_endpoint { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -581,7 +581,7 @@ pub mod digital_twins_endpoint { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -653,7 +653,7 @@ pub mod digital_twins_endpoint { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -736,7 +736,7 @@ pub mod digital_twins_endpoint { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DigitalTwinsEndpointResource), @@ -820,7 +820,7 @@ pub mod digital_twins_endpoint { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DigitalTwinsEndpointResource), @@ -850,7 +850,7 @@ pub mod digital_twins_endpoint { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DigitalTwins/operations", operation_config.base_path(),); @@ -888,7 +888,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/digitaltwins/src/package_2020_12/operations.rs b/services/mgmt/digitaltwins/src/package_2020_12/operations.rs index 4e6a236f0c..c91ff4c0c2 100644 --- a/services/mgmt/digitaltwins/src/package_2020_12/operations.rs +++ b/services/mgmt/digitaltwins/src/package_2020_12/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod digital_twins { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod digital_twins { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod digital_twins { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DigitalTwinsDescription), @@ -217,7 +217,7 @@ pub mod digital_twins { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DigitalTwinsDescription), @@ -299,7 +299,7 @@ pub mod digital_twins { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DigitalTwinsDescription), @@ -371,7 +371,7 @@ pub mod digital_twins { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -444,7 +444,7 @@ pub mod digital_twins { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -519,7 +519,7 @@ pub mod digital_twins { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -543,7 +543,7 @@ pub mod digital_twins { } } pub mod digital_twins_endpoint { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -592,7 +592,7 @@ pub mod digital_twins_endpoint { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -664,7 +664,7 @@ pub mod digital_twins_endpoint { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -747,7 +747,7 @@ pub mod digital_twins_endpoint { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DigitalTwinsEndpointResource), @@ -831,7 +831,7 @@ pub mod digital_twins_endpoint { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DigitalTwinsEndpointResource), @@ -861,7 +861,7 @@ pub mod digital_twins_endpoint { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DigitalTwins/operations", operation_config.base_path(),); @@ -899,7 +899,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -923,7 +923,7 @@ pub mod operations { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -972,7 +972,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1044,7 +1044,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1068,7 +1068,7 @@ pub mod private_link_resources { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1117,7 +1117,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1189,7 +1189,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1272,7 +1272,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(PrivateEndpointConnection), @@ -1346,7 +1346,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/dns/Cargo.toml b/services/mgmt/dns/Cargo.toml index a2898b6576..1f4d5955f9 100644 --- a/services/mgmt/dns/Cargo.toml +++ b/services/mgmt/dns/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2018-05"] +no-default-version = [] "package-2018-05" = [] "package-2018-03-preview" = [] "package-2017-10" = [] diff --git a/services/mgmt/dns/src/lib.rs b/services/mgmt/dns/src/lib.rs index 09b311d639..e7e6acda88 100644 --- a/services/mgmt/dns/src/lib.rs +++ b/services/mgmt/dns/src/lib.rs @@ -1,33 +1,41 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2018-05")] -mod package_2018_05; -#[cfg(feature = "package-2018-05")] +pub mod package_2018_05; +#[cfg(all(feature = "package-2018-05", not(feature = "no-default-version")))] pub use package_2018_05::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-03-preview")] -mod package_2018_03_preview; -#[cfg(feature = "package-2018-03-preview")] +pub mod package_2018_03_preview; +#[cfg(all(feature = "package-2018-03-preview", not(feature = "no-default-version")))] pub use package_2018_03_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-10")] -mod package_2017_10; -#[cfg(feature = "package-2017-10")] +pub mod package_2017_10; +#[cfg(all(feature = "package-2017-10", not(feature = "no-default-version")))] pub use package_2017_10::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-09")] -mod package_2017_09; -#[cfg(feature = "package-2017-09")] +pub mod package_2017_09; +#[cfg(all(feature = "package-2017-09", not(feature = "no-default-version")))] pub use package_2017_09::{models, operations, API_VERSION}; #[cfg(feature = "package-2016-04")] -mod package_2016_04; -#[cfg(feature = "package-2016-04")] +pub mod package_2016_04; +#[cfg(all(feature = "package-2016-04", not(feature = "no-default-version")))] pub use package_2016_04::{models, operations, API_VERSION}; #[cfg(feature = "package-2015-05-preview")] -mod package_2015_05_preview; -#[cfg(feature = "package-2015-05-preview")] +pub mod package_2015_05_preview; +#[cfg(all(feature = "package-2015-05-preview", not(feature = "no-default-version")))] pub use package_2015_05_preview::{models, operations, API_VERSION}; #[cfg(feature = "profile-hybrid-2020-09-01")] -mod profile_hybrid_2020_09_01; +pub mod profile_hybrid_2020_09_01; use azure_core::setters; -#[cfg(feature = "profile-hybrid-2020-09-01")] +#[cfg(all(feature = "profile-hybrid-2020-09-01", not(feature = "no-default-version")))] pub use profile_hybrid_2020_09_01::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -51,7 +59,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/dns/src/package_2015_05_preview/operations.rs b/services/mgmt/dns/src/package_2015_05_preview/operations.rs index 2abbf2b9bf..cf8c49fbef 100644 --- a/services/mgmt/dns/src/package_2015_05_preview/operations.rs +++ b/services/mgmt/dns/src/package_2015_05_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod record_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -57,7 +57,7 @@ pub mod record_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -149,7 +149,7 @@ pub mod record_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecordSet), @@ -224,7 +224,7 @@ pub mod record_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -304,7 +304,7 @@ pub mod record_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -380,7 +380,7 @@ pub mod record_sets { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -401,7 +401,7 @@ pub mod record_sets { } } pub mod zones { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -448,7 +448,7 @@ pub mod zones { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -527,7 +527,7 @@ pub mod zones { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Zone), @@ -596,7 +596,7 @@ pub mod zones { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -672,7 +672,7 @@ pub mod zones { } } pub mod list_zones_in_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -746,7 +746,7 @@ pub mod zones { } } pub mod list_zones_in_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/dns/src/package_2016_04/operations.rs b/services/mgmt/dns/src/package_2016_04/operations.rs index 1b9e8f8103..6da7361af4 100644 --- a/services/mgmt/dns/src/package_2016_04/operations.rs +++ b/services/mgmt/dns/src/package_2016_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod record_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -57,7 +57,7 @@ pub mod record_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -150,7 +150,7 @@ pub mod record_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(RecordSet), @@ -235,7 +235,7 @@ pub mod record_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -309,7 +309,7 @@ pub mod record_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -397,7 +397,7 @@ pub mod record_sets { } } pub mod list_by_type { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -478,7 +478,7 @@ pub mod record_sets { } } pub mod list_by_dns_zone { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -502,7 +502,7 @@ pub mod record_sets { } } pub mod zones { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -551,7 +551,7 @@ pub mod zones { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -640,7 +640,7 @@ pub mod zones { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Zone), @@ -721,7 +721,7 @@ pub mod zones { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -804,7 +804,7 @@ pub mod zones { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -874,7 +874,7 @@ pub mod zones { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/dns/src/package_2017_09/operations.rs b/services/mgmt/dns/src/package_2017_09/operations.rs index e4b83a0524..12791488b1 100644 --- a/services/mgmt/dns/src/package_2017_09/operations.rs +++ b/services/mgmt/dns/src/package_2017_09/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod record_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -57,7 +57,7 @@ pub mod record_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -150,7 +150,7 @@ pub mod record_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(RecordSet), @@ -235,7 +235,7 @@ pub mod record_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -309,7 +309,7 @@ pub mod record_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -397,7 +397,7 @@ pub mod record_sets { } } pub mod list_by_type { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -478,7 +478,7 @@ pub mod record_sets { } } pub mod list_by_dns_zone { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -502,7 +502,7 @@ pub mod record_sets { } } pub mod zones { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -551,7 +551,7 @@ pub mod zones { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -640,7 +640,7 @@ pub mod zones { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Zone), @@ -716,7 +716,7 @@ pub mod zones { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -799,7 +799,7 @@ pub mod zones { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -869,7 +869,7 @@ pub mod zones { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/dns/src/package_2017_10/operations.rs b/services/mgmt/dns/src/package_2017_10/operations.rs index 1df1497a25..d6fff28e9e 100644 --- a/services/mgmt/dns/src/package_2017_10/operations.rs +++ b/services/mgmt/dns/src/package_2017_10/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod record_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -57,7 +57,7 @@ pub mod record_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -150,7 +150,7 @@ pub mod record_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(RecordSet), @@ -235,7 +235,7 @@ pub mod record_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -309,7 +309,7 @@ pub mod record_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -397,7 +397,7 @@ pub mod record_sets { } } pub mod list_by_type { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -478,7 +478,7 @@ pub mod record_sets { } } pub mod list_by_dns_zone { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -559,7 +559,7 @@ pub mod record_sets { } } pub mod list_all_by_dns_zone { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -583,7 +583,7 @@ pub mod record_sets { } } pub mod zones { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -632,7 +632,7 @@ pub mod zones { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -721,7 +721,7 @@ pub mod zones { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Zone), @@ -802,7 +802,7 @@ pub mod zones { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -873,7 +873,7 @@ pub mod zones { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -956,7 +956,7 @@ pub mod zones { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1026,7 +1026,7 @@ pub mod zones { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/dns/src/package_2018_03_preview/operations.rs b/services/mgmt/dns/src/package_2018_03_preview/operations.rs index 1df1497a25..d6fff28e9e 100644 --- a/services/mgmt/dns/src/package_2018_03_preview/operations.rs +++ b/services/mgmt/dns/src/package_2018_03_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod record_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -57,7 +57,7 @@ pub mod record_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -150,7 +150,7 @@ pub mod record_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(RecordSet), @@ -235,7 +235,7 @@ pub mod record_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -309,7 +309,7 @@ pub mod record_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -397,7 +397,7 @@ pub mod record_sets { } } pub mod list_by_type { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -478,7 +478,7 @@ pub mod record_sets { } } pub mod list_by_dns_zone { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -559,7 +559,7 @@ pub mod record_sets { } } pub mod list_all_by_dns_zone { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -583,7 +583,7 @@ pub mod record_sets { } } pub mod zones { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -632,7 +632,7 @@ pub mod zones { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -721,7 +721,7 @@ pub mod zones { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Zone), @@ -802,7 +802,7 @@ pub mod zones { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -873,7 +873,7 @@ pub mod zones { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -956,7 +956,7 @@ pub mod zones { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1026,7 +1026,7 @@ pub mod zones { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/dns/src/package_2018_05/operations.rs b/services/mgmt/dns/src/package_2018_05/operations.rs index 00e7ffe215..1d45e56eec 100644 --- a/services/mgmt/dns/src/package_2018_05/operations.rs +++ b/services/mgmt/dns/src/package_2018_05/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod record_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -57,7 +57,7 @@ pub mod record_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -150,7 +150,7 @@ pub mod record_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(RecordSet), @@ -235,7 +235,7 @@ pub mod record_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -309,7 +309,7 @@ pub mod record_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -397,7 +397,7 @@ pub mod record_sets { } } pub mod list_by_type { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -478,7 +478,7 @@ pub mod record_sets { } } pub mod list_by_dns_zone { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -559,7 +559,7 @@ pub mod record_sets { } } pub mod list_all_by_dns_zone { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -583,7 +583,7 @@ pub mod record_sets { } } pub mod zones { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -632,7 +632,7 @@ pub mod zones { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -721,7 +721,7 @@ pub mod zones { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Zone), @@ -802,7 +802,7 @@ pub mod zones { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -873,7 +873,7 @@ pub mod zones { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -956,7 +956,7 @@ pub mod zones { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1026,7 +1026,7 @@ pub mod zones { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1050,7 +1050,7 @@ pub mod zones { } } pub mod dns_resource_reference { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_target_resources( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1102,7 +1102,7 @@ pub mod dns_resource_reference { } } pub mod get_by_target_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/dns/src/profile_hybrid_2020_09_01/operations.rs b/services/mgmt/dns/src/profile_hybrid_2020_09_01/operations.rs index 1b9e8f8103..6da7361af4 100644 --- a/services/mgmt/dns/src/profile_hybrid_2020_09_01/operations.rs +++ b/services/mgmt/dns/src/profile_hybrid_2020_09_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod record_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -57,7 +57,7 @@ pub mod record_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -150,7 +150,7 @@ pub mod record_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(RecordSet), @@ -235,7 +235,7 @@ pub mod record_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -309,7 +309,7 @@ pub mod record_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -397,7 +397,7 @@ pub mod record_sets { } } pub mod list_by_type { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -478,7 +478,7 @@ pub mod record_sets { } } pub mod list_by_dns_zone { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -502,7 +502,7 @@ pub mod record_sets { } } pub mod zones { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -551,7 +551,7 @@ pub mod zones { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -640,7 +640,7 @@ pub mod zones { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Zone), @@ -721,7 +721,7 @@ pub mod zones { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -804,7 +804,7 @@ pub mod zones { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -874,7 +874,7 @@ pub mod zones { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/domainservices/Cargo.toml b/services/mgmt/domainservices/Cargo.toml index 2d114b03bd..665fde2af0 100644 --- a/services/mgmt/domainservices/Cargo.toml +++ b/services/mgmt/domainservices/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-05"] +no-default-version = [] "package-2021-05" = [] "package-2021-03" = [] "package-2020-01" = [] diff --git a/services/mgmt/domainservices/src/lib.rs b/services/mgmt/domainservices/src/lib.rs index 6c82121d6f..d7d84048f9 100644 --- a/services/mgmt/domainservices/src/lib.rs +++ b/services/mgmt/domainservices/src/lib.rs @@ -1,25 +1,33 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-05")] -mod package_2021_05; -#[cfg(feature = "package-2021-05")] +pub mod package_2021_05; +#[cfg(all(feature = "package-2021-05", not(feature = "no-default-version")))] pub use package_2021_05::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-03")] -mod package_2021_03; -#[cfg(feature = "package-2021-03")] +pub mod package_2021_03; +#[cfg(all(feature = "package-2021-03", not(feature = "no-default-version")))] pub use package_2021_03::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-01")] -mod package_2020_01; -#[cfg(feature = "package-2020-01")] +pub mod package_2020_01; +#[cfg(all(feature = "package-2020-01", not(feature = "no-default-version")))] pub use package_2020_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-06")] -mod package_2017_06; -#[cfg(feature = "package-2017-06")] +pub mod package_2017_06; +#[cfg(all(feature = "package-2017-06", not(feature = "no-default-version")))] pub use package_2017_06::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-01")] -mod package_2017_01; +pub mod package_2017_01; use azure_core::setters; -#[cfg(feature = "package-2017-01")] +#[cfg(all(feature = "package-2017-01", not(feature = "no-default-version")))] pub use package_2017_01::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -43,7 +51,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/domainservices/src/package_2017_01/operations.rs b/services/mgmt/domainservices/src/package_2017_01/operations.rs index 434f7f95ce..537688d966 100644 --- a/services/mgmt/domainservices/src/package_2017_01/operations.rs +++ b/services/mgmt/domainservices/src/package_2017_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod domain_service_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.AAD/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod domain_service_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod domain_service_operations { } } pub mod domain_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -104,7 +104,7 @@ pub mod domain_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -172,7 +172,7 @@ pub mod domain_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -237,7 +237,7 @@ pub mod domain_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -319,7 +319,7 @@ pub mod domain_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DomainService), @@ -398,7 +398,7 @@ pub mod domain_services { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DomainService), @@ -464,7 +464,7 @@ pub mod domain_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, diff --git a/services/mgmt/domainservices/src/package_2017_06/operations.rs b/services/mgmt/domainservices/src/package_2017_06/operations.rs index 52abd5dced..0715e67567 100644 --- a/services/mgmt/domainservices/src/package_2017_06/operations.rs +++ b/services/mgmt/domainservices/src/package_2017_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod domain_service_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.AAD/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod domain_service_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod domain_service_operations { } } pub mod domain_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod domain_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub mod domain_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -254,7 +254,7 @@ pub mod domain_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -341,7 +341,7 @@ pub mod domain_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DomainService), @@ -425,7 +425,7 @@ pub mod domain_services { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DomainService), @@ -496,7 +496,7 @@ pub mod domain_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -525,7 +525,7 @@ pub mod domain_services { } } pub mod ou_container_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Aad/operations", operation_config.base_path(),); @@ -563,7 +563,7 @@ pub mod ou_container_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -587,7 +587,7 @@ pub mod ou_container_operations { } } pub mod ou_container { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -636,7 +636,7 @@ pub mod ou_container { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -708,7 +708,7 @@ pub mod ou_container { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -794,7 +794,7 @@ pub mod ou_container { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OuContainer), @@ -880,7 +880,7 @@ pub mod ou_container { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OuContainer), @@ -954,7 +954,7 @@ pub mod ou_container { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/domainservices/src/package_2020_01/operations.rs b/services/mgmt/domainservices/src/package_2020_01/operations.rs index 93f4ecac74..1a034a13d6 100644 --- a/services/mgmt/domainservices/src/package_2020_01/operations.rs +++ b/services/mgmt/domainservices/src/package_2020_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod domain_service_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.AAD/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod domain_service_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod domain_service_operations { } } pub mod domain_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod domain_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub mod domain_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -254,7 +254,7 @@ pub mod domain_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -341,7 +341,7 @@ pub mod domain_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DomainService), @@ -425,7 +425,7 @@ pub mod domain_services { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DomainService), @@ -496,7 +496,7 @@ pub mod domain_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -525,7 +525,7 @@ pub mod domain_services { } } pub mod ou_container_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Aad/operations", operation_config.base_path(),); @@ -563,7 +563,7 @@ pub mod ou_container_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -587,7 +587,7 @@ pub mod ou_container_operations { } } pub mod ou_container { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -636,7 +636,7 @@ pub mod ou_container { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -708,7 +708,7 @@ pub mod ou_container { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -794,7 +794,7 @@ pub mod ou_container { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OuContainer), @@ -880,7 +880,7 @@ pub mod ou_container { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OuContainer), @@ -954,7 +954,7 @@ pub mod ou_container { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/domainservices/src/package_2021_03/operations.rs b/services/mgmt/domainservices/src/package_2021_03/operations.rs index 93f4ecac74..1a034a13d6 100644 --- a/services/mgmt/domainservices/src/package_2021_03/operations.rs +++ b/services/mgmt/domainservices/src/package_2021_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod domain_service_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.AAD/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod domain_service_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod domain_service_operations { } } pub mod domain_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod domain_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub mod domain_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -254,7 +254,7 @@ pub mod domain_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -341,7 +341,7 @@ pub mod domain_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DomainService), @@ -425,7 +425,7 @@ pub mod domain_services { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DomainService), @@ -496,7 +496,7 @@ pub mod domain_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -525,7 +525,7 @@ pub mod domain_services { } } pub mod ou_container_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Aad/operations", operation_config.base_path(),); @@ -563,7 +563,7 @@ pub mod ou_container_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -587,7 +587,7 @@ pub mod ou_container_operations { } } pub mod ou_container { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -636,7 +636,7 @@ pub mod ou_container { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -708,7 +708,7 @@ pub mod ou_container { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -794,7 +794,7 @@ pub mod ou_container { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OuContainer), @@ -880,7 +880,7 @@ pub mod ou_container { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OuContainer), @@ -954,7 +954,7 @@ pub mod ou_container { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/domainservices/src/package_2021_05/operations.rs b/services/mgmt/domainservices/src/package_2021_05/operations.rs index 93f4ecac74..1a034a13d6 100644 --- a/services/mgmt/domainservices/src/package_2021_05/operations.rs +++ b/services/mgmt/domainservices/src/package_2021_05/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod domain_service_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.AAD/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod domain_service_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod domain_service_operations { } } pub mod domain_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod domain_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub mod domain_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -254,7 +254,7 @@ pub mod domain_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -341,7 +341,7 @@ pub mod domain_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DomainService), @@ -425,7 +425,7 @@ pub mod domain_services { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DomainService), @@ -496,7 +496,7 @@ pub mod domain_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -525,7 +525,7 @@ pub mod domain_services { } } pub mod ou_container_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Aad/operations", operation_config.base_path(),); @@ -563,7 +563,7 @@ pub mod ou_container_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -587,7 +587,7 @@ pub mod ou_container_operations { } } pub mod ou_container { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -636,7 +636,7 @@ pub mod ou_container { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -708,7 +708,7 @@ pub mod ou_container { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -794,7 +794,7 @@ pub mod ou_container { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OuContainer), @@ -880,7 +880,7 @@ pub mod ou_container { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OuContainer), @@ -954,7 +954,7 @@ pub mod ou_container { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/edgeorder/Cargo.toml b/services/mgmt/edgeorder/Cargo.toml index f048c145e3..a7a6d1cffb 100644 --- a/services/mgmt/edgeorder/Cargo.toml +++ b/services/mgmt/edgeorder/Cargo.toml @@ -20,4 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2020-12-preview"] +no-default-version = [] "package-2020-12-preview" = [] diff --git a/services/mgmt/edgeorder/src/lib.rs b/services/mgmt/edgeorder/src/lib.rs index a258a1c10f..25393ea5d4 100644 --- a/services/mgmt/edgeorder/src/lib.rs +++ b/services/mgmt/edgeorder/src/lib.rs @@ -1,9 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2020-12-preview")] -mod package_2020_12_preview; +pub mod package_2020_12_preview; use azure_core::setters; -#[cfg(feature = "package-2020-12-preview")] +#[cfg(all(feature = "package-2020-12-preview", not(feature = "no-default-version")))] pub use package_2020_12_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -27,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/edgeorder/src/package_2020_12_preview/operations.rs b/services/mgmt/edgeorder/src/package_2020_12_preview/operations.rs index 90697b1250..a61087d7bd 100644 --- a/services/mgmt/edgeorder/src/package_2020_12_preview/operations.rs +++ b/services/mgmt/edgeorder/src/package_2020_12_preview/operations.rs @@ -2,7 +2,7 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub async fn list_operations( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -45,7 +45,7 @@ pub async fn list_operations( } } pub mod list_operations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -124,7 +124,7 @@ pub async fn list_addresses_at_subscription_level( } } pub mod list_addresses_at_subscription_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -205,7 +205,7 @@ pub async fn list_product_families( } } pub mod list_product_families { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -280,7 +280,7 @@ pub async fn list_configurations( } } pub mod list_configurations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -356,7 +356,7 @@ pub async fn list_product_families_metadata( } } pub mod list_product_families_metadata { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -431,7 +431,7 @@ pub async fn list_order_at_subscription_level( } } pub mod list_order_at_subscription_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -514,7 +514,7 @@ pub async fn list_order_items_at_subscription_level( } } pub mod list_order_items_at_subscription_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -595,7 +595,7 @@ pub async fn list_addresses_at_resource_group_level( } } pub mod list_addresses_at_resource_group_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -668,7 +668,7 @@ pub async fn get_address_by_name( } } pub mod get_address_by_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -744,7 +744,7 @@ pub async fn create_address( } } pub mod create_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AddressResource), @@ -829,7 +829,7 @@ pub async fn update_address( } } pub mod update_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -906,7 +906,7 @@ pub async fn delete_address_by_name( } } pub mod delete_address_by_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -989,7 +989,7 @@ pub async fn list_order_at_resource_group_level( } } pub mod list_order_at_resource_group_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1064,7 +1064,7 @@ pub async fn get_order_by_name( } } pub mod get_order_by_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1149,7 +1149,7 @@ pub async fn list_order_items_at_resource_group_level( } } pub mod list_order_items_at_resource_group_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1228,7 +1228,7 @@ pub async fn get_order_item_by_name( } } pub mod get_order_item_by_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1304,7 +1304,7 @@ pub async fn create_order_item( } } pub mod create_order_item { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OrderItemResource), @@ -1389,7 +1389,7 @@ pub async fn update_order_item( } } pub mod update_order_item { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1466,7 +1466,7 @@ pub async fn delete_order_item_by_name( } } pub mod delete_order_item_by_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1543,7 +1543,7 @@ pub async fn cancel_order_item( } } pub mod cancel_order_item { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1619,7 +1619,7 @@ pub async fn return_order_item( } } pub mod return_order_item { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/edgeorderpartner/Cargo.toml b/services/mgmt/edgeorderpartner/Cargo.toml index d4943ccc98..c7a7a1d4e6 100644 --- a/services/mgmt/edgeorderpartner/Cargo.toml +++ b/services/mgmt/edgeorderpartner/Cargo.toml @@ -20,4 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2020-12-preview"] +no-default-version = [] "package-2020-12-preview" = [] diff --git a/services/mgmt/edgeorderpartner/src/lib.rs b/services/mgmt/edgeorderpartner/src/lib.rs index a258a1c10f..25393ea5d4 100644 --- a/services/mgmt/edgeorderpartner/src/lib.rs +++ b/services/mgmt/edgeorderpartner/src/lib.rs @@ -1,9 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2020-12-preview")] -mod package_2020_12_preview; +pub mod package_2020_12_preview; use azure_core::setters; -#[cfg(feature = "package-2020-12-preview")] +#[cfg(all(feature = "package-2020-12-preview", not(feature = "no-default-version")))] pub use package_2020_12_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -27,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/edgeorderpartner/src/package_2020_12_preview/operations.rs b/services/mgmt/edgeorderpartner/src/package_2020_12_preview/operations.rs index 713e274383..7244967a33 100644 --- a/services/mgmt/edgeorderpartner/src/package_2020_12_preview/operations.rs +++ b/services/mgmt/edgeorderpartner/src/package_2020_12_preview/operations.rs @@ -2,7 +2,7 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub async fn list_operations_partner( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -47,7 +47,7 @@ pub async fn list_operations_partner( } } pub mod list_operations_partner { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -123,7 +123,7 @@ pub async fn manage_inventory_metadata( } } pub mod manage_inventory_metadata { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -202,7 +202,7 @@ pub async fn manage_link( } } pub mod manage_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -278,7 +278,7 @@ pub async fn search_inventories( } } pub mod search_inventories { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/elastic/Cargo.toml b/services/mgmt/elastic/Cargo.toml index 843155b457..46e0e3e2d0 100644 --- a/services/mgmt/elastic/Cargo.toml +++ b/services/mgmt/elastic/Cargo.toml @@ -20,5 +20,6 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2020-07-01"] +no-default-version = [] "package-2020-07-01-preview" = [] "package-2020-07-01" = [] diff --git a/services/mgmt/elastic/src/lib.rs b/services/mgmt/elastic/src/lib.rs index 796409cd92..1d30e7a64c 100644 --- a/services/mgmt/elastic/src/lib.rs +++ b/services/mgmt/elastic/src/lib.rs @@ -1,13 +1,21 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2020-07-01-preview")] -mod package_2020_07_01_preview; -#[cfg(feature = "package-2020-07-01-preview")] +pub mod package_2020_07_01_preview; +#[cfg(all(feature = "package-2020-07-01-preview", not(feature = "no-default-version")))] pub use package_2020_07_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-07-01")] -mod package_2020_07_01; +pub mod package_2020_07_01; use azure_core::setters; -#[cfg(feature = "package-2020-07-01")] +#[cfg(all(feature = "package-2020-07-01", not(feature = "no-default-version")))] pub use package_2020_07_01::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -31,7 +39,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/elastic/src/package_2020_07_01/operations.rs b/services/mgmt/elastic/src/package_2020_07_01/operations.rs index 8b7fb824bb..55fe2c201f 100644 --- a/services/mgmt/elastic/src/package_2020_07_01/operations.rs +++ b/services/mgmt/elastic/src/package_2020_07_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Elastic/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod monitors { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod monitors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub mod monitors { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -254,7 +254,7 @@ pub mod monitors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -336,7 +336,7 @@ pub mod monitors { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ElasticMonitorResource), @@ -417,7 +417,7 @@ pub mod monitors { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -484,7 +484,7 @@ pub mod monitors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -514,7 +514,7 @@ pub mod monitors { } } pub mod monitored_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -564,7 +564,7 @@ pub mod monitored_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -588,7 +588,7 @@ pub mod monitored_resources { } } pub mod deployment_info { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -638,7 +638,7 @@ pub mod deployment_info { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -662,7 +662,7 @@ pub mod deployment_info { } } pub mod tag_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -711,7 +711,7 @@ pub mod tag_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -783,7 +783,7 @@ pub mod tag_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -864,7 +864,7 @@ pub mod tag_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -933,7 +933,7 @@ pub mod tag_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -963,7 +963,7 @@ pub mod tag_rules { } } pub mod vm_host { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1013,7 +1013,7 @@ pub mod vm_host { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1037,7 +1037,7 @@ pub mod vm_host { } } pub mod vm_ingestion { - use crate::models::*; + use super::{models, models::*}; pub async fn details( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1090,7 +1090,7 @@ pub mod vm_ingestion { } } pub mod details { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1114,7 +1114,7 @@ pub mod vm_ingestion { } } pub mod vm_collection { - use crate::models::*; + use super::{models, models::*}; pub async fn update( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1164,7 +1164,7 @@ pub mod vm_collection { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/elastic/src/package_2020_07_01_preview/operations.rs b/services/mgmt/elastic/src/package_2020_07_01_preview/operations.rs index 8b7fb824bb..55fe2c201f 100644 --- a/services/mgmt/elastic/src/package_2020_07_01_preview/operations.rs +++ b/services/mgmt/elastic/src/package_2020_07_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Elastic/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod monitors { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod monitors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub mod monitors { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -254,7 +254,7 @@ pub mod monitors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -336,7 +336,7 @@ pub mod monitors { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ElasticMonitorResource), @@ -417,7 +417,7 @@ pub mod monitors { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -484,7 +484,7 @@ pub mod monitors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -514,7 +514,7 @@ pub mod monitors { } } pub mod monitored_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -564,7 +564,7 @@ pub mod monitored_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -588,7 +588,7 @@ pub mod monitored_resources { } } pub mod deployment_info { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -638,7 +638,7 @@ pub mod deployment_info { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -662,7 +662,7 @@ pub mod deployment_info { } } pub mod tag_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -711,7 +711,7 @@ pub mod tag_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -783,7 +783,7 @@ pub mod tag_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -864,7 +864,7 @@ pub mod tag_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -933,7 +933,7 @@ pub mod tag_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -963,7 +963,7 @@ pub mod tag_rules { } } pub mod vm_host { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1013,7 +1013,7 @@ pub mod vm_host { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1037,7 +1037,7 @@ pub mod vm_host { } } pub mod vm_ingestion { - use crate::models::*; + use super::{models, models::*}; pub async fn details( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1090,7 +1090,7 @@ pub mod vm_ingestion { } } pub mod details { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1114,7 +1114,7 @@ pub mod vm_ingestion { } } pub mod vm_collection { - use crate::models::*; + use super::{models, models::*}; pub async fn update( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1164,7 +1164,7 @@ pub mod vm_collection { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/engagementfabric/Cargo.toml b/services/mgmt/engagementfabric/Cargo.toml index 48251368d5..9263c9ef82 100644 --- a/services/mgmt/engagementfabric/Cargo.toml +++ b/services/mgmt/engagementfabric/Cargo.toml @@ -20,4 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2018-09-preview"] +no-default-version = [] "package-2018-09-preview" = [] diff --git a/services/mgmt/engagementfabric/src/lib.rs b/services/mgmt/engagementfabric/src/lib.rs index a2860c7322..c995f52319 100644 --- a/services/mgmt/engagementfabric/src/lib.rs +++ b/services/mgmt/engagementfabric/src/lib.rs @@ -1,9 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2018-09-preview")] -mod package_2018_09_preview; +pub mod package_2018_09_preview; use azure_core::setters; -#[cfg(feature = "package-2018-09-preview")] +#[cfg(all(feature = "package-2018-09-preview", not(feature = "no-default-version")))] pub use package_2018_09_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -27,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/engagementfabric/src/package_2018_09_preview/operations.rs b/services/mgmt/engagementfabric/src/package_2018_09_preview/operations.rs index dcd6c12e4a..efca5fe248 100644 --- a/services/mgmt/engagementfabric/src/package_2018_09_preview/operations.rs +++ b/services/mgmt/engagementfabric/src/package_2018_09_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -128,7 +128,7 @@ pub mod accounts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -200,7 +200,7 @@ pub mod accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -266,7 +266,7 @@ pub mod accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -334,7 +334,7 @@ pub mod accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -407,7 +407,7 @@ pub mod accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -481,7 +481,7 @@ pub mod accounts { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -556,7 +556,7 @@ pub mod accounts { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -630,7 +630,7 @@ pub mod accounts { } } pub mod list_channel_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -654,7 +654,7 @@ pub mod accounts { } } pub mod channels { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -705,7 +705,7 @@ pub mod channels { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -782,7 +782,7 @@ pub mod channels { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -850,7 +850,7 @@ pub mod channels { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -928,7 +928,7 @@ pub mod channels { } } pub mod list_by_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1004,7 +1004,7 @@ pub async fn check_name_availability( } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1027,7 +1027,7 @@ pub mod check_name_availability { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.EngagementFabric/operations", operation_config.base_path(),); @@ -1065,7 +1065,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1089,7 +1089,7 @@ pub mod operations { } } pub mod sk_us { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1134,7 +1134,7 @@ pub mod sk_us { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/enterprise_knowledge_graph/Cargo.toml b/services/mgmt/enterprise_knowledge_graph/Cargo.toml index 439b442d44..b78cc93bfb 100644 --- a/services/mgmt/enterprise_knowledge_graph/Cargo.toml +++ b/services/mgmt/enterprise_knowledge_graph/Cargo.toml @@ -20,4 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2018-12-03"] +no-default-version = [] "package-2018-12-03" = [] diff --git a/services/mgmt/enterprise_knowledge_graph/src/lib.rs b/services/mgmt/enterprise_knowledge_graph/src/lib.rs index 20388ac51c..0fdfb837f6 100644 --- a/services/mgmt/enterprise_knowledge_graph/src/lib.rs +++ b/services/mgmt/enterprise_knowledge_graph/src/lib.rs @@ -1,9 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2018-12-03")] -mod package_2018_12_03; +pub mod package_2018_12_03; use azure_core::setters; -#[cfg(feature = "package-2018-12-03")] +#[cfg(all(feature = "package-2018-12-03", not(feature = "no-default-version")))] pub use package_2018_12_03::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -27,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/enterprise_knowledge_graph/src/package_2018_12_03/operations.rs b/services/mgmt/enterprise_knowledge_graph/src/package_2018_12_03/operations.rs index 04d5ad59c9..73df38777c 100644 --- a/services/mgmt/enterprise_knowledge_graph/src/package_2018_12_03/operations.rs +++ b/services/mgmt/enterprise_knowledge_graph/src/package_2018_12_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod enterprise_knowledge_graph { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod enterprise_knowledge_graph { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -131,7 +131,7 @@ pub mod enterprise_knowledge_graph { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EnterpriseKnowledgeGraph), @@ -214,7 +214,7 @@ pub mod enterprise_knowledge_graph { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EnterpriseKnowledgeGraph), @@ -285,7 +285,7 @@ pub mod enterprise_knowledge_graph { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -363,7 +363,7 @@ pub mod enterprise_knowledge_graph { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -429,7 +429,7 @@ pub mod enterprise_knowledge_graph { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -453,7 +453,7 @@ pub mod enterprise_knowledge_graph { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -492,7 +492,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/eventgrid/Cargo.toml b/services/mgmt/eventgrid/Cargo.toml index a60ca38991..1a354e0fb1 100644 --- a/services/mgmt/eventgrid/Cargo.toml +++ b/services/mgmt/eventgrid/Cargo.toml @@ -20,4 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-12"] +no-default-version = [] "package-2021-12" = [] diff --git a/services/mgmt/eventgrid/src/lib.rs b/services/mgmt/eventgrid/src/lib.rs index 2fa872c9eb..26aa1469b7 100644 --- a/services/mgmt/eventgrid/src/lib.rs +++ b/services/mgmt/eventgrid/src/lib.rs @@ -1,9 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-12")] -mod package_2021_12; +pub mod package_2021_12; use azure_core::setters; -#[cfg(feature = "package-2021-12")] +#[cfg(all(feature = "package-2021-12", not(feature = "no-default-version")))] pub use package_2021_12::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -27,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/eventgrid/src/package_2021_12/operations.rs b/services/mgmt/eventgrid/src/package_2021_12/operations.rs index 4f615c4ae0..773fbc6fc2 100644 --- a/services/mgmt/eventgrid/src/package_2021_12/operations.rs +++ b/services/mgmt/eventgrid/src/package_2021_12/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod domains { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -45,7 +45,7 @@ pub mod domains { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -109,7 +109,7 @@ pub mod domains { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -171,7 +171,7 @@ pub mod domains { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -232,7 +232,7 @@ pub mod domains { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -304,7 +304,7 @@ pub mod domains { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -374,7 +374,7 @@ pub mod domains { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -439,7 +439,7 @@ pub mod domains { } } pub mod list_shared_access_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -503,7 +503,7 @@ pub mod domains { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -524,7 +524,7 @@ pub mod domains { } } pub mod domain_topics { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -567,7 +567,7 @@ pub mod domain_topics { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -631,7 +631,7 @@ pub mod domain_topics { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -689,7 +689,7 @@ pub mod domain_topics { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -765,7 +765,7 @@ pub mod domain_topics { } } pub mod list_by_domain { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -786,7 +786,7 @@ pub mod domain_topics { } } pub mod event_subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scope: &str, @@ -825,7 +825,7 @@ pub mod event_subscriptions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -887,7 +887,7 @@ pub mod event_subscriptions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -946,7 +946,7 @@ pub mod event_subscriptions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1000,7 +1000,7 @@ pub mod event_subscriptions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1067,7 +1067,7 @@ pub mod event_subscriptions { } } pub mod get_full_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1135,7 +1135,7 @@ pub mod event_subscriptions { } } pub mod list_global_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1205,7 +1205,7 @@ pub mod event_subscriptions { } } pub mod list_global_by_subscription_for_topic_type { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1275,7 +1275,7 @@ pub mod event_subscriptions { } } pub mod list_global_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1347,7 +1347,7 @@ pub mod event_subscriptions { } } pub mod list_global_by_resource_group_for_topic_type { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1417,7 +1417,7 @@ pub mod event_subscriptions { } } pub mod list_regional_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1489,7 +1489,7 @@ pub mod event_subscriptions { } } pub mod list_regional_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1561,7 +1561,7 @@ pub mod event_subscriptions { } } pub mod list_regional_by_subscription_for_topic_type { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1635,7 +1635,7 @@ pub mod event_subscriptions { } } pub mod list_regional_by_resource_group_for_topic_type { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1709,7 +1709,7 @@ pub mod event_subscriptions { } } pub mod list_by_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1774,7 +1774,7 @@ pub mod event_subscriptions { } } pub mod list_by_domain_topic { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1837,7 +1837,7 @@ pub mod event_subscriptions { } } pub mod get_delivery_attributes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1858,7 +1858,7 @@ pub mod event_subscriptions { } } pub mod system_topic_event_subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1901,7 +1901,7 @@ pub mod system_topic_event_subscriptions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1967,7 +1967,7 @@ pub mod system_topic_event_subscriptions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2030,7 +2030,7 @@ pub mod system_topic_event_subscriptions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2088,7 +2088,7 @@ pub mod system_topic_event_subscriptions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2159,7 +2159,7 @@ pub mod system_topic_event_subscriptions { } } pub mod get_full_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2229,7 +2229,7 @@ pub mod system_topic_event_subscriptions { } } pub mod list_by_system_topic { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2289,7 +2289,7 @@ pub mod system_topic_event_subscriptions { } } pub mod get_delivery_attributes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2310,7 +2310,7 @@ pub mod system_topic_event_subscriptions { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.EventGrid/operations", operation_config.base_path(),); @@ -2340,7 +2340,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2361,7 +2361,7 @@ pub mod operations { } } pub mod topics { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2402,7 +2402,7 @@ pub mod topics { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2466,7 +2466,7 @@ pub mod topics { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2528,7 +2528,7 @@ pub mod topics { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2588,7 +2588,7 @@ pub mod topics { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2659,7 +2659,7 @@ pub mod topics { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2729,7 +2729,7 @@ pub mod topics { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2794,7 +2794,7 @@ pub mod topics { } } pub mod list_shared_access_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2858,7 +2858,7 @@ pub mod topics { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2924,7 +2924,7 @@ pub mod topics { } } pub mod list_event_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2945,7 +2945,7 @@ pub mod topics { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2990,7 +2990,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3061,7 +3061,7 @@ pub mod private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -3125,7 +3125,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3202,7 +3202,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3223,7 +3223,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3268,7 +3268,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3340,7 +3340,7 @@ pub mod private_link_resources { } } pub mod list_by_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3361,7 +3361,7 @@ pub mod private_link_resources { } } pub mod system_topics { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3402,7 +3402,7 @@ pub mod system_topics { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3472,7 +3472,7 @@ pub mod system_topics { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SystemTopic), @@ -3544,7 +3544,7 @@ pub mod system_topics { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SystemTopic), @@ -3605,7 +3605,7 @@ pub mod system_topics { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3677,7 +3677,7 @@ pub mod system_topics { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3747,7 +3747,7 @@ pub mod system_topics { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3768,7 +3768,7 @@ pub mod system_topics { } } pub mod topic_types { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.EventGrid/topicTypes", operation_config.base_path(),); @@ -3798,7 +3798,7 @@ pub mod topic_types { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3850,7 +3850,7 @@ pub mod topic_types { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3908,7 +3908,7 @@ pub mod topic_types { } } pub mod list_event_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/eventhub/Cargo.toml b/services/mgmt/eventhub/Cargo.toml index 01b3cfe2bc..3a42ec76c5 100644 --- a/services/mgmt/eventhub/Cargo.toml +++ b/services/mgmt/eventhub/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2017-04"] +no-default-version = [] "package-2017-04" = [] "package-2015-08" = [] "package-2014-09" = [] diff --git a/services/mgmt/eventhub/src/lib.rs b/services/mgmt/eventhub/src/lib.rs index 9445aa453c..0aa91f6122 100644 --- a/services/mgmt/eventhub/src/lib.rs +++ b/services/mgmt/eventhub/src/lib.rs @@ -1,37 +1,45 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2017-04")] -mod package_2017_04; -#[cfg(feature = "package-2017-04")] +pub mod package_2017_04; +#[cfg(all(feature = "package-2017-04", not(feature = "no-default-version")))] pub use package_2017_04::{models, operations, API_VERSION}; #[cfg(feature = "package-2015-08")] -mod package_2015_08; -#[cfg(feature = "package-2015-08")] +pub mod package_2015_08; +#[cfg(all(feature = "package-2015-08", not(feature = "no-default-version")))] pub use package_2015_08::{models, operations, API_VERSION}; #[cfg(feature = "package-2014-09")] -mod package_2014_09; -#[cfg(feature = "package-2014-09")] +pub mod package_2014_09; +#[cfg(all(feature = "package-2014-09", not(feature = "no-default-version")))] pub use package_2014_09::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-01-preview")] -mod package_2021_01_preview; -#[cfg(feature = "package-2021-01-preview")] +pub mod package_2021_01_preview; +#[cfg(all(feature = "package-2021-01-preview", not(feature = "no-default-version")))] pub use package_2021_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-06-preview")] -mod package_2021_06_preview; -#[cfg(feature = "package-2021-06-preview")] +pub mod package_2021_06_preview; +#[cfg(all(feature = "package-2021-06-preview", not(feature = "no-default-version")))] pub use package_2021_06_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-01-preview")] -mod package_2018_01_preview; -#[cfg(feature = "package-2018-01-preview")] +pub mod package_2018_01_preview; +#[cfg(all(feature = "package-2018-01-preview", not(feature = "no-default-version")))] pub use package_2018_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-11")] -mod package_2021_11; -#[cfg(feature = "package-2021-11")] +pub mod package_2021_11; +#[cfg(all(feature = "package-2021-11", not(feature = "no-default-version")))] pub use package_2021_11::{models, operations, API_VERSION}; #[cfg(feature = "profile-hybrid-2020-09-01")] -mod profile_hybrid_2020_09_01; +pub mod profile_hybrid_2020_09_01; use azure_core::setters; -#[cfg(feature = "profile-hybrid-2020-09-01")] +#[cfg(all(feature = "profile-hybrid-2020-09-01", not(feature = "no-default-version")))] pub use profile_hybrid_2020_09_01::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -55,7 +63,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/eventhub/src/package_2014_09/operations.rs b/services/mgmt/eventhub/src/package_2014_09/operations.rs index 186c72e943..17796fbd15 100644 --- a/services/mgmt/eventhub/src/package_2014_09/operations.rs +++ b/services/mgmt/eventhub/src/package_2014_09/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.EventHub/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod namespaces { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod namespaces { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -179,7 +179,7 @@ pub mod namespaces { } } pub mod check_name_space_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -243,7 +243,7 @@ pub mod namespaces { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -311,7 +311,7 @@ pub mod namespaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -382,7 +382,7 @@ pub mod namespaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NamespaceResource), @@ -464,7 +464,7 @@ pub mod namespaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NamespaceResource), @@ -544,7 +544,7 @@ pub mod namespaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NamespaceResource), @@ -612,7 +612,7 @@ pub mod namespaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -688,7 +688,7 @@ pub mod namespaces { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -759,7 +759,7 @@ pub mod namespaces { } } pub mod list_post_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -831,7 +831,7 @@ pub mod namespaces { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -904,7 +904,7 @@ pub mod namespaces { } } pub mod post_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -978,7 +978,7 @@ pub mod namespaces { } } pub mod create_or_update_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1046,7 +1046,7 @@ pub mod namespaces { } } pub mod delete_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1072,7 +1072,7 @@ pub mod namespaces { } } pub mod event_hubs { - use crate::models::*; + use super::{models, models::*}; pub async fn list_all( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1122,7 +1122,7 @@ pub mod event_hubs { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1189,7 +1189,7 @@ pub mod event_hubs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1261,7 +1261,7 @@ pub mod event_hubs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1324,7 +1324,7 @@ pub mod event_hubs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1401,7 +1401,7 @@ pub mod event_hubs { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1475,7 +1475,7 @@ pub mod event_hubs { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1550,7 +1550,7 @@ pub mod event_hubs { } } pub mod post_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1626,7 +1626,7 @@ pub mod event_hubs { } } pub mod create_or_update_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1696,7 +1696,7 @@ pub mod event_hubs { } } pub mod delete_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1722,7 +1722,7 @@ pub mod event_hubs { } } pub mod consumer_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1773,7 +1773,7 @@ pub mod consumer_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1847,7 +1847,7 @@ pub mod consumer_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1912,7 +1912,7 @@ pub mod consumer_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1987,7 +1987,7 @@ pub mod consumer_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/eventhub/src/package_2015_08/operations.rs b/services/mgmt/eventhub/src/package_2015_08/operations.rs index d999f587ee..83d215210f 100644 --- a/services/mgmt/eventhub/src/package_2015_08/operations.rs +++ b/services/mgmt/eventhub/src/package_2015_08/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.EventHub/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod namespaces { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod namespaces { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -175,7 +175,7 @@ pub mod namespaces { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -243,7 +243,7 @@ pub mod namespaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -314,7 +314,7 @@ pub mod namespaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NamespaceResource), @@ -396,7 +396,7 @@ pub mod namespaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NamespaceResource), @@ -476,7 +476,7 @@ pub mod namespaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NamespaceResource), @@ -544,7 +544,7 @@ pub mod namespaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -620,7 +620,7 @@ pub mod namespaces { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -692,7 +692,7 @@ pub mod namespaces { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -766,7 +766,7 @@ pub mod namespaces { } } pub mod create_or_update_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -834,7 +834,7 @@ pub mod namespaces { } } pub mod delete_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -910,7 +910,7 @@ pub mod namespaces { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -982,7 +982,7 @@ pub mod namespaces { } } pub mod regenerate_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1003,7 +1003,7 @@ pub mod namespaces { } } pub mod event_hubs { - use crate::models::*; + use super::{models, models::*}; pub async fn list_all( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1053,7 +1053,7 @@ pub mod event_hubs { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1120,7 +1120,7 @@ pub mod event_hubs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1192,7 +1192,7 @@ pub mod event_hubs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1255,7 +1255,7 @@ pub mod event_hubs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1332,7 +1332,7 @@ pub mod event_hubs { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1406,7 +1406,7 @@ pub mod event_hubs { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1481,7 +1481,7 @@ pub mod event_hubs { } } pub mod post_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1557,7 +1557,7 @@ pub mod event_hubs { } } pub mod create_or_update_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1627,7 +1627,7 @@ pub mod event_hubs { } } pub mod delete_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1705,7 +1705,7 @@ pub mod event_hubs { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1771,7 +1771,7 @@ pub mod event_hubs { } } pub mod regenerate_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1792,7 +1792,7 @@ pub mod event_hubs { } } pub mod consumer_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1843,7 +1843,7 @@ pub mod consumer_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1917,7 +1917,7 @@ pub mod consumer_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1982,7 +1982,7 @@ pub mod consumer_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2057,7 +2057,7 @@ pub mod consumer_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/eventhub/src/package_2017_04/operations.rs b/services/mgmt/eventhub/src/package_2017_04/operations.rs index 74282b5ef2..9cac221670 100644 --- a/services/mgmt/eventhub/src/package_2017_04/operations.rs +++ b/services/mgmt/eventhub/src/package_2017_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod namespaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list_authorization_rules( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -58,7 +58,7 @@ pub mod namespaces { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -135,7 +135,7 @@ pub mod namespaces { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -214,7 +214,7 @@ pub mod namespaces { } } pub mod create_or_update_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -287,7 +287,7 @@ pub mod namespaces { } } pub mod delete_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -368,7 +368,7 @@ pub mod namespaces { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -445,7 +445,7 @@ pub mod namespaces { } } pub mod regenerate_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -518,7 +518,7 @@ pub mod namespaces { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -584,7 +584,7 @@ pub mod namespaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -657,7 +657,7 @@ pub mod namespaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -733,7 +733,7 @@ pub mod namespaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EhNamespace), @@ -820,7 +820,7 @@ pub mod namespaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EhNamespace), @@ -905,7 +905,7 @@ pub mod namespaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EhNamespace), @@ -978,7 +978,7 @@ pub mod namespaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1057,7 +1057,7 @@ pub mod namespaces { } } pub mod get_messaging_plan { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1130,7 +1130,7 @@ pub mod namespaces { } } pub mod get_network_rule_set { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1207,7 +1207,7 @@ pub mod namespaces { } } pub mod create_or_update_network_rule_set { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1282,7 +1282,7 @@ pub mod namespaces { } } pub mod list_network_rule_sets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1306,7 +1306,7 @@ pub mod namespaces { } } pub mod disaster_recovery_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn list_authorization_rules( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1355,7 +1355,7 @@ pub mod disaster_recovery_configs { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1426,7 +1426,7 @@ pub mod disaster_recovery_configs { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1496,7 +1496,7 @@ pub mod disaster_recovery_configs { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1567,7 +1567,7 @@ pub mod disaster_recovery_configs { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1637,7 +1637,7 @@ pub mod disaster_recovery_configs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1709,7 +1709,7 @@ pub mod disaster_recovery_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1787,7 +1787,7 @@ pub mod disaster_recovery_configs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ArmDisasterRecovery), @@ -1859,7 +1859,7 @@ pub mod disaster_recovery_configs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1930,7 +1930,7 @@ pub mod disaster_recovery_configs { } } pub mod break_pairing { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2001,7 +2001,7 @@ pub mod disaster_recovery_configs { } } pub mod fail_over { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2025,7 +2025,7 @@ pub mod disaster_recovery_configs { } } pub mod event_hubs { - use crate::models::*; + use super::{models, models::*}; pub async fn list_authorization_rules( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2081,7 +2081,7 @@ pub mod event_hubs { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2160,7 +2160,7 @@ pub mod event_hubs { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2241,7 +2241,7 @@ pub mod event_hubs { } } pub mod create_or_update_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2316,7 +2316,7 @@ pub mod event_hubs { } } pub mod delete_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2399,7 +2399,7 @@ pub mod event_hubs { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2470,7 +2470,7 @@ pub mod event_hubs { } } pub mod regenerate_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2551,7 +2551,7 @@ pub mod event_hubs { } } pub mod list_by_namespace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2623,7 +2623,7 @@ pub mod event_hubs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2700,7 +2700,7 @@ pub mod event_hubs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2768,7 +2768,7 @@ pub mod event_hubs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2797,7 +2797,7 @@ pub mod event_hubs { } } pub mod consumer_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2850,7 +2850,7 @@ pub mod consumer_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2929,7 +2929,7 @@ pub mod consumer_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2999,7 +2999,7 @@ pub mod consumer_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3087,7 +3087,7 @@ pub mod consumer_groups { } } pub mod list_by_event_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3111,7 +3111,7 @@ pub mod consumer_groups { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.EventHub/operations", operation_config.base_path(),); @@ -3149,7 +3149,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3173,7 +3173,7 @@ pub mod operations { } } pub mod regions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_sku( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3223,7 +3223,7 @@ pub mod regions { } } pub mod list_by_sku { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/eventhub/src/package_2018_01_preview/operations.rs b/services/mgmt/eventhub/src/package_2018_01_preview/operations.rs index 99958785dc..5c30da5347 100644 --- a/services/mgmt/eventhub/src/package_2018_01_preview/operations.rs +++ b/services/mgmt/eventhub/src/package_2018_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list_available_cluster_region( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -54,7 +54,7 @@ pub mod clusters { } } pub mod list_available_cluster_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -197,7 +197,7 @@ pub mod clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -279,7 +279,7 @@ pub mod clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -364,7 +364,7 @@ pub mod clusters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -437,7 +437,7 @@ pub mod clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -516,7 +516,7 @@ pub mod clusters { } } pub mod list_namespaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -540,7 +540,7 @@ pub mod clusters { } } pub mod namespaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list_ip_filter_rules( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -592,7 +592,7 @@ pub mod namespaces { } } pub mod list_ip_filter_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -667,7 +667,7 @@ pub mod namespaces { } } pub mod get_ip_filter_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -746,7 +746,7 @@ pub mod namespaces { } } pub mod create_or_update_ip_filter_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -819,7 +819,7 @@ pub mod namespaces { } } pub mod delete_ip_filter_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -890,7 +890,7 @@ pub mod namespaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -963,7 +963,7 @@ pub mod namespaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1039,7 +1039,7 @@ pub mod namespaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EhNamespace), @@ -1126,7 +1126,7 @@ pub mod namespaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EhNamespace), @@ -1211,7 +1211,7 @@ pub mod namespaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EhNamespace), @@ -1284,7 +1284,7 @@ pub mod namespaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1365,7 +1365,7 @@ pub mod namespaces { } } pub mod list_virtual_network_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1442,7 +1442,7 @@ pub mod namespaces { } } pub mod get_virtual_network_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1521,7 +1521,7 @@ pub mod namespaces { } } pub mod create_or_update_virtual_network_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1594,7 +1594,7 @@ pub mod namespaces { } } pub mod delete_virtual_network_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1672,7 +1672,7 @@ pub mod namespaces { } } pub mod get_network_rule_set { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1749,7 +1749,7 @@ pub mod namespaces { } } pub mod create_or_update_network_rule_set { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1824,7 +1824,7 @@ pub mod namespaces { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1901,7 +1901,7 @@ pub mod namespaces { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1980,7 +1980,7 @@ pub mod namespaces { } } pub mod create_or_update_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2053,7 +2053,7 @@ pub mod namespaces { } } pub mod delete_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2134,7 +2134,7 @@ pub mod namespaces { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2211,7 +2211,7 @@ pub mod namespaces { } } pub mod regenerate_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2284,7 +2284,7 @@ pub mod namespaces { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2308,7 +2308,7 @@ pub mod namespaces { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2357,7 +2357,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2429,7 +2429,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2512,7 +2512,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -2586,7 +2586,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2616,7 +2616,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2665,7 +2665,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2689,7 +2689,7 @@ pub mod private_link_resources { } } pub mod configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2738,7 +2738,7 @@ pub mod configuration { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2817,7 +2817,7 @@ pub mod configuration { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ClusterQuotaConfigurationProperties), @@ -2847,7 +2847,7 @@ pub mod configuration { } } pub mod disaster_recovery_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn list_authorization_rules( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2896,7 +2896,7 @@ pub mod disaster_recovery_configs { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2967,7 +2967,7 @@ pub mod disaster_recovery_configs { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3037,7 +3037,7 @@ pub mod disaster_recovery_configs { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3108,7 +3108,7 @@ pub mod disaster_recovery_configs { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3178,7 +3178,7 @@ pub mod disaster_recovery_configs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3250,7 +3250,7 @@ pub mod disaster_recovery_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3328,7 +3328,7 @@ pub mod disaster_recovery_configs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ArmDisasterRecovery), @@ -3400,7 +3400,7 @@ pub mod disaster_recovery_configs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3471,7 +3471,7 @@ pub mod disaster_recovery_configs { } } pub mod break_pairing { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3542,7 +3542,7 @@ pub mod disaster_recovery_configs { } } pub mod fail_over { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3566,7 +3566,7 @@ pub mod disaster_recovery_configs { } } pub mod event_hubs { - use crate::models::*; + use super::{models, models::*}; pub async fn list_authorization_rules( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3622,7 +3622,7 @@ pub mod event_hubs { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3701,7 +3701,7 @@ pub mod event_hubs { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3782,7 +3782,7 @@ pub mod event_hubs { } } pub mod create_or_update_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3857,7 +3857,7 @@ pub mod event_hubs { } } pub mod delete_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3940,7 +3940,7 @@ pub mod event_hubs { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4011,7 +4011,7 @@ pub mod event_hubs { } } pub mod regenerate_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4092,7 +4092,7 @@ pub mod event_hubs { } } pub mod list_by_namespace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4164,7 +4164,7 @@ pub mod event_hubs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4241,7 +4241,7 @@ pub mod event_hubs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4309,7 +4309,7 @@ pub mod event_hubs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4338,7 +4338,7 @@ pub mod event_hubs { } } pub mod consumer_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4391,7 +4391,7 @@ pub mod consumer_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4470,7 +4470,7 @@ pub mod consumer_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4540,7 +4540,7 @@ pub mod consumer_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4628,7 +4628,7 @@ pub mod consumer_groups { } } pub mod list_by_event_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4652,7 +4652,7 @@ pub mod consumer_groups { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.EventHub/operations", operation_config.base_path(),); @@ -4690,7 +4690,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4714,7 +4714,7 @@ pub mod operations { } } pub mod regions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_sku( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4764,7 +4764,7 @@ pub mod regions { } } pub mod list_by_sku { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/eventhub/src/package_2021_01_preview/operations.rs b/services/mgmt/eventhub/src/package_2021_01_preview/operations.rs index cef5706893..6b4420cd2f 100644 --- a/services/mgmt/eventhub/src/package_2021_01_preview/operations.rs +++ b/services/mgmt/eventhub/src/package_2021_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod namespaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -49,7 +49,7 @@ pub mod namespaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -122,7 +122,7 @@ pub mod namespaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -192,7 +192,7 @@ pub mod namespaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -274,7 +274,7 @@ pub mod namespaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EhNamespace), @@ -359,7 +359,7 @@ pub mod namespaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EhNamespace), @@ -432,7 +432,7 @@ pub mod namespaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -511,7 +511,7 @@ pub mod namespaces { } } pub mod get_network_rule_set { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -588,7 +588,7 @@ pub mod namespaces { } } pub mod create_or_update_network_rule_set { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -663,7 +663,7 @@ pub mod namespaces { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -740,7 +740,7 @@ pub mod namespaces { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -819,7 +819,7 @@ pub mod namespaces { } } pub mod create_or_update_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -892,7 +892,7 @@ pub mod namespaces { } } pub mod delete_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -973,7 +973,7 @@ pub mod namespaces { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1050,7 +1050,7 @@ pub mod namespaces { } } pub mod regenerate_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1123,7 +1123,7 @@ pub mod namespaces { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1147,7 +1147,7 @@ pub mod namespaces { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1196,7 +1196,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1268,7 +1268,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1351,7 +1351,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -1425,7 +1425,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1455,7 +1455,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1504,7 +1504,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1528,7 +1528,7 @@ pub mod private_link_resources { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.EventHub/operations", operation_config.base_path(),); @@ -1566,7 +1566,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1590,7 +1590,7 @@ pub mod operations { } } pub mod event_hubs { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_namespace( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1650,7 +1650,7 @@ pub mod event_hubs { } } pub mod list_by_namespace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1722,7 +1722,7 @@ pub mod event_hubs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1799,7 +1799,7 @@ pub mod event_hubs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1867,7 +1867,7 @@ pub mod event_hubs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1949,7 +1949,7 @@ pub mod event_hubs { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2028,7 +2028,7 @@ pub mod event_hubs { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2109,7 +2109,7 @@ pub mod event_hubs { } } pub mod create_or_update_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2184,7 +2184,7 @@ pub mod event_hubs { } } pub mod delete_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2267,7 +2267,7 @@ pub mod event_hubs { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2338,7 +2338,7 @@ pub mod event_hubs { } } pub mod regenerate_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2362,7 +2362,7 @@ pub mod event_hubs { } } pub mod disaster_recovery_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2412,7 +2412,7 @@ pub mod disaster_recovery_configs { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2482,7 +2482,7 @@ pub mod disaster_recovery_configs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2554,7 +2554,7 @@ pub mod disaster_recovery_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2632,7 +2632,7 @@ pub mod disaster_recovery_configs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ArmDisasterRecovery), @@ -2704,7 +2704,7 @@ pub mod disaster_recovery_configs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2775,7 +2775,7 @@ pub mod disaster_recovery_configs { } } pub mod break_pairing { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2846,7 +2846,7 @@ pub mod disaster_recovery_configs { } } pub mod fail_over { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2916,7 +2916,7 @@ pub mod disaster_recovery_configs { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2987,7 +2987,7 @@ pub mod disaster_recovery_configs { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3057,7 +3057,7 @@ pub mod disaster_recovery_configs { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3081,7 +3081,7 @@ pub mod disaster_recovery_configs { } } pub mod consumer_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3134,7 +3134,7 @@ pub mod consumer_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3213,7 +3213,7 @@ pub mod consumer_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3283,7 +3283,7 @@ pub mod consumer_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3371,7 +3371,7 @@ pub mod consumer_groups { } } pub mod list_by_event_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/eventhub/src/package_2021_06_preview/operations.rs b/services/mgmt/eventhub/src/package_2021_06_preview/operations.rs index a0aeaa8e45..3a4c7d8db4 100644 --- a/services/mgmt/eventhub/src/package_2021_06_preview/operations.rs +++ b/services/mgmt/eventhub/src/package_2021_06_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list_available_cluster_region( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -54,7 +54,7 @@ pub mod clusters { } } pub mod list_available_cluster_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -123,7 +123,7 @@ pub mod clusters { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -196,7 +196,7 @@ pub mod clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -266,7 +266,7 @@ pub mod clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -348,7 +348,7 @@ pub mod clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -433,7 +433,7 @@ pub mod clusters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -506,7 +506,7 @@ pub mod clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -585,7 +585,7 @@ pub mod clusters { } } pub mod list_namespaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -609,7 +609,7 @@ pub mod clusters { } } pub mod configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -658,7 +658,7 @@ pub mod configuration { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -737,7 +737,7 @@ pub mod configuration { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ClusterQuotaConfigurationProperties), @@ -767,7 +767,7 @@ pub mod configuration { } } pub mod namespaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -812,7 +812,7 @@ pub mod namespaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -885,7 +885,7 @@ pub mod namespaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -955,7 +955,7 @@ pub mod namespaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1037,7 +1037,7 @@ pub mod namespaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EhNamespace), @@ -1122,7 +1122,7 @@ pub mod namespaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EhNamespace), @@ -1195,7 +1195,7 @@ pub mod namespaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1274,7 +1274,7 @@ pub mod namespaces { } } pub mod get_network_rule_set { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1351,7 +1351,7 @@ pub mod namespaces { } } pub mod create_or_update_network_rule_set { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1426,7 +1426,7 @@ pub mod namespaces { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1503,7 +1503,7 @@ pub mod namespaces { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1582,7 +1582,7 @@ pub mod namespaces { } } pub mod create_or_update_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1655,7 +1655,7 @@ pub mod namespaces { } } pub mod delete_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1736,7 +1736,7 @@ pub mod namespaces { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1813,7 +1813,7 @@ pub mod namespaces { } } pub mod regenerate_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1886,7 +1886,7 @@ pub mod namespaces { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1910,7 +1910,7 @@ pub mod namespaces { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1959,7 +1959,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2031,7 +2031,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2114,7 +2114,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -2188,7 +2188,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2218,7 +2218,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2267,7 +2267,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2291,7 +2291,7 @@ pub mod private_link_resources { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.EventHub/operations", operation_config.base_path(),); @@ -2329,7 +2329,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2353,7 +2353,7 @@ pub mod operations { } } pub mod event_hubs { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_namespace( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2413,7 +2413,7 @@ pub mod event_hubs { } } pub mod list_by_namespace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2485,7 +2485,7 @@ pub mod event_hubs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2562,7 +2562,7 @@ pub mod event_hubs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2630,7 +2630,7 @@ pub mod event_hubs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2712,7 +2712,7 @@ pub mod event_hubs { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2791,7 +2791,7 @@ pub mod event_hubs { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2872,7 +2872,7 @@ pub mod event_hubs { } } pub mod create_or_update_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2947,7 +2947,7 @@ pub mod event_hubs { } } pub mod delete_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3030,7 +3030,7 @@ pub mod event_hubs { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3101,7 +3101,7 @@ pub mod event_hubs { } } pub mod regenerate_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3125,7 +3125,7 @@ pub mod event_hubs { } } pub mod disaster_recovery_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3175,7 +3175,7 @@ pub mod disaster_recovery_configs { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3245,7 +3245,7 @@ pub mod disaster_recovery_configs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3317,7 +3317,7 @@ pub mod disaster_recovery_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3395,7 +3395,7 @@ pub mod disaster_recovery_configs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ArmDisasterRecovery), @@ -3467,7 +3467,7 @@ pub mod disaster_recovery_configs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3538,7 +3538,7 @@ pub mod disaster_recovery_configs { } } pub mod break_pairing { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3609,7 +3609,7 @@ pub mod disaster_recovery_configs { } } pub mod fail_over { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3679,7 +3679,7 @@ pub mod disaster_recovery_configs { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3750,7 +3750,7 @@ pub mod disaster_recovery_configs { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3820,7 +3820,7 @@ pub mod disaster_recovery_configs { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3844,7 +3844,7 @@ pub mod disaster_recovery_configs { } } pub mod consumer_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3897,7 +3897,7 @@ pub mod consumer_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3976,7 +3976,7 @@ pub mod consumer_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4046,7 +4046,7 @@ pub mod consumer_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4134,7 +4134,7 @@ pub mod consumer_groups { } } pub mod list_by_event_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/eventhub/src/package_2021_11/operations.rs b/services/mgmt/eventhub/src/package_2021_11/operations.rs index ae74cda71b..643c156709 100644 --- a/services/mgmt/eventhub/src/package_2021_11/operations.rs +++ b/services/mgmt/eventhub/src/package_2021_11/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list_available_cluster_region( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -54,7 +54,7 @@ pub mod clusters { } } pub mod list_available_cluster_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -123,7 +123,7 @@ pub mod clusters { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -196,7 +196,7 @@ pub mod clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -266,7 +266,7 @@ pub mod clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -348,7 +348,7 @@ pub mod clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -433,7 +433,7 @@ pub mod clusters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -506,7 +506,7 @@ pub mod clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -585,7 +585,7 @@ pub mod clusters { } } pub mod list_namespaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -609,7 +609,7 @@ pub mod clusters { } } pub mod configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -658,7 +658,7 @@ pub mod configuration { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -737,7 +737,7 @@ pub mod configuration { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ClusterQuotaConfigurationProperties), @@ -767,7 +767,7 @@ pub mod configuration { } } pub mod namespaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -812,7 +812,7 @@ pub mod namespaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -885,7 +885,7 @@ pub mod namespaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -955,7 +955,7 @@ pub mod namespaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1037,7 +1037,7 @@ pub mod namespaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EhNamespace), @@ -1122,7 +1122,7 @@ pub mod namespaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EhNamespace), @@ -1195,7 +1195,7 @@ pub mod namespaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1274,7 +1274,7 @@ pub mod namespaces { } } pub mod get_network_rule_set { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1351,7 +1351,7 @@ pub mod namespaces { } } pub mod create_or_update_network_rule_set { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1426,7 +1426,7 @@ pub mod namespaces { } } pub mod list_network_rule_set { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1501,7 +1501,7 @@ pub mod namespaces { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1578,7 +1578,7 @@ pub mod namespaces { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1657,7 +1657,7 @@ pub mod namespaces { } } pub mod create_or_update_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1730,7 +1730,7 @@ pub mod namespaces { } } pub mod delete_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1811,7 +1811,7 @@ pub mod namespaces { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1888,7 +1888,7 @@ pub mod namespaces { } } pub mod regenerate_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1961,7 +1961,7 @@ pub mod namespaces { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1985,7 +1985,7 @@ pub mod namespaces { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2034,7 +2034,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2106,7 +2106,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2189,7 +2189,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -2263,7 +2263,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2293,7 +2293,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2342,7 +2342,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2366,7 +2366,7 @@ pub mod private_link_resources { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.EventHub/operations", operation_config.base_path(),); @@ -2404,7 +2404,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2428,7 +2428,7 @@ pub mod operations { } } pub mod event_hubs { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_namespace( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2488,7 +2488,7 @@ pub mod event_hubs { } } pub mod list_by_namespace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2560,7 +2560,7 @@ pub mod event_hubs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2637,7 +2637,7 @@ pub mod event_hubs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2705,7 +2705,7 @@ pub mod event_hubs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2787,7 +2787,7 @@ pub mod event_hubs { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2866,7 +2866,7 @@ pub mod event_hubs { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2947,7 +2947,7 @@ pub mod event_hubs { } } pub mod create_or_update_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3022,7 +3022,7 @@ pub mod event_hubs { } } pub mod delete_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3105,7 +3105,7 @@ pub mod event_hubs { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3176,7 +3176,7 @@ pub mod event_hubs { } } pub mod regenerate_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3200,7 +3200,7 @@ pub mod event_hubs { } } pub mod disaster_recovery_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3250,7 +3250,7 @@ pub mod disaster_recovery_configs { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3320,7 +3320,7 @@ pub mod disaster_recovery_configs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3392,7 +3392,7 @@ pub mod disaster_recovery_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3470,7 +3470,7 @@ pub mod disaster_recovery_configs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ArmDisasterRecovery), @@ -3543,7 +3543,7 @@ pub mod disaster_recovery_configs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3619,7 +3619,7 @@ pub mod disaster_recovery_configs { } } pub mod break_pairing { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3690,7 +3690,7 @@ pub mod disaster_recovery_configs { } } pub mod fail_over { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3760,7 +3760,7 @@ pub mod disaster_recovery_configs { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3831,7 +3831,7 @@ pub mod disaster_recovery_configs { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3901,7 +3901,7 @@ pub mod disaster_recovery_configs { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3925,7 +3925,7 @@ pub mod disaster_recovery_configs { } } pub mod consumer_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3978,7 +3978,7 @@ pub mod consumer_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4057,7 +4057,7 @@ pub mod consumer_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4127,7 +4127,7 @@ pub mod consumer_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4215,7 +4215,7 @@ pub mod consumer_groups { } } pub mod list_by_event_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4239,7 +4239,7 @@ pub mod consumer_groups { } } pub mod schema_registry { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_namespace( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4299,7 +4299,7 @@ pub mod schema_registry { } } pub mod list_by_namespace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4371,7 +4371,7 @@ pub mod schema_registry { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4448,7 +4448,7 @@ pub mod schema_registry { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4516,7 +4516,7 @@ pub mod schema_registry { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/eventhub/src/profile_hybrid_2020_09_01/operations.rs b/services/mgmt/eventhub/src/profile_hybrid_2020_09_01/operations.rs index 835f66817a..43c17aca06 100644 --- a/services/mgmt/eventhub/src/profile_hybrid_2020_09_01/operations.rs +++ b/services/mgmt/eventhub/src/profile_hybrid_2020_09_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list_available_cluster_region( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -54,7 +54,7 @@ pub mod clusters { } } pub mod list_available_cluster_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -197,7 +197,7 @@ pub mod clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -279,7 +279,7 @@ pub mod clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -364,7 +364,7 @@ pub mod clusters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -437,7 +437,7 @@ pub mod clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -516,7 +516,7 @@ pub mod clusters { } } pub mod list_namespaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -540,7 +540,7 @@ pub mod clusters { } } pub mod namespaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -585,7 +585,7 @@ pub mod namespaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -658,7 +658,7 @@ pub mod namespaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -734,7 +734,7 @@ pub mod namespaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EhNamespace), @@ -821,7 +821,7 @@ pub mod namespaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EhNamespace), @@ -906,7 +906,7 @@ pub mod namespaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EhNamespace), @@ -979,7 +979,7 @@ pub mod namespaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1060,7 +1060,7 @@ pub mod namespaces { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1137,7 +1137,7 @@ pub mod namespaces { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1216,7 +1216,7 @@ pub mod namespaces { } } pub mod create_or_update_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1289,7 +1289,7 @@ pub mod namespaces { } } pub mod delete_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1370,7 +1370,7 @@ pub mod namespaces { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1447,7 +1447,7 @@ pub mod namespaces { } } pub mod regenerate_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1520,7 +1520,7 @@ pub mod namespaces { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1544,7 +1544,7 @@ pub mod namespaces { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1593,7 +1593,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1665,7 +1665,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1748,7 +1748,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -1822,7 +1822,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1852,7 +1852,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1901,7 +1901,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1925,7 +1925,7 @@ pub mod private_link_resources { } } pub mod disaster_recovery_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn list_authorization_rules( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1974,7 +1974,7 @@ pub mod disaster_recovery_configs { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2045,7 +2045,7 @@ pub mod disaster_recovery_configs { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2115,7 +2115,7 @@ pub mod disaster_recovery_configs { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2139,7 +2139,7 @@ pub mod disaster_recovery_configs { } } pub mod event_hubs { - use crate::models::*; + use super::{models, models::*}; pub async fn list_authorization_rules( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2195,7 +2195,7 @@ pub mod event_hubs { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2274,7 +2274,7 @@ pub mod event_hubs { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2355,7 +2355,7 @@ pub mod event_hubs { } } pub mod create_or_update_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2430,7 +2430,7 @@ pub mod event_hubs { } } pub mod delete_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2513,7 +2513,7 @@ pub mod event_hubs { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2584,7 +2584,7 @@ pub mod event_hubs { } } pub mod regenerate_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2665,7 +2665,7 @@ pub mod event_hubs { } } pub mod list_by_namespace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2737,7 +2737,7 @@ pub mod event_hubs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2814,7 +2814,7 @@ pub mod event_hubs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2882,7 +2882,7 @@ pub mod event_hubs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2911,7 +2911,7 @@ pub mod event_hubs { } } pub mod consumer_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2964,7 +2964,7 @@ pub mod consumer_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3043,7 +3043,7 @@ pub mod consumer_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3113,7 +3113,7 @@ pub mod consumer_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3201,7 +3201,7 @@ pub mod consumer_groups { } } pub mod list_by_event_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3225,7 +3225,7 @@ pub mod consumer_groups { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.EventHub/operations", operation_config.base_path(),); @@ -3263,7 +3263,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3287,7 +3287,7 @@ pub mod operations { } } pub mod regions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_sku( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3337,7 +3337,7 @@ pub mod regions { } } pub mod list_by_sku { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/extendedlocation/Cargo.toml b/services/mgmt/extendedlocation/Cargo.toml index d7ed8959bc..7b0be42dca 100644 --- a/services/mgmt/extendedlocation/Cargo.toml +++ b/services/mgmt/extendedlocation/Cargo.toml @@ -20,5 +20,6 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-08-15"] +no-default-version = [] "package-2021-03-15-preview" = [] "package-2021-08-15" = [] diff --git a/services/mgmt/extendedlocation/src/lib.rs b/services/mgmt/extendedlocation/src/lib.rs index 44cc72d2b9..449a0ba06d 100644 --- a/services/mgmt/extendedlocation/src/lib.rs +++ b/services/mgmt/extendedlocation/src/lib.rs @@ -1,13 +1,21 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-03-15-preview")] -mod package_2021_03_15_preview; -#[cfg(feature = "package-2021-03-15-preview")] +pub mod package_2021_03_15_preview; +#[cfg(all(feature = "package-2021-03-15-preview", not(feature = "no-default-version")))] pub use package_2021_03_15_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-08-15")] -mod package_2021_08_15; +pub mod package_2021_08_15; use azure_core::setters; -#[cfg(feature = "package-2021-08-15")] +#[cfg(all(feature = "package-2021-08-15", not(feature = "no-default-version")))] pub use package_2021_08_15::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -31,7 +39,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/extendedlocation/src/package_2021_03_15_preview/operations.rs b/services/mgmt/extendedlocation/src/package_2021_03_15_preview/operations.rs index 08d5ef38c4..48179c7bb7 100644 --- a/services/mgmt/extendedlocation/src/package_2021_03_15_preview/operations.rs +++ b/services/mgmt/extendedlocation/src/package_2021_03_15_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod custom_locations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_operations( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -47,7 +47,7 @@ pub mod custom_locations { } } pub mod list_operations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -116,7 +116,7 @@ pub mod custom_locations { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -189,7 +189,7 @@ pub mod custom_locations { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -259,7 +259,7 @@ pub mod custom_locations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -340,7 +340,7 @@ pub mod custom_locations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CustomLocation), @@ -417,7 +417,7 @@ pub mod custom_locations { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -483,7 +483,7 @@ pub mod custom_locations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -563,7 +563,7 @@ pub mod custom_locations { } } pub mod list_enabled_resource_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/extendedlocation/src/package_2021_08_15/operations.rs b/services/mgmt/extendedlocation/src/package_2021_08_15/operations.rs index 08d5ef38c4..48179c7bb7 100644 --- a/services/mgmt/extendedlocation/src/package_2021_08_15/operations.rs +++ b/services/mgmt/extendedlocation/src/package_2021_08_15/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod custom_locations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_operations( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -47,7 +47,7 @@ pub mod custom_locations { } } pub mod list_operations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -116,7 +116,7 @@ pub mod custom_locations { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -189,7 +189,7 @@ pub mod custom_locations { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -259,7 +259,7 @@ pub mod custom_locations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -340,7 +340,7 @@ pub mod custom_locations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CustomLocation), @@ -417,7 +417,7 @@ pub mod custom_locations { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -483,7 +483,7 @@ pub mod custom_locations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -563,7 +563,7 @@ pub mod custom_locations { } } pub mod list_enabled_resource_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/fluidrelay/Cargo.toml b/services/mgmt/fluidrelay/Cargo.toml index 71b666eeb6..ab0b5cb2cf 100644 --- a/services/mgmt/fluidrelay/Cargo.toml +++ b/services/mgmt/fluidrelay/Cargo.toml @@ -20,5 +20,6 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-03-12-preview"] +no-default-version = [] "package-2021-03-12-preview" = [] "package-2021-06-15-preview" = [] diff --git a/services/mgmt/fluidrelay/src/lib.rs b/services/mgmt/fluidrelay/src/lib.rs index 963fe45f12..c98e70500f 100644 --- a/services/mgmt/fluidrelay/src/lib.rs +++ b/services/mgmt/fluidrelay/src/lib.rs @@ -1,13 +1,21 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-03-12-preview")] -mod package_2021_03_12_preview; -#[cfg(feature = "package-2021-03-12-preview")] +pub mod package_2021_03_12_preview; +#[cfg(all(feature = "package-2021-03-12-preview", not(feature = "no-default-version")))] pub use package_2021_03_12_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-06-15-preview")] -mod package_2021_06_15_preview; +pub mod package_2021_06_15_preview; use azure_core::setters; -#[cfg(feature = "package-2021-06-15-preview")] +#[cfg(all(feature = "package-2021-06-15-preview", not(feature = "no-default-version")))] pub use package_2021_06_15_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -31,7 +39,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/fluidrelay/src/package_2021_03_12_preview/operations.rs b/services/mgmt/fluidrelay/src/package_2021_03_12_preview/operations.rs index baf1f7e436..fbd7c06ecd 100644 --- a/services/mgmt/fluidrelay/src/package_2021_03_12_preview/operations.rs +++ b/services/mgmt/fluidrelay/src/package_2021_03_12_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod fluid_relay_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.FluidRelay/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod fluid_relay_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod fluid_relay_operations { } } pub mod fluid_relay_servers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -115,7 +115,7 @@ pub mod fluid_relay_servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -190,7 +190,7 @@ pub mod fluid_relay_servers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -262,7 +262,7 @@ pub mod fluid_relay_servers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -328,7 +328,7 @@ pub mod fluid_relay_servers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -408,7 +408,7 @@ pub mod fluid_relay_servers { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -482,7 +482,7 @@ pub mod fluid_relay_servers { } } pub mod get_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -551,7 +551,7 @@ pub mod fluid_relay_servers { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -624,7 +624,7 @@ pub mod fluid_relay_servers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/fluidrelay/src/package_2021_06_15_preview/operations.rs b/services/mgmt/fluidrelay/src/package_2021_06_15_preview/operations.rs index baf1f7e436..fbd7c06ecd 100644 --- a/services/mgmt/fluidrelay/src/package_2021_06_15_preview/operations.rs +++ b/services/mgmt/fluidrelay/src/package_2021_06_15_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod fluid_relay_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.FluidRelay/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod fluid_relay_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod fluid_relay_operations { } } pub mod fluid_relay_servers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -115,7 +115,7 @@ pub mod fluid_relay_servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -190,7 +190,7 @@ pub mod fluid_relay_servers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -262,7 +262,7 @@ pub mod fluid_relay_servers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -328,7 +328,7 @@ pub mod fluid_relay_servers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -408,7 +408,7 @@ pub mod fluid_relay_servers { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -482,7 +482,7 @@ pub mod fluid_relay_servers { } } pub mod get_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -551,7 +551,7 @@ pub mod fluid_relay_servers { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -624,7 +624,7 @@ pub mod fluid_relay_servers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/frontdoor/Cargo.toml b/services/mgmt/frontdoor/Cargo.toml index c0847eed89..aa530c76e4 100644 --- a/services/mgmt/frontdoor/Cargo.toml +++ b/services/mgmt/frontdoor/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2020-11"] +no-default-version = [] "package-2020-11" = [] "package-2020-05" = [] "package-2020-04" = [] diff --git a/services/mgmt/frontdoor/src/lib.rs b/services/mgmt/frontdoor/src/lib.rs index 3232d1cfff..0330cc6925 100644 --- a/services/mgmt/frontdoor/src/lib.rs +++ b/services/mgmt/frontdoor/src/lib.rs @@ -1,45 +1,53 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2020-11")] -mod package_2020_11; -#[cfg(feature = "package-2020-11")] +pub mod package_2020_11; +#[cfg(all(feature = "package-2020-11", not(feature = "no-default-version")))] pub use package_2020_11::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-05")] -mod package_2020_05; -#[cfg(feature = "package-2020-05")] +pub mod package_2020_05; +#[cfg(all(feature = "package-2020-05", not(feature = "no-default-version")))] pub use package_2020_05::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-04")] -mod package_2020_04; -#[cfg(feature = "package-2020-04")] +pub mod package_2020_04; +#[cfg(all(feature = "package-2020-04", not(feature = "no-default-version")))] pub use package_2020_04::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-01")] -mod package_2020_01; -#[cfg(feature = "package-2020-01")] +pub mod package_2020_01; +#[cfg(all(feature = "package-2020-01", not(feature = "no-default-version")))] pub use package_2020_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-11")] -mod package_2019_11; -#[cfg(feature = "package-2019-11")] +pub mod package_2019_11; +#[cfg(all(feature = "package-2019-11", not(feature = "no-default-version")))] pub use package_2019_11::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-10")] -mod package_2019_10; -#[cfg(feature = "package-2019-10")] +pub mod package_2019_10; +#[cfg(all(feature = "package-2019-10", not(feature = "no-default-version")))] pub use package_2019_10::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-05")] -mod package_2019_05; -#[cfg(feature = "package-2019-05")] +pub mod package_2019_05; +#[cfg(all(feature = "package-2019-05", not(feature = "no-default-version")))] pub use package_2019_05::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-04")] -mod package_2019_04; -#[cfg(feature = "package-2019-04")] +pub mod package_2019_04; +#[cfg(all(feature = "package-2019-04", not(feature = "no-default-version")))] pub use package_2019_04::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-03-preview")] -mod package_2019_03_preview; -#[cfg(feature = "package-2019-03-preview")] +pub mod package_2019_03_preview; +#[cfg(all(feature = "package-2019-03-preview", not(feature = "no-default-version")))] pub use package_2019_03_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-08-preview")] -mod package_2018_08_preview; +pub mod package_2018_08_preview; use azure_core::setters; -#[cfg(feature = "package-2018-08-preview")] +#[cfg(all(feature = "package-2018-08-preview", not(feature = "no-default-version")))] pub use package_2018_08_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -63,7 +71,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/frontdoor/src/package_2018_08_preview/operations.rs b/services/mgmt/frontdoor/src/package_2018_08_preview/operations.rs index b5b11e64db..9abc72fbce 100644 --- a/services/mgmt/frontdoor/src/package_2018_08_preview/operations.rs +++ b/services/mgmt/frontdoor/src/package_2018_08_preview/operations.rs @@ -2,7 +2,7 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub async fn check_front_door_name_availability( operation_config: &crate::OperationConfig, check_front_door_name_availability_input: &CheckNameAvailabilityInput, @@ -53,7 +53,7 @@ pub async fn check_front_door_name_availability( } } pub mod check_front_door_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -129,7 +129,7 @@ pub async fn check_front_door_name_availability_with_subscription( } } pub mod check_front_door_name_availability_with_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -152,7 +152,7 @@ pub mod check_front_door_name_availability_with_subscription { } } pub mod front_doors { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -197,7 +197,7 @@ pub mod front_doors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -270,7 +270,7 @@ pub mod front_doors { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -340,7 +340,7 @@ pub mod front_doors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -427,7 +427,7 @@ pub mod front_doors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FrontDoor), @@ -499,7 +499,7 @@ pub mod front_doors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -581,7 +581,7 @@ pub mod front_doors { } } pub mod validate_custom_domain { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -605,7 +605,7 @@ pub mod front_doors { } } pub mod frontend_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_front_door( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -657,7 +657,7 @@ pub mod frontend_endpoints { } } pub mod list_by_front_door { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -729,7 +729,7 @@ pub mod frontend_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -802,7 +802,7 @@ pub mod frontend_endpoints { } } pub mod enable_https { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -879,7 +879,7 @@ pub mod frontend_endpoints { } } pub mod disable_https { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -908,7 +908,7 @@ pub mod frontend_endpoints { } } pub mod endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn purge_content( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -958,7 +958,7 @@ pub mod endpoints { } } pub mod purge_content { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -987,7 +987,7 @@ pub mod endpoints { } } pub mod policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1034,7 +1034,7 @@ pub mod policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1104,7 +1104,7 @@ pub mod policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1185,7 +1185,7 @@ pub mod policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WebApplicationFirewallPolicy), @@ -1255,7 +1255,7 @@ pub mod policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, diff --git a/services/mgmt/frontdoor/src/package_2019_03_preview/operations.rs b/services/mgmt/frontdoor/src/package_2019_03_preview/operations.rs index 1c64223b5d..d188c1c78d 100644 --- a/services/mgmt/frontdoor/src/package_2019_03_preview/operations.rs +++ b/services/mgmt/frontdoor/src/package_2019_03_preview/operations.rs @@ -2,7 +2,7 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub async fn check_front_door_name_availability( operation_config: &crate::OperationConfig, check_front_door_name_availability_input: &CheckNameAvailabilityInput, @@ -53,7 +53,7 @@ pub async fn check_front_door_name_availability( } } pub mod check_front_door_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -129,7 +129,7 @@ pub async fn check_front_door_name_availability_with_subscription( } } pub mod check_front_door_name_availability_with_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -152,7 +152,7 @@ pub mod check_front_door_name_availability_with_subscription { } } pub mod front_doors { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -197,7 +197,7 @@ pub mod front_doors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -270,7 +270,7 @@ pub mod front_doors { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -340,7 +340,7 @@ pub mod front_doors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -427,7 +427,7 @@ pub mod front_doors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FrontDoor), @@ -499,7 +499,7 @@ pub mod front_doors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -581,7 +581,7 @@ pub mod front_doors { } } pub mod validate_custom_domain { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -605,7 +605,7 @@ pub mod front_doors { } } pub mod frontend_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_front_door( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -657,7 +657,7 @@ pub mod frontend_endpoints { } } pub mod list_by_front_door { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -729,7 +729,7 @@ pub mod frontend_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -802,7 +802,7 @@ pub mod frontend_endpoints { } } pub mod enable_https { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -879,7 +879,7 @@ pub mod frontend_endpoints { } } pub mod disable_https { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -908,7 +908,7 @@ pub mod frontend_endpoints { } } pub mod endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn purge_content( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -958,7 +958,7 @@ pub mod endpoints { } } pub mod purge_content { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -987,7 +987,7 @@ pub mod endpoints { } } pub mod policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1034,7 +1034,7 @@ pub mod policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1104,7 +1104,7 @@ pub mod policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1191,7 +1191,7 @@ pub mod policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WebApplicationFirewallPolicy), @@ -1262,7 +1262,7 @@ pub mod policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1289,7 +1289,7 @@ pub mod policies { } } pub mod managed_rule_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1334,7 +1334,7 @@ pub mod managed_rule_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/frontdoor/src/package_2019_04/operations.rs b/services/mgmt/frontdoor/src/package_2019_04/operations.rs index 1c64223b5d..d188c1c78d 100644 --- a/services/mgmt/frontdoor/src/package_2019_04/operations.rs +++ b/services/mgmt/frontdoor/src/package_2019_04/operations.rs @@ -2,7 +2,7 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub async fn check_front_door_name_availability( operation_config: &crate::OperationConfig, check_front_door_name_availability_input: &CheckNameAvailabilityInput, @@ -53,7 +53,7 @@ pub async fn check_front_door_name_availability( } } pub mod check_front_door_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -129,7 +129,7 @@ pub async fn check_front_door_name_availability_with_subscription( } } pub mod check_front_door_name_availability_with_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -152,7 +152,7 @@ pub mod check_front_door_name_availability_with_subscription { } } pub mod front_doors { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -197,7 +197,7 @@ pub mod front_doors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -270,7 +270,7 @@ pub mod front_doors { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -340,7 +340,7 @@ pub mod front_doors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -427,7 +427,7 @@ pub mod front_doors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FrontDoor), @@ -499,7 +499,7 @@ pub mod front_doors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -581,7 +581,7 @@ pub mod front_doors { } } pub mod validate_custom_domain { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -605,7 +605,7 @@ pub mod front_doors { } } pub mod frontend_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_front_door( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -657,7 +657,7 @@ pub mod frontend_endpoints { } } pub mod list_by_front_door { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -729,7 +729,7 @@ pub mod frontend_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -802,7 +802,7 @@ pub mod frontend_endpoints { } } pub mod enable_https { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -879,7 +879,7 @@ pub mod frontend_endpoints { } } pub mod disable_https { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -908,7 +908,7 @@ pub mod frontend_endpoints { } } pub mod endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn purge_content( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -958,7 +958,7 @@ pub mod endpoints { } } pub mod purge_content { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -987,7 +987,7 @@ pub mod endpoints { } } pub mod policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1034,7 +1034,7 @@ pub mod policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1104,7 +1104,7 @@ pub mod policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1191,7 +1191,7 @@ pub mod policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WebApplicationFirewallPolicy), @@ -1262,7 +1262,7 @@ pub mod policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1289,7 +1289,7 @@ pub mod policies { } } pub mod managed_rule_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1334,7 +1334,7 @@ pub mod managed_rule_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/frontdoor/src/package_2019_05/operations.rs b/services/mgmt/frontdoor/src/package_2019_05/operations.rs index 1c64223b5d..d188c1c78d 100644 --- a/services/mgmt/frontdoor/src/package_2019_05/operations.rs +++ b/services/mgmt/frontdoor/src/package_2019_05/operations.rs @@ -2,7 +2,7 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub async fn check_front_door_name_availability( operation_config: &crate::OperationConfig, check_front_door_name_availability_input: &CheckNameAvailabilityInput, @@ -53,7 +53,7 @@ pub async fn check_front_door_name_availability( } } pub mod check_front_door_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -129,7 +129,7 @@ pub async fn check_front_door_name_availability_with_subscription( } } pub mod check_front_door_name_availability_with_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -152,7 +152,7 @@ pub mod check_front_door_name_availability_with_subscription { } } pub mod front_doors { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -197,7 +197,7 @@ pub mod front_doors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -270,7 +270,7 @@ pub mod front_doors { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -340,7 +340,7 @@ pub mod front_doors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -427,7 +427,7 @@ pub mod front_doors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FrontDoor), @@ -499,7 +499,7 @@ pub mod front_doors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -581,7 +581,7 @@ pub mod front_doors { } } pub mod validate_custom_domain { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -605,7 +605,7 @@ pub mod front_doors { } } pub mod frontend_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_front_door( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -657,7 +657,7 @@ pub mod frontend_endpoints { } } pub mod list_by_front_door { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -729,7 +729,7 @@ pub mod frontend_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -802,7 +802,7 @@ pub mod frontend_endpoints { } } pub mod enable_https { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -879,7 +879,7 @@ pub mod frontend_endpoints { } } pub mod disable_https { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -908,7 +908,7 @@ pub mod frontend_endpoints { } } pub mod endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn purge_content( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -958,7 +958,7 @@ pub mod endpoints { } } pub mod purge_content { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -987,7 +987,7 @@ pub mod endpoints { } } pub mod policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1034,7 +1034,7 @@ pub mod policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1104,7 +1104,7 @@ pub mod policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1191,7 +1191,7 @@ pub mod policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WebApplicationFirewallPolicy), @@ -1262,7 +1262,7 @@ pub mod policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1289,7 +1289,7 @@ pub mod policies { } } pub mod managed_rule_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1334,7 +1334,7 @@ pub mod managed_rule_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/frontdoor/src/package_2019_10/operations.rs b/services/mgmt/frontdoor/src/package_2019_10/operations.rs index 1c64223b5d..d188c1c78d 100644 --- a/services/mgmt/frontdoor/src/package_2019_10/operations.rs +++ b/services/mgmt/frontdoor/src/package_2019_10/operations.rs @@ -2,7 +2,7 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub async fn check_front_door_name_availability( operation_config: &crate::OperationConfig, check_front_door_name_availability_input: &CheckNameAvailabilityInput, @@ -53,7 +53,7 @@ pub async fn check_front_door_name_availability( } } pub mod check_front_door_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -129,7 +129,7 @@ pub async fn check_front_door_name_availability_with_subscription( } } pub mod check_front_door_name_availability_with_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -152,7 +152,7 @@ pub mod check_front_door_name_availability_with_subscription { } } pub mod front_doors { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -197,7 +197,7 @@ pub mod front_doors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -270,7 +270,7 @@ pub mod front_doors { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -340,7 +340,7 @@ pub mod front_doors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -427,7 +427,7 @@ pub mod front_doors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FrontDoor), @@ -499,7 +499,7 @@ pub mod front_doors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -581,7 +581,7 @@ pub mod front_doors { } } pub mod validate_custom_domain { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -605,7 +605,7 @@ pub mod front_doors { } } pub mod frontend_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_front_door( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -657,7 +657,7 @@ pub mod frontend_endpoints { } } pub mod list_by_front_door { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -729,7 +729,7 @@ pub mod frontend_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -802,7 +802,7 @@ pub mod frontend_endpoints { } } pub mod enable_https { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -879,7 +879,7 @@ pub mod frontend_endpoints { } } pub mod disable_https { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -908,7 +908,7 @@ pub mod frontend_endpoints { } } pub mod endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn purge_content( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -958,7 +958,7 @@ pub mod endpoints { } } pub mod purge_content { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -987,7 +987,7 @@ pub mod endpoints { } } pub mod policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1034,7 +1034,7 @@ pub mod policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1104,7 +1104,7 @@ pub mod policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1191,7 +1191,7 @@ pub mod policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WebApplicationFirewallPolicy), @@ -1262,7 +1262,7 @@ pub mod policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1289,7 +1289,7 @@ pub mod policies { } } pub mod managed_rule_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1334,7 +1334,7 @@ pub mod managed_rule_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/frontdoor/src/package_2019_11/operations.rs b/services/mgmt/frontdoor/src/package_2019_11/operations.rs index 4c0bab400c..30b567db55 100644 --- a/services/mgmt/frontdoor/src/package_2019_11/operations.rs +++ b/services/mgmt/frontdoor/src/package_2019_11/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod network_experiment_profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, subscription_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -46,7 +46,7 @@ pub mod network_experiment_profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -119,7 +119,7 @@ pub mod network_experiment_profiles { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -189,7 +189,7 @@ pub mod network_experiment_profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -276,7 +276,7 @@ pub mod network_experiment_profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Profile), @@ -360,7 +360,7 @@ pub mod network_experiment_profiles { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Profile), @@ -432,7 +432,7 @@ pub mod network_experiment_profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -462,7 +462,7 @@ pub mod network_experiment_profiles { } } pub mod preconfigured_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -511,7 +511,7 @@ pub mod preconfigured_endpoints { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -535,7 +535,7 @@ pub mod preconfigured_endpoints { } } pub mod experiments { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_profile( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -587,7 +587,7 @@ pub mod experiments { } } pub mod list_by_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -659,7 +659,7 @@ pub mod experiments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -748,7 +748,7 @@ pub mod experiments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Experiment), @@ -834,7 +834,7 @@ pub mod experiments { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Experiment), @@ -908,7 +908,7 @@ pub mod experiments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -938,7 +938,7 @@ pub mod experiments { } } pub mod reports { - use crate::models::*; + use super::{models, models::*}; pub async fn get_latency_scorecards( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -997,7 +997,7 @@ pub mod reports { } } pub mod get_latency_scorecards { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1088,7 +1088,7 @@ pub mod reports { } } pub mod get_timeseries { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1161,7 +1161,7 @@ pub async fn check_front_door_name_availability( } } pub mod check_front_door_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1237,7 +1237,7 @@ pub async fn check_front_door_name_availability_with_subscription( } } pub mod check_front_door_name_availability_with_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1260,7 +1260,7 @@ pub mod check_front_door_name_availability_with_subscription { } } pub mod front_doors { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1305,7 +1305,7 @@ pub mod front_doors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1378,7 +1378,7 @@ pub mod front_doors { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1448,7 +1448,7 @@ pub mod front_doors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1535,7 +1535,7 @@ pub mod front_doors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FrontDoor), @@ -1607,7 +1607,7 @@ pub mod front_doors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1689,7 +1689,7 @@ pub mod front_doors { } } pub mod validate_custom_domain { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1713,7 +1713,7 @@ pub mod front_doors { } } pub mod frontend_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_front_door( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1765,7 +1765,7 @@ pub mod frontend_endpoints { } } pub mod list_by_front_door { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1837,7 +1837,7 @@ pub mod frontend_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1910,7 +1910,7 @@ pub mod frontend_endpoints { } } pub mod enable_https { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1987,7 +1987,7 @@ pub mod frontend_endpoints { } } pub mod disable_https { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2016,7 +2016,7 @@ pub mod frontend_endpoints { } } pub mod endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn purge_content( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2066,7 +2066,7 @@ pub mod endpoints { } } pub mod purge_content { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2095,7 +2095,7 @@ pub mod endpoints { } } pub mod policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2142,7 +2142,7 @@ pub mod policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2212,7 +2212,7 @@ pub mod policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2299,7 +2299,7 @@ pub mod policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WebApplicationFirewallPolicy), @@ -2370,7 +2370,7 @@ pub mod policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2397,7 +2397,7 @@ pub mod policies { } } pub mod managed_rule_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2442,7 +2442,7 @@ pub mod managed_rule_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/frontdoor/src/package_2020_01/operations.rs b/services/mgmt/frontdoor/src/package_2020_01/operations.rs index 3401c30c7e..4ebf8a40ca 100644 --- a/services/mgmt/frontdoor/src/package_2020_01/operations.rs +++ b/services/mgmt/frontdoor/src/package_2020_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod network_experiment_profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, subscription_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -46,7 +46,7 @@ pub mod network_experiment_profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -119,7 +119,7 @@ pub mod network_experiment_profiles { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -189,7 +189,7 @@ pub mod network_experiment_profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -276,7 +276,7 @@ pub mod network_experiment_profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Profile), @@ -360,7 +360,7 @@ pub mod network_experiment_profiles { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Profile), @@ -432,7 +432,7 @@ pub mod network_experiment_profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -462,7 +462,7 @@ pub mod network_experiment_profiles { } } pub mod preconfigured_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -511,7 +511,7 @@ pub mod preconfigured_endpoints { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -535,7 +535,7 @@ pub mod preconfigured_endpoints { } } pub mod experiments { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_profile( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -587,7 +587,7 @@ pub mod experiments { } } pub mod list_by_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -659,7 +659,7 @@ pub mod experiments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -748,7 +748,7 @@ pub mod experiments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Experiment), @@ -834,7 +834,7 @@ pub mod experiments { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Experiment), @@ -908,7 +908,7 @@ pub mod experiments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -938,7 +938,7 @@ pub mod experiments { } } pub mod reports { - use crate::models::*; + use super::{models, models::*}; pub async fn get_latency_scorecards( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -997,7 +997,7 @@ pub mod reports { } } pub mod get_latency_scorecards { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1088,7 +1088,7 @@ pub mod reports { } } pub mod get_timeseries { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1161,7 +1161,7 @@ pub async fn check_front_door_name_availability( } } pub mod check_front_door_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1237,7 +1237,7 @@ pub async fn check_front_door_name_availability_with_subscription( } } pub mod check_front_door_name_availability_with_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1260,7 +1260,7 @@ pub mod check_front_door_name_availability_with_subscription { } } pub mod front_doors { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1305,7 +1305,7 @@ pub mod front_doors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1378,7 +1378,7 @@ pub mod front_doors { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1448,7 +1448,7 @@ pub mod front_doors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1535,7 +1535,7 @@ pub mod front_doors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FrontDoor), @@ -1607,7 +1607,7 @@ pub mod front_doors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1689,7 +1689,7 @@ pub mod front_doors { } } pub mod validate_custom_domain { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1713,7 +1713,7 @@ pub mod front_doors { } } pub mod frontend_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_front_door( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1765,7 +1765,7 @@ pub mod frontend_endpoints { } } pub mod list_by_front_door { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1837,7 +1837,7 @@ pub mod frontend_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1910,7 +1910,7 @@ pub mod frontend_endpoints { } } pub mod enable_https { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1987,7 +1987,7 @@ pub mod frontend_endpoints { } } pub mod disable_https { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2016,7 +2016,7 @@ pub mod frontend_endpoints { } } pub mod endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn purge_content( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2066,7 +2066,7 @@ pub mod endpoints { } } pub mod purge_content { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2095,7 +2095,7 @@ pub mod endpoints { } } pub mod rules_engines { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_front_door( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2147,7 +2147,7 @@ pub mod rules_engines { } } pub mod list_by_front_door { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2219,7 +2219,7 @@ pub mod rules_engines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2308,7 +2308,7 @@ pub mod rules_engines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RulesEngine), @@ -2382,7 +2382,7 @@ pub mod rules_engines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2411,7 +2411,7 @@ pub mod rules_engines { } } pub mod policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2458,7 +2458,7 @@ pub mod policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2528,7 +2528,7 @@ pub mod policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2615,7 +2615,7 @@ pub mod policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WebApplicationFirewallPolicy), @@ -2686,7 +2686,7 @@ pub mod policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2713,7 +2713,7 @@ pub mod policies { } } pub mod managed_rule_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2758,7 +2758,7 @@ pub mod managed_rule_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/frontdoor/src/package_2020_04/operations.rs b/services/mgmt/frontdoor/src/package_2020_04/operations.rs index d90025d62a..8a93148537 100644 --- a/services/mgmt/frontdoor/src/package_2020_04/operations.rs +++ b/services/mgmt/frontdoor/src/package_2020_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod network_experiment_profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, subscription_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -46,7 +46,7 @@ pub mod network_experiment_profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -119,7 +119,7 @@ pub mod network_experiment_profiles { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -189,7 +189,7 @@ pub mod network_experiment_profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -276,7 +276,7 @@ pub mod network_experiment_profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Profile), @@ -360,7 +360,7 @@ pub mod network_experiment_profiles { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Profile), @@ -432,7 +432,7 @@ pub mod network_experiment_profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -462,7 +462,7 @@ pub mod network_experiment_profiles { } } pub mod preconfigured_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -511,7 +511,7 @@ pub mod preconfigured_endpoints { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -535,7 +535,7 @@ pub mod preconfigured_endpoints { } } pub mod experiments { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_profile( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -587,7 +587,7 @@ pub mod experiments { } } pub mod list_by_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -659,7 +659,7 @@ pub mod experiments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -748,7 +748,7 @@ pub mod experiments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Experiment), @@ -834,7 +834,7 @@ pub mod experiments { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Experiment), @@ -908,7 +908,7 @@ pub mod experiments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -938,7 +938,7 @@ pub mod experiments { } } pub mod reports { - use crate::models::*; + use super::{models, models::*}; pub async fn get_latency_scorecards( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -997,7 +997,7 @@ pub mod reports { } } pub mod get_latency_scorecards { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1088,7 +1088,7 @@ pub mod reports { } } pub mod get_timeseries { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1161,7 +1161,7 @@ pub async fn check_front_door_name_availability( } } pub mod check_front_door_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1237,7 +1237,7 @@ pub async fn check_front_door_name_availability_with_subscription( } } pub mod check_front_door_name_availability_with_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1260,7 +1260,7 @@ pub mod check_front_door_name_availability_with_subscription { } } pub mod front_doors { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1305,7 +1305,7 @@ pub mod front_doors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1378,7 +1378,7 @@ pub mod front_doors { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1448,7 +1448,7 @@ pub mod front_doors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1535,7 +1535,7 @@ pub mod front_doors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FrontDoor), @@ -1607,7 +1607,7 @@ pub mod front_doors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1689,7 +1689,7 @@ pub mod front_doors { } } pub mod validate_custom_domain { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1713,7 +1713,7 @@ pub mod front_doors { } } pub mod frontend_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_front_door( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1765,7 +1765,7 @@ pub mod frontend_endpoints { } } pub mod list_by_front_door { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1837,7 +1837,7 @@ pub mod frontend_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1910,7 +1910,7 @@ pub mod frontend_endpoints { } } pub mod enable_https { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1987,7 +1987,7 @@ pub mod frontend_endpoints { } } pub mod disable_https { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2016,7 +2016,7 @@ pub mod frontend_endpoints { } } pub mod endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn purge_content( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2066,7 +2066,7 @@ pub mod endpoints { } } pub mod purge_content { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2095,7 +2095,7 @@ pub mod endpoints { } } pub mod rules_engines { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_front_door( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2147,7 +2147,7 @@ pub mod rules_engines { } } pub mod list_by_front_door { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2219,7 +2219,7 @@ pub mod rules_engines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2308,7 +2308,7 @@ pub mod rules_engines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RulesEngine), @@ -2382,7 +2382,7 @@ pub mod rules_engines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2411,7 +2411,7 @@ pub mod rules_engines { } } pub mod policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2458,7 +2458,7 @@ pub mod policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2528,7 +2528,7 @@ pub mod policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2615,7 +2615,7 @@ pub mod policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WebApplicationFirewallPolicy), @@ -2686,7 +2686,7 @@ pub mod policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2713,7 +2713,7 @@ pub mod policies { } } pub mod managed_rule_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2758,7 +2758,7 @@ pub mod managed_rule_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/frontdoor/src/package_2020_05/operations.rs b/services/mgmt/frontdoor/src/package_2020_05/operations.rs index a35b1b987f..ccda3225c4 100644 --- a/services/mgmt/frontdoor/src/package_2020_05/operations.rs +++ b/services/mgmt/frontdoor/src/package_2020_05/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod network_experiment_profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, subscription_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -46,7 +46,7 @@ pub mod network_experiment_profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -119,7 +119,7 @@ pub mod network_experiment_profiles { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -189,7 +189,7 @@ pub mod network_experiment_profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -276,7 +276,7 @@ pub mod network_experiment_profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Profile), @@ -360,7 +360,7 @@ pub mod network_experiment_profiles { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Profile), @@ -432,7 +432,7 @@ pub mod network_experiment_profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -462,7 +462,7 @@ pub mod network_experiment_profiles { } } pub mod preconfigured_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -511,7 +511,7 @@ pub mod preconfigured_endpoints { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -535,7 +535,7 @@ pub mod preconfigured_endpoints { } } pub mod experiments { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_profile( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -587,7 +587,7 @@ pub mod experiments { } } pub mod list_by_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -659,7 +659,7 @@ pub mod experiments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -748,7 +748,7 @@ pub mod experiments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Experiment), @@ -834,7 +834,7 @@ pub mod experiments { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Experiment), @@ -908,7 +908,7 @@ pub mod experiments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -938,7 +938,7 @@ pub mod experiments { } } pub mod reports { - use crate::models::*; + use super::{models, models::*}; pub async fn get_latency_scorecards( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -997,7 +997,7 @@ pub mod reports { } } pub mod get_latency_scorecards { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1088,7 +1088,7 @@ pub mod reports { } } pub mod get_timeseries { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1112,7 +1112,7 @@ pub mod reports { } } pub mod front_door_name_availability { - use crate::models::*; + use super::{models, models::*}; pub async fn check( operation_config: &crate::OperationConfig, check_front_door_name_availability_input: &CheckNameAvailabilityInput, @@ -1157,7 +1157,7 @@ pub mod front_door_name_availability { } } pub mod check { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1181,7 +1181,7 @@ pub mod front_door_name_availability { } } pub mod front_door_name_availability_with_subscription { - use crate::models::*; + use super::{models, models::*}; pub async fn check( operation_config: &crate::OperationConfig, check_front_door_name_availability_input: &CheckNameAvailabilityInput, @@ -1228,7 +1228,7 @@ pub mod front_door_name_availability_with_subscription { } } pub mod check { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1252,7 +1252,7 @@ pub mod front_door_name_availability_with_subscription { } } pub mod front_doors { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1297,7 +1297,7 @@ pub mod front_doors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1370,7 +1370,7 @@ pub mod front_doors { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1440,7 +1440,7 @@ pub mod front_doors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1527,7 +1527,7 @@ pub mod front_doors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FrontDoor), @@ -1599,7 +1599,7 @@ pub mod front_doors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1681,7 +1681,7 @@ pub mod front_doors { } } pub mod validate_custom_domain { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1705,7 +1705,7 @@ pub mod front_doors { } } pub mod frontend_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_front_door( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1757,7 +1757,7 @@ pub mod frontend_endpoints { } } pub mod list_by_front_door { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1829,7 +1829,7 @@ pub mod frontend_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1902,7 +1902,7 @@ pub mod frontend_endpoints { } } pub mod enable_https { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1979,7 +1979,7 @@ pub mod frontend_endpoints { } } pub mod disable_https { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2008,7 +2008,7 @@ pub mod frontend_endpoints { } } pub mod endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn purge_content( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2058,7 +2058,7 @@ pub mod endpoints { } } pub mod purge_content { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2087,7 +2087,7 @@ pub mod endpoints { } } pub mod rules_engines { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_front_door( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2139,7 +2139,7 @@ pub mod rules_engines { } } pub mod list_by_front_door { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2211,7 +2211,7 @@ pub mod rules_engines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2300,7 +2300,7 @@ pub mod rules_engines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RulesEngine), @@ -2374,7 +2374,7 @@ pub mod rules_engines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2403,7 +2403,7 @@ pub mod rules_engines { } } pub mod policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2450,7 +2450,7 @@ pub mod policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2520,7 +2520,7 @@ pub mod policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2607,7 +2607,7 @@ pub mod policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WebApplicationFirewallPolicy), @@ -2678,7 +2678,7 @@ pub mod policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2705,7 +2705,7 @@ pub mod policies { } } pub mod managed_rule_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2750,7 +2750,7 @@ pub mod managed_rule_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/frontdoor/src/package_2020_11/operations.rs b/services/mgmt/frontdoor/src/package_2020_11/operations.rs index a35b1b987f..ccda3225c4 100644 --- a/services/mgmt/frontdoor/src/package_2020_11/operations.rs +++ b/services/mgmt/frontdoor/src/package_2020_11/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod network_experiment_profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, subscription_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -46,7 +46,7 @@ pub mod network_experiment_profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -119,7 +119,7 @@ pub mod network_experiment_profiles { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -189,7 +189,7 @@ pub mod network_experiment_profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -276,7 +276,7 @@ pub mod network_experiment_profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Profile), @@ -360,7 +360,7 @@ pub mod network_experiment_profiles { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Profile), @@ -432,7 +432,7 @@ pub mod network_experiment_profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -462,7 +462,7 @@ pub mod network_experiment_profiles { } } pub mod preconfigured_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -511,7 +511,7 @@ pub mod preconfigured_endpoints { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -535,7 +535,7 @@ pub mod preconfigured_endpoints { } } pub mod experiments { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_profile( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -587,7 +587,7 @@ pub mod experiments { } } pub mod list_by_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -659,7 +659,7 @@ pub mod experiments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -748,7 +748,7 @@ pub mod experiments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Experiment), @@ -834,7 +834,7 @@ pub mod experiments { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Experiment), @@ -908,7 +908,7 @@ pub mod experiments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -938,7 +938,7 @@ pub mod experiments { } } pub mod reports { - use crate::models::*; + use super::{models, models::*}; pub async fn get_latency_scorecards( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -997,7 +997,7 @@ pub mod reports { } } pub mod get_latency_scorecards { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1088,7 +1088,7 @@ pub mod reports { } } pub mod get_timeseries { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1112,7 +1112,7 @@ pub mod reports { } } pub mod front_door_name_availability { - use crate::models::*; + use super::{models, models::*}; pub async fn check( operation_config: &crate::OperationConfig, check_front_door_name_availability_input: &CheckNameAvailabilityInput, @@ -1157,7 +1157,7 @@ pub mod front_door_name_availability { } } pub mod check { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1181,7 +1181,7 @@ pub mod front_door_name_availability { } } pub mod front_door_name_availability_with_subscription { - use crate::models::*; + use super::{models, models::*}; pub async fn check( operation_config: &crate::OperationConfig, check_front_door_name_availability_input: &CheckNameAvailabilityInput, @@ -1228,7 +1228,7 @@ pub mod front_door_name_availability_with_subscription { } } pub mod check { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1252,7 +1252,7 @@ pub mod front_door_name_availability_with_subscription { } } pub mod front_doors { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1297,7 +1297,7 @@ pub mod front_doors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1370,7 +1370,7 @@ pub mod front_doors { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1440,7 +1440,7 @@ pub mod front_doors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1527,7 +1527,7 @@ pub mod front_doors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FrontDoor), @@ -1599,7 +1599,7 @@ pub mod front_doors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1681,7 +1681,7 @@ pub mod front_doors { } } pub mod validate_custom_domain { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1705,7 +1705,7 @@ pub mod front_doors { } } pub mod frontend_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_front_door( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1757,7 +1757,7 @@ pub mod frontend_endpoints { } } pub mod list_by_front_door { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1829,7 +1829,7 @@ pub mod frontend_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1902,7 +1902,7 @@ pub mod frontend_endpoints { } } pub mod enable_https { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1979,7 +1979,7 @@ pub mod frontend_endpoints { } } pub mod disable_https { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2008,7 +2008,7 @@ pub mod frontend_endpoints { } } pub mod endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn purge_content( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2058,7 +2058,7 @@ pub mod endpoints { } } pub mod purge_content { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2087,7 +2087,7 @@ pub mod endpoints { } } pub mod rules_engines { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_front_door( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2139,7 +2139,7 @@ pub mod rules_engines { } } pub mod list_by_front_door { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2211,7 +2211,7 @@ pub mod rules_engines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2300,7 +2300,7 @@ pub mod rules_engines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RulesEngine), @@ -2374,7 +2374,7 @@ pub mod rules_engines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2403,7 +2403,7 @@ pub mod rules_engines { } } pub mod policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2450,7 +2450,7 @@ pub mod policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2520,7 +2520,7 @@ pub mod policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2607,7 +2607,7 @@ pub mod policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WebApplicationFirewallPolicy), @@ -2678,7 +2678,7 @@ pub mod policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2705,7 +2705,7 @@ pub mod policies { } } pub mod managed_rule_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2750,7 +2750,7 @@ pub mod managed_rule_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/guestconfiguration/Cargo.toml b/services/mgmt/guestconfiguration/Cargo.toml index a58239cf56..ad7c82bcde 100644 --- a/services/mgmt/guestconfiguration/Cargo.toml +++ b/services/mgmt/guestconfiguration/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-01-25"] +no-default-version = [] "package-2021-01-25" = [] "package-2020-06-25" = [] "package-2018-11-20" = [] diff --git a/services/mgmt/guestconfiguration/src/lib.rs b/services/mgmt/guestconfiguration/src/lib.rs index 572079704a..dcc0371ddf 100644 --- a/services/mgmt/guestconfiguration/src/lib.rs +++ b/services/mgmt/guestconfiguration/src/lib.rs @@ -1,25 +1,33 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-01-25")] -mod package_2021_01_25; -#[cfg(feature = "package-2021-01-25")] +pub mod package_2021_01_25; +#[cfg(all(feature = "package-2021-01-25", not(feature = "no-default-version")))] pub use package_2021_01_25::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-06-25")] -mod package_2020_06_25; -#[cfg(feature = "package-2020-06-25")] +pub mod package_2020_06_25; +#[cfg(all(feature = "package-2020-06-25", not(feature = "no-default-version")))] pub use package_2020_06_25::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-11-20")] -mod package_2018_11_20; -#[cfg(feature = "package-2018-11-20")] +pub mod package_2018_11_20; +#[cfg(all(feature = "package-2018-11-20", not(feature = "no-default-version")))] pub use package_2018_11_20::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-06-30-preview")] -mod package_2018_06_30_preview; -#[cfg(feature = "package-2018-06-30-preview")] +pub mod package_2018_06_30_preview; +#[cfg(all(feature = "package-2018-06-30-preview", not(feature = "no-default-version")))] pub use package_2018_06_30_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-01-20-preview")] -mod package_2018_01_20_preview; +pub mod package_2018_01_20_preview; use azure_core::setters; -#[cfg(feature = "package-2018-01-20-preview")] +#[cfg(all(feature = "package-2018-01-20-preview", not(feature = "no-default-version")))] pub use package_2018_01_20_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -43,7 +51,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/guestconfiguration/src/package_2018_01_20_preview/operations.rs b/services/mgmt/guestconfiguration/src/package_2018_01_20_preview/operations.rs index 1ff3433443..cde5112812 100644 --- a/services/mgmt/guestconfiguration/src/package_2018_01_20_preview/operations.rs +++ b/services/mgmt/guestconfiguration/src/package_2018_01_20_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod guest_configuration_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -48,7 +48,7 @@ pub mod guest_configuration_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -124,7 +124,7 @@ pub mod guest_configuration_assignments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GuestConfigurationAssignment), @@ -153,7 +153,7 @@ pub mod guest_configuration_assignments { } } pub mod guest_configuration_assignment_reports { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -197,7 +197,7 @@ pub mod guest_configuration_assignment_reports { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -263,7 +263,7 @@ pub mod guest_configuration_assignment_reports { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -287,7 +287,7 @@ pub mod guest_configuration_assignment_reports { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.GuestConfiguration/operations", operation_config.base_path(),); @@ -325,7 +325,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/guestconfiguration/src/package_2018_06_30_preview/operations.rs b/services/mgmt/guestconfiguration/src/package_2018_06_30_preview/operations.rs index 9210455fbb..946441729f 100644 --- a/services/mgmt/guestconfiguration/src/package_2018_06_30_preview/operations.rs +++ b/services/mgmt/guestconfiguration/src/package_2018_06_30_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod guest_configuration_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -48,7 +48,7 @@ pub mod guest_configuration_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -124,7 +124,7 @@ pub mod guest_configuration_assignments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GuestConfigurationAssignment), @@ -189,7 +189,7 @@ pub mod guest_configuration_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -253,7 +253,7 @@ pub mod guest_configuration_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -277,7 +277,7 @@ pub mod guest_configuration_assignments { } } pub mod guest_configuration_assignment_reports { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -321,7 +321,7 @@ pub mod guest_configuration_assignment_reports { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -387,7 +387,7 @@ pub mod guest_configuration_assignment_reports { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -411,7 +411,7 @@ pub mod guest_configuration_assignment_reports { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.GuestConfiguration/operations", operation_config.base_path(),); @@ -449,7 +449,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/guestconfiguration/src/package_2018_11_20/operations.rs b/services/mgmt/guestconfiguration/src/package_2018_11_20/operations.rs index 50c0d75e3b..e5dc06bed5 100644 --- a/services/mgmt/guestconfiguration/src/package_2018_11_20/operations.rs +++ b/services/mgmt/guestconfiguration/src/package_2018_11_20/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod guest_configuration_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -48,7 +48,7 @@ pub mod guest_configuration_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -124,7 +124,7 @@ pub mod guest_configuration_assignments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GuestConfigurationAssignment), @@ -189,7 +189,7 @@ pub mod guest_configuration_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -259,7 +259,7 @@ pub mod guest_configuration_assignments { } } pub mod subscription_list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GuestConfigurationAssignmentList), @@ -336,7 +336,7 @@ pub mod guest_configuration_assignments { } } pub mod rg_list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GuestConfigurationAssignmentList), @@ -405,7 +405,7 @@ pub mod guest_configuration_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -429,7 +429,7 @@ pub mod guest_configuration_assignments { } } pub mod guest_configuration_assignment_reports { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -473,7 +473,7 @@ pub mod guest_configuration_assignment_reports { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -539,7 +539,7 @@ pub mod guest_configuration_assignment_reports { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -563,7 +563,7 @@ pub mod guest_configuration_assignment_reports { } } pub mod guest_configuration_hcrp_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -607,7 +607,7 @@ pub mod guest_configuration_hcrp_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -683,7 +683,7 @@ pub mod guest_configuration_hcrp_assignments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GuestConfigurationAssignment), @@ -748,7 +748,7 @@ pub mod guest_configuration_hcrp_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -812,7 +812,7 @@ pub mod guest_configuration_hcrp_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -836,7 +836,7 @@ pub mod guest_configuration_hcrp_assignments { } } pub mod guest_configuration_hcrp_assignment_reports { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -880,7 +880,7 @@ pub mod guest_configuration_hcrp_assignment_reports { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -946,7 +946,7 @@ pub mod guest_configuration_hcrp_assignment_reports { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -970,7 +970,7 @@ pub mod guest_configuration_hcrp_assignment_reports { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.GuestConfiguration/operations", operation_config.base_path(),); @@ -1008,7 +1008,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/guestconfiguration/src/package_2020_06_25/operations.rs b/services/mgmt/guestconfiguration/src/package_2020_06_25/operations.rs index 50c0d75e3b..e5dc06bed5 100644 --- a/services/mgmt/guestconfiguration/src/package_2020_06_25/operations.rs +++ b/services/mgmt/guestconfiguration/src/package_2020_06_25/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod guest_configuration_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -48,7 +48,7 @@ pub mod guest_configuration_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -124,7 +124,7 @@ pub mod guest_configuration_assignments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GuestConfigurationAssignment), @@ -189,7 +189,7 @@ pub mod guest_configuration_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -259,7 +259,7 @@ pub mod guest_configuration_assignments { } } pub mod subscription_list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GuestConfigurationAssignmentList), @@ -336,7 +336,7 @@ pub mod guest_configuration_assignments { } } pub mod rg_list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GuestConfigurationAssignmentList), @@ -405,7 +405,7 @@ pub mod guest_configuration_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -429,7 +429,7 @@ pub mod guest_configuration_assignments { } } pub mod guest_configuration_assignment_reports { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -473,7 +473,7 @@ pub mod guest_configuration_assignment_reports { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -539,7 +539,7 @@ pub mod guest_configuration_assignment_reports { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -563,7 +563,7 @@ pub mod guest_configuration_assignment_reports { } } pub mod guest_configuration_hcrp_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -607,7 +607,7 @@ pub mod guest_configuration_hcrp_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -683,7 +683,7 @@ pub mod guest_configuration_hcrp_assignments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GuestConfigurationAssignment), @@ -748,7 +748,7 @@ pub mod guest_configuration_hcrp_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -812,7 +812,7 @@ pub mod guest_configuration_hcrp_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -836,7 +836,7 @@ pub mod guest_configuration_hcrp_assignments { } } pub mod guest_configuration_hcrp_assignment_reports { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -880,7 +880,7 @@ pub mod guest_configuration_hcrp_assignment_reports { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -946,7 +946,7 @@ pub mod guest_configuration_hcrp_assignment_reports { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -970,7 +970,7 @@ pub mod guest_configuration_hcrp_assignment_reports { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.GuestConfiguration/operations", operation_config.base_path(),); @@ -1008,7 +1008,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/guestconfiguration/src/package_2021_01_25/operations.rs b/services/mgmt/guestconfiguration/src/package_2021_01_25/operations.rs index b65037dc3c..c91402a3a4 100644 --- a/services/mgmt/guestconfiguration/src/package_2021_01_25/operations.rs +++ b/services/mgmt/guestconfiguration/src/package_2021_01_25/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod guest_configuration_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -48,7 +48,7 @@ pub mod guest_configuration_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -124,7 +124,7 @@ pub mod guest_configuration_assignments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GuestConfigurationAssignment), @@ -189,7 +189,7 @@ pub mod guest_configuration_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -259,7 +259,7 @@ pub mod guest_configuration_assignments { } } pub mod subscription_list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GuestConfigurationAssignmentList), @@ -336,7 +336,7 @@ pub mod guest_configuration_assignments { } } pub mod rg_list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GuestConfigurationAssignmentList), @@ -405,7 +405,7 @@ pub mod guest_configuration_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -429,7 +429,7 @@ pub mod guest_configuration_assignments { } } pub mod guest_configuration_assignment_reports { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -473,7 +473,7 @@ pub mod guest_configuration_assignment_reports { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -539,7 +539,7 @@ pub mod guest_configuration_assignment_reports { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -563,7 +563,7 @@ pub mod guest_configuration_assignment_reports { } } pub mod guest_configuration_hcrp_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -607,7 +607,7 @@ pub mod guest_configuration_hcrp_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -683,7 +683,7 @@ pub mod guest_configuration_hcrp_assignments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GuestConfigurationAssignment), @@ -748,7 +748,7 @@ pub mod guest_configuration_hcrp_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -812,7 +812,7 @@ pub mod guest_configuration_hcrp_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -836,7 +836,7 @@ pub mod guest_configuration_hcrp_assignments { } } pub mod guest_configuration_hcrp_assignment_reports { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -880,7 +880,7 @@ pub mod guest_configuration_hcrp_assignment_reports { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -946,7 +946,7 @@ pub mod guest_configuration_hcrp_assignment_reports { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -970,7 +970,7 @@ pub mod guest_configuration_hcrp_assignment_reports { } } pub mod guest_configuration_assignments_vmss { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1014,7 +1014,7 @@ pub mod guest_configuration_assignments_vmss { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1080,7 +1080,7 @@ pub mod guest_configuration_assignments_vmss { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GuestConfigurationAssignment), @@ -1149,7 +1149,7 @@ pub mod guest_configuration_assignments_vmss { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1173,7 +1173,7 @@ pub mod guest_configuration_assignments_vmss { } } pub mod guest_configuration_assignment_reports_vmss { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1217,7 +1217,7 @@ pub mod guest_configuration_assignment_reports_vmss { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1283,7 +1283,7 @@ pub mod guest_configuration_assignment_reports_vmss { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1307,7 +1307,7 @@ pub mod guest_configuration_assignment_reports_vmss { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.GuestConfiguration/operations", operation_config.base_path(),); @@ -1345,7 +1345,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/hanaonazure/Cargo.toml b/services/mgmt/hanaonazure/Cargo.toml index ab1c99e281..078f3cb102 100644 --- a/services/mgmt/hanaonazure/Cargo.toml +++ b/services/mgmt/hanaonazure/Cargo.toml @@ -20,5 +20,6 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2017-11"] +no-default-version = [] "package-2017-11" = [] "package-2020-02-07-preview" = [] diff --git a/services/mgmt/hanaonazure/src/lib.rs b/services/mgmt/hanaonazure/src/lib.rs index 4c2b914765..9c5c57facc 100644 --- a/services/mgmt/hanaonazure/src/lib.rs +++ b/services/mgmt/hanaonazure/src/lib.rs @@ -1,13 +1,21 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2017-11")] -mod package_2017_11; -#[cfg(feature = "package-2017-11")] +pub mod package_2017_11; +#[cfg(all(feature = "package-2017-11", not(feature = "no-default-version")))] pub use package_2017_11::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-02-07-preview")] -mod package_2020_02_07_preview; +pub mod package_2020_02_07_preview; use azure_core::setters; -#[cfg(feature = "package-2020-02-07-preview")] +#[cfg(all(feature = "package-2020-02-07-preview", not(feature = "no-default-version")))] pub use package_2020_02_07_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -31,7 +39,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/hanaonazure/src/package_2017_11/operations.rs b/services/mgmt/hanaonazure/src/package_2017_11/operations.rs index 21ef0b6094..5986657d64 100644 --- a/services/mgmt/hanaonazure/src/package_2017_11/operations.rs +++ b/services/mgmt/hanaonazure/src/package_2017_11/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.HanaOnAzure/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod hana_instances { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod hana_instances { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub mod hana_instances { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -254,7 +254,7 @@ pub mod hana_instances { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -332,7 +332,7 @@ pub mod hana_instances { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HanaInstance), @@ -409,7 +409,7 @@ pub mod hana_instances { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -476,7 +476,7 @@ pub mod hana_instances { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -552,7 +552,7 @@ pub mod hana_instances { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -624,7 +624,7 @@ pub mod hana_instances { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -699,7 +699,7 @@ pub mod hana_instances { } } pub mod shutdown { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/hanaonazure/src/package_2020_02_07_preview/operations.rs b/services/mgmt/hanaonazure/src/package_2020_02_07_preview/operations.rs index 3522a10b62..e175bcab4f 100644 --- a/services/mgmt/hanaonazure/src/package_2020_02_07_preview/operations.rs +++ b/services/mgmt/hanaonazure/src/package_2020_02_07_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.HanaOnAzure/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod sap_monitors { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod sap_monitors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -181,7 +181,7 @@ pub mod sap_monitors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -259,7 +259,7 @@ pub mod sap_monitors { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SapMonitor), @@ -336,7 +336,7 @@ pub mod sap_monitors { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -403,7 +403,7 @@ pub mod sap_monitors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -433,7 +433,7 @@ pub mod sap_monitors { } } pub mod provider_instances { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -482,7 +482,7 @@ pub mod provider_instances { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -554,7 +554,7 @@ pub mod provider_instances { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -634,7 +634,7 @@ pub mod provider_instances { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProviderInstance), @@ -708,7 +708,7 @@ pub mod provider_instances { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/hardwaresecuritymodules/Cargo.toml b/services/mgmt/hardwaresecuritymodules/Cargo.toml index 44cbb2b943..a3ccc5c788 100644 --- a/services/mgmt/hardwaresecuritymodules/Cargo.toml +++ b/services/mgmt/hardwaresecuritymodules/Cargo.toml @@ -20,4 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2018-10"] +no-default-version = [] "package-2018-10" = [] diff --git a/services/mgmt/hardwaresecuritymodules/src/lib.rs b/services/mgmt/hardwaresecuritymodules/src/lib.rs index 7e318e5dca..b2a41f3372 100644 --- a/services/mgmt/hardwaresecuritymodules/src/lib.rs +++ b/services/mgmt/hardwaresecuritymodules/src/lib.rs @@ -1,9 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2018-10")] -mod package_2018_10; +pub mod package_2018_10; use azure_core::setters; -#[cfg(feature = "package-2018-10")] +#[cfg(all(feature = "package-2018-10", not(feature = "no-default-version")))] pub use package_2018_10::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -27,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/hardwaresecuritymodules/src/package_2018_10/operations.rs b/services/mgmt/hardwaresecuritymodules/src/package_2018_10/operations.rs index bfd9c00876..b896d1ce6e 100644 --- a/services/mgmt/hardwaresecuritymodules/src/package_2018_10/operations.rs +++ b/services/mgmt/hardwaresecuritymodules/src/package_2018_10/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -45,7 +45,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -69,7 +69,7 @@ pub mod operations { } } pub mod dedicated_hsm { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -118,7 +118,7 @@ pub mod dedicated_hsm { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -199,7 +199,7 @@ pub mod dedicated_hsm { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DedicatedHsm), @@ -276,7 +276,7 @@ pub mod dedicated_hsm { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -343,7 +343,7 @@ pub mod dedicated_hsm { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -426,7 +426,7 @@ pub mod dedicated_hsm { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -499,7 +499,7 @@ pub mod dedicated_hsm { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/hdinsight/Cargo.toml b/services/mgmt/hdinsight/Cargo.toml index 2c84a7fc0e..947234890d 100644 --- a/services/mgmt/hdinsight/Cargo.toml +++ b/services/mgmt/hdinsight/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-06"] +no-default-version = [] "package-2021-06" = [] "package-2018-06-preview" = [] "package-2015-03-preview" = [] diff --git a/services/mgmt/hdinsight/src/lib.rs b/services/mgmt/hdinsight/src/lib.rs index 2b13419b6d..dc5fea72f7 100644 --- a/services/mgmt/hdinsight/src/lib.rs +++ b/services/mgmt/hdinsight/src/lib.rs @@ -1,17 +1,25 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-06")] -mod package_2021_06; -#[cfg(feature = "package-2021-06")] +pub mod package_2021_06; +#[cfg(all(feature = "package-2021-06", not(feature = "no-default-version")))] pub use package_2021_06::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-06-preview")] -mod package_2018_06_preview; -#[cfg(feature = "package-2018-06-preview")] +pub mod package_2018_06_preview; +#[cfg(all(feature = "package-2018-06-preview", not(feature = "no-default-version")))] pub use package_2018_06_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2015-03-preview")] -mod package_2015_03_preview; +pub mod package_2015_03_preview; use azure_core::setters; -#[cfg(feature = "package-2015-03-preview")] +#[cfg(all(feature = "package-2015-03-preview", not(feature = "no-default-version")))] pub use package_2015_03_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -35,7 +43,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/hdinsight/src/package_2015_03_preview/operations.rs b/services/mgmt/hdinsight/src/package_2015_03_preview/operations.rs index 6a36463cf0..86b5952f13 100644 --- a/services/mgmt/hdinsight/src/package_2015_03_preview/operations.rs +++ b/services/mgmt/hdinsight/src/package_2015_03_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -125,7 +125,7 @@ pub mod clusters { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -197,7 +197,7 @@ pub mod clusters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -264,7 +264,7 @@ pub mod clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -343,7 +343,7 @@ pub mod clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -413,7 +413,7 @@ pub mod clusters { } } pub mod resize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -493,7 +493,7 @@ pub mod clusters { } } pub mod update_auto_scale_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -564,7 +564,7 @@ pub mod clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -637,7 +637,7 @@ pub mod clusters { } } pub mod rotate_disk_encryption_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -716,7 +716,7 @@ pub mod clusters { } } pub mod get_gateway_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -789,7 +789,7 @@ pub mod clusters { } } pub mod update_gateway_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -871,7 +871,7 @@ pub mod clusters { } } pub mod get_azure_async_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -944,7 +944,7 @@ pub mod clusters { } } pub mod update_identity_certificate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1023,7 +1023,7 @@ pub mod clusters { } } pub mod execute_script_actions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1054,7 +1054,7 @@ pub mod clusters { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.HDInsight/operations", operation_config.base_path(),); @@ -1092,7 +1092,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1116,7 +1116,7 @@ pub mod operations { } } pub mod script_actions { - use crate::models::*; + use super::{models, models::*}; pub async fn delete( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1163,7 +1163,7 @@ pub mod script_actions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1243,7 +1243,7 @@ pub mod script_actions { } } pub mod list_persisted_scripts { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1318,7 +1318,7 @@ pub mod script_actions { } } pub mod get_execution_detail { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1395,7 +1395,7 @@ pub mod script_actions { } } pub mod get_execution_async_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1419,7 +1419,7 @@ pub mod script_actions { } } pub mod script_execution_history { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1468,7 +1468,7 @@ pub mod script_execution_history { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1539,7 +1539,7 @@ pub mod script_execution_history { } } pub mod promote { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1563,7 +1563,7 @@ pub mod script_execution_history { } } pub mod applications { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1612,7 +1612,7 @@ pub mod applications { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1684,7 +1684,7 @@ pub mod applications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1758,7 +1758,7 @@ pub mod applications { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1827,7 +1827,7 @@ pub mod applications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1912,7 +1912,7 @@ pub mod applications { } } pub mod get_azure_async_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1936,7 +1936,7 @@ pub mod applications { } } pub mod locations { - use crate::models::*; + use super::{models, models::*}; pub async fn get_capabilities( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1986,7 +1986,7 @@ pub mod locations { } } pub mod get_capabilities { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2057,7 +2057,7 @@ pub mod locations { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2128,7 +2128,7 @@ pub mod locations { } } pub mod list_billing_specs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2203,7 +2203,7 @@ pub mod locations { } } pub mod get_azure_async_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2278,7 +2278,7 @@ pub mod locations { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2353,7 +2353,7 @@ pub mod locations { } } pub mod validate_cluster_create_request { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2377,7 +2377,7 @@ pub mod locations { } } pub mod configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2427,7 +2427,7 @@ pub mod configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2499,7 +2499,7 @@ pub mod configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2570,7 +2570,7 @@ pub mod configurations { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2600,7 +2600,7 @@ pub mod configurations { } } pub mod extension { - use crate::models::*; + use super::{models, models::*}; pub async fn get_monitoring_status( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2654,7 +2654,7 @@ pub mod extension { } } pub mod get_monitoring_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2725,7 +2725,7 @@ pub mod extension { } } pub mod enable_monitoring { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2800,7 +2800,7 @@ pub mod extension { } } pub mod disable_monitoring { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2878,7 +2878,7 @@ pub mod extension { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2948,7 +2948,7 @@ pub mod extension { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3022,7 +3022,7 @@ pub mod extension { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3052,7 +3052,7 @@ pub mod extension { } } pub mod extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get_azure_monitor_status( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3106,7 +3106,7 @@ pub mod extensions { } } pub mod get_azure_monitor_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3177,7 +3177,7 @@ pub mod extensions { } } pub mod enable_azure_monitor { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3254,7 +3254,7 @@ pub mod extensions { } } pub mod disable_azure_monitor { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3339,7 +3339,7 @@ pub mod extensions { } } pub mod get_azure_async_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3363,7 +3363,7 @@ pub mod extensions { } } pub mod virtual_machines { - use crate::models::*; + use super::{models, models::*}; pub async fn list_hosts( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3416,7 +3416,7 @@ pub mod virtual_machines { } } pub mod list_hosts { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3487,7 +3487,7 @@ pub mod virtual_machines { } } pub mod restart_hosts { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3569,7 +3569,7 @@ pub mod virtual_machines { } } pub mod get_async_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/hdinsight/src/package_2018_06_preview/operations.rs b/services/mgmt/hdinsight/src/package_2018_06_preview/operations.rs index c59c3d29b9..827f43c024 100644 --- a/services/mgmt/hdinsight/src/package_2018_06_preview/operations.rs +++ b/services/mgmt/hdinsight/src/package_2018_06_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -125,7 +125,7 @@ pub mod clusters { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -197,7 +197,7 @@ pub mod clusters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -264,7 +264,7 @@ pub mod clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -343,7 +343,7 @@ pub mod clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -413,7 +413,7 @@ pub mod clusters { } } pub mod resize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -493,7 +493,7 @@ pub mod clusters { } } pub mod update_auto_scale_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -564,7 +564,7 @@ pub mod clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -637,7 +637,7 @@ pub mod clusters { } } pub mod rotate_disk_encryption_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -716,7 +716,7 @@ pub mod clusters { } } pub mod get_gateway_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -789,7 +789,7 @@ pub mod clusters { } } pub mod update_gateway_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -871,7 +871,7 @@ pub mod clusters { } } pub mod get_azure_async_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -944,7 +944,7 @@ pub mod clusters { } } pub mod update_identity_certificate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1023,7 +1023,7 @@ pub mod clusters { } } pub mod execute_script_actions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1054,7 +1054,7 @@ pub mod clusters { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.HDInsight/operations", operation_config.base_path(),); @@ -1092,7 +1092,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1116,7 +1116,7 @@ pub mod operations { } } pub mod script_actions { - use crate::models::*; + use super::{models, models::*}; pub async fn delete( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1163,7 +1163,7 @@ pub mod script_actions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1241,7 +1241,7 @@ pub mod script_actions { } } pub mod list_by_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1316,7 +1316,7 @@ pub mod script_actions { } } pub mod get_execution_detail { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1393,7 +1393,7 @@ pub mod script_actions { } } pub mod get_execution_async_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1417,7 +1417,7 @@ pub mod script_actions { } } pub mod script_execution_history { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_cluster( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1469,7 +1469,7 @@ pub mod script_execution_history { } } pub mod list_by_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1540,7 +1540,7 @@ pub mod script_execution_history { } } pub mod promote { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1564,7 +1564,7 @@ pub mod script_execution_history { } } pub mod applications { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_cluster( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1616,7 +1616,7 @@ pub mod applications { } } pub mod list_by_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1688,7 +1688,7 @@ pub mod applications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1762,7 +1762,7 @@ pub mod applications { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1831,7 +1831,7 @@ pub mod applications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1916,7 +1916,7 @@ pub mod applications { } } pub mod get_azure_async_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1940,7 +1940,7 @@ pub mod applications { } } pub mod locations { - use crate::models::*; + use super::{models, models::*}; pub async fn get_capabilities( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1990,7 +1990,7 @@ pub mod locations { } } pub mod get_capabilities { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2061,7 +2061,7 @@ pub mod locations { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2132,7 +2132,7 @@ pub mod locations { } } pub mod list_billing_specs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2207,7 +2207,7 @@ pub mod locations { } } pub mod get_azure_async_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2282,7 +2282,7 @@ pub mod locations { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2357,7 +2357,7 @@ pub mod locations { } } pub mod validate_cluster_create_request { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2381,7 +2381,7 @@ pub mod locations { } } pub mod configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2431,7 +2431,7 @@ pub mod configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2503,7 +2503,7 @@ pub mod configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2574,7 +2574,7 @@ pub mod configurations { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2604,7 +2604,7 @@ pub mod configurations { } } pub mod extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get_monitoring_status( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2658,7 +2658,7 @@ pub mod extensions { } } pub mod get_monitoring_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2729,7 +2729,7 @@ pub mod extensions { } } pub mod enable_monitoring { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2804,7 +2804,7 @@ pub mod extensions { } } pub mod disable_monitoring { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2885,7 +2885,7 @@ pub mod extensions { } } pub mod get_azure_monitor_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2956,7 +2956,7 @@ pub mod extensions { } } pub mod enable_azure_monitor { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3033,7 +3033,7 @@ pub mod extensions { } } pub mod disable_azure_monitor { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3111,7 +3111,7 @@ pub mod extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3181,7 +3181,7 @@ pub mod extensions { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3255,7 +3255,7 @@ pub mod extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3340,7 +3340,7 @@ pub mod extensions { } } pub mod get_azure_async_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3364,7 +3364,7 @@ pub mod extensions { } } pub mod virtual_machines { - use crate::models::*; + use super::{models, models::*}; pub async fn list_hosts( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3417,7 +3417,7 @@ pub mod virtual_machines { } } pub mod list_hosts { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3488,7 +3488,7 @@ pub mod virtual_machines { } } pub mod restart_hosts { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3570,7 +3570,7 @@ pub mod virtual_machines { } } pub mod get_async_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/hdinsight/src/package_2021_06/operations.rs b/services/mgmt/hdinsight/src/package_2021_06/operations.rs index 2cad16985b..ad12cf5396 100644 --- a/services/mgmt/hdinsight/src/package_2021_06/operations.rs +++ b/services/mgmt/hdinsight/src/package_2021_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -125,7 +125,7 @@ pub mod clusters { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -197,7 +197,7 @@ pub mod clusters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -264,7 +264,7 @@ pub mod clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -343,7 +343,7 @@ pub mod clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -413,7 +413,7 @@ pub mod clusters { } } pub mod resize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -493,7 +493,7 @@ pub mod clusters { } } pub mod update_auto_scale_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -564,7 +564,7 @@ pub mod clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -637,7 +637,7 @@ pub mod clusters { } } pub mod rotate_disk_encryption_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -716,7 +716,7 @@ pub mod clusters { } } pub mod get_gateway_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -789,7 +789,7 @@ pub mod clusters { } } pub mod update_gateway_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -871,7 +871,7 @@ pub mod clusters { } } pub mod get_azure_async_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -944,7 +944,7 @@ pub mod clusters { } } pub mod update_identity_certificate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1023,7 +1023,7 @@ pub mod clusters { } } pub mod execute_script_actions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1054,7 +1054,7 @@ pub mod clusters { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.HDInsight/operations", operation_config.base_path(),); @@ -1092,7 +1092,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1116,7 +1116,7 @@ pub mod operations { } } pub mod script_actions { - use crate::models::*; + use super::{models, models::*}; pub async fn delete( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1163,7 +1163,7 @@ pub mod script_actions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1241,7 +1241,7 @@ pub mod script_actions { } } pub mod list_by_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1316,7 +1316,7 @@ pub mod script_actions { } } pub mod get_execution_detail { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1393,7 +1393,7 @@ pub mod script_actions { } } pub mod get_execution_async_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1417,7 +1417,7 @@ pub mod script_actions { } } pub mod script_execution_history { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_cluster( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1469,7 +1469,7 @@ pub mod script_execution_history { } } pub mod list_by_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1540,7 +1540,7 @@ pub mod script_execution_history { } } pub mod promote { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1564,7 +1564,7 @@ pub mod script_execution_history { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_cluster( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1616,7 +1616,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1688,7 +1688,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1771,7 +1771,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -1845,7 +1845,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1875,7 +1875,7 @@ pub mod private_endpoint_connections { } } pub mod applications { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_cluster( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1927,7 +1927,7 @@ pub mod applications { } } pub mod list_by_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1999,7 +1999,7 @@ pub mod applications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2073,7 +2073,7 @@ pub mod applications { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2142,7 +2142,7 @@ pub mod applications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2227,7 +2227,7 @@ pub mod applications { } } pub mod get_azure_async_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2251,7 +2251,7 @@ pub mod applications { } } pub mod locations { - use crate::models::*; + use super::{models, models::*}; pub async fn get_capabilities( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2301,7 +2301,7 @@ pub mod locations { } } pub mod get_capabilities { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2372,7 +2372,7 @@ pub mod locations { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2443,7 +2443,7 @@ pub mod locations { } } pub mod list_billing_specs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2518,7 +2518,7 @@ pub mod locations { } } pub mod get_azure_async_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2593,7 +2593,7 @@ pub mod locations { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2668,7 +2668,7 @@ pub mod locations { } } pub mod validate_cluster_create_request { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2692,7 +2692,7 @@ pub mod locations { } } pub mod configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2742,7 +2742,7 @@ pub mod configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2814,7 +2814,7 @@ pub mod configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2885,7 +2885,7 @@ pub mod configurations { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2915,7 +2915,7 @@ pub mod configurations { } } pub mod extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get_monitoring_status( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2969,7 +2969,7 @@ pub mod extensions { } } pub mod get_monitoring_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3040,7 +3040,7 @@ pub mod extensions { } } pub mod enable_monitoring { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3115,7 +3115,7 @@ pub mod extensions { } } pub mod disable_monitoring { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3196,7 +3196,7 @@ pub mod extensions { } } pub mod get_azure_monitor_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3267,7 +3267,7 @@ pub mod extensions { } } pub mod enable_azure_monitor { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3344,7 +3344,7 @@ pub mod extensions { } } pub mod disable_azure_monitor { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3422,7 +3422,7 @@ pub mod extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3492,7 +3492,7 @@ pub mod extensions { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3566,7 +3566,7 @@ pub mod extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3651,7 +3651,7 @@ pub mod extensions { } } pub mod get_azure_async_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3675,7 +3675,7 @@ pub mod extensions { } } pub mod virtual_machines { - use crate::models::*; + use super::{models, models::*}; pub async fn list_hosts( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3728,7 +3728,7 @@ pub mod virtual_machines { } } pub mod list_hosts { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3799,7 +3799,7 @@ pub mod virtual_machines { } } pub mod restart_hosts { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3881,7 +3881,7 @@ pub mod virtual_machines { } } pub mod get_async_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3905,7 +3905,7 @@ pub mod virtual_machines { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_cluster( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3957,7 +3957,7 @@ pub mod private_link_resources { } } pub mod list_by_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4029,7 +4029,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/healthbot/Cargo.toml b/services/mgmt/healthbot/Cargo.toml index 2f7ad17ccb..79ecae588a 100644 --- a/services/mgmt/healthbot/Cargo.toml +++ b/services/mgmt/healthbot/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-06-10"] +no-default-version = [] "package-2021-06-10" = [] "package-2020-10-20-preview" = [] "package-2020-10-20" = [] diff --git a/services/mgmt/healthbot/src/lib.rs b/services/mgmt/healthbot/src/lib.rs index 62f81e9bb1..a493017f4e 100644 --- a/services/mgmt/healthbot/src/lib.rs +++ b/services/mgmt/healthbot/src/lib.rs @@ -1,25 +1,33 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-06-10")] -mod package_2021_06_10; -#[cfg(feature = "package-2021-06-10")] +pub mod package_2021_06_10; +#[cfg(all(feature = "package-2021-06-10", not(feature = "no-default-version")))] pub use package_2021_06_10::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-10-20-preview")] -mod package_2020_10_20_preview; -#[cfg(feature = "package-2020-10-20-preview")] +pub mod package_2020_10_20_preview; +#[cfg(all(feature = "package-2020-10-20-preview", not(feature = "no-default-version")))] pub use package_2020_10_20_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-10-20")] -mod package_2020_10_20; -#[cfg(feature = "package-2020-10-20")] +pub mod package_2020_10_20; +#[cfg(all(feature = "package-2020-10-20", not(feature = "no-default-version")))] pub use package_2020_10_20::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-12-08-preview")] -mod package_2020_12_08_preview; -#[cfg(feature = "package-2020-12-08-preview")] +pub mod package_2020_12_08_preview; +#[cfg(all(feature = "package-2020-12-08-preview", not(feature = "no-default-version")))] pub use package_2020_12_08_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-12-08")] -mod package_2020_12_08; +pub mod package_2020_12_08; use azure_core::setters; -#[cfg(feature = "package-2020-12-08")] +#[cfg(all(feature = "package-2020-12-08", not(feature = "no-default-version")))] pub use package_2020_12_08::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -43,7 +51,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/healthbot/src/package_2020_10_20/operations.rs b/services/mgmt/healthbot/src/package_2020_10_20/operations.rs index 1d89b2dd71..3e0732568e 100644 --- a/services/mgmt/healthbot/src/package_2020_10_20/operations.rs +++ b/services/mgmt/healthbot/src/package_2020_10_20/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod bots { - use crate::models::*; + use super::{models, models::*}; pub async fn get_check_name_availability( operation_config: &crate::OperationConfig, parameters: &CheckNameAvailabilityRequestBody, @@ -56,7 +56,7 @@ pub mod bots { } } pub mod get_check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -129,7 +129,7 @@ pub mod bots { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -195,7 +195,7 @@ pub mod bots { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -219,7 +219,7 @@ pub mod bots { } } pub mod get { - use crate::models::*; + use super::{models, models::*}; pub async fn bot( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -268,7 +268,7 @@ pub mod get { } } pub mod bot { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -292,7 +292,7 @@ pub mod get { } } pub mod create { - use crate::models::*; + use super::{models, models::*}; pub async fn bot( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -349,7 +349,7 @@ pub mod create { } } pub mod bot { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HealthBot), @@ -378,7 +378,7 @@ pub mod create { } } pub mod patch { - use crate::models::*; + use super::{models, models::*}; pub async fn bot( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -429,7 +429,7 @@ pub mod patch { } } pub mod bot { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -453,7 +453,7 @@ pub mod patch { } } pub mod delete { - use crate::models::*; + use super::{models, models::*}; pub async fn bot( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -498,7 +498,7 @@ pub mod delete { } } pub mod bot { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -527,7 +527,7 @@ pub mod delete { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.HealthBot/operations", operation_config.base_path(),); @@ -565,7 +565,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/healthbot/src/package_2020_10_20_preview/operations.rs b/services/mgmt/healthbot/src/package_2020_10_20_preview/operations.rs index 1d89b2dd71..3e0732568e 100644 --- a/services/mgmt/healthbot/src/package_2020_10_20_preview/operations.rs +++ b/services/mgmt/healthbot/src/package_2020_10_20_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod bots { - use crate::models::*; + use super::{models, models::*}; pub async fn get_check_name_availability( operation_config: &crate::OperationConfig, parameters: &CheckNameAvailabilityRequestBody, @@ -56,7 +56,7 @@ pub mod bots { } } pub mod get_check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -129,7 +129,7 @@ pub mod bots { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -195,7 +195,7 @@ pub mod bots { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -219,7 +219,7 @@ pub mod bots { } } pub mod get { - use crate::models::*; + use super::{models, models::*}; pub async fn bot( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -268,7 +268,7 @@ pub mod get { } } pub mod bot { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -292,7 +292,7 @@ pub mod get { } } pub mod create { - use crate::models::*; + use super::{models, models::*}; pub async fn bot( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -349,7 +349,7 @@ pub mod create { } } pub mod bot { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HealthBot), @@ -378,7 +378,7 @@ pub mod create { } } pub mod patch { - use crate::models::*; + use super::{models, models::*}; pub async fn bot( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -429,7 +429,7 @@ pub mod patch { } } pub mod bot { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -453,7 +453,7 @@ pub mod patch { } } pub mod delete { - use crate::models::*; + use super::{models, models::*}; pub async fn bot( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -498,7 +498,7 @@ pub mod delete { } } pub mod bot { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -527,7 +527,7 @@ pub mod delete { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.HealthBot/operations", operation_config.base_path(),); @@ -565,7 +565,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/healthbot/src/package_2020_12_08/operations.rs b/services/mgmt/healthbot/src/package_2020_12_08/operations.rs index 98bd1dd7af..35644d4387 100644 --- a/services/mgmt/healthbot/src/package_2020_12_08/operations.rs +++ b/services/mgmt/healthbot/src/package_2020_12_08/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod bots { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod bots { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -131,7 +131,7 @@ pub mod bots { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HealthBot), @@ -214,7 +214,7 @@ pub mod bots { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HealthBot), @@ -286,7 +286,7 @@ pub mod bots { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -365,7 +365,7 @@ pub mod bots { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -431,7 +431,7 @@ pub mod bots { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -455,7 +455,7 @@ pub mod bots { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.HealthBot/operations", operation_config.base_path(),); @@ -493,7 +493,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/healthbot/src/package_2020_12_08_preview/operations.rs b/services/mgmt/healthbot/src/package_2020_12_08_preview/operations.rs index 36ba43296a..d5e2bddbf6 100644 --- a/services/mgmt/healthbot/src/package_2020_12_08_preview/operations.rs +++ b/services/mgmt/healthbot/src/package_2020_12_08_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod bots { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, parameters: &CheckNameAvailabilityRequestBody, @@ -56,7 +56,7 @@ pub mod bots { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -126,7 +126,7 @@ pub mod bots { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -204,7 +204,7 @@ pub mod bots { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HealthBot), @@ -287,7 +287,7 @@ pub mod bots { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HealthBot), @@ -359,7 +359,7 @@ pub mod bots { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -438,7 +438,7 @@ pub mod bots { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -504,7 +504,7 @@ pub mod bots { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -528,7 +528,7 @@ pub mod bots { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.HealthBot/operations", operation_config.base_path(),); @@ -566,7 +566,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/healthbot/src/package_2021_06_10/operations.rs b/services/mgmt/healthbot/src/package_2021_06_10/operations.rs index 98bd1dd7af..35644d4387 100644 --- a/services/mgmt/healthbot/src/package_2021_06_10/operations.rs +++ b/services/mgmt/healthbot/src/package_2021_06_10/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod bots { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod bots { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -131,7 +131,7 @@ pub mod bots { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HealthBot), @@ -214,7 +214,7 @@ pub mod bots { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HealthBot), @@ -286,7 +286,7 @@ pub mod bots { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -365,7 +365,7 @@ pub mod bots { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -431,7 +431,7 @@ pub mod bots { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -455,7 +455,7 @@ pub mod bots { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.HealthBot/operations", operation_config.base_path(),); @@ -493,7 +493,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/healthcareapis/Cargo.toml b/services/mgmt/healthcareapis/Cargo.toml index cdc6b4064d..d0ccba498c 100644 --- a/services/mgmt/healthcareapis/Cargo.toml +++ b/services/mgmt/healthcareapis/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-01"] +no-default-version = [] "package-preview-2021-06" = [] "package-2021-01" = [] "package-2020-03-30" = [] diff --git a/services/mgmt/healthcareapis/src/lib.rs b/services/mgmt/healthcareapis/src/lib.rs index 55a44bc9d2..f168a11f7b 100644 --- a/services/mgmt/healthcareapis/src/lib.rs +++ b/services/mgmt/healthcareapis/src/lib.rs @@ -1,29 +1,37 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-preview-2021-06")] -mod package_preview_2021_06; -#[cfg(feature = "package-preview-2021-06")] +pub mod package_preview_2021_06; +#[cfg(all(feature = "package-preview-2021-06", not(feature = "no-default-version")))] pub use package_preview_2021_06::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-01")] -mod package_2021_01; -#[cfg(feature = "package-2021-01")] +pub mod package_2021_01; +#[cfg(all(feature = "package-2021-01", not(feature = "no-default-version")))] pub use package_2021_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-03-30")] -mod package_2020_03_30; -#[cfg(feature = "package-2020-03-30")] +pub mod package_2020_03_30; +#[cfg(all(feature = "package-2020-03-30", not(feature = "no-default-version")))] pub use package_2020_03_30::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-03")] -mod package_2020_03; -#[cfg(feature = "package-2020-03")] +pub mod package_2020_03; +#[cfg(all(feature = "package-2020-03", not(feature = "no-default-version")))] pub use package_2020_03::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-09")] -mod package_2019_09; -#[cfg(feature = "package-2019-09")] +pub mod package_2019_09; +#[cfg(all(feature = "package-2019-09", not(feature = "no-default-version")))] pub use package_2019_09::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-08-preview")] -mod package_2018_08_preview; +pub mod package_2018_08_preview; use azure_core::setters; -#[cfg(feature = "package-2018-08-preview")] +#[cfg(all(feature = "package-2018-08-preview", not(feature = "no-default-version")))] pub use package_2018_08_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -47,7 +55,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/healthcareapis/src/package_2018_08_preview/operations.rs b/services/mgmt/healthcareapis/src/package_2018_08_preview/operations.rs index f67e8c3bf1..12d8c6b84d 100644 --- a/services/mgmt/healthcareapis/src/package_2018_08_preview/operations.rs +++ b/services/mgmt/healthcareapis/src/package_2018_08_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServicesDescription), @@ -211,7 +211,7 @@ pub mod services { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -277,7 +277,7 @@ pub mod services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -348,7 +348,7 @@ pub mod services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -421,7 +421,7 @@ pub mod services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -494,7 +494,7 @@ pub mod services { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -518,7 +518,7 @@ pub mod services { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.HealthcareApis/operations", operation_config.base_path(),); @@ -556,7 +556,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -580,7 +580,7 @@ pub mod operations { } } pub mod operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -635,7 +635,7 @@ pub mod operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] diff --git a/services/mgmt/healthcareapis/src/package_2019_09/operations.rs b/services/mgmt/healthcareapis/src/package_2019_09/operations.rs index d36047fc51..b8ea1448d2 100644 --- a/services/mgmt/healthcareapis/src/package_2019_09/operations.rs +++ b/services/mgmt/healthcareapis/src/package_2019_09/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServicesDescription), @@ -211,7 +211,7 @@ pub mod services { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -277,7 +277,7 @@ pub mod services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -348,7 +348,7 @@ pub mod services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -421,7 +421,7 @@ pub mod services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -494,7 +494,7 @@ pub mod services { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -518,7 +518,7 @@ pub mod services { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.HealthcareApis/operations", operation_config.base_path(),); @@ -556,7 +556,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -580,7 +580,7 @@ pub mod operations { } } pub mod operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -636,7 +636,7 @@ pub mod operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationResultsDescription), diff --git a/services/mgmt/healthcareapis/src/package_2020_03/operations.rs b/services/mgmt/healthcareapis/src/package_2020_03/operations.rs index d36047fc51..b8ea1448d2 100644 --- a/services/mgmt/healthcareapis/src/package_2020_03/operations.rs +++ b/services/mgmt/healthcareapis/src/package_2020_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServicesDescription), @@ -211,7 +211,7 @@ pub mod services { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -277,7 +277,7 @@ pub mod services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -348,7 +348,7 @@ pub mod services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -421,7 +421,7 @@ pub mod services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -494,7 +494,7 @@ pub mod services { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -518,7 +518,7 @@ pub mod services { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.HealthcareApis/operations", operation_config.base_path(),); @@ -556,7 +556,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -580,7 +580,7 @@ pub mod operations { } } pub mod operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -636,7 +636,7 @@ pub mod operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationResultsDescription), diff --git a/services/mgmt/healthcareapis/src/package_2020_03_30/operations.rs b/services/mgmt/healthcareapis/src/package_2020_03_30/operations.rs index e347a585bf..d27df81924 100644 --- a/services/mgmt/healthcareapis/src/package_2020_03_30/operations.rs +++ b/services/mgmt/healthcareapis/src/package_2020_03_30/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServicesDescription), @@ -212,7 +212,7 @@ pub mod services { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServicesDescription), @@ -283,7 +283,7 @@ pub mod services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -354,7 +354,7 @@ pub mod services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -427,7 +427,7 @@ pub mod services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -500,7 +500,7 @@ pub mod services { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -524,7 +524,7 @@ pub mod services { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.HealthcareApis/operations", operation_config.base_path(),); @@ -562,7 +562,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -586,7 +586,7 @@ pub mod operations { } } pub mod operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -641,7 +641,7 @@ pub mod operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -667,7 +667,7 @@ pub mod operation_results { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -719,7 +719,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -791,7 +791,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -868,7 +868,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -937,7 +937,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -967,7 +967,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1019,7 +1019,7 @@ pub mod private_link_resources { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1091,7 +1091,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/healthcareapis/src/package_2021_01/operations.rs b/services/mgmt/healthcareapis/src/package_2021_01/operations.rs index fba518bd4f..ed420cc32f 100644 --- a/services/mgmt/healthcareapis/src/package_2021_01/operations.rs +++ b/services/mgmt/healthcareapis/src/package_2021_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServicesDescription), @@ -211,7 +211,7 @@ pub mod services { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -277,7 +277,7 @@ pub mod services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -348,7 +348,7 @@ pub mod services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -421,7 +421,7 @@ pub mod services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -494,7 +494,7 @@ pub mod services { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -518,7 +518,7 @@ pub mod services { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.HealthcareApis/operations", operation_config.base_path(),); @@ -556,7 +556,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -580,7 +580,7 @@ pub mod operations { } } pub mod operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -635,7 +635,7 @@ pub mod operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -661,7 +661,7 @@ pub mod operation_results { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -713,7 +713,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -785,7 +785,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -862,7 +862,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -931,7 +931,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -961,7 +961,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1013,7 +1013,7 @@ pub mod private_link_resources { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1085,7 +1085,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/healthcareapis/src/package_preview_2021_06/operations.rs b/services/mgmt/healthcareapis/src/package_preview_2021_06/operations.rs index bb720fc78c..a2e073b42b 100644 --- a/services/mgmt/healthcareapis/src/package_preview_2021_06/operations.rs +++ b/services/mgmt/healthcareapis/src/package_preview_2021_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServicesDescription), @@ -211,7 +211,7 @@ pub mod services { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -277,7 +277,7 @@ pub mod services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -348,7 +348,7 @@ pub mod services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -421,7 +421,7 @@ pub mod services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -494,7 +494,7 @@ pub mod services { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -518,7 +518,7 @@ pub mod services { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -570,7 +570,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -642,7 +642,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -719,7 +719,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -788,7 +788,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -818,7 +818,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -870,7 +870,7 @@ pub mod private_link_resources { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -942,7 +942,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -966,7 +966,7 @@ pub mod private_link_resources { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1014,7 +1014,7 @@ pub mod workspaces { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1087,7 +1087,7 @@ pub mod workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1157,7 +1157,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1244,7 +1244,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -1328,7 +1328,7 @@ pub mod workspaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -1400,7 +1400,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1430,7 +1430,7 @@ pub mod workspaces { } } pub mod dicom_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1482,7 +1482,7 @@ pub mod dicom_services { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1554,7 +1554,7 @@ pub mod dicom_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1643,7 +1643,7 @@ pub mod dicom_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DicomService), @@ -1729,7 +1729,7 @@ pub mod dicom_services { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DicomService), @@ -1803,7 +1803,7 @@ pub mod dicom_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1833,7 +1833,7 @@ pub mod dicom_services { } } pub mod iot_connectors { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1885,7 +1885,7 @@ pub mod iot_connectors { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1957,7 +1957,7 @@ pub mod iot_connectors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2046,7 +2046,7 @@ pub mod iot_connectors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IotConnector), @@ -2132,7 +2132,7 @@ pub mod iot_connectors { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IotConnector), @@ -2206,7 +2206,7 @@ pub mod iot_connectors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2236,7 +2236,7 @@ pub mod iot_connectors { } } pub mod fhir_destinations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_iot_connector( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2292,7 +2292,7 @@ pub mod fhir_destinations { } } pub mod list_by_iot_connector { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2316,7 +2316,7 @@ pub mod fhir_destinations { } } pub mod iot_connector_fhir_destination { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2369,7 +2369,7 @@ pub mod iot_connector_fhir_destination { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2460,7 +2460,7 @@ pub mod iot_connector_fhir_destination { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IotFhirDestination), @@ -2537,7 +2537,7 @@ pub mod iot_connector_fhir_destination { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2567,7 +2567,7 @@ pub mod iot_connector_fhir_destination { } } pub mod fhir_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2619,7 +2619,7 @@ pub mod fhir_services { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2691,7 +2691,7 @@ pub mod fhir_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2780,7 +2780,7 @@ pub mod fhir_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FhirService), @@ -2866,7 +2866,7 @@ pub mod fhir_services { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FhirService), @@ -2940,7 +2940,7 @@ pub mod fhir_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2970,7 +2970,7 @@ pub mod fhir_services { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.HealthcareApis/operations", operation_config.base_path(),); @@ -3008,7 +3008,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3032,7 +3032,7 @@ pub mod operations { } } pub mod operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3081,7 +3081,7 @@ pub mod operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/hybridcompute/Cargo.toml b/services/mgmt/hybridcompute/Cargo.toml index 716536c40f..6ba5a6c538 100644 --- a/services/mgmt/hybridcompute/Cargo.toml +++ b/services/mgmt/hybridcompute/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-05"] +no-default-version = [] "package-preview-2021-06" = [] "package-preview-2021-05" = [] "package-2021-05" = [] diff --git a/services/mgmt/hybridcompute/src/lib.rs b/services/mgmt/hybridcompute/src/lib.rs index 8e00e82696..29cc6e6dc8 100644 --- a/services/mgmt/hybridcompute/src/lib.rs +++ b/services/mgmt/hybridcompute/src/lib.rs @@ -1,53 +1,61 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-preview-2021-06")] -mod package_preview_2021_06; -#[cfg(feature = "package-preview-2021-06")] +pub mod package_preview_2021_06; +#[cfg(all(feature = "package-preview-2021-06", not(feature = "no-default-version")))] pub use package_preview_2021_06::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2021-05")] -mod package_preview_2021_05; -#[cfg(feature = "package-preview-2021-05")] +pub mod package_preview_2021_05; +#[cfg(all(feature = "package-preview-2021-05", not(feature = "no-default-version")))] pub use package_preview_2021_05::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-05")] -mod package_2021_05; -#[cfg(feature = "package-2021-05")] +pub mod package_2021_05; +#[cfg(all(feature = "package-2021-05", not(feature = "no-default-version")))] pub use package_2021_05::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2021-04")] -mod package_preview_2021_04; -#[cfg(feature = "package-preview-2021-04")] +pub mod package_preview_2021_04; +#[cfg(all(feature = "package-preview-2021-04", not(feature = "no-default-version")))] pub use package_preview_2021_04::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2021-03")] -mod package_preview_2021_03; -#[cfg(feature = "package-preview-2021-03")] +pub mod package_preview_2021_03; +#[cfg(all(feature = "package-preview-2021-03", not(feature = "no-default-version")))] pub use package_preview_2021_03::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2021-01")] -mod package_preview_2021_01; -#[cfg(feature = "package-preview-2021-01")] +pub mod package_preview_2021_01; +#[cfg(all(feature = "package-preview-2021-01", not(feature = "no-default-version")))] pub use package_preview_2021_01::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2020-08")] -mod package_preview_2020_08; -#[cfg(feature = "package-preview-2020-08")] +pub mod package_preview_2020_08; +#[cfg(all(feature = "package-preview-2020-08", not(feature = "no-default-version")))] pub use package_preview_2020_08::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-03")] -mod package_2019_03; -#[cfg(feature = "package-2019-03")] +pub mod package_2019_03; +#[cfg(all(feature = "package-2019-03", not(feature = "no-default-version")))] pub use package_2019_03::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-08")] -mod package_2019_08; -#[cfg(feature = "package-2019-08")] +pub mod package_2019_08; +#[cfg(all(feature = "package-2019-08", not(feature = "no-default-version")))] pub use package_2019_08::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-12")] -mod package_2019_12; -#[cfg(feature = "package-2019-12")] +pub mod package_2019_12; +#[cfg(all(feature = "package-2019-12", not(feature = "no-default-version")))] pub use package_2019_12::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-07-30-preview")] -mod package_2020_07_30_preview; -#[cfg(feature = "package-2020-07-30-preview")] +pub mod package_2020_07_30_preview; +#[cfg(all(feature = "package-2020-07-30-preview", not(feature = "no-default-version")))] pub use package_2020_07_30_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-08-02")] -mod package_2020_08_02; +pub mod package_2020_08_02; use azure_core::setters; -#[cfg(feature = "package-2020-08-02")] +#[cfg(all(feature = "package-2020-08-02", not(feature = "no-default-version")))] pub use package_2020_08_02::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -71,7 +79,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/hybridcompute/src/package_2019_03/operations.rs b/services/mgmt/hybridcompute/src/package_2019_03/operations.rs index 665b0da7a3..abc52c4134 100644 --- a/services/mgmt/hybridcompute/src/package_2019_03/operations.rs +++ b/services/mgmt/hybridcompute/src/package_2019_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod machines { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -57,7 +57,7 @@ pub mod machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -133,7 +133,7 @@ pub mod machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Machine), @@ -211,7 +211,7 @@ pub mod machines { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Machine), @@ -282,7 +282,7 @@ pub mod machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -362,7 +362,7 @@ pub mod machines { } } pub mod reconnect { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -435,7 +435,7 @@ pub mod machines { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -504,7 +504,7 @@ pub mod machines { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -528,7 +528,7 @@ pub mod machines { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.HybridCompute/operations", operation_config.base_path(),); @@ -566,7 +566,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/hybridcompute/src/package_2019_08/operations.rs b/services/mgmt/hybridcompute/src/package_2019_08/operations.rs index 97607a7cbb..877d9309c9 100644 --- a/services/mgmt/hybridcompute/src/package_2019_08/operations.rs +++ b/services/mgmt/hybridcompute/src/package_2019_08/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod machines { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -57,7 +57,7 @@ pub mod machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -132,7 +132,7 @@ pub mod machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -204,7 +204,7 @@ pub mod machines { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -270,7 +270,7 @@ pub mod machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -350,7 +350,7 @@ pub mod machines { } } pub mod reconnect { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -423,7 +423,7 @@ pub mod machines { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -492,7 +492,7 @@ pub mod machines { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -516,7 +516,7 @@ pub mod machines { } } pub mod machine_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -565,7 +565,7 @@ pub mod machine_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -638,7 +638,7 @@ pub mod machine_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MachineExtension), @@ -713,7 +713,7 @@ pub mod machine_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MachineExtension), @@ -782,7 +782,7 @@ pub mod machine_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -857,7 +857,7 @@ pub mod machine_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -878,7 +878,7 @@ pub mod machine_extensions { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.HybridCompute/operations", operation_config.base_path(),); @@ -916,7 +916,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/hybridcompute/src/package_2019_12/operations.rs b/services/mgmt/hybridcompute/src/package_2019_12/operations.rs index 97607a7cbb..877d9309c9 100644 --- a/services/mgmt/hybridcompute/src/package_2019_12/operations.rs +++ b/services/mgmt/hybridcompute/src/package_2019_12/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod machines { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -57,7 +57,7 @@ pub mod machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -132,7 +132,7 @@ pub mod machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -204,7 +204,7 @@ pub mod machines { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -270,7 +270,7 @@ pub mod machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -350,7 +350,7 @@ pub mod machines { } } pub mod reconnect { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -423,7 +423,7 @@ pub mod machines { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -492,7 +492,7 @@ pub mod machines { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -516,7 +516,7 @@ pub mod machines { } } pub mod machine_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -565,7 +565,7 @@ pub mod machine_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -638,7 +638,7 @@ pub mod machine_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MachineExtension), @@ -713,7 +713,7 @@ pub mod machine_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MachineExtension), @@ -782,7 +782,7 @@ pub mod machine_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -857,7 +857,7 @@ pub mod machine_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -878,7 +878,7 @@ pub mod machine_extensions { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.HybridCompute/operations", operation_config.base_path(),); @@ -916,7 +916,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/hybridcompute/src/package_2020_07_30_preview/operations.rs b/services/mgmt/hybridcompute/src/package_2020_07_30_preview/operations.rs index e0637d82aa..1ab2633e07 100644 --- a/services/mgmt/hybridcompute/src/package_2020_07_30_preview/operations.rs +++ b/services/mgmt/hybridcompute/src/package_2020_07_30_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod machines { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -57,7 +57,7 @@ pub mod machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -132,7 +132,7 @@ pub mod machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -204,7 +204,7 @@ pub mod machines { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -270,7 +270,7 @@ pub mod machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -348,7 +348,7 @@ pub mod machines { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -417,7 +417,7 @@ pub mod machines { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -441,7 +441,7 @@ pub mod machines { } } pub mod machine_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -490,7 +490,7 @@ pub mod machine_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -563,7 +563,7 @@ pub mod machine_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MachineExtension), @@ -638,7 +638,7 @@ pub mod machine_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MachineExtension), @@ -707,7 +707,7 @@ pub mod machine_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -782,7 +782,7 @@ pub mod machine_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -803,7 +803,7 @@ pub mod machine_extensions { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.HybridCompute/operations", operation_config.base_path(),); @@ -841,7 +841,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/hybridcompute/src/package_2020_08_02/operations.rs b/services/mgmt/hybridcompute/src/package_2020_08_02/operations.rs index e0637d82aa..1ab2633e07 100644 --- a/services/mgmt/hybridcompute/src/package_2020_08_02/operations.rs +++ b/services/mgmt/hybridcompute/src/package_2020_08_02/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod machines { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -57,7 +57,7 @@ pub mod machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -132,7 +132,7 @@ pub mod machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -204,7 +204,7 @@ pub mod machines { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -270,7 +270,7 @@ pub mod machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -348,7 +348,7 @@ pub mod machines { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -417,7 +417,7 @@ pub mod machines { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -441,7 +441,7 @@ pub mod machines { } } pub mod machine_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -490,7 +490,7 @@ pub mod machine_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -563,7 +563,7 @@ pub mod machine_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MachineExtension), @@ -638,7 +638,7 @@ pub mod machine_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MachineExtension), @@ -707,7 +707,7 @@ pub mod machine_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -782,7 +782,7 @@ pub mod machine_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -803,7 +803,7 @@ pub mod machine_extensions { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.HybridCompute/operations", operation_config.base_path(),); @@ -841,7 +841,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/hybridcompute/src/package_2021_05/operations.rs b/services/mgmt/hybridcompute/src/package_2021_05/operations.rs index c526b7007b..f7ef11490c 100644 --- a/services/mgmt/hybridcompute/src/package_2021_05/operations.rs +++ b/services/mgmt/hybridcompute/src/package_2021_05/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod machines { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -57,7 +57,7 @@ pub mod machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -132,7 +132,7 @@ pub mod machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -204,7 +204,7 @@ pub mod machines { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -270,7 +270,7 @@ pub mod machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -348,7 +348,7 @@ pub mod machines { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -417,7 +417,7 @@ pub mod machines { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -441,7 +441,7 @@ pub mod machines { } } pub mod machine_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -492,7 +492,7 @@ pub mod machine_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -570,7 +570,7 @@ pub mod machine_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MachineExtension), @@ -650,7 +650,7 @@ pub mod machine_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MachineExtension), @@ -724,7 +724,7 @@ pub mod machine_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -804,7 +804,7 @@ pub mod machine_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -875,7 +875,7 @@ pub async fn upgrade_extensions( } } pub mod upgrade_extensions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -898,7 +898,7 @@ pub mod upgrade_extensions { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.HybridCompute/operations", operation_config.base_path(),); @@ -936,7 +936,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -960,7 +960,7 @@ pub mod operations { } } pub mod private_link_scopes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1005,7 +1005,7 @@ pub mod private_link_scopes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1078,7 +1078,7 @@ pub mod private_link_scopes { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1148,7 +1148,7 @@ pub mod private_link_scopes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1229,7 +1229,7 @@ pub mod private_link_scopes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HybridComputePrivateLinkScope), @@ -1309,7 +1309,7 @@ pub mod private_link_scopes { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1376,7 +1376,7 @@ pub mod private_link_scopes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1457,7 +1457,7 @@ pub mod private_link_scopes { } } pub mod get_validation_details { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1532,7 +1532,7 @@ pub mod private_link_scopes { } } pub mod get_validation_details_for_machine { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1556,7 +1556,7 @@ pub mod private_link_scopes { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_private_link_scope( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1610,7 +1610,7 @@ pub mod private_link_resources { } } pub mod list_by_private_link_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1682,7 +1682,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1706,7 +1706,7 @@ pub mod private_link_resources { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1757,7 +1757,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1835,7 +1835,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -1909,7 +1909,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1990,7 +1990,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_private_link_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/hybridcompute/src/package_preview_2020_08/operations.rs b/services/mgmt/hybridcompute/src/package_preview_2020_08/operations.rs index 0dcc6a69fd..3022841173 100644 --- a/services/mgmt/hybridcompute/src/package_preview_2020_08/operations.rs +++ b/services/mgmt/hybridcompute/src/package_preview_2020_08/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod machines { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -57,7 +57,7 @@ pub mod machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -132,7 +132,7 @@ pub mod machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -204,7 +204,7 @@ pub mod machines { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -270,7 +270,7 @@ pub mod machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -350,7 +350,7 @@ pub mod machines { } } pub mod assess_patches { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MachineAssessPatchesResult), @@ -431,7 +431,7 @@ pub mod machines { } } pub mod install_patches { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MachineInstallPatchesResult), @@ -509,7 +509,7 @@ pub mod machines { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -578,7 +578,7 @@ pub mod machines { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -602,7 +602,7 @@ pub mod machines { } } pub mod machine_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -651,7 +651,7 @@ pub mod machine_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -724,7 +724,7 @@ pub mod machine_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MachineExtension), @@ -799,7 +799,7 @@ pub mod machine_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MachineExtension), @@ -868,7 +868,7 @@ pub mod machine_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -943,7 +943,7 @@ pub mod machine_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -964,7 +964,7 @@ pub mod machine_extensions { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.HybridCompute/operations", operation_config.base_path(),); @@ -1002,7 +1002,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1026,7 +1026,7 @@ pub mod operations { } } pub mod private_link_scopes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1071,7 +1071,7 @@ pub mod private_link_scopes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1144,7 +1144,7 @@ pub mod private_link_scopes { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1214,7 +1214,7 @@ pub mod private_link_scopes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1295,7 +1295,7 @@ pub mod private_link_scopes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HybridComputePrivateLinkScope), @@ -1375,7 +1375,7 @@ pub mod private_link_scopes { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1442,7 +1442,7 @@ pub mod private_link_scopes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1472,7 +1472,7 @@ pub mod private_link_scopes { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_private_link_scope( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1526,7 +1526,7 @@ pub mod private_link_resources { } } pub mod list_by_private_link_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1598,7 +1598,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1622,7 +1622,7 @@ pub mod private_link_resources { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1673,7 +1673,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1751,7 +1751,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -1825,7 +1825,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1906,7 +1906,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_private_link_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1930,7 +1930,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_scoped_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1981,7 +1981,7 @@ pub mod private_link_scoped_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2065,7 +2065,7 @@ pub mod private_link_scoped_resources { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ScopedResource), @@ -2140,7 +2140,7 @@ pub mod private_link_scoped_resources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2221,7 +2221,7 @@ pub mod private_link_scoped_resources { } } pub mod list_by_private_link_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/hybridcompute/src/package_preview_2021_01/operations.rs b/services/mgmt/hybridcompute/src/package_preview_2021_01/operations.rs index 9773f87e11..58f6d9a127 100644 --- a/services/mgmt/hybridcompute/src/package_preview_2021_01/operations.rs +++ b/services/mgmt/hybridcompute/src/package_preview_2021_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod machines { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -57,7 +57,7 @@ pub mod machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -132,7 +132,7 @@ pub mod machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -204,7 +204,7 @@ pub mod machines { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -270,7 +270,7 @@ pub mod machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -348,7 +348,7 @@ pub mod machines { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -417,7 +417,7 @@ pub mod machines { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -441,7 +441,7 @@ pub mod machines { } } pub mod machine_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -492,7 +492,7 @@ pub mod machine_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -570,7 +570,7 @@ pub mod machine_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MachineExtension), @@ -650,7 +650,7 @@ pub mod machine_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MachineExtension), @@ -724,7 +724,7 @@ pub mod machine_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -804,7 +804,7 @@ pub mod machine_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -828,7 +828,7 @@ pub mod machine_extensions { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.HybridCompute/operations", operation_config.base_path(),); @@ -866,7 +866,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -890,7 +890,7 @@ pub mod operations { } } pub mod private_link_scopes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -935,7 +935,7 @@ pub mod private_link_scopes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1008,7 +1008,7 @@ pub mod private_link_scopes { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1078,7 +1078,7 @@ pub mod private_link_scopes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1159,7 +1159,7 @@ pub mod private_link_scopes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HybridComputePrivateLinkScope), @@ -1239,7 +1239,7 @@ pub mod private_link_scopes { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1306,7 +1306,7 @@ pub mod private_link_scopes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1387,7 +1387,7 @@ pub mod private_link_scopes { } } pub mod get_validation_details { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1462,7 +1462,7 @@ pub mod private_link_scopes { } } pub mod get_validation_details_for_machine { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1486,7 +1486,7 @@ pub mod private_link_scopes { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_private_link_scope( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1540,7 +1540,7 @@ pub mod private_link_resources { } } pub mod list_by_private_link_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1612,7 +1612,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1636,7 +1636,7 @@ pub mod private_link_resources { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1687,7 +1687,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1765,7 +1765,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -1839,7 +1839,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1920,7 +1920,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_private_link_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/hybridcompute/src/package_preview_2021_03/operations.rs b/services/mgmt/hybridcompute/src/package_preview_2021_03/operations.rs index 9773f87e11..58f6d9a127 100644 --- a/services/mgmt/hybridcompute/src/package_preview_2021_03/operations.rs +++ b/services/mgmt/hybridcompute/src/package_preview_2021_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod machines { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -57,7 +57,7 @@ pub mod machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -132,7 +132,7 @@ pub mod machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -204,7 +204,7 @@ pub mod machines { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -270,7 +270,7 @@ pub mod machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -348,7 +348,7 @@ pub mod machines { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -417,7 +417,7 @@ pub mod machines { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -441,7 +441,7 @@ pub mod machines { } } pub mod machine_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -492,7 +492,7 @@ pub mod machine_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -570,7 +570,7 @@ pub mod machine_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MachineExtension), @@ -650,7 +650,7 @@ pub mod machine_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MachineExtension), @@ -724,7 +724,7 @@ pub mod machine_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -804,7 +804,7 @@ pub mod machine_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -828,7 +828,7 @@ pub mod machine_extensions { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.HybridCompute/operations", operation_config.base_path(),); @@ -866,7 +866,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -890,7 +890,7 @@ pub mod operations { } } pub mod private_link_scopes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -935,7 +935,7 @@ pub mod private_link_scopes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1008,7 +1008,7 @@ pub mod private_link_scopes { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1078,7 +1078,7 @@ pub mod private_link_scopes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1159,7 +1159,7 @@ pub mod private_link_scopes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HybridComputePrivateLinkScope), @@ -1239,7 +1239,7 @@ pub mod private_link_scopes { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1306,7 +1306,7 @@ pub mod private_link_scopes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1387,7 +1387,7 @@ pub mod private_link_scopes { } } pub mod get_validation_details { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1462,7 +1462,7 @@ pub mod private_link_scopes { } } pub mod get_validation_details_for_machine { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1486,7 +1486,7 @@ pub mod private_link_scopes { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_private_link_scope( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1540,7 +1540,7 @@ pub mod private_link_resources { } } pub mod list_by_private_link_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1612,7 +1612,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1636,7 +1636,7 @@ pub mod private_link_resources { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1687,7 +1687,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1765,7 +1765,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -1839,7 +1839,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1920,7 +1920,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_private_link_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/hybridcompute/src/package_preview_2021_04/operations.rs b/services/mgmt/hybridcompute/src/package_preview_2021_04/operations.rs index c526b7007b..f7ef11490c 100644 --- a/services/mgmt/hybridcompute/src/package_preview_2021_04/operations.rs +++ b/services/mgmt/hybridcompute/src/package_preview_2021_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod machines { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -57,7 +57,7 @@ pub mod machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -132,7 +132,7 @@ pub mod machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -204,7 +204,7 @@ pub mod machines { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -270,7 +270,7 @@ pub mod machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -348,7 +348,7 @@ pub mod machines { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -417,7 +417,7 @@ pub mod machines { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -441,7 +441,7 @@ pub mod machines { } } pub mod machine_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -492,7 +492,7 @@ pub mod machine_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -570,7 +570,7 @@ pub mod machine_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MachineExtension), @@ -650,7 +650,7 @@ pub mod machine_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MachineExtension), @@ -724,7 +724,7 @@ pub mod machine_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -804,7 +804,7 @@ pub mod machine_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -875,7 +875,7 @@ pub async fn upgrade_extensions( } } pub mod upgrade_extensions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -898,7 +898,7 @@ pub mod upgrade_extensions { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.HybridCompute/operations", operation_config.base_path(),); @@ -936,7 +936,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -960,7 +960,7 @@ pub mod operations { } } pub mod private_link_scopes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1005,7 +1005,7 @@ pub mod private_link_scopes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1078,7 +1078,7 @@ pub mod private_link_scopes { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1148,7 +1148,7 @@ pub mod private_link_scopes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1229,7 +1229,7 @@ pub mod private_link_scopes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HybridComputePrivateLinkScope), @@ -1309,7 +1309,7 @@ pub mod private_link_scopes { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1376,7 +1376,7 @@ pub mod private_link_scopes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1457,7 +1457,7 @@ pub mod private_link_scopes { } } pub mod get_validation_details { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1532,7 +1532,7 @@ pub mod private_link_scopes { } } pub mod get_validation_details_for_machine { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1556,7 +1556,7 @@ pub mod private_link_scopes { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_private_link_scope( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1610,7 +1610,7 @@ pub mod private_link_resources { } } pub mod list_by_private_link_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1682,7 +1682,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1706,7 +1706,7 @@ pub mod private_link_resources { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1757,7 +1757,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1835,7 +1835,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -1909,7 +1909,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1990,7 +1990,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_private_link_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/hybridcompute/src/package_preview_2021_05/operations.rs b/services/mgmt/hybridcompute/src/package_preview_2021_05/operations.rs index c526b7007b..f7ef11490c 100644 --- a/services/mgmt/hybridcompute/src/package_preview_2021_05/operations.rs +++ b/services/mgmt/hybridcompute/src/package_preview_2021_05/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod machines { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -57,7 +57,7 @@ pub mod machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -132,7 +132,7 @@ pub mod machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -204,7 +204,7 @@ pub mod machines { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -270,7 +270,7 @@ pub mod machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -348,7 +348,7 @@ pub mod machines { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -417,7 +417,7 @@ pub mod machines { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -441,7 +441,7 @@ pub mod machines { } } pub mod machine_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -492,7 +492,7 @@ pub mod machine_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -570,7 +570,7 @@ pub mod machine_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MachineExtension), @@ -650,7 +650,7 @@ pub mod machine_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MachineExtension), @@ -724,7 +724,7 @@ pub mod machine_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -804,7 +804,7 @@ pub mod machine_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -875,7 +875,7 @@ pub async fn upgrade_extensions( } } pub mod upgrade_extensions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -898,7 +898,7 @@ pub mod upgrade_extensions { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.HybridCompute/operations", operation_config.base_path(),); @@ -936,7 +936,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -960,7 +960,7 @@ pub mod operations { } } pub mod private_link_scopes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1005,7 +1005,7 @@ pub mod private_link_scopes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1078,7 +1078,7 @@ pub mod private_link_scopes { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1148,7 +1148,7 @@ pub mod private_link_scopes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1229,7 +1229,7 @@ pub mod private_link_scopes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HybridComputePrivateLinkScope), @@ -1309,7 +1309,7 @@ pub mod private_link_scopes { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1376,7 +1376,7 @@ pub mod private_link_scopes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1457,7 +1457,7 @@ pub mod private_link_scopes { } } pub mod get_validation_details { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1532,7 +1532,7 @@ pub mod private_link_scopes { } } pub mod get_validation_details_for_machine { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1556,7 +1556,7 @@ pub mod private_link_scopes { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_private_link_scope( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1610,7 +1610,7 @@ pub mod private_link_resources { } } pub mod list_by_private_link_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1682,7 +1682,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1706,7 +1706,7 @@ pub mod private_link_resources { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1757,7 +1757,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1835,7 +1835,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -1909,7 +1909,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1990,7 +1990,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_private_link_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/hybridcompute/src/package_preview_2021_06/operations.rs b/services/mgmt/hybridcompute/src/package_preview_2021_06/operations.rs index c526b7007b..f7ef11490c 100644 --- a/services/mgmt/hybridcompute/src/package_preview_2021_06/operations.rs +++ b/services/mgmt/hybridcompute/src/package_preview_2021_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod machines { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -57,7 +57,7 @@ pub mod machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -132,7 +132,7 @@ pub mod machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -204,7 +204,7 @@ pub mod machines { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -270,7 +270,7 @@ pub mod machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -348,7 +348,7 @@ pub mod machines { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -417,7 +417,7 @@ pub mod machines { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -441,7 +441,7 @@ pub mod machines { } } pub mod machine_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -492,7 +492,7 @@ pub mod machine_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -570,7 +570,7 @@ pub mod machine_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MachineExtension), @@ -650,7 +650,7 @@ pub mod machine_extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MachineExtension), @@ -724,7 +724,7 @@ pub mod machine_extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -804,7 +804,7 @@ pub mod machine_extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -875,7 +875,7 @@ pub async fn upgrade_extensions( } } pub mod upgrade_extensions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -898,7 +898,7 @@ pub mod upgrade_extensions { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.HybridCompute/operations", operation_config.base_path(),); @@ -936,7 +936,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -960,7 +960,7 @@ pub mod operations { } } pub mod private_link_scopes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1005,7 +1005,7 @@ pub mod private_link_scopes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1078,7 +1078,7 @@ pub mod private_link_scopes { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1148,7 +1148,7 @@ pub mod private_link_scopes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1229,7 +1229,7 @@ pub mod private_link_scopes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HybridComputePrivateLinkScope), @@ -1309,7 +1309,7 @@ pub mod private_link_scopes { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1376,7 +1376,7 @@ pub mod private_link_scopes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1457,7 +1457,7 @@ pub mod private_link_scopes { } } pub mod get_validation_details { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1532,7 +1532,7 @@ pub mod private_link_scopes { } } pub mod get_validation_details_for_machine { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1556,7 +1556,7 @@ pub mod private_link_scopes { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_private_link_scope( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1610,7 +1610,7 @@ pub mod private_link_resources { } } pub mod list_by_private_link_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1682,7 +1682,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1706,7 +1706,7 @@ pub mod private_link_resources { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1757,7 +1757,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1835,7 +1835,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -1909,7 +1909,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1990,7 +1990,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_private_link_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/hybridconnectivity/Cargo.toml b/services/mgmt/hybridconnectivity/Cargo.toml index 0d7c827acc..92e5a11202 100644 --- a/services/mgmt/hybridconnectivity/Cargo.toml +++ b/services/mgmt/hybridconnectivity/Cargo.toml @@ -20,4 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-10-06-preview"] +no-default-version = [] "package-2021-10-06-preview" = [] diff --git a/services/mgmt/hybridconnectivity/src/lib.rs b/services/mgmt/hybridconnectivity/src/lib.rs index 4a328b1826..194e25e920 100644 --- a/services/mgmt/hybridconnectivity/src/lib.rs +++ b/services/mgmt/hybridconnectivity/src/lib.rs @@ -1,9 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-10-06-preview")] -mod package_2021_10_06_preview; +pub mod package_2021_10_06_preview; use azure_core::setters; -#[cfg(feature = "package-2021-10-06-preview")] +#[cfg(all(feature = "package-2021-10-06-preview", not(feature = "no-default-version")))] pub use package_2021_10_06_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -27,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/hybridconnectivity/src/package_2021_10_06_preview/operations.rs b/services/mgmt/hybridconnectivity/src/package_2021_10_06_preview/operations.rs index b151c5f18e..bf01799d80 100644 --- a/services/mgmt/hybridconnectivity/src/package_2021_10_06_preview/operations.rs +++ b/services/mgmt/hybridconnectivity/src/package_2021_10_06_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.HybridConnectivity/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, resource_uri: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -108,7 +108,7 @@ pub mod endpoints { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -176,7 +176,7 @@ pub mod endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -249,7 +249,7 @@ pub mod endpoints { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -319,7 +319,7 @@ pub mod endpoints { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -383,7 +383,7 @@ pub mod endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -464,7 +464,7 @@ pub mod endpoints { } } pub mod list_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/hybriddatamanager/Cargo.toml b/services/mgmt/hybriddatamanager/Cargo.toml index cfffb173c6..b911cbf372 100644 --- a/services/mgmt/hybriddatamanager/Cargo.toml +++ b/services/mgmt/hybriddatamanager/Cargo.toml @@ -20,5 +20,6 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2019-06"] +no-default-version = [] "package-2019-06" = [] "package-2016-06" = [] diff --git a/services/mgmt/hybriddatamanager/src/lib.rs b/services/mgmt/hybriddatamanager/src/lib.rs index 0e16acf80a..37a3802658 100644 --- a/services/mgmt/hybriddatamanager/src/lib.rs +++ b/services/mgmt/hybriddatamanager/src/lib.rs @@ -1,13 +1,21 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2019-06")] -mod package_2019_06; -#[cfg(feature = "package-2019-06")] +pub mod package_2019_06; +#[cfg(all(feature = "package-2019-06", not(feature = "no-default-version")))] pub use package_2019_06::{models, operations, API_VERSION}; #[cfg(feature = "package-2016-06")] -mod package_2016_06; +pub mod package_2016_06; use azure_core::setters; -#[cfg(feature = "package-2016-06")] +#[cfg(all(feature = "package-2016-06", not(feature = "no-default-version")))] pub use package_2016_06::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -31,7 +39,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/hybriddatamanager/src/package_2016_06/operations.rs b/services/mgmt/hybriddatamanager/src/package_2016_06/operations.rs index 4d740337c4..c8227f7922 100644 --- a/services/mgmt/hybriddatamanager/src/package_2016_06/operations.rs +++ b/services/mgmt/hybriddatamanager/src/package_2016_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.HybridData/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod data_managers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -104,7 +104,7 @@ pub mod data_managers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -172,7 +172,7 @@ pub mod data_managers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -237,7 +237,7 @@ pub mod data_managers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -305,7 +305,7 @@ pub mod data_managers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataManager), @@ -382,7 +382,7 @@ pub mod data_managers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataManager), @@ -448,7 +448,7 @@ pub mod data_managers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -474,7 +474,7 @@ pub mod data_managers { } } pub mod data_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_manager( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -524,7 +524,7 @@ pub mod data_services { } } pub mod list_by_data_manager { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -591,7 +591,7 @@ pub mod data_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -612,7 +612,7 @@ pub mod data_services { } } pub mod job_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_service( operation_config: &crate::OperationConfig, data_service_name: &str, @@ -668,7 +668,7 @@ pub mod job_definitions { } } pub mod list_by_data_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -737,7 +737,7 @@ pub mod job_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -812,7 +812,7 @@ pub mod job_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobDefinition), @@ -882,7 +882,7 @@ pub mod job_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -954,7 +954,7 @@ pub mod job_definitions { } } pub mod run { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1031,7 +1031,7 @@ pub mod job_definitions { } } pub mod list_by_data_manager { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1052,7 +1052,7 @@ pub mod job_definitions { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_job_definition( operation_config: &crate::OperationConfig, data_service_name: &str, @@ -1112,7 +1112,7 @@ pub mod jobs { } } pub mod list_by_job_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1178,7 +1178,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1237,7 +1237,7 @@ pub mod jobs { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1301,7 +1301,7 @@ pub mod jobs { } } pub mod resume { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1380,7 +1380,7 @@ pub mod jobs { } } pub mod list_by_data_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1452,7 +1452,7 @@ pub mod jobs { } } pub mod list_by_data_manager { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1473,7 +1473,7 @@ pub mod jobs { } } pub mod data_stores { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_manager( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1527,7 +1527,7 @@ pub mod data_stores { } } pub mod list_by_data_manager { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1594,7 +1594,7 @@ pub mod data_stores { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1667,7 +1667,7 @@ pub mod data_stores { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataStore), @@ -1735,7 +1735,7 @@ pub mod data_stores { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1761,7 +1761,7 @@ pub mod data_stores { } } pub mod data_store_types { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_manager( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1811,7 +1811,7 @@ pub mod data_store_types { } } pub mod list_by_data_manager { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1878,7 +1878,7 @@ pub mod data_store_types { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1899,7 +1899,7 @@ pub mod data_store_types { } } pub mod public_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_manager( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1949,7 +1949,7 @@ pub mod public_keys { } } pub mod list_by_data_manager { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2016,7 +2016,7 @@ pub mod public_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/hybriddatamanager/src/package_2019_06/operations.rs b/services/mgmt/hybriddatamanager/src/package_2019_06/operations.rs index 4d740337c4..c8227f7922 100644 --- a/services/mgmt/hybriddatamanager/src/package_2019_06/operations.rs +++ b/services/mgmt/hybriddatamanager/src/package_2019_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.HybridData/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod data_managers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -104,7 +104,7 @@ pub mod data_managers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -172,7 +172,7 @@ pub mod data_managers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -237,7 +237,7 @@ pub mod data_managers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -305,7 +305,7 @@ pub mod data_managers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataManager), @@ -382,7 +382,7 @@ pub mod data_managers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataManager), @@ -448,7 +448,7 @@ pub mod data_managers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -474,7 +474,7 @@ pub mod data_managers { } } pub mod data_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_manager( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -524,7 +524,7 @@ pub mod data_services { } } pub mod list_by_data_manager { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -591,7 +591,7 @@ pub mod data_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -612,7 +612,7 @@ pub mod data_services { } } pub mod job_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_service( operation_config: &crate::OperationConfig, data_service_name: &str, @@ -668,7 +668,7 @@ pub mod job_definitions { } } pub mod list_by_data_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -737,7 +737,7 @@ pub mod job_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -812,7 +812,7 @@ pub mod job_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobDefinition), @@ -882,7 +882,7 @@ pub mod job_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -954,7 +954,7 @@ pub mod job_definitions { } } pub mod run { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1031,7 +1031,7 @@ pub mod job_definitions { } } pub mod list_by_data_manager { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1052,7 +1052,7 @@ pub mod job_definitions { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_job_definition( operation_config: &crate::OperationConfig, data_service_name: &str, @@ -1112,7 +1112,7 @@ pub mod jobs { } } pub mod list_by_job_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1178,7 +1178,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1237,7 +1237,7 @@ pub mod jobs { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1301,7 +1301,7 @@ pub mod jobs { } } pub mod resume { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1380,7 +1380,7 @@ pub mod jobs { } } pub mod list_by_data_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1452,7 +1452,7 @@ pub mod jobs { } } pub mod list_by_data_manager { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1473,7 +1473,7 @@ pub mod jobs { } } pub mod data_stores { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_manager( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1527,7 +1527,7 @@ pub mod data_stores { } } pub mod list_by_data_manager { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1594,7 +1594,7 @@ pub mod data_stores { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1667,7 +1667,7 @@ pub mod data_stores { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataStore), @@ -1735,7 +1735,7 @@ pub mod data_stores { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1761,7 +1761,7 @@ pub mod data_stores { } } pub mod data_store_types { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_manager( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1811,7 +1811,7 @@ pub mod data_store_types { } } pub mod list_by_data_manager { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1878,7 +1878,7 @@ pub mod data_store_types { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1899,7 +1899,7 @@ pub mod data_store_types { } } pub mod public_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_data_manager( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1949,7 +1949,7 @@ pub mod public_keys { } } pub mod list_by_data_manager { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2016,7 +2016,7 @@ pub mod public_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/hybridkubernetes/Cargo.toml b/services/mgmt/hybridkubernetes/Cargo.toml index dee9cde1a1..7ba4366ddd 100644 --- a/services/mgmt/hybridkubernetes/Cargo.toml +++ b/services/mgmt/hybridkubernetes/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-03-01"] +no-default-version = [] "package-2020-01-01-preview" = [] "package-2021-04-01-preview" = [] "package-2021-03-01" = [] diff --git a/services/mgmt/hybridkubernetes/src/lib.rs b/services/mgmt/hybridkubernetes/src/lib.rs index 4d894980ff..c7ebf68e72 100644 --- a/services/mgmt/hybridkubernetes/src/lib.rs +++ b/services/mgmt/hybridkubernetes/src/lib.rs @@ -1,21 +1,29 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2020-01-01-preview")] -mod package_2020_01_01_preview; -#[cfg(feature = "package-2020-01-01-preview")] +pub mod package_2020_01_01_preview; +#[cfg(all(feature = "package-2020-01-01-preview", not(feature = "no-default-version")))] pub use package_2020_01_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-04-01-preview")] -mod package_2021_04_01_preview; -#[cfg(feature = "package-2021-04-01-preview")] +pub mod package_2021_04_01_preview; +#[cfg(all(feature = "package-2021-04-01-preview", not(feature = "no-default-version")))] pub use package_2021_04_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-03-01")] -mod package_2021_03_01; -#[cfg(feature = "package-2021-03-01")] +pub mod package_2021_03_01; +#[cfg(all(feature = "package-2021-03-01", not(feature = "no-default-version")))] pub use package_2021_03_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-10-01")] -mod package_2021_10_01; +pub mod package_2021_10_01; use azure_core::setters; -#[cfg(feature = "package-2021-10-01")] +#[cfg(all(feature = "package-2021-10-01", not(feature = "no-default-version")))] pub use package_2021_10_01::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -39,7 +47,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/hybridkubernetes/src/package_2020_01_01_preview/operations.rs b/services/mgmt/hybridkubernetes/src/package_2020_01_01_preview/operations.rs index cc9b7aa779..a5391014fc 100644 --- a/services/mgmt/hybridkubernetes/src/package_2020_01_01_preview/operations.rs +++ b/services/mgmt/hybridkubernetes/src/package_2020_01_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod connected_cluster { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod connected_cluster { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -131,7 +131,7 @@ pub mod connected_cluster { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectedCluster), @@ -208,7 +208,7 @@ pub mod connected_cluster { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -275,7 +275,7 @@ pub mod connected_cluster { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -366,7 +366,7 @@ pub mod connected_cluster { } } pub mod list_cluster_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -439,7 +439,7 @@ pub mod connected_cluster { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -508,7 +508,7 @@ pub mod connected_cluster { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -532,7 +532,7 @@ pub mod connected_cluster { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Kubernetes/operations", operation_config.base_path(),); @@ -570,7 +570,7 @@ pub mod operations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/hybridkubernetes/src/package_2021_03_01/operations.rs b/services/mgmt/hybridkubernetes/src/package_2021_03_01/operations.rs index 48877cfaf9..bb50e60de0 100644 --- a/services/mgmt/hybridkubernetes/src/package_2021_03_01/operations.rs +++ b/services/mgmt/hybridkubernetes/src/package_2021_03_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod connected_cluster { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod connected_cluster { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -131,7 +131,7 @@ pub mod connected_cluster { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectedCluster), @@ -208,7 +208,7 @@ pub mod connected_cluster { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -275,7 +275,7 @@ pub mod connected_cluster { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -354,7 +354,7 @@ pub mod connected_cluster { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -423,7 +423,7 @@ pub mod connected_cluster { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -447,7 +447,7 @@ pub mod connected_cluster { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Kubernetes/operations", operation_config.base_path(),); @@ -485,7 +485,7 @@ pub mod operations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/hybridkubernetes/src/package_2021_04_01_preview/operations.rs b/services/mgmt/hybridkubernetes/src/package_2021_04_01_preview/operations.rs index 1a8e53c783..732288617a 100644 --- a/services/mgmt/hybridkubernetes/src/package_2021_04_01_preview/operations.rs +++ b/services/mgmt/hybridkubernetes/src/package_2021_04_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod connected_cluster { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod connected_cluster { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -131,7 +131,7 @@ pub mod connected_cluster { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectedCluster), @@ -209,7 +209,7 @@ pub mod connected_cluster { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectedCluster), @@ -281,7 +281,7 @@ pub mod connected_cluster { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -364,7 +364,7 @@ pub mod connected_cluster { } } pub mod list_cluster_user_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -437,7 +437,7 @@ pub mod connected_cluster { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -506,7 +506,7 @@ pub mod connected_cluster { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -530,7 +530,7 @@ pub mod connected_cluster { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Kubernetes/operations", operation_config.base_path(),); @@ -568,7 +568,7 @@ pub mod operations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/hybridkubernetes/src/package_2021_10_01/operations.rs b/services/mgmt/hybridkubernetes/src/package_2021_10_01/operations.rs index 5b40f2231e..d502da76f2 100644 --- a/services/mgmt/hybridkubernetes/src/package_2021_10_01/operations.rs +++ b/services/mgmt/hybridkubernetes/src/package_2021_10_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod connected_cluster { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod connected_cluster { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -131,7 +131,7 @@ pub mod connected_cluster { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectedCluster), @@ -208,7 +208,7 @@ pub mod connected_cluster { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -275,7 +275,7 @@ pub mod connected_cluster { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -358,7 +358,7 @@ pub mod connected_cluster { } } pub mod list_cluster_user_credential { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -431,7 +431,7 @@ pub mod connected_cluster { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -500,7 +500,7 @@ pub mod connected_cluster { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -524,7 +524,7 @@ pub mod connected_cluster { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Kubernetes/operations", operation_config.base_path(),); @@ -562,7 +562,7 @@ pub mod operations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/hybridnetwork/Cargo.toml b/services/mgmt/hybridnetwork/Cargo.toml index 9e68c1f868..eb696535cf 100644 --- a/services/mgmt/hybridnetwork/Cargo.toml +++ b/services/mgmt/hybridnetwork/Cargo.toml @@ -20,5 +20,6 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-05-01"] +no-default-version = [] "package-2021-05-01" = [] "package-2020-01-01-preview" = [] diff --git a/services/mgmt/hybridnetwork/src/lib.rs b/services/mgmt/hybridnetwork/src/lib.rs index 438753d813..5be7459f48 100644 --- a/services/mgmt/hybridnetwork/src/lib.rs +++ b/services/mgmt/hybridnetwork/src/lib.rs @@ -1,13 +1,21 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-05-01")] -mod package_2021_05_01; -#[cfg(feature = "package-2021-05-01")] +pub mod package_2021_05_01; +#[cfg(all(feature = "package-2021-05-01", not(feature = "no-default-version")))] pub use package_2021_05_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-01-01-preview")] -mod package_2020_01_01_preview; +pub mod package_2020_01_01_preview; use azure_core::setters; -#[cfg(feature = "package-2020-01-01-preview")] +#[cfg(all(feature = "package-2020-01-01-preview", not(feature = "no-default-version")))] pub use package_2020_01_01_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -31,7 +39,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/hybridnetwork/src/package_2020_01_01_preview/operations.rs b/services/mgmt/hybridnetwork/src/package_2020_01_01_preview/operations.rs index fbd69e8733..6a11ac68c4 100644 --- a/services/mgmt/hybridnetwork/src/package_2020_01_01_preview/operations.rs +++ b/services/mgmt/hybridnetwork/src/package_2020_01_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod network_functions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod network_functions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod network_functions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkFunction), @@ -214,7 +214,7 @@ pub mod network_functions { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -281,7 +281,7 @@ pub mod network_functions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -356,7 +356,7 @@ pub mod network_functions { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -429,7 +429,7 @@ pub mod network_functions { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -453,7 +453,7 @@ pub mod network_functions { } } pub mod devices { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -502,7 +502,7 @@ pub mod devices { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -583,7 +583,7 @@ pub mod devices { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Device), @@ -663,7 +663,7 @@ pub mod devices { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -730,7 +730,7 @@ pub mod devices { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -805,7 +805,7 @@ pub mod devices { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -878,7 +878,7 @@ pub mod devices { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -954,7 +954,7 @@ pub mod devices { } } pub mod list_registration_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -978,7 +978,7 @@ pub mod devices { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.HybridNetwork/operations", operation_config.base_path(),); @@ -1016,7 +1016,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1040,7 +1040,7 @@ pub mod operations { } } pub mod vendors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vendor_name: &str, @@ -1087,7 +1087,7 @@ pub mod vendors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1170,7 +1170,7 @@ pub mod vendors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Vendor), @@ -1240,7 +1240,7 @@ pub mod vendors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1315,7 +1315,7 @@ pub mod vendors { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1339,7 +1339,7 @@ pub mod vendors { } } pub mod vendor_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vendor_name: &str, @@ -1388,7 +1388,7 @@ pub mod vendor_skus { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1469,7 +1469,7 @@ pub mod vendor_skus { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VendorSku), @@ -1541,7 +1541,7 @@ pub mod vendor_skus { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1615,7 +1615,7 @@ pub mod vendor_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1639,7 +1639,7 @@ pub mod vendor_skus { } } pub mod vendor_sku_preview { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vendor_name: &str, @@ -1688,7 +1688,7 @@ pub mod vendor_sku_preview { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1760,7 +1760,7 @@ pub mod vendor_sku_preview { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1843,7 +1843,7 @@ pub mod vendor_sku_preview { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PreviewSubscription), @@ -1917,7 +1917,7 @@ pub mod vendor_sku_preview { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1947,7 +1947,7 @@ pub mod vendor_sku_preview { } } pub mod network_function_vendors { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1992,7 +1992,7 @@ pub mod network_function_vendors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2016,7 +2016,7 @@ pub mod network_function_vendors { } } pub mod network_function_vendor_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_vendor( operation_config: &crate::OperationConfig, vendor_name: &str, @@ -2066,7 +2066,7 @@ pub mod network_function_vendor_skus { } } pub mod list_by_vendor { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2139,7 +2139,7 @@ pub mod network_function_vendor_skus { } } pub mod list_by_sku { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2163,7 +2163,7 @@ pub mod network_function_vendor_skus { } } pub mod vendor_network_functions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location_name: &str, @@ -2214,7 +2214,7 @@ pub mod vendor_network_functions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2297,7 +2297,7 @@ pub mod vendor_network_functions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VendorNetworkFunction), @@ -2376,7 +2376,7 @@ pub mod vendor_network_functions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2400,7 +2400,7 @@ pub mod vendor_network_functions { } } pub mod role_instances { - use crate::models::*; + use super::{models, models::*}; pub async fn start( operation_config: &crate::OperationConfig, location_name: &str, @@ -2450,7 +2450,7 @@ pub mod role_instances { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2526,7 +2526,7 @@ pub mod role_instances { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2605,7 +2605,7 @@ pub mod role_instances { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2684,7 +2684,7 @@ pub mod role_instances { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2756,7 +2756,7 @@ pub mod role_instances { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/hybridnetwork/src/package_2021_05_01/operations.rs b/services/mgmt/hybridnetwork/src/package_2021_05_01/operations.rs index fbd69e8733..6a11ac68c4 100644 --- a/services/mgmt/hybridnetwork/src/package_2021_05_01/operations.rs +++ b/services/mgmt/hybridnetwork/src/package_2021_05_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod network_functions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod network_functions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod network_functions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkFunction), @@ -214,7 +214,7 @@ pub mod network_functions { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -281,7 +281,7 @@ pub mod network_functions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -356,7 +356,7 @@ pub mod network_functions { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -429,7 +429,7 @@ pub mod network_functions { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -453,7 +453,7 @@ pub mod network_functions { } } pub mod devices { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -502,7 +502,7 @@ pub mod devices { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -583,7 +583,7 @@ pub mod devices { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Device), @@ -663,7 +663,7 @@ pub mod devices { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -730,7 +730,7 @@ pub mod devices { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -805,7 +805,7 @@ pub mod devices { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -878,7 +878,7 @@ pub mod devices { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -954,7 +954,7 @@ pub mod devices { } } pub mod list_registration_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -978,7 +978,7 @@ pub mod devices { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.HybridNetwork/operations", operation_config.base_path(),); @@ -1016,7 +1016,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1040,7 +1040,7 @@ pub mod operations { } } pub mod vendors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vendor_name: &str, @@ -1087,7 +1087,7 @@ pub mod vendors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1170,7 +1170,7 @@ pub mod vendors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Vendor), @@ -1240,7 +1240,7 @@ pub mod vendors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1315,7 +1315,7 @@ pub mod vendors { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1339,7 +1339,7 @@ pub mod vendors { } } pub mod vendor_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vendor_name: &str, @@ -1388,7 +1388,7 @@ pub mod vendor_skus { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1469,7 +1469,7 @@ pub mod vendor_skus { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VendorSku), @@ -1541,7 +1541,7 @@ pub mod vendor_skus { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1615,7 +1615,7 @@ pub mod vendor_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1639,7 +1639,7 @@ pub mod vendor_skus { } } pub mod vendor_sku_preview { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vendor_name: &str, @@ -1688,7 +1688,7 @@ pub mod vendor_sku_preview { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1760,7 +1760,7 @@ pub mod vendor_sku_preview { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1843,7 +1843,7 @@ pub mod vendor_sku_preview { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PreviewSubscription), @@ -1917,7 +1917,7 @@ pub mod vendor_sku_preview { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1947,7 +1947,7 @@ pub mod vendor_sku_preview { } } pub mod network_function_vendors { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1992,7 +1992,7 @@ pub mod network_function_vendors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2016,7 +2016,7 @@ pub mod network_function_vendors { } } pub mod network_function_vendor_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_vendor( operation_config: &crate::OperationConfig, vendor_name: &str, @@ -2066,7 +2066,7 @@ pub mod network_function_vendor_skus { } } pub mod list_by_vendor { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2139,7 +2139,7 @@ pub mod network_function_vendor_skus { } } pub mod list_by_sku { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2163,7 +2163,7 @@ pub mod network_function_vendor_skus { } } pub mod vendor_network_functions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location_name: &str, @@ -2214,7 +2214,7 @@ pub mod vendor_network_functions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2297,7 +2297,7 @@ pub mod vendor_network_functions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VendorNetworkFunction), @@ -2376,7 +2376,7 @@ pub mod vendor_network_functions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2400,7 +2400,7 @@ pub mod vendor_network_functions { } } pub mod role_instances { - use crate::models::*; + use super::{models, models::*}; pub async fn start( operation_config: &crate::OperationConfig, location_name: &str, @@ -2450,7 +2450,7 @@ pub mod role_instances { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2526,7 +2526,7 @@ pub mod role_instances { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2605,7 +2605,7 @@ pub mod role_instances { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2684,7 +2684,7 @@ pub mod role_instances { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2756,7 +2756,7 @@ pub mod role_instances { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/imagebuilder/Cargo.toml b/services/mgmt/imagebuilder/Cargo.toml index fc43cc94b0..5b3e57e652 100644 --- a/services/mgmt/imagebuilder/Cargo.toml +++ b/services/mgmt/imagebuilder/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2020-02"] +no-default-version = [] "package-2020-02" = [] "package-preview-2019-05" = [] "package-2018-02" = [] diff --git a/services/mgmt/imagebuilder/src/lib.rs b/services/mgmt/imagebuilder/src/lib.rs index 5250ed8df7..7df545e9e3 100644 --- a/services/mgmt/imagebuilder/src/lib.rs +++ b/services/mgmt/imagebuilder/src/lib.rs @@ -1,21 +1,29 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2020-02")] -mod package_2020_02; -#[cfg(feature = "package-2020-02")] +pub mod package_2020_02; +#[cfg(all(feature = "package-2020-02", not(feature = "no-default-version")))] pub use package_2020_02::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2019-05")] -mod package_preview_2019_05; -#[cfg(feature = "package-preview-2019-05")] +pub mod package_preview_2019_05; +#[cfg(all(feature = "package-preview-2019-05", not(feature = "no-default-version")))] pub use package_preview_2019_05::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-02")] -mod package_2018_02; -#[cfg(feature = "package-2018-02")] +pub mod package_2018_02; +#[cfg(all(feature = "package-2018-02", not(feature = "no-default-version")))] pub use package_2018_02::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-02")] -mod package_2019_02; +pub mod package_2019_02; use azure_core::setters; -#[cfg(feature = "package-2019-02")] +#[cfg(all(feature = "package-2019-02", not(feature = "no-default-version")))] pub use package_2019_02::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -39,7 +47,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/imagebuilder/src/package_2018_02/operations.rs b/services/mgmt/imagebuilder/src/package_2018_02/operations.rs index abdfcd704e..047f950688 100644 --- a/services/mgmt/imagebuilder/src/package_2018_02/operations.rs +++ b/services/mgmt/imagebuilder/src/package_2018_02/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod virtual_machine_image_template { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -49,7 +49,7 @@ pub mod virtual_machine_image_template { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -122,7 +122,7 @@ pub mod virtual_machine_image_template { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -192,7 +192,7 @@ pub mod virtual_machine_image_template { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -273,7 +273,7 @@ pub mod virtual_machine_image_template { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ImageTemplate), @@ -350,7 +350,7 @@ pub mod virtual_machine_image_template { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -417,7 +417,7 @@ pub mod virtual_machine_image_template { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -490,7 +490,7 @@ pub mod virtual_machine_image_template { } } pub mod run { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -568,7 +568,7 @@ pub mod virtual_machine_image_template { } } pub mod list_run_outputs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -643,7 +643,7 @@ pub mod virtual_machine_image_template { } } pub mod get_run_output { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -667,7 +667,7 @@ pub mod virtual_machine_image_template { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -708,7 +708,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/imagebuilder/src/package_2019_02/operations.rs b/services/mgmt/imagebuilder/src/package_2019_02/operations.rs index 3a311f1759..6383a2158b 100644 --- a/services/mgmt/imagebuilder/src/package_2019_02/operations.rs +++ b/services/mgmt/imagebuilder/src/package_2019_02/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod virtual_machine_image_templates { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -49,7 +49,7 @@ pub mod virtual_machine_image_templates { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -122,7 +122,7 @@ pub mod virtual_machine_image_templates { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -192,7 +192,7 @@ pub mod virtual_machine_image_templates { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -273,7 +273,7 @@ pub mod virtual_machine_image_templates { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ImageTemplate), @@ -350,7 +350,7 @@ pub mod virtual_machine_image_templates { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -417,7 +417,7 @@ pub mod virtual_machine_image_templates { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -490,7 +490,7 @@ pub mod virtual_machine_image_templates { } } pub mod run { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -568,7 +568,7 @@ pub mod virtual_machine_image_templates { } } pub mod list_run_outputs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -643,7 +643,7 @@ pub mod virtual_machine_image_templates { } } pub mod get_run_output { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -667,7 +667,7 @@ pub mod virtual_machine_image_templates { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -708,7 +708,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/imagebuilder/src/package_2020_02/operations.rs b/services/mgmt/imagebuilder/src/package_2020_02/operations.rs index ef9c6deb08..9150e41bc3 100644 --- a/services/mgmt/imagebuilder/src/package_2020_02/operations.rs +++ b/services/mgmt/imagebuilder/src/package_2020_02/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod virtual_machine_image_templates { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -49,7 +49,7 @@ pub mod virtual_machine_image_templates { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -122,7 +122,7 @@ pub mod virtual_machine_image_templates { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -192,7 +192,7 @@ pub mod virtual_machine_image_templates { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -273,7 +273,7 @@ pub mod virtual_machine_image_templates { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ImageTemplate), @@ -351,7 +351,7 @@ pub mod virtual_machine_image_templates { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ImageTemplate), @@ -423,7 +423,7 @@ pub mod virtual_machine_image_templates { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -497,7 +497,7 @@ pub mod virtual_machine_image_templates { } } pub mod run { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -571,7 +571,7 @@ pub mod virtual_machine_image_templates { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -650,7 +650,7 @@ pub mod virtual_machine_image_templates { } } pub mod list_run_outputs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -725,7 +725,7 @@ pub mod virtual_machine_image_templates { } } pub mod get_run_output { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -749,7 +749,7 @@ pub mod virtual_machine_image_templates { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -790,7 +790,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/imagebuilder/src/package_preview_2019_05/operations.rs b/services/mgmt/imagebuilder/src/package_preview_2019_05/operations.rs index 39deebb3bb..6c44316e3e 100644 --- a/services/mgmt/imagebuilder/src/package_preview_2019_05/operations.rs +++ b/services/mgmt/imagebuilder/src/package_preview_2019_05/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod virtual_machine_image_templates { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -49,7 +49,7 @@ pub mod virtual_machine_image_templates { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -122,7 +122,7 @@ pub mod virtual_machine_image_templates { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -192,7 +192,7 @@ pub mod virtual_machine_image_templates { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -273,7 +273,7 @@ pub mod virtual_machine_image_templates { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ImageTemplate), @@ -351,7 +351,7 @@ pub mod virtual_machine_image_templates { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ImageTemplate), @@ -423,7 +423,7 @@ pub mod virtual_machine_image_templates { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -496,7 +496,7 @@ pub mod virtual_machine_image_templates { } } pub mod run { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -574,7 +574,7 @@ pub mod virtual_machine_image_templates { } } pub mod list_run_outputs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -649,7 +649,7 @@ pub mod virtual_machine_image_templates { } } pub mod get_run_output { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -673,7 +673,7 @@ pub mod virtual_machine_image_templates { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -714,7 +714,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/intune/Cargo.toml b/services/mgmt/intune/Cargo.toml index 037dd8dff4..6fe48524fd 100644 --- a/services/mgmt/intune/Cargo.toml +++ b/services/mgmt/intune/Cargo.toml @@ -20,5 +20,6 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2015-01-preview"] +no-default-version = [] "package-2015-01-preview" = [] "package-2015-01-privatepreview" = [] diff --git a/services/mgmt/intune/src/lib.rs b/services/mgmt/intune/src/lib.rs index d679734d1e..25ed608c32 100644 --- a/services/mgmt/intune/src/lib.rs +++ b/services/mgmt/intune/src/lib.rs @@ -1,13 +1,21 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2015-01-preview")] -mod package_2015_01_preview; -#[cfg(feature = "package-2015-01-preview")] +pub mod package_2015_01_preview; +#[cfg(all(feature = "package-2015-01-preview", not(feature = "no-default-version")))] pub use package_2015_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2015-01-privatepreview")] -mod package_2015_01_privatepreview; +pub mod package_2015_01_privatepreview; use azure_core::setters; -#[cfg(feature = "package-2015-01-privatepreview")] +#[cfg(all(feature = "package-2015-01-privatepreview", not(feature = "no-default-version")))] pub use package_2015_01_privatepreview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -31,7 +39,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/intune/src/package_2015_01_preview/operations.rs b/services/mgmt/intune/src/package_2015_01_preview/operations.rs index dc7f708290..6d6090dca0 100644 --- a/services/mgmt/intune/src/package_2015_01_preview/operations.rs +++ b/services/mgmt/intune/src/package_2015_01_preview/operations.rs @@ -2,7 +2,7 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub async fn get_locations(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Intune/locations", operation_config.base_path(),); @@ -43,7 +43,7 @@ pub async fn get_locations(operation_config: &crate::OperationConfig) -> std::re } } pub mod get_locations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -109,7 +109,7 @@ pub async fn get_location_by_host_name( } } pub mod get_location_by_host_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -190,7 +190,7 @@ pub async fn get_apps( } } pub mod get_apps { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -273,7 +273,7 @@ pub async fn get_mam_user_devices( } } pub mod get_mam_user_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -352,7 +352,7 @@ pub async fn get_mam_user_device_by_device_name( } } pub mod get_mam_user_device_by_device_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -426,7 +426,7 @@ pub async fn wipe_mam_user_device( } } pub mod wipe_mam_user_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -509,7 +509,7 @@ pub async fn get_operation_results( } } pub mod get_operation_results { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -578,7 +578,7 @@ pub async fn get_mam_statuses( } } pub mod get_mam_statuses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -661,7 +661,7 @@ pub async fn get_mam_flagged_users( } } pub mod get_mam_flagged_users { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -738,7 +738,7 @@ pub async fn get_mam_flagged_user_by_name( } } pub mod get_mam_flagged_user_by_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -823,7 +823,7 @@ pub async fn get_mam_user_flagged_enrolled_apps( } } pub mod get_mam_user_flagged_enrolled_apps { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -846,7 +846,7 @@ pub mod get_mam_user_flagged_enrolled_apps { } } pub mod ios { - use crate::models::*; + use super::{models, models::*}; pub async fn get_mam_policies( operation_config: &crate::OperationConfig, host_name: &str, @@ -906,7 +906,7 @@ pub mod ios { } } pub mod get_mam_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -983,7 +983,7 @@ pub mod ios { } } pub mod get_mam_policy_by_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1058,7 +1058,7 @@ pub mod ios { } } pub mod create_or_update_mam_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1131,7 +1131,7 @@ pub mod ios { } } pub mod patch_mam_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1198,7 +1198,7 @@ pub mod ios { } } pub mod delete_mam_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1288,7 +1288,7 @@ pub mod ios { } } pub mod get_app_for_mam_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1361,7 +1361,7 @@ pub mod ios { } } pub mod add_app_for_mam_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1437,7 +1437,7 @@ pub mod ios { } } pub mod delete_app_for_mam_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1515,7 +1515,7 @@ pub mod ios { } } pub mod get_groups_for_mam_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1588,7 +1588,7 @@ pub mod ios { } } pub mod add_group_for_mam_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1664,7 +1664,7 @@ pub mod ios { } } pub mod delete_group_for_mam_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1693,7 +1693,7 @@ pub mod ios { } } pub mod android { - use crate::models::*; + use super::{models, models::*}; pub async fn get_mam_policies( operation_config: &crate::OperationConfig, host_name: &str, @@ -1753,7 +1753,7 @@ pub mod android { } } pub mod get_mam_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1830,7 +1830,7 @@ pub mod android { } } pub mod get_mam_policy_by_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1905,7 +1905,7 @@ pub mod android { } } pub mod create_or_update_mam_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1978,7 +1978,7 @@ pub mod android { } } pub mod patch_mam_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2045,7 +2045,7 @@ pub mod android { } } pub mod delete_mam_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2135,7 +2135,7 @@ pub mod android { } } pub mod get_app_for_mam_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2208,7 +2208,7 @@ pub mod android { } } pub mod add_app_for_mam_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2284,7 +2284,7 @@ pub mod android { } } pub mod delete_app_for_mam_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2362,7 +2362,7 @@ pub mod android { } } pub mod get_groups_for_mam_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2435,7 +2435,7 @@ pub mod android { } } pub mod add_group_for_mam_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2511,7 +2511,7 @@ pub mod android { } } pub mod delete_group_for_mam_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/intune/src/package_2015_01_privatepreview/operations.rs b/services/mgmt/intune/src/package_2015_01_privatepreview/operations.rs index dc7f708290..6d6090dca0 100644 --- a/services/mgmt/intune/src/package_2015_01_privatepreview/operations.rs +++ b/services/mgmt/intune/src/package_2015_01_privatepreview/operations.rs @@ -2,7 +2,7 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub async fn get_locations(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Intune/locations", operation_config.base_path(),); @@ -43,7 +43,7 @@ pub async fn get_locations(operation_config: &crate::OperationConfig) -> std::re } } pub mod get_locations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -109,7 +109,7 @@ pub async fn get_location_by_host_name( } } pub mod get_location_by_host_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -190,7 +190,7 @@ pub async fn get_apps( } } pub mod get_apps { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -273,7 +273,7 @@ pub async fn get_mam_user_devices( } } pub mod get_mam_user_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -352,7 +352,7 @@ pub async fn get_mam_user_device_by_device_name( } } pub mod get_mam_user_device_by_device_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -426,7 +426,7 @@ pub async fn wipe_mam_user_device( } } pub mod wipe_mam_user_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -509,7 +509,7 @@ pub async fn get_operation_results( } } pub mod get_operation_results { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -578,7 +578,7 @@ pub async fn get_mam_statuses( } } pub mod get_mam_statuses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -661,7 +661,7 @@ pub async fn get_mam_flagged_users( } } pub mod get_mam_flagged_users { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -738,7 +738,7 @@ pub async fn get_mam_flagged_user_by_name( } } pub mod get_mam_flagged_user_by_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -823,7 +823,7 @@ pub async fn get_mam_user_flagged_enrolled_apps( } } pub mod get_mam_user_flagged_enrolled_apps { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -846,7 +846,7 @@ pub mod get_mam_user_flagged_enrolled_apps { } } pub mod ios { - use crate::models::*; + use super::{models, models::*}; pub async fn get_mam_policies( operation_config: &crate::OperationConfig, host_name: &str, @@ -906,7 +906,7 @@ pub mod ios { } } pub mod get_mam_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -983,7 +983,7 @@ pub mod ios { } } pub mod get_mam_policy_by_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1058,7 +1058,7 @@ pub mod ios { } } pub mod create_or_update_mam_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1131,7 +1131,7 @@ pub mod ios { } } pub mod patch_mam_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1198,7 +1198,7 @@ pub mod ios { } } pub mod delete_mam_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1288,7 +1288,7 @@ pub mod ios { } } pub mod get_app_for_mam_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1361,7 +1361,7 @@ pub mod ios { } } pub mod add_app_for_mam_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1437,7 +1437,7 @@ pub mod ios { } } pub mod delete_app_for_mam_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1515,7 +1515,7 @@ pub mod ios { } } pub mod get_groups_for_mam_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1588,7 +1588,7 @@ pub mod ios { } } pub mod add_group_for_mam_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1664,7 +1664,7 @@ pub mod ios { } } pub mod delete_group_for_mam_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1693,7 +1693,7 @@ pub mod ios { } } pub mod android { - use crate::models::*; + use super::{models, models::*}; pub async fn get_mam_policies( operation_config: &crate::OperationConfig, host_name: &str, @@ -1753,7 +1753,7 @@ pub mod android { } } pub mod get_mam_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1830,7 +1830,7 @@ pub mod android { } } pub mod get_mam_policy_by_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1905,7 +1905,7 @@ pub mod android { } } pub mod create_or_update_mam_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1978,7 +1978,7 @@ pub mod android { } } pub mod patch_mam_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2045,7 +2045,7 @@ pub mod android { } } pub mod delete_mam_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2135,7 +2135,7 @@ pub mod android { } } pub mod get_app_for_mam_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2208,7 +2208,7 @@ pub mod android { } } pub mod add_app_for_mam_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2284,7 +2284,7 @@ pub mod android { } } pub mod delete_app_for_mam_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2362,7 +2362,7 @@ pub mod android { } } pub mod get_groups_for_mam_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2435,7 +2435,7 @@ pub mod android { } } pub mod add_group_for_mam_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2511,7 +2511,7 @@ pub mod android { } } pub mod delete_group_for_mam_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/iotcentral/Cargo.toml b/services/mgmt/iotcentral/Cargo.toml index abdf0b526a..eacea5d969 100644 --- a/services/mgmt/iotcentral/Cargo.toml +++ b/services/mgmt/iotcentral/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-06"] +no-default-version = [] "package-2021-06" = [] "package-2018-09-01" = [] "package-2017-07-01-privatepreview" = [] diff --git a/services/mgmt/iotcentral/src/lib.rs b/services/mgmt/iotcentral/src/lib.rs index e0ec2faac5..325557e91e 100644 --- a/services/mgmt/iotcentral/src/lib.rs +++ b/services/mgmt/iotcentral/src/lib.rs @@ -1,17 +1,25 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-06")] -mod package_2021_06; -#[cfg(feature = "package-2021-06")] +pub mod package_2021_06; +#[cfg(all(feature = "package-2021-06", not(feature = "no-default-version")))] pub use package_2021_06::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-09-01")] -mod package_2018_09_01; -#[cfg(feature = "package-2018-09-01")] +pub mod package_2018_09_01; +#[cfg(all(feature = "package-2018-09-01", not(feature = "no-default-version")))] pub use package_2018_09_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-07-01-privatepreview")] -mod package_2017_07_01_privatepreview; +pub mod package_2017_07_01_privatepreview; use azure_core::setters; -#[cfg(feature = "package-2017-07-01-privatepreview")] +#[cfg(all(feature = "package-2017-07-01-privatepreview", not(feature = "no-default-version")))] pub use package_2017_07_01_privatepreview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -35,7 +43,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/iotcentral/src/package_2017_07_01_privatepreview/operations.rs b/services/mgmt/iotcentral/src/package_2017_07_01_privatepreview/operations.rs index a4c53c25d0..f63d8ec08c 100644 --- a/services/mgmt/iotcentral/src/package_2017_07_01_privatepreview/operations.rs +++ b/services/mgmt/iotcentral/src/package_2017_07_01_privatepreview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod apps { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod apps { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -135,7 +135,7 @@ pub mod apps { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(App), @@ -214,7 +214,7 @@ pub mod apps { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(App), @@ -286,7 +286,7 @@ pub mod apps { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -361,7 +361,7 @@ pub mod apps { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -434,7 +434,7 @@ pub mod apps { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -507,7 +507,7 @@ pub mod apps { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -531,7 +531,7 @@ pub mod apps { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.IoTCentral/operations", operation_config.base_path(),); @@ -569,7 +569,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/iotcentral/src/package_2018_09_01/operations.rs b/services/mgmt/iotcentral/src/package_2018_09_01/operations.rs index 892d62c93b..07a9ef7714 100644 --- a/services/mgmt/iotcentral/src/package_2018_09_01/operations.rs +++ b/services/mgmt/iotcentral/src/package_2018_09_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod apps { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod apps { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -135,7 +135,7 @@ pub mod apps { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(App), @@ -214,7 +214,7 @@ pub mod apps { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(App), @@ -286,7 +286,7 @@ pub mod apps { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -361,7 +361,7 @@ pub mod apps { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -434,7 +434,7 @@ pub mod apps { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -507,7 +507,7 @@ pub mod apps { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -580,7 +580,7 @@ pub mod apps { } } pub mod check_subdomain_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -650,7 +650,7 @@ pub mod apps { } } pub mod list_templates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -674,7 +674,7 @@ pub mod apps { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.IoTCentral/operations", operation_config.base_path(),); @@ -712,7 +712,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/iotcentral/src/package_2021_06/operations.rs b/services/mgmt/iotcentral/src/package_2021_06/operations.rs index 892d62c93b..07a9ef7714 100644 --- a/services/mgmt/iotcentral/src/package_2021_06/operations.rs +++ b/services/mgmt/iotcentral/src/package_2021_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod apps { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod apps { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -135,7 +135,7 @@ pub mod apps { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(App), @@ -214,7 +214,7 @@ pub mod apps { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(App), @@ -286,7 +286,7 @@ pub mod apps { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -361,7 +361,7 @@ pub mod apps { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -434,7 +434,7 @@ pub mod apps { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -507,7 +507,7 @@ pub mod apps { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -580,7 +580,7 @@ pub mod apps { } } pub mod check_subdomain_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -650,7 +650,7 @@ pub mod apps { } } pub mod list_templates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -674,7 +674,7 @@ pub mod apps { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.IoTCentral/operations", operation_config.base_path(),); @@ -712,7 +712,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/iothub/Cargo.toml b/services/mgmt/iothub/Cargo.toml index 622ae45408..83e66637b0 100644 --- a/services/mgmt/iothub/Cargo.toml +++ b/services/mgmt/iothub/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-07"] +no-default-version = [] "package-2021-07" = [] "package-preview-2021-07" = [] "package-2021-03" = [] diff --git a/services/mgmt/iothub/src/lib.rs b/services/mgmt/iothub/src/lib.rs index d4097860c9..bf57de2ccd 100644 --- a/services/mgmt/iothub/src/lib.rs +++ b/services/mgmt/iothub/src/lib.rs @@ -1,97 +1,105 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-07")] -mod package_2021_07; -#[cfg(feature = "package-2021-07")] +pub mod package_2021_07; +#[cfg(all(feature = "package-2021-07", not(feature = "no-default-version")))] pub use package_2021_07::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2021-07")] -mod package_preview_2021_07; -#[cfg(feature = "package-preview-2021-07")] +pub mod package_preview_2021_07; +#[cfg(all(feature = "package-preview-2021-07", not(feature = "no-default-version")))] pub use package_preview_2021_07::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-03")] -mod package_2021_03; -#[cfg(feature = "package-2021-03")] +pub mod package_2021_03; +#[cfg(all(feature = "package-2021-03", not(feature = "no-default-version")))] pub use package_2021_03::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2021-03")] -mod package_preview_2021_03; -#[cfg(feature = "package-preview-2021-03")] +pub mod package_preview_2021_03; +#[cfg(all(feature = "package-preview-2021-03", not(feature = "no-default-version")))] pub use package_preview_2021_03::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2021-02")] -mod package_preview_2021_02; -#[cfg(feature = "package-preview-2021-02")] +pub mod package_preview_2021_02; +#[cfg(all(feature = "package-preview-2021-02", not(feature = "no-default-version")))] pub use package_preview_2021_02::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-08-31")] -mod package_2020_08_31; -#[cfg(feature = "package-2020-08-31")] +pub mod package_2020_08_31; +#[cfg(all(feature = "package-2020-08-31", not(feature = "no-default-version")))] pub use package_2020_08_31::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2020-08-31")] -mod package_preview_2020_08_31; -#[cfg(feature = "package-preview-2020-08-31")] +pub mod package_preview_2020_08_31; +#[cfg(all(feature = "package-preview-2020-08-31", not(feature = "no-default-version")))] pub use package_preview_2020_08_31::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-08")] -mod package_2020_08; -#[cfg(feature = "package-2020-08")] +pub mod package_2020_08; +#[cfg(all(feature = "package-2020-08", not(feature = "no-default-version")))] pub use package_2020_08::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2020-07")] -mod package_preview_2020_07; -#[cfg(feature = "package-preview-2020-07")] +pub mod package_preview_2020_07; +#[cfg(all(feature = "package-preview-2020-07", not(feature = "no-default-version")))] pub use package_preview_2020_07::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-06")] -mod package_2020_06; -#[cfg(feature = "package-2020-06")] +pub mod package_2020_06; +#[cfg(all(feature = "package-2020-06", not(feature = "no-default-version")))] pub use package_2020_06::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-04")] -mod package_2020_04; -#[cfg(feature = "package-2020-04")] +pub mod package_2020_04; +#[cfg(all(feature = "package-2020-04", not(feature = "no-default-version")))] pub use package_2020_04::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-03")] -mod package_2020_03; -#[cfg(feature = "package-2020-03")] +pub mod package_2020_03; +#[cfg(all(feature = "package-2020-03", not(feature = "no-default-version")))] pub use package_2020_03::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-11")] -mod package_2019_11; -#[cfg(feature = "package-2019-11")] +pub mod package_2019_11; +#[cfg(all(feature = "package-2019-11", not(feature = "no-default-version")))] pub use package_2019_11::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2019-07")] -mod package_preview_2019_07; -#[cfg(feature = "package-preview-2019-07")] +pub mod package_preview_2019_07; +#[cfg(all(feature = "package-preview-2019-07", not(feature = "no-default-version")))] pub use package_preview_2019_07::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-03")] -mod package_2019_03; -#[cfg(feature = "package-2019-03")] +pub mod package_2019_03; +#[cfg(all(feature = "package-2019-03", not(feature = "no-default-version")))] pub use package_2019_03::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2019-03")] -mod package_preview_2019_03; -#[cfg(feature = "package-preview-2019-03")] +pub mod package_preview_2019_03; +#[cfg(all(feature = "package-preview-2019-03", not(feature = "no-default-version")))] pub use package_preview_2019_03::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-12-preview")] -mod package_2018_12_preview; -#[cfg(feature = "package-2018-12-preview")] +pub mod package_2018_12_preview; +#[cfg(all(feature = "package-2018-12-preview", not(feature = "no-default-version")))] pub use package_2018_12_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-04")] -mod package_2018_04; -#[cfg(feature = "package-2018-04")] +pub mod package_2018_04; +#[cfg(all(feature = "package-2018-04", not(feature = "no-default-version")))] pub use package_2018_04::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-01")] -mod package_2018_01; -#[cfg(feature = "package-2018-01")] +pub mod package_2018_01; +#[cfg(all(feature = "package-2018-01", not(feature = "no-default-version")))] pub use package_2018_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-07")] -mod package_2017_07; -#[cfg(feature = "package-2017-07")] +pub mod package_2017_07; +#[cfg(all(feature = "package-2017-07", not(feature = "no-default-version")))] pub use package_2017_07::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-01")] -mod package_2017_01; -#[cfg(feature = "package-2017-01")] +pub mod package_2017_01; +#[cfg(all(feature = "package-2017-01", not(feature = "no-default-version")))] pub use package_2017_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2016-02")] -mod package_2016_02; -#[cfg(feature = "package-2016-02")] +pub mod package_2016_02; +#[cfg(all(feature = "package-2016-02", not(feature = "no-default-version")))] pub use package_2016_02::{models, operations, API_VERSION}; #[cfg(feature = "profile-hybrid-2020-09-01")] -mod profile_hybrid_2020_09_01; +pub mod profile_hybrid_2020_09_01; use azure_core::setters; -#[cfg(feature = "profile-hybrid-2020-09-01")] +#[cfg(all(feature = "profile-hybrid-2020-09-01", not(feature = "no-default-version")))] pub use profile_hybrid_2020_09_01::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -115,7 +123,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/iothub/src/package_2016_02/operations.rs b/services/mgmt/iothub/src/package_2016_02/operations.rs index a397ea5292..4e28fa686f 100644 --- a/services/mgmt/iothub/src/package_2016_02/operations.rs +++ b/services/mgmt/iothub/src/package_2016_02/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod iot_hub_resource { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod iot_hub_resource { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod iot_hub_resource { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(IotHubDescription), @@ -222,7 +222,7 @@ pub mod iot_hub_resource { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(IotHubDescription), @@ -299,7 +299,7 @@ pub mod iot_hub_resource { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -372,7 +372,7 @@ pub mod iot_hub_resource { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -445,7 +445,7 @@ pub mod iot_hub_resource { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -518,7 +518,7 @@ pub mod iot_hub_resource { } } pub mod get_valid_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -595,7 +595,7 @@ pub mod iot_hub_resource { } } pub mod list_event_hub_consumer_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -674,7 +674,7 @@ pub mod iot_hub_resource { } } pub mod get_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -753,7 +753,7 @@ pub mod iot_hub_resource { } } pub mod create_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -827,7 +827,7 @@ pub mod iot_hub_resource { } } pub mod delete_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -900,7 +900,7 @@ pub mod iot_hub_resource { } } pub mod list_jobs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -975,7 +975,7 @@ pub mod iot_hub_resource { } } pub mod get_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1048,7 +1048,7 @@ pub mod iot_hub_resource { } } pub mod get_quota_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1121,7 +1121,7 @@ pub mod iot_hub_resource { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1195,7 +1195,7 @@ pub mod iot_hub_resource { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1273,7 +1273,7 @@ pub mod iot_hub_resource { } } pub mod get_keys_for_key_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1348,7 +1348,7 @@ pub mod iot_hub_resource { } } pub mod export_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1423,7 +1423,7 @@ pub mod iot_hub_resource { } } pub mod import_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/iothub/src/package_2017_01/operations.rs b/services/mgmt/iothub/src/package_2017_01/operations.rs index a397ea5292..4e28fa686f 100644 --- a/services/mgmt/iothub/src/package_2017_01/operations.rs +++ b/services/mgmt/iothub/src/package_2017_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod iot_hub_resource { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod iot_hub_resource { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod iot_hub_resource { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(IotHubDescription), @@ -222,7 +222,7 @@ pub mod iot_hub_resource { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(IotHubDescription), @@ -299,7 +299,7 @@ pub mod iot_hub_resource { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -372,7 +372,7 @@ pub mod iot_hub_resource { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -445,7 +445,7 @@ pub mod iot_hub_resource { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -518,7 +518,7 @@ pub mod iot_hub_resource { } } pub mod get_valid_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -595,7 +595,7 @@ pub mod iot_hub_resource { } } pub mod list_event_hub_consumer_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -674,7 +674,7 @@ pub mod iot_hub_resource { } } pub mod get_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -753,7 +753,7 @@ pub mod iot_hub_resource { } } pub mod create_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -827,7 +827,7 @@ pub mod iot_hub_resource { } } pub mod delete_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -900,7 +900,7 @@ pub mod iot_hub_resource { } } pub mod list_jobs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -975,7 +975,7 @@ pub mod iot_hub_resource { } } pub mod get_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1048,7 +1048,7 @@ pub mod iot_hub_resource { } } pub mod get_quota_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1121,7 +1121,7 @@ pub mod iot_hub_resource { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1195,7 +1195,7 @@ pub mod iot_hub_resource { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1273,7 +1273,7 @@ pub mod iot_hub_resource { } } pub mod get_keys_for_key_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1348,7 +1348,7 @@ pub mod iot_hub_resource { } } pub mod export_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1423,7 +1423,7 @@ pub mod iot_hub_resource { } } pub mod import_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/iothub/src/package_2017_07/operations.rs b/services/mgmt/iothub/src/package_2017_07/operations.rs index e6f3321d5f..2ac2148cb5 100644 --- a/services/mgmt/iothub/src/package_2017_07/operations.rs +++ b/services/mgmt/iothub/src/package_2017_07/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Devices/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod iot_hub_resource { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -115,7 +115,7 @@ pub mod iot_hub_resource { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -200,7 +200,7 @@ pub mod iot_hub_resource { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(IotHubDescription), @@ -288,7 +288,7 @@ pub mod iot_hub_resource { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(IotHubDescription), @@ -365,7 +365,7 @@ pub mod iot_hub_resource { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -438,7 +438,7 @@ pub mod iot_hub_resource { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -511,7 +511,7 @@ pub mod iot_hub_resource { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -584,7 +584,7 @@ pub mod iot_hub_resource { } } pub mod get_valid_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -661,7 +661,7 @@ pub mod iot_hub_resource { } } pub mod list_event_hub_consumer_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -740,7 +740,7 @@ pub mod iot_hub_resource { } } pub mod get_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -819,7 +819,7 @@ pub mod iot_hub_resource { } } pub mod create_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -893,7 +893,7 @@ pub mod iot_hub_resource { } } pub mod delete_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -966,7 +966,7 @@ pub mod iot_hub_resource { } } pub mod list_jobs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1041,7 +1041,7 @@ pub mod iot_hub_resource { } } pub mod get_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1114,7 +1114,7 @@ pub mod iot_hub_resource { } } pub mod get_quota_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1187,7 +1187,7 @@ pub mod iot_hub_resource { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1261,7 +1261,7 @@ pub mod iot_hub_resource { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1339,7 +1339,7 @@ pub mod iot_hub_resource { } } pub mod get_keys_for_key_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1414,7 +1414,7 @@ pub mod iot_hub_resource { } } pub mod export_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1489,7 +1489,7 @@ pub mod iot_hub_resource { } } pub mod import_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1513,7 +1513,7 @@ pub mod iot_hub_resource { } } pub mod certificates { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_iot_hub( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1565,7 +1565,7 @@ pub mod certificates { } } pub mod list_by_iot_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1637,7 +1637,7 @@ pub mod certificates { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1724,7 +1724,7 @@ pub mod certificates { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CertificateDescription), @@ -1799,7 +1799,7 @@ pub mod certificates { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1884,7 +1884,7 @@ pub mod certificates { } } pub mod generate_verification_code { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1960,7 +1960,7 @@ pub mod certificates { } } pub mod verify { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/iothub/src/package_2018_01/operations.rs b/services/mgmt/iothub/src/package_2018_01/operations.rs index a110aa90e4..0e1dde8846 100644 --- a/services/mgmt/iothub/src/package_2018_01/operations.rs +++ b/services/mgmt/iothub/src/package_2018_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Devices/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod iot_hub_resource { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -115,7 +115,7 @@ pub mod iot_hub_resource { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -200,7 +200,7 @@ pub mod iot_hub_resource { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(IotHubDescription), @@ -275,7 +275,7 @@ pub mod iot_hub_resource { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -355,7 +355,7 @@ pub mod iot_hub_resource { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(IotHubDescription), @@ -432,7 +432,7 @@ pub mod iot_hub_resource { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -505,7 +505,7 @@ pub mod iot_hub_resource { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -578,7 +578,7 @@ pub mod iot_hub_resource { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -651,7 +651,7 @@ pub mod iot_hub_resource { } } pub mod get_valid_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -728,7 +728,7 @@ pub mod iot_hub_resource { } } pub mod list_event_hub_consumer_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -807,7 +807,7 @@ pub mod iot_hub_resource { } } pub mod get_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -886,7 +886,7 @@ pub mod iot_hub_resource { } } pub mod create_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -960,7 +960,7 @@ pub mod iot_hub_resource { } } pub mod delete_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1033,7 +1033,7 @@ pub mod iot_hub_resource { } } pub mod list_jobs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1108,7 +1108,7 @@ pub mod iot_hub_resource { } } pub mod get_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1181,7 +1181,7 @@ pub mod iot_hub_resource { } } pub mod get_quota_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1254,7 +1254,7 @@ pub mod iot_hub_resource { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1328,7 +1328,7 @@ pub mod iot_hub_resource { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1406,7 +1406,7 @@ pub mod iot_hub_resource { } } pub mod get_keys_for_key_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1481,7 +1481,7 @@ pub mod iot_hub_resource { } } pub mod export_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1556,7 +1556,7 @@ pub mod iot_hub_resource { } } pub mod import_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1580,7 +1580,7 @@ pub mod iot_hub_resource { } } pub mod certificates { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_iot_hub( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1632,7 +1632,7 @@ pub mod certificates { } } pub mod list_by_iot_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1704,7 +1704,7 @@ pub mod certificates { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1791,7 +1791,7 @@ pub mod certificates { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CertificateDescription), @@ -1866,7 +1866,7 @@ pub mod certificates { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1951,7 +1951,7 @@ pub mod certificates { } } pub mod generate_verification_code { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2027,7 +2027,7 @@ pub mod certificates { } } pub mod verify { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/iothub/src/package_2018_04/operations.rs b/services/mgmt/iothub/src/package_2018_04/operations.rs index c56c6f19a1..f945fab159 100644 --- a/services/mgmt/iothub/src/package_2018_04/operations.rs +++ b/services/mgmt/iothub/src/package_2018_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Devices/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod iot_hub_resource { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -115,7 +115,7 @@ pub mod iot_hub_resource { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -200,7 +200,7 @@ pub mod iot_hub_resource { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(IotHubDescription), @@ -275,7 +275,7 @@ pub mod iot_hub_resource { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -355,7 +355,7 @@ pub mod iot_hub_resource { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(IotHubDescription), @@ -432,7 +432,7 @@ pub mod iot_hub_resource { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -505,7 +505,7 @@ pub mod iot_hub_resource { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -578,7 +578,7 @@ pub mod iot_hub_resource { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -651,7 +651,7 @@ pub mod iot_hub_resource { } } pub mod get_valid_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -728,7 +728,7 @@ pub mod iot_hub_resource { } } pub mod list_event_hub_consumer_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -807,7 +807,7 @@ pub mod iot_hub_resource { } } pub mod get_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -886,7 +886,7 @@ pub mod iot_hub_resource { } } pub mod create_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -960,7 +960,7 @@ pub mod iot_hub_resource { } } pub mod delete_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1033,7 +1033,7 @@ pub mod iot_hub_resource { } } pub mod list_jobs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1108,7 +1108,7 @@ pub mod iot_hub_resource { } } pub mod get_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1181,7 +1181,7 @@ pub mod iot_hub_resource { } } pub mod get_quota_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1254,7 +1254,7 @@ pub mod iot_hub_resource { } } pub mod get_endpoint_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1327,7 +1327,7 @@ pub mod iot_hub_resource { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1402,7 +1402,7 @@ pub mod iot_hub_resource { } } pub mod test_all_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1477,7 +1477,7 @@ pub mod iot_hub_resource { } } pub mod test_route { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1551,7 +1551,7 @@ pub mod iot_hub_resource { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1629,7 +1629,7 @@ pub mod iot_hub_resource { } } pub mod get_keys_for_key_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1704,7 +1704,7 @@ pub mod iot_hub_resource { } } pub mod export_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1779,7 +1779,7 @@ pub mod iot_hub_resource { } } pub mod import_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1803,7 +1803,7 @@ pub mod iot_hub_resource { } } pub mod resource_provider_common { - use crate::models::*; + use super::{models, models::*}; pub async fn get_subscription_quota( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1853,7 +1853,7 @@ pub mod resource_provider_common { } } pub mod get_subscription_quota { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1877,7 +1877,7 @@ pub mod resource_provider_common { } } pub mod certificates { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_iot_hub( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1929,7 +1929,7 @@ pub mod certificates { } } pub mod list_by_iot_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2001,7 +2001,7 @@ pub mod certificates { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2088,7 +2088,7 @@ pub mod certificates { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CertificateDescription), @@ -2163,7 +2163,7 @@ pub mod certificates { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2248,7 +2248,7 @@ pub mod certificates { } } pub mod generate_verification_code { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2324,7 +2324,7 @@ pub mod certificates { } } pub mod verify { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/iothub/src/package_2018_12_preview/operations.rs b/services/mgmt/iothub/src/package_2018_12_preview/operations.rs index c56c6f19a1..f945fab159 100644 --- a/services/mgmt/iothub/src/package_2018_12_preview/operations.rs +++ b/services/mgmt/iothub/src/package_2018_12_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Devices/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod iot_hub_resource { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -115,7 +115,7 @@ pub mod iot_hub_resource { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -200,7 +200,7 @@ pub mod iot_hub_resource { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(IotHubDescription), @@ -275,7 +275,7 @@ pub mod iot_hub_resource { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -355,7 +355,7 @@ pub mod iot_hub_resource { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(IotHubDescription), @@ -432,7 +432,7 @@ pub mod iot_hub_resource { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -505,7 +505,7 @@ pub mod iot_hub_resource { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -578,7 +578,7 @@ pub mod iot_hub_resource { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -651,7 +651,7 @@ pub mod iot_hub_resource { } } pub mod get_valid_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -728,7 +728,7 @@ pub mod iot_hub_resource { } } pub mod list_event_hub_consumer_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -807,7 +807,7 @@ pub mod iot_hub_resource { } } pub mod get_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -886,7 +886,7 @@ pub mod iot_hub_resource { } } pub mod create_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -960,7 +960,7 @@ pub mod iot_hub_resource { } } pub mod delete_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1033,7 +1033,7 @@ pub mod iot_hub_resource { } } pub mod list_jobs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1108,7 +1108,7 @@ pub mod iot_hub_resource { } } pub mod get_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1181,7 +1181,7 @@ pub mod iot_hub_resource { } } pub mod get_quota_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1254,7 +1254,7 @@ pub mod iot_hub_resource { } } pub mod get_endpoint_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1327,7 +1327,7 @@ pub mod iot_hub_resource { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1402,7 +1402,7 @@ pub mod iot_hub_resource { } } pub mod test_all_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1477,7 +1477,7 @@ pub mod iot_hub_resource { } } pub mod test_route { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1551,7 +1551,7 @@ pub mod iot_hub_resource { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1629,7 +1629,7 @@ pub mod iot_hub_resource { } } pub mod get_keys_for_key_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1704,7 +1704,7 @@ pub mod iot_hub_resource { } } pub mod export_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1779,7 +1779,7 @@ pub mod iot_hub_resource { } } pub mod import_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1803,7 +1803,7 @@ pub mod iot_hub_resource { } } pub mod resource_provider_common { - use crate::models::*; + use super::{models, models::*}; pub async fn get_subscription_quota( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1853,7 +1853,7 @@ pub mod resource_provider_common { } } pub mod get_subscription_quota { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1877,7 +1877,7 @@ pub mod resource_provider_common { } } pub mod certificates { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_iot_hub( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1929,7 +1929,7 @@ pub mod certificates { } } pub mod list_by_iot_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2001,7 +2001,7 @@ pub mod certificates { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2088,7 +2088,7 @@ pub mod certificates { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CertificateDescription), @@ -2163,7 +2163,7 @@ pub mod certificates { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2248,7 +2248,7 @@ pub mod certificates { } } pub mod generate_verification_code { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2324,7 +2324,7 @@ pub mod certificates { } } pub mod verify { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/iothub/src/package_2019_03/operations.rs b/services/mgmt/iothub/src/package_2019_03/operations.rs index d9af37806a..1daa5429d7 100644 --- a/services/mgmt/iothub/src/package_2019_03/operations.rs +++ b/services/mgmt/iothub/src/package_2019_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Devices/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod iot_hub_resource { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -115,7 +115,7 @@ pub mod iot_hub_resource { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -200,7 +200,7 @@ pub mod iot_hub_resource { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(IotHubDescription), @@ -275,7 +275,7 @@ pub mod iot_hub_resource { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -355,7 +355,7 @@ pub mod iot_hub_resource { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(IotHubDescription), @@ -432,7 +432,7 @@ pub mod iot_hub_resource { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -505,7 +505,7 @@ pub mod iot_hub_resource { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -578,7 +578,7 @@ pub mod iot_hub_resource { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -651,7 +651,7 @@ pub mod iot_hub_resource { } } pub mod get_valid_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -728,7 +728,7 @@ pub mod iot_hub_resource { } } pub mod list_event_hub_consumer_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -807,7 +807,7 @@ pub mod iot_hub_resource { } } pub mod get_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -886,7 +886,7 @@ pub mod iot_hub_resource { } } pub mod create_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -960,7 +960,7 @@ pub mod iot_hub_resource { } } pub mod delete_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1033,7 +1033,7 @@ pub mod iot_hub_resource { } } pub mod list_jobs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1108,7 +1108,7 @@ pub mod iot_hub_resource { } } pub mod get_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1181,7 +1181,7 @@ pub mod iot_hub_resource { } } pub mod get_quota_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1254,7 +1254,7 @@ pub mod iot_hub_resource { } } pub mod get_endpoint_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1327,7 +1327,7 @@ pub mod iot_hub_resource { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1402,7 +1402,7 @@ pub mod iot_hub_resource { } } pub mod test_all_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1477,7 +1477,7 @@ pub mod iot_hub_resource { } } pub mod test_route { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1551,7 +1551,7 @@ pub mod iot_hub_resource { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1629,7 +1629,7 @@ pub mod iot_hub_resource { } } pub mod get_keys_for_key_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1704,7 +1704,7 @@ pub mod iot_hub_resource { } } pub mod export_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1779,7 +1779,7 @@ pub mod iot_hub_resource { } } pub mod import_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1803,7 +1803,7 @@ pub mod iot_hub_resource { } } pub mod resource_provider_common { - use crate::models::*; + use super::{models, models::*}; pub async fn get_subscription_quota( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1853,7 +1853,7 @@ pub mod resource_provider_common { } } pub mod get_subscription_quota { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1877,7 +1877,7 @@ pub mod resource_provider_common { } } pub mod certificates { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_iot_hub( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1929,7 +1929,7 @@ pub mod certificates { } } pub mod list_by_iot_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2001,7 +2001,7 @@ pub mod certificates { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2088,7 +2088,7 @@ pub mod certificates { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CertificateDescription), @@ -2163,7 +2163,7 @@ pub mod certificates { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2248,7 +2248,7 @@ pub mod certificates { } } pub mod generate_verification_code { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2324,7 +2324,7 @@ pub mod certificates { } } pub mod verify { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2348,7 +2348,7 @@ pub mod certificates { } } pub mod iot_hub { - use crate::models::*; + use super::{models, models::*}; pub async fn manual_failover( operation_config: &crate::OperationConfig, iot_hub_name: &str, @@ -2398,7 +2398,7 @@ pub mod iot_hub { } } pub mod manual_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/iothub/src/package_2019_11/operations.rs b/services/mgmt/iothub/src/package_2019_11/operations.rs index d9af37806a..1daa5429d7 100644 --- a/services/mgmt/iothub/src/package_2019_11/operations.rs +++ b/services/mgmt/iothub/src/package_2019_11/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Devices/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod iot_hub_resource { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -115,7 +115,7 @@ pub mod iot_hub_resource { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -200,7 +200,7 @@ pub mod iot_hub_resource { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(IotHubDescription), @@ -275,7 +275,7 @@ pub mod iot_hub_resource { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -355,7 +355,7 @@ pub mod iot_hub_resource { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(IotHubDescription), @@ -432,7 +432,7 @@ pub mod iot_hub_resource { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -505,7 +505,7 @@ pub mod iot_hub_resource { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -578,7 +578,7 @@ pub mod iot_hub_resource { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -651,7 +651,7 @@ pub mod iot_hub_resource { } } pub mod get_valid_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -728,7 +728,7 @@ pub mod iot_hub_resource { } } pub mod list_event_hub_consumer_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -807,7 +807,7 @@ pub mod iot_hub_resource { } } pub mod get_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -886,7 +886,7 @@ pub mod iot_hub_resource { } } pub mod create_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -960,7 +960,7 @@ pub mod iot_hub_resource { } } pub mod delete_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1033,7 +1033,7 @@ pub mod iot_hub_resource { } } pub mod list_jobs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1108,7 +1108,7 @@ pub mod iot_hub_resource { } } pub mod get_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1181,7 +1181,7 @@ pub mod iot_hub_resource { } } pub mod get_quota_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1254,7 +1254,7 @@ pub mod iot_hub_resource { } } pub mod get_endpoint_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1327,7 +1327,7 @@ pub mod iot_hub_resource { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1402,7 +1402,7 @@ pub mod iot_hub_resource { } } pub mod test_all_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1477,7 +1477,7 @@ pub mod iot_hub_resource { } } pub mod test_route { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1551,7 +1551,7 @@ pub mod iot_hub_resource { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1629,7 +1629,7 @@ pub mod iot_hub_resource { } } pub mod get_keys_for_key_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1704,7 +1704,7 @@ pub mod iot_hub_resource { } } pub mod export_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1779,7 +1779,7 @@ pub mod iot_hub_resource { } } pub mod import_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1803,7 +1803,7 @@ pub mod iot_hub_resource { } } pub mod resource_provider_common { - use crate::models::*; + use super::{models, models::*}; pub async fn get_subscription_quota( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1853,7 +1853,7 @@ pub mod resource_provider_common { } } pub mod get_subscription_quota { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1877,7 +1877,7 @@ pub mod resource_provider_common { } } pub mod certificates { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_iot_hub( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1929,7 +1929,7 @@ pub mod certificates { } } pub mod list_by_iot_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2001,7 +2001,7 @@ pub mod certificates { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2088,7 +2088,7 @@ pub mod certificates { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CertificateDescription), @@ -2163,7 +2163,7 @@ pub mod certificates { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2248,7 +2248,7 @@ pub mod certificates { } } pub mod generate_verification_code { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2324,7 +2324,7 @@ pub mod certificates { } } pub mod verify { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2348,7 +2348,7 @@ pub mod certificates { } } pub mod iot_hub { - use crate::models::*; + use super::{models, models::*}; pub async fn manual_failover( operation_config: &crate::OperationConfig, iot_hub_name: &str, @@ -2398,7 +2398,7 @@ pub mod iot_hub { } } pub mod manual_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/iothub/src/package_2020_03/operations.rs b/services/mgmt/iothub/src/package_2020_03/operations.rs index e55ba0d9d5..d8f85c334a 100644 --- a/services/mgmt/iothub/src/package_2020_03/operations.rs +++ b/services/mgmt/iothub/src/package_2020_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Devices/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod iot_hub_resource { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -115,7 +115,7 @@ pub mod iot_hub_resource { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -200,7 +200,7 @@ pub mod iot_hub_resource { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(IotHubDescription), @@ -275,7 +275,7 @@ pub mod iot_hub_resource { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -355,7 +355,7 @@ pub mod iot_hub_resource { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(IotHubDescription), @@ -432,7 +432,7 @@ pub mod iot_hub_resource { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -505,7 +505,7 @@ pub mod iot_hub_resource { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -578,7 +578,7 @@ pub mod iot_hub_resource { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -651,7 +651,7 @@ pub mod iot_hub_resource { } } pub mod get_valid_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -728,7 +728,7 @@ pub mod iot_hub_resource { } } pub mod list_event_hub_consumer_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -807,7 +807,7 @@ pub mod iot_hub_resource { } } pub mod get_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -886,7 +886,7 @@ pub mod iot_hub_resource { } } pub mod create_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -960,7 +960,7 @@ pub mod iot_hub_resource { } } pub mod delete_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1033,7 +1033,7 @@ pub mod iot_hub_resource { } } pub mod list_jobs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1108,7 +1108,7 @@ pub mod iot_hub_resource { } } pub mod get_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1181,7 +1181,7 @@ pub mod iot_hub_resource { } } pub mod get_quota_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1254,7 +1254,7 @@ pub mod iot_hub_resource { } } pub mod get_endpoint_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1327,7 +1327,7 @@ pub mod iot_hub_resource { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1402,7 +1402,7 @@ pub mod iot_hub_resource { } } pub mod test_all_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1477,7 +1477,7 @@ pub mod iot_hub_resource { } } pub mod test_route { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1551,7 +1551,7 @@ pub mod iot_hub_resource { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1629,7 +1629,7 @@ pub mod iot_hub_resource { } } pub mod get_keys_for_key_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1704,7 +1704,7 @@ pub mod iot_hub_resource { } } pub mod export_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1779,7 +1779,7 @@ pub mod iot_hub_resource { } } pub mod import_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1803,7 +1803,7 @@ pub mod iot_hub_resource { } } pub mod resource_provider_common { - use crate::models::*; + use super::{models, models::*}; pub async fn get_subscription_quota( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1853,7 +1853,7 @@ pub mod resource_provider_common { } } pub mod get_subscription_quota { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1877,7 +1877,7 @@ pub mod resource_provider_common { } } pub mod certificates { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_iot_hub( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1929,7 +1929,7 @@ pub mod certificates { } } pub mod list_by_iot_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2001,7 +2001,7 @@ pub mod certificates { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2088,7 +2088,7 @@ pub mod certificates { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CertificateDescription), @@ -2163,7 +2163,7 @@ pub mod certificates { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2248,7 +2248,7 @@ pub mod certificates { } } pub mod generate_verification_code { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2324,7 +2324,7 @@ pub mod certificates { } } pub mod verify { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2348,7 +2348,7 @@ pub mod certificates { } } pub mod iot_hub { - use crate::models::*; + use super::{models, models::*}; pub async fn manual_failover( operation_config: &crate::OperationConfig, iot_hub_name: &str, @@ -2398,7 +2398,7 @@ pub mod iot_hub { } } pub mod manual_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2427,7 +2427,7 @@ pub mod iot_hub { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2476,7 +2476,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2548,7 +2548,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2572,7 +2572,7 @@ pub mod private_link_resources { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2621,7 +2621,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2693,7 +2693,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2773,7 +2773,7 @@ pub mod private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PrivateEndpointConnection), @@ -2857,7 +2857,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(PrivateEndpointConnection), diff --git a/services/mgmt/iothub/src/package_2020_04/operations.rs b/services/mgmt/iothub/src/package_2020_04/operations.rs index e55ba0d9d5..d8f85c334a 100644 --- a/services/mgmt/iothub/src/package_2020_04/operations.rs +++ b/services/mgmt/iothub/src/package_2020_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Devices/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod iot_hub_resource { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -115,7 +115,7 @@ pub mod iot_hub_resource { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -200,7 +200,7 @@ pub mod iot_hub_resource { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(IotHubDescription), @@ -275,7 +275,7 @@ pub mod iot_hub_resource { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -355,7 +355,7 @@ pub mod iot_hub_resource { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(IotHubDescription), @@ -432,7 +432,7 @@ pub mod iot_hub_resource { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -505,7 +505,7 @@ pub mod iot_hub_resource { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -578,7 +578,7 @@ pub mod iot_hub_resource { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -651,7 +651,7 @@ pub mod iot_hub_resource { } } pub mod get_valid_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -728,7 +728,7 @@ pub mod iot_hub_resource { } } pub mod list_event_hub_consumer_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -807,7 +807,7 @@ pub mod iot_hub_resource { } } pub mod get_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -886,7 +886,7 @@ pub mod iot_hub_resource { } } pub mod create_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -960,7 +960,7 @@ pub mod iot_hub_resource { } } pub mod delete_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1033,7 +1033,7 @@ pub mod iot_hub_resource { } } pub mod list_jobs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1108,7 +1108,7 @@ pub mod iot_hub_resource { } } pub mod get_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1181,7 +1181,7 @@ pub mod iot_hub_resource { } } pub mod get_quota_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1254,7 +1254,7 @@ pub mod iot_hub_resource { } } pub mod get_endpoint_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1327,7 +1327,7 @@ pub mod iot_hub_resource { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1402,7 +1402,7 @@ pub mod iot_hub_resource { } } pub mod test_all_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1477,7 +1477,7 @@ pub mod iot_hub_resource { } } pub mod test_route { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1551,7 +1551,7 @@ pub mod iot_hub_resource { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1629,7 +1629,7 @@ pub mod iot_hub_resource { } } pub mod get_keys_for_key_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1704,7 +1704,7 @@ pub mod iot_hub_resource { } } pub mod export_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1779,7 +1779,7 @@ pub mod iot_hub_resource { } } pub mod import_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1803,7 +1803,7 @@ pub mod iot_hub_resource { } } pub mod resource_provider_common { - use crate::models::*; + use super::{models, models::*}; pub async fn get_subscription_quota( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1853,7 +1853,7 @@ pub mod resource_provider_common { } } pub mod get_subscription_quota { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1877,7 +1877,7 @@ pub mod resource_provider_common { } } pub mod certificates { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_iot_hub( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1929,7 +1929,7 @@ pub mod certificates { } } pub mod list_by_iot_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2001,7 +2001,7 @@ pub mod certificates { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2088,7 +2088,7 @@ pub mod certificates { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CertificateDescription), @@ -2163,7 +2163,7 @@ pub mod certificates { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2248,7 +2248,7 @@ pub mod certificates { } } pub mod generate_verification_code { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2324,7 +2324,7 @@ pub mod certificates { } } pub mod verify { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2348,7 +2348,7 @@ pub mod certificates { } } pub mod iot_hub { - use crate::models::*; + use super::{models, models::*}; pub async fn manual_failover( operation_config: &crate::OperationConfig, iot_hub_name: &str, @@ -2398,7 +2398,7 @@ pub mod iot_hub { } } pub mod manual_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2427,7 +2427,7 @@ pub mod iot_hub { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2476,7 +2476,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2548,7 +2548,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2572,7 +2572,7 @@ pub mod private_link_resources { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2621,7 +2621,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2693,7 +2693,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2773,7 +2773,7 @@ pub mod private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PrivateEndpointConnection), @@ -2857,7 +2857,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(PrivateEndpointConnection), diff --git a/services/mgmt/iothub/src/package_2020_06/operations.rs b/services/mgmt/iothub/src/package_2020_06/operations.rs index 5a33e31d0a..1e8d6d2935 100644 --- a/services/mgmt/iothub/src/package_2020_06/operations.rs +++ b/services/mgmt/iothub/src/package_2020_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Devices/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod iot_hub_resource { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -115,7 +115,7 @@ pub mod iot_hub_resource { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -200,7 +200,7 @@ pub mod iot_hub_resource { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(IotHubDescription), @@ -275,7 +275,7 @@ pub mod iot_hub_resource { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -355,7 +355,7 @@ pub mod iot_hub_resource { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(IotHubDescription), @@ -432,7 +432,7 @@ pub mod iot_hub_resource { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -505,7 +505,7 @@ pub mod iot_hub_resource { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -578,7 +578,7 @@ pub mod iot_hub_resource { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -651,7 +651,7 @@ pub mod iot_hub_resource { } } pub mod get_valid_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -728,7 +728,7 @@ pub mod iot_hub_resource { } } pub mod list_event_hub_consumer_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -807,7 +807,7 @@ pub mod iot_hub_resource { } } pub mod get_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -888,7 +888,7 @@ pub mod iot_hub_resource { } } pub mod create_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -962,7 +962,7 @@ pub mod iot_hub_resource { } } pub mod delete_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1035,7 +1035,7 @@ pub mod iot_hub_resource { } } pub mod list_jobs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1110,7 +1110,7 @@ pub mod iot_hub_resource { } } pub mod get_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1183,7 +1183,7 @@ pub mod iot_hub_resource { } } pub mod get_quota_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1256,7 +1256,7 @@ pub mod iot_hub_resource { } } pub mod get_endpoint_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1329,7 +1329,7 @@ pub mod iot_hub_resource { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1404,7 +1404,7 @@ pub mod iot_hub_resource { } } pub mod test_all_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1479,7 +1479,7 @@ pub mod iot_hub_resource { } } pub mod test_route { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1553,7 +1553,7 @@ pub mod iot_hub_resource { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1631,7 +1631,7 @@ pub mod iot_hub_resource { } } pub mod get_keys_for_key_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1706,7 +1706,7 @@ pub mod iot_hub_resource { } } pub mod export_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1781,7 +1781,7 @@ pub mod iot_hub_resource { } } pub mod import_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1805,7 +1805,7 @@ pub mod iot_hub_resource { } } pub mod resource_provider_common { - use crate::models::*; + use super::{models, models::*}; pub async fn get_subscription_quota( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1855,7 +1855,7 @@ pub mod resource_provider_common { } } pub mod get_subscription_quota { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1879,7 +1879,7 @@ pub mod resource_provider_common { } } pub mod certificates { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_iot_hub( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1931,7 +1931,7 @@ pub mod certificates { } } pub mod list_by_iot_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2003,7 +2003,7 @@ pub mod certificates { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2090,7 +2090,7 @@ pub mod certificates { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CertificateDescription), @@ -2165,7 +2165,7 @@ pub mod certificates { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2250,7 +2250,7 @@ pub mod certificates { } } pub mod generate_verification_code { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2326,7 +2326,7 @@ pub mod certificates { } } pub mod verify { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2350,7 +2350,7 @@ pub mod certificates { } } pub mod iot_hub { - use crate::models::*; + use super::{models, models::*}; pub async fn manual_failover( operation_config: &crate::OperationConfig, iot_hub_name: &str, @@ -2400,7 +2400,7 @@ pub mod iot_hub { } } pub mod manual_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2429,7 +2429,7 @@ pub mod iot_hub { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2478,7 +2478,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2550,7 +2550,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2574,7 +2574,7 @@ pub mod private_link_resources { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2623,7 +2623,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2695,7 +2695,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2775,7 +2775,7 @@ pub mod private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PrivateEndpointConnection), @@ -2859,7 +2859,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(PrivateEndpointConnection), diff --git a/services/mgmt/iothub/src/package_2020_08/operations.rs b/services/mgmt/iothub/src/package_2020_08/operations.rs index 5a33e31d0a..1e8d6d2935 100644 --- a/services/mgmt/iothub/src/package_2020_08/operations.rs +++ b/services/mgmt/iothub/src/package_2020_08/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Devices/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod iot_hub_resource { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -115,7 +115,7 @@ pub mod iot_hub_resource { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -200,7 +200,7 @@ pub mod iot_hub_resource { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(IotHubDescription), @@ -275,7 +275,7 @@ pub mod iot_hub_resource { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -355,7 +355,7 @@ pub mod iot_hub_resource { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(IotHubDescription), @@ -432,7 +432,7 @@ pub mod iot_hub_resource { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -505,7 +505,7 @@ pub mod iot_hub_resource { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -578,7 +578,7 @@ pub mod iot_hub_resource { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -651,7 +651,7 @@ pub mod iot_hub_resource { } } pub mod get_valid_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -728,7 +728,7 @@ pub mod iot_hub_resource { } } pub mod list_event_hub_consumer_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -807,7 +807,7 @@ pub mod iot_hub_resource { } } pub mod get_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -888,7 +888,7 @@ pub mod iot_hub_resource { } } pub mod create_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -962,7 +962,7 @@ pub mod iot_hub_resource { } } pub mod delete_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1035,7 +1035,7 @@ pub mod iot_hub_resource { } } pub mod list_jobs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1110,7 +1110,7 @@ pub mod iot_hub_resource { } } pub mod get_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1183,7 +1183,7 @@ pub mod iot_hub_resource { } } pub mod get_quota_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1256,7 +1256,7 @@ pub mod iot_hub_resource { } } pub mod get_endpoint_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1329,7 +1329,7 @@ pub mod iot_hub_resource { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1404,7 +1404,7 @@ pub mod iot_hub_resource { } } pub mod test_all_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1479,7 +1479,7 @@ pub mod iot_hub_resource { } } pub mod test_route { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1553,7 +1553,7 @@ pub mod iot_hub_resource { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1631,7 +1631,7 @@ pub mod iot_hub_resource { } } pub mod get_keys_for_key_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1706,7 +1706,7 @@ pub mod iot_hub_resource { } } pub mod export_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1781,7 +1781,7 @@ pub mod iot_hub_resource { } } pub mod import_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1805,7 +1805,7 @@ pub mod iot_hub_resource { } } pub mod resource_provider_common { - use crate::models::*; + use super::{models, models::*}; pub async fn get_subscription_quota( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1855,7 +1855,7 @@ pub mod resource_provider_common { } } pub mod get_subscription_quota { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1879,7 +1879,7 @@ pub mod resource_provider_common { } } pub mod certificates { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_iot_hub( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1931,7 +1931,7 @@ pub mod certificates { } } pub mod list_by_iot_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2003,7 +2003,7 @@ pub mod certificates { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2090,7 +2090,7 @@ pub mod certificates { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CertificateDescription), @@ -2165,7 +2165,7 @@ pub mod certificates { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2250,7 +2250,7 @@ pub mod certificates { } } pub mod generate_verification_code { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2326,7 +2326,7 @@ pub mod certificates { } } pub mod verify { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2350,7 +2350,7 @@ pub mod certificates { } } pub mod iot_hub { - use crate::models::*; + use super::{models, models::*}; pub async fn manual_failover( operation_config: &crate::OperationConfig, iot_hub_name: &str, @@ -2400,7 +2400,7 @@ pub mod iot_hub { } } pub mod manual_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2429,7 +2429,7 @@ pub mod iot_hub { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2478,7 +2478,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2550,7 +2550,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2574,7 +2574,7 @@ pub mod private_link_resources { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2623,7 +2623,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2695,7 +2695,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2775,7 +2775,7 @@ pub mod private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PrivateEndpointConnection), @@ -2859,7 +2859,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(PrivateEndpointConnection), diff --git a/services/mgmt/iothub/src/package_2020_08_31/operations.rs b/services/mgmt/iothub/src/package_2020_08_31/operations.rs index 5a33e31d0a..1e8d6d2935 100644 --- a/services/mgmt/iothub/src/package_2020_08_31/operations.rs +++ b/services/mgmt/iothub/src/package_2020_08_31/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Devices/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod iot_hub_resource { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -115,7 +115,7 @@ pub mod iot_hub_resource { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -200,7 +200,7 @@ pub mod iot_hub_resource { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(IotHubDescription), @@ -275,7 +275,7 @@ pub mod iot_hub_resource { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -355,7 +355,7 @@ pub mod iot_hub_resource { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(IotHubDescription), @@ -432,7 +432,7 @@ pub mod iot_hub_resource { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -505,7 +505,7 @@ pub mod iot_hub_resource { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -578,7 +578,7 @@ pub mod iot_hub_resource { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -651,7 +651,7 @@ pub mod iot_hub_resource { } } pub mod get_valid_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -728,7 +728,7 @@ pub mod iot_hub_resource { } } pub mod list_event_hub_consumer_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -807,7 +807,7 @@ pub mod iot_hub_resource { } } pub mod get_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -888,7 +888,7 @@ pub mod iot_hub_resource { } } pub mod create_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -962,7 +962,7 @@ pub mod iot_hub_resource { } } pub mod delete_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1035,7 +1035,7 @@ pub mod iot_hub_resource { } } pub mod list_jobs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1110,7 +1110,7 @@ pub mod iot_hub_resource { } } pub mod get_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1183,7 +1183,7 @@ pub mod iot_hub_resource { } } pub mod get_quota_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1256,7 +1256,7 @@ pub mod iot_hub_resource { } } pub mod get_endpoint_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1329,7 +1329,7 @@ pub mod iot_hub_resource { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1404,7 +1404,7 @@ pub mod iot_hub_resource { } } pub mod test_all_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1479,7 +1479,7 @@ pub mod iot_hub_resource { } } pub mod test_route { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1553,7 +1553,7 @@ pub mod iot_hub_resource { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1631,7 +1631,7 @@ pub mod iot_hub_resource { } } pub mod get_keys_for_key_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1706,7 +1706,7 @@ pub mod iot_hub_resource { } } pub mod export_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1781,7 +1781,7 @@ pub mod iot_hub_resource { } } pub mod import_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1805,7 +1805,7 @@ pub mod iot_hub_resource { } } pub mod resource_provider_common { - use crate::models::*; + use super::{models, models::*}; pub async fn get_subscription_quota( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1855,7 +1855,7 @@ pub mod resource_provider_common { } } pub mod get_subscription_quota { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1879,7 +1879,7 @@ pub mod resource_provider_common { } } pub mod certificates { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_iot_hub( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1931,7 +1931,7 @@ pub mod certificates { } } pub mod list_by_iot_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2003,7 +2003,7 @@ pub mod certificates { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2090,7 +2090,7 @@ pub mod certificates { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CertificateDescription), @@ -2165,7 +2165,7 @@ pub mod certificates { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2250,7 +2250,7 @@ pub mod certificates { } } pub mod generate_verification_code { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2326,7 +2326,7 @@ pub mod certificates { } } pub mod verify { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2350,7 +2350,7 @@ pub mod certificates { } } pub mod iot_hub { - use crate::models::*; + use super::{models, models::*}; pub async fn manual_failover( operation_config: &crate::OperationConfig, iot_hub_name: &str, @@ -2400,7 +2400,7 @@ pub mod iot_hub { } } pub mod manual_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2429,7 +2429,7 @@ pub mod iot_hub { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2478,7 +2478,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2550,7 +2550,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2574,7 +2574,7 @@ pub mod private_link_resources { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2623,7 +2623,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2695,7 +2695,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2775,7 +2775,7 @@ pub mod private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PrivateEndpointConnection), @@ -2859,7 +2859,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(PrivateEndpointConnection), diff --git a/services/mgmt/iothub/src/package_2021_03/operations.rs b/services/mgmt/iothub/src/package_2021_03/operations.rs index 5a33e31d0a..1e8d6d2935 100644 --- a/services/mgmt/iothub/src/package_2021_03/operations.rs +++ b/services/mgmt/iothub/src/package_2021_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Devices/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod iot_hub_resource { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -115,7 +115,7 @@ pub mod iot_hub_resource { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -200,7 +200,7 @@ pub mod iot_hub_resource { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(IotHubDescription), @@ -275,7 +275,7 @@ pub mod iot_hub_resource { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -355,7 +355,7 @@ pub mod iot_hub_resource { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(IotHubDescription), @@ -432,7 +432,7 @@ pub mod iot_hub_resource { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -505,7 +505,7 @@ pub mod iot_hub_resource { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -578,7 +578,7 @@ pub mod iot_hub_resource { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -651,7 +651,7 @@ pub mod iot_hub_resource { } } pub mod get_valid_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -728,7 +728,7 @@ pub mod iot_hub_resource { } } pub mod list_event_hub_consumer_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -807,7 +807,7 @@ pub mod iot_hub_resource { } } pub mod get_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -888,7 +888,7 @@ pub mod iot_hub_resource { } } pub mod create_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -962,7 +962,7 @@ pub mod iot_hub_resource { } } pub mod delete_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1035,7 +1035,7 @@ pub mod iot_hub_resource { } } pub mod list_jobs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1110,7 +1110,7 @@ pub mod iot_hub_resource { } } pub mod get_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1183,7 +1183,7 @@ pub mod iot_hub_resource { } } pub mod get_quota_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1256,7 +1256,7 @@ pub mod iot_hub_resource { } } pub mod get_endpoint_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1329,7 +1329,7 @@ pub mod iot_hub_resource { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1404,7 +1404,7 @@ pub mod iot_hub_resource { } } pub mod test_all_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1479,7 +1479,7 @@ pub mod iot_hub_resource { } } pub mod test_route { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1553,7 +1553,7 @@ pub mod iot_hub_resource { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1631,7 +1631,7 @@ pub mod iot_hub_resource { } } pub mod get_keys_for_key_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1706,7 +1706,7 @@ pub mod iot_hub_resource { } } pub mod export_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1781,7 +1781,7 @@ pub mod iot_hub_resource { } } pub mod import_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1805,7 +1805,7 @@ pub mod iot_hub_resource { } } pub mod resource_provider_common { - use crate::models::*; + use super::{models, models::*}; pub async fn get_subscription_quota( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1855,7 +1855,7 @@ pub mod resource_provider_common { } } pub mod get_subscription_quota { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1879,7 +1879,7 @@ pub mod resource_provider_common { } } pub mod certificates { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_iot_hub( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1931,7 +1931,7 @@ pub mod certificates { } } pub mod list_by_iot_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2003,7 +2003,7 @@ pub mod certificates { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2090,7 +2090,7 @@ pub mod certificates { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CertificateDescription), @@ -2165,7 +2165,7 @@ pub mod certificates { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2250,7 +2250,7 @@ pub mod certificates { } } pub mod generate_verification_code { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2326,7 +2326,7 @@ pub mod certificates { } } pub mod verify { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2350,7 +2350,7 @@ pub mod certificates { } } pub mod iot_hub { - use crate::models::*; + use super::{models, models::*}; pub async fn manual_failover( operation_config: &crate::OperationConfig, iot_hub_name: &str, @@ -2400,7 +2400,7 @@ pub mod iot_hub { } } pub mod manual_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2429,7 +2429,7 @@ pub mod iot_hub { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2478,7 +2478,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2550,7 +2550,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2574,7 +2574,7 @@ pub mod private_link_resources { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2623,7 +2623,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2695,7 +2695,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2775,7 +2775,7 @@ pub mod private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PrivateEndpointConnection), @@ -2859,7 +2859,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(PrivateEndpointConnection), diff --git a/services/mgmt/iothub/src/package_2021_07/operations.rs b/services/mgmt/iothub/src/package_2021_07/operations.rs index 5a33e31d0a..1e8d6d2935 100644 --- a/services/mgmt/iothub/src/package_2021_07/operations.rs +++ b/services/mgmt/iothub/src/package_2021_07/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Devices/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod iot_hub_resource { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -115,7 +115,7 @@ pub mod iot_hub_resource { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -200,7 +200,7 @@ pub mod iot_hub_resource { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(IotHubDescription), @@ -275,7 +275,7 @@ pub mod iot_hub_resource { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -355,7 +355,7 @@ pub mod iot_hub_resource { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(IotHubDescription), @@ -432,7 +432,7 @@ pub mod iot_hub_resource { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -505,7 +505,7 @@ pub mod iot_hub_resource { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -578,7 +578,7 @@ pub mod iot_hub_resource { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -651,7 +651,7 @@ pub mod iot_hub_resource { } } pub mod get_valid_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -728,7 +728,7 @@ pub mod iot_hub_resource { } } pub mod list_event_hub_consumer_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -807,7 +807,7 @@ pub mod iot_hub_resource { } } pub mod get_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -888,7 +888,7 @@ pub mod iot_hub_resource { } } pub mod create_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -962,7 +962,7 @@ pub mod iot_hub_resource { } } pub mod delete_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1035,7 +1035,7 @@ pub mod iot_hub_resource { } } pub mod list_jobs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1110,7 +1110,7 @@ pub mod iot_hub_resource { } } pub mod get_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1183,7 +1183,7 @@ pub mod iot_hub_resource { } } pub mod get_quota_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1256,7 +1256,7 @@ pub mod iot_hub_resource { } } pub mod get_endpoint_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1329,7 +1329,7 @@ pub mod iot_hub_resource { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1404,7 +1404,7 @@ pub mod iot_hub_resource { } } pub mod test_all_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1479,7 +1479,7 @@ pub mod iot_hub_resource { } } pub mod test_route { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1553,7 +1553,7 @@ pub mod iot_hub_resource { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1631,7 +1631,7 @@ pub mod iot_hub_resource { } } pub mod get_keys_for_key_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1706,7 +1706,7 @@ pub mod iot_hub_resource { } } pub mod export_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1781,7 +1781,7 @@ pub mod iot_hub_resource { } } pub mod import_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1805,7 +1805,7 @@ pub mod iot_hub_resource { } } pub mod resource_provider_common { - use crate::models::*; + use super::{models, models::*}; pub async fn get_subscription_quota( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1855,7 +1855,7 @@ pub mod resource_provider_common { } } pub mod get_subscription_quota { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1879,7 +1879,7 @@ pub mod resource_provider_common { } } pub mod certificates { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_iot_hub( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1931,7 +1931,7 @@ pub mod certificates { } } pub mod list_by_iot_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2003,7 +2003,7 @@ pub mod certificates { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2090,7 +2090,7 @@ pub mod certificates { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CertificateDescription), @@ -2165,7 +2165,7 @@ pub mod certificates { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2250,7 +2250,7 @@ pub mod certificates { } } pub mod generate_verification_code { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2326,7 +2326,7 @@ pub mod certificates { } } pub mod verify { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2350,7 +2350,7 @@ pub mod certificates { } } pub mod iot_hub { - use crate::models::*; + use super::{models, models::*}; pub async fn manual_failover( operation_config: &crate::OperationConfig, iot_hub_name: &str, @@ -2400,7 +2400,7 @@ pub mod iot_hub { } } pub mod manual_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2429,7 +2429,7 @@ pub mod iot_hub { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2478,7 +2478,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2550,7 +2550,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2574,7 +2574,7 @@ pub mod private_link_resources { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2623,7 +2623,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2695,7 +2695,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2775,7 +2775,7 @@ pub mod private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PrivateEndpointConnection), @@ -2859,7 +2859,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(PrivateEndpointConnection), diff --git a/services/mgmt/iothub/src/package_preview_2019_03/operations.rs b/services/mgmt/iothub/src/package_preview_2019_03/operations.rs index d9af37806a..1daa5429d7 100644 --- a/services/mgmt/iothub/src/package_preview_2019_03/operations.rs +++ b/services/mgmt/iothub/src/package_preview_2019_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Devices/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod iot_hub_resource { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -115,7 +115,7 @@ pub mod iot_hub_resource { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -200,7 +200,7 @@ pub mod iot_hub_resource { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(IotHubDescription), @@ -275,7 +275,7 @@ pub mod iot_hub_resource { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -355,7 +355,7 @@ pub mod iot_hub_resource { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(IotHubDescription), @@ -432,7 +432,7 @@ pub mod iot_hub_resource { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -505,7 +505,7 @@ pub mod iot_hub_resource { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -578,7 +578,7 @@ pub mod iot_hub_resource { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -651,7 +651,7 @@ pub mod iot_hub_resource { } } pub mod get_valid_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -728,7 +728,7 @@ pub mod iot_hub_resource { } } pub mod list_event_hub_consumer_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -807,7 +807,7 @@ pub mod iot_hub_resource { } } pub mod get_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -886,7 +886,7 @@ pub mod iot_hub_resource { } } pub mod create_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -960,7 +960,7 @@ pub mod iot_hub_resource { } } pub mod delete_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1033,7 +1033,7 @@ pub mod iot_hub_resource { } } pub mod list_jobs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1108,7 +1108,7 @@ pub mod iot_hub_resource { } } pub mod get_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1181,7 +1181,7 @@ pub mod iot_hub_resource { } } pub mod get_quota_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1254,7 +1254,7 @@ pub mod iot_hub_resource { } } pub mod get_endpoint_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1327,7 +1327,7 @@ pub mod iot_hub_resource { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1402,7 +1402,7 @@ pub mod iot_hub_resource { } } pub mod test_all_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1477,7 +1477,7 @@ pub mod iot_hub_resource { } } pub mod test_route { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1551,7 +1551,7 @@ pub mod iot_hub_resource { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1629,7 +1629,7 @@ pub mod iot_hub_resource { } } pub mod get_keys_for_key_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1704,7 +1704,7 @@ pub mod iot_hub_resource { } } pub mod export_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1779,7 +1779,7 @@ pub mod iot_hub_resource { } } pub mod import_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1803,7 +1803,7 @@ pub mod iot_hub_resource { } } pub mod resource_provider_common { - use crate::models::*; + use super::{models, models::*}; pub async fn get_subscription_quota( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1853,7 +1853,7 @@ pub mod resource_provider_common { } } pub mod get_subscription_quota { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1877,7 +1877,7 @@ pub mod resource_provider_common { } } pub mod certificates { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_iot_hub( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1929,7 +1929,7 @@ pub mod certificates { } } pub mod list_by_iot_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2001,7 +2001,7 @@ pub mod certificates { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2088,7 +2088,7 @@ pub mod certificates { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CertificateDescription), @@ -2163,7 +2163,7 @@ pub mod certificates { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2248,7 +2248,7 @@ pub mod certificates { } } pub mod generate_verification_code { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2324,7 +2324,7 @@ pub mod certificates { } } pub mod verify { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2348,7 +2348,7 @@ pub mod certificates { } } pub mod iot_hub { - use crate::models::*; + use super::{models, models::*}; pub async fn manual_failover( operation_config: &crate::OperationConfig, iot_hub_name: &str, @@ -2398,7 +2398,7 @@ pub mod iot_hub { } } pub mod manual_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/iothub/src/package_preview_2019_07/operations.rs b/services/mgmt/iothub/src/package_preview_2019_07/operations.rs index d9af37806a..1daa5429d7 100644 --- a/services/mgmt/iothub/src/package_preview_2019_07/operations.rs +++ b/services/mgmt/iothub/src/package_preview_2019_07/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Devices/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod iot_hub_resource { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -115,7 +115,7 @@ pub mod iot_hub_resource { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -200,7 +200,7 @@ pub mod iot_hub_resource { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(IotHubDescription), @@ -275,7 +275,7 @@ pub mod iot_hub_resource { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -355,7 +355,7 @@ pub mod iot_hub_resource { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(IotHubDescription), @@ -432,7 +432,7 @@ pub mod iot_hub_resource { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -505,7 +505,7 @@ pub mod iot_hub_resource { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -578,7 +578,7 @@ pub mod iot_hub_resource { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -651,7 +651,7 @@ pub mod iot_hub_resource { } } pub mod get_valid_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -728,7 +728,7 @@ pub mod iot_hub_resource { } } pub mod list_event_hub_consumer_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -807,7 +807,7 @@ pub mod iot_hub_resource { } } pub mod get_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -886,7 +886,7 @@ pub mod iot_hub_resource { } } pub mod create_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -960,7 +960,7 @@ pub mod iot_hub_resource { } } pub mod delete_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1033,7 +1033,7 @@ pub mod iot_hub_resource { } } pub mod list_jobs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1108,7 +1108,7 @@ pub mod iot_hub_resource { } } pub mod get_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1181,7 +1181,7 @@ pub mod iot_hub_resource { } } pub mod get_quota_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1254,7 +1254,7 @@ pub mod iot_hub_resource { } } pub mod get_endpoint_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1327,7 +1327,7 @@ pub mod iot_hub_resource { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1402,7 +1402,7 @@ pub mod iot_hub_resource { } } pub mod test_all_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1477,7 +1477,7 @@ pub mod iot_hub_resource { } } pub mod test_route { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1551,7 +1551,7 @@ pub mod iot_hub_resource { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1629,7 +1629,7 @@ pub mod iot_hub_resource { } } pub mod get_keys_for_key_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1704,7 +1704,7 @@ pub mod iot_hub_resource { } } pub mod export_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1779,7 +1779,7 @@ pub mod iot_hub_resource { } } pub mod import_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1803,7 +1803,7 @@ pub mod iot_hub_resource { } } pub mod resource_provider_common { - use crate::models::*; + use super::{models, models::*}; pub async fn get_subscription_quota( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1853,7 +1853,7 @@ pub mod resource_provider_common { } } pub mod get_subscription_quota { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1877,7 +1877,7 @@ pub mod resource_provider_common { } } pub mod certificates { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_iot_hub( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1929,7 +1929,7 @@ pub mod certificates { } } pub mod list_by_iot_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2001,7 +2001,7 @@ pub mod certificates { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2088,7 +2088,7 @@ pub mod certificates { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CertificateDescription), @@ -2163,7 +2163,7 @@ pub mod certificates { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2248,7 +2248,7 @@ pub mod certificates { } } pub mod generate_verification_code { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2324,7 +2324,7 @@ pub mod certificates { } } pub mod verify { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2348,7 +2348,7 @@ pub mod certificates { } } pub mod iot_hub { - use crate::models::*; + use super::{models, models::*}; pub async fn manual_failover( operation_config: &crate::OperationConfig, iot_hub_name: &str, @@ -2398,7 +2398,7 @@ pub mod iot_hub { } } pub mod manual_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/iothub/src/package_preview_2020_07/operations.rs b/services/mgmt/iothub/src/package_preview_2020_07/operations.rs index 5a33e31d0a..1e8d6d2935 100644 --- a/services/mgmt/iothub/src/package_preview_2020_07/operations.rs +++ b/services/mgmt/iothub/src/package_preview_2020_07/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Devices/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod iot_hub_resource { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -115,7 +115,7 @@ pub mod iot_hub_resource { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -200,7 +200,7 @@ pub mod iot_hub_resource { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(IotHubDescription), @@ -275,7 +275,7 @@ pub mod iot_hub_resource { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -355,7 +355,7 @@ pub mod iot_hub_resource { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(IotHubDescription), @@ -432,7 +432,7 @@ pub mod iot_hub_resource { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -505,7 +505,7 @@ pub mod iot_hub_resource { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -578,7 +578,7 @@ pub mod iot_hub_resource { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -651,7 +651,7 @@ pub mod iot_hub_resource { } } pub mod get_valid_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -728,7 +728,7 @@ pub mod iot_hub_resource { } } pub mod list_event_hub_consumer_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -807,7 +807,7 @@ pub mod iot_hub_resource { } } pub mod get_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -888,7 +888,7 @@ pub mod iot_hub_resource { } } pub mod create_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -962,7 +962,7 @@ pub mod iot_hub_resource { } } pub mod delete_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1035,7 +1035,7 @@ pub mod iot_hub_resource { } } pub mod list_jobs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1110,7 +1110,7 @@ pub mod iot_hub_resource { } } pub mod get_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1183,7 +1183,7 @@ pub mod iot_hub_resource { } } pub mod get_quota_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1256,7 +1256,7 @@ pub mod iot_hub_resource { } } pub mod get_endpoint_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1329,7 +1329,7 @@ pub mod iot_hub_resource { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1404,7 +1404,7 @@ pub mod iot_hub_resource { } } pub mod test_all_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1479,7 +1479,7 @@ pub mod iot_hub_resource { } } pub mod test_route { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1553,7 +1553,7 @@ pub mod iot_hub_resource { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1631,7 +1631,7 @@ pub mod iot_hub_resource { } } pub mod get_keys_for_key_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1706,7 +1706,7 @@ pub mod iot_hub_resource { } } pub mod export_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1781,7 +1781,7 @@ pub mod iot_hub_resource { } } pub mod import_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1805,7 +1805,7 @@ pub mod iot_hub_resource { } } pub mod resource_provider_common { - use crate::models::*; + use super::{models, models::*}; pub async fn get_subscription_quota( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1855,7 +1855,7 @@ pub mod resource_provider_common { } } pub mod get_subscription_quota { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1879,7 +1879,7 @@ pub mod resource_provider_common { } } pub mod certificates { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_iot_hub( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1931,7 +1931,7 @@ pub mod certificates { } } pub mod list_by_iot_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2003,7 +2003,7 @@ pub mod certificates { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2090,7 +2090,7 @@ pub mod certificates { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CertificateDescription), @@ -2165,7 +2165,7 @@ pub mod certificates { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2250,7 +2250,7 @@ pub mod certificates { } } pub mod generate_verification_code { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2326,7 +2326,7 @@ pub mod certificates { } } pub mod verify { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2350,7 +2350,7 @@ pub mod certificates { } } pub mod iot_hub { - use crate::models::*; + use super::{models, models::*}; pub async fn manual_failover( operation_config: &crate::OperationConfig, iot_hub_name: &str, @@ -2400,7 +2400,7 @@ pub mod iot_hub { } } pub mod manual_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2429,7 +2429,7 @@ pub mod iot_hub { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2478,7 +2478,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2550,7 +2550,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2574,7 +2574,7 @@ pub mod private_link_resources { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2623,7 +2623,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2695,7 +2695,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2775,7 +2775,7 @@ pub mod private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PrivateEndpointConnection), @@ -2859,7 +2859,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(PrivateEndpointConnection), diff --git a/services/mgmt/iothub/src/package_preview_2020_08_31/operations.rs b/services/mgmt/iothub/src/package_preview_2020_08_31/operations.rs index 5a33e31d0a..1e8d6d2935 100644 --- a/services/mgmt/iothub/src/package_preview_2020_08_31/operations.rs +++ b/services/mgmt/iothub/src/package_preview_2020_08_31/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Devices/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod iot_hub_resource { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -115,7 +115,7 @@ pub mod iot_hub_resource { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -200,7 +200,7 @@ pub mod iot_hub_resource { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(IotHubDescription), @@ -275,7 +275,7 @@ pub mod iot_hub_resource { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -355,7 +355,7 @@ pub mod iot_hub_resource { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(IotHubDescription), @@ -432,7 +432,7 @@ pub mod iot_hub_resource { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -505,7 +505,7 @@ pub mod iot_hub_resource { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -578,7 +578,7 @@ pub mod iot_hub_resource { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -651,7 +651,7 @@ pub mod iot_hub_resource { } } pub mod get_valid_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -728,7 +728,7 @@ pub mod iot_hub_resource { } } pub mod list_event_hub_consumer_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -807,7 +807,7 @@ pub mod iot_hub_resource { } } pub mod get_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -888,7 +888,7 @@ pub mod iot_hub_resource { } } pub mod create_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -962,7 +962,7 @@ pub mod iot_hub_resource { } } pub mod delete_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1035,7 +1035,7 @@ pub mod iot_hub_resource { } } pub mod list_jobs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1110,7 +1110,7 @@ pub mod iot_hub_resource { } } pub mod get_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1183,7 +1183,7 @@ pub mod iot_hub_resource { } } pub mod get_quota_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1256,7 +1256,7 @@ pub mod iot_hub_resource { } } pub mod get_endpoint_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1329,7 +1329,7 @@ pub mod iot_hub_resource { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1404,7 +1404,7 @@ pub mod iot_hub_resource { } } pub mod test_all_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1479,7 +1479,7 @@ pub mod iot_hub_resource { } } pub mod test_route { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1553,7 +1553,7 @@ pub mod iot_hub_resource { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1631,7 +1631,7 @@ pub mod iot_hub_resource { } } pub mod get_keys_for_key_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1706,7 +1706,7 @@ pub mod iot_hub_resource { } } pub mod export_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1781,7 +1781,7 @@ pub mod iot_hub_resource { } } pub mod import_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1805,7 +1805,7 @@ pub mod iot_hub_resource { } } pub mod resource_provider_common { - use crate::models::*; + use super::{models, models::*}; pub async fn get_subscription_quota( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1855,7 +1855,7 @@ pub mod resource_provider_common { } } pub mod get_subscription_quota { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1879,7 +1879,7 @@ pub mod resource_provider_common { } } pub mod certificates { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_iot_hub( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1931,7 +1931,7 @@ pub mod certificates { } } pub mod list_by_iot_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2003,7 +2003,7 @@ pub mod certificates { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2090,7 +2090,7 @@ pub mod certificates { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CertificateDescription), @@ -2165,7 +2165,7 @@ pub mod certificates { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2250,7 +2250,7 @@ pub mod certificates { } } pub mod generate_verification_code { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2326,7 +2326,7 @@ pub mod certificates { } } pub mod verify { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2350,7 +2350,7 @@ pub mod certificates { } } pub mod iot_hub { - use crate::models::*; + use super::{models, models::*}; pub async fn manual_failover( operation_config: &crate::OperationConfig, iot_hub_name: &str, @@ -2400,7 +2400,7 @@ pub mod iot_hub { } } pub mod manual_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2429,7 +2429,7 @@ pub mod iot_hub { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2478,7 +2478,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2550,7 +2550,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2574,7 +2574,7 @@ pub mod private_link_resources { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2623,7 +2623,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2695,7 +2695,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2775,7 +2775,7 @@ pub mod private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PrivateEndpointConnection), @@ -2859,7 +2859,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(PrivateEndpointConnection), diff --git a/services/mgmt/iothub/src/package_preview_2021_02/operations.rs b/services/mgmt/iothub/src/package_preview_2021_02/operations.rs index 5a33e31d0a..1e8d6d2935 100644 --- a/services/mgmt/iothub/src/package_preview_2021_02/operations.rs +++ b/services/mgmt/iothub/src/package_preview_2021_02/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Devices/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod iot_hub_resource { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -115,7 +115,7 @@ pub mod iot_hub_resource { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -200,7 +200,7 @@ pub mod iot_hub_resource { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(IotHubDescription), @@ -275,7 +275,7 @@ pub mod iot_hub_resource { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -355,7 +355,7 @@ pub mod iot_hub_resource { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(IotHubDescription), @@ -432,7 +432,7 @@ pub mod iot_hub_resource { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -505,7 +505,7 @@ pub mod iot_hub_resource { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -578,7 +578,7 @@ pub mod iot_hub_resource { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -651,7 +651,7 @@ pub mod iot_hub_resource { } } pub mod get_valid_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -728,7 +728,7 @@ pub mod iot_hub_resource { } } pub mod list_event_hub_consumer_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -807,7 +807,7 @@ pub mod iot_hub_resource { } } pub mod get_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -888,7 +888,7 @@ pub mod iot_hub_resource { } } pub mod create_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -962,7 +962,7 @@ pub mod iot_hub_resource { } } pub mod delete_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1035,7 +1035,7 @@ pub mod iot_hub_resource { } } pub mod list_jobs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1110,7 +1110,7 @@ pub mod iot_hub_resource { } } pub mod get_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1183,7 +1183,7 @@ pub mod iot_hub_resource { } } pub mod get_quota_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1256,7 +1256,7 @@ pub mod iot_hub_resource { } } pub mod get_endpoint_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1329,7 +1329,7 @@ pub mod iot_hub_resource { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1404,7 +1404,7 @@ pub mod iot_hub_resource { } } pub mod test_all_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1479,7 +1479,7 @@ pub mod iot_hub_resource { } } pub mod test_route { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1553,7 +1553,7 @@ pub mod iot_hub_resource { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1631,7 +1631,7 @@ pub mod iot_hub_resource { } } pub mod get_keys_for_key_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1706,7 +1706,7 @@ pub mod iot_hub_resource { } } pub mod export_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1781,7 +1781,7 @@ pub mod iot_hub_resource { } } pub mod import_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1805,7 +1805,7 @@ pub mod iot_hub_resource { } } pub mod resource_provider_common { - use crate::models::*; + use super::{models, models::*}; pub async fn get_subscription_quota( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1855,7 +1855,7 @@ pub mod resource_provider_common { } } pub mod get_subscription_quota { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1879,7 +1879,7 @@ pub mod resource_provider_common { } } pub mod certificates { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_iot_hub( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1931,7 +1931,7 @@ pub mod certificates { } } pub mod list_by_iot_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2003,7 +2003,7 @@ pub mod certificates { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2090,7 +2090,7 @@ pub mod certificates { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CertificateDescription), @@ -2165,7 +2165,7 @@ pub mod certificates { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2250,7 +2250,7 @@ pub mod certificates { } } pub mod generate_verification_code { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2326,7 +2326,7 @@ pub mod certificates { } } pub mod verify { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2350,7 +2350,7 @@ pub mod certificates { } } pub mod iot_hub { - use crate::models::*; + use super::{models, models::*}; pub async fn manual_failover( operation_config: &crate::OperationConfig, iot_hub_name: &str, @@ -2400,7 +2400,7 @@ pub mod iot_hub { } } pub mod manual_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2429,7 +2429,7 @@ pub mod iot_hub { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2478,7 +2478,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2550,7 +2550,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2574,7 +2574,7 @@ pub mod private_link_resources { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2623,7 +2623,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2695,7 +2695,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2775,7 +2775,7 @@ pub mod private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PrivateEndpointConnection), @@ -2859,7 +2859,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(PrivateEndpointConnection), diff --git a/services/mgmt/iothub/src/package_preview_2021_03/operations.rs b/services/mgmt/iothub/src/package_preview_2021_03/operations.rs index 5a33e31d0a..1e8d6d2935 100644 --- a/services/mgmt/iothub/src/package_preview_2021_03/operations.rs +++ b/services/mgmt/iothub/src/package_preview_2021_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Devices/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod iot_hub_resource { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -115,7 +115,7 @@ pub mod iot_hub_resource { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -200,7 +200,7 @@ pub mod iot_hub_resource { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(IotHubDescription), @@ -275,7 +275,7 @@ pub mod iot_hub_resource { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -355,7 +355,7 @@ pub mod iot_hub_resource { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(IotHubDescription), @@ -432,7 +432,7 @@ pub mod iot_hub_resource { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -505,7 +505,7 @@ pub mod iot_hub_resource { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -578,7 +578,7 @@ pub mod iot_hub_resource { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -651,7 +651,7 @@ pub mod iot_hub_resource { } } pub mod get_valid_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -728,7 +728,7 @@ pub mod iot_hub_resource { } } pub mod list_event_hub_consumer_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -807,7 +807,7 @@ pub mod iot_hub_resource { } } pub mod get_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -888,7 +888,7 @@ pub mod iot_hub_resource { } } pub mod create_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -962,7 +962,7 @@ pub mod iot_hub_resource { } } pub mod delete_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1035,7 +1035,7 @@ pub mod iot_hub_resource { } } pub mod list_jobs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1110,7 +1110,7 @@ pub mod iot_hub_resource { } } pub mod get_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1183,7 +1183,7 @@ pub mod iot_hub_resource { } } pub mod get_quota_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1256,7 +1256,7 @@ pub mod iot_hub_resource { } } pub mod get_endpoint_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1329,7 +1329,7 @@ pub mod iot_hub_resource { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1404,7 +1404,7 @@ pub mod iot_hub_resource { } } pub mod test_all_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1479,7 +1479,7 @@ pub mod iot_hub_resource { } } pub mod test_route { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1553,7 +1553,7 @@ pub mod iot_hub_resource { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1631,7 +1631,7 @@ pub mod iot_hub_resource { } } pub mod get_keys_for_key_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1706,7 +1706,7 @@ pub mod iot_hub_resource { } } pub mod export_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1781,7 +1781,7 @@ pub mod iot_hub_resource { } } pub mod import_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1805,7 +1805,7 @@ pub mod iot_hub_resource { } } pub mod resource_provider_common { - use crate::models::*; + use super::{models, models::*}; pub async fn get_subscription_quota( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1855,7 +1855,7 @@ pub mod resource_provider_common { } } pub mod get_subscription_quota { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1879,7 +1879,7 @@ pub mod resource_provider_common { } } pub mod certificates { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_iot_hub( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1931,7 +1931,7 @@ pub mod certificates { } } pub mod list_by_iot_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2003,7 +2003,7 @@ pub mod certificates { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2090,7 +2090,7 @@ pub mod certificates { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CertificateDescription), @@ -2165,7 +2165,7 @@ pub mod certificates { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2250,7 +2250,7 @@ pub mod certificates { } } pub mod generate_verification_code { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2326,7 +2326,7 @@ pub mod certificates { } } pub mod verify { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2350,7 +2350,7 @@ pub mod certificates { } } pub mod iot_hub { - use crate::models::*; + use super::{models, models::*}; pub async fn manual_failover( operation_config: &crate::OperationConfig, iot_hub_name: &str, @@ -2400,7 +2400,7 @@ pub mod iot_hub { } } pub mod manual_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2429,7 +2429,7 @@ pub mod iot_hub { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2478,7 +2478,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2550,7 +2550,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2574,7 +2574,7 @@ pub mod private_link_resources { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2623,7 +2623,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2695,7 +2695,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2775,7 +2775,7 @@ pub mod private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PrivateEndpointConnection), @@ -2859,7 +2859,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(PrivateEndpointConnection), diff --git a/services/mgmt/iothub/src/package_preview_2021_07/operations.rs b/services/mgmt/iothub/src/package_preview_2021_07/operations.rs index 5a33e31d0a..1e8d6d2935 100644 --- a/services/mgmt/iothub/src/package_preview_2021_07/operations.rs +++ b/services/mgmt/iothub/src/package_preview_2021_07/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Devices/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod iot_hub_resource { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -115,7 +115,7 @@ pub mod iot_hub_resource { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -200,7 +200,7 @@ pub mod iot_hub_resource { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(IotHubDescription), @@ -275,7 +275,7 @@ pub mod iot_hub_resource { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -355,7 +355,7 @@ pub mod iot_hub_resource { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(IotHubDescription), @@ -432,7 +432,7 @@ pub mod iot_hub_resource { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -505,7 +505,7 @@ pub mod iot_hub_resource { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -578,7 +578,7 @@ pub mod iot_hub_resource { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -651,7 +651,7 @@ pub mod iot_hub_resource { } } pub mod get_valid_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -728,7 +728,7 @@ pub mod iot_hub_resource { } } pub mod list_event_hub_consumer_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -807,7 +807,7 @@ pub mod iot_hub_resource { } } pub mod get_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -888,7 +888,7 @@ pub mod iot_hub_resource { } } pub mod create_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -962,7 +962,7 @@ pub mod iot_hub_resource { } } pub mod delete_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1035,7 +1035,7 @@ pub mod iot_hub_resource { } } pub mod list_jobs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1110,7 +1110,7 @@ pub mod iot_hub_resource { } } pub mod get_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1183,7 +1183,7 @@ pub mod iot_hub_resource { } } pub mod get_quota_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1256,7 +1256,7 @@ pub mod iot_hub_resource { } } pub mod get_endpoint_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1329,7 +1329,7 @@ pub mod iot_hub_resource { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1404,7 +1404,7 @@ pub mod iot_hub_resource { } } pub mod test_all_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1479,7 +1479,7 @@ pub mod iot_hub_resource { } } pub mod test_route { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1553,7 +1553,7 @@ pub mod iot_hub_resource { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1631,7 +1631,7 @@ pub mod iot_hub_resource { } } pub mod get_keys_for_key_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1706,7 +1706,7 @@ pub mod iot_hub_resource { } } pub mod export_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1781,7 +1781,7 @@ pub mod iot_hub_resource { } } pub mod import_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1805,7 +1805,7 @@ pub mod iot_hub_resource { } } pub mod resource_provider_common { - use crate::models::*; + use super::{models, models::*}; pub async fn get_subscription_quota( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1855,7 +1855,7 @@ pub mod resource_provider_common { } } pub mod get_subscription_quota { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1879,7 +1879,7 @@ pub mod resource_provider_common { } } pub mod certificates { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_iot_hub( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1931,7 +1931,7 @@ pub mod certificates { } } pub mod list_by_iot_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2003,7 +2003,7 @@ pub mod certificates { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2090,7 +2090,7 @@ pub mod certificates { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CertificateDescription), @@ -2165,7 +2165,7 @@ pub mod certificates { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2250,7 +2250,7 @@ pub mod certificates { } } pub mod generate_verification_code { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2326,7 +2326,7 @@ pub mod certificates { } } pub mod verify { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2350,7 +2350,7 @@ pub mod certificates { } } pub mod iot_hub { - use crate::models::*; + use super::{models, models::*}; pub async fn manual_failover( operation_config: &crate::OperationConfig, iot_hub_name: &str, @@ -2400,7 +2400,7 @@ pub mod iot_hub { } } pub mod manual_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2429,7 +2429,7 @@ pub mod iot_hub { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2478,7 +2478,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2550,7 +2550,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2574,7 +2574,7 @@ pub mod private_link_resources { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2623,7 +2623,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2695,7 +2695,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2775,7 +2775,7 @@ pub mod private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PrivateEndpointConnection), @@ -2859,7 +2859,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(PrivateEndpointConnection), diff --git a/services/mgmt/iothub/src/profile_hybrid_2020_09_01/operations.rs b/services/mgmt/iothub/src/profile_hybrid_2020_09_01/operations.rs index d9af37806a..1daa5429d7 100644 --- a/services/mgmt/iothub/src/profile_hybrid_2020_09_01/operations.rs +++ b/services/mgmt/iothub/src/profile_hybrid_2020_09_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Devices/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod iot_hub_resource { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -115,7 +115,7 @@ pub mod iot_hub_resource { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -200,7 +200,7 @@ pub mod iot_hub_resource { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(IotHubDescription), @@ -275,7 +275,7 @@ pub mod iot_hub_resource { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -355,7 +355,7 @@ pub mod iot_hub_resource { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(IotHubDescription), @@ -432,7 +432,7 @@ pub mod iot_hub_resource { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -505,7 +505,7 @@ pub mod iot_hub_resource { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -578,7 +578,7 @@ pub mod iot_hub_resource { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -651,7 +651,7 @@ pub mod iot_hub_resource { } } pub mod get_valid_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -728,7 +728,7 @@ pub mod iot_hub_resource { } } pub mod list_event_hub_consumer_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -807,7 +807,7 @@ pub mod iot_hub_resource { } } pub mod get_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -886,7 +886,7 @@ pub mod iot_hub_resource { } } pub mod create_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -960,7 +960,7 @@ pub mod iot_hub_resource { } } pub mod delete_event_hub_consumer_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1033,7 +1033,7 @@ pub mod iot_hub_resource { } } pub mod list_jobs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1108,7 +1108,7 @@ pub mod iot_hub_resource { } } pub mod get_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1181,7 +1181,7 @@ pub mod iot_hub_resource { } } pub mod get_quota_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1254,7 +1254,7 @@ pub mod iot_hub_resource { } } pub mod get_endpoint_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1327,7 +1327,7 @@ pub mod iot_hub_resource { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1402,7 +1402,7 @@ pub mod iot_hub_resource { } } pub mod test_all_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1477,7 +1477,7 @@ pub mod iot_hub_resource { } } pub mod test_route { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1551,7 +1551,7 @@ pub mod iot_hub_resource { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1629,7 +1629,7 @@ pub mod iot_hub_resource { } } pub mod get_keys_for_key_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1704,7 +1704,7 @@ pub mod iot_hub_resource { } } pub mod export_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1779,7 +1779,7 @@ pub mod iot_hub_resource { } } pub mod import_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1803,7 +1803,7 @@ pub mod iot_hub_resource { } } pub mod resource_provider_common { - use crate::models::*; + use super::{models, models::*}; pub async fn get_subscription_quota( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1853,7 +1853,7 @@ pub mod resource_provider_common { } } pub mod get_subscription_quota { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1877,7 +1877,7 @@ pub mod resource_provider_common { } } pub mod certificates { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_iot_hub( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1929,7 +1929,7 @@ pub mod certificates { } } pub mod list_by_iot_hub { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2001,7 +2001,7 @@ pub mod certificates { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2088,7 +2088,7 @@ pub mod certificates { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CertificateDescription), @@ -2163,7 +2163,7 @@ pub mod certificates { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2248,7 +2248,7 @@ pub mod certificates { } } pub mod generate_verification_code { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2324,7 +2324,7 @@ pub mod certificates { } } pub mod verify { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2348,7 +2348,7 @@ pub mod certificates { } } pub mod iot_hub { - use crate::models::*; + use super::{models, models::*}; pub async fn manual_failover( operation_config: &crate::OperationConfig, iot_hub_name: &str, @@ -2398,7 +2398,7 @@ pub mod iot_hub { } } pub mod manual_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/keyvault/Cargo.toml b/services/mgmt/keyvault/Cargo.toml index 2a0c41fa88..d883a3ba56 100644 --- a/services/mgmt/keyvault/Cargo.toml +++ b/services/mgmt/keyvault/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2019-09"] +no-default-version = [] "package-preview-2021-06" = [] "package-preview-2021-04" = [] "package-preview-2021-04-full" = [] diff --git a/services/mgmt/keyvault/src/lib.rs b/services/mgmt/keyvault/src/lib.rs index 816fec6e96..9e63d298e6 100644 --- a/services/mgmt/keyvault/src/lib.rs +++ b/services/mgmt/keyvault/src/lib.rs @@ -1,49 +1,57 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-preview-2021-06")] -mod package_preview_2021_06; -#[cfg(feature = "package-preview-2021-06")] +pub mod package_preview_2021_06; +#[cfg(all(feature = "package-preview-2021-06", not(feature = "no-default-version")))] pub use package_preview_2021_06::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2021-04")] -mod package_preview_2021_04; -#[cfg(feature = "package-preview-2021-04")] +pub mod package_preview_2021_04; +#[cfg(all(feature = "package-preview-2021-04", not(feature = "no-default-version")))] pub use package_preview_2021_04::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2021-04-full")] -mod package_preview_2021_04_full; -#[cfg(feature = "package-preview-2021-04-full")] +pub mod package_preview_2021_04_full; +#[cfg(all(feature = "package-preview-2021-04-full", not(feature = "no-default-version")))] pub use package_preview_2021_04_full::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2020-04")] -mod package_preview_2020_04; -#[cfg(feature = "package-preview-2020-04")] +pub mod package_preview_2020_04; +#[cfg(all(feature = "package-preview-2020-04", not(feature = "no-default-version")))] pub use package_preview_2020_04::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2020-04-full")] -mod package_preview_2020_04_full; -#[cfg(feature = "package-preview-2020-04-full")] +pub mod package_preview_2020_04_full; +#[cfg(all(feature = "package-preview-2020-04-full", not(feature = "no-default-version")))] pub use package_preview_2020_04_full::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-09")] -mod package_2019_09; -#[cfg(feature = "package-2019-09")] +pub mod package_2019_09; +#[cfg(all(feature = "package-2019-09", not(feature = "no-default-version")))] pub use package_2019_09::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-02-14-preview")] -mod package_2018_02_14_preview; -#[cfg(feature = "package-2018-02-14-preview")] +pub mod package_2018_02_14_preview; +#[cfg(all(feature = "package-2018-02-14-preview", not(feature = "no-default-version")))] pub use package_2018_02_14_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-02")] -mod package_2018_02; -#[cfg(feature = "package-2018-02")] +pub mod package_2018_02; +#[cfg(all(feature = "package-2018-02", not(feature = "no-default-version")))] pub use package_2018_02::{models, operations, API_VERSION}; #[cfg(feature = "package-2016-10")] -mod package_2016_10; -#[cfg(feature = "package-2016-10")] +pub mod package_2016_10; +#[cfg(all(feature = "package-2016-10", not(feature = "no-default-version")))] pub use package_2016_10::{models, operations, API_VERSION}; #[cfg(feature = "package-2015-06")] -mod package_2015_06; -#[cfg(feature = "package-2015-06")] +pub mod package_2015_06; +#[cfg(all(feature = "package-2015-06", not(feature = "no-default-version")))] pub use package_2015_06::{models, operations, API_VERSION}; #[cfg(feature = "profile-hybrid-2020-09-01")] -mod profile_hybrid_2020_09_01; +pub mod profile_hybrid_2020_09_01; use azure_core::setters; -#[cfg(feature = "profile-hybrid-2020-09-01")] +#[cfg(all(feature = "profile-hybrid-2020-09-01", not(feature = "no-default-version")))] pub use profile_hybrid_2020_09_01::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -67,7 +75,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/keyvault/src/package_2015_06/operations.rs b/services/mgmt/keyvault/src/package_2015_06/operations.rs index dbfd31422e..e9cd2add85 100644 --- a/services/mgmt/keyvault/src/package_2015_06/operations.rs +++ b/services/mgmt/keyvault/src/package_2015_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod vaults { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod vaults { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod vaults { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Vault), @@ -193,7 +193,7 @@ pub mod vaults { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -270,7 +270,7 @@ pub mod vaults { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -333,7 +333,7 @@ pub mod vaults { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/keyvault/src/package_2016_10/operations.rs b/services/mgmt/keyvault/src/package_2016_10/operations.rs index 0de08890de..05b1bb08a1 100644 --- a/services/mgmt/keyvault/src/package_2016_10/operations.rs +++ b/services/mgmt/keyvault/src/package_2016_10/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod vaults { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod vaults { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod vaults { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Vault), @@ -205,7 +205,7 @@ pub mod vaults { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Vault), @@ -271,7 +271,7 @@ pub mod vaults { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -354,7 +354,7 @@ pub mod vaults { } } pub mod update_access_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(VaultAccessPolicyParameters), @@ -431,7 +431,7 @@ pub mod vaults { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -499,7 +499,7 @@ pub mod vaults { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -563,7 +563,7 @@ pub mod vaults { } } pub mod list_deleted { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -631,7 +631,7 @@ pub mod vaults { } } pub mod get_deleted { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -696,7 +696,7 @@ pub mod vaults { } } pub mod purge_deleted { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -764,7 +764,7 @@ pub mod vaults { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -832,7 +832,7 @@ pub mod vaults { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -853,7 +853,7 @@ pub mod vaults { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.KeyVault/operations", operation_config.base_path(),); @@ -889,7 +889,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/keyvault/src/package_2018_02/operations.rs b/services/mgmt/keyvault/src/package_2018_02/operations.rs index cb2e017dad..b1b98c53d9 100644 --- a/services/mgmt/keyvault/src/package_2018_02/operations.rs +++ b/services/mgmt/keyvault/src/package_2018_02/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod vaults { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod vaults { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod vaults { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Vault), @@ -205,7 +205,7 @@ pub mod vaults { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Vault), @@ -271,7 +271,7 @@ pub mod vaults { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -354,7 +354,7 @@ pub mod vaults { } } pub mod update_access_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(VaultAccessPolicyParameters), @@ -431,7 +431,7 @@ pub mod vaults { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -499,7 +499,7 @@ pub mod vaults { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -563,7 +563,7 @@ pub mod vaults { } } pub mod list_deleted { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -631,7 +631,7 @@ pub mod vaults { } } pub mod get_deleted { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -696,7 +696,7 @@ pub mod vaults { } } pub mod purge_deleted { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -764,7 +764,7 @@ pub mod vaults { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -832,7 +832,7 @@ pub mod vaults { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -853,7 +853,7 @@ pub mod vaults { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -904,7 +904,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -978,7 +978,7 @@ pub mod private_endpoint_connections { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1052,7 +1052,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -1082,7 +1082,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_vault( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1134,7 +1134,7 @@ pub mod private_link_resources { } } pub mod list_by_vault { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1158,7 +1158,7 @@ pub mod private_link_resources { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.KeyVault/operations", operation_config.base_path(),); @@ -1194,7 +1194,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/keyvault/src/package_2018_02_14_preview/operations.rs b/services/mgmt/keyvault/src/package_2018_02_14_preview/operations.rs index c3ba099575..6bb3ef270e 100644 --- a/services/mgmt/keyvault/src/package_2018_02_14_preview/operations.rs +++ b/services/mgmt/keyvault/src/package_2018_02_14_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod vaults { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod vaults { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod vaults { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Vault), @@ -205,7 +205,7 @@ pub mod vaults { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Vault), @@ -270,7 +270,7 @@ pub mod vaults { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -348,7 +348,7 @@ pub mod vaults { } } pub mod update_access_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(VaultAccessPolicyParameters), @@ -425,7 +425,7 @@ pub mod vaults { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -493,7 +493,7 @@ pub mod vaults { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -557,7 +557,7 @@ pub mod vaults { } } pub mod list_deleted { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -625,7 +625,7 @@ pub mod vaults { } } pub mod get_deleted { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -690,7 +690,7 @@ pub mod vaults { } } pub mod purge_deleted { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -758,7 +758,7 @@ pub mod vaults { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -826,7 +826,7 @@ pub mod vaults { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -847,7 +847,7 @@ pub mod vaults { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.KeyVault/operations", operation_config.base_path(),); @@ -883,7 +883,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/keyvault/src/package_2019_09/operations.rs b/services/mgmt/keyvault/src/package_2019_09/operations.rs index 5d6268c421..6e31c6aed8 100644 --- a/services/mgmt/keyvault/src/package_2019_09/operations.rs +++ b/services/mgmt/keyvault/src/package_2019_09/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod vaults { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod vaults { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -146,7 +146,7 @@ pub mod vaults { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Vault), @@ -245,7 +245,7 @@ pub mod vaults { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Vault), @@ -326,7 +326,7 @@ pub mod vaults { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -434,7 +434,7 @@ pub mod vaults { } } pub mod update_access_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(VaultAccessPolicyParameters), @@ -522,7 +522,7 @@ pub mod vaults { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -595,7 +595,7 @@ pub mod vaults { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -664,7 +664,7 @@ pub mod vaults { } } pub mod list_deleted { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -737,7 +737,7 @@ pub mod vaults { } } pub mod get_deleted { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -819,7 +819,7 @@ pub mod vaults { } } pub mod purge_deleted { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -896,7 +896,7 @@ pub mod vaults { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -969,7 +969,7 @@ pub mod vaults { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -993,7 +993,7 @@ pub mod vaults { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1045,7 +1045,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -1124,7 +1124,7 @@ pub mod private_endpoint_connections { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1198,7 +1198,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -1228,7 +1228,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_vault( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1280,7 +1280,7 @@ pub mod private_link_resources { } } pub mod list_by_vault { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1304,7 +1304,7 @@ pub mod private_link_resources { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.KeyVault/operations", operation_config.base_path(),); @@ -1342,7 +1342,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1366,7 +1366,7 @@ pub mod operations { } } pub mod keys { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1417,7 +1417,7 @@ pub mod keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1494,7 +1494,7 @@ pub mod keys { } } pub mod create_if_not_exist { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1564,7 +1564,7 @@ pub mod keys { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1641,7 +1641,7 @@ pub mod keys { } } pub mod get_version { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1716,7 +1716,7 @@ pub mod keys { } } pub mod list_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/keyvault/src/package_preview_2020_04/models.rs b/services/mgmt/keyvault/src/package_preview_2020_04/models.rs index 996465957d..e83c723fcf 100644 --- a/services/mgmt/keyvault/src/package_preview_2020_04/models.rs +++ b/services/mgmt/keyvault/src/package_preview_2020_04/models.rs @@ -579,5 +579,5 @@ pub struct Error { #[serde(default, skip_serializing_if = "Option::is_none")] pub message: Option, #[serde(default, skip_serializing_if = "Option::is_none")] - pub innererror: Option, + pub innererror: Box>, } diff --git a/services/mgmt/keyvault/src/package_preview_2020_04/operations.rs b/services/mgmt/keyvault/src/package_preview_2020_04/operations.rs index 20e4f7e3d2..3f7f85fa45 100644 --- a/services/mgmt/keyvault/src/package_preview_2020_04/operations.rs +++ b/services/mgmt/keyvault/src/package_preview_2020_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod vaults { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod vaults { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -146,7 +146,7 @@ pub mod vaults { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Vault), @@ -245,7 +245,7 @@ pub mod vaults { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Vault), @@ -326,7 +326,7 @@ pub mod vaults { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -434,7 +434,7 @@ pub mod vaults { } } pub mod update_access_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(VaultAccessPolicyParameters), @@ -522,7 +522,7 @@ pub mod vaults { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -595,7 +595,7 @@ pub mod vaults { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -664,7 +664,7 @@ pub mod vaults { } } pub mod list_deleted { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -737,7 +737,7 @@ pub mod vaults { } } pub mod get_deleted { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -819,7 +819,7 @@ pub mod vaults { } } pub mod purge_deleted { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -896,7 +896,7 @@ pub mod vaults { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -969,7 +969,7 @@ pub mod vaults { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -993,7 +993,7 @@ pub mod vaults { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1045,7 +1045,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -1124,7 +1124,7 @@ pub mod private_endpoint_connections { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1198,7 +1198,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -1228,7 +1228,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_vault( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1280,7 +1280,7 @@ pub mod private_link_resources { } } pub mod list_by_vault { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1304,7 +1304,7 @@ pub mod private_link_resources { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.KeyVault/operations", operation_config.base_path(),); @@ -1342,7 +1342,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1366,7 +1366,7 @@ pub mod operations { } } pub mod managed_hsms { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1417,7 +1417,7 @@ pub mod managed_hsms { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedHsm), @@ -1504,7 +1504,7 @@ pub mod managed_hsms { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(ManagedHsm), @@ -1587,7 +1587,7 @@ pub mod managed_hsms { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(ManagedHsm), @@ -1659,7 +1659,7 @@ pub mod managed_hsms { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1742,7 +1742,7 @@ pub mod managed_hsms { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1815,7 +1815,7 @@ pub mod managed_hsms { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/keyvault/src/package_preview_2020_04_full/models.rs b/services/mgmt/keyvault/src/package_preview_2020_04_full/models.rs index ee5b8df782..4a8817e24c 100644 --- a/services/mgmt/keyvault/src/package_preview_2020_04_full/models.rs +++ b/services/mgmt/keyvault/src/package_preview_2020_04_full/models.rs @@ -750,7 +750,7 @@ pub struct Error { #[serde(default, skip_serializing_if = "Option::is_none")] pub message: Option, #[serde(default, skip_serializing_if = "Option::is_none")] - pub innererror: Option, + pub innererror: Box>, } #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CloudError { diff --git a/services/mgmt/keyvault/src/package_preview_2020_04_full/operations.rs b/services/mgmt/keyvault/src/package_preview_2020_04_full/operations.rs index 747d823746..03633a2312 100644 --- a/services/mgmt/keyvault/src/package_preview_2020_04_full/operations.rs +++ b/services/mgmt/keyvault/src/package_preview_2020_04_full/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod keys { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -55,7 +55,7 @@ pub mod keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -132,7 +132,7 @@ pub mod keys { } } pub mod create_if_not_exist { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -202,7 +202,7 @@ pub mod keys { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -279,7 +279,7 @@ pub mod keys { } } pub mod get_version { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -354,7 +354,7 @@ pub mod keys { } } pub mod list_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -378,7 +378,7 @@ pub mod keys { } } pub mod vaults { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -427,7 +427,7 @@ pub mod vaults { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -520,7 +520,7 @@ pub mod vaults { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Vault), @@ -619,7 +619,7 @@ pub mod vaults { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Vault), @@ -700,7 +700,7 @@ pub mod vaults { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -808,7 +808,7 @@ pub mod vaults { } } pub mod update_access_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(VaultAccessPolicyParameters), @@ -896,7 +896,7 @@ pub mod vaults { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -969,7 +969,7 @@ pub mod vaults { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1038,7 +1038,7 @@ pub mod vaults { } } pub mod list_deleted { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1111,7 +1111,7 @@ pub mod vaults { } } pub mod get_deleted { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1193,7 +1193,7 @@ pub mod vaults { } } pub mod purge_deleted { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1270,7 +1270,7 @@ pub mod vaults { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1343,7 +1343,7 @@ pub mod vaults { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1367,7 +1367,7 @@ pub mod vaults { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1419,7 +1419,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -1498,7 +1498,7 @@ pub mod private_endpoint_connections { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1572,7 +1572,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -1602,7 +1602,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_vault( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1654,7 +1654,7 @@ pub mod private_link_resources { } } pub mod list_by_vault { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1678,7 +1678,7 @@ pub mod private_link_resources { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.KeyVault/operations", operation_config.base_path(),); @@ -1716,7 +1716,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1740,7 +1740,7 @@ pub mod operations { } } pub mod secrets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1791,7 +1791,7 @@ pub mod secrets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1874,7 +1874,7 @@ pub mod secrets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Secret), @@ -1959,7 +1959,7 @@ pub mod secrets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Secret), @@ -2036,7 +2036,7 @@ pub mod secrets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2057,7 +2057,7 @@ pub mod secrets { } } pub mod managed_hsms { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2108,7 +2108,7 @@ pub mod managed_hsms { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedHsm), @@ -2195,7 +2195,7 @@ pub mod managed_hsms { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(ManagedHsm), @@ -2278,7 +2278,7 @@ pub mod managed_hsms { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(ManagedHsm), @@ -2350,7 +2350,7 @@ pub mod managed_hsms { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2433,7 +2433,7 @@ pub mod managed_hsms { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2506,7 +2506,7 @@ pub mod managed_hsms { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/keyvault/src/package_preview_2021_04/models.rs b/services/mgmt/keyvault/src/package_preview_2021_04/models.rs index 24b1e2aa3b..e8320725c6 100644 --- a/services/mgmt/keyvault/src/package_preview_2021_04/models.rs +++ b/services/mgmt/keyvault/src/package_preview_2021_04/models.rs @@ -550,7 +550,7 @@ pub struct Error { #[serde(default, skip_serializing_if = "Option::is_none")] pub message: Option, #[serde(default, skip_serializing_if = "Option::is_none")] - pub innererror: Option, + pub innererror: Box>, } #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DeletedManagedHsm { diff --git a/services/mgmt/keyvault/src/package_preview_2021_04/operations.rs b/services/mgmt/keyvault/src/package_preview_2021_04/operations.rs index 47dfcf5d5c..9d316883de 100644 --- a/services/mgmt/keyvault/src/package_preview_2021_04/operations.rs +++ b/services/mgmt/keyvault/src/package_preview_2021_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod vaults { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod vaults { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod vaults { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Vault), @@ -217,7 +217,7 @@ pub mod vaults { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Vault), @@ -288,7 +288,7 @@ pub mod vaults { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -382,7 +382,7 @@ pub mod vaults { } } pub mod update_access_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(VaultAccessPolicyParameters), @@ -466,7 +466,7 @@ pub mod vaults { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -539,7 +539,7 @@ pub mod vaults { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -608,7 +608,7 @@ pub mod vaults { } } pub mod list_deleted { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -681,7 +681,7 @@ pub mod vaults { } } pub mod get_deleted { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -757,7 +757,7 @@ pub mod vaults { } } pub mod purge_deleted { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -832,7 +832,7 @@ pub mod vaults { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -905,7 +905,7 @@ pub mod vaults { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -929,7 +929,7 @@ pub mod vaults { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -981,7 +981,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -1060,7 +1060,7 @@ pub mod private_endpoint_connections { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1134,7 +1134,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -1213,7 +1213,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1237,7 +1237,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_vault( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1289,7 +1289,7 @@ pub mod private_link_resources { } } pub mod list_by_vault { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1313,7 +1313,7 @@ pub mod private_link_resources { } } pub mod managed_hsms { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1364,7 +1364,7 @@ pub mod managed_hsms { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedHsm), @@ -1451,7 +1451,7 @@ pub mod managed_hsms { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(ManagedHsm), @@ -1534,7 +1534,7 @@ pub mod managed_hsms { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(ManagedHsm), @@ -1606,7 +1606,7 @@ pub mod managed_hsms { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1689,7 +1689,7 @@ pub mod managed_hsms { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1762,7 +1762,7 @@ pub mod managed_hsms { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1831,7 +1831,7 @@ pub mod managed_hsms { } } pub mod list_deleted { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1904,7 +1904,7 @@ pub mod managed_hsms { } } pub mod get_deleted { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1973,7 +1973,7 @@ pub mod managed_hsms { } } pub mod purge_deleted { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1997,7 +1997,7 @@ pub mod managed_hsms { } } pub mod mhsm_private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2049,7 +2049,7 @@ pub mod mhsm_private_endpoint_connections { } } pub mod list_by_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2121,7 +2121,7 @@ pub mod mhsm_private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2195,7 +2195,7 @@ pub mod mhsm_private_endpoint_connections { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2269,7 +2269,7 @@ pub mod mhsm_private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MhsmPrivateEndpointConnection), @@ -2299,7 +2299,7 @@ pub mod mhsm_private_endpoint_connections { } } pub mod mhsm_private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_mhsm_resource( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2353,7 +2353,7 @@ pub mod mhsm_private_link_resources { } } pub mod list_by_mhsm_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2377,7 +2377,7 @@ pub mod mhsm_private_link_resources { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.KeyVault/operations", operation_config.base_path(),); @@ -2415,7 +2415,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/keyvault/src/package_preview_2021_04_full/models.rs b/services/mgmt/keyvault/src/package_preview_2021_04_full/models.rs index 91d9422c55..cdd08daee8 100644 --- a/services/mgmt/keyvault/src/package_preview_2021_04_full/models.rs +++ b/services/mgmt/keyvault/src/package_preview_2021_04_full/models.rs @@ -550,7 +550,7 @@ pub struct Error { #[serde(default, skip_serializing_if = "Option::is_none")] pub message: Option, #[serde(default, skip_serializing_if = "Option::is_none")] - pub innererror: Option, + pub innererror: Box>, } #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DeletedManagedHsm { diff --git a/services/mgmt/keyvault/src/package_preview_2021_04_full/operations.rs b/services/mgmt/keyvault/src/package_preview_2021_04_full/operations.rs index 8159ba55bc..553dbd061c 100644 --- a/services/mgmt/keyvault/src/package_preview_2021_04_full/operations.rs +++ b/services/mgmt/keyvault/src/package_preview_2021_04_full/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod vaults { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod vaults { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod vaults { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Vault), @@ -217,7 +217,7 @@ pub mod vaults { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Vault), @@ -288,7 +288,7 @@ pub mod vaults { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -382,7 +382,7 @@ pub mod vaults { } } pub mod update_access_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(VaultAccessPolicyParameters), @@ -466,7 +466,7 @@ pub mod vaults { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -539,7 +539,7 @@ pub mod vaults { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -608,7 +608,7 @@ pub mod vaults { } } pub mod list_deleted { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -681,7 +681,7 @@ pub mod vaults { } } pub mod get_deleted { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -757,7 +757,7 @@ pub mod vaults { } } pub mod purge_deleted { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -832,7 +832,7 @@ pub mod vaults { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -905,7 +905,7 @@ pub mod vaults { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -929,7 +929,7 @@ pub mod vaults { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -981,7 +981,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -1060,7 +1060,7 @@ pub mod private_endpoint_connections { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1134,7 +1134,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -1213,7 +1213,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1237,7 +1237,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_vault( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1289,7 +1289,7 @@ pub mod private_link_resources { } } pub mod list_by_vault { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1313,7 +1313,7 @@ pub mod private_link_resources { } } pub mod managed_hsms { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1364,7 +1364,7 @@ pub mod managed_hsms { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedHsm), @@ -1451,7 +1451,7 @@ pub mod managed_hsms { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(ManagedHsm), @@ -1534,7 +1534,7 @@ pub mod managed_hsms { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(ManagedHsm), @@ -1606,7 +1606,7 @@ pub mod managed_hsms { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1689,7 +1689,7 @@ pub mod managed_hsms { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1762,7 +1762,7 @@ pub mod managed_hsms { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1831,7 +1831,7 @@ pub mod managed_hsms { } } pub mod list_deleted { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1904,7 +1904,7 @@ pub mod managed_hsms { } } pub mod get_deleted { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1973,7 +1973,7 @@ pub mod managed_hsms { } } pub mod purge_deleted { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1997,7 +1997,7 @@ pub mod managed_hsms { } } pub mod mhsm_private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2049,7 +2049,7 @@ pub mod mhsm_private_endpoint_connections { } } pub mod list_by_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2121,7 +2121,7 @@ pub mod mhsm_private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2195,7 +2195,7 @@ pub mod mhsm_private_endpoint_connections { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2269,7 +2269,7 @@ pub mod mhsm_private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MhsmPrivateEndpointConnection), @@ -2299,7 +2299,7 @@ pub mod mhsm_private_endpoint_connections { } } pub mod mhsm_private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_mhsm_resource( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2353,7 +2353,7 @@ pub mod mhsm_private_link_resources { } } pub mod list_by_mhsm_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2377,7 +2377,7 @@ pub mod mhsm_private_link_resources { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.KeyVault/operations", operation_config.base_path(),); @@ -2415,7 +2415,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2439,7 +2439,7 @@ pub mod operations { } } pub mod keys { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2490,7 +2490,7 @@ pub mod keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2567,7 +2567,7 @@ pub mod keys { } } pub mod create_if_not_exist { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2637,7 +2637,7 @@ pub mod keys { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2714,7 +2714,7 @@ pub mod keys { } } pub mod get_version { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2789,7 +2789,7 @@ pub mod keys { } } pub mod list_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2813,7 +2813,7 @@ pub mod keys { } } pub mod secrets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2864,7 +2864,7 @@ pub mod secrets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2947,7 +2947,7 @@ pub mod secrets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Secret), @@ -3032,7 +3032,7 @@ pub mod secrets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Secret), @@ -3111,7 +3111,7 @@ pub mod secrets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/keyvault/src/package_preview_2021_06/models.rs b/services/mgmt/keyvault/src/package_preview_2021_06/models.rs index 53ddc41b02..182fbc4c13 100644 --- a/services/mgmt/keyvault/src/package_preview_2021_06/models.rs +++ b/services/mgmt/keyvault/src/package_preview_2021_06/models.rs @@ -700,7 +700,7 @@ pub struct Error { #[serde(default, skip_serializing_if = "Option::is_none")] pub message: Option, #[serde(default, skip_serializing_if = "Option::is_none")] - pub innererror: Option, + pub innererror: Box>, } #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DeletedManagedHsm { diff --git a/services/mgmt/keyvault/src/package_preview_2021_06/operations.rs b/services/mgmt/keyvault/src/package_preview_2021_06/operations.rs index 31c7914ddd..d43f9e1a9c 100644 --- a/services/mgmt/keyvault/src/package_preview_2021_06/operations.rs +++ b/services/mgmt/keyvault/src/package_preview_2021_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod keys { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -55,7 +55,7 @@ pub mod keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -132,7 +132,7 @@ pub mod keys { } } pub mod create_if_not_exist { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -202,7 +202,7 @@ pub mod keys { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -279,7 +279,7 @@ pub mod keys { } } pub mod get_version { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -354,7 +354,7 @@ pub mod keys { } } pub mod list_versions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -378,7 +378,7 @@ pub mod keys { } } pub mod vaults { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -427,7 +427,7 @@ pub mod vaults { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -508,7 +508,7 @@ pub mod vaults { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Vault), @@ -591,7 +591,7 @@ pub mod vaults { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Vault), @@ -662,7 +662,7 @@ pub mod vaults { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -756,7 +756,7 @@ pub mod vaults { } } pub mod update_access_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(VaultAccessPolicyParameters), @@ -840,7 +840,7 @@ pub mod vaults { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -913,7 +913,7 @@ pub mod vaults { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -982,7 +982,7 @@ pub mod vaults { } } pub mod list_deleted { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1055,7 +1055,7 @@ pub mod vaults { } } pub mod get_deleted { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1131,7 +1131,7 @@ pub mod vaults { } } pub mod purge_deleted { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1206,7 +1206,7 @@ pub mod vaults { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1279,7 +1279,7 @@ pub mod vaults { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1303,7 +1303,7 @@ pub mod vaults { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1355,7 +1355,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -1434,7 +1434,7 @@ pub mod private_endpoint_connections { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1508,7 +1508,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -1587,7 +1587,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1611,7 +1611,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_vault( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1663,7 +1663,7 @@ pub mod private_link_resources { } } pub mod list_by_vault { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1687,7 +1687,7 @@ pub mod private_link_resources { } } pub mod managed_hsms { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1738,7 +1738,7 @@ pub mod managed_hsms { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedHsm), @@ -1825,7 +1825,7 @@ pub mod managed_hsms { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(ManagedHsm), @@ -1908,7 +1908,7 @@ pub mod managed_hsms { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(ManagedHsm), @@ -1980,7 +1980,7 @@ pub mod managed_hsms { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2063,7 +2063,7 @@ pub mod managed_hsms { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2136,7 +2136,7 @@ pub mod managed_hsms { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2205,7 +2205,7 @@ pub mod managed_hsms { } } pub mod list_deleted { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2278,7 +2278,7 @@ pub mod managed_hsms { } } pub mod get_deleted { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2347,7 +2347,7 @@ pub mod managed_hsms { } } pub mod purge_deleted { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2371,7 +2371,7 @@ pub mod managed_hsms { } } pub mod mhsm_private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2423,7 +2423,7 @@ pub mod mhsm_private_endpoint_connections { } } pub mod list_by_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2495,7 +2495,7 @@ pub mod mhsm_private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2569,7 +2569,7 @@ pub mod mhsm_private_endpoint_connections { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2643,7 +2643,7 @@ pub mod mhsm_private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MhsmPrivateEndpointConnection), @@ -2673,7 +2673,7 @@ pub mod mhsm_private_endpoint_connections { } } pub mod mhsm_private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_mhsm_resource( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2727,7 +2727,7 @@ pub mod mhsm_private_link_resources { } } pub mod list_by_mhsm_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2751,7 +2751,7 @@ pub mod mhsm_private_link_resources { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.KeyVault/operations", operation_config.base_path(),); @@ -2789,7 +2789,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2813,7 +2813,7 @@ pub mod operations { } } pub mod secrets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2864,7 +2864,7 @@ pub mod secrets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2947,7 +2947,7 @@ pub mod secrets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Secret), @@ -3032,7 +3032,7 @@ pub mod secrets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Secret), @@ -3111,7 +3111,7 @@ pub mod secrets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/keyvault/src/profile_hybrid_2020_09_01/operations.rs b/services/mgmt/keyvault/src/profile_hybrid_2020_09_01/operations.rs index 2a1091bd42..ea013e45f7 100644 --- a/services/mgmt/keyvault/src/profile_hybrid_2020_09_01/operations.rs +++ b/services/mgmt/keyvault/src/profile_hybrid_2020_09_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod vaults { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod vaults { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -146,7 +146,7 @@ pub mod vaults { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Vault), @@ -245,7 +245,7 @@ pub mod vaults { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Vault), @@ -326,7 +326,7 @@ pub mod vaults { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -434,7 +434,7 @@ pub mod vaults { } } pub mod update_access_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(VaultAccessPolicyParameters), @@ -522,7 +522,7 @@ pub mod vaults { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -595,7 +595,7 @@ pub mod vaults { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -664,7 +664,7 @@ pub mod vaults { } } pub mod list_deleted { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -737,7 +737,7 @@ pub mod vaults { } } pub mod get_deleted { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -819,7 +819,7 @@ pub mod vaults { } } pub mod purge_deleted { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -896,7 +896,7 @@ pub mod vaults { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -969,7 +969,7 @@ pub mod vaults { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -993,7 +993,7 @@ pub mod vaults { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1045,7 +1045,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -1124,7 +1124,7 @@ pub mod private_endpoint_connections { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1198,7 +1198,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -1228,7 +1228,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_vault( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1280,7 +1280,7 @@ pub mod private_link_resources { } } pub mod list_by_vault { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1304,7 +1304,7 @@ pub mod private_link_resources { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.KeyVault/operations", operation_config.base_path(),); @@ -1342,7 +1342,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1366,7 +1366,7 @@ pub mod operations { } } pub mod secrets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1417,7 +1417,7 @@ pub mod secrets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1500,7 +1500,7 @@ pub mod secrets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Secret), @@ -1585,7 +1585,7 @@ pub mod secrets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Secret), @@ -1662,7 +1662,7 @@ pub mod secrets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/kubernetesconfiguration/Cargo.toml b/services/mgmt/kubernetesconfiguration/Cargo.toml index de2e2c0fff..ca8f246f87 100644 --- a/services/mgmt/kubernetesconfiguration/Cargo.toml +++ b/services/mgmt/kubernetesconfiguration/Cargo.toml @@ -20,4 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-09"] +no-default-version = [] "package-2021-09" = [] diff --git a/services/mgmt/kubernetesconfiguration/src/lib.rs b/services/mgmt/kubernetesconfiguration/src/lib.rs index 965707aec7..eb7d0adb8f 100644 --- a/services/mgmt/kubernetesconfiguration/src/lib.rs +++ b/services/mgmt/kubernetesconfiguration/src/lib.rs @@ -1,9 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-09")] -mod package_2021_09; +pub mod package_2021_09; use azure_core::setters; -#[cfg(feature = "package-2021-09")] +#[cfg(all(feature = "package-2021-09", not(feature = "no-default-version")))] pub use package_2021_09::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -27,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/kubernetesconfiguration/src/package_2021_09/operations.rs b/services/mgmt/kubernetesconfiguration/src/package_2021_09/operations.rs index b9ccbb220d..c61ffbf4fb 100644 --- a/services/mgmt/kubernetesconfiguration/src/package_2021_09/operations.rs +++ b/services/mgmt/kubernetesconfiguration/src/package_2021_09/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -59,7 +59,7 @@ pub mod extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -143,7 +143,7 @@ pub mod extensions { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Extension), @@ -232,7 +232,7 @@ pub mod extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -311,7 +311,7 @@ pub mod extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -391,7 +391,7 @@ pub mod extensions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -415,7 +415,7 @@ pub mod extensions { } } pub mod operation_status { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -468,7 +468,7 @@ pub mod operation_status { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -536,7 +536,7 @@ pub mod operation_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -560,7 +560,7 @@ pub mod operation_status { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -601,7 +601,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/labservices/Cargo.toml b/services/mgmt/labservices/Cargo.toml index 552c2aca3f..dbe07e14b6 100644 --- a/services/mgmt/labservices/Cargo.toml +++ b/services/mgmt/labservices/Cargo.toml @@ -20,5 +20,6 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2018-10"] +no-default-version = [] "package-preview-2021-10" = [] "package-2018-10" = [] diff --git a/services/mgmt/labservices/src/lib.rs b/services/mgmt/labservices/src/lib.rs index 75e0fdf293..067874701c 100644 --- a/services/mgmt/labservices/src/lib.rs +++ b/services/mgmt/labservices/src/lib.rs @@ -1,13 +1,21 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-preview-2021-10")] -mod package_preview_2021_10; -#[cfg(feature = "package-preview-2021-10")] +pub mod package_preview_2021_10; +#[cfg(all(feature = "package-preview-2021-10", not(feature = "no-default-version")))] pub use package_preview_2021_10::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-10")] -mod package_2018_10; +pub mod package_2018_10; use azure_core::setters; -#[cfg(feature = "package-2018-10")] +#[cfg(all(feature = "package-2018-10", not(feature = "no-default-version")))] pub use package_2018_10::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -31,7 +39,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/labservices/src/package_2018_10/operations.rs b/services/mgmt/labservices/src/package_2018_10/operations.rs index cfc352c270..321eedee4e 100644 --- a/services/mgmt/labservices/src/package_2018_10/operations.rs +++ b/services/mgmt/labservices/src/package_2018_10/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod provider_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.LabServices/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod provider_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod provider_operations { } } pub mod global_users { - use crate::models::*; + use super::{models, models::*}; pub async fn get_environment( operation_config: &crate::OperationConfig, user_name: &str, @@ -115,7 +115,7 @@ pub mod global_users { } } pub mod get_environment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -188,7 +188,7 @@ pub mod global_users { } } pub mod get_operation_batch_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -259,7 +259,7 @@ pub mod global_users { } } pub mod get_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -333,7 +333,7 @@ pub mod global_users { } } pub mod get_personal_preferences { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -404,7 +404,7 @@ pub mod global_users { } } pub mod list_environments { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -474,7 +474,7 @@ pub mod global_users { } } pub mod list_labs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -540,7 +540,7 @@ pub mod global_users { } } pub mod register { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -607,7 +607,7 @@ pub mod global_users { } } pub mod reset_password { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -679,7 +679,7 @@ pub mod global_users { } } pub mod start_environment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -751,7 +751,7 @@ pub mod global_users { } } pub mod stop_environment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -780,7 +780,7 @@ pub mod global_users { } } pub mod lab_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -844,7 +844,7 @@ pub mod lab_accounts { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -933,7 +933,7 @@ pub mod lab_accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1007,7 +1007,7 @@ pub mod lab_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1088,7 +1088,7 @@ pub mod lab_accounts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LabAccount), @@ -1165,7 +1165,7 @@ pub mod lab_accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1231,7 +1231,7 @@ pub mod lab_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1306,7 +1306,7 @@ pub mod lab_accounts { } } pub mod create_lab { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1382,7 +1382,7 @@ pub mod lab_accounts { } } pub mod get_regional_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1406,7 +1406,7 @@ pub mod lab_accounts { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1455,7 +1455,7 @@ pub mod operations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1479,7 +1479,7 @@ pub mod operations { } } pub mod gallery_images { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1544,7 +1544,7 @@ pub mod gallery_images { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1620,7 +1620,7 @@ pub mod gallery_images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1703,7 +1703,7 @@ pub mod gallery_images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GalleryImage), @@ -1782,7 +1782,7 @@ pub mod gallery_images { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1850,7 +1850,7 @@ pub mod gallery_images { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1879,7 +1879,7 @@ pub mod gallery_images { } } pub mod labs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1944,7 +1944,7 @@ pub mod labs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2020,7 +2020,7 @@ pub mod labs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2103,7 +2103,7 @@ pub mod labs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Lab), @@ -2182,7 +2182,7 @@ pub mod labs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2250,7 +2250,7 @@ pub mod labs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2327,7 +2327,7 @@ pub mod labs { } } pub mod add_users { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2398,7 +2398,7 @@ pub mod labs { } } pub mod register { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2422,7 +2422,7 @@ pub mod labs { } } pub mod environment_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2489,7 +2489,7 @@ pub mod environment_settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2567,7 +2567,7 @@ pub mod environment_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2652,7 +2652,7 @@ pub mod environment_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EnvironmentSetting), @@ -2733,7 +2733,7 @@ pub mod environment_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2803,7 +2803,7 @@ pub mod environment_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2881,7 +2881,7 @@ pub mod environment_settings { } } pub mod claim_any { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2955,7 +2955,7 @@ pub mod environment_settings { } } pub mod publish { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3026,7 +3026,7 @@ pub mod environment_settings { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3102,7 +3102,7 @@ pub mod environment_settings { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3131,7 +3131,7 @@ pub mod environment_settings { } } pub mod environments { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3192,7 +3192,7 @@ pub mod environments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3263,7 +3263,7 @@ pub mod environments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3341,7 +3341,7 @@ pub mod environments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Environment), @@ -3415,7 +3415,7 @@ pub mod environments { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3478,7 +3478,7 @@ pub mod environments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3546,7 +3546,7 @@ pub mod environments { } } pub mod claim { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3614,7 +3614,7 @@ pub mod environments { } } pub mod reset_password { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3683,7 +3683,7 @@ pub mod environments { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3752,7 +3752,7 @@ pub mod environments { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3781,7 +3781,7 @@ pub mod environments { } } pub mod users { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3848,7 +3848,7 @@ pub mod users { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3926,7 +3926,7 @@ pub mod users { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4011,7 +4011,7 @@ pub mod users { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(User), @@ -4092,7 +4092,7 @@ pub mod users { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4162,7 +4162,7 @@ pub mod users { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, diff --git a/services/mgmt/labservices/src/package_preview_2021_10/operations.rs b/services/mgmt/labservices/src/package_preview_2021_10/operations.rs index 374fd482e6..d6b897311a 100644 --- a/services/mgmt/labservices/src/package_preview_2021_10/operations.rs +++ b/services/mgmt/labservices/src/package_preview_2021_10/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.LabServices/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -114,7 +114,7 @@ pub mod operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationResult), @@ -143,7 +143,7 @@ pub mod operation_results { } } pub mod lab_plans { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -195,7 +195,7 @@ pub mod lab_plans { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -268,7 +268,7 @@ pub mod lab_plans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -338,7 +338,7 @@ pub mod lab_plans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -425,7 +425,7 @@ pub mod lab_plans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LabPlan), @@ -509,7 +509,7 @@ pub mod lab_plans { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LabPlan), @@ -581,7 +581,7 @@ pub mod lab_plans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -658,7 +658,7 @@ pub mod lab_plans { } } pub mod save_image { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -687,7 +687,7 @@ pub mod lab_plans { } } pub mod images { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_lab_plan( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -743,7 +743,7 @@ pub mod images { } } pub mod list_by_lab_plan { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -815,7 +815,7 @@ pub mod images { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -892,7 +892,7 @@ pub mod images { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -966,7 +966,7 @@ pub mod images { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -990,7 +990,7 @@ pub mod images { } } pub mod labs { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1042,7 +1042,7 @@ pub mod labs { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1115,7 +1115,7 @@ pub mod labs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1185,7 +1185,7 @@ pub mod labs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1272,7 +1272,7 @@ pub mod labs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Lab), @@ -1356,7 +1356,7 @@ pub mod labs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Lab), @@ -1428,7 +1428,7 @@ pub mod labs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1504,7 +1504,7 @@ pub mod labs { } } pub mod publish { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1579,7 +1579,7 @@ pub mod labs { } } pub mod sync_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1608,7 +1608,7 @@ pub mod labs { } } pub mod users { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_lab( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1664,7 +1664,7 @@ pub mod users { } } pub mod list_by_lab { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1736,7 +1736,7 @@ pub mod users { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1825,7 +1825,7 @@ pub mod users { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(User), @@ -1911,7 +1911,7 @@ pub mod users { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(User), @@ -1985,7 +1985,7 @@ pub mod users { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2061,7 +2061,7 @@ pub mod users { } } pub mod invite { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2090,7 +2090,7 @@ pub mod users { } } pub mod virtual_machines { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_lab( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2146,7 +2146,7 @@ pub mod virtual_machines { } } pub mod list_by_lab { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2218,7 +2218,7 @@ pub mod virtual_machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2287,7 +2287,7 @@ pub mod virtual_machines { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2361,7 +2361,7 @@ pub mod virtual_machines { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2438,7 +2438,7 @@ pub mod virtual_machines { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2515,7 +2515,7 @@ pub mod virtual_machines { } } pub mod redeploy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2593,7 +2593,7 @@ pub mod virtual_machines { } } pub mod reset_password { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2622,7 +2622,7 @@ pub mod virtual_machines { } } pub mod schedules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_lab( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2678,7 +2678,7 @@ pub mod schedules { } } pub mod list_by_lab { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2750,7 +2750,7 @@ pub mod schedules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2833,7 +2833,7 @@ pub mod schedules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Schedule), @@ -2912,7 +2912,7 @@ pub mod schedules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2981,7 +2981,7 @@ pub mod schedules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/logic/Cargo.toml b/services/mgmt/logic/Cargo.toml index 0dbc89a129..f0eae3140f 100644 --- a/services/mgmt/logic/Cargo.toml +++ b/services/mgmt/logic/Cargo.toml @@ -20,5 +20,6 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2019-05"] +no-default-version = [] "package-2019-05" = [] "package-2018-07-preview" = [] diff --git a/services/mgmt/logic/src/lib.rs b/services/mgmt/logic/src/lib.rs index 692a6d3bd9..1aecaff2e6 100644 --- a/services/mgmt/logic/src/lib.rs +++ b/services/mgmt/logic/src/lib.rs @@ -1,13 +1,21 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2019-05")] -mod package_2019_05; -#[cfg(feature = "package-2019-05")] +pub mod package_2019_05; +#[cfg(all(feature = "package-2019-05", not(feature = "no-default-version")))] pub use package_2019_05::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-07-preview")] -mod package_2018_07_preview; +pub mod package_2018_07_preview; use azure_core::setters; -#[cfg(feature = "package-2018-07-preview")] +#[cfg(all(feature = "package-2018-07-preview", not(feature = "no-default-version")))] pub use package_2018_07_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -31,7 +39,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/logic/src/package_2018_07_preview/operations.rs b/services/mgmt/logic/src/package_2018_07_preview/operations.rs index 6adc95f6d0..2d333be868 100644 --- a/services/mgmt/logic/src/package_2018_07_preview/operations.rs +++ b/services/mgmt/logic/src/package_2018_07_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod workflows { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -58,7 +58,7 @@ pub mod workflows { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod workflows { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -199,7 +199,7 @@ pub mod workflows { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -275,7 +275,7 @@ pub mod workflows { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workflow), @@ -347,7 +347,7 @@ pub mod workflows { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -408,7 +408,7 @@ pub mod workflows { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -477,7 +477,7 @@ pub mod workflows { } } pub mod disable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -538,7 +538,7 @@ pub mod workflows { } } pub mod enable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -610,7 +610,7 @@ pub mod workflows { } } pub mod generate_upgraded_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -680,7 +680,7 @@ pub mod workflows { } } pub mod list_callback_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -749,7 +749,7 @@ pub mod workflows { } } pub mod list_swagger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -812,7 +812,7 @@ pub mod workflows { } } pub mod move_ { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -884,7 +884,7 @@ pub mod workflows { } } pub mod regenerate_access_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -951,7 +951,7 @@ pub mod workflows { } } pub mod validate_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1018,7 +1018,7 @@ pub mod workflows { } } pub mod validate_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1039,7 +1039,7 @@ pub mod workflows { } } pub mod workflow_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1090,7 +1090,7 @@ pub mod workflow_versions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1157,7 +1157,7 @@ pub mod workflow_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1178,7 +1178,7 @@ pub mod workflow_versions { } } pub mod workflow_triggers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1233,7 +1233,7 @@ pub mod workflow_triggers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1300,7 +1300,7 @@ pub mod workflow_triggers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1363,7 +1363,7 @@ pub mod workflow_triggers { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1427,7 +1427,7 @@ pub mod workflow_triggers { } } pub mod run { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response {} #[derive(Debug, thiserror :: Error)] @@ -1502,7 +1502,7 @@ pub mod workflow_triggers { } } pub mod get_schema_json { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1569,7 +1569,7 @@ pub mod workflow_triggers { } } pub mod set_state { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1640,7 +1640,7 @@ pub mod workflow_triggers { } } pub mod list_callback_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1661,7 +1661,7 @@ pub mod workflow_triggers { } } pub mod workflow_version_triggers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_callback_url( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1721,7 +1721,7 @@ pub mod workflow_version_triggers { } } pub mod list_callback_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1742,7 +1742,7 @@ pub mod workflow_version_triggers { } } pub mod workflow_trigger_histories { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1799,7 +1799,7 @@ pub mod workflow_trigger_histories { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1868,7 +1868,7 @@ pub mod workflow_trigger_histories { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1936,7 +1936,7 @@ pub mod workflow_trigger_histories { } } pub mod resubmit { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1957,7 +1957,7 @@ pub mod workflow_trigger_histories { } } pub mod workflow_runs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2012,7 +2012,7 @@ pub mod workflow_runs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2079,7 +2079,7 @@ pub mod workflow_runs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2142,7 +2142,7 @@ pub mod workflow_runs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2210,7 +2210,7 @@ pub mod workflow_runs { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2231,7 +2231,7 @@ pub mod workflow_runs { } } pub mod workflow_run_actions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2288,7 +2288,7 @@ pub mod workflow_run_actions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2357,7 +2357,7 @@ pub mod workflow_run_actions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2432,7 +2432,7 @@ pub mod workflow_run_actions { } } pub mod list_expression_traces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2453,7 +2453,7 @@ pub mod workflow_run_actions { } } pub mod workflow_run_action_repetitions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2504,7 +2504,7 @@ pub mod workflow_run_action_repetitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2575,7 +2575,7 @@ pub mod workflow_run_action_repetitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2643,7 +2643,7 @@ pub mod workflow_run_action_repetitions { } } pub mod list_expression_traces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2664,7 +2664,7 @@ pub mod workflow_run_action_repetitions { } } pub mod workflow_run_action_repetitions_request_histories { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2710,7 +2710,7 @@ pub mod workflow_run_action_repetitions_request_histories { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2778,7 +2778,7 @@ pub mod workflow_run_action_repetitions_request_histories { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2802,7 +2802,7 @@ pub mod workflow_run_action_repetitions_request_histories { } } pub mod workflow_run_action_request_histories { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2855,7 +2855,7 @@ pub mod workflow_run_action_request_histories { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2931,7 +2931,7 @@ pub mod workflow_run_action_request_histories { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2955,7 +2955,7 @@ pub mod workflow_run_action_request_histories { } } pub mod workflow_run_action_scope_repetitions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3006,7 +3006,7 @@ pub mod workflow_run_action_scope_repetitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3077,7 +3077,7 @@ pub mod workflow_run_action_scope_repetitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3098,7 +3098,7 @@ pub mod workflow_run_action_scope_repetitions { } } pub mod workflow_run_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3149,7 +3149,7 @@ pub mod workflow_run_operations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3170,7 +3170,7 @@ pub mod workflow_run_operations { } } pub mod integration_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3220,7 +3220,7 @@ pub mod integration_accounts { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3292,7 +3292,7 @@ pub mod integration_accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3357,7 +3357,7 @@ pub mod integration_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3433,7 +3433,7 @@ pub mod integration_accounts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IntegrationAccount), @@ -3505,7 +3505,7 @@ pub mod integration_accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3566,7 +3566,7 @@ pub mod integration_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3641,7 +3641,7 @@ pub mod integration_accounts { } } pub mod list_callback_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3711,7 +3711,7 @@ pub mod integration_accounts { } } pub mod list_key_vault_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3776,7 +3776,7 @@ pub mod integration_accounts { } } pub mod log_tracking_events { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3848,7 +3848,7 @@ pub mod integration_accounts { } } pub mod regenerate_access_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3869,7 +3869,7 @@ pub mod integration_accounts { } } pub mod integration_account_assemblies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3916,7 +3916,7 @@ pub mod integration_account_assemblies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3983,7 +3983,7 @@ pub mod integration_account_assemblies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4061,7 +4061,7 @@ pub mod integration_account_assemblies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AssemblyDefinition), @@ -4129,7 +4129,7 @@ pub mod integration_account_assemblies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4207,7 +4207,7 @@ pub mod integration_account_assemblies { } } pub mod list_content_callback_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4228,7 +4228,7 @@ pub mod integration_account_assemblies { } } pub mod integration_account_batch_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4275,7 +4275,7 @@ pub mod integration_account_batch_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4342,7 +4342,7 @@ pub mod integration_account_batch_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4420,7 +4420,7 @@ pub mod integration_account_batch_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BatchConfiguration), @@ -4488,7 +4488,7 @@ pub mod integration_account_batch_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4514,7 +4514,7 @@ pub mod integration_account_batch_configurations { } } pub mod integration_account_schemas { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4569,7 +4569,7 @@ pub mod integration_account_schemas { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4636,7 +4636,7 @@ pub mod integration_account_schemas { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4714,7 +4714,7 @@ pub mod integration_account_schemas { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IntegrationAccountSchema), @@ -4782,7 +4782,7 @@ pub mod integration_account_schemas { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4861,7 +4861,7 @@ pub mod integration_account_schemas { } } pub mod list_content_callback_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4882,7 +4882,7 @@ pub mod integration_account_schemas { } } pub mod integration_account_maps { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4937,7 +4937,7 @@ pub mod integration_account_maps { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5004,7 +5004,7 @@ pub mod integration_account_maps { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5082,7 +5082,7 @@ pub mod integration_account_maps { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IntegrationAccountMap), @@ -5150,7 +5150,7 @@ pub mod integration_account_maps { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5229,7 +5229,7 @@ pub mod integration_account_maps { } } pub mod list_content_callback_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5250,7 +5250,7 @@ pub mod integration_account_maps { } } pub mod integration_account_partners { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5305,7 +5305,7 @@ pub mod integration_account_partners { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5372,7 +5372,7 @@ pub mod integration_account_partners { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5450,7 +5450,7 @@ pub mod integration_account_partners { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IntegrationAccountPartner), @@ -5518,7 +5518,7 @@ pub mod integration_account_partners { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5597,7 +5597,7 @@ pub mod integration_account_partners { } } pub mod list_content_callback_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5618,7 +5618,7 @@ pub mod integration_account_partners { } } pub mod integration_account_agreements { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5673,7 +5673,7 @@ pub mod integration_account_agreements { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5740,7 +5740,7 @@ pub mod integration_account_agreements { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5818,7 +5818,7 @@ pub mod integration_account_agreements { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IntegrationAccountAgreement), @@ -5886,7 +5886,7 @@ pub mod integration_account_agreements { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5965,7 +5965,7 @@ pub mod integration_account_agreements { } } pub mod list_content_callback_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5986,7 +5986,7 @@ pub mod integration_account_agreements { } } pub mod integration_account_certificates { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6037,7 +6037,7 @@ pub mod integration_account_certificates { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6104,7 +6104,7 @@ pub mod integration_account_certificates { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6182,7 +6182,7 @@ pub mod integration_account_certificates { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IntegrationAccountCertificate), @@ -6250,7 +6250,7 @@ pub mod integration_account_certificates { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6276,7 +6276,7 @@ pub mod integration_account_certificates { } } pub mod integration_account_sessions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6331,7 +6331,7 @@ pub mod integration_account_sessions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6398,7 +6398,7 @@ pub mod integration_account_sessions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6476,7 +6476,7 @@ pub mod integration_account_sessions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IntegrationAccountSession), @@ -6544,7 +6544,7 @@ pub mod integration_account_sessions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6570,7 +6570,7 @@ pub mod integration_account_sessions { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Logic/operations", operation_config.base_path(),); @@ -6608,7 +6608,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/logic/src/package_2019_05/operations.rs b/services/mgmt/logic/src/package_2019_05/operations.rs index 19e7ce55e9..da37cd2198 100644 --- a/services/mgmt/logic/src/package_2019_05/operations.rs +++ b/services/mgmt/logic/src/package_2019_05/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod workflows { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -60,7 +60,7 @@ pub mod workflows { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -141,7 +141,7 @@ pub mod workflows { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -211,7 +211,7 @@ pub mod workflows { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -292,7 +292,7 @@ pub mod workflows { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workflow), @@ -367,7 +367,7 @@ pub mod workflows { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -433,7 +433,7 @@ pub mod workflows { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -507,7 +507,7 @@ pub mod workflows { } } pub mod disable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -573,7 +573,7 @@ pub mod workflows { } } pub mod enable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -650,7 +650,7 @@ pub mod workflows { } } pub mod generate_upgraded_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -725,7 +725,7 @@ pub mod workflows { } } pub mod list_callback_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -799,7 +799,7 @@ pub mod workflows { } } pub mod list_swagger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -867,7 +867,7 @@ pub mod workflows { } } pub mod move_ { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -944,7 +944,7 @@ pub mod workflows { } } pub mod regenerate_access_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1016,7 +1016,7 @@ pub mod workflows { } } pub mod validate_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1088,7 +1088,7 @@ pub mod workflows { } } pub mod validate_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1112,7 +1112,7 @@ pub mod workflows { } } pub mod workflow_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1165,7 +1165,7 @@ pub mod workflow_versions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1237,7 +1237,7 @@ pub mod workflow_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1261,7 +1261,7 @@ pub mod workflow_versions { } } pub mod workflow_triggers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1318,7 +1318,7 @@ pub mod workflow_triggers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1390,7 +1390,7 @@ pub mod workflow_triggers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1458,7 +1458,7 @@ pub mod workflow_triggers { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1527,7 +1527,7 @@ pub mod workflow_triggers { } } pub mod run { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1607,7 +1607,7 @@ pub mod workflow_triggers { } } pub mod get_schema_json { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1679,7 +1679,7 @@ pub mod workflow_triggers { } } pub mod set_state { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1755,7 +1755,7 @@ pub mod workflow_triggers { } } pub mod list_callback_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1779,7 +1779,7 @@ pub mod workflow_triggers { } } pub mod workflow_version_triggers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_callback_url( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1841,7 +1841,7 @@ pub mod workflow_version_triggers { } } pub mod list_callback_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1865,7 +1865,7 @@ pub mod workflow_version_triggers { } } pub mod workflow_trigger_histories { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1924,7 +1924,7 @@ pub mod workflow_trigger_histories { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1998,7 +1998,7 @@ pub mod workflow_trigger_histories { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2071,7 +2071,7 @@ pub mod workflow_trigger_histories { } } pub mod resubmit { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2095,7 +2095,7 @@ pub mod workflow_trigger_histories { } } pub mod workflow_runs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2152,7 +2152,7 @@ pub mod workflow_runs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2224,7 +2224,7 @@ pub mod workflow_runs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2292,7 +2292,7 @@ pub mod workflow_runs { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2316,7 +2316,7 @@ pub mod workflow_runs { } } pub mod workflow_run_actions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2375,7 +2375,7 @@ pub mod workflow_run_actions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2449,7 +2449,7 @@ pub mod workflow_run_actions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2529,7 +2529,7 @@ pub mod workflow_run_actions { } } pub mod list_expression_traces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2553,7 +2553,7 @@ pub mod workflow_run_actions { } } pub mod workflow_run_action_repetitions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2606,7 +2606,7 @@ pub mod workflow_run_action_repetitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2682,7 +2682,7 @@ pub mod workflow_run_action_repetitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2755,7 +2755,7 @@ pub mod workflow_run_action_repetitions { } } pub mod list_expression_traces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2779,7 +2779,7 @@ pub mod workflow_run_action_repetitions { } } pub mod workflow_run_action_repetitions_request_histories { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2825,7 +2825,7 @@ pub mod workflow_run_action_repetitions_request_histories { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2893,7 +2893,7 @@ pub mod workflow_run_action_repetitions_request_histories { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2917,7 +2917,7 @@ pub mod workflow_run_action_repetitions_request_histories { } } pub mod workflow_run_action_request_histories { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2970,7 +2970,7 @@ pub mod workflow_run_action_request_histories { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3046,7 +3046,7 @@ pub mod workflow_run_action_request_histories { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3070,7 +3070,7 @@ pub mod workflow_run_action_request_histories { } } pub mod workflow_run_action_scope_repetitions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3123,7 +3123,7 @@ pub mod workflow_run_action_scope_repetitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3199,7 +3199,7 @@ pub mod workflow_run_action_scope_repetitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3223,7 +3223,7 @@ pub mod workflow_run_action_scope_repetitions { } } pub mod workflow_run_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3276,7 +3276,7 @@ pub mod workflow_run_operations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3300,7 +3300,7 @@ pub mod workflow_run_operations { } } pub mod integration_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3352,7 +3352,7 @@ pub mod integration_accounts { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3429,7 +3429,7 @@ pub mod integration_accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3499,7 +3499,7 @@ pub mod integration_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3580,7 +3580,7 @@ pub mod integration_accounts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IntegrationAccount), @@ -3657,7 +3657,7 @@ pub mod integration_accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3723,7 +3723,7 @@ pub mod integration_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3803,7 +3803,7 @@ pub mod integration_accounts { } } pub mod list_callback_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3878,7 +3878,7 @@ pub mod integration_accounts { } } pub mod list_key_vault_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3948,7 +3948,7 @@ pub mod integration_accounts { } } pub mod log_tracking_events { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4025,7 +4025,7 @@ pub mod integration_accounts { } } pub mod regenerate_access_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4049,7 +4049,7 @@ pub mod integration_accounts { } } pub mod integration_account_assemblies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4098,7 +4098,7 @@ pub mod integration_account_assemblies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4170,7 +4170,7 @@ pub mod integration_account_assemblies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4253,7 +4253,7 @@ pub mod integration_account_assemblies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AssemblyDefinition), @@ -4326,7 +4326,7 @@ pub mod integration_account_assemblies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4409,7 +4409,7 @@ pub mod integration_account_assemblies { } } pub mod list_content_callback_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4433,7 +4433,7 @@ pub mod integration_account_assemblies { } } pub mod integration_account_batch_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4482,7 +4482,7 @@ pub mod integration_account_batch_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4554,7 +4554,7 @@ pub mod integration_account_batch_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4637,7 +4637,7 @@ pub mod integration_account_batch_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BatchConfiguration), @@ -4710,7 +4710,7 @@ pub mod integration_account_batch_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4739,7 +4739,7 @@ pub mod integration_account_batch_configurations { } } pub mod integration_account_schemas { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4796,7 +4796,7 @@ pub mod integration_account_schemas { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4868,7 +4868,7 @@ pub mod integration_account_schemas { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4951,7 +4951,7 @@ pub mod integration_account_schemas { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IntegrationAccountSchema), @@ -5024,7 +5024,7 @@ pub mod integration_account_schemas { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5108,7 +5108,7 @@ pub mod integration_account_schemas { } } pub mod list_content_callback_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5132,7 +5132,7 @@ pub mod integration_account_schemas { } } pub mod integration_account_maps { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5189,7 +5189,7 @@ pub mod integration_account_maps { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5261,7 +5261,7 @@ pub mod integration_account_maps { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5344,7 +5344,7 @@ pub mod integration_account_maps { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IntegrationAccountMap), @@ -5417,7 +5417,7 @@ pub mod integration_account_maps { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5501,7 +5501,7 @@ pub mod integration_account_maps { } } pub mod list_content_callback_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5525,7 +5525,7 @@ pub mod integration_account_maps { } } pub mod integration_account_partners { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5582,7 +5582,7 @@ pub mod integration_account_partners { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5654,7 +5654,7 @@ pub mod integration_account_partners { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5737,7 +5737,7 @@ pub mod integration_account_partners { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IntegrationAccountPartner), @@ -5810,7 +5810,7 @@ pub mod integration_account_partners { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5894,7 +5894,7 @@ pub mod integration_account_partners { } } pub mod list_content_callback_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5918,7 +5918,7 @@ pub mod integration_account_partners { } } pub mod integration_account_agreements { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5975,7 +5975,7 @@ pub mod integration_account_agreements { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6047,7 +6047,7 @@ pub mod integration_account_agreements { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6130,7 +6130,7 @@ pub mod integration_account_agreements { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IntegrationAccountAgreement), @@ -6203,7 +6203,7 @@ pub mod integration_account_agreements { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6287,7 +6287,7 @@ pub mod integration_account_agreements { } } pub mod list_content_callback_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6311,7 +6311,7 @@ pub mod integration_account_agreements { } } pub mod integration_account_certificates { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6364,7 +6364,7 @@ pub mod integration_account_certificates { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6436,7 +6436,7 @@ pub mod integration_account_certificates { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6519,7 +6519,7 @@ pub mod integration_account_certificates { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IntegrationAccountCertificate), @@ -6592,7 +6592,7 @@ pub mod integration_account_certificates { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6621,7 +6621,7 @@ pub mod integration_account_certificates { } } pub mod integration_account_sessions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6678,7 +6678,7 @@ pub mod integration_account_sessions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6750,7 +6750,7 @@ pub mod integration_account_sessions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6833,7 +6833,7 @@ pub mod integration_account_sessions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IntegrationAccountSession), @@ -6906,7 +6906,7 @@ pub mod integration_account_sessions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6935,7 +6935,7 @@ pub mod integration_account_sessions { } } pub mod integration_service_environments { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6987,7 +6987,7 @@ pub mod integration_service_environments { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7064,7 +7064,7 @@ pub mod integration_service_environments { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7134,7 +7134,7 @@ pub mod integration_service_environments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7215,7 +7215,7 @@ pub mod integration_service_environments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IntegrationServiceEnvironment), @@ -7292,7 +7292,7 @@ pub mod integration_service_environments { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7358,7 +7358,7 @@ pub mod integration_service_environments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7432,7 +7432,7 @@ pub mod integration_service_environments { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7456,7 +7456,7 @@ pub mod integration_service_environments { } } pub mod integration_service_environment_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7505,7 +7505,7 @@ pub mod integration_service_environment_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7529,7 +7529,7 @@ pub mod integration_service_environment_skus { } } pub mod integration_service_environment_network_health { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7578,7 +7578,7 @@ pub mod integration_service_environment_network_health { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7602,7 +7602,7 @@ pub mod integration_service_environment_network_health { } } pub mod integration_service_environment_managed_apis { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7651,7 +7651,7 @@ pub mod integration_service_environment_managed_apis { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7723,7 +7723,7 @@ pub mod integration_service_environment_managed_apis { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7803,7 +7803,7 @@ pub mod integration_service_environment_managed_apis { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IntegrationServiceEnvironmentManagedApi), @@ -7876,7 +7876,7 @@ pub mod integration_service_environment_managed_apis { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7905,7 +7905,7 @@ pub mod integration_service_environment_managed_apis { } } pub mod integration_service_environment_managed_api_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7949,7 +7949,7 @@ pub mod integration_service_environment_managed_api_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7973,7 +7973,7 @@ pub mod integration_service_environment_managed_api_operations { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Logic/operations", operation_config.base_path(),); @@ -8011,7 +8011,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/logz/Cargo.toml b/services/mgmt/logz/Cargo.toml index 481f14529f..6a040b00b2 100644 --- a/services/mgmt/logz/Cargo.toml +++ b/services/mgmt/logz/Cargo.toml @@ -20,5 +20,6 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2020-10-01"] +no-default-version = [] "package-2020-10-01-preview" = [] "package-2020-10-01" = [] diff --git a/services/mgmt/logz/src/lib.rs b/services/mgmt/logz/src/lib.rs index 9bce07f82a..7ae35a9169 100644 --- a/services/mgmt/logz/src/lib.rs +++ b/services/mgmt/logz/src/lib.rs @@ -1,13 +1,21 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2020-10-01-preview")] -mod package_2020_10_01_preview; -#[cfg(feature = "package-2020-10-01-preview")] +pub mod package_2020_10_01_preview; +#[cfg(all(feature = "package-2020-10-01-preview", not(feature = "no-default-version")))] pub use package_2020_10_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-10-01")] -mod package_2020_10_01; +pub mod package_2020_10_01; use azure_core::setters; -#[cfg(feature = "package-2020-10-01")] +#[cfg(all(feature = "package-2020-10-01", not(feature = "no-default-version")))] pub use package_2020_10_01::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -31,7 +39,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/logz/src/package_2020_10_01/operations.rs b/services/mgmt/logz/src/package_2020_10_01/operations.rs index 29942212ec..cef59d1bba 100644 --- a/services/mgmt/logz/src/package_2020_10_01/operations.rs +++ b/services/mgmt/logz/src/package_2020_10_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod monitors { - use crate::models::*; + use super::{models, models::*}; pub async fn list_monitored_resources( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -59,7 +59,7 @@ pub mod monitors { } } pub mod list_monitored_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -128,7 +128,7 @@ pub mod monitors { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -201,7 +201,7 @@ pub mod monitors { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -271,7 +271,7 @@ pub mod monitors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -353,7 +353,7 @@ pub mod monitors { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogzMonitorResource), @@ -434,7 +434,7 @@ pub mod monitors { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -501,7 +501,7 @@ pub mod monitors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -586,7 +586,7 @@ pub mod monitors { } } pub mod list_user_roles { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -610,7 +610,7 @@ pub mod monitors { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Logz/operations", operation_config.base_path(),); @@ -647,7 +647,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -671,7 +671,7 @@ pub mod operations { } } pub mod tag_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -720,7 +720,7 @@ pub mod tag_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -792,7 +792,7 @@ pub mod tag_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -873,7 +873,7 @@ pub mod tag_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -942,7 +942,7 @@ pub mod tag_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -972,7 +972,7 @@ pub mod tag_rules { } } pub mod single_sign_on { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1021,7 +1021,7 @@ pub mod single_sign_on { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1093,7 +1093,7 @@ pub mod single_sign_on { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1180,7 +1180,7 @@ pub mod single_sign_on { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogzSingleSignOnResource), @@ -1209,7 +1209,7 @@ pub mod single_sign_on { } } pub mod sub_account { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1258,7 +1258,7 @@ pub mod sub_account { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1330,7 +1330,7 @@ pub mod sub_account { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1414,7 +1414,7 @@ pub mod sub_account { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogzMonitorResource), @@ -1497,7 +1497,7 @@ pub mod sub_account { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1566,7 +1566,7 @@ pub mod sub_account { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1650,7 +1650,7 @@ pub mod sub_account { } } pub mod list_monitored_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1726,7 +1726,7 @@ pub mod sub_account { } } pub mod vm_host_payload { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1807,7 +1807,7 @@ pub mod sub_account { } } pub mod list_vm_host_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1883,7 +1883,7 @@ pub mod sub_account { } } pub mod list_vm_hosts { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1907,7 +1907,7 @@ pub mod sub_account { } } pub mod sub_account_tag_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1958,7 +1958,7 @@ pub mod sub_account_tag_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2032,7 +2032,7 @@ pub mod sub_account_tag_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2115,7 +2115,7 @@ pub mod sub_account_tag_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2186,7 +2186,7 @@ pub mod sub_account_tag_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2216,7 +2216,7 @@ pub mod sub_account_tag_rules { } } pub mod monitor { - use crate::models::*; + use super::{models, models::*}; pub async fn vm_host_payload( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2269,7 +2269,7 @@ pub mod monitor { } } pub mod vm_host_payload { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2348,7 +2348,7 @@ pub mod monitor { } } pub mod list_vm_host_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2422,7 +2422,7 @@ pub mod monitor { } } pub mod list_vm_hosts { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/logz/src/package_2020_10_01_preview/operations.rs b/services/mgmt/logz/src/package_2020_10_01_preview/operations.rs index 29942212ec..cef59d1bba 100644 --- a/services/mgmt/logz/src/package_2020_10_01_preview/operations.rs +++ b/services/mgmt/logz/src/package_2020_10_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod monitors { - use crate::models::*; + use super::{models, models::*}; pub async fn list_monitored_resources( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -59,7 +59,7 @@ pub mod monitors { } } pub mod list_monitored_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -128,7 +128,7 @@ pub mod monitors { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -201,7 +201,7 @@ pub mod monitors { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -271,7 +271,7 @@ pub mod monitors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -353,7 +353,7 @@ pub mod monitors { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogzMonitorResource), @@ -434,7 +434,7 @@ pub mod monitors { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -501,7 +501,7 @@ pub mod monitors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -586,7 +586,7 @@ pub mod monitors { } } pub mod list_user_roles { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -610,7 +610,7 @@ pub mod monitors { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Logz/operations", operation_config.base_path(),); @@ -647,7 +647,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -671,7 +671,7 @@ pub mod operations { } } pub mod tag_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -720,7 +720,7 @@ pub mod tag_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -792,7 +792,7 @@ pub mod tag_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -873,7 +873,7 @@ pub mod tag_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -942,7 +942,7 @@ pub mod tag_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -972,7 +972,7 @@ pub mod tag_rules { } } pub mod single_sign_on { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1021,7 +1021,7 @@ pub mod single_sign_on { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1093,7 +1093,7 @@ pub mod single_sign_on { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1180,7 +1180,7 @@ pub mod single_sign_on { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogzSingleSignOnResource), @@ -1209,7 +1209,7 @@ pub mod single_sign_on { } } pub mod sub_account { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1258,7 +1258,7 @@ pub mod sub_account { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1330,7 +1330,7 @@ pub mod sub_account { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1414,7 +1414,7 @@ pub mod sub_account { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogzMonitorResource), @@ -1497,7 +1497,7 @@ pub mod sub_account { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1566,7 +1566,7 @@ pub mod sub_account { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1650,7 +1650,7 @@ pub mod sub_account { } } pub mod list_monitored_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1726,7 +1726,7 @@ pub mod sub_account { } } pub mod vm_host_payload { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1807,7 +1807,7 @@ pub mod sub_account { } } pub mod list_vm_host_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1883,7 +1883,7 @@ pub mod sub_account { } } pub mod list_vm_hosts { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1907,7 +1907,7 @@ pub mod sub_account { } } pub mod sub_account_tag_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1958,7 +1958,7 @@ pub mod sub_account_tag_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2032,7 +2032,7 @@ pub mod sub_account_tag_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2115,7 +2115,7 @@ pub mod sub_account_tag_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2186,7 +2186,7 @@ pub mod sub_account_tag_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2216,7 +2216,7 @@ pub mod sub_account_tag_rules { } } pub mod monitor { - use crate::models::*; + use super::{models, models::*}; pub async fn vm_host_payload( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2269,7 +2269,7 @@ pub mod monitor { } } pub mod vm_host_payload { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2348,7 +2348,7 @@ pub mod monitor { } } pub mod list_vm_host_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2422,7 +2422,7 @@ pub mod monitor { } } pub mod list_vm_hosts { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/machinelearning/Cargo.toml b/services/mgmt/machinelearning/Cargo.toml index eb4bb43b93..1670f61175 100644 --- a/services/mgmt/machinelearning/Cargo.toml +++ b/services/mgmt/machinelearning/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-webservices-2017-01"] +no-default-version = [] "package-webservices-2017-01" = [] "package-commitmentPlans-2016-05-preview" = [] "package-workspaces-2016-04" = [] diff --git a/services/mgmt/machinelearning/src/lib.rs b/services/mgmt/machinelearning/src/lib.rs index cbf4983df2..cc5d43d387 100644 --- a/services/mgmt/machinelearning/src/lib.rs +++ b/services/mgmt/machinelearning/src/lib.rs @@ -1,25 +1,33 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-webservices-2017-01")] -mod package_webservices_2017_01; -#[cfg(feature = "package-webservices-2017-01")] +pub mod package_webservices_2017_01; +#[cfg(all(feature = "package-webservices-2017-01", not(feature = "no-default-version")))] pub use package_webservices_2017_01::{models, operations, API_VERSION}; #[cfg(feature = "package-commitmentPlans-2016-05-preview")] -mod package_commitmentplans_2016_05_preview; -#[cfg(feature = "package-commitmentPlans-2016-05-preview")] +pub mod package_commitmentplans_2016_05_preview; +#[cfg(all(feature = "package-commitmentPlans-2016-05-preview", not(feature = "no-default-version")))] pub use package_commitmentplans_2016_05_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-workspaces-2016-04")] -mod package_workspaces_2016_04; -#[cfg(feature = "package-workspaces-2016-04")] +pub mod package_workspaces_2016_04; +#[cfg(all(feature = "package-workspaces-2016-04", not(feature = "no-default-version")))] pub use package_workspaces_2016_04::{models, operations, API_VERSION}; #[cfg(feature = "package-workspaces-2019-10")] -mod package_workspaces_2019_10; -#[cfg(feature = "package-workspaces-2019-10")] +pub mod package_workspaces_2019_10; +#[cfg(all(feature = "package-workspaces-2019-10", not(feature = "no-default-version")))] pub use package_workspaces_2019_10::{models, operations, API_VERSION}; #[cfg(feature = "package-webservices-2016-05-preview")] -mod package_webservices_2016_05_preview; +pub mod package_webservices_2016_05_preview; use azure_core::setters; -#[cfg(feature = "package-webservices-2016-05-preview")] +#[cfg(all(feature = "package-webservices-2016-05-preview", not(feature = "no-default-version")))] pub use package_webservices_2016_05_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -43,7 +51,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/machinelearning/src/package_commitmentplans_2016_05_preview/operations.rs b/services/mgmt/machinelearning/src/package_commitmentplans_2016_05_preview/operations.rs index e457c8c052..8b46d9d032 100644 --- a/services/mgmt/machinelearning/src/package_commitmentplans_2016_05_preview/operations.rs +++ b/services/mgmt/machinelearning/src/package_commitmentplans_2016_05_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.MachineLearning/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, subscription_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -101,7 +101,7 @@ pub mod skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -122,7 +122,7 @@ pub mod skus { } } pub mod commitment_associations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -171,7 +171,7 @@ pub mod commitment_associations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -240,7 +240,7 @@ pub mod commitment_associations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -309,7 +309,7 @@ pub mod commitment_associations { } } pub mod move_ { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -330,7 +330,7 @@ pub mod commitment_associations { } } pub mod commitment_plans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -377,7 +377,7 @@ pub mod commitment_plans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -453,7 +453,7 @@ pub mod commitment_plans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CommitmentPlan), @@ -525,7 +525,7 @@ pub mod commitment_plans { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -585,7 +585,7 @@ pub mod commitment_plans { } } pub mod remove { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -650,7 +650,7 @@ pub mod commitment_plans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -722,7 +722,7 @@ pub mod commitment_plans { } } pub mod list_in_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -743,7 +743,7 @@ pub mod commitment_plans { } } pub mod usage_history { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -794,7 +794,7 @@ pub mod usage_history { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/machinelearning/src/package_webservices_2016_05_preview/operations.rs b/services/mgmt/machinelearning/src/package_webservices_2016_05_preview/operations.rs index 515912066f..ddea5341cf 100644 --- a/services/mgmt/machinelearning/src/package_webservices_2016_05_preview/operations.rs +++ b/services/mgmt/machinelearning/src/package_webservices_2016_05_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod web_services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod web_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod web_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WebService), @@ -199,7 +199,7 @@ pub mod web_services { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -260,7 +260,7 @@ pub mod web_services { } } pub mod remove { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -333,7 +333,7 @@ pub mod web_services { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -405,7 +405,7 @@ pub mod web_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -470,7 +470,7 @@ pub mod web_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/machinelearning/src/package_webservices_2017_01/operations.rs b/services/mgmt/machinelearning/src/package_webservices_2017_01/operations.rs index cb90da7b7d..bb7442e82d 100644 --- a/services/mgmt/machinelearning/src/package_webservices_2017_01/operations.rs +++ b/services/mgmt/machinelearning/src/package_webservices_2017_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.MachineLearning/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod web_services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -112,7 +112,7 @@ pub mod web_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -188,7 +188,7 @@ pub mod web_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WebService), @@ -260,7 +260,7 @@ pub mod web_services { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -321,7 +321,7 @@ pub mod web_services { } } pub mod remove { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -400,7 +400,7 @@ pub mod web_services { } } pub mod create_regional_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -473,7 +473,7 @@ pub mod web_services { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -545,7 +545,7 @@ pub mod web_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -615,7 +615,7 @@ pub mod web_services { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/machinelearning/src/package_workspaces_2016_04/operations.rs b/services/mgmt/machinelearning/src/package_workspaces_2016_04/operations.rs index c0d480cfb1..9a1b39c3dc 100644 --- a/services/mgmt/machinelearning/src/package_workspaces_2016_04/operations.rs +++ b/services/mgmt/machinelearning/src/package_workspaces_2016_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.MachineLearning/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -115,7 +115,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -190,7 +190,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -262,7 +262,7 @@ pub mod workspaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -328,7 +328,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -402,7 +402,7 @@ pub mod workspaces { } } pub mod resync_storage_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -476,7 +476,7 @@ pub mod workspaces { } } pub mod list_workspace_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -549,7 +549,7 @@ pub mod workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -615,7 +615,7 @@ pub mod workspaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/machinelearning/src/package_workspaces_2019_10/operations.rs b/services/mgmt/machinelearning/src/package_workspaces_2019_10/operations.rs index c0d480cfb1..9a1b39c3dc 100644 --- a/services/mgmt/machinelearning/src/package_workspaces_2019_10/operations.rs +++ b/services/mgmt/machinelearning/src/package_workspaces_2019_10/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.MachineLearning/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -115,7 +115,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -190,7 +190,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -262,7 +262,7 @@ pub mod workspaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -328,7 +328,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -402,7 +402,7 @@ pub mod workspaces { } } pub mod resync_storage_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -476,7 +476,7 @@ pub mod workspaces { } } pub mod list_workspace_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -549,7 +549,7 @@ pub mod workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -615,7 +615,7 @@ pub mod workspaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/machinelearningcompute/Cargo.toml b/services/mgmt/machinelearningcompute/Cargo.toml index cf7198ace2..ea34d792f3 100644 --- a/services/mgmt/machinelearningcompute/Cargo.toml +++ b/services/mgmt/machinelearningcompute/Cargo.toml @@ -20,5 +20,6 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2017-08-preview"] +no-default-version = [] "package-2017-08-preview" = [] "package-2017-06-preview" = [] diff --git a/services/mgmt/machinelearningcompute/src/lib.rs b/services/mgmt/machinelearningcompute/src/lib.rs index 4cd28a576e..1342fefae6 100644 --- a/services/mgmt/machinelearningcompute/src/lib.rs +++ b/services/mgmt/machinelearningcompute/src/lib.rs @@ -1,13 +1,21 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2017-08-preview")] -mod package_2017_08_preview; -#[cfg(feature = "package-2017-08-preview")] +pub mod package_2017_08_preview; +#[cfg(all(feature = "package-2017-08-preview", not(feature = "no-default-version")))] pub use package_2017_08_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-06-preview")] -mod package_2017_06_preview; +pub mod package_2017_06_preview; use azure_core::setters; -#[cfg(feature = "package-2017-06-preview")] +#[cfg(all(feature = "package-2017-06-preview", not(feature = "no-default-version")))] pub use package_2017_06_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -31,7 +39,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/machinelearningcompute/src/package_2017_06_preview/operations.rs b/services/mgmt/machinelearningcompute/src/package_2017_06_preview/operations.rs index 04fbc49ec6..a467c18deb 100644 --- a/services/mgmt/machinelearningcompute/src/package_2017_06_preview/operations.rs +++ b/services/mgmt/machinelearningcompute/src/package_2017_06_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operationalization_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod operationalization_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod operationalization_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationalizationCluster), @@ -211,7 +211,7 @@ pub mod operationalization_clusters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -278,7 +278,7 @@ pub mod operationalization_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -357,7 +357,7 @@ pub mod operationalization_clusters { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationalizationClusterCredentials), @@ -432,7 +432,7 @@ pub mod operationalization_clusters { } } pub mod check_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CheckUpdateResponse), @@ -507,7 +507,7 @@ pub mod operationalization_clusters { } } pub mod update_system { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(UpdateSystemResponse), @@ -584,7 +584,7 @@ pub mod operationalization_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -654,7 +654,7 @@ pub mod operationalization_clusters { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -675,7 +675,7 @@ pub mod operationalization_clusters { } } pub mod machine_learning_compute { - use crate::models::*; + use super::{models, models::*}; pub async fn list_available_operations( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -721,7 +721,7 @@ pub mod machine_learning_compute { } } pub mod list_available_operations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/machinelearningcompute/src/package_2017_08_preview/operations.rs b/services/mgmt/machinelearningcompute/src/package_2017_08_preview/operations.rs index 5c79cc2c40..0a432d57ab 100644 --- a/services/mgmt/machinelearningcompute/src/package_2017_08_preview/operations.rs +++ b/services/mgmt/machinelearningcompute/src/package_2017_08_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operationalization_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod operationalization_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod operationalization_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationalizationCluster), @@ -211,7 +211,7 @@ pub mod operationalization_clusters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -281,7 +281,7 @@ pub mod operationalization_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -358,7 +358,7 @@ pub mod operationalization_clusters { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -423,7 +423,7 @@ pub mod operationalization_clusters { } } pub mod check_system_services_updates_available { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -489,7 +489,7 @@ pub mod operationalization_clusters { } } pub mod update_system_services { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(UpdateSystemServicesResponse), @@ -566,7 +566,7 @@ pub mod operationalization_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -636,7 +636,7 @@ pub mod operationalization_clusters { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -657,7 +657,7 @@ pub mod operationalization_clusters { } } pub mod machine_learning_compute { - use crate::models::*; + use super::{models, models::*}; pub async fn list_available_operations( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -703,7 +703,7 @@ pub mod machine_learning_compute { } } pub mod list_available_operations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/machinelearningexperimentation/Cargo.toml b/services/mgmt/machinelearningexperimentation/Cargo.toml index af6e2bcb2d..783c388fc3 100644 --- a/services/mgmt/machinelearningexperimentation/Cargo.toml +++ b/services/mgmt/machinelearningexperimentation/Cargo.toml @@ -20,4 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2017-05-preview"] +no-default-version = [] "package-2017-05-preview" = [] diff --git a/services/mgmt/machinelearningexperimentation/src/lib.rs b/services/mgmt/machinelearningexperimentation/src/lib.rs index e846c5ca38..361bcefa81 100644 --- a/services/mgmt/machinelearningexperimentation/src/lib.rs +++ b/services/mgmt/machinelearningexperimentation/src/lib.rs @@ -1,9 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2017-05-preview")] -mod package_2017_05_preview; +pub mod package_2017_05_preview; use azure_core::setters; -#[cfg(feature = "package-2017-05-preview")] +#[cfg(all(feature = "package-2017-05-preview", not(feature = "no-default-version")))] pub use package_2017_05_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -27,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/machinelearningexperimentation/src/package_2017_05_preview/operations.rs b/services/mgmt/machinelearningexperimentation/src/package_2017_05_preview/operations.rs index b1c554d21a..3cac2d0773 100644 --- a/services/mgmt/machinelearningexperimentation/src/package_2017_05_preview/operations.rs +++ b/services/mgmt/machinelearningexperimentation/src/package_2017_05_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -45,7 +45,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -69,7 +69,7 @@ pub mod operations { } } pub mod accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -118,7 +118,7 @@ pub mod accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -199,7 +199,7 @@ pub mod accounts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Account), @@ -276,7 +276,7 @@ pub mod accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -342,7 +342,7 @@ pub mod accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -420,7 +420,7 @@ pub mod accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -486,7 +486,7 @@ pub mod accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -510,7 +510,7 @@ pub mod accounts { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -561,7 +561,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -644,7 +644,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -723,7 +723,7 @@ pub mod workspaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -791,7 +791,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -869,7 +869,7 @@ pub mod workspaces { } } pub mod list_by_accounts { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -893,7 +893,7 @@ pub mod workspaces { } } pub mod projects { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -938,7 +938,7 @@ pub mod projects { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1015,7 +1015,7 @@ pub mod projects { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Project), @@ -1088,7 +1088,7 @@ pub mod projects { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1150,7 +1150,7 @@ pub mod projects { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1230,7 +1230,7 @@ pub mod projects { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/machinelearningservices/Cargo.toml b/services/mgmt/machinelearningservices/Cargo.toml index 6d90a11f32..5a9ef52657 100644 --- a/services/mgmt/machinelearningservices/Cargo.toml +++ b/services/mgmt/machinelearningservices/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-07-01"] +no-default-version = [] "package-2021-07-01" = [] "package-2021-04-01" = [] "package-2021-01-01" = [] diff --git a/services/mgmt/machinelearningservices/src/lib.rs b/services/mgmt/machinelearningservices/src/lib.rs index afb522588c..745bf1b9bb 100644 --- a/services/mgmt/machinelearningservices/src/lib.rs +++ b/services/mgmt/machinelearningservices/src/lib.rs @@ -1,81 +1,89 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-07-01")] -mod package_2021_07_01; -#[cfg(feature = "package-2021-07-01")] +pub mod package_2021_07_01; +#[cfg(all(feature = "package-2021-07-01", not(feature = "no-default-version")))] pub use package_2021_07_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-04-01")] -mod package_2021_04_01; -#[cfg(feature = "package-2021-04-01")] +pub mod package_2021_04_01; +#[cfg(all(feature = "package-2021-04-01", not(feature = "no-default-version")))] pub use package_2021_04_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-01-01")] -mod package_2021_01_01; -#[cfg(feature = "package-2021-01-01")] +pub mod package_2021_01_01; +#[cfg(all(feature = "package-2021-01-01", not(feature = "no-default-version")))] pub use package_2021_01_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-03-01-preview")] -mod package_2021_03_01_preview; -#[cfg(feature = "package-2021-03-01-preview")] +pub mod package_2021_03_01_preview; +#[cfg(all(feature = "package-2021-03-01-preview", not(feature = "no-default-version")))] pub use package_2021_03_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-08-01")] -mod package_2020_08_01; -#[cfg(feature = "package-2020-08-01")] +pub mod package_2020_08_01; +#[cfg(all(feature = "package-2020-08-01", not(feature = "no-default-version")))] pub use package_2020_08_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-06-01")] -mod package_2020_06_01; -#[cfg(feature = "package-2020-06-01")] +pub mod package_2020_06_01; +#[cfg(all(feature = "package-2020-06-01", not(feature = "no-default-version")))] pub use package_2020_06_01::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2020-05")] -mod package_preview_2020_05; -#[cfg(feature = "package-preview-2020-05")] +pub mod package_preview_2020_05; +#[cfg(all(feature = "package-preview-2020-05", not(feature = "no-default-version")))] pub use package_preview_2020_05::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-04-01")] -mod package_2020_04_01; -#[cfg(feature = "package-2020-04-01")] +pub mod package_2020_04_01; +#[cfg(all(feature = "package-2020-04-01", not(feature = "no-default-version")))] pub use package_2020_04_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-03-01")] -mod package_2020_03_01; -#[cfg(feature = "package-2020-03-01")] +pub mod package_2020_03_01; +#[cfg(all(feature = "package-2020-03-01", not(feature = "no-default-version")))] pub use package_2020_03_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-01-01")] -mod package_2020_01_01; -#[cfg(feature = "package-2020-01-01")] +pub mod package_2020_01_01; +#[cfg(all(feature = "package-2020-01-01", not(feature = "no-default-version")))] pub use package_2020_01_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-11-01")] -mod package_2019_11_01; -#[cfg(feature = "package-2019-11-01")] +pub mod package_2019_11_01; +#[cfg(all(feature = "package-2019-11-01", not(feature = "no-default-version")))] pub use package_2019_11_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-06-01")] -mod package_2019_06_01; -#[cfg(feature = "package-2019-06-01")] +pub mod package_2019_06_01; +#[cfg(all(feature = "package-2019-06-01", not(feature = "no-default-version")))] pub use package_2019_06_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-05-01")] -mod package_2019_05_01; -#[cfg(feature = "package-2019-05-01")] +pub mod package_2019_05_01; +#[cfg(all(feature = "package-2019-05-01", not(feature = "no-default-version")))] pub use package_2019_05_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-11-19")] -mod package_2018_11_19; -#[cfg(feature = "package-2018-11-19")] +pub mod package_2018_11_19; +#[cfg(all(feature = "package-2018-11-19", not(feature = "no-default-version")))] pub use package_2018_11_19::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-09-01-preview")] -mod package_2020_09_01_preview; -#[cfg(feature = "package-2020-09-01-preview")] +pub mod package_2020_09_01_preview; +#[cfg(all(feature = "package-2020-09-01-preview", not(feature = "no-default-version")))] pub use package_2020_09_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-05-01-preview")] -mod package_2020_05_01_preview; -#[cfg(feature = "package-2020-05-01-preview")] +pub mod package_2020_05_01_preview; +#[cfg(all(feature = "package-2020-05-01-preview", not(feature = "no-default-version")))] pub use package_2020_05_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-04-01-preview")] -mod package_2020_04_01_preview; -#[cfg(feature = "package-2020-04-01-preview")] +pub mod package_2020_04_01_preview; +#[cfg(all(feature = "package-2020-04-01-preview", not(feature = "no-default-version")))] pub use package_2020_04_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-02-18-preview")] -mod package_2020_02_18_preview; -#[cfg(feature = "package-2020-02-18-preview")] +pub mod package_2020_02_18_preview; +#[cfg(all(feature = "package-2020-02-18-preview", not(feature = "no-default-version")))] pub use package_2020_02_18_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-03-preview")] -mod package_2018_03_preview; +pub mod package_2018_03_preview; use azure_core::setters; -#[cfg(feature = "package-2018-03-preview")] +#[cfg(all(feature = "package-2018-03-preview", not(feature = "no-default-version")))] pub use package_2018_03_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -99,7 +107,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/machinelearningservices/src/package_2018_03_preview/operations.rs b/services/mgmt/machinelearningservices/src/package_2018_03_preview/operations.rs index 87d2501b88..56475749b6 100644 --- a/services/mgmt/machinelearningservices/src/package_2018_03_preview/operations.rs +++ b/services/mgmt/machinelearningservices/src/package_2018_03_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -45,7 +45,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -69,7 +69,7 @@ pub mod operations { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -118,7 +118,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -199,7 +199,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -276,7 +276,7 @@ pub mod workspaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -343,7 +343,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -426,7 +426,7 @@ pub mod workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -500,7 +500,7 @@ pub mod workspaces { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -569,7 +569,7 @@ pub mod workspaces { } } pub mod resync_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -642,7 +642,7 @@ pub mod workspaces { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -666,7 +666,7 @@ pub mod workspaces { } } pub mod machine_learning_compute { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -722,7 +722,7 @@ pub mod machine_learning_compute { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -794,7 +794,7 @@ pub mod machine_learning_compute { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -866,7 +866,7 @@ pub mod machine_learning_compute { } } pub mod system_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -954,7 +954,7 @@ pub mod machine_learning_compute { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ComputeResource), @@ -1027,7 +1027,7 @@ pub mod machine_learning_compute { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1108,7 +1108,7 @@ pub mod machine_learning_compute { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/machinelearningservices/src/package_2018_11_19/operations.rs b/services/mgmt/machinelearningservices/src/package_2018_11_19/operations.rs index 46ec8e7ea7..893c12f35b 100644 --- a/services/mgmt/machinelearningservices/src/package_2018_11_19/operations.rs +++ b/services/mgmt/machinelearningservices/src/package_2018_11_19/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -45,7 +45,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -69,7 +69,7 @@ pub mod operations { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -118,7 +118,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -205,7 +205,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -283,7 +283,7 @@ pub mod workspaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -350,7 +350,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -433,7 +433,7 @@ pub mod workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -507,7 +507,7 @@ pub mod workspaces { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -576,7 +576,7 @@ pub mod workspaces { } } pub mod resync_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -649,7 +649,7 @@ pub mod workspaces { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -673,7 +673,7 @@ pub mod workspaces { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -718,7 +718,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -739,7 +739,7 @@ pub mod usages { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -784,7 +784,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -805,7 +805,7 @@ pub mod virtual_machine_sizes { } } pub mod machine_learning_compute { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -861,7 +861,7 @@ pub mod machine_learning_compute { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -933,7 +933,7 @@ pub mod machine_learning_compute { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1016,7 +1016,7 @@ pub mod machine_learning_compute { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ComputeResource), @@ -1095,7 +1095,7 @@ pub mod machine_learning_compute { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1166,7 +1166,7 @@ pub mod machine_learning_compute { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1247,7 +1247,7 @@ pub mod machine_learning_compute { } } pub mod list_nodes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1323,7 +1323,7 @@ pub mod machine_learning_compute { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/machinelearningservices/src/package_2019_05_01/operations.rs b/services/mgmt/machinelearningservices/src/package_2019_05_01/operations.rs index 6524e7ee1b..8e7e8c0a6d 100644 --- a/services/mgmt/machinelearningservices/src/package_2019_05_01/operations.rs +++ b/services/mgmt/machinelearningservices/src/package_2019_05_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -45,7 +45,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -69,7 +69,7 @@ pub mod operations { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -118,7 +118,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -205,7 +205,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -283,7 +283,7 @@ pub mod workspaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -350,7 +350,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -433,7 +433,7 @@ pub mod workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -507,7 +507,7 @@ pub mod workspaces { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -576,7 +576,7 @@ pub mod workspaces { } } pub mod resync_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -649,7 +649,7 @@ pub mod workspaces { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -673,7 +673,7 @@ pub mod workspaces { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, expand_children: Option<&str>, @@ -722,7 +722,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -743,7 +743,7 @@ pub mod usages { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -788,7 +788,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -809,7 +809,7 @@ pub mod virtual_machine_sizes { } } pub mod machine_learning_compute { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -865,7 +865,7 @@ pub mod machine_learning_compute { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -937,7 +937,7 @@ pub mod machine_learning_compute { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1020,7 +1020,7 @@ pub mod machine_learning_compute { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ComputeResource), @@ -1099,7 +1099,7 @@ pub mod machine_learning_compute { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1170,7 +1170,7 @@ pub mod machine_learning_compute { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1251,7 +1251,7 @@ pub mod machine_learning_compute { } } pub mod list_nodes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1327,7 +1327,7 @@ pub mod machine_learning_compute { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/machinelearningservices/src/package_2019_06_01/operations.rs b/services/mgmt/machinelearningservices/src/package_2019_06_01/operations.rs index 3ea83be297..9c7bdaec72 100644 --- a/services/mgmt/machinelearningservices/src/package_2019_06_01/operations.rs +++ b/services/mgmt/machinelearningservices/src/package_2019_06_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -45,7 +45,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -69,7 +69,7 @@ pub mod operations { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -118,7 +118,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -205,7 +205,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -283,7 +283,7 @@ pub mod workspaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -350,7 +350,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -433,7 +433,7 @@ pub mod workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -507,7 +507,7 @@ pub mod workspaces { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -576,7 +576,7 @@ pub mod workspaces { } } pub mod resync_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -649,7 +649,7 @@ pub mod workspaces { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -673,7 +673,7 @@ pub mod workspaces { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, expand_children: Option<&str>, @@ -722,7 +722,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -743,7 +743,7 @@ pub mod usages { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -788,7 +788,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -809,7 +809,7 @@ pub mod virtual_machine_sizes { } } pub mod quotas { - use crate::models::*; + use super::{models, models::*}; pub async fn update( operation_config: &crate::OperationConfig, location: &str, @@ -858,7 +858,7 @@ pub mod quotas { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -924,7 +924,7 @@ pub mod quotas { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -945,7 +945,7 @@ pub mod quotas { } } pub mod machine_learning_compute { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1001,7 +1001,7 @@ pub mod machine_learning_compute { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1073,7 +1073,7 @@ pub mod machine_learning_compute { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1156,7 +1156,7 @@ pub mod machine_learning_compute { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ComputeResource), @@ -1235,7 +1235,7 @@ pub mod machine_learning_compute { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1306,7 +1306,7 @@ pub mod machine_learning_compute { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1387,7 +1387,7 @@ pub mod machine_learning_compute { } } pub mod list_nodes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1463,7 +1463,7 @@ pub mod machine_learning_compute { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/machinelearningservices/src/package_2019_11_01/operations.rs b/services/mgmt/machinelearningservices/src/package_2019_11_01/operations.rs index 2ff365b1d6..c5950c292a 100644 --- a/services/mgmt/machinelearningservices/src/package_2019_11_01/operations.rs +++ b/services/mgmt/machinelearningservices/src/package_2019_11_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -45,7 +45,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -69,7 +69,7 @@ pub mod operations { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -118,7 +118,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -205,7 +205,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -283,7 +283,7 @@ pub mod workspaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -350,7 +350,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -433,7 +433,7 @@ pub mod workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -507,7 +507,7 @@ pub mod workspaces { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -576,7 +576,7 @@ pub mod workspaces { } } pub mod resync_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -649,7 +649,7 @@ pub mod workspaces { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -673,7 +673,7 @@ pub mod workspaces { } } pub mod workspace_features { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -722,7 +722,7 @@ pub mod workspace_features { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -746,7 +746,7 @@ pub mod workspace_features { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -791,7 +791,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -812,7 +812,7 @@ pub mod usages { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -857,7 +857,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -878,7 +878,7 @@ pub mod virtual_machine_sizes { } } pub mod quotas { - use crate::models::*; + use super::{models, models::*}; pub async fn update( operation_config: &crate::OperationConfig, location: &str, @@ -927,7 +927,7 @@ pub mod quotas { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -993,7 +993,7 @@ pub mod quotas { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1014,7 +1014,7 @@ pub mod quotas { } } pub mod machine_learning_compute { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1070,7 +1070,7 @@ pub mod machine_learning_compute { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1142,7 +1142,7 @@ pub mod machine_learning_compute { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1225,7 +1225,7 @@ pub mod machine_learning_compute { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ComputeResource), @@ -1304,7 +1304,7 @@ pub mod machine_learning_compute { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1375,7 +1375,7 @@ pub mod machine_learning_compute { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1456,7 +1456,7 @@ pub mod machine_learning_compute { } } pub mod list_nodes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1532,7 +1532,7 @@ pub mod machine_learning_compute { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1602,7 +1602,7 @@ pub async fn list_skus( } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/machinelearningservices/src/package_2020_01_01/operations.rs b/services/mgmt/machinelearningservices/src/package_2020_01_01/operations.rs index dc791146a0..479c593095 100644 --- a/services/mgmt/machinelearningservices/src/package_2020_01_01/operations.rs +++ b/services/mgmt/machinelearningservices/src/package_2020_01_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -45,7 +45,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -69,7 +69,7 @@ pub mod operations { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -118,7 +118,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -205,7 +205,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -283,7 +283,7 @@ pub mod workspaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -350,7 +350,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -433,7 +433,7 @@ pub mod workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -507,7 +507,7 @@ pub mod workspaces { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -576,7 +576,7 @@ pub mod workspaces { } } pub mod resync_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -649,7 +649,7 @@ pub mod workspaces { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -673,7 +673,7 @@ pub mod workspaces { } } pub mod workspace_features { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -722,7 +722,7 @@ pub mod workspace_features { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -746,7 +746,7 @@ pub mod workspace_features { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -791,7 +791,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -812,7 +812,7 @@ pub mod usages { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -857,7 +857,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -878,7 +878,7 @@ pub mod virtual_machine_sizes { } } pub mod quotas { - use crate::models::*; + use super::{models, models::*}; pub async fn update( operation_config: &crate::OperationConfig, location: &str, @@ -927,7 +927,7 @@ pub mod quotas { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -993,7 +993,7 @@ pub mod quotas { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1014,7 +1014,7 @@ pub mod quotas { } } pub mod machine_learning_compute { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1070,7 +1070,7 @@ pub mod machine_learning_compute { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1142,7 +1142,7 @@ pub mod machine_learning_compute { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1225,7 +1225,7 @@ pub mod machine_learning_compute { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ComputeResource), @@ -1304,7 +1304,7 @@ pub mod machine_learning_compute { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1375,7 +1375,7 @@ pub mod machine_learning_compute { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1456,7 +1456,7 @@ pub mod machine_learning_compute { } } pub mod list_nodes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1532,7 +1532,7 @@ pub mod machine_learning_compute { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1602,7 +1602,7 @@ pub async fn list_skus( } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1625,7 +1625,7 @@ pub mod list_skus { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1676,7 +1676,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1750,7 +1750,7 @@ pub mod private_endpoint_connections { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1818,7 +1818,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1847,7 +1847,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1897,7 +1897,7 @@ pub mod private_link_resources { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/machinelearningservices/src/package_2020_02_18_preview/operations.rs b/services/mgmt/machinelearningservices/src/package_2020_02_18_preview/operations.rs index f9b8065be3..5a35a5e582 100644 --- a/services/mgmt/machinelearningservices/src/package_2020_02_18_preview/operations.rs +++ b/services/mgmt/machinelearningservices/src/package_2020_02_18_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -45,7 +45,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -69,7 +69,7 @@ pub mod operations { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -118,7 +118,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -205,7 +205,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -283,7 +283,7 @@ pub mod workspaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -350,7 +350,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -433,7 +433,7 @@ pub mod workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -507,7 +507,7 @@ pub mod workspaces { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -576,7 +576,7 @@ pub mod workspaces { } } pub mod resync_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -649,7 +649,7 @@ pub mod workspaces { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -673,7 +673,7 @@ pub mod workspaces { } } pub mod workspace_features { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -722,7 +722,7 @@ pub mod workspace_features { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -746,7 +746,7 @@ pub mod workspace_features { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -791,7 +791,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -812,7 +812,7 @@ pub mod usages { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -857,7 +857,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -878,7 +878,7 @@ pub mod virtual_machine_sizes { } } pub mod quotas { - use crate::models::*; + use super::{models, models::*}; pub async fn update( operation_config: &crate::OperationConfig, location: &str, @@ -927,7 +927,7 @@ pub mod quotas { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -993,7 +993,7 @@ pub mod quotas { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1014,7 +1014,7 @@ pub mod quotas { } } pub mod machine_learning_compute { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1070,7 +1070,7 @@ pub mod machine_learning_compute { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1142,7 +1142,7 @@ pub mod machine_learning_compute { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1225,7 +1225,7 @@ pub mod machine_learning_compute { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ComputeResource), @@ -1304,7 +1304,7 @@ pub mod machine_learning_compute { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1375,7 +1375,7 @@ pub mod machine_learning_compute { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1456,7 +1456,7 @@ pub mod machine_learning_compute { } } pub mod list_nodes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1532,7 +1532,7 @@ pub mod machine_learning_compute { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1600,7 +1600,7 @@ pub mod machine_learning_compute { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1668,7 +1668,7 @@ pub mod machine_learning_compute { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1739,7 +1739,7 @@ pub mod machine_learning_compute { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1809,7 +1809,7 @@ pub async fn list_skus( } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1832,7 +1832,7 @@ pub mod list_skus { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1883,7 +1883,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1957,7 +1957,7 @@ pub mod private_endpoint_connections { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2025,7 +2025,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2054,7 +2054,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2104,7 +2104,7 @@ pub mod private_link_resources { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/machinelearningservices/src/package_2020_03_01/operations.rs b/services/mgmt/machinelearningservices/src/package_2020_03_01/operations.rs index 2b2595eaca..2837b87a0b 100644 --- a/services/mgmt/machinelearningservices/src/package_2020_03_01/operations.rs +++ b/services/mgmt/machinelearningservices/src/package_2020_03_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -45,7 +45,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -69,7 +69,7 @@ pub mod operations { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -118,7 +118,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -200,7 +200,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -278,7 +278,7 @@ pub mod workspaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -345,7 +345,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -428,7 +428,7 @@ pub mod workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -502,7 +502,7 @@ pub mod workspaces { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -571,7 +571,7 @@ pub mod workspaces { } } pub mod resync_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -644,7 +644,7 @@ pub mod workspaces { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -668,7 +668,7 @@ pub mod workspaces { } } pub mod workspace_features { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -717,7 +717,7 @@ pub mod workspace_features { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -741,7 +741,7 @@ pub mod workspace_features { } } pub mod notebooks { - use crate::models::*; + use super::{models, models::*}; pub async fn prepare( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -795,7 +795,7 @@ pub mod notebooks { } } pub mod prepare { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NotebookResourceInfo), @@ -824,7 +824,7 @@ pub mod notebooks { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -869,7 +869,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -890,7 +890,7 @@ pub mod usages { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -935,7 +935,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -956,7 +956,7 @@ pub mod virtual_machine_sizes { } } pub mod quotas { - use crate::models::*; + use super::{models, models::*}; pub async fn update( operation_config: &crate::OperationConfig, location: &str, @@ -1005,7 +1005,7 @@ pub mod quotas { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1071,7 +1071,7 @@ pub mod quotas { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1092,7 +1092,7 @@ pub mod quotas { } } pub mod machine_learning_compute { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1148,7 +1148,7 @@ pub mod machine_learning_compute { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1220,7 +1220,7 @@ pub mod machine_learning_compute { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1303,7 +1303,7 @@ pub mod machine_learning_compute { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ComputeResource), @@ -1382,7 +1382,7 @@ pub mod machine_learning_compute { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1453,7 +1453,7 @@ pub mod machine_learning_compute { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1534,7 +1534,7 @@ pub mod machine_learning_compute { } } pub mod list_nodes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1610,7 +1610,7 @@ pub mod machine_learning_compute { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1680,7 +1680,7 @@ pub async fn list_skus( } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1703,7 +1703,7 @@ pub mod list_skus { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1754,7 +1754,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1828,7 +1828,7 @@ pub mod private_endpoint_connections { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1896,7 +1896,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1925,7 +1925,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1975,7 +1975,7 @@ pub mod private_link_resources { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/machinelearningservices/src/package_2020_04_01/operations.rs b/services/mgmt/machinelearningservices/src/package_2020_04_01/operations.rs index 2b2595eaca..2837b87a0b 100644 --- a/services/mgmt/machinelearningservices/src/package_2020_04_01/operations.rs +++ b/services/mgmt/machinelearningservices/src/package_2020_04_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -45,7 +45,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -69,7 +69,7 @@ pub mod operations { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -118,7 +118,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -200,7 +200,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -278,7 +278,7 @@ pub mod workspaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -345,7 +345,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -428,7 +428,7 @@ pub mod workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -502,7 +502,7 @@ pub mod workspaces { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -571,7 +571,7 @@ pub mod workspaces { } } pub mod resync_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -644,7 +644,7 @@ pub mod workspaces { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -668,7 +668,7 @@ pub mod workspaces { } } pub mod workspace_features { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -717,7 +717,7 @@ pub mod workspace_features { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -741,7 +741,7 @@ pub mod workspace_features { } } pub mod notebooks { - use crate::models::*; + use super::{models, models::*}; pub async fn prepare( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -795,7 +795,7 @@ pub mod notebooks { } } pub mod prepare { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NotebookResourceInfo), @@ -824,7 +824,7 @@ pub mod notebooks { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -869,7 +869,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -890,7 +890,7 @@ pub mod usages { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -935,7 +935,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -956,7 +956,7 @@ pub mod virtual_machine_sizes { } } pub mod quotas { - use crate::models::*; + use super::{models, models::*}; pub async fn update( operation_config: &crate::OperationConfig, location: &str, @@ -1005,7 +1005,7 @@ pub mod quotas { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1071,7 +1071,7 @@ pub mod quotas { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1092,7 +1092,7 @@ pub mod quotas { } } pub mod machine_learning_compute { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1148,7 +1148,7 @@ pub mod machine_learning_compute { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1220,7 +1220,7 @@ pub mod machine_learning_compute { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1303,7 +1303,7 @@ pub mod machine_learning_compute { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ComputeResource), @@ -1382,7 +1382,7 @@ pub mod machine_learning_compute { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1453,7 +1453,7 @@ pub mod machine_learning_compute { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1534,7 +1534,7 @@ pub mod machine_learning_compute { } } pub mod list_nodes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1610,7 +1610,7 @@ pub mod machine_learning_compute { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1680,7 +1680,7 @@ pub async fn list_skus( } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1703,7 +1703,7 @@ pub mod list_skus { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1754,7 +1754,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1828,7 +1828,7 @@ pub mod private_endpoint_connections { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1896,7 +1896,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1925,7 +1925,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1975,7 +1975,7 @@ pub mod private_link_resources { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/machinelearningservices/src/package_2020_04_01_preview/operations.rs b/services/mgmt/machinelearningservices/src/package_2020_04_01_preview/operations.rs index e3d9d177de..4405f9cedd 100644 --- a/services/mgmt/machinelearningservices/src/package_2020_04_01_preview/operations.rs +++ b/services/mgmt/machinelearningservices/src/package_2020_04_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -45,7 +45,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -69,7 +69,7 @@ pub mod operations { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -118,7 +118,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -200,7 +200,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -278,7 +278,7 @@ pub mod workspaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -345,7 +345,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -428,7 +428,7 @@ pub mod workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -502,7 +502,7 @@ pub mod workspaces { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -571,7 +571,7 @@ pub mod workspaces { } } pub mod resync_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -644,7 +644,7 @@ pub mod workspaces { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -668,7 +668,7 @@ pub mod workspaces { } } pub mod workspace_features { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -717,7 +717,7 @@ pub mod workspace_features { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -741,7 +741,7 @@ pub mod workspace_features { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -786,7 +786,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -807,7 +807,7 @@ pub mod usages { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -852,7 +852,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -873,7 +873,7 @@ pub mod virtual_machine_sizes { } } pub mod quotas { - use crate::models::*; + use super::{models, models::*}; pub async fn update( operation_config: &crate::OperationConfig, location: &str, @@ -922,7 +922,7 @@ pub mod quotas { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -988,7 +988,7 @@ pub mod quotas { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1009,7 +1009,7 @@ pub mod quotas { } } pub mod machine_learning_compute { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1065,7 +1065,7 @@ pub mod machine_learning_compute { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1137,7 +1137,7 @@ pub mod machine_learning_compute { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1220,7 +1220,7 @@ pub mod machine_learning_compute { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ComputeResource), @@ -1299,7 +1299,7 @@ pub mod machine_learning_compute { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1370,7 +1370,7 @@ pub mod machine_learning_compute { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1451,7 +1451,7 @@ pub mod machine_learning_compute { } } pub mod list_nodes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1527,7 +1527,7 @@ pub mod machine_learning_compute { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1597,7 +1597,7 @@ pub async fn list_skus( } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1620,7 +1620,7 @@ pub mod list_skus { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1671,7 +1671,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1745,7 +1745,7 @@ pub mod private_endpoint_connections { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1813,7 +1813,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1842,7 +1842,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1892,7 +1892,7 @@ pub mod private_link_resources { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1913,7 +1913,7 @@ pub mod private_link_resources { } } pub mod linked_workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1962,7 +1962,7 @@ pub mod linked_workspaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2034,7 +2034,7 @@ pub mod linked_workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2108,7 +2108,7 @@ pub mod linked_workspaces { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2176,7 +2176,7 @@ pub mod linked_workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/machinelearningservices/src/package_2020_05_01_preview/operations.rs b/services/mgmt/machinelearningservices/src/package_2020_05_01_preview/operations.rs index b283b3a469..ebabe3b627 100644 --- a/services/mgmt/machinelearningservices/src/package_2020_05_01_preview/operations.rs +++ b/services/mgmt/machinelearningservices/src/package_2020_05_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -45,7 +45,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -69,7 +69,7 @@ pub mod operations { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -118,7 +118,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -200,7 +200,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -278,7 +278,7 @@ pub mod workspaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -344,7 +344,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -426,7 +426,7 @@ pub mod workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -500,7 +500,7 @@ pub mod workspaces { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -569,7 +569,7 @@ pub mod workspaces { } } pub mod resync_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -642,7 +642,7 @@ pub mod workspaces { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -666,7 +666,7 @@ pub mod workspaces { } } pub mod workspace_features { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -715,7 +715,7 @@ pub mod workspace_features { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -739,7 +739,7 @@ pub mod workspace_features { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -784,7 +784,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -805,7 +805,7 @@ pub mod usages { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -850,7 +850,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -871,7 +871,7 @@ pub mod virtual_machine_sizes { } } pub mod quotas { - use crate::models::*; + use super::{models, models::*}; pub async fn update( operation_config: &crate::OperationConfig, location: &str, @@ -920,7 +920,7 @@ pub mod quotas { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -986,7 +986,7 @@ pub mod quotas { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1007,7 +1007,7 @@ pub mod quotas { } } pub mod machine_learning_compute { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1063,7 +1063,7 @@ pub mod machine_learning_compute { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1135,7 +1135,7 @@ pub mod machine_learning_compute { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1218,7 +1218,7 @@ pub mod machine_learning_compute { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ComputeResource), @@ -1297,7 +1297,7 @@ pub mod machine_learning_compute { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1368,7 +1368,7 @@ pub mod machine_learning_compute { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1449,7 +1449,7 @@ pub mod machine_learning_compute { } } pub mod list_nodes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1525,7 +1525,7 @@ pub mod machine_learning_compute { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1595,7 +1595,7 @@ pub async fn list_skus( } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1618,7 +1618,7 @@ pub mod list_skus { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1669,7 +1669,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1743,7 +1743,7 @@ pub mod private_endpoint_connections { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1811,7 +1811,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1840,7 +1840,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1890,7 +1890,7 @@ pub mod private_link_resources { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1911,7 +1911,7 @@ pub mod private_link_resources { } } pub mod linked_workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1960,7 +1960,7 @@ pub mod linked_workspaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2032,7 +2032,7 @@ pub mod linked_workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2106,7 +2106,7 @@ pub mod linked_workspaces { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2174,7 +2174,7 @@ pub mod linked_workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2203,7 +2203,7 @@ pub mod linked_workspaces { } } pub mod machine_learning_service { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2291,7 +2291,7 @@ pub mod machine_learning_service { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2367,7 +2367,7 @@ pub mod machine_learning_service { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2445,7 +2445,7 @@ pub mod machine_learning_service { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServiceResource), @@ -2518,7 +2518,7 @@ pub mod machine_learning_service { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2547,7 +2547,7 @@ pub mod machine_learning_service { } } pub mod machine_learning_datasets { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2603,7 +2603,7 @@ pub mod machine_learning_datasets { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2675,7 +2675,7 @@ pub mod machine_learning_datasets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2753,7 +2753,7 @@ pub mod machine_learning_datasets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatasetResource), @@ -2826,7 +2826,7 @@ pub mod machine_learning_datasets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2855,7 +2855,7 @@ pub mod machine_learning_datasets { } } pub mod machine_learning_datastores { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2911,7 +2911,7 @@ pub mod machine_learning_datastores { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2983,7 +2983,7 @@ pub mod machine_learning_datastores { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3061,7 +3061,7 @@ pub mod machine_learning_datastores { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatastoreResource), @@ -3134,7 +3134,7 @@ pub mod machine_learning_datastores { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/machinelearningservices/src/package_2020_06_01/operations.rs b/services/mgmt/machinelearningservices/src/package_2020_06_01/operations.rs index 9ac8d80945..a0fac194ed 100644 --- a/services/mgmt/machinelearningservices/src/package_2020_06_01/operations.rs +++ b/services/mgmt/machinelearningservices/src/package_2020_06_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -45,7 +45,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -69,7 +69,7 @@ pub mod operations { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -118,7 +118,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -200,7 +200,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -278,7 +278,7 @@ pub mod workspaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -345,7 +345,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -428,7 +428,7 @@ pub mod workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -502,7 +502,7 @@ pub mod workspaces { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -571,7 +571,7 @@ pub mod workspaces { } } pub mod resync_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -644,7 +644,7 @@ pub mod workspaces { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -668,7 +668,7 @@ pub mod workspaces { } } pub mod workspace_features { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -717,7 +717,7 @@ pub mod workspace_features { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -741,7 +741,7 @@ pub mod workspace_features { } } pub mod notebooks { - use crate::models::*; + use super::{models, models::*}; pub async fn prepare( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -795,7 +795,7 @@ pub mod notebooks { } } pub mod prepare { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NotebookResourceInfo), @@ -824,7 +824,7 @@ pub mod notebooks { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -869,7 +869,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -890,7 +890,7 @@ pub mod usages { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -935,7 +935,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -956,7 +956,7 @@ pub mod virtual_machine_sizes { } } pub mod quotas { - use crate::models::*; + use super::{models, models::*}; pub async fn update( operation_config: &crate::OperationConfig, location: &str, @@ -1005,7 +1005,7 @@ pub mod quotas { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1071,7 +1071,7 @@ pub mod quotas { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1092,7 +1092,7 @@ pub mod quotas { } } pub mod workspace_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1149,7 +1149,7 @@ pub mod workspace_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1221,7 +1221,7 @@ pub mod workspace_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1295,7 +1295,7 @@ pub mod workspace_connections { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1363,7 +1363,7 @@ pub mod workspace_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1392,7 +1392,7 @@ pub mod workspace_connections { } } pub mod machine_learning_compute { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1448,7 +1448,7 @@ pub mod machine_learning_compute { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1520,7 +1520,7 @@ pub mod machine_learning_compute { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1603,7 +1603,7 @@ pub mod machine_learning_compute { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ComputeResource), @@ -1682,7 +1682,7 @@ pub mod machine_learning_compute { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1753,7 +1753,7 @@ pub mod machine_learning_compute { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1834,7 +1834,7 @@ pub mod machine_learning_compute { } } pub mod list_nodes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1910,7 +1910,7 @@ pub mod machine_learning_compute { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1978,7 +1978,7 @@ pub mod machine_learning_compute { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2046,7 +2046,7 @@ pub mod machine_learning_compute { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2117,7 +2117,7 @@ pub mod machine_learning_compute { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2187,7 +2187,7 @@ pub async fn list_skus( } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2210,7 +2210,7 @@ pub mod list_skus { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2261,7 +2261,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2335,7 +2335,7 @@ pub mod private_endpoint_connections { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2404,7 +2404,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2434,7 +2434,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2484,7 +2484,7 @@ pub mod private_link_resources { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/machinelearningservices/src/package_2020_08_01/operations.rs b/services/mgmt/machinelearningservices/src/package_2020_08_01/operations.rs index 88922635fe..a4fd144d24 100644 --- a/services/mgmt/machinelearningservices/src/package_2020_08_01/operations.rs +++ b/services/mgmt/machinelearningservices/src/package_2020_08_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -45,7 +45,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -69,7 +69,7 @@ pub mod operations { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -118,7 +118,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -200,7 +200,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -278,7 +278,7 @@ pub mod workspaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -345,7 +345,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -428,7 +428,7 @@ pub mod workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -502,7 +502,7 @@ pub mod workspaces { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -571,7 +571,7 @@ pub mod workspaces { } } pub mod resync_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -644,7 +644,7 @@ pub mod workspaces { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -668,7 +668,7 @@ pub mod workspaces { } } pub mod workspace_features { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -717,7 +717,7 @@ pub mod workspace_features { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -741,7 +741,7 @@ pub mod workspace_features { } } pub mod notebooks { - use crate::models::*; + use super::{models, models::*}; pub async fn prepare( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -795,7 +795,7 @@ pub mod notebooks { } } pub mod prepare { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NotebookResourceInfo), @@ -824,7 +824,7 @@ pub mod notebooks { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -869,7 +869,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -890,7 +890,7 @@ pub mod usages { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -943,7 +943,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -964,7 +964,7 @@ pub mod virtual_machine_sizes { } } pub mod quotas { - use crate::models::*; + use super::{models, models::*}; pub async fn update( operation_config: &crate::OperationConfig, location: &str, @@ -1013,7 +1013,7 @@ pub mod quotas { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1079,7 +1079,7 @@ pub mod quotas { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1100,7 +1100,7 @@ pub mod quotas { } } pub mod workspace_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1157,7 +1157,7 @@ pub mod workspace_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1229,7 +1229,7 @@ pub mod workspace_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1303,7 +1303,7 @@ pub mod workspace_connections { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1371,7 +1371,7 @@ pub mod workspace_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1400,7 +1400,7 @@ pub mod workspace_connections { } } pub mod machine_learning_compute { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1456,7 +1456,7 @@ pub mod machine_learning_compute { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1528,7 +1528,7 @@ pub mod machine_learning_compute { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1611,7 +1611,7 @@ pub mod machine_learning_compute { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ComputeResource), @@ -1690,7 +1690,7 @@ pub mod machine_learning_compute { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1761,7 +1761,7 @@ pub mod machine_learning_compute { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1842,7 +1842,7 @@ pub mod machine_learning_compute { } } pub mod list_nodes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1918,7 +1918,7 @@ pub mod machine_learning_compute { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1986,7 +1986,7 @@ pub mod machine_learning_compute { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2054,7 +2054,7 @@ pub mod machine_learning_compute { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2125,7 +2125,7 @@ pub mod machine_learning_compute { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2195,7 +2195,7 @@ pub async fn list_skus( } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2218,7 +2218,7 @@ pub mod list_skus { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2269,7 +2269,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2343,7 +2343,7 @@ pub mod private_endpoint_connections { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2412,7 +2412,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2442,7 +2442,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2492,7 +2492,7 @@ pub mod private_link_resources { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/machinelearningservices/src/package_2020_09_01_preview/operations.rs b/services/mgmt/machinelearningservices/src/package_2020_09_01_preview/operations.rs index df8a2a3a2a..028c1a532d 100644 --- a/services/mgmt/machinelearningservices/src/package_2020_09_01_preview/operations.rs +++ b/services/mgmt/machinelearningservices/src/package_2020_09_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod labeling_jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -65,7 +65,7 @@ pub mod labeling_jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -152,7 +152,7 @@ pub mod labeling_jobs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LabelingJobResource), @@ -225,7 +225,7 @@ pub mod labeling_jobs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -308,7 +308,7 @@ pub mod labeling_jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -332,7 +332,7 @@ pub mod labeling_jobs { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -373,7 +373,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -397,7 +397,7 @@ pub mod operations { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -446,7 +446,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -528,7 +528,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -606,7 +606,7 @@ pub mod workspaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -673,7 +673,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -756,7 +756,7 @@ pub mod workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -830,7 +830,7 @@ pub mod workspaces { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -899,7 +899,7 @@ pub mod workspaces { } } pub mod resync_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -972,7 +972,7 @@ pub mod workspaces { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -996,7 +996,7 @@ pub mod workspaces { } } pub mod workspace_features { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1045,7 +1045,7 @@ pub mod workspace_features { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1069,7 +1069,7 @@ pub mod workspace_features { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1114,7 +1114,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1135,7 +1135,7 @@ pub mod usages { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -1180,7 +1180,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1201,7 +1201,7 @@ pub mod virtual_machine_sizes { } } pub mod quotas { - use crate::models::*; + use super::{models, models::*}; pub async fn update( operation_config: &crate::OperationConfig, location: &str, @@ -1250,7 +1250,7 @@ pub mod quotas { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1316,7 +1316,7 @@ pub mod quotas { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1337,7 +1337,7 @@ pub mod quotas { } } pub mod machine_learning_compute { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1393,7 +1393,7 @@ pub mod machine_learning_compute { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1465,7 +1465,7 @@ pub mod machine_learning_compute { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1548,7 +1548,7 @@ pub mod machine_learning_compute { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ComputeResource), @@ -1627,7 +1627,7 @@ pub mod machine_learning_compute { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1698,7 +1698,7 @@ pub mod machine_learning_compute { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1779,7 +1779,7 @@ pub mod machine_learning_compute { } } pub mod list_nodes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1855,7 +1855,7 @@ pub mod machine_learning_compute { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1923,7 +1923,7 @@ pub mod machine_learning_compute { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1991,7 +1991,7 @@ pub mod machine_learning_compute { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2062,7 +2062,7 @@ pub mod machine_learning_compute { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2132,7 +2132,7 @@ pub async fn list_skus( } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2155,7 +2155,7 @@ pub mod list_skus { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2206,7 +2206,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2280,7 +2280,7 @@ pub mod private_endpoint_connections { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2348,7 +2348,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2377,7 +2377,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2427,7 +2427,7 @@ pub mod private_link_resources { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2448,7 +2448,7 @@ pub mod private_link_resources { } } pub mod linked_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2497,7 +2497,7 @@ pub mod linked_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2569,7 +2569,7 @@ pub mod linked_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2643,7 +2643,7 @@ pub mod linked_services { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2711,7 +2711,7 @@ pub mod linked_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2740,7 +2740,7 @@ pub mod linked_services { } } pub mod machine_learning_service { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2828,7 +2828,7 @@ pub mod machine_learning_service { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2904,7 +2904,7 @@ pub mod machine_learning_service { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2982,7 +2982,7 @@ pub mod machine_learning_service { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServiceResource), @@ -3055,7 +3055,7 @@ pub mod machine_learning_service { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3084,7 +3084,7 @@ pub mod machine_learning_service { } } pub mod notebooks { - use crate::models::*; + use super::{models, models::*}; pub async fn prepare( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3138,7 +3138,7 @@ pub mod notebooks { } } pub mod prepare { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NotebookResourceInfo), @@ -3217,7 +3217,7 @@ pub mod notebooks { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3241,7 +3241,7 @@ pub mod notebooks { } } pub mod workspace_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3298,7 +3298,7 @@ pub mod workspace_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3370,7 +3370,7 @@ pub mod workspace_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3444,7 +3444,7 @@ pub mod workspace_connections { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3512,7 +3512,7 @@ pub mod workspace_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/machinelearningservices/src/package_2021_01_01/operations.rs b/services/mgmt/machinelearningservices/src/package_2021_01_01/operations.rs index b719ed93b4..d1919773f0 100644 --- a/services/mgmt/machinelearningservices/src/package_2021_01_01/operations.rs +++ b/services/mgmt/machinelearningservices/src/package_2021_01_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -45,7 +45,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -69,7 +69,7 @@ pub mod operations { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -118,7 +118,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -200,7 +200,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -278,7 +278,7 @@ pub mod workspaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -345,7 +345,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -428,7 +428,7 @@ pub mod workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -502,7 +502,7 @@ pub mod workspaces { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -571,7 +571,7 @@ pub mod workspaces { } } pub mod resync_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -644,7 +644,7 @@ pub mod workspaces { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -720,7 +720,7 @@ pub mod workspaces { } } pub mod list_notebook_access_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -744,7 +744,7 @@ pub mod workspaces { } } pub mod workspace_features { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -793,7 +793,7 @@ pub mod workspace_features { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -817,7 +817,7 @@ pub mod workspace_features { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -862,7 +862,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -883,7 +883,7 @@ pub mod usages { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -928,7 +928,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -949,7 +949,7 @@ pub mod virtual_machine_sizes { } } pub mod quotas { - use crate::models::*; + use super::{models, models::*}; pub async fn update( operation_config: &crate::OperationConfig, location: &str, @@ -998,7 +998,7 @@ pub mod quotas { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1066,7 +1066,7 @@ pub mod quotas { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1090,7 +1090,7 @@ pub mod quotas { } } pub mod machine_learning_compute { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1146,7 +1146,7 @@ pub mod machine_learning_compute { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1218,7 +1218,7 @@ pub mod machine_learning_compute { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1301,7 +1301,7 @@ pub mod machine_learning_compute { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ComputeResource), @@ -1380,7 +1380,7 @@ pub mod machine_learning_compute { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1451,7 +1451,7 @@ pub mod machine_learning_compute { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1532,7 +1532,7 @@ pub mod machine_learning_compute { } } pub mod list_nodes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1608,7 +1608,7 @@ pub mod machine_learning_compute { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1676,7 +1676,7 @@ pub mod machine_learning_compute { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1744,7 +1744,7 @@ pub mod machine_learning_compute { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1815,7 +1815,7 @@ pub mod machine_learning_compute { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1885,7 +1885,7 @@ pub async fn list_skus( } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1908,7 +1908,7 @@ pub mod list_skus { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1959,7 +1959,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2033,7 +2033,7 @@ pub mod private_endpoint_connections { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2101,7 +2101,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2130,7 +2130,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2180,7 +2180,7 @@ pub mod private_link_resources { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2201,7 +2201,7 @@ pub mod private_link_resources { } } pub mod machine_learning_service { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2289,7 +2289,7 @@ pub mod machine_learning_service { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2365,7 +2365,7 @@ pub mod machine_learning_service { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2443,7 +2443,7 @@ pub mod machine_learning_service { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServiceResource), @@ -2516,7 +2516,7 @@ pub mod machine_learning_service { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2545,7 +2545,7 @@ pub mod machine_learning_service { } } pub mod notebooks { - use crate::models::*; + use super::{models, models::*}; pub async fn prepare( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2599,7 +2599,7 @@ pub mod notebooks { } } pub mod prepare { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NotebookResourceInfo), @@ -2678,7 +2678,7 @@ pub mod notebooks { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2702,7 +2702,7 @@ pub mod notebooks { } } pub mod storage_account { - use crate::models::*; + use super::{models, models::*}; pub async fn list_keys( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2755,7 +2755,7 @@ pub mod storage_account { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2779,7 +2779,7 @@ pub mod storage_account { } } pub mod workspace_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2836,7 +2836,7 @@ pub mod workspace_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2908,7 +2908,7 @@ pub mod workspace_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2982,7 +2982,7 @@ pub mod workspace_connections { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3050,7 +3050,7 @@ pub mod workspace_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/machinelearningservices/src/package_2021_03_01_preview/operations.rs b/services/mgmt/machinelearningservices/src/package_2021_03_01_preview/operations.rs index 77758e9280..45ea0847aa 100644 --- a/services/mgmt/machinelearningservices/src/package_2021_03_01_preview/operations.rs +++ b/services/mgmt/machinelearningservices/src/package_2021_03_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -45,7 +45,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -69,7 +69,7 @@ pub mod operations { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -118,7 +118,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -200,7 +200,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -278,7 +278,7 @@ pub mod workspaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -345,7 +345,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -428,7 +428,7 @@ pub mod workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -502,7 +502,7 @@ pub mod workspaces { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -572,7 +572,7 @@ pub mod workspaces { } } pub mod resync_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -650,7 +650,7 @@ pub mod workspaces { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -726,7 +726,7 @@ pub mod workspaces { } } pub mod list_notebook_access_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -801,7 +801,7 @@ pub mod workspaces { } } pub mod prepare_notebook { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NotebookResourceInfo), @@ -882,7 +882,7 @@ pub mod workspaces { } } pub mod list_storage_account_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -956,7 +956,7 @@ pub mod workspaces { } } pub mod list_notebook_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -980,7 +980,7 @@ pub mod workspaces { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1025,7 +1025,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1046,7 +1046,7 @@ pub mod usages { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -1091,7 +1091,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1112,7 +1112,7 @@ pub mod virtual_machine_sizes { } } pub mod quotas { - use crate::models::*; + use super::{models, models::*}; pub async fn update( operation_config: &crate::OperationConfig, location: &str, @@ -1161,7 +1161,7 @@ pub mod quotas { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1229,7 +1229,7 @@ pub mod quotas { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1253,7 +1253,7 @@ pub mod quotas { } } pub mod compute { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1306,7 +1306,7 @@ pub mod compute { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1378,7 +1378,7 @@ pub mod compute { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1461,7 +1461,7 @@ pub mod compute { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ComputeResource), @@ -1540,7 +1540,7 @@ pub mod compute { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1611,7 +1611,7 @@ pub mod compute { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1692,7 +1692,7 @@ pub mod compute { } } pub mod list_nodes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1768,7 +1768,7 @@ pub mod compute { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1836,7 +1836,7 @@ pub mod compute { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1904,7 +1904,7 @@ pub mod compute { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1975,7 +1975,7 @@ pub mod compute { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2051,7 +2051,7 @@ pub mod compute { } } pub mod update_schedules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2075,7 +2075,7 @@ pub mod compute { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2124,7 +2124,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2196,7 +2196,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2273,7 +2273,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2341,7 +2341,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2370,7 +2370,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2417,7 +2417,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2438,7 +2438,7 @@ pub mod private_link_resources { } } pub mod workspace_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2495,7 +2495,7 @@ pub mod workspace_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2567,7 +2567,7 @@ pub mod workspace_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2641,7 +2641,7 @@ pub mod workspace_connections { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2709,7 +2709,7 @@ pub mod workspace_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2738,7 +2738,7 @@ pub mod workspace_connections { } } pub mod batch_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, count: Option, @@ -2795,7 +2795,7 @@ pub mod batch_endpoints { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2867,7 +2867,7 @@ pub mod batch_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2950,7 +2950,7 @@ pub mod batch_endpoints { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BatchEndpointTrackedResource), @@ -3029,7 +3029,7 @@ pub mod batch_endpoints { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3097,7 +3097,7 @@ pub mod batch_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3178,7 +3178,7 @@ pub mod batch_endpoints { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3202,7 +3202,7 @@ pub mod batch_endpoints { } } pub mod batch_deployments { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, endpoint_name: &str, @@ -3265,7 +3265,7 @@ pub mod batch_deployments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3331,7 +3331,7 @@ pub mod batch_deployments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3408,7 +3408,7 @@ pub mod batch_deployments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BatchDeploymentTrackedResource), @@ -3481,7 +3481,7 @@ pub mod batch_deployments { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3543,7 +3543,7 @@ pub mod batch_deployments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3572,7 +3572,7 @@ pub mod batch_deployments { } } pub mod code_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, skip: Option<&str>, @@ -3625,7 +3625,7 @@ pub mod code_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3697,7 +3697,7 @@ pub mod code_containers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3780,7 +3780,7 @@ pub mod code_containers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CodeContainerResource), @@ -3853,7 +3853,7 @@ pub mod code_containers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3882,7 +3882,7 @@ pub mod code_containers { } } pub mod code_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, name: &str, @@ -3945,7 +3945,7 @@ pub mod code_versions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4019,7 +4019,7 @@ pub mod code_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4104,7 +4104,7 @@ pub mod code_versions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CodeVersionResource), @@ -4179,7 +4179,7 @@ pub mod code_versions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4208,7 +4208,7 @@ pub mod code_versions { } } pub mod data_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, skip: Option<&str>, @@ -4261,7 +4261,7 @@ pub mod data_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4333,7 +4333,7 @@ pub mod data_containers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4416,7 +4416,7 @@ pub mod data_containers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataContainerResource), @@ -4489,7 +4489,7 @@ pub mod data_containers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4518,7 +4518,7 @@ pub mod data_containers { } } pub mod data_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, name: &str, @@ -4585,7 +4585,7 @@ pub mod data_versions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4659,7 +4659,7 @@ pub mod data_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4744,7 +4744,7 @@ pub mod data_versions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataVersionResource), @@ -4819,7 +4819,7 @@ pub mod data_versions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4848,7 +4848,7 @@ pub mod data_versions { } } pub mod datastores { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, skip: Option<&str>, @@ -4922,7 +4922,7 @@ pub mod datastores { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4994,7 +4994,7 @@ pub mod datastores { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5082,7 +5082,7 @@ pub mod datastores { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatastorePropertiesResource), @@ -5155,7 +5155,7 @@ pub mod datastores { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5236,7 +5236,7 @@ pub mod datastores { } } pub mod list_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5260,7 +5260,7 @@ pub mod datastores { } } pub mod environment_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, skip: Option<&str>, @@ -5313,7 +5313,7 @@ pub mod environment_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5385,7 +5385,7 @@ pub mod environment_containers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5468,7 +5468,7 @@ pub mod environment_containers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EnvironmentContainerResource), @@ -5541,7 +5541,7 @@ pub mod environment_containers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5570,7 +5570,7 @@ pub mod environment_containers { } } pub mod environment_specification_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, name: &str, @@ -5633,7 +5633,7 @@ pub mod environment_specification_versions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5707,7 +5707,7 @@ pub mod environment_specification_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5792,7 +5792,7 @@ pub mod environment_specification_versions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EnvironmentSpecificationVersionResource), @@ -5867,7 +5867,7 @@ pub mod environment_specification_versions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5896,7 +5896,7 @@ pub mod environment_specification_versions { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, skip: Option<&str>, @@ -5961,7 +5961,7 @@ pub mod jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6033,7 +6033,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6116,7 +6116,7 @@ pub mod jobs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobBaseResource), @@ -6190,7 +6190,7 @@ pub mod jobs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6264,7 +6264,7 @@ pub mod jobs { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6288,7 +6288,7 @@ pub mod jobs { } } pub mod labeling_jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, skip: Option<&str>, @@ -6345,7 +6345,7 @@ pub mod labeling_jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6427,7 +6427,7 @@ pub mod labeling_jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6510,7 +6510,7 @@ pub mod labeling_jobs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LabelingJobResource), @@ -6583,7 +6583,7 @@ pub mod labeling_jobs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6666,7 +6666,7 @@ pub mod labeling_jobs { } } pub mod export_labels { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExportSummary), @@ -6739,7 +6739,7 @@ pub mod labeling_jobs { } } pub mod pause { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6808,7 +6808,7 @@ pub mod labeling_jobs { } } pub mod resume { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6837,7 +6837,7 @@ pub mod labeling_jobs { } } pub mod model_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, skip: Option<&str>, @@ -6894,7 +6894,7 @@ pub mod model_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6966,7 +6966,7 @@ pub mod model_containers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7049,7 +7049,7 @@ pub mod model_containers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ModelContainerResource), @@ -7122,7 +7122,7 @@ pub mod model_containers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7151,7 +7151,7 @@ pub mod model_containers { } } pub mod model_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, name: &str, @@ -7234,7 +7234,7 @@ pub mod model_versions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7308,7 +7308,7 @@ pub mod model_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7393,7 +7393,7 @@ pub mod model_versions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ModelVersionResource), @@ -7468,7 +7468,7 @@ pub mod model_versions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7497,7 +7497,7 @@ pub mod model_versions { } } pub mod online_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, name: Option<&str>, @@ -7574,7 +7574,7 @@ pub mod online_endpoints { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7646,7 +7646,7 @@ pub mod online_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7729,7 +7729,7 @@ pub mod online_endpoints { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OnlineEndpointTrackedResource), @@ -7809,7 +7809,7 @@ pub mod online_endpoints { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OnlineEndpointTrackedResource), @@ -7883,7 +7883,7 @@ pub mod online_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -7965,7 +7965,7 @@ pub mod online_endpoints { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8031,7 +8031,7 @@ pub mod online_endpoints { } } pub mod regenerate_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8112,7 +8112,7 @@ pub mod online_endpoints { } } pub mod get_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8136,7 +8136,7 @@ pub mod online_endpoints { } } pub mod online_deployments { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, endpoint_name: &str, @@ -8192,7 +8192,7 @@ pub mod online_deployments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8258,7 +8258,7 @@ pub mod online_deployments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8335,7 +8335,7 @@ pub mod online_deployments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OnlineDeploymentTrackedResource), @@ -8409,7 +8409,7 @@ pub mod online_deployments { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OnlineDeploymentTrackedResource), @@ -8477,7 +8477,7 @@ pub mod online_deployments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8554,7 +8554,7 @@ pub mod online_deployments { } } pub mod get_logs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8578,7 +8578,7 @@ pub mod online_deployments { } } pub mod workspace_features { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8627,7 +8627,7 @@ pub mod workspace_features { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8651,7 +8651,7 @@ pub mod workspace_features { } } pub mod workspace_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, subscription_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -8693,7 +8693,7 @@ pub mod workspace_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/machinelearningservices/src/package_2021_04_01/operations.rs b/services/mgmt/machinelearningservices/src/package_2021_04_01/operations.rs index 3f3961f5ec..6ccac2c817 100644 --- a/services/mgmt/machinelearningservices/src/package_2021_04_01/operations.rs +++ b/services/mgmt/machinelearningservices/src/package_2021_04_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -45,7 +45,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -69,7 +69,7 @@ pub mod operations { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -118,7 +118,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -200,7 +200,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -278,7 +278,7 @@ pub mod workspaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -345,7 +345,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -428,7 +428,7 @@ pub mod workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -502,7 +502,7 @@ pub mod workspaces { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -572,7 +572,7 @@ pub mod workspaces { } } pub mod resync_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -650,7 +650,7 @@ pub mod workspaces { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -726,7 +726,7 @@ pub mod workspaces { } } pub mod list_notebook_access_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -750,7 +750,7 @@ pub mod workspaces { } } pub mod workspace_features { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -799,7 +799,7 @@ pub mod workspace_features { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -823,7 +823,7 @@ pub mod workspace_features { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -868,7 +868,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -889,7 +889,7 @@ pub mod usages { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -934,7 +934,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -955,7 +955,7 @@ pub mod virtual_machine_sizes { } } pub mod quotas { - use crate::models::*; + use super::{models, models::*}; pub async fn update( operation_config: &crate::OperationConfig, location: &str, @@ -1004,7 +1004,7 @@ pub mod quotas { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1072,7 +1072,7 @@ pub mod quotas { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1096,7 +1096,7 @@ pub mod quotas { } } pub mod machine_learning_compute { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1152,7 +1152,7 @@ pub mod machine_learning_compute { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1224,7 +1224,7 @@ pub mod machine_learning_compute { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1307,7 +1307,7 @@ pub mod machine_learning_compute { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ComputeResource), @@ -1386,7 +1386,7 @@ pub mod machine_learning_compute { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1457,7 +1457,7 @@ pub mod machine_learning_compute { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1538,7 +1538,7 @@ pub mod machine_learning_compute { } } pub mod list_nodes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1614,7 +1614,7 @@ pub mod machine_learning_compute { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1682,7 +1682,7 @@ pub mod machine_learning_compute { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1750,7 +1750,7 @@ pub mod machine_learning_compute { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1821,7 +1821,7 @@ pub mod machine_learning_compute { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1845,7 +1845,7 @@ pub mod machine_learning_compute { } } pub mod workspace { - use crate::models::*; + use super::{models, models::*}; pub async fn list_skus( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1893,7 +1893,7 @@ pub mod workspace { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1917,7 +1917,7 @@ pub mod workspace { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1968,7 +1968,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2042,7 +2042,7 @@ pub mod private_endpoint_connections { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2110,7 +2110,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2139,7 +2139,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2189,7 +2189,7 @@ pub mod private_link_resources { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2210,7 +2210,7 @@ pub mod private_link_resources { } } pub mod machine_learning_service { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2298,7 +2298,7 @@ pub mod machine_learning_service { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2374,7 +2374,7 @@ pub mod machine_learning_service { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2452,7 +2452,7 @@ pub mod machine_learning_service { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServiceResource), @@ -2525,7 +2525,7 @@ pub mod machine_learning_service { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2554,7 +2554,7 @@ pub mod machine_learning_service { } } pub mod notebooks { - use crate::models::*; + use super::{models, models::*}; pub async fn prepare( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2608,7 +2608,7 @@ pub mod notebooks { } } pub mod prepare { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NotebookResourceInfo), @@ -2687,7 +2687,7 @@ pub mod notebooks { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2711,7 +2711,7 @@ pub mod notebooks { } } pub mod storage_account { - use crate::models::*; + use super::{models, models::*}; pub async fn list_keys( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2764,7 +2764,7 @@ pub mod storage_account { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2788,7 +2788,7 @@ pub mod storage_account { } } pub mod workspace_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2845,7 +2845,7 @@ pub mod workspace_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2917,7 +2917,7 @@ pub mod workspace_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2991,7 +2991,7 @@ pub mod workspace_connections { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3059,7 +3059,7 @@ pub mod workspace_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/machinelearningservices/src/package_2021_07_01/operations.rs b/services/mgmt/machinelearningservices/src/package_2021_07_01/operations.rs index 513bd7965e..de6ab3978c 100644 --- a/services/mgmt/machinelearningservices/src/package_2021_07_01/operations.rs +++ b/services/mgmt/machinelearningservices/src/package_2021_07_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -45,7 +45,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -69,7 +69,7 @@ pub mod operations { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -118,7 +118,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -194,7 +194,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -271,7 +271,7 @@ pub mod workspaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -338,7 +338,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -421,7 +421,7 @@ pub mod workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -501,7 +501,7 @@ pub mod workspaces { } } pub mod diagnose { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -580,7 +580,7 @@ pub mod workspaces { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -650,7 +650,7 @@ pub mod workspaces { } } pub mod resync_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -728,7 +728,7 @@ pub mod workspaces { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -804,7 +804,7 @@ pub mod workspaces { } } pub mod list_notebook_access_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -879,7 +879,7 @@ pub mod workspaces { } } pub mod prepare_notebook { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NotebookResourceInfo), @@ -960,7 +960,7 @@ pub mod workspaces { } } pub mod list_storage_account_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1034,7 +1034,7 @@ pub mod workspaces { } } pub mod list_notebook_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1103,7 +1103,7 @@ pub mod workspaces { } } pub mod list_outbound_network_dependencies_endpoints { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1127,7 +1127,7 @@ pub mod workspaces { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1172,7 +1172,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1193,7 +1193,7 @@ pub mod usages { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -1238,7 +1238,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1259,7 +1259,7 @@ pub mod virtual_machine_sizes { } } pub mod quotas { - use crate::models::*; + use super::{models, models::*}; pub async fn update( operation_config: &crate::OperationConfig, location: &str, @@ -1308,7 +1308,7 @@ pub mod quotas { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1376,7 +1376,7 @@ pub mod quotas { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1400,7 +1400,7 @@ pub mod quotas { } } pub mod compute { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1453,7 +1453,7 @@ pub mod compute { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1525,7 +1525,7 @@ pub mod compute { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1608,7 +1608,7 @@ pub mod compute { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ComputeResource), @@ -1687,7 +1687,7 @@ pub mod compute { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1758,7 +1758,7 @@ pub mod compute { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1839,7 +1839,7 @@ pub mod compute { } } pub mod list_nodes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1915,7 +1915,7 @@ pub mod compute { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1983,7 +1983,7 @@ pub mod compute { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2051,7 +2051,7 @@ pub mod compute { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2122,7 +2122,7 @@ pub mod compute { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2146,7 +2146,7 @@ pub mod compute { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2195,7 +2195,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2267,7 +2267,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2344,7 +2344,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2412,7 +2412,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2441,7 +2441,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2488,7 +2488,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2509,7 +2509,7 @@ pub mod private_link_resources { } } pub mod workspace_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2566,7 +2566,7 @@ pub mod workspace_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2638,7 +2638,7 @@ pub mod workspace_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2712,7 +2712,7 @@ pub mod workspace_connections { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2780,7 +2780,7 @@ pub mod workspace_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2809,7 +2809,7 @@ pub mod workspace_connections { } } pub mod workspace_features { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2858,7 +2858,7 @@ pub mod workspace_features { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2882,7 +2882,7 @@ pub mod workspace_features { } } pub mod workspace_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, subscription_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -2924,7 +2924,7 @@ pub mod workspace_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/machinelearningservices/src/package_preview_2020_05/operations.rs b/services/mgmt/machinelearningservices/src/package_preview_2020_05/operations.rs index e46503dba4..7a6c4c4218 100644 --- a/services/mgmt/machinelearningservices/src/package_preview_2020_05/operations.rs +++ b/services/mgmt/machinelearningservices/src/package_preview_2020_05/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -45,7 +45,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -69,7 +69,7 @@ pub mod operations { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -118,7 +118,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -200,7 +200,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -278,7 +278,7 @@ pub mod workspaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -345,7 +345,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -428,7 +428,7 @@ pub mod workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -502,7 +502,7 @@ pub mod workspaces { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -571,7 +571,7 @@ pub mod workspaces { } } pub mod resync_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -644,7 +644,7 @@ pub mod workspaces { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -668,7 +668,7 @@ pub mod workspaces { } } pub mod workspace_features { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -717,7 +717,7 @@ pub mod workspace_features { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -741,7 +741,7 @@ pub mod workspace_features { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -786,7 +786,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -807,7 +807,7 @@ pub mod usages { } } pub mod virtual_machine_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -852,7 +852,7 @@ pub mod virtual_machine_sizes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -873,7 +873,7 @@ pub mod virtual_machine_sizes { } } pub mod quotas { - use crate::models::*; + use super::{models, models::*}; pub async fn update( operation_config: &crate::OperationConfig, location: &str, @@ -922,7 +922,7 @@ pub mod quotas { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -988,7 +988,7 @@ pub mod quotas { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1009,7 +1009,7 @@ pub mod quotas { } } pub mod machine_learning_compute { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1065,7 +1065,7 @@ pub mod machine_learning_compute { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1137,7 +1137,7 @@ pub mod machine_learning_compute { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1220,7 +1220,7 @@ pub mod machine_learning_compute { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ComputeResource), @@ -1299,7 +1299,7 @@ pub mod machine_learning_compute { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1370,7 +1370,7 @@ pub mod machine_learning_compute { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1451,7 +1451,7 @@ pub mod machine_learning_compute { } } pub mod list_nodes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1527,7 +1527,7 @@ pub mod machine_learning_compute { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1597,7 +1597,7 @@ pub async fn list_skus( } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1620,7 +1620,7 @@ pub mod list_skus { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1671,7 +1671,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1745,7 +1745,7 @@ pub mod private_endpoint_connections { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1813,7 +1813,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1842,7 +1842,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1892,7 +1892,7 @@ pub mod private_link_resources { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1913,7 +1913,7 @@ pub mod private_link_resources { } } pub mod linked_workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1962,7 +1962,7 @@ pub mod linked_workspaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2034,7 +2034,7 @@ pub mod linked_workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2108,7 +2108,7 @@ pub mod linked_workspaces { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2176,7 +2176,7 @@ pub mod linked_workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2205,7 +2205,7 @@ pub mod linked_workspaces { } } pub mod machine_learning_service { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2293,7 +2293,7 @@ pub mod machine_learning_service { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2369,7 +2369,7 @@ pub mod machine_learning_service { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2447,7 +2447,7 @@ pub mod machine_learning_service { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServiceResource), @@ -2520,7 +2520,7 @@ pub mod machine_learning_service { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/maintenance/Cargo.toml b/services/mgmt/maintenance/Cargo.toml index 87cea859c2..ca35ccaf37 100644 --- a/services/mgmt/maintenance/Cargo.toml +++ b/services/mgmt/maintenance/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-05"] +no-default-version = [] "package-preview-2021-09" = [] "package-2021-05" = [] "package-preview-2021-04" = [] diff --git a/services/mgmt/maintenance/src/lib.rs b/services/mgmt/maintenance/src/lib.rs index 134a86e9f2..b130c1b0de 100644 --- a/services/mgmt/maintenance/src/lib.rs +++ b/services/mgmt/maintenance/src/lib.rs @@ -1,29 +1,37 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-preview-2021-09")] -mod package_preview_2021_09; -#[cfg(feature = "package-preview-2021-09")] +pub mod package_preview_2021_09; +#[cfg(all(feature = "package-preview-2021-09", not(feature = "no-default-version")))] pub use package_preview_2021_09::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-05")] -mod package_2021_05; -#[cfg(feature = "package-2021-05")] +pub mod package_2021_05; +#[cfg(all(feature = "package-2021-05", not(feature = "no-default-version")))] pub use package_2021_05::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2021-04")] -mod package_preview_2021_04; -#[cfg(feature = "package-preview-2021-04")] +pub mod package_preview_2021_04; +#[cfg(all(feature = "package-preview-2021-04", not(feature = "no-default-version")))] pub use package_preview_2021_04::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2020-07")] -mod package_preview_2020_07; -#[cfg(feature = "package-preview-2020-07")] +pub mod package_preview_2020_07; +#[cfg(all(feature = "package-preview-2020-07", not(feature = "no-default-version")))] pub use package_preview_2020_07::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-04")] -mod package_2020_04; -#[cfg(feature = "package-2020-04")] +pub mod package_2020_04; +#[cfg(all(feature = "package-2020-04", not(feature = "no-default-version")))] pub use package_2020_04::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-06-preview")] -mod package_2018_06_preview; +pub mod package_2018_06_preview; use azure_core::setters; -#[cfg(feature = "package-2018-06-preview")] +#[cfg(all(feature = "package-2018-06-preview", not(feature = "no-default-version")))] pub use package_2018_06_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -47,7 +55,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/maintenance/src/package_2018_06_preview/operations.rs b/services/mgmt/maintenance/src/package_2018_06_preview/operations.rs index 2de0e7b316..a1e469d3f5 100644 --- a/services/mgmt/maintenance/src/package_2018_06_preview/operations.rs +++ b/services/mgmt/maintenance/src/package_2018_06_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod apply_updates { - use crate::models::*; + use super::{models, models::*}; pub async fn get_parent( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -64,7 +64,7 @@ pub mod apply_updates { } } pub mod get_parent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -135,7 +135,7 @@ pub mod apply_updates { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -213,7 +213,7 @@ pub mod apply_updates { } } pub mod create_or_update_parent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -285,7 +285,7 @@ pub mod apply_updates { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -306,7 +306,7 @@ pub mod apply_updates { } } pub mod configuration_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn create_or_update_parent( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -370,7 +370,7 @@ pub mod configuration_assignments { } } pub mod create_or_update_parent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -448,7 +448,7 @@ pub mod configuration_assignments { } } pub mod delete_parent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -524,7 +524,7 @@ pub mod configuration_assignments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -595,7 +595,7 @@ pub mod configuration_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -671,7 +671,7 @@ pub mod configuration_assignments { } } pub mod list_parent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -740,7 +740,7 @@ pub mod configuration_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -761,7 +761,7 @@ pub mod configuration_assignments { } } pub mod maintenance_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -810,7 +810,7 @@ pub mod maintenance_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -885,7 +885,7 @@ pub mod maintenance_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -957,7 +957,7 @@ pub mod maintenance_configurations { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1027,7 +1027,7 @@ pub mod maintenance_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1093,7 +1093,7 @@ pub mod maintenance_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1117,7 +1117,7 @@ pub mod maintenance_configurations { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Maintenance/operations", operation_config.base_path(),); @@ -1155,7 +1155,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1179,7 +1179,7 @@ pub mod operations { } } pub mod updates { - use crate::models::*; + use super::{models, models::*}; pub async fn list_parent( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1237,7 +1237,7 @@ pub mod updates { } } pub mod list_parent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1306,7 +1306,7 @@ pub mod updates { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/maintenance/src/package_2020_04/operations.rs b/services/mgmt/maintenance/src/package_2020_04/operations.rs index 2de0e7b316..a1e469d3f5 100644 --- a/services/mgmt/maintenance/src/package_2020_04/operations.rs +++ b/services/mgmt/maintenance/src/package_2020_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod apply_updates { - use crate::models::*; + use super::{models, models::*}; pub async fn get_parent( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -64,7 +64,7 @@ pub mod apply_updates { } } pub mod get_parent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -135,7 +135,7 @@ pub mod apply_updates { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -213,7 +213,7 @@ pub mod apply_updates { } } pub mod create_or_update_parent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -285,7 +285,7 @@ pub mod apply_updates { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -306,7 +306,7 @@ pub mod apply_updates { } } pub mod configuration_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn create_or_update_parent( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -370,7 +370,7 @@ pub mod configuration_assignments { } } pub mod create_or_update_parent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -448,7 +448,7 @@ pub mod configuration_assignments { } } pub mod delete_parent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -524,7 +524,7 @@ pub mod configuration_assignments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -595,7 +595,7 @@ pub mod configuration_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -671,7 +671,7 @@ pub mod configuration_assignments { } } pub mod list_parent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -740,7 +740,7 @@ pub mod configuration_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -761,7 +761,7 @@ pub mod configuration_assignments { } } pub mod maintenance_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -810,7 +810,7 @@ pub mod maintenance_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -885,7 +885,7 @@ pub mod maintenance_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -957,7 +957,7 @@ pub mod maintenance_configurations { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1027,7 +1027,7 @@ pub mod maintenance_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1093,7 +1093,7 @@ pub mod maintenance_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1117,7 +1117,7 @@ pub mod maintenance_configurations { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Maintenance/operations", operation_config.base_path(),); @@ -1155,7 +1155,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1179,7 +1179,7 @@ pub mod operations { } } pub mod updates { - use crate::models::*; + use super::{models, models::*}; pub async fn list_parent( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1237,7 +1237,7 @@ pub mod updates { } } pub mod list_parent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1306,7 +1306,7 @@ pub mod updates { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/maintenance/src/package_2021_05/operations.rs b/services/mgmt/maintenance/src/package_2021_05/operations.rs index e5a38740b5..8c8d39b916 100644 --- a/services/mgmt/maintenance/src/package_2021_05/operations.rs +++ b/services/mgmt/maintenance/src/package_2021_05/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod public_maintenance_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -49,7 +49,7 @@ pub mod public_maintenance_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -117,7 +117,7 @@ pub mod public_maintenance_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -141,7 +141,7 @@ pub mod public_maintenance_configurations { } } pub mod apply_updates { - use crate::models::*; + use super::{models, models::*}; pub async fn get_parent( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -203,7 +203,7 @@ pub mod apply_updates { } } pub mod get_parent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -279,7 +279,7 @@ pub mod apply_updates { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -362,7 +362,7 @@ pub mod apply_updates { } } pub mod create_or_update_parent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -439,7 +439,7 @@ pub mod apply_updates { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -505,7 +505,7 @@ pub mod apply_updates { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -529,7 +529,7 @@ pub mod apply_updates { } } pub mod configuration_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn create_or_update_parent( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -595,7 +595,7 @@ pub mod configuration_assignments { } } pub mod create_or_update_parent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -679,7 +679,7 @@ pub mod configuration_assignments { } } pub mod delete_parent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConfigurationAssignment), @@ -765,7 +765,7 @@ pub mod configuration_assignments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -842,7 +842,7 @@ pub mod configuration_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConfigurationAssignment), @@ -928,7 +928,7 @@ pub mod configuration_assignments { } } pub mod list_parent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1002,7 +1002,7 @@ pub mod configuration_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1026,7 +1026,7 @@ pub mod configuration_assignments { } } pub mod maintenance_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1075,7 +1075,7 @@ pub mod maintenance_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1150,7 +1150,7 @@ pub mod maintenance_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1222,7 +1222,7 @@ pub mod maintenance_configurations { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1293,7 +1293,7 @@ pub mod maintenance_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MaintenanceConfiguration), @@ -1364,7 +1364,7 @@ pub mod maintenance_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1388,7 +1388,7 @@ pub mod maintenance_configurations { } } pub mod maintenance_configurations_for_resource_group { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1435,7 +1435,7 @@ pub mod maintenance_configurations_for_resource_group { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1459,7 +1459,7 @@ pub mod maintenance_configurations_for_resource_group { } } pub mod apply_update_for_resource_group { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1506,7 +1506,7 @@ pub mod apply_update_for_resource_group { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1530,7 +1530,7 @@ pub mod apply_update_for_resource_group { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Maintenance/operations", operation_config.base_path(),); @@ -1568,7 +1568,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1592,7 +1592,7 @@ pub mod operations { } } pub mod updates { - use crate::models::*; + use super::{models, models::*}; pub async fn list_parent( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1652,7 +1652,7 @@ pub mod updates { } } pub mod list_parent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1726,7 +1726,7 @@ pub mod updates { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/maintenance/src/package_preview_2020_07/operations.rs b/services/mgmt/maintenance/src/package_preview_2020_07/operations.rs index fe33e0d6c6..f9bbadf289 100644 --- a/services/mgmt/maintenance/src/package_preview_2020_07/operations.rs +++ b/services/mgmt/maintenance/src/package_preview_2020_07/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod public_maintenance_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -49,7 +49,7 @@ pub mod public_maintenance_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -117,7 +117,7 @@ pub mod public_maintenance_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -141,7 +141,7 @@ pub mod public_maintenance_configurations { } } pub mod apply_updates { - use crate::models::*; + use super::{models, models::*}; pub async fn get_parent( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -201,7 +201,7 @@ pub mod apply_updates { } } pub mod get_parent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -272,7 +272,7 @@ pub mod apply_updates { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -350,7 +350,7 @@ pub mod apply_updates { } } pub mod create_or_update_parent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -422,7 +422,7 @@ pub mod apply_updates { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -443,7 +443,7 @@ pub mod apply_updates { } } pub mod configuration_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn create_or_update_parent( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -507,7 +507,7 @@ pub mod configuration_assignments { } } pub mod create_or_update_parent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -585,7 +585,7 @@ pub mod configuration_assignments { } } pub mod delete_parent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -661,7 +661,7 @@ pub mod configuration_assignments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -732,7 +732,7 @@ pub mod configuration_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -808,7 +808,7 @@ pub mod configuration_assignments { } } pub mod list_parent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -877,7 +877,7 @@ pub mod configuration_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -898,7 +898,7 @@ pub mod configuration_assignments { } } pub mod maintenance_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -947,7 +947,7 @@ pub mod maintenance_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1022,7 +1022,7 @@ pub mod maintenance_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1094,7 +1094,7 @@ pub mod maintenance_configurations { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1164,7 +1164,7 @@ pub mod maintenance_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1230,7 +1230,7 @@ pub mod maintenance_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1254,7 +1254,7 @@ pub mod maintenance_configurations { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Maintenance/operations", operation_config.base_path(),); @@ -1292,7 +1292,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1316,7 +1316,7 @@ pub mod operations { } } pub mod updates { - use crate::models::*; + use super::{models, models::*}; pub async fn list_parent( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1374,7 +1374,7 @@ pub mod updates { } } pub mod list_parent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1443,7 +1443,7 @@ pub mod updates { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/maintenance/src/package_preview_2021_04/operations.rs b/services/mgmt/maintenance/src/package_preview_2021_04/operations.rs index ead96ee84b..f0fbfd5cb6 100644 --- a/services/mgmt/maintenance/src/package_preview_2021_04/operations.rs +++ b/services/mgmt/maintenance/src/package_preview_2021_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod public_maintenance_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -49,7 +49,7 @@ pub mod public_maintenance_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -117,7 +117,7 @@ pub mod public_maintenance_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -141,7 +141,7 @@ pub mod public_maintenance_configurations { } } pub mod apply_updates { - use crate::models::*; + use super::{models, models::*}; pub async fn get_parent( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -203,7 +203,7 @@ pub mod apply_updates { } } pub mod get_parent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -279,7 +279,7 @@ pub mod apply_updates { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -362,7 +362,7 @@ pub mod apply_updates { } } pub mod create_or_update_parent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -439,7 +439,7 @@ pub mod apply_updates { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -505,7 +505,7 @@ pub mod apply_updates { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -529,7 +529,7 @@ pub mod apply_updates { } } pub mod configuration_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn get_parent( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -591,7 +591,7 @@ pub mod configuration_assignments { } } pub mod get_parent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -678,7 +678,7 @@ pub mod configuration_assignments { } } pub mod create_or_update_parent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -762,7 +762,7 @@ pub mod configuration_assignments { } } pub mod delete_parent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConfigurationAssignment), @@ -843,7 +843,7 @@ pub mod configuration_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -924,7 +924,7 @@ pub mod configuration_assignments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1001,7 +1001,7 @@ pub mod configuration_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConfigurationAssignment), @@ -1087,7 +1087,7 @@ pub mod configuration_assignments { } } pub mod list_parent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1161,7 +1161,7 @@ pub mod configuration_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1185,7 +1185,7 @@ pub mod configuration_assignments { } } pub mod maintenance_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1234,7 +1234,7 @@ pub mod maintenance_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1309,7 +1309,7 @@ pub mod maintenance_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1381,7 +1381,7 @@ pub mod maintenance_configurations { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1452,7 +1452,7 @@ pub mod maintenance_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MaintenanceConfiguration), @@ -1523,7 +1523,7 @@ pub mod maintenance_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1547,7 +1547,7 @@ pub mod maintenance_configurations { } } pub mod maintenance_configurations_for_resource_group { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1594,7 +1594,7 @@ pub mod maintenance_configurations_for_resource_group { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1618,7 +1618,7 @@ pub mod maintenance_configurations_for_resource_group { } } pub mod apply_update_for_resource_group { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1665,7 +1665,7 @@ pub mod apply_update_for_resource_group { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1689,7 +1689,7 @@ pub mod apply_update_for_resource_group { } } pub mod configuration_assignments_within_subscription { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1734,7 +1734,7 @@ pub mod configuration_assignments_within_subscription { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1758,7 +1758,7 @@ pub mod configuration_assignments_within_subscription { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Maintenance/operations", operation_config.base_path(),); @@ -1796,7 +1796,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1820,7 +1820,7 @@ pub mod operations { } } pub mod updates { - use crate::models::*; + use super::{models, models::*}; pub async fn list_parent( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1880,7 +1880,7 @@ pub mod updates { } } pub mod list_parent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1954,7 +1954,7 @@ pub mod updates { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/maintenance/src/package_preview_2021_09/operations.rs b/services/mgmt/maintenance/src/package_preview_2021_09/operations.rs index ead96ee84b..f0fbfd5cb6 100644 --- a/services/mgmt/maintenance/src/package_preview_2021_09/operations.rs +++ b/services/mgmt/maintenance/src/package_preview_2021_09/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod public_maintenance_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -49,7 +49,7 @@ pub mod public_maintenance_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -117,7 +117,7 @@ pub mod public_maintenance_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -141,7 +141,7 @@ pub mod public_maintenance_configurations { } } pub mod apply_updates { - use crate::models::*; + use super::{models, models::*}; pub async fn get_parent( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -203,7 +203,7 @@ pub mod apply_updates { } } pub mod get_parent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -279,7 +279,7 @@ pub mod apply_updates { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -362,7 +362,7 @@ pub mod apply_updates { } } pub mod create_or_update_parent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -439,7 +439,7 @@ pub mod apply_updates { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -505,7 +505,7 @@ pub mod apply_updates { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -529,7 +529,7 @@ pub mod apply_updates { } } pub mod configuration_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn get_parent( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -591,7 +591,7 @@ pub mod configuration_assignments { } } pub mod get_parent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -678,7 +678,7 @@ pub mod configuration_assignments { } } pub mod create_or_update_parent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -762,7 +762,7 @@ pub mod configuration_assignments { } } pub mod delete_parent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConfigurationAssignment), @@ -843,7 +843,7 @@ pub mod configuration_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -924,7 +924,7 @@ pub mod configuration_assignments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1001,7 +1001,7 @@ pub mod configuration_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConfigurationAssignment), @@ -1087,7 +1087,7 @@ pub mod configuration_assignments { } } pub mod list_parent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1161,7 +1161,7 @@ pub mod configuration_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1185,7 +1185,7 @@ pub mod configuration_assignments { } } pub mod maintenance_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1234,7 +1234,7 @@ pub mod maintenance_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1309,7 +1309,7 @@ pub mod maintenance_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1381,7 +1381,7 @@ pub mod maintenance_configurations { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1452,7 +1452,7 @@ pub mod maintenance_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MaintenanceConfiguration), @@ -1523,7 +1523,7 @@ pub mod maintenance_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1547,7 +1547,7 @@ pub mod maintenance_configurations { } } pub mod maintenance_configurations_for_resource_group { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1594,7 +1594,7 @@ pub mod maintenance_configurations_for_resource_group { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1618,7 +1618,7 @@ pub mod maintenance_configurations_for_resource_group { } } pub mod apply_update_for_resource_group { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1665,7 +1665,7 @@ pub mod apply_update_for_resource_group { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1689,7 +1689,7 @@ pub mod apply_update_for_resource_group { } } pub mod configuration_assignments_within_subscription { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1734,7 +1734,7 @@ pub mod configuration_assignments_within_subscription { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1758,7 +1758,7 @@ pub mod configuration_assignments_within_subscription { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Maintenance/operations", operation_config.base_path(),); @@ -1796,7 +1796,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1820,7 +1820,7 @@ pub mod operations { } } pub mod updates { - use crate::models::*; + use super::{models, models::*}; pub async fn list_parent( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1880,7 +1880,7 @@ pub mod updates { } } pub mod list_parent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1954,7 +1954,7 @@ pub mod updates { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/managednetwork/Cargo.toml b/services/mgmt/managednetwork/Cargo.toml index 06a302f49d..7c646cc8ea 100644 --- a/services/mgmt/managednetwork/Cargo.toml +++ b/services/mgmt/managednetwork/Cargo.toml @@ -20,4 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2019-06-01-preview"] +no-default-version = [] "package-2019-06-01-preview" = [] diff --git a/services/mgmt/managednetwork/src/lib.rs b/services/mgmt/managednetwork/src/lib.rs index 3de1f9c5ca..5d56fe36f3 100644 --- a/services/mgmt/managednetwork/src/lib.rs +++ b/services/mgmt/managednetwork/src/lib.rs @@ -1,9 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2019-06-01-preview")] -mod package_2019_06_01_preview; +pub mod package_2019_06_01_preview; use azure_core::setters; -#[cfg(feature = "package-2019-06-01-preview")] +#[cfg(all(feature = "package-2019-06-01-preview", not(feature = "no-default-version")))] pub use package_2019_06_01_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -27,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/managednetwork/src/package_2019_06_01_preview/operations.rs b/services/mgmt/managednetwork/src/package_2019_06_01_preview/operations.rs index b89989853c..2b97c31f7d 100644 --- a/services/mgmt/managednetwork/src/package_2019_06_01_preview/operations.rs +++ b/services/mgmt/managednetwork/src/package_2019_06_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod managed_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod managed_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod managed_networks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedNetwork), @@ -217,7 +217,7 @@ pub mod managed_networks { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedNetwork), @@ -289,7 +289,7 @@ pub mod managed_networks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -376,7 +376,7 @@ pub mod managed_networks { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -453,7 +453,7 @@ pub mod managed_networks { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -477,7 +477,7 @@ pub mod managed_networks { } } pub mod scope_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scope: &str, @@ -524,7 +524,7 @@ pub mod scope_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -603,7 +603,7 @@ pub mod scope_assignments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ScopeAssignment), @@ -663,7 +663,7 @@ pub mod scope_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -726,7 +726,7 @@ pub mod scope_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -750,7 +750,7 @@ pub mod scope_assignments { } } pub mod managed_network_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -801,7 +801,7 @@ pub mod managed_network_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -884,7 +884,7 @@ pub mod managed_network_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedNetworkGroup), @@ -958,7 +958,7 @@ pub mod managed_network_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1047,7 +1047,7 @@ pub mod managed_network_groups { } } pub mod list_by_managed_network { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1071,7 +1071,7 @@ pub mod managed_network_groups { } } pub mod managed_network_peering_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1122,7 +1122,7 @@ pub mod managed_network_peering_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1205,7 +1205,7 @@ pub mod managed_network_peering_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedNetworkPeeringPolicy), @@ -1279,7 +1279,7 @@ pub mod managed_network_peering_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1368,7 +1368,7 @@ pub mod managed_network_peering_policies { } } pub mod list_by_managed_network { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1392,7 +1392,7 @@ pub mod managed_network_peering_policies { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ManagedNetwork/operations", operation_config.base_path(),); @@ -1430,7 +1430,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/managedservices/Cargo.toml b/services/mgmt/managedservices/Cargo.toml index 6c9d50b4af..1b09c61e08 100644 --- a/services/mgmt/managedservices/Cargo.toml +++ b/services/mgmt/managedservices/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2019-09"] +no-default-version = [] "package-2020-02-preview" = [] "package-2019-09" = [] "package-2019-06" = [] diff --git a/services/mgmt/managedservices/src/lib.rs b/services/mgmt/managedservices/src/lib.rs index 9fbf1c7716..095efccd5a 100644 --- a/services/mgmt/managedservices/src/lib.rs +++ b/services/mgmt/managedservices/src/lib.rs @@ -1,25 +1,33 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2020-02-preview")] -mod package_2020_02_preview; -#[cfg(feature = "package-2020-02-preview")] +pub mod package_2020_02_preview; +#[cfg(all(feature = "package-2020-02-preview", not(feature = "no-default-version")))] pub use package_2020_02_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-09")] -mod package_2019_09; -#[cfg(feature = "package-2019-09")] +pub mod package_2019_09; +#[cfg(all(feature = "package-2019-09", not(feature = "no-default-version")))] pub use package_2019_09::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-06")] -mod package_2019_06; -#[cfg(feature = "package-2019-06")] +pub mod package_2019_06; +#[cfg(all(feature = "package-2019-06", not(feature = "no-default-version")))] pub use package_2019_06::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-04-preview")] -mod package_2019_04_preview; -#[cfg(feature = "package-2019-04-preview")] +pub mod package_2019_04_preview; +#[cfg(all(feature = "package-2019-04-preview", not(feature = "no-default-version")))] pub use package_2019_04_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-06-preview")] -mod package_2018_06_preview; +pub mod package_2018_06_preview; use azure_core::setters; -#[cfg(feature = "package-2018-06-preview")] +#[cfg(all(feature = "package-2018-06-preview", not(feature = "no-default-version")))] pub use package_2018_06_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -43,7 +51,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/managedservices/src/package_2018_06_preview/operations.rs b/services/mgmt/managedservices/src/package_2018_06_preview/operations.rs index 0d10ab6f03..97991c9a6c 100644 --- a/services/mgmt/managedservices/src/package_2018_06_preview/operations.rs +++ b/services/mgmt/managedservices/src/package_2018_06_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod registration_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scope: &str, @@ -51,7 +51,7 @@ pub mod registration_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -130,7 +130,7 @@ pub mod registration_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RegistrationDefinition), @@ -199,7 +199,7 @@ pub mod registration_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -270,7 +270,7 @@ pub mod registration_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -294,7 +294,7 @@ pub mod registration_definitions { } } pub mod registration_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scope: &str, @@ -346,7 +346,7 @@ pub mod registration_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -425,7 +425,7 @@ pub mod registration_assignments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RegistrationAssignment), @@ -494,7 +494,7 @@ pub mod registration_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -570,7 +570,7 @@ pub mod registration_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -594,7 +594,7 @@ pub mod registration_assignments { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ManagedServices/operations", operation_config.base_path(),); @@ -632,7 +632,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/managedservices/src/package_2019_04_preview/operations.rs b/services/mgmt/managedservices/src/package_2019_04_preview/operations.rs index 9cb4600790..1d831cdd6a 100644 --- a/services/mgmt/managedservices/src/package_2019_04_preview/operations.rs +++ b/services/mgmt/managedservices/src/package_2019_04_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod registration_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scope: &str, @@ -51,7 +51,7 @@ pub mod registration_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -130,7 +130,7 @@ pub mod registration_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RegistrationDefinition), @@ -199,7 +199,7 @@ pub mod registration_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -270,7 +270,7 @@ pub mod registration_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -294,7 +294,7 @@ pub mod registration_definitions { } } pub mod registration_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scope: &str, @@ -346,7 +346,7 @@ pub mod registration_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -425,7 +425,7 @@ pub mod registration_assignments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RegistrationAssignment), @@ -495,7 +495,7 @@ pub mod registration_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -572,7 +572,7 @@ pub mod registration_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -596,7 +596,7 @@ pub mod registration_assignments { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ManagedServices/operations", operation_config.base_path(),); @@ -634,7 +634,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/managedservices/src/package_2019_06/operations.rs b/services/mgmt/managedservices/src/package_2019_06/operations.rs index 9cb4600790..1d831cdd6a 100644 --- a/services/mgmt/managedservices/src/package_2019_06/operations.rs +++ b/services/mgmt/managedservices/src/package_2019_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod registration_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scope: &str, @@ -51,7 +51,7 @@ pub mod registration_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -130,7 +130,7 @@ pub mod registration_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RegistrationDefinition), @@ -199,7 +199,7 @@ pub mod registration_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -270,7 +270,7 @@ pub mod registration_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -294,7 +294,7 @@ pub mod registration_definitions { } } pub mod registration_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scope: &str, @@ -346,7 +346,7 @@ pub mod registration_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -425,7 +425,7 @@ pub mod registration_assignments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RegistrationAssignment), @@ -495,7 +495,7 @@ pub mod registration_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -572,7 +572,7 @@ pub mod registration_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -596,7 +596,7 @@ pub mod registration_assignments { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ManagedServices/operations", operation_config.base_path(),); @@ -634,7 +634,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/managedservices/src/package_2019_09/operations.rs b/services/mgmt/managedservices/src/package_2019_09/operations.rs index 4968a20626..3b0b3ba37d 100644 --- a/services/mgmt/managedservices/src/package_2019_09/operations.rs +++ b/services/mgmt/managedservices/src/package_2019_09/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod registration_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scope: &str, @@ -51,7 +51,7 @@ pub mod registration_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -130,7 +130,7 @@ pub mod registration_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RegistrationDefinition), @@ -199,7 +199,7 @@ pub mod registration_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -270,7 +270,7 @@ pub mod registration_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -294,7 +294,7 @@ pub mod registration_definitions { } } pub mod registration_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scope: &str, @@ -346,7 +346,7 @@ pub mod registration_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -425,7 +425,7 @@ pub mod registration_assignments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RegistrationAssignment), @@ -495,7 +495,7 @@ pub mod registration_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -572,7 +572,7 @@ pub mod registration_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -596,7 +596,7 @@ pub mod registration_assignments { } } pub mod marketplace_registration_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, scope: &str, @@ -645,7 +645,7 @@ pub mod marketplace_registration_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -713,7 +713,7 @@ pub mod marketplace_registration_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -737,7 +737,7 @@ pub mod marketplace_registration_definitions { } } pub mod marketplace_registration_definitions_without_scope { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -784,7 +784,7 @@ pub mod marketplace_registration_definitions_without_scope { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -850,7 +850,7 @@ pub mod marketplace_registration_definitions_without_scope { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -874,7 +874,7 @@ pub mod marketplace_registration_definitions_without_scope { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ManagedServices/operations", operation_config.base_path(),); @@ -912,7 +912,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/managedservices/src/package_2020_02_preview/operations.rs b/services/mgmt/managedservices/src/package_2020_02_preview/operations.rs index 4968a20626..3b0b3ba37d 100644 --- a/services/mgmt/managedservices/src/package_2020_02_preview/operations.rs +++ b/services/mgmt/managedservices/src/package_2020_02_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod registration_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scope: &str, @@ -51,7 +51,7 @@ pub mod registration_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -130,7 +130,7 @@ pub mod registration_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RegistrationDefinition), @@ -199,7 +199,7 @@ pub mod registration_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -270,7 +270,7 @@ pub mod registration_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -294,7 +294,7 @@ pub mod registration_definitions { } } pub mod registration_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scope: &str, @@ -346,7 +346,7 @@ pub mod registration_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -425,7 +425,7 @@ pub mod registration_assignments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RegistrationAssignment), @@ -495,7 +495,7 @@ pub mod registration_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -572,7 +572,7 @@ pub mod registration_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -596,7 +596,7 @@ pub mod registration_assignments { } } pub mod marketplace_registration_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, scope: &str, @@ -645,7 +645,7 @@ pub mod marketplace_registration_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -713,7 +713,7 @@ pub mod marketplace_registration_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -737,7 +737,7 @@ pub mod marketplace_registration_definitions { } } pub mod marketplace_registration_definitions_without_scope { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -784,7 +784,7 @@ pub mod marketplace_registration_definitions_without_scope { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -850,7 +850,7 @@ pub mod marketplace_registration_definitions_without_scope { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -874,7 +874,7 @@ pub mod marketplace_registration_definitions_without_scope { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ManagedServices/operations", operation_config.base_path(),); @@ -912,7 +912,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/managementgroups/Cargo.toml b/services/mgmt/managementgroups/Cargo.toml index bc083de3ba..79562da50c 100644 --- a/services/mgmt/managementgroups/Cargo.toml +++ b/services/mgmt/managementgroups/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-04"] +no-default-version = [] "package-2021-04" = [] "package-2020-10" = [] "package-2020-05" = [] diff --git a/services/mgmt/managementgroups/src/lib.rs b/services/mgmt/managementgroups/src/lib.rs index a23200823f..4393ece953 100644 --- a/services/mgmt/managementgroups/src/lib.rs +++ b/services/mgmt/managementgroups/src/lib.rs @@ -1,41 +1,49 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-04")] -mod package_2021_04; -#[cfg(feature = "package-2021-04")] +pub mod package_2021_04; +#[cfg(all(feature = "package-2021-04", not(feature = "no-default-version")))] pub use package_2021_04::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-10")] -mod package_2020_10; -#[cfg(feature = "package-2020-10")] +pub mod package_2020_10; +#[cfg(all(feature = "package-2020-10", not(feature = "no-default-version")))] pub use package_2020_10::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-05")] -mod package_2020_05; -#[cfg(feature = "package-2020-05")] +pub mod package_2020_05; +#[cfg(all(feature = "package-2020-05", not(feature = "no-default-version")))] pub use package_2020_05::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-02")] -mod package_2020_02; -#[cfg(feature = "package-2020-02")] +pub mod package_2020_02; +#[cfg(all(feature = "package-2020-02", not(feature = "no-default-version")))] pub use package_2020_02::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-11")] -mod package_2019_11; -#[cfg(feature = "package-2019-11")] +pub mod package_2019_11; +#[cfg(all(feature = "package-2019-11", not(feature = "no-default-version")))] pub use package_2019_11::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-03")] -mod package_2018_03; -#[cfg(feature = "package-2018-03")] +pub mod package_2018_03; +#[cfg(all(feature = "package-2018-03", not(feature = "no-default-version")))] pub use package_2018_03::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-01")] -mod package_2018_01; -#[cfg(feature = "package-2018-01")] +pub mod package_2018_01; +#[cfg(all(feature = "package-2018-01", not(feature = "no-default-version")))] pub use package_2018_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-11")] -mod package_2017_11; -#[cfg(feature = "package-2017-11")] +pub mod package_2017_11; +#[cfg(all(feature = "package-2017-11", not(feature = "no-default-version")))] pub use package_2017_11::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-08")] -mod package_2017_08; +pub mod package_2017_08; use azure_core::setters; -#[cfg(feature = "package-2017-08")] +#[cfg(all(feature = "package-2017-08", not(feature = "no-default-version")))] pub use package_2017_08::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -59,7 +67,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/managementgroups/src/package_2017_08/operations.rs b/services/mgmt/managementgroups/src/package_2017_08/operations.rs index f85315a1ca..1c998fd380 100644 --- a/services/mgmt/managementgroups/src/package_2017_08/operations.rs +++ b/services/mgmt/managementgroups/src/package_2017_08/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod management_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, skiptoken: Option<&str>, @@ -48,7 +48,7 @@ pub mod management_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -122,7 +122,7 @@ pub mod management_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -146,7 +146,7 @@ pub mod management_groups { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Management/operations", operation_config.base_path(),); @@ -184,7 +184,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/managementgroups/src/package_2017_11/operations.rs b/services/mgmt/managementgroups/src/package_2017_11/operations.rs index e031a2037b..ae88d5cfb0 100644 --- a/services/mgmt/managementgroups/src/package_2017_11/operations.rs +++ b/services/mgmt/managementgroups/src/package_2017_11/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod management_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, cache_control: Option<&str>, @@ -52,7 +52,7 @@ pub mod management_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -130,7 +130,7 @@ pub mod management_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -205,7 +205,7 @@ pub mod management_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -277,7 +277,7 @@ pub mod management_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -343,7 +343,7 @@ pub mod management_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -372,7 +372,7 @@ pub mod management_groups { } } pub mod management_group_subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn create( operation_config: &crate::OperationConfig, group_id: &str, @@ -418,7 +418,7 @@ pub mod management_group_subscriptions { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -485,7 +485,7 @@ pub mod management_group_subscriptions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -509,7 +509,7 @@ pub mod management_group_subscriptions { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Management/operations", operation_config.base_path(),); @@ -547,7 +547,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/managementgroups/src/package_2018_01/operations.rs b/services/mgmt/managementgroups/src/package_2018_01/operations.rs index b2ddfe2f50..9db44d7138 100644 --- a/services/mgmt/managementgroups/src/package_2018_01/operations.rs +++ b/services/mgmt/managementgroups/src/package_2018_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod management_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, cache_control: Option<&str>, @@ -52,7 +52,7 @@ pub mod management_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod management_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -215,7 +215,7 @@ pub mod management_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagementGroup), @@ -292,7 +292,7 @@ pub mod management_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -363,7 +363,7 @@ pub mod management_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(OperationResults), @@ -392,7 +392,7 @@ pub mod management_groups { } } pub mod management_group_subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn create( operation_config: &crate::OperationConfig, group_id: &str, @@ -438,7 +438,7 @@ pub mod management_group_subscriptions { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -505,7 +505,7 @@ pub mod management_group_subscriptions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -529,7 +529,7 @@ pub mod management_group_subscriptions { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Management/operations", operation_config.base_path(),); @@ -567,7 +567,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -639,7 +639,7 @@ pub async fn check_name_availability( } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -662,7 +662,7 @@ pub mod check_name_availability { } } pub mod entities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, skiptoken: Option<&str>, @@ -715,7 +715,7 @@ pub mod entities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/managementgroups/src/package_2018_03/operations.rs b/services/mgmt/managementgroups/src/package_2018_03/operations.rs index ed0436d963..1f9edda356 100644 --- a/services/mgmt/managementgroups/src/package_2018_03/operations.rs +++ b/services/mgmt/managementgroups/src/package_2018_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod management_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, cache_control: Option<&str>, @@ -52,7 +52,7 @@ pub mod management_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod management_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -215,7 +215,7 @@ pub mod management_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagementGroup), @@ -292,7 +292,7 @@ pub mod management_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -363,7 +363,7 @@ pub mod management_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(OperationResults), @@ -445,7 +445,7 @@ pub mod management_groups { } } pub mod get_descendants { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -469,7 +469,7 @@ pub mod management_groups { } } pub mod management_group_subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn create( operation_config: &crate::OperationConfig, group_id: &str, @@ -515,7 +515,7 @@ pub mod management_group_subscriptions { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -582,7 +582,7 @@ pub mod management_group_subscriptions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -606,7 +606,7 @@ pub mod management_group_subscriptions { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Management/operations", operation_config.base_path(),); @@ -644,7 +644,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -716,7 +716,7 @@ pub async fn check_name_availability( } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -786,7 +786,7 @@ pub async fn start_tenant_backfill( } } pub mod start_tenant_backfill { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -856,7 +856,7 @@ pub async fn tenant_backfill_status( } } pub mod tenant_backfill_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -879,7 +879,7 @@ pub mod tenant_backfill_status { } } pub mod entities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, skiptoken: Option<&str>, @@ -956,7 +956,7 @@ pub mod entities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/managementgroups/src/package_2019_11/operations.rs b/services/mgmt/managementgroups/src/package_2019_11/operations.rs index ed0436d963..1f9edda356 100644 --- a/services/mgmt/managementgroups/src/package_2019_11/operations.rs +++ b/services/mgmt/managementgroups/src/package_2019_11/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod management_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, cache_control: Option<&str>, @@ -52,7 +52,7 @@ pub mod management_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod management_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -215,7 +215,7 @@ pub mod management_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagementGroup), @@ -292,7 +292,7 @@ pub mod management_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -363,7 +363,7 @@ pub mod management_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(OperationResults), @@ -445,7 +445,7 @@ pub mod management_groups { } } pub mod get_descendants { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -469,7 +469,7 @@ pub mod management_groups { } } pub mod management_group_subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn create( operation_config: &crate::OperationConfig, group_id: &str, @@ -515,7 +515,7 @@ pub mod management_group_subscriptions { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -582,7 +582,7 @@ pub mod management_group_subscriptions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -606,7 +606,7 @@ pub mod management_group_subscriptions { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Management/operations", operation_config.base_path(),); @@ -644,7 +644,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -716,7 +716,7 @@ pub async fn check_name_availability( } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -786,7 +786,7 @@ pub async fn start_tenant_backfill( } } pub mod start_tenant_backfill { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -856,7 +856,7 @@ pub async fn tenant_backfill_status( } } pub mod tenant_backfill_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -879,7 +879,7 @@ pub mod tenant_backfill_status { } } pub mod entities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, skiptoken: Option<&str>, @@ -956,7 +956,7 @@ pub mod entities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/managementgroups/src/package_2020_02/operations.rs b/services/mgmt/managementgroups/src/package_2020_02/operations.rs index fb2bdaf74e..e11d43aac6 100644 --- a/services/mgmt/managementgroups/src/package_2020_02/operations.rs +++ b/services/mgmt/managementgroups/src/package_2020_02/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod management_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, cache_control: Option<&str>, @@ -52,7 +52,7 @@ pub mod management_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod management_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -215,7 +215,7 @@ pub mod management_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagementGroup), @@ -292,7 +292,7 @@ pub mod management_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -363,7 +363,7 @@ pub mod management_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(AzureAsyncOperationResults), @@ -445,7 +445,7 @@ pub mod management_groups { } } pub mod get_descendants { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -469,7 +469,7 @@ pub mod management_groups { } } pub mod management_group_subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn create( operation_config: &crate::OperationConfig, group_id: &str, @@ -516,7 +516,7 @@ pub mod management_group_subscriptions { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -589,7 +589,7 @@ pub mod management_group_subscriptions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -618,7 +618,7 @@ pub mod management_group_subscriptions { } } pub mod hierarchy_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, group_id: &str, @@ -663,7 +663,7 @@ pub mod hierarchy_settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -726,7 +726,7 @@ pub mod hierarchy_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -797,7 +797,7 @@ pub mod hierarchy_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -865,7 +865,7 @@ pub mod hierarchy_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -923,7 +923,7 @@ pub mod hierarchy_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -947,7 +947,7 @@ pub mod hierarchy_settings { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Management/operations", operation_config.base_path(),); @@ -985,7 +985,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1057,7 +1057,7 @@ pub async fn check_name_availability( } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1127,7 +1127,7 @@ pub async fn start_tenant_backfill( } } pub mod start_tenant_backfill { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1197,7 +1197,7 @@ pub async fn tenant_backfill_status( } } pub mod tenant_backfill_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1220,7 +1220,7 @@ pub mod tenant_backfill_status { } } pub mod entities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, skiptoken: Option<&str>, @@ -1297,7 +1297,7 @@ pub mod entities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/managementgroups/src/package_2020_05/operations.rs b/services/mgmt/managementgroups/src/package_2020_05/operations.rs index da10c4b1c8..668188a3a0 100644 --- a/services/mgmt/managementgroups/src/package_2020_05/operations.rs +++ b/services/mgmt/managementgroups/src/package_2020_05/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod management_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, cache_control: Option<&str>, @@ -52,7 +52,7 @@ pub mod management_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod management_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -215,7 +215,7 @@ pub mod management_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagementGroup), @@ -292,7 +292,7 @@ pub mod management_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -363,7 +363,7 @@ pub mod management_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(AzureAsyncOperationResults), @@ -445,7 +445,7 @@ pub mod management_groups { } } pub mod get_descendants { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -469,7 +469,7 @@ pub mod management_groups { } } pub mod management_group_subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn get_subscription( operation_config: &crate::OperationConfig, group_id: &str, @@ -523,7 +523,7 @@ pub mod management_group_subscriptions { } } pub mod get_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -595,7 +595,7 @@ pub mod management_group_subscriptions { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -663,7 +663,7 @@ pub mod management_group_subscriptions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -743,7 +743,7 @@ pub mod management_group_subscriptions { } } pub mod get_subscriptions_under_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -767,7 +767,7 @@ pub mod management_group_subscriptions { } } pub mod hierarchy_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, group_id: &str, @@ -812,7 +812,7 @@ pub mod hierarchy_settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -875,7 +875,7 @@ pub mod hierarchy_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -946,7 +946,7 @@ pub mod hierarchy_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1014,7 +1014,7 @@ pub mod hierarchy_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1072,7 +1072,7 @@ pub mod hierarchy_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1096,7 +1096,7 @@ pub mod hierarchy_settings { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Management/operations", operation_config.base_path(),); @@ -1134,7 +1134,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1206,7 +1206,7 @@ pub async fn check_name_availability( } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1276,7 +1276,7 @@ pub async fn start_tenant_backfill( } } pub mod start_tenant_backfill { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1346,7 +1346,7 @@ pub async fn tenant_backfill_status( } } pub mod tenant_backfill_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1369,7 +1369,7 @@ pub mod tenant_backfill_status { } } pub mod entities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, skiptoken: Option<&str>, @@ -1446,7 +1446,7 @@ pub mod entities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/managementgroups/src/package_2020_10/operations.rs b/services/mgmt/managementgroups/src/package_2020_10/operations.rs index da10c4b1c8..668188a3a0 100644 --- a/services/mgmt/managementgroups/src/package_2020_10/operations.rs +++ b/services/mgmt/managementgroups/src/package_2020_10/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod management_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, cache_control: Option<&str>, @@ -52,7 +52,7 @@ pub mod management_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod management_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -215,7 +215,7 @@ pub mod management_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagementGroup), @@ -292,7 +292,7 @@ pub mod management_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -363,7 +363,7 @@ pub mod management_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(AzureAsyncOperationResults), @@ -445,7 +445,7 @@ pub mod management_groups { } } pub mod get_descendants { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -469,7 +469,7 @@ pub mod management_groups { } } pub mod management_group_subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn get_subscription( operation_config: &crate::OperationConfig, group_id: &str, @@ -523,7 +523,7 @@ pub mod management_group_subscriptions { } } pub mod get_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -595,7 +595,7 @@ pub mod management_group_subscriptions { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -663,7 +663,7 @@ pub mod management_group_subscriptions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -743,7 +743,7 @@ pub mod management_group_subscriptions { } } pub mod get_subscriptions_under_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -767,7 +767,7 @@ pub mod management_group_subscriptions { } } pub mod hierarchy_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, group_id: &str, @@ -812,7 +812,7 @@ pub mod hierarchy_settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -875,7 +875,7 @@ pub mod hierarchy_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -946,7 +946,7 @@ pub mod hierarchy_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1014,7 +1014,7 @@ pub mod hierarchy_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1072,7 +1072,7 @@ pub mod hierarchy_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1096,7 +1096,7 @@ pub mod hierarchy_settings { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Management/operations", operation_config.base_path(),); @@ -1134,7 +1134,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1206,7 +1206,7 @@ pub async fn check_name_availability( } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1276,7 +1276,7 @@ pub async fn start_tenant_backfill( } } pub mod start_tenant_backfill { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1346,7 +1346,7 @@ pub async fn tenant_backfill_status( } } pub mod tenant_backfill_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1369,7 +1369,7 @@ pub mod tenant_backfill_status { } } pub mod entities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, skiptoken: Option<&str>, @@ -1446,7 +1446,7 @@ pub mod entities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/managementgroups/src/package_2021_04/operations.rs b/services/mgmt/managementgroups/src/package_2021_04/operations.rs index da10c4b1c8..668188a3a0 100644 --- a/services/mgmt/managementgroups/src/package_2021_04/operations.rs +++ b/services/mgmt/managementgroups/src/package_2021_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod management_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, cache_control: Option<&str>, @@ -52,7 +52,7 @@ pub mod management_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod management_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -215,7 +215,7 @@ pub mod management_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagementGroup), @@ -292,7 +292,7 @@ pub mod management_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -363,7 +363,7 @@ pub mod management_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(AzureAsyncOperationResults), @@ -445,7 +445,7 @@ pub mod management_groups { } } pub mod get_descendants { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -469,7 +469,7 @@ pub mod management_groups { } } pub mod management_group_subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn get_subscription( operation_config: &crate::OperationConfig, group_id: &str, @@ -523,7 +523,7 @@ pub mod management_group_subscriptions { } } pub mod get_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -595,7 +595,7 @@ pub mod management_group_subscriptions { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -663,7 +663,7 @@ pub mod management_group_subscriptions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -743,7 +743,7 @@ pub mod management_group_subscriptions { } } pub mod get_subscriptions_under_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -767,7 +767,7 @@ pub mod management_group_subscriptions { } } pub mod hierarchy_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, group_id: &str, @@ -812,7 +812,7 @@ pub mod hierarchy_settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -875,7 +875,7 @@ pub mod hierarchy_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -946,7 +946,7 @@ pub mod hierarchy_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1014,7 +1014,7 @@ pub mod hierarchy_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1072,7 +1072,7 @@ pub mod hierarchy_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1096,7 +1096,7 @@ pub mod hierarchy_settings { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Management/operations", operation_config.base_path(),); @@ -1134,7 +1134,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1206,7 +1206,7 @@ pub async fn check_name_availability( } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1276,7 +1276,7 @@ pub async fn start_tenant_backfill( } } pub mod start_tenant_backfill { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1346,7 +1346,7 @@ pub async fn tenant_backfill_status( } } pub mod tenant_backfill_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1369,7 +1369,7 @@ pub mod tenant_backfill_status { } } pub mod entities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, skiptoken: Option<&str>, @@ -1446,7 +1446,7 @@ pub mod entities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/managementpartner/Cargo.toml b/services/mgmt/managementpartner/Cargo.toml index 0cba3b7c90..d6b844f2b0 100644 --- a/services/mgmt/managementpartner/Cargo.toml +++ b/services/mgmt/managementpartner/Cargo.toml @@ -20,4 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2018-02"] +no-default-version = [] "package-2018-02" = [] diff --git a/services/mgmt/managementpartner/src/lib.rs b/services/mgmt/managementpartner/src/lib.rs index 105108aa6c..9d8af910a8 100644 --- a/services/mgmt/managementpartner/src/lib.rs +++ b/services/mgmt/managementpartner/src/lib.rs @@ -1,9 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2018-02")] -mod package_2018_02; +pub mod package_2018_02; use azure_core::setters; -#[cfg(feature = "package-2018-02")] +#[cfg(all(feature = "package-2018-02", not(feature = "no-default-version")))] pub use package_2018_02::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -27,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/managementpartner/src/package_2018_02/operations.rs b/services/mgmt/managementpartner/src/package_2018_02/operations.rs index 1f938db31b..2d5704e2fd 100644 --- a/services/mgmt/managementpartner/src/package_2018_02/operations.rs +++ b/services/mgmt/managementpartner/src/package_2018_02/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod partner { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig, partner_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -46,7 +46,7 @@ pub mod partner { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -112,7 +112,7 @@ pub mod partner { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -178,7 +178,7 @@ pub mod partner { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -236,7 +236,7 @@ pub mod partner { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -260,7 +260,7 @@ pub mod partner { } } pub mod operation { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ManagementPartner/operations", operation_config.base_path(),); @@ -298,7 +298,7 @@ pub mod operation { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -322,7 +322,7 @@ pub mod operation { } } pub mod partners { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ManagementPartner/partners", operation_config.base_path(),); @@ -360,7 +360,7 @@ pub mod partners { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/maps/Cargo.toml b/services/mgmt/maps/Cargo.toml index a3144aacbe..7b667cb34a 100644 --- a/services/mgmt/maps/Cargo.toml +++ b/services/mgmt/maps/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-02"] +no-default-version = [] "package-preview-2021-07" = [] "package-2021-02" = [] "package-preview-2020-02" = [] diff --git a/services/mgmt/maps/src/lib.rs b/services/mgmt/maps/src/lib.rs index 00c1d5168f..fe1c5e0a90 100644 --- a/services/mgmt/maps/src/lib.rs +++ b/services/mgmt/maps/src/lib.rs @@ -1,25 +1,33 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-preview-2021-07")] -mod package_preview_2021_07; -#[cfg(feature = "package-preview-2021-07")] +pub mod package_preview_2021_07; +#[cfg(all(feature = "package-preview-2021-07", not(feature = "no-default-version")))] pub use package_preview_2021_07::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-02")] -mod package_2021_02; -#[cfg(feature = "package-2021-02")] +pub mod package_2021_02; +#[cfg(all(feature = "package-2021-02", not(feature = "no-default-version")))] pub use package_2021_02::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2020-02")] -mod package_preview_2020_02; -#[cfg(feature = "package-preview-2020-02")] +pub mod package_preview_2020_02; +#[cfg(all(feature = "package-preview-2020-02", not(feature = "no-default-version")))] pub use package_preview_2020_02::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-01")] -mod package_2017_01; -#[cfg(feature = "package-2017-01")] +pub mod package_2017_01; +#[cfg(all(feature = "package-2017-01", not(feature = "no-default-version")))] pub use package_2017_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-05")] -mod package_2018_05; +pub mod package_2018_05; use azure_core::setters; -#[cfg(feature = "package-2018-05")] +#[cfg(all(feature = "package-2018-05", not(feature = "no-default-version")))] pub use package_2018_05::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -43,7 +51,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/maps/src/package_2017_01/operations.rs b/services/mgmt/maps/src/package_2017_01/operations.rs index 23802fa7d9..ea862dffd2 100644 --- a/services/mgmt/maps/src/package_2017_01/operations.rs +++ b/services/mgmt/maps/src/package_2017_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -54,7 +54,7 @@ pub mod accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -137,7 +137,7 @@ pub mod accounts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MapsAccount), @@ -215,7 +215,7 @@ pub mod accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -283,7 +283,7 @@ pub mod accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -361,7 +361,7 @@ pub mod accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -430,7 +430,7 @@ pub mod accounts { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -495,7 +495,7 @@ pub mod accounts { } } pub mod move_ { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -570,7 +570,7 @@ pub mod accounts { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -648,7 +648,7 @@ pub mod accounts { } } pub mod regenerate_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -712,7 +712,7 @@ pub mod accounts { } } pub mod list_operations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/maps/src/package_2018_05/operations.rs b/services/mgmt/maps/src/package_2018_05/operations.rs index 23802fa7d9..ea862dffd2 100644 --- a/services/mgmt/maps/src/package_2018_05/operations.rs +++ b/services/mgmt/maps/src/package_2018_05/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -54,7 +54,7 @@ pub mod accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -137,7 +137,7 @@ pub mod accounts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MapsAccount), @@ -215,7 +215,7 @@ pub mod accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -283,7 +283,7 @@ pub mod accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -361,7 +361,7 @@ pub mod accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -430,7 +430,7 @@ pub mod accounts { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -495,7 +495,7 @@ pub mod accounts { } } pub mod move_ { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -570,7 +570,7 @@ pub mod accounts { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -648,7 +648,7 @@ pub mod accounts { } } pub mod regenerate_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -712,7 +712,7 @@ pub mod accounts { } } pub mod list_operations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/maps/src/package_2021_02/operations.rs b/services/mgmt/maps/src/package_2021_02/operations.rs index c9bb27e0df..a94e694c5b 100644 --- a/services/mgmt/maps/src/package_2021_02/operations.rs +++ b/services/mgmt/maps/src/package_2021_02/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod accounts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MapsAccount), @@ -211,7 +211,7 @@ pub mod accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -277,7 +277,7 @@ pub mod accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -355,7 +355,7 @@ pub mod accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -424,7 +424,7 @@ pub mod accounts { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -498,7 +498,7 @@ pub mod accounts { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -573,7 +573,7 @@ pub mod accounts { } } pub mod regenerate_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -597,7 +597,7 @@ pub mod accounts { } } pub mod maps { - use crate::models::*; + use super::{models, models::*}; pub async fn list_operations(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Maps/operations", operation_config.base_path(),); @@ -638,7 +638,7 @@ pub mod maps { } } pub mod list_operations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -709,7 +709,7 @@ pub mod maps { } } pub mod list_subscription_operations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -733,7 +733,7 @@ pub mod maps { } } pub mod creators { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -785,7 +785,7 @@ pub mod creators { } } pub mod list_by_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -857,7 +857,7 @@ pub mod creators { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -940,7 +940,7 @@ pub mod creators { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Creator), @@ -1019,7 +1019,7 @@ pub mod creators { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1087,7 +1087,7 @@ pub mod creators { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/maps/src/package_preview_2020_02/operations.rs b/services/mgmt/maps/src/package_preview_2020_02/operations.rs index 06511da6b8..313f4c3a1b 100644 --- a/services/mgmt/maps/src/package_preview_2020_02/operations.rs +++ b/services/mgmt/maps/src/package_preview_2020_02/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod accounts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MapsAccount), @@ -211,7 +211,7 @@ pub mod accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -277,7 +277,7 @@ pub mod accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -355,7 +355,7 @@ pub mod accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -424,7 +424,7 @@ pub mod accounts { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -498,7 +498,7 @@ pub mod accounts { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -573,7 +573,7 @@ pub mod accounts { } } pub mod regenerate_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -597,7 +597,7 @@ pub mod accounts { } } pub mod maps { - use crate::models::*; + use super::{models, models::*}; pub async fn list_operations(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Maps/operations", operation_config.base_path(),); @@ -638,7 +638,7 @@ pub mod maps { } } pub mod list_operations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -662,7 +662,7 @@ pub mod maps { } } pub mod private_atlases { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -713,7 +713,7 @@ pub mod private_atlases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -796,7 +796,7 @@ pub mod private_atlases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateAtlas), @@ -875,7 +875,7 @@ pub mod private_atlases { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -943,7 +943,7 @@ pub mod private_atlases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1021,7 +1021,7 @@ pub mod private_atlases { } } pub mod list_by_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1045,7 +1045,7 @@ pub mod private_atlases { } } pub mod creators { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1097,7 +1097,7 @@ pub mod creators { } } pub mod list_by_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1169,7 +1169,7 @@ pub mod creators { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1252,7 +1252,7 @@ pub mod creators { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Creator), @@ -1331,7 +1331,7 @@ pub mod creators { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1399,7 +1399,7 @@ pub mod creators { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/maps/src/package_preview_2021_07/operations.rs b/services/mgmt/maps/src/package_preview_2021_07/operations.rs index 12876cf868..131f457fd0 100644 --- a/services/mgmt/maps/src/package_preview_2021_07/operations.rs +++ b/services/mgmt/maps/src/package_preview_2021_07/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod accounts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MapsAccount), @@ -211,7 +211,7 @@ pub mod accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -277,7 +277,7 @@ pub mod accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -355,7 +355,7 @@ pub mod accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -424,7 +424,7 @@ pub mod accounts { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -498,7 +498,7 @@ pub mod accounts { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -573,7 +573,7 @@ pub mod accounts { } } pub mod regenerate_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -597,7 +597,7 @@ pub mod accounts { } } pub mod maps { - use crate::models::*; + use super::{models, models::*}; pub async fn list_operations(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Maps/operations", operation_config.base_path(),); @@ -638,7 +638,7 @@ pub mod maps { } } pub mod list_operations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -662,7 +662,7 @@ pub mod maps { } } pub mod creators { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -714,7 +714,7 @@ pub mod creators { } } pub mod list_by_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -786,7 +786,7 @@ pub mod creators { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -869,7 +869,7 @@ pub mod creators { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Creator), @@ -948,7 +948,7 @@ pub mod creators { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1016,7 +1016,7 @@ pub mod creators { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/mariadb/Cargo.toml b/services/mgmt/mariadb/Cargo.toml index a28f8adedf..b695cf969c 100644 --- a/services/mgmt/mariadb/Cargo.toml +++ b/services/mgmt/mariadb/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2018-06-01"] +no-default-version = [] "package-2018-06-01-preview" = [] "package-2018-06-01" = [] "package-2018-06-01-privatepreview" = [] diff --git a/services/mgmt/mariadb/src/lib.rs b/services/mgmt/mariadb/src/lib.rs index a7ed9f5c04..91bc1d2926 100644 --- a/services/mgmt/mariadb/src/lib.rs +++ b/services/mgmt/mariadb/src/lib.rs @@ -1,25 +1,33 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2018-06-01-preview")] -mod package_2018_06_01_preview; -#[cfg(feature = "package-2018-06-01-preview")] +pub mod package_2018_06_01_preview; +#[cfg(all(feature = "package-2018-06-01-preview", not(feature = "no-default-version")))] pub use package_2018_06_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-06-01")] -mod package_2018_06_01; -#[cfg(feature = "package-2018-06-01")] +pub mod package_2018_06_01; +#[cfg(all(feature = "package-2018-06-01", not(feature = "no-default-version")))] pub use package_2018_06_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-06-01-privatepreview")] -mod package_2018_06_01_privatepreview; -#[cfg(feature = "package-2018-06-01-privatepreview")] +pub mod package_2018_06_01_privatepreview; +#[cfg(all(feature = "package-2018-06-01-privatepreview", not(feature = "no-default-version")))] pub use package_2018_06_01_privatepreview::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-01-01-privatepreview")] -mod package_2020_01_01_privatepreview; -#[cfg(feature = "package-2020-01-01-privatepreview")] +pub mod package_2020_01_01_privatepreview; +#[cfg(all(feature = "package-2020-01-01-privatepreview", not(feature = "no-default-version")))] pub use package_2020_01_01_privatepreview::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-01-01")] -mod package_2020_01_01; +pub mod package_2020_01_01; use azure_core::setters; -#[cfg(feature = "package-2020-01-01")] +#[cfg(all(feature = "package-2020-01-01", not(feature = "no-default-version")))] pub use package_2020_01_01::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -43,7 +51,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/mariadb/src/package_2018_06_01/operations.rs b/services/mgmt/mariadb/src/package_2018_06_01/operations.rs index 465e0e5e78..3a1b01162d 100644 --- a/services/mgmt/mariadb/src/package_2018_06_01/operations.rs +++ b/services/mgmt/mariadb/src/package_2018_06_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod servers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -132,7 +132,7 @@ pub mod servers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -211,7 +211,7 @@ pub mod servers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -283,7 +283,7 @@ pub mod servers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -362,7 +362,7 @@ pub mod servers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -428,7 +428,7 @@ pub mod servers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -498,7 +498,7 @@ pub mod servers { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -527,7 +527,7 @@ pub mod servers { } } pub mod replicas { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -579,7 +579,7 @@ pub mod replicas { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -603,7 +603,7 @@ pub mod replicas { } } pub mod firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -654,7 +654,7 @@ pub mod firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -738,7 +738,7 @@ pub mod firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FirewallRule), @@ -813,7 +813,7 @@ pub mod firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -892,7 +892,7 @@ pub mod firewall_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -916,7 +916,7 @@ pub mod firewall_rules { } } pub mod virtual_network_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -959,7 +959,7 @@ pub mod virtual_network_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1032,7 +1032,7 @@ pub mod virtual_network_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkRule), @@ -1096,7 +1096,7 @@ pub mod virtual_network_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1164,7 +1164,7 @@ pub mod virtual_network_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1185,7 +1185,7 @@ pub mod virtual_network_rules { } } pub mod databases { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1236,7 +1236,7 @@ pub mod databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1320,7 +1320,7 @@ pub mod databases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1395,7 +1395,7 @@ pub mod databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1474,7 +1474,7 @@ pub mod databases { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1498,7 +1498,7 @@ pub mod databases { } } pub mod configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1549,7 +1549,7 @@ pub mod configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1627,7 +1627,7 @@ pub mod configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Configuration), @@ -1705,7 +1705,7 @@ pub mod configurations { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1729,7 +1729,7 @@ pub mod configurations { } } pub mod server_parameters { - use crate::models::*; + use super::{models, models::*}; pub async fn list_update_configurations( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1786,7 +1786,7 @@ pub mod server_parameters { } } pub mod list_update_configurations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConfigurationListResult), @@ -1815,7 +1815,7 @@ pub mod server_parameters { } } pub mod log_files { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1867,7 +1867,7 @@ pub mod log_files { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1891,7 +1891,7 @@ pub mod log_files { } } pub mod recoverable_servers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1940,7 +1940,7 @@ pub mod recoverable_servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1964,7 +1964,7 @@ pub mod recoverable_servers { } } pub mod server_based_performance_tier { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2013,7 +2013,7 @@ pub mod server_based_performance_tier { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2037,7 +2037,7 @@ pub mod server_based_performance_tier { } } pub mod location_based_performance_tier { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2084,7 +2084,7 @@ pub mod location_based_performance_tier { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2108,7 +2108,7 @@ pub mod location_based_performance_tier { } } pub mod check_name_availability { - use crate::models::*; + use super::{models, models::*}; pub async fn execute( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2158,7 +2158,7 @@ pub mod check_name_availability { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2182,7 +2182,7 @@ pub mod check_name_availability { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DBforMariaDB/operations", operation_config.base_path(),); @@ -2220,7 +2220,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2244,7 +2244,7 @@ pub mod operations { } } pub mod query_texts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2295,7 +2295,7 @@ pub mod query_texts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2372,7 +2372,7 @@ pub mod query_texts { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2396,7 +2396,7 @@ pub mod query_texts { } } pub mod top_query_statistics { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2447,7 +2447,7 @@ pub mod top_query_statistics { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2522,7 +2522,7 @@ pub mod top_query_statistics { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2546,7 +2546,7 @@ pub mod top_query_statistics { } } pub mod wait_statistics { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2597,7 +2597,7 @@ pub mod wait_statistics { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2672,7 +2672,7 @@ pub mod wait_statistics { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2749,7 +2749,7 @@ pub async fn reset_query_performance_insight_data( } } pub mod reset_query_performance_insight_data { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2823,7 +2823,7 @@ pub async fn create_recommended_action_session( } } pub mod create_recommended_action_session { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2848,7 +2848,7 @@ pub mod create_recommended_action_session { } } pub mod advisors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2897,7 +2897,7 @@ pub mod advisors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2965,7 +2965,7 @@ pub mod advisors { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2986,7 +2986,7 @@ pub mod advisors { } } pub mod recommended_actions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3037,7 +3037,7 @@ pub mod recommended_actions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3111,7 +3111,7 @@ pub mod recommended_actions { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3132,7 +3132,7 @@ pub mod recommended_actions { } } pub mod location_based_recommended_action_sessions_operation_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3179,7 +3179,7 @@ pub mod location_based_recommended_action_sessions_operation_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3200,7 +3200,7 @@ pub mod location_based_recommended_action_sessions_operation_status { } } pub mod location_based_recommended_action_sessions_result { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3253,7 +3253,7 @@ pub mod location_based_recommended_action_sessions_result { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecommendationActionsResultList), @@ -3279,7 +3279,7 @@ pub mod location_based_recommended_action_sessions_result { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3330,7 +3330,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3408,7 +3408,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -3490,7 +3490,7 @@ pub mod private_endpoint_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3559,7 +3559,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3638,7 +3638,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3662,7 +3662,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3714,7 +3714,7 @@ pub mod private_link_resources { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3786,7 +3786,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3810,7 +3810,7 @@ pub mod private_link_resources { } } pub mod server_security_alert_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3853,7 +3853,7 @@ pub mod server_security_alert_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3920,7 +3920,7 @@ pub mod server_security_alert_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerSecurityAlertPolicy), @@ -3987,7 +3987,7 @@ pub mod server_security_alert_policies { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/mariadb/src/package_2018_06_01_preview/operations.rs b/services/mgmt/mariadb/src/package_2018_06_01_preview/operations.rs index 309c997d02..68a632f70f 100644 --- a/services/mgmt/mariadb/src/package_2018_06_01_preview/operations.rs +++ b/services/mgmt/mariadb/src/package_2018_06_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod servers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -51,7 +51,7 @@ pub mod servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -125,7 +125,7 @@ pub mod servers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -199,7 +199,7 @@ pub mod servers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -266,7 +266,7 @@ pub mod servers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -340,7 +340,7 @@ pub mod servers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -401,7 +401,7 @@ pub mod servers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -468,7 +468,7 @@ pub mod servers { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -497,7 +497,7 @@ pub mod servers { } } pub mod replicas { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -547,7 +547,7 @@ pub mod replicas { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -568,7 +568,7 @@ pub mod replicas { } } pub mod firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -617,7 +617,7 @@ pub mod firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -696,7 +696,7 @@ pub mod firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FirewallRule), @@ -766,7 +766,7 @@ pub mod firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -840,7 +840,7 @@ pub mod firewall_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -861,7 +861,7 @@ pub mod firewall_rules { } } pub mod virtual_network_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -904,7 +904,7 @@ pub mod virtual_network_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -977,7 +977,7 @@ pub mod virtual_network_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkRule), @@ -1041,7 +1041,7 @@ pub mod virtual_network_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1109,7 +1109,7 @@ pub mod virtual_network_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1130,7 +1130,7 @@ pub mod virtual_network_rules { } } pub mod databases { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1179,7 +1179,7 @@ pub mod databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1258,7 +1258,7 @@ pub mod databases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1328,7 +1328,7 @@ pub mod databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1402,7 +1402,7 @@ pub mod databases { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1423,7 +1423,7 @@ pub mod databases { } } pub mod configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1472,7 +1472,7 @@ pub mod configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1545,7 +1545,7 @@ pub mod configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Configuration), @@ -1618,7 +1618,7 @@ pub mod configurations { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1639,7 +1639,7 @@ pub mod configurations { } } pub mod server_parameters { - use crate::models::*; + use super::{models, models::*}; pub async fn list_update_configurations( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1696,7 +1696,7 @@ pub mod server_parameters { } } pub mod list_update_configurations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConfigurationListResult), @@ -1725,7 +1725,7 @@ pub mod server_parameters { } } pub mod log_files { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1775,7 +1775,7 @@ pub mod log_files { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1796,7 +1796,7 @@ pub mod log_files { } } pub mod recoverable_servers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1845,7 +1845,7 @@ pub mod recoverable_servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1869,7 +1869,7 @@ pub mod recoverable_servers { } } pub mod server_based_performance_tier { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1918,7 +1918,7 @@ pub mod server_based_performance_tier { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1942,7 +1942,7 @@ pub mod server_based_performance_tier { } } pub mod location_based_performance_tier { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1987,7 +1987,7 @@ pub mod location_based_performance_tier { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2008,7 +2008,7 @@ pub mod location_based_performance_tier { } } pub mod check_name_availability { - use crate::models::*; + use super::{models, models::*}; pub async fn execute( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2056,7 +2056,7 @@ pub mod check_name_availability { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2077,7 +2077,7 @@ pub mod check_name_availability { } } pub mod server_security_alert_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2120,7 +2120,7 @@ pub mod server_security_alert_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2187,7 +2187,7 @@ pub mod server_security_alert_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerSecurityAlertPolicy), @@ -2254,7 +2254,7 @@ pub mod server_security_alert_policies { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2275,7 +2275,7 @@ pub mod server_security_alert_policies { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DBforMariaDB/operations", operation_config.base_path(),); @@ -2311,7 +2311,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/mariadb/src/package_2018_06_01_privatepreview/operations.rs b/services/mgmt/mariadb/src/package_2018_06_01_privatepreview/operations.rs index feb5ff2166..57704af61f 100644 --- a/services/mgmt/mariadb/src/package_2018_06_01_privatepreview/operations.rs +++ b/services/mgmt/mariadb/src/package_2018_06_01_privatepreview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod servers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -51,7 +51,7 @@ pub mod servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -125,7 +125,7 @@ pub mod servers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -199,7 +199,7 @@ pub mod servers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -266,7 +266,7 @@ pub mod servers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -340,7 +340,7 @@ pub mod servers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -401,7 +401,7 @@ pub mod servers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -468,7 +468,7 @@ pub mod servers { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -497,7 +497,7 @@ pub mod servers { } } pub mod replicas { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -547,7 +547,7 @@ pub mod replicas { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -568,7 +568,7 @@ pub mod replicas { } } pub mod firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -617,7 +617,7 @@ pub mod firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -696,7 +696,7 @@ pub mod firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FirewallRule), @@ -766,7 +766,7 @@ pub mod firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -840,7 +840,7 @@ pub mod firewall_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -861,7 +861,7 @@ pub mod firewall_rules { } } pub mod virtual_network_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -904,7 +904,7 @@ pub mod virtual_network_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -977,7 +977,7 @@ pub mod virtual_network_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkRule), @@ -1041,7 +1041,7 @@ pub mod virtual_network_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1109,7 +1109,7 @@ pub mod virtual_network_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1130,7 +1130,7 @@ pub mod virtual_network_rules { } } pub mod databases { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1179,7 +1179,7 @@ pub mod databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1258,7 +1258,7 @@ pub mod databases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1328,7 +1328,7 @@ pub mod databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1402,7 +1402,7 @@ pub mod databases { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1423,7 +1423,7 @@ pub mod databases { } } pub mod configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1472,7 +1472,7 @@ pub mod configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1545,7 +1545,7 @@ pub mod configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Configuration), @@ -1618,7 +1618,7 @@ pub mod configurations { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1639,7 +1639,7 @@ pub mod configurations { } } pub mod log_files { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1689,7 +1689,7 @@ pub mod log_files { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1710,7 +1710,7 @@ pub mod log_files { } } pub mod location_based_performance_tier { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1755,7 +1755,7 @@ pub mod location_based_performance_tier { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1776,7 +1776,7 @@ pub mod location_based_performance_tier { } } pub mod check_name_availability { - use crate::models::*; + use super::{models, models::*}; pub async fn execute( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1824,7 +1824,7 @@ pub mod check_name_availability { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1845,7 +1845,7 @@ pub mod check_name_availability { } } pub mod server_security_alert_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1888,7 +1888,7 @@ pub mod server_security_alert_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1955,7 +1955,7 @@ pub mod server_security_alert_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerSecurityAlertPolicy), @@ -1981,7 +1981,7 @@ pub mod server_security_alert_policies { } } pub mod query_texts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2030,7 +2030,7 @@ pub mod query_texts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2102,7 +2102,7 @@ pub mod query_texts { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2123,7 +2123,7 @@ pub mod query_texts { } } pub mod top_query_statistics { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2172,7 +2172,7 @@ pub mod top_query_statistics { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2242,7 +2242,7 @@ pub mod top_query_statistics { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2263,7 +2263,7 @@ pub mod top_query_statistics { } } pub mod wait_statistics { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2312,7 +2312,7 @@ pub mod wait_statistics { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2382,7 +2382,7 @@ pub mod wait_statistics { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2403,7 +2403,7 @@ pub mod wait_statistics { } } pub mod advisors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2452,7 +2452,7 @@ pub mod advisors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2520,7 +2520,7 @@ pub mod advisors { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2592,7 +2592,7 @@ pub async fn create_recommended_action_session( } } pub mod create_recommended_action_session { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2617,7 +2617,7 @@ pub mod create_recommended_action_session { } } pub mod recommended_actions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2668,7 +2668,7 @@ pub mod recommended_actions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2742,7 +2742,7 @@ pub mod recommended_actions { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2763,7 +2763,7 @@ pub mod recommended_actions { } } pub mod location_based_recommended_action_sessions_operation_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2810,7 +2810,7 @@ pub mod location_based_recommended_action_sessions_operation_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2831,7 +2831,7 @@ pub mod location_based_recommended_action_sessions_operation_status { } } pub mod location_based_recommended_action_sessions_result { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2884,7 +2884,7 @@ pub mod location_based_recommended_action_sessions_result { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecommendationActionsResultList), @@ -2910,7 +2910,7 @@ pub mod location_based_recommended_action_sessions_result { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DBforMariaDB/operations", operation_config.base_path(),); @@ -2946,7 +2946,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2967,7 +2967,7 @@ pub mod operations { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3018,7 +3018,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3096,7 +3096,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -3178,7 +3178,7 @@ pub mod private_endpoint_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3247,7 +3247,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3326,7 +3326,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3350,7 +3350,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3402,7 +3402,7 @@ pub mod private_link_resources { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3474,7 +3474,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/mariadb/src/package_2020_01_01/operations.rs b/services/mgmt/mariadb/src/package_2020_01_01/operations.rs index 030c839923..d14e7411d8 100644 --- a/services/mgmt/mariadb/src/package_2020_01_01/operations.rs +++ b/services/mgmt/mariadb/src/package_2020_01_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod servers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -132,7 +132,7 @@ pub mod servers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -211,7 +211,7 @@ pub mod servers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -283,7 +283,7 @@ pub mod servers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -362,7 +362,7 @@ pub mod servers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -428,7 +428,7 @@ pub mod servers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -498,7 +498,7 @@ pub mod servers { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -570,7 +570,7 @@ pub mod servers { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -642,7 +642,7 @@ pub mod servers { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -671,7 +671,7 @@ pub mod servers { } } pub mod replicas { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -723,7 +723,7 @@ pub mod replicas { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -747,7 +747,7 @@ pub mod replicas { } } pub mod firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -798,7 +798,7 @@ pub mod firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -882,7 +882,7 @@ pub mod firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FirewallRule), @@ -957,7 +957,7 @@ pub mod firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1036,7 +1036,7 @@ pub mod firewall_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1060,7 +1060,7 @@ pub mod firewall_rules { } } pub mod virtual_network_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1103,7 +1103,7 @@ pub mod virtual_network_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1176,7 +1176,7 @@ pub mod virtual_network_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkRule), @@ -1240,7 +1240,7 @@ pub mod virtual_network_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1308,7 +1308,7 @@ pub mod virtual_network_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1329,7 +1329,7 @@ pub mod virtual_network_rules { } } pub mod databases { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1380,7 +1380,7 @@ pub mod databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1464,7 +1464,7 @@ pub mod databases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1539,7 +1539,7 @@ pub mod databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1618,7 +1618,7 @@ pub mod databases { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1642,7 +1642,7 @@ pub mod databases { } } pub mod configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1693,7 +1693,7 @@ pub mod configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1771,7 +1771,7 @@ pub mod configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Configuration), @@ -1849,7 +1849,7 @@ pub mod configurations { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1873,7 +1873,7 @@ pub mod configurations { } } pub mod server_parameters { - use crate::models::*; + use super::{models, models::*}; pub async fn list_update_configurations( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1930,7 +1930,7 @@ pub mod server_parameters { } } pub mod list_update_configurations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConfigurationListResult), @@ -1959,7 +1959,7 @@ pub mod server_parameters { } } pub mod log_files { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2011,7 +2011,7 @@ pub mod log_files { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2035,7 +2035,7 @@ pub mod log_files { } } pub mod recoverable_servers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2084,7 +2084,7 @@ pub mod recoverable_servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2108,7 +2108,7 @@ pub mod recoverable_servers { } } pub mod server_based_performance_tier { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2157,7 +2157,7 @@ pub mod server_based_performance_tier { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2181,7 +2181,7 @@ pub mod server_based_performance_tier { } } pub mod location_based_performance_tier { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2228,7 +2228,7 @@ pub mod location_based_performance_tier { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2252,7 +2252,7 @@ pub mod location_based_performance_tier { } } pub mod check_name_availability { - use crate::models::*; + use super::{models, models::*}; pub async fn execute( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2302,7 +2302,7 @@ pub mod check_name_availability { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2326,7 +2326,7 @@ pub mod check_name_availability { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DBforMariaDB/operations", operation_config.base_path(),); @@ -2364,7 +2364,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2388,7 +2388,7 @@ pub mod operations { } } pub mod query_texts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2439,7 +2439,7 @@ pub mod query_texts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2516,7 +2516,7 @@ pub mod query_texts { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2540,7 +2540,7 @@ pub mod query_texts { } } pub mod top_query_statistics { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2591,7 +2591,7 @@ pub mod top_query_statistics { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2666,7 +2666,7 @@ pub mod top_query_statistics { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2690,7 +2690,7 @@ pub mod top_query_statistics { } } pub mod wait_statistics { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2741,7 +2741,7 @@ pub mod wait_statistics { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2816,7 +2816,7 @@ pub mod wait_statistics { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2893,7 +2893,7 @@ pub async fn reset_query_performance_insight_data( } } pub mod reset_query_performance_insight_data { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2967,7 +2967,7 @@ pub async fn create_recommended_action_session( } } pub mod create_recommended_action_session { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2992,7 +2992,7 @@ pub mod create_recommended_action_session { } } pub mod advisors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3041,7 +3041,7 @@ pub mod advisors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3109,7 +3109,7 @@ pub mod advisors { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3130,7 +3130,7 @@ pub mod advisors { } } pub mod recommended_actions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3181,7 +3181,7 @@ pub mod recommended_actions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3255,7 +3255,7 @@ pub mod recommended_actions { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3276,7 +3276,7 @@ pub mod recommended_actions { } } pub mod location_based_recommended_action_sessions_operation_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3323,7 +3323,7 @@ pub mod location_based_recommended_action_sessions_operation_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3344,7 +3344,7 @@ pub mod location_based_recommended_action_sessions_operation_status { } } pub mod location_based_recommended_action_sessions_result { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3397,7 +3397,7 @@ pub mod location_based_recommended_action_sessions_result { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecommendationActionsResultList), @@ -3423,7 +3423,7 @@ pub mod location_based_recommended_action_sessions_result { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3474,7 +3474,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3552,7 +3552,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -3634,7 +3634,7 @@ pub mod private_endpoint_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3703,7 +3703,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3782,7 +3782,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3806,7 +3806,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3858,7 +3858,7 @@ pub mod private_link_resources { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3930,7 +3930,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3954,7 +3954,7 @@ pub mod private_link_resources { } } pub mod server_security_alert_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3997,7 +3997,7 @@ pub mod server_security_alert_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4064,7 +4064,7 @@ pub mod server_security_alert_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerSecurityAlertPolicy), @@ -4131,7 +4131,7 @@ pub mod server_security_alert_policies { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/mariadb/src/package_2020_01_01_privatepreview/operations.rs b/services/mgmt/mariadb/src/package_2020_01_01_privatepreview/operations.rs index b53f823fd3..e8f5cb864e 100644 --- a/services/mgmt/mariadb/src/package_2020_01_01_privatepreview/operations.rs +++ b/services/mgmt/mariadb/src/package_2020_01_01_privatepreview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod server_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_instance( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -56,7 +56,7 @@ pub mod server_keys { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -128,7 +128,7 @@ pub mod server_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -206,7 +206,7 @@ pub mod server_keys { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerKey), @@ -280,7 +280,7 @@ pub mod server_keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/marketplacenotifications/Cargo.toml b/services/mgmt/marketplacenotifications/Cargo.toml index af540b5e35..3e7d9166fa 100644 --- a/services/mgmt/marketplacenotifications/Cargo.toml +++ b/services/mgmt/marketplacenotifications/Cargo.toml @@ -20,5 +20,6 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-composite-v1"] +no-default-version = [] "package-composite-v1" = [] "package-2021-03-03" = [] diff --git a/services/mgmt/marketplacenotifications/src/lib.rs b/services/mgmt/marketplacenotifications/src/lib.rs index 741155457c..2092f27b61 100644 --- a/services/mgmt/marketplacenotifications/src/lib.rs +++ b/services/mgmt/marketplacenotifications/src/lib.rs @@ -1,13 +1,21 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-composite-v1")] -mod package_composite_v1; -#[cfg(feature = "package-composite-v1")] +pub mod package_composite_v1; +#[cfg(all(feature = "package-composite-v1", not(feature = "no-default-version")))] pub use package_composite_v1::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-03-03")] -mod package_2021_03_03; +pub mod package_2021_03_03; use azure_core::setters; -#[cfg(feature = "package-2021-03-03")] +#[cfg(all(feature = "package-2021-03-03", not(feature = "no-default-version")))] pub use package_2021_03_03::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -31,7 +39,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/marketplacenotifications/src/package_2021_03_03/operations.rs b/services/mgmt/marketplacenotifications/src/package_2021_03_03/operations.rs index e63c99a72f..9f673b8a9b 100644 --- a/services/mgmt/marketplacenotifications/src/package_2021_03_03/operations.rs +++ b/services/mgmt/marketplacenotifications/src/package_2021_03_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod notifications { - use crate::models::*; + use super::{models, models::*}; pub async fn get_with_authorization( operation_config: &crate::OperationConfig, subscription: &str, @@ -56,7 +56,7 @@ pub mod notifications { } } pub mod get_with_authorization { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -80,7 +80,7 @@ pub mod notifications { } } pub mod notification { - use crate::models::*; + use super::{models, models::*}; pub async fn get_with_authorization( operation_config: &crate::OperationConfig, subscription: &str, @@ -134,7 +134,7 @@ pub mod notification { } } pub mod get_with_authorization { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -201,7 +201,7 @@ pub mod notification { } } pub mod get_operations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/marketplacenotifications/src/package_composite_v1/operations.rs b/services/mgmt/marketplacenotifications/src/package_composite_v1/operations.rs index e63c99a72f..9f673b8a9b 100644 --- a/services/mgmt/marketplacenotifications/src/package_composite_v1/operations.rs +++ b/services/mgmt/marketplacenotifications/src/package_composite_v1/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod notifications { - use crate::models::*; + use super::{models, models::*}; pub async fn get_with_authorization( operation_config: &crate::OperationConfig, subscription: &str, @@ -56,7 +56,7 @@ pub mod notifications { } } pub mod get_with_authorization { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -80,7 +80,7 @@ pub mod notifications { } } pub mod notification { - use crate::models::*; + use super::{models, models::*}; pub async fn get_with_authorization( operation_config: &crate::OperationConfig, subscription: &str, @@ -134,7 +134,7 @@ pub mod notification { } } pub mod get_with_authorization { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -201,7 +201,7 @@ pub mod notification { } } pub mod get_operations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/marketplaceordering/Cargo.toml b/services/mgmt/marketplaceordering/Cargo.toml index a0106e0eae..3cfb3541fe 100644 --- a/services/mgmt/marketplaceordering/Cargo.toml +++ b/services/mgmt/marketplaceordering/Cargo.toml @@ -20,5 +20,6 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-01-01"] +no-default-version = [] "package-2021-01-01" = [] "package-2015-06-01" = [] diff --git a/services/mgmt/marketplaceordering/src/lib.rs b/services/mgmt/marketplaceordering/src/lib.rs index 18ae1b2dd9..d63d86b6e1 100644 --- a/services/mgmt/marketplaceordering/src/lib.rs +++ b/services/mgmt/marketplaceordering/src/lib.rs @@ -1,13 +1,21 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-01-01")] -mod package_2021_01_01; -#[cfg(feature = "package-2021-01-01")] +pub mod package_2021_01_01; +#[cfg(all(feature = "package-2021-01-01", not(feature = "no-default-version")))] pub use package_2021_01_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2015-06-01")] -mod package_2015_06_01; +pub mod package_2015_06_01; use azure_core::setters; -#[cfg(feature = "package-2015-06-01")] +#[cfg(all(feature = "package-2015-06-01", not(feature = "no-default-version")))] pub use package_2015_06_01::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -31,7 +39,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/marketplaceordering/src/package_2015_06_01/operations.rs b/services/mgmt/marketplaceordering/src/package_2015_06_01/operations.rs index 467a4f523c..566ff0c648 100644 --- a/services/mgmt/marketplaceordering/src/package_2015_06_01/operations.rs +++ b/services/mgmt/marketplaceordering/src/package_2015_06_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod marketplace_agreements { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -63,7 +63,7 @@ pub mod marketplace_agreements { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -147,7 +147,7 @@ pub mod marketplace_agreements { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -228,7 +228,7 @@ pub mod marketplace_agreements { } } pub mod sign { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -309,7 +309,7 @@ pub mod marketplace_agreements { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -392,7 +392,7 @@ pub mod marketplace_agreements { } } pub mod get_agreement { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -466,7 +466,7 @@ pub mod marketplace_agreements { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -492,7 +492,7 @@ pub mod marketplace_agreements { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -539,7 +539,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] diff --git a/services/mgmt/marketplaceordering/src/package_2021_01_01/operations.rs b/services/mgmt/marketplaceordering/src/package_2021_01_01/operations.rs index 381d064e37..a1e8e7b978 100644 --- a/services/mgmt/marketplaceordering/src/package_2021_01_01/operations.rs +++ b/services/mgmt/marketplaceordering/src/package_2021_01_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod marketplace_agreements { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -57,7 +57,7 @@ pub mod marketplace_agreements { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -133,7 +133,7 @@ pub mod marketplace_agreements { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -206,7 +206,7 @@ pub mod marketplace_agreements { } } pub mod sign { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -279,7 +279,7 @@ pub mod marketplace_agreements { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -354,7 +354,7 @@ pub mod marketplace_agreements { } } pub mod get_agreement { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -420,7 +420,7 @@ pub mod marketplace_agreements { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -444,7 +444,7 @@ pub mod marketplace_agreements { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -485,7 +485,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/mediaservices/Cargo.toml b/services/mgmt/mediaservices/Cargo.toml index 1cae8646da..b0842f6568 100644 --- a/services/mgmt/mediaservices/Cargo.toml +++ b/services/mgmt/mediaservices/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-06"] +no-default-version = [] "package-2021-06" = [] "package-2021-05" = [] "package-2020-05" = [] diff --git a/services/mgmt/mediaservices/src/lib.rs b/services/mgmt/mediaservices/src/lib.rs index 1eef27cbf7..425f76c78a 100644 --- a/services/mgmt/mediaservices/src/lib.rs +++ b/services/mgmt/mediaservices/src/lib.rs @@ -1,41 +1,49 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-06")] -mod package_2021_06; -#[cfg(feature = "package-2021-06")] +pub mod package_2021_06; +#[cfg(all(feature = "package-2021-06", not(feature = "no-default-version")))] pub use package_2021_06::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-05")] -mod package_2021_05; -#[cfg(feature = "package-2021-05")] +pub mod package_2021_05; +#[cfg(all(feature = "package-2021-05", not(feature = "no-default-version")))] pub use package_2021_05::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-05")] -mod package_2020_05; -#[cfg(feature = "package-2020-05")] +pub mod package_2020_05; +#[cfg(all(feature = "package-2020-05", not(feature = "no-default-version")))] pub use package_2020_05::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-02-preview")] -mod package_2020_02_preview; -#[cfg(feature = "package-2020-02-preview")] +pub mod package_2020_02_preview; +#[cfg(all(feature = "package-2020-02-preview", not(feature = "no-default-version")))] pub use package_2020_02_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-09-preview")] -mod package_2019_09_preview; -#[cfg(feature = "package-2019-09-preview")] +pub mod package_2019_09_preview; +#[cfg(all(feature = "package-2019-09-preview", not(feature = "no-default-version")))] pub use package_2019_09_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-07")] -mod package_2018_07; -#[cfg(feature = "package-2018-07")] +pub mod package_2018_07; +#[cfg(all(feature = "package-2018-07", not(feature = "no-default-version")))] pub use package_2018_07::{models, operations, API_VERSION}; #[cfg(feature = "package-2015-10")] -mod package_2015_10; -#[cfg(feature = "package-2015-10")] +pub mod package_2015_10; +#[cfg(all(feature = "package-2015-10", not(feature = "no-default-version")))] pub use package_2015_10::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-03-preview")] -mod package_2018_03_preview; -#[cfg(feature = "package-2018-03-preview")] +pub mod package_2018_03_preview; +#[cfg(all(feature = "package-2018-03-preview", not(feature = "no-default-version")))] pub use package_2018_03_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-06-preview")] -mod package_2018_06_preview; +pub mod package_2018_06_preview; use azure_core::setters; -#[cfg(feature = "package-2018-06-preview")] +#[cfg(all(feature = "package-2018-06-preview", not(feature = "no-default-version")))] pub use package_2018_06_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -59,7 +67,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/mediaservices/src/package_2015_10/operations.rs b/services/mgmt/mediaservices/src/package_2015_10/operations.rs index 84c3b6cc75..84634afc97 100644 --- a/services/mgmt/mediaservices/src/package_2015_10/operations.rs +++ b/services/mgmt/mediaservices/src/package_2015_10/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Media/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod media_service { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -113,7 +113,7 @@ pub mod media_service { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -186,7 +186,7 @@ pub mod media_service { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -256,7 +256,7 @@ pub mod media_service { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -328,7 +328,7 @@ pub mod media_service { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -400,7 +400,7 @@ pub mod media_service { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -466,7 +466,7 @@ pub mod media_service { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -546,7 +546,7 @@ pub mod media_service { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -620,7 +620,7 @@ pub mod media_service { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -690,7 +690,7 @@ pub mod media_service { } } pub mod sync_storage_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/mediaservices/src/package_2018_03_preview/operations.rs b/services/mgmt/mediaservices/src/package_2018_03_preview/operations.rs index 15283d60ac..52802676e7 100644 --- a/services/mgmt/mediaservices/src/package_2018_03_preview/operations.rs +++ b/services/mgmt/mediaservices/src/package_2018_03_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Media/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod mediaservices { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -113,7 +113,7 @@ pub mod mediaservices { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -183,7 +183,7 @@ pub mod mediaservices { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -264,7 +264,7 @@ pub mod mediaservices { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MediaService), @@ -341,7 +341,7 @@ pub mod mediaservices { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -406,7 +406,7 @@ pub mod mediaservices { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -476,7 +476,7 @@ pub mod mediaservices { } } pub mod sync_storage_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -545,7 +545,7 @@ pub mod mediaservices { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -616,7 +616,7 @@ pub mod mediaservices { } } pub mod get_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -640,7 +640,7 @@ pub mod mediaservices { } } pub mod locations { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -694,7 +694,7 @@ pub mod locations { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -718,7 +718,7 @@ pub mod locations { } } pub mod transforms { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -779,7 +779,7 @@ pub mod transforms { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -852,7 +852,7 @@ pub mod transforms { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -937,7 +937,7 @@ pub mod transforms { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Transform), @@ -1016,7 +1016,7 @@ pub mod transforms { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1084,7 +1084,7 @@ pub mod transforms { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1113,7 +1113,7 @@ pub mod transforms { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1176,7 +1176,7 @@ pub mod jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1251,7 +1251,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1329,7 +1329,7 @@ pub mod jobs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1399,7 +1399,7 @@ pub mod jobs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1477,7 +1477,7 @@ pub mod jobs { } } pub mod cancel_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1501,7 +1501,7 @@ pub mod jobs { } } pub mod assets { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1562,7 +1562,7 @@ pub mod assets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1635,7 +1635,7 @@ pub mod assets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1720,7 +1720,7 @@ pub mod assets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Asset), @@ -1799,7 +1799,7 @@ pub mod assets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1867,7 +1867,7 @@ pub mod assets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1949,7 +1949,7 @@ pub mod assets { } } pub mod list_container_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2025,7 +2025,7 @@ pub mod assets { } } pub mod get_encryption_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2049,7 +2049,7 @@ pub mod assets { } } pub mod content_key_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2110,7 +2110,7 @@ pub mod content_key_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2183,7 +2183,7 @@ pub mod content_key_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2268,7 +2268,7 @@ pub mod content_key_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContentKeyPolicy), @@ -2347,7 +2347,7 @@ pub mod content_key_policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2415,7 +2415,7 @@ pub mod content_key_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2492,7 +2492,7 @@ pub mod content_key_policies { } } pub mod get_policy_properties_with_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2518,7 +2518,7 @@ pub mod content_key_policies { } } pub mod streaming_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2579,7 +2579,7 @@ pub mod streaming_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2652,7 +2652,7 @@ pub mod streaming_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2728,7 +2728,7 @@ pub mod streaming_policies { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2796,7 +2796,7 @@ pub mod streaming_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2825,7 +2825,7 @@ pub mod streaming_policies { } } pub mod streaming_locators { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2886,7 +2886,7 @@ pub mod streaming_locators { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2959,7 +2959,7 @@ pub mod streaming_locators { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -3035,7 +3035,7 @@ pub mod streaming_locators { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3103,7 +3103,7 @@ pub mod streaming_locators { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3184,7 +3184,7 @@ pub mod streaming_locators { } } pub mod list_content_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3260,7 +3260,7 @@ pub mod streaming_locators { } } pub mod list_paths { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3284,7 +3284,7 @@ pub mod streaming_locators { } } pub mod live_events { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3333,7 +3333,7 @@ pub mod live_events { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3406,7 +3406,7 @@ pub mod live_events { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -3492,7 +3492,7 @@ pub mod live_events { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LiveEvent), @@ -3577,7 +3577,7 @@ pub mod live_events { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LiveEvent), @@ -3651,7 +3651,7 @@ pub mod live_events { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3726,7 +3726,7 @@ pub mod live_events { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3801,7 +3801,7 @@ pub mod live_events { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3875,7 +3875,7 @@ pub mod live_events { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3904,7 +3904,7 @@ pub mod live_events { } } pub mod live_outputs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3955,7 +3955,7 @@ pub mod live_outputs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4030,7 +4030,7 @@ pub mod live_outputs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -4114,7 +4114,7 @@ pub mod live_outputs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LiveOutput), @@ -4190,7 +4190,7 @@ pub mod live_outputs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4220,7 +4220,7 @@ pub mod live_outputs { } } pub mod streaming_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4269,7 +4269,7 @@ pub mod streaming_endpoints { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4342,7 +4342,7 @@ pub mod streaming_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -4428,7 +4428,7 @@ pub mod streaming_endpoints { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StreamingEndpoint), @@ -4513,7 +4513,7 @@ pub mod streaming_endpoints { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StreamingEndpoint), @@ -4587,7 +4587,7 @@ pub mod streaming_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4662,7 +4662,7 @@ pub mod streaming_endpoints { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4736,7 +4736,7 @@ pub mod streaming_endpoints { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4811,7 +4811,7 @@ pub mod streaming_endpoints { } } pub mod scale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/mediaservices/src/package_2018_06_preview/operations.rs b/services/mgmt/mediaservices/src/package_2018_06_preview/operations.rs index edeeea4cdb..28b3ab24b7 100644 --- a/services/mgmt/mediaservices/src/package_2018_06_preview/operations.rs +++ b/services/mgmt/mediaservices/src/package_2018_06_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Media/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod mediaservices { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -113,7 +113,7 @@ pub mod mediaservices { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -183,7 +183,7 @@ pub mod mediaservices { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -264,7 +264,7 @@ pub mod mediaservices { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MediaService), @@ -341,7 +341,7 @@ pub mod mediaservices { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -406,7 +406,7 @@ pub mod mediaservices { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -476,7 +476,7 @@ pub mod mediaservices { } } pub mod sync_storage_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -545,7 +545,7 @@ pub mod mediaservices { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -616,7 +616,7 @@ pub mod mediaservices { } } pub mod get_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -640,7 +640,7 @@ pub mod mediaservices { } } pub mod locations { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -694,7 +694,7 @@ pub mod locations { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -718,7 +718,7 @@ pub mod locations { } } pub mod assets { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -779,7 +779,7 @@ pub mod assets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -852,7 +852,7 @@ pub mod assets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -937,7 +937,7 @@ pub mod assets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Asset), @@ -1016,7 +1016,7 @@ pub mod assets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1084,7 +1084,7 @@ pub mod assets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1166,7 +1166,7 @@ pub mod assets { } } pub mod list_container_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1242,7 +1242,7 @@ pub mod assets { } } pub mod get_encryption_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1266,7 +1266,7 @@ pub mod assets { } } pub mod content_key_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1327,7 +1327,7 @@ pub mod content_key_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1400,7 +1400,7 @@ pub mod content_key_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1485,7 +1485,7 @@ pub mod content_key_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContentKeyPolicy), @@ -1564,7 +1564,7 @@ pub mod content_key_policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1632,7 +1632,7 @@ pub mod content_key_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1709,7 +1709,7 @@ pub mod content_key_policies { } } pub mod get_policy_properties_with_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1735,7 +1735,7 @@ pub mod content_key_policies { } } pub mod transforms { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1796,7 +1796,7 @@ pub mod transforms { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1869,7 +1869,7 @@ pub mod transforms { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1954,7 +1954,7 @@ pub mod transforms { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Transform), @@ -2033,7 +2033,7 @@ pub mod transforms { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2101,7 +2101,7 @@ pub mod transforms { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2130,7 +2130,7 @@ pub mod transforms { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2193,7 +2193,7 @@ pub mod jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2268,7 +2268,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2346,7 +2346,7 @@ pub mod jobs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2416,7 +2416,7 @@ pub mod jobs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2494,7 +2494,7 @@ pub mod jobs { } } pub mod cancel_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2518,7 +2518,7 @@ pub mod jobs { } } pub mod streaming_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2579,7 +2579,7 @@ pub mod streaming_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2652,7 +2652,7 @@ pub mod streaming_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2728,7 +2728,7 @@ pub mod streaming_policies { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2796,7 +2796,7 @@ pub mod streaming_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2825,7 +2825,7 @@ pub mod streaming_policies { } } pub mod streaming_locators { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2886,7 +2886,7 @@ pub mod streaming_locators { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2959,7 +2959,7 @@ pub mod streaming_locators { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -3035,7 +3035,7 @@ pub mod streaming_locators { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3103,7 +3103,7 @@ pub mod streaming_locators { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3184,7 +3184,7 @@ pub mod streaming_locators { } } pub mod list_content_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3260,7 +3260,7 @@ pub mod streaming_locators { } } pub mod list_paths { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3284,7 +3284,7 @@ pub mod streaming_locators { } } pub mod live_events { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3333,7 +3333,7 @@ pub mod live_events { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3406,7 +3406,7 @@ pub mod live_events { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -3492,7 +3492,7 @@ pub mod live_events { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LiveEvent), @@ -3577,7 +3577,7 @@ pub mod live_events { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LiveEvent), @@ -3651,7 +3651,7 @@ pub mod live_events { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3726,7 +3726,7 @@ pub mod live_events { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3801,7 +3801,7 @@ pub mod live_events { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3875,7 +3875,7 @@ pub mod live_events { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3904,7 +3904,7 @@ pub mod live_events { } } pub mod live_outputs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3955,7 +3955,7 @@ pub mod live_outputs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4030,7 +4030,7 @@ pub mod live_outputs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -4114,7 +4114,7 @@ pub mod live_outputs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LiveOutput), @@ -4190,7 +4190,7 @@ pub mod live_outputs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4220,7 +4220,7 @@ pub mod live_outputs { } } pub mod streaming_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4269,7 +4269,7 @@ pub mod streaming_endpoints { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4342,7 +4342,7 @@ pub mod streaming_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -4428,7 +4428,7 @@ pub mod streaming_endpoints { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StreamingEndpoint), @@ -4513,7 +4513,7 @@ pub mod streaming_endpoints { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StreamingEndpoint), @@ -4587,7 +4587,7 @@ pub mod streaming_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4662,7 +4662,7 @@ pub mod streaming_endpoints { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4736,7 +4736,7 @@ pub mod streaming_endpoints { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4811,7 +4811,7 @@ pub mod streaming_endpoints { } } pub mod scale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/mediaservices/src/package_2018_07/operations.rs b/services/mgmt/mediaservices/src/package_2018_07/operations.rs index 203b8b3d36..b77bb62ebf 100644 --- a/services/mgmt/mediaservices/src/package_2018_07/operations.rs +++ b/services/mgmt/mediaservices/src/package_2018_07/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod account_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod account_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -126,7 +126,7 @@ pub mod account_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -211,7 +211,7 @@ pub mod account_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccountFilter), @@ -290,7 +290,7 @@ pub mod account_filters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -358,7 +358,7 @@ pub mod account_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -387,7 +387,7 @@ pub mod account_filters { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Media/operations", operation_config.base_path(),); @@ -425,7 +425,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -449,7 +449,7 @@ pub mod operations { } } pub mod mediaservices { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -496,7 +496,7 @@ pub mod mediaservices { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -566,7 +566,7 @@ pub mod mediaservices { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -647,7 +647,7 @@ pub mod mediaservices { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MediaService), @@ -724,7 +724,7 @@ pub mod mediaservices { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -789,7 +789,7 @@ pub mod mediaservices { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -859,7 +859,7 @@ pub mod mediaservices { } } pub mod sync_storage_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -934,7 +934,7 @@ pub mod mediaservices { } } pub mod list_edge_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1003,7 +1003,7 @@ pub mod mediaservices { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1074,7 +1074,7 @@ pub mod mediaservices { } } pub mod get_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1098,7 +1098,7 @@ pub mod mediaservices { } } pub mod locations { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1152,7 +1152,7 @@ pub mod locations { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1176,7 +1176,7 @@ pub mod locations { } } pub mod assets { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1237,7 +1237,7 @@ pub mod assets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1310,7 +1310,7 @@ pub mod assets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1395,7 +1395,7 @@ pub mod assets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Asset), @@ -1474,7 +1474,7 @@ pub mod assets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1542,7 +1542,7 @@ pub mod assets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1624,7 +1624,7 @@ pub mod assets { } } pub mod list_container_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1700,7 +1700,7 @@ pub mod assets { } } pub mod get_encryption_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1778,7 +1778,7 @@ pub mod assets { } } pub mod list_streaming_locators { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1802,7 +1802,7 @@ pub mod assets { } } pub mod asset_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1853,7 +1853,7 @@ pub mod asset_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1928,7 +1928,7 @@ pub mod asset_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2015,7 +2015,7 @@ pub mod asset_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AssetFilter), @@ -2096,7 +2096,7 @@ pub mod asset_filters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2166,7 +2166,7 @@ pub mod asset_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2195,7 +2195,7 @@ pub mod asset_filters { } } pub mod content_key_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2256,7 +2256,7 @@ pub mod content_key_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2329,7 +2329,7 @@ pub mod content_key_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2414,7 +2414,7 @@ pub mod content_key_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContentKeyPolicy), @@ -2493,7 +2493,7 @@ pub mod content_key_policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2561,7 +2561,7 @@ pub mod content_key_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2638,7 +2638,7 @@ pub mod content_key_policies { } } pub mod get_policy_properties_with_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2664,7 +2664,7 @@ pub mod content_key_policies { } } pub mod transforms { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2721,7 +2721,7 @@ pub mod transforms { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2794,7 +2794,7 @@ pub mod transforms { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2879,7 +2879,7 @@ pub mod transforms { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Transform), @@ -2958,7 +2958,7 @@ pub mod transforms { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3026,7 +3026,7 @@ pub mod transforms { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3055,7 +3055,7 @@ pub mod transforms { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3114,7 +3114,7 @@ pub mod jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3189,7 +3189,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -3267,7 +3267,7 @@ pub mod jobs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3343,7 +3343,7 @@ pub mod jobs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3413,7 +3413,7 @@ pub mod jobs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3491,7 +3491,7 @@ pub mod jobs { } } pub mod cancel_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3515,7 +3515,7 @@ pub mod jobs { } } pub mod streaming_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3576,7 +3576,7 @@ pub mod streaming_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3649,7 +3649,7 @@ pub mod streaming_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -3725,7 +3725,7 @@ pub mod streaming_policies { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3793,7 +3793,7 @@ pub mod streaming_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3822,7 +3822,7 @@ pub mod streaming_policies { } } pub mod streaming_locators { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3883,7 +3883,7 @@ pub mod streaming_locators { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3956,7 +3956,7 @@ pub mod streaming_locators { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -4032,7 +4032,7 @@ pub mod streaming_locators { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4100,7 +4100,7 @@ pub mod streaming_locators { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4181,7 +4181,7 @@ pub mod streaming_locators { } } pub mod list_content_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4257,7 +4257,7 @@ pub mod streaming_locators { } } pub mod list_paths { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4281,7 +4281,7 @@ pub mod streaming_locators { } } pub mod live_events { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4330,7 +4330,7 @@ pub mod live_events { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4403,7 +4403,7 @@ pub mod live_events { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -4489,7 +4489,7 @@ pub mod live_events { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LiveEvent), @@ -4574,7 +4574,7 @@ pub mod live_events { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LiveEvent), @@ -4648,7 +4648,7 @@ pub mod live_events { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4723,7 +4723,7 @@ pub mod live_events { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4798,7 +4798,7 @@ pub mod live_events { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4872,7 +4872,7 @@ pub mod live_events { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4901,7 +4901,7 @@ pub mod live_events { } } pub mod live_outputs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4952,7 +4952,7 @@ pub mod live_outputs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5027,7 +5027,7 @@ pub mod live_outputs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -5111,7 +5111,7 @@ pub mod live_outputs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LiveOutput), @@ -5187,7 +5187,7 @@ pub mod live_outputs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5217,7 +5217,7 @@ pub mod live_outputs { } } pub mod streaming_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5266,7 +5266,7 @@ pub mod streaming_endpoints { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5339,7 +5339,7 @@ pub mod streaming_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -5425,7 +5425,7 @@ pub mod streaming_endpoints { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StreamingEndpoint), @@ -5510,7 +5510,7 @@ pub mod streaming_endpoints { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StreamingEndpoint), @@ -5584,7 +5584,7 @@ pub mod streaming_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5659,7 +5659,7 @@ pub mod streaming_endpoints { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5733,7 +5733,7 @@ pub mod streaming_endpoints { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5808,7 +5808,7 @@ pub mod streaming_endpoints { } } pub mod scale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/mediaservices/src/package_2019_09_preview/operations.rs b/services/mgmt/mediaservices/src/package_2019_09_preview/operations.rs index c5ad43adc5..a301faf195 100644 --- a/services/mgmt/mediaservices/src/package_2019_09_preview/operations.rs +++ b/services/mgmt/mediaservices/src/package_2019_09_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod account_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod account_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -126,7 +126,7 @@ pub mod account_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -211,7 +211,7 @@ pub mod account_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccountFilter), @@ -290,7 +290,7 @@ pub mod account_filters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -358,7 +358,7 @@ pub mod account_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -387,7 +387,7 @@ pub mod account_filters { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Media/operations", operation_config.base_path(),); @@ -425,7 +425,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -449,7 +449,7 @@ pub mod operations { } } pub mod mediaservices { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -496,7 +496,7 @@ pub mod mediaservices { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -566,7 +566,7 @@ pub mod mediaservices { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -647,7 +647,7 @@ pub mod mediaservices { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MediaService), @@ -724,7 +724,7 @@ pub mod mediaservices { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -789,7 +789,7 @@ pub mod mediaservices { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -859,7 +859,7 @@ pub mod mediaservices { } } pub mod sync_storage_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -934,7 +934,7 @@ pub mod mediaservices { } } pub mod list_edge_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1003,7 +1003,7 @@ pub mod mediaservices { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1074,7 +1074,7 @@ pub mod mediaservices { } } pub mod get_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1098,7 +1098,7 @@ pub mod mediaservices { } } pub mod locations { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1152,7 +1152,7 @@ pub mod locations { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1176,7 +1176,7 @@ pub mod locations { } } pub mod assets { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1237,7 +1237,7 @@ pub mod assets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1310,7 +1310,7 @@ pub mod assets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1395,7 +1395,7 @@ pub mod assets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Asset), @@ -1474,7 +1474,7 @@ pub mod assets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1542,7 +1542,7 @@ pub mod assets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1624,7 +1624,7 @@ pub mod assets { } } pub mod list_container_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1700,7 +1700,7 @@ pub mod assets { } } pub mod get_encryption_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1778,7 +1778,7 @@ pub mod assets { } } pub mod list_streaming_locators { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1802,7 +1802,7 @@ pub mod assets { } } pub mod asset_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1853,7 +1853,7 @@ pub mod asset_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1928,7 +1928,7 @@ pub mod asset_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2015,7 +2015,7 @@ pub mod asset_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AssetFilter), @@ -2096,7 +2096,7 @@ pub mod asset_filters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2166,7 +2166,7 @@ pub mod asset_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2195,7 +2195,7 @@ pub mod asset_filters { } } pub mod content_key_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2256,7 +2256,7 @@ pub mod content_key_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2329,7 +2329,7 @@ pub mod content_key_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2414,7 +2414,7 @@ pub mod content_key_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContentKeyPolicy), @@ -2493,7 +2493,7 @@ pub mod content_key_policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2561,7 +2561,7 @@ pub mod content_key_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2638,7 +2638,7 @@ pub mod content_key_policies { } } pub mod get_policy_properties_with_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2664,7 +2664,7 @@ pub mod content_key_policies { } } pub mod transforms { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2721,7 +2721,7 @@ pub mod transforms { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2794,7 +2794,7 @@ pub mod transforms { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2879,7 +2879,7 @@ pub mod transforms { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Transform), @@ -2958,7 +2958,7 @@ pub mod transforms { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3026,7 +3026,7 @@ pub mod transforms { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3055,7 +3055,7 @@ pub mod transforms { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3114,7 +3114,7 @@ pub mod jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3189,7 +3189,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -3267,7 +3267,7 @@ pub mod jobs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3343,7 +3343,7 @@ pub mod jobs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3413,7 +3413,7 @@ pub mod jobs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3491,7 +3491,7 @@ pub mod jobs { } } pub mod cancel_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3515,7 +3515,7 @@ pub mod jobs { } } pub mod media_graphs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3568,7 +3568,7 @@ pub mod media_graphs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3641,7 +3641,7 @@ pub mod media_graphs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -3720,7 +3720,7 @@ pub mod media_graphs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3788,7 +3788,7 @@ pub mod media_graphs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3862,7 +3862,7 @@ pub mod media_graphs { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3936,7 +3936,7 @@ pub mod media_graphs { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3965,7 +3965,7 @@ pub mod media_graphs { } } pub mod operations_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4018,7 +4018,7 @@ pub mod operations_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4042,7 +4042,7 @@ pub mod operations_status { } } pub mod operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4095,7 +4095,7 @@ pub mod operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4119,7 +4119,7 @@ pub mod operation_results { } } pub mod streaming_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4180,7 +4180,7 @@ pub mod streaming_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4253,7 +4253,7 @@ pub mod streaming_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -4329,7 +4329,7 @@ pub mod streaming_policies { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4397,7 +4397,7 @@ pub mod streaming_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4426,7 +4426,7 @@ pub mod streaming_policies { } } pub mod streaming_locators { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4487,7 +4487,7 @@ pub mod streaming_locators { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4560,7 +4560,7 @@ pub mod streaming_locators { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -4636,7 +4636,7 @@ pub mod streaming_locators { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4704,7 +4704,7 @@ pub mod streaming_locators { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4785,7 +4785,7 @@ pub mod streaming_locators { } } pub mod list_content_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4861,7 +4861,7 @@ pub mod streaming_locators { } } pub mod list_paths { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4885,7 +4885,7 @@ pub mod streaming_locators { } } pub mod live_events { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4934,7 +4934,7 @@ pub mod live_events { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5007,7 +5007,7 @@ pub mod live_events { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -5093,7 +5093,7 @@ pub mod live_events { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LiveEvent), @@ -5178,7 +5178,7 @@ pub mod live_events { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LiveEvent), @@ -5252,7 +5252,7 @@ pub mod live_events { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5327,7 +5327,7 @@ pub mod live_events { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5402,7 +5402,7 @@ pub mod live_events { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5476,7 +5476,7 @@ pub mod live_events { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5505,7 +5505,7 @@ pub mod live_events { } } pub mod live_outputs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5556,7 +5556,7 @@ pub mod live_outputs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5631,7 +5631,7 @@ pub mod live_outputs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -5715,7 +5715,7 @@ pub mod live_outputs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LiveOutput), @@ -5791,7 +5791,7 @@ pub mod live_outputs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5821,7 +5821,7 @@ pub mod live_outputs { } } pub mod streaming_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5870,7 +5870,7 @@ pub mod streaming_endpoints { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5943,7 +5943,7 @@ pub mod streaming_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -6029,7 +6029,7 @@ pub mod streaming_endpoints { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StreamingEndpoint), @@ -6114,7 +6114,7 @@ pub mod streaming_endpoints { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StreamingEndpoint), @@ -6188,7 +6188,7 @@ pub mod streaming_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6263,7 +6263,7 @@ pub mod streaming_endpoints { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6337,7 +6337,7 @@ pub mod streaming_endpoints { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6412,7 +6412,7 @@ pub mod streaming_endpoints { } } pub mod scale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/mediaservices/src/package_2020_02_preview/operations.rs b/services/mgmt/mediaservices/src/package_2020_02_preview/operations.rs index cfe4a04069..896bfbf386 100644 --- a/services/mgmt/mediaservices/src/package_2020_02_preview/operations.rs +++ b/services/mgmt/mediaservices/src/package_2020_02_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod account_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod account_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -126,7 +126,7 @@ pub mod account_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -211,7 +211,7 @@ pub mod account_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccountFilter), @@ -290,7 +290,7 @@ pub mod account_filters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -358,7 +358,7 @@ pub mod account_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -387,7 +387,7 @@ pub mod account_filters { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Media/operations", operation_config.base_path(),); @@ -425,7 +425,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -449,7 +449,7 @@ pub mod operations { } } pub mod mediaservices { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -496,7 +496,7 @@ pub mod mediaservices { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -566,7 +566,7 @@ pub mod mediaservices { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -647,7 +647,7 @@ pub mod mediaservices { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MediaService), @@ -724,7 +724,7 @@ pub mod mediaservices { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -789,7 +789,7 @@ pub mod mediaservices { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -859,7 +859,7 @@ pub mod mediaservices { } } pub mod sync_storage_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -934,7 +934,7 @@ pub mod mediaservices { } } pub mod list_edge_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1003,7 +1003,7 @@ pub mod mediaservices { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1074,7 +1074,7 @@ pub mod mediaservices { } } pub mod get_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1098,7 +1098,7 @@ pub mod mediaservices { } } pub mod locations { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1152,7 +1152,7 @@ pub mod locations { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1176,7 +1176,7 @@ pub mod locations { } } pub mod assets { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1237,7 +1237,7 @@ pub mod assets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1310,7 +1310,7 @@ pub mod assets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1395,7 +1395,7 @@ pub mod assets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Asset), @@ -1474,7 +1474,7 @@ pub mod assets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1542,7 +1542,7 @@ pub mod assets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1624,7 +1624,7 @@ pub mod assets { } } pub mod list_container_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1700,7 +1700,7 @@ pub mod assets { } } pub mod get_encryption_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1778,7 +1778,7 @@ pub mod assets { } } pub mod list_streaming_locators { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1802,7 +1802,7 @@ pub mod assets { } } pub mod asset_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1853,7 +1853,7 @@ pub mod asset_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1928,7 +1928,7 @@ pub mod asset_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2015,7 +2015,7 @@ pub mod asset_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AssetFilter), @@ -2096,7 +2096,7 @@ pub mod asset_filters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2166,7 +2166,7 @@ pub mod asset_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2195,7 +2195,7 @@ pub mod asset_filters { } } pub mod content_key_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2256,7 +2256,7 @@ pub mod content_key_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2329,7 +2329,7 @@ pub mod content_key_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2414,7 +2414,7 @@ pub mod content_key_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContentKeyPolicy), @@ -2493,7 +2493,7 @@ pub mod content_key_policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2561,7 +2561,7 @@ pub mod content_key_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2638,7 +2638,7 @@ pub mod content_key_policies { } } pub mod get_policy_properties_with_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2664,7 +2664,7 @@ pub mod content_key_policies { } } pub mod transforms { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2721,7 +2721,7 @@ pub mod transforms { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2794,7 +2794,7 @@ pub mod transforms { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2879,7 +2879,7 @@ pub mod transforms { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Transform), @@ -2958,7 +2958,7 @@ pub mod transforms { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3026,7 +3026,7 @@ pub mod transforms { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3055,7 +3055,7 @@ pub mod transforms { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3114,7 +3114,7 @@ pub mod jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3189,7 +3189,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -3267,7 +3267,7 @@ pub mod jobs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3343,7 +3343,7 @@ pub mod jobs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3413,7 +3413,7 @@ pub mod jobs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3491,7 +3491,7 @@ pub mod jobs { } } pub mod cancel_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3515,7 +3515,7 @@ pub mod jobs { } } pub mod media_graphs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3568,7 +3568,7 @@ pub mod media_graphs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3641,7 +3641,7 @@ pub mod media_graphs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -3720,7 +3720,7 @@ pub mod media_graphs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3788,7 +3788,7 @@ pub mod media_graphs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3862,7 +3862,7 @@ pub mod media_graphs { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3936,7 +3936,7 @@ pub mod media_graphs { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3965,7 +3965,7 @@ pub mod media_graphs { } } pub mod operations_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4018,7 +4018,7 @@ pub mod operations_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4042,7 +4042,7 @@ pub mod operations_status { } } pub mod operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4093,7 +4093,7 @@ pub mod operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4114,7 +4114,7 @@ pub mod operation_results { } } pub mod streaming_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4175,7 +4175,7 @@ pub mod streaming_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4248,7 +4248,7 @@ pub mod streaming_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -4324,7 +4324,7 @@ pub mod streaming_policies { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4392,7 +4392,7 @@ pub mod streaming_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4421,7 +4421,7 @@ pub mod streaming_policies { } } pub mod streaming_locators { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4482,7 +4482,7 @@ pub mod streaming_locators { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4555,7 +4555,7 @@ pub mod streaming_locators { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -4631,7 +4631,7 @@ pub mod streaming_locators { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4699,7 +4699,7 @@ pub mod streaming_locators { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4780,7 +4780,7 @@ pub mod streaming_locators { } } pub mod list_content_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4856,7 +4856,7 @@ pub mod streaming_locators { } } pub mod list_paths { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4880,7 +4880,7 @@ pub mod streaming_locators { } } pub mod live_events { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4929,7 +4929,7 @@ pub mod live_events { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5002,7 +5002,7 @@ pub mod live_events { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -5088,7 +5088,7 @@ pub mod live_events { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LiveEvent), @@ -5173,7 +5173,7 @@ pub mod live_events { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LiveEvent), @@ -5247,7 +5247,7 @@ pub mod live_events { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5322,7 +5322,7 @@ pub mod live_events { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5397,7 +5397,7 @@ pub mod live_events { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5471,7 +5471,7 @@ pub mod live_events { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5500,7 +5500,7 @@ pub mod live_events { } } pub mod live_outputs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5551,7 +5551,7 @@ pub mod live_outputs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5626,7 +5626,7 @@ pub mod live_outputs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -5710,7 +5710,7 @@ pub mod live_outputs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LiveOutput), @@ -5786,7 +5786,7 @@ pub mod live_outputs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5816,7 +5816,7 @@ pub mod live_outputs { } } pub mod streaming_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5865,7 +5865,7 @@ pub mod streaming_endpoints { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5938,7 +5938,7 @@ pub mod streaming_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -6024,7 +6024,7 @@ pub mod streaming_endpoints { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StreamingEndpoint), @@ -6109,7 +6109,7 @@ pub mod streaming_endpoints { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StreamingEndpoint), @@ -6183,7 +6183,7 @@ pub mod streaming_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6258,7 +6258,7 @@ pub mod streaming_endpoints { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6332,7 +6332,7 @@ pub mod streaming_endpoints { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6407,7 +6407,7 @@ pub mod streaming_endpoints { } } pub mod scale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/mediaservices/src/package_2020_05/operations.rs b/services/mgmt/mediaservices/src/package_2020_05/operations.rs index 7c218011bd..de0e0c1ad1 100644 --- a/services/mgmt/mediaservices/src/package_2020_05/operations.rs +++ b/services/mgmt/mediaservices/src/package_2020_05/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod account_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod account_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -126,7 +126,7 @@ pub mod account_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -211,7 +211,7 @@ pub mod account_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccountFilter), @@ -290,7 +290,7 @@ pub mod account_filters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -358,7 +358,7 @@ pub mod account_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -387,7 +387,7 @@ pub mod account_filters { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Media/operations", operation_config.base_path(),); @@ -425,7 +425,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -449,7 +449,7 @@ pub mod operations { } } pub mod mediaservices { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -496,7 +496,7 @@ pub mod mediaservices { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -566,7 +566,7 @@ pub mod mediaservices { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -647,7 +647,7 @@ pub mod mediaservices { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MediaService), @@ -724,7 +724,7 @@ pub mod mediaservices { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -790,7 +790,7 @@ pub mod mediaservices { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -865,7 +865,7 @@ pub mod mediaservices { } } pub mod sync_storage_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -940,7 +940,7 @@ pub mod mediaservices { } } pub mod list_edge_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1009,7 +1009,7 @@ pub mod mediaservices { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1080,7 +1080,7 @@ pub mod mediaservices { } } pub mod get_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1104,7 +1104,7 @@ pub mod mediaservices { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1153,7 +1153,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1225,7 +1225,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1249,7 +1249,7 @@ pub mod private_link_resources { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1298,7 +1298,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1370,7 +1370,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1447,7 +1447,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1514,7 +1514,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1538,7 +1538,7 @@ pub mod private_endpoint_connections { } } pub mod locations { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1592,7 +1592,7 @@ pub mod locations { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1616,7 +1616,7 @@ pub mod locations { } } pub mod assets { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1677,7 +1677,7 @@ pub mod assets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1750,7 +1750,7 @@ pub mod assets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1835,7 +1835,7 @@ pub mod assets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Asset), @@ -1914,7 +1914,7 @@ pub mod assets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1982,7 +1982,7 @@ pub mod assets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2064,7 +2064,7 @@ pub mod assets { } } pub mod list_container_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2140,7 +2140,7 @@ pub mod assets { } } pub mod get_encryption_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2218,7 +2218,7 @@ pub mod assets { } } pub mod list_streaming_locators { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2242,7 +2242,7 @@ pub mod assets { } } pub mod asset_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2293,7 +2293,7 @@ pub mod asset_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2368,7 +2368,7 @@ pub mod asset_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2455,7 +2455,7 @@ pub mod asset_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AssetFilter), @@ -2536,7 +2536,7 @@ pub mod asset_filters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2606,7 +2606,7 @@ pub mod asset_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2635,7 +2635,7 @@ pub mod asset_filters { } } pub mod content_key_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2696,7 +2696,7 @@ pub mod content_key_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2769,7 +2769,7 @@ pub mod content_key_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2854,7 +2854,7 @@ pub mod content_key_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContentKeyPolicy), @@ -2933,7 +2933,7 @@ pub mod content_key_policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3001,7 +3001,7 @@ pub mod content_key_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3078,7 +3078,7 @@ pub mod content_key_policies { } } pub mod get_policy_properties_with_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -3104,7 +3104,7 @@ pub mod content_key_policies { } } pub mod transforms { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3161,7 +3161,7 @@ pub mod transforms { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3234,7 +3234,7 @@ pub mod transforms { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -3319,7 +3319,7 @@ pub mod transforms { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Transform), @@ -3398,7 +3398,7 @@ pub mod transforms { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3466,7 +3466,7 @@ pub mod transforms { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3495,7 +3495,7 @@ pub mod transforms { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3554,7 +3554,7 @@ pub mod jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3629,7 +3629,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -3707,7 +3707,7 @@ pub mod jobs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3783,7 +3783,7 @@ pub mod jobs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3853,7 +3853,7 @@ pub mod jobs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3931,7 +3931,7 @@ pub mod jobs { } } pub mod cancel_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3955,7 +3955,7 @@ pub mod jobs { } } pub mod streaming_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4016,7 +4016,7 @@ pub mod streaming_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4089,7 +4089,7 @@ pub mod streaming_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -4165,7 +4165,7 @@ pub mod streaming_policies { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4233,7 +4233,7 @@ pub mod streaming_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4262,7 +4262,7 @@ pub mod streaming_policies { } } pub mod streaming_locators { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4323,7 +4323,7 @@ pub mod streaming_locators { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4396,7 +4396,7 @@ pub mod streaming_locators { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -4472,7 +4472,7 @@ pub mod streaming_locators { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4540,7 +4540,7 @@ pub mod streaming_locators { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4621,7 +4621,7 @@ pub mod streaming_locators { } } pub mod list_content_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4697,7 +4697,7 @@ pub mod streaming_locators { } } pub mod list_paths { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4721,7 +4721,7 @@ pub mod streaming_locators { } } pub mod live_events { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4770,7 +4770,7 @@ pub mod live_events { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4843,7 +4843,7 @@ pub mod live_events { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -4929,7 +4929,7 @@ pub mod live_events { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LiveEvent), @@ -5014,7 +5014,7 @@ pub mod live_events { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LiveEvent), @@ -5088,7 +5088,7 @@ pub mod live_events { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5166,7 +5166,7 @@ pub mod live_events { } } pub mod allocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5240,7 +5240,7 @@ pub mod live_events { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5315,7 +5315,7 @@ pub mod live_events { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5389,7 +5389,7 @@ pub mod live_events { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5418,7 +5418,7 @@ pub mod live_events { } } pub mod live_outputs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5469,7 +5469,7 @@ pub mod live_outputs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5544,7 +5544,7 @@ pub mod live_outputs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -5628,7 +5628,7 @@ pub mod live_outputs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LiveOutput), @@ -5704,7 +5704,7 @@ pub mod live_outputs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5734,7 +5734,7 @@ pub mod live_outputs { } } pub mod streaming_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5783,7 +5783,7 @@ pub mod streaming_endpoints { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5856,7 +5856,7 @@ pub mod streaming_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -5942,7 +5942,7 @@ pub mod streaming_endpoints { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StreamingEndpoint), @@ -6027,7 +6027,7 @@ pub mod streaming_endpoints { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StreamingEndpoint), @@ -6101,7 +6101,7 @@ pub mod streaming_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6176,7 +6176,7 @@ pub mod streaming_endpoints { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6250,7 +6250,7 @@ pub mod streaming_endpoints { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6325,7 +6325,7 @@ pub mod streaming_endpoints { } } pub mod scale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/mediaservices/src/package_2021_05/operations.rs b/services/mgmt/mediaservices/src/package_2021_05/operations.rs index 22542382fc..68ab652fab 100644 --- a/services/mgmt/mediaservices/src/package_2021_05/operations.rs +++ b/services/mgmt/mediaservices/src/package_2021_05/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod account_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod account_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -126,7 +126,7 @@ pub mod account_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -211,7 +211,7 @@ pub mod account_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccountFilter), @@ -290,7 +290,7 @@ pub mod account_filters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -358,7 +358,7 @@ pub mod account_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -387,7 +387,7 @@ pub mod account_filters { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Media/operations", operation_config.base_path(),); @@ -425,7 +425,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -449,7 +449,7 @@ pub mod operations { } } pub mod mediaservices { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -496,7 +496,7 @@ pub mod mediaservices { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -566,7 +566,7 @@ pub mod mediaservices { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -647,7 +647,7 @@ pub mod mediaservices { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MediaService), @@ -724,7 +724,7 @@ pub mod mediaservices { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -790,7 +790,7 @@ pub mod mediaservices { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -865,7 +865,7 @@ pub mod mediaservices { } } pub mod sync_storage_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -940,7 +940,7 @@ pub mod mediaservices { } } pub mod list_edge_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1009,7 +1009,7 @@ pub mod mediaservices { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1033,7 +1033,7 @@ pub mod mediaservices { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1082,7 +1082,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1154,7 +1154,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1178,7 +1178,7 @@ pub mod private_link_resources { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1227,7 +1227,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1299,7 +1299,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1376,7 +1376,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1443,7 +1443,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1467,7 +1467,7 @@ pub mod private_endpoint_connections { } } pub mod locations { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1521,7 +1521,7 @@ pub mod locations { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1545,7 +1545,7 @@ pub mod locations { } } pub mod assets { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1606,7 +1606,7 @@ pub mod assets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1679,7 +1679,7 @@ pub mod assets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1764,7 +1764,7 @@ pub mod assets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Asset), @@ -1843,7 +1843,7 @@ pub mod assets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1911,7 +1911,7 @@ pub mod assets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1993,7 +1993,7 @@ pub mod assets { } } pub mod list_container_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2069,7 +2069,7 @@ pub mod assets { } } pub mod get_encryption_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2147,7 +2147,7 @@ pub mod assets { } } pub mod list_streaming_locators { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2171,7 +2171,7 @@ pub mod assets { } } pub mod asset_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2222,7 +2222,7 @@ pub mod asset_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2297,7 +2297,7 @@ pub mod asset_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2384,7 +2384,7 @@ pub mod asset_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AssetFilter), @@ -2465,7 +2465,7 @@ pub mod asset_filters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2535,7 +2535,7 @@ pub mod asset_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2564,7 +2564,7 @@ pub mod asset_filters { } } pub mod content_key_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2625,7 +2625,7 @@ pub mod content_key_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2698,7 +2698,7 @@ pub mod content_key_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2783,7 +2783,7 @@ pub mod content_key_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContentKeyPolicy), @@ -2862,7 +2862,7 @@ pub mod content_key_policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2930,7 +2930,7 @@ pub mod content_key_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3007,7 +3007,7 @@ pub mod content_key_policies { } } pub mod get_policy_properties_with_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -3033,7 +3033,7 @@ pub mod content_key_policies { } } pub mod transforms { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3090,7 +3090,7 @@ pub mod transforms { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3163,7 +3163,7 @@ pub mod transforms { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -3248,7 +3248,7 @@ pub mod transforms { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Transform), @@ -3327,7 +3327,7 @@ pub mod transforms { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3395,7 +3395,7 @@ pub mod transforms { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3424,7 +3424,7 @@ pub mod transforms { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3483,7 +3483,7 @@ pub mod jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3558,7 +3558,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -3636,7 +3636,7 @@ pub mod jobs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3712,7 +3712,7 @@ pub mod jobs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3782,7 +3782,7 @@ pub mod jobs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3860,7 +3860,7 @@ pub mod jobs { } } pub mod cancel_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3884,7 +3884,7 @@ pub mod jobs { } } pub mod streaming_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3945,7 +3945,7 @@ pub mod streaming_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4018,7 +4018,7 @@ pub mod streaming_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -4094,7 +4094,7 @@ pub mod streaming_policies { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4162,7 +4162,7 @@ pub mod streaming_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4191,7 +4191,7 @@ pub mod streaming_policies { } } pub mod streaming_locators { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4252,7 +4252,7 @@ pub mod streaming_locators { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4325,7 +4325,7 @@ pub mod streaming_locators { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -4401,7 +4401,7 @@ pub mod streaming_locators { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4469,7 +4469,7 @@ pub mod streaming_locators { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4550,7 +4550,7 @@ pub mod streaming_locators { } } pub mod list_content_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4626,7 +4626,7 @@ pub mod streaming_locators { } } pub mod list_paths { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4650,7 +4650,7 @@ pub mod streaming_locators { } } pub mod live_events { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4699,7 +4699,7 @@ pub mod live_events { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4772,7 +4772,7 @@ pub mod live_events { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -4858,7 +4858,7 @@ pub mod live_events { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LiveEvent), @@ -4943,7 +4943,7 @@ pub mod live_events { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LiveEvent), @@ -5017,7 +5017,7 @@ pub mod live_events { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5095,7 +5095,7 @@ pub mod live_events { } } pub mod allocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5169,7 +5169,7 @@ pub mod live_events { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5244,7 +5244,7 @@ pub mod live_events { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5318,7 +5318,7 @@ pub mod live_events { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5347,7 +5347,7 @@ pub mod live_events { } } pub mod live_outputs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5398,7 +5398,7 @@ pub mod live_outputs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5473,7 +5473,7 @@ pub mod live_outputs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -5557,7 +5557,7 @@ pub mod live_outputs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LiveOutput), @@ -5633,7 +5633,7 @@ pub mod live_outputs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5663,7 +5663,7 @@ pub mod live_outputs { } } pub mod streaming_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5712,7 +5712,7 @@ pub mod streaming_endpoints { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5785,7 +5785,7 @@ pub mod streaming_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -5871,7 +5871,7 @@ pub mod streaming_endpoints { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StreamingEndpoint), @@ -5956,7 +5956,7 @@ pub mod streaming_endpoints { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StreamingEndpoint), @@ -6030,7 +6030,7 @@ pub mod streaming_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6105,7 +6105,7 @@ pub mod streaming_endpoints { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6179,7 +6179,7 @@ pub mod streaming_endpoints { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6254,7 +6254,7 @@ pub mod streaming_endpoints { } } pub mod scale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/mediaservices/src/package_2021_06/operations.rs b/services/mgmt/mediaservices/src/package_2021_06/operations.rs index aa464648b5..7fe011d2e2 100644 --- a/services/mgmt/mediaservices/src/package_2021_06/operations.rs +++ b/services/mgmt/mediaservices/src/package_2021_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Media/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod mediaservices { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -113,7 +113,7 @@ pub mod mediaservices { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -183,7 +183,7 @@ pub mod mediaservices { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -264,7 +264,7 @@ pub mod mediaservices { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MediaService), @@ -341,7 +341,7 @@ pub mod mediaservices { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -407,7 +407,7 @@ pub mod mediaservices { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -482,7 +482,7 @@ pub mod mediaservices { } } pub mod sync_storage_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -557,7 +557,7 @@ pub mod mediaservices { } } pub mod list_edge_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -626,7 +626,7 @@ pub mod mediaservices { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -650,7 +650,7 @@ pub mod mediaservices { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -699,7 +699,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -771,7 +771,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -795,7 +795,7 @@ pub mod private_link_resources { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -844,7 +844,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -916,7 +916,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -993,7 +993,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1061,7 +1061,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1090,7 +1090,7 @@ pub mod private_endpoint_connections { } } pub mod locations { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1144,7 +1144,7 @@ pub mod locations { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1168,7 +1168,7 @@ pub mod locations { } } pub mod account_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1217,7 +1217,7 @@ pub mod account_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1289,7 +1289,7 @@ pub mod account_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1372,7 +1372,7 @@ pub mod account_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccountFilter), @@ -1451,7 +1451,7 @@ pub mod account_filters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1519,7 +1519,7 @@ pub mod account_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1548,7 +1548,7 @@ pub mod account_filters { } } pub mod assets { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1609,7 +1609,7 @@ pub mod assets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1681,7 +1681,7 @@ pub mod assets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1764,7 +1764,7 @@ pub mod assets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Asset), @@ -1843,7 +1843,7 @@ pub mod assets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1911,7 +1911,7 @@ pub mod assets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1993,7 +1993,7 @@ pub mod assets { } } pub mod list_container_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2069,7 +2069,7 @@ pub mod assets { } } pub mod get_encryption_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2147,7 +2147,7 @@ pub mod assets { } } pub mod list_streaming_locators { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2171,7 +2171,7 @@ pub mod assets { } } pub mod asset_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2222,7 +2222,7 @@ pub mod asset_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2296,7 +2296,7 @@ pub mod asset_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2381,7 +2381,7 @@ pub mod asset_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AssetFilter), @@ -2462,7 +2462,7 @@ pub mod asset_filters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2532,7 +2532,7 @@ pub mod asset_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2561,7 +2561,7 @@ pub mod asset_filters { } } pub mod content_key_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2622,7 +2622,7 @@ pub mod content_key_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2694,7 +2694,7 @@ pub mod content_key_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2777,7 +2777,7 @@ pub mod content_key_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ContentKeyPolicy), @@ -2856,7 +2856,7 @@ pub mod content_key_policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2924,7 +2924,7 @@ pub mod content_key_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3000,7 +3000,7 @@ pub mod content_key_policies { } } pub mod get_policy_properties_with_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3024,7 +3024,7 @@ pub mod content_key_policies { } } pub mod transforms { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3081,7 +3081,7 @@ pub mod transforms { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3153,7 +3153,7 @@ pub mod transforms { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3236,7 +3236,7 @@ pub mod transforms { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Transform), @@ -3315,7 +3315,7 @@ pub mod transforms { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3383,7 +3383,7 @@ pub mod transforms { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3412,7 +3412,7 @@ pub mod transforms { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3471,7 +3471,7 @@ pub mod jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3545,7 +3545,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3621,7 +3621,7 @@ pub mod jobs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3697,7 +3697,7 @@ pub mod jobs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3767,7 +3767,7 @@ pub mod jobs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3845,7 +3845,7 @@ pub mod jobs { } } pub mod cancel_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3869,7 +3869,7 @@ pub mod jobs { } } pub mod streaming_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3930,7 +3930,7 @@ pub mod streaming_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4002,7 +4002,7 @@ pub mod streaming_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4076,7 +4076,7 @@ pub mod streaming_policies { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4144,7 +4144,7 @@ pub mod streaming_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4173,7 +4173,7 @@ pub mod streaming_policies { } } pub mod streaming_locators { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4234,7 +4234,7 @@ pub mod streaming_locators { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4306,7 +4306,7 @@ pub mod streaming_locators { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4380,7 +4380,7 @@ pub mod streaming_locators { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4448,7 +4448,7 @@ pub mod streaming_locators { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4529,7 +4529,7 @@ pub mod streaming_locators { } } pub mod list_content_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4605,7 +4605,7 @@ pub mod streaming_locators { } } pub mod list_paths { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4629,7 +4629,7 @@ pub mod streaming_locators { } } pub mod live_events { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4678,7 +4678,7 @@ pub mod live_events { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4750,7 +4750,7 @@ pub mod live_events { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4834,7 +4834,7 @@ pub mod live_events { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LiveEvent), @@ -4919,7 +4919,7 @@ pub mod live_events { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LiveEvent), @@ -4993,7 +4993,7 @@ pub mod live_events { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5071,7 +5071,7 @@ pub mod live_events { } } pub mod allocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5145,7 +5145,7 @@ pub mod live_events { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5220,7 +5220,7 @@ pub mod live_events { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5294,7 +5294,7 @@ pub mod live_events { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5323,7 +5323,7 @@ pub mod live_events { } } pub mod live_outputs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5374,7 +5374,7 @@ pub mod live_outputs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5448,7 +5448,7 @@ pub mod live_outputs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5530,7 +5530,7 @@ pub mod live_outputs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LiveOutput), @@ -5606,7 +5606,7 @@ pub mod live_outputs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5636,7 +5636,7 @@ pub mod live_outputs { } } pub mod streaming_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5685,7 +5685,7 @@ pub mod streaming_endpoints { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5757,7 +5757,7 @@ pub mod streaming_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5841,7 +5841,7 @@ pub mod streaming_endpoints { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StreamingEndpoint), @@ -5926,7 +5926,7 @@ pub mod streaming_endpoints { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StreamingEndpoint), @@ -6000,7 +6000,7 @@ pub mod streaming_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6075,7 +6075,7 @@ pub mod streaming_endpoints { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6149,7 +6149,7 @@ pub mod streaming_endpoints { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6224,7 +6224,7 @@ pub mod streaming_endpoints { } } pub mod scale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/migrate/Cargo.toml b/services/mgmt/migrate/Cargo.toml index ac6a328348..4c07e783c4 100644 --- a/services/mgmt/migrate/Cargo.toml +++ b/services/mgmt/migrate/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2018-02"] +no-default-version = [] "package-2018-02" = [] "package-2019-10" = [] "package-2020-01" = [] diff --git a/services/mgmt/migrate/src/lib.rs b/services/mgmt/migrate/src/lib.rs index 81f0e18247..3f3f2d316c 100644 --- a/services/mgmt/migrate/src/lib.rs +++ b/services/mgmt/migrate/src/lib.rs @@ -1,25 +1,33 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2018-02")] -mod package_2018_02; -#[cfg(feature = "package-2018-02")] +pub mod package_2018_02; +#[cfg(all(feature = "package-2018-02", not(feature = "no-default-version")))] pub use package_2018_02::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-10")] -mod package_2019_10; -#[cfg(feature = "package-2019-10")] +pub mod package_2019_10; +#[cfg(all(feature = "package-2019-10", not(feature = "no-default-version")))] pub use package_2019_10::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-01")] -mod package_2020_01; -#[cfg(feature = "package-2020-01")] +pub mod package_2020_01; +#[cfg(all(feature = "package-2020-01", not(feature = "no-default-version")))] pub use package_2020_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-05")] -mod package_2020_05; -#[cfg(feature = "package-2020-05")] +pub mod package_2020_05; +#[cfg(all(feature = "package-2020-05", not(feature = "no-default-version")))] pub use package_2020_05::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-07")] -mod package_2020_07; +pub mod package_2020_07; use azure_core::setters; -#[cfg(feature = "package-2020-07")] +#[cfg(all(feature = "package-2020-07", not(feature = "no-default-version")))] pub use package_2020_07::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -43,7 +51,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/migrate/src/package_2018_02/operations.rs b/services/mgmt/migrate/src/package_2018_02/operations.rs index 9ec6ee8295..72f6f34748 100644 --- a/services/mgmt/migrate/src/package_2018_02/operations.rs +++ b/services/mgmt/migrate/src/package_2018_02/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod location { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, location_name: &str, @@ -58,7 +58,7 @@ pub mod location { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -82,7 +82,7 @@ pub mod location { } } pub mod assessment_options { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -133,7 +133,7 @@ pub mod assessment_options { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -157,7 +157,7 @@ pub mod assessment_options { } } pub mod projects { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -209,7 +209,7 @@ pub mod projects { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -286,7 +286,7 @@ pub mod projects { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -360,7 +360,7 @@ pub mod projects { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -446,7 +446,7 @@ pub mod projects { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Project), @@ -531,7 +531,7 @@ pub mod projects { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -600,7 +600,7 @@ pub mod projects { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -678,7 +678,7 @@ pub mod projects { } } pub mod get_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -702,7 +702,7 @@ pub mod projects { } } pub mod machines { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_project( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -758,7 +758,7 @@ pub mod machines { } } pub mod list_by_project { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -834,7 +834,7 @@ pub mod machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -858,7 +858,7 @@ pub mod machines { } } pub mod groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_project( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -914,7 +914,7 @@ pub mod groups { } } pub mod list_by_project { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -990,7 +990,7 @@ pub mod groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1078,7 +1078,7 @@ pub mod groups { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Group), @@ -1154,7 +1154,7 @@ pub mod groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1178,7 +1178,7 @@ pub mod groups { } } pub mod assessments { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_group( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1236,7 +1236,7 @@ pub mod assessments { } } pub mod list_by_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1313,7 +1313,7 @@ pub mod assessments { } } pub mod list_by_project { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1391,7 +1391,7 @@ pub mod assessments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1481,7 +1481,7 @@ pub mod assessments { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Assessment), @@ -1559,7 +1559,7 @@ pub mod assessments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1643,7 +1643,7 @@ pub mod assessments { } } pub mod get_report_download_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1667,7 +1667,7 @@ pub mod assessments { } } pub mod assessed_machines { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_assessment( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1727,7 +1727,7 @@ pub mod assessed_machines { } } pub mod list_by_assessment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1807,7 +1807,7 @@ pub mod assessed_machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1831,7 +1831,7 @@ pub mod assessed_machines { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Migrate/operations", operation_config.base_path(),); @@ -1866,7 +1866,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/migrate/src/package_2019_10/operations.rs b/services/mgmt/migrate/src/package_2019_10/operations.rs index 25a94b9d1b..fa2ef10a11 100644 --- a/services/mgmt/migrate/src/package_2019_10/operations.rs +++ b/services/mgmt/migrate/src/package_2019_10/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod projects { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -52,7 +52,7 @@ pub mod projects { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -120,7 +120,7 @@ pub mod projects { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -190,7 +190,7 @@ pub mod projects { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -272,7 +272,7 @@ pub mod projects { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Project), @@ -353,7 +353,7 @@ pub mod projects { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -419,7 +419,7 @@ pub mod projects { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -499,7 +499,7 @@ pub mod projects { } } pub mod assessment_options { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -574,7 +574,7 @@ pub mod projects { } } pub mod assessment_options_list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -598,7 +598,7 @@ pub mod projects { } } pub mod machines { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_project( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -650,7 +650,7 @@ pub mod machines { } } pub mod list_by_project { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -722,7 +722,7 @@ pub mod machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -746,7 +746,7 @@ pub mod machines { } } pub mod groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_project( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -798,7 +798,7 @@ pub mod groups { } } pub mod list_by_project { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -870,7 +870,7 @@ pub mod groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -954,7 +954,7 @@ pub mod groups { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Group), @@ -1027,7 +1027,7 @@ pub mod groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1113,7 +1113,7 @@ pub mod groups { } } pub mod update_machines { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1137,7 +1137,7 @@ pub mod groups { } } pub mod assessments { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_group( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1191,7 +1191,7 @@ pub mod assessments { } } pub mod list_by_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1264,7 +1264,7 @@ pub mod assessments { } } pub mod list_by_project { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1338,7 +1338,7 @@ pub mod assessments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1424,7 +1424,7 @@ pub mod assessments { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Assessment), @@ -1499,7 +1499,7 @@ pub mod assessments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1584,7 +1584,7 @@ pub mod assessments { } } pub mod get_report_download_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1608,7 +1608,7 @@ pub mod assessments { } } pub mod assessed_machines { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_assessment( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1656,7 +1656,7 @@ pub mod assessed_machines { } } pub mod list_by_assessment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1723,7 +1723,7 @@ pub mod assessed_machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1747,7 +1747,7 @@ pub mod assessed_machines { } } pub mod hyper_v_collectors { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_project( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1799,7 +1799,7 @@ pub mod hyper_v_collectors { } } pub mod list_by_project { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1871,7 +1871,7 @@ pub mod hyper_v_collectors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1955,7 +1955,7 @@ pub mod hyper_v_collectors { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HyperVCollector), @@ -2028,7 +2028,7 @@ pub mod hyper_v_collectors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2057,7 +2057,7 @@ pub mod hyper_v_collectors { } } pub mod server_collectors { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_project( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2109,7 +2109,7 @@ pub mod server_collectors { } } pub mod list_by_project { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2181,7 +2181,7 @@ pub mod server_collectors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2265,7 +2265,7 @@ pub mod server_collectors { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerCollector), @@ -2338,7 +2338,7 @@ pub mod server_collectors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2367,7 +2367,7 @@ pub mod server_collectors { } } pub mod v_mware_collectors { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_project( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2419,7 +2419,7 @@ pub mod v_mware_collectors { } } pub mod list_by_project { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2491,7 +2491,7 @@ pub mod v_mware_collectors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2575,7 +2575,7 @@ pub mod v_mware_collectors { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VMwareCollector), @@ -2648,7 +2648,7 @@ pub mod v_mware_collectors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2677,7 +2677,7 @@ pub mod v_mware_collectors { } } pub mod import_collectors { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_project( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2729,7 +2729,7 @@ pub mod import_collectors { } } pub mod list_by_project { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2801,7 +2801,7 @@ pub mod import_collectors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2885,7 +2885,7 @@ pub mod import_collectors { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ImportCollector), @@ -2958,7 +2958,7 @@ pub mod import_collectors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2987,7 +2987,7 @@ pub mod import_collectors { } } pub mod private_endpoint_connection { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_project( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3039,7 +3039,7 @@ pub mod private_endpoint_connection { } } pub mod list_by_project { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3111,7 +3111,7 @@ pub mod private_endpoint_connection { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3195,7 +3195,7 @@ pub mod private_endpoint_connection { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -3268,7 +3268,7 @@ pub mod private_endpoint_connection { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3297,7 +3297,7 @@ pub mod private_endpoint_connection { } } pub mod private_link_resource { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3348,7 +3348,7 @@ pub mod private_link_resource { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3421,7 +3421,7 @@ pub mod private_link_resource { } } pub mod list_by_project { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3445,7 +3445,7 @@ pub mod private_link_resource { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Migrate/operations", operation_config.base_path(),); @@ -3480,7 +3480,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/migrate/src/package_2020_01/operations.rs b/services/mgmt/migrate/src/package_2020_01/operations.rs index 45f98fa375..a60e484f4a 100644 --- a/services/mgmt/migrate/src/package_2020_01/operations.rs +++ b/services/mgmt/migrate/src/package_2020_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod hyper_v_cluster { - use crate::models::*; + use super::{models, models::*}; pub async fn get_cluster( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -56,7 +56,7 @@ pub mod hyper_v_cluster { } } pub mod get_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -123,7 +123,7 @@ pub mod hyper_v_cluster { } } pub mod put_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -197,7 +197,7 @@ pub mod hyper_v_cluster { } } pub mod get_all_clusters_in_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -218,7 +218,7 @@ pub mod hyper_v_cluster { } } pub mod hyper_v_host { - use crate::models::*; + use super::{models, models::*}; pub async fn get_host( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -270,7 +270,7 @@ pub mod hyper_v_host { } } pub mod get_host { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -337,7 +337,7 @@ pub mod hyper_v_host { } } pub mod put_host { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -411,7 +411,7 @@ pub mod hyper_v_host { } } pub mod get_all_hosts_in_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -432,7 +432,7 @@ pub mod hyper_v_host { } } pub mod hyper_v_jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn get_job( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -484,7 +484,7 @@ pub mod hyper_v_jobs { } } pub mod get_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -552,7 +552,7 @@ pub mod hyper_v_jobs { } } pub mod get_all_jobs_in_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -573,7 +573,7 @@ pub mod hyper_v_jobs { } } pub mod hyper_v_machines { - use crate::models::*; + use super::{models, models::*}; pub async fn get_machine( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -625,7 +625,7 @@ pub mod hyper_v_machines { } } pub mod get_machine { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -712,7 +712,7 @@ pub mod hyper_v_machines { } } pub mod get_all_machines_in_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -733,7 +733,7 @@ pub mod hyper_v_machines { } } pub mod hyper_v_operations_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get_operation_status( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -785,7 +785,7 @@ pub mod hyper_v_operations_status { } } pub mod get_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -806,7 +806,7 @@ pub mod hyper_v_operations_status { } } pub mod hyper_v_run_as_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn get_run_as_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -858,7 +858,7 @@ pub mod hyper_v_run_as_accounts { } } pub mod get_run_as_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -928,7 +928,7 @@ pub mod hyper_v_run_as_accounts { } } pub mod get_all_run_as_accounts_in_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -949,7 +949,7 @@ pub mod hyper_v_run_as_accounts { } } pub mod hyper_v_sites { - use crate::models::*; + use super::{models, models::*}; pub async fn get_site( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -999,7 +999,7 @@ pub mod hyper_v_sites { } } pub mod get_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1075,7 +1075,7 @@ pub mod hyper_v_sites { } } pub mod put_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HyperVSite), @@ -1156,7 +1156,7 @@ pub mod hyper_v_sites { } } pub mod patch_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HyperVSite), @@ -1225,7 +1225,7 @@ pub mod hyper_v_sites { } } pub mod delete_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1294,7 +1294,7 @@ pub mod hyper_v_sites { } } pub mod refresh_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1365,7 +1365,7 @@ pub mod hyper_v_sites { } } pub mod get_site_health_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1434,7 +1434,7 @@ pub mod hyper_v_sites { } } pub mod get_site_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1455,7 +1455,7 @@ pub mod hyper_v_sites { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn get_job( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1507,7 +1507,7 @@ pub mod jobs { } } pub mod get_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1575,7 +1575,7 @@ pub mod jobs { } } pub mod get_all_jobs_in_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1596,7 +1596,7 @@ pub mod jobs { } } pub mod machines { - use crate::models::*; + use super::{models, models::*}; pub async fn get_machine( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1648,7 +1648,7 @@ pub mod machines { } } pub mod get_machine { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1735,7 +1735,7 @@ pub mod machines { } } pub mod get_all_machines_in_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1801,7 +1801,7 @@ pub mod machines { } } pub mod stop_machine { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1867,7 +1867,7 @@ pub mod machines { } } pub mod start_machine { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1888,7 +1888,7 @@ pub mod machines { } } pub mod run_as_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn get_run_as_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1940,7 +1940,7 @@ pub mod run_as_accounts { } } pub mod get_run_as_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2010,7 +2010,7 @@ pub mod run_as_accounts { } } pub mod get_all_run_as_accounts_in_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2031,7 +2031,7 @@ pub mod run_as_accounts { } } pub mod sites { - use crate::models::*; + use super::{models, models::*}; pub async fn get_site( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2081,7 +2081,7 @@ pub mod sites { } } pub mod get_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2157,7 +2157,7 @@ pub mod sites { } } pub mod put_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VMwareSite), @@ -2238,7 +2238,7 @@ pub mod sites { } } pub mod patch_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VMwareSite), @@ -2307,7 +2307,7 @@ pub mod sites { } } pub mod delete_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2376,7 +2376,7 @@ pub mod sites { } } pub mod refresh_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2447,7 +2447,7 @@ pub mod sites { } } pub mod get_site_health_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2516,7 +2516,7 @@ pub mod sites { } } pub mod get_site_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2537,7 +2537,7 @@ pub mod sites { } } pub mod v_center { - use crate::models::*; + use super::{models, models::*}; pub async fn get_v_center( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2589,7 +2589,7 @@ pub mod v_center { } } pub mod get_v_center { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2656,7 +2656,7 @@ pub mod v_center { } } pub mod put_v_center { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2722,7 +2722,7 @@ pub mod v_center { } } pub mod delete_v_center { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2801,7 +2801,7 @@ pub mod v_center { } } pub mod get_all_v_centers_in_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2822,7 +2822,7 @@ pub mod v_center { } } pub mod v_mware_operations_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get_operation_status( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2874,7 +2874,7 @@ pub mod v_mware_operations_status { } } pub mod get_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2895,7 +2895,7 @@ pub mod v_mware_operations_status { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.OffAzure/operations", operation_config.base_path(),); @@ -2931,7 +2931,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/migrate/src/package_2020_05/operations.rs b/services/mgmt/migrate/src/package_2020_05/operations.rs index 868144f756..25ce66ef5b 100644 --- a/services/mgmt/migrate/src/package_2020_05/operations.rs +++ b/services/mgmt/migrate/src/package_2020_05/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod migrate_projects_controller { - use crate::models::*; + use super::{models, models::*}; pub async fn get_migrate_project( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -56,7 +56,7 @@ pub mod migrate_projects_controller { } } pub mod get_migrate_project { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -131,7 +131,7 @@ pub mod migrate_projects_controller { } } pub mod put_migrate_project { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -208,7 +208,7 @@ pub mod migrate_projects_controller { } } pub mod patch_migrate_project { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -279,7 +279,7 @@ pub mod migrate_projects_controller { } } pub mod delete_migrate_project { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -308,7 +308,7 @@ pub mod migrate_projects_controller { } } pub mod private_endpoint_connections_controller { - use crate::models::*; + use super::{models, models::*}; pub async fn get_private_endpoint_connections( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -362,7 +362,7 @@ pub mod private_endpoint_connections_controller { } } pub mod get_private_endpoint_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -386,7 +386,7 @@ pub mod private_endpoint_connections_controller { } } pub mod private_endpoint_connection_controller { - use crate::models::*; + use super::{models, models::*}; pub async fn get_private_endpoint_connection( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -442,7 +442,7 @@ pub mod private_endpoint_connection_controller { } } pub mod get_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -521,7 +521,7 @@ pub mod private_endpoint_connection_controller { } } pub mod put_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -594,7 +594,7 @@ pub mod private_endpoint_connection_controller { } } pub mod delete_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -623,7 +623,7 @@ pub mod private_endpoint_connection_controller { } } pub mod private_link_resource_controller { - use crate::models::*; + use super::{models, models::*}; pub async fn get_private_link_resource( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -679,7 +679,7 @@ pub mod private_link_resource_controller { } } pub mod get_private_link_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -754,7 +754,7 @@ pub mod private_link_resource_controller { } } pub mod get_private_link_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -778,7 +778,7 @@ pub mod private_link_resource_controller { } } pub mod projects { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -826,7 +826,7 @@ pub mod projects { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -894,7 +894,7 @@ pub mod projects { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -918,7 +918,7 @@ pub mod projects { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Migrate/operations", operation_config.base_path(),); @@ -955,7 +955,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/migrate/src/package_2020_07/operations.rs b/services/mgmt/migrate/src/package_2020_07/operations.rs index 5fd5b92351..0758ccccfc 100644 --- a/services/mgmt/migrate/src/package_2020_07/operations.rs +++ b/services/mgmt/migrate/src/package_2020_07/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod hyper_v_cluster { - use crate::models::*; + use super::{models, models::*}; pub async fn get_cluster( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -58,7 +58,7 @@ pub mod hyper_v_cluster { } } pub mod get_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -130,7 +130,7 @@ pub mod hyper_v_cluster { } } pub mod put_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -209,7 +209,7 @@ pub mod hyper_v_cluster { } } pub mod get_all_clusters_in_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -233,7 +233,7 @@ pub mod hyper_v_cluster { } } pub mod hyper_v_host { - use crate::models::*; + use super::{models, models::*}; pub async fn get_host( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -287,7 +287,7 @@ pub mod hyper_v_host { } } pub mod get_host { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -359,7 +359,7 @@ pub mod hyper_v_host { } } pub mod put_host { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -438,7 +438,7 @@ pub mod hyper_v_host { } } pub mod get_all_hosts_in_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -462,7 +462,7 @@ pub mod hyper_v_host { } } pub mod hyper_v_jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn get_job( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -516,7 +516,7 @@ pub mod hyper_v_jobs { } } pub mod get_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -589,7 +589,7 @@ pub mod hyper_v_jobs { } } pub mod get_all_jobs_in_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -613,7 +613,7 @@ pub mod hyper_v_jobs { } } pub mod hyper_v_machines { - use crate::models::*; + use super::{models, models::*}; pub async fn get_machine( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -667,7 +667,7 @@ pub mod hyper_v_machines { } } pub mod get_machine { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -759,7 +759,7 @@ pub mod hyper_v_machines { } } pub mod get_all_machines_in_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -783,7 +783,7 @@ pub mod hyper_v_machines { } } pub mod hyper_v_operations_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get_operation_status( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -837,7 +837,7 @@ pub mod hyper_v_operations_status { } } pub mod get_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -861,7 +861,7 @@ pub mod hyper_v_operations_status { } } pub mod hyper_v_run_as_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn get_run_as_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -915,7 +915,7 @@ pub mod hyper_v_run_as_accounts { } } pub mod get_run_as_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -990,7 +990,7 @@ pub mod hyper_v_run_as_accounts { } } pub mod get_all_run_as_accounts_in_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1014,7 +1014,7 @@ pub mod hyper_v_run_as_accounts { } } pub mod hyper_v_sites { - use crate::models::*; + use super::{models, models::*}; pub async fn get_site( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1066,7 +1066,7 @@ pub mod hyper_v_sites { } } pub mod get_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1147,7 +1147,7 @@ pub mod hyper_v_sites { } } pub mod put_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HyperVSite), @@ -1233,7 +1233,7 @@ pub mod hyper_v_sites { } } pub mod patch_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HyperVSite), @@ -1307,7 +1307,7 @@ pub mod hyper_v_sites { } } pub mod delete_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1381,7 +1381,7 @@ pub mod hyper_v_sites { } } pub mod refresh_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1457,7 +1457,7 @@ pub mod hyper_v_sites { } } pub mod get_site_health_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1531,7 +1531,7 @@ pub mod hyper_v_sites { } } pub mod get_site_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1600,7 +1600,7 @@ pub mod hyper_v_sites { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1668,7 +1668,7 @@ pub mod hyper_v_sites { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1692,7 +1692,7 @@ pub mod hyper_v_sites { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn get_job( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1746,7 +1746,7 @@ pub mod jobs { } } pub mod get_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1819,7 +1819,7 @@ pub mod jobs { } } pub mod get_all_jobs_in_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1843,7 +1843,7 @@ pub mod jobs { } } pub mod machines { - use crate::models::*; + use super::{models, models::*}; pub async fn get_machine( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1897,7 +1897,7 @@ pub mod machines { } } pub mod get_machine { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1989,7 +1989,7 @@ pub mod machines { } } pub mod get_all_machines_in_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2060,7 +2060,7 @@ pub mod machines { } } pub mod stop_machine { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2131,7 +2131,7 @@ pub mod machines { } } pub mod start_machine { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2155,7 +2155,7 @@ pub mod machines { } } pub mod run_as_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn get_run_as_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2209,7 +2209,7 @@ pub mod run_as_accounts { } } pub mod get_run_as_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2284,7 +2284,7 @@ pub mod run_as_accounts { } } pub mod get_all_run_as_accounts_in_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2308,7 +2308,7 @@ pub mod run_as_accounts { } } pub mod sites { - use crate::models::*; + use super::{models, models::*}; pub async fn get_site( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2360,7 +2360,7 @@ pub mod sites { } } pub mod get_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2441,7 +2441,7 @@ pub mod sites { } } pub mod put_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VMwareSite), @@ -2527,7 +2527,7 @@ pub mod sites { } } pub mod patch_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VMwareSite), @@ -2601,7 +2601,7 @@ pub mod sites { } } pub mod delete_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2675,7 +2675,7 @@ pub mod sites { } } pub mod refresh_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2751,7 +2751,7 @@ pub mod sites { } } pub mod get_site_health_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2825,7 +2825,7 @@ pub mod sites { } } pub mod get_site_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2849,7 +2849,7 @@ pub mod sites { } } pub mod v_center { - use crate::models::*; + use super::{models, models::*}; pub async fn get_v_center( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2903,7 +2903,7 @@ pub mod v_center { } } pub mod get_v_center { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2975,7 +2975,7 @@ pub mod v_center { } } pub mod put_v_center { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3046,7 +3046,7 @@ pub mod v_center { } } pub mod delete_v_center { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3130,7 +3130,7 @@ pub mod v_center { } } pub mod get_all_v_centers_in_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3154,7 +3154,7 @@ pub mod v_center { } } pub mod v_mware_operations_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get_operation_status( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3208,7 +3208,7 @@ pub mod v_mware_operations_status { } } pub mod get_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3232,7 +3232,7 @@ pub mod v_mware_operations_status { } } pub mod master_sites { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3280,7 +3280,7 @@ pub mod master_sites { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3348,7 +3348,7 @@ pub mod master_sites { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3421,7 +3421,7 @@ pub mod master_sites { } } pub mod get_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3491,7 +3491,7 @@ pub mod master_sites { } } pub mod put_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3567,7 +3567,7 @@ pub mod master_sites { } } pub mod patch_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MasterSite), @@ -3641,7 +3641,7 @@ pub mod master_sites { } } pub mod delete_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3670,7 +3670,7 @@ pub mod master_sites { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.OffAzure/operations", operation_config.base_path(),); @@ -3707,7 +3707,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3731,7 +3731,7 @@ pub mod operations { } } pub mod private_endpoint_connection { - use crate::models::*; + use super::{models, models::*}; pub async fn get_private_endpoint_connection( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3787,7 +3787,7 @@ pub mod private_endpoint_connection { } } pub mod get_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3866,7 +3866,7 @@ pub mod private_endpoint_connection { } } pub mod put_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3939,7 +3939,7 @@ pub mod private_endpoint_connection { } } pub mod delete_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4019,7 +4019,7 @@ pub mod private_endpoint_connection { } } pub mod get_private_endpoint_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4043,7 +4043,7 @@ pub mod private_endpoint_connection { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn get_private_link_resource( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4099,7 +4099,7 @@ pub mod private_link_resources { } } pub mod get_private_link_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4174,7 +4174,7 @@ pub mod private_link_resources { } } pub mod get_private_link_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4198,7 +4198,7 @@ pub mod private_link_resources { } } pub mod v_mware_sites { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4246,7 +4246,7 @@ pub mod v_mware_sites { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4314,7 +4314,7 @@ pub mod v_mware_sites { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/migrateprojects/Cargo.toml b/services/mgmt/migrateprojects/Cargo.toml index 0019f98fc6..d60fb36131 100644 --- a/services/mgmt/migrateprojects/Cargo.toml +++ b/services/mgmt/migrateprojects/Cargo.toml @@ -20,4 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2018-09"] +no-default-version = [] "package-2018-09" = [] diff --git a/services/mgmt/migrateprojects/src/lib.rs b/services/mgmt/migrateprojects/src/lib.rs index e1c9b93de2..bc03fc33d9 100644 --- a/services/mgmt/migrateprojects/src/lib.rs +++ b/services/mgmt/migrateprojects/src/lib.rs @@ -1,9 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2018-09")] -mod package_2018_09; +pub mod package_2018_09; use azure_core::setters; -#[cfg(feature = "package-2018-09")] +#[cfg(all(feature = "package-2018-09", not(feature = "no-default-version")))] pub use package_2018_09::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -27,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/migrateprojects/src/package_2018_09/operations.rs b/services/mgmt/migrateprojects/src/package_2018_09/operations.rs index b8c64eece7..e4b9736196 100644 --- a/services/mgmt/migrateprojects/src/package_2018_09/operations.rs +++ b/services/mgmt/migrateprojects/src/package_2018_09/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod database_instances { - use crate::models::*; + use super::{models, models::*}; pub async fn enumerate_database_instances( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -68,7 +68,7 @@ pub mod database_instances { } } pub mod enumerate_database_instances { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -144,7 +144,7 @@ pub mod database_instances { } } pub mod get_database_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -165,7 +165,7 @@ pub mod database_instances { } } pub mod databases { - use crate::models::*; + use super::{models, models::*}; pub async fn enumerate_databases( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -227,7 +227,7 @@ pub mod databases { } } pub mod enumerate_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -301,7 +301,7 @@ pub mod databases { } } pub mod get_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -322,7 +322,7 @@ pub mod databases { } } pub mod events { - use crate::models::*; + use super::{models, models::*}; pub async fn enumerate_events( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -384,7 +384,7 @@ pub mod events { } } pub mod enumerate_events { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -454,7 +454,7 @@ pub mod events { } } pub mod get_event { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -519,7 +519,7 @@ pub mod events { } } pub mod delete_event { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -540,7 +540,7 @@ pub mod events { } } pub mod machines { - use crate::models::*; + use super::{models, models::*}; pub async fn enumerate_machines( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -598,7 +598,7 @@ pub mod machines { } } pub mod enumerate_machines { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -668,7 +668,7 @@ pub mod machines { } } pub mod get_machine { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -689,7 +689,7 @@ pub mod machines { } } pub mod migrate_projects { - use crate::models::*; + use super::{models, models::*}; pub async fn get_migrate_project( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -739,7 +739,7 @@ pub mod migrate_projects { } } pub mod get_migrate_project { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -819,7 +819,7 @@ pub mod migrate_projects { } } pub mod put_migrate_project { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MigrateProject), @@ -900,7 +900,7 @@ pub mod migrate_projects { } } pub mod patch_migrate_project { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -969,7 +969,7 @@ pub mod migrate_projects { } } pub mod delete_migrate_project { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1043,7 +1043,7 @@ pub mod migrate_projects { } } pub mod register_tool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1115,7 +1115,7 @@ pub mod migrate_projects { } } pub mod refresh_migrate_project_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1136,7 +1136,7 @@ pub mod migrate_projects { } } pub mod solutions { - use crate::models::*; + use super::{models, models::*}; pub async fn get_solution( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1188,7 +1188,7 @@ pub mod solutions { } } pub mod get_solution { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1266,7 +1266,7 @@ pub mod solutions { } } pub mod put_solution { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Solution), @@ -1343,7 +1343,7 @@ pub mod solutions { } } pub mod patch_solution { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1412,7 +1412,7 @@ pub mod solutions { } } pub mod delete_solution { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1480,7 +1480,7 @@ pub mod solutions { } } pub mod enumerate_solutions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1551,7 +1551,7 @@ pub mod solutions { } } pub mod get_config { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1619,7 +1619,7 @@ pub mod solutions { } } pub mod cleanup_solution_data { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1640,7 +1640,7 @@ pub mod solutions { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Migrate/operations", operation_config.base_path(),); @@ -1675,7 +1675,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/monitor/Cargo.toml b/services/mgmt/monitor/Cargo.toml index c30e144336..72b3bb70a6 100644 --- a/services/mgmt/monitor/Cargo.toml +++ b/services/mgmt/monitor/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-09"] +no-default-version = [] "package-2021-09" = [] "package-2021-07" = [] "package-2021-07-01-preview-only" = [] diff --git a/services/mgmt/monitor/src/lib.rs b/services/mgmt/monitor/src/lib.rs index b14362ad98..5f7bad778e 100644 --- a/services/mgmt/monitor/src/lib.rs +++ b/services/mgmt/monitor/src/lib.rs @@ -1,185 +1,193 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-09")] -mod package_2021_09; -#[cfg(feature = "package-2021-09")] +pub mod package_2021_09; +#[cfg(all(feature = "package-2021-09", not(feature = "no-default-version")))] pub use package_2021_09::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-07")] -mod package_2021_07; -#[cfg(feature = "package-2021-07")] +pub mod package_2021_07; +#[cfg(all(feature = "package-2021-07", not(feature = "no-default-version")))] pub use package_2021_07::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-07-01-preview-only")] -mod package_2021_07_01_preview_only; -#[cfg(feature = "package-2021-07-01-preview-only")] +pub mod package_2021_07_01_preview_only; +#[cfg(all(feature = "package-2021-07-01-preview-only", not(feature = "no-default-version")))] pub use package_2021_07_01_preview_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-04")] -mod package_2021_04; -#[cfg(feature = "package-2021-04")] +pub mod package_2021_04; +#[cfg(all(feature = "package-2021-04", not(feature = "no-default-version")))] pub use package_2021_04::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-05-only")] -mod package_2021_05_only; -#[cfg(feature = "package-2021-05-only")] +pub mod package_2021_05_only; +#[cfg(all(feature = "package-2021-05-only", not(feature = "no-default-version")))] pub use package_2021_05_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-05-01-preview-only")] -mod package_2021_05_01_preview_only; -#[cfg(feature = "package-2021-05-01-preview-only")] +pub mod package_2021_05_01_preview_only; +#[cfg(all(feature = "package-2021-05-01-preview-only", not(feature = "no-default-version")))] pub use package_2021_05_01_preview_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-04-only")] -mod package_2021_04_only; -#[cfg(feature = "package-2021-04-only")] +pub mod package_2021_04_only; +#[cfg(all(feature = "package-2021-04-only", not(feature = "no-default-version")))] pub use package_2021_04_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-02-preview-only")] -mod package_2021_02_preview_only; -#[cfg(feature = "package-2021-02-preview-only")] +pub mod package_2021_02_preview_only; +#[cfg(all(feature = "package-2021-02-preview-only", not(feature = "no-default-version")))] pub use package_2021_02_preview_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-10-only")] -mod package_2020_10_only; -#[cfg(feature = "package-2020-10-only")] +pub mod package_2020_10_only; +#[cfg(all(feature = "package-2020-10-only", not(feature = "no-default-version")))] pub use package_2020_10_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-05-preview-only")] -mod package_2020_05_preview_only; -#[cfg(feature = "package-2020-05-preview-only")] +pub mod package_2020_05_preview_only; +#[cfg(all(feature = "package-2020-05-preview-only", not(feature = "no-default-version")))] pub use package_2020_05_preview_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-01-01-preview-only")] -mod package_2020_01_01_preview_only; -#[cfg(feature = "package-2020-01-01-preview-only")] +pub mod package_2020_01_01_preview_only; +#[cfg(all(feature = "package-2020-01-01-preview-only", not(feature = "no-default-version")))] pub use package_2020_01_01_preview_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-03")] -mod package_2020_03; -#[cfg(feature = "package-2020-03")] +pub mod package_2020_03; +#[cfg(all(feature = "package-2020-03", not(feature = "no-default-version")))] pub use package_2020_03::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-11")] -mod package_2019_11; -#[cfg(feature = "package-2019-11")] +pub mod package_2019_11; +#[cfg(all(feature = "package-2019-11", not(feature = "no-default-version")))] pub use package_2019_11::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-10-17-preview-only")] -mod package_2019_10_17_preview_only; -#[cfg(feature = "package-2019-10-17-preview-only")] +pub mod package_2019_10_17_preview_only; +#[cfg(all(feature = "package-2019-10-17-preview-only", not(feature = "no-default-version")))] pub use package_2019_10_17_preview_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-07-only")] -mod package_2019_07_only; -#[cfg(feature = "package-2019-07-only")] +pub mod package_2019_07_only; +#[cfg(all(feature = "package-2019-07-only", not(feature = "no-default-version")))] pub use package_2019_07_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-06")] -mod package_2019_06; -#[cfg(feature = "package-2019-06")] +pub mod package_2019_06; +#[cfg(all(feature = "package-2019-06", not(feature = "no-default-version")))] pub use package_2019_06::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-03")] -mod package_2019_03; -#[cfg(feature = "package-2019-03")] +pub mod package_2019_03; +#[cfg(all(feature = "package-2019-03", not(feature = "no-default-version")))] pub use package_2019_03::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-11-preview")] -mod package_2018_11_preview; -#[cfg(feature = "package-2018-11-preview")] +pub mod package_2018_11_preview; +#[cfg(all(feature = "package-2018-11-preview", not(feature = "no-default-version")))] pub use package_2018_11_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-09")] -mod package_2018_09; -#[cfg(feature = "package-2018-09")] +pub mod package_2018_09; +#[cfg(all(feature = "package-2018-09", not(feature = "no-default-version")))] pub use package_2018_09::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-03")] -mod package_2018_03; -#[cfg(feature = "package-2018-03")] +pub mod package_2018_03; +#[cfg(all(feature = "package-2018-03", not(feature = "no-default-version")))] pub use package_2018_03::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-02-preview")] -mod package_2018_02_preview; -#[cfg(feature = "package-2018-02-preview")] +pub mod package_2018_02_preview; +#[cfg(all(feature = "package-2018-02-preview", not(feature = "no-default-version")))] pub use package_2018_02_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-12")] -mod package_2017_12; -#[cfg(feature = "package-2017-12")] +pub mod package_2017_12; +#[cfg(all(feature = "package-2017-12", not(feature = "no-default-version")))] pub use package_2017_12::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-09")] -mod package_2017_09; -#[cfg(feature = "package-2017-09")] +pub mod package_2017_09; +#[cfg(all(feature = "package-2017-09", not(feature = "no-default-version")))] pub use package_2017_09::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-09-preview-only")] -mod package_2017_09_preview_only; -#[cfg(feature = "package-2017-09-preview-only")] +pub mod package_2017_09_preview_only; +#[cfg(all(feature = "package-2017-09-preview-only", not(feature = "no-default-version")))] pub use package_2017_09_preview_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-08")] -mod package_2017_08; -#[cfg(feature = "package-2017-08")] +pub mod package_2017_08; +#[cfg(all(feature = "package-2017-08", not(feature = "no-default-version")))] pub use package_2017_08::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-11-01-preview-only")] -mod package_2019_11_01_preview_only; -#[cfg(feature = "package-2019-11-01-preview-only")] +pub mod package_2019_11_01_preview_only; +#[cfg(all(feature = "package-2019-11-01-preview-only", not(feature = "no-default-version")))] pub use package_2019_11_01_preview_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-06-01-only")] -mod package_2019_06_01_only; -#[cfg(feature = "package-2019-06-01-only")] +pub mod package_2019_06_01_only; +#[cfg(all(feature = "package-2019-06-01-only", not(feature = "no-default-version")))] pub use package_2019_06_01_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-03-01-only")] -mod package_2019_03_01_only; -#[cfg(feature = "package-2019-03-01-only")] +pub mod package_2019_03_01_only; +#[cfg(all(feature = "package-2019-03-01-only", not(feature = "no-default-version")))] pub use package_2019_03_01_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-11-27-preview-only")] -mod package_2018_11_27_preview_only; -#[cfg(feature = "package-2018-11-27-preview-only")] +pub mod package_2018_11_27_preview_only; +#[cfg(all(feature = "package-2018-11-27-preview-only", not(feature = "no-default-version")))] pub use package_2018_11_27_preview_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-09-01-only")] -mod package_2018_09_01_only; -#[cfg(feature = "package-2018-09-01-only")] +pub mod package_2018_09_01_only; +#[cfg(all(feature = "package-2018-09-01-only", not(feature = "no-default-version")))] pub use package_2018_09_01_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-06-01-preview-only")] -mod package_2018_06_01_preview_only; -#[cfg(feature = "package-2018-06-01-preview-only")] +pub mod package_2018_06_01_preview_only; +#[cfg(all(feature = "package-2018-06-01-preview-only", not(feature = "no-default-version")))] pub use package_2018_06_01_preview_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-04-16-only")] -mod package_2018_04_16_only; -#[cfg(feature = "package-2018-04-16-only")] +pub mod package_2018_04_16_only; +#[cfg(all(feature = "package-2018-04-16-only", not(feature = "no-default-version")))] pub use package_2018_04_16_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-03-01-only")] -mod package_2018_03_01_only; -#[cfg(feature = "package-2018-03-01-only")] +pub mod package_2018_03_01_only; +#[cfg(all(feature = "package-2018-03-01-only", not(feature = "no-default-version")))] pub use package_2018_03_01_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-01-01-only")] -mod package_2018_01_01_only; -#[cfg(feature = "package-2018-01-01-only")] +pub mod package_2018_01_01_only; +#[cfg(all(feature = "package-2018-01-01-only", not(feature = "no-default-version")))] pub use package_2018_01_01_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-12-01-preview-only")] -mod package_2017_12_01_preview_only; -#[cfg(feature = "package-2017-12-01-preview-only")] +pub mod package_2017_12_01_preview_only; +#[cfg(all(feature = "package-2017-12-01-preview-only", not(feature = "no-default-version")))] pub use package_2017_12_01_preview_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-11-01-preview-only")] -mod package_2017_11_01_preview_only; -#[cfg(feature = "package-2017-11-01-preview-only")] +pub mod package_2017_11_01_preview_only; +#[cfg(all(feature = "package-2017-11-01-preview-only", not(feature = "no-default-version")))] pub use package_2017_11_01_preview_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-05-01-preview-only")] -mod package_2017_05_01_preview_only; -#[cfg(feature = "package-2017-05-01-preview-only")] +pub mod package_2017_05_01_preview_only; +#[cfg(all(feature = "package-2017-05-01-preview-only", not(feature = "no-default-version")))] pub use package_2017_05_01_preview_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-04-01-only")] -mod package_2017_04_01_only; -#[cfg(feature = "package-2017-04-01-only")] +pub mod package_2017_04_01_only; +#[cfg(all(feature = "package-2017-04-01-only", not(feature = "no-default-version")))] pub use package_2017_04_01_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-03-01-preview-only")] -mod package_2017_03_01_preview_only; -#[cfg(feature = "package-2017-03-01-preview-only")] +pub mod package_2017_03_01_preview_only; +#[cfg(all(feature = "package-2017-03-01-preview-only", not(feature = "no-default-version")))] pub use package_2017_03_01_preview_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2016-09-01-only")] -mod package_2016_09_01_only; -#[cfg(feature = "package-2016-09-01-only")] +pub mod package_2016_09_01_only; +#[cfg(all(feature = "package-2016-09-01-only", not(feature = "no-default-version")))] pub use package_2016_09_01_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2016-06-only")] -mod package_2016_06_only; -#[cfg(feature = "package-2016-06-only")] +pub mod package_2016_06_only; +#[cfg(all(feature = "package-2016-06-only", not(feature = "no-default-version")))] pub use package_2016_06_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2016-03-01-only")] -mod package_2016_03_01_only; -#[cfg(feature = "package-2016-03-01-only")] +pub mod package_2016_03_01_only; +#[cfg(all(feature = "package-2016-03-01-only", not(feature = "no-default-version")))] pub use package_2016_03_01_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2015-07-01-only")] -mod package_2015_07_01_only; -#[cfg(feature = "package-2015-07-01-only")] +pub mod package_2015_07_01_only; +#[cfg(all(feature = "package-2015-07-01-only", not(feature = "no-default-version")))] pub use package_2015_07_01_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2015-04-01-only")] -mod package_2015_04_01_only; -#[cfg(feature = "package-2015-04-01-only")] +pub mod package_2015_04_01_only; +#[cfg(all(feature = "package-2015-04-01-only", not(feature = "no-default-version")))] pub use package_2015_04_01_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2014-04-01-only")] -mod package_2014_04_01_only; +pub mod package_2014_04_01_only; use azure_core::setters; -#[cfg(feature = "package-2014-04-01-only")] +#[cfg(all(feature = "package-2014-04-01-only", not(feature = "no-default-version")))] pub use package_2014_04_01_only::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -203,7 +211,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/monitor/src/package_2014_04_01_only/operations.rs b/services/mgmt/monitor/src/package_2014_04_01_only/operations.rs index 9287a23a9c..48000b988c 100644 --- a/services/mgmt/monitor/src/package_2014_04_01_only/operations.rs +++ b/services/mgmt/monitor/src/package_2014_04_01_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod alert_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod alert_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod alert_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AlertRuleResource), @@ -217,7 +217,7 @@ pub mod alert_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AlertRuleResource), @@ -288,7 +288,7 @@ pub mod alert_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -366,7 +366,7 @@ pub mod alert_rules { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -435,7 +435,7 @@ pub mod alert_rules { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -459,7 +459,7 @@ pub mod alert_rules { } } pub mod autoscale_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -511,7 +511,7 @@ pub mod autoscale_settings { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -581,7 +581,7 @@ pub mod autoscale_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -662,7 +662,7 @@ pub mod autoscale_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AutoscaleSettingResource), @@ -739,7 +739,7 @@ pub mod autoscale_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -805,7 +805,7 @@ pub mod autoscale_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -879,7 +879,7 @@ pub mod autoscale_settings { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/monitor/src/package_2015_04_01_only/operations.rs b/services/mgmt/monitor/src/package_2015_04_01_only/operations.rs index 4ae3e9fca0..d4861e0c30 100644 --- a/services/mgmt/monitor/src/package_2015_04_01_only/operations.rs +++ b/services/mgmt/monitor/src/package_2015_04_01_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod activity_logs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: &str, @@ -55,7 +55,7 @@ pub mod activity_logs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -79,7 +79,7 @@ pub mod activity_logs { } } pub mod autoscale_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -131,7 +131,7 @@ pub mod autoscale_settings { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -201,7 +201,7 @@ pub mod autoscale_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -282,7 +282,7 @@ pub mod autoscale_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AutoscaleSettingResource), @@ -359,7 +359,7 @@ pub mod autoscale_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -425,7 +425,7 @@ pub mod autoscale_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -499,7 +499,7 @@ pub mod autoscale_settings { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -523,7 +523,7 @@ pub mod autoscale_settings { } } pub mod event_categories { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Insights/eventcategories", operation_config.base_path(),); @@ -561,7 +561,7 @@ pub mod event_categories { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -585,7 +585,7 @@ pub mod event_categories { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Insights/operations", operation_config.base_path(),); @@ -621,7 +621,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -642,7 +642,7 @@ pub mod operations { } } pub mod tenant_activity_logs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -693,7 +693,7 @@ pub mod tenant_activity_logs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -717,7 +717,7 @@ pub mod tenant_activity_logs { } } pub mod alert_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -766,7 +766,7 @@ pub mod alert_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -847,7 +847,7 @@ pub mod alert_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AlertRuleResource), @@ -930,7 +930,7 @@ pub mod alert_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AlertRuleResource), @@ -1001,7 +1001,7 @@ pub mod alert_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1079,7 +1079,7 @@ pub mod alert_rules { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1148,7 +1148,7 @@ pub mod alert_rules { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/monitor/src/package_2015_07_01_only/operations.rs b/services/mgmt/monitor/src/package_2015_07_01_only/operations.rs index b6504aaa22..dd4054912d 100644 --- a/services/mgmt/monitor/src/package_2015_07_01_only/operations.rs +++ b/services/mgmt/monitor/src/package_2015_07_01_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod service_diagnostic_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -49,7 +49,7 @@ pub mod service_diagnostic_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -118,7 +118,7 @@ pub mod service_diagnostic_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -139,7 +139,7 @@ pub mod service_diagnostic_settings { } } pub mod metric_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -188,7 +188,7 @@ pub mod metric_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -212,7 +212,7 @@ pub mod metric_definitions { } } pub mod alert_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -261,7 +261,7 @@ pub mod alert_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -342,7 +342,7 @@ pub mod alert_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AlertRuleResource), @@ -425,7 +425,7 @@ pub mod alert_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AlertRuleResource), @@ -496,7 +496,7 @@ pub mod alert_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -574,7 +574,7 @@ pub mod alert_rules { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -643,7 +643,7 @@ pub mod alert_rules { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -667,7 +667,7 @@ pub mod alert_rules { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Insights/operations", operation_config.base_path(),); @@ -705,7 +705,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/monitor/src/package_2016_03_01_only/operations.rs b/services/mgmt/monitor/src/package_2016_03_01_only/operations.rs index 45450a2e74..bac62dda54 100644 --- a/services/mgmt/monitor/src/package_2016_03_01_only/operations.rs +++ b/services/mgmt/monitor/src/package_2016_03_01_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod alert_rule_incidents { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -55,7 +55,7 @@ pub mod alert_rule_incidents { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -126,7 +126,7 @@ pub mod alert_rule_incidents { } } pub mod list_by_alert_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -147,7 +147,7 @@ pub mod alert_rule_incidents { } } pub mod alert_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -196,7 +196,7 @@ pub mod alert_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -277,7 +277,7 @@ pub mod alert_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AlertRuleResource), @@ -360,7 +360,7 @@ pub mod alert_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AlertRuleResource), @@ -431,7 +431,7 @@ pub mod alert_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -509,7 +509,7 @@ pub mod alert_rules { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -578,7 +578,7 @@ pub mod alert_rules { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -602,7 +602,7 @@ pub mod alert_rules { } } pub mod log_profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, log_profile_name: &str, @@ -649,7 +649,7 @@ pub mod log_profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -720,7 +720,7 @@ pub mod log_profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -787,7 +787,7 @@ pub mod log_profiles { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -848,7 +848,7 @@ pub mod log_profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -909,7 +909,7 @@ pub mod log_profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -930,7 +930,7 @@ pub mod log_profiles { } } pub mod metric_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -979,7 +979,7 @@ pub mod metric_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/monitor/src/package_2016_06_only/operations.rs b/services/mgmt/monitor/src/package_2016_06_only/operations.rs index cdf97e2805..55d7613504 100644 --- a/services/mgmt/monitor/src/package_2016_06_only/operations.rs +++ b/services/mgmt/monitor/src/package_2016_06_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod metrics { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -51,7 +51,7 @@ pub mod metrics { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -75,7 +75,7 @@ pub mod metrics { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Insights/operations", operation_config.base_path(),); @@ -113,7 +113,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/monitor/src/package_2016_09_01_only/operations.rs b/services/mgmt/monitor/src/package_2016_09_01_only/operations.rs index 27ae1934c5..bce7e71c27 100644 --- a/services/mgmt/monitor/src/package_2016_09_01_only/operations.rs +++ b/services/mgmt/monitor/src/package_2016_09_01_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod metrics { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -53,7 +53,7 @@ pub mod metrics { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -77,7 +77,7 @@ pub mod metrics { } } pub mod service_diagnostic_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -122,7 +122,7 @@ pub mod service_diagnostic_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -191,7 +191,7 @@ pub mod service_diagnostic_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -256,7 +256,7 @@ pub mod service_diagnostic_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/monitor/src/package_2017_03_01_preview_only/operations.rs b/services/mgmt/monitor/src/package_2017_03_01_preview_only/operations.rs index 247079943e..0a94fd5976 100644 --- a/services/mgmt/monitor/src/package_2017_03_01_preview_only/operations.rs +++ b/services/mgmt/monitor/src/package_2017_03_01_preview_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod activity_log_alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod activity_log_alerts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod activity_log_alerts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ActivityLogAlertResource), @@ -211,7 +211,7 @@ pub mod activity_log_alerts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -277,7 +277,7 @@ pub mod activity_log_alerts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -353,7 +353,7 @@ pub mod activity_log_alerts { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -426,7 +426,7 @@ pub mod activity_log_alerts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/monitor/src/package_2017_04_01_only/operations.rs b/services/mgmt/monitor/src/package_2017_04_01_only/operations.rs index 6d97c92146..064f76ad48 100644 --- a/services/mgmt/monitor/src/package_2017_04_01_only/operations.rs +++ b/services/mgmt/monitor/src/package_2017_04_01_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod action_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod action_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod action_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ActionGroupResource), @@ -211,7 +211,7 @@ pub mod action_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -277,7 +277,7 @@ pub mod action_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -353,7 +353,7 @@ pub mod action_groups { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -426,7 +426,7 @@ pub mod action_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -497,7 +497,7 @@ pub mod action_groups { } } pub mod enable_receiver { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -523,7 +523,7 @@ pub mod action_groups { } } pub mod activity_log_alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -572,7 +572,7 @@ pub mod activity_log_alerts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -653,7 +653,7 @@ pub mod activity_log_alerts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ActivityLogAlertResource), @@ -730,7 +730,7 @@ pub mod activity_log_alerts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -796,7 +796,7 @@ pub mod activity_log_alerts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -872,7 +872,7 @@ pub mod activity_log_alerts { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -945,7 +945,7 @@ pub mod activity_log_alerts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/monitor/src/package_2017_05_01_preview_only/operations.rs b/services/mgmt/monitor/src/package_2017_05_01_preview_only/operations.rs index e280e5b337..7de0ffc18f 100644 --- a/services/mgmt/monitor/src/package_2017_05_01_preview_only/operations.rs +++ b/services/mgmt/monitor/src/package_2017_05_01_preview_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod diagnostic_settings_category { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -51,7 +51,7 @@ pub mod diagnostic_settings_category { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -117,7 +117,7 @@ pub mod diagnostic_settings_category { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -141,7 +141,7 @@ pub mod diagnostic_settings_category { } } pub mod diagnostic_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -188,7 +188,7 @@ pub mod diagnostic_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -261,7 +261,7 @@ pub mod diagnostic_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -325,7 +325,7 @@ pub mod diagnostic_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -396,7 +396,7 @@ pub mod diagnostic_settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -420,7 +420,7 @@ pub mod diagnostic_settings { } } pub mod metric_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -465,7 +465,7 @@ pub mod metric_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -489,7 +489,7 @@ pub mod metric_definitions { } } pub mod metrics { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -566,7 +566,7 @@ pub mod metrics { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -590,7 +590,7 @@ pub mod metrics { } } pub mod subscription_diagnostic_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -637,7 +637,7 @@ pub mod subscription_diagnostic_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -710,7 +710,7 @@ pub mod subscription_diagnostic_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -774,7 +774,7 @@ pub mod subscription_diagnostic_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -845,7 +845,7 @@ pub mod subscription_diagnostic_settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/monitor/src/package_2017_08/operations.rs b/services/mgmt/monitor/src/package_2017_08/operations.rs index 09eda9b76f..dcbc17e006 100644 --- a/services/mgmt/monitor/src/package_2017_08/operations.rs +++ b/services/mgmt/monitor/src/package_2017_08/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod autoscale_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -56,7 +56,7 @@ pub mod autoscale_settings { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -126,7 +126,7 @@ pub mod autoscale_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -207,7 +207,7 @@ pub mod autoscale_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AutoscaleSettingResource), @@ -284,7 +284,7 @@ pub mod autoscale_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -350,7 +350,7 @@ pub mod autoscale_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -424,7 +424,7 @@ pub mod autoscale_settings { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -448,7 +448,7 @@ pub mod autoscale_settings { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Insights/operations", operation_config.base_path(),); @@ -484,7 +484,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -505,7 +505,7 @@ pub mod operations { } } pub mod alert_rule_incidents { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -556,7 +556,7 @@ pub mod alert_rule_incidents { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -627,7 +627,7 @@ pub mod alert_rule_incidents { } } pub mod list_by_alert_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -648,7 +648,7 @@ pub mod alert_rule_incidents { } } pub mod alert_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -697,7 +697,7 @@ pub mod alert_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -778,7 +778,7 @@ pub mod alert_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AlertRuleResource), @@ -861,7 +861,7 @@ pub mod alert_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AlertRuleResource), @@ -932,7 +932,7 @@ pub mod alert_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1010,7 +1010,7 @@ pub mod alert_rules { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1079,7 +1079,7 @@ pub mod alert_rules { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1103,7 +1103,7 @@ pub mod alert_rules { } } pub mod log_profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, log_profile_name: &str, @@ -1150,7 +1150,7 @@ pub mod log_profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1221,7 +1221,7 @@ pub mod log_profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1288,7 +1288,7 @@ pub mod log_profiles { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1349,7 +1349,7 @@ pub mod log_profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1410,7 +1410,7 @@ pub mod log_profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1431,7 +1431,7 @@ pub mod log_profiles { } } pub mod diagnostic_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -1478,7 +1478,7 @@ pub mod diagnostic_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1551,7 +1551,7 @@ pub mod diagnostic_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1615,7 +1615,7 @@ pub mod diagnostic_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1686,7 +1686,7 @@ pub mod diagnostic_settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1710,7 +1710,7 @@ pub mod diagnostic_settings { } } pub mod diagnostic_settings_category { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -1757,7 +1757,7 @@ pub mod diagnostic_settings_category { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1823,7 +1823,7 @@ pub mod diagnostic_settings_category { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1847,7 +1847,7 @@ pub mod diagnostic_settings_category { } } pub mod action_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1896,7 +1896,7 @@ pub mod action_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1977,7 +1977,7 @@ pub mod action_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ActionGroupResource), @@ -2054,7 +2054,7 @@ pub mod action_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2120,7 +2120,7 @@ pub mod action_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2196,7 +2196,7 @@ pub mod action_groups { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2269,7 +2269,7 @@ pub mod action_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2340,7 +2340,7 @@ pub mod action_groups { } } pub mod enable_receiver { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2366,7 +2366,7 @@ pub mod action_groups { } } pub mod activity_log_alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2415,7 +2415,7 @@ pub mod activity_log_alerts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2496,7 +2496,7 @@ pub mod activity_log_alerts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ActivityLogAlertResource), @@ -2573,7 +2573,7 @@ pub mod activity_log_alerts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2639,7 +2639,7 @@ pub mod activity_log_alerts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2715,7 +2715,7 @@ pub mod activity_log_alerts { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2788,7 +2788,7 @@ pub mod activity_log_alerts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/monitor/src/package_2017_09/operations.rs b/services/mgmt/monitor/src/package_2017_09/operations.rs index c6e9bd23ae..d9a2d3c2d1 100644 --- a/services/mgmt/monitor/src/package_2017_09/operations.rs +++ b/services/mgmt/monitor/src/package_2017_09/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod autoscale_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -56,7 +56,7 @@ pub mod autoscale_settings { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -126,7 +126,7 @@ pub mod autoscale_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -207,7 +207,7 @@ pub mod autoscale_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AutoscaleSettingResource), @@ -284,7 +284,7 @@ pub mod autoscale_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -350,7 +350,7 @@ pub mod autoscale_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -424,7 +424,7 @@ pub mod autoscale_settings { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -448,7 +448,7 @@ pub mod autoscale_settings { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Insights/operations", operation_config.base_path(),); @@ -484,7 +484,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -505,7 +505,7 @@ pub mod operations { } } pub mod alert_rule_incidents { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -556,7 +556,7 @@ pub mod alert_rule_incidents { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -627,7 +627,7 @@ pub mod alert_rule_incidents { } } pub mod list_by_alert_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -648,7 +648,7 @@ pub mod alert_rule_incidents { } } pub mod alert_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -697,7 +697,7 @@ pub mod alert_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -778,7 +778,7 @@ pub mod alert_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AlertRuleResource), @@ -861,7 +861,7 @@ pub mod alert_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AlertRuleResource), @@ -932,7 +932,7 @@ pub mod alert_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1010,7 +1010,7 @@ pub mod alert_rules { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1079,7 +1079,7 @@ pub mod alert_rules { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1103,7 +1103,7 @@ pub mod alert_rules { } } pub mod log_profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, log_profile_name: &str, @@ -1150,7 +1150,7 @@ pub mod log_profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1221,7 +1221,7 @@ pub mod log_profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1288,7 +1288,7 @@ pub mod log_profiles { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1349,7 +1349,7 @@ pub mod log_profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1410,7 +1410,7 @@ pub mod log_profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1431,7 +1431,7 @@ pub mod log_profiles { } } pub mod diagnostic_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -1478,7 +1478,7 @@ pub mod diagnostic_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1551,7 +1551,7 @@ pub mod diagnostic_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1615,7 +1615,7 @@ pub mod diagnostic_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1686,7 +1686,7 @@ pub mod diagnostic_settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1710,7 +1710,7 @@ pub mod diagnostic_settings { } } pub mod diagnostic_settings_category { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -1757,7 +1757,7 @@ pub mod diagnostic_settings_category { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1823,7 +1823,7 @@ pub mod diagnostic_settings_category { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1847,7 +1847,7 @@ pub mod diagnostic_settings_category { } } pub mod action_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1896,7 +1896,7 @@ pub mod action_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1977,7 +1977,7 @@ pub mod action_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ActionGroupResource), @@ -2054,7 +2054,7 @@ pub mod action_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2120,7 +2120,7 @@ pub mod action_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2196,7 +2196,7 @@ pub mod action_groups { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2269,7 +2269,7 @@ pub mod action_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2340,7 +2340,7 @@ pub mod action_groups { } } pub mod enable_receiver { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2366,7 +2366,7 @@ pub mod action_groups { } } pub mod activity_log_alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2415,7 +2415,7 @@ pub mod activity_log_alerts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2496,7 +2496,7 @@ pub mod activity_log_alerts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ActivityLogAlertResource), @@ -2573,7 +2573,7 @@ pub mod activity_log_alerts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2639,7 +2639,7 @@ pub mod activity_log_alerts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2715,7 +2715,7 @@ pub mod activity_log_alerts { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2788,7 +2788,7 @@ pub mod activity_log_alerts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2812,7 +2812,7 @@ pub mod activity_log_alerts { } } pub mod activity_logs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: &str, @@ -2863,7 +2863,7 @@ pub mod activity_logs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2887,7 +2887,7 @@ pub mod activity_logs { } } pub mod event_categories { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Insights/eventcategories", operation_config.base_path(),); @@ -2925,7 +2925,7 @@ pub mod event_categories { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2949,7 +2949,7 @@ pub mod event_categories { } } pub mod tenant_activity_logs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -3000,7 +3000,7 @@ pub mod tenant_activity_logs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3024,7 +3024,7 @@ pub mod tenant_activity_logs { } } pub mod metric_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -3069,7 +3069,7 @@ pub mod metric_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3093,7 +3093,7 @@ pub mod metric_definitions { } } pub mod metrics { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -3170,7 +3170,7 @@ pub mod metrics { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3194,7 +3194,7 @@ pub mod metrics { } } pub mod metric_baseline { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -3261,7 +3261,7 @@ pub mod metric_baseline { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3332,7 +3332,7 @@ pub mod metric_baseline { } } pub mod calculate_baseline { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/monitor/src/package_2017_09_preview_only/operations.rs b/services/mgmt/monitor/src/package_2017_09_preview_only/operations.rs index a3e616e495..e5b58ab499 100644 --- a/services/mgmt/monitor/src/package_2017_09_preview_only/operations.rs +++ b/services/mgmt/monitor/src/package_2017_09_preview_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Insights/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod metric_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -111,7 +111,7 @@ pub mod metric_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -135,7 +135,7 @@ pub mod metric_definitions { } } pub mod metrics { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -212,7 +212,7 @@ pub mod metrics { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/monitor/src/package_2017_11_01_preview_only/operations.rs b/services/mgmt/monitor/src/package_2017_11_01_preview_only/operations.rs index b480eb87a3..a4ffc83612 100644 --- a/services/mgmt/monitor/src/package_2017_11_01_preview_only/operations.rs +++ b/services/mgmt/monitor/src/package_2017_11_01_preview_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod metric_baseline { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -71,7 +71,7 @@ pub mod metric_baseline { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -142,7 +142,7 @@ pub mod metric_baseline { } } pub mod calculate_baseline { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/monitor/src/package_2017_12/operations.rs b/services/mgmt/monitor/src/package_2017_12/operations.rs index c6e9bd23ae..d9a2d3c2d1 100644 --- a/services/mgmt/monitor/src/package_2017_12/operations.rs +++ b/services/mgmt/monitor/src/package_2017_12/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod autoscale_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -56,7 +56,7 @@ pub mod autoscale_settings { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -126,7 +126,7 @@ pub mod autoscale_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -207,7 +207,7 @@ pub mod autoscale_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AutoscaleSettingResource), @@ -284,7 +284,7 @@ pub mod autoscale_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -350,7 +350,7 @@ pub mod autoscale_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -424,7 +424,7 @@ pub mod autoscale_settings { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -448,7 +448,7 @@ pub mod autoscale_settings { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Insights/operations", operation_config.base_path(),); @@ -484,7 +484,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -505,7 +505,7 @@ pub mod operations { } } pub mod alert_rule_incidents { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -556,7 +556,7 @@ pub mod alert_rule_incidents { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -627,7 +627,7 @@ pub mod alert_rule_incidents { } } pub mod list_by_alert_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -648,7 +648,7 @@ pub mod alert_rule_incidents { } } pub mod alert_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -697,7 +697,7 @@ pub mod alert_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -778,7 +778,7 @@ pub mod alert_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AlertRuleResource), @@ -861,7 +861,7 @@ pub mod alert_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AlertRuleResource), @@ -932,7 +932,7 @@ pub mod alert_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1010,7 +1010,7 @@ pub mod alert_rules { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1079,7 +1079,7 @@ pub mod alert_rules { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1103,7 +1103,7 @@ pub mod alert_rules { } } pub mod log_profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, log_profile_name: &str, @@ -1150,7 +1150,7 @@ pub mod log_profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1221,7 +1221,7 @@ pub mod log_profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1288,7 +1288,7 @@ pub mod log_profiles { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1349,7 +1349,7 @@ pub mod log_profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1410,7 +1410,7 @@ pub mod log_profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1431,7 +1431,7 @@ pub mod log_profiles { } } pub mod diagnostic_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -1478,7 +1478,7 @@ pub mod diagnostic_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1551,7 +1551,7 @@ pub mod diagnostic_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1615,7 +1615,7 @@ pub mod diagnostic_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1686,7 +1686,7 @@ pub mod diagnostic_settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1710,7 +1710,7 @@ pub mod diagnostic_settings { } } pub mod diagnostic_settings_category { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -1757,7 +1757,7 @@ pub mod diagnostic_settings_category { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1823,7 +1823,7 @@ pub mod diagnostic_settings_category { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1847,7 +1847,7 @@ pub mod diagnostic_settings_category { } } pub mod action_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1896,7 +1896,7 @@ pub mod action_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1977,7 +1977,7 @@ pub mod action_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ActionGroupResource), @@ -2054,7 +2054,7 @@ pub mod action_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2120,7 +2120,7 @@ pub mod action_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2196,7 +2196,7 @@ pub mod action_groups { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2269,7 +2269,7 @@ pub mod action_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2340,7 +2340,7 @@ pub mod action_groups { } } pub mod enable_receiver { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2366,7 +2366,7 @@ pub mod action_groups { } } pub mod activity_log_alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2415,7 +2415,7 @@ pub mod activity_log_alerts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2496,7 +2496,7 @@ pub mod activity_log_alerts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ActivityLogAlertResource), @@ -2573,7 +2573,7 @@ pub mod activity_log_alerts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2639,7 +2639,7 @@ pub mod activity_log_alerts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2715,7 +2715,7 @@ pub mod activity_log_alerts { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2788,7 +2788,7 @@ pub mod activity_log_alerts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2812,7 +2812,7 @@ pub mod activity_log_alerts { } } pub mod activity_logs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: &str, @@ -2863,7 +2863,7 @@ pub mod activity_logs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2887,7 +2887,7 @@ pub mod activity_logs { } } pub mod event_categories { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Insights/eventcategories", operation_config.base_path(),); @@ -2925,7 +2925,7 @@ pub mod event_categories { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2949,7 +2949,7 @@ pub mod event_categories { } } pub mod tenant_activity_logs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -3000,7 +3000,7 @@ pub mod tenant_activity_logs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3024,7 +3024,7 @@ pub mod tenant_activity_logs { } } pub mod metric_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -3069,7 +3069,7 @@ pub mod metric_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3093,7 +3093,7 @@ pub mod metric_definitions { } } pub mod metrics { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -3170,7 +3170,7 @@ pub mod metrics { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3194,7 +3194,7 @@ pub mod metrics { } } pub mod metric_baseline { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -3261,7 +3261,7 @@ pub mod metric_baseline { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3332,7 +3332,7 @@ pub mod metric_baseline { } } pub mod calculate_baseline { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/monitor/src/package_2017_12_01_preview_only/operations.rs b/services/mgmt/monitor/src/package_2017_12_01_preview_only/operations.rs index d1dd5e8a4d..1189506cd3 100644 --- a/services/mgmt/monitor/src/package_2017_12_01_preview_only/operations.rs +++ b/services/mgmt/monitor/src/package_2017_12_01_preview_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod metric_namespaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -53,7 +53,7 @@ pub mod metric_namespaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/monitor/src/package_2018_01_01_only/operations.rs b/services/mgmt/monitor/src/package_2018_01_01_only/operations.rs index d116988843..c101844aeb 100644 --- a/services/mgmt/monitor/src/package_2018_01_01_only/operations.rs +++ b/services/mgmt/monitor/src/package_2018_01_01_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod metric_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -53,7 +53,7 @@ pub mod metric_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -77,7 +77,7 @@ pub mod metric_definitions { } } pub mod metrics { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -158,7 +158,7 @@ pub mod metrics { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/monitor/src/package_2018_02_preview/operations.rs b/services/mgmt/monitor/src/package_2018_02_preview/operations.rs index 289eca8b62..7a4a9cf717 100644 --- a/services/mgmt/monitor/src/package_2018_02_preview/operations.rs +++ b/services/mgmt/monitor/src/package_2018_02_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod autoscale_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -56,7 +56,7 @@ pub mod autoscale_settings { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -126,7 +126,7 @@ pub mod autoscale_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -207,7 +207,7 @@ pub mod autoscale_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AutoscaleSettingResource), @@ -284,7 +284,7 @@ pub mod autoscale_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -350,7 +350,7 @@ pub mod autoscale_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -424,7 +424,7 @@ pub mod autoscale_settings { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -448,7 +448,7 @@ pub mod autoscale_settings { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Insights/operations", operation_config.base_path(),); @@ -484,7 +484,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -505,7 +505,7 @@ pub mod operations { } } pub mod alert_rule_incidents { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -556,7 +556,7 @@ pub mod alert_rule_incidents { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -627,7 +627,7 @@ pub mod alert_rule_incidents { } } pub mod list_by_alert_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -648,7 +648,7 @@ pub mod alert_rule_incidents { } } pub mod alert_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -697,7 +697,7 @@ pub mod alert_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -778,7 +778,7 @@ pub mod alert_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AlertRuleResource), @@ -861,7 +861,7 @@ pub mod alert_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AlertRuleResource), @@ -932,7 +932,7 @@ pub mod alert_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1010,7 +1010,7 @@ pub mod alert_rules { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1079,7 +1079,7 @@ pub mod alert_rules { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1103,7 +1103,7 @@ pub mod alert_rules { } } pub mod log_profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, log_profile_name: &str, @@ -1150,7 +1150,7 @@ pub mod log_profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1221,7 +1221,7 @@ pub mod log_profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1288,7 +1288,7 @@ pub mod log_profiles { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1349,7 +1349,7 @@ pub mod log_profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1410,7 +1410,7 @@ pub mod log_profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1431,7 +1431,7 @@ pub mod log_profiles { } } pub mod diagnostic_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -1478,7 +1478,7 @@ pub mod diagnostic_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1551,7 +1551,7 @@ pub mod diagnostic_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1615,7 +1615,7 @@ pub mod diagnostic_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1686,7 +1686,7 @@ pub mod diagnostic_settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1710,7 +1710,7 @@ pub mod diagnostic_settings { } } pub mod diagnostic_settings_category { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -1757,7 +1757,7 @@ pub mod diagnostic_settings_category { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1823,7 +1823,7 @@ pub mod diagnostic_settings_category { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1847,7 +1847,7 @@ pub mod diagnostic_settings_category { } } pub mod action_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1896,7 +1896,7 @@ pub mod action_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1977,7 +1977,7 @@ pub mod action_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ActionGroupResource), @@ -2054,7 +2054,7 @@ pub mod action_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2120,7 +2120,7 @@ pub mod action_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2196,7 +2196,7 @@ pub mod action_groups { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2269,7 +2269,7 @@ pub mod action_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2340,7 +2340,7 @@ pub mod action_groups { } } pub mod enable_receiver { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2366,7 +2366,7 @@ pub mod action_groups { } } pub mod activity_log_alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2415,7 +2415,7 @@ pub mod activity_log_alerts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2496,7 +2496,7 @@ pub mod activity_log_alerts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ActivityLogAlertResource), @@ -2573,7 +2573,7 @@ pub mod activity_log_alerts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2639,7 +2639,7 @@ pub mod activity_log_alerts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2715,7 +2715,7 @@ pub mod activity_log_alerts { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2788,7 +2788,7 @@ pub mod activity_log_alerts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2812,7 +2812,7 @@ pub mod activity_log_alerts { } } pub mod activity_logs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: &str, @@ -2863,7 +2863,7 @@ pub mod activity_logs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2887,7 +2887,7 @@ pub mod activity_logs { } } pub mod event_categories { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Insights/eventcategories", operation_config.base_path(),); @@ -2925,7 +2925,7 @@ pub mod event_categories { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2949,7 +2949,7 @@ pub mod event_categories { } } pub mod tenant_activity_logs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -3000,7 +3000,7 @@ pub mod tenant_activity_logs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3024,7 +3024,7 @@ pub mod tenant_activity_logs { } } pub mod metric_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -3073,7 +3073,7 @@ pub mod metric_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3097,7 +3097,7 @@ pub mod metric_definitions { } } pub mod metrics { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -3178,7 +3178,7 @@ pub mod metrics { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3202,7 +3202,7 @@ pub mod metrics { } } pub mod metric_baseline { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -3269,7 +3269,7 @@ pub mod metric_baseline { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3340,7 +3340,7 @@ pub mod metric_baseline { } } pub mod calculate_baseline { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/monitor/src/package_2018_03/operations.rs b/services/mgmt/monitor/src/package_2018_03/operations.rs index 3570876d14..0e322d2f32 100644 --- a/services/mgmt/monitor/src/package_2018_03/operations.rs +++ b/services/mgmt/monitor/src/package_2018_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod autoscale_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -56,7 +56,7 @@ pub mod autoscale_settings { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -126,7 +126,7 @@ pub mod autoscale_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -207,7 +207,7 @@ pub mod autoscale_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AutoscaleSettingResource), @@ -284,7 +284,7 @@ pub mod autoscale_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -350,7 +350,7 @@ pub mod autoscale_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -424,7 +424,7 @@ pub mod autoscale_settings { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -448,7 +448,7 @@ pub mod autoscale_settings { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Insights/operations", operation_config.base_path(),); @@ -484,7 +484,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -505,7 +505,7 @@ pub mod operations { } } pub mod alert_rule_incidents { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -556,7 +556,7 @@ pub mod alert_rule_incidents { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -627,7 +627,7 @@ pub mod alert_rule_incidents { } } pub mod list_by_alert_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -648,7 +648,7 @@ pub mod alert_rule_incidents { } } pub mod alert_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -697,7 +697,7 @@ pub mod alert_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -778,7 +778,7 @@ pub mod alert_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AlertRuleResource), @@ -861,7 +861,7 @@ pub mod alert_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AlertRuleResource), @@ -932,7 +932,7 @@ pub mod alert_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1010,7 +1010,7 @@ pub mod alert_rules { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1079,7 +1079,7 @@ pub mod alert_rules { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1103,7 +1103,7 @@ pub mod alert_rules { } } pub mod log_profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, log_profile_name: &str, @@ -1150,7 +1150,7 @@ pub mod log_profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1221,7 +1221,7 @@ pub mod log_profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1288,7 +1288,7 @@ pub mod log_profiles { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1349,7 +1349,7 @@ pub mod log_profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1410,7 +1410,7 @@ pub mod log_profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1431,7 +1431,7 @@ pub mod log_profiles { } } pub mod diagnostic_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -1478,7 +1478,7 @@ pub mod diagnostic_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1551,7 +1551,7 @@ pub mod diagnostic_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1615,7 +1615,7 @@ pub mod diagnostic_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1686,7 +1686,7 @@ pub mod diagnostic_settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1710,7 +1710,7 @@ pub mod diagnostic_settings { } } pub mod diagnostic_settings_category { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -1757,7 +1757,7 @@ pub mod diagnostic_settings_category { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1823,7 +1823,7 @@ pub mod diagnostic_settings_category { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1847,7 +1847,7 @@ pub mod diagnostic_settings_category { } } pub mod action_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1896,7 +1896,7 @@ pub mod action_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1977,7 +1977,7 @@ pub mod action_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ActionGroupResource), @@ -2054,7 +2054,7 @@ pub mod action_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2120,7 +2120,7 @@ pub mod action_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2196,7 +2196,7 @@ pub mod action_groups { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2269,7 +2269,7 @@ pub mod action_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2340,7 +2340,7 @@ pub mod action_groups { } } pub mod enable_receiver { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2366,7 +2366,7 @@ pub mod action_groups { } } pub mod activity_log_alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2415,7 +2415,7 @@ pub mod activity_log_alerts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2496,7 +2496,7 @@ pub mod activity_log_alerts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ActivityLogAlertResource), @@ -2573,7 +2573,7 @@ pub mod activity_log_alerts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2639,7 +2639,7 @@ pub mod activity_log_alerts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2715,7 +2715,7 @@ pub mod activity_log_alerts { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2788,7 +2788,7 @@ pub mod activity_log_alerts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2812,7 +2812,7 @@ pub mod activity_log_alerts { } } pub mod activity_logs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: &str, @@ -2863,7 +2863,7 @@ pub mod activity_logs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2887,7 +2887,7 @@ pub mod activity_logs { } } pub mod event_categories { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Insights/eventcategories", operation_config.base_path(),); @@ -2925,7 +2925,7 @@ pub mod event_categories { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2949,7 +2949,7 @@ pub mod event_categories { } } pub mod tenant_activity_logs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -3000,7 +3000,7 @@ pub mod tenant_activity_logs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3024,7 +3024,7 @@ pub mod tenant_activity_logs { } } pub mod metric_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -3073,7 +3073,7 @@ pub mod metric_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3097,7 +3097,7 @@ pub mod metric_definitions { } } pub mod metrics { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -3178,7 +3178,7 @@ pub mod metrics { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3202,7 +3202,7 @@ pub mod metrics { } } pub mod metric_baseline { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -3269,7 +3269,7 @@ pub mod metric_baseline { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3340,7 +3340,7 @@ pub mod metric_baseline { } } pub mod calculate_baseline { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3364,7 +3364,7 @@ pub mod metric_baseline { } } pub mod metric_alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3412,7 +3412,7 @@ pub mod metric_alerts { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3485,7 +3485,7 @@ pub mod metric_alerts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3555,7 +3555,7 @@ pub mod metric_alerts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3630,7 +3630,7 @@ pub mod metric_alerts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3702,7 +3702,7 @@ pub mod metric_alerts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3768,7 +3768,7 @@ pub mod metric_alerts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3797,7 +3797,7 @@ pub mod metric_alerts { } } pub mod metric_alerts_status { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3846,7 +3846,7 @@ pub mod metric_alerts_status { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3921,7 +3921,7 @@ pub mod metric_alerts_status { } } pub mod list_by_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3945,7 +3945,7 @@ pub mod metric_alerts_status { } } pub mod scheduled_query_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3994,7 +3994,7 @@ pub mod scheduled_query_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4075,7 +4075,7 @@ pub mod scheduled_query_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogSearchRuleResource), @@ -4152,7 +4152,7 @@ pub mod scheduled_query_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4218,7 +4218,7 @@ pub mod scheduled_query_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4296,7 +4296,7 @@ pub mod scheduled_query_rules { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4373,7 +4373,7 @@ pub mod scheduled_query_rules { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/monitor/src/package_2018_03_01_only/operations.rs b/services/mgmt/monitor/src/package_2018_03_01_only/operations.rs index 808662a9fd..ac4e0f0498 100644 --- a/services/mgmt/monitor/src/package_2018_03_01_only/operations.rs +++ b/services/mgmt/monitor/src/package_2018_03_01_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod action_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod action_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod action_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ActionGroupResource), @@ -211,7 +211,7 @@ pub mod action_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -277,7 +277,7 @@ pub mod action_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -353,7 +353,7 @@ pub mod action_groups { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -426,7 +426,7 @@ pub mod action_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -497,7 +497,7 @@ pub mod action_groups { } } pub mod enable_receiver { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -523,7 +523,7 @@ pub mod action_groups { } } pub mod metric_alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -571,7 +571,7 @@ pub mod metric_alerts { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -644,7 +644,7 @@ pub mod metric_alerts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -714,7 +714,7 @@ pub mod metric_alerts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -789,7 +789,7 @@ pub mod metric_alerts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -861,7 +861,7 @@ pub mod metric_alerts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -927,7 +927,7 @@ pub mod metric_alerts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -956,7 +956,7 @@ pub mod metric_alerts { } } pub mod metric_alerts_status { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1005,7 +1005,7 @@ pub mod metric_alerts_status { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1080,7 +1080,7 @@ pub mod metric_alerts_status { } } pub mod list_by_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/monitor/src/package_2018_04_16_only/operations.rs b/services/mgmt/monitor/src/package_2018_04_16_only/operations.rs index 6157d9b615..7eb8960ada 100644 --- a/services/mgmt/monitor/src/package_2018_04_16_only/operations.rs +++ b/services/mgmt/monitor/src/package_2018_04_16_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod scheduled_query_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod scheduled_query_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod scheduled_query_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogSearchRuleResource), @@ -211,7 +211,7 @@ pub mod scheduled_query_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -277,7 +277,7 @@ pub mod scheduled_query_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -355,7 +355,7 @@ pub mod scheduled_query_rules { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -432,7 +432,7 @@ pub mod scheduled_query_rules { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/monitor/src/package_2018_06_01_preview_only/operations.rs b/services/mgmt/monitor/src/package_2018_06_01_preview_only/operations.rs index 6ff60764ce..03c6f3108d 100644 --- a/services/mgmt/monitor/src/package_2018_06_01_preview_only/operations.rs +++ b/services/mgmt/monitor/src/package_2018_06_01_preview_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod guest_diagnostics_settings_association { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -51,7 +51,7 @@ pub mod guest_diagnostics_settings_association { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -130,7 +130,7 @@ pub mod guest_diagnostics_settings_association { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GuestDiagnosticSettingsAssociationResource), @@ -205,7 +205,7 @@ pub mod guest_diagnostics_settings_association { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -269,7 +269,7 @@ pub mod guest_diagnostics_settings_association { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -340,7 +340,7 @@ pub mod guest_diagnostics_settings_association { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -413,7 +413,7 @@ pub mod guest_diagnostics_settings_association { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -437,7 +437,7 @@ pub mod guest_diagnostics_settings_association { } } pub mod guest_diagnostics_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -486,7 +486,7 @@ pub mod guest_diagnostics_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -567,7 +567,7 @@ pub mod guest_diagnostics_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GuestDiagnosticSettingsResource), @@ -650,7 +650,7 @@ pub mod guest_diagnostics_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GuestDiagnosticSettingsResource), @@ -721,7 +721,7 @@ pub mod guest_diagnostics_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -792,7 +792,7 @@ pub mod guest_diagnostics_settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -865,7 +865,7 @@ pub mod guest_diagnostics_settings { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/monitor/src/package_2018_09/operations.rs b/services/mgmt/monitor/src/package_2018_09/operations.rs index 4f2835706e..a14bfb3d4e 100644 --- a/services/mgmt/monitor/src/package_2018_09/operations.rs +++ b/services/mgmt/monitor/src/package_2018_09/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod autoscale_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -56,7 +56,7 @@ pub mod autoscale_settings { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -126,7 +126,7 @@ pub mod autoscale_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -207,7 +207,7 @@ pub mod autoscale_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AutoscaleSettingResource), @@ -284,7 +284,7 @@ pub mod autoscale_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -350,7 +350,7 @@ pub mod autoscale_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -424,7 +424,7 @@ pub mod autoscale_settings { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -448,7 +448,7 @@ pub mod autoscale_settings { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Insights/operations", operation_config.base_path(),); @@ -484,7 +484,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -505,7 +505,7 @@ pub mod operations { } } pub mod alert_rule_incidents { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -556,7 +556,7 @@ pub mod alert_rule_incidents { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -627,7 +627,7 @@ pub mod alert_rule_incidents { } } pub mod list_by_alert_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -648,7 +648,7 @@ pub mod alert_rule_incidents { } } pub mod alert_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -697,7 +697,7 @@ pub mod alert_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -778,7 +778,7 @@ pub mod alert_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AlertRuleResource), @@ -861,7 +861,7 @@ pub mod alert_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AlertRuleResource), @@ -932,7 +932,7 @@ pub mod alert_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1010,7 +1010,7 @@ pub mod alert_rules { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1079,7 +1079,7 @@ pub mod alert_rules { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1103,7 +1103,7 @@ pub mod alert_rules { } } pub mod log_profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, log_profile_name: &str, @@ -1150,7 +1150,7 @@ pub mod log_profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1221,7 +1221,7 @@ pub mod log_profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1288,7 +1288,7 @@ pub mod log_profiles { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1349,7 +1349,7 @@ pub mod log_profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1410,7 +1410,7 @@ pub mod log_profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1431,7 +1431,7 @@ pub mod log_profiles { } } pub mod diagnostic_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -1478,7 +1478,7 @@ pub mod diagnostic_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1551,7 +1551,7 @@ pub mod diagnostic_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1615,7 +1615,7 @@ pub mod diagnostic_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1686,7 +1686,7 @@ pub mod diagnostic_settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1710,7 +1710,7 @@ pub mod diagnostic_settings { } } pub mod diagnostic_settings_category { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -1757,7 +1757,7 @@ pub mod diagnostic_settings_category { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1823,7 +1823,7 @@ pub mod diagnostic_settings_category { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1847,7 +1847,7 @@ pub mod diagnostic_settings_category { } } pub mod action_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1896,7 +1896,7 @@ pub mod action_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1977,7 +1977,7 @@ pub mod action_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ActionGroupResource), @@ -2054,7 +2054,7 @@ pub mod action_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2120,7 +2120,7 @@ pub mod action_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2196,7 +2196,7 @@ pub mod action_groups { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2269,7 +2269,7 @@ pub mod action_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2340,7 +2340,7 @@ pub mod action_groups { } } pub mod enable_receiver { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2366,7 +2366,7 @@ pub mod action_groups { } } pub mod activity_log_alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2415,7 +2415,7 @@ pub mod activity_log_alerts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2496,7 +2496,7 @@ pub mod activity_log_alerts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ActivityLogAlertResource), @@ -2573,7 +2573,7 @@ pub mod activity_log_alerts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2639,7 +2639,7 @@ pub mod activity_log_alerts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2715,7 +2715,7 @@ pub mod activity_log_alerts { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2788,7 +2788,7 @@ pub mod activity_log_alerts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2812,7 +2812,7 @@ pub mod activity_log_alerts { } } pub mod activity_logs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: &str, @@ -2863,7 +2863,7 @@ pub mod activity_logs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2887,7 +2887,7 @@ pub mod activity_logs { } } pub mod event_categories { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Insights/eventcategories", operation_config.base_path(),); @@ -2925,7 +2925,7 @@ pub mod event_categories { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2949,7 +2949,7 @@ pub mod event_categories { } } pub mod tenant_activity_logs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -3000,7 +3000,7 @@ pub mod tenant_activity_logs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3024,7 +3024,7 @@ pub mod tenant_activity_logs { } } pub mod metric_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -3073,7 +3073,7 @@ pub mod metric_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3097,7 +3097,7 @@ pub mod metric_definitions { } } pub mod metrics { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -3178,7 +3178,7 @@ pub mod metrics { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3202,7 +3202,7 @@ pub mod metrics { } } pub mod metric_baseline { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -3269,7 +3269,7 @@ pub mod metric_baseline { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3340,7 +3340,7 @@ pub mod metric_baseline { } } pub mod calculate_baseline { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3364,7 +3364,7 @@ pub mod metric_baseline { } } pub mod metric_alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3412,7 +3412,7 @@ pub mod metric_alerts { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3485,7 +3485,7 @@ pub mod metric_alerts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3555,7 +3555,7 @@ pub mod metric_alerts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3630,7 +3630,7 @@ pub mod metric_alerts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3702,7 +3702,7 @@ pub mod metric_alerts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3768,7 +3768,7 @@ pub mod metric_alerts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3797,7 +3797,7 @@ pub mod metric_alerts { } } pub mod metric_alerts_status { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3846,7 +3846,7 @@ pub mod metric_alerts_status { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3921,7 +3921,7 @@ pub mod metric_alerts_status { } } pub mod list_by_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3945,7 +3945,7 @@ pub mod metric_alerts_status { } } pub mod scheduled_query_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3994,7 +3994,7 @@ pub mod scheduled_query_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4075,7 +4075,7 @@ pub mod scheduled_query_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogSearchRuleResource), @@ -4152,7 +4152,7 @@ pub mod scheduled_query_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4218,7 +4218,7 @@ pub mod scheduled_query_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4296,7 +4296,7 @@ pub mod scheduled_query_rules { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4373,7 +4373,7 @@ pub mod scheduled_query_rules { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4397,7 +4397,7 @@ pub mod scheduled_query_rules { } } pub mod baselines { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -4474,7 +4474,7 @@ pub mod baselines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/monitor/src/package_2018_09_01_only/operations.rs b/services/mgmt/monitor/src/package_2018_09_01_only/operations.rs index a7d5613177..dd0d5d70a9 100644 --- a/services/mgmt/monitor/src/package_2018_09_01_only/operations.rs +++ b/services/mgmt/monitor/src/package_2018_09_01_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod action_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod action_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod action_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ActionGroupResource), @@ -211,7 +211,7 @@ pub mod action_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -277,7 +277,7 @@ pub mod action_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -353,7 +353,7 @@ pub mod action_groups { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -426,7 +426,7 @@ pub mod action_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -497,7 +497,7 @@ pub mod action_groups { } } pub mod enable_receiver { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -523,7 +523,7 @@ pub mod action_groups { } } pub mod metric_baseline { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -598,7 +598,7 @@ pub mod metric_baseline { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -669,7 +669,7 @@ pub mod metric_baseline { } } pub mod calculate_baseline { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -693,7 +693,7 @@ pub mod metric_baseline { } } pub mod baseline { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -770,7 +770,7 @@ pub mod baseline { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/monitor/src/package_2018_11_27_preview_only/operations.rs b/services/mgmt/monitor/src/package_2018_11_27_preview_only/operations.rs index d53eb1e449..093ef18539 100644 --- a/services/mgmt/monitor/src/package_2018_11_27_preview_only/operations.rs +++ b/services/mgmt/monitor/src/package_2018_11_27_preview_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod vm_insights { - use crate::models::*; + use super::{models, models::*}; pub async fn get_onboarding_status( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -54,7 +54,7 @@ pub mod vm_insights { } } pub mod get_onboarding_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/monitor/src/package_2018_11_preview/operations.rs b/services/mgmt/monitor/src/package_2018_11_preview/operations.rs index 83feddfa2a..39367b176c 100644 --- a/services/mgmt/monitor/src/package_2018_11_preview/operations.rs +++ b/services/mgmt/monitor/src/package_2018_11_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod autoscale_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -56,7 +56,7 @@ pub mod autoscale_settings { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -126,7 +126,7 @@ pub mod autoscale_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -207,7 +207,7 @@ pub mod autoscale_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AutoscaleSettingResource), @@ -284,7 +284,7 @@ pub mod autoscale_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -350,7 +350,7 @@ pub mod autoscale_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -424,7 +424,7 @@ pub mod autoscale_settings { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -448,7 +448,7 @@ pub mod autoscale_settings { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Insights/operations", operation_config.base_path(),); @@ -484,7 +484,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -505,7 +505,7 @@ pub mod operations { } } pub mod alert_rule_incidents { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -556,7 +556,7 @@ pub mod alert_rule_incidents { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -627,7 +627,7 @@ pub mod alert_rule_incidents { } } pub mod list_by_alert_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -648,7 +648,7 @@ pub mod alert_rule_incidents { } } pub mod alert_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -697,7 +697,7 @@ pub mod alert_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -778,7 +778,7 @@ pub mod alert_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AlertRuleResource), @@ -861,7 +861,7 @@ pub mod alert_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AlertRuleResource), @@ -932,7 +932,7 @@ pub mod alert_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1010,7 +1010,7 @@ pub mod alert_rules { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1079,7 +1079,7 @@ pub mod alert_rules { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1103,7 +1103,7 @@ pub mod alert_rules { } } pub mod log_profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, log_profile_name: &str, @@ -1150,7 +1150,7 @@ pub mod log_profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1221,7 +1221,7 @@ pub mod log_profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1288,7 +1288,7 @@ pub mod log_profiles { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1349,7 +1349,7 @@ pub mod log_profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1410,7 +1410,7 @@ pub mod log_profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1431,7 +1431,7 @@ pub mod log_profiles { } } pub mod diagnostic_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -1478,7 +1478,7 @@ pub mod diagnostic_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1551,7 +1551,7 @@ pub mod diagnostic_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1615,7 +1615,7 @@ pub mod diagnostic_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1686,7 +1686,7 @@ pub mod diagnostic_settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1710,7 +1710,7 @@ pub mod diagnostic_settings { } } pub mod diagnostic_settings_category { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -1757,7 +1757,7 @@ pub mod diagnostic_settings_category { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1823,7 +1823,7 @@ pub mod diagnostic_settings_category { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1847,7 +1847,7 @@ pub mod diagnostic_settings_category { } } pub mod action_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1896,7 +1896,7 @@ pub mod action_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1977,7 +1977,7 @@ pub mod action_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ActionGroupResource), @@ -2054,7 +2054,7 @@ pub mod action_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2120,7 +2120,7 @@ pub mod action_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2196,7 +2196,7 @@ pub mod action_groups { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2269,7 +2269,7 @@ pub mod action_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2340,7 +2340,7 @@ pub mod action_groups { } } pub mod enable_receiver { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2366,7 +2366,7 @@ pub mod action_groups { } } pub mod activity_log_alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2415,7 +2415,7 @@ pub mod activity_log_alerts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2496,7 +2496,7 @@ pub mod activity_log_alerts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ActivityLogAlertResource), @@ -2573,7 +2573,7 @@ pub mod activity_log_alerts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2639,7 +2639,7 @@ pub mod activity_log_alerts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2715,7 +2715,7 @@ pub mod activity_log_alerts { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2788,7 +2788,7 @@ pub mod activity_log_alerts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2812,7 +2812,7 @@ pub mod activity_log_alerts { } } pub mod activity_logs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: &str, @@ -2863,7 +2863,7 @@ pub mod activity_logs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2887,7 +2887,7 @@ pub mod activity_logs { } } pub mod event_categories { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Insights/eventcategories", operation_config.base_path(),); @@ -2925,7 +2925,7 @@ pub mod event_categories { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2949,7 +2949,7 @@ pub mod event_categories { } } pub mod tenant_activity_logs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -3000,7 +3000,7 @@ pub mod tenant_activity_logs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3024,7 +3024,7 @@ pub mod tenant_activity_logs { } } pub mod metric_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -3073,7 +3073,7 @@ pub mod metric_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3097,7 +3097,7 @@ pub mod metric_definitions { } } pub mod metrics { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -3178,7 +3178,7 @@ pub mod metrics { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3202,7 +3202,7 @@ pub mod metrics { } } pub mod metric_baseline { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -3269,7 +3269,7 @@ pub mod metric_baseline { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3340,7 +3340,7 @@ pub mod metric_baseline { } } pub mod calculate_baseline { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3364,7 +3364,7 @@ pub mod metric_baseline { } } pub mod metric_alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3412,7 +3412,7 @@ pub mod metric_alerts { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3485,7 +3485,7 @@ pub mod metric_alerts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3555,7 +3555,7 @@ pub mod metric_alerts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3630,7 +3630,7 @@ pub mod metric_alerts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3702,7 +3702,7 @@ pub mod metric_alerts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3768,7 +3768,7 @@ pub mod metric_alerts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3797,7 +3797,7 @@ pub mod metric_alerts { } } pub mod metric_alerts_status { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3846,7 +3846,7 @@ pub mod metric_alerts_status { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3921,7 +3921,7 @@ pub mod metric_alerts_status { } } pub mod list_by_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3945,7 +3945,7 @@ pub mod metric_alerts_status { } } pub mod scheduled_query_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3994,7 +3994,7 @@ pub mod scheduled_query_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4075,7 +4075,7 @@ pub mod scheduled_query_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogSearchRuleResource), @@ -4152,7 +4152,7 @@ pub mod scheduled_query_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4218,7 +4218,7 @@ pub mod scheduled_query_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4296,7 +4296,7 @@ pub mod scheduled_query_rules { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4373,7 +4373,7 @@ pub mod scheduled_query_rules { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4397,7 +4397,7 @@ pub mod scheduled_query_rules { } } pub mod metric_namespaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -4446,7 +4446,7 @@ pub mod metric_namespaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4470,7 +4470,7 @@ pub mod metric_namespaces { } } pub mod vm_insights { - use crate::models::*; + use super::{models, models::*}; pub async fn get_onboarding_status( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -4520,7 +4520,7 @@ pub mod vm_insights { } } pub mod get_onboarding_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/monitor/src/package_2019_03/operations.rs b/services/mgmt/monitor/src/package_2019_03/operations.rs index dd73c8ab10..0a7b288193 100644 --- a/services/mgmt/monitor/src/package_2019_03/operations.rs +++ b/services/mgmt/monitor/src/package_2019_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod autoscale_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -56,7 +56,7 @@ pub mod autoscale_settings { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -126,7 +126,7 @@ pub mod autoscale_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -207,7 +207,7 @@ pub mod autoscale_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AutoscaleSettingResource), @@ -284,7 +284,7 @@ pub mod autoscale_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -350,7 +350,7 @@ pub mod autoscale_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -424,7 +424,7 @@ pub mod autoscale_settings { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -448,7 +448,7 @@ pub mod autoscale_settings { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Insights/operations", operation_config.base_path(),); @@ -484,7 +484,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -505,7 +505,7 @@ pub mod operations { } } pub mod alert_rule_incidents { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -556,7 +556,7 @@ pub mod alert_rule_incidents { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -627,7 +627,7 @@ pub mod alert_rule_incidents { } } pub mod list_by_alert_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -648,7 +648,7 @@ pub mod alert_rule_incidents { } } pub mod alert_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -697,7 +697,7 @@ pub mod alert_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -778,7 +778,7 @@ pub mod alert_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AlertRuleResource), @@ -861,7 +861,7 @@ pub mod alert_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AlertRuleResource), @@ -932,7 +932,7 @@ pub mod alert_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1010,7 +1010,7 @@ pub mod alert_rules { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1079,7 +1079,7 @@ pub mod alert_rules { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1103,7 +1103,7 @@ pub mod alert_rules { } } pub mod log_profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, log_profile_name: &str, @@ -1150,7 +1150,7 @@ pub mod log_profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1221,7 +1221,7 @@ pub mod log_profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1288,7 +1288,7 @@ pub mod log_profiles { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1349,7 +1349,7 @@ pub mod log_profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1410,7 +1410,7 @@ pub mod log_profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1431,7 +1431,7 @@ pub mod log_profiles { } } pub mod diagnostic_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -1478,7 +1478,7 @@ pub mod diagnostic_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1551,7 +1551,7 @@ pub mod diagnostic_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1615,7 +1615,7 @@ pub mod diagnostic_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1686,7 +1686,7 @@ pub mod diagnostic_settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1710,7 +1710,7 @@ pub mod diagnostic_settings { } } pub mod diagnostic_settings_category { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -1757,7 +1757,7 @@ pub mod diagnostic_settings_category { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1823,7 +1823,7 @@ pub mod diagnostic_settings_category { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1847,7 +1847,7 @@ pub mod diagnostic_settings_category { } } pub mod action_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1896,7 +1896,7 @@ pub mod action_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1977,7 +1977,7 @@ pub mod action_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ActionGroupResource), @@ -2054,7 +2054,7 @@ pub mod action_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2120,7 +2120,7 @@ pub mod action_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2196,7 +2196,7 @@ pub mod action_groups { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2269,7 +2269,7 @@ pub mod action_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2340,7 +2340,7 @@ pub mod action_groups { } } pub mod enable_receiver { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2366,7 +2366,7 @@ pub mod action_groups { } } pub mod activity_log_alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2415,7 +2415,7 @@ pub mod activity_log_alerts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2496,7 +2496,7 @@ pub mod activity_log_alerts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ActivityLogAlertResource), @@ -2573,7 +2573,7 @@ pub mod activity_log_alerts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2639,7 +2639,7 @@ pub mod activity_log_alerts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2715,7 +2715,7 @@ pub mod activity_log_alerts { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2788,7 +2788,7 @@ pub mod activity_log_alerts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2812,7 +2812,7 @@ pub mod activity_log_alerts { } } pub mod activity_logs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: &str, @@ -2863,7 +2863,7 @@ pub mod activity_logs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2887,7 +2887,7 @@ pub mod activity_logs { } } pub mod event_categories { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Insights/eventcategories", operation_config.base_path(),); @@ -2925,7 +2925,7 @@ pub mod event_categories { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2949,7 +2949,7 @@ pub mod event_categories { } } pub mod tenant_activity_logs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -3000,7 +3000,7 @@ pub mod tenant_activity_logs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3024,7 +3024,7 @@ pub mod tenant_activity_logs { } } pub mod metric_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -3073,7 +3073,7 @@ pub mod metric_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3097,7 +3097,7 @@ pub mod metric_definitions { } } pub mod metrics { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -3178,7 +3178,7 @@ pub mod metrics { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3202,7 +3202,7 @@ pub mod metrics { } } pub mod baselines { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -3279,7 +3279,7 @@ pub mod baselines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3303,7 +3303,7 @@ pub mod baselines { } } pub mod metric_alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3351,7 +3351,7 @@ pub mod metric_alerts { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3424,7 +3424,7 @@ pub mod metric_alerts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3494,7 +3494,7 @@ pub mod metric_alerts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3569,7 +3569,7 @@ pub mod metric_alerts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3641,7 +3641,7 @@ pub mod metric_alerts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3707,7 +3707,7 @@ pub mod metric_alerts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3736,7 +3736,7 @@ pub mod metric_alerts { } } pub mod metric_alerts_status { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3785,7 +3785,7 @@ pub mod metric_alerts_status { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3860,7 +3860,7 @@ pub mod metric_alerts_status { } } pub mod list_by_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3884,7 +3884,7 @@ pub mod metric_alerts_status { } } pub mod scheduled_query_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3933,7 +3933,7 @@ pub mod scheduled_query_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4014,7 +4014,7 @@ pub mod scheduled_query_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogSearchRuleResource), @@ -4091,7 +4091,7 @@ pub mod scheduled_query_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4157,7 +4157,7 @@ pub mod scheduled_query_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4235,7 +4235,7 @@ pub mod scheduled_query_rules { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4312,7 +4312,7 @@ pub mod scheduled_query_rules { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4336,7 +4336,7 @@ pub mod scheduled_query_rules { } } pub mod metric_namespaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -4385,7 +4385,7 @@ pub mod metric_namespaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4409,7 +4409,7 @@ pub mod metric_namespaces { } } pub mod vm_insights { - use crate::models::*; + use super::{models, models::*}; pub async fn get_onboarding_status( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -4459,7 +4459,7 @@ pub mod vm_insights { } } pub mod get_onboarding_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/monitor/src/package_2019_03_01_only/operations.rs b/services/mgmt/monitor/src/package_2019_03_01_only/operations.rs index 9ee7842491..743140d420 100644 --- a/services/mgmt/monitor/src/package_2019_03_01_only/operations.rs +++ b/services/mgmt/monitor/src/package_2019_03_01_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod action_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod action_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod action_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ActionGroupResource), @@ -211,7 +211,7 @@ pub mod action_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -277,7 +277,7 @@ pub mod action_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -353,7 +353,7 @@ pub mod action_groups { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -426,7 +426,7 @@ pub mod action_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -497,7 +497,7 @@ pub mod action_groups { } } pub mod enable_receiver { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -523,7 +523,7 @@ pub mod action_groups { } } pub mod baselines { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -600,7 +600,7 @@ pub mod baselines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/monitor/src/package_2019_06/operations.rs b/services/mgmt/monitor/src/package_2019_06/operations.rs index dd73c8ab10..0a7b288193 100644 --- a/services/mgmt/monitor/src/package_2019_06/operations.rs +++ b/services/mgmt/monitor/src/package_2019_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod autoscale_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -56,7 +56,7 @@ pub mod autoscale_settings { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -126,7 +126,7 @@ pub mod autoscale_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -207,7 +207,7 @@ pub mod autoscale_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AutoscaleSettingResource), @@ -284,7 +284,7 @@ pub mod autoscale_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -350,7 +350,7 @@ pub mod autoscale_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -424,7 +424,7 @@ pub mod autoscale_settings { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -448,7 +448,7 @@ pub mod autoscale_settings { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Insights/operations", operation_config.base_path(),); @@ -484,7 +484,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -505,7 +505,7 @@ pub mod operations { } } pub mod alert_rule_incidents { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -556,7 +556,7 @@ pub mod alert_rule_incidents { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -627,7 +627,7 @@ pub mod alert_rule_incidents { } } pub mod list_by_alert_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -648,7 +648,7 @@ pub mod alert_rule_incidents { } } pub mod alert_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -697,7 +697,7 @@ pub mod alert_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -778,7 +778,7 @@ pub mod alert_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AlertRuleResource), @@ -861,7 +861,7 @@ pub mod alert_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AlertRuleResource), @@ -932,7 +932,7 @@ pub mod alert_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1010,7 +1010,7 @@ pub mod alert_rules { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1079,7 +1079,7 @@ pub mod alert_rules { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1103,7 +1103,7 @@ pub mod alert_rules { } } pub mod log_profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, log_profile_name: &str, @@ -1150,7 +1150,7 @@ pub mod log_profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1221,7 +1221,7 @@ pub mod log_profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1288,7 +1288,7 @@ pub mod log_profiles { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1349,7 +1349,7 @@ pub mod log_profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1410,7 +1410,7 @@ pub mod log_profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1431,7 +1431,7 @@ pub mod log_profiles { } } pub mod diagnostic_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -1478,7 +1478,7 @@ pub mod diagnostic_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1551,7 +1551,7 @@ pub mod diagnostic_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1615,7 +1615,7 @@ pub mod diagnostic_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1686,7 +1686,7 @@ pub mod diagnostic_settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1710,7 +1710,7 @@ pub mod diagnostic_settings { } } pub mod diagnostic_settings_category { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -1757,7 +1757,7 @@ pub mod diagnostic_settings_category { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1823,7 +1823,7 @@ pub mod diagnostic_settings_category { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1847,7 +1847,7 @@ pub mod diagnostic_settings_category { } } pub mod action_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1896,7 +1896,7 @@ pub mod action_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1977,7 +1977,7 @@ pub mod action_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ActionGroupResource), @@ -2054,7 +2054,7 @@ pub mod action_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2120,7 +2120,7 @@ pub mod action_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2196,7 +2196,7 @@ pub mod action_groups { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2269,7 +2269,7 @@ pub mod action_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2340,7 +2340,7 @@ pub mod action_groups { } } pub mod enable_receiver { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2366,7 +2366,7 @@ pub mod action_groups { } } pub mod activity_log_alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2415,7 +2415,7 @@ pub mod activity_log_alerts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2496,7 +2496,7 @@ pub mod activity_log_alerts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ActivityLogAlertResource), @@ -2573,7 +2573,7 @@ pub mod activity_log_alerts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2639,7 +2639,7 @@ pub mod activity_log_alerts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2715,7 +2715,7 @@ pub mod activity_log_alerts { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2788,7 +2788,7 @@ pub mod activity_log_alerts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2812,7 +2812,7 @@ pub mod activity_log_alerts { } } pub mod activity_logs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: &str, @@ -2863,7 +2863,7 @@ pub mod activity_logs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2887,7 +2887,7 @@ pub mod activity_logs { } } pub mod event_categories { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Insights/eventcategories", operation_config.base_path(),); @@ -2925,7 +2925,7 @@ pub mod event_categories { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2949,7 +2949,7 @@ pub mod event_categories { } } pub mod tenant_activity_logs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -3000,7 +3000,7 @@ pub mod tenant_activity_logs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3024,7 +3024,7 @@ pub mod tenant_activity_logs { } } pub mod metric_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -3073,7 +3073,7 @@ pub mod metric_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3097,7 +3097,7 @@ pub mod metric_definitions { } } pub mod metrics { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -3178,7 +3178,7 @@ pub mod metrics { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3202,7 +3202,7 @@ pub mod metrics { } } pub mod baselines { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -3279,7 +3279,7 @@ pub mod baselines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3303,7 +3303,7 @@ pub mod baselines { } } pub mod metric_alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3351,7 +3351,7 @@ pub mod metric_alerts { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3424,7 +3424,7 @@ pub mod metric_alerts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3494,7 +3494,7 @@ pub mod metric_alerts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3569,7 +3569,7 @@ pub mod metric_alerts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3641,7 +3641,7 @@ pub mod metric_alerts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3707,7 +3707,7 @@ pub mod metric_alerts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3736,7 +3736,7 @@ pub mod metric_alerts { } } pub mod metric_alerts_status { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3785,7 +3785,7 @@ pub mod metric_alerts_status { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3860,7 +3860,7 @@ pub mod metric_alerts_status { } } pub mod list_by_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3884,7 +3884,7 @@ pub mod metric_alerts_status { } } pub mod scheduled_query_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3933,7 +3933,7 @@ pub mod scheduled_query_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4014,7 +4014,7 @@ pub mod scheduled_query_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogSearchRuleResource), @@ -4091,7 +4091,7 @@ pub mod scheduled_query_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4157,7 +4157,7 @@ pub mod scheduled_query_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4235,7 +4235,7 @@ pub mod scheduled_query_rules { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4312,7 +4312,7 @@ pub mod scheduled_query_rules { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4336,7 +4336,7 @@ pub mod scheduled_query_rules { } } pub mod metric_namespaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -4385,7 +4385,7 @@ pub mod metric_namespaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4409,7 +4409,7 @@ pub mod metric_namespaces { } } pub mod vm_insights { - use crate::models::*; + use super::{models, models::*}; pub async fn get_onboarding_status( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -4459,7 +4459,7 @@ pub mod vm_insights { } } pub mod get_onboarding_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/monitor/src/package_2019_06_01_only/operations.rs b/services/mgmt/monitor/src/package_2019_06_01_only/operations.rs index 62b6256ba6..cdc3b9e3f3 100644 --- a/services/mgmt/monitor/src/package_2019_06_01_only/operations.rs +++ b/services/mgmt/monitor/src/package_2019_06_01_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod action_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod action_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod action_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ActionGroupResource), @@ -211,7 +211,7 @@ pub mod action_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -277,7 +277,7 @@ pub mod action_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -353,7 +353,7 @@ pub mod action_groups { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -426,7 +426,7 @@ pub mod action_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -497,7 +497,7 @@ pub mod action_groups { } } pub mod enable_receiver { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] diff --git a/services/mgmt/monitor/src/package_2019_07_only/operations.rs b/services/mgmt/monitor/src/package_2019_07_only/operations.rs index c04ad500cf..796ebcf6a1 100644 --- a/services/mgmt/monitor/src/package_2019_07_only/operations.rs +++ b/services/mgmt/monitor/src/package_2019_07_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod metrics { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -95,7 +95,7 @@ pub mod metrics { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -119,7 +119,7 @@ pub mod metrics { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Insights/operations", operation_config.base_path(),); @@ -157,7 +157,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/monitor/src/package_2019_10_17_preview_only/operations.rs b/services/mgmt/monitor/src/package_2019_10_17_preview_only/operations.rs index 26df1d4dda..9e210c726b 100644 --- a/services/mgmt/monitor/src/package_2019_10_17_preview_only/operations.rs +++ b/services/mgmt/monitor/src/package_2019_10_17_preview_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod private_link_scopes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -47,7 +47,7 @@ pub mod private_link_scopes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -115,7 +115,7 @@ pub mod private_link_scopes { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -180,7 +180,7 @@ pub mod private_link_scopes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -256,7 +256,7 @@ pub mod private_link_scopes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AzureMonitorPrivateLinkScope), @@ -331,7 +331,7 @@ pub mod private_link_scopes { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -393,7 +393,7 @@ pub mod private_link_scopes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -420,7 +420,7 @@ pub mod private_link_scopes { } } pub mod private_link_scope_operation_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, async_operation_id: &str, @@ -467,7 +467,7 @@ pub mod private_link_scope_operation_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -488,7 +488,7 @@ pub mod private_link_scope_operation_status { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_private_link_scope( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -540,7 +540,7 @@ pub mod private_link_resources { } } pub mod list_by_private_link_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -607,7 +607,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -628,7 +628,7 @@ pub mod private_link_resources { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -677,7 +677,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -750,7 +750,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -819,7 +819,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -895,7 +895,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_private_link_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -916,7 +916,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_scoped_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -965,7 +965,7 @@ pub mod private_link_scoped_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1044,7 +1044,7 @@ pub mod private_link_scoped_resources { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ScopedResource), @@ -1114,7 +1114,7 @@ pub mod private_link_scoped_resources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1190,7 +1190,7 @@ pub mod private_link_scoped_resources { } } pub mod list_by_private_link_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/monitor/src/package_2019_11/operations.rs b/services/mgmt/monitor/src/package_2019_11/operations.rs index 3fd52abe06..97d1c6b581 100644 --- a/services/mgmt/monitor/src/package_2019_11/operations.rs +++ b/services/mgmt/monitor/src/package_2019_11/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod autoscale_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -56,7 +56,7 @@ pub mod autoscale_settings { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -126,7 +126,7 @@ pub mod autoscale_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -207,7 +207,7 @@ pub mod autoscale_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AutoscaleSettingResource), @@ -284,7 +284,7 @@ pub mod autoscale_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -350,7 +350,7 @@ pub mod autoscale_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -424,7 +424,7 @@ pub mod autoscale_settings { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -448,7 +448,7 @@ pub mod autoscale_settings { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Insights/operations", operation_config.base_path(),); @@ -484,7 +484,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -505,7 +505,7 @@ pub mod operations { } } pub mod alert_rule_incidents { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -556,7 +556,7 @@ pub mod alert_rule_incidents { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -627,7 +627,7 @@ pub mod alert_rule_incidents { } } pub mod list_by_alert_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -648,7 +648,7 @@ pub mod alert_rule_incidents { } } pub mod alert_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -697,7 +697,7 @@ pub mod alert_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -778,7 +778,7 @@ pub mod alert_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AlertRuleResource), @@ -861,7 +861,7 @@ pub mod alert_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AlertRuleResource), @@ -932,7 +932,7 @@ pub mod alert_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1010,7 +1010,7 @@ pub mod alert_rules { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1079,7 +1079,7 @@ pub mod alert_rules { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1103,7 +1103,7 @@ pub mod alert_rules { } } pub mod log_profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, log_profile_name: &str, @@ -1150,7 +1150,7 @@ pub mod log_profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1221,7 +1221,7 @@ pub mod log_profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1288,7 +1288,7 @@ pub mod log_profiles { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1349,7 +1349,7 @@ pub mod log_profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1410,7 +1410,7 @@ pub mod log_profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1431,7 +1431,7 @@ pub mod log_profiles { } } pub mod diagnostic_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -1478,7 +1478,7 @@ pub mod diagnostic_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1551,7 +1551,7 @@ pub mod diagnostic_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1615,7 +1615,7 @@ pub mod diagnostic_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1686,7 +1686,7 @@ pub mod diagnostic_settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1710,7 +1710,7 @@ pub mod diagnostic_settings { } } pub mod subscription_diagnostic_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1757,7 +1757,7 @@ pub mod subscription_diagnostic_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1830,7 +1830,7 @@ pub mod subscription_diagnostic_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1894,7 +1894,7 @@ pub mod subscription_diagnostic_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1965,7 +1965,7 @@ pub mod subscription_diagnostic_settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1989,7 +1989,7 @@ pub mod subscription_diagnostic_settings { } } pub mod diagnostic_settings_category { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -2036,7 +2036,7 @@ pub mod diagnostic_settings_category { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2102,7 +2102,7 @@ pub mod diagnostic_settings_category { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2126,7 +2126,7 @@ pub mod diagnostic_settings_category { } } pub mod action_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2175,7 +2175,7 @@ pub mod action_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2256,7 +2256,7 @@ pub mod action_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ActionGroupResource), @@ -2333,7 +2333,7 @@ pub mod action_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2399,7 +2399,7 @@ pub mod action_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2475,7 +2475,7 @@ pub mod action_groups { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2548,7 +2548,7 @@ pub mod action_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2619,7 +2619,7 @@ pub mod action_groups { } } pub mod enable_receiver { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2645,7 +2645,7 @@ pub mod action_groups { } } pub mod activity_log_alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2694,7 +2694,7 @@ pub mod activity_log_alerts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2775,7 +2775,7 @@ pub mod activity_log_alerts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ActivityLogAlertResource), @@ -2852,7 +2852,7 @@ pub mod activity_log_alerts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2918,7 +2918,7 @@ pub mod activity_log_alerts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2994,7 +2994,7 @@ pub mod activity_log_alerts { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3067,7 +3067,7 @@ pub mod activity_log_alerts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3091,7 +3091,7 @@ pub mod activity_log_alerts { } } pub mod activity_logs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: &str, @@ -3142,7 +3142,7 @@ pub mod activity_logs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3166,7 +3166,7 @@ pub mod activity_logs { } } pub mod event_categories { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Insights/eventcategories", operation_config.base_path(),); @@ -3204,7 +3204,7 @@ pub mod event_categories { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3228,7 +3228,7 @@ pub mod event_categories { } } pub mod tenant_activity_logs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -3279,7 +3279,7 @@ pub mod tenant_activity_logs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3303,7 +3303,7 @@ pub mod tenant_activity_logs { } } pub mod metric_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -3352,7 +3352,7 @@ pub mod metric_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3376,7 +3376,7 @@ pub mod metric_definitions { } } pub mod metrics { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -3457,7 +3457,7 @@ pub mod metrics { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3481,7 +3481,7 @@ pub mod metrics { } } pub mod baselines { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -3558,7 +3558,7 @@ pub mod baselines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3582,7 +3582,7 @@ pub mod baselines { } } pub mod metric_alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3630,7 +3630,7 @@ pub mod metric_alerts { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3703,7 +3703,7 @@ pub mod metric_alerts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3773,7 +3773,7 @@ pub mod metric_alerts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3848,7 +3848,7 @@ pub mod metric_alerts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3920,7 +3920,7 @@ pub mod metric_alerts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3986,7 +3986,7 @@ pub mod metric_alerts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4015,7 +4015,7 @@ pub mod metric_alerts { } } pub mod metric_alerts_status { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4064,7 +4064,7 @@ pub mod metric_alerts_status { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4139,7 +4139,7 @@ pub mod metric_alerts_status { } } pub mod list_by_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4163,7 +4163,7 @@ pub mod metric_alerts_status { } } pub mod scheduled_query_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4212,7 +4212,7 @@ pub mod scheduled_query_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4293,7 +4293,7 @@ pub mod scheduled_query_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogSearchRuleResource), @@ -4370,7 +4370,7 @@ pub mod scheduled_query_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4436,7 +4436,7 @@ pub mod scheduled_query_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4514,7 +4514,7 @@ pub mod scheduled_query_rules { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4591,7 +4591,7 @@ pub mod scheduled_query_rules { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4615,7 +4615,7 @@ pub mod scheduled_query_rules { } } pub mod metric_namespaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -4664,7 +4664,7 @@ pub mod metric_namespaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4688,7 +4688,7 @@ pub mod metric_namespaces { } } pub mod vm_insights { - use crate::models::*; + use super::{models, models::*}; pub async fn get_onboarding_status( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -4738,7 +4738,7 @@ pub mod vm_insights { } } pub mod get_onboarding_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4762,7 +4762,7 @@ pub mod vm_insights { } } pub mod private_link_scopes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4805,7 +4805,7 @@ pub mod private_link_scopes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4873,7 +4873,7 @@ pub mod private_link_scopes { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4938,7 +4938,7 @@ pub mod private_link_scopes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5014,7 +5014,7 @@ pub mod private_link_scopes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AzureMonitorPrivateLinkScope), @@ -5089,7 +5089,7 @@ pub mod private_link_scopes { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5151,7 +5151,7 @@ pub mod private_link_scopes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5178,7 +5178,7 @@ pub mod private_link_scopes { } } pub mod private_link_scope_operation_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, async_operation_id: &str, @@ -5225,7 +5225,7 @@ pub mod private_link_scope_operation_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5246,7 +5246,7 @@ pub mod private_link_scope_operation_status { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_private_link_scope( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5298,7 +5298,7 @@ pub mod private_link_resources { } } pub mod list_by_private_link_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5365,7 +5365,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5386,7 +5386,7 @@ pub mod private_link_resources { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5435,7 +5435,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5508,7 +5508,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -5577,7 +5577,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5653,7 +5653,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_private_link_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5674,7 +5674,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_scoped_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5723,7 +5723,7 @@ pub mod private_link_scoped_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5802,7 +5802,7 @@ pub mod private_link_scoped_resources { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ScopedResource), @@ -5872,7 +5872,7 @@ pub mod private_link_scoped_resources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5948,7 +5948,7 @@ pub mod private_link_scoped_resources { } } pub mod list_by_private_link_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/monitor/src/package_2019_11_01_preview_only/operations.rs b/services/mgmt/monitor/src/package_2019_11_01_preview_only/operations.rs index b406caf049..4a7d16c4c4 100644 --- a/services/mgmt/monitor/src/package_2019_11_01_preview_only/operations.rs +++ b/services/mgmt/monitor/src/package_2019_11_01_preview_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod data_collection_rule_associations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -52,7 +52,7 @@ pub mod data_collection_rule_associations { } } pub mod list_by_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -125,7 +125,7 @@ pub mod data_collection_rule_associations { } } pub mod list_by_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -193,7 +193,7 @@ pub mod data_collection_rule_associations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -273,7 +273,7 @@ pub mod data_collection_rule_associations { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataCollectionRuleAssociationProxyOnlyResource), @@ -342,7 +342,7 @@ pub mod data_collection_rule_associations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -371,7 +371,7 @@ pub mod data_collection_rule_associations { } } pub mod data_collection_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -423,7 +423,7 @@ pub mod data_collection_rules { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -492,7 +492,7 @@ pub mod data_collection_rules { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -562,7 +562,7 @@ pub mod data_collection_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -644,7 +644,7 @@ pub mod data_collection_rules { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataCollectionRuleResource), @@ -725,7 +725,7 @@ pub mod data_collection_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -791,7 +791,7 @@ pub mod data_collection_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/monitor/src/package_2020_01_01_preview_only/operations.rs b/services/mgmt/monitor/src/package_2020_01_01_preview_only/operations.rs index 61e47e1549..19698d9818 100644 --- a/services/mgmt/monitor/src/package_2020_01_01_preview_only/operations.rs +++ b/services/mgmt/monitor/src/package_2020_01_01_preview_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod management_group_diagnostic_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, management_group_id: &str, @@ -51,7 +51,7 @@ pub mod management_group_diagnostic_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -124,7 +124,7 @@ pub mod management_group_diagnostic_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -188,7 +188,7 @@ pub mod management_group_diagnostic_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -259,7 +259,7 @@ pub mod management_group_diagnostic_settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/monitor/src/package_2020_03/operations.rs b/services/mgmt/monitor/src/package_2020_03/operations.rs index e5e2f48b23..14556a1855 100644 --- a/services/mgmt/monitor/src/package_2020_03/operations.rs +++ b/services/mgmt/monitor/src/package_2020_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod autoscale_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -56,7 +56,7 @@ pub mod autoscale_settings { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -126,7 +126,7 @@ pub mod autoscale_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -207,7 +207,7 @@ pub mod autoscale_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AutoscaleSettingResource), @@ -284,7 +284,7 @@ pub mod autoscale_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -350,7 +350,7 @@ pub mod autoscale_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -424,7 +424,7 @@ pub mod autoscale_settings { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -448,7 +448,7 @@ pub mod autoscale_settings { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Insights/operations", operation_config.base_path(),); @@ -484,7 +484,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -505,7 +505,7 @@ pub mod operations { } } pub mod alert_rule_incidents { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -556,7 +556,7 @@ pub mod alert_rule_incidents { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -627,7 +627,7 @@ pub mod alert_rule_incidents { } } pub mod list_by_alert_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -648,7 +648,7 @@ pub mod alert_rule_incidents { } } pub mod alert_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -697,7 +697,7 @@ pub mod alert_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -778,7 +778,7 @@ pub mod alert_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AlertRuleResource), @@ -861,7 +861,7 @@ pub mod alert_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AlertRuleResource), @@ -932,7 +932,7 @@ pub mod alert_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1010,7 +1010,7 @@ pub mod alert_rules { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1079,7 +1079,7 @@ pub mod alert_rules { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1103,7 +1103,7 @@ pub mod alert_rules { } } pub mod log_profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, log_profile_name: &str, @@ -1150,7 +1150,7 @@ pub mod log_profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1221,7 +1221,7 @@ pub mod log_profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1288,7 +1288,7 @@ pub mod log_profiles { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1349,7 +1349,7 @@ pub mod log_profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1410,7 +1410,7 @@ pub mod log_profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1431,7 +1431,7 @@ pub mod log_profiles { } } pub mod diagnostic_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -1478,7 +1478,7 @@ pub mod diagnostic_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1551,7 +1551,7 @@ pub mod diagnostic_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1615,7 +1615,7 @@ pub mod diagnostic_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1686,7 +1686,7 @@ pub mod diagnostic_settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1710,7 +1710,7 @@ pub mod diagnostic_settings { } } pub mod diagnostic_settings_category { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -1757,7 +1757,7 @@ pub mod diagnostic_settings_category { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1823,7 +1823,7 @@ pub mod diagnostic_settings_category { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1847,7 +1847,7 @@ pub mod diagnostic_settings_category { } } pub mod action_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1896,7 +1896,7 @@ pub mod action_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1977,7 +1977,7 @@ pub mod action_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ActionGroupResource), @@ -2054,7 +2054,7 @@ pub mod action_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2120,7 +2120,7 @@ pub mod action_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2196,7 +2196,7 @@ pub mod action_groups { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2269,7 +2269,7 @@ pub mod action_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2340,7 +2340,7 @@ pub mod action_groups { } } pub mod enable_receiver { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2366,7 +2366,7 @@ pub mod action_groups { } } pub mod activity_log_alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2415,7 +2415,7 @@ pub mod activity_log_alerts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2496,7 +2496,7 @@ pub mod activity_log_alerts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ActivityLogAlertResource), @@ -2573,7 +2573,7 @@ pub mod activity_log_alerts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2639,7 +2639,7 @@ pub mod activity_log_alerts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2715,7 +2715,7 @@ pub mod activity_log_alerts { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2788,7 +2788,7 @@ pub mod activity_log_alerts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2812,7 +2812,7 @@ pub mod activity_log_alerts { } } pub mod activity_logs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: &str, @@ -2863,7 +2863,7 @@ pub mod activity_logs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2887,7 +2887,7 @@ pub mod activity_logs { } } pub mod event_categories { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Insights/eventcategories", operation_config.base_path(),); @@ -2925,7 +2925,7 @@ pub mod event_categories { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2949,7 +2949,7 @@ pub mod event_categories { } } pub mod tenant_activity_logs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -3000,7 +3000,7 @@ pub mod tenant_activity_logs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3024,7 +3024,7 @@ pub mod tenant_activity_logs { } } pub mod metric_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -3073,7 +3073,7 @@ pub mod metric_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3097,7 +3097,7 @@ pub mod metric_definitions { } } pub mod metrics { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -3178,7 +3178,7 @@ pub mod metrics { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3202,7 +3202,7 @@ pub mod metrics { } } pub mod baselines { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -3279,7 +3279,7 @@ pub mod baselines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3303,7 +3303,7 @@ pub mod baselines { } } pub mod metric_alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3351,7 +3351,7 @@ pub mod metric_alerts { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3424,7 +3424,7 @@ pub mod metric_alerts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3494,7 +3494,7 @@ pub mod metric_alerts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3569,7 +3569,7 @@ pub mod metric_alerts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3641,7 +3641,7 @@ pub mod metric_alerts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3707,7 +3707,7 @@ pub mod metric_alerts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3736,7 +3736,7 @@ pub mod metric_alerts { } } pub mod metric_alerts_status { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3785,7 +3785,7 @@ pub mod metric_alerts_status { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3860,7 +3860,7 @@ pub mod metric_alerts_status { } } pub mod list_by_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3884,7 +3884,7 @@ pub mod metric_alerts_status { } } pub mod scheduled_query_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3933,7 +3933,7 @@ pub mod scheduled_query_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4014,7 +4014,7 @@ pub mod scheduled_query_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogSearchRuleResource), @@ -4091,7 +4091,7 @@ pub mod scheduled_query_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4157,7 +4157,7 @@ pub mod scheduled_query_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4235,7 +4235,7 @@ pub mod scheduled_query_rules { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4312,7 +4312,7 @@ pub mod scheduled_query_rules { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4336,7 +4336,7 @@ pub mod scheduled_query_rules { } } pub mod metric_namespaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -4385,7 +4385,7 @@ pub mod metric_namespaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4409,7 +4409,7 @@ pub mod metric_namespaces { } } pub mod vm_insights { - use crate::models::*; + use super::{models, models::*}; pub async fn get_onboarding_status( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -4459,7 +4459,7 @@ pub mod vm_insights { } } pub mod get_onboarding_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4483,7 +4483,7 @@ pub mod vm_insights { } } pub mod private_link_scopes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4526,7 +4526,7 @@ pub mod private_link_scopes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4594,7 +4594,7 @@ pub mod private_link_scopes { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4659,7 +4659,7 @@ pub mod private_link_scopes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4735,7 +4735,7 @@ pub mod private_link_scopes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AzureMonitorPrivateLinkScope), @@ -4810,7 +4810,7 @@ pub mod private_link_scopes { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4872,7 +4872,7 @@ pub mod private_link_scopes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4899,7 +4899,7 @@ pub mod private_link_scopes { } } pub mod private_link_scope_operation_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, async_operation_id: &str, @@ -4946,7 +4946,7 @@ pub mod private_link_scope_operation_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4967,7 +4967,7 @@ pub mod private_link_scope_operation_status { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_private_link_scope( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5019,7 +5019,7 @@ pub mod private_link_resources { } } pub mod list_by_private_link_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5086,7 +5086,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5107,7 +5107,7 @@ pub mod private_link_resources { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5156,7 +5156,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5229,7 +5229,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -5298,7 +5298,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5374,7 +5374,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_private_link_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5395,7 +5395,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_scoped_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5444,7 +5444,7 @@ pub mod private_link_scoped_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5523,7 +5523,7 @@ pub mod private_link_scoped_resources { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ScopedResource), @@ -5593,7 +5593,7 @@ pub mod private_link_scoped_resources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5669,7 +5669,7 @@ pub mod private_link_scoped_resources { } } pub mod list_by_private_link_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/monitor/src/package_2020_05_preview_only/operations.rs b/services/mgmt/monitor/src/package_2020_05_preview_only/operations.rs index fa5a1347ce..d4ecafdd24 100644 --- a/services/mgmt/monitor/src/package_2020_05_preview_only/operations.rs +++ b/services/mgmt/monitor/src/package_2020_05_preview_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod scheduled_query_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -52,7 +52,7 @@ pub mod scheduled_query_rules { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -125,7 +125,7 @@ pub mod scheduled_query_rules { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -195,7 +195,7 @@ pub mod scheduled_query_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -276,7 +276,7 @@ pub mod scheduled_query_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ScheduledQueryRuleResource), @@ -353,7 +353,7 @@ pub mod scheduled_query_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -419,7 +419,7 @@ pub mod scheduled_query_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/monitor/src/package_2020_10_only/operations.rs b/services/mgmt/monitor/src/package_2020_10_only/operations.rs index 43dfeef756..51b3ea88eb 100644 --- a/services/mgmt/monitor/src/package_2020_10_only/operations.rs +++ b/services/mgmt/monitor/src/package_2020_10_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod activity_log_alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod activity_log_alerts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod activity_log_alerts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ActivityLogAlertResource), @@ -211,7 +211,7 @@ pub mod activity_log_alerts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -277,7 +277,7 @@ pub mod activity_log_alerts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -353,7 +353,7 @@ pub mod activity_log_alerts { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -426,7 +426,7 @@ pub mod activity_log_alerts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/monitor/src/package_2021_02_preview_only/operations.rs b/services/mgmt/monitor/src/package_2021_02_preview_only/operations.rs index fa5a1347ce..d4ecafdd24 100644 --- a/services/mgmt/monitor/src/package_2021_02_preview_only/operations.rs +++ b/services/mgmt/monitor/src/package_2021_02_preview_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod scheduled_query_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -52,7 +52,7 @@ pub mod scheduled_query_rules { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -125,7 +125,7 @@ pub mod scheduled_query_rules { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -195,7 +195,7 @@ pub mod scheduled_query_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -276,7 +276,7 @@ pub mod scheduled_query_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ScheduledQueryRuleResource), @@ -353,7 +353,7 @@ pub mod scheduled_query_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -419,7 +419,7 @@ pub mod scheduled_query_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/monitor/src/package_2021_04/operations.rs b/services/mgmt/monitor/src/package_2021_04/operations.rs index cc1f8d5927..84ad589475 100644 --- a/services/mgmt/monitor/src/package_2021_04/operations.rs +++ b/services/mgmt/monitor/src/package_2021_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod autoscale_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -56,7 +56,7 @@ pub mod autoscale_settings { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -126,7 +126,7 @@ pub mod autoscale_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -207,7 +207,7 @@ pub mod autoscale_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AutoscaleSettingResource), @@ -284,7 +284,7 @@ pub mod autoscale_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -350,7 +350,7 @@ pub mod autoscale_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -424,7 +424,7 @@ pub mod autoscale_settings { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -448,7 +448,7 @@ pub mod autoscale_settings { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Insights/operations", operation_config.base_path(),); @@ -484,7 +484,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -505,7 +505,7 @@ pub mod operations { } } pub mod alert_rule_incidents { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -556,7 +556,7 @@ pub mod alert_rule_incidents { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -627,7 +627,7 @@ pub mod alert_rule_incidents { } } pub mod list_by_alert_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -648,7 +648,7 @@ pub mod alert_rule_incidents { } } pub mod alert_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -697,7 +697,7 @@ pub mod alert_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -778,7 +778,7 @@ pub mod alert_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AlertRuleResource), @@ -861,7 +861,7 @@ pub mod alert_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AlertRuleResource), @@ -932,7 +932,7 @@ pub mod alert_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1010,7 +1010,7 @@ pub mod alert_rules { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1079,7 +1079,7 @@ pub mod alert_rules { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1103,7 +1103,7 @@ pub mod alert_rules { } } pub mod log_profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, log_profile_name: &str, @@ -1150,7 +1150,7 @@ pub mod log_profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1221,7 +1221,7 @@ pub mod log_profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1288,7 +1288,7 @@ pub mod log_profiles { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1349,7 +1349,7 @@ pub mod log_profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1410,7 +1410,7 @@ pub mod log_profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1431,7 +1431,7 @@ pub mod log_profiles { } } pub mod diagnostic_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -1478,7 +1478,7 @@ pub mod diagnostic_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1551,7 +1551,7 @@ pub mod diagnostic_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1615,7 +1615,7 @@ pub mod diagnostic_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1686,7 +1686,7 @@ pub mod diagnostic_settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1710,7 +1710,7 @@ pub mod diagnostic_settings { } } pub mod diagnostic_settings_category { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -1757,7 +1757,7 @@ pub mod diagnostic_settings_category { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1823,7 +1823,7 @@ pub mod diagnostic_settings_category { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1847,7 +1847,7 @@ pub mod diagnostic_settings_category { } } pub mod action_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1896,7 +1896,7 @@ pub mod action_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1977,7 +1977,7 @@ pub mod action_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ActionGroupResource), @@ -2054,7 +2054,7 @@ pub mod action_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2120,7 +2120,7 @@ pub mod action_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2196,7 +2196,7 @@ pub mod action_groups { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2269,7 +2269,7 @@ pub mod action_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2340,7 +2340,7 @@ pub mod action_groups { } } pub mod enable_receiver { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2366,7 +2366,7 @@ pub mod action_groups { } } pub mod activity_logs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: &str, @@ -2417,7 +2417,7 @@ pub mod activity_logs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2441,7 +2441,7 @@ pub mod activity_logs { } } pub mod event_categories { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Insights/eventcategories", operation_config.base_path(),); @@ -2479,7 +2479,7 @@ pub mod event_categories { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2503,7 +2503,7 @@ pub mod event_categories { } } pub mod tenant_activity_logs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -2554,7 +2554,7 @@ pub mod tenant_activity_logs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2578,7 +2578,7 @@ pub mod tenant_activity_logs { } } pub mod metric_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -2627,7 +2627,7 @@ pub mod metric_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2651,7 +2651,7 @@ pub mod metric_definitions { } } pub mod metrics { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -2732,7 +2732,7 @@ pub mod metrics { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2756,7 +2756,7 @@ pub mod metrics { } } pub mod baselines { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -2833,7 +2833,7 @@ pub mod baselines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2857,7 +2857,7 @@ pub mod baselines { } } pub mod metric_alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2905,7 +2905,7 @@ pub mod metric_alerts { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2978,7 +2978,7 @@ pub mod metric_alerts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3048,7 +3048,7 @@ pub mod metric_alerts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3123,7 +3123,7 @@ pub mod metric_alerts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3195,7 +3195,7 @@ pub mod metric_alerts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3261,7 +3261,7 @@ pub mod metric_alerts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3290,7 +3290,7 @@ pub mod metric_alerts { } } pub mod metric_alerts_status { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3339,7 +3339,7 @@ pub mod metric_alerts_status { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3414,7 +3414,7 @@ pub mod metric_alerts_status { } } pub mod list_by_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3438,7 +3438,7 @@ pub mod metric_alerts_status { } } pub mod scheduled_query_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3487,7 +3487,7 @@ pub mod scheduled_query_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3568,7 +3568,7 @@ pub mod scheduled_query_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogSearchRuleResource), @@ -3645,7 +3645,7 @@ pub mod scheduled_query_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3711,7 +3711,7 @@ pub mod scheduled_query_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3789,7 +3789,7 @@ pub mod scheduled_query_rules { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3866,7 +3866,7 @@ pub mod scheduled_query_rules { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3890,7 +3890,7 @@ pub mod scheduled_query_rules { } } pub mod metric_namespaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -3939,7 +3939,7 @@ pub mod metric_namespaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3963,7 +3963,7 @@ pub mod metric_namespaces { } } pub mod vm_insights { - use crate::models::*; + use super::{models, models::*}; pub async fn get_onboarding_status( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -4013,7 +4013,7 @@ pub mod vm_insights { } } pub mod get_onboarding_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4037,7 +4037,7 @@ pub mod vm_insights { } } pub mod private_link_scopes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4080,7 +4080,7 @@ pub mod private_link_scopes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4148,7 +4148,7 @@ pub mod private_link_scopes { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4213,7 +4213,7 @@ pub mod private_link_scopes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4289,7 +4289,7 @@ pub mod private_link_scopes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AzureMonitorPrivateLinkScope), @@ -4364,7 +4364,7 @@ pub mod private_link_scopes { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4426,7 +4426,7 @@ pub mod private_link_scopes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4453,7 +4453,7 @@ pub mod private_link_scopes { } } pub mod private_link_scope_operation_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, async_operation_id: &str, @@ -4500,7 +4500,7 @@ pub mod private_link_scope_operation_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4521,7 +4521,7 @@ pub mod private_link_scope_operation_status { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_private_link_scope( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4573,7 +4573,7 @@ pub mod private_link_resources { } } pub mod list_by_private_link_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4640,7 +4640,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4661,7 +4661,7 @@ pub mod private_link_resources { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4710,7 +4710,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4783,7 +4783,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -4852,7 +4852,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4928,7 +4928,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_private_link_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4949,7 +4949,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_scoped_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4998,7 +4998,7 @@ pub mod private_link_scoped_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5077,7 +5077,7 @@ pub mod private_link_scoped_resources { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ScopedResource), @@ -5147,7 +5147,7 @@ pub mod private_link_scoped_resources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5223,7 +5223,7 @@ pub mod private_link_scoped_resources { } } pub mod list_by_private_link_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5244,7 +5244,7 @@ pub mod private_link_scoped_resources { } } pub mod activity_log_alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5293,7 +5293,7 @@ pub mod activity_log_alerts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5374,7 +5374,7 @@ pub mod activity_log_alerts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ActivityLogAlertResource), @@ -5451,7 +5451,7 @@ pub mod activity_log_alerts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5517,7 +5517,7 @@ pub mod activity_log_alerts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5593,7 +5593,7 @@ pub mod activity_log_alerts { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5666,7 +5666,7 @@ pub mod activity_log_alerts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5690,7 +5690,7 @@ pub mod activity_log_alerts { } } pub mod data_collection_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5742,7 +5742,7 @@ pub mod data_collection_endpoints { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5811,7 +5811,7 @@ pub mod data_collection_endpoints { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5881,7 +5881,7 @@ pub mod data_collection_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5963,7 +5963,7 @@ pub mod data_collection_endpoints { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataCollectionEndpointResource), @@ -6044,7 +6044,7 @@ pub mod data_collection_endpoints { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6110,7 +6110,7 @@ pub mod data_collection_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6139,7 +6139,7 @@ pub mod data_collection_endpoints { } } pub mod data_collection_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6191,7 +6191,7 @@ pub mod data_collection_rules { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6260,7 +6260,7 @@ pub mod data_collection_rules { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6330,7 +6330,7 @@ pub mod data_collection_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6412,7 +6412,7 @@ pub mod data_collection_rules { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataCollectionRuleResource), @@ -6493,7 +6493,7 @@ pub mod data_collection_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6559,7 +6559,7 @@ pub mod data_collection_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6588,7 +6588,7 @@ pub mod data_collection_rules { } } pub mod data_collection_rule_associations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -6636,7 +6636,7 @@ pub mod data_collection_rule_associations { } } pub mod list_by_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6709,7 +6709,7 @@ pub mod data_collection_rule_associations { } } pub mod list_by_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6777,7 +6777,7 @@ pub mod data_collection_rule_associations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6857,7 +6857,7 @@ pub mod data_collection_rule_associations { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataCollectionRuleAssociationProxyOnlyResource), @@ -6926,7 +6926,7 @@ pub mod data_collection_rule_associations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/monitor/src/package_2021_04_only/operations.rs b/services/mgmt/monitor/src/package_2021_04_only/operations.rs index b3341bccf8..a970a4fecf 100644 --- a/services/mgmt/monitor/src/package_2021_04_only/operations.rs +++ b/services/mgmt/monitor/src/package_2021_04_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod data_collection_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -56,7 +56,7 @@ pub mod data_collection_endpoints { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -125,7 +125,7 @@ pub mod data_collection_endpoints { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -195,7 +195,7 @@ pub mod data_collection_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -277,7 +277,7 @@ pub mod data_collection_endpoints { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataCollectionEndpointResource), @@ -358,7 +358,7 @@ pub mod data_collection_endpoints { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -424,7 +424,7 @@ pub mod data_collection_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -453,7 +453,7 @@ pub mod data_collection_endpoints { } } pub mod data_collection_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -505,7 +505,7 @@ pub mod data_collection_rules { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -574,7 +574,7 @@ pub mod data_collection_rules { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -644,7 +644,7 @@ pub mod data_collection_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -726,7 +726,7 @@ pub mod data_collection_rules { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataCollectionRuleResource), @@ -807,7 +807,7 @@ pub mod data_collection_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -873,7 +873,7 @@ pub mod data_collection_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -902,7 +902,7 @@ pub mod data_collection_rules { } } pub mod data_collection_rule_associations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -950,7 +950,7 @@ pub mod data_collection_rule_associations { } } pub mod list_by_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1023,7 +1023,7 @@ pub mod data_collection_rule_associations { } } pub mod list_by_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1091,7 +1091,7 @@ pub mod data_collection_rule_associations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1171,7 +1171,7 @@ pub mod data_collection_rule_associations { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataCollectionRuleAssociationProxyOnlyResource), @@ -1240,7 +1240,7 @@ pub mod data_collection_rule_associations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/monitor/src/package_2021_05_01_preview_only/operations.rs b/services/mgmt/monitor/src/package_2021_05_01_preview_only/operations.rs index ade60e8970..b7d43e1d4b 100644 --- a/services/mgmt/monitor/src/package_2021_05_01_preview_only/operations.rs +++ b/services/mgmt/monitor/src/package_2021_05_01_preview_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod diagnostic_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -51,7 +51,7 @@ pub mod diagnostic_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -124,7 +124,7 @@ pub mod diagnostic_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -188,7 +188,7 @@ pub mod diagnostic_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -259,7 +259,7 @@ pub mod diagnostic_settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -283,7 +283,7 @@ pub mod diagnostic_settings { } } pub mod diagnostic_settings_category { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -330,7 +330,7 @@ pub mod diagnostic_settings_category { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -396,7 +396,7 @@ pub mod diagnostic_settings_category { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -420,7 +420,7 @@ pub mod diagnostic_settings_category { } } pub mod management_group_diagnostic_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, management_group_id: &str, @@ -467,7 +467,7 @@ pub mod management_group_diagnostic_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -540,7 +540,7 @@ pub mod management_group_diagnostic_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -604,7 +604,7 @@ pub mod management_group_diagnostic_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -675,7 +675,7 @@ pub mod management_group_diagnostic_settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -699,7 +699,7 @@ pub mod management_group_diagnostic_settings { } } pub mod subscription_diagnostic_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -746,7 +746,7 @@ pub mod subscription_diagnostic_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -819,7 +819,7 @@ pub mod subscription_diagnostic_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -883,7 +883,7 @@ pub mod subscription_diagnostic_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -954,7 +954,7 @@ pub mod subscription_diagnostic_settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/monitor/src/package_2021_05_only/operations.rs b/services/mgmt/monitor/src/package_2021_05_only/operations.rs index ccc630d2c4..62071b4ec0 100644 --- a/services/mgmt/monitor/src/package_2021_05_only/operations.rs +++ b/services/mgmt/monitor/src/package_2021_05_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod metrics { - use crate::models::*; + use super::{models, models::*}; pub async fn list_at_subscription_scope( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -102,7 +102,7 @@ pub mod metrics { } } pub mod list_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -227,7 +227,7 @@ pub mod metrics { } } pub mod list_at_subscription_scope_post { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -339,7 +339,7 @@ pub mod metrics { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -363,7 +363,7 @@ pub mod metrics { } } pub mod metric_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_at_subscription_scope( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -419,7 +419,7 @@ pub mod metric_definitions { } } pub mod list_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -489,7 +489,7 @@ pub mod metric_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -513,7 +513,7 @@ pub mod metric_definitions { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Insights/operations", operation_config.base_path(),); @@ -551,7 +551,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/monitor/src/package_2021_07/operations.rs b/services/mgmt/monitor/src/package_2021_07/operations.rs index 8d0dbf910d..de54a517a5 100644 --- a/services/mgmt/monitor/src/package_2021_07/operations.rs +++ b/services/mgmt/monitor/src/package_2021_07/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod autoscale_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -56,7 +56,7 @@ pub mod autoscale_settings { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -126,7 +126,7 @@ pub mod autoscale_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -207,7 +207,7 @@ pub mod autoscale_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AutoscaleSettingResource), @@ -284,7 +284,7 @@ pub mod autoscale_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -350,7 +350,7 @@ pub mod autoscale_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -424,7 +424,7 @@ pub mod autoscale_settings { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -448,7 +448,7 @@ pub mod autoscale_settings { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Insights/operations", operation_config.base_path(),); @@ -484,7 +484,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -505,7 +505,7 @@ pub mod operations { } } pub mod alert_rule_incidents { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -556,7 +556,7 @@ pub mod alert_rule_incidents { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -627,7 +627,7 @@ pub mod alert_rule_incidents { } } pub mod list_by_alert_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -648,7 +648,7 @@ pub mod alert_rule_incidents { } } pub mod alert_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -697,7 +697,7 @@ pub mod alert_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -778,7 +778,7 @@ pub mod alert_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AlertRuleResource), @@ -861,7 +861,7 @@ pub mod alert_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AlertRuleResource), @@ -932,7 +932,7 @@ pub mod alert_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1010,7 +1010,7 @@ pub mod alert_rules { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1079,7 +1079,7 @@ pub mod alert_rules { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1103,7 +1103,7 @@ pub mod alert_rules { } } pub mod log_profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, log_profile_name: &str, @@ -1150,7 +1150,7 @@ pub mod log_profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1221,7 +1221,7 @@ pub mod log_profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1288,7 +1288,7 @@ pub mod log_profiles { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1349,7 +1349,7 @@ pub mod log_profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1410,7 +1410,7 @@ pub mod log_profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1431,7 +1431,7 @@ pub mod log_profiles { } } pub mod diagnostic_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -1478,7 +1478,7 @@ pub mod diagnostic_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1551,7 +1551,7 @@ pub mod diagnostic_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1615,7 +1615,7 @@ pub mod diagnostic_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1686,7 +1686,7 @@ pub mod diagnostic_settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1710,7 +1710,7 @@ pub mod diagnostic_settings { } } pub mod diagnostic_settings_category { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -1757,7 +1757,7 @@ pub mod diagnostic_settings_category { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1823,7 +1823,7 @@ pub mod diagnostic_settings_category { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1847,7 +1847,7 @@ pub mod diagnostic_settings_category { } } pub mod action_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1896,7 +1896,7 @@ pub mod action_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1977,7 +1977,7 @@ pub mod action_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ActionGroupResource), @@ -2054,7 +2054,7 @@ pub mod action_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2120,7 +2120,7 @@ pub mod action_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2196,7 +2196,7 @@ pub mod action_groups { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2269,7 +2269,7 @@ pub mod action_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2340,7 +2340,7 @@ pub mod action_groups { } } pub mod enable_receiver { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2366,7 +2366,7 @@ pub mod action_groups { } } pub mod activity_logs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: &str, @@ -2417,7 +2417,7 @@ pub mod activity_logs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2441,7 +2441,7 @@ pub mod activity_logs { } } pub mod event_categories { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Insights/eventcategories", operation_config.base_path(),); @@ -2479,7 +2479,7 @@ pub mod event_categories { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2503,7 +2503,7 @@ pub mod event_categories { } } pub mod tenant_activity_logs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -2554,7 +2554,7 @@ pub mod tenant_activity_logs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2578,7 +2578,7 @@ pub mod tenant_activity_logs { } } pub mod metric_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -2627,7 +2627,7 @@ pub mod metric_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2651,7 +2651,7 @@ pub mod metric_definitions { } } pub mod metrics { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -2732,7 +2732,7 @@ pub mod metrics { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2756,7 +2756,7 @@ pub mod metrics { } } pub mod baselines { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -2833,7 +2833,7 @@ pub mod baselines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2857,7 +2857,7 @@ pub mod baselines { } } pub mod metric_alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2905,7 +2905,7 @@ pub mod metric_alerts { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2978,7 +2978,7 @@ pub mod metric_alerts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3048,7 +3048,7 @@ pub mod metric_alerts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3123,7 +3123,7 @@ pub mod metric_alerts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3195,7 +3195,7 @@ pub mod metric_alerts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3261,7 +3261,7 @@ pub mod metric_alerts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3290,7 +3290,7 @@ pub mod metric_alerts { } } pub mod metric_alerts_status { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3339,7 +3339,7 @@ pub mod metric_alerts_status { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3414,7 +3414,7 @@ pub mod metric_alerts_status { } } pub mod list_by_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3438,7 +3438,7 @@ pub mod metric_alerts_status { } } pub mod scheduled_query_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3487,7 +3487,7 @@ pub mod scheduled_query_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3568,7 +3568,7 @@ pub mod scheduled_query_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogSearchRuleResource), @@ -3645,7 +3645,7 @@ pub mod scheduled_query_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3711,7 +3711,7 @@ pub mod scheduled_query_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3789,7 +3789,7 @@ pub mod scheduled_query_rules { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3866,7 +3866,7 @@ pub mod scheduled_query_rules { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3890,7 +3890,7 @@ pub mod scheduled_query_rules { } } pub mod metric_namespaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -3939,7 +3939,7 @@ pub mod metric_namespaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3963,7 +3963,7 @@ pub mod metric_namespaces { } } pub mod vm_insights { - use crate::models::*; + use super::{models, models::*}; pub async fn get_onboarding_status( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -4013,7 +4013,7 @@ pub mod vm_insights { } } pub mod get_onboarding_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4037,7 +4037,7 @@ pub mod vm_insights { } } pub mod private_link_scopes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4080,7 +4080,7 @@ pub mod private_link_scopes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4148,7 +4148,7 @@ pub mod private_link_scopes { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4213,7 +4213,7 @@ pub mod private_link_scopes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4289,7 +4289,7 @@ pub mod private_link_scopes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AzureMonitorPrivateLinkScope), @@ -4364,7 +4364,7 @@ pub mod private_link_scopes { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4426,7 +4426,7 @@ pub mod private_link_scopes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4453,7 +4453,7 @@ pub mod private_link_scopes { } } pub mod private_link_scope_operation_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, async_operation_id: &str, @@ -4500,7 +4500,7 @@ pub mod private_link_scope_operation_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4521,7 +4521,7 @@ pub mod private_link_scope_operation_status { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_private_link_scope( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4573,7 +4573,7 @@ pub mod private_link_resources { } } pub mod list_by_private_link_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4640,7 +4640,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4661,7 +4661,7 @@ pub mod private_link_resources { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4710,7 +4710,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4783,7 +4783,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -4852,7 +4852,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4928,7 +4928,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_private_link_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4949,7 +4949,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_scoped_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4998,7 +4998,7 @@ pub mod private_link_scoped_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5077,7 +5077,7 @@ pub mod private_link_scoped_resources { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ScopedResource), @@ -5147,7 +5147,7 @@ pub mod private_link_scoped_resources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5223,7 +5223,7 @@ pub mod private_link_scoped_resources { } } pub mod list_by_private_link_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5244,7 +5244,7 @@ pub mod private_link_scoped_resources { } } pub mod activity_log_alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5293,7 +5293,7 @@ pub mod activity_log_alerts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5374,7 +5374,7 @@ pub mod activity_log_alerts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ActivityLogAlertResource), @@ -5451,7 +5451,7 @@ pub mod activity_log_alerts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5517,7 +5517,7 @@ pub mod activity_log_alerts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5593,7 +5593,7 @@ pub mod activity_log_alerts { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5666,7 +5666,7 @@ pub mod activity_log_alerts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5690,7 +5690,7 @@ pub mod activity_log_alerts { } } pub mod data_collection_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5742,7 +5742,7 @@ pub mod data_collection_endpoints { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5811,7 +5811,7 @@ pub mod data_collection_endpoints { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5881,7 +5881,7 @@ pub mod data_collection_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5963,7 +5963,7 @@ pub mod data_collection_endpoints { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataCollectionEndpointResource), @@ -6044,7 +6044,7 @@ pub mod data_collection_endpoints { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6110,7 +6110,7 @@ pub mod data_collection_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6139,7 +6139,7 @@ pub mod data_collection_endpoints { } } pub mod data_collection_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6191,7 +6191,7 @@ pub mod data_collection_rules { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6260,7 +6260,7 @@ pub mod data_collection_rules { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6330,7 +6330,7 @@ pub mod data_collection_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6412,7 +6412,7 @@ pub mod data_collection_rules { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataCollectionRuleResource), @@ -6493,7 +6493,7 @@ pub mod data_collection_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6559,7 +6559,7 @@ pub mod data_collection_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6588,7 +6588,7 @@ pub mod data_collection_rules { } } pub mod data_collection_rule_associations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -6636,7 +6636,7 @@ pub mod data_collection_rule_associations { } } pub mod list_by_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6709,7 +6709,7 @@ pub mod data_collection_rule_associations { } } pub mod list_by_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6777,7 +6777,7 @@ pub mod data_collection_rule_associations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6857,7 +6857,7 @@ pub mod data_collection_rule_associations { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataCollectionRuleAssociationProxyOnlyResource), @@ -6926,7 +6926,7 @@ pub mod data_collection_rule_associations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/monitor/src/package_2021_07_01_preview_only/operations.rs b/services/mgmt/monitor/src/package_2021_07_01_preview_only/operations.rs index 3ae0c8df4a..5e82fe3f39 100644 --- a/services/mgmt/monitor/src/package_2021_07_01_preview_only/operations.rs +++ b/services/mgmt/monitor/src/package_2021_07_01_preview_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod private_link_scopes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -49,7 +49,7 @@ pub mod private_link_scopes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -122,7 +122,7 @@ pub mod private_link_scopes { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -192,7 +192,7 @@ pub mod private_link_scopes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -273,7 +273,7 @@ pub mod private_link_scopes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AzureMonitorPrivateLinkScope), @@ -353,7 +353,7 @@ pub mod private_link_scopes { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -420,7 +420,7 @@ pub mod private_link_scopes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -450,7 +450,7 @@ pub mod private_link_scopes { } } pub mod private_link_scope_operation_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, async_operation_id: &str, @@ -499,7 +499,7 @@ pub mod private_link_scope_operation_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -523,7 +523,7 @@ pub mod private_link_scope_operation_status { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_private_link_scope( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -577,7 +577,7 @@ pub mod private_link_resources { } } pub mod list_by_private_link_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -649,7 +649,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -673,7 +673,7 @@ pub mod private_link_resources { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -724,7 +724,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -802,7 +802,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -876,7 +876,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -957,7 +957,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_private_link_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -981,7 +981,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_scoped_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1032,7 +1032,7 @@ pub mod private_link_scoped_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1116,7 +1116,7 @@ pub mod private_link_scoped_resources { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ScopedResource), @@ -1191,7 +1191,7 @@ pub mod private_link_scoped_resources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1272,7 +1272,7 @@ pub mod private_link_scoped_resources { } } pub mod list_by_private_link_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/monitor/src/package_2021_09/operations.rs b/services/mgmt/monitor/src/package_2021_09/operations.rs index 85af10180e..f5d58d28b7 100644 --- a/services/mgmt/monitor/src/package_2021_09/operations.rs +++ b/services/mgmt/monitor/src/package_2021_09/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod autoscale_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -56,7 +56,7 @@ pub mod autoscale_settings { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -126,7 +126,7 @@ pub mod autoscale_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -207,7 +207,7 @@ pub mod autoscale_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AutoscaleSettingResource), @@ -284,7 +284,7 @@ pub mod autoscale_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -350,7 +350,7 @@ pub mod autoscale_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -424,7 +424,7 @@ pub mod autoscale_settings { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -448,7 +448,7 @@ pub mod autoscale_settings { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Insights/operations", operation_config.base_path(),); @@ -484,7 +484,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -505,7 +505,7 @@ pub mod operations { } } pub mod alert_rule_incidents { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -556,7 +556,7 @@ pub mod alert_rule_incidents { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -627,7 +627,7 @@ pub mod alert_rule_incidents { } } pub mod list_by_alert_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -648,7 +648,7 @@ pub mod alert_rule_incidents { } } pub mod alert_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -697,7 +697,7 @@ pub mod alert_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -778,7 +778,7 @@ pub mod alert_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AlertRuleResource), @@ -861,7 +861,7 @@ pub mod alert_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AlertRuleResource), @@ -932,7 +932,7 @@ pub mod alert_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1010,7 +1010,7 @@ pub mod alert_rules { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1079,7 +1079,7 @@ pub mod alert_rules { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1103,7 +1103,7 @@ pub mod alert_rules { } } pub mod log_profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, log_profile_name: &str, @@ -1150,7 +1150,7 @@ pub mod log_profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1221,7 +1221,7 @@ pub mod log_profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1288,7 +1288,7 @@ pub mod log_profiles { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1349,7 +1349,7 @@ pub mod log_profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1410,7 +1410,7 @@ pub mod log_profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1431,7 +1431,7 @@ pub mod log_profiles { } } pub mod diagnostic_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -1478,7 +1478,7 @@ pub mod diagnostic_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1551,7 +1551,7 @@ pub mod diagnostic_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1615,7 +1615,7 @@ pub mod diagnostic_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1686,7 +1686,7 @@ pub mod diagnostic_settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1710,7 +1710,7 @@ pub mod diagnostic_settings { } } pub mod diagnostic_settings_category { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -1757,7 +1757,7 @@ pub mod diagnostic_settings_category { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1823,7 +1823,7 @@ pub mod diagnostic_settings_category { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1847,7 +1847,7 @@ pub mod diagnostic_settings_category { } } pub mod action_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1896,7 +1896,7 @@ pub mod action_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1977,7 +1977,7 @@ pub mod action_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ActionGroupResource), @@ -2054,7 +2054,7 @@ pub mod action_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2120,7 +2120,7 @@ pub mod action_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2198,7 +2198,7 @@ pub mod action_groups { } } pub mod post_test_notifications { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2271,7 +2271,7 @@ pub mod action_groups { } } pub mod get_test_notifications { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2342,7 +2342,7 @@ pub mod action_groups { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2415,7 +2415,7 @@ pub mod action_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2486,7 +2486,7 @@ pub mod action_groups { } } pub mod enable_receiver { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2512,7 +2512,7 @@ pub mod action_groups { } } pub mod activity_logs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: &str, @@ -2563,7 +2563,7 @@ pub mod activity_logs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2587,7 +2587,7 @@ pub mod activity_logs { } } pub mod event_categories { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Insights/eventcategories", operation_config.base_path(),); @@ -2625,7 +2625,7 @@ pub mod event_categories { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2649,7 +2649,7 @@ pub mod event_categories { } } pub mod tenant_activity_logs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -2700,7 +2700,7 @@ pub mod tenant_activity_logs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2724,7 +2724,7 @@ pub mod tenant_activity_logs { } } pub mod metric_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -2773,7 +2773,7 @@ pub mod metric_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2797,7 +2797,7 @@ pub mod metric_definitions { } } pub mod metrics { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -2878,7 +2878,7 @@ pub mod metrics { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2902,7 +2902,7 @@ pub mod metrics { } } pub mod baselines { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -2979,7 +2979,7 @@ pub mod baselines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3003,7 +3003,7 @@ pub mod baselines { } } pub mod metric_alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3051,7 +3051,7 @@ pub mod metric_alerts { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3124,7 +3124,7 @@ pub mod metric_alerts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3194,7 +3194,7 @@ pub mod metric_alerts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3269,7 +3269,7 @@ pub mod metric_alerts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3341,7 +3341,7 @@ pub mod metric_alerts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3407,7 +3407,7 @@ pub mod metric_alerts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3436,7 +3436,7 @@ pub mod metric_alerts { } } pub mod metric_alerts_status { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3485,7 +3485,7 @@ pub mod metric_alerts_status { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3560,7 +3560,7 @@ pub mod metric_alerts_status { } } pub mod list_by_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3584,7 +3584,7 @@ pub mod metric_alerts_status { } } pub mod scheduled_query_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3633,7 +3633,7 @@ pub mod scheduled_query_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3714,7 +3714,7 @@ pub mod scheduled_query_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogSearchRuleResource), @@ -3791,7 +3791,7 @@ pub mod scheduled_query_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3857,7 +3857,7 @@ pub mod scheduled_query_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3935,7 +3935,7 @@ pub mod scheduled_query_rules { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4012,7 +4012,7 @@ pub mod scheduled_query_rules { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4036,7 +4036,7 @@ pub mod scheduled_query_rules { } } pub mod metric_namespaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -4085,7 +4085,7 @@ pub mod metric_namespaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4109,7 +4109,7 @@ pub mod metric_namespaces { } } pub mod vm_insights { - use crate::models::*; + use super::{models, models::*}; pub async fn get_onboarding_status( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -4159,7 +4159,7 @@ pub mod vm_insights { } } pub mod get_onboarding_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4183,7 +4183,7 @@ pub mod vm_insights { } } pub mod private_link_scopes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4226,7 +4226,7 @@ pub mod private_link_scopes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4294,7 +4294,7 @@ pub mod private_link_scopes { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4359,7 +4359,7 @@ pub mod private_link_scopes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4435,7 +4435,7 @@ pub mod private_link_scopes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AzureMonitorPrivateLinkScope), @@ -4510,7 +4510,7 @@ pub mod private_link_scopes { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4572,7 +4572,7 @@ pub mod private_link_scopes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4599,7 +4599,7 @@ pub mod private_link_scopes { } } pub mod private_link_scope_operation_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, async_operation_id: &str, @@ -4646,7 +4646,7 @@ pub mod private_link_scope_operation_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4667,7 +4667,7 @@ pub mod private_link_scope_operation_status { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_private_link_scope( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4719,7 +4719,7 @@ pub mod private_link_resources { } } pub mod list_by_private_link_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4786,7 +4786,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4807,7 +4807,7 @@ pub mod private_link_resources { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4856,7 +4856,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4929,7 +4929,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -4998,7 +4998,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5074,7 +5074,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_private_link_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5095,7 +5095,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_scoped_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5144,7 +5144,7 @@ pub mod private_link_scoped_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5223,7 +5223,7 @@ pub mod private_link_scoped_resources { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ScopedResource), @@ -5293,7 +5293,7 @@ pub mod private_link_scoped_resources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5369,7 +5369,7 @@ pub mod private_link_scoped_resources { } } pub mod list_by_private_link_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5390,7 +5390,7 @@ pub mod private_link_scoped_resources { } } pub mod activity_log_alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5439,7 +5439,7 @@ pub mod activity_log_alerts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5520,7 +5520,7 @@ pub mod activity_log_alerts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ActivityLogAlertResource), @@ -5597,7 +5597,7 @@ pub mod activity_log_alerts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5663,7 +5663,7 @@ pub mod activity_log_alerts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5739,7 +5739,7 @@ pub mod activity_log_alerts { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5812,7 +5812,7 @@ pub mod activity_log_alerts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5836,7 +5836,7 @@ pub mod activity_log_alerts { } } pub mod data_collection_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5888,7 +5888,7 @@ pub mod data_collection_endpoints { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5957,7 +5957,7 @@ pub mod data_collection_endpoints { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6027,7 +6027,7 @@ pub mod data_collection_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6109,7 +6109,7 @@ pub mod data_collection_endpoints { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataCollectionEndpointResource), @@ -6190,7 +6190,7 @@ pub mod data_collection_endpoints { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6256,7 +6256,7 @@ pub mod data_collection_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6285,7 +6285,7 @@ pub mod data_collection_endpoints { } } pub mod data_collection_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6337,7 +6337,7 @@ pub mod data_collection_rules { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6406,7 +6406,7 @@ pub mod data_collection_rules { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6476,7 +6476,7 @@ pub mod data_collection_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6558,7 +6558,7 @@ pub mod data_collection_rules { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataCollectionRuleResource), @@ -6639,7 +6639,7 @@ pub mod data_collection_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6705,7 +6705,7 @@ pub mod data_collection_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6734,7 +6734,7 @@ pub mod data_collection_rules { } } pub mod data_collection_rule_associations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -6782,7 +6782,7 @@ pub mod data_collection_rule_associations { } } pub mod list_by_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6855,7 +6855,7 @@ pub mod data_collection_rule_associations { } } pub mod list_by_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6923,7 +6923,7 @@ pub mod data_collection_rule_associations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7003,7 +7003,7 @@ pub mod data_collection_rule_associations { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataCollectionRuleAssociationProxyOnlyResource), @@ -7072,7 +7072,7 @@ pub mod data_collection_rule_associations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/msi/Cargo.toml b/services/mgmt/msi/Cargo.toml index 4012067483..b48b7b226a 100644 --- a/services/mgmt/msi/Cargo.toml +++ b/services/mgmt/msi/Cargo.toml @@ -20,5 +20,6 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2018-11-30"] +no-default-version = [] "package-2018-11-30" = [] "package-2015-08-31-preview" = [] diff --git a/services/mgmt/msi/src/lib.rs b/services/mgmt/msi/src/lib.rs index daac355b71..7b7217aacf 100644 --- a/services/mgmt/msi/src/lib.rs +++ b/services/mgmt/msi/src/lib.rs @@ -1,13 +1,21 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2018-11-30")] -mod package_2018_11_30; -#[cfg(feature = "package-2018-11-30")] +pub mod package_2018_11_30; +#[cfg(all(feature = "package-2018-11-30", not(feature = "no-default-version")))] pub use package_2018_11_30::{models, operations, API_VERSION}; #[cfg(feature = "package-2015-08-31-preview")] -mod package_2015_08_31_preview; +pub mod package_2015_08_31_preview; use azure_core::setters; -#[cfg(feature = "package-2015-08-31-preview")] +#[cfg(all(feature = "package-2015-08-31-preview", not(feature = "no-default-version")))] pub use package_2015_08_31_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -31,7 +39,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/msi/src/package_2015_08_31_preview/operations.rs b/services/mgmt/msi/src/package_2015_08_31_preview/operations.rs index 6ff8ed9090..73ef70d51d 100644 --- a/services/mgmt/msi/src/package_2015_08_31_preview/operations.rs +++ b/services/mgmt/msi/src/package_2015_08_31_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod system_assigned_identities { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_scope( operation_config: &crate::OperationConfig, scope: &str, @@ -52,7 +52,7 @@ pub mod system_assigned_identities { } } pub mod get_by_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -76,7 +76,7 @@ pub mod system_assigned_identities { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ManagedIdentity/operations", operation_config.base_path(),); @@ -114,7 +114,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -138,7 +138,7 @@ pub mod operations { } } pub mod user_assigned_identities { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -186,7 +186,7 @@ pub mod user_assigned_identities { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -259,7 +259,7 @@ pub mod user_assigned_identities { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -329,7 +329,7 @@ pub mod user_assigned_identities { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -410,7 +410,7 @@ pub mod user_assigned_identities { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Identity), @@ -487,7 +487,7 @@ pub mod user_assigned_identities { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -553,7 +553,7 @@ pub mod user_assigned_identities { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/msi/src/package_2018_11_30/operations.rs b/services/mgmt/msi/src/package_2018_11_30/operations.rs index 43f690d98f..7708ba6d01 100644 --- a/services/mgmt/msi/src/package_2018_11_30/operations.rs +++ b/services/mgmt/msi/src/package_2018_11_30/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod system_assigned_identities { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_scope( operation_config: &crate::OperationConfig, scope: &str, @@ -52,7 +52,7 @@ pub mod system_assigned_identities { } } pub mod get_by_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -76,7 +76,7 @@ pub mod system_assigned_identities { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ManagedIdentity/operations", operation_config.base_path(),); @@ -114,7 +114,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -138,7 +138,7 @@ pub mod operations { } } pub mod user_assigned_identities { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -186,7 +186,7 @@ pub mod user_assigned_identities { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -259,7 +259,7 @@ pub mod user_assigned_identities { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -329,7 +329,7 @@ pub mod user_assigned_identities { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -410,7 +410,7 @@ pub mod user_assigned_identities { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Identity), @@ -487,7 +487,7 @@ pub mod user_assigned_identities { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -553,7 +553,7 @@ pub mod user_assigned_identities { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/mysql/Cargo.toml b/services/mgmt/mysql/Cargo.toml index 3547243d20..944825be14 100644 --- a/services/mgmt/mysql/Cargo.toml +++ b/services/mgmt/mysql/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2017-12-01"] +no-default-version = [] "package-2017-12-01-preview" = [] "package-2017-12-01" = [] "package-2018-06-01-privatepreview" = [] diff --git a/services/mgmt/mysql/src/lib.rs b/services/mgmt/mysql/src/lib.rs index 0698579407..6842e99525 100644 --- a/services/mgmt/mysql/src/lib.rs +++ b/services/mgmt/mysql/src/lib.rs @@ -1,45 +1,53 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2017-12-01-preview")] -mod package_2017_12_01_preview; -#[cfg(feature = "package-2017-12-01-preview")] +pub mod package_2017_12_01_preview; +#[cfg(all(feature = "package-2017-12-01-preview", not(feature = "no-default-version")))] pub use package_2017_12_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-12-01")] -mod package_2017_12_01; -#[cfg(feature = "package-2017-12-01")] +pub mod package_2017_12_01; +#[cfg(all(feature = "package-2017-12-01", not(feature = "no-default-version")))] pub use package_2017_12_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-06-01-privatepreview")] -mod package_2018_06_01_privatepreview; -#[cfg(feature = "package-2018-06-01-privatepreview")] +pub mod package_2018_06_01_privatepreview; +#[cfg(all(feature = "package-2018-06-01-privatepreview", not(feature = "no-default-version")))] pub use package_2018_06_01_privatepreview::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-06-01")] -mod package_2018_06_01; -#[cfg(feature = "package-2018-06-01")] +pub mod package_2018_06_01; +#[cfg(all(feature = "package-2018-06-01", not(feature = "no-default-version")))] pub use package_2018_06_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-01-01-privatepreview")] -mod package_2020_01_01_privatepreview; -#[cfg(feature = "package-2020-01-01-privatepreview")] +pub mod package_2020_01_01_privatepreview; +#[cfg(all(feature = "package-2020-01-01-privatepreview", not(feature = "no-default-version")))] pub use package_2020_01_01_privatepreview::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-01-01")] -mod package_2020_01_01; -#[cfg(feature = "package-2020-01-01")] +pub mod package_2020_01_01; +#[cfg(all(feature = "package-2020-01-01", not(feature = "no-default-version")))] pub use package_2020_01_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-07-01-privatepreview")] -mod package_2020_07_01_privatepreview; -#[cfg(feature = "package-2020-07-01-privatepreview")] +pub mod package_2020_07_01_privatepreview; +#[cfg(all(feature = "package-2020-07-01-privatepreview", not(feature = "no-default-version")))] pub use package_2020_07_01_privatepreview::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-07-01-preview")] -mod package_2020_07_01_preview; -#[cfg(feature = "package-2020-07-01-preview")] +pub mod package_2020_07_01_preview; +#[cfg(all(feature = "package-2020-07-01-preview", not(feature = "no-default-version")))] pub use package_2020_07_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-flexibleserver-2021-05-01-preview")] -mod package_flexibleserver_2021_05_01_preview; -#[cfg(feature = "package-flexibleserver-2021-05-01-preview")] +pub mod package_flexibleserver_2021_05_01_preview; +#[cfg(all(feature = "package-flexibleserver-2021-05-01-preview", not(feature = "no-default-version")))] pub use package_flexibleserver_2021_05_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-flexibleserver-2021-05-01")] -mod package_flexibleserver_2021_05_01; +pub mod package_flexibleserver_2021_05_01; use azure_core::setters; -#[cfg(feature = "package-flexibleserver-2021-05-01")] +#[cfg(all(feature = "package-flexibleserver-2021-05-01", not(feature = "no-default-version")))] pub use package_flexibleserver_2021_05_01::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -63,7 +71,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/mysql/src/package_2017_12_01/operations.rs b/services/mgmt/mysql/src/package_2017_12_01/operations.rs index d8bb226110..b6a3b740c1 100644 --- a/services/mgmt/mysql/src/package_2017_12_01/operations.rs +++ b/services/mgmt/mysql/src/package_2017_12_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod servers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -132,7 +132,7 @@ pub mod servers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -211,7 +211,7 @@ pub mod servers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -283,7 +283,7 @@ pub mod servers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -362,7 +362,7 @@ pub mod servers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -428,7 +428,7 @@ pub mod servers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -498,7 +498,7 @@ pub mod servers { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -527,7 +527,7 @@ pub mod servers { } } pub mod replicas { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -579,7 +579,7 @@ pub mod replicas { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -603,7 +603,7 @@ pub mod replicas { } } pub mod firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -654,7 +654,7 @@ pub mod firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -738,7 +738,7 @@ pub mod firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FirewallRule), @@ -813,7 +813,7 @@ pub mod firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -892,7 +892,7 @@ pub mod firewall_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -916,7 +916,7 @@ pub mod firewall_rules { } } pub mod virtual_network_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -959,7 +959,7 @@ pub mod virtual_network_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1032,7 +1032,7 @@ pub mod virtual_network_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkRule), @@ -1096,7 +1096,7 @@ pub mod virtual_network_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1164,7 +1164,7 @@ pub mod virtual_network_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1185,7 +1185,7 @@ pub mod virtual_network_rules { } } pub mod databases { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1236,7 +1236,7 @@ pub mod databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1320,7 +1320,7 @@ pub mod databases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1395,7 +1395,7 @@ pub mod databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1474,7 +1474,7 @@ pub mod databases { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1498,7 +1498,7 @@ pub mod databases { } } pub mod configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1549,7 +1549,7 @@ pub mod configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1627,7 +1627,7 @@ pub mod configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Configuration), @@ -1705,7 +1705,7 @@ pub mod configurations { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1729,7 +1729,7 @@ pub mod configurations { } } pub mod server_parameters { - use crate::models::*; + use super::{models, models::*}; pub async fn list_update_configurations( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1786,7 +1786,7 @@ pub mod server_parameters { } } pub mod list_update_configurations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConfigurationListResult), @@ -1815,7 +1815,7 @@ pub mod server_parameters { } } pub mod log_files { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1867,7 +1867,7 @@ pub mod log_files { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1891,7 +1891,7 @@ pub mod log_files { } } pub mod server_administrators { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1940,7 +1940,7 @@ pub mod server_administrators { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2021,7 +2021,7 @@ pub mod server_administrators { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerAdministratorResource), @@ -2093,7 +2093,7 @@ pub mod server_administrators { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2169,7 +2169,7 @@ pub mod server_administrators { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2193,7 +2193,7 @@ pub mod server_administrators { } } pub mod recoverable_servers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2242,7 +2242,7 @@ pub mod recoverable_servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2266,7 +2266,7 @@ pub mod recoverable_servers { } } pub mod server_based_performance_tier { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2315,7 +2315,7 @@ pub mod server_based_performance_tier { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2339,7 +2339,7 @@ pub mod server_based_performance_tier { } } pub mod location_based_performance_tier { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2386,7 +2386,7 @@ pub mod location_based_performance_tier { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2410,7 +2410,7 @@ pub mod location_based_performance_tier { } } pub mod check_name_availability { - use crate::models::*; + use super::{models, models::*}; pub async fn execute( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2460,7 +2460,7 @@ pub mod check_name_availability { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2484,7 +2484,7 @@ pub mod check_name_availability { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DBforMySQL/operations", operation_config.base_path(),); @@ -2522,7 +2522,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2546,7 +2546,7 @@ pub mod operations { } } pub mod server_security_alert_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2589,7 +2589,7 @@ pub mod server_security_alert_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2656,7 +2656,7 @@ pub mod server_security_alert_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerSecurityAlertPolicy), @@ -2723,7 +2723,7 @@ pub mod server_security_alert_policies { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/mysql/src/package_2017_12_01_preview/operations.rs b/services/mgmt/mysql/src/package_2017_12_01_preview/operations.rs index 57e0164022..17a0e5af90 100644 --- a/services/mgmt/mysql/src/package_2017_12_01_preview/operations.rs +++ b/services/mgmt/mysql/src/package_2017_12_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod servers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -132,7 +132,7 @@ pub mod servers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -211,7 +211,7 @@ pub mod servers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -283,7 +283,7 @@ pub mod servers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -362,7 +362,7 @@ pub mod servers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -428,7 +428,7 @@ pub mod servers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -498,7 +498,7 @@ pub mod servers { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -527,7 +527,7 @@ pub mod servers { } } pub mod replicas { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -579,7 +579,7 @@ pub mod replicas { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -603,7 +603,7 @@ pub mod replicas { } } pub mod firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -654,7 +654,7 @@ pub mod firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -738,7 +738,7 @@ pub mod firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FirewallRule), @@ -813,7 +813,7 @@ pub mod firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -892,7 +892,7 @@ pub mod firewall_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -916,7 +916,7 @@ pub mod firewall_rules { } } pub mod virtual_network_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -959,7 +959,7 @@ pub mod virtual_network_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1032,7 +1032,7 @@ pub mod virtual_network_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkRule), @@ -1096,7 +1096,7 @@ pub mod virtual_network_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1164,7 +1164,7 @@ pub mod virtual_network_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1185,7 +1185,7 @@ pub mod virtual_network_rules { } } pub mod databases { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1236,7 +1236,7 @@ pub mod databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1320,7 +1320,7 @@ pub mod databases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1395,7 +1395,7 @@ pub mod databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1474,7 +1474,7 @@ pub mod databases { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1498,7 +1498,7 @@ pub mod databases { } } pub mod configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1549,7 +1549,7 @@ pub mod configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1627,7 +1627,7 @@ pub mod configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Configuration), @@ -1705,7 +1705,7 @@ pub mod configurations { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1729,7 +1729,7 @@ pub mod configurations { } } pub mod server_parameters { - use crate::models::*; + use super::{models, models::*}; pub async fn list_update_configurations( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1786,7 +1786,7 @@ pub mod server_parameters { } } pub mod list_update_configurations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConfigurationListResult), @@ -1815,7 +1815,7 @@ pub mod server_parameters { } } pub mod log_files { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1867,7 +1867,7 @@ pub mod log_files { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1891,7 +1891,7 @@ pub mod log_files { } } pub mod server_administrators { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1940,7 +1940,7 @@ pub mod server_administrators { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2021,7 +2021,7 @@ pub mod server_administrators { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerAdministratorResource), @@ -2093,7 +2093,7 @@ pub mod server_administrators { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2169,7 +2169,7 @@ pub mod server_administrators { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2193,7 +2193,7 @@ pub mod server_administrators { } } pub mod recoverable_servers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2242,7 +2242,7 @@ pub mod recoverable_servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2266,7 +2266,7 @@ pub mod recoverable_servers { } } pub mod server_based_performance_tier { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2315,7 +2315,7 @@ pub mod server_based_performance_tier { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2339,7 +2339,7 @@ pub mod server_based_performance_tier { } } pub mod location_based_performance_tier { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2386,7 +2386,7 @@ pub mod location_based_performance_tier { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2410,7 +2410,7 @@ pub mod location_based_performance_tier { } } pub mod check_name_availability { - use crate::models::*; + use super::{models, models::*}; pub async fn execute( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2460,7 +2460,7 @@ pub mod check_name_availability { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2484,7 +2484,7 @@ pub mod check_name_availability { } } pub mod server_security_alert_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2527,7 +2527,7 @@ pub mod server_security_alert_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2594,7 +2594,7 @@ pub mod server_security_alert_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerSecurityAlertPolicy), @@ -2661,7 +2661,7 @@ pub mod server_security_alert_policies { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2682,7 +2682,7 @@ pub mod server_security_alert_policies { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DBforMySQL/operations", operation_config.base_path(),); @@ -2720,7 +2720,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/mysql/src/package_2018_06_01/operations.rs b/services/mgmt/mysql/src/package_2018_06_01/operations.rs index c3b5315122..9eb0020126 100644 --- a/services/mgmt/mysql/src/package_2018_06_01/operations.rs +++ b/services/mgmt/mysql/src/package_2018_06_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod servers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -132,7 +132,7 @@ pub mod servers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -211,7 +211,7 @@ pub mod servers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -283,7 +283,7 @@ pub mod servers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -362,7 +362,7 @@ pub mod servers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -428,7 +428,7 @@ pub mod servers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -498,7 +498,7 @@ pub mod servers { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -527,7 +527,7 @@ pub mod servers { } } pub mod replicas { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -579,7 +579,7 @@ pub mod replicas { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -603,7 +603,7 @@ pub mod replicas { } } pub mod firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -654,7 +654,7 @@ pub mod firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -738,7 +738,7 @@ pub mod firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FirewallRule), @@ -813,7 +813,7 @@ pub mod firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -892,7 +892,7 @@ pub mod firewall_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -916,7 +916,7 @@ pub mod firewall_rules { } } pub mod virtual_network_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -959,7 +959,7 @@ pub mod virtual_network_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1032,7 +1032,7 @@ pub mod virtual_network_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkRule), @@ -1096,7 +1096,7 @@ pub mod virtual_network_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1164,7 +1164,7 @@ pub mod virtual_network_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1185,7 +1185,7 @@ pub mod virtual_network_rules { } } pub mod databases { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1236,7 +1236,7 @@ pub mod databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1320,7 +1320,7 @@ pub mod databases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1395,7 +1395,7 @@ pub mod databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1474,7 +1474,7 @@ pub mod databases { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1498,7 +1498,7 @@ pub mod databases { } } pub mod configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1549,7 +1549,7 @@ pub mod configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1627,7 +1627,7 @@ pub mod configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Configuration), @@ -1705,7 +1705,7 @@ pub mod configurations { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1729,7 +1729,7 @@ pub mod configurations { } } pub mod server_parameters { - use crate::models::*; + use super::{models, models::*}; pub async fn list_update_configurations( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1786,7 +1786,7 @@ pub mod server_parameters { } } pub mod list_update_configurations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConfigurationListResult), @@ -1815,7 +1815,7 @@ pub mod server_parameters { } } pub mod log_files { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1867,7 +1867,7 @@ pub mod log_files { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1891,7 +1891,7 @@ pub mod log_files { } } pub mod server_administrators { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1940,7 +1940,7 @@ pub mod server_administrators { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2021,7 +2021,7 @@ pub mod server_administrators { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerAdministratorResource), @@ -2093,7 +2093,7 @@ pub mod server_administrators { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2169,7 +2169,7 @@ pub mod server_administrators { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2193,7 +2193,7 @@ pub mod server_administrators { } } pub mod recoverable_servers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2242,7 +2242,7 @@ pub mod recoverable_servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2266,7 +2266,7 @@ pub mod recoverable_servers { } } pub mod server_based_performance_tier { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2315,7 +2315,7 @@ pub mod server_based_performance_tier { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2339,7 +2339,7 @@ pub mod server_based_performance_tier { } } pub mod location_based_performance_tier { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2386,7 +2386,7 @@ pub mod location_based_performance_tier { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2410,7 +2410,7 @@ pub mod location_based_performance_tier { } } pub mod check_name_availability { - use crate::models::*; + use super::{models, models::*}; pub async fn execute( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2460,7 +2460,7 @@ pub mod check_name_availability { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2484,7 +2484,7 @@ pub mod check_name_availability { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DBforMySQL/operations", operation_config.base_path(),); @@ -2522,7 +2522,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2546,7 +2546,7 @@ pub mod operations { } } pub mod server_security_alert_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2589,7 +2589,7 @@ pub mod server_security_alert_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2656,7 +2656,7 @@ pub mod server_security_alert_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerSecurityAlertPolicy), @@ -2723,7 +2723,7 @@ pub mod server_security_alert_policies { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2744,7 +2744,7 @@ pub mod server_security_alert_policies { } } pub mod query_texts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2795,7 +2795,7 @@ pub mod query_texts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2872,7 +2872,7 @@ pub mod query_texts { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2896,7 +2896,7 @@ pub mod query_texts { } } pub mod top_query_statistics { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2947,7 +2947,7 @@ pub mod top_query_statistics { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3022,7 +3022,7 @@ pub mod top_query_statistics { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3046,7 +3046,7 @@ pub mod top_query_statistics { } } pub mod wait_statistics { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3097,7 +3097,7 @@ pub mod wait_statistics { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3172,7 +3172,7 @@ pub mod wait_statistics { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3249,7 +3249,7 @@ pub async fn reset_query_performance_insight_data( } } pub mod reset_query_performance_insight_data { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3323,7 +3323,7 @@ pub async fn create_recommended_action_session( } } pub mod create_recommended_action_session { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3348,7 +3348,7 @@ pub mod create_recommended_action_session { } } pub mod advisors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3397,7 +3397,7 @@ pub mod advisors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3465,7 +3465,7 @@ pub mod advisors { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3486,7 +3486,7 @@ pub mod advisors { } } pub mod recommended_actions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3537,7 +3537,7 @@ pub mod recommended_actions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3611,7 +3611,7 @@ pub mod recommended_actions { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3632,7 +3632,7 @@ pub mod recommended_actions { } } pub mod location_based_recommended_action_sessions_operation_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3679,7 +3679,7 @@ pub mod location_based_recommended_action_sessions_operation_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3700,7 +3700,7 @@ pub mod location_based_recommended_action_sessions_operation_status { } } pub mod location_based_recommended_action_sessions_result { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3753,7 +3753,7 @@ pub mod location_based_recommended_action_sessions_result { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecommendationActionsResultList), @@ -3779,7 +3779,7 @@ pub mod location_based_recommended_action_sessions_result { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3830,7 +3830,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3908,7 +3908,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -3990,7 +3990,7 @@ pub mod private_endpoint_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4059,7 +4059,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4138,7 +4138,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4162,7 +4162,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4214,7 +4214,7 @@ pub mod private_link_resources { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4286,7 +4286,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/mysql/src/package_2018_06_01_privatepreview/operations.rs b/services/mgmt/mysql/src/package_2018_06_01_privatepreview/operations.rs index dd74314058..6ac0e0dc5f 100644 --- a/services/mgmt/mysql/src/package_2018_06_01_privatepreview/operations.rs +++ b/services/mgmt/mysql/src/package_2018_06_01_privatepreview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod servers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -51,7 +51,7 @@ pub mod servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -125,7 +125,7 @@ pub mod servers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -199,7 +199,7 @@ pub mod servers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -266,7 +266,7 @@ pub mod servers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -340,7 +340,7 @@ pub mod servers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -401,7 +401,7 @@ pub mod servers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -468,7 +468,7 @@ pub mod servers { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -497,7 +497,7 @@ pub mod servers { } } pub mod replicas { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -547,7 +547,7 @@ pub mod replicas { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -568,7 +568,7 @@ pub mod replicas { } } pub mod firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -617,7 +617,7 @@ pub mod firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -696,7 +696,7 @@ pub mod firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FirewallRule), @@ -766,7 +766,7 @@ pub mod firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -840,7 +840,7 @@ pub mod firewall_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -861,7 +861,7 @@ pub mod firewall_rules { } } pub mod virtual_network_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -904,7 +904,7 @@ pub mod virtual_network_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -977,7 +977,7 @@ pub mod virtual_network_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkRule), @@ -1041,7 +1041,7 @@ pub mod virtual_network_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1109,7 +1109,7 @@ pub mod virtual_network_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1130,7 +1130,7 @@ pub mod virtual_network_rules { } } pub mod databases { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1179,7 +1179,7 @@ pub mod databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1258,7 +1258,7 @@ pub mod databases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1328,7 +1328,7 @@ pub mod databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1402,7 +1402,7 @@ pub mod databases { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1423,7 +1423,7 @@ pub mod databases { } } pub mod configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1472,7 +1472,7 @@ pub mod configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1545,7 +1545,7 @@ pub mod configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Configuration), @@ -1618,7 +1618,7 @@ pub mod configurations { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1639,7 +1639,7 @@ pub mod configurations { } } pub mod log_files { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1689,7 +1689,7 @@ pub mod log_files { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1710,7 +1710,7 @@ pub mod log_files { } } pub mod server_administrators { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1759,7 +1759,7 @@ pub mod server_administrators { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1840,7 +1840,7 @@ pub mod server_administrators { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerAdministratorResource), @@ -1912,7 +1912,7 @@ pub mod server_administrators { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1988,7 +1988,7 @@ pub mod server_administrators { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2012,7 +2012,7 @@ pub mod server_administrators { } } pub mod location_based_performance_tier { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2057,7 +2057,7 @@ pub mod location_based_performance_tier { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2078,7 +2078,7 @@ pub mod location_based_performance_tier { } } pub mod check_name_availability { - use crate::models::*; + use super::{models, models::*}; pub async fn execute( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2126,7 +2126,7 @@ pub mod check_name_availability { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2147,7 +2147,7 @@ pub mod check_name_availability { } } pub mod server_security_alert_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2190,7 +2190,7 @@ pub mod server_security_alert_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2257,7 +2257,7 @@ pub mod server_security_alert_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerSecurityAlertPolicy), @@ -2283,7 +2283,7 @@ pub mod server_security_alert_policies { } } pub mod query_texts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2332,7 +2332,7 @@ pub mod query_texts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2404,7 +2404,7 @@ pub mod query_texts { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2425,7 +2425,7 @@ pub mod query_texts { } } pub mod top_query_statistics { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2474,7 +2474,7 @@ pub mod top_query_statistics { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2544,7 +2544,7 @@ pub mod top_query_statistics { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2565,7 +2565,7 @@ pub mod top_query_statistics { } } pub mod wait_statistics { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2614,7 +2614,7 @@ pub mod wait_statistics { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2684,7 +2684,7 @@ pub mod wait_statistics { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2705,7 +2705,7 @@ pub mod wait_statistics { } } pub mod advisors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2754,7 +2754,7 @@ pub mod advisors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2822,7 +2822,7 @@ pub mod advisors { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2894,7 +2894,7 @@ pub async fn create_recommended_action_session( } } pub mod create_recommended_action_session { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2919,7 +2919,7 @@ pub mod create_recommended_action_session { } } pub mod recommended_actions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2970,7 +2970,7 @@ pub mod recommended_actions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3044,7 +3044,7 @@ pub mod recommended_actions { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3065,7 +3065,7 @@ pub mod recommended_actions { } } pub mod location_based_recommended_action_sessions_operation_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3112,7 +3112,7 @@ pub mod location_based_recommended_action_sessions_operation_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3133,7 +3133,7 @@ pub mod location_based_recommended_action_sessions_operation_status { } } pub mod location_based_recommended_action_sessions_result { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3186,7 +3186,7 @@ pub mod location_based_recommended_action_sessions_result { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecommendationActionsResultList), @@ -3212,7 +3212,7 @@ pub mod location_based_recommended_action_sessions_result { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DBforMySQL/operations", operation_config.base_path(),); @@ -3248,7 +3248,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3269,7 +3269,7 @@ pub mod operations { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3320,7 +3320,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3398,7 +3398,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -3480,7 +3480,7 @@ pub mod private_endpoint_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3549,7 +3549,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3628,7 +3628,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3652,7 +3652,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3704,7 +3704,7 @@ pub mod private_link_resources { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3776,7 +3776,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/mysql/src/package_2020_01_01/operations.rs b/services/mgmt/mysql/src/package_2020_01_01/operations.rs index e6eee15cd7..7a1406b37b 100644 --- a/services/mgmt/mysql/src/package_2020_01_01/operations.rs +++ b/services/mgmt/mysql/src/package_2020_01_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod servers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -132,7 +132,7 @@ pub mod servers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -211,7 +211,7 @@ pub mod servers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -283,7 +283,7 @@ pub mod servers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -362,7 +362,7 @@ pub mod servers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -428,7 +428,7 @@ pub mod servers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -498,7 +498,7 @@ pub mod servers { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -570,7 +570,7 @@ pub mod servers { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -642,7 +642,7 @@ pub mod servers { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -718,7 +718,7 @@ pub mod servers { } } pub mod upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -747,7 +747,7 @@ pub mod servers { } } pub mod replicas { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -799,7 +799,7 @@ pub mod replicas { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -823,7 +823,7 @@ pub mod replicas { } } pub mod firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -874,7 +874,7 @@ pub mod firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -958,7 +958,7 @@ pub mod firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FirewallRule), @@ -1033,7 +1033,7 @@ pub mod firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1112,7 +1112,7 @@ pub mod firewall_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1136,7 +1136,7 @@ pub mod firewall_rules { } } pub mod virtual_network_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1179,7 +1179,7 @@ pub mod virtual_network_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1252,7 +1252,7 @@ pub mod virtual_network_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkRule), @@ -1316,7 +1316,7 @@ pub mod virtual_network_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1384,7 +1384,7 @@ pub mod virtual_network_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1405,7 +1405,7 @@ pub mod virtual_network_rules { } } pub mod databases { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1456,7 +1456,7 @@ pub mod databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1540,7 +1540,7 @@ pub mod databases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1615,7 +1615,7 @@ pub mod databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1694,7 +1694,7 @@ pub mod databases { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1718,7 +1718,7 @@ pub mod databases { } } pub mod configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1769,7 +1769,7 @@ pub mod configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1847,7 +1847,7 @@ pub mod configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Configuration), @@ -1925,7 +1925,7 @@ pub mod configurations { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1949,7 +1949,7 @@ pub mod configurations { } } pub mod server_parameters { - use crate::models::*; + use super::{models, models::*}; pub async fn list_update_configurations( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2006,7 +2006,7 @@ pub mod server_parameters { } } pub mod list_update_configurations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConfigurationListResult), @@ -2035,7 +2035,7 @@ pub mod server_parameters { } } pub mod log_files { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2087,7 +2087,7 @@ pub mod log_files { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2111,7 +2111,7 @@ pub mod log_files { } } pub mod server_administrators { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2160,7 +2160,7 @@ pub mod server_administrators { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2241,7 +2241,7 @@ pub mod server_administrators { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerAdministratorResource), @@ -2313,7 +2313,7 @@ pub mod server_administrators { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2389,7 +2389,7 @@ pub mod server_administrators { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2413,7 +2413,7 @@ pub mod server_administrators { } } pub mod recoverable_servers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2462,7 +2462,7 @@ pub mod recoverable_servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2486,7 +2486,7 @@ pub mod recoverable_servers { } } pub mod server_based_performance_tier { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2535,7 +2535,7 @@ pub mod server_based_performance_tier { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2559,7 +2559,7 @@ pub mod server_based_performance_tier { } } pub mod location_based_performance_tier { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2606,7 +2606,7 @@ pub mod location_based_performance_tier { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2630,7 +2630,7 @@ pub mod location_based_performance_tier { } } pub mod check_name_availability { - use crate::models::*; + use super::{models, models::*}; pub async fn execute( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2680,7 +2680,7 @@ pub mod check_name_availability { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2704,7 +2704,7 @@ pub mod check_name_availability { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DBforMySQL/operations", operation_config.base_path(),); @@ -2742,7 +2742,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2766,7 +2766,7 @@ pub mod operations { } } pub mod server_security_alert_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2809,7 +2809,7 @@ pub mod server_security_alert_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2876,7 +2876,7 @@ pub mod server_security_alert_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerSecurityAlertPolicy), @@ -2943,7 +2943,7 @@ pub mod server_security_alert_policies { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2964,7 +2964,7 @@ pub mod server_security_alert_policies { } } pub mod query_texts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3015,7 +3015,7 @@ pub mod query_texts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3092,7 +3092,7 @@ pub mod query_texts { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3116,7 +3116,7 @@ pub mod query_texts { } } pub mod top_query_statistics { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3167,7 +3167,7 @@ pub mod top_query_statistics { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3242,7 +3242,7 @@ pub mod top_query_statistics { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3266,7 +3266,7 @@ pub mod top_query_statistics { } } pub mod wait_statistics { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3317,7 +3317,7 @@ pub mod wait_statistics { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3392,7 +3392,7 @@ pub mod wait_statistics { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3469,7 +3469,7 @@ pub async fn reset_query_performance_insight_data( } } pub mod reset_query_performance_insight_data { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3543,7 +3543,7 @@ pub async fn create_recommended_action_session( } } pub mod create_recommended_action_session { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3568,7 +3568,7 @@ pub mod create_recommended_action_session { } } pub mod advisors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3617,7 +3617,7 @@ pub mod advisors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3685,7 +3685,7 @@ pub mod advisors { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3706,7 +3706,7 @@ pub mod advisors { } } pub mod recommended_actions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3757,7 +3757,7 @@ pub mod recommended_actions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3831,7 +3831,7 @@ pub mod recommended_actions { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3852,7 +3852,7 @@ pub mod recommended_actions { } } pub mod location_based_recommended_action_sessions_operation_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3899,7 +3899,7 @@ pub mod location_based_recommended_action_sessions_operation_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3920,7 +3920,7 @@ pub mod location_based_recommended_action_sessions_operation_status { } } pub mod location_based_recommended_action_sessions_result { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3973,7 +3973,7 @@ pub mod location_based_recommended_action_sessions_result { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecommendationActionsResultList), @@ -3999,7 +3999,7 @@ pub mod location_based_recommended_action_sessions_result { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4050,7 +4050,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4128,7 +4128,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -4210,7 +4210,7 @@ pub mod private_endpoint_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4279,7 +4279,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4358,7 +4358,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4382,7 +4382,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4434,7 +4434,7 @@ pub mod private_link_resources { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4506,7 +4506,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4530,7 +4530,7 @@ pub mod private_link_resources { } } pub mod server_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4579,7 +4579,7 @@ pub mod server_keys { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4651,7 +4651,7 @@ pub mod server_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4734,7 +4734,7 @@ pub mod server_keys { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerKey), @@ -4808,7 +4808,7 @@ pub mod server_keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/mysql/src/package_2020_01_01_privatepreview/operations.rs b/services/mgmt/mysql/src/package_2020_01_01_privatepreview/operations.rs index 80236dcce2..911420cd6d 100644 --- a/services/mgmt/mysql/src/package_2020_01_01_privatepreview/operations.rs +++ b/services/mgmt/mysql/src/package_2020_01_01_privatepreview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod server_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_instance( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -56,7 +56,7 @@ pub mod server_keys { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -128,7 +128,7 @@ pub mod server_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -206,7 +206,7 @@ pub mod server_keys { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerKey), @@ -280,7 +280,7 @@ pub mod server_keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/mysql/src/package_2020_07_01_preview/operations.rs b/services/mgmt/mysql/src/package_2020_07_01_preview/operations.rs index e1c3192147..e7f2e68ee3 100644 --- a/services/mgmt/mysql/src/package_2020_07_01_preview/operations.rs +++ b/services/mgmt/mysql/src/package_2020_07_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod servers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -132,7 +132,7 @@ pub mod servers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -211,7 +211,7 @@ pub mod servers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -283,7 +283,7 @@ pub mod servers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -362,7 +362,7 @@ pub mod servers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -428,7 +428,7 @@ pub mod servers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -498,7 +498,7 @@ pub mod servers { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -570,7 +570,7 @@ pub mod servers { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -642,7 +642,7 @@ pub mod servers { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -671,7 +671,7 @@ pub mod servers { } } pub mod replicas { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -723,7 +723,7 @@ pub mod replicas { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -747,7 +747,7 @@ pub mod replicas { } } pub mod server_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -798,7 +798,7 @@ pub mod server_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -882,7 +882,7 @@ pub mod server_keys { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerKey), @@ -957,7 +957,7 @@ pub mod server_keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1036,7 +1036,7 @@ pub mod server_keys { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1060,7 +1060,7 @@ pub mod server_keys { } } pub mod firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1111,7 +1111,7 @@ pub mod firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1195,7 +1195,7 @@ pub mod firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FirewallRule), @@ -1270,7 +1270,7 @@ pub mod firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1349,7 +1349,7 @@ pub mod firewall_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1373,7 +1373,7 @@ pub mod firewall_rules { } } pub mod databases { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1424,7 +1424,7 @@ pub mod databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1508,7 +1508,7 @@ pub mod databases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1583,7 +1583,7 @@ pub mod databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1662,7 +1662,7 @@ pub mod databases { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1686,7 +1686,7 @@ pub mod databases { } } pub mod configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1737,7 +1737,7 @@ pub mod configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1812,7 +1812,7 @@ pub mod configurations { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Configuration), @@ -1893,7 +1893,7 @@ pub mod configurations { } } pub mod batch_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConfigurationListResult), @@ -1971,7 +1971,7 @@ pub mod configurations { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1995,7 +1995,7 @@ pub mod configurations { } } pub mod location_based_capabilities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2042,7 +2042,7 @@ pub mod location_based_capabilities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2066,7 +2066,7 @@ pub mod location_based_capabilities { } } pub mod check_virtual_network_subnet_usage { - use crate::models::*; + use super::{models, models::*}; pub async fn execute( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2118,7 +2118,7 @@ pub mod check_virtual_network_subnet_usage { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2142,7 +2142,7 @@ pub mod check_virtual_network_subnet_usage { } } pub mod check_name_availability { - use crate::models::*; + use super::{models, models::*}; pub async fn execute( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2192,7 +2192,7 @@ pub mod check_name_availability { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2216,7 +2216,7 @@ pub mod check_name_availability { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DBForMySql/operations", operation_config.base_path(),); @@ -2254,7 +2254,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/mysql/src/package_2020_07_01_privatepreview/operations.rs b/services/mgmt/mysql/src/package_2020_07_01_privatepreview/operations.rs index bbe06929b6..de021067a6 100644 --- a/services/mgmt/mysql/src/package_2020_07_01_privatepreview/operations.rs +++ b/services/mgmt/mysql/src/package_2020_07_01_privatepreview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod servers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -132,7 +132,7 @@ pub mod servers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -211,7 +211,7 @@ pub mod servers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -283,7 +283,7 @@ pub mod servers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -362,7 +362,7 @@ pub mod servers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -428,7 +428,7 @@ pub mod servers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -498,7 +498,7 @@ pub mod servers { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -570,7 +570,7 @@ pub mod servers { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -642,7 +642,7 @@ pub mod servers { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -671,7 +671,7 @@ pub mod servers { } } pub mod replicas { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -723,7 +723,7 @@ pub mod replicas { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -747,7 +747,7 @@ pub mod replicas { } } pub mod server_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -798,7 +798,7 @@ pub mod server_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -882,7 +882,7 @@ pub mod server_keys { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerKey), @@ -957,7 +957,7 @@ pub mod server_keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1036,7 +1036,7 @@ pub mod server_keys { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1060,7 +1060,7 @@ pub mod server_keys { } } pub mod firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1111,7 +1111,7 @@ pub mod firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1195,7 +1195,7 @@ pub mod firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FirewallRule), @@ -1270,7 +1270,7 @@ pub mod firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1349,7 +1349,7 @@ pub mod firewall_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1373,7 +1373,7 @@ pub mod firewall_rules { } } pub mod databases { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1424,7 +1424,7 @@ pub mod databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1508,7 +1508,7 @@ pub mod databases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1583,7 +1583,7 @@ pub mod databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1662,7 +1662,7 @@ pub mod databases { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1686,7 +1686,7 @@ pub mod databases { } } pub mod configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1737,7 +1737,7 @@ pub mod configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1812,7 +1812,7 @@ pub mod configurations { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Configuration), @@ -1890,7 +1890,7 @@ pub mod configurations { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1914,7 +1914,7 @@ pub mod configurations { } } pub mod server_parameters { - use crate::models::*; + use super::{models, models::*}; pub async fn batch_update( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1969,7 +1969,7 @@ pub mod server_parameters { } } pub mod batch_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConfigurationListResult), @@ -1998,7 +1998,7 @@ pub mod server_parameters { } } pub mod location_based_capabilities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2045,7 +2045,7 @@ pub mod location_based_capabilities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2069,7 +2069,7 @@ pub mod location_based_capabilities { } } pub mod check_virtual_network_subnet_usage { - use crate::models::*; + use super::{models, models::*}; pub async fn execute( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2121,7 +2121,7 @@ pub mod check_virtual_network_subnet_usage { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2145,7 +2145,7 @@ pub mod check_virtual_network_subnet_usage { } } pub mod check_name_availability { - use crate::models::*; + use super::{models, models::*}; pub async fn execute( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2195,7 +2195,7 @@ pub mod check_name_availability { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2219,7 +2219,7 @@ pub mod check_name_availability { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DBForMySql/operations", operation_config.base_path(),); @@ -2257,7 +2257,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/mysql/src/package_flexibleserver_2021_05_01/operations.rs b/services/mgmt/mysql/src/package_flexibleserver_2021_05_01/operations.rs index 0b73ffed23..a6d28ba732 100644 --- a/services/mgmt/mysql/src/package_flexibleserver_2021_05_01/operations.rs +++ b/services/mgmt/mysql/src/package_flexibleserver_2021_05_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod servers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -132,7 +132,7 @@ pub mod servers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -211,7 +211,7 @@ pub mod servers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -283,7 +283,7 @@ pub mod servers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -362,7 +362,7 @@ pub mod servers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -428,7 +428,7 @@ pub mod servers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -498,7 +498,7 @@ pub mod servers { } } pub mod failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -574,7 +574,7 @@ pub mod servers { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -646,7 +646,7 @@ pub mod servers { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -718,7 +718,7 @@ pub mod servers { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -747,7 +747,7 @@ pub mod servers { } } pub mod replicas { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -799,7 +799,7 @@ pub mod replicas { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -823,7 +823,7 @@ pub mod replicas { } } pub mod backups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -874,7 +874,7 @@ pub mod backups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -947,7 +947,7 @@ pub mod backups { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -971,7 +971,7 @@ pub mod backups { } } pub mod firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1022,7 +1022,7 @@ pub mod firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1106,7 +1106,7 @@ pub mod firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FirewallRule), @@ -1181,7 +1181,7 @@ pub mod firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1260,7 +1260,7 @@ pub mod firewall_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1284,7 +1284,7 @@ pub mod firewall_rules { } } pub mod databases { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1335,7 +1335,7 @@ pub mod databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1419,7 +1419,7 @@ pub mod databases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1494,7 +1494,7 @@ pub mod databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1573,7 +1573,7 @@ pub mod databases { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1597,7 +1597,7 @@ pub mod databases { } } pub mod configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1648,7 +1648,7 @@ pub mod configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1723,7 +1723,7 @@ pub mod configurations { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Configuration), @@ -1804,7 +1804,7 @@ pub mod configurations { } } pub mod batch_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConfigurationListResult), @@ -1882,7 +1882,7 @@ pub mod configurations { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1906,7 +1906,7 @@ pub mod configurations { } } pub mod location_based_capabilities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1953,7 +1953,7 @@ pub mod location_based_capabilities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1977,7 +1977,7 @@ pub mod location_based_capabilities { } } pub mod check_virtual_network_subnet_usage { - use crate::models::*; + use super::{models, models::*}; pub async fn execute( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2029,7 +2029,7 @@ pub mod check_virtual_network_subnet_usage { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2053,7 +2053,7 @@ pub mod check_virtual_network_subnet_usage { } } pub mod check_name_availability { - use crate::models::*; + use super::{models, models::*}; pub async fn execute( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2105,7 +2105,7 @@ pub mod check_name_availability { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2129,7 +2129,7 @@ pub mod check_name_availability { } } pub mod get_private_dns_zone_suffix { - use crate::models::*; + use super::{models, models::*}; pub async fn execute( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -2176,7 +2176,7 @@ pub mod get_private_dns_zone_suffix { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2200,7 +2200,7 @@ pub mod get_private_dns_zone_suffix { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DBforMySQL/operations", operation_config.base_path(),); @@ -2238,7 +2238,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/mysql/src/package_flexibleserver_2021_05_01_preview/operations.rs b/services/mgmt/mysql/src/package_flexibleserver_2021_05_01_preview/operations.rs index 0b73ffed23..a6d28ba732 100644 --- a/services/mgmt/mysql/src/package_flexibleserver_2021_05_01_preview/operations.rs +++ b/services/mgmt/mysql/src/package_flexibleserver_2021_05_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod servers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -132,7 +132,7 @@ pub mod servers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -211,7 +211,7 @@ pub mod servers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -283,7 +283,7 @@ pub mod servers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -362,7 +362,7 @@ pub mod servers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -428,7 +428,7 @@ pub mod servers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -498,7 +498,7 @@ pub mod servers { } } pub mod failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -574,7 +574,7 @@ pub mod servers { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -646,7 +646,7 @@ pub mod servers { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -718,7 +718,7 @@ pub mod servers { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -747,7 +747,7 @@ pub mod servers { } } pub mod replicas { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -799,7 +799,7 @@ pub mod replicas { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -823,7 +823,7 @@ pub mod replicas { } } pub mod backups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -874,7 +874,7 @@ pub mod backups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -947,7 +947,7 @@ pub mod backups { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -971,7 +971,7 @@ pub mod backups { } } pub mod firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1022,7 +1022,7 @@ pub mod firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1106,7 +1106,7 @@ pub mod firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FirewallRule), @@ -1181,7 +1181,7 @@ pub mod firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1260,7 +1260,7 @@ pub mod firewall_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1284,7 +1284,7 @@ pub mod firewall_rules { } } pub mod databases { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1335,7 +1335,7 @@ pub mod databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1419,7 +1419,7 @@ pub mod databases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1494,7 +1494,7 @@ pub mod databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1573,7 +1573,7 @@ pub mod databases { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1597,7 +1597,7 @@ pub mod databases { } } pub mod configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1648,7 +1648,7 @@ pub mod configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1723,7 +1723,7 @@ pub mod configurations { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Configuration), @@ -1804,7 +1804,7 @@ pub mod configurations { } } pub mod batch_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConfigurationListResult), @@ -1882,7 +1882,7 @@ pub mod configurations { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1906,7 +1906,7 @@ pub mod configurations { } } pub mod location_based_capabilities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1953,7 +1953,7 @@ pub mod location_based_capabilities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1977,7 +1977,7 @@ pub mod location_based_capabilities { } } pub mod check_virtual_network_subnet_usage { - use crate::models::*; + use super::{models, models::*}; pub async fn execute( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2029,7 +2029,7 @@ pub mod check_virtual_network_subnet_usage { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2053,7 +2053,7 @@ pub mod check_virtual_network_subnet_usage { } } pub mod check_name_availability { - use crate::models::*; + use super::{models, models::*}; pub async fn execute( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2105,7 +2105,7 @@ pub mod check_name_availability { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2129,7 +2129,7 @@ pub mod check_name_availability { } } pub mod get_private_dns_zone_suffix { - use crate::models::*; + use super::{models, models::*}; pub async fn execute( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -2176,7 +2176,7 @@ pub mod get_private_dns_zone_suffix { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2200,7 +2200,7 @@ pub mod get_private_dns_zone_suffix { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DBforMySQL/operations", operation_config.base_path(),); @@ -2238,7 +2238,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/network/Cargo.toml b/services/mgmt/network/Cargo.toml index 07c3d6b9f7..3d62a21283 100644 --- a/services/mgmt/network/Cargo.toml +++ b/services/mgmt/network/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-03"] +no-default-version = [] "package-2021-03" = [] "package-2021-02" = [] "package-2020-11" = [] diff --git a/services/mgmt/network/src/lib.rs b/services/mgmt/network/src/lib.rs index 434636bd77..6d937b0892 100644 --- a/services/mgmt/network/src/lib.rs +++ b/services/mgmt/network/src/lib.rs @@ -1,197 +1,205 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-03")] -mod package_2021_03; -#[cfg(feature = "package-2021-03")] +pub mod package_2021_03; +#[cfg(all(feature = "package-2021-03", not(feature = "no-default-version")))] pub use package_2021_03::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-02")] -mod package_2021_02; -#[cfg(feature = "package-2021-02")] +pub mod package_2021_02; +#[cfg(all(feature = "package-2021-02", not(feature = "no-default-version")))] pub use package_2021_02::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-11")] -mod package_2020_11; -#[cfg(feature = "package-2020-11")] +pub mod package_2020_11; +#[cfg(all(feature = "package-2020-11", not(feature = "no-default-version")))] pub use package_2020_11::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-02-preview")] -mod package_2021_02_preview; -#[cfg(feature = "package-2021-02-preview")] +pub mod package_2021_02_preview; +#[cfg(all(feature = "package-2021-02-preview", not(feature = "no-default-version")))] pub use package_2021_02_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-03-preview")] -mod package_2021_03_preview; -#[cfg(feature = "package-2021-03-preview")] +pub mod package_2021_03_preview; +#[cfg(all(feature = "package-2021-03-preview", not(feature = "no-default-version")))] pub use package_2021_03_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-08")] -mod package_2020_08; -#[cfg(feature = "package-2020-08")] +pub mod package_2020_08; +#[cfg(all(feature = "package-2020-08", not(feature = "no-default-version")))] pub use package_2020_08::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-07")] -mod package_2020_07; -#[cfg(feature = "package-2020-07")] +pub mod package_2020_07; +#[cfg(all(feature = "package-2020-07", not(feature = "no-default-version")))] pub use package_2020_07::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-06")] -mod package_2020_06; -#[cfg(feature = "package-2020-06")] +pub mod package_2020_06; +#[cfg(all(feature = "package-2020-06", not(feature = "no-default-version")))] pub use package_2020_06::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-05")] -mod package_2020_05; -#[cfg(feature = "package-2020-05")] +pub mod package_2020_05; +#[cfg(all(feature = "package-2020-05", not(feature = "no-default-version")))] pub use package_2020_05::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-04")] -mod package_2020_04; -#[cfg(feature = "package-2020-04")] +pub mod package_2020_04; +#[cfg(all(feature = "package-2020-04", not(feature = "no-default-version")))] pub use package_2020_04::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-03")] -mod package_2020_03; -#[cfg(feature = "package-2020-03")] +pub mod package_2020_03; +#[cfg(all(feature = "package-2020-03", not(feature = "no-default-version")))] pub use package_2020_03::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-12")] -mod package_2019_12; -#[cfg(feature = "package-2019-12")] +pub mod package_2019_12; +#[cfg(all(feature = "package-2019-12", not(feature = "no-default-version")))] pub use package_2019_12::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-11")] -mod package_2019_11; -#[cfg(feature = "package-2019-11")] +pub mod package_2019_11; +#[cfg(all(feature = "package-2019-11", not(feature = "no-default-version")))] pub use package_2019_11::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-09")] -mod package_2019_09; -#[cfg(feature = "package-2019-09")] +pub mod package_2019_09; +#[cfg(all(feature = "package-2019-09", not(feature = "no-default-version")))] pub use package_2019_09::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-08")] -mod package_2019_08; -#[cfg(feature = "package-2019-08")] +pub mod package_2019_08; +#[cfg(all(feature = "package-2019-08", not(feature = "no-default-version")))] pub use package_2019_08::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-07")] -mod package_2019_07; -#[cfg(feature = "package-2019-07")] +pub mod package_2019_07; +#[cfg(all(feature = "package-2019-07", not(feature = "no-default-version")))] pub use package_2019_07::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-06")] -mod package_2019_06; -#[cfg(feature = "package-2019-06")] +pub mod package_2019_06; +#[cfg(all(feature = "package-2019-06", not(feature = "no-default-version")))] pub use package_2019_06::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-04")] -mod package_2019_04; -#[cfg(feature = "package-2019-04")] +pub mod package_2019_04; +#[cfg(all(feature = "package-2019-04", not(feature = "no-default-version")))] pub use package_2019_04::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-02")] -mod package_2019_02; -#[cfg(feature = "package-2019-02")] +pub mod package_2019_02; +#[cfg(all(feature = "package-2019-02", not(feature = "no-default-version")))] pub use package_2019_02::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-12")] -mod package_2018_12; -#[cfg(feature = "package-2018-12")] +pub mod package_2018_12; +#[cfg(all(feature = "package-2018-12", not(feature = "no-default-version")))] pub use package_2018_12::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-12-only")] -mod package_2018_12_only; -#[cfg(feature = "package-2018-12-only")] +pub mod package_2018_12_only; +#[cfg(all(feature = "package-2018-12-only", not(feature = "no-default-version")))] pub use package_2018_12_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-11")] -mod package_2018_11; -#[cfg(feature = "package-2018-11")] +pub mod package_2018_11; +#[cfg(all(feature = "package-2018-11", not(feature = "no-default-version")))] pub use package_2018_11::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-10")] -mod package_2018_10; -#[cfg(feature = "package-2018-10")] +pub mod package_2018_10; +#[cfg(all(feature = "package-2018-10", not(feature = "no-default-version")))] pub use package_2018_10::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-08")] -mod package_2018_08; -#[cfg(feature = "package-2018-08")] +pub mod package_2018_08; +#[cfg(all(feature = "package-2018-08", not(feature = "no-default-version")))] pub use package_2018_08::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-07")] -mod package_2018_07; -#[cfg(feature = "package-2018-07")] +pub mod package_2018_07; +#[cfg(all(feature = "package-2018-07", not(feature = "no-default-version")))] pub use package_2018_07::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-06")] -mod package_2018_06; -#[cfg(feature = "package-2018-06")] +pub mod package_2018_06; +#[cfg(all(feature = "package-2018-06", not(feature = "no-default-version")))] pub use package_2018_06::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-04")] -mod package_2018_04; -#[cfg(feature = "package-2018-04")] +pub mod package_2018_04; +#[cfg(all(feature = "package-2018-04", not(feature = "no-default-version")))] pub use package_2018_04::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-02")] -mod package_2018_02; -#[cfg(feature = "package-2018-02")] +pub mod package_2018_02; +#[cfg(all(feature = "package-2018-02", not(feature = "no-default-version")))] pub use package_2018_02::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-01")] -mod package_2018_01; -#[cfg(feature = "package-2018-01")] +pub mod package_2018_01; +#[cfg(all(feature = "package-2018-01", not(feature = "no-default-version")))] pub use package_2018_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-01-only")] -mod package_2018_01_only; -#[cfg(feature = "package-2018-01-only")] +pub mod package_2018_01_only; +#[cfg(all(feature = "package-2018-01-only", not(feature = "no-default-version")))] pub use package_2018_01_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-11")] -mod package_2017_11; -#[cfg(feature = "package-2017-11")] +pub mod package_2017_11; +#[cfg(all(feature = "package-2017-11", not(feature = "no-default-version")))] pub use package_2017_11::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-11-only")] -mod package_2017_11_only; -#[cfg(feature = "package-2017-11-only")] +pub mod package_2017_11_only; +#[cfg(all(feature = "package-2017-11-only", not(feature = "no-default-version")))] pub use package_2017_11_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-10")] -mod package_2017_10; -#[cfg(feature = "package-2017-10")] +pub mod package_2017_10; +#[cfg(all(feature = "package-2017-10", not(feature = "no-default-version")))] pub use package_2017_10::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-10-only")] -mod package_2017_10_only; -#[cfg(feature = "package-2017-10-only")] +pub mod package_2017_10_only; +#[cfg(all(feature = "package-2017-10-only", not(feature = "no-default-version")))] pub use package_2017_10_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-09")] -mod package_2017_09; -#[cfg(feature = "package-2017-09")] +pub mod package_2017_09; +#[cfg(all(feature = "package-2017-09", not(feature = "no-default-version")))] pub use package_2017_09::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-09-only")] -mod package_2017_09_only; -#[cfg(feature = "package-2017-09-only")] +pub mod package_2017_09_only; +#[cfg(all(feature = "package-2017-09-only", not(feature = "no-default-version")))] pub use package_2017_09_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-08")] -mod package_2017_08; -#[cfg(feature = "package-2017-08")] +pub mod package_2017_08; +#[cfg(all(feature = "package-2017-08", not(feature = "no-default-version")))] pub use package_2017_08::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-06")] -mod package_2017_06; -#[cfg(feature = "package-2017-06")] +pub mod package_2017_06; +#[cfg(all(feature = "package-2017-06", not(feature = "no-default-version")))] pub use package_2017_06::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-03")] -mod package_2017_03; -#[cfg(feature = "package-2017-03")] +pub mod package_2017_03; +#[cfg(all(feature = "package-2017-03", not(feature = "no-default-version")))] pub use package_2017_03::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-03-only")] -mod package_2017_03_only; -#[cfg(feature = "package-2017-03-only")] +pub mod package_2017_03_only; +#[cfg(all(feature = "package-2017-03-only", not(feature = "no-default-version")))] pub use package_2017_03_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-03-30-only")] -mod package_2017_03_30_only; -#[cfg(feature = "package-2017-03-30-only")] +pub mod package_2017_03_30_only; +#[cfg(all(feature = "package-2017-03-30-only", not(feature = "no-default-version")))] pub use package_2017_03_30_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2016-12")] -mod package_2016_12; -#[cfg(feature = "package-2016-12")] +pub mod package_2016_12; +#[cfg(all(feature = "package-2016-12", not(feature = "no-default-version")))] pub use package_2016_12::{models, operations, API_VERSION}; #[cfg(feature = "package-2016-09")] -mod package_2016_09; -#[cfg(feature = "package-2016-09")] +pub mod package_2016_09; +#[cfg(all(feature = "package-2016-09", not(feature = "no-default-version")))] pub use package_2016_09::{models, operations, API_VERSION}; #[cfg(feature = "package-2016-06")] -mod package_2016_06; -#[cfg(feature = "package-2016-06")] +pub mod package_2016_06; +#[cfg(all(feature = "package-2016-06", not(feature = "no-default-version")))] pub use package_2016_06::{models, operations, API_VERSION}; #[cfg(feature = "package-2016-03")] -mod package_2016_03; -#[cfg(feature = "package-2016-03")] +pub mod package_2016_03; +#[cfg(all(feature = "package-2016-03", not(feature = "no-default-version")))] pub use package_2016_03::{models, operations, API_VERSION}; #[cfg(feature = "package-2015-06split")] -mod package_2015_06split; -#[cfg(feature = "package-2015-06split")] +pub mod package_2015_06split; +#[cfg(all(feature = "package-2015-06split", not(feature = "no-default-version")))] pub use package_2015_06split::{models, operations, API_VERSION}; #[cfg(feature = "package-2015-05-preview")] -mod package_2015_05_preview; -#[cfg(feature = "package-2015-05-preview")] +pub mod package_2015_05_preview; +#[cfg(all(feature = "package-2015-05-preview", not(feature = "no-default-version")))] pub use package_2015_05_preview::{models, operations, API_VERSION}; #[cfg(feature = "profile-hybrid-2020-09-01")] -mod profile_hybrid_2020_09_01; +pub mod profile_hybrid_2020_09_01; use azure_core::setters; -#[cfg(feature = "profile-hybrid-2020-09-01")] +#[cfg(all(feature = "profile-hybrid-2020-09-01", not(feature = "no-default-version")))] pub use profile_hybrid_2020_09_01::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -215,7 +223,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/network/src/package_2015_05_preview/operations.rs b/services/mgmt/network/src/package_2015_05_preview/operations.rs index c15795a3d6..99b327ab0f 100644 --- a/services/mgmt/network/src/package_2015_05_preview/operations.rs +++ b/services/mgmt/network/src/package_2015_05_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod application_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod application_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod application_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationGateway), @@ -194,7 +194,7 @@ pub mod application_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -263,7 +263,7 @@ pub mod application_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -327,7 +327,7 @@ pub mod application_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -388,7 +388,7 @@ pub mod application_gateways { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -450,7 +450,7 @@ pub mod application_gateways { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -476,7 +476,7 @@ pub mod application_gateways { } } pub mod express_route_circuits { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -523,7 +523,7 @@ pub mod express_route_circuits { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -599,7 +599,7 @@ pub mod express_route_circuits { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuit), @@ -666,7 +666,7 @@ pub mod express_route_circuits { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -740,7 +740,7 @@ pub mod express_route_circuits { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -808,7 +808,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -876,7 +876,7 @@ pub mod express_route_circuits { } } pub mod list_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -939,7 +939,7 @@ pub mod express_route_circuits { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1003,7 +1003,7 @@ pub mod express_route_circuits { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1024,7 +1024,7 @@ pub mod express_route_circuits { } } pub mod express_route_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1067,7 +1067,7 @@ pub mod express_route_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1088,7 +1088,7 @@ pub mod express_route_service_providers { } } pub mod express_route_circuit_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1137,7 +1137,7 @@ pub mod express_route_circuit_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1215,7 +1215,7 @@ pub mod express_route_circuit_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuitPeering), @@ -1284,7 +1284,7 @@ pub mod express_route_circuit_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1355,7 +1355,7 @@ pub mod express_route_circuit_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1376,7 +1376,7 @@ pub mod express_route_circuit_peerings { } } pub mod load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1423,7 +1423,7 @@ pub mod load_balancers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1499,7 +1499,7 @@ pub mod load_balancers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoadBalancer), @@ -1566,7 +1566,7 @@ pub mod load_balancers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1636,7 +1636,7 @@ pub mod load_balancers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1699,7 +1699,7 @@ pub mod load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1720,7 +1720,7 @@ pub mod load_balancers { } } pub mod local_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1767,7 +1767,7 @@ pub mod local_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1843,7 +1843,7 @@ pub mod local_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LocalNetworkGateway), @@ -1910,7 +1910,7 @@ pub mod local_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1979,7 +1979,7 @@ pub mod local_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2000,7 +2000,7 @@ pub mod local_network_gateways { } } pub mod network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2047,7 +2047,7 @@ pub mod network_interfaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2123,7 +2123,7 @@ pub mod network_interfaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkInterface), @@ -2190,7 +2190,7 @@ pub mod network_interfaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2262,7 +2262,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_vm_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2333,7 +2333,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2399,7 +2399,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_network_interface { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2463,7 +2463,7 @@ pub mod network_interfaces { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2526,7 +2526,7 @@ pub mod network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2547,7 +2547,7 @@ pub mod network_interfaces { } } pub mod route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2594,7 +2594,7 @@ pub mod route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2670,7 +2670,7 @@ pub mod route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(RouteTable), @@ -2737,7 +2737,7 @@ pub mod route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2806,7 +2806,7 @@ pub mod route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2870,7 +2870,7 @@ pub mod route_tables { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2891,7 +2891,7 @@ pub mod route_tables { } } pub mod network_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2938,7 +2938,7 @@ pub mod network_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3014,7 +3014,7 @@ pub mod network_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkSecurityGroup), @@ -3081,7 +3081,7 @@ pub mod network_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -3151,7 +3151,7 @@ pub mod network_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3214,7 +3214,7 @@ pub mod network_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3235,7 +3235,7 @@ pub mod network_security_groups { } } pub mod public_ip_addresses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3282,7 +3282,7 @@ pub mod public_ip_addresses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3358,7 +3358,7 @@ pub mod public_ip_addresses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpAddress), @@ -3425,7 +3425,7 @@ pub mod public_ip_addresses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -3495,7 +3495,7 @@ pub mod public_ip_addresses { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3558,7 +3558,7 @@ pub mod public_ip_addresses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3579,7 +3579,7 @@ pub mod public_ip_addresses { } } pub mod routes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3628,7 +3628,7 @@ pub mod routes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3706,7 +3706,7 @@ pub mod routes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Route), @@ -3775,7 +3775,7 @@ pub mod routes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -3846,7 +3846,7 @@ pub mod routes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3867,7 +3867,7 @@ pub mod routes { } } pub mod security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3916,7 +3916,7 @@ pub mod security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3994,7 +3994,7 @@ pub mod security_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(SecurityRule), @@ -4063,7 +4063,7 @@ pub mod security_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4134,7 +4134,7 @@ pub mod security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4155,7 +4155,7 @@ pub mod security_rules { } } pub mod express_route_circuit_authorizations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4204,7 +4204,7 @@ pub mod express_route_circuit_authorizations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4282,7 +4282,7 @@ pub mod express_route_circuit_authorizations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuitAuthorization), @@ -4351,7 +4351,7 @@ pub mod express_route_circuit_authorizations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4422,7 +4422,7 @@ pub mod express_route_circuit_authorizations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4443,7 +4443,7 @@ pub mod express_route_circuit_authorizations { } } pub mod subnets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4492,7 +4492,7 @@ pub mod subnets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4570,7 +4570,7 @@ pub mod subnets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Subnet), @@ -4639,7 +4639,7 @@ pub mod subnets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4710,7 +4710,7 @@ pub mod subnets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4731,7 +4731,7 @@ pub mod subnets { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -4776,7 +4776,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4797,7 +4797,7 @@ pub mod usages { } } pub mod virtual_network_gateway_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4844,7 +4844,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4920,7 +4920,7 @@ pub mod virtual_network_gateway_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(VirtualNetworkGatewayConnection), @@ -4987,7 +4987,7 @@ pub mod virtual_network_gateway_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -5061,7 +5061,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5137,7 +5137,7 @@ pub mod virtual_network_gateway_connections { } } pub mod set_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ConnectionSharedKey), @@ -5205,7 +5205,7 @@ pub mod virtual_network_gateway_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5276,7 +5276,7 @@ pub mod virtual_network_gateway_connections { } } pub mod reset_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5302,7 +5302,7 @@ pub mod virtual_network_gateway_connections { } } pub mod virtual_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5349,7 +5349,7 @@ pub mod virtual_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5425,7 +5425,7 @@ pub mod virtual_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(VirtualNetworkGateway), @@ -5492,7 +5492,7 @@ pub mod virtual_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -5561,7 +5561,7 @@ pub mod virtual_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5629,7 +5629,7 @@ pub mod virtual_network_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5655,7 +5655,7 @@ pub mod virtual_network_gateways { } } pub mod virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5702,7 +5702,7 @@ pub mod virtual_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5778,7 +5778,7 @@ pub mod virtual_networks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(VirtualNetwork), @@ -5845,7 +5845,7 @@ pub mod virtual_networks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -5915,7 +5915,7 @@ pub mod virtual_networks { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5978,7 +5978,7 @@ pub mod virtual_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6051,7 +6051,7 @@ pub async fn check_dns_name_availability( } } pub mod check_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/network/src/package_2015_06split/operations.rs b/services/mgmt/network/src/package_2015_06split/operations.rs index 75df49602c..9b00737d88 100644 --- a/services/mgmt/network/src/package_2015_06split/operations.rs +++ b/services/mgmt/network/src/package_2015_06split/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod application_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod application_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod application_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationGateway), @@ -194,7 +194,7 @@ pub mod application_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -263,7 +263,7 @@ pub mod application_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -327,7 +327,7 @@ pub mod application_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -389,7 +389,7 @@ pub mod application_gateways { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -456,7 +456,7 @@ pub mod application_gateways { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -482,7 +482,7 @@ pub mod application_gateways { } } pub mod network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -533,7 +533,7 @@ pub mod network_interfaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -609,7 +609,7 @@ pub mod network_interfaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkInterface), @@ -676,7 +676,7 @@ pub mod network_interfaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -746,7 +746,7 @@ pub mod network_interfaces { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -809,7 +809,7 @@ pub mod network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -875,7 +875,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_vm_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -946,7 +946,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1016,7 +1016,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_network_interface { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1037,7 +1037,7 @@ pub mod network_interfaces { } } pub mod load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1088,7 +1088,7 @@ pub mod load_balancers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1164,7 +1164,7 @@ pub mod load_balancers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoadBalancer), @@ -1231,7 +1231,7 @@ pub mod load_balancers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1301,7 +1301,7 @@ pub mod load_balancers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1364,7 +1364,7 @@ pub mod load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1385,7 +1385,7 @@ pub mod load_balancers { } } pub mod virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1436,7 +1436,7 @@ pub mod virtual_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1512,7 +1512,7 @@ pub mod virtual_networks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetwork), @@ -1579,7 +1579,7 @@ pub mod virtual_networks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1649,7 +1649,7 @@ pub mod virtual_networks { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1712,7 +1712,7 @@ pub mod virtual_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1733,7 +1733,7 @@ pub mod virtual_networks { } } pub mod subnets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1786,7 +1786,7 @@ pub mod subnets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1864,7 +1864,7 @@ pub mod subnets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Subnet), @@ -1933,7 +1933,7 @@ pub mod subnets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2004,7 +2004,7 @@ pub mod subnets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2025,7 +2025,7 @@ pub mod subnets { } } pub mod network_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2076,7 +2076,7 @@ pub mod network_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2152,7 +2152,7 @@ pub mod network_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkSecurityGroup), @@ -2219,7 +2219,7 @@ pub mod network_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2289,7 +2289,7 @@ pub mod network_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2352,7 +2352,7 @@ pub mod network_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2373,7 +2373,7 @@ pub mod network_security_groups { } } pub mod security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2422,7 +2422,7 @@ pub mod security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2500,7 +2500,7 @@ pub mod security_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityRule), @@ -2569,7 +2569,7 @@ pub mod security_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2640,7 +2640,7 @@ pub mod security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2661,7 +2661,7 @@ pub mod security_rules { } } pub mod route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2712,7 +2712,7 @@ pub mod route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2788,7 +2788,7 @@ pub mod route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteTable), @@ -2855,7 +2855,7 @@ pub mod route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2924,7 +2924,7 @@ pub mod route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2988,7 +2988,7 @@ pub mod route_tables { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3009,7 +3009,7 @@ pub mod route_tables { } } pub mod routes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3058,7 +3058,7 @@ pub mod routes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3136,7 +3136,7 @@ pub mod routes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Route), @@ -3205,7 +3205,7 @@ pub mod routes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3276,7 +3276,7 @@ pub mod routes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3297,7 +3297,7 @@ pub mod routes { } } pub mod public_ip_addresses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3348,7 +3348,7 @@ pub mod public_ip_addresses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3424,7 +3424,7 @@ pub mod public_ip_addresses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpAddress), @@ -3491,7 +3491,7 @@ pub mod public_ip_addresses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -3561,7 +3561,7 @@ pub mod public_ip_addresses { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3624,7 +3624,7 @@ pub mod public_ip_addresses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3697,7 +3697,7 @@ pub async fn check_dns_name_availability( } } pub mod check_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3717,7 +3717,7 @@ pub mod check_dns_name_availability { } } pub mod express_route_circuit_authorizations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3766,7 +3766,7 @@ pub mod express_route_circuit_authorizations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3844,7 +3844,7 @@ pub mod express_route_circuit_authorizations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuitAuthorization), @@ -3913,7 +3913,7 @@ pub mod express_route_circuit_authorizations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3984,7 +3984,7 @@ pub mod express_route_circuit_authorizations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4005,7 +4005,7 @@ pub mod express_route_circuit_authorizations { } } pub mod express_route_circuit_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4054,7 +4054,7 @@ pub mod express_route_circuit_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4132,7 +4132,7 @@ pub mod express_route_circuit_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitPeering), @@ -4201,7 +4201,7 @@ pub mod express_route_circuit_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4272,7 +4272,7 @@ pub mod express_route_circuit_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4293,7 +4293,7 @@ pub mod express_route_circuit_peerings { } } pub mod express_route_circuits { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4340,7 +4340,7 @@ pub mod express_route_circuits { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4416,7 +4416,7 @@ pub mod express_route_circuits { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuit), @@ -4483,7 +4483,7 @@ pub mod express_route_circuits { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4557,7 +4557,7 @@ pub mod express_route_circuits { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4625,7 +4625,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4693,7 +4693,7 @@ pub mod express_route_circuits { } } pub mod list_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4756,7 +4756,7 @@ pub mod express_route_circuits { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4820,7 +4820,7 @@ pub mod express_route_circuits { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4841,7 +4841,7 @@ pub mod express_route_circuits { } } pub mod express_route_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4884,7 +4884,7 @@ pub mod express_route_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4905,7 +4905,7 @@ pub mod express_route_service_providers { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -4950,7 +4950,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4971,7 +4971,7 @@ pub mod usages { } } pub mod virtual_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5018,7 +5018,7 @@ pub mod virtual_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5094,7 +5094,7 @@ pub mod virtual_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGateway), @@ -5161,7 +5161,7 @@ pub mod virtual_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -5230,7 +5230,7 @@ pub mod virtual_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5298,7 +5298,7 @@ pub mod virtual_network_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5375,7 +5375,7 @@ pub mod virtual_network_gateways { } } pub mod generatevpnclientpackage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5396,7 +5396,7 @@ pub mod virtual_network_gateways { } } pub mod virtual_network_gateway_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5443,7 +5443,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5519,7 +5519,7 @@ pub mod virtual_network_gateway_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGatewayConnection), @@ -5586,7 +5586,7 @@ pub mod virtual_network_gateway_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5655,7 +5655,7 @@ pub mod virtual_network_gateway_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5726,7 +5726,7 @@ pub mod virtual_network_gateway_connections { } } pub mod reset_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionResetSharedKey), @@ -5799,7 +5799,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5875,7 +5875,7 @@ pub mod virtual_network_gateway_connections { } } pub mod set_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ConnectionSharedKey), @@ -5901,7 +5901,7 @@ pub mod virtual_network_gateway_connections { } } pub mod local_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5948,7 +5948,7 @@ pub mod local_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6024,7 +6024,7 @@ pub mod local_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LocalNetworkGateway), @@ -6091,7 +6091,7 @@ pub mod local_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -6160,7 +6160,7 @@ pub mod local_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/network/src/package_2016_03/models.rs b/services/mgmt/network/src/package_2016_03/models.rs index e251efc2bd..cd3ace6b24 100644 --- a/services/mgmt/network/src/package_2016_03/models.rs +++ b/services/mgmt/network/src/package_2016_03/models.rs @@ -1199,7 +1199,7 @@ pub struct PublicIpAddressPropertiesFormat { #[serde(rename = "publicIPAddressVersion", default, skip_serializing_if = "Option::is_none")] pub public_ip_address_version: Option, #[serde(rename = "ipConfiguration", default, skip_serializing_if = "Option::is_none")] - pub ip_configuration: Option, + pub ip_configuration: Box>, #[serde(rename = "dnsSettings", default, skip_serializing_if = "Option::is_none")] pub dns_settings: Option, #[serde(rename = "ipAddress", default, skip_serializing_if = "Option::is_none")] @@ -1229,7 +1229,7 @@ pub struct PublicIpAddress { #[serde(flatten)] pub resource: Resource, #[serde(default, skip_serializing_if = "Option::is_none")] - pub properties: Option, + pub properties: Box>, #[serde(default, skip_serializing_if = "Option::is_none")] pub etag: Option, } @@ -1321,7 +1321,7 @@ pub struct IpConfigurationPropertiesFormat { #[serde(default, skip_serializing_if = "Option::is_none")] pub subnet: Option, #[serde(rename = "publicIPAddress", default, skip_serializing_if = "Option::is_none")] - pub public_ip_address: Option, + pub public_ip_address: Box>, #[serde(rename = "provisioningState", default, skip_serializing_if = "Option::is_none")] pub provisioning_state: Option, } @@ -1338,7 +1338,7 @@ pub struct IpConfiguration { #[serde(flatten)] pub sub_resource: SubResource, #[serde(default, skip_serializing_if = "Option::is_none")] - pub properties: Option, + pub properties: Box>, #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/services/mgmt/network/src/package_2016_03/operations.rs b/services/mgmt/network/src/package_2016_03/operations.rs index 6defedcb4d..e84218af73 100644 --- a/services/mgmt/network/src/package_2016_03/operations.rs +++ b/services/mgmt/network/src/package_2016_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod application_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod application_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod application_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationGateway), @@ -194,7 +194,7 @@ pub mod application_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -263,7 +263,7 @@ pub mod application_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -327,7 +327,7 @@ pub mod application_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -389,7 +389,7 @@ pub mod application_gateways { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -456,7 +456,7 @@ pub mod application_gateways { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -482,7 +482,7 @@ pub mod application_gateways { } } pub mod express_route_circuit_authorizations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -531,7 +531,7 @@ pub mod express_route_circuit_authorizations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -609,7 +609,7 @@ pub mod express_route_circuit_authorizations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuitAuthorization), @@ -678,7 +678,7 @@ pub mod express_route_circuit_authorizations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -749,7 +749,7 @@ pub mod express_route_circuit_authorizations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -770,7 +770,7 @@ pub mod express_route_circuit_authorizations { } } pub mod express_route_circuit_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -819,7 +819,7 @@ pub mod express_route_circuit_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -897,7 +897,7 @@ pub mod express_route_circuit_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitPeering), @@ -966,7 +966,7 @@ pub mod express_route_circuit_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1037,7 +1037,7 @@ pub mod express_route_circuit_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1058,7 +1058,7 @@ pub mod express_route_circuit_peerings { } } pub mod express_route_circuits { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1105,7 +1105,7 @@ pub mod express_route_circuits { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1181,7 +1181,7 @@ pub mod express_route_circuits { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuit), @@ -1248,7 +1248,7 @@ pub mod express_route_circuits { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1328,7 +1328,7 @@ pub mod express_route_circuits { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -1407,7 +1407,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -1488,7 +1488,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableSummaryListResult), @@ -1561,7 +1561,7 @@ pub mod express_route_circuits { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1631,7 +1631,7 @@ pub mod express_route_circuits { } } pub mod get_peering_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1694,7 +1694,7 @@ pub mod express_route_circuits { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1758,7 +1758,7 @@ pub mod express_route_circuits { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1779,7 +1779,7 @@ pub mod express_route_circuits { } } pub mod express_route_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1822,7 +1822,7 @@ pub mod express_route_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1843,7 +1843,7 @@ pub mod express_route_service_providers { } } pub mod load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1894,7 +1894,7 @@ pub mod load_balancers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1970,7 +1970,7 @@ pub mod load_balancers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoadBalancer), @@ -2037,7 +2037,7 @@ pub mod load_balancers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2107,7 +2107,7 @@ pub mod load_balancers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2170,7 +2170,7 @@ pub mod load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2191,7 +2191,7 @@ pub mod load_balancers { } } pub mod local_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2238,7 +2238,7 @@ pub mod local_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2314,7 +2314,7 @@ pub mod local_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LocalNetworkGateway), @@ -2381,7 +2381,7 @@ pub mod local_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2450,7 +2450,7 @@ pub mod local_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2471,7 +2471,7 @@ pub mod local_network_gateways { } } pub mod network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2522,7 +2522,7 @@ pub mod network_interfaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2598,7 +2598,7 @@ pub mod network_interfaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkInterface), @@ -2665,7 +2665,7 @@ pub mod network_interfaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2737,7 +2737,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_vm_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2808,7 +2808,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2878,7 +2878,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_network_interface { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2942,7 +2942,7 @@ pub mod network_interfaces { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3005,7 +3005,7 @@ pub mod network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3026,7 +3026,7 @@ pub mod network_interfaces { } } pub mod network_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3077,7 +3077,7 @@ pub mod network_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3153,7 +3153,7 @@ pub mod network_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkSecurityGroup), @@ -3220,7 +3220,7 @@ pub mod network_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3290,7 +3290,7 @@ pub mod network_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3353,7 +3353,7 @@ pub mod network_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3374,7 +3374,7 @@ pub mod network_security_groups { } } pub mod public_ip_addresses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3425,7 +3425,7 @@ pub mod public_ip_addresses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3501,7 +3501,7 @@ pub mod public_ip_addresses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpAddress), @@ -3568,7 +3568,7 @@ pub mod public_ip_addresses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -3638,7 +3638,7 @@ pub mod public_ip_addresses { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3701,7 +3701,7 @@ pub mod public_ip_addresses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3722,7 +3722,7 @@ pub mod public_ip_addresses { } } pub mod route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3773,7 +3773,7 @@ pub mod route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3849,7 +3849,7 @@ pub mod route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteTable), @@ -3916,7 +3916,7 @@ pub mod route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -3985,7 +3985,7 @@ pub mod route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4049,7 +4049,7 @@ pub mod route_tables { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4070,7 +4070,7 @@ pub mod route_tables { } } pub mod routes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4119,7 +4119,7 @@ pub mod routes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4197,7 +4197,7 @@ pub mod routes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Route), @@ -4266,7 +4266,7 @@ pub mod routes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4337,7 +4337,7 @@ pub mod routes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4358,7 +4358,7 @@ pub mod routes { } } pub mod security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4407,7 +4407,7 @@ pub mod security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4485,7 +4485,7 @@ pub mod security_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityRule), @@ -4554,7 +4554,7 @@ pub mod security_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4625,7 +4625,7 @@ pub mod security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4646,7 +4646,7 @@ pub mod security_rules { } } pub mod subnets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4699,7 +4699,7 @@ pub mod subnets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4777,7 +4777,7 @@ pub mod subnets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Subnet), @@ -4846,7 +4846,7 @@ pub mod subnets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4917,7 +4917,7 @@ pub mod subnets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4938,7 +4938,7 @@ pub mod subnets { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -4983,7 +4983,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5004,7 +5004,7 @@ pub mod usages { } } pub mod virtual_network_gateway_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5051,7 +5051,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5127,7 +5127,7 @@ pub mod virtual_network_gateway_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGatewayConnection), @@ -5194,7 +5194,7 @@ pub mod virtual_network_gateway_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5263,7 +5263,7 @@ pub mod virtual_network_gateway_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5334,7 +5334,7 @@ pub mod virtual_network_gateway_connections { } } pub mod reset_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionResetSharedKey), @@ -5407,7 +5407,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5483,7 +5483,7 @@ pub mod virtual_network_gateway_connections { } } pub mod set_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ConnectionSharedKey), @@ -5509,7 +5509,7 @@ pub mod virtual_network_gateway_connections { } } pub mod virtual_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5556,7 +5556,7 @@ pub mod virtual_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5632,7 +5632,7 @@ pub mod virtual_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGateway), @@ -5699,7 +5699,7 @@ pub mod virtual_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -5768,7 +5768,7 @@ pub mod virtual_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5836,7 +5836,7 @@ pub mod virtual_network_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5913,7 +5913,7 @@ pub mod virtual_network_gateways { } } pub mod generatevpnclientpackage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5934,7 +5934,7 @@ pub mod virtual_network_gateways { } } pub mod virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5985,7 +5985,7 @@ pub mod virtual_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6061,7 +6061,7 @@ pub mod virtual_networks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetwork), @@ -6128,7 +6128,7 @@ pub mod virtual_networks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6198,7 +6198,7 @@ pub mod virtual_networks { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6261,7 +6261,7 @@ pub mod virtual_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6334,7 +6334,7 @@ pub async fn check_dns_name_availability( } } pub mod check_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/network/src/package_2016_06/models.rs b/services/mgmt/network/src/package_2016_06/models.rs index cbb9e1207f..3f2f38e161 100644 --- a/services/mgmt/network/src/package_2016_06/models.rs +++ b/services/mgmt/network/src/package_2016_06/models.rs @@ -1302,7 +1302,7 @@ pub struct PublicIpAddressPropertiesFormat { #[serde(rename = "publicIPAddressVersion", default, skip_serializing_if = "Option::is_none")] pub public_ip_address_version: Option, #[serde(rename = "ipConfiguration", default, skip_serializing_if = "Option::is_none")] - pub ip_configuration: Option, + pub ip_configuration: Box>, #[serde(rename = "dnsSettings", default, skip_serializing_if = "Option::is_none")] pub dns_settings: Option, #[serde(rename = "ipAddress", default, skip_serializing_if = "Option::is_none")] @@ -1332,7 +1332,7 @@ pub struct PublicIpAddress { #[serde(flatten)] pub resource: Resource, #[serde(default, skip_serializing_if = "Option::is_none")] - pub properties: Option, + pub properties: Box>, #[serde(default, skip_serializing_if = "Option::is_none")] pub etag: Option, } @@ -1469,7 +1469,7 @@ pub struct IpConfigurationPropertiesFormat { #[serde(default, skip_serializing_if = "Option::is_none")] pub subnet: Option, #[serde(rename = "publicIPAddress", default, skip_serializing_if = "Option::is_none")] - pub public_ip_address: Option, + pub public_ip_address: Box>, #[serde(rename = "provisioningState", default, skip_serializing_if = "Option::is_none")] pub provisioning_state: Option, } @@ -1486,7 +1486,7 @@ pub struct IpConfiguration { #[serde(flatten)] pub sub_resource: SubResource, #[serde(default, skip_serializing_if = "Option::is_none")] - pub properties: Option, + pub properties: Box>, #[serde(default, skip_serializing_if = "Option::is_none")] pub name: Option, #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/services/mgmt/network/src/package_2016_06/operations.rs b/services/mgmt/network/src/package_2016_06/operations.rs index 4e3034c684..58ee0184ab 100644 --- a/services/mgmt/network/src/package_2016_06/operations.rs +++ b/services/mgmt/network/src/package_2016_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod application_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod application_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod application_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationGateway), @@ -194,7 +194,7 @@ pub mod application_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -263,7 +263,7 @@ pub mod application_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -327,7 +327,7 @@ pub mod application_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -389,7 +389,7 @@ pub mod application_gateways { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -456,7 +456,7 @@ pub mod application_gateways { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -482,7 +482,7 @@ pub mod application_gateways { } } pub mod express_route_circuit_authorizations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -531,7 +531,7 @@ pub mod express_route_circuit_authorizations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -609,7 +609,7 @@ pub mod express_route_circuit_authorizations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuitAuthorization), @@ -678,7 +678,7 @@ pub mod express_route_circuit_authorizations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -749,7 +749,7 @@ pub mod express_route_circuit_authorizations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -770,7 +770,7 @@ pub mod express_route_circuit_authorizations { } } pub mod express_route_circuit_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -819,7 +819,7 @@ pub mod express_route_circuit_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -897,7 +897,7 @@ pub mod express_route_circuit_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitPeering), @@ -966,7 +966,7 @@ pub mod express_route_circuit_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1037,7 +1037,7 @@ pub mod express_route_circuit_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1058,7 +1058,7 @@ pub mod express_route_circuit_peerings { } } pub mod express_route_circuits { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1105,7 +1105,7 @@ pub mod express_route_circuits { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1181,7 +1181,7 @@ pub mod express_route_circuits { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuit), @@ -1248,7 +1248,7 @@ pub mod express_route_circuits { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1328,7 +1328,7 @@ pub mod express_route_circuits { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -1407,7 +1407,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -1488,7 +1488,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableSummaryListResult), @@ -1561,7 +1561,7 @@ pub mod express_route_circuits { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1631,7 +1631,7 @@ pub mod express_route_circuits { } } pub mod get_peering_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1694,7 +1694,7 @@ pub mod express_route_circuits { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1758,7 +1758,7 @@ pub mod express_route_circuits { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1779,7 +1779,7 @@ pub mod express_route_circuits { } } pub mod express_route_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1822,7 +1822,7 @@ pub mod express_route_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1843,7 +1843,7 @@ pub mod express_route_service_providers { } } pub mod load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1894,7 +1894,7 @@ pub mod load_balancers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1970,7 +1970,7 @@ pub mod load_balancers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoadBalancer), @@ -2037,7 +2037,7 @@ pub mod load_balancers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2107,7 +2107,7 @@ pub mod load_balancers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2170,7 +2170,7 @@ pub mod load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2191,7 +2191,7 @@ pub mod load_balancers { } } pub mod local_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2238,7 +2238,7 @@ pub mod local_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2314,7 +2314,7 @@ pub mod local_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LocalNetworkGateway), @@ -2381,7 +2381,7 @@ pub mod local_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2450,7 +2450,7 @@ pub mod local_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2471,7 +2471,7 @@ pub mod local_network_gateways { } } pub mod network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2522,7 +2522,7 @@ pub mod network_interfaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2598,7 +2598,7 @@ pub mod network_interfaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkInterface), @@ -2665,7 +2665,7 @@ pub mod network_interfaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2737,7 +2737,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_vm_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2808,7 +2808,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2878,7 +2878,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_network_interface { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2942,7 +2942,7 @@ pub mod network_interfaces { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3005,7 +3005,7 @@ pub mod network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3077,7 +3077,7 @@ pub mod network_interfaces { } } pub mod get_effective_route_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveRouteListResult), @@ -3154,7 +3154,7 @@ pub mod network_interfaces { } } pub mod list_effective_network_security_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveNetworkSecurityGroupListResult), @@ -3180,7 +3180,7 @@ pub mod network_interfaces { } } pub mod network_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3231,7 +3231,7 @@ pub mod network_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3307,7 +3307,7 @@ pub mod network_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkSecurityGroup), @@ -3374,7 +3374,7 @@ pub mod network_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3444,7 +3444,7 @@ pub mod network_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3507,7 +3507,7 @@ pub mod network_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3528,7 +3528,7 @@ pub mod network_security_groups { } } pub mod public_ip_addresses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3579,7 +3579,7 @@ pub mod public_ip_addresses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3655,7 +3655,7 @@ pub mod public_ip_addresses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpAddress), @@ -3722,7 +3722,7 @@ pub mod public_ip_addresses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -3792,7 +3792,7 @@ pub mod public_ip_addresses { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3855,7 +3855,7 @@ pub mod public_ip_addresses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3876,7 +3876,7 @@ pub mod public_ip_addresses { } } pub mod route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3927,7 +3927,7 @@ pub mod route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4003,7 +4003,7 @@ pub mod route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteTable), @@ -4070,7 +4070,7 @@ pub mod route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4139,7 +4139,7 @@ pub mod route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4203,7 +4203,7 @@ pub mod route_tables { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4224,7 +4224,7 @@ pub mod route_tables { } } pub mod routes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4273,7 +4273,7 @@ pub mod routes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4351,7 +4351,7 @@ pub mod routes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Route), @@ -4420,7 +4420,7 @@ pub mod routes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4491,7 +4491,7 @@ pub mod routes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4512,7 +4512,7 @@ pub mod routes { } } pub mod security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4561,7 +4561,7 @@ pub mod security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4639,7 +4639,7 @@ pub mod security_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityRule), @@ -4708,7 +4708,7 @@ pub mod security_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4779,7 +4779,7 @@ pub mod security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4800,7 +4800,7 @@ pub mod security_rules { } } pub mod subnets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4853,7 +4853,7 @@ pub mod subnets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4931,7 +4931,7 @@ pub mod subnets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Subnet), @@ -5000,7 +5000,7 @@ pub mod subnets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5071,7 +5071,7 @@ pub mod subnets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5092,7 +5092,7 @@ pub mod subnets { } } pub mod virtual_network_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5141,7 +5141,7 @@ pub mod virtual_network_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5219,7 +5219,7 @@ pub mod virtual_network_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkPeering), @@ -5288,7 +5288,7 @@ pub mod virtual_network_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5359,7 +5359,7 @@ pub mod virtual_network_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5380,7 +5380,7 @@ pub mod virtual_network_peerings { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -5425,7 +5425,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5446,7 +5446,7 @@ pub mod usages { } } pub mod virtual_network_gateway_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5493,7 +5493,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5569,7 +5569,7 @@ pub mod virtual_network_gateway_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGatewayConnection), @@ -5636,7 +5636,7 @@ pub mod virtual_network_gateway_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5705,7 +5705,7 @@ pub mod virtual_network_gateway_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5776,7 +5776,7 @@ pub mod virtual_network_gateway_connections { } } pub mod reset_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionResetSharedKey), @@ -5849,7 +5849,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5925,7 +5925,7 @@ pub mod virtual_network_gateway_connections { } } pub mod set_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ConnectionSharedKey), @@ -5951,7 +5951,7 @@ pub mod virtual_network_gateway_connections { } } pub mod virtual_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5998,7 +5998,7 @@ pub mod virtual_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6074,7 +6074,7 @@ pub mod virtual_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGateway), @@ -6141,7 +6141,7 @@ pub mod virtual_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -6210,7 +6210,7 @@ pub mod virtual_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6278,7 +6278,7 @@ pub mod virtual_network_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6355,7 +6355,7 @@ pub mod virtual_network_gateways { } } pub mod generatevpnclientpackage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6376,7 +6376,7 @@ pub mod virtual_network_gateways { } } pub mod virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6427,7 +6427,7 @@ pub mod virtual_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6503,7 +6503,7 @@ pub mod virtual_networks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetwork), @@ -6570,7 +6570,7 @@ pub mod virtual_networks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6640,7 +6640,7 @@ pub mod virtual_networks { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6703,7 +6703,7 @@ pub mod virtual_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6777,7 +6777,7 @@ pub mod virtual_networks { } } pub mod check_ip_address_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6850,7 +6850,7 @@ pub async fn check_dns_name_availability( } } pub mod check_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/network/src/package_2016_09/operations.rs b/services/mgmt/network/src/package_2016_09/operations.rs index e30543a1a5..196e2b61e3 100644 --- a/services/mgmt/network/src/package_2016_09/operations.rs +++ b/services/mgmt/network/src/package_2016_09/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list_virtual_machine_scale_set_vm_network_interfaces( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -52,7 +52,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_vm_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -123,7 +123,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -193,7 +193,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_network_interface { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -262,7 +262,7 @@ pub mod network_interfaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -338,7 +338,7 @@ pub mod network_interfaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkInterface), @@ -405,7 +405,7 @@ pub mod network_interfaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -475,7 +475,7 @@ pub mod network_interfaces { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -538,7 +538,7 @@ pub mod network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -610,7 +610,7 @@ pub mod network_interfaces { } } pub mod get_effective_route_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveRouteListResult), @@ -687,7 +687,7 @@ pub mod network_interfaces { } } pub mod list_effective_network_security_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveNetworkSecurityGroupListResult), @@ -713,7 +713,7 @@ pub mod network_interfaces { } } pub mod application_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -760,7 +760,7 @@ pub mod application_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -836,7 +836,7 @@ pub mod application_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationGateway), @@ -903,7 +903,7 @@ pub mod application_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -972,7 +972,7 @@ pub mod application_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1036,7 +1036,7 @@ pub mod application_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1098,7 +1098,7 @@ pub mod application_gateways { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1165,7 +1165,7 @@ pub mod application_gateways { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1244,7 +1244,7 @@ pub mod application_gateways { } } pub mod backend_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealth), @@ -1270,7 +1270,7 @@ pub mod application_gateways { } } pub mod load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1321,7 +1321,7 @@ pub mod load_balancers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1397,7 +1397,7 @@ pub mod load_balancers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoadBalancer), @@ -1464,7 +1464,7 @@ pub mod load_balancers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1534,7 +1534,7 @@ pub mod load_balancers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1597,7 +1597,7 @@ pub mod load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1618,7 +1618,7 @@ pub mod load_balancers { } } pub mod virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1669,7 +1669,7 @@ pub mod virtual_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1745,7 +1745,7 @@ pub mod virtual_networks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetwork), @@ -1812,7 +1812,7 @@ pub mod virtual_networks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1882,7 +1882,7 @@ pub mod virtual_networks { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1945,7 +1945,7 @@ pub mod virtual_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2019,7 +2019,7 @@ pub mod virtual_networks { } } pub mod check_ip_address_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2040,7 +2040,7 @@ pub mod virtual_networks { } } pub mod subnets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2093,7 +2093,7 @@ pub mod subnets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2171,7 +2171,7 @@ pub mod subnets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Subnet), @@ -2240,7 +2240,7 @@ pub mod subnets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2311,7 +2311,7 @@ pub mod subnets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2332,7 +2332,7 @@ pub mod subnets { } } pub mod virtual_network_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2381,7 +2381,7 @@ pub mod virtual_network_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2459,7 +2459,7 @@ pub mod virtual_network_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkPeering), @@ -2528,7 +2528,7 @@ pub mod virtual_network_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2599,7 +2599,7 @@ pub mod virtual_network_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2620,7 +2620,7 @@ pub mod virtual_network_peerings { } } pub mod network_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2671,7 +2671,7 @@ pub mod network_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2747,7 +2747,7 @@ pub mod network_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkSecurityGroup), @@ -2814,7 +2814,7 @@ pub mod network_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2884,7 +2884,7 @@ pub mod network_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2947,7 +2947,7 @@ pub mod network_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2968,7 +2968,7 @@ pub mod network_security_groups { } } pub mod security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3017,7 +3017,7 @@ pub mod security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3095,7 +3095,7 @@ pub mod security_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityRule), @@ -3164,7 +3164,7 @@ pub mod security_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -3235,7 +3235,7 @@ pub mod security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3256,7 +3256,7 @@ pub mod security_rules { } } pub mod route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3307,7 +3307,7 @@ pub mod route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3383,7 +3383,7 @@ pub mod route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteTable), @@ -3450,7 +3450,7 @@ pub mod route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -3519,7 +3519,7 @@ pub mod route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3583,7 +3583,7 @@ pub mod route_tables { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3604,7 +3604,7 @@ pub mod route_tables { } } pub mod routes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3653,7 +3653,7 @@ pub mod routes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3731,7 +3731,7 @@ pub mod routes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Route), @@ -3800,7 +3800,7 @@ pub mod routes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3871,7 +3871,7 @@ pub mod routes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3892,7 +3892,7 @@ pub mod routes { } } pub mod public_ip_addresses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3943,7 +3943,7 @@ pub mod public_ip_addresses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4019,7 +4019,7 @@ pub mod public_ip_addresses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpAddress), @@ -4086,7 +4086,7 @@ pub mod public_ip_addresses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4156,7 +4156,7 @@ pub mod public_ip_addresses { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4219,7 +4219,7 @@ pub mod public_ip_addresses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4292,7 +4292,7 @@ pub async fn check_dns_name_availability( } } pub mod check_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4312,7 +4312,7 @@ pub mod check_dns_name_availability { } } pub mod express_route_circuit_authorizations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4361,7 +4361,7 @@ pub mod express_route_circuit_authorizations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4439,7 +4439,7 @@ pub mod express_route_circuit_authorizations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuitAuthorization), @@ -4508,7 +4508,7 @@ pub mod express_route_circuit_authorizations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4579,7 +4579,7 @@ pub mod express_route_circuit_authorizations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4600,7 +4600,7 @@ pub mod express_route_circuit_authorizations { } } pub mod express_route_circuit_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4649,7 +4649,7 @@ pub mod express_route_circuit_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4727,7 +4727,7 @@ pub mod express_route_circuit_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitPeering), @@ -4796,7 +4796,7 @@ pub mod express_route_circuit_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4867,7 +4867,7 @@ pub mod express_route_circuit_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4888,7 +4888,7 @@ pub mod express_route_circuit_peerings { } } pub mod express_route_circuits { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4935,7 +4935,7 @@ pub mod express_route_circuits { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5011,7 +5011,7 @@ pub mod express_route_circuits { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuit), @@ -5078,7 +5078,7 @@ pub mod express_route_circuits { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -5158,7 +5158,7 @@ pub mod express_route_circuits { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -5237,7 +5237,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -5318,7 +5318,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableSummaryListResult), @@ -5391,7 +5391,7 @@ pub mod express_route_circuits { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5461,7 +5461,7 @@ pub mod express_route_circuits { } } pub mod get_peering_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5524,7 +5524,7 @@ pub mod express_route_circuits { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5588,7 +5588,7 @@ pub mod express_route_circuits { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5609,7 +5609,7 @@ pub mod express_route_circuits { } } pub mod express_route_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5652,7 +5652,7 @@ pub mod express_route_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5673,7 +5673,7 @@ pub mod express_route_service_providers { } } pub mod network_watchers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5720,7 +5720,7 @@ pub mod network_watchers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5796,7 +5796,7 @@ pub mod network_watchers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkWatcher), @@ -5862,7 +5862,7 @@ pub mod network_watchers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5930,7 +5930,7 @@ pub mod network_watchers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5994,7 +5994,7 @@ pub mod network_watchers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6064,7 +6064,7 @@ pub mod network_watchers { } } pub mod get_topology { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6140,7 +6140,7 @@ pub mod network_watchers { } } pub mod verify_ip_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VerificationIpFlowResult), @@ -6221,7 +6221,7 @@ pub mod network_watchers { } } pub mod get_next_hop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NextHopResult), @@ -6304,7 +6304,7 @@ pub mod network_watchers { } } pub mod get_vm_security_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityGroupViewResult), @@ -6385,7 +6385,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -6468,7 +6468,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -6551,7 +6551,7 @@ pub mod network_watchers { } } pub mod set_flow_log_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -6632,7 +6632,7 @@ pub mod network_watchers { } } pub mod get_flow_log_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -6658,7 +6658,7 @@ pub mod network_watchers { } } pub mod packet_captures { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6707,7 +6707,7 @@ pub mod packet_captures { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6776,7 +6776,7 @@ pub mod packet_captures { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6839,7 +6839,7 @@ pub mod packet_captures { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -6908,7 +6908,7 @@ pub mod packet_captures { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6990,7 +6990,7 @@ pub mod packet_captures { } } pub mod get_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PacketCaptureQueryStatusResult), @@ -7060,7 +7060,7 @@ pub mod packet_captures { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7081,7 +7081,7 @@ pub mod packet_captures { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -7126,7 +7126,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7147,7 +7147,7 @@ pub mod usages { } } pub mod virtual_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7194,7 +7194,7 @@ pub mod virtual_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7270,7 +7270,7 @@ pub mod virtual_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGateway), @@ -7337,7 +7337,7 @@ pub mod virtual_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -7406,7 +7406,7 @@ pub mod virtual_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7477,7 +7477,7 @@ pub mod virtual_network_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7554,7 +7554,7 @@ pub mod virtual_network_gateways { } } pub mod generatevpnclientpackage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7628,7 +7628,7 @@ pub mod virtual_network_gateways { } } pub mod get_bgp_peer_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BgpPeerStatusListResult), @@ -7703,7 +7703,7 @@ pub mod virtual_network_gateways { } } pub mod get_learned_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -7782,7 +7782,7 @@ pub mod virtual_network_gateways { } } pub mod get_advertised_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -7808,7 +7808,7 @@ pub mod virtual_network_gateways { } } pub mod virtual_network_gateway_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7855,7 +7855,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7931,7 +7931,7 @@ pub mod virtual_network_gateway_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGatewayConnection), @@ -7998,7 +7998,7 @@ pub mod virtual_network_gateway_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8072,7 +8072,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8148,7 +8148,7 @@ pub mod virtual_network_gateway_connections { } } pub mod set_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ConnectionSharedKey), @@ -8216,7 +8216,7 @@ pub mod virtual_network_gateway_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8287,7 +8287,7 @@ pub mod virtual_network_gateway_connections { } } pub mod reset_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionResetSharedKey), @@ -8313,7 +8313,7 @@ pub mod virtual_network_gateway_connections { } } pub mod local_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8360,7 +8360,7 @@ pub mod local_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8436,7 +8436,7 @@ pub mod local_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LocalNetworkGateway), @@ -8503,7 +8503,7 @@ pub mod local_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -8572,7 +8572,7 @@ pub mod local_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/network/src/package_2016_12/operations.rs b/services/mgmt/network/src/package_2016_12/operations.rs index 87d3c98e0d..e6e37d1c05 100644 --- a/services/mgmt/network/src/package_2016_12/operations.rs +++ b/services/mgmt/network/src/package_2016_12/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list_virtual_machine_scale_set_vm_network_interfaces( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -52,7 +52,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_vm_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -123,7 +123,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -193,7 +193,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_network_interface { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -262,7 +262,7 @@ pub mod network_interfaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -338,7 +338,7 @@ pub mod network_interfaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkInterface), @@ -405,7 +405,7 @@ pub mod network_interfaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -475,7 +475,7 @@ pub mod network_interfaces { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -538,7 +538,7 @@ pub mod network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -610,7 +610,7 @@ pub mod network_interfaces { } } pub mod get_effective_route_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveRouteListResult), @@ -687,7 +687,7 @@ pub mod network_interfaces { } } pub mod list_effective_network_security_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveNetworkSecurityGroupListResult), @@ -713,7 +713,7 @@ pub mod network_interfaces { } } pub mod application_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -760,7 +760,7 @@ pub mod application_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -836,7 +836,7 @@ pub mod application_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationGateway), @@ -903,7 +903,7 @@ pub mod application_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -972,7 +972,7 @@ pub mod application_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1036,7 +1036,7 @@ pub mod application_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1098,7 +1098,7 @@ pub mod application_gateways { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1165,7 +1165,7 @@ pub mod application_gateways { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1244,7 +1244,7 @@ pub mod application_gateways { } } pub mod backend_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealth), @@ -1270,7 +1270,7 @@ pub mod application_gateways { } } pub mod load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1321,7 +1321,7 @@ pub mod load_balancers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1397,7 +1397,7 @@ pub mod load_balancers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoadBalancer), @@ -1464,7 +1464,7 @@ pub mod load_balancers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1534,7 +1534,7 @@ pub mod load_balancers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1597,7 +1597,7 @@ pub mod load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1618,7 +1618,7 @@ pub mod load_balancers { } } pub mod virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1669,7 +1669,7 @@ pub mod virtual_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1745,7 +1745,7 @@ pub mod virtual_networks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetwork), @@ -1812,7 +1812,7 @@ pub mod virtual_networks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1882,7 +1882,7 @@ pub mod virtual_networks { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1945,7 +1945,7 @@ pub mod virtual_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2019,7 +2019,7 @@ pub mod virtual_networks { } } pub mod check_ip_address_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2040,7 +2040,7 @@ pub mod virtual_networks { } } pub mod subnets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2093,7 +2093,7 @@ pub mod subnets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2171,7 +2171,7 @@ pub mod subnets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Subnet), @@ -2240,7 +2240,7 @@ pub mod subnets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2311,7 +2311,7 @@ pub mod subnets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2332,7 +2332,7 @@ pub mod subnets { } } pub mod virtual_network_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2381,7 +2381,7 @@ pub mod virtual_network_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2459,7 +2459,7 @@ pub mod virtual_network_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkPeering), @@ -2528,7 +2528,7 @@ pub mod virtual_network_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2599,7 +2599,7 @@ pub mod virtual_network_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2620,7 +2620,7 @@ pub mod virtual_network_peerings { } } pub mod network_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2671,7 +2671,7 @@ pub mod network_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2747,7 +2747,7 @@ pub mod network_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkSecurityGroup), @@ -2814,7 +2814,7 @@ pub mod network_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2884,7 +2884,7 @@ pub mod network_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2947,7 +2947,7 @@ pub mod network_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2968,7 +2968,7 @@ pub mod network_security_groups { } } pub mod security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3017,7 +3017,7 @@ pub mod security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3095,7 +3095,7 @@ pub mod security_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityRule), @@ -3164,7 +3164,7 @@ pub mod security_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -3235,7 +3235,7 @@ pub mod security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3256,7 +3256,7 @@ pub mod security_rules { } } pub mod route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3307,7 +3307,7 @@ pub mod route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3383,7 +3383,7 @@ pub mod route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteTable), @@ -3450,7 +3450,7 @@ pub mod route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -3519,7 +3519,7 @@ pub mod route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3583,7 +3583,7 @@ pub mod route_tables { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3604,7 +3604,7 @@ pub mod route_tables { } } pub mod routes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3653,7 +3653,7 @@ pub mod routes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3731,7 +3731,7 @@ pub mod routes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Route), @@ -3800,7 +3800,7 @@ pub mod routes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3871,7 +3871,7 @@ pub mod routes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3892,7 +3892,7 @@ pub mod routes { } } pub mod public_ip_addresses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3943,7 +3943,7 @@ pub mod public_ip_addresses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4019,7 +4019,7 @@ pub mod public_ip_addresses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpAddress), @@ -4086,7 +4086,7 @@ pub mod public_ip_addresses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4156,7 +4156,7 @@ pub mod public_ip_addresses { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4219,7 +4219,7 @@ pub mod public_ip_addresses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4292,7 +4292,7 @@ pub async fn check_dns_name_availability( } } pub mod check_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4312,7 +4312,7 @@ pub mod check_dns_name_availability { } } pub mod express_route_circuit_authorizations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4361,7 +4361,7 @@ pub mod express_route_circuit_authorizations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4439,7 +4439,7 @@ pub mod express_route_circuit_authorizations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuitAuthorization), @@ -4508,7 +4508,7 @@ pub mod express_route_circuit_authorizations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4579,7 +4579,7 @@ pub mod express_route_circuit_authorizations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4600,7 +4600,7 @@ pub mod express_route_circuit_authorizations { } } pub mod express_route_circuit_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4649,7 +4649,7 @@ pub mod express_route_circuit_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4727,7 +4727,7 @@ pub mod express_route_circuit_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitPeering), @@ -4796,7 +4796,7 @@ pub mod express_route_circuit_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4867,7 +4867,7 @@ pub mod express_route_circuit_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4888,7 +4888,7 @@ pub mod express_route_circuit_peerings { } } pub mod express_route_circuits { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4935,7 +4935,7 @@ pub mod express_route_circuits { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5011,7 +5011,7 @@ pub mod express_route_circuits { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuit), @@ -5078,7 +5078,7 @@ pub mod express_route_circuits { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -5158,7 +5158,7 @@ pub mod express_route_circuits { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -5237,7 +5237,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -5318,7 +5318,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableSummaryListResult), @@ -5391,7 +5391,7 @@ pub mod express_route_circuits { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5461,7 +5461,7 @@ pub mod express_route_circuits { } } pub mod get_peering_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5524,7 +5524,7 @@ pub mod express_route_circuits { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5588,7 +5588,7 @@ pub mod express_route_circuits { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5609,7 +5609,7 @@ pub mod express_route_circuits { } } pub mod express_route_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5652,7 +5652,7 @@ pub mod express_route_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5673,7 +5673,7 @@ pub mod express_route_service_providers { } } pub mod route_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5724,7 +5724,7 @@ pub mod route_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5800,7 +5800,7 @@ pub mod route_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilter), @@ -5872,7 +5872,7 @@ pub mod route_filters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5934,7 +5934,7 @@ pub mod route_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6008,7 +6008,7 @@ pub mod route_filters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6069,7 +6069,7 @@ pub mod route_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6090,7 +6090,7 @@ pub mod route_filters { } } pub mod route_filter_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6139,7 +6139,7 @@ pub mod route_filter_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6217,7 +6217,7 @@ pub mod route_filter_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilterRule), @@ -6291,7 +6291,7 @@ pub mod route_filter_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6355,7 +6355,7 @@ pub mod route_filter_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6429,7 +6429,7 @@ pub mod route_filter_rules { } } pub mod list_by_route_filter { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6450,7 +6450,7 @@ pub mod route_filter_rules { } } pub mod network_watchers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6497,7 +6497,7 @@ pub mod network_watchers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6573,7 +6573,7 @@ pub mod network_watchers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkWatcher), @@ -6639,7 +6639,7 @@ pub mod network_watchers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6707,7 +6707,7 @@ pub mod network_watchers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6771,7 +6771,7 @@ pub mod network_watchers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6841,7 +6841,7 @@ pub mod network_watchers { } } pub mod get_topology { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6917,7 +6917,7 @@ pub mod network_watchers { } } pub mod verify_ip_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VerificationIpFlowResult), @@ -6998,7 +6998,7 @@ pub mod network_watchers { } } pub mod get_next_hop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NextHopResult), @@ -7081,7 +7081,7 @@ pub mod network_watchers { } } pub mod get_vm_security_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityGroupViewResult), @@ -7162,7 +7162,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -7245,7 +7245,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -7328,7 +7328,7 @@ pub mod network_watchers { } } pub mod set_flow_log_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -7409,7 +7409,7 @@ pub mod network_watchers { } } pub mod get_flow_log_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -7435,7 +7435,7 @@ pub mod network_watchers { } } pub mod packet_captures { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7484,7 +7484,7 @@ pub mod packet_captures { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7553,7 +7553,7 @@ pub mod packet_captures { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7616,7 +7616,7 @@ pub mod packet_captures { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -7685,7 +7685,7 @@ pub mod packet_captures { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7767,7 +7767,7 @@ pub mod packet_captures { } } pub mod get_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PacketCaptureQueryStatusResult), @@ -7837,7 +7837,7 @@ pub mod packet_captures { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7858,7 +7858,7 @@ pub mod packet_captures { } } pub mod bgp_service_communities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7901,7 +7901,7 @@ pub mod bgp_service_communities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7922,7 +7922,7 @@ pub mod bgp_service_communities { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -7967,7 +7967,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7988,7 +7988,7 @@ pub mod usages { } } pub mod virtual_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8035,7 +8035,7 @@ pub mod virtual_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8111,7 +8111,7 @@ pub mod virtual_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGateway), @@ -8178,7 +8178,7 @@ pub mod virtual_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -8247,7 +8247,7 @@ pub mod virtual_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8318,7 +8318,7 @@ pub mod virtual_network_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8395,7 +8395,7 @@ pub mod virtual_network_gateways { } } pub mod generatevpnclientpackage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8469,7 +8469,7 @@ pub mod virtual_network_gateways { } } pub mod get_bgp_peer_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BgpPeerStatusListResult), @@ -8544,7 +8544,7 @@ pub mod virtual_network_gateways { } } pub mod get_learned_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -8623,7 +8623,7 @@ pub mod virtual_network_gateways { } } pub mod get_advertised_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -8649,7 +8649,7 @@ pub mod virtual_network_gateways { } } pub mod virtual_network_gateway_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8696,7 +8696,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8772,7 +8772,7 @@ pub mod virtual_network_gateway_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGatewayConnection), @@ -8839,7 +8839,7 @@ pub mod virtual_network_gateway_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8913,7 +8913,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8989,7 +8989,7 @@ pub mod virtual_network_gateway_connections { } } pub mod set_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ConnectionSharedKey), @@ -9057,7 +9057,7 @@ pub mod virtual_network_gateway_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9128,7 +9128,7 @@ pub mod virtual_network_gateway_connections { } } pub mod reset_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionResetSharedKey), @@ -9154,7 +9154,7 @@ pub mod virtual_network_gateway_connections { } } pub mod local_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9201,7 +9201,7 @@ pub mod local_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9277,7 +9277,7 @@ pub mod local_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LocalNetworkGateway), @@ -9344,7 +9344,7 @@ pub mod local_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -9413,7 +9413,7 @@ pub mod local_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/network/src/package_2017_03/operations.rs b/services/mgmt/network/src/package_2017_03/operations.rs index 95d4136302..14264b20da 100644 --- a/services/mgmt/network/src/package_2017_03/operations.rs +++ b/services/mgmt/network/src/package_2017_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod application_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod application_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod application_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationGateway), @@ -194,7 +194,7 @@ pub mod application_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -263,7 +263,7 @@ pub mod application_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -327,7 +327,7 @@ pub mod application_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -389,7 +389,7 @@ pub mod application_gateways { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -456,7 +456,7 @@ pub mod application_gateways { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -535,7 +535,7 @@ pub mod application_gateways { } } pub mod backend_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealth), @@ -606,7 +606,7 @@ pub mod application_gateways { } } pub mod list_available_waf_rule_sets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -627,7 +627,7 @@ pub mod application_gateways { } } pub mod network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -678,7 +678,7 @@ pub mod network_interfaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -754,7 +754,7 @@ pub mod network_interfaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkInterface), @@ -821,7 +821,7 @@ pub mod network_interfaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -891,7 +891,7 @@ pub mod network_interfaces { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -954,7 +954,7 @@ pub mod network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1026,7 +1026,7 @@ pub mod network_interfaces { } } pub mod get_effective_route_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveRouteListResult), @@ -1103,7 +1103,7 @@ pub mod network_interfaces { } } pub mod list_effective_network_security_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveNetworkSecurityGroupListResult), @@ -1174,7 +1174,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_vm_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1245,7 +1245,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1315,7 +1315,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_network_interface { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1336,7 +1336,7 @@ pub mod network_interfaces { } } pub mod load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1387,7 +1387,7 @@ pub mod load_balancers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1463,7 +1463,7 @@ pub mod load_balancers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoadBalancer), @@ -1530,7 +1530,7 @@ pub mod load_balancers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1600,7 +1600,7 @@ pub mod load_balancers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1663,7 +1663,7 @@ pub mod load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1684,7 +1684,7 @@ pub mod load_balancers { } } pub mod virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1735,7 +1735,7 @@ pub mod virtual_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1811,7 +1811,7 @@ pub mod virtual_networks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetwork), @@ -1878,7 +1878,7 @@ pub mod virtual_networks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1948,7 +1948,7 @@ pub mod virtual_networks { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2011,7 +2011,7 @@ pub mod virtual_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2085,7 +2085,7 @@ pub mod virtual_networks { } } pub mod check_ip_address_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2153,7 +2153,7 @@ pub mod virtual_networks { } } pub mod list_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2174,7 +2174,7 @@ pub mod virtual_networks { } } pub mod subnets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2227,7 +2227,7 @@ pub mod subnets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2305,7 +2305,7 @@ pub mod subnets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Subnet), @@ -2374,7 +2374,7 @@ pub mod subnets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2445,7 +2445,7 @@ pub mod subnets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2466,7 +2466,7 @@ pub mod subnets { } } pub mod virtual_network_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2515,7 +2515,7 @@ pub mod virtual_network_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2593,7 +2593,7 @@ pub mod virtual_network_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkPeering), @@ -2662,7 +2662,7 @@ pub mod virtual_network_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2733,7 +2733,7 @@ pub mod virtual_network_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2754,7 +2754,7 @@ pub mod virtual_network_peerings { } } pub mod network_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2805,7 +2805,7 @@ pub mod network_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2881,7 +2881,7 @@ pub mod network_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkSecurityGroup), @@ -2948,7 +2948,7 @@ pub mod network_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3018,7 +3018,7 @@ pub mod network_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3081,7 +3081,7 @@ pub mod network_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3102,7 +3102,7 @@ pub mod network_security_groups { } } pub mod security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3151,7 +3151,7 @@ pub mod security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3229,7 +3229,7 @@ pub mod security_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityRule), @@ -3298,7 +3298,7 @@ pub mod security_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -3369,7 +3369,7 @@ pub mod security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3390,7 +3390,7 @@ pub mod security_rules { } } pub mod route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3441,7 +3441,7 @@ pub mod route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3517,7 +3517,7 @@ pub mod route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteTable), @@ -3584,7 +3584,7 @@ pub mod route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -3653,7 +3653,7 @@ pub mod route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3717,7 +3717,7 @@ pub mod route_tables { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3738,7 +3738,7 @@ pub mod route_tables { } } pub mod routes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3787,7 +3787,7 @@ pub mod routes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3865,7 +3865,7 @@ pub mod routes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Route), @@ -3934,7 +3934,7 @@ pub mod routes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4005,7 +4005,7 @@ pub mod routes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4026,7 +4026,7 @@ pub mod routes { } } pub mod public_ip_addresses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4077,7 +4077,7 @@ pub mod public_ip_addresses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4153,7 +4153,7 @@ pub mod public_ip_addresses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpAddress), @@ -4220,7 +4220,7 @@ pub mod public_ip_addresses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4290,7 +4290,7 @@ pub mod public_ip_addresses { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4353,7 +4353,7 @@ pub mod public_ip_addresses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4424,7 +4424,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4492,7 +4492,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_vm_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4564,7 +4564,7 @@ pub mod public_ip_addresses { } } pub mod get_virtual_machine_scale_set_public_ip_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4637,7 +4637,7 @@ pub async fn check_dns_name_availability( } } pub mod check_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4657,7 +4657,7 @@ pub mod check_dns_name_availability { } } pub mod express_route_circuit_authorizations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4706,7 +4706,7 @@ pub mod express_route_circuit_authorizations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4784,7 +4784,7 @@ pub mod express_route_circuit_authorizations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuitAuthorization), @@ -4853,7 +4853,7 @@ pub mod express_route_circuit_authorizations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4924,7 +4924,7 @@ pub mod express_route_circuit_authorizations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4945,7 +4945,7 @@ pub mod express_route_circuit_authorizations { } } pub mod express_route_circuit_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4994,7 +4994,7 @@ pub mod express_route_circuit_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5072,7 +5072,7 @@ pub mod express_route_circuit_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitPeering), @@ -5141,7 +5141,7 @@ pub mod express_route_circuit_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5212,7 +5212,7 @@ pub mod express_route_circuit_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5233,7 +5233,7 @@ pub mod express_route_circuit_peerings { } } pub mod express_route_circuits { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5280,7 +5280,7 @@ pub mod express_route_circuits { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5356,7 +5356,7 @@ pub mod express_route_circuits { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuit), @@ -5423,7 +5423,7 @@ pub mod express_route_circuits { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -5503,7 +5503,7 @@ pub mod express_route_circuits { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -5582,7 +5582,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -5663,7 +5663,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableSummaryListResult), @@ -5736,7 +5736,7 @@ pub mod express_route_circuits { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5806,7 +5806,7 @@ pub mod express_route_circuits { } } pub mod get_peering_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5869,7 +5869,7 @@ pub mod express_route_circuits { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5933,7 +5933,7 @@ pub mod express_route_circuits { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5954,7 +5954,7 @@ pub mod express_route_circuits { } } pub mod express_route_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5997,7 +5997,7 @@ pub mod express_route_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6018,7 +6018,7 @@ pub mod express_route_service_providers { } } pub mod route_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6069,7 +6069,7 @@ pub mod route_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6145,7 +6145,7 @@ pub mod route_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilter), @@ -6217,7 +6217,7 @@ pub mod route_filters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6279,7 +6279,7 @@ pub mod route_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6353,7 +6353,7 @@ pub mod route_filters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6414,7 +6414,7 @@ pub mod route_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6435,7 +6435,7 @@ pub mod route_filters { } } pub mod route_filter_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6484,7 +6484,7 @@ pub mod route_filter_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6562,7 +6562,7 @@ pub mod route_filter_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilterRule), @@ -6636,7 +6636,7 @@ pub mod route_filter_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6700,7 +6700,7 @@ pub mod route_filter_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6774,7 +6774,7 @@ pub mod route_filter_rules { } } pub mod list_by_route_filter { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6795,7 +6795,7 @@ pub mod route_filter_rules { } } pub mod network_watchers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6842,7 +6842,7 @@ pub mod network_watchers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6918,7 +6918,7 @@ pub mod network_watchers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkWatcher), @@ -6984,7 +6984,7 @@ pub mod network_watchers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7052,7 +7052,7 @@ pub mod network_watchers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7116,7 +7116,7 @@ pub mod network_watchers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7186,7 +7186,7 @@ pub mod network_watchers { } } pub mod get_topology { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7262,7 +7262,7 @@ pub mod network_watchers { } } pub mod verify_ip_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VerificationIpFlowResult), @@ -7343,7 +7343,7 @@ pub mod network_watchers { } } pub mod get_next_hop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NextHopResult), @@ -7426,7 +7426,7 @@ pub mod network_watchers { } } pub mod get_vm_security_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityGroupViewResult), @@ -7507,7 +7507,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -7590,7 +7590,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -7673,7 +7673,7 @@ pub mod network_watchers { } } pub mod set_flow_log_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -7754,7 +7754,7 @@ pub mod network_watchers { } } pub mod get_flow_log_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -7835,7 +7835,7 @@ pub mod network_watchers { } } pub mod check_connectivity { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectivityInformation), @@ -7861,7 +7861,7 @@ pub mod network_watchers { } } pub mod packet_captures { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7910,7 +7910,7 @@ pub mod packet_captures { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7979,7 +7979,7 @@ pub mod packet_captures { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8042,7 +8042,7 @@ pub mod packet_captures { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -8111,7 +8111,7 @@ pub mod packet_captures { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8193,7 +8193,7 @@ pub mod packet_captures { } } pub mod get_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PacketCaptureQueryStatusResult), @@ -8263,7 +8263,7 @@ pub mod packet_captures { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8284,7 +8284,7 @@ pub mod packet_captures { } } pub mod bgp_service_communities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8327,7 +8327,7 @@ pub mod bgp_service_communities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8348,7 +8348,7 @@ pub mod bgp_service_communities { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -8393,7 +8393,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8414,7 +8414,7 @@ pub mod usages { } } pub mod virtual_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8461,7 +8461,7 @@ pub mod virtual_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8537,7 +8537,7 @@ pub mod virtual_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGateway), @@ -8604,7 +8604,7 @@ pub mod virtual_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -8673,7 +8673,7 @@ pub mod virtual_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8744,7 +8744,7 @@ pub mod virtual_network_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8821,7 +8821,7 @@ pub mod virtual_network_gateways { } } pub mod generatevpnclientpackage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8895,7 +8895,7 @@ pub mod virtual_network_gateways { } } pub mod get_bgp_peer_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BgpPeerStatusListResult), @@ -8970,7 +8970,7 @@ pub mod virtual_network_gateways { } } pub mod get_learned_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -9049,7 +9049,7 @@ pub mod virtual_network_gateways { } } pub mod get_advertised_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -9075,7 +9075,7 @@ pub mod virtual_network_gateways { } } pub mod virtual_network_gateway_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9122,7 +9122,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9198,7 +9198,7 @@ pub mod virtual_network_gateway_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGatewayConnection), @@ -9265,7 +9265,7 @@ pub mod virtual_network_gateway_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9339,7 +9339,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9415,7 +9415,7 @@ pub mod virtual_network_gateway_connections { } } pub mod set_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ConnectionSharedKey), @@ -9483,7 +9483,7 @@ pub mod virtual_network_gateway_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9554,7 +9554,7 @@ pub mod virtual_network_gateway_connections { } } pub mod reset_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionResetSharedKey), @@ -9580,7 +9580,7 @@ pub mod virtual_network_gateway_connections { } } pub mod local_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9627,7 +9627,7 @@ pub mod local_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9703,7 +9703,7 @@ pub mod local_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LocalNetworkGateway), @@ -9770,7 +9770,7 @@ pub mod local_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -9839,7 +9839,7 @@ pub mod local_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/network/src/package_2017_03_30_only/operations.rs b/services/mgmt/network/src/package_2017_03_30_only/operations.rs index 06aaa1a44b..3ee6f1f138 100644 --- a/services/mgmt/network/src/package_2017_03_30_only/operations.rs +++ b/services/mgmt/network/src/package_2017_03_30_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list_virtual_machine_scale_set_vm_network_interfaces( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -52,7 +52,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_vm_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -123,7 +123,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -193,7 +193,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_network_interface { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -264,7 +264,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_ip_configurations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -335,7 +335,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_ip_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -356,7 +356,7 @@ pub mod network_interfaces { } } pub mod public_ip_addresses { - use crate::models::*; + use super::{models, models::*}; pub async fn list_virtual_machine_scale_set_public_ip_addresses( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -409,7 +409,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -477,7 +477,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_vm_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -549,7 +549,7 @@ pub mod public_ip_addresses { } } pub mod get_virtual_machine_scale_set_public_ip_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/network/src/package_2017_03_only/operations.rs b/services/mgmt/network/src/package_2017_03_only/operations.rs index fab7f959e9..aba04be49f 100644 --- a/services/mgmt/network/src/package_2017_03_only/operations.rs +++ b/services/mgmt/network/src/package_2017_03_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod application_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod application_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod application_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationGateway), @@ -194,7 +194,7 @@ pub mod application_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -263,7 +263,7 @@ pub mod application_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -327,7 +327,7 @@ pub mod application_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -389,7 +389,7 @@ pub mod application_gateways { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -456,7 +456,7 @@ pub mod application_gateways { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -535,7 +535,7 @@ pub mod application_gateways { } } pub mod backend_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealth), @@ -606,7 +606,7 @@ pub mod application_gateways { } } pub mod list_available_waf_rule_sets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -627,7 +627,7 @@ pub mod application_gateways { } } pub mod network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -678,7 +678,7 @@ pub mod network_interfaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -754,7 +754,7 @@ pub mod network_interfaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkInterface), @@ -821,7 +821,7 @@ pub mod network_interfaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -891,7 +891,7 @@ pub mod network_interfaces { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -954,7 +954,7 @@ pub mod network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1026,7 +1026,7 @@ pub mod network_interfaces { } } pub mod get_effective_route_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveRouteListResult), @@ -1103,7 +1103,7 @@ pub mod network_interfaces { } } pub mod list_effective_network_security_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveNetworkSecurityGroupListResult), @@ -1129,7 +1129,7 @@ pub mod network_interfaces { } } pub mod load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1180,7 +1180,7 @@ pub mod load_balancers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1256,7 +1256,7 @@ pub mod load_balancers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoadBalancer), @@ -1323,7 +1323,7 @@ pub mod load_balancers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1393,7 +1393,7 @@ pub mod load_balancers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1456,7 +1456,7 @@ pub mod load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1477,7 +1477,7 @@ pub mod load_balancers { } } pub mod virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1528,7 +1528,7 @@ pub mod virtual_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1604,7 +1604,7 @@ pub mod virtual_networks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetwork), @@ -1671,7 +1671,7 @@ pub mod virtual_networks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1741,7 +1741,7 @@ pub mod virtual_networks { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1804,7 +1804,7 @@ pub mod virtual_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1878,7 +1878,7 @@ pub mod virtual_networks { } } pub mod check_ip_address_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1946,7 +1946,7 @@ pub mod virtual_networks { } } pub mod list_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1967,7 +1967,7 @@ pub mod virtual_networks { } } pub mod subnets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2020,7 +2020,7 @@ pub mod subnets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2098,7 +2098,7 @@ pub mod subnets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Subnet), @@ -2167,7 +2167,7 @@ pub mod subnets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2238,7 +2238,7 @@ pub mod subnets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2259,7 +2259,7 @@ pub mod subnets { } } pub mod virtual_network_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2308,7 +2308,7 @@ pub mod virtual_network_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2386,7 +2386,7 @@ pub mod virtual_network_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkPeering), @@ -2455,7 +2455,7 @@ pub mod virtual_network_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2526,7 +2526,7 @@ pub mod virtual_network_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2547,7 +2547,7 @@ pub mod virtual_network_peerings { } } pub mod network_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2598,7 +2598,7 @@ pub mod network_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2674,7 +2674,7 @@ pub mod network_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkSecurityGroup), @@ -2741,7 +2741,7 @@ pub mod network_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2811,7 +2811,7 @@ pub mod network_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2874,7 +2874,7 @@ pub mod network_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2895,7 +2895,7 @@ pub mod network_security_groups { } } pub mod security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2944,7 +2944,7 @@ pub mod security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3022,7 +3022,7 @@ pub mod security_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityRule), @@ -3091,7 +3091,7 @@ pub mod security_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -3162,7 +3162,7 @@ pub mod security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3183,7 +3183,7 @@ pub mod security_rules { } } pub mod route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3234,7 +3234,7 @@ pub mod route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3310,7 +3310,7 @@ pub mod route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteTable), @@ -3377,7 +3377,7 @@ pub mod route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -3446,7 +3446,7 @@ pub mod route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3510,7 +3510,7 @@ pub mod route_tables { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3531,7 +3531,7 @@ pub mod route_tables { } } pub mod routes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3580,7 +3580,7 @@ pub mod routes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3658,7 +3658,7 @@ pub mod routes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Route), @@ -3727,7 +3727,7 @@ pub mod routes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3798,7 +3798,7 @@ pub mod routes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3819,7 +3819,7 @@ pub mod routes { } } pub mod public_ip_addresses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3870,7 +3870,7 @@ pub mod public_ip_addresses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3946,7 +3946,7 @@ pub mod public_ip_addresses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpAddress), @@ -4013,7 +4013,7 @@ pub mod public_ip_addresses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4083,7 +4083,7 @@ pub mod public_ip_addresses { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4146,7 +4146,7 @@ pub mod public_ip_addresses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4219,7 +4219,7 @@ pub async fn check_dns_name_availability( } } pub mod check_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4239,7 +4239,7 @@ pub mod check_dns_name_availability { } } pub mod express_route_circuit_authorizations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4288,7 +4288,7 @@ pub mod express_route_circuit_authorizations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4366,7 +4366,7 @@ pub mod express_route_circuit_authorizations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuitAuthorization), @@ -4435,7 +4435,7 @@ pub mod express_route_circuit_authorizations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4506,7 +4506,7 @@ pub mod express_route_circuit_authorizations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4527,7 +4527,7 @@ pub mod express_route_circuit_authorizations { } } pub mod express_route_circuit_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4576,7 +4576,7 @@ pub mod express_route_circuit_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4654,7 +4654,7 @@ pub mod express_route_circuit_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitPeering), @@ -4723,7 +4723,7 @@ pub mod express_route_circuit_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4794,7 +4794,7 @@ pub mod express_route_circuit_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4815,7 +4815,7 @@ pub mod express_route_circuit_peerings { } } pub mod express_route_circuits { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4862,7 +4862,7 @@ pub mod express_route_circuits { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4938,7 +4938,7 @@ pub mod express_route_circuits { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuit), @@ -5005,7 +5005,7 @@ pub mod express_route_circuits { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -5085,7 +5085,7 @@ pub mod express_route_circuits { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -5164,7 +5164,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -5245,7 +5245,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableSummaryListResult), @@ -5318,7 +5318,7 @@ pub mod express_route_circuits { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5388,7 +5388,7 @@ pub mod express_route_circuits { } } pub mod get_peering_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5451,7 +5451,7 @@ pub mod express_route_circuits { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5515,7 +5515,7 @@ pub mod express_route_circuits { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5536,7 +5536,7 @@ pub mod express_route_circuits { } } pub mod express_route_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5579,7 +5579,7 @@ pub mod express_route_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5600,7 +5600,7 @@ pub mod express_route_service_providers { } } pub mod route_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5651,7 +5651,7 @@ pub mod route_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5727,7 +5727,7 @@ pub mod route_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilter), @@ -5799,7 +5799,7 @@ pub mod route_filters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5861,7 +5861,7 @@ pub mod route_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5935,7 +5935,7 @@ pub mod route_filters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5996,7 +5996,7 @@ pub mod route_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6017,7 +6017,7 @@ pub mod route_filters { } } pub mod route_filter_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6066,7 +6066,7 @@ pub mod route_filter_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6144,7 +6144,7 @@ pub mod route_filter_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilterRule), @@ -6218,7 +6218,7 @@ pub mod route_filter_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6282,7 +6282,7 @@ pub mod route_filter_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6356,7 +6356,7 @@ pub mod route_filter_rules { } } pub mod list_by_route_filter { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6377,7 +6377,7 @@ pub mod route_filter_rules { } } pub mod network_watchers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6424,7 +6424,7 @@ pub mod network_watchers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6500,7 +6500,7 @@ pub mod network_watchers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkWatcher), @@ -6566,7 +6566,7 @@ pub mod network_watchers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6634,7 +6634,7 @@ pub mod network_watchers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6698,7 +6698,7 @@ pub mod network_watchers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6768,7 +6768,7 @@ pub mod network_watchers { } } pub mod get_topology { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6844,7 +6844,7 @@ pub mod network_watchers { } } pub mod verify_ip_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VerificationIpFlowResult), @@ -6925,7 +6925,7 @@ pub mod network_watchers { } } pub mod get_next_hop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NextHopResult), @@ -7008,7 +7008,7 @@ pub mod network_watchers { } } pub mod get_vm_security_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityGroupViewResult), @@ -7089,7 +7089,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -7172,7 +7172,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -7255,7 +7255,7 @@ pub mod network_watchers { } } pub mod set_flow_log_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -7336,7 +7336,7 @@ pub mod network_watchers { } } pub mod get_flow_log_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -7417,7 +7417,7 @@ pub mod network_watchers { } } pub mod check_connectivity { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectivityInformation), @@ -7443,7 +7443,7 @@ pub mod network_watchers { } } pub mod packet_captures { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7492,7 +7492,7 @@ pub mod packet_captures { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7561,7 +7561,7 @@ pub mod packet_captures { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7624,7 +7624,7 @@ pub mod packet_captures { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -7693,7 +7693,7 @@ pub mod packet_captures { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7775,7 +7775,7 @@ pub mod packet_captures { } } pub mod get_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PacketCaptureQueryStatusResult), @@ -7845,7 +7845,7 @@ pub mod packet_captures { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7866,7 +7866,7 @@ pub mod packet_captures { } } pub mod bgp_service_communities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7909,7 +7909,7 @@ pub mod bgp_service_communities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7930,7 +7930,7 @@ pub mod bgp_service_communities { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -7975,7 +7975,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7996,7 +7996,7 @@ pub mod usages { } } pub mod virtual_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8043,7 +8043,7 @@ pub mod virtual_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8119,7 +8119,7 @@ pub mod virtual_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGateway), @@ -8186,7 +8186,7 @@ pub mod virtual_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -8255,7 +8255,7 @@ pub mod virtual_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8326,7 +8326,7 @@ pub mod virtual_network_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8403,7 +8403,7 @@ pub mod virtual_network_gateways { } } pub mod generatevpnclientpackage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8477,7 +8477,7 @@ pub mod virtual_network_gateways { } } pub mod get_bgp_peer_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BgpPeerStatusListResult), @@ -8552,7 +8552,7 @@ pub mod virtual_network_gateways { } } pub mod get_learned_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -8631,7 +8631,7 @@ pub mod virtual_network_gateways { } } pub mod get_advertised_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -8657,7 +8657,7 @@ pub mod virtual_network_gateways { } } pub mod virtual_network_gateway_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8704,7 +8704,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8780,7 +8780,7 @@ pub mod virtual_network_gateway_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGatewayConnection), @@ -8847,7 +8847,7 @@ pub mod virtual_network_gateway_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8921,7 +8921,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8997,7 +8997,7 @@ pub mod virtual_network_gateway_connections { } } pub mod set_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ConnectionSharedKey), @@ -9065,7 +9065,7 @@ pub mod virtual_network_gateway_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9136,7 +9136,7 @@ pub mod virtual_network_gateway_connections { } } pub mod reset_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionResetSharedKey), @@ -9162,7 +9162,7 @@ pub mod virtual_network_gateway_connections { } } pub mod local_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9209,7 +9209,7 @@ pub mod local_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9285,7 +9285,7 @@ pub mod local_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LocalNetworkGateway), @@ -9352,7 +9352,7 @@ pub mod local_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -9421,7 +9421,7 @@ pub mod local_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/network/src/package_2017_06/operations.rs b/services/mgmt/network/src/package_2017_06/operations.rs index c6f3869219..c8b6080f94 100644 --- a/services/mgmt/network/src/package_2017_06/operations.rs +++ b/services/mgmt/network/src/package_2017_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod application_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod application_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod application_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationGateway), @@ -194,7 +194,7 @@ pub mod application_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -263,7 +263,7 @@ pub mod application_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -327,7 +327,7 @@ pub mod application_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -389,7 +389,7 @@ pub mod application_gateways { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -456,7 +456,7 @@ pub mod application_gateways { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -535,7 +535,7 @@ pub mod application_gateways { } } pub mod backend_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealth), @@ -606,7 +606,7 @@ pub mod application_gateways { } } pub mod list_available_waf_rule_sets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -672,7 +672,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_options { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -738,7 +738,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_predefined_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -806,7 +806,7 @@ pub mod application_gateways { } } pub mod get_ssl_predefined_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -827,7 +827,7 @@ pub mod application_gateways { } } pub mod network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -878,7 +878,7 @@ pub mod network_interfaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -954,7 +954,7 @@ pub mod network_interfaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkInterface), @@ -1021,7 +1021,7 @@ pub mod network_interfaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1091,7 +1091,7 @@ pub mod network_interfaces { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1154,7 +1154,7 @@ pub mod network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1226,7 +1226,7 @@ pub mod network_interfaces { } } pub mod get_effective_route_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveRouteListResult), @@ -1303,7 +1303,7 @@ pub mod network_interfaces { } } pub mod list_effective_network_security_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveNetworkSecurityGroupListResult), @@ -1374,7 +1374,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_vm_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1445,7 +1445,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1515,7 +1515,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_network_interface { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1536,7 +1536,7 @@ pub mod network_interfaces { } } pub mod network_interface_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1583,7 +1583,7 @@ pub mod network_interface_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1650,7 +1650,7 @@ pub mod network_interface_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1671,7 +1671,7 @@ pub mod network_interface_ip_configurations { } } pub mod network_interface_load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1718,7 +1718,7 @@ pub mod network_interface_load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1739,7 +1739,7 @@ pub mod network_interface_load_balancers { } } pub mod load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1790,7 +1790,7 @@ pub mod load_balancers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1866,7 +1866,7 @@ pub mod load_balancers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoadBalancer), @@ -1933,7 +1933,7 @@ pub mod load_balancers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2003,7 +2003,7 @@ pub mod load_balancers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2066,7 +2066,7 @@ pub mod load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2087,7 +2087,7 @@ pub mod load_balancers { } } pub mod load_balancer_backend_address_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2134,7 +2134,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2201,7 +2201,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2222,7 +2222,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod load_balancer_frontend_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2269,7 +2269,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2336,7 +2336,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2357,7 +2357,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod inbound_nat_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2404,7 +2404,7 @@ pub mod inbound_nat_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2475,7 +2475,7 @@ pub mod inbound_nat_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2553,7 +2553,7 @@ pub mod inbound_nat_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(InboundNatRule), @@ -2622,7 +2622,7 @@ pub mod inbound_nat_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2649,7 +2649,7 @@ pub mod inbound_nat_rules { } } pub mod load_balancer_load_balancing_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2696,7 +2696,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2763,7 +2763,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2784,7 +2784,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod load_balancer_network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2831,7 +2831,7 @@ pub mod load_balancer_network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2852,7 +2852,7 @@ pub mod load_balancer_network_interfaces { } } pub mod load_balancer_probes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2899,7 +2899,7 @@ pub mod load_balancer_probes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2966,7 +2966,7 @@ pub mod load_balancer_probes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2987,7 +2987,7 @@ pub mod load_balancer_probes { } } pub mod virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3038,7 +3038,7 @@ pub mod virtual_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3114,7 +3114,7 @@ pub mod virtual_networks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetwork), @@ -3181,7 +3181,7 @@ pub mod virtual_networks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3251,7 +3251,7 @@ pub mod virtual_networks { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3314,7 +3314,7 @@ pub mod virtual_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3388,7 +3388,7 @@ pub mod virtual_networks { } } pub mod check_ip_address_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3456,7 +3456,7 @@ pub mod virtual_networks { } } pub mod list_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3477,7 +3477,7 @@ pub mod virtual_networks { } } pub mod subnets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3530,7 +3530,7 @@ pub mod subnets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3608,7 +3608,7 @@ pub mod subnets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Subnet), @@ -3677,7 +3677,7 @@ pub mod subnets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3748,7 +3748,7 @@ pub mod subnets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3769,7 +3769,7 @@ pub mod subnets { } } pub mod virtual_network_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3818,7 +3818,7 @@ pub mod virtual_network_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3896,7 +3896,7 @@ pub mod virtual_network_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkPeering), @@ -3965,7 +3965,7 @@ pub mod virtual_network_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4036,7 +4036,7 @@ pub mod virtual_network_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4057,7 +4057,7 @@ pub mod virtual_network_peerings { } } pub mod network_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4108,7 +4108,7 @@ pub mod network_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4184,7 +4184,7 @@ pub mod network_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkSecurityGroup), @@ -4251,7 +4251,7 @@ pub mod network_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4321,7 +4321,7 @@ pub mod network_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4384,7 +4384,7 @@ pub mod network_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4405,7 +4405,7 @@ pub mod network_security_groups { } } pub mod security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4454,7 +4454,7 @@ pub mod security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4532,7 +4532,7 @@ pub mod security_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityRule), @@ -4601,7 +4601,7 @@ pub mod security_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4672,7 +4672,7 @@ pub mod security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4693,7 +4693,7 @@ pub mod security_rules { } } pub mod default_security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4740,7 +4740,7 @@ pub mod default_security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4807,7 +4807,7 @@ pub mod default_security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4828,7 +4828,7 @@ pub mod default_security_rules { } } pub mod route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4879,7 +4879,7 @@ pub mod route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4955,7 +4955,7 @@ pub mod route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteTable), @@ -5022,7 +5022,7 @@ pub mod route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -5091,7 +5091,7 @@ pub mod route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5155,7 +5155,7 @@ pub mod route_tables { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5176,7 +5176,7 @@ pub mod route_tables { } } pub mod routes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5225,7 +5225,7 @@ pub mod routes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5303,7 +5303,7 @@ pub mod routes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Route), @@ -5372,7 +5372,7 @@ pub mod routes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5443,7 +5443,7 @@ pub mod routes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5464,7 +5464,7 @@ pub mod routes { } } pub mod public_ip_addresses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5515,7 +5515,7 @@ pub mod public_ip_addresses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5591,7 +5591,7 @@ pub mod public_ip_addresses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpAddress), @@ -5658,7 +5658,7 @@ pub mod public_ip_addresses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -5728,7 +5728,7 @@ pub mod public_ip_addresses { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5791,7 +5791,7 @@ pub mod public_ip_addresses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5862,7 +5862,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5930,7 +5930,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_vm_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6002,7 +6002,7 @@ pub mod public_ip_addresses { } } pub mod get_virtual_machine_scale_set_public_ip_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6075,7 +6075,7 @@ pub async fn check_dns_name_availability( } } pub mod check_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6095,7 +6095,7 @@ pub mod check_dns_name_availability { } } pub mod available_endpoint_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -6140,7 +6140,7 @@ pub mod available_endpoint_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6161,7 +6161,7 @@ pub mod available_endpoint_services { } } pub mod express_route_circuit_authorizations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6210,7 +6210,7 @@ pub mod express_route_circuit_authorizations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6288,7 +6288,7 @@ pub mod express_route_circuit_authorizations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuitAuthorization), @@ -6357,7 +6357,7 @@ pub mod express_route_circuit_authorizations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6428,7 +6428,7 @@ pub mod express_route_circuit_authorizations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6449,7 +6449,7 @@ pub mod express_route_circuit_authorizations { } } pub mod express_route_circuit_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6498,7 +6498,7 @@ pub mod express_route_circuit_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6576,7 +6576,7 @@ pub mod express_route_circuit_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitPeering), @@ -6645,7 +6645,7 @@ pub mod express_route_circuit_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6716,7 +6716,7 @@ pub mod express_route_circuit_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6737,7 +6737,7 @@ pub mod express_route_circuit_peerings { } } pub mod express_route_circuits { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6784,7 +6784,7 @@ pub mod express_route_circuits { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6860,7 +6860,7 @@ pub mod express_route_circuits { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuit), @@ -6927,7 +6927,7 @@ pub mod express_route_circuits { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -7007,7 +7007,7 @@ pub mod express_route_circuits { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -7086,7 +7086,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -7167,7 +7167,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableSummaryListResult), @@ -7240,7 +7240,7 @@ pub mod express_route_circuits { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7310,7 +7310,7 @@ pub mod express_route_circuits { } } pub mod get_peering_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7373,7 +7373,7 @@ pub mod express_route_circuits { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7437,7 +7437,7 @@ pub mod express_route_circuits { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7458,7 +7458,7 @@ pub mod express_route_circuits { } } pub mod express_route_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7501,7 +7501,7 @@ pub mod express_route_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7522,7 +7522,7 @@ pub mod express_route_service_providers { } } pub mod route_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7573,7 +7573,7 @@ pub mod route_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7649,7 +7649,7 @@ pub mod route_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilter), @@ -7721,7 +7721,7 @@ pub mod route_filters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7783,7 +7783,7 @@ pub mod route_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7857,7 +7857,7 @@ pub mod route_filters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7918,7 +7918,7 @@ pub mod route_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7939,7 +7939,7 @@ pub mod route_filters { } } pub mod route_filter_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7988,7 +7988,7 @@ pub mod route_filter_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8066,7 +8066,7 @@ pub mod route_filter_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilterRule), @@ -8140,7 +8140,7 @@ pub mod route_filter_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8204,7 +8204,7 @@ pub mod route_filter_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8278,7 +8278,7 @@ pub mod route_filter_rules { } } pub mod list_by_route_filter { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8299,7 +8299,7 @@ pub mod route_filter_rules { } } pub mod network_watchers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8346,7 +8346,7 @@ pub mod network_watchers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8422,7 +8422,7 @@ pub mod network_watchers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkWatcher), @@ -8488,7 +8488,7 @@ pub mod network_watchers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8556,7 +8556,7 @@ pub mod network_watchers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8620,7 +8620,7 @@ pub mod network_watchers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8690,7 +8690,7 @@ pub mod network_watchers { } } pub mod get_topology { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8766,7 +8766,7 @@ pub mod network_watchers { } } pub mod verify_ip_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VerificationIpFlowResult), @@ -8847,7 +8847,7 @@ pub mod network_watchers { } } pub mod get_next_hop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NextHopResult), @@ -8930,7 +8930,7 @@ pub mod network_watchers { } } pub mod get_vm_security_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityGroupViewResult), @@ -9011,7 +9011,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -9094,7 +9094,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -9177,7 +9177,7 @@ pub mod network_watchers { } } pub mod set_flow_log_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -9258,7 +9258,7 @@ pub mod network_watchers { } } pub mod get_flow_log_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -9339,7 +9339,7 @@ pub mod network_watchers { } } pub mod check_connectivity { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectivityInformation), @@ -9365,7 +9365,7 @@ pub mod network_watchers { } } pub mod packet_captures { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9414,7 +9414,7 @@ pub mod packet_captures { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9483,7 +9483,7 @@ pub mod packet_captures { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9546,7 +9546,7 @@ pub mod packet_captures { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -9615,7 +9615,7 @@ pub mod packet_captures { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9697,7 +9697,7 @@ pub mod packet_captures { } } pub mod get_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PacketCaptureQueryStatusResult), @@ -9767,7 +9767,7 @@ pub mod packet_captures { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9788,7 +9788,7 @@ pub mod packet_captures { } } pub mod bgp_service_communities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9831,7 +9831,7 @@ pub mod bgp_service_communities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9852,7 +9852,7 @@ pub mod bgp_service_communities { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -9897,7 +9897,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9918,7 +9918,7 @@ pub mod usages { } } pub mod virtual_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9965,7 +9965,7 @@ pub mod virtual_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10041,7 +10041,7 @@ pub mod virtual_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGateway), @@ -10108,7 +10108,7 @@ pub mod virtual_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -10177,7 +10177,7 @@ pub mod virtual_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10245,7 +10245,7 @@ pub mod virtual_network_gateways { } } pub mod list_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10316,7 +10316,7 @@ pub mod virtual_network_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -10394,7 +10394,7 @@ pub mod virtual_network_gateways { } } pub mod generatevpnclientpackage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -10469,7 +10469,7 @@ pub mod virtual_network_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10543,7 +10543,7 @@ pub mod virtual_network_gateways { } } pub mod get_bgp_peer_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BgpPeerStatusListResult), @@ -10618,7 +10618,7 @@ pub mod virtual_network_gateways { } } pub mod get_learned_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -10697,7 +10697,7 @@ pub mod virtual_network_gateways { } } pub mod get_advertised_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -10723,7 +10723,7 @@ pub mod virtual_network_gateways { } } pub mod virtual_network_gateway_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10770,7 +10770,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10846,7 +10846,7 @@ pub mod virtual_network_gateway_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGatewayConnection), @@ -10913,7 +10913,7 @@ pub mod virtual_network_gateway_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10987,7 +10987,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11063,7 +11063,7 @@ pub mod virtual_network_gateway_connections { } } pub mod set_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ConnectionSharedKey), @@ -11131,7 +11131,7 @@ pub mod virtual_network_gateway_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11202,7 +11202,7 @@ pub mod virtual_network_gateway_connections { } } pub mod reset_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionResetSharedKey), @@ -11228,7 +11228,7 @@ pub mod virtual_network_gateway_connections { } } pub mod local_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11275,7 +11275,7 @@ pub mod local_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11351,7 +11351,7 @@ pub mod local_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LocalNetworkGateway), @@ -11418,7 +11418,7 @@ pub mod local_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -11487,7 +11487,7 @@ pub mod local_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/network/src/package_2017_08/operations.rs b/services/mgmt/network/src/package_2017_08/operations.rs index 7fb1394089..a314eddf81 100644 --- a/services/mgmt/network/src/package_2017_08/operations.rs +++ b/services/mgmt/network/src/package_2017_08/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod application_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod application_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod application_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationGateway), @@ -194,7 +194,7 @@ pub mod application_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -263,7 +263,7 @@ pub mod application_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -327,7 +327,7 @@ pub mod application_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -389,7 +389,7 @@ pub mod application_gateways { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -456,7 +456,7 @@ pub mod application_gateways { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -535,7 +535,7 @@ pub mod application_gateways { } } pub mod backend_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealth), @@ -606,7 +606,7 @@ pub mod application_gateways { } } pub mod list_available_waf_rule_sets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -672,7 +672,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_options { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -738,7 +738,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_predefined_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -806,7 +806,7 @@ pub mod application_gateways { } } pub mod get_ssl_predefined_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -827,7 +827,7 @@ pub mod application_gateways { } } pub mod network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -878,7 +878,7 @@ pub mod network_interfaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -954,7 +954,7 @@ pub mod network_interfaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkInterface), @@ -1021,7 +1021,7 @@ pub mod network_interfaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1091,7 +1091,7 @@ pub mod network_interfaces { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1154,7 +1154,7 @@ pub mod network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1226,7 +1226,7 @@ pub mod network_interfaces { } } pub mod get_effective_route_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveRouteListResult), @@ -1303,7 +1303,7 @@ pub mod network_interfaces { } } pub mod list_effective_network_security_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveNetworkSecurityGroupListResult), @@ -1374,7 +1374,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_vm_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1445,7 +1445,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1515,7 +1515,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_network_interface { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1536,7 +1536,7 @@ pub mod network_interfaces { } } pub mod network_interface_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1583,7 +1583,7 @@ pub mod network_interface_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1650,7 +1650,7 @@ pub mod network_interface_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1671,7 +1671,7 @@ pub mod network_interface_ip_configurations { } } pub mod network_interface_load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1718,7 +1718,7 @@ pub mod network_interface_load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1739,7 +1739,7 @@ pub mod network_interface_load_balancers { } } pub mod load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1790,7 +1790,7 @@ pub mod load_balancers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1866,7 +1866,7 @@ pub mod load_balancers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoadBalancer), @@ -1933,7 +1933,7 @@ pub mod load_balancers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2003,7 +2003,7 @@ pub mod load_balancers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2066,7 +2066,7 @@ pub mod load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2087,7 +2087,7 @@ pub mod load_balancers { } } pub mod load_balancer_backend_address_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2134,7 +2134,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2201,7 +2201,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2222,7 +2222,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod load_balancer_frontend_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2269,7 +2269,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2336,7 +2336,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2357,7 +2357,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod inbound_nat_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2404,7 +2404,7 @@ pub mod inbound_nat_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2475,7 +2475,7 @@ pub mod inbound_nat_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2553,7 +2553,7 @@ pub mod inbound_nat_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(InboundNatRule), @@ -2622,7 +2622,7 @@ pub mod inbound_nat_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2649,7 +2649,7 @@ pub mod inbound_nat_rules { } } pub mod load_balancer_load_balancing_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2696,7 +2696,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2763,7 +2763,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2784,7 +2784,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod load_balancer_network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2831,7 +2831,7 @@ pub mod load_balancer_network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2852,7 +2852,7 @@ pub mod load_balancer_network_interfaces { } } pub mod load_balancer_probes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2899,7 +2899,7 @@ pub mod load_balancer_probes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2966,7 +2966,7 @@ pub mod load_balancer_probes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2987,7 +2987,7 @@ pub mod load_balancer_probes { } } pub mod virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3038,7 +3038,7 @@ pub mod virtual_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3114,7 +3114,7 @@ pub mod virtual_networks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetwork), @@ -3181,7 +3181,7 @@ pub mod virtual_networks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3251,7 +3251,7 @@ pub mod virtual_networks { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3314,7 +3314,7 @@ pub mod virtual_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3388,7 +3388,7 @@ pub mod virtual_networks { } } pub mod check_ip_address_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3456,7 +3456,7 @@ pub mod virtual_networks { } } pub mod list_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3477,7 +3477,7 @@ pub mod virtual_networks { } } pub mod subnets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3530,7 +3530,7 @@ pub mod subnets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3608,7 +3608,7 @@ pub mod subnets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Subnet), @@ -3677,7 +3677,7 @@ pub mod subnets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3748,7 +3748,7 @@ pub mod subnets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3769,7 +3769,7 @@ pub mod subnets { } } pub mod virtual_network_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3818,7 +3818,7 @@ pub mod virtual_network_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3896,7 +3896,7 @@ pub mod virtual_network_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkPeering), @@ -3965,7 +3965,7 @@ pub mod virtual_network_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4036,7 +4036,7 @@ pub mod virtual_network_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4057,7 +4057,7 @@ pub mod virtual_network_peerings { } } pub mod network_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4108,7 +4108,7 @@ pub mod network_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4184,7 +4184,7 @@ pub mod network_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkSecurityGroup), @@ -4251,7 +4251,7 @@ pub mod network_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4321,7 +4321,7 @@ pub mod network_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4384,7 +4384,7 @@ pub mod network_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4405,7 +4405,7 @@ pub mod network_security_groups { } } pub mod security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4454,7 +4454,7 @@ pub mod security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4532,7 +4532,7 @@ pub mod security_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityRule), @@ -4601,7 +4601,7 @@ pub mod security_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4672,7 +4672,7 @@ pub mod security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4693,7 +4693,7 @@ pub mod security_rules { } } pub mod default_security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4740,7 +4740,7 @@ pub mod default_security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4807,7 +4807,7 @@ pub mod default_security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4828,7 +4828,7 @@ pub mod default_security_rules { } } pub mod route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4879,7 +4879,7 @@ pub mod route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4955,7 +4955,7 @@ pub mod route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteTable), @@ -5022,7 +5022,7 @@ pub mod route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -5091,7 +5091,7 @@ pub mod route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5155,7 +5155,7 @@ pub mod route_tables { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5176,7 +5176,7 @@ pub mod route_tables { } } pub mod routes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5225,7 +5225,7 @@ pub mod routes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5303,7 +5303,7 @@ pub mod routes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Route), @@ -5372,7 +5372,7 @@ pub mod routes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5443,7 +5443,7 @@ pub mod routes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5464,7 +5464,7 @@ pub mod routes { } } pub mod public_ip_addresses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5515,7 +5515,7 @@ pub mod public_ip_addresses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5591,7 +5591,7 @@ pub mod public_ip_addresses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpAddress), @@ -5658,7 +5658,7 @@ pub mod public_ip_addresses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -5728,7 +5728,7 @@ pub mod public_ip_addresses { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5791,7 +5791,7 @@ pub mod public_ip_addresses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5862,7 +5862,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5930,7 +5930,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_vm_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6002,7 +6002,7 @@ pub mod public_ip_addresses { } } pub mod get_virtual_machine_scale_set_public_ip_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6073,7 +6073,7 @@ pub async fn check_dns_name_availability( } } pub mod check_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6093,7 +6093,7 @@ pub mod check_dns_name_availability { } } pub mod available_endpoint_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -6138,7 +6138,7 @@ pub mod available_endpoint_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6159,7 +6159,7 @@ pub mod available_endpoint_services { } } pub mod express_route_circuit_authorizations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6208,7 +6208,7 @@ pub mod express_route_circuit_authorizations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6286,7 +6286,7 @@ pub mod express_route_circuit_authorizations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuitAuthorization), @@ -6355,7 +6355,7 @@ pub mod express_route_circuit_authorizations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6426,7 +6426,7 @@ pub mod express_route_circuit_authorizations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6447,7 +6447,7 @@ pub mod express_route_circuit_authorizations { } } pub mod express_route_circuit_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6496,7 +6496,7 @@ pub mod express_route_circuit_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6574,7 +6574,7 @@ pub mod express_route_circuit_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitPeering), @@ -6643,7 +6643,7 @@ pub mod express_route_circuit_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6714,7 +6714,7 @@ pub mod express_route_circuit_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6735,7 +6735,7 @@ pub mod express_route_circuit_peerings { } } pub mod express_route_circuits { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6782,7 +6782,7 @@ pub mod express_route_circuits { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6858,7 +6858,7 @@ pub mod express_route_circuits { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuit), @@ -6925,7 +6925,7 @@ pub mod express_route_circuits { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -7005,7 +7005,7 @@ pub mod express_route_circuits { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -7084,7 +7084,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -7165,7 +7165,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableSummaryListResult), @@ -7238,7 +7238,7 @@ pub mod express_route_circuits { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7308,7 +7308,7 @@ pub mod express_route_circuits { } } pub mod get_peering_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7371,7 +7371,7 @@ pub mod express_route_circuits { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7435,7 +7435,7 @@ pub mod express_route_circuits { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7456,7 +7456,7 @@ pub mod express_route_circuits { } } pub mod express_route_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7499,7 +7499,7 @@ pub mod express_route_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7520,7 +7520,7 @@ pub mod express_route_service_providers { } } pub mod route_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7571,7 +7571,7 @@ pub mod route_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7647,7 +7647,7 @@ pub mod route_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilter), @@ -7719,7 +7719,7 @@ pub mod route_filters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7781,7 +7781,7 @@ pub mod route_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7855,7 +7855,7 @@ pub mod route_filters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7916,7 +7916,7 @@ pub mod route_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7937,7 +7937,7 @@ pub mod route_filters { } } pub mod route_filter_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7986,7 +7986,7 @@ pub mod route_filter_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8064,7 +8064,7 @@ pub mod route_filter_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilterRule), @@ -8138,7 +8138,7 @@ pub mod route_filter_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8202,7 +8202,7 @@ pub mod route_filter_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8276,7 +8276,7 @@ pub mod route_filter_rules { } } pub mod list_by_route_filter { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8297,7 +8297,7 @@ pub mod route_filter_rules { } } pub mod network_watchers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8344,7 +8344,7 @@ pub mod network_watchers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8420,7 +8420,7 @@ pub mod network_watchers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkWatcher), @@ -8486,7 +8486,7 @@ pub mod network_watchers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8554,7 +8554,7 @@ pub mod network_watchers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8618,7 +8618,7 @@ pub mod network_watchers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8688,7 +8688,7 @@ pub mod network_watchers { } } pub mod get_topology { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8764,7 +8764,7 @@ pub mod network_watchers { } } pub mod verify_ip_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VerificationIpFlowResult), @@ -8845,7 +8845,7 @@ pub mod network_watchers { } } pub mod get_next_hop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NextHopResult), @@ -8928,7 +8928,7 @@ pub mod network_watchers { } } pub mod get_vm_security_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityGroupViewResult), @@ -9009,7 +9009,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -9092,7 +9092,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -9175,7 +9175,7 @@ pub mod network_watchers { } } pub mod set_flow_log_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -9256,7 +9256,7 @@ pub mod network_watchers { } } pub mod get_flow_log_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -9337,7 +9337,7 @@ pub mod network_watchers { } } pub mod check_connectivity { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectivityInformation), @@ -9363,7 +9363,7 @@ pub mod network_watchers { } } pub mod packet_captures { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9412,7 +9412,7 @@ pub mod packet_captures { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9481,7 +9481,7 @@ pub mod packet_captures { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9544,7 +9544,7 @@ pub mod packet_captures { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -9613,7 +9613,7 @@ pub mod packet_captures { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9695,7 +9695,7 @@ pub mod packet_captures { } } pub mod get_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PacketCaptureQueryStatusResult), @@ -9765,7 +9765,7 @@ pub mod packet_captures { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9786,7 +9786,7 @@ pub mod packet_captures { } } pub mod bgp_service_communities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9829,7 +9829,7 @@ pub mod bgp_service_communities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9850,7 +9850,7 @@ pub mod bgp_service_communities { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -9895,7 +9895,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9916,7 +9916,7 @@ pub mod usages { } } pub mod virtual_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9963,7 +9963,7 @@ pub mod virtual_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10039,7 +10039,7 @@ pub mod virtual_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGateway), @@ -10106,7 +10106,7 @@ pub mod virtual_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -10175,7 +10175,7 @@ pub mod virtual_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10243,7 +10243,7 @@ pub mod virtual_network_gateways { } } pub mod list_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10314,7 +10314,7 @@ pub mod virtual_network_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -10392,7 +10392,7 @@ pub mod virtual_network_gateways { } } pub mod generatevpnclientpackage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -10468,7 +10468,7 @@ pub mod virtual_network_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -10545,7 +10545,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpn_profile_package_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -10624,7 +10624,7 @@ pub mod virtual_network_gateways { } } pub mod get_bgp_peer_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BgpPeerStatusListResult), @@ -10699,7 +10699,7 @@ pub mod virtual_network_gateways { } } pub mod get_learned_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -10778,7 +10778,7 @@ pub mod virtual_network_gateways { } } pub mod get_advertised_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -10804,7 +10804,7 @@ pub mod virtual_network_gateways { } } pub mod virtual_network_gateway_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10851,7 +10851,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10927,7 +10927,7 @@ pub mod virtual_network_gateway_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGatewayConnection), @@ -10994,7 +10994,7 @@ pub mod virtual_network_gateway_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11068,7 +11068,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11144,7 +11144,7 @@ pub mod virtual_network_gateway_connections { } } pub mod set_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ConnectionSharedKey), @@ -11212,7 +11212,7 @@ pub mod virtual_network_gateway_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11283,7 +11283,7 @@ pub mod virtual_network_gateway_connections { } } pub mod reset_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionResetSharedKey), @@ -11309,7 +11309,7 @@ pub mod virtual_network_gateway_connections { } } pub mod local_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11356,7 +11356,7 @@ pub mod local_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11432,7 +11432,7 @@ pub mod local_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LocalNetworkGateway), @@ -11499,7 +11499,7 @@ pub mod local_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -11568,7 +11568,7 @@ pub mod local_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/network/src/package_2017_09/operations.rs b/services/mgmt/network/src/package_2017_09/operations.rs index bb124e1991..b022e82d85 100644 --- a/services/mgmt/network/src/package_2017_09/operations.rs +++ b/services/mgmt/network/src/package_2017_09/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod application_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod application_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod application_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationGateway), @@ -202,7 +202,7 @@ pub mod application_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -264,7 +264,7 @@ pub mod application_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -333,7 +333,7 @@ pub mod application_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -397,7 +397,7 @@ pub mod application_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -459,7 +459,7 @@ pub mod application_gateways { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -526,7 +526,7 @@ pub mod application_gateways { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -605,7 +605,7 @@ pub mod application_gateways { } } pub mod backend_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealth), @@ -676,7 +676,7 @@ pub mod application_gateways { } } pub mod list_available_waf_rule_sets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -742,7 +742,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_options { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -808,7 +808,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_predefined_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -876,7 +876,7 @@ pub mod application_gateways { } } pub mod get_ssl_predefined_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -897,7 +897,7 @@ pub mod application_gateways { } } pub mod network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -948,7 +948,7 @@ pub mod network_interfaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1024,7 +1024,7 @@ pub mod network_interfaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkInterface), @@ -1099,7 +1099,7 @@ pub mod network_interfaces { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1161,7 +1161,7 @@ pub mod network_interfaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1231,7 +1231,7 @@ pub mod network_interfaces { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1294,7 +1294,7 @@ pub mod network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1366,7 +1366,7 @@ pub mod network_interfaces { } } pub mod get_effective_route_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveRouteListResult), @@ -1443,7 +1443,7 @@ pub mod network_interfaces { } } pub mod list_effective_network_security_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveNetworkSecurityGroupListResult), @@ -1514,7 +1514,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_vm_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1585,7 +1585,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1655,7 +1655,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_network_interface { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1726,7 +1726,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_ip_configurations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1797,7 +1797,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_ip_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1818,7 +1818,7 @@ pub mod network_interfaces { } } pub mod network_interface_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1865,7 +1865,7 @@ pub mod network_interface_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1932,7 +1932,7 @@ pub mod network_interface_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1953,7 +1953,7 @@ pub mod network_interface_ip_configurations { } } pub mod network_interface_load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2000,7 +2000,7 @@ pub mod network_interface_load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2021,7 +2021,7 @@ pub mod network_interface_load_balancers { } } pub mod load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2072,7 +2072,7 @@ pub mod load_balancers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2148,7 +2148,7 @@ pub mod load_balancers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoadBalancer), @@ -2223,7 +2223,7 @@ pub mod load_balancers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2285,7 +2285,7 @@ pub mod load_balancers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2355,7 +2355,7 @@ pub mod load_balancers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2418,7 +2418,7 @@ pub mod load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2439,7 +2439,7 @@ pub mod load_balancers { } } pub mod load_balancer_backend_address_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2486,7 +2486,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2553,7 +2553,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2574,7 +2574,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod load_balancer_frontend_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2621,7 +2621,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2688,7 +2688,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2709,7 +2709,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod inbound_nat_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2756,7 +2756,7 @@ pub mod inbound_nat_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2827,7 +2827,7 @@ pub mod inbound_nat_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2905,7 +2905,7 @@ pub mod inbound_nat_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(InboundNatRule), @@ -2974,7 +2974,7 @@ pub mod inbound_nat_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -3001,7 +3001,7 @@ pub mod inbound_nat_rules { } } pub mod load_balancer_load_balancing_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3048,7 +3048,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3115,7 +3115,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3136,7 +3136,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod load_balancer_network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3183,7 +3183,7 @@ pub mod load_balancer_network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3204,7 +3204,7 @@ pub mod load_balancer_network_interfaces { } } pub mod load_balancer_probes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3251,7 +3251,7 @@ pub mod load_balancer_probes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3318,7 +3318,7 @@ pub mod load_balancer_probes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3339,7 +3339,7 @@ pub mod load_balancer_probes { } } pub mod virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3390,7 +3390,7 @@ pub mod virtual_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3466,7 +3466,7 @@ pub mod virtual_networks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetwork), @@ -3541,7 +3541,7 @@ pub mod virtual_networks { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3603,7 +3603,7 @@ pub mod virtual_networks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3673,7 +3673,7 @@ pub mod virtual_networks { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3736,7 +3736,7 @@ pub mod virtual_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3810,7 +3810,7 @@ pub mod virtual_networks { } } pub mod check_ip_address_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3878,7 +3878,7 @@ pub mod virtual_networks { } } pub mod list_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3899,7 +3899,7 @@ pub mod virtual_networks { } } pub mod subnets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3952,7 +3952,7 @@ pub mod subnets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4030,7 +4030,7 @@ pub mod subnets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Subnet), @@ -4099,7 +4099,7 @@ pub mod subnets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4170,7 +4170,7 @@ pub mod subnets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4191,7 +4191,7 @@ pub mod subnets { } } pub mod virtual_network_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4240,7 +4240,7 @@ pub mod virtual_network_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4318,7 +4318,7 @@ pub mod virtual_network_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkPeering), @@ -4387,7 +4387,7 @@ pub mod virtual_network_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4458,7 +4458,7 @@ pub mod virtual_network_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4479,7 +4479,7 @@ pub mod virtual_network_peerings { } } pub mod network_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4530,7 +4530,7 @@ pub mod network_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4606,7 +4606,7 @@ pub mod network_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkSecurityGroup), @@ -4681,7 +4681,7 @@ pub mod network_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4743,7 +4743,7 @@ pub mod network_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4813,7 +4813,7 @@ pub mod network_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4876,7 +4876,7 @@ pub mod network_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4897,7 +4897,7 @@ pub mod network_security_groups { } } pub mod security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4946,7 +4946,7 @@ pub mod security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5024,7 +5024,7 @@ pub mod security_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityRule), @@ -5093,7 +5093,7 @@ pub mod security_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -5164,7 +5164,7 @@ pub mod security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5185,7 +5185,7 @@ pub mod security_rules { } } pub mod default_security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5232,7 +5232,7 @@ pub mod default_security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5299,7 +5299,7 @@ pub mod default_security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5320,7 +5320,7 @@ pub mod default_security_rules { } } pub mod application_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5367,7 +5367,7 @@ pub mod application_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5443,7 +5443,7 @@ pub mod application_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationSecurityGroup), @@ -5510,7 +5510,7 @@ pub mod application_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -5580,7 +5580,7 @@ pub mod application_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5643,7 +5643,7 @@ pub mod application_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5664,7 +5664,7 @@ pub mod application_security_groups { } } pub mod route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5715,7 +5715,7 @@ pub mod route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5791,7 +5791,7 @@ pub mod route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteTable), @@ -5866,7 +5866,7 @@ pub mod route_tables { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5928,7 +5928,7 @@ pub mod route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -5997,7 +5997,7 @@ pub mod route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6061,7 +6061,7 @@ pub mod route_tables { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6082,7 +6082,7 @@ pub mod route_tables { } } pub mod routes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6131,7 +6131,7 @@ pub mod routes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6209,7 +6209,7 @@ pub mod routes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Route), @@ -6278,7 +6278,7 @@ pub mod routes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6349,7 +6349,7 @@ pub mod routes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6370,7 +6370,7 @@ pub mod routes { } } pub mod public_ip_addresses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6421,7 +6421,7 @@ pub mod public_ip_addresses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6497,7 +6497,7 @@ pub mod public_ip_addresses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpAddress), @@ -6572,7 +6572,7 @@ pub mod public_ip_addresses { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6634,7 +6634,7 @@ pub mod public_ip_addresses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -6704,7 +6704,7 @@ pub mod public_ip_addresses { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6767,7 +6767,7 @@ pub mod public_ip_addresses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6838,7 +6838,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6906,7 +6906,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_vm_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6978,7 +6978,7 @@ pub mod public_ip_addresses { } } pub mod get_virtual_machine_scale_set_public_ip_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7049,7 +7049,7 @@ pub async fn check_dns_name_availability( } } pub mod check_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7069,7 +7069,7 @@ pub mod check_dns_name_availability { } } pub mod available_endpoint_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -7114,7 +7114,7 @@ pub mod available_endpoint_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7135,7 +7135,7 @@ pub mod available_endpoint_services { } } pub mod express_route_circuit_authorizations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7184,7 +7184,7 @@ pub mod express_route_circuit_authorizations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7262,7 +7262,7 @@ pub mod express_route_circuit_authorizations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuitAuthorization), @@ -7331,7 +7331,7 @@ pub mod express_route_circuit_authorizations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7402,7 +7402,7 @@ pub mod express_route_circuit_authorizations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7423,7 +7423,7 @@ pub mod express_route_circuit_authorizations { } } pub mod express_route_circuit_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7472,7 +7472,7 @@ pub mod express_route_circuit_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7550,7 +7550,7 @@ pub mod express_route_circuit_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitPeering), @@ -7619,7 +7619,7 @@ pub mod express_route_circuit_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7690,7 +7690,7 @@ pub mod express_route_circuit_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7711,7 +7711,7 @@ pub mod express_route_circuit_peerings { } } pub mod express_route_circuits { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7758,7 +7758,7 @@ pub mod express_route_circuits { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7834,7 +7834,7 @@ pub mod express_route_circuits { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuit), @@ -7909,7 +7909,7 @@ pub mod express_route_circuits { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7971,7 +7971,7 @@ pub mod express_route_circuits { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -8051,7 +8051,7 @@ pub mod express_route_circuits { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -8130,7 +8130,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -8211,7 +8211,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableSummaryListResult), @@ -8284,7 +8284,7 @@ pub mod express_route_circuits { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8354,7 +8354,7 @@ pub mod express_route_circuits { } } pub mod get_peering_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8417,7 +8417,7 @@ pub mod express_route_circuits { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8481,7 +8481,7 @@ pub mod express_route_circuits { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8502,7 +8502,7 @@ pub mod express_route_circuits { } } pub mod express_route_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8545,7 +8545,7 @@ pub mod express_route_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8566,7 +8566,7 @@ pub mod express_route_service_providers { } } pub mod route_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8617,7 +8617,7 @@ pub mod route_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8693,7 +8693,7 @@ pub mod route_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilter), @@ -8765,7 +8765,7 @@ pub mod route_filters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8827,7 +8827,7 @@ pub mod route_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8901,7 +8901,7 @@ pub mod route_filters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8962,7 +8962,7 @@ pub mod route_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8983,7 +8983,7 @@ pub mod route_filters { } } pub mod route_filter_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9032,7 +9032,7 @@ pub mod route_filter_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9110,7 +9110,7 @@ pub mod route_filter_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilterRule), @@ -9184,7 +9184,7 @@ pub mod route_filter_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9248,7 +9248,7 @@ pub mod route_filter_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9322,7 +9322,7 @@ pub mod route_filter_rules { } } pub mod list_by_route_filter { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9343,7 +9343,7 @@ pub mod route_filter_rules { } } pub mod network_watchers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9390,7 +9390,7 @@ pub mod network_watchers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9466,7 +9466,7 @@ pub mod network_watchers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkWatcher), @@ -9541,7 +9541,7 @@ pub mod network_watchers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9602,7 +9602,7 @@ pub mod network_watchers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9670,7 +9670,7 @@ pub mod network_watchers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9734,7 +9734,7 @@ pub mod network_watchers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9804,7 +9804,7 @@ pub mod network_watchers { } } pub mod get_topology { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9880,7 +9880,7 @@ pub mod network_watchers { } } pub mod verify_ip_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VerificationIpFlowResult), @@ -9961,7 +9961,7 @@ pub mod network_watchers { } } pub mod get_next_hop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NextHopResult), @@ -10044,7 +10044,7 @@ pub mod network_watchers { } } pub mod get_vm_security_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityGroupViewResult), @@ -10125,7 +10125,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -10208,7 +10208,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -10291,7 +10291,7 @@ pub mod network_watchers { } } pub mod set_flow_log_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -10372,7 +10372,7 @@ pub mod network_watchers { } } pub mod get_flow_log_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -10453,7 +10453,7 @@ pub mod network_watchers { } } pub mod check_connectivity { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectivityInformation), @@ -10536,7 +10536,7 @@ pub mod network_watchers { } } pub mod get_azure_reachability_report { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AzureReachabilityReport), @@ -10619,7 +10619,7 @@ pub mod network_watchers { } } pub mod list_available_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AvailableProvidersList), @@ -10645,7 +10645,7 @@ pub mod network_watchers { } } pub mod packet_captures { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10694,7 +10694,7 @@ pub mod packet_captures { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10763,7 +10763,7 @@ pub mod packet_captures { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10826,7 +10826,7 @@ pub mod packet_captures { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -10895,7 +10895,7 @@ pub mod packet_captures { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10977,7 +10977,7 @@ pub mod packet_captures { } } pub mod get_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PacketCaptureQueryStatusResult), @@ -11047,7 +11047,7 @@ pub mod packet_captures { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11068,7 +11068,7 @@ pub mod packet_captures { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Network/operations", operation_config.base_path(),); @@ -11104,7 +11104,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11125,7 +11125,7 @@ pub mod operations { } } pub mod bgp_service_communities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11168,7 +11168,7 @@ pub mod bgp_service_communities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11189,7 +11189,7 @@ pub mod bgp_service_communities { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -11234,7 +11234,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11255,7 +11255,7 @@ pub mod usages { } } pub mod virtual_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11302,7 +11302,7 @@ pub mod virtual_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11378,7 +11378,7 @@ pub mod virtual_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGateway), @@ -11453,7 +11453,7 @@ pub mod virtual_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11515,7 +11515,7 @@ pub mod virtual_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -11584,7 +11584,7 @@ pub mod virtual_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11652,7 +11652,7 @@ pub mod virtual_network_gateways { } } pub mod list_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11723,7 +11723,7 @@ pub mod virtual_network_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -11801,7 +11801,7 @@ pub mod virtual_network_gateways { } } pub mod generatevpnclientpackage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -11877,7 +11877,7 @@ pub mod virtual_network_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -11954,7 +11954,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpn_profile_package_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -12033,7 +12033,7 @@ pub mod virtual_network_gateways { } } pub mod get_bgp_peer_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BgpPeerStatusListResult), @@ -12109,7 +12109,7 @@ pub mod virtual_network_gateways { } } pub mod supported_vpn_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12179,7 +12179,7 @@ pub mod virtual_network_gateways { } } pub mod get_learned_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -12258,7 +12258,7 @@ pub mod virtual_network_gateways { } } pub mod get_advertised_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -12335,7 +12335,7 @@ pub mod virtual_network_gateways { } } pub mod vpn_device_configuration_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12356,7 +12356,7 @@ pub mod virtual_network_gateways { } } pub mod virtual_network_gateway_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12403,7 +12403,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12479,7 +12479,7 @@ pub mod virtual_network_gateway_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGatewayConnection), @@ -12554,7 +12554,7 @@ pub mod virtual_network_gateway_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12616,7 +12616,7 @@ pub mod virtual_network_gateway_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12690,7 +12690,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12766,7 +12766,7 @@ pub mod virtual_network_gateway_connections { } } pub mod set_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ConnectionSharedKey), @@ -12834,7 +12834,7 @@ pub mod virtual_network_gateway_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12905,7 +12905,7 @@ pub mod virtual_network_gateway_connections { } } pub mod reset_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionResetSharedKey), @@ -12931,7 +12931,7 @@ pub mod virtual_network_gateway_connections { } } pub mod local_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12978,7 +12978,7 @@ pub mod local_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13054,7 +13054,7 @@ pub mod local_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LocalNetworkGateway), @@ -13129,7 +13129,7 @@ pub mod local_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13191,7 +13191,7 @@ pub mod local_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -13260,7 +13260,7 @@ pub mod local_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/network/src/package_2017_09_only/operations.rs b/services/mgmt/network/src/package_2017_09_only/operations.rs index 3ab7c67973..4a8309044a 100644 --- a/services/mgmt/network/src/package_2017_09_only/operations.rs +++ b/services/mgmt/network/src/package_2017_09_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod application_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod application_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod application_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationGateway), @@ -202,7 +202,7 @@ pub mod application_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -264,7 +264,7 @@ pub mod application_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -333,7 +333,7 @@ pub mod application_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -397,7 +397,7 @@ pub mod application_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -459,7 +459,7 @@ pub mod application_gateways { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -526,7 +526,7 @@ pub mod application_gateways { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -605,7 +605,7 @@ pub mod application_gateways { } } pub mod backend_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealth), @@ -676,7 +676,7 @@ pub mod application_gateways { } } pub mod list_available_waf_rule_sets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -742,7 +742,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_options { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -808,7 +808,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_predefined_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -876,7 +876,7 @@ pub mod application_gateways { } } pub mod get_ssl_predefined_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -897,7 +897,7 @@ pub mod application_gateways { } } pub mod network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -948,7 +948,7 @@ pub mod network_interfaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1024,7 +1024,7 @@ pub mod network_interfaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkInterface), @@ -1099,7 +1099,7 @@ pub mod network_interfaces { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1161,7 +1161,7 @@ pub mod network_interfaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1231,7 +1231,7 @@ pub mod network_interfaces { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1294,7 +1294,7 @@ pub mod network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1366,7 +1366,7 @@ pub mod network_interfaces { } } pub mod get_effective_route_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveRouteListResult), @@ -1443,7 +1443,7 @@ pub mod network_interfaces { } } pub mod list_effective_network_security_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveNetworkSecurityGroupListResult), @@ -1469,7 +1469,7 @@ pub mod network_interfaces { } } pub mod network_interface_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1516,7 +1516,7 @@ pub mod network_interface_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1583,7 +1583,7 @@ pub mod network_interface_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1604,7 +1604,7 @@ pub mod network_interface_ip_configurations { } } pub mod network_interface_load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1651,7 +1651,7 @@ pub mod network_interface_load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1672,7 +1672,7 @@ pub mod network_interface_load_balancers { } } pub mod load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1723,7 +1723,7 @@ pub mod load_balancers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1799,7 +1799,7 @@ pub mod load_balancers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoadBalancer), @@ -1874,7 +1874,7 @@ pub mod load_balancers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1936,7 +1936,7 @@ pub mod load_balancers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2006,7 +2006,7 @@ pub mod load_balancers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2069,7 +2069,7 @@ pub mod load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2090,7 +2090,7 @@ pub mod load_balancers { } } pub mod load_balancer_backend_address_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2137,7 +2137,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2204,7 +2204,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2225,7 +2225,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod load_balancer_frontend_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2272,7 +2272,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2339,7 +2339,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2360,7 +2360,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod inbound_nat_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2407,7 +2407,7 @@ pub mod inbound_nat_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2478,7 +2478,7 @@ pub mod inbound_nat_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2556,7 +2556,7 @@ pub mod inbound_nat_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(InboundNatRule), @@ -2625,7 +2625,7 @@ pub mod inbound_nat_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2652,7 +2652,7 @@ pub mod inbound_nat_rules { } } pub mod load_balancer_load_balancing_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2699,7 +2699,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2766,7 +2766,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2787,7 +2787,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod load_balancer_network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2834,7 +2834,7 @@ pub mod load_balancer_network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2855,7 +2855,7 @@ pub mod load_balancer_network_interfaces { } } pub mod load_balancer_probes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2902,7 +2902,7 @@ pub mod load_balancer_probes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2969,7 +2969,7 @@ pub mod load_balancer_probes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2990,7 +2990,7 @@ pub mod load_balancer_probes { } } pub mod virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3041,7 +3041,7 @@ pub mod virtual_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3117,7 +3117,7 @@ pub mod virtual_networks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetwork), @@ -3192,7 +3192,7 @@ pub mod virtual_networks { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3254,7 +3254,7 @@ pub mod virtual_networks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3324,7 +3324,7 @@ pub mod virtual_networks { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3387,7 +3387,7 @@ pub mod virtual_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3461,7 +3461,7 @@ pub mod virtual_networks { } } pub mod check_ip_address_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3529,7 +3529,7 @@ pub mod virtual_networks { } } pub mod list_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3550,7 +3550,7 @@ pub mod virtual_networks { } } pub mod subnets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3603,7 +3603,7 @@ pub mod subnets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3681,7 +3681,7 @@ pub mod subnets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Subnet), @@ -3750,7 +3750,7 @@ pub mod subnets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3821,7 +3821,7 @@ pub mod subnets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3842,7 +3842,7 @@ pub mod subnets { } } pub mod virtual_network_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3891,7 +3891,7 @@ pub mod virtual_network_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3969,7 +3969,7 @@ pub mod virtual_network_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkPeering), @@ -4038,7 +4038,7 @@ pub mod virtual_network_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4109,7 +4109,7 @@ pub mod virtual_network_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4130,7 +4130,7 @@ pub mod virtual_network_peerings { } } pub mod network_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4181,7 +4181,7 @@ pub mod network_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4257,7 +4257,7 @@ pub mod network_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkSecurityGroup), @@ -4332,7 +4332,7 @@ pub mod network_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4394,7 +4394,7 @@ pub mod network_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4464,7 +4464,7 @@ pub mod network_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4527,7 +4527,7 @@ pub mod network_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4548,7 +4548,7 @@ pub mod network_security_groups { } } pub mod security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4597,7 +4597,7 @@ pub mod security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4675,7 +4675,7 @@ pub mod security_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityRule), @@ -4744,7 +4744,7 @@ pub mod security_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4815,7 +4815,7 @@ pub mod security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4836,7 +4836,7 @@ pub mod security_rules { } } pub mod default_security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4883,7 +4883,7 @@ pub mod default_security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4950,7 +4950,7 @@ pub mod default_security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4971,7 +4971,7 @@ pub mod default_security_rules { } } pub mod application_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5018,7 +5018,7 @@ pub mod application_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5094,7 +5094,7 @@ pub mod application_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationSecurityGroup), @@ -5161,7 +5161,7 @@ pub mod application_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -5231,7 +5231,7 @@ pub mod application_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5294,7 +5294,7 @@ pub mod application_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5315,7 +5315,7 @@ pub mod application_security_groups { } } pub mod route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5366,7 +5366,7 @@ pub mod route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5442,7 +5442,7 @@ pub mod route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteTable), @@ -5517,7 +5517,7 @@ pub mod route_tables { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5579,7 +5579,7 @@ pub mod route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -5648,7 +5648,7 @@ pub mod route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5712,7 +5712,7 @@ pub mod route_tables { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5733,7 +5733,7 @@ pub mod route_tables { } } pub mod routes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5782,7 +5782,7 @@ pub mod routes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5860,7 +5860,7 @@ pub mod routes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Route), @@ -5929,7 +5929,7 @@ pub mod routes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6000,7 +6000,7 @@ pub mod routes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6021,7 +6021,7 @@ pub mod routes { } } pub mod public_ip_addresses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6072,7 +6072,7 @@ pub mod public_ip_addresses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6148,7 +6148,7 @@ pub mod public_ip_addresses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpAddress), @@ -6223,7 +6223,7 @@ pub mod public_ip_addresses { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6285,7 +6285,7 @@ pub mod public_ip_addresses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -6355,7 +6355,7 @@ pub mod public_ip_addresses { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6418,7 +6418,7 @@ pub mod public_ip_addresses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6489,7 +6489,7 @@ pub async fn check_dns_name_availability( } } pub mod check_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6509,7 +6509,7 @@ pub mod check_dns_name_availability { } } pub mod available_endpoint_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -6554,7 +6554,7 @@ pub mod available_endpoint_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6575,7 +6575,7 @@ pub mod available_endpoint_services { } } pub mod express_route_circuit_authorizations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6624,7 +6624,7 @@ pub mod express_route_circuit_authorizations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6702,7 +6702,7 @@ pub mod express_route_circuit_authorizations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuitAuthorization), @@ -6771,7 +6771,7 @@ pub mod express_route_circuit_authorizations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6842,7 +6842,7 @@ pub mod express_route_circuit_authorizations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6863,7 +6863,7 @@ pub mod express_route_circuit_authorizations { } } pub mod express_route_circuit_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6912,7 +6912,7 @@ pub mod express_route_circuit_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6990,7 +6990,7 @@ pub mod express_route_circuit_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitPeering), @@ -7059,7 +7059,7 @@ pub mod express_route_circuit_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7130,7 +7130,7 @@ pub mod express_route_circuit_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7151,7 +7151,7 @@ pub mod express_route_circuit_peerings { } } pub mod express_route_circuits { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7198,7 +7198,7 @@ pub mod express_route_circuits { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7274,7 +7274,7 @@ pub mod express_route_circuits { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuit), @@ -7349,7 +7349,7 @@ pub mod express_route_circuits { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7411,7 +7411,7 @@ pub mod express_route_circuits { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -7491,7 +7491,7 @@ pub mod express_route_circuits { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -7570,7 +7570,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -7651,7 +7651,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableSummaryListResult), @@ -7724,7 +7724,7 @@ pub mod express_route_circuits { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7794,7 +7794,7 @@ pub mod express_route_circuits { } } pub mod get_peering_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7857,7 +7857,7 @@ pub mod express_route_circuits { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7921,7 +7921,7 @@ pub mod express_route_circuits { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7942,7 +7942,7 @@ pub mod express_route_circuits { } } pub mod express_route_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7985,7 +7985,7 @@ pub mod express_route_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8006,7 +8006,7 @@ pub mod express_route_service_providers { } } pub mod route_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8057,7 +8057,7 @@ pub mod route_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8133,7 +8133,7 @@ pub mod route_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilter), @@ -8205,7 +8205,7 @@ pub mod route_filters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8267,7 +8267,7 @@ pub mod route_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8341,7 +8341,7 @@ pub mod route_filters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8402,7 +8402,7 @@ pub mod route_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8423,7 +8423,7 @@ pub mod route_filters { } } pub mod route_filter_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8472,7 +8472,7 @@ pub mod route_filter_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8550,7 +8550,7 @@ pub mod route_filter_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilterRule), @@ -8624,7 +8624,7 @@ pub mod route_filter_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8688,7 +8688,7 @@ pub mod route_filter_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8762,7 +8762,7 @@ pub mod route_filter_rules { } } pub mod list_by_route_filter { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8783,7 +8783,7 @@ pub mod route_filter_rules { } } pub mod network_watchers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8830,7 +8830,7 @@ pub mod network_watchers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8906,7 +8906,7 @@ pub mod network_watchers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkWatcher), @@ -8981,7 +8981,7 @@ pub mod network_watchers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9042,7 +9042,7 @@ pub mod network_watchers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9110,7 +9110,7 @@ pub mod network_watchers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9174,7 +9174,7 @@ pub mod network_watchers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9244,7 +9244,7 @@ pub mod network_watchers { } } pub mod get_topology { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9320,7 +9320,7 @@ pub mod network_watchers { } } pub mod verify_ip_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VerificationIpFlowResult), @@ -9401,7 +9401,7 @@ pub mod network_watchers { } } pub mod get_next_hop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NextHopResult), @@ -9484,7 +9484,7 @@ pub mod network_watchers { } } pub mod get_vm_security_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityGroupViewResult), @@ -9565,7 +9565,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -9648,7 +9648,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -9731,7 +9731,7 @@ pub mod network_watchers { } } pub mod set_flow_log_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -9812,7 +9812,7 @@ pub mod network_watchers { } } pub mod get_flow_log_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -9893,7 +9893,7 @@ pub mod network_watchers { } } pub mod check_connectivity { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectivityInformation), @@ -9976,7 +9976,7 @@ pub mod network_watchers { } } pub mod get_azure_reachability_report { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AzureReachabilityReport), @@ -10059,7 +10059,7 @@ pub mod network_watchers { } } pub mod list_available_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AvailableProvidersList), @@ -10085,7 +10085,7 @@ pub mod network_watchers { } } pub mod packet_captures { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10134,7 +10134,7 @@ pub mod packet_captures { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10203,7 +10203,7 @@ pub mod packet_captures { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10266,7 +10266,7 @@ pub mod packet_captures { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -10335,7 +10335,7 @@ pub mod packet_captures { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10417,7 +10417,7 @@ pub mod packet_captures { } } pub mod get_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PacketCaptureQueryStatusResult), @@ -10487,7 +10487,7 @@ pub mod packet_captures { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10508,7 +10508,7 @@ pub mod packet_captures { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Network/operations", operation_config.base_path(),); @@ -10544,7 +10544,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10565,7 +10565,7 @@ pub mod operations { } } pub mod bgp_service_communities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10608,7 +10608,7 @@ pub mod bgp_service_communities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10629,7 +10629,7 @@ pub mod bgp_service_communities { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -10674,7 +10674,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10695,7 +10695,7 @@ pub mod usages { } } pub mod virtual_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10742,7 +10742,7 @@ pub mod virtual_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10818,7 +10818,7 @@ pub mod virtual_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGateway), @@ -10893,7 +10893,7 @@ pub mod virtual_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10955,7 +10955,7 @@ pub mod virtual_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -11024,7 +11024,7 @@ pub mod virtual_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11092,7 +11092,7 @@ pub mod virtual_network_gateways { } } pub mod list_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11163,7 +11163,7 @@ pub mod virtual_network_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -11241,7 +11241,7 @@ pub mod virtual_network_gateways { } } pub mod generatevpnclientpackage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -11317,7 +11317,7 @@ pub mod virtual_network_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -11394,7 +11394,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpn_profile_package_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -11473,7 +11473,7 @@ pub mod virtual_network_gateways { } } pub mod get_bgp_peer_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BgpPeerStatusListResult), @@ -11549,7 +11549,7 @@ pub mod virtual_network_gateways { } } pub mod supported_vpn_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11619,7 +11619,7 @@ pub mod virtual_network_gateways { } } pub mod get_learned_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -11698,7 +11698,7 @@ pub mod virtual_network_gateways { } } pub mod get_advertised_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -11775,7 +11775,7 @@ pub mod virtual_network_gateways { } } pub mod vpn_device_configuration_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11796,7 +11796,7 @@ pub mod virtual_network_gateways { } } pub mod virtual_network_gateway_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11843,7 +11843,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11919,7 +11919,7 @@ pub mod virtual_network_gateway_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGatewayConnection), @@ -11994,7 +11994,7 @@ pub mod virtual_network_gateway_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12056,7 +12056,7 @@ pub mod virtual_network_gateway_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12130,7 +12130,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12206,7 +12206,7 @@ pub mod virtual_network_gateway_connections { } } pub mod set_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ConnectionSharedKey), @@ -12274,7 +12274,7 @@ pub mod virtual_network_gateway_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12345,7 +12345,7 @@ pub mod virtual_network_gateway_connections { } } pub mod reset_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionResetSharedKey), @@ -12371,7 +12371,7 @@ pub mod virtual_network_gateway_connections { } } pub mod local_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12418,7 +12418,7 @@ pub mod local_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12494,7 +12494,7 @@ pub mod local_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LocalNetworkGateway), @@ -12569,7 +12569,7 @@ pub mod local_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12631,7 +12631,7 @@ pub mod local_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -12700,7 +12700,7 @@ pub mod local_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/network/src/package_2017_10/operations.rs b/services/mgmt/network/src/package_2017_10/operations.rs index a4e7446a2b..d224a314a0 100644 --- a/services/mgmt/network/src/package_2017_10/operations.rs +++ b/services/mgmt/network/src/package_2017_10/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod application_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod application_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod application_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationGateway), @@ -202,7 +202,7 @@ pub mod application_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -264,7 +264,7 @@ pub mod application_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -333,7 +333,7 @@ pub mod application_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -397,7 +397,7 @@ pub mod application_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -459,7 +459,7 @@ pub mod application_gateways { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -526,7 +526,7 @@ pub mod application_gateways { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -605,7 +605,7 @@ pub mod application_gateways { } } pub mod backend_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealth), @@ -676,7 +676,7 @@ pub mod application_gateways { } } pub mod list_available_waf_rule_sets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -742,7 +742,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_options { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -808,7 +808,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_predefined_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -876,7 +876,7 @@ pub mod application_gateways { } } pub mod get_ssl_predefined_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -897,7 +897,7 @@ pub mod application_gateways { } } pub mod network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -948,7 +948,7 @@ pub mod network_interfaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1024,7 +1024,7 @@ pub mod network_interfaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkInterface), @@ -1099,7 +1099,7 @@ pub mod network_interfaces { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1161,7 +1161,7 @@ pub mod network_interfaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1231,7 +1231,7 @@ pub mod network_interfaces { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1294,7 +1294,7 @@ pub mod network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1366,7 +1366,7 @@ pub mod network_interfaces { } } pub mod get_effective_route_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveRouteListResult), @@ -1443,7 +1443,7 @@ pub mod network_interfaces { } } pub mod list_effective_network_security_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveNetworkSecurityGroupListResult), @@ -1514,7 +1514,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_vm_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1585,7 +1585,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1655,7 +1655,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_network_interface { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1726,7 +1726,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_ip_configurations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1797,7 +1797,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_ip_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1818,7 +1818,7 @@ pub mod network_interfaces { } } pub mod network_interface_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1865,7 +1865,7 @@ pub mod network_interface_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1932,7 +1932,7 @@ pub mod network_interface_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1953,7 +1953,7 @@ pub mod network_interface_ip_configurations { } } pub mod network_interface_load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2000,7 +2000,7 @@ pub mod network_interface_load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2021,7 +2021,7 @@ pub mod network_interface_load_balancers { } } pub mod load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2072,7 +2072,7 @@ pub mod load_balancers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2148,7 +2148,7 @@ pub mod load_balancers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoadBalancer), @@ -2223,7 +2223,7 @@ pub mod load_balancers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2285,7 +2285,7 @@ pub mod load_balancers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2355,7 +2355,7 @@ pub mod load_balancers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2418,7 +2418,7 @@ pub mod load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2439,7 +2439,7 @@ pub mod load_balancers { } } pub mod load_balancer_backend_address_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2486,7 +2486,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2553,7 +2553,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2574,7 +2574,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod load_balancer_frontend_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2621,7 +2621,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2688,7 +2688,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2709,7 +2709,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod inbound_nat_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2756,7 +2756,7 @@ pub mod inbound_nat_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2827,7 +2827,7 @@ pub mod inbound_nat_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2905,7 +2905,7 @@ pub mod inbound_nat_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(InboundNatRule), @@ -2974,7 +2974,7 @@ pub mod inbound_nat_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -3001,7 +3001,7 @@ pub mod inbound_nat_rules { } } pub mod load_balancer_load_balancing_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3048,7 +3048,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3115,7 +3115,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3136,7 +3136,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod load_balancer_network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3183,7 +3183,7 @@ pub mod load_balancer_network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3204,7 +3204,7 @@ pub mod load_balancer_network_interfaces { } } pub mod load_balancer_probes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3251,7 +3251,7 @@ pub mod load_balancer_probes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3318,7 +3318,7 @@ pub mod load_balancer_probes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3339,7 +3339,7 @@ pub mod load_balancer_probes { } } pub mod virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3390,7 +3390,7 @@ pub mod virtual_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3466,7 +3466,7 @@ pub mod virtual_networks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetwork), @@ -3541,7 +3541,7 @@ pub mod virtual_networks { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3603,7 +3603,7 @@ pub mod virtual_networks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3673,7 +3673,7 @@ pub mod virtual_networks { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3736,7 +3736,7 @@ pub mod virtual_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3810,7 +3810,7 @@ pub mod virtual_networks { } } pub mod check_ip_address_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3878,7 +3878,7 @@ pub mod virtual_networks { } } pub mod list_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3899,7 +3899,7 @@ pub mod virtual_networks { } } pub mod subnets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3952,7 +3952,7 @@ pub mod subnets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4030,7 +4030,7 @@ pub mod subnets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Subnet), @@ -4099,7 +4099,7 @@ pub mod subnets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4170,7 +4170,7 @@ pub mod subnets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4191,7 +4191,7 @@ pub mod subnets { } } pub mod virtual_network_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4240,7 +4240,7 @@ pub mod virtual_network_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4318,7 +4318,7 @@ pub mod virtual_network_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkPeering), @@ -4387,7 +4387,7 @@ pub mod virtual_network_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4458,7 +4458,7 @@ pub mod virtual_network_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4479,7 +4479,7 @@ pub mod virtual_network_peerings { } } pub mod network_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4530,7 +4530,7 @@ pub mod network_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4606,7 +4606,7 @@ pub mod network_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkSecurityGroup), @@ -4681,7 +4681,7 @@ pub mod network_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4743,7 +4743,7 @@ pub mod network_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4813,7 +4813,7 @@ pub mod network_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4876,7 +4876,7 @@ pub mod network_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4897,7 +4897,7 @@ pub mod network_security_groups { } } pub mod security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4946,7 +4946,7 @@ pub mod security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5024,7 +5024,7 @@ pub mod security_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityRule), @@ -5093,7 +5093,7 @@ pub mod security_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -5164,7 +5164,7 @@ pub mod security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5185,7 +5185,7 @@ pub mod security_rules { } } pub mod default_security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5232,7 +5232,7 @@ pub mod default_security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5299,7 +5299,7 @@ pub mod default_security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5320,7 +5320,7 @@ pub mod default_security_rules { } } pub mod application_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5367,7 +5367,7 @@ pub mod application_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5443,7 +5443,7 @@ pub mod application_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationSecurityGroup), @@ -5510,7 +5510,7 @@ pub mod application_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -5580,7 +5580,7 @@ pub mod application_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5643,7 +5643,7 @@ pub mod application_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5664,7 +5664,7 @@ pub mod application_security_groups { } } pub mod route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5715,7 +5715,7 @@ pub mod route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5791,7 +5791,7 @@ pub mod route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteTable), @@ -5866,7 +5866,7 @@ pub mod route_tables { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5928,7 +5928,7 @@ pub mod route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -5997,7 +5997,7 @@ pub mod route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6061,7 +6061,7 @@ pub mod route_tables { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6082,7 +6082,7 @@ pub mod route_tables { } } pub mod routes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6131,7 +6131,7 @@ pub mod routes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6209,7 +6209,7 @@ pub mod routes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Route), @@ -6278,7 +6278,7 @@ pub mod routes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6349,7 +6349,7 @@ pub mod routes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6370,7 +6370,7 @@ pub mod routes { } } pub mod public_ip_addresses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6421,7 +6421,7 @@ pub mod public_ip_addresses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6497,7 +6497,7 @@ pub mod public_ip_addresses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpAddress), @@ -6572,7 +6572,7 @@ pub mod public_ip_addresses { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6634,7 +6634,7 @@ pub mod public_ip_addresses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -6704,7 +6704,7 @@ pub mod public_ip_addresses { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6767,7 +6767,7 @@ pub mod public_ip_addresses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6838,7 +6838,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6906,7 +6906,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_vm_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6978,7 +6978,7 @@ pub mod public_ip_addresses { } } pub mod get_virtual_machine_scale_set_public_ip_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7049,7 +7049,7 @@ pub async fn check_dns_name_availability( } } pub mod check_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7069,7 +7069,7 @@ pub mod check_dns_name_availability { } } pub mod available_endpoint_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -7114,7 +7114,7 @@ pub mod available_endpoint_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7135,7 +7135,7 @@ pub mod available_endpoint_services { } } pub mod express_route_circuit_authorizations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7184,7 +7184,7 @@ pub mod express_route_circuit_authorizations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7262,7 +7262,7 @@ pub mod express_route_circuit_authorizations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuitAuthorization), @@ -7331,7 +7331,7 @@ pub mod express_route_circuit_authorizations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7402,7 +7402,7 @@ pub mod express_route_circuit_authorizations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7423,7 +7423,7 @@ pub mod express_route_circuit_authorizations { } } pub mod express_route_circuit_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7472,7 +7472,7 @@ pub mod express_route_circuit_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7550,7 +7550,7 @@ pub mod express_route_circuit_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitPeering), @@ -7619,7 +7619,7 @@ pub mod express_route_circuit_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7690,7 +7690,7 @@ pub mod express_route_circuit_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7711,7 +7711,7 @@ pub mod express_route_circuit_peerings { } } pub mod express_route_circuits { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7758,7 +7758,7 @@ pub mod express_route_circuits { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7834,7 +7834,7 @@ pub mod express_route_circuits { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuit), @@ -7909,7 +7909,7 @@ pub mod express_route_circuits { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7971,7 +7971,7 @@ pub mod express_route_circuits { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -8051,7 +8051,7 @@ pub mod express_route_circuits { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -8130,7 +8130,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -8211,7 +8211,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableSummaryListResult), @@ -8284,7 +8284,7 @@ pub mod express_route_circuits { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8354,7 +8354,7 @@ pub mod express_route_circuits { } } pub mod get_peering_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8417,7 +8417,7 @@ pub mod express_route_circuits { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8481,7 +8481,7 @@ pub mod express_route_circuits { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8502,7 +8502,7 @@ pub mod express_route_circuits { } } pub mod express_route_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8545,7 +8545,7 @@ pub mod express_route_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8566,7 +8566,7 @@ pub mod express_route_service_providers { } } pub mod route_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8617,7 +8617,7 @@ pub mod route_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8693,7 +8693,7 @@ pub mod route_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilter), @@ -8765,7 +8765,7 @@ pub mod route_filters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8827,7 +8827,7 @@ pub mod route_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8901,7 +8901,7 @@ pub mod route_filters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8962,7 +8962,7 @@ pub mod route_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8983,7 +8983,7 @@ pub mod route_filters { } } pub mod route_filter_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9032,7 +9032,7 @@ pub mod route_filter_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9110,7 +9110,7 @@ pub mod route_filter_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilterRule), @@ -9184,7 +9184,7 @@ pub mod route_filter_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9248,7 +9248,7 @@ pub mod route_filter_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9322,7 +9322,7 @@ pub mod route_filter_rules { } } pub mod list_by_route_filter { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9343,7 +9343,7 @@ pub mod route_filter_rules { } } pub mod network_watchers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9390,7 +9390,7 @@ pub mod network_watchers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9466,7 +9466,7 @@ pub mod network_watchers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkWatcher), @@ -9541,7 +9541,7 @@ pub mod network_watchers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9602,7 +9602,7 @@ pub mod network_watchers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9670,7 +9670,7 @@ pub mod network_watchers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9734,7 +9734,7 @@ pub mod network_watchers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9804,7 +9804,7 @@ pub mod network_watchers { } } pub mod get_topology { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9880,7 +9880,7 @@ pub mod network_watchers { } } pub mod verify_ip_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VerificationIpFlowResult), @@ -9961,7 +9961,7 @@ pub mod network_watchers { } } pub mod get_next_hop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NextHopResult), @@ -10044,7 +10044,7 @@ pub mod network_watchers { } } pub mod get_vm_security_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityGroupViewResult), @@ -10125,7 +10125,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -10208,7 +10208,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -10291,7 +10291,7 @@ pub mod network_watchers { } } pub mod set_flow_log_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -10372,7 +10372,7 @@ pub mod network_watchers { } } pub mod get_flow_log_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -10453,7 +10453,7 @@ pub mod network_watchers { } } pub mod check_connectivity { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectivityInformation), @@ -10536,7 +10536,7 @@ pub mod network_watchers { } } pub mod get_azure_reachability_report { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AzureReachabilityReport), @@ -10619,7 +10619,7 @@ pub mod network_watchers { } } pub mod list_available_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AvailableProvidersList), @@ -10645,7 +10645,7 @@ pub mod network_watchers { } } pub mod packet_captures { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10694,7 +10694,7 @@ pub mod packet_captures { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10763,7 +10763,7 @@ pub mod packet_captures { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10826,7 +10826,7 @@ pub mod packet_captures { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -10895,7 +10895,7 @@ pub mod packet_captures { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10977,7 +10977,7 @@ pub mod packet_captures { } } pub mod get_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PacketCaptureQueryStatusResult), @@ -11047,7 +11047,7 @@ pub mod packet_captures { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11068,7 +11068,7 @@ pub mod packet_captures { } } pub mod connection_monitors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11117,7 +11117,7 @@ pub mod connection_monitors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11195,7 +11195,7 @@ pub mod connection_monitors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorResult), @@ -11263,7 +11263,7 @@ pub mod connection_monitors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -11332,7 +11332,7 @@ pub mod connection_monitors { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11401,7 +11401,7 @@ pub mod connection_monitors { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11480,7 +11480,7 @@ pub mod connection_monitors { } } pub mod query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorQueryResult), @@ -11550,7 +11550,7 @@ pub mod connection_monitors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11571,7 +11571,7 @@ pub mod connection_monitors { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Network/operations", operation_config.base_path(),); @@ -11607,7 +11607,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11628,7 +11628,7 @@ pub mod operations { } } pub mod bgp_service_communities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11671,7 +11671,7 @@ pub mod bgp_service_communities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11692,7 +11692,7 @@ pub mod bgp_service_communities { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -11737,7 +11737,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11758,7 +11758,7 @@ pub mod usages { } } pub mod virtual_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11805,7 +11805,7 @@ pub mod virtual_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11881,7 +11881,7 @@ pub mod virtual_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGateway), @@ -11956,7 +11956,7 @@ pub mod virtual_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12018,7 +12018,7 @@ pub mod virtual_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -12087,7 +12087,7 @@ pub mod virtual_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12155,7 +12155,7 @@ pub mod virtual_network_gateways { } } pub mod list_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12226,7 +12226,7 @@ pub mod virtual_network_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -12304,7 +12304,7 @@ pub mod virtual_network_gateways { } } pub mod generatevpnclientpackage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -12380,7 +12380,7 @@ pub mod virtual_network_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -12457,7 +12457,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpn_profile_package_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -12536,7 +12536,7 @@ pub mod virtual_network_gateways { } } pub mod get_bgp_peer_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BgpPeerStatusListResult), @@ -12612,7 +12612,7 @@ pub mod virtual_network_gateways { } } pub mod supported_vpn_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12682,7 +12682,7 @@ pub mod virtual_network_gateways { } } pub mod get_learned_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -12761,7 +12761,7 @@ pub mod virtual_network_gateways { } } pub mod get_advertised_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -12838,7 +12838,7 @@ pub mod virtual_network_gateways { } } pub mod vpn_device_configuration_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12859,7 +12859,7 @@ pub mod virtual_network_gateways { } } pub mod virtual_network_gateway_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12906,7 +12906,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12982,7 +12982,7 @@ pub mod virtual_network_gateway_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGatewayConnection), @@ -13057,7 +13057,7 @@ pub mod virtual_network_gateway_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13119,7 +13119,7 @@ pub mod virtual_network_gateway_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13193,7 +13193,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13269,7 +13269,7 @@ pub mod virtual_network_gateway_connections { } } pub mod set_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ConnectionSharedKey), @@ -13337,7 +13337,7 @@ pub mod virtual_network_gateway_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13408,7 +13408,7 @@ pub mod virtual_network_gateway_connections { } } pub mod reset_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionResetSharedKey), @@ -13434,7 +13434,7 @@ pub mod virtual_network_gateway_connections { } } pub mod local_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13481,7 +13481,7 @@ pub mod local_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13557,7 +13557,7 @@ pub mod local_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LocalNetworkGateway), @@ -13632,7 +13632,7 @@ pub mod local_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13694,7 +13694,7 @@ pub mod local_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -13763,7 +13763,7 @@ pub mod local_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/network/src/package_2017_10_only/operations.rs b/services/mgmt/network/src/package_2017_10_only/operations.rs index 5fca66c743..ec6ecae9b7 100644 --- a/services/mgmt/network/src/package_2017_10_only/operations.rs +++ b/services/mgmt/network/src/package_2017_10_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod application_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod application_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod application_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationGateway), @@ -202,7 +202,7 @@ pub mod application_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -264,7 +264,7 @@ pub mod application_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -333,7 +333,7 @@ pub mod application_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -397,7 +397,7 @@ pub mod application_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -459,7 +459,7 @@ pub mod application_gateways { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -526,7 +526,7 @@ pub mod application_gateways { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -605,7 +605,7 @@ pub mod application_gateways { } } pub mod backend_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealth), @@ -676,7 +676,7 @@ pub mod application_gateways { } } pub mod list_available_waf_rule_sets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -742,7 +742,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_options { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -808,7 +808,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_predefined_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -876,7 +876,7 @@ pub mod application_gateways { } } pub mod get_ssl_predefined_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -897,7 +897,7 @@ pub mod application_gateways { } } pub mod network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -948,7 +948,7 @@ pub mod network_interfaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1024,7 +1024,7 @@ pub mod network_interfaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkInterface), @@ -1099,7 +1099,7 @@ pub mod network_interfaces { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1161,7 +1161,7 @@ pub mod network_interfaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1231,7 +1231,7 @@ pub mod network_interfaces { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1294,7 +1294,7 @@ pub mod network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1366,7 +1366,7 @@ pub mod network_interfaces { } } pub mod get_effective_route_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveRouteListResult), @@ -1443,7 +1443,7 @@ pub mod network_interfaces { } } pub mod list_effective_network_security_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveNetworkSecurityGroupListResult), @@ -1469,7 +1469,7 @@ pub mod network_interfaces { } } pub mod network_interface_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1516,7 +1516,7 @@ pub mod network_interface_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1583,7 +1583,7 @@ pub mod network_interface_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1604,7 +1604,7 @@ pub mod network_interface_ip_configurations { } } pub mod network_interface_load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1651,7 +1651,7 @@ pub mod network_interface_load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1672,7 +1672,7 @@ pub mod network_interface_load_balancers { } } pub mod load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1723,7 +1723,7 @@ pub mod load_balancers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1799,7 +1799,7 @@ pub mod load_balancers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoadBalancer), @@ -1874,7 +1874,7 @@ pub mod load_balancers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1936,7 +1936,7 @@ pub mod load_balancers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2006,7 +2006,7 @@ pub mod load_balancers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2069,7 +2069,7 @@ pub mod load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2090,7 +2090,7 @@ pub mod load_balancers { } } pub mod load_balancer_backend_address_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2137,7 +2137,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2204,7 +2204,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2225,7 +2225,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod load_balancer_frontend_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2272,7 +2272,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2339,7 +2339,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2360,7 +2360,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod inbound_nat_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2407,7 +2407,7 @@ pub mod inbound_nat_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2478,7 +2478,7 @@ pub mod inbound_nat_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2556,7 +2556,7 @@ pub mod inbound_nat_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(InboundNatRule), @@ -2625,7 +2625,7 @@ pub mod inbound_nat_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2652,7 +2652,7 @@ pub mod inbound_nat_rules { } } pub mod load_balancer_load_balancing_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2699,7 +2699,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2766,7 +2766,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2787,7 +2787,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod load_balancer_network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2834,7 +2834,7 @@ pub mod load_balancer_network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2855,7 +2855,7 @@ pub mod load_balancer_network_interfaces { } } pub mod load_balancer_probes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2902,7 +2902,7 @@ pub mod load_balancer_probes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2969,7 +2969,7 @@ pub mod load_balancer_probes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2990,7 +2990,7 @@ pub mod load_balancer_probes { } } pub mod virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3041,7 +3041,7 @@ pub mod virtual_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3117,7 +3117,7 @@ pub mod virtual_networks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetwork), @@ -3192,7 +3192,7 @@ pub mod virtual_networks { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3254,7 +3254,7 @@ pub mod virtual_networks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3324,7 +3324,7 @@ pub mod virtual_networks { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3387,7 +3387,7 @@ pub mod virtual_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3461,7 +3461,7 @@ pub mod virtual_networks { } } pub mod check_ip_address_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3529,7 +3529,7 @@ pub mod virtual_networks { } } pub mod list_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3550,7 +3550,7 @@ pub mod virtual_networks { } } pub mod subnets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3603,7 +3603,7 @@ pub mod subnets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3681,7 +3681,7 @@ pub mod subnets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Subnet), @@ -3750,7 +3750,7 @@ pub mod subnets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3821,7 +3821,7 @@ pub mod subnets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3842,7 +3842,7 @@ pub mod subnets { } } pub mod virtual_network_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3891,7 +3891,7 @@ pub mod virtual_network_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3969,7 +3969,7 @@ pub mod virtual_network_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkPeering), @@ -4038,7 +4038,7 @@ pub mod virtual_network_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4109,7 +4109,7 @@ pub mod virtual_network_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4130,7 +4130,7 @@ pub mod virtual_network_peerings { } } pub mod network_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4181,7 +4181,7 @@ pub mod network_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4257,7 +4257,7 @@ pub mod network_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkSecurityGroup), @@ -4332,7 +4332,7 @@ pub mod network_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4394,7 +4394,7 @@ pub mod network_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4464,7 +4464,7 @@ pub mod network_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4527,7 +4527,7 @@ pub mod network_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4548,7 +4548,7 @@ pub mod network_security_groups { } } pub mod security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4597,7 +4597,7 @@ pub mod security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4675,7 +4675,7 @@ pub mod security_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityRule), @@ -4744,7 +4744,7 @@ pub mod security_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4815,7 +4815,7 @@ pub mod security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4836,7 +4836,7 @@ pub mod security_rules { } } pub mod default_security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4883,7 +4883,7 @@ pub mod default_security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4950,7 +4950,7 @@ pub mod default_security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4971,7 +4971,7 @@ pub mod default_security_rules { } } pub mod application_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5018,7 +5018,7 @@ pub mod application_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5094,7 +5094,7 @@ pub mod application_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationSecurityGroup), @@ -5161,7 +5161,7 @@ pub mod application_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -5231,7 +5231,7 @@ pub mod application_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5294,7 +5294,7 @@ pub mod application_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5315,7 +5315,7 @@ pub mod application_security_groups { } } pub mod route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5366,7 +5366,7 @@ pub mod route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5442,7 +5442,7 @@ pub mod route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteTable), @@ -5517,7 +5517,7 @@ pub mod route_tables { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5579,7 +5579,7 @@ pub mod route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -5648,7 +5648,7 @@ pub mod route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5712,7 +5712,7 @@ pub mod route_tables { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5733,7 +5733,7 @@ pub mod route_tables { } } pub mod routes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5782,7 +5782,7 @@ pub mod routes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5860,7 +5860,7 @@ pub mod routes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Route), @@ -5929,7 +5929,7 @@ pub mod routes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6000,7 +6000,7 @@ pub mod routes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6021,7 +6021,7 @@ pub mod routes { } } pub mod public_ip_addresses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6072,7 +6072,7 @@ pub mod public_ip_addresses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6148,7 +6148,7 @@ pub mod public_ip_addresses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpAddress), @@ -6223,7 +6223,7 @@ pub mod public_ip_addresses { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6285,7 +6285,7 @@ pub mod public_ip_addresses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -6355,7 +6355,7 @@ pub mod public_ip_addresses { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6418,7 +6418,7 @@ pub mod public_ip_addresses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6489,7 +6489,7 @@ pub async fn check_dns_name_availability( } } pub mod check_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6509,7 +6509,7 @@ pub mod check_dns_name_availability { } } pub mod available_endpoint_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -6554,7 +6554,7 @@ pub mod available_endpoint_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6575,7 +6575,7 @@ pub mod available_endpoint_services { } } pub mod express_route_circuit_authorizations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6624,7 +6624,7 @@ pub mod express_route_circuit_authorizations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6702,7 +6702,7 @@ pub mod express_route_circuit_authorizations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuitAuthorization), @@ -6771,7 +6771,7 @@ pub mod express_route_circuit_authorizations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6842,7 +6842,7 @@ pub mod express_route_circuit_authorizations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6863,7 +6863,7 @@ pub mod express_route_circuit_authorizations { } } pub mod express_route_circuit_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6912,7 +6912,7 @@ pub mod express_route_circuit_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6990,7 +6990,7 @@ pub mod express_route_circuit_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitPeering), @@ -7059,7 +7059,7 @@ pub mod express_route_circuit_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7130,7 +7130,7 @@ pub mod express_route_circuit_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7151,7 +7151,7 @@ pub mod express_route_circuit_peerings { } } pub mod express_route_circuits { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7198,7 +7198,7 @@ pub mod express_route_circuits { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7274,7 +7274,7 @@ pub mod express_route_circuits { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuit), @@ -7349,7 +7349,7 @@ pub mod express_route_circuits { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7411,7 +7411,7 @@ pub mod express_route_circuits { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -7491,7 +7491,7 @@ pub mod express_route_circuits { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -7570,7 +7570,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -7651,7 +7651,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableSummaryListResult), @@ -7724,7 +7724,7 @@ pub mod express_route_circuits { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7794,7 +7794,7 @@ pub mod express_route_circuits { } } pub mod get_peering_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7857,7 +7857,7 @@ pub mod express_route_circuits { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7921,7 +7921,7 @@ pub mod express_route_circuits { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7942,7 +7942,7 @@ pub mod express_route_circuits { } } pub mod express_route_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7985,7 +7985,7 @@ pub mod express_route_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8006,7 +8006,7 @@ pub mod express_route_service_providers { } } pub mod route_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8057,7 +8057,7 @@ pub mod route_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8133,7 +8133,7 @@ pub mod route_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilter), @@ -8205,7 +8205,7 @@ pub mod route_filters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8267,7 +8267,7 @@ pub mod route_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8341,7 +8341,7 @@ pub mod route_filters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8402,7 +8402,7 @@ pub mod route_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8423,7 +8423,7 @@ pub mod route_filters { } } pub mod route_filter_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8472,7 +8472,7 @@ pub mod route_filter_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8550,7 +8550,7 @@ pub mod route_filter_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilterRule), @@ -8624,7 +8624,7 @@ pub mod route_filter_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8688,7 +8688,7 @@ pub mod route_filter_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8762,7 +8762,7 @@ pub mod route_filter_rules { } } pub mod list_by_route_filter { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8783,7 +8783,7 @@ pub mod route_filter_rules { } } pub mod network_watchers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8830,7 +8830,7 @@ pub mod network_watchers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8906,7 +8906,7 @@ pub mod network_watchers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkWatcher), @@ -8981,7 +8981,7 @@ pub mod network_watchers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9042,7 +9042,7 @@ pub mod network_watchers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9110,7 +9110,7 @@ pub mod network_watchers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9174,7 +9174,7 @@ pub mod network_watchers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9244,7 +9244,7 @@ pub mod network_watchers { } } pub mod get_topology { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9320,7 +9320,7 @@ pub mod network_watchers { } } pub mod verify_ip_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VerificationIpFlowResult), @@ -9401,7 +9401,7 @@ pub mod network_watchers { } } pub mod get_next_hop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NextHopResult), @@ -9484,7 +9484,7 @@ pub mod network_watchers { } } pub mod get_vm_security_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityGroupViewResult), @@ -9565,7 +9565,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -9648,7 +9648,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -9731,7 +9731,7 @@ pub mod network_watchers { } } pub mod set_flow_log_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -9812,7 +9812,7 @@ pub mod network_watchers { } } pub mod get_flow_log_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -9893,7 +9893,7 @@ pub mod network_watchers { } } pub mod check_connectivity { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectivityInformation), @@ -9976,7 +9976,7 @@ pub mod network_watchers { } } pub mod get_azure_reachability_report { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AzureReachabilityReport), @@ -10059,7 +10059,7 @@ pub mod network_watchers { } } pub mod list_available_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AvailableProvidersList), @@ -10085,7 +10085,7 @@ pub mod network_watchers { } } pub mod packet_captures { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10134,7 +10134,7 @@ pub mod packet_captures { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10203,7 +10203,7 @@ pub mod packet_captures { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10266,7 +10266,7 @@ pub mod packet_captures { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -10335,7 +10335,7 @@ pub mod packet_captures { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10417,7 +10417,7 @@ pub mod packet_captures { } } pub mod get_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PacketCaptureQueryStatusResult), @@ -10487,7 +10487,7 @@ pub mod packet_captures { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10508,7 +10508,7 @@ pub mod packet_captures { } } pub mod connection_monitors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10557,7 +10557,7 @@ pub mod connection_monitors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10635,7 +10635,7 @@ pub mod connection_monitors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorResult), @@ -10703,7 +10703,7 @@ pub mod connection_monitors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -10772,7 +10772,7 @@ pub mod connection_monitors { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10841,7 +10841,7 @@ pub mod connection_monitors { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10920,7 +10920,7 @@ pub mod connection_monitors { } } pub mod query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorQueryResult), @@ -10990,7 +10990,7 @@ pub mod connection_monitors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11011,7 +11011,7 @@ pub mod connection_monitors { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Network/operations", operation_config.base_path(),); @@ -11047,7 +11047,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11068,7 +11068,7 @@ pub mod operations { } } pub mod bgp_service_communities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11111,7 +11111,7 @@ pub mod bgp_service_communities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11132,7 +11132,7 @@ pub mod bgp_service_communities { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -11177,7 +11177,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11198,7 +11198,7 @@ pub mod usages { } } pub mod virtual_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11245,7 +11245,7 @@ pub mod virtual_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11321,7 +11321,7 @@ pub mod virtual_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGateway), @@ -11396,7 +11396,7 @@ pub mod virtual_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11458,7 +11458,7 @@ pub mod virtual_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -11527,7 +11527,7 @@ pub mod virtual_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11595,7 +11595,7 @@ pub mod virtual_network_gateways { } } pub mod list_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11666,7 +11666,7 @@ pub mod virtual_network_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -11744,7 +11744,7 @@ pub mod virtual_network_gateways { } } pub mod generatevpnclientpackage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -11820,7 +11820,7 @@ pub mod virtual_network_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -11897,7 +11897,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpn_profile_package_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -11976,7 +11976,7 @@ pub mod virtual_network_gateways { } } pub mod get_bgp_peer_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BgpPeerStatusListResult), @@ -12052,7 +12052,7 @@ pub mod virtual_network_gateways { } } pub mod supported_vpn_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12122,7 +12122,7 @@ pub mod virtual_network_gateways { } } pub mod get_learned_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -12201,7 +12201,7 @@ pub mod virtual_network_gateways { } } pub mod get_advertised_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -12278,7 +12278,7 @@ pub mod virtual_network_gateways { } } pub mod vpn_device_configuration_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12299,7 +12299,7 @@ pub mod virtual_network_gateways { } } pub mod virtual_network_gateway_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12346,7 +12346,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12422,7 +12422,7 @@ pub mod virtual_network_gateway_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGatewayConnection), @@ -12497,7 +12497,7 @@ pub mod virtual_network_gateway_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12559,7 +12559,7 @@ pub mod virtual_network_gateway_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12633,7 +12633,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12709,7 +12709,7 @@ pub mod virtual_network_gateway_connections { } } pub mod set_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ConnectionSharedKey), @@ -12777,7 +12777,7 @@ pub mod virtual_network_gateway_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12848,7 +12848,7 @@ pub mod virtual_network_gateway_connections { } } pub mod reset_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionResetSharedKey), @@ -12874,7 +12874,7 @@ pub mod virtual_network_gateway_connections { } } pub mod local_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12921,7 +12921,7 @@ pub mod local_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12997,7 +12997,7 @@ pub mod local_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LocalNetworkGateway), @@ -13072,7 +13072,7 @@ pub mod local_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13134,7 +13134,7 @@ pub mod local_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -13203,7 +13203,7 @@ pub mod local_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/network/src/package_2017_11/operations.rs b/services/mgmt/network/src/package_2017_11/operations.rs index a4e7446a2b..d224a314a0 100644 --- a/services/mgmt/network/src/package_2017_11/operations.rs +++ b/services/mgmt/network/src/package_2017_11/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod application_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod application_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod application_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationGateway), @@ -202,7 +202,7 @@ pub mod application_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -264,7 +264,7 @@ pub mod application_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -333,7 +333,7 @@ pub mod application_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -397,7 +397,7 @@ pub mod application_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -459,7 +459,7 @@ pub mod application_gateways { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -526,7 +526,7 @@ pub mod application_gateways { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -605,7 +605,7 @@ pub mod application_gateways { } } pub mod backend_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealth), @@ -676,7 +676,7 @@ pub mod application_gateways { } } pub mod list_available_waf_rule_sets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -742,7 +742,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_options { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -808,7 +808,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_predefined_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -876,7 +876,7 @@ pub mod application_gateways { } } pub mod get_ssl_predefined_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -897,7 +897,7 @@ pub mod application_gateways { } } pub mod network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -948,7 +948,7 @@ pub mod network_interfaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1024,7 +1024,7 @@ pub mod network_interfaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkInterface), @@ -1099,7 +1099,7 @@ pub mod network_interfaces { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1161,7 +1161,7 @@ pub mod network_interfaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1231,7 +1231,7 @@ pub mod network_interfaces { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1294,7 +1294,7 @@ pub mod network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1366,7 +1366,7 @@ pub mod network_interfaces { } } pub mod get_effective_route_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveRouteListResult), @@ -1443,7 +1443,7 @@ pub mod network_interfaces { } } pub mod list_effective_network_security_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveNetworkSecurityGroupListResult), @@ -1514,7 +1514,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_vm_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1585,7 +1585,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1655,7 +1655,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_network_interface { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1726,7 +1726,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_ip_configurations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1797,7 +1797,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_ip_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1818,7 +1818,7 @@ pub mod network_interfaces { } } pub mod network_interface_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1865,7 +1865,7 @@ pub mod network_interface_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1932,7 +1932,7 @@ pub mod network_interface_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1953,7 +1953,7 @@ pub mod network_interface_ip_configurations { } } pub mod network_interface_load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2000,7 +2000,7 @@ pub mod network_interface_load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2021,7 +2021,7 @@ pub mod network_interface_load_balancers { } } pub mod load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2072,7 +2072,7 @@ pub mod load_balancers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2148,7 +2148,7 @@ pub mod load_balancers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoadBalancer), @@ -2223,7 +2223,7 @@ pub mod load_balancers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2285,7 +2285,7 @@ pub mod load_balancers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2355,7 +2355,7 @@ pub mod load_balancers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2418,7 +2418,7 @@ pub mod load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2439,7 +2439,7 @@ pub mod load_balancers { } } pub mod load_balancer_backend_address_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2486,7 +2486,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2553,7 +2553,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2574,7 +2574,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod load_balancer_frontend_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2621,7 +2621,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2688,7 +2688,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2709,7 +2709,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod inbound_nat_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2756,7 +2756,7 @@ pub mod inbound_nat_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2827,7 +2827,7 @@ pub mod inbound_nat_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2905,7 +2905,7 @@ pub mod inbound_nat_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(InboundNatRule), @@ -2974,7 +2974,7 @@ pub mod inbound_nat_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -3001,7 +3001,7 @@ pub mod inbound_nat_rules { } } pub mod load_balancer_load_balancing_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3048,7 +3048,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3115,7 +3115,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3136,7 +3136,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod load_balancer_network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3183,7 +3183,7 @@ pub mod load_balancer_network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3204,7 +3204,7 @@ pub mod load_balancer_network_interfaces { } } pub mod load_balancer_probes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3251,7 +3251,7 @@ pub mod load_balancer_probes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3318,7 +3318,7 @@ pub mod load_balancer_probes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3339,7 +3339,7 @@ pub mod load_balancer_probes { } } pub mod virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3390,7 +3390,7 @@ pub mod virtual_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3466,7 +3466,7 @@ pub mod virtual_networks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetwork), @@ -3541,7 +3541,7 @@ pub mod virtual_networks { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3603,7 +3603,7 @@ pub mod virtual_networks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3673,7 +3673,7 @@ pub mod virtual_networks { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3736,7 +3736,7 @@ pub mod virtual_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3810,7 +3810,7 @@ pub mod virtual_networks { } } pub mod check_ip_address_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3878,7 +3878,7 @@ pub mod virtual_networks { } } pub mod list_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3899,7 +3899,7 @@ pub mod virtual_networks { } } pub mod subnets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3952,7 +3952,7 @@ pub mod subnets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4030,7 +4030,7 @@ pub mod subnets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Subnet), @@ -4099,7 +4099,7 @@ pub mod subnets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4170,7 +4170,7 @@ pub mod subnets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4191,7 +4191,7 @@ pub mod subnets { } } pub mod virtual_network_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4240,7 +4240,7 @@ pub mod virtual_network_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4318,7 +4318,7 @@ pub mod virtual_network_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkPeering), @@ -4387,7 +4387,7 @@ pub mod virtual_network_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4458,7 +4458,7 @@ pub mod virtual_network_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4479,7 +4479,7 @@ pub mod virtual_network_peerings { } } pub mod network_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4530,7 +4530,7 @@ pub mod network_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4606,7 +4606,7 @@ pub mod network_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkSecurityGroup), @@ -4681,7 +4681,7 @@ pub mod network_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4743,7 +4743,7 @@ pub mod network_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4813,7 +4813,7 @@ pub mod network_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4876,7 +4876,7 @@ pub mod network_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4897,7 +4897,7 @@ pub mod network_security_groups { } } pub mod security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4946,7 +4946,7 @@ pub mod security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5024,7 +5024,7 @@ pub mod security_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityRule), @@ -5093,7 +5093,7 @@ pub mod security_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -5164,7 +5164,7 @@ pub mod security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5185,7 +5185,7 @@ pub mod security_rules { } } pub mod default_security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5232,7 +5232,7 @@ pub mod default_security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5299,7 +5299,7 @@ pub mod default_security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5320,7 +5320,7 @@ pub mod default_security_rules { } } pub mod application_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5367,7 +5367,7 @@ pub mod application_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5443,7 +5443,7 @@ pub mod application_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationSecurityGroup), @@ -5510,7 +5510,7 @@ pub mod application_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -5580,7 +5580,7 @@ pub mod application_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5643,7 +5643,7 @@ pub mod application_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5664,7 +5664,7 @@ pub mod application_security_groups { } } pub mod route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5715,7 +5715,7 @@ pub mod route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5791,7 +5791,7 @@ pub mod route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteTable), @@ -5866,7 +5866,7 @@ pub mod route_tables { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5928,7 +5928,7 @@ pub mod route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -5997,7 +5997,7 @@ pub mod route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6061,7 +6061,7 @@ pub mod route_tables { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6082,7 +6082,7 @@ pub mod route_tables { } } pub mod routes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6131,7 +6131,7 @@ pub mod routes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6209,7 +6209,7 @@ pub mod routes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Route), @@ -6278,7 +6278,7 @@ pub mod routes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6349,7 +6349,7 @@ pub mod routes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6370,7 +6370,7 @@ pub mod routes { } } pub mod public_ip_addresses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6421,7 +6421,7 @@ pub mod public_ip_addresses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6497,7 +6497,7 @@ pub mod public_ip_addresses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpAddress), @@ -6572,7 +6572,7 @@ pub mod public_ip_addresses { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6634,7 +6634,7 @@ pub mod public_ip_addresses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -6704,7 +6704,7 @@ pub mod public_ip_addresses { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6767,7 +6767,7 @@ pub mod public_ip_addresses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6838,7 +6838,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6906,7 +6906,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_vm_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6978,7 +6978,7 @@ pub mod public_ip_addresses { } } pub mod get_virtual_machine_scale_set_public_ip_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7049,7 +7049,7 @@ pub async fn check_dns_name_availability( } } pub mod check_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7069,7 +7069,7 @@ pub mod check_dns_name_availability { } } pub mod available_endpoint_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -7114,7 +7114,7 @@ pub mod available_endpoint_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7135,7 +7135,7 @@ pub mod available_endpoint_services { } } pub mod express_route_circuit_authorizations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7184,7 +7184,7 @@ pub mod express_route_circuit_authorizations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7262,7 +7262,7 @@ pub mod express_route_circuit_authorizations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuitAuthorization), @@ -7331,7 +7331,7 @@ pub mod express_route_circuit_authorizations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7402,7 +7402,7 @@ pub mod express_route_circuit_authorizations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7423,7 +7423,7 @@ pub mod express_route_circuit_authorizations { } } pub mod express_route_circuit_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7472,7 +7472,7 @@ pub mod express_route_circuit_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7550,7 +7550,7 @@ pub mod express_route_circuit_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitPeering), @@ -7619,7 +7619,7 @@ pub mod express_route_circuit_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7690,7 +7690,7 @@ pub mod express_route_circuit_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7711,7 +7711,7 @@ pub mod express_route_circuit_peerings { } } pub mod express_route_circuits { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7758,7 +7758,7 @@ pub mod express_route_circuits { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7834,7 +7834,7 @@ pub mod express_route_circuits { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuit), @@ -7909,7 +7909,7 @@ pub mod express_route_circuits { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7971,7 +7971,7 @@ pub mod express_route_circuits { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -8051,7 +8051,7 @@ pub mod express_route_circuits { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -8130,7 +8130,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -8211,7 +8211,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableSummaryListResult), @@ -8284,7 +8284,7 @@ pub mod express_route_circuits { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8354,7 +8354,7 @@ pub mod express_route_circuits { } } pub mod get_peering_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8417,7 +8417,7 @@ pub mod express_route_circuits { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8481,7 +8481,7 @@ pub mod express_route_circuits { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8502,7 +8502,7 @@ pub mod express_route_circuits { } } pub mod express_route_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8545,7 +8545,7 @@ pub mod express_route_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8566,7 +8566,7 @@ pub mod express_route_service_providers { } } pub mod route_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8617,7 +8617,7 @@ pub mod route_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8693,7 +8693,7 @@ pub mod route_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilter), @@ -8765,7 +8765,7 @@ pub mod route_filters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8827,7 +8827,7 @@ pub mod route_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8901,7 +8901,7 @@ pub mod route_filters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8962,7 +8962,7 @@ pub mod route_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8983,7 +8983,7 @@ pub mod route_filters { } } pub mod route_filter_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9032,7 +9032,7 @@ pub mod route_filter_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9110,7 +9110,7 @@ pub mod route_filter_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilterRule), @@ -9184,7 +9184,7 @@ pub mod route_filter_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9248,7 +9248,7 @@ pub mod route_filter_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9322,7 +9322,7 @@ pub mod route_filter_rules { } } pub mod list_by_route_filter { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9343,7 +9343,7 @@ pub mod route_filter_rules { } } pub mod network_watchers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9390,7 +9390,7 @@ pub mod network_watchers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9466,7 +9466,7 @@ pub mod network_watchers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkWatcher), @@ -9541,7 +9541,7 @@ pub mod network_watchers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9602,7 +9602,7 @@ pub mod network_watchers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9670,7 +9670,7 @@ pub mod network_watchers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9734,7 +9734,7 @@ pub mod network_watchers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9804,7 +9804,7 @@ pub mod network_watchers { } } pub mod get_topology { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9880,7 +9880,7 @@ pub mod network_watchers { } } pub mod verify_ip_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VerificationIpFlowResult), @@ -9961,7 +9961,7 @@ pub mod network_watchers { } } pub mod get_next_hop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NextHopResult), @@ -10044,7 +10044,7 @@ pub mod network_watchers { } } pub mod get_vm_security_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityGroupViewResult), @@ -10125,7 +10125,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -10208,7 +10208,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -10291,7 +10291,7 @@ pub mod network_watchers { } } pub mod set_flow_log_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -10372,7 +10372,7 @@ pub mod network_watchers { } } pub mod get_flow_log_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -10453,7 +10453,7 @@ pub mod network_watchers { } } pub mod check_connectivity { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectivityInformation), @@ -10536,7 +10536,7 @@ pub mod network_watchers { } } pub mod get_azure_reachability_report { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AzureReachabilityReport), @@ -10619,7 +10619,7 @@ pub mod network_watchers { } } pub mod list_available_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AvailableProvidersList), @@ -10645,7 +10645,7 @@ pub mod network_watchers { } } pub mod packet_captures { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10694,7 +10694,7 @@ pub mod packet_captures { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10763,7 +10763,7 @@ pub mod packet_captures { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10826,7 +10826,7 @@ pub mod packet_captures { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -10895,7 +10895,7 @@ pub mod packet_captures { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10977,7 +10977,7 @@ pub mod packet_captures { } } pub mod get_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PacketCaptureQueryStatusResult), @@ -11047,7 +11047,7 @@ pub mod packet_captures { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11068,7 +11068,7 @@ pub mod packet_captures { } } pub mod connection_monitors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11117,7 +11117,7 @@ pub mod connection_monitors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11195,7 +11195,7 @@ pub mod connection_monitors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorResult), @@ -11263,7 +11263,7 @@ pub mod connection_monitors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -11332,7 +11332,7 @@ pub mod connection_monitors { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11401,7 +11401,7 @@ pub mod connection_monitors { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11480,7 +11480,7 @@ pub mod connection_monitors { } } pub mod query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorQueryResult), @@ -11550,7 +11550,7 @@ pub mod connection_monitors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11571,7 +11571,7 @@ pub mod connection_monitors { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Network/operations", operation_config.base_path(),); @@ -11607,7 +11607,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11628,7 +11628,7 @@ pub mod operations { } } pub mod bgp_service_communities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11671,7 +11671,7 @@ pub mod bgp_service_communities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11692,7 +11692,7 @@ pub mod bgp_service_communities { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -11737,7 +11737,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11758,7 +11758,7 @@ pub mod usages { } } pub mod virtual_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11805,7 +11805,7 @@ pub mod virtual_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11881,7 +11881,7 @@ pub mod virtual_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGateway), @@ -11956,7 +11956,7 @@ pub mod virtual_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12018,7 +12018,7 @@ pub mod virtual_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -12087,7 +12087,7 @@ pub mod virtual_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12155,7 +12155,7 @@ pub mod virtual_network_gateways { } } pub mod list_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12226,7 +12226,7 @@ pub mod virtual_network_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -12304,7 +12304,7 @@ pub mod virtual_network_gateways { } } pub mod generatevpnclientpackage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -12380,7 +12380,7 @@ pub mod virtual_network_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -12457,7 +12457,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpn_profile_package_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -12536,7 +12536,7 @@ pub mod virtual_network_gateways { } } pub mod get_bgp_peer_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BgpPeerStatusListResult), @@ -12612,7 +12612,7 @@ pub mod virtual_network_gateways { } } pub mod supported_vpn_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12682,7 +12682,7 @@ pub mod virtual_network_gateways { } } pub mod get_learned_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -12761,7 +12761,7 @@ pub mod virtual_network_gateways { } } pub mod get_advertised_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -12838,7 +12838,7 @@ pub mod virtual_network_gateways { } } pub mod vpn_device_configuration_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12859,7 +12859,7 @@ pub mod virtual_network_gateways { } } pub mod virtual_network_gateway_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12906,7 +12906,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12982,7 +12982,7 @@ pub mod virtual_network_gateway_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGatewayConnection), @@ -13057,7 +13057,7 @@ pub mod virtual_network_gateway_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13119,7 +13119,7 @@ pub mod virtual_network_gateway_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13193,7 +13193,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13269,7 +13269,7 @@ pub mod virtual_network_gateway_connections { } } pub mod set_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ConnectionSharedKey), @@ -13337,7 +13337,7 @@ pub mod virtual_network_gateway_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13408,7 +13408,7 @@ pub mod virtual_network_gateway_connections { } } pub mod reset_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionResetSharedKey), @@ -13434,7 +13434,7 @@ pub mod virtual_network_gateway_connections { } } pub mod local_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13481,7 +13481,7 @@ pub mod local_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13557,7 +13557,7 @@ pub mod local_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LocalNetworkGateway), @@ -13632,7 +13632,7 @@ pub mod local_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13694,7 +13694,7 @@ pub mod local_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -13763,7 +13763,7 @@ pub mod local_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/network/src/package_2017_11_only/operations.rs b/services/mgmt/network/src/package_2017_11_only/operations.rs index 5fca66c743..ec6ecae9b7 100644 --- a/services/mgmt/network/src/package_2017_11_only/operations.rs +++ b/services/mgmt/network/src/package_2017_11_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod application_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod application_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod application_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationGateway), @@ -202,7 +202,7 @@ pub mod application_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -264,7 +264,7 @@ pub mod application_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -333,7 +333,7 @@ pub mod application_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -397,7 +397,7 @@ pub mod application_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -459,7 +459,7 @@ pub mod application_gateways { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -526,7 +526,7 @@ pub mod application_gateways { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -605,7 +605,7 @@ pub mod application_gateways { } } pub mod backend_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealth), @@ -676,7 +676,7 @@ pub mod application_gateways { } } pub mod list_available_waf_rule_sets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -742,7 +742,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_options { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -808,7 +808,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_predefined_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -876,7 +876,7 @@ pub mod application_gateways { } } pub mod get_ssl_predefined_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -897,7 +897,7 @@ pub mod application_gateways { } } pub mod network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -948,7 +948,7 @@ pub mod network_interfaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1024,7 +1024,7 @@ pub mod network_interfaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkInterface), @@ -1099,7 +1099,7 @@ pub mod network_interfaces { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1161,7 +1161,7 @@ pub mod network_interfaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1231,7 +1231,7 @@ pub mod network_interfaces { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1294,7 +1294,7 @@ pub mod network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1366,7 +1366,7 @@ pub mod network_interfaces { } } pub mod get_effective_route_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveRouteListResult), @@ -1443,7 +1443,7 @@ pub mod network_interfaces { } } pub mod list_effective_network_security_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveNetworkSecurityGroupListResult), @@ -1469,7 +1469,7 @@ pub mod network_interfaces { } } pub mod network_interface_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1516,7 +1516,7 @@ pub mod network_interface_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1583,7 +1583,7 @@ pub mod network_interface_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1604,7 +1604,7 @@ pub mod network_interface_ip_configurations { } } pub mod network_interface_load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1651,7 +1651,7 @@ pub mod network_interface_load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1672,7 +1672,7 @@ pub mod network_interface_load_balancers { } } pub mod load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1723,7 +1723,7 @@ pub mod load_balancers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1799,7 +1799,7 @@ pub mod load_balancers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoadBalancer), @@ -1874,7 +1874,7 @@ pub mod load_balancers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1936,7 +1936,7 @@ pub mod load_balancers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2006,7 +2006,7 @@ pub mod load_balancers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2069,7 +2069,7 @@ pub mod load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2090,7 +2090,7 @@ pub mod load_balancers { } } pub mod load_balancer_backend_address_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2137,7 +2137,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2204,7 +2204,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2225,7 +2225,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod load_balancer_frontend_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2272,7 +2272,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2339,7 +2339,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2360,7 +2360,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod inbound_nat_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2407,7 +2407,7 @@ pub mod inbound_nat_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2478,7 +2478,7 @@ pub mod inbound_nat_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2556,7 +2556,7 @@ pub mod inbound_nat_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(InboundNatRule), @@ -2625,7 +2625,7 @@ pub mod inbound_nat_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2652,7 +2652,7 @@ pub mod inbound_nat_rules { } } pub mod load_balancer_load_balancing_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2699,7 +2699,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2766,7 +2766,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2787,7 +2787,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod load_balancer_network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2834,7 +2834,7 @@ pub mod load_balancer_network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2855,7 +2855,7 @@ pub mod load_balancer_network_interfaces { } } pub mod load_balancer_probes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2902,7 +2902,7 @@ pub mod load_balancer_probes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2969,7 +2969,7 @@ pub mod load_balancer_probes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2990,7 +2990,7 @@ pub mod load_balancer_probes { } } pub mod virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3041,7 +3041,7 @@ pub mod virtual_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3117,7 +3117,7 @@ pub mod virtual_networks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetwork), @@ -3192,7 +3192,7 @@ pub mod virtual_networks { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3254,7 +3254,7 @@ pub mod virtual_networks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3324,7 +3324,7 @@ pub mod virtual_networks { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3387,7 +3387,7 @@ pub mod virtual_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3461,7 +3461,7 @@ pub mod virtual_networks { } } pub mod check_ip_address_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3529,7 +3529,7 @@ pub mod virtual_networks { } } pub mod list_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3550,7 +3550,7 @@ pub mod virtual_networks { } } pub mod subnets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3603,7 +3603,7 @@ pub mod subnets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3681,7 +3681,7 @@ pub mod subnets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Subnet), @@ -3750,7 +3750,7 @@ pub mod subnets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3821,7 +3821,7 @@ pub mod subnets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3842,7 +3842,7 @@ pub mod subnets { } } pub mod virtual_network_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3891,7 +3891,7 @@ pub mod virtual_network_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3969,7 +3969,7 @@ pub mod virtual_network_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkPeering), @@ -4038,7 +4038,7 @@ pub mod virtual_network_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4109,7 +4109,7 @@ pub mod virtual_network_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4130,7 +4130,7 @@ pub mod virtual_network_peerings { } } pub mod network_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4181,7 +4181,7 @@ pub mod network_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4257,7 +4257,7 @@ pub mod network_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkSecurityGroup), @@ -4332,7 +4332,7 @@ pub mod network_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4394,7 +4394,7 @@ pub mod network_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4464,7 +4464,7 @@ pub mod network_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4527,7 +4527,7 @@ pub mod network_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4548,7 +4548,7 @@ pub mod network_security_groups { } } pub mod security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4597,7 +4597,7 @@ pub mod security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4675,7 +4675,7 @@ pub mod security_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityRule), @@ -4744,7 +4744,7 @@ pub mod security_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4815,7 +4815,7 @@ pub mod security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4836,7 +4836,7 @@ pub mod security_rules { } } pub mod default_security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4883,7 +4883,7 @@ pub mod default_security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4950,7 +4950,7 @@ pub mod default_security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4971,7 +4971,7 @@ pub mod default_security_rules { } } pub mod application_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5018,7 +5018,7 @@ pub mod application_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5094,7 +5094,7 @@ pub mod application_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationSecurityGroup), @@ -5161,7 +5161,7 @@ pub mod application_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -5231,7 +5231,7 @@ pub mod application_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5294,7 +5294,7 @@ pub mod application_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5315,7 +5315,7 @@ pub mod application_security_groups { } } pub mod route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5366,7 +5366,7 @@ pub mod route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5442,7 +5442,7 @@ pub mod route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteTable), @@ -5517,7 +5517,7 @@ pub mod route_tables { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5579,7 +5579,7 @@ pub mod route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -5648,7 +5648,7 @@ pub mod route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5712,7 +5712,7 @@ pub mod route_tables { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5733,7 +5733,7 @@ pub mod route_tables { } } pub mod routes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5782,7 +5782,7 @@ pub mod routes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5860,7 +5860,7 @@ pub mod routes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Route), @@ -5929,7 +5929,7 @@ pub mod routes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6000,7 +6000,7 @@ pub mod routes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6021,7 +6021,7 @@ pub mod routes { } } pub mod public_ip_addresses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6072,7 +6072,7 @@ pub mod public_ip_addresses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6148,7 +6148,7 @@ pub mod public_ip_addresses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpAddress), @@ -6223,7 +6223,7 @@ pub mod public_ip_addresses { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6285,7 +6285,7 @@ pub mod public_ip_addresses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -6355,7 +6355,7 @@ pub mod public_ip_addresses { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6418,7 +6418,7 @@ pub mod public_ip_addresses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6489,7 +6489,7 @@ pub async fn check_dns_name_availability( } } pub mod check_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6509,7 +6509,7 @@ pub mod check_dns_name_availability { } } pub mod available_endpoint_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -6554,7 +6554,7 @@ pub mod available_endpoint_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6575,7 +6575,7 @@ pub mod available_endpoint_services { } } pub mod express_route_circuit_authorizations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6624,7 +6624,7 @@ pub mod express_route_circuit_authorizations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6702,7 +6702,7 @@ pub mod express_route_circuit_authorizations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuitAuthorization), @@ -6771,7 +6771,7 @@ pub mod express_route_circuit_authorizations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6842,7 +6842,7 @@ pub mod express_route_circuit_authorizations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6863,7 +6863,7 @@ pub mod express_route_circuit_authorizations { } } pub mod express_route_circuit_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6912,7 +6912,7 @@ pub mod express_route_circuit_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6990,7 +6990,7 @@ pub mod express_route_circuit_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitPeering), @@ -7059,7 +7059,7 @@ pub mod express_route_circuit_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7130,7 +7130,7 @@ pub mod express_route_circuit_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7151,7 +7151,7 @@ pub mod express_route_circuit_peerings { } } pub mod express_route_circuits { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7198,7 +7198,7 @@ pub mod express_route_circuits { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7274,7 +7274,7 @@ pub mod express_route_circuits { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuit), @@ -7349,7 +7349,7 @@ pub mod express_route_circuits { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7411,7 +7411,7 @@ pub mod express_route_circuits { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -7491,7 +7491,7 @@ pub mod express_route_circuits { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -7570,7 +7570,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -7651,7 +7651,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableSummaryListResult), @@ -7724,7 +7724,7 @@ pub mod express_route_circuits { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7794,7 +7794,7 @@ pub mod express_route_circuits { } } pub mod get_peering_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7857,7 +7857,7 @@ pub mod express_route_circuits { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7921,7 +7921,7 @@ pub mod express_route_circuits { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7942,7 +7942,7 @@ pub mod express_route_circuits { } } pub mod express_route_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7985,7 +7985,7 @@ pub mod express_route_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8006,7 +8006,7 @@ pub mod express_route_service_providers { } } pub mod route_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8057,7 +8057,7 @@ pub mod route_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8133,7 +8133,7 @@ pub mod route_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilter), @@ -8205,7 +8205,7 @@ pub mod route_filters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8267,7 +8267,7 @@ pub mod route_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8341,7 +8341,7 @@ pub mod route_filters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8402,7 +8402,7 @@ pub mod route_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8423,7 +8423,7 @@ pub mod route_filters { } } pub mod route_filter_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8472,7 +8472,7 @@ pub mod route_filter_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8550,7 +8550,7 @@ pub mod route_filter_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilterRule), @@ -8624,7 +8624,7 @@ pub mod route_filter_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8688,7 +8688,7 @@ pub mod route_filter_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8762,7 +8762,7 @@ pub mod route_filter_rules { } } pub mod list_by_route_filter { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8783,7 +8783,7 @@ pub mod route_filter_rules { } } pub mod network_watchers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8830,7 +8830,7 @@ pub mod network_watchers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8906,7 +8906,7 @@ pub mod network_watchers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkWatcher), @@ -8981,7 +8981,7 @@ pub mod network_watchers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9042,7 +9042,7 @@ pub mod network_watchers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9110,7 +9110,7 @@ pub mod network_watchers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9174,7 +9174,7 @@ pub mod network_watchers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9244,7 +9244,7 @@ pub mod network_watchers { } } pub mod get_topology { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9320,7 +9320,7 @@ pub mod network_watchers { } } pub mod verify_ip_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VerificationIpFlowResult), @@ -9401,7 +9401,7 @@ pub mod network_watchers { } } pub mod get_next_hop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NextHopResult), @@ -9484,7 +9484,7 @@ pub mod network_watchers { } } pub mod get_vm_security_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityGroupViewResult), @@ -9565,7 +9565,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -9648,7 +9648,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -9731,7 +9731,7 @@ pub mod network_watchers { } } pub mod set_flow_log_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -9812,7 +9812,7 @@ pub mod network_watchers { } } pub mod get_flow_log_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -9893,7 +9893,7 @@ pub mod network_watchers { } } pub mod check_connectivity { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectivityInformation), @@ -9976,7 +9976,7 @@ pub mod network_watchers { } } pub mod get_azure_reachability_report { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AzureReachabilityReport), @@ -10059,7 +10059,7 @@ pub mod network_watchers { } } pub mod list_available_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AvailableProvidersList), @@ -10085,7 +10085,7 @@ pub mod network_watchers { } } pub mod packet_captures { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10134,7 +10134,7 @@ pub mod packet_captures { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10203,7 +10203,7 @@ pub mod packet_captures { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10266,7 +10266,7 @@ pub mod packet_captures { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -10335,7 +10335,7 @@ pub mod packet_captures { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10417,7 +10417,7 @@ pub mod packet_captures { } } pub mod get_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PacketCaptureQueryStatusResult), @@ -10487,7 +10487,7 @@ pub mod packet_captures { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10508,7 +10508,7 @@ pub mod packet_captures { } } pub mod connection_monitors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10557,7 +10557,7 @@ pub mod connection_monitors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10635,7 +10635,7 @@ pub mod connection_monitors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorResult), @@ -10703,7 +10703,7 @@ pub mod connection_monitors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -10772,7 +10772,7 @@ pub mod connection_monitors { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10841,7 +10841,7 @@ pub mod connection_monitors { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10920,7 +10920,7 @@ pub mod connection_monitors { } } pub mod query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorQueryResult), @@ -10990,7 +10990,7 @@ pub mod connection_monitors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11011,7 +11011,7 @@ pub mod connection_monitors { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Network/operations", operation_config.base_path(),); @@ -11047,7 +11047,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11068,7 +11068,7 @@ pub mod operations { } } pub mod bgp_service_communities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11111,7 +11111,7 @@ pub mod bgp_service_communities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11132,7 +11132,7 @@ pub mod bgp_service_communities { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -11177,7 +11177,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11198,7 +11198,7 @@ pub mod usages { } } pub mod virtual_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11245,7 +11245,7 @@ pub mod virtual_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11321,7 +11321,7 @@ pub mod virtual_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGateway), @@ -11396,7 +11396,7 @@ pub mod virtual_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11458,7 +11458,7 @@ pub mod virtual_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -11527,7 +11527,7 @@ pub mod virtual_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11595,7 +11595,7 @@ pub mod virtual_network_gateways { } } pub mod list_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11666,7 +11666,7 @@ pub mod virtual_network_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -11744,7 +11744,7 @@ pub mod virtual_network_gateways { } } pub mod generatevpnclientpackage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -11820,7 +11820,7 @@ pub mod virtual_network_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -11897,7 +11897,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpn_profile_package_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -11976,7 +11976,7 @@ pub mod virtual_network_gateways { } } pub mod get_bgp_peer_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BgpPeerStatusListResult), @@ -12052,7 +12052,7 @@ pub mod virtual_network_gateways { } } pub mod supported_vpn_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12122,7 +12122,7 @@ pub mod virtual_network_gateways { } } pub mod get_learned_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -12201,7 +12201,7 @@ pub mod virtual_network_gateways { } } pub mod get_advertised_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -12278,7 +12278,7 @@ pub mod virtual_network_gateways { } } pub mod vpn_device_configuration_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12299,7 +12299,7 @@ pub mod virtual_network_gateways { } } pub mod virtual_network_gateway_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12346,7 +12346,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12422,7 +12422,7 @@ pub mod virtual_network_gateway_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGatewayConnection), @@ -12497,7 +12497,7 @@ pub mod virtual_network_gateway_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12559,7 +12559,7 @@ pub mod virtual_network_gateway_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12633,7 +12633,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12709,7 +12709,7 @@ pub mod virtual_network_gateway_connections { } } pub mod set_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ConnectionSharedKey), @@ -12777,7 +12777,7 @@ pub mod virtual_network_gateway_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12848,7 +12848,7 @@ pub mod virtual_network_gateway_connections { } } pub mod reset_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionResetSharedKey), @@ -12874,7 +12874,7 @@ pub mod virtual_network_gateway_connections { } } pub mod local_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12921,7 +12921,7 @@ pub mod local_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12997,7 +12997,7 @@ pub mod local_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LocalNetworkGateway), @@ -13072,7 +13072,7 @@ pub mod local_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13134,7 +13134,7 @@ pub mod local_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -13203,7 +13203,7 @@ pub mod local_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/network/src/package_2018_01/operations.rs b/services/mgmt/network/src/package_2018_01/operations.rs index a4e7446a2b..d224a314a0 100644 --- a/services/mgmt/network/src/package_2018_01/operations.rs +++ b/services/mgmt/network/src/package_2018_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod application_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod application_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod application_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationGateway), @@ -202,7 +202,7 @@ pub mod application_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -264,7 +264,7 @@ pub mod application_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -333,7 +333,7 @@ pub mod application_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -397,7 +397,7 @@ pub mod application_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -459,7 +459,7 @@ pub mod application_gateways { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -526,7 +526,7 @@ pub mod application_gateways { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -605,7 +605,7 @@ pub mod application_gateways { } } pub mod backend_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealth), @@ -676,7 +676,7 @@ pub mod application_gateways { } } pub mod list_available_waf_rule_sets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -742,7 +742,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_options { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -808,7 +808,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_predefined_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -876,7 +876,7 @@ pub mod application_gateways { } } pub mod get_ssl_predefined_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -897,7 +897,7 @@ pub mod application_gateways { } } pub mod network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -948,7 +948,7 @@ pub mod network_interfaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1024,7 +1024,7 @@ pub mod network_interfaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkInterface), @@ -1099,7 +1099,7 @@ pub mod network_interfaces { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1161,7 +1161,7 @@ pub mod network_interfaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1231,7 +1231,7 @@ pub mod network_interfaces { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1294,7 +1294,7 @@ pub mod network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1366,7 +1366,7 @@ pub mod network_interfaces { } } pub mod get_effective_route_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveRouteListResult), @@ -1443,7 +1443,7 @@ pub mod network_interfaces { } } pub mod list_effective_network_security_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveNetworkSecurityGroupListResult), @@ -1514,7 +1514,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_vm_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1585,7 +1585,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1655,7 +1655,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_network_interface { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1726,7 +1726,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_ip_configurations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1797,7 +1797,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_ip_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1818,7 +1818,7 @@ pub mod network_interfaces { } } pub mod network_interface_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1865,7 +1865,7 @@ pub mod network_interface_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1932,7 +1932,7 @@ pub mod network_interface_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1953,7 +1953,7 @@ pub mod network_interface_ip_configurations { } } pub mod network_interface_load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2000,7 +2000,7 @@ pub mod network_interface_load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2021,7 +2021,7 @@ pub mod network_interface_load_balancers { } } pub mod load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2072,7 +2072,7 @@ pub mod load_balancers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2148,7 +2148,7 @@ pub mod load_balancers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoadBalancer), @@ -2223,7 +2223,7 @@ pub mod load_balancers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2285,7 +2285,7 @@ pub mod load_balancers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2355,7 +2355,7 @@ pub mod load_balancers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2418,7 +2418,7 @@ pub mod load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2439,7 +2439,7 @@ pub mod load_balancers { } } pub mod load_balancer_backend_address_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2486,7 +2486,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2553,7 +2553,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2574,7 +2574,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod load_balancer_frontend_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2621,7 +2621,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2688,7 +2688,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2709,7 +2709,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod inbound_nat_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2756,7 +2756,7 @@ pub mod inbound_nat_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2827,7 +2827,7 @@ pub mod inbound_nat_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2905,7 +2905,7 @@ pub mod inbound_nat_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(InboundNatRule), @@ -2974,7 +2974,7 @@ pub mod inbound_nat_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -3001,7 +3001,7 @@ pub mod inbound_nat_rules { } } pub mod load_balancer_load_balancing_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3048,7 +3048,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3115,7 +3115,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3136,7 +3136,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod load_balancer_network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3183,7 +3183,7 @@ pub mod load_balancer_network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3204,7 +3204,7 @@ pub mod load_balancer_network_interfaces { } } pub mod load_balancer_probes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3251,7 +3251,7 @@ pub mod load_balancer_probes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3318,7 +3318,7 @@ pub mod load_balancer_probes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3339,7 +3339,7 @@ pub mod load_balancer_probes { } } pub mod virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3390,7 +3390,7 @@ pub mod virtual_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3466,7 +3466,7 @@ pub mod virtual_networks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetwork), @@ -3541,7 +3541,7 @@ pub mod virtual_networks { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3603,7 +3603,7 @@ pub mod virtual_networks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3673,7 +3673,7 @@ pub mod virtual_networks { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3736,7 +3736,7 @@ pub mod virtual_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3810,7 +3810,7 @@ pub mod virtual_networks { } } pub mod check_ip_address_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3878,7 +3878,7 @@ pub mod virtual_networks { } } pub mod list_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3899,7 +3899,7 @@ pub mod virtual_networks { } } pub mod subnets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3952,7 +3952,7 @@ pub mod subnets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4030,7 +4030,7 @@ pub mod subnets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Subnet), @@ -4099,7 +4099,7 @@ pub mod subnets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4170,7 +4170,7 @@ pub mod subnets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4191,7 +4191,7 @@ pub mod subnets { } } pub mod virtual_network_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4240,7 +4240,7 @@ pub mod virtual_network_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4318,7 +4318,7 @@ pub mod virtual_network_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkPeering), @@ -4387,7 +4387,7 @@ pub mod virtual_network_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4458,7 +4458,7 @@ pub mod virtual_network_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4479,7 +4479,7 @@ pub mod virtual_network_peerings { } } pub mod network_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4530,7 +4530,7 @@ pub mod network_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4606,7 +4606,7 @@ pub mod network_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkSecurityGroup), @@ -4681,7 +4681,7 @@ pub mod network_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4743,7 +4743,7 @@ pub mod network_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4813,7 +4813,7 @@ pub mod network_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4876,7 +4876,7 @@ pub mod network_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4897,7 +4897,7 @@ pub mod network_security_groups { } } pub mod security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4946,7 +4946,7 @@ pub mod security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5024,7 +5024,7 @@ pub mod security_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityRule), @@ -5093,7 +5093,7 @@ pub mod security_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -5164,7 +5164,7 @@ pub mod security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5185,7 +5185,7 @@ pub mod security_rules { } } pub mod default_security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5232,7 +5232,7 @@ pub mod default_security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5299,7 +5299,7 @@ pub mod default_security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5320,7 +5320,7 @@ pub mod default_security_rules { } } pub mod application_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5367,7 +5367,7 @@ pub mod application_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5443,7 +5443,7 @@ pub mod application_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationSecurityGroup), @@ -5510,7 +5510,7 @@ pub mod application_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -5580,7 +5580,7 @@ pub mod application_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5643,7 +5643,7 @@ pub mod application_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5664,7 +5664,7 @@ pub mod application_security_groups { } } pub mod route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5715,7 +5715,7 @@ pub mod route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5791,7 +5791,7 @@ pub mod route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteTable), @@ -5866,7 +5866,7 @@ pub mod route_tables { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5928,7 +5928,7 @@ pub mod route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -5997,7 +5997,7 @@ pub mod route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6061,7 +6061,7 @@ pub mod route_tables { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6082,7 +6082,7 @@ pub mod route_tables { } } pub mod routes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6131,7 +6131,7 @@ pub mod routes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6209,7 +6209,7 @@ pub mod routes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Route), @@ -6278,7 +6278,7 @@ pub mod routes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6349,7 +6349,7 @@ pub mod routes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6370,7 +6370,7 @@ pub mod routes { } } pub mod public_ip_addresses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6421,7 +6421,7 @@ pub mod public_ip_addresses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6497,7 +6497,7 @@ pub mod public_ip_addresses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpAddress), @@ -6572,7 +6572,7 @@ pub mod public_ip_addresses { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6634,7 +6634,7 @@ pub mod public_ip_addresses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -6704,7 +6704,7 @@ pub mod public_ip_addresses { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6767,7 +6767,7 @@ pub mod public_ip_addresses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6838,7 +6838,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6906,7 +6906,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_vm_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6978,7 +6978,7 @@ pub mod public_ip_addresses { } } pub mod get_virtual_machine_scale_set_public_ip_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7049,7 +7049,7 @@ pub async fn check_dns_name_availability( } } pub mod check_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7069,7 +7069,7 @@ pub mod check_dns_name_availability { } } pub mod available_endpoint_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -7114,7 +7114,7 @@ pub mod available_endpoint_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7135,7 +7135,7 @@ pub mod available_endpoint_services { } } pub mod express_route_circuit_authorizations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7184,7 +7184,7 @@ pub mod express_route_circuit_authorizations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7262,7 +7262,7 @@ pub mod express_route_circuit_authorizations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuitAuthorization), @@ -7331,7 +7331,7 @@ pub mod express_route_circuit_authorizations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7402,7 +7402,7 @@ pub mod express_route_circuit_authorizations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7423,7 +7423,7 @@ pub mod express_route_circuit_authorizations { } } pub mod express_route_circuit_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7472,7 +7472,7 @@ pub mod express_route_circuit_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7550,7 +7550,7 @@ pub mod express_route_circuit_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitPeering), @@ -7619,7 +7619,7 @@ pub mod express_route_circuit_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7690,7 +7690,7 @@ pub mod express_route_circuit_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7711,7 +7711,7 @@ pub mod express_route_circuit_peerings { } } pub mod express_route_circuits { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7758,7 +7758,7 @@ pub mod express_route_circuits { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7834,7 +7834,7 @@ pub mod express_route_circuits { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuit), @@ -7909,7 +7909,7 @@ pub mod express_route_circuits { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7971,7 +7971,7 @@ pub mod express_route_circuits { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -8051,7 +8051,7 @@ pub mod express_route_circuits { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -8130,7 +8130,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -8211,7 +8211,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableSummaryListResult), @@ -8284,7 +8284,7 @@ pub mod express_route_circuits { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8354,7 +8354,7 @@ pub mod express_route_circuits { } } pub mod get_peering_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8417,7 +8417,7 @@ pub mod express_route_circuits { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8481,7 +8481,7 @@ pub mod express_route_circuits { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8502,7 +8502,7 @@ pub mod express_route_circuits { } } pub mod express_route_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8545,7 +8545,7 @@ pub mod express_route_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8566,7 +8566,7 @@ pub mod express_route_service_providers { } } pub mod route_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8617,7 +8617,7 @@ pub mod route_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8693,7 +8693,7 @@ pub mod route_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilter), @@ -8765,7 +8765,7 @@ pub mod route_filters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8827,7 +8827,7 @@ pub mod route_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8901,7 +8901,7 @@ pub mod route_filters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8962,7 +8962,7 @@ pub mod route_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8983,7 +8983,7 @@ pub mod route_filters { } } pub mod route_filter_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9032,7 +9032,7 @@ pub mod route_filter_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9110,7 +9110,7 @@ pub mod route_filter_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilterRule), @@ -9184,7 +9184,7 @@ pub mod route_filter_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9248,7 +9248,7 @@ pub mod route_filter_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9322,7 +9322,7 @@ pub mod route_filter_rules { } } pub mod list_by_route_filter { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9343,7 +9343,7 @@ pub mod route_filter_rules { } } pub mod network_watchers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9390,7 +9390,7 @@ pub mod network_watchers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9466,7 +9466,7 @@ pub mod network_watchers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkWatcher), @@ -9541,7 +9541,7 @@ pub mod network_watchers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9602,7 +9602,7 @@ pub mod network_watchers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9670,7 +9670,7 @@ pub mod network_watchers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9734,7 +9734,7 @@ pub mod network_watchers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9804,7 +9804,7 @@ pub mod network_watchers { } } pub mod get_topology { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9880,7 +9880,7 @@ pub mod network_watchers { } } pub mod verify_ip_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VerificationIpFlowResult), @@ -9961,7 +9961,7 @@ pub mod network_watchers { } } pub mod get_next_hop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NextHopResult), @@ -10044,7 +10044,7 @@ pub mod network_watchers { } } pub mod get_vm_security_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityGroupViewResult), @@ -10125,7 +10125,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -10208,7 +10208,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -10291,7 +10291,7 @@ pub mod network_watchers { } } pub mod set_flow_log_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -10372,7 +10372,7 @@ pub mod network_watchers { } } pub mod get_flow_log_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -10453,7 +10453,7 @@ pub mod network_watchers { } } pub mod check_connectivity { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectivityInformation), @@ -10536,7 +10536,7 @@ pub mod network_watchers { } } pub mod get_azure_reachability_report { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AzureReachabilityReport), @@ -10619,7 +10619,7 @@ pub mod network_watchers { } } pub mod list_available_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AvailableProvidersList), @@ -10645,7 +10645,7 @@ pub mod network_watchers { } } pub mod packet_captures { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10694,7 +10694,7 @@ pub mod packet_captures { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10763,7 +10763,7 @@ pub mod packet_captures { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10826,7 +10826,7 @@ pub mod packet_captures { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -10895,7 +10895,7 @@ pub mod packet_captures { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10977,7 +10977,7 @@ pub mod packet_captures { } } pub mod get_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PacketCaptureQueryStatusResult), @@ -11047,7 +11047,7 @@ pub mod packet_captures { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11068,7 +11068,7 @@ pub mod packet_captures { } } pub mod connection_monitors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11117,7 +11117,7 @@ pub mod connection_monitors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11195,7 +11195,7 @@ pub mod connection_monitors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorResult), @@ -11263,7 +11263,7 @@ pub mod connection_monitors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -11332,7 +11332,7 @@ pub mod connection_monitors { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11401,7 +11401,7 @@ pub mod connection_monitors { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11480,7 +11480,7 @@ pub mod connection_monitors { } } pub mod query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorQueryResult), @@ -11550,7 +11550,7 @@ pub mod connection_monitors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11571,7 +11571,7 @@ pub mod connection_monitors { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Network/operations", operation_config.base_path(),); @@ -11607,7 +11607,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11628,7 +11628,7 @@ pub mod operations { } } pub mod bgp_service_communities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11671,7 +11671,7 @@ pub mod bgp_service_communities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11692,7 +11692,7 @@ pub mod bgp_service_communities { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -11737,7 +11737,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11758,7 +11758,7 @@ pub mod usages { } } pub mod virtual_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11805,7 +11805,7 @@ pub mod virtual_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11881,7 +11881,7 @@ pub mod virtual_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGateway), @@ -11956,7 +11956,7 @@ pub mod virtual_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12018,7 +12018,7 @@ pub mod virtual_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -12087,7 +12087,7 @@ pub mod virtual_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12155,7 +12155,7 @@ pub mod virtual_network_gateways { } } pub mod list_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12226,7 +12226,7 @@ pub mod virtual_network_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -12304,7 +12304,7 @@ pub mod virtual_network_gateways { } } pub mod generatevpnclientpackage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -12380,7 +12380,7 @@ pub mod virtual_network_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -12457,7 +12457,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpn_profile_package_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -12536,7 +12536,7 @@ pub mod virtual_network_gateways { } } pub mod get_bgp_peer_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BgpPeerStatusListResult), @@ -12612,7 +12612,7 @@ pub mod virtual_network_gateways { } } pub mod supported_vpn_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12682,7 +12682,7 @@ pub mod virtual_network_gateways { } } pub mod get_learned_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -12761,7 +12761,7 @@ pub mod virtual_network_gateways { } } pub mod get_advertised_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -12838,7 +12838,7 @@ pub mod virtual_network_gateways { } } pub mod vpn_device_configuration_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12859,7 +12859,7 @@ pub mod virtual_network_gateways { } } pub mod virtual_network_gateway_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12906,7 +12906,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12982,7 +12982,7 @@ pub mod virtual_network_gateway_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGatewayConnection), @@ -13057,7 +13057,7 @@ pub mod virtual_network_gateway_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13119,7 +13119,7 @@ pub mod virtual_network_gateway_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13193,7 +13193,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13269,7 +13269,7 @@ pub mod virtual_network_gateway_connections { } } pub mod set_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ConnectionSharedKey), @@ -13337,7 +13337,7 @@ pub mod virtual_network_gateway_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13408,7 +13408,7 @@ pub mod virtual_network_gateway_connections { } } pub mod reset_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionResetSharedKey), @@ -13434,7 +13434,7 @@ pub mod virtual_network_gateway_connections { } } pub mod local_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13481,7 +13481,7 @@ pub mod local_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13557,7 +13557,7 @@ pub mod local_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LocalNetworkGateway), @@ -13632,7 +13632,7 @@ pub mod local_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13694,7 +13694,7 @@ pub mod local_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -13763,7 +13763,7 @@ pub mod local_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/network/src/package_2018_01_only/operations.rs b/services/mgmt/network/src/package_2018_01_only/operations.rs index 5fca66c743..ec6ecae9b7 100644 --- a/services/mgmt/network/src/package_2018_01_only/operations.rs +++ b/services/mgmt/network/src/package_2018_01_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod application_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod application_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod application_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationGateway), @@ -202,7 +202,7 @@ pub mod application_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -264,7 +264,7 @@ pub mod application_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -333,7 +333,7 @@ pub mod application_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -397,7 +397,7 @@ pub mod application_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -459,7 +459,7 @@ pub mod application_gateways { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -526,7 +526,7 @@ pub mod application_gateways { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -605,7 +605,7 @@ pub mod application_gateways { } } pub mod backend_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealth), @@ -676,7 +676,7 @@ pub mod application_gateways { } } pub mod list_available_waf_rule_sets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -742,7 +742,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_options { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -808,7 +808,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_predefined_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -876,7 +876,7 @@ pub mod application_gateways { } } pub mod get_ssl_predefined_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -897,7 +897,7 @@ pub mod application_gateways { } } pub mod network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -948,7 +948,7 @@ pub mod network_interfaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1024,7 +1024,7 @@ pub mod network_interfaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkInterface), @@ -1099,7 +1099,7 @@ pub mod network_interfaces { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1161,7 +1161,7 @@ pub mod network_interfaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1231,7 +1231,7 @@ pub mod network_interfaces { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1294,7 +1294,7 @@ pub mod network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1366,7 +1366,7 @@ pub mod network_interfaces { } } pub mod get_effective_route_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveRouteListResult), @@ -1443,7 +1443,7 @@ pub mod network_interfaces { } } pub mod list_effective_network_security_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveNetworkSecurityGroupListResult), @@ -1469,7 +1469,7 @@ pub mod network_interfaces { } } pub mod network_interface_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1516,7 +1516,7 @@ pub mod network_interface_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1583,7 +1583,7 @@ pub mod network_interface_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1604,7 +1604,7 @@ pub mod network_interface_ip_configurations { } } pub mod network_interface_load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1651,7 +1651,7 @@ pub mod network_interface_load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1672,7 +1672,7 @@ pub mod network_interface_load_balancers { } } pub mod load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1723,7 +1723,7 @@ pub mod load_balancers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1799,7 +1799,7 @@ pub mod load_balancers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoadBalancer), @@ -1874,7 +1874,7 @@ pub mod load_balancers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1936,7 +1936,7 @@ pub mod load_balancers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2006,7 +2006,7 @@ pub mod load_balancers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2069,7 +2069,7 @@ pub mod load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2090,7 +2090,7 @@ pub mod load_balancers { } } pub mod load_balancer_backend_address_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2137,7 +2137,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2204,7 +2204,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2225,7 +2225,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod load_balancer_frontend_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2272,7 +2272,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2339,7 +2339,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2360,7 +2360,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod inbound_nat_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2407,7 +2407,7 @@ pub mod inbound_nat_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2478,7 +2478,7 @@ pub mod inbound_nat_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2556,7 +2556,7 @@ pub mod inbound_nat_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(InboundNatRule), @@ -2625,7 +2625,7 @@ pub mod inbound_nat_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2652,7 +2652,7 @@ pub mod inbound_nat_rules { } } pub mod load_balancer_load_balancing_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2699,7 +2699,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2766,7 +2766,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2787,7 +2787,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod load_balancer_network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2834,7 +2834,7 @@ pub mod load_balancer_network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2855,7 +2855,7 @@ pub mod load_balancer_network_interfaces { } } pub mod load_balancer_probes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2902,7 +2902,7 @@ pub mod load_balancer_probes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2969,7 +2969,7 @@ pub mod load_balancer_probes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2990,7 +2990,7 @@ pub mod load_balancer_probes { } } pub mod virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3041,7 +3041,7 @@ pub mod virtual_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3117,7 +3117,7 @@ pub mod virtual_networks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetwork), @@ -3192,7 +3192,7 @@ pub mod virtual_networks { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3254,7 +3254,7 @@ pub mod virtual_networks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3324,7 +3324,7 @@ pub mod virtual_networks { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3387,7 +3387,7 @@ pub mod virtual_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3461,7 +3461,7 @@ pub mod virtual_networks { } } pub mod check_ip_address_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3529,7 +3529,7 @@ pub mod virtual_networks { } } pub mod list_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3550,7 +3550,7 @@ pub mod virtual_networks { } } pub mod subnets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3603,7 +3603,7 @@ pub mod subnets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3681,7 +3681,7 @@ pub mod subnets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Subnet), @@ -3750,7 +3750,7 @@ pub mod subnets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3821,7 +3821,7 @@ pub mod subnets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3842,7 +3842,7 @@ pub mod subnets { } } pub mod virtual_network_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3891,7 +3891,7 @@ pub mod virtual_network_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3969,7 +3969,7 @@ pub mod virtual_network_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkPeering), @@ -4038,7 +4038,7 @@ pub mod virtual_network_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4109,7 +4109,7 @@ pub mod virtual_network_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4130,7 +4130,7 @@ pub mod virtual_network_peerings { } } pub mod network_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4181,7 +4181,7 @@ pub mod network_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4257,7 +4257,7 @@ pub mod network_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkSecurityGroup), @@ -4332,7 +4332,7 @@ pub mod network_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4394,7 +4394,7 @@ pub mod network_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4464,7 +4464,7 @@ pub mod network_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4527,7 +4527,7 @@ pub mod network_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4548,7 +4548,7 @@ pub mod network_security_groups { } } pub mod security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4597,7 +4597,7 @@ pub mod security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4675,7 +4675,7 @@ pub mod security_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityRule), @@ -4744,7 +4744,7 @@ pub mod security_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4815,7 +4815,7 @@ pub mod security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4836,7 +4836,7 @@ pub mod security_rules { } } pub mod default_security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4883,7 +4883,7 @@ pub mod default_security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4950,7 +4950,7 @@ pub mod default_security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4971,7 +4971,7 @@ pub mod default_security_rules { } } pub mod application_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5018,7 +5018,7 @@ pub mod application_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5094,7 +5094,7 @@ pub mod application_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationSecurityGroup), @@ -5161,7 +5161,7 @@ pub mod application_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -5231,7 +5231,7 @@ pub mod application_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5294,7 +5294,7 @@ pub mod application_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5315,7 +5315,7 @@ pub mod application_security_groups { } } pub mod route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5366,7 +5366,7 @@ pub mod route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5442,7 +5442,7 @@ pub mod route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteTable), @@ -5517,7 +5517,7 @@ pub mod route_tables { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5579,7 +5579,7 @@ pub mod route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -5648,7 +5648,7 @@ pub mod route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5712,7 +5712,7 @@ pub mod route_tables { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5733,7 +5733,7 @@ pub mod route_tables { } } pub mod routes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5782,7 +5782,7 @@ pub mod routes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5860,7 +5860,7 @@ pub mod routes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Route), @@ -5929,7 +5929,7 @@ pub mod routes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6000,7 +6000,7 @@ pub mod routes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6021,7 +6021,7 @@ pub mod routes { } } pub mod public_ip_addresses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6072,7 +6072,7 @@ pub mod public_ip_addresses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6148,7 +6148,7 @@ pub mod public_ip_addresses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpAddress), @@ -6223,7 +6223,7 @@ pub mod public_ip_addresses { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6285,7 +6285,7 @@ pub mod public_ip_addresses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -6355,7 +6355,7 @@ pub mod public_ip_addresses { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6418,7 +6418,7 @@ pub mod public_ip_addresses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6489,7 +6489,7 @@ pub async fn check_dns_name_availability( } } pub mod check_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6509,7 +6509,7 @@ pub mod check_dns_name_availability { } } pub mod available_endpoint_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -6554,7 +6554,7 @@ pub mod available_endpoint_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6575,7 +6575,7 @@ pub mod available_endpoint_services { } } pub mod express_route_circuit_authorizations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6624,7 +6624,7 @@ pub mod express_route_circuit_authorizations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6702,7 +6702,7 @@ pub mod express_route_circuit_authorizations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuitAuthorization), @@ -6771,7 +6771,7 @@ pub mod express_route_circuit_authorizations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6842,7 +6842,7 @@ pub mod express_route_circuit_authorizations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6863,7 +6863,7 @@ pub mod express_route_circuit_authorizations { } } pub mod express_route_circuit_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6912,7 +6912,7 @@ pub mod express_route_circuit_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6990,7 +6990,7 @@ pub mod express_route_circuit_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitPeering), @@ -7059,7 +7059,7 @@ pub mod express_route_circuit_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7130,7 +7130,7 @@ pub mod express_route_circuit_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7151,7 +7151,7 @@ pub mod express_route_circuit_peerings { } } pub mod express_route_circuits { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7198,7 +7198,7 @@ pub mod express_route_circuits { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7274,7 +7274,7 @@ pub mod express_route_circuits { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuit), @@ -7349,7 +7349,7 @@ pub mod express_route_circuits { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7411,7 +7411,7 @@ pub mod express_route_circuits { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -7491,7 +7491,7 @@ pub mod express_route_circuits { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -7570,7 +7570,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -7651,7 +7651,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableSummaryListResult), @@ -7724,7 +7724,7 @@ pub mod express_route_circuits { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7794,7 +7794,7 @@ pub mod express_route_circuits { } } pub mod get_peering_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7857,7 +7857,7 @@ pub mod express_route_circuits { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7921,7 +7921,7 @@ pub mod express_route_circuits { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7942,7 +7942,7 @@ pub mod express_route_circuits { } } pub mod express_route_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7985,7 +7985,7 @@ pub mod express_route_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8006,7 +8006,7 @@ pub mod express_route_service_providers { } } pub mod route_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8057,7 +8057,7 @@ pub mod route_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8133,7 +8133,7 @@ pub mod route_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilter), @@ -8205,7 +8205,7 @@ pub mod route_filters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8267,7 +8267,7 @@ pub mod route_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8341,7 +8341,7 @@ pub mod route_filters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8402,7 +8402,7 @@ pub mod route_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8423,7 +8423,7 @@ pub mod route_filters { } } pub mod route_filter_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8472,7 +8472,7 @@ pub mod route_filter_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8550,7 +8550,7 @@ pub mod route_filter_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilterRule), @@ -8624,7 +8624,7 @@ pub mod route_filter_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8688,7 +8688,7 @@ pub mod route_filter_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8762,7 +8762,7 @@ pub mod route_filter_rules { } } pub mod list_by_route_filter { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8783,7 +8783,7 @@ pub mod route_filter_rules { } } pub mod network_watchers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8830,7 +8830,7 @@ pub mod network_watchers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8906,7 +8906,7 @@ pub mod network_watchers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkWatcher), @@ -8981,7 +8981,7 @@ pub mod network_watchers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9042,7 +9042,7 @@ pub mod network_watchers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9110,7 +9110,7 @@ pub mod network_watchers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9174,7 +9174,7 @@ pub mod network_watchers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9244,7 +9244,7 @@ pub mod network_watchers { } } pub mod get_topology { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9320,7 +9320,7 @@ pub mod network_watchers { } } pub mod verify_ip_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VerificationIpFlowResult), @@ -9401,7 +9401,7 @@ pub mod network_watchers { } } pub mod get_next_hop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NextHopResult), @@ -9484,7 +9484,7 @@ pub mod network_watchers { } } pub mod get_vm_security_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityGroupViewResult), @@ -9565,7 +9565,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -9648,7 +9648,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -9731,7 +9731,7 @@ pub mod network_watchers { } } pub mod set_flow_log_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -9812,7 +9812,7 @@ pub mod network_watchers { } } pub mod get_flow_log_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -9893,7 +9893,7 @@ pub mod network_watchers { } } pub mod check_connectivity { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectivityInformation), @@ -9976,7 +9976,7 @@ pub mod network_watchers { } } pub mod get_azure_reachability_report { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AzureReachabilityReport), @@ -10059,7 +10059,7 @@ pub mod network_watchers { } } pub mod list_available_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AvailableProvidersList), @@ -10085,7 +10085,7 @@ pub mod network_watchers { } } pub mod packet_captures { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10134,7 +10134,7 @@ pub mod packet_captures { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10203,7 +10203,7 @@ pub mod packet_captures { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10266,7 +10266,7 @@ pub mod packet_captures { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -10335,7 +10335,7 @@ pub mod packet_captures { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10417,7 +10417,7 @@ pub mod packet_captures { } } pub mod get_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PacketCaptureQueryStatusResult), @@ -10487,7 +10487,7 @@ pub mod packet_captures { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10508,7 +10508,7 @@ pub mod packet_captures { } } pub mod connection_monitors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10557,7 +10557,7 @@ pub mod connection_monitors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10635,7 +10635,7 @@ pub mod connection_monitors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorResult), @@ -10703,7 +10703,7 @@ pub mod connection_monitors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -10772,7 +10772,7 @@ pub mod connection_monitors { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10841,7 +10841,7 @@ pub mod connection_monitors { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10920,7 +10920,7 @@ pub mod connection_monitors { } } pub mod query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorQueryResult), @@ -10990,7 +10990,7 @@ pub mod connection_monitors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11011,7 +11011,7 @@ pub mod connection_monitors { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Network/operations", operation_config.base_path(),); @@ -11047,7 +11047,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11068,7 +11068,7 @@ pub mod operations { } } pub mod bgp_service_communities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11111,7 +11111,7 @@ pub mod bgp_service_communities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11132,7 +11132,7 @@ pub mod bgp_service_communities { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -11177,7 +11177,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11198,7 +11198,7 @@ pub mod usages { } } pub mod virtual_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11245,7 +11245,7 @@ pub mod virtual_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11321,7 +11321,7 @@ pub mod virtual_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGateway), @@ -11396,7 +11396,7 @@ pub mod virtual_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11458,7 +11458,7 @@ pub mod virtual_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -11527,7 +11527,7 @@ pub mod virtual_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11595,7 +11595,7 @@ pub mod virtual_network_gateways { } } pub mod list_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11666,7 +11666,7 @@ pub mod virtual_network_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -11744,7 +11744,7 @@ pub mod virtual_network_gateways { } } pub mod generatevpnclientpackage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -11820,7 +11820,7 @@ pub mod virtual_network_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -11897,7 +11897,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpn_profile_package_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -11976,7 +11976,7 @@ pub mod virtual_network_gateways { } } pub mod get_bgp_peer_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BgpPeerStatusListResult), @@ -12052,7 +12052,7 @@ pub mod virtual_network_gateways { } } pub mod supported_vpn_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12122,7 +12122,7 @@ pub mod virtual_network_gateways { } } pub mod get_learned_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -12201,7 +12201,7 @@ pub mod virtual_network_gateways { } } pub mod get_advertised_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -12278,7 +12278,7 @@ pub mod virtual_network_gateways { } } pub mod vpn_device_configuration_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12299,7 +12299,7 @@ pub mod virtual_network_gateways { } } pub mod virtual_network_gateway_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12346,7 +12346,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12422,7 +12422,7 @@ pub mod virtual_network_gateway_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGatewayConnection), @@ -12497,7 +12497,7 @@ pub mod virtual_network_gateway_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12559,7 +12559,7 @@ pub mod virtual_network_gateway_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12633,7 +12633,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12709,7 +12709,7 @@ pub mod virtual_network_gateway_connections { } } pub mod set_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ConnectionSharedKey), @@ -12777,7 +12777,7 @@ pub mod virtual_network_gateway_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12848,7 +12848,7 @@ pub mod virtual_network_gateway_connections { } } pub mod reset_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionResetSharedKey), @@ -12874,7 +12874,7 @@ pub mod virtual_network_gateway_connections { } } pub mod local_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12921,7 +12921,7 @@ pub mod local_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12997,7 +12997,7 @@ pub mod local_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LocalNetworkGateway), @@ -13072,7 +13072,7 @@ pub mod local_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13134,7 +13134,7 @@ pub mod local_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -13203,7 +13203,7 @@ pub mod local_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/network/src/package_2018_02/operations.rs b/services/mgmt/network/src/package_2018_02/operations.rs index 2e5384e583..51977bf887 100644 --- a/services/mgmt/network/src/package_2018_02/operations.rs +++ b/services/mgmt/network/src/package_2018_02/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod application_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod application_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod application_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationGateway), @@ -202,7 +202,7 @@ pub mod application_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -264,7 +264,7 @@ pub mod application_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -333,7 +333,7 @@ pub mod application_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -397,7 +397,7 @@ pub mod application_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -459,7 +459,7 @@ pub mod application_gateways { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -526,7 +526,7 @@ pub mod application_gateways { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -605,7 +605,7 @@ pub mod application_gateways { } } pub mod backend_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealth), @@ -676,7 +676,7 @@ pub mod application_gateways { } } pub mod list_available_waf_rule_sets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -742,7 +742,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_options { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -808,7 +808,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_predefined_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -876,7 +876,7 @@ pub mod application_gateways { } } pub mod get_ssl_predefined_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -897,7 +897,7 @@ pub mod application_gateways { } } pub mod network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -948,7 +948,7 @@ pub mod network_interfaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1024,7 +1024,7 @@ pub mod network_interfaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkInterface), @@ -1099,7 +1099,7 @@ pub mod network_interfaces { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1161,7 +1161,7 @@ pub mod network_interfaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1231,7 +1231,7 @@ pub mod network_interfaces { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1294,7 +1294,7 @@ pub mod network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1366,7 +1366,7 @@ pub mod network_interfaces { } } pub mod get_effective_route_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveRouteListResult), @@ -1443,7 +1443,7 @@ pub mod network_interfaces { } } pub mod list_effective_network_security_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveNetworkSecurityGroupListResult), @@ -1514,7 +1514,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_vm_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1585,7 +1585,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1655,7 +1655,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_network_interface { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1726,7 +1726,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_ip_configurations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1797,7 +1797,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_ip_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1818,7 +1818,7 @@ pub mod network_interfaces { } } pub mod network_interface_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1865,7 +1865,7 @@ pub mod network_interface_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1932,7 +1932,7 @@ pub mod network_interface_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1953,7 +1953,7 @@ pub mod network_interface_ip_configurations { } } pub mod network_interface_load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2000,7 +2000,7 @@ pub mod network_interface_load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2021,7 +2021,7 @@ pub mod network_interface_load_balancers { } } pub mod load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2072,7 +2072,7 @@ pub mod load_balancers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2148,7 +2148,7 @@ pub mod load_balancers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoadBalancer), @@ -2223,7 +2223,7 @@ pub mod load_balancers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2285,7 +2285,7 @@ pub mod load_balancers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2355,7 +2355,7 @@ pub mod load_balancers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2418,7 +2418,7 @@ pub mod load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2439,7 +2439,7 @@ pub mod load_balancers { } } pub mod load_balancer_backend_address_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2486,7 +2486,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2553,7 +2553,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2574,7 +2574,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod load_balancer_frontend_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2621,7 +2621,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2688,7 +2688,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2709,7 +2709,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod inbound_nat_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2756,7 +2756,7 @@ pub mod inbound_nat_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2827,7 +2827,7 @@ pub mod inbound_nat_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2905,7 +2905,7 @@ pub mod inbound_nat_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(InboundNatRule), @@ -2974,7 +2974,7 @@ pub mod inbound_nat_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -3001,7 +3001,7 @@ pub mod inbound_nat_rules { } } pub mod load_balancer_load_balancing_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3048,7 +3048,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3115,7 +3115,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3136,7 +3136,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod load_balancer_network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3183,7 +3183,7 @@ pub mod load_balancer_network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3204,7 +3204,7 @@ pub mod load_balancer_network_interfaces { } } pub mod load_balancer_probes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3251,7 +3251,7 @@ pub mod load_balancer_probes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3318,7 +3318,7 @@ pub mod load_balancer_probes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3339,7 +3339,7 @@ pub mod load_balancer_probes { } } pub mod virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3390,7 +3390,7 @@ pub mod virtual_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3466,7 +3466,7 @@ pub mod virtual_networks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetwork), @@ -3541,7 +3541,7 @@ pub mod virtual_networks { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3603,7 +3603,7 @@ pub mod virtual_networks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3673,7 +3673,7 @@ pub mod virtual_networks { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3736,7 +3736,7 @@ pub mod virtual_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3810,7 +3810,7 @@ pub mod virtual_networks { } } pub mod check_ip_address_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3878,7 +3878,7 @@ pub mod virtual_networks { } } pub mod list_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3899,7 +3899,7 @@ pub mod virtual_networks { } } pub mod subnets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3952,7 +3952,7 @@ pub mod subnets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4030,7 +4030,7 @@ pub mod subnets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Subnet), @@ -4099,7 +4099,7 @@ pub mod subnets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4170,7 +4170,7 @@ pub mod subnets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4191,7 +4191,7 @@ pub mod subnets { } } pub mod virtual_network_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4240,7 +4240,7 @@ pub mod virtual_network_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4318,7 +4318,7 @@ pub mod virtual_network_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkPeering), @@ -4387,7 +4387,7 @@ pub mod virtual_network_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4458,7 +4458,7 @@ pub mod virtual_network_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4479,7 +4479,7 @@ pub mod virtual_network_peerings { } } pub mod network_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4530,7 +4530,7 @@ pub mod network_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4606,7 +4606,7 @@ pub mod network_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkSecurityGroup), @@ -4681,7 +4681,7 @@ pub mod network_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4743,7 +4743,7 @@ pub mod network_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4813,7 +4813,7 @@ pub mod network_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4876,7 +4876,7 @@ pub mod network_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4897,7 +4897,7 @@ pub mod network_security_groups { } } pub mod security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4946,7 +4946,7 @@ pub mod security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5024,7 +5024,7 @@ pub mod security_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityRule), @@ -5093,7 +5093,7 @@ pub mod security_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -5164,7 +5164,7 @@ pub mod security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5185,7 +5185,7 @@ pub mod security_rules { } } pub mod default_security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5232,7 +5232,7 @@ pub mod default_security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5299,7 +5299,7 @@ pub mod default_security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5320,7 +5320,7 @@ pub mod default_security_rules { } } pub mod application_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5367,7 +5367,7 @@ pub mod application_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5443,7 +5443,7 @@ pub mod application_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationSecurityGroup), @@ -5510,7 +5510,7 @@ pub mod application_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -5580,7 +5580,7 @@ pub mod application_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5643,7 +5643,7 @@ pub mod application_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5664,7 +5664,7 @@ pub mod application_security_groups { } } pub mod route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5715,7 +5715,7 @@ pub mod route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5791,7 +5791,7 @@ pub mod route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteTable), @@ -5866,7 +5866,7 @@ pub mod route_tables { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5928,7 +5928,7 @@ pub mod route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -5997,7 +5997,7 @@ pub mod route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6061,7 +6061,7 @@ pub mod route_tables { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6082,7 +6082,7 @@ pub mod route_tables { } } pub mod routes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6131,7 +6131,7 @@ pub mod routes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6209,7 +6209,7 @@ pub mod routes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Route), @@ -6278,7 +6278,7 @@ pub mod routes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6349,7 +6349,7 @@ pub mod routes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6370,7 +6370,7 @@ pub mod routes { } } pub mod public_ip_addresses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6421,7 +6421,7 @@ pub mod public_ip_addresses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6497,7 +6497,7 @@ pub mod public_ip_addresses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpAddress), @@ -6572,7 +6572,7 @@ pub mod public_ip_addresses { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6634,7 +6634,7 @@ pub mod public_ip_addresses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -6704,7 +6704,7 @@ pub mod public_ip_addresses { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6767,7 +6767,7 @@ pub mod public_ip_addresses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6838,7 +6838,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6906,7 +6906,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_vm_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6978,7 +6978,7 @@ pub mod public_ip_addresses { } } pub mod get_virtual_machine_scale_set_public_ip_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7049,7 +7049,7 @@ pub async fn check_dns_name_availability( } } pub mod check_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7069,7 +7069,7 @@ pub mod check_dns_name_availability { } } pub mod ddos_protection_plans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7116,7 +7116,7 @@ pub mod ddos_protection_plans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7192,7 +7192,7 @@ pub mod ddos_protection_plans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DdosProtectionPlan), @@ -7259,7 +7259,7 @@ pub mod ddos_protection_plans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -7326,7 +7326,7 @@ pub mod ddos_protection_plans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7394,7 +7394,7 @@ pub mod ddos_protection_plans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7415,7 +7415,7 @@ pub mod ddos_protection_plans { } } pub mod available_endpoint_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -7460,7 +7460,7 @@ pub mod available_endpoint_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7481,7 +7481,7 @@ pub mod available_endpoint_services { } } pub mod express_route_circuit_authorizations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7530,7 +7530,7 @@ pub mod express_route_circuit_authorizations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7608,7 +7608,7 @@ pub mod express_route_circuit_authorizations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuitAuthorization), @@ -7677,7 +7677,7 @@ pub mod express_route_circuit_authorizations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7748,7 +7748,7 @@ pub mod express_route_circuit_authorizations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7769,7 +7769,7 @@ pub mod express_route_circuit_authorizations { } } pub mod express_route_circuit_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7818,7 +7818,7 @@ pub mod express_route_circuit_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7896,7 +7896,7 @@ pub mod express_route_circuit_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitPeering), @@ -7965,7 +7965,7 @@ pub mod express_route_circuit_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8036,7 +8036,7 @@ pub mod express_route_circuit_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8057,7 +8057,7 @@ pub mod express_route_circuit_peerings { } } pub mod express_route_circuit_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8108,7 +8108,7 @@ pub mod express_route_circuit_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8188,7 +8188,7 @@ pub mod express_route_circuit_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitConnection), @@ -8259,7 +8259,7 @@ pub mod express_route_circuit_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8286,7 +8286,7 @@ pub mod express_route_circuit_connections { } } pub mod express_route_circuits { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8333,7 +8333,7 @@ pub mod express_route_circuits { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8409,7 +8409,7 @@ pub mod express_route_circuits { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuit), @@ -8484,7 +8484,7 @@ pub mod express_route_circuits { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8546,7 +8546,7 @@ pub mod express_route_circuits { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -8626,7 +8626,7 @@ pub mod express_route_circuits { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -8705,7 +8705,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -8786,7 +8786,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableSummaryListResult), @@ -8859,7 +8859,7 @@ pub mod express_route_circuits { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8929,7 +8929,7 @@ pub mod express_route_circuits { } } pub mod get_peering_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8992,7 +8992,7 @@ pub mod express_route_circuits { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9056,7 +9056,7 @@ pub mod express_route_circuits { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9077,7 +9077,7 @@ pub mod express_route_circuits { } } pub mod express_route_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9120,7 +9120,7 @@ pub mod express_route_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9141,7 +9141,7 @@ pub mod express_route_service_providers { } } pub mod route_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9192,7 +9192,7 @@ pub mod route_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9268,7 +9268,7 @@ pub mod route_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilter), @@ -9340,7 +9340,7 @@ pub mod route_filters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9402,7 +9402,7 @@ pub mod route_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9476,7 +9476,7 @@ pub mod route_filters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9537,7 +9537,7 @@ pub mod route_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9558,7 +9558,7 @@ pub mod route_filters { } } pub mod route_filter_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9607,7 +9607,7 @@ pub mod route_filter_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9685,7 +9685,7 @@ pub mod route_filter_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilterRule), @@ -9759,7 +9759,7 @@ pub mod route_filter_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9823,7 +9823,7 @@ pub mod route_filter_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9897,7 +9897,7 @@ pub mod route_filter_rules { } } pub mod list_by_route_filter { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9918,7 +9918,7 @@ pub mod route_filter_rules { } } pub mod express_route_cross_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9961,7 +9961,7 @@ pub mod express_route_cross_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10029,7 +10029,7 @@ pub mod express_route_cross_connections { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10094,7 +10094,7 @@ pub mod express_route_cross_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10164,7 +10164,7 @@ pub mod express_route_cross_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10234,7 +10234,7 @@ pub mod express_route_cross_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10308,7 +10308,7 @@ pub mod express_route_cross_connections { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -10381,7 +10381,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionsRoutesTableSummaryListResult), @@ -10460,7 +10460,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -10486,7 +10486,7 @@ pub mod express_route_cross_connections { } } pub mod express_route_cross_connection_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10533,7 +10533,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10600,7 +10600,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10678,7 +10678,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionPeering), @@ -10747,7 +10747,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10774,7 +10774,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod network_watchers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10821,7 +10821,7 @@ pub mod network_watchers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10897,7 +10897,7 @@ pub mod network_watchers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkWatcher), @@ -10972,7 +10972,7 @@ pub mod network_watchers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11033,7 +11033,7 @@ pub mod network_watchers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -11101,7 +11101,7 @@ pub mod network_watchers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11165,7 +11165,7 @@ pub mod network_watchers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11235,7 +11235,7 @@ pub mod network_watchers { } } pub mod get_topology { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11311,7 +11311,7 @@ pub mod network_watchers { } } pub mod verify_ip_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VerificationIpFlowResult), @@ -11392,7 +11392,7 @@ pub mod network_watchers { } } pub mod get_next_hop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NextHopResult), @@ -11475,7 +11475,7 @@ pub mod network_watchers { } } pub mod get_vm_security_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityGroupViewResult), @@ -11556,7 +11556,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -11639,7 +11639,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -11722,7 +11722,7 @@ pub mod network_watchers { } } pub mod set_flow_log_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -11803,7 +11803,7 @@ pub mod network_watchers { } } pub mod get_flow_log_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -11884,7 +11884,7 @@ pub mod network_watchers { } } pub mod check_connectivity { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectivityInformation), @@ -11967,7 +11967,7 @@ pub mod network_watchers { } } pub mod get_azure_reachability_report { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AzureReachabilityReport), @@ -12050,7 +12050,7 @@ pub mod network_watchers { } } pub mod list_available_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AvailableProvidersList), @@ -12076,7 +12076,7 @@ pub mod network_watchers { } } pub mod packet_captures { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12125,7 +12125,7 @@ pub mod packet_captures { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12194,7 +12194,7 @@ pub mod packet_captures { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12257,7 +12257,7 @@ pub mod packet_captures { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -12326,7 +12326,7 @@ pub mod packet_captures { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12408,7 +12408,7 @@ pub mod packet_captures { } } pub mod get_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PacketCaptureQueryStatusResult), @@ -12478,7 +12478,7 @@ pub mod packet_captures { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12499,7 +12499,7 @@ pub mod packet_captures { } } pub mod connection_monitors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12548,7 +12548,7 @@ pub mod connection_monitors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12626,7 +12626,7 @@ pub mod connection_monitors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorResult), @@ -12694,7 +12694,7 @@ pub mod connection_monitors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -12763,7 +12763,7 @@ pub mod connection_monitors { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12832,7 +12832,7 @@ pub mod connection_monitors { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12911,7 +12911,7 @@ pub mod connection_monitors { } } pub mod query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorQueryResult), @@ -12981,7 +12981,7 @@ pub mod connection_monitors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13002,7 +13002,7 @@ pub mod connection_monitors { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Network/operations", operation_config.base_path(),); @@ -13038,7 +13038,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13059,7 +13059,7 @@ pub mod operations { } } pub mod bgp_service_communities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -13102,7 +13102,7 @@ pub mod bgp_service_communities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13123,7 +13123,7 @@ pub mod bgp_service_communities { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -13168,7 +13168,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13189,7 +13189,7 @@ pub mod usages { } } pub mod virtual_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13236,7 +13236,7 @@ pub mod virtual_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13312,7 +13312,7 @@ pub mod virtual_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGateway), @@ -13387,7 +13387,7 @@ pub mod virtual_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13449,7 +13449,7 @@ pub mod virtual_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -13518,7 +13518,7 @@ pub mod virtual_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13586,7 +13586,7 @@ pub mod virtual_network_gateways { } } pub mod list_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13657,7 +13657,7 @@ pub mod virtual_network_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -13735,7 +13735,7 @@ pub mod virtual_network_gateways { } } pub mod generatevpnclientpackage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -13811,7 +13811,7 @@ pub mod virtual_network_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -13888,7 +13888,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpn_profile_package_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -13967,7 +13967,7 @@ pub mod virtual_network_gateways { } } pub mod get_bgp_peer_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BgpPeerStatusListResult), @@ -14043,7 +14043,7 @@ pub mod virtual_network_gateways { } } pub mod supported_vpn_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14113,7 +14113,7 @@ pub mod virtual_network_gateways { } } pub mod get_learned_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -14192,7 +14192,7 @@ pub mod virtual_network_gateways { } } pub mod get_advertised_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -14270,7 +14270,7 @@ pub mod virtual_network_gateways { } } pub mod set_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -14346,7 +14346,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14418,7 +14418,7 @@ pub mod virtual_network_gateways { } } pub mod vpn_device_configuration_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14439,7 +14439,7 @@ pub mod virtual_network_gateways { } } pub mod virtual_network_gateway_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14486,7 +14486,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14562,7 +14562,7 @@ pub mod virtual_network_gateway_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGatewayConnection), @@ -14637,7 +14637,7 @@ pub mod virtual_network_gateway_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14699,7 +14699,7 @@ pub mod virtual_network_gateway_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -14773,7 +14773,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14849,7 +14849,7 @@ pub mod virtual_network_gateway_connections { } } pub mod set_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ConnectionSharedKey), @@ -14917,7 +14917,7 @@ pub mod virtual_network_gateway_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14988,7 +14988,7 @@ pub mod virtual_network_gateway_connections { } } pub mod reset_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionResetSharedKey), @@ -15014,7 +15014,7 @@ pub mod virtual_network_gateway_connections { } } pub mod local_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15061,7 +15061,7 @@ pub mod local_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15137,7 +15137,7 @@ pub mod local_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LocalNetworkGateway), @@ -15212,7 +15212,7 @@ pub mod local_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15274,7 +15274,7 @@ pub mod local_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -15343,7 +15343,7 @@ pub mod local_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/network/src/package_2018_04/operations.rs b/services/mgmt/network/src/package_2018_04/operations.rs index 9981dc7ebb..99d2f2c1b6 100644 --- a/services/mgmt/network/src/package_2018_04/operations.rs +++ b/services/mgmt/network/src/package_2018_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod azure_firewalls { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod azure_firewalls { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod azure_firewalls { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(AzureFirewall), @@ -194,7 +194,7 @@ pub mod azure_firewalls { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -263,7 +263,7 @@ pub mod azure_firewalls { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -327,7 +327,7 @@ pub mod azure_firewalls { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -348,7 +348,7 @@ pub mod azure_firewalls { } } pub mod application_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -395,7 +395,7 @@ pub mod application_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -471,7 +471,7 @@ pub mod application_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationGateway), @@ -546,7 +546,7 @@ pub mod application_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -608,7 +608,7 @@ pub mod application_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -677,7 +677,7 @@ pub mod application_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -741,7 +741,7 @@ pub mod application_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -803,7 +803,7 @@ pub mod application_gateways { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -870,7 +870,7 @@ pub mod application_gateways { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -949,7 +949,7 @@ pub mod application_gateways { } } pub mod backend_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealth), @@ -1020,7 +1020,7 @@ pub mod application_gateways { } } pub mod list_available_waf_rule_sets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1086,7 +1086,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_options { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1152,7 +1152,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_predefined_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1220,7 +1220,7 @@ pub mod application_gateways { } } pub mod get_ssl_predefined_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1241,7 +1241,7 @@ pub mod application_gateways { } } pub mod network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1292,7 +1292,7 @@ pub mod network_interfaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1368,7 +1368,7 @@ pub mod network_interfaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkInterface), @@ -1443,7 +1443,7 @@ pub mod network_interfaces { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1505,7 +1505,7 @@ pub mod network_interfaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1575,7 +1575,7 @@ pub mod network_interfaces { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1638,7 +1638,7 @@ pub mod network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1710,7 +1710,7 @@ pub mod network_interfaces { } } pub mod get_effective_route_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveRouteListResult), @@ -1787,7 +1787,7 @@ pub mod network_interfaces { } } pub mod list_effective_network_security_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveNetworkSecurityGroupListResult), @@ -1858,7 +1858,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_vm_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1929,7 +1929,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1999,7 +1999,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_network_interface { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2070,7 +2070,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_ip_configurations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2141,7 +2141,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_ip_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2162,7 +2162,7 @@ pub mod network_interfaces { } } pub mod network_interface_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2209,7 +2209,7 @@ pub mod network_interface_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2276,7 +2276,7 @@ pub mod network_interface_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2297,7 +2297,7 @@ pub mod network_interface_ip_configurations { } } pub mod network_interface_load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2344,7 +2344,7 @@ pub mod network_interface_load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2365,7 +2365,7 @@ pub mod network_interface_load_balancers { } } pub mod load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2416,7 +2416,7 @@ pub mod load_balancers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2492,7 +2492,7 @@ pub mod load_balancers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoadBalancer), @@ -2567,7 +2567,7 @@ pub mod load_balancers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2629,7 +2629,7 @@ pub mod load_balancers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2699,7 +2699,7 @@ pub mod load_balancers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2762,7 +2762,7 @@ pub mod load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2783,7 +2783,7 @@ pub mod load_balancers { } } pub mod load_balancer_backend_address_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2830,7 +2830,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2897,7 +2897,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2918,7 +2918,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod load_balancer_frontend_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2965,7 +2965,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3032,7 +3032,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3053,7 +3053,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod inbound_nat_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3100,7 +3100,7 @@ pub mod inbound_nat_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3171,7 +3171,7 @@ pub mod inbound_nat_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3249,7 +3249,7 @@ pub mod inbound_nat_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(InboundNatRule), @@ -3318,7 +3318,7 @@ pub mod inbound_nat_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -3345,7 +3345,7 @@ pub mod inbound_nat_rules { } } pub mod load_balancer_load_balancing_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3392,7 +3392,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3459,7 +3459,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3480,7 +3480,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod load_balancer_network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3527,7 +3527,7 @@ pub mod load_balancer_network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3548,7 +3548,7 @@ pub mod load_balancer_network_interfaces { } } pub mod load_balancer_probes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3595,7 +3595,7 @@ pub mod load_balancer_probes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3662,7 +3662,7 @@ pub mod load_balancer_probes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3683,7 +3683,7 @@ pub mod load_balancer_probes { } } pub mod virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3734,7 +3734,7 @@ pub mod virtual_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3810,7 +3810,7 @@ pub mod virtual_networks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetwork), @@ -3885,7 +3885,7 @@ pub mod virtual_networks { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3947,7 +3947,7 @@ pub mod virtual_networks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4017,7 +4017,7 @@ pub mod virtual_networks { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4080,7 +4080,7 @@ pub mod virtual_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4154,7 +4154,7 @@ pub mod virtual_networks { } } pub mod check_ip_address_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4222,7 +4222,7 @@ pub mod virtual_networks { } } pub mod list_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4243,7 +4243,7 @@ pub mod virtual_networks { } } pub mod subnets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4296,7 +4296,7 @@ pub mod subnets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4374,7 +4374,7 @@ pub mod subnets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Subnet), @@ -4443,7 +4443,7 @@ pub mod subnets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4514,7 +4514,7 @@ pub mod subnets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4535,7 +4535,7 @@ pub mod subnets { } } pub mod virtual_network_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4584,7 +4584,7 @@ pub mod virtual_network_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4662,7 +4662,7 @@ pub mod virtual_network_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkPeering), @@ -4731,7 +4731,7 @@ pub mod virtual_network_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4802,7 +4802,7 @@ pub mod virtual_network_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4823,7 +4823,7 @@ pub mod virtual_network_peerings { } } pub mod network_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4874,7 +4874,7 @@ pub mod network_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4950,7 +4950,7 @@ pub mod network_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkSecurityGroup), @@ -5025,7 +5025,7 @@ pub mod network_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5087,7 +5087,7 @@ pub mod network_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5157,7 +5157,7 @@ pub mod network_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5220,7 +5220,7 @@ pub mod network_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5241,7 +5241,7 @@ pub mod network_security_groups { } } pub mod security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5290,7 +5290,7 @@ pub mod security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5368,7 +5368,7 @@ pub mod security_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityRule), @@ -5437,7 +5437,7 @@ pub mod security_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -5508,7 +5508,7 @@ pub mod security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5529,7 +5529,7 @@ pub mod security_rules { } } pub mod default_security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5576,7 +5576,7 @@ pub mod default_security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5643,7 +5643,7 @@ pub mod default_security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5664,7 +5664,7 @@ pub mod default_security_rules { } } pub mod application_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5711,7 +5711,7 @@ pub mod application_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5787,7 +5787,7 @@ pub mod application_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationSecurityGroup), @@ -5854,7 +5854,7 @@ pub mod application_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -5924,7 +5924,7 @@ pub mod application_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5987,7 +5987,7 @@ pub mod application_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6008,7 +6008,7 @@ pub mod application_security_groups { } } pub mod route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6059,7 +6059,7 @@ pub mod route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6135,7 +6135,7 @@ pub mod route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteTable), @@ -6210,7 +6210,7 @@ pub mod route_tables { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6272,7 +6272,7 @@ pub mod route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -6341,7 +6341,7 @@ pub mod route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6405,7 +6405,7 @@ pub mod route_tables { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6426,7 +6426,7 @@ pub mod route_tables { } } pub mod routes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6475,7 +6475,7 @@ pub mod routes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6553,7 +6553,7 @@ pub mod routes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Route), @@ -6622,7 +6622,7 @@ pub mod routes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6693,7 +6693,7 @@ pub mod routes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6714,7 +6714,7 @@ pub mod routes { } } pub mod public_ip_addresses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6765,7 +6765,7 @@ pub mod public_ip_addresses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6841,7 +6841,7 @@ pub mod public_ip_addresses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpAddress), @@ -6916,7 +6916,7 @@ pub mod public_ip_addresses { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6978,7 +6978,7 @@ pub mod public_ip_addresses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -7048,7 +7048,7 @@ pub mod public_ip_addresses { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7111,7 +7111,7 @@ pub mod public_ip_addresses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7182,7 +7182,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7250,7 +7250,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_vm_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7322,7 +7322,7 @@ pub mod public_ip_addresses { } } pub mod get_virtual_machine_scale_set_public_ip_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7393,7 +7393,7 @@ pub async fn check_dns_name_availability( } } pub mod check_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7413,7 +7413,7 @@ pub mod check_dns_name_availability { } } pub mod ddos_protection_plans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7460,7 +7460,7 @@ pub mod ddos_protection_plans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7536,7 +7536,7 @@ pub mod ddos_protection_plans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DdosProtectionPlan), @@ -7603,7 +7603,7 @@ pub mod ddos_protection_plans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -7670,7 +7670,7 @@ pub mod ddos_protection_plans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7738,7 +7738,7 @@ pub mod ddos_protection_plans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7759,7 +7759,7 @@ pub mod ddos_protection_plans { } } pub mod available_endpoint_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -7804,7 +7804,7 @@ pub mod available_endpoint_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7825,7 +7825,7 @@ pub mod available_endpoint_services { } } pub mod express_route_circuit_authorizations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7874,7 +7874,7 @@ pub mod express_route_circuit_authorizations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7952,7 +7952,7 @@ pub mod express_route_circuit_authorizations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuitAuthorization), @@ -8021,7 +8021,7 @@ pub mod express_route_circuit_authorizations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8092,7 +8092,7 @@ pub mod express_route_circuit_authorizations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8113,7 +8113,7 @@ pub mod express_route_circuit_authorizations { } } pub mod express_route_circuit_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8162,7 +8162,7 @@ pub mod express_route_circuit_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8240,7 +8240,7 @@ pub mod express_route_circuit_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitPeering), @@ -8309,7 +8309,7 @@ pub mod express_route_circuit_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8380,7 +8380,7 @@ pub mod express_route_circuit_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8401,7 +8401,7 @@ pub mod express_route_circuit_peerings { } } pub mod express_route_circuit_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8452,7 +8452,7 @@ pub mod express_route_circuit_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8532,7 +8532,7 @@ pub mod express_route_circuit_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitConnection), @@ -8603,7 +8603,7 @@ pub mod express_route_circuit_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8630,7 +8630,7 @@ pub mod express_route_circuit_connections { } } pub mod express_route_circuits { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8677,7 +8677,7 @@ pub mod express_route_circuits { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8753,7 +8753,7 @@ pub mod express_route_circuits { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuit), @@ -8828,7 +8828,7 @@ pub mod express_route_circuits { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8890,7 +8890,7 @@ pub mod express_route_circuits { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -8970,7 +8970,7 @@ pub mod express_route_circuits { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -9049,7 +9049,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -9130,7 +9130,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableSummaryListResult), @@ -9203,7 +9203,7 @@ pub mod express_route_circuits { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9273,7 +9273,7 @@ pub mod express_route_circuits { } } pub mod get_peering_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9336,7 +9336,7 @@ pub mod express_route_circuits { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9400,7 +9400,7 @@ pub mod express_route_circuits { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9421,7 +9421,7 @@ pub mod express_route_circuits { } } pub mod express_route_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9464,7 +9464,7 @@ pub mod express_route_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9485,7 +9485,7 @@ pub mod express_route_service_providers { } } pub mod route_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9536,7 +9536,7 @@ pub mod route_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9612,7 +9612,7 @@ pub mod route_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilter), @@ -9684,7 +9684,7 @@ pub mod route_filters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9746,7 +9746,7 @@ pub mod route_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9820,7 +9820,7 @@ pub mod route_filters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9881,7 +9881,7 @@ pub mod route_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9902,7 +9902,7 @@ pub mod route_filters { } } pub mod route_filter_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9951,7 +9951,7 @@ pub mod route_filter_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10029,7 +10029,7 @@ pub mod route_filter_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilterRule), @@ -10103,7 +10103,7 @@ pub mod route_filter_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10167,7 +10167,7 @@ pub mod route_filter_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -10241,7 +10241,7 @@ pub mod route_filter_rules { } } pub mod list_by_route_filter { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10262,7 +10262,7 @@ pub mod route_filter_rules { } } pub mod express_route_cross_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10305,7 +10305,7 @@ pub mod express_route_cross_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10373,7 +10373,7 @@ pub mod express_route_cross_connections { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10438,7 +10438,7 @@ pub mod express_route_cross_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10508,7 +10508,7 @@ pub mod express_route_cross_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10578,7 +10578,7 @@ pub mod express_route_cross_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10652,7 +10652,7 @@ pub mod express_route_cross_connections { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -10725,7 +10725,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionsRoutesTableSummaryListResult), @@ -10804,7 +10804,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -10830,7 +10830,7 @@ pub mod express_route_cross_connections { } } pub mod express_route_cross_connection_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10877,7 +10877,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10944,7 +10944,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11022,7 +11022,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionPeering), @@ -11091,7 +11091,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11118,7 +11118,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod network_watchers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11165,7 +11165,7 @@ pub mod network_watchers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11241,7 +11241,7 @@ pub mod network_watchers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkWatcher), @@ -11316,7 +11316,7 @@ pub mod network_watchers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11377,7 +11377,7 @@ pub mod network_watchers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -11445,7 +11445,7 @@ pub mod network_watchers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11509,7 +11509,7 @@ pub mod network_watchers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11579,7 +11579,7 @@ pub mod network_watchers { } } pub mod get_topology { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11655,7 +11655,7 @@ pub mod network_watchers { } } pub mod verify_ip_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VerificationIpFlowResult), @@ -11736,7 +11736,7 @@ pub mod network_watchers { } } pub mod get_next_hop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NextHopResult), @@ -11819,7 +11819,7 @@ pub mod network_watchers { } } pub mod get_vm_security_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityGroupViewResult), @@ -11900,7 +11900,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -11983,7 +11983,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -12066,7 +12066,7 @@ pub mod network_watchers { } } pub mod set_flow_log_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -12147,7 +12147,7 @@ pub mod network_watchers { } } pub mod get_flow_log_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -12228,7 +12228,7 @@ pub mod network_watchers { } } pub mod check_connectivity { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectivityInformation), @@ -12311,7 +12311,7 @@ pub mod network_watchers { } } pub mod get_azure_reachability_report { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AzureReachabilityReport), @@ -12394,7 +12394,7 @@ pub mod network_watchers { } } pub mod list_available_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AvailableProvidersList), @@ -12420,7 +12420,7 @@ pub mod network_watchers { } } pub mod packet_captures { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12469,7 +12469,7 @@ pub mod packet_captures { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12538,7 +12538,7 @@ pub mod packet_captures { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12601,7 +12601,7 @@ pub mod packet_captures { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -12670,7 +12670,7 @@ pub mod packet_captures { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12752,7 +12752,7 @@ pub mod packet_captures { } } pub mod get_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PacketCaptureQueryStatusResult), @@ -12822,7 +12822,7 @@ pub mod packet_captures { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12843,7 +12843,7 @@ pub mod packet_captures { } } pub mod connection_monitors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12892,7 +12892,7 @@ pub mod connection_monitors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12970,7 +12970,7 @@ pub mod connection_monitors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorResult), @@ -13038,7 +13038,7 @@ pub mod connection_monitors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -13107,7 +13107,7 @@ pub mod connection_monitors { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13176,7 +13176,7 @@ pub mod connection_monitors { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13255,7 +13255,7 @@ pub mod connection_monitors { } } pub mod query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorQueryResult), @@ -13325,7 +13325,7 @@ pub mod connection_monitors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13346,7 +13346,7 @@ pub mod connection_monitors { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Network/operations", operation_config.base_path(),); @@ -13382,7 +13382,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13403,7 +13403,7 @@ pub mod operations { } } pub mod bgp_service_communities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -13446,7 +13446,7 @@ pub mod bgp_service_communities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13467,7 +13467,7 @@ pub mod bgp_service_communities { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -13512,7 +13512,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13533,7 +13533,7 @@ pub mod usages { } } pub mod virtual_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13580,7 +13580,7 @@ pub mod virtual_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13656,7 +13656,7 @@ pub mod virtual_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGateway), @@ -13731,7 +13731,7 @@ pub mod virtual_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13793,7 +13793,7 @@ pub mod virtual_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -13862,7 +13862,7 @@ pub mod virtual_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13930,7 +13930,7 @@ pub mod virtual_network_gateways { } } pub mod list_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14001,7 +14001,7 @@ pub mod virtual_network_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -14079,7 +14079,7 @@ pub mod virtual_network_gateways { } } pub mod generatevpnclientpackage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -14155,7 +14155,7 @@ pub mod virtual_network_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -14232,7 +14232,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpn_profile_package_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -14311,7 +14311,7 @@ pub mod virtual_network_gateways { } } pub mod get_bgp_peer_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BgpPeerStatusListResult), @@ -14387,7 +14387,7 @@ pub mod virtual_network_gateways { } } pub mod supported_vpn_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14457,7 +14457,7 @@ pub mod virtual_network_gateways { } } pub mod get_learned_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -14536,7 +14536,7 @@ pub mod virtual_network_gateways { } } pub mod get_advertised_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -14614,7 +14614,7 @@ pub mod virtual_network_gateways { } } pub mod set_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -14690,7 +14690,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14762,7 +14762,7 @@ pub mod virtual_network_gateways { } } pub mod vpn_device_configuration_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14783,7 +14783,7 @@ pub mod virtual_network_gateways { } } pub mod virtual_network_gateway_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14830,7 +14830,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14906,7 +14906,7 @@ pub mod virtual_network_gateway_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGatewayConnection), @@ -14981,7 +14981,7 @@ pub mod virtual_network_gateway_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15043,7 +15043,7 @@ pub mod virtual_network_gateway_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -15117,7 +15117,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15193,7 +15193,7 @@ pub mod virtual_network_gateway_connections { } } pub mod set_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ConnectionSharedKey), @@ -15261,7 +15261,7 @@ pub mod virtual_network_gateway_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15332,7 +15332,7 @@ pub mod virtual_network_gateway_connections { } } pub mod reset_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionResetSharedKey), @@ -15358,7 +15358,7 @@ pub mod virtual_network_gateway_connections { } } pub mod local_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15405,7 +15405,7 @@ pub mod local_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15481,7 +15481,7 @@ pub mod local_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LocalNetworkGateway), @@ -15556,7 +15556,7 @@ pub mod local_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15618,7 +15618,7 @@ pub mod local_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -15687,7 +15687,7 @@ pub mod local_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15708,7 +15708,7 @@ pub mod local_network_gateways { } } pub mod virtual_wa_ns { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15757,7 +15757,7 @@ pub mod virtual_wa_ns { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15838,7 +15838,7 @@ pub mod virtual_wa_ns { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualWan), @@ -15924,7 +15924,7 @@ pub mod virtual_wa_ns { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualWan), @@ -15996,7 +15996,7 @@ pub mod virtual_wa_ns { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -16075,7 +16075,7 @@ pub mod virtual_wa_ns { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16141,7 +16141,7 @@ pub mod virtual_wa_ns { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16165,7 +16165,7 @@ pub mod virtual_wa_ns { } } pub mod vpn_sites { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -16214,7 +16214,7 @@ pub mod vpn_sites { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16295,7 +16295,7 @@ pub mod vpn_sites { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnSite), @@ -16381,7 +16381,7 @@ pub mod vpn_sites { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnSite), @@ -16453,7 +16453,7 @@ pub mod vpn_sites { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -16532,7 +16532,7 @@ pub mod vpn_sites { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16598,7 +16598,7 @@ pub mod vpn_sites { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16622,7 +16622,7 @@ pub mod vpn_sites { } } pub mod vpn_sites_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn download( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -16672,7 +16672,7 @@ pub mod vpn_sites_configuration { } } pub mod download { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -16701,7 +16701,7 @@ pub mod vpn_sites_configuration { } } pub mod virtual_hubs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -16750,7 +16750,7 @@ pub mod virtual_hubs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16831,7 +16831,7 @@ pub mod virtual_hubs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHub), @@ -16917,7 +16917,7 @@ pub mod virtual_hubs { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHub), @@ -16989,7 +16989,7 @@ pub mod virtual_hubs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -17068,7 +17068,7 @@ pub mod virtual_hubs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17134,7 +17134,7 @@ pub mod virtual_hubs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17158,7 +17158,7 @@ pub mod virtual_hubs { } } pub mod hub_virtual_network_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -17209,7 +17209,7 @@ pub mod hub_virtual_network_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17279,7 +17279,7 @@ pub mod hub_virtual_network_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17303,7 +17303,7 @@ pub mod hub_virtual_network_connections { } } pub mod vpn_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -17352,7 +17352,7 @@ pub mod vpn_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17433,7 +17433,7 @@ pub mod vpn_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -17519,7 +17519,7 @@ pub mod vpn_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -17591,7 +17591,7 @@ pub mod vpn_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -17670,7 +17670,7 @@ pub mod vpn_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17736,7 +17736,7 @@ pub mod vpn_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17760,7 +17760,7 @@ pub mod vpn_gateways { } } pub mod vpn_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -17811,7 +17811,7 @@ pub mod vpn_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17894,7 +17894,7 @@ pub mod vpn_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnConnection), @@ -17968,7 +17968,7 @@ pub mod vpn_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -18047,7 +18047,7 @@ pub mod vpn_connections { } } pub mod list_by_vpn_gateway { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/network/src/package_2018_06/operations.rs b/services/mgmt/network/src/package_2018_06/operations.rs index 86c545d37a..0a07f1d61f 100644 --- a/services/mgmt/network/src/package_2018_06/operations.rs +++ b/services/mgmt/network/src/package_2018_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod azure_firewalls { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod azure_firewalls { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod azure_firewalls { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(AzureFirewall), @@ -194,7 +194,7 @@ pub mod azure_firewalls { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -263,7 +263,7 @@ pub mod azure_firewalls { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -327,7 +327,7 @@ pub mod azure_firewalls { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -348,7 +348,7 @@ pub mod azure_firewalls { } } pub mod application_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -395,7 +395,7 @@ pub mod application_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -471,7 +471,7 @@ pub mod application_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationGateway), @@ -546,7 +546,7 @@ pub mod application_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -608,7 +608,7 @@ pub mod application_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -677,7 +677,7 @@ pub mod application_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -741,7 +741,7 @@ pub mod application_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -803,7 +803,7 @@ pub mod application_gateways { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -870,7 +870,7 @@ pub mod application_gateways { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -949,7 +949,7 @@ pub mod application_gateways { } } pub mod backend_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealth), @@ -1020,7 +1020,7 @@ pub mod application_gateways { } } pub mod list_available_waf_rule_sets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1086,7 +1086,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_options { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1152,7 +1152,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_predefined_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1220,7 +1220,7 @@ pub mod application_gateways { } } pub mod get_ssl_predefined_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1241,7 +1241,7 @@ pub mod application_gateways { } } pub mod network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1292,7 +1292,7 @@ pub mod network_interfaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1368,7 +1368,7 @@ pub mod network_interfaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkInterface), @@ -1443,7 +1443,7 @@ pub mod network_interfaces { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1505,7 +1505,7 @@ pub mod network_interfaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1575,7 +1575,7 @@ pub mod network_interfaces { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1638,7 +1638,7 @@ pub mod network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1710,7 +1710,7 @@ pub mod network_interfaces { } } pub mod get_effective_route_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveRouteListResult), @@ -1787,7 +1787,7 @@ pub mod network_interfaces { } } pub mod list_effective_network_security_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveNetworkSecurityGroupListResult), @@ -1858,7 +1858,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_vm_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1929,7 +1929,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1999,7 +1999,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_network_interface { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2070,7 +2070,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_ip_configurations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2141,7 +2141,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_ip_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2162,7 +2162,7 @@ pub mod network_interfaces { } } pub mod network_interface_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2209,7 +2209,7 @@ pub mod network_interface_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2276,7 +2276,7 @@ pub mod network_interface_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2297,7 +2297,7 @@ pub mod network_interface_ip_configurations { } } pub mod network_interface_load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2344,7 +2344,7 @@ pub mod network_interface_load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2365,7 +2365,7 @@ pub mod network_interface_load_balancers { } } pub mod load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2416,7 +2416,7 @@ pub mod load_balancers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2492,7 +2492,7 @@ pub mod load_balancers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoadBalancer), @@ -2567,7 +2567,7 @@ pub mod load_balancers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2629,7 +2629,7 @@ pub mod load_balancers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2699,7 +2699,7 @@ pub mod load_balancers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2762,7 +2762,7 @@ pub mod load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2783,7 +2783,7 @@ pub mod load_balancers { } } pub mod load_balancer_backend_address_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2830,7 +2830,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2897,7 +2897,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2918,7 +2918,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod load_balancer_frontend_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2965,7 +2965,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3032,7 +3032,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3053,7 +3053,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod inbound_nat_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3100,7 +3100,7 @@ pub mod inbound_nat_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3171,7 +3171,7 @@ pub mod inbound_nat_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3249,7 +3249,7 @@ pub mod inbound_nat_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(InboundNatRule), @@ -3318,7 +3318,7 @@ pub mod inbound_nat_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -3345,7 +3345,7 @@ pub mod inbound_nat_rules { } } pub mod load_balancer_load_balancing_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3392,7 +3392,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3459,7 +3459,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3480,7 +3480,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod load_balancer_network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3527,7 +3527,7 @@ pub mod load_balancer_network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3548,7 +3548,7 @@ pub mod load_balancer_network_interfaces { } } pub mod load_balancer_probes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3595,7 +3595,7 @@ pub mod load_balancer_probes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3662,7 +3662,7 @@ pub mod load_balancer_probes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3683,7 +3683,7 @@ pub mod load_balancer_probes { } } pub mod virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3734,7 +3734,7 @@ pub mod virtual_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3810,7 +3810,7 @@ pub mod virtual_networks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetwork), @@ -3885,7 +3885,7 @@ pub mod virtual_networks { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3947,7 +3947,7 @@ pub mod virtual_networks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4017,7 +4017,7 @@ pub mod virtual_networks { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4080,7 +4080,7 @@ pub mod virtual_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4154,7 +4154,7 @@ pub mod virtual_networks { } } pub mod check_ip_address_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4222,7 +4222,7 @@ pub mod virtual_networks { } } pub mod list_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4243,7 +4243,7 @@ pub mod virtual_networks { } } pub mod subnets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4296,7 +4296,7 @@ pub mod subnets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4374,7 +4374,7 @@ pub mod subnets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Subnet), @@ -4443,7 +4443,7 @@ pub mod subnets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4514,7 +4514,7 @@ pub mod subnets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4535,7 +4535,7 @@ pub mod subnets { } } pub mod virtual_network_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4584,7 +4584,7 @@ pub mod virtual_network_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4662,7 +4662,7 @@ pub mod virtual_network_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkPeering), @@ -4731,7 +4731,7 @@ pub mod virtual_network_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4802,7 +4802,7 @@ pub mod virtual_network_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4823,7 +4823,7 @@ pub mod virtual_network_peerings { } } pub mod network_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4874,7 +4874,7 @@ pub mod network_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4950,7 +4950,7 @@ pub mod network_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkSecurityGroup), @@ -5025,7 +5025,7 @@ pub mod network_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5087,7 +5087,7 @@ pub mod network_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5157,7 +5157,7 @@ pub mod network_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5220,7 +5220,7 @@ pub mod network_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5241,7 +5241,7 @@ pub mod network_security_groups { } } pub mod security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5290,7 +5290,7 @@ pub mod security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5368,7 +5368,7 @@ pub mod security_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityRule), @@ -5437,7 +5437,7 @@ pub mod security_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -5508,7 +5508,7 @@ pub mod security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5529,7 +5529,7 @@ pub mod security_rules { } } pub mod default_security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5576,7 +5576,7 @@ pub mod default_security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5643,7 +5643,7 @@ pub mod default_security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5664,7 +5664,7 @@ pub mod default_security_rules { } } pub mod application_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5711,7 +5711,7 @@ pub mod application_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5787,7 +5787,7 @@ pub mod application_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationSecurityGroup), @@ -5854,7 +5854,7 @@ pub mod application_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -5924,7 +5924,7 @@ pub mod application_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5987,7 +5987,7 @@ pub mod application_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6008,7 +6008,7 @@ pub mod application_security_groups { } } pub mod route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6059,7 +6059,7 @@ pub mod route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6135,7 +6135,7 @@ pub mod route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteTable), @@ -6210,7 +6210,7 @@ pub mod route_tables { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6272,7 +6272,7 @@ pub mod route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -6341,7 +6341,7 @@ pub mod route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6405,7 +6405,7 @@ pub mod route_tables { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6426,7 +6426,7 @@ pub mod route_tables { } } pub mod routes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6475,7 +6475,7 @@ pub mod routes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6553,7 +6553,7 @@ pub mod routes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Route), @@ -6622,7 +6622,7 @@ pub mod routes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6693,7 +6693,7 @@ pub mod routes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6714,7 +6714,7 @@ pub mod routes { } } pub mod public_ip_addresses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6765,7 +6765,7 @@ pub mod public_ip_addresses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6841,7 +6841,7 @@ pub mod public_ip_addresses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpAddress), @@ -6916,7 +6916,7 @@ pub mod public_ip_addresses { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6978,7 +6978,7 @@ pub mod public_ip_addresses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -7048,7 +7048,7 @@ pub mod public_ip_addresses { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7111,7 +7111,7 @@ pub mod public_ip_addresses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7182,7 +7182,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7250,7 +7250,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_vm_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7322,7 +7322,7 @@ pub mod public_ip_addresses { } } pub mod get_virtual_machine_scale_set_public_ip_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7393,7 +7393,7 @@ pub async fn check_dns_name_availability( } } pub mod check_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7413,7 +7413,7 @@ pub mod check_dns_name_availability { } } pub mod ddos_protection_plans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7460,7 +7460,7 @@ pub mod ddos_protection_plans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7536,7 +7536,7 @@ pub mod ddos_protection_plans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DdosProtectionPlan), @@ -7603,7 +7603,7 @@ pub mod ddos_protection_plans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -7670,7 +7670,7 @@ pub mod ddos_protection_plans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7738,7 +7738,7 @@ pub mod ddos_protection_plans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7759,7 +7759,7 @@ pub mod ddos_protection_plans { } } pub mod available_endpoint_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -7804,7 +7804,7 @@ pub mod available_endpoint_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7825,7 +7825,7 @@ pub mod available_endpoint_services { } } pub mod express_route_circuit_authorizations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7874,7 +7874,7 @@ pub mod express_route_circuit_authorizations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7952,7 +7952,7 @@ pub mod express_route_circuit_authorizations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuitAuthorization), @@ -8021,7 +8021,7 @@ pub mod express_route_circuit_authorizations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8092,7 +8092,7 @@ pub mod express_route_circuit_authorizations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8113,7 +8113,7 @@ pub mod express_route_circuit_authorizations { } } pub mod express_route_circuit_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8162,7 +8162,7 @@ pub mod express_route_circuit_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8240,7 +8240,7 @@ pub mod express_route_circuit_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitPeering), @@ -8309,7 +8309,7 @@ pub mod express_route_circuit_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8380,7 +8380,7 @@ pub mod express_route_circuit_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8401,7 +8401,7 @@ pub mod express_route_circuit_peerings { } } pub mod express_route_circuit_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8452,7 +8452,7 @@ pub mod express_route_circuit_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8532,7 +8532,7 @@ pub mod express_route_circuit_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitConnection), @@ -8603,7 +8603,7 @@ pub mod express_route_circuit_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8630,7 +8630,7 @@ pub mod express_route_circuit_connections { } } pub mod express_route_circuits { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8677,7 +8677,7 @@ pub mod express_route_circuits { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8753,7 +8753,7 @@ pub mod express_route_circuits { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuit), @@ -8828,7 +8828,7 @@ pub mod express_route_circuits { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8890,7 +8890,7 @@ pub mod express_route_circuits { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -8970,7 +8970,7 @@ pub mod express_route_circuits { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -9049,7 +9049,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -9130,7 +9130,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableSummaryListResult), @@ -9203,7 +9203,7 @@ pub mod express_route_circuits { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9273,7 +9273,7 @@ pub mod express_route_circuits { } } pub mod get_peering_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9336,7 +9336,7 @@ pub mod express_route_circuits { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9400,7 +9400,7 @@ pub mod express_route_circuits { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9421,7 +9421,7 @@ pub mod express_route_circuits { } } pub mod express_route_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9464,7 +9464,7 @@ pub mod express_route_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9485,7 +9485,7 @@ pub mod express_route_service_providers { } } pub mod route_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9536,7 +9536,7 @@ pub mod route_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9612,7 +9612,7 @@ pub mod route_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilter), @@ -9684,7 +9684,7 @@ pub mod route_filters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9746,7 +9746,7 @@ pub mod route_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9820,7 +9820,7 @@ pub mod route_filters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9881,7 +9881,7 @@ pub mod route_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9902,7 +9902,7 @@ pub mod route_filters { } } pub mod route_filter_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9951,7 +9951,7 @@ pub mod route_filter_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10029,7 +10029,7 @@ pub mod route_filter_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilterRule), @@ -10103,7 +10103,7 @@ pub mod route_filter_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10167,7 +10167,7 @@ pub mod route_filter_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -10241,7 +10241,7 @@ pub mod route_filter_rules { } } pub mod list_by_route_filter { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10262,7 +10262,7 @@ pub mod route_filter_rules { } } pub mod express_route_cross_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10305,7 +10305,7 @@ pub mod express_route_cross_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10373,7 +10373,7 @@ pub mod express_route_cross_connections { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10438,7 +10438,7 @@ pub mod express_route_cross_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10508,7 +10508,7 @@ pub mod express_route_cross_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10578,7 +10578,7 @@ pub mod express_route_cross_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10652,7 +10652,7 @@ pub mod express_route_cross_connections { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -10725,7 +10725,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionsRoutesTableSummaryListResult), @@ -10804,7 +10804,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -10830,7 +10830,7 @@ pub mod express_route_cross_connections { } } pub mod express_route_cross_connection_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10877,7 +10877,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10944,7 +10944,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11022,7 +11022,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionPeering), @@ -11091,7 +11091,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11118,7 +11118,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod network_watchers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11167,7 +11167,7 @@ pub mod network_watchers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11248,7 +11248,7 @@ pub mod network_watchers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkWatcher), @@ -11328,7 +11328,7 @@ pub mod network_watchers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11394,7 +11394,7 @@ pub mod network_watchers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -11467,7 +11467,7 @@ pub mod network_watchers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11536,7 +11536,7 @@ pub mod network_watchers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11611,7 +11611,7 @@ pub mod network_watchers { } } pub mod get_topology { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11692,7 +11692,7 @@ pub mod network_watchers { } } pub mod verify_ip_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VerificationIpFlowResult), @@ -11778,7 +11778,7 @@ pub mod network_watchers { } } pub mod get_next_hop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NextHopResult), @@ -11866,7 +11866,7 @@ pub mod network_watchers { } } pub mod get_vm_security_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityGroupViewResult), @@ -11952,7 +11952,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -12040,7 +12040,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -12128,7 +12128,7 @@ pub mod network_watchers { } } pub mod set_flow_log_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -12214,7 +12214,7 @@ pub mod network_watchers { } } pub mod get_flow_log_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -12300,7 +12300,7 @@ pub mod network_watchers { } } pub mod check_connectivity { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectivityInformation), @@ -12388,7 +12388,7 @@ pub mod network_watchers { } } pub mod get_azure_reachability_report { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AzureReachabilityReport), @@ -12476,7 +12476,7 @@ pub mod network_watchers { } } pub mod list_available_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AvailableProvidersList), @@ -12564,7 +12564,7 @@ pub mod network_watchers { } } pub mod get_network_configuration_diagnostic { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkConfigurationDiagnosticResponse), @@ -12593,7 +12593,7 @@ pub mod network_watchers { } } pub mod packet_captures { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12644,7 +12644,7 @@ pub mod packet_captures { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12718,7 +12718,7 @@ pub mod packet_captures { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12786,7 +12786,7 @@ pub mod packet_captures { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -12860,7 +12860,7 @@ pub mod packet_captures { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12947,7 +12947,7 @@ pub mod packet_captures { } } pub mod get_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PacketCaptureQueryStatusResult), @@ -13022,7 +13022,7 @@ pub mod packet_captures { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13046,7 +13046,7 @@ pub mod packet_captures { } } pub mod connection_monitors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13097,7 +13097,7 @@ pub mod connection_monitors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13180,7 +13180,7 @@ pub mod connection_monitors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorResult), @@ -13253,7 +13253,7 @@ pub mod connection_monitors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -13327,7 +13327,7 @@ pub mod connection_monitors { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13401,7 +13401,7 @@ pub mod connection_monitors { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13485,7 +13485,7 @@ pub mod connection_monitors { } } pub mod query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorQueryResult), @@ -13560,7 +13560,7 @@ pub mod connection_monitors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13584,7 +13584,7 @@ pub mod connection_monitors { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Network/operations", operation_config.base_path(),); @@ -13620,7 +13620,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13641,7 +13641,7 @@ pub mod operations { } } pub mod bgp_service_communities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -13684,7 +13684,7 @@ pub mod bgp_service_communities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13705,7 +13705,7 @@ pub mod bgp_service_communities { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -13750,7 +13750,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13771,7 +13771,7 @@ pub mod usages { } } pub mod virtual_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13818,7 +13818,7 @@ pub mod virtual_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13894,7 +13894,7 @@ pub mod virtual_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGateway), @@ -13969,7 +13969,7 @@ pub mod virtual_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14031,7 +14031,7 @@ pub mod virtual_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -14100,7 +14100,7 @@ pub mod virtual_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14168,7 +14168,7 @@ pub mod virtual_network_gateways { } } pub mod list_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14239,7 +14239,7 @@ pub mod virtual_network_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -14311,7 +14311,7 @@ pub mod virtual_network_gateways { } } pub mod reset_vpn_client_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -14389,7 +14389,7 @@ pub mod virtual_network_gateways { } } pub mod generatevpnclientpackage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -14465,7 +14465,7 @@ pub mod virtual_network_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -14542,7 +14542,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpn_profile_package_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -14621,7 +14621,7 @@ pub mod virtual_network_gateways { } } pub mod get_bgp_peer_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BgpPeerStatusListResult), @@ -14697,7 +14697,7 @@ pub mod virtual_network_gateways { } } pub mod supported_vpn_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14767,7 +14767,7 @@ pub mod virtual_network_gateways { } } pub mod get_learned_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -14846,7 +14846,7 @@ pub mod virtual_network_gateways { } } pub mod get_advertised_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -14924,7 +14924,7 @@ pub mod virtual_network_gateways { } } pub mod set_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -15000,7 +15000,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15072,7 +15072,7 @@ pub mod virtual_network_gateways { } } pub mod vpn_device_configuration_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15093,7 +15093,7 @@ pub mod virtual_network_gateways { } } pub mod virtual_network_gateway_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15140,7 +15140,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15216,7 +15216,7 @@ pub mod virtual_network_gateway_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGatewayConnection), @@ -15291,7 +15291,7 @@ pub mod virtual_network_gateway_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15353,7 +15353,7 @@ pub mod virtual_network_gateway_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -15427,7 +15427,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15503,7 +15503,7 @@ pub mod virtual_network_gateway_connections { } } pub mod set_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ConnectionSharedKey), @@ -15571,7 +15571,7 @@ pub mod virtual_network_gateway_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15642,7 +15642,7 @@ pub mod virtual_network_gateway_connections { } } pub mod reset_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionResetSharedKey), @@ -15668,7 +15668,7 @@ pub mod virtual_network_gateway_connections { } } pub mod local_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15715,7 +15715,7 @@ pub mod local_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15791,7 +15791,7 @@ pub mod local_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LocalNetworkGateway), @@ -15866,7 +15866,7 @@ pub mod local_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15928,7 +15928,7 @@ pub mod local_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -15997,7 +15997,7 @@ pub mod local_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16018,7 +16018,7 @@ pub mod local_network_gateways { } } pub mod virtual_wa_ns { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16067,7 +16067,7 @@ pub mod virtual_wa_ns { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16148,7 +16148,7 @@ pub mod virtual_wa_ns { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualWan), @@ -16234,7 +16234,7 @@ pub mod virtual_wa_ns { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualWan), @@ -16306,7 +16306,7 @@ pub mod virtual_wa_ns { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -16385,7 +16385,7 @@ pub mod virtual_wa_ns { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16451,7 +16451,7 @@ pub mod virtual_wa_ns { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16475,7 +16475,7 @@ pub mod virtual_wa_ns { } } pub mod vpn_sites { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -16524,7 +16524,7 @@ pub mod vpn_sites { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16605,7 +16605,7 @@ pub mod vpn_sites { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnSite), @@ -16691,7 +16691,7 @@ pub mod vpn_sites { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnSite), @@ -16763,7 +16763,7 @@ pub mod vpn_sites { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -16842,7 +16842,7 @@ pub mod vpn_sites { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16908,7 +16908,7 @@ pub mod vpn_sites { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16932,7 +16932,7 @@ pub mod vpn_sites { } } pub mod vpn_sites_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn download( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -16982,7 +16982,7 @@ pub mod vpn_sites_configuration { } } pub mod download { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -17011,7 +17011,7 @@ pub mod vpn_sites_configuration { } } pub mod virtual_hubs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -17060,7 +17060,7 @@ pub mod virtual_hubs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17141,7 +17141,7 @@ pub mod virtual_hubs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHub), @@ -17227,7 +17227,7 @@ pub mod virtual_hubs { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHub), @@ -17299,7 +17299,7 @@ pub mod virtual_hubs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -17378,7 +17378,7 @@ pub mod virtual_hubs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17444,7 +17444,7 @@ pub mod virtual_hubs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17468,7 +17468,7 @@ pub mod virtual_hubs { } } pub mod hub_virtual_network_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -17519,7 +17519,7 @@ pub mod hub_virtual_network_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17589,7 +17589,7 @@ pub mod hub_virtual_network_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17613,7 +17613,7 @@ pub mod hub_virtual_network_connections { } } pub mod vpn_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -17662,7 +17662,7 @@ pub mod vpn_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17743,7 +17743,7 @@ pub mod vpn_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -17829,7 +17829,7 @@ pub mod vpn_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -17901,7 +17901,7 @@ pub mod vpn_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -17980,7 +17980,7 @@ pub mod vpn_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18046,7 +18046,7 @@ pub mod vpn_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18070,7 +18070,7 @@ pub mod vpn_gateways { } } pub mod vpn_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -18121,7 +18121,7 @@ pub mod vpn_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18204,7 +18204,7 @@ pub mod vpn_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnConnection), @@ -18278,7 +18278,7 @@ pub mod vpn_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -18357,7 +18357,7 @@ pub mod vpn_connections { } } pub mod list_by_vpn_gateway { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/network/src/package_2018_07/operations.rs b/services/mgmt/network/src/package_2018_07/operations.rs index 26f4588aef..3fbb5c05a3 100644 --- a/services/mgmt/network/src/package_2018_07/operations.rs +++ b/services/mgmt/network/src/package_2018_07/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod azure_firewalls { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod azure_firewalls { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod azure_firewalls { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(AzureFirewall), @@ -194,7 +194,7 @@ pub mod azure_firewalls { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -263,7 +263,7 @@ pub mod azure_firewalls { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -327,7 +327,7 @@ pub mod azure_firewalls { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -348,7 +348,7 @@ pub mod azure_firewalls { } } pub mod application_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -395,7 +395,7 @@ pub mod application_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -471,7 +471,7 @@ pub mod application_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationGateway), @@ -546,7 +546,7 @@ pub mod application_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -608,7 +608,7 @@ pub mod application_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -677,7 +677,7 @@ pub mod application_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -741,7 +741,7 @@ pub mod application_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -803,7 +803,7 @@ pub mod application_gateways { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -870,7 +870,7 @@ pub mod application_gateways { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -949,7 +949,7 @@ pub mod application_gateways { } } pub mod backend_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealth), @@ -1020,7 +1020,7 @@ pub mod application_gateways { } } pub mod list_available_waf_rule_sets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1086,7 +1086,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_options { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1152,7 +1152,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_predefined_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1220,7 +1220,7 @@ pub mod application_gateways { } } pub mod get_ssl_predefined_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1241,7 +1241,7 @@ pub mod application_gateways { } } pub mod network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1292,7 +1292,7 @@ pub mod network_interfaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1368,7 +1368,7 @@ pub mod network_interfaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkInterface), @@ -1443,7 +1443,7 @@ pub mod network_interfaces { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1505,7 +1505,7 @@ pub mod network_interfaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1575,7 +1575,7 @@ pub mod network_interfaces { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1638,7 +1638,7 @@ pub mod network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1710,7 +1710,7 @@ pub mod network_interfaces { } } pub mod get_effective_route_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveRouteListResult), @@ -1787,7 +1787,7 @@ pub mod network_interfaces { } } pub mod list_effective_network_security_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveNetworkSecurityGroupListResult), @@ -1858,7 +1858,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_vm_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1929,7 +1929,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1999,7 +1999,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_network_interface { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2070,7 +2070,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_ip_configurations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2141,7 +2141,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_ip_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2162,7 +2162,7 @@ pub mod network_interfaces { } } pub mod network_interface_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2209,7 +2209,7 @@ pub mod network_interface_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2276,7 +2276,7 @@ pub mod network_interface_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2297,7 +2297,7 @@ pub mod network_interface_ip_configurations { } } pub mod network_interface_load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2344,7 +2344,7 @@ pub mod network_interface_load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2365,7 +2365,7 @@ pub mod network_interface_load_balancers { } } pub mod load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2416,7 +2416,7 @@ pub mod load_balancers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2492,7 +2492,7 @@ pub mod load_balancers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoadBalancer), @@ -2567,7 +2567,7 @@ pub mod load_balancers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2629,7 +2629,7 @@ pub mod load_balancers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2699,7 +2699,7 @@ pub mod load_balancers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2762,7 +2762,7 @@ pub mod load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2783,7 +2783,7 @@ pub mod load_balancers { } } pub mod load_balancer_backend_address_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2830,7 +2830,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2897,7 +2897,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2918,7 +2918,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod load_balancer_frontend_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2965,7 +2965,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3032,7 +3032,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3053,7 +3053,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod inbound_nat_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3100,7 +3100,7 @@ pub mod inbound_nat_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3171,7 +3171,7 @@ pub mod inbound_nat_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3249,7 +3249,7 @@ pub mod inbound_nat_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(InboundNatRule), @@ -3318,7 +3318,7 @@ pub mod inbound_nat_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -3345,7 +3345,7 @@ pub mod inbound_nat_rules { } } pub mod load_balancer_load_balancing_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3392,7 +3392,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3459,7 +3459,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3480,7 +3480,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod load_balancer_network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3527,7 +3527,7 @@ pub mod load_balancer_network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3548,7 +3548,7 @@ pub mod load_balancer_network_interfaces { } } pub mod load_balancer_probes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3595,7 +3595,7 @@ pub mod load_balancer_probes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3662,7 +3662,7 @@ pub mod load_balancer_probes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3683,7 +3683,7 @@ pub mod load_balancer_probes { } } pub mod virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3734,7 +3734,7 @@ pub mod virtual_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3810,7 +3810,7 @@ pub mod virtual_networks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetwork), @@ -3885,7 +3885,7 @@ pub mod virtual_networks { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3947,7 +3947,7 @@ pub mod virtual_networks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4017,7 +4017,7 @@ pub mod virtual_networks { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4080,7 +4080,7 @@ pub mod virtual_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4154,7 +4154,7 @@ pub mod virtual_networks { } } pub mod check_ip_address_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4222,7 +4222,7 @@ pub mod virtual_networks { } } pub mod list_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4243,7 +4243,7 @@ pub mod virtual_networks { } } pub mod subnets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4296,7 +4296,7 @@ pub mod subnets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4374,7 +4374,7 @@ pub mod subnets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Subnet), @@ -4443,7 +4443,7 @@ pub mod subnets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4514,7 +4514,7 @@ pub mod subnets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4535,7 +4535,7 @@ pub mod subnets { } } pub mod virtual_network_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4584,7 +4584,7 @@ pub mod virtual_network_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4662,7 +4662,7 @@ pub mod virtual_network_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkPeering), @@ -4731,7 +4731,7 @@ pub mod virtual_network_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4802,7 +4802,7 @@ pub mod virtual_network_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4823,7 +4823,7 @@ pub mod virtual_network_peerings { } } pub mod network_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4874,7 +4874,7 @@ pub mod network_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4950,7 +4950,7 @@ pub mod network_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkSecurityGroup), @@ -5025,7 +5025,7 @@ pub mod network_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5087,7 +5087,7 @@ pub mod network_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5157,7 +5157,7 @@ pub mod network_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5220,7 +5220,7 @@ pub mod network_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5241,7 +5241,7 @@ pub mod network_security_groups { } } pub mod security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5290,7 +5290,7 @@ pub mod security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5368,7 +5368,7 @@ pub mod security_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityRule), @@ -5437,7 +5437,7 @@ pub mod security_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -5508,7 +5508,7 @@ pub mod security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5529,7 +5529,7 @@ pub mod security_rules { } } pub mod default_security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5576,7 +5576,7 @@ pub mod default_security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5643,7 +5643,7 @@ pub mod default_security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5664,7 +5664,7 @@ pub mod default_security_rules { } } pub mod application_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5711,7 +5711,7 @@ pub mod application_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5787,7 +5787,7 @@ pub mod application_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationSecurityGroup), @@ -5854,7 +5854,7 @@ pub mod application_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -5924,7 +5924,7 @@ pub mod application_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5987,7 +5987,7 @@ pub mod application_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6008,7 +6008,7 @@ pub mod application_security_groups { } } pub mod route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6059,7 +6059,7 @@ pub mod route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6135,7 +6135,7 @@ pub mod route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteTable), @@ -6210,7 +6210,7 @@ pub mod route_tables { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6272,7 +6272,7 @@ pub mod route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -6341,7 +6341,7 @@ pub mod route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6405,7 +6405,7 @@ pub mod route_tables { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6426,7 +6426,7 @@ pub mod route_tables { } } pub mod routes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6475,7 +6475,7 @@ pub mod routes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6553,7 +6553,7 @@ pub mod routes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Route), @@ -6622,7 +6622,7 @@ pub mod routes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6693,7 +6693,7 @@ pub mod routes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6714,7 +6714,7 @@ pub mod routes { } } pub mod service_endpoint_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6765,7 +6765,7 @@ pub mod service_endpoint_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6841,7 +6841,7 @@ pub mod service_endpoint_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ServiceEndpointPolicy), @@ -6913,7 +6913,7 @@ pub mod service_endpoint_policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6975,7 +6975,7 @@ pub mod service_endpoint_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7042,7 +7042,7 @@ pub mod service_endpoint_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7110,7 +7110,7 @@ pub mod service_endpoint_policies { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7131,7 +7131,7 @@ pub mod service_endpoint_policies { } } pub mod service_endpoint_policy_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7173,7 +7173,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7244,7 +7244,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServiceEndpointPolicyDefinition), @@ -7306,7 +7306,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -7382,7 +7382,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7403,7 +7403,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod public_ip_addresses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7454,7 +7454,7 @@ pub mod public_ip_addresses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7530,7 +7530,7 @@ pub mod public_ip_addresses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpAddress), @@ -7605,7 +7605,7 @@ pub mod public_ip_addresses { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7667,7 +7667,7 @@ pub mod public_ip_addresses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -7737,7 +7737,7 @@ pub mod public_ip_addresses { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7800,7 +7800,7 @@ pub mod public_ip_addresses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7871,7 +7871,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7939,7 +7939,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_vm_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8011,7 +8011,7 @@ pub mod public_ip_addresses { } } pub mod get_virtual_machine_scale_set_public_ip_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8082,7 +8082,7 @@ pub async fn check_dns_name_availability( } } pub mod check_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8102,7 +8102,7 @@ pub mod check_dns_name_availability { } } pub mod ddos_protection_plans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8149,7 +8149,7 @@ pub mod ddos_protection_plans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8225,7 +8225,7 @@ pub mod ddos_protection_plans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DdosProtectionPlan), @@ -8292,7 +8292,7 @@ pub mod ddos_protection_plans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -8359,7 +8359,7 @@ pub mod ddos_protection_plans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8427,7 +8427,7 @@ pub mod ddos_protection_plans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8448,7 +8448,7 @@ pub mod ddos_protection_plans { } } pub mod available_endpoint_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -8493,7 +8493,7 @@ pub mod available_endpoint_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8514,7 +8514,7 @@ pub mod available_endpoint_services { } } pub mod express_route_circuit_authorizations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8563,7 +8563,7 @@ pub mod express_route_circuit_authorizations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8641,7 +8641,7 @@ pub mod express_route_circuit_authorizations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuitAuthorization), @@ -8710,7 +8710,7 @@ pub mod express_route_circuit_authorizations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8781,7 +8781,7 @@ pub mod express_route_circuit_authorizations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8802,7 +8802,7 @@ pub mod express_route_circuit_authorizations { } } pub mod express_route_circuit_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8851,7 +8851,7 @@ pub mod express_route_circuit_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8929,7 +8929,7 @@ pub mod express_route_circuit_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitPeering), @@ -8998,7 +8998,7 @@ pub mod express_route_circuit_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9069,7 +9069,7 @@ pub mod express_route_circuit_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9090,7 +9090,7 @@ pub mod express_route_circuit_peerings { } } pub mod express_route_circuit_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9141,7 +9141,7 @@ pub mod express_route_circuit_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9221,7 +9221,7 @@ pub mod express_route_circuit_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitConnection), @@ -9292,7 +9292,7 @@ pub mod express_route_circuit_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9319,7 +9319,7 @@ pub mod express_route_circuit_connections { } } pub mod express_route_circuits { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9366,7 +9366,7 @@ pub mod express_route_circuits { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9442,7 +9442,7 @@ pub mod express_route_circuits { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuit), @@ -9517,7 +9517,7 @@ pub mod express_route_circuits { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9579,7 +9579,7 @@ pub mod express_route_circuits { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -9659,7 +9659,7 @@ pub mod express_route_circuits { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -9738,7 +9738,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -9819,7 +9819,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableSummaryListResult), @@ -9892,7 +9892,7 @@ pub mod express_route_circuits { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9962,7 +9962,7 @@ pub mod express_route_circuits { } } pub mod get_peering_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10025,7 +10025,7 @@ pub mod express_route_circuits { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10089,7 +10089,7 @@ pub mod express_route_circuits { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10110,7 +10110,7 @@ pub mod express_route_circuits { } } pub mod express_route_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10153,7 +10153,7 @@ pub mod express_route_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10174,7 +10174,7 @@ pub mod express_route_service_providers { } } pub mod route_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10225,7 +10225,7 @@ pub mod route_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10301,7 +10301,7 @@ pub mod route_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilter), @@ -10373,7 +10373,7 @@ pub mod route_filters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10435,7 +10435,7 @@ pub mod route_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -10509,7 +10509,7 @@ pub mod route_filters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10570,7 +10570,7 @@ pub mod route_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10591,7 +10591,7 @@ pub mod route_filters { } } pub mod route_filter_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10640,7 +10640,7 @@ pub mod route_filter_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10718,7 +10718,7 @@ pub mod route_filter_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilterRule), @@ -10792,7 +10792,7 @@ pub mod route_filter_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10856,7 +10856,7 @@ pub mod route_filter_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -10930,7 +10930,7 @@ pub mod route_filter_rules { } } pub mod list_by_route_filter { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10951,7 +10951,7 @@ pub mod route_filter_rules { } } pub mod express_route_cross_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10994,7 +10994,7 @@ pub mod express_route_cross_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11062,7 +11062,7 @@ pub mod express_route_cross_connections { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11127,7 +11127,7 @@ pub mod express_route_cross_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11197,7 +11197,7 @@ pub mod express_route_cross_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11267,7 +11267,7 @@ pub mod express_route_cross_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11341,7 +11341,7 @@ pub mod express_route_cross_connections { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -11414,7 +11414,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionsRoutesTableSummaryListResult), @@ -11493,7 +11493,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -11519,7 +11519,7 @@ pub mod express_route_cross_connections { } } pub mod express_route_cross_connection_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11566,7 +11566,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11633,7 +11633,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11711,7 +11711,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionPeering), @@ -11780,7 +11780,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11807,7 +11807,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod network_watchers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11856,7 +11856,7 @@ pub mod network_watchers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11937,7 +11937,7 @@ pub mod network_watchers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkWatcher), @@ -12017,7 +12017,7 @@ pub mod network_watchers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12083,7 +12083,7 @@ pub mod network_watchers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -12156,7 +12156,7 @@ pub mod network_watchers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12225,7 +12225,7 @@ pub mod network_watchers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12300,7 +12300,7 @@ pub mod network_watchers { } } pub mod get_topology { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12381,7 +12381,7 @@ pub mod network_watchers { } } pub mod verify_ip_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VerificationIpFlowResult), @@ -12467,7 +12467,7 @@ pub mod network_watchers { } } pub mod get_next_hop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NextHopResult), @@ -12555,7 +12555,7 @@ pub mod network_watchers { } } pub mod get_vm_security_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityGroupViewResult), @@ -12641,7 +12641,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -12729,7 +12729,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -12817,7 +12817,7 @@ pub mod network_watchers { } } pub mod set_flow_log_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -12903,7 +12903,7 @@ pub mod network_watchers { } } pub mod get_flow_log_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -12989,7 +12989,7 @@ pub mod network_watchers { } } pub mod check_connectivity { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectivityInformation), @@ -13077,7 +13077,7 @@ pub mod network_watchers { } } pub mod get_azure_reachability_report { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AzureReachabilityReport), @@ -13165,7 +13165,7 @@ pub mod network_watchers { } } pub mod list_available_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AvailableProvidersList), @@ -13253,7 +13253,7 @@ pub mod network_watchers { } } pub mod get_network_configuration_diagnostic { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkConfigurationDiagnosticResponse), @@ -13282,7 +13282,7 @@ pub mod network_watchers { } } pub mod packet_captures { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13333,7 +13333,7 @@ pub mod packet_captures { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13407,7 +13407,7 @@ pub mod packet_captures { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13475,7 +13475,7 @@ pub mod packet_captures { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -13549,7 +13549,7 @@ pub mod packet_captures { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13636,7 +13636,7 @@ pub mod packet_captures { } } pub mod get_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PacketCaptureQueryStatusResult), @@ -13711,7 +13711,7 @@ pub mod packet_captures { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13735,7 +13735,7 @@ pub mod packet_captures { } } pub mod connection_monitors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13786,7 +13786,7 @@ pub mod connection_monitors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13869,7 +13869,7 @@ pub mod connection_monitors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorResult), @@ -13942,7 +13942,7 @@ pub mod connection_monitors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -14016,7 +14016,7 @@ pub mod connection_monitors { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -14090,7 +14090,7 @@ pub mod connection_monitors { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -14174,7 +14174,7 @@ pub mod connection_monitors { } } pub mod query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorQueryResult), @@ -14249,7 +14249,7 @@ pub mod connection_monitors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14273,7 +14273,7 @@ pub mod connection_monitors { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Network/operations", operation_config.base_path(),); @@ -14309,7 +14309,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14330,7 +14330,7 @@ pub mod operations { } } pub mod public_ip_prefixes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14381,7 +14381,7 @@ pub mod public_ip_prefixes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14457,7 +14457,7 @@ pub mod public_ip_prefixes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpPrefix), @@ -14532,7 +14532,7 @@ pub mod public_ip_prefixes { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14594,7 +14594,7 @@ pub mod public_ip_prefixes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -14664,7 +14664,7 @@ pub mod public_ip_prefixes { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14727,7 +14727,7 @@ pub mod public_ip_prefixes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14748,7 +14748,7 @@ pub mod public_ip_prefixes { } } pub mod bgp_service_communities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -14791,7 +14791,7 @@ pub mod bgp_service_communities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14812,7 +14812,7 @@ pub mod bgp_service_communities { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -14857,7 +14857,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14878,7 +14878,7 @@ pub mod usages { } } pub mod virtual_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14925,7 +14925,7 @@ pub mod virtual_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15001,7 +15001,7 @@ pub mod virtual_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGateway), @@ -15076,7 +15076,7 @@ pub mod virtual_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15138,7 +15138,7 @@ pub mod virtual_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -15207,7 +15207,7 @@ pub mod virtual_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15275,7 +15275,7 @@ pub mod virtual_network_gateways { } } pub mod list_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15346,7 +15346,7 @@ pub mod virtual_network_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -15424,7 +15424,7 @@ pub mod virtual_network_gateways { } } pub mod generatevpnclientpackage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -15500,7 +15500,7 @@ pub mod virtual_network_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -15577,7 +15577,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpn_profile_package_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -15656,7 +15656,7 @@ pub mod virtual_network_gateways { } } pub mod get_bgp_peer_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BgpPeerStatusListResult), @@ -15732,7 +15732,7 @@ pub mod virtual_network_gateways { } } pub mod supported_vpn_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15802,7 +15802,7 @@ pub mod virtual_network_gateways { } } pub mod get_learned_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -15881,7 +15881,7 @@ pub mod virtual_network_gateways { } } pub mod get_advertised_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -15959,7 +15959,7 @@ pub mod virtual_network_gateways { } } pub mod set_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -16035,7 +16035,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16107,7 +16107,7 @@ pub mod virtual_network_gateways { } } pub mod vpn_device_configuration_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16128,7 +16128,7 @@ pub mod virtual_network_gateways { } } pub mod virtual_network_gateway_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16175,7 +16175,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16251,7 +16251,7 @@ pub mod virtual_network_gateway_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGatewayConnection), @@ -16326,7 +16326,7 @@ pub mod virtual_network_gateway_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16388,7 +16388,7 @@ pub mod virtual_network_gateway_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -16462,7 +16462,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16538,7 +16538,7 @@ pub mod virtual_network_gateway_connections { } } pub mod set_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ConnectionSharedKey), @@ -16606,7 +16606,7 @@ pub mod virtual_network_gateway_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16677,7 +16677,7 @@ pub mod virtual_network_gateway_connections { } } pub mod reset_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionResetSharedKey), @@ -16703,7 +16703,7 @@ pub mod virtual_network_gateway_connections { } } pub mod local_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16750,7 +16750,7 @@ pub mod local_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16826,7 +16826,7 @@ pub mod local_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LocalNetworkGateway), @@ -16901,7 +16901,7 @@ pub mod local_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16963,7 +16963,7 @@ pub mod local_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -17032,7 +17032,7 @@ pub mod local_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -17053,7 +17053,7 @@ pub mod local_network_gateways { } } pub mod virtual_wa_ns { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17102,7 +17102,7 @@ pub mod virtual_wa_ns { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17183,7 +17183,7 @@ pub mod virtual_wa_ns { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualWan), @@ -17269,7 +17269,7 @@ pub mod virtual_wa_ns { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualWan), @@ -17341,7 +17341,7 @@ pub mod virtual_wa_ns { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -17420,7 +17420,7 @@ pub mod virtual_wa_ns { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17486,7 +17486,7 @@ pub mod virtual_wa_ns { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17510,7 +17510,7 @@ pub mod virtual_wa_ns { } } pub mod vpn_sites { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -17559,7 +17559,7 @@ pub mod vpn_sites { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17640,7 +17640,7 @@ pub mod vpn_sites { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnSite), @@ -17726,7 +17726,7 @@ pub mod vpn_sites { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnSite), @@ -17798,7 +17798,7 @@ pub mod vpn_sites { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -17877,7 +17877,7 @@ pub mod vpn_sites { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17943,7 +17943,7 @@ pub mod vpn_sites { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17967,7 +17967,7 @@ pub mod vpn_sites { } } pub mod vpn_sites_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn download( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -18017,7 +18017,7 @@ pub mod vpn_sites_configuration { } } pub mod download { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -18046,7 +18046,7 @@ pub mod vpn_sites_configuration { } } pub mod virtual_hubs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -18095,7 +18095,7 @@ pub mod virtual_hubs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18176,7 +18176,7 @@ pub mod virtual_hubs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHub), @@ -18262,7 +18262,7 @@ pub mod virtual_hubs { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHub), @@ -18334,7 +18334,7 @@ pub mod virtual_hubs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -18413,7 +18413,7 @@ pub mod virtual_hubs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18479,7 +18479,7 @@ pub mod virtual_hubs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18503,7 +18503,7 @@ pub mod virtual_hubs { } } pub mod hub_virtual_network_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -18554,7 +18554,7 @@ pub mod hub_virtual_network_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18624,7 +18624,7 @@ pub mod hub_virtual_network_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18648,7 +18648,7 @@ pub mod hub_virtual_network_connections { } } pub mod vpn_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -18697,7 +18697,7 @@ pub mod vpn_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18778,7 +18778,7 @@ pub mod vpn_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -18864,7 +18864,7 @@ pub mod vpn_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -18936,7 +18936,7 @@ pub mod vpn_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -19015,7 +19015,7 @@ pub mod vpn_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19081,7 +19081,7 @@ pub mod vpn_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19105,7 +19105,7 @@ pub mod vpn_gateways { } } pub mod vpn_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -19156,7 +19156,7 @@ pub mod vpn_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19239,7 +19239,7 @@ pub mod vpn_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnConnection), @@ -19313,7 +19313,7 @@ pub mod vpn_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -19392,7 +19392,7 @@ pub mod vpn_connections { } } pub mod list_by_vpn_gateway { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/network/src/package_2018_08/operations.rs b/services/mgmt/network/src/package_2018_08/operations.rs index 024ee27e01..57247517f6 100644 --- a/services/mgmt/network/src/package_2018_08/operations.rs +++ b/services/mgmt/network/src/package_2018_08/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod application_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod application_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod application_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationGateway), @@ -202,7 +202,7 @@ pub mod application_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -264,7 +264,7 @@ pub mod application_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -333,7 +333,7 @@ pub mod application_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -397,7 +397,7 @@ pub mod application_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -459,7 +459,7 @@ pub mod application_gateways { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -526,7 +526,7 @@ pub mod application_gateways { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -605,7 +605,7 @@ pub mod application_gateways { } } pub mod backend_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealth), @@ -676,7 +676,7 @@ pub mod application_gateways { } } pub mod list_available_waf_rule_sets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -742,7 +742,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_options { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -808,7 +808,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_predefined_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -876,7 +876,7 @@ pub mod application_gateways { } } pub mod get_ssl_predefined_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -897,7 +897,7 @@ pub mod application_gateways { } } pub mod network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -948,7 +948,7 @@ pub mod network_interfaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1024,7 +1024,7 @@ pub mod network_interfaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkInterface), @@ -1099,7 +1099,7 @@ pub mod network_interfaces { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1161,7 +1161,7 @@ pub mod network_interfaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1231,7 +1231,7 @@ pub mod network_interfaces { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1294,7 +1294,7 @@ pub mod network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1366,7 +1366,7 @@ pub mod network_interfaces { } } pub mod get_effective_route_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveRouteListResult), @@ -1443,7 +1443,7 @@ pub mod network_interfaces { } } pub mod list_effective_network_security_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveNetworkSecurityGroupListResult), @@ -1514,7 +1514,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_vm_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1585,7 +1585,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1655,7 +1655,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_network_interface { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1726,7 +1726,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_ip_configurations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1797,7 +1797,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_ip_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1818,7 +1818,7 @@ pub mod network_interfaces { } } pub mod network_interface_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1865,7 +1865,7 @@ pub mod network_interface_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1932,7 +1932,7 @@ pub mod network_interface_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1953,7 +1953,7 @@ pub mod network_interface_ip_configurations { } } pub mod network_interface_load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2000,7 +2000,7 @@ pub mod network_interface_load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2021,7 +2021,7 @@ pub mod network_interface_load_balancers { } } pub mod network_interface_tap_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2070,7 +2070,7 @@ pub mod network_interface_tap_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2148,7 +2148,7 @@ pub mod network_interface_tap_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkInterfaceTapConfiguration), @@ -2217,7 +2217,7 @@ pub mod network_interface_tap_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2288,7 +2288,7 @@ pub mod network_interface_tap_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2309,7 +2309,7 @@ pub mod network_interface_tap_configurations { } } pub mod virtual_network_taps { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2356,7 +2356,7 @@ pub mod virtual_network_taps { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2432,7 +2432,7 @@ pub mod virtual_network_taps { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkTap), @@ -2507,7 +2507,7 @@ pub mod virtual_network_taps { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2569,7 +2569,7 @@ pub mod virtual_network_taps { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2639,7 +2639,7 @@ pub mod virtual_network_taps { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2707,7 +2707,7 @@ pub mod virtual_network_taps { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2728,7 +2728,7 @@ pub mod virtual_network_taps { } } pub mod load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2779,7 +2779,7 @@ pub mod load_balancers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2855,7 +2855,7 @@ pub mod load_balancers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoadBalancer), @@ -2930,7 +2930,7 @@ pub mod load_balancers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2992,7 +2992,7 @@ pub mod load_balancers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -3062,7 +3062,7 @@ pub mod load_balancers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3125,7 +3125,7 @@ pub mod load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3146,7 +3146,7 @@ pub mod load_balancers { } } pub mod load_balancer_backend_address_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3193,7 +3193,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3260,7 +3260,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3281,7 +3281,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod load_balancer_frontend_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3328,7 +3328,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3395,7 +3395,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3416,7 +3416,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod inbound_nat_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3463,7 +3463,7 @@ pub mod inbound_nat_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3534,7 +3534,7 @@ pub mod inbound_nat_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3612,7 +3612,7 @@ pub mod inbound_nat_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(InboundNatRule), @@ -3681,7 +3681,7 @@ pub mod inbound_nat_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -3708,7 +3708,7 @@ pub mod inbound_nat_rules { } } pub mod load_balancer_load_balancing_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3755,7 +3755,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3822,7 +3822,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3843,7 +3843,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod load_balancer_outbound_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3890,7 +3890,7 @@ pub mod load_balancer_outbound_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3957,7 +3957,7 @@ pub mod load_balancer_outbound_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3978,7 +3978,7 @@ pub mod load_balancer_outbound_rules { } } pub mod load_balancer_network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4025,7 +4025,7 @@ pub mod load_balancer_network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4046,7 +4046,7 @@ pub mod load_balancer_network_interfaces { } } pub mod load_balancer_probes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4093,7 +4093,7 @@ pub mod load_balancer_probes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4160,7 +4160,7 @@ pub mod load_balancer_probes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4181,7 +4181,7 @@ pub mod load_balancer_probes { } } pub mod virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4232,7 +4232,7 @@ pub mod virtual_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4308,7 +4308,7 @@ pub mod virtual_networks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetwork), @@ -4383,7 +4383,7 @@ pub mod virtual_networks { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4445,7 +4445,7 @@ pub mod virtual_networks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4515,7 +4515,7 @@ pub mod virtual_networks { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4578,7 +4578,7 @@ pub mod virtual_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4650,7 +4650,7 @@ pub mod virtual_networks { } } pub mod check_ip_address_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4718,7 +4718,7 @@ pub mod virtual_networks { } } pub mod list_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4739,7 +4739,7 @@ pub mod virtual_networks { } } pub mod subnets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4792,7 +4792,7 @@ pub mod subnets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4870,7 +4870,7 @@ pub mod subnets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Subnet), @@ -4939,7 +4939,7 @@ pub mod subnets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5010,7 +5010,7 @@ pub mod subnets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5031,7 +5031,7 @@ pub mod subnets { } } pub mod virtual_network_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5080,7 +5080,7 @@ pub mod virtual_network_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5158,7 +5158,7 @@ pub mod virtual_network_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkPeering), @@ -5227,7 +5227,7 @@ pub mod virtual_network_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5298,7 +5298,7 @@ pub mod virtual_network_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5319,7 +5319,7 @@ pub mod virtual_network_peerings { } } pub mod network_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5370,7 +5370,7 @@ pub mod network_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5446,7 +5446,7 @@ pub mod network_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkSecurityGroup), @@ -5521,7 +5521,7 @@ pub mod network_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5583,7 +5583,7 @@ pub mod network_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5653,7 +5653,7 @@ pub mod network_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5716,7 +5716,7 @@ pub mod network_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5737,7 +5737,7 @@ pub mod network_security_groups { } } pub mod security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5786,7 +5786,7 @@ pub mod security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5864,7 +5864,7 @@ pub mod security_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityRule), @@ -5933,7 +5933,7 @@ pub mod security_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -6004,7 +6004,7 @@ pub mod security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6025,7 +6025,7 @@ pub mod security_rules { } } pub mod default_security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6072,7 +6072,7 @@ pub mod default_security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6139,7 +6139,7 @@ pub mod default_security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6160,7 +6160,7 @@ pub mod default_security_rules { } } pub mod application_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6207,7 +6207,7 @@ pub mod application_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6283,7 +6283,7 @@ pub mod application_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationSecurityGroup), @@ -6350,7 +6350,7 @@ pub mod application_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -6420,7 +6420,7 @@ pub mod application_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6483,7 +6483,7 @@ pub mod application_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6504,7 +6504,7 @@ pub mod application_security_groups { } } pub mod route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6555,7 +6555,7 @@ pub mod route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6631,7 +6631,7 @@ pub mod route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteTable), @@ -6706,7 +6706,7 @@ pub mod route_tables { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6768,7 +6768,7 @@ pub mod route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -6837,7 +6837,7 @@ pub mod route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6901,7 +6901,7 @@ pub mod route_tables { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6922,7 +6922,7 @@ pub mod route_tables { } } pub mod routes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6971,7 +6971,7 @@ pub mod routes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7049,7 +7049,7 @@ pub mod routes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Route), @@ -7118,7 +7118,7 @@ pub mod routes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7189,7 +7189,7 @@ pub mod routes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7210,7 +7210,7 @@ pub mod routes { } } pub mod service_endpoint_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7261,7 +7261,7 @@ pub mod service_endpoint_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7337,7 +7337,7 @@ pub mod service_endpoint_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ServiceEndpointPolicy), @@ -7409,7 +7409,7 @@ pub mod service_endpoint_policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7471,7 +7471,7 @@ pub mod service_endpoint_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7538,7 +7538,7 @@ pub mod service_endpoint_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7606,7 +7606,7 @@ pub mod service_endpoint_policies { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7627,7 +7627,7 @@ pub mod service_endpoint_policies { } } pub mod service_endpoint_policy_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7669,7 +7669,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7740,7 +7740,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServiceEndpointPolicyDefinition), @@ -7802,7 +7802,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -7878,7 +7878,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7899,7 +7899,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod interface_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7950,7 +7950,7 @@ pub mod interface_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8026,7 +8026,7 @@ pub mod interface_endpoints { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(InterfaceEndpoint), @@ -8093,7 +8093,7 @@ pub mod interface_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8162,7 +8162,7 @@ pub mod interface_endpoints { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8226,7 +8226,7 @@ pub mod interface_endpoints { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8247,7 +8247,7 @@ pub mod interface_endpoints { } } pub mod network_profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8298,7 +8298,7 @@ pub mod network_profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8374,7 +8374,7 @@ pub mod network_profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkProfile), @@ -8449,7 +8449,7 @@ pub mod network_profiles { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8511,7 +8511,7 @@ pub mod network_profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -8581,7 +8581,7 @@ pub mod network_profiles { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8644,7 +8644,7 @@ pub mod network_profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8665,7 +8665,7 @@ pub mod network_profiles { } } pub mod public_ip_addresses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8716,7 +8716,7 @@ pub mod public_ip_addresses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8792,7 +8792,7 @@ pub mod public_ip_addresses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpAddress), @@ -8867,7 +8867,7 @@ pub mod public_ip_addresses { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8929,7 +8929,7 @@ pub mod public_ip_addresses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -8999,7 +8999,7 @@ pub mod public_ip_addresses { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9062,7 +9062,7 @@ pub mod public_ip_addresses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9133,7 +9133,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9201,7 +9201,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_vm_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9273,7 +9273,7 @@ pub mod public_ip_addresses { } } pub mod get_virtual_machine_scale_set_public_ip_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9294,7 +9294,7 @@ pub mod public_ip_addresses { } } pub mod available_delegations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -9339,7 +9339,7 @@ pub mod available_delegations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9360,7 +9360,7 @@ pub mod available_delegations { } } pub mod available_resource_group_delegations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -9407,7 +9407,7 @@ pub mod available_resource_group_delegations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9428,7 +9428,7 @@ pub mod available_resource_group_delegations { } } pub mod azure_firewalls { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9475,7 +9475,7 @@ pub mod azure_firewalls { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9551,7 +9551,7 @@ pub mod azure_firewalls { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(AzureFirewall), @@ -9618,7 +9618,7 @@ pub mod azure_firewalls { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9687,7 +9687,7 @@ pub mod azure_firewalls { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9751,7 +9751,7 @@ pub mod azure_firewalls { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9772,7 +9772,7 @@ pub mod azure_firewalls { } } pub mod azure_firewall_fqdn_tags { - use crate::models::*; + use super::{models, models::*}; pub async fn list_all( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9818,7 +9818,7 @@ pub mod azure_firewall_fqdn_tags { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9889,7 +9889,7 @@ pub async fn check_dns_name_availability( } } pub mod check_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9961,7 +9961,7 @@ pub async fn supported_security_providers( } } pub mod supported_security_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9984,7 +9984,7 @@ pub mod supported_security_providers { } } pub mod ddos_protection_plans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10031,7 +10031,7 @@ pub mod ddos_protection_plans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10107,7 +10107,7 @@ pub mod ddos_protection_plans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DdosProtectionPlan), @@ -10174,7 +10174,7 @@ pub mod ddos_protection_plans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -10241,7 +10241,7 @@ pub mod ddos_protection_plans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10309,7 +10309,7 @@ pub mod ddos_protection_plans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10330,7 +10330,7 @@ pub mod ddos_protection_plans { } } pub mod available_endpoint_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -10375,7 +10375,7 @@ pub mod available_endpoint_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10396,7 +10396,7 @@ pub mod available_endpoint_services { } } pub mod express_route_circuit_authorizations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10445,7 +10445,7 @@ pub mod express_route_circuit_authorizations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10523,7 +10523,7 @@ pub mod express_route_circuit_authorizations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuitAuthorization), @@ -10592,7 +10592,7 @@ pub mod express_route_circuit_authorizations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -10663,7 +10663,7 @@ pub mod express_route_circuit_authorizations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10684,7 +10684,7 @@ pub mod express_route_circuit_authorizations { } } pub mod express_route_circuit_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10733,7 +10733,7 @@ pub mod express_route_circuit_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10811,7 +10811,7 @@ pub mod express_route_circuit_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitPeering), @@ -10880,7 +10880,7 @@ pub mod express_route_circuit_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10951,7 +10951,7 @@ pub mod express_route_circuit_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10972,7 +10972,7 @@ pub mod express_route_circuit_peerings { } } pub mod express_route_circuit_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11023,7 +11023,7 @@ pub mod express_route_circuit_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11103,7 +11103,7 @@ pub mod express_route_circuit_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitConnection), @@ -11174,7 +11174,7 @@ pub mod express_route_circuit_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11201,7 +11201,7 @@ pub mod express_route_circuit_connections { } } pub mod express_route_circuits { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11248,7 +11248,7 @@ pub mod express_route_circuits { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11324,7 +11324,7 @@ pub mod express_route_circuits { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuit), @@ -11399,7 +11399,7 @@ pub mod express_route_circuits { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11461,7 +11461,7 @@ pub mod express_route_circuits { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -11541,7 +11541,7 @@ pub mod express_route_circuits { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -11620,7 +11620,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -11701,7 +11701,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableSummaryListResult), @@ -11774,7 +11774,7 @@ pub mod express_route_circuits { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11844,7 +11844,7 @@ pub mod express_route_circuits { } } pub mod get_peering_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11907,7 +11907,7 @@ pub mod express_route_circuits { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11971,7 +11971,7 @@ pub mod express_route_circuits { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11992,7 +11992,7 @@ pub mod express_route_circuits { } } pub mod express_route_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12035,7 +12035,7 @@ pub mod express_route_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12056,7 +12056,7 @@ pub mod express_route_service_providers { } } pub mod route_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12107,7 +12107,7 @@ pub mod route_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12183,7 +12183,7 @@ pub mod route_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilter), @@ -12255,7 +12255,7 @@ pub mod route_filters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12317,7 +12317,7 @@ pub mod route_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -12391,7 +12391,7 @@ pub mod route_filters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12452,7 +12452,7 @@ pub mod route_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12473,7 +12473,7 @@ pub mod route_filters { } } pub mod route_filter_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12522,7 +12522,7 @@ pub mod route_filter_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12600,7 +12600,7 @@ pub mod route_filter_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilterRule), @@ -12674,7 +12674,7 @@ pub mod route_filter_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12738,7 +12738,7 @@ pub mod route_filter_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -12812,7 +12812,7 @@ pub mod route_filter_rules { } } pub mod list_by_route_filter { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12833,7 +12833,7 @@ pub mod route_filter_rules { } } pub mod express_route_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12879,7 +12879,7 @@ pub mod express_route_gateways { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12947,7 +12947,7 @@ pub mod express_route_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13012,7 +13012,7 @@ pub mod express_route_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13088,7 +13088,7 @@ pub mod express_route_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteGateway), @@ -13155,7 +13155,7 @@ pub mod express_route_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -13182,7 +13182,7 @@ pub mod express_route_gateways { } } pub mod express_route_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13231,7 +13231,7 @@ pub mod express_route_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13309,7 +13309,7 @@ pub mod express_route_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteConnection), @@ -13378,7 +13378,7 @@ pub mod express_route_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -13449,7 +13449,7 @@ pub mod express_route_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13470,7 +13470,7 @@ pub mod express_route_connections { } } pub mod express_route_cross_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -13513,7 +13513,7 @@ pub mod express_route_cross_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13581,7 +13581,7 @@ pub mod express_route_cross_connections { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13646,7 +13646,7 @@ pub mod express_route_cross_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13716,7 +13716,7 @@ pub mod express_route_cross_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13786,7 +13786,7 @@ pub mod express_route_cross_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13860,7 +13860,7 @@ pub mod express_route_cross_connections { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -13933,7 +13933,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionsRoutesTableSummaryListResult), @@ -14012,7 +14012,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -14038,7 +14038,7 @@ pub mod express_route_cross_connections { } } pub mod express_route_cross_connection_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14085,7 +14085,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14152,7 +14152,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14230,7 +14230,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionPeering), @@ -14299,7 +14299,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -14326,7 +14326,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod express_route_ports_locations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -14369,7 +14369,7 @@ pub mod express_route_ports_locations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14432,7 +14432,7 @@ pub mod express_route_ports_locations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14453,7 +14453,7 @@ pub mod express_route_ports_locations { } } pub mod express_route_ports { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -14500,7 +14500,7 @@ pub mod express_route_ports { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14576,7 +14576,7 @@ pub mod express_route_ports { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRoutePort), @@ -14651,7 +14651,7 @@ pub mod express_route_ports { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14713,7 +14713,7 @@ pub mod express_route_ports { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -14787,7 +14787,7 @@ pub mod express_route_ports { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14848,7 +14848,7 @@ pub mod express_route_ports { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14869,7 +14869,7 @@ pub mod express_route_ports { } } pub mod express_route_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -14918,7 +14918,7 @@ pub mod express_route_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14983,7 +14983,7 @@ pub mod express_route_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15004,7 +15004,7 @@ pub mod express_route_links { } } pub mod network_watchers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15053,7 +15053,7 @@ pub mod network_watchers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15134,7 +15134,7 @@ pub mod network_watchers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkWatcher), @@ -15214,7 +15214,7 @@ pub mod network_watchers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15280,7 +15280,7 @@ pub mod network_watchers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -15353,7 +15353,7 @@ pub mod network_watchers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15422,7 +15422,7 @@ pub mod network_watchers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15497,7 +15497,7 @@ pub mod network_watchers { } } pub mod get_topology { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15578,7 +15578,7 @@ pub mod network_watchers { } } pub mod verify_ip_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VerificationIpFlowResult), @@ -15664,7 +15664,7 @@ pub mod network_watchers { } } pub mod get_next_hop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NextHopResult), @@ -15752,7 +15752,7 @@ pub mod network_watchers { } } pub mod get_vm_security_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityGroupViewResult), @@ -15838,7 +15838,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -15926,7 +15926,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -16014,7 +16014,7 @@ pub mod network_watchers { } } pub mod set_flow_log_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -16100,7 +16100,7 @@ pub mod network_watchers { } } pub mod get_flow_log_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -16186,7 +16186,7 @@ pub mod network_watchers { } } pub mod check_connectivity { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectivityInformation), @@ -16274,7 +16274,7 @@ pub mod network_watchers { } } pub mod get_azure_reachability_report { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AzureReachabilityReport), @@ -16362,7 +16362,7 @@ pub mod network_watchers { } } pub mod list_available_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AvailableProvidersList), @@ -16450,7 +16450,7 @@ pub mod network_watchers { } } pub mod get_network_configuration_diagnostic { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkConfigurationDiagnosticResponse), @@ -16479,7 +16479,7 @@ pub mod network_watchers { } } pub mod packet_captures { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16530,7 +16530,7 @@ pub mod packet_captures { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16604,7 +16604,7 @@ pub mod packet_captures { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16672,7 +16672,7 @@ pub mod packet_captures { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -16746,7 +16746,7 @@ pub mod packet_captures { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -16833,7 +16833,7 @@ pub mod packet_captures { } } pub mod get_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PacketCaptureQueryStatusResult), @@ -16908,7 +16908,7 @@ pub mod packet_captures { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16932,7 +16932,7 @@ pub mod packet_captures { } } pub mod connection_monitors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16983,7 +16983,7 @@ pub mod connection_monitors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17066,7 +17066,7 @@ pub mod connection_monitors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorResult), @@ -17139,7 +17139,7 @@ pub mod connection_monitors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -17213,7 +17213,7 @@ pub mod connection_monitors { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -17287,7 +17287,7 @@ pub mod connection_monitors { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -17371,7 +17371,7 @@ pub mod connection_monitors { } } pub mod query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorQueryResult), @@ -17446,7 +17446,7 @@ pub mod connection_monitors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17470,7 +17470,7 @@ pub mod connection_monitors { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Network/operations", operation_config.base_path(),); @@ -17506,7 +17506,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -17527,7 +17527,7 @@ pub mod operations { } } pub mod public_ip_prefixes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17578,7 +17578,7 @@ pub mod public_ip_prefixes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -17654,7 +17654,7 @@ pub mod public_ip_prefixes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpPrefix), @@ -17729,7 +17729,7 @@ pub mod public_ip_prefixes { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -17791,7 +17791,7 @@ pub mod public_ip_prefixes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -17861,7 +17861,7 @@ pub mod public_ip_prefixes { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -17924,7 +17924,7 @@ pub mod public_ip_prefixes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -17945,7 +17945,7 @@ pub mod public_ip_prefixes { } } pub mod bgp_service_communities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -17988,7 +17988,7 @@ pub mod bgp_service_communities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -18009,7 +18009,7 @@ pub mod bgp_service_communities { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -18054,7 +18054,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -18075,7 +18075,7 @@ pub mod usages { } } pub mod virtual_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18122,7 +18122,7 @@ pub mod virtual_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -18198,7 +18198,7 @@ pub mod virtual_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGateway), @@ -18273,7 +18273,7 @@ pub mod virtual_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -18335,7 +18335,7 @@ pub mod virtual_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -18404,7 +18404,7 @@ pub mod virtual_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -18472,7 +18472,7 @@ pub mod virtual_network_gateways { } } pub mod list_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -18543,7 +18543,7 @@ pub mod virtual_network_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -18615,7 +18615,7 @@ pub mod virtual_network_gateways { } } pub mod reset_vpn_client_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -18693,7 +18693,7 @@ pub mod virtual_network_gateways { } } pub mod generatevpnclientpackage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -18769,7 +18769,7 @@ pub mod virtual_network_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -18846,7 +18846,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpn_profile_package_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -18925,7 +18925,7 @@ pub mod virtual_network_gateways { } } pub mod get_bgp_peer_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BgpPeerStatusListResult), @@ -19001,7 +19001,7 @@ pub mod virtual_network_gateways { } } pub mod supported_vpn_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -19071,7 +19071,7 @@ pub mod virtual_network_gateways { } } pub mod get_learned_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -19150,7 +19150,7 @@ pub mod virtual_network_gateways { } } pub mod get_advertised_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -19228,7 +19228,7 @@ pub mod virtual_network_gateways { } } pub mod set_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -19304,7 +19304,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -19376,7 +19376,7 @@ pub mod virtual_network_gateways { } } pub mod vpn_device_configuration_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -19397,7 +19397,7 @@ pub mod virtual_network_gateways { } } pub mod virtual_network_gateway_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19444,7 +19444,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -19520,7 +19520,7 @@ pub mod virtual_network_gateway_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGatewayConnection), @@ -19595,7 +19595,7 @@ pub mod virtual_network_gateway_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -19657,7 +19657,7 @@ pub mod virtual_network_gateway_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -19731,7 +19731,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -19807,7 +19807,7 @@ pub mod virtual_network_gateway_connections { } } pub mod set_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ConnectionSharedKey), @@ -19875,7 +19875,7 @@ pub mod virtual_network_gateway_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -19946,7 +19946,7 @@ pub mod virtual_network_gateway_connections { } } pub mod reset_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionResetSharedKey), @@ -19972,7 +19972,7 @@ pub mod virtual_network_gateway_connections { } } pub mod local_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20019,7 +20019,7 @@ pub mod local_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -20095,7 +20095,7 @@ pub mod local_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LocalNetworkGateway), @@ -20170,7 +20170,7 @@ pub mod local_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -20232,7 +20232,7 @@ pub mod local_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -20301,7 +20301,7 @@ pub mod local_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -20322,7 +20322,7 @@ pub mod local_network_gateways { } } pub mod virtual_wans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20371,7 +20371,7 @@ pub mod virtual_wans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20452,7 +20452,7 @@ pub mod virtual_wans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualWan), @@ -20538,7 +20538,7 @@ pub mod virtual_wans { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualWan), @@ -20610,7 +20610,7 @@ pub mod virtual_wans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -20689,7 +20689,7 @@ pub mod virtual_wans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20755,7 +20755,7 @@ pub mod virtual_wans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20779,7 +20779,7 @@ pub mod virtual_wans { } } pub mod vpn_sites { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -20828,7 +20828,7 @@ pub mod vpn_sites { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20909,7 +20909,7 @@ pub mod vpn_sites { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnSite), @@ -20995,7 +20995,7 @@ pub mod vpn_sites { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnSite), @@ -21067,7 +21067,7 @@ pub mod vpn_sites { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -21146,7 +21146,7 @@ pub mod vpn_sites { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21212,7 +21212,7 @@ pub mod vpn_sites { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21236,7 +21236,7 @@ pub mod vpn_sites { } } pub mod vpn_sites_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn download( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -21286,7 +21286,7 @@ pub mod vpn_sites_configuration { } } pub mod download { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -21315,7 +21315,7 @@ pub mod vpn_sites_configuration { } } pub mod virtual_hubs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -21364,7 +21364,7 @@ pub mod virtual_hubs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21445,7 +21445,7 @@ pub mod virtual_hubs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHub), @@ -21531,7 +21531,7 @@ pub mod virtual_hubs { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHub), @@ -21603,7 +21603,7 @@ pub mod virtual_hubs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -21682,7 +21682,7 @@ pub mod virtual_hubs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21748,7 +21748,7 @@ pub mod virtual_hubs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21772,7 +21772,7 @@ pub mod virtual_hubs { } } pub mod hub_virtual_network_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -21823,7 +21823,7 @@ pub mod hub_virtual_network_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21893,7 +21893,7 @@ pub mod hub_virtual_network_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21917,7 +21917,7 @@ pub mod hub_virtual_network_connections { } } pub mod vpn_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -21966,7 +21966,7 @@ pub mod vpn_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22047,7 +22047,7 @@ pub mod vpn_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -22133,7 +22133,7 @@ pub mod vpn_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -22205,7 +22205,7 @@ pub mod vpn_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22284,7 +22284,7 @@ pub mod vpn_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22350,7 +22350,7 @@ pub mod vpn_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22374,7 +22374,7 @@ pub mod vpn_gateways { } } pub mod vpn_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -22425,7 +22425,7 @@ pub mod vpn_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22508,7 +22508,7 @@ pub mod vpn_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnConnection), @@ -22582,7 +22582,7 @@ pub mod vpn_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22661,7 +22661,7 @@ pub mod vpn_connections { } } pub mod list_by_vpn_gateway { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22685,7 +22685,7 @@ pub mod vpn_connections { } } pub mod p2s_vpn_server_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -22736,7 +22736,7 @@ pub mod p2s_vpn_server_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22819,7 +22819,7 @@ pub mod p2s_vpn_server_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnServerConfiguration), @@ -22893,7 +22893,7 @@ pub mod p2s_vpn_server_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22972,7 +22972,7 @@ pub mod p2s_vpn_server_configurations { } } pub mod list_by_virtual_wan { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22996,7 +22996,7 @@ pub mod p2s_vpn_server_configurations { } } pub mod p2s_vpn_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -23045,7 +23045,7 @@ pub mod p2s_vpn_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23126,7 +23126,7 @@ pub mod p2s_vpn_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -23212,7 +23212,7 @@ pub mod p2s_vpn_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -23284,7 +23284,7 @@ pub mod p2s_vpn_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23363,7 +23363,7 @@ pub mod p2s_vpn_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23429,7 +23429,7 @@ pub mod p2s_vpn_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23503,7 +23503,7 @@ pub mod p2s_vpn_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnProfileResponse), diff --git a/services/mgmt/network/src/package_2018_10/operations.rs b/services/mgmt/network/src/package_2018_10/operations.rs index dd647cba87..c74ed73aa4 100644 --- a/services/mgmt/network/src/package_2018_10/operations.rs +++ b/services/mgmt/network/src/package_2018_10/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod application_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod application_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod application_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationGateway), @@ -202,7 +202,7 @@ pub mod application_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -264,7 +264,7 @@ pub mod application_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -333,7 +333,7 @@ pub mod application_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -397,7 +397,7 @@ pub mod application_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -459,7 +459,7 @@ pub mod application_gateways { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -526,7 +526,7 @@ pub mod application_gateways { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -605,7 +605,7 @@ pub mod application_gateways { } } pub mod backend_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealth), @@ -676,7 +676,7 @@ pub mod application_gateways { } } pub mod list_available_waf_rule_sets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -742,7 +742,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_options { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -808,7 +808,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_predefined_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -876,7 +876,7 @@ pub mod application_gateways { } } pub mod get_ssl_predefined_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -897,7 +897,7 @@ pub mod application_gateways { } } pub mod network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -948,7 +948,7 @@ pub mod network_interfaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1024,7 +1024,7 @@ pub mod network_interfaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkInterface), @@ -1099,7 +1099,7 @@ pub mod network_interfaces { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1161,7 +1161,7 @@ pub mod network_interfaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1231,7 +1231,7 @@ pub mod network_interfaces { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1294,7 +1294,7 @@ pub mod network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1366,7 +1366,7 @@ pub mod network_interfaces { } } pub mod get_effective_route_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveRouteListResult), @@ -1443,7 +1443,7 @@ pub mod network_interfaces { } } pub mod list_effective_network_security_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveNetworkSecurityGroupListResult), @@ -1514,7 +1514,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_vm_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1585,7 +1585,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1655,7 +1655,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_network_interface { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1726,7 +1726,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_ip_configurations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1797,7 +1797,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_ip_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1818,7 +1818,7 @@ pub mod network_interfaces { } } pub mod network_interface_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1865,7 +1865,7 @@ pub mod network_interface_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1932,7 +1932,7 @@ pub mod network_interface_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1953,7 +1953,7 @@ pub mod network_interface_ip_configurations { } } pub mod network_interface_load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2000,7 +2000,7 @@ pub mod network_interface_load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2021,7 +2021,7 @@ pub mod network_interface_load_balancers { } } pub mod network_interface_tap_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2070,7 +2070,7 @@ pub mod network_interface_tap_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2148,7 +2148,7 @@ pub mod network_interface_tap_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkInterfaceTapConfiguration), @@ -2217,7 +2217,7 @@ pub mod network_interface_tap_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2288,7 +2288,7 @@ pub mod network_interface_tap_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2309,7 +2309,7 @@ pub mod network_interface_tap_configurations { } } pub mod virtual_network_taps { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2356,7 +2356,7 @@ pub mod virtual_network_taps { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2432,7 +2432,7 @@ pub mod virtual_network_taps { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkTap), @@ -2507,7 +2507,7 @@ pub mod virtual_network_taps { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2569,7 +2569,7 @@ pub mod virtual_network_taps { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2639,7 +2639,7 @@ pub mod virtual_network_taps { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2707,7 +2707,7 @@ pub mod virtual_network_taps { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2728,7 +2728,7 @@ pub mod virtual_network_taps { } } pub mod load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2779,7 +2779,7 @@ pub mod load_balancers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2855,7 +2855,7 @@ pub mod load_balancers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoadBalancer), @@ -2930,7 +2930,7 @@ pub mod load_balancers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2992,7 +2992,7 @@ pub mod load_balancers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -3062,7 +3062,7 @@ pub mod load_balancers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3125,7 +3125,7 @@ pub mod load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3146,7 +3146,7 @@ pub mod load_balancers { } } pub mod load_balancer_backend_address_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3193,7 +3193,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3260,7 +3260,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3281,7 +3281,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod load_balancer_frontend_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3328,7 +3328,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3395,7 +3395,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3416,7 +3416,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod inbound_nat_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3463,7 +3463,7 @@ pub mod inbound_nat_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3534,7 +3534,7 @@ pub mod inbound_nat_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3612,7 +3612,7 @@ pub mod inbound_nat_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(InboundNatRule), @@ -3681,7 +3681,7 @@ pub mod inbound_nat_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -3708,7 +3708,7 @@ pub mod inbound_nat_rules { } } pub mod load_balancer_load_balancing_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3755,7 +3755,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3822,7 +3822,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3843,7 +3843,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod load_balancer_outbound_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3890,7 +3890,7 @@ pub mod load_balancer_outbound_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3957,7 +3957,7 @@ pub mod load_balancer_outbound_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3978,7 +3978,7 @@ pub mod load_balancer_outbound_rules { } } pub mod load_balancer_network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4025,7 +4025,7 @@ pub mod load_balancer_network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4046,7 +4046,7 @@ pub mod load_balancer_network_interfaces { } } pub mod load_balancer_probes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4093,7 +4093,7 @@ pub mod load_balancer_probes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4160,7 +4160,7 @@ pub mod load_balancer_probes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4181,7 +4181,7 @@ pub mod load_balancer_probes { } } pub mod virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4232,7 +4232,7 @@ pub mod virtual_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4308,7 +4308,7 @@ pub mod virtual_networks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetwork), @@ -4383,7 +4383,7 @@ pub mod virtual_networks { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4445,7 +4445,7 @@ pub mod virtual_networks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4515,7 +4515,7 @@ pub mod virtual_networks { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4578,7 +4578,7 @@ pub mod virtual_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4650,7 +4650,7 @@ pub mod virtual_networks { } } pub mod check_ip_address_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4718,7 +4718,7 @@ pub mod virtual_networks { } } pub mod list_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4739,7 +4739,7 @@ pub mod virtual_networks { } } pub mod subnets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4792,7 +4792,7 @@ pub mod subnets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4870,7 +4870,7 @@ pub mod subnets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Subnet), @@ -4939,7 +4939,7 @@ pub mod subnets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5010,7 +5010,7 @@ pub mod subnets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5031,7 +5031,7 @@ pub mod subnets { } } pub mod virtual_network_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5080,7 +5080,7 @@ pub mod virtual_network_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5158,7 +5158,7 @@ pub mod virtual_network_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkPeering), @@ -5227,7 +5227,7 @@ pub mod virtual_network_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5298,7 +5298,7 @@ pub mod virtual_network_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5319,7 +5319,7 @@ pub mod virtual_network_peerings { } } pub mod network_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5370,7 +5370,7 @@ pub mod network_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5446,7 +5446,7 @@ pub mod network_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkSecurityGroup), @@ -5521,7 +5521,7 @@ pub mod network_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5583,7 +5583,7 @@ pub mod network_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5653,7 +5653,7 @@ pub mod network_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5716,7 +5716,7 @@ pub mod network_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5737,7 +5737,7 @@ pub mod network_security_groups { } } pub mod security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5786,7 +5786,7 @@ pub mod security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5864,7 +5864,7 @@ pub mod security_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityRule), @@ -5933,7 +5933,7 @@ pub mod security_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -6004,7 +6004,7 @@ pub mod security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6025,7 +6025,7 @@ pub mod security_rules { } } pub mod default_security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6072,7 +6072,7 @@ pub mod default_security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6139,7 +6139,7 @@ pub mod default_security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6160,7 +6160,7 @@ pub mod default_security_rules { } } pub mod application_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6207,7 +6207,7 @@ pub mod application_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6283,7 +6283,7 @@ pub mod application_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationSecurityGroup), @@ -6350,7 +6350,7 @@ pub mod application_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -6420,7 +6420,7 @@ pub mod application_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6483,7 +6483,7 @@ pub mod application_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6504,7 +6504,7 @@ pub mod application_security_groups { } } pub mod route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6555,7 +6555,7 @@ pub mod route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6631,7 +6631,7 @@ pub mod route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteTable), @@ -6706,7 +6706,7 @@ pub mod route_tables { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6768,7 +6768,7 @@ pub mod route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -6837,7 +6837,7 @@ pub mod route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6901,7 +6901,7 @@ pub mod route_tables { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6922,7 +6922,7 @@ pub mod route_tables { } } pub mod routes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6971,7 +6971,7 @@ pub mod routes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7049,7 +7049,7 @@ pub mod routes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Route), @@ -7118,7 +7118,7 @@ pub mod routes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7189,7 +7189,7 @@ pub mod routes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7210,7 +7210,7 @@ pub mod routes { } } pub mod service_endpoint_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7261,7 +7261,7 @@ pub mod service_endpoint_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7337,7 +7337,7 @@ pub mod service_endpoint_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ServiceEndpointPolicy), @@ -7409,7 +7409,7 @@ pub mod service_endpoint_policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7471,7 +7471,7 @@ pub mod service_endpoint_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7538,7 +7538,7 @@ pub mod service_endpoint_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7606,7 +7606,7 @@ pub mod service_endpoint_policies { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7627,7 +7627,7 @@ pub mod service_endpoint_policies { } } pub mod service_endpoint_policy_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7669,7 +7669,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7740,7 +7740,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServiceEndpointPolicyDefinition), @@ -7802,7 +7802,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -7878,7 +7878,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7899,7 +7899,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod interface_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7950,7 +7950,7 @@ pub mod interface_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8026,7 +8026,7 @@ pub mod interface_endpoints { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(InterfaceEndpoint), @@ -8093,7 +8093,7 @@ pub mod interface_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8162,7 +8162,7 @@ pub mod interface_endpoints { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8226,7 +8226,7 @@ pub mod interface_endpoints { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8247,7 +8247,7 @@ pub mod interface_endpoints { } } pub mod network_profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8298,7 +8298,7 @@ pub mod network_profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8374,7 +8374,7 @@ pub mod network_profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkProfile), @@ -8449,7 +8449,7 @@ pub mod network_profiles { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8511,7 +8511,7 @@ pub mod network_profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -8581,7 +8581,7 @@ pub mod network_profiles { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8644,7 +8644,7 @@ pub mod network_profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8665,7 +8665,7 @@ pub mod network_profiles { } } pub mod public_ip_addresses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8716,7 +8716,7 @@ pub mod public_ip_addresses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8792,7 +8792,7 @@ pub mod public_ip_addresses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpAddress), @@ -8867,7 +8867,7 @@ pub mod public_ip_addresses { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8929,7 +8929,7 @@ pub mod public_ip_addresses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -8999,7 +8999,7 @@ pub mod public_ip_addresses { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9062,7 +9062,7 @@ pub mod public_ip_addresses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9133,7 +9133,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9201,7 +9201,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_vm_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9273,7 +9273,7 @@ pub mod public_ip_addresses { } } pub mod get_virtual_machine_scale_set_public_ip_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9294,7 +9294,7 @@ pub mod public_ip_addresses { } } pub mod available_delegations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -9339,7 +9339,7 @@ pub mod available_delegations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9360,7 +9360,7 @@ pub mod available_delegations { } } pub mod available_resource_group_delegations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -9407,7 +9407,7 @@ pub mod available_resource_group_delegations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9428,7 +9428,7 @@ pub mod available_resource_group_delegations { } } pub mod azure_firewalls { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9475,7 +9475,7 @@ pub mod azure_firewalls { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9551,7 +9551,7 @@ pub mod azure_firewalls { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(AzureFirewall), @@ -9618,7 +9618,7 @@ pub mod azure_firewalls { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9687,7 +9687,7 @@ pub mod azure_firewalls { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9751,7 +9751,7 @@ pub mod azure_firewalls { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9772,7 +9772,7 @@ pub mod azure_firewalls { } } pub mod azure_firewall_fqdn_tags { - use crate::models::*; + use super::{models, models::*}; pub async fn list_all( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9818,7 +9818,7 @@ pub mod azure_firewall_fqdn_tags { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9889,7 +9889,7 @@ pub async fn check_dns_name_availability( } } pub mod check_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9961,7 +9961,7 @@ pub async fn supported_security_providers( } } pub mod supported_security_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9984,7 +9984,7 @@ pub mod supported_security_providers { } } pub mod ddos_protection_plans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10031,7 +10031,7 @@ pub mod ddos_protection_plans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10107,7 +10107,7 @@ pub mod ddos_protection_plans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DdosProtectionPlan), @@ -10174,7 +10174,7 @@ pub mod ddos_protection_plans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -10241,7 +10241,7 @@ pub mod ddos_protection_plans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10309,7 +10309,7 @@ pub mod ddos_protection_plans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10330,7 +10330,7 @@ pub mod ddos_protection_plans { } } pub mod available_endpoint_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -10375,7 +10375,7 @@ pub mod available_endpoint_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10396,7 +10396,7 @@ pub mod available_endpoint_services { } } pub mod express_route_circuit_authorizations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10445,7 +10445,7 @@ pub mod express_route_circuit_authorizations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10523,7 +10523,7 @@ pub mod express_route_circuit_authorizations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuitAuthorization), @@ -10592,7 +10592,7 @@ pub mod express_route_circuit_authorizations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -10663,7 +10663,7 @@ pub mod express_route_circuit_authorizations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10684,7 +10684,7 @@ pub mod express_route_circuit_authorizations { } } pub mod express_route_circuit_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10733,7 +10733,7 @@ pub mod express_route_circuit_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10811,7 +10811,7 @@ pub mod express_route_circuit_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitPeering), @@ -10880,7 +10880,7 @@ pub mod express_route_circuit_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10951,7 +10951,7 @@ pub mod express_route_circuit_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10972,7 +10972,7 @@ pub mod express_route_circuit_peerings { } } pub mod express_route_circuit_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11023,7 +11023,7 @@ pub mod express_route_circuit_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11103,7 +11103,7 @@ pub mod express_route_circuit_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitConnection), @@ -11174,7 +11174,7 @@ pub mod express_route_circuit_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11247,7 +11247,7 @@ pub mod express_route_circuit_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11268,7 +11268,7 @@ pub mod express_route_circuit_connections { } } pub mod express_route_circuits { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11315,7 +11315,7 @@ pub mod express_route_circuits { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11391,7 +11391,7 @@ pub mod express_route_circuits { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuit), @@ -11466,7 +11466,7 @@ pub mod express_route_circuits { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11528,7 +11528,7 @@ pub mod express_route_circuits { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -11608,7 +11608,7 @@ pub mod express_route_circuits { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -11687,7 +11687,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -11768,7 +11768,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableSummaryListResult), @@ -11841,7 +11841,7 @@ pub mod express_route_circuits { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11911,7 +11911,7 @@ pub mod express_route_circuits { } } pub mod get_peering_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11974,7 +11974,7 @@ pub mod express_route_circuits { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12038,7 +12038,7 @@ pub mod express_route_circuits { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12059,7 +12059,7 @@ pub mod express_route_circuits { } } pub mod express_route_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12102,7 +12102,7 @@ pub mod express_route_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12123,7 +12123,7 @@ pub mod express_route_service_providers { } } pub mod route_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12174,7 +12174,7 @@ pub mod route_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12250,7 +12250,7 @@ pub mod route_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilter), @@ -12322,7 +12322,7 @@ pub mod route_filters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12384,7 +12384,7 @@ pub mod route_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -12458,7 +12458,7 @@ pub mod route_filters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12519,7 +12519,7 @@ pub mod route_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12540,7 +12540,7 @@ pub mod route_filters { } } pub mod route_filter_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12589,7 +12589,7 @@ pub mod route_filter_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12667,7 +12667,7 @@ pub mod route_filter_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilterRule), @@ -12741,7 +12741,7 @@ pub mod route_filter_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12805,7 +12805,7 @@ pub mod route_filter_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -12879,7 +12879,7 @@ pub mod route_filter_rules { } } pub mod list_by_route_filter { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12900,7 +12900,7 @@ pub mod route_filter_rules { } } pub mod express_route_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12946,7 +12946,7 @@ pub mod express_route_gateways { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13014,7 +13014,7 @@ pub mod express_route_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13079,7 +13079,7 @@ pub mod express_route_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13155,7 +13155,7 @@ pub mod express_route_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteGateway), @@ -13222,7 +13222,7 @@ pub mod express_route_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -13249,7 +13249,7 @@ pub mod express_route_gateways { } } pub mod express_route_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13298,7 +13298,7 @@ pub mod express_route_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13376,7 +13376,7 @@ pub mod express_route_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteConnection), @@ -13445,7 +13445,7 @@ pub mod express_route_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -13516,7 +13516,7 @@ pub mod express_route_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13537,7 +13537,7 @@ pub mod express_route_connections { } } pub mod express_route_cross_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -13580,7 +13580,7 @@ pub mod express_route_cross_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13648,7 +13648,7 @@ pub mod express_route_cross_connections { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13713,7 +13713,7 @@ pub mod express_route_cross_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13783,7 +13783,7 @@ pub mod express_route_cross_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13853,7 +13853,7 @@ pub mod express_route_cross_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13927,7 +13927,7 @@ pub mod express_route_cross_connections { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -14000,7 +14000,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionsRoutesTableSummaryListResult), @@ -14079,7 +14079,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -14105,7 +14105,7 @@ pub mod express_route_cross_connections { } } pub mod express_route_cross_connection_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14152,7 +14152,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14219,7 +14219,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14297,7 +14297,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionPeering), @@ -14366,7 +14366,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -14393,7 +14393,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod express_route_ports_locations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -14436,7 +14436,7 @@ pub mod express_route_ports_locations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14499,7 +14499,7 @@ pub mod express_route_ports_locations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14520,7 +14520,7 @@ pub mod express_route_ports_locations { } } pub mod express_route_ports { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -14567,7 +14567,7 @@ pub mod express_route_ports { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14643,7 +14643,7 @@ pub mod express_route_ports { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRoutePort), @@ -14718,7 +14718,7 @@ pub mod express_route_ports { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14780,7 +14780,7 @@ pub mod express_route_ports { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -14854,7 +14854,7 @@ pub mod express_route_ports { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14915,7 +14915,7 @@ pub mod express_route_ports { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14936,7 +14936,7 @@ pub mod express_route_ports { } } pub mod express_route_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -14985,7 +14985,7 @@ pub mod express_route_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15050,7 +15050,7 @@ pub mod express_route_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15071,7 +15071,7 @@ pub mod express_route_links { } } pub mod network_watchers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15120,7 +15120,7 @@ pub mod network_watchers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15201,7 +15201,7 @@ pub mod network_watchers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkWatcher), @@ -15281,7 +15281,7 @@ pub mod network_watchers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15347,7 +15347,7 @@ pub mod network_watchers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -15420,7 +15420,7 @@ pub mod network_watchers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15489,7 +15489,7 @@ pub mod network_watchers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15564,7 +15564,7 @@ pub mod network_watchers { } } pub mod get_topology { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15645,7 +15645,7 @@ pub mod network_watchers { } } pub mod verify_ip_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VerificationIpFlowResult), @@ -15731,7 +15731,7 @@ pub mod network_watchers { } } pub mod get_next_hop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NextHopResult), @@ -15819,7 +15819,7 @@ pub mod network_watchers { } } pub mod get_vm_security_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityGroupViewResult), @@ -15905,7 +15905,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -15993,7 +15993,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -16081,7 +16081,7 @@ pub mod network_watchers { } } pub mod set_flow_log_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -16167,7 +16167,7 @@ pub mod network_watchers { } } pub mod get_flow_log_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -16253,7 +16253,7 @@ pub mod network_watchers { } } pub mod check_connectivity { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectivityInformation), @@ -16341,7 +16341,7 @@ pub mod network_watchers { } } pub mod get_azure_reachability_report { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AzureReachabilityReport), @@ -16429,7 +16429,7 @@ pub mod network_watchers { } } pub mod list_available_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AvailableProvidersList), @@ -16517,7 +16517,7 @@ pub mod network_watchers { } } pub mod get_network_configuration_diagnostic { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkConfigurationDiagnosticResponse), @@ -16546,7 +16546,7 @@ pub mod network_watchers { } } pub mod packet_captures { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16597,7 +16597,7 @@ pub mod packet_captures { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16671,7 +16671,7 @@ pub mod packet_captures { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16739,7 +16739,7 @@ pub mod packet_captures { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -16813,7 +16813,7 @@ pub mod packet_captures { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -16900,7 +16900,7 @@ pub mod packet_captures { } } pub mod get_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PacketCaptureQueryStatusResult), @@ -16975,7 +16975,7 @@ pub mod packet_captures { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16999,7 +16999,7 @@ pub mod packet_captures { } } pub mod connection_monitors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17050,7 +17050,7 @@ pub mod connection_monitors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17133,7 +17133,7 @@ pub mod connection_monitors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorResult), @@ -17206,7 +17206,7 @@ pub mod connection_monitors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -17280,7 +17280,7 @@ pub mod connection_monitors { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -17354,7 +17354,7 @@ pub mod connection_monitors { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -17438,7 +17438,7 @@ pub mod connection_monitors { } } pub mod query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorQueryResult), @@ -17513,7 +17513,7 @@ pub mod connection_monitors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17537,7 +17537,7 @@ pub mod connection_monitors { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Network/operations", operation_config.base_path(),); @@ -17573,7 +17573,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -17594,7 +17594,7 @@ pub mod operations { } } pub mod public_ip_prefixes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17645,7 +17645,7 @@ pub mod public_ip_prefixes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -17721,7 +17721,7 @@ pub mod public_ip_prefixes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpPrefix), @@ -17796,7 +17796,7 @@ pub mod public_ip_prefixes { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -17858,7 +17858,7 @@ pub mod public_ip_prefixes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -17928,7 +17928,7 @@ pub mod public_ip_prefixes { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -17991,7 +17991,7 @@ pub mod public_ip_prefixes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -18012,7 +18012,7 @@ pub mod public_ip_prefixes { } } pub mod bgp_service_communities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -18055,7 +18055,7 @@ pub mod bgp_service_communities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -18076,7 +18076,7 @@ pub mod bgp_service_communities { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -18121,7 +18121,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -18142,7 +18142,7 @@ pub mod usages { } } pub mod virtual_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18189,7 +18189,7 @@ pub mod virtual_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -18265,7 +18265,7 @@ pub mod virtual_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGateway), @@ -18340,7 +18340,7 @@ pub mod virtual_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -18402,7 +18402,7 @@ pub mod virtual_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -18471,7 +18471,7 @@ pub mod virtual_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -18539,7 +18539,7 @@ pub mod virtual_network_gateways { } } pub mod list_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -18610,7 +18610,7 @@ pub mod virtual_network_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -18682,7 +18682,7 @@ pub mod virtual_network_gateways { } } pub mod reset_vpn_client_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -18760,7 +18760,7 @@ pub mod virtual_network_gateways { } } pub mod generatevpnclientpackage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -18836,7 +18836,7 @@ pub mod virtual_network_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -18913,7 +18913,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpn_profile_package_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -18992,7 +18992,7 @@ pub mod virtual_network_gateways { } } pub mod get_bgp_peer_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BgpPeerStatusListResult), @@ -19068,7 +19068,7 @@ pub mod virtual_network_gateways { } } pub mod supported_vpn_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -19138,7 +19138,7 @@ pub mod virtual_network_gateways { } } pub mod get_learned_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -19217,7 +19217,7 @@ pub mod virtual_network_gateways { } } pub mod get_advertised_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -19295,7 +19295,7 @@ pub mod virtual_network_gateways { } } pub mod set_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -19371,7 +19371,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -19443,7 +19443,7 @@ pub mod virtual_network_gateways { } } pub mod vpn_device_configuration_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -19464,7 +19464,7 @@ pub mod virtual_network_gateways { } } pub mod virtual_network_gateway_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19511,7 +19511,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -19587,7 +19587,7 @@ pub mod virtual_network_gateway_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGatewayConnection), @@ -19662,7 +19662,7 @@ pub mod virtual_network_gateway_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -19724,7 +19724,7 @@ pub mod virtual_network_gateway_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -19798,7 +19798,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -19874,7 +19874,7 @@ pub mod virtual_network_gateway_connections { } } pub mod set_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ConnectionSharedKey), @@ -19942,7 +19942,7 @@ pub mod virtual_network_gateway_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -20013,7 +20013,7 @@ pub mod virtual_network_gateway_connections { } } pub mod reset_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionResetSharedKey), @@ -20039,7 +20039,7 @@ pub mod virtual_network_gateway_connections { } } pub mod local_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20086,7 +20086,7 @@ pub mod local_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -20162,7 +20162,7 @@ pub mod local_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LocalNetworkGateway), @@ -20237,7 +20237,7 @@ pub mod local_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -20299,7 +20299,7 @@ pub mod local_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -20368,7 +20368,7 @@ pub mod local_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -20389,7 +20389,7 @@ pub mod local_network_gateways { } } pub mod virtual_wans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20438,7 +20438,7 @@ pub mod virtual_wans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20519,7 +20519,7 @@ pub mod virtual_wans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualWan), @@ -20605,7 +20605,7 @@ pub mod virtual_wans { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualWan), @@ -20677,7 +20677,7 @@ pub mod virtual_wans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -20756,7 +20756,7 @@ pub mod virtual_wans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20822,7 +20822,7 @@ pub mod virtual_wans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20846,7 +20846,7 @@ pub mod virtual_wans { } } pub mod vpn_sites { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -20895,7 +20895,7 @@ pub mod vpn_sites { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20976,7 +20976,7 @@ pub mod vpn_sites { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnSite), @@ -21062,7 +21062,7 @@ pub mod vpn_sites { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnSite), @@ -21134,7 +21134,7 @@ pub mod vpn_sites { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -21213,7 +21213,7 @@ pub mod vpn_sites { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21279,7 +21279,7 @@ pub mod vpn_sites { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21303,7 +21303,7 @@ pub mod vpn_sites { } } pub mod vpn_sites_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn download( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -21353,7 +21353,7 @@ pub mod vpn_sites_configuration { } } pub mod download { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -21382,7 +21382,7 @@ pub mod vpn_sites_configuration { } } pub mod virtual_hubs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -21431,7 +21431,7 @@ pub mod virtual_hubs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21512,7 +21512,7 @@ pub mod virtual_hubs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHub), @@ -21598,7 +21598,7 @@ pub mod virtual_hubs { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHub), @@ -21670,7 +21670,7 @@ pub mod virtual_hubs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -21749,7 +21749,7 @@ pub mod virtual_hubs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21815,7 +21815,7 @@ pub mod virtual_hubs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21839,7 +21839,7 @@ pub mod virtual_hubs { } } pub mod hub_virtual_network_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -21890,7 +21890,7 @@ pub mod hub_virtual_network_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21960,7 +21960,7 @@ pub mod hub_virtual_network_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21984,7 +21984,7 @@ pub mod hub_virtual_network_connections { } } pub mod vpn_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -22033,7 +22033,7 @@ pub mod vpn_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22114,7 +22114,7 @@ pub mod vpn_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -22200,7 +22200,7 @@ pub mod vpn_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -22272,7 +22272,7 @@ pub mod vpn_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22351,7 +22351,7 @@ pub mod vpn_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22417,7 +22417,7 @@ pub mod vpn_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22441,7 +22441,7 @@ pub mod vpn_gateways { } } pub mod vpn_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -22492,7 +22492,7 @@ pub mod vpn_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22575,7 +22575,7 @@ pub mod vpn_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnConnection), @@ -22649,7 +22649,7 @@ pub mod vpn_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22728,7 +22728,7 @@ pub mod vpn_connections { } } pub mod list_by_vpn_gateway { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22752,7 +22752,7 @@ pub mod vpn_connections { } } pub mod p2s_vpn_server_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -22803,7 +22803,7 @@ pub mod p2s_vpn_server_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22886,7 +22886,7 @@ pub mod p2s_vpn_server_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnServerConfiguration), @@ -22960,7 +22960,7 @@ pub mod p2s_vpn_server_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23039,7 +23039,7 @@ pub mod p2s_vpn_server_configurations { } } pub mod list_by_virtual_wan { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23063,7 +23063,7 @@ pub mod p2s_vpn_server_configurations { } } pub mod p2s_vpn_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -23112,7 +23112,7 @@ pub mod p2s_vpn_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23193,7 +23193,7 @@ pub mod p2s_vpn_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -23279,7 +23279,7 @@ pub mod p2s_vpn_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -23351,7 +23351,7 @@ pub mod p2s_vpn_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23430,7 +23430,7 @@ pub mod p2s_vpn_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23496,7 +23496,7 @@ pub mod p2s_vpn_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23570,7 +23570,7 @@ pub mod p2s_vpn_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnProfileResponse), diff --git a/services/mgmt/network/src/package_2018_11/operations.rs b/services/mgmt/network/src/package_2018_11/operations.rs index c23bafb13d..0f4c1fa7eb 100644 --- a/services/mgmt/network/src/package_2018_11/operations.rs +++ b/services/mgmt/network/src/package_2018_11/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod application_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod application_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod application_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationGateway), @@ -202,7 +202,7 @@ pub mod application_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -264,7 +264,7 @@ pub mod application_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -333,7 +333,7 @@ pub mod application_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -397,7 +397,7 @@ pub mod application_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -459,7 +459,7 @@ pub mod application_gateways { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -526,7 +526,7 @@ pub mod application_gateways { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -605,7 +605,7 @@ pub mod application_gateways { } } pub mod backend_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealth), @@ -678,7 +678,7 @@ pub mod application_gateways { } } pub mod list_available_server_variables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -749,7 +749,7 @@ pub mod application_gateways { } } pub mod list_available_request_headers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -820,7 +820,7 @@ pub mod application_gateways { } } pub mod list_available_response_headers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -889,7 +889,7 @@ pub mod application_gateways { } } pub mod list_available_waf_rule_sets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -955,7 +955,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_options { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1021,7 +1021,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_predefined_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1089,7 +1089,7 @@ pub mod application_gateways { } } pub mod get_ssl_predefined_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1110,7 +1110,7 @@ pub mod application_gateways { } } pub mod network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1161,7 +1161,7 @@ pub mod network_interfaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1237,7 +1237,7 @@ pub mod network_interfaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkInterface), @@ -1312,7 +1312,7 @@ pub mod network_interfaces { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1374,7 +1374,7 @@ pub mod network_interfaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1444,7 +1444,7 @@ pub mod network_interfaces { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1507,7 +1507,7 @@ pub mod network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1579,7 +1579,7 @@ pub mod network_interfaces { } } pub mod get_effective_route_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveRouteListResult), @@ -1656,7 +1656,7 @@ pub mod network_interfaces { } } pub mod list_effective_network_security_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveNetworkSecurityGroupListResult), @@ -1727,7 +1727,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_vm_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1798,7 +1798,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1868,7 +1868,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_network_interface { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1939,7 +1939,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_ip_configurations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2010,7 +2010,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_ip_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2031,7 +2031,7 @@ pub mod network_interfaces { } } pub mod network_interface_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2078,7 +2078,7 @@ pub mod network_interface_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2145,7 +2145,7 @@ pub mod network_interface_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2166,7 +2166,7 @@ pub mod network_interface_ip_configurations { } } pub mod network_interface_load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2213,7 +2213,7 @@ pub mod network_interface_load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2234,7 +2234,7 @@ pub mod network_interface_load_balancers { } } pub mod network_interface_tap_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2283,7 +2283,7 @@ pub mod network_interface_tap_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2361,7 +2361,7 @@ pub mod network_interface_tap_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkInterfaceTapConfiguration), @@ -2430,7 +2430,7 @@ pub mod network_interface_tap_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2501,7 +2501,7 @@ pub mod network_interface_tap_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2522,7 +2522,7 @@ pub mod network_interface_tap_configurations { } } pub mod virtual_network_taps { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2569,7 +2569,7 @@ pub mod virtual_network_taps { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2645,7 +2645,7 @@ pub mod virtual_network_taps { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkTap), @@ -2720,7 +2720,7 @@ pub mod virtual_network_taps { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2782,7 +2782,7 @@ pub mod virtual_network_taps { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2852,7 +2852,7 @@ pub mod virtual_network_taps { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2920,7 +2920,7 @@ pub mod virtual_network_taps { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2941,7 +2941,7 @@ pub mod virtual_network_taps { } } pub mod load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2992,7 +2992,7 @@ pub mod load_balancers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3068,7 +3068,7 @@ pub mod load_balancers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoadBalancer), @@ -3143,7 +3143,7 @@ pub mod load_balancers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3205,7 +3205,7 @@ pub mod load_balancers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -3275,7 +3275,7 @@ pub mod load_balancers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3338,7 +3338,7 @@ pub mod load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3359,7 +3359,7 @@ pub mod load_balancers { } } pub mod load_balancer_backend_address_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3406,7 +3406,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3473,7 +3473,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3494,7 +3494,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod load_balancer_frontend_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3541,7 +3541,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3608,7 +3608,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3629,7 +3629,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod inbound_nat_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3676,7 +3676,7 @@ pub mod inbound_nat_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3747,7 +3747,7 @@ pub mod inbound_nat_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3825,7 +3825,7 @@ pub mod inbound_nat_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(InboundNatRule), @@ -3894,7 +3894,7 @@ pub mod inbound_nat_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -3921,7 +3921,7 @@ pub mod inbound_nat_rules { } } pub mod load_balancer_load_balancing_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3968,7 +3968,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4035,7 +4035,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4056,7 +4056,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod load_balancer_outbound_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4103,7 +4103,7 @@ pub mod load_balancer_outbound_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4170,7 +4170,7 @@ pub mod load_balancer_outbound_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4191,7 +4191,7 @@ pub mod load_balancer_outbound_rules { } } pub mod load_balancer_network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4238,7 +4238,7 @@ pub mod load_balancer_network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4259,7 +4259,7 @@ pub mod load_balancer_network_interfaces { } } pub mod load_balancer_probes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4306,7 +4306,7 @@ pub mod load_balancer_probes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4373,7 +4373,7 @@ pub mod load_balancer_probes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4394,7 +4394,7 @@ pub mod load_balancer_probes { } } pub mod virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4445,7 +4445,7 @@ pub mod virtual_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4521,7 +4521,7 @@ pub mod virtual_networks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetwork), @@ -4596,7 +4596,7 @@ pub mod virtual_networks { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4658,7 +4658,7 @@ pub mod virtual_networks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4728,7 +4728,7 @@ pub mod virtual_networks { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4791,7 +4791,7 @@ pub mod virtual_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4863,7 +4863,7 @@ pub mod virtual_networks { } } pub mod check_ip_address_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4931,7 +4931,7 @@ pub mod virtual_networks { } } pub mod list_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4952,7 +4952,7 @@ pub mod virtual_networks { } } pub mod subnets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5005,7 +5005,7 @@ pub mod subnets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5083,7 +5083,7 @@ pub mod subnets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Subnet), @@ -5152,7 +5152,7 @@ pub mod subnets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5223,7 +5223,7 @@ pub mod subnets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5244,7 +5244,7 @@ pub mod subnets { } } pub mod virtual_network_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5293,7 +5293,7 @@ pub mod virtual_network_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5371,7 +5371,7 @@ pub mod virtual_network_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkPeering), @@ -5440,7 +5440,7 @@ pub mod virtual_network_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5511,7 +5511,7 @@ pub mod virtual_network_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5532,7 +5532,7 @@ pub mod virtual_network_peerings { } } pub mod network_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5583,7 +5583,7 @@ pub mod network_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5659,7 +5659,7 @@ pub mod network_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkSecurityGroup), @@ -5734,7 +5734,7 @@ pub mod network_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5796,7 +5796,7 @@ pub mod network_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5866,7 +5866,7 @@ pub mod network_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5929,7 +5929,7 @@ pub mod network_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5950,7 +5950,7 @@ pub mod network_security_groups { } } pub mod security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5999,7 +5999,7 @@ pub mod security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6077,7 +6077,7 @@ pub mod security_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityRule), @@ -6146,7 +6146,7 @@ pub mod security_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -6217,7 +6217,7 @@ pub mod security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6238,7 +6238,7 @@ pub mod security_rules { } } pub mod default_security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6285,7 +6285,7 @@ pub mod default_security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6352,7 +6352,7 @@ pub mod default_security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6373,7 +6373,7 @@ pub mod default_security_rules { } } pub mod application_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6420,7 +6420,7 @@ pub mod application_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6496,7 +6496,7 @@ pub mod application_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationSecurityGroup), @@ -6571,7 +6571,7 @@ pub mod application_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6633,7 +6633,7 @@ pub mod application_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -6703,7 +6703,7 @@ pub mod application_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6766,7 +6766,7 @@ pub mod application_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6787,7 +6787,7 @@ pub mod application_security_groups { } } pub mod route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6838,7 +6838,7 @@ pub mod route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6914,7 +6914,7 @@ pub mod route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteTable), @@ -6989,7 +6989,7 @@ pub mod route_tables { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7051,7 +7051,7 @@ pub mod route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -7120,7 +7120,7 @@ pub mod route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7184,7 +7184,7 @@ pub mod route_tables { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7205,7 +7205,7 @@ pub mod route_tables { } } pub mod routes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7254,7 +7254,7 @@ pub mod routes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7332,7 +7332,7 @@ pub mod routes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Route), @@ -7401,7 +7401,7 @@ pub mod routes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7472,7 +7472,7 @@ pub mod routes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7493,7 +7493,7 @@ pub mod routes { } } pub mod service_endpoint_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7544,7 +7544,7 @@ pub mod service_endpoint_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7620,7 +7620,7 @@ pub mod service_endpoint_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ServiceEndpointPolicy), @@ -7692,7 +7692,7 @@ pub mod service_endpoint_policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7754,7 +7754,7 @@ pub mod service_endpoint_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7821,7 +7821,7 @@ pub mod service_endpoint_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7889,7 +7889,7 @@ pub mod service_endpoint_policies { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7910,7 +7910,7 @@ pub mod service_endpoint_policies { } } pub mod service_endpoint_policy_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7952,7 +7952,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8023,7 +8023,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServiceEndpointPolicyDefinition), @@ -8085,7 +8085,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -8161,7 +8161,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8182,7 +8182,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod interface_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8233,7 +8233,7 @@ pub mod interface_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8309,7 +8309,7 @@ pub mod interface_endpoints { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(InterfaceEndpoint), @@ -8376,7 +8376,7 @@ pub mod interface_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8445,7 +8445,7 @@ pub mod interface_endpoints { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8509,7 +8509,7 @@ pub mod interface_endpoints { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8530,7 +8530,7 @@ pub mod interface_endpoints { } } pub mod network_profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8581,7 +8581,7 @@ pub mod network_profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8657,7 +8657,7 @@ pub mod network_profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkProfile), @@ -8732,7 +8732,7 @@ pub mod network_profiles { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8794,7 +8794,7 @@ pub mod network_profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -8864,7 +8864,7 @@ pub mod network_profiles { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8927,7 +8927,7 @@ pub mod network_profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8948,7 +8948,7 @@ pub mod network_profiles { } } pub mod public_ip_addresses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8999,7 +8999,7 @@ pub mod public_ip_addresses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9075,7 +9075,7 @@ pub mod public_ip_addresses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpAddress), @@ -9150,7 +9150,7 @@ pub mod public_ip_addresses { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9212,7 +9212,7 @@ pub mod public_ip_addresses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -9282,7 +9282,7 @@ pub mod public_ip_addresses { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9345,7 +9345,7 @@ pub mod public_ip_addresses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9416,7 +9416,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9484,7 +9484,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_vm_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9556,7 +9556,7 @@ pub mod public_ip_addresses { } } pub mod get_virtual_machine_scale_set_public_ip_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9577,7 +9577,7 @@ pub mod public_ip_addresses { } } pub mod available_delegations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -9622,7 +9622,7 @@ pub mod available_delegations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9643,7 +9643,7 @@ pub mod available_delegations { } } pub mod available_resource_group_delegations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -9690,7 +9690,7 @@ pub mod available_resource_group_delegations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9711,7 +9711,7 @@ pub mod available_resource_group_delegations { } } pub mod azure_firewalls { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9758,7 +9758,7 @@ pub mod azure_firewalls { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9834,7 +9834,7 @@ pub mod azure_firewalls { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(AzureFirewall), @@ -9901,7 +9901,7 @@ pub mod azure_firewalls { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9970,7 +9970,7 @@ pub mod azure_firewalls { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10034,7 +10034,7 @@ pub mod azure_firewalls { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10055,7 +10055,7 @@ pub mod azure_firewalls { } } pub mod azure_firewall_fqdn_tags { - use crate::models::*; + use super::{models, models::*}; pub async fn list_all( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10101,7 +10101,7 @@ pub mod azure_firewall_fqdn_tags { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10172,7 +10172,7 @@ pub async fn check_dns_name_availability( } } pub mod check_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10244,7 +10244,7 @@ pub async fn supported_security_providers( } } pub mod supported_security_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10267,7 +10267,7 @@ pub mod supported_security_providers { } } pub mod ddos_custom_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10316,7 +10316,7 @@ pub mod ddos_custom_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10397,7 +10397,7 @@ pub mod ddos_custom_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DdosCustomPolicy), @@ -10477,7 +10477,7 @@ pub mod ddos_custom_policies { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10544,7 +10544,7 @@ pub mod ddos_custom_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -10574,7 +10574,7 @@ pub mod ddos_custom_policies { } } pub mod ddos_protection_plans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10621,7 +10621,7 @@ pub mod ddos_protection_plans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10697,7 +10697,7 @@ pub mod ddos_protection_plans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DdosProtectionPlan), @@ -10772,7 +10772,7 @@ pub mod ddos_protection_plans { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10834,7 +10834,7 @@ pub mod ddos_protection_plans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -10901,7 +10901,7 @@ pub mod ddos_protection_plans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10969,7 +10969,7 @@ pub mod ddos_protection_plans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10990,7 +10990,7 @@ pub mod ddos_protection_plans { } } pub mod available_endpoint_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -11035,7 +11035,7 @@ pub mod available_endpoint_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11056,7 +11056,7 @@ pub mod available_endpoint_services { } } pub mod express_route_circuit_authorizations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11105,7 +11105,7 @@ pub mod express_route_circuit_authorizations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11183,7 +11183,7 @@ pub mod express_route_circuit_authorizations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuitAuthorization), @@ -11252,7 +11252,7 @@ pub mod express_route_circuit_authorizations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -11323,7 +11323,7 @@ pub mod express_route_circuit_authorizations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11344,7 +11344,7 @@ pub mod express_route_circuit_authorizations { } } pub mod express_route_circuit_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11393,7 +11393,7 @@ pub mod express_route_circuit_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11471,7 +11471,7 @@ pub mod express_route_circuit_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitPeering), @@ -11540,7 +11540,7 @@ pub mod express_route_circuit_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11611,7 +11611,7 @@ pub mod express_route_circuit_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11632,7 +11632,7 @@ pub mod express_route_circuit_peerings { } } pub mod express_route_circuit_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11683,7 +11683,7 @@ pub mod express_route_circuit_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11763,7 +11763,7 @@ pub mod express_route_circuit_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitConnection), @@ -11834,7 +11834,7 @@ pub mod express_route_circuit_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11907,7 +11907,7 @@ pub mod express_route_circuit_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11928,7 +11928,7 @@ pub mod express_route_circuit_connections { } } pub mod express_route_circuits { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11975,7 +11975,7 @@ pub mod express_route_circuits { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12051,7 +12051,7 @@ pub mod express_route_circuits { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuit), @@ -12126,7 +12126,7 @@ pub mod express_route_circuits { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12188,7 +12188,7 @@ pub mod express_route_circuits { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -12268,7 +12268,7 @@ pub mod express_route_circuits { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -12347,7 +12347,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -12428,7 +12428,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableSummaryListResult), @@ -12501,7 +12501,7 @@ pub mod express_route_circuits { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12571,7 +12571,7 @@ pub mod express_route_circuits { } } pub mod get_peering_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12634,7 +12634,7 @@ pub mod express_route_circuits { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12698,7 +12698,7 @@ pub mod express_route_circuits { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12719,7 +12719,7 @@ pub mod express_route_circuits { } } pub mod express_route_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12762,7 +12762,7 @@ pub mod express_route_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12783,7 +12783,7 @@ pub mod express_route_service_providers { } } pub mod route_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12834,7 +12834,7 @@ pub mod route_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12910,7 +12910,7 @@ pub mod route_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilter), @@ -12982,7 +12982,7 @@ pub mod route_filters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13044,7 +13044,7 @@ pub mod route_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -13118,7 +13118,7 @@ pub mod route_filters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13179,7 +13179,7 @@ pub mod route_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13200,7 +13200,7 @@ pub mod route_filters { } } pub mod route_filter_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13249,7 +13249,7 @@ pub mod route_filter_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13327,7 +13327,7 @@ pub mod route_filter_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilterRule), @@ -13401,7 +13401,7 @@ pub mod route_filter_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13465,7 +13465,7 @@ pub mod route_filter_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -13539,7 +13539,7 @@ pub mod route_filter_rules { } } pub mod list_by_route_filter { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13560,7 +13560,7 @@ pub mod route_filter_rules { } } pub mod express_route_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -13606,7 +13606,7 @@ pub mod express_route_gateways { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13674,7 +13674,7 @@ pub mod express_route_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13739,7 +13739,7 @@ pub mod express_route_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13815,7 +13815,7 @@ pub mod express_route_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteGateway), @@ -13882,7 +13882,7 @@ pub mod express_route_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -13909,7 +13909,7 @@ pub mod express_route_gateways { } } pub mod express_route_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13958,7 +13958,7 @@ pub mod express_route_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14036,7 +14036,7 @@ pub mod express_route_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteConnection), @@ -14105,7 +14105,7 @@ pub mod express_route_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -14176,7 +14176,7 @@ pub mod express_route_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14197,7 +14197,7 @@ pub mod express_route_connections { } } pub mod express_route_cross_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -14240,7 +14240,7 @@ pub mod express_route_cross_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14308,7 +14308,7 @@ pub mod express_route_cross_connections { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14373,7 +14373,7 @@ pub mod express_route_cross_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14443,7 +14443,7 @@ pub mod express_route_cross_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14513,7 +14513,7 @@ pub mod express_route_cross_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14587,7 +14587,7 @@ pub mod express_route_cross_connections { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -14660,7 +14660,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionsRoutesTableSummaryListResult), @@ -14739,7 +14739,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -14765,7 +14765,7 @@ pub mod express_route_cross_connections { } } pub mod express_route_cross_connection_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14812,7 +14812,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14879,7 +14879,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14957,7 +14957,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionPeering), @@ -15026,7 +15026,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -15053,7 +15053,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod express_route_ports_locations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -15096,7 +15096,7 @@ pub mod express_route_ports_locations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15159,7 +15159,7 @@ pub mod express_route_ports_locations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15180,7 +15180,7 @@ pub mod express_route_ports_locations { } } pub mod express_route_ports { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -15227,7 +15227,7 @@ pub mod express_route_ports { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15303,7 +15303,7 @@ pub mod express_route_ports { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRoutePort), @@ -15378,7 +15378,7 @@ pub mod express_route_ports { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15440,7 +15440,7 @@ pub mod express_route_ports { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -15514,7 +15514,7 @@ pub mod express_route_ports { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15575,7 +15575,7 @@ pub mod express_route_ports { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15596,7 +15596,7 @@ pub mod express_route_ports { } } pub mod express_route_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -15645,7 +15645,7 @@ pub mod express_route_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15710,7 +15710,7 @@ pub mod express_route_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15731,7 +15731,7 @@ pub mod express_route_links { } } pub mod network_watchers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15780,7 +15780,7 @@ pub mod network_watchers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15861,7 +15861,7 @@ pub mod network_watchers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkWatcher), @@ -15941,7 +15941,7 @@ pub mod network_watchers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16007,7 +16007,7 @@ pub mod network_watchers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -16080,7 +16080,7 @@ pub mod network_watchers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16149,7 +16149,7 @@ pub mod network_watchers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16224,7 +16224,7 @@ pub mod network_watchers { } } pub mod get_topology { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16305,7 +16305,7 @@ pub mod network_watchers { } } pub mod verify_ip_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VerificationIpFlowResult), @@ -16391,7 +16391,7 @@ pub mod network_watchers { } } pub mod get_next_hop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NextHopResult), @@ -16479,7 +16479,7 @@ pub mod network_watchers { } } pub mod get_vm_security_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityGroupViewResult), @@ -16565,7 +16565,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -16653,7 +16653,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -16741,7 +16741,7 @@ pub mod network_watchers { } } pub mod set_flow_log_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -16827,7 +16827,7 @@ pub mod network_watchers { } } pub mod get_flow_log_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -16913,7 +16913,7 @@ pub mod network_watchers { } } pub mod check_connectivity { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectivityInformation), @@ -17001,7 +17001,7 @@ pub mod network_watchers { } } pub mod get_azure_reachability_report { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AzureReachabilityReport), @@ -17089,7 +17089,7 @@ pub mod network_watchers { } } pub mod list_available_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AvailableProvidersList), @@ -17177,7 +17177,7 @@ pub mod network_watchers { } } pub mod get_network_configuration_diagnostic { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkConfigurationDiagnosticResponse), @@ -17206,7 +17206,7 @@ pub mod network_watchers { } } pub mod packet_captures { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17257,7 +17257,7 @@ pub mod packet_captures { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17331,7 +17331,7 @@ pub mod packet_captures { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17399,7 +17399,7 @@ pub mod packet_captures { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -17473,7 +17473,7 @@ pub mod packet_captures { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -17560,7 +17560,7 @@ pub mod packet_captures { } } pub mod get_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PacketCaptureQueryStatusResult), @@ -17635,7 +17635,7 @@ pub mod packet_captures { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17659,7 +17659,7 @@ pub mod packet_captures { } } pub mod connection_monitors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17710,7 +17710,7 @@ pub mod connection_monitors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17793,7 +17793,7 @@ pub mod connection_monitors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorResult), @@ -17866,7 +17866,7 @@ pub mod connection_monitors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -17940,7 +17940,7 @@ pub mod connection_monitors { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -18014,7 +18014,7 @@ pub mod connection_monitors { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -18098,7 +18098,7 @@ pub mod connection_monitors { } } pub mod query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorQueryResult), @@ -18173,7 +18173,7 @@ pub mod connection_monitors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18197,7 +18197,7 @@ pub mod connection_monitors { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Network/operations", operation_config.base_path(),); @@ -18233,7 +18233,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -18254,7 +18254,7 @@ pub mod operations { } } pub mod public_ip_prefixes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18305,7 +18305,7 @@ pub mod public_ip_prefixes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -18381,7 +18381,7 @@ pub mod public_ip_prefixes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpPrefix), @@ -18456,7 +18456,7 @@ pub mod public_ip_prefixes { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -18518,7 +18518,7 @@ pub mod public_ip_prefixes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -18588,7 +18588,7 @@ pub mod public_ip_prefixes { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -18651,7 +18651,7 @@ pub mod public_ip_prefixes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -18672,7 +18672,7 @@ pub mod public_ip_prefixes { } } pub mod bgp_service_communities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -18715,7 +18715,7 @@ pub mod bgp_service_communities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -18736,7 +18736,7 @@ pub mod bgp_service_communities { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -18781,7 +18781,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -18802,7 +18802,7 @@ pub mod usages { } } pub mod virtual_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18849,7 +18849,7 @@ pub mod virtual_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -18925,7 +18925,7 @@ pub mod virtual_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGateway), @@ -19000,7 +19000,7 @@ pub mod virtual_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -19062,7 +19062,7 @@ pub mod virtual_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -19131,7 +19131,7 @@ pub mod virtual_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -19199,7 +19199,7 @@ pub mod virtual_network_gateways { } } pub mod list_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -19270,7 +19270,7 @@ pub mod virtual_network_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -19342,7 +19342,7 @@ pub mod virtual_network_gateways { } } pub mod reset_vpn_client_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -19420,7 +19420,7 @@ pub mod virtual_network_gateways { } } pub mod generatevpnclientpackage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -19496,7 +19496,7 @@ pub mod virtual_network_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -19573,7 +19573,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpn_profile_package_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -19652,7 +19652,7 @@ pub mod virtual_network_gateways { } } pub mod get_bgp_peer_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BgpPeerStatusListResult), @@ -19728,7 +19728,7 @@ pub mod virtual_network_gateways { } } pub mod supported_vpn_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -19798,7 +19798,7 @@ pub mod virtual_network_gateways { } } pub mod get_learned_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -19877,7 +19877,7 @@ pub mod virtual_network_gateways { } } pub mod get_advertised_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -19955,7 +19955,7 @@ pub mod virtual_network_gateways { } } pub mod set_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -20031,7 +20031,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -20103,7 +20103,7 @@ pub mod virtual_network_gateways { } } pub mod vpn_device_configuration_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -20124,7 +20124,7 @@ pub mod virtual_network_gateways { } } pub mod virtual_network_gateway_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20171,7 +20171,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -20247,7 +20247,7 @@ pub mod virtual_network_gateway_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGatewayConnection), @@ -20322,7 +20322,7 @@ pub mod virtual_network_gateway_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -20384,7 +20384,7 @@ pub mod virtual_network_gateway_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -20458,7 +20458,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -20534,7 +20534,7 @@ pub mod virtual_network_gateway_connections { } } pub mod set_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ConnectionSharedKey), @@ -20602,7 +20602,7 @@ pub mod virtual_network_gateway_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -20673,7 +20673,7 @@ pub mod virtual_network_gateway_connections { } } pub mod reset_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionResetSharedKey), @@ -20699,7 +20699,7 @@ pub mod virtual_network_gateway_connections { } } pub mod local_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20746,7 +20746,7 @@ pub mod local_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -20822,7 +20822,7 @@ pub mod local_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LocalNetworkGateway), @@ -20897,7 +20897,7 @@ pub mod local_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -20959,7 +20959,7 @@ pub mod local_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -21028,7 +21028,7 @@ pub mod local_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -21049,7 +21049,7 @@ pub mod local_network_gateways { } } pub mod virtual_wans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -21098,7 +21098,7 @@ pub mod virtual_wans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21179,7 +21179,7 @@ pub mod virtual_wans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualWan), @@ -21265,7 +21265,7 @@ pub mod virtual_wans { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualWan), @@ -21337,7 +21337,7 @@ pub mod virtual_wans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -21416,7 +21416,7 @@ pub mod virtual_wans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21482,7 +21482,7 @@ pub mod virtual_wans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21506,7 +21506,7 @@ pub mod virtual_wans { } } pub mod vpn_sites { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -21555,7 +21555,7 @@ pub mod vpn_sites { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21636,7 +21636,7 @@ pub mod vpn_sites { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnSite), @@ -21722,7 +21722,7 @@ pub mod vpn_sites { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnSite), @@ -21794,7 +21794,7 @@ pub mod vpn_sites { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -21873,7 +21873,7 @@ pub mod vpn_sites { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21939,7 +21939,7 @@ pub mod vpn_sites { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21963,7 +21963,7 @@ pub mod vpn_sites { } } pub mod vpn_sites_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn download( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -22013,7 +22013,7 @@ pub mod vpn_sites_configuration { } } pub mod download { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22042,7 +22042,7 @@ pub mod vpn_sites_configuration { } } pub mod virtual_hubs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -22091,7 +22091,7 @@ pub mod virtual_hubs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22172,7 +22172,7 @@ pub mod virtual_hubs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHub), @@ -22258,7 +22258,7 @@ pub mod virtual_hubs { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHub), @@ -22330,7 +22330,7 @@ pub mod virtual_hubs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22409,7 +22409,7 @@ pub mod virtual_hubs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22475,7 +22475,7 @@ pub mod virtual_hubs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22499,7 +22499,7 @@ pub mod virtual_hubs { } } pub mod hub_virtual_network_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -22550,7 +22550,7 @@ pub mod hub_virtual_network_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22620,7 +22620,7 @@ pub mod hub_virtual_network_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22644,7 +22644,7 @@ pub mod hub_virtual_network_connections { } } pub mod vpn_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -22693,7 +22693,7 @@ pub mod vpn_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22774,7 +22774,7 @@ pub mod vpn_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -22860,7 +22860,7 @@ pub mod vpn_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -22932,7 +22932,7 @@ pub mod vpn_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23011,7 +23011,7 @@ pub mod vpn_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23077,7 +23077,7 @@ pub mod vpn_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23101,7 +23101,7 @@ pub mod vpn_gateways { } } pub mod vpn_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -23152,7 +23152,7 @@ pub mod vpn_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23235,7 +23235,7 @@ pub mod vpn_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnConnection), @@ -23309,7 +23309,7 @@ pub mod vpn_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23388,7 +23388,7 @@ pub mod vpn_connections { } } pub mod list_by_vpn_gateway { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23412,7 +23412,7 @@ pub mod vpn_connections { } } pub mod p2s_vpn_server_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -23463,7 +23463,7 @@ pub mod p2s_vpn_server_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23546,7 +23546,7 @@ pub mod p2s_vpn_server_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnServerConfiguration), @@ -23620,7 +23620,7 @@ pub mod p2s_vpn_server_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23699,7 +23699,7 @@ pub mod p2s_vpn_server_configurations { } } pub mod list_by_virtual_wan { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23723,7 +23723,7 @@ pub mod p2s_vpn_server_configurations { } } pub mod p2s_vpn_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -23772,7 +23772,7 @@ pub mod p2s_vpn_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23853,7 +23853,7 @@ pub mod p2s_vpn_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -23939,7 +23939,7 @@ pub mod p2s_vpn_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -24011,7 +24011,7 @@ pub mod p2s_vpn_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -24090,7 +24090,7 @@ pub mod p2s_vpn_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24156,7 +24156,7 @@ pub mod p2s_vpn_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24230,7 +24230,7 @@ pub mod p2s_vpn_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnProfileResponse), diff --git a/services/mgmt/network/src/package_2018_12/operations.rs b/services/mgmt/network/src/package_2018_12/operations.rs index 5ba034c3f6..c3cf7e9637 100644 --- a/services/mgmt/network/src/package_2018_12/operations.rs +++ b/services/mgmt/network/src/package_2018_12/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod application_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod application_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod application_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationGateway), @@ -202,7 +202,7 @@ pub mod application_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -264,7 +264,7 @@ pub mod application_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -333,7 +333,7 @@ pub mod application_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -397,7 +397,7 @@ pub mod application_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -459,7 +459,7 @@ pub mod application_gateways { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -526,7 +526,7 @@ pub mod application_gateways { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -605,7 +605,7 @@ pub mod application_gateways { } } pub mod backend_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealth), @@ -678,7 +678,7 @@ pub mod application_gateways { } } pub mod list_available_server_variables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -749,7 +749,7 @@ pub mod application_gateways { } } pub mod list_available_request_headers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -820,7 +820,7 @@ pub mod application_gateways { } } pub mod list_available_response_headers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -889,7 +889,7 @@ pub mod application_gateways { } } pub mod list_available_waf_rule_sets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -955,7 +955,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_options { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1021,7 +1021,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_predefined_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1089,7 +1089,7 @@ pub mod application_gateways { } } pub mod get_ssl_predefined_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1110,7 +1110,7 @@ pub mod application_gateways { } } pub mod network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1161,7 +1161,7 @@ pub mod network_interfaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1237,7 +1237,7 @@ pub mod network_interfaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkInterface), @@ -1312,7 +1312,7 @@ pub mod network_interfaces { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1374,7 +1374,7 @@ pub mod network_interfaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1444,7 +1444,7 @@ pub mod network_interfaces { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1507,7 +1507,7 @@ pub mod network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1579,7 +1579,7 @@ pub mod network_interfaces { } } pub mod get_effective_route_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveRouteListResult), @@ -1656,7 +1656,7 @@ pub mod network_interfaces { } } pub mod list_effective_network_security_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveNetworkSecurityGroupListResult), @@ -1727,7 +1727,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_vm_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1798,7 +1798,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1868,7 +1868,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_network_interface { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1939,7 +1939,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_ip_configurations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2010,7 +2010,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_ip_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2031,7 +2031,7 @@ pub mod network_interfaces { } } pub mod network_interface_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2078,7 +2078,7 @@ pub mod network_interface_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2145,7 +2145,7 @@ pub mod network_interface_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2166,7 +2166,7 @@ pub mod network_interface_ip_configurations { } } pub mod network_interface_load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2213,7 +2213,7 @@ pub mod network_interface_load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2234,7 +2234,7 @@ pub mod network_interface_load_balancers { } } pub mod network_interface_tap_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2283,7 +2283,7 @@ pub mod network_interface_tap_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2361,7 +2361,7 @@ pub mod network_interface_tap_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkInterfaceTapConfiguration), @@ -2430,7 +2430,7 @@ pub mod network_interface_tap_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2501,7 +2501,7 @@ pub mod network_interface_tap_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2522,7 +2522,7 @@ pub mod network_interface_tap_configurations { } } pub mod virtual_network_taps { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2569,7 +2569,7 @@ pub mod virtual_network_taps { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2645,7 +2645,7 @@ pub mod virtual_network_taps { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkTap), @@ -2720,7 +2720,7 @@ pub mod virtual_network_taps { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2782,7 +2782,7 @@ pub mod virtual_network_taps { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2852,7 +2852,7 @@ pub mod virtual_network_taps { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2920,7 +2920,7 @@ pub mod virtual_network_taps { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2941,7 +2941,7 @@ pub mod virtual_network_taps { } } pub mod load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2992,7 +2992,7 @@ pub mod load_balancers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3068,7 +3068,7 @@ pub mod load_balancers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoadBalancer), @@ -3143,7 +3143,7 @@ pub mod load_balancers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3205,7 +3205,7 @@ pub mod load_balancers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -3275,7 +3275,7 @@ pub mod load_balancers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3338,7 +3338,7 @@ pub mod load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3359,7 +3359,7 @@ pub mod load_balancers { } } pub mod load_balancer_backend_address_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3406,7 +3406,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3473,7 +3473,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3494,7 +3494,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod load_balancer_frontend_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3541,7 +3541,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3608,7 +3608,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3629,7 +3629,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod inbound_nat_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3676,7 +3676,7 @@ pub mod inbound_nat_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3747,7 +3747,7 @@ pub mod inbound_nat_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3825,7 +3825,7 @@ pub mod inbound_nat_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(InboundNatRule), @@ -3894,7 +3894,7 @@ pub mod inbound_nat_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -3921,7 +3921,7 @@ pub mod inbound_nat_rules { } } pub mod load_balancer_load_balancing_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3968,7 +3968,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4035,7 +4035,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4056,7 +4056,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod load_balancer_outbound_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4103,7 +4103,7 @@ pub mod load_balancer_outbound_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4170,7 +4170,7 @@ pub mod load_balancer_outbound_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4191,7 +4191,7 @@ pub mod load_balancer_outbound_rules { } } pub mod load_balancer_network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4238,7 +4238,7 @@ pub mod load_balancer_network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4259,7 +4259,7 @@ pub mod load_balancer_network_interfaces { } } pub mod load_balancer_probes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4306,7 +4306,7 @@ pub mod load_balancer_probes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4373,7 +4373,7 @@ pub mod load_balancer_probes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4394,7 +4394,7 @@ pub mod load_balancer_probes { } } pub mod virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4445,7 +4445,7 @@ pub mod virtual_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4521,7 +4521,7 @@ pub mod virtual_networks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetwork), @@ -4596,7 +4596,7 @@ pub mod virtual_networks { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4658,7 +4658,7 @@ pub mod virtual_networks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4728,7 +4728,7 @@ pub mod virtual_networks { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4791,7 +4791,7 @@ pub mod virtual_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4863,7 +4863,7 @@ pub mod virtual_networks { } } pub mod check_ip_address_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4931,7 +4931,7 @@ pub mod virtual_networks { } } pub mod list_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4952,7 +4952,7 @@ pub mod virtual_networks { } } pub mod subnets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5005,7 +5005,7 @@ pub mod subnets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5083,7 +5083,7 @@ pub mod subnets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Subnet), @@ -5152,7 +5152,7 @@ pub mod subnets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5229,7 +5229,7 @@ pub mod subnets { } } pub mod prepare_network_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5299,7 +5299,7 @@ pub mod subnets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5320,7 +5320,7 @@ pub mod subnets { } } pub mod virtual_network_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5369,7 +5369,7 @@ pub mod virtual_network_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5447,7 +5447,7 @@ pub mod virtual_network_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkPeering), @@ -5516,7 +5516,7 @@ pub mod virtual_network_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5587,7 +5587,7 @@ pub mod virtual_network_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5608,7 +5608,7 @@ pub mod virtual_network_peerings { } } pub mod network_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5659,7 +5659,7 @@ pub mod network_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5735,7 +5735,7 @@ pub mod network_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkSecurityGroup), @@ -5810,7 +5810,7 @@ pub mod network_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5872,7 +5872,7 @@ pub mod network_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5942,7 +5942,7 @@ pub mod network_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6005,7 +6005,7 @@ pub mod network_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6026,7 +6026,7 @@ pub mod network_security_groups { } } pub mod security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6075,7 +6075,7 @@ pub mod security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6153,7 +6153,7 @@ pub mod security_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityRule), @@ -6222,7 +6222,7 @@ pub mod security_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -6293,7 +6293,7 @@ pub mod security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6314,7 +6314,7 @@ pub mod security_rules { } } pub mod default_security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6361,7 +6361,7 @@ pub mod default_security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6428,7 +6428,7 @@ pub mod default_security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6449,7 +6449,7 @@ pub mod default_security_rules { } } pub mod application_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6496,7 +6496,7 @@ pub mod application_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6572,7 +6572,7 @@ pub mod application_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationSecurityGroup), @@ -6647,7 +6647,7 @@ pub mod application_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6709,7 +6709,7 @@ pub mod application_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -6779,7 +6779,7 @@ pub mod application_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6842,7 +6842,7 @@ pub mod application_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6863,7 +6863,7 @@ pub mod application_security_groups { } } pub mod route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6914,7 +6914,7 @@ pub mod route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6990,7 +6990,7 @@ pub mod route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteTable), @@ -7065,7 +7065,7 @@ pub mod route_tables { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7127,7 +7127,7 @@ pub mod route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -7196,7 +7196,7 @@ pub mod route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7260,7 +7260,7 @@ pub mod route_tables { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7281,7 +7281,7 @@ pub mod route_tables { } } pub mod routes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7330,7 +7330,7 @@ pub mod routes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7408,7 +7408,7 @@ pub mod routes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Route), @@ -7477,7 +7477,7 @@ pub mod routes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7548,7 +7548,7 @@ pub mod routes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7569,7 +7569,7 @@ pub mod routes { } } pub mod service_endpoint_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7620,7 +7620,7 @@ pub mod service_endpoint_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7696,7 +7696,7 @@ pub mod service_endpoint_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ServiceEndpointPolicy), @@ -7768,7 +7768,7 @@ pub mod service_endpoint_policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7830,7 +7830,7 @@ pub mod service_endpoint_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7897,7 +7897,7 @@ pub mod service_endpoint_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7965,7 +7965,7 @@ pub mod service_endpoint_policies { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7986,7 +7986,7 @@ pub mod service_endpoint_policies { } } pub mod service_endpoint_policy_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8028,7 +8028,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8099,7 +8099,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServiceEndpointPolicyDefinition), @@ -8161,7 +8161,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -8237,7 +8237,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8258,7 +8258,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod interface_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8309,7 +8309,7 @@ pub mod interface_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8385,7 +8385,7 @@ pub mod interface_endpoints { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(InterfaceEndpoint), @@ -8452,7 +8452,7 @@ pub mod interface_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8521,7 +8521,7 @@ pub mod interface_endpoints { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8585,7 +8585,7 @@ pub mod interface_endpoints { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8606,7 +8606,7 @@ pub mod interface_endpoints { } } pub mod network_profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8657,7 +8657,7 @@ pub mod network_profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8733,7 +8733,7 @@ pub mod network_profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkProfile), @@ -8808,7 +8808,7 @@ pub mod network_profiles { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8870,7 +8870,7 @@ pub mod network_profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -8940,7 +8940,7 @@ pub mod network_profiles { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9003,7 +9003,7 @@ pub mod network_profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9024,7 +9024,7 @@ pub mod network_profiles { } } pub mod public_ip_addresses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9075,7 +9075,7 @@ pub mod public_ip_addresses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9151,7 +9151,7 @@ pub mod public_ip_addresses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpAddress), @@ -9226,7 +9226,7 @@ pub mod public_ip_addresses { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9288,7 +9288,7 @@ pub mod public_ip_addresses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -9358,7 +9358,7 @@ pub mod public_ip_addresses { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9421,7 +9421,7 @@ pub mod public_ip_addresses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9492,7 +9492,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9560,7 +9560,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_vm_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9632,7 +9632,7 @@ pub mod public_ip_addresses { } } pub mod get_virtual_machine_scale_set_public_ip_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9653,7 +9653,7 @@ pub mod public_ip_addresses { } } pub mod available_delegations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -9698,7 +9698,7 @@ pub mod available_delegations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9719,7 +9719,7 @@ pub mod available_delegations { } } pub mod available_resource_group_delegations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -9766,7 +9766,7 @@ pub mod available_resource_group_delegations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9787,7 +9787,7 @@ pub mod available_resource_group_delegations { } } pub mod azure_firewalls { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9834,7 +9834,7 @@ pub mod azure_firewalls { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9910,7 +9910,7 @@ pub mod azure_firewalls { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(AzureFirewall), @@ -9977,7 +9977,7 @@ pub mod azure_firewalls { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -10046,7 +10046,7 @@ pub mod azure_firewalls { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10110,7 +10110,7 @@ pub mod azure_firewalls { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10131,7 +10131,7 @@ pub mod azure_firewalls { } } pub mod azure_firewall_fqdn_tags { - use crate::models::*; + use super::{models, models::*}; pub async fn list_all( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10177,7 +10177,7 @@ pub mod azure_firewall_fqdn_tags { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10248,7 +10248,7 @@ pub async fn check_dns_name_availability( } } pub mod check_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10320,7 +10320,7 @@ pub async fn supported_security_providers( } } pub mod supported_security_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10343,7 +10343,7 @@ pub mod supported_security_providers { } } pub mod ddos_custom_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10392,7 +10392,7 @@ pub mod ddos_custom_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10473,7 +10473,7 @@ pub mod ddos_custom_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DdosCustomPolicy), @@ -10553,7 +10553,7 @@ pub mod ddos_custom_policies { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10620,7 +10620,7 @@ pub mod ddos_custom_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -10650,7 +10650,7 @@ pub mod ddos_custom_policies { } } pub mod ddos_protection_plans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10697,7 +10697,7 @@ pub mod ddos_protection_plans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10773,7 +10773,7 @@ pub mod ddos_protection_plans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DdosProtectionPlan), @@ -10848,7 +10848,7 @@ pub mod ddos_protection_plans { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10910,7 +10910,7 @@ pub mod ddos_protection_plans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -10977,7 +10977,7 @@ pub mod ddos_protection_plans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11045,7 +11045,7 @@ pub mod ddos_protection_plans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11066,7 +11066,7 @@ pub mod ddos_protection_plans { } } pub mod available_endpoint_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -11111,7 +11111,7 @@ pub mod available_endpoint_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11132,7 +11132,7 @@ pub mod available_endpoint_services { } } pub mod express_route_circuit_authorizations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11181,7 +11181,7 @@ pub mod express_route_circuit_authorizations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11259,7 +11259,7 @@ pub mod express_route_circuit_authorizations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuitAuthorization), @@ -11328,7 +11328,7 @@ pub mod express_route_circuit_authorizations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -11399,7 +11399,7 @@ pub mod express_route_circuit_authorizations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11420,7 +11420,7 @@ pub mod express_route_circuit_authorizations { } } pub mod express_route_circuit_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11469,7 +11469,7 @@ pub mod express_route_circuit_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11547,7 +11547,7 @@ pub mod express_route_circuit_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitPeering), @@ -11616,7 +11616,7 @@ pub mod express_route_circuit_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11687,7 +11687,7 @@ pub mod express_route_circuit_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11708,7 +11708,7 @@ pub mod express_route_circuit_peerings { } } pub mod express_route_circuit_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11759,7 +11759,7 @@ pub mod express_route_circuit_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11839,7 +11839,7 @@ pub mod express_route_circuit_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitConnection), @@ -11910,7 +11910,7 @@ pub mod express_route_circuit_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11983,7 +11983,7 @@ pub mod express_route_circuit_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12004,7 +12004,7 @@ pub mod express_route_circuit_connections { } } pub mod peer_express_route_circuit_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12055,7 +12055,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12122,7 +12122,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12143,7 +12143,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod express_route_circuits { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12190,7 +12190,7 @@ pub mod express_route_circuits { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12266,7 +12266,7 @@ pub mod express_route_circuits { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuit), @@ -12341,7 +12341,7 @@ pub mod express_route_circuits { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12403,7 +12403,7 @@ pub mod express_route_circuits { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -12483,7 +12483,7 @@ pub mod express_route_circuits { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -12562,7 +12562,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -12643,7 +12643,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableSummaryListResult), @@ -12716,7 +12716,7 @@ pub mod express_route_circuits { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12786,7 +12786,7 @@ pub mod express_route_circuits { } } pub mod get_peering_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12849,7 +12849,7 @@ pub mod express_route_circuits { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12913,7 +12913,7 @@ pub mod express_route_circuits { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12934,7 +12934,7 @@ pub mod express_route_circuits { } } pub mod express_route_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12977,7 +12977,7 @@ pub mod express_route_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12998,7 +12998,7 @@ pub mod express_route_service_providers { } } pub mod route_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13049,7 +13049,7 @@ pub mod route_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13125,7 +13125,7 @@ pub mod route_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilter), @@ -13197,7 +13197,7 @@ pub mod route_filters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13259,7 +13259,7 @@ pub mod route_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -13333,7 +13333,7 @@ pub mod route_filters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13394,7 +13394,7 @@ pub mod route_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13415,7 +13415,7 @@ pub mod route_filters { } } pub mod route_filter_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13464,7 +13464,7 @@ pub mod route_filter_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13542,7 +13542,7 @@ pub mod route_filter_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilterRule), @@ -13616,7 +13616,7 @@ pub mod route_filter_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13680,7 +13680,7 @@ pub mod route_filter_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -13754,7 +13754,7 @@ pub mod route_filter_rules { } } pub mod list_by_route_filter { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13775,7 +13775,7 @@ pub mod route_filter_rules { } } pub mod express_route_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -13821,7 +13821,7 @@ pub mod express_route_gateways { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13889,7 +13889,7 @@ pub mod express_route_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13954,7 +13954,7 @@ pub mod express_route_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14030,7 +14030,7 @@ pub mod express_route_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteGateway), @@ -14097,7 +14097,7 @@ pub mod express_route_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -14124,7 +14124,7 @@ pub mod express_route_gateways { } } pub mod express_route_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14173,7 +14173,7 @@ pub mod express_route_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14251,7 +14251,7 @@ pub mod express_route_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteConnection), @@ -14320,7 +14320,7 @@ pub mod express_route_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -14391,7 +14391,7 @@ pub mod express_route_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14412,7 +14412,7 @@ pub mod express_route_connections { } } pub mod express_route_cross_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -14455,7 +14455,7 @@ pub mod express_route_cross_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14523,7 +14523,7 @@ pub mod express_route_cross_connections { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14588,7 +14588,7 @@ pub mod express_route_cross_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14658,7 +14658,7 @@ pub mod express_route_cross_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14728,7 +14728,7 @@ pub mod express_route_cross_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14802,7 +14802,7 @@ pub mod express_route_cross_connections { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -14875,7 +14875,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionsRoutesTableSummaryListResult), @@ -14954,7 +14954,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -14980,7 +14980,7 @@ pub mod express_route_cross_connections { } } pub mod express_route_cross_connection_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15027,7 +15027,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15094,7 +15094,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15172,7 +15172,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionPeering), @@ -15241,7 +15241,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -15268,7 +15268,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod express_route_ports_locations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -15311,7 +15311,7 @@ pub mod express_route_ports_locations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15374,7 +15374,7 @@ pub mod express_route_ports_locations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15395,7 +15395,7 @@ pub mod express_route_ports_locations { } } pub mod express_route_ports { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -15442,7 +15442,7 @@ pub mod express_route_ports { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15518,7 +15518,7 @@ pub mod express_route_ports { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRoutePort), @@ -15593,7 +15593,7 @@ pub mod express_route_ports { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15655,7 +15655,7 @@ pub mod express_route_ports { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -15729,7 +15729,7 @@ pub mod express_route_ports { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15790,7 +15790,7 @@ pub mod express_route_ports { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15811,7 +15811,7 @@ pub mod express_route_ports { } } pub mod express_route_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -15860,7 +15860,7 @@ pub mod express_route_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15925,7 +15925,7 @@ pub mod express_route_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15946,7 +15946,7 @@ pub mod express_route_links { } } pub mod network_watchers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15995,7 +15995,7 @@ pub mod network_watchers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16076,7 +16076,7 @@ pub mod network_watchers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkWatcher), @@ -16156,7 +16156,7 @@ pub mod network_watchers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16222,7 +16222,7 @@ pub mod network_watchers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -16295,7 +16295,7 @@ pub mod network_watchers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16364,7 +16364,7 @@ pub mod network_watchers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16439,7 +16439,7 @@ pub mod network_watchers { } } pub mod get_topology { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16520,7 +16520,7 @@ pub mod network_watchers { } } pub mod verify_ip_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VerificationIpFlowResult), @@ -16606,7 +16606,7 @@ pub mod network_watchers { } } pub mod get_next_hop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NextHopResult), @@ -16694,7 +16694,7 @@ pub mod network_watchers { } } pub mod get_vm_security_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityGroupViewResult), @@ -16780,7 +16780,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -16868,7 +16868,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -16956,7 +16956,7 @@ pub mod network_watchers { } } pub mod set_flow_log_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -17042,7 +17042,7 @@ pub mod network_watchers { } } pub mod get_flow_log_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -17128,7 +17128,7 @@ pub mod network_watchers { } } pub mod check_connectivity { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectivityInformation), @@ -17216,7 +17216,7 @@ pub mod network_watchers { } } pub mod get_azure_reachability_report { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AzureReachabilityReport), @@ -17304,7 +17304,7 @@ pub mod network_watchers { } } pub mod list_available_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AvailableProvidersList), @@ -17392,7 +17392,7 @@ pub mod network_watchers { } } pub mod get_network_configuration_diagnostic { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkConfigurationDiagnosticResponse), @@ -17421,7 +17421,7 @@ pub mod network_watchers { } } pub mod packet_captures { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17472,7 +17472,7 @@ pub mod packet_captures { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17546,7 +17546,7 @@ pub mod packet_captures { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17614,7 +17614,7 @@ pub mod packet_captures { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -17688,7 +17688,7 @@ pub mod packet_captures { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -17775,7 +17775,7 @@ pub mod packet_captures { } } pub mod get_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PacketCaptureQueryStatusResult), @@ -17850,7 +17850,7 @@ pub mod packet_captures { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17874,7 +17874,7 @@ pub mod packet_captures { } } pub mod connection_monitors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17925,7 +17925,7 @@ pub mod connection_monitors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18008,7 +18008,7 @@ pub mod connection_monitors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorResult), @@ -18081,7 +18081,7 @@ pub mod connection_monitors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -18155,7 +18155,7 @@ pub mod connection_monitors { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -18229,7 +18229,7 @@ pub mod connection_monitors { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -18313,7 +18313,7 @@ pub mod connection_monitors { } } pub mod query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorQueryResult), @@ -18388,7 +18388,7 @@ pub mod connection_monitors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18412,7 +18412,7 @@ pub mod connection_monitors { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Network/operations", operation_config.base_path(),); @@ -18448,7 +18448,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -18469,7 +18469,7 @@ pub mod operations { } } pub mod public_ip_prefixes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18520,7 +18520,7 @@ pub mod public_ip_prefixes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -18596,7 +18596,7 @@ pub mod public_ip_prefixes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpPrefix), @@ -18671,7 +18671,7 @@ pub mod public_ip_prefixes { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -18733,7 +18733,7 @@ pub mod public_ip_prefixes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -18803,7 +18803,7 @@ pub mod public_ip_prefixes { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -18866,7 +18866,7 @@ pub mod public_ip_prefixes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -18887,7 +18887,7 @@ pub mod public_ip_prefixes { } } pub mod bgp_service_communities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -18930,7 +18930,7 @@ pub mod bgp_service_communities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -18951,7 +18951,7 @@ pub mod bgp_service_communities { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -18996,7 +18996,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -19017,7 +19017,7 @@ pub mod usages { } } pub mod virtual_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19064,7 +19064,7 @@ pub mod virtual_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -19140,7 +19140,7 @@ pub mod virtual_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGateway), @@ -19215,7 +19215,7 @@ pub mod virtual_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -19277,7 +19277,7 @@ pub mod virtual_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -19346,7 +19346,7 @@ pub mod virtual_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -19414,7 +19414,7 @@ pub mod virtual_network_gateways { } } pub mod list_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -19485,7 +19485,7 @@ pub mod virtual_network_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -19557,7 +19557,7 @@ pub mod virtual_network_gateways { } } pub mod reset_vpn_client_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -19635,7 +19635,7 @@ pub mod virtual_network_gateways { } } pub mod generatevpnclientpackage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -19711,7 +19711,7 @@ pub mod virtual_network_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -19788,7 +19788,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpn_profile_package_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -19867,7 +19867,7 @@ pub mod virtual_network_gateways { } } pub mod get_bgp_peer_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BgpPeerStatusListResult), @@ -19943,7 +19943,7 @@ pub mod virtual_network_gateways { } } pub mod supported_vpn_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -20013,7 +20013,7 @@ pub mod virtual_network_gateways { } } pub mod get_learned_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -20092,7 +20092,7 @@ pub mod virtual_network_gateways { } } pub mod get_advertised_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -20170,7 +20170,7 @@ pub mod virtual_network_gateways { } } pub mod set_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -20246,7 +20246,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -20318,7 +20318,7 @@ pub mod virtual_network_gateways { } } pub mod vpn_device_configuration_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -20339,7 +20339,7 @@ pub mod virtual_network_gateways { } } pub mod virtual_network_gateway_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20386,7 +20386,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -20462,7 +20462,7 @@ pub mod virtual_network_gateway_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGatewayConnection), @@ -20537,7 +20537,7 @@ pub mod virtual_network_gateway_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -20599,7 +20599,7 @@ pub mod virtual_network_gateway_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -20673,7 +20673,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -20749,7 +20749,7 @@ pub mod virtual_network_gateway_connections { } } pub mod set_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ConnectionSharedKey), @@ -20817,7 +20817,7 @@ pub mod virtual_network_gateway_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -20888,7 +20888,7 @@ pub mod virtual_network_gateway_connections { } } pub mod reset_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionResetSharedKey), @@ -20914,7 +20914,7 @@ pub mod virtual_network_gateway_connections { } } pub mod local_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20961,7 +20961,7 @@ pub mod local_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -21037,7 +21037,7 @@ pub mod local_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LocalNetworkGateway), @@ -21112,7 +21112,7 @@ pub mod local_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -21174,7 +21174,7 @@ pub mod local_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -21243,7 +21243,7 @@ pub mod local_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -21264,7 +21264,7 @@ pub mod local_network_gateways { } } pub mod virtual_wans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -21313,7 +21313,7 @@ pub mod virtual_wans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21394,7 +21394,7 @@ pub mod virtual_wans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualWan), @@ -21480,7 +21480,7 @@ pub mod virtual_wans { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualWan), @@ -21552,7 +21552,7 @@ pub mod virtual_wans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -21631,7 +21631,7 @@ pub mod virtual_wans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21697,7 +21697,7 @@ pub mod virtual_wans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21721,7 +21721,7 @@ pub mod virtual_wans { } } pub mod vpn_sites { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -21770,7 +21770,7 @@ pub mod vpn_sites { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21851,7 +21851,7 @@ pub mod vpn_sites { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnSite), @@ -21937,7 +21937,7 @@ pub mod vpn_sites { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnSite), @@ -22009,7 +22009,7 @@ pub mod vpn_sites { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22088,7 +22088,7 @@ pub mod vpn_sites { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22154,7 +22154,7 @@ pub mod vpn_sites { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22178,7 +22178,7 @@ pub mod vpn_sites { } } pub mod vpn_sites_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn download( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -22228,7 +22228,7 @@ pub mod vpn_sites_configuration { } } pub mod download { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22257,7 +22257,7 @@ pub mod vpn_sites_configuration { } } pub mod virtual_hubs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -22306,7 +22306,7 @@ pub mod virtual_hubs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22387,7 +22387,7 @@ pub mod virtual_hubs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHub), @@ -22473,7 +22473,7 @@ pub mod virtual_hubs { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHub), @@ -22545,7 +22545,7 @@ pub mod virtual_hubs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22624,7 +22624,7 @@ pub mod virtual_hubs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22690,7 +22690,7 @@ pub mod virtual_hubs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22714,7 +22714,7 @@ pub mod virtual_hubs { } } pub mod hub_virtual_network_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -22765,7 +22765,7 @@ pub mod hub_virtual_network_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22835,7 +22835,7 @@ pub mod hub_virtual_network_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22859,7 +22859,7 @@ pub mod hub_virtual_network_connections { } } pub mod vpn_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -22908,7 +22908,7 @@ pub mod vpn_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22989,7 +22989,7 @@ pub mod vpn_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -23075,7 +23075,7 @@ pub mod vpn_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -23147,7 +23147,7 @@ pub mod vpn_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23226,7 +23226,7 @@ pub mod vpn_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23292,7 +23292,7 @@ pub mod vpn_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23316,7 +23316,7 @@ pub mod vpn_gateways { } } pub mod vpn_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -23367,7 +23367,7 @@ pub mod vpn_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23450,7 +23450,7 @@ pub mod vpn_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnConnection), @@ -23524,7 +23524,7 @@ pub mod vpn_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23603,7 +23603,7 @@ pub mod vpn_connections { } } pub mod list_by_vpn_gateway { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23627,7 +23627,7 @@ pub mod vpn_connections { } } pub mod p2s_vpn_server_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -23678,7 +23678,7 @@ pub mod p2s_vpn_server_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23761,7 +23761,7 @@ pub mod p2s_vpn_server_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnServerConfiguration), @@ -23835,7 +23835,7 @@ pub mod p2s_vpn_server_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23914,7 +23914,7 @@ pub mod p2s_vpn_server_configurations { } } pub mod list_by_virtual_wan { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23938,7 +23938,7 @@ pub mod p2s_vpn_server_configurations { } } pub mod p2s_vpn_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -23987,7 +23987,7 @@ pub mod p2s_vpn_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24068,7 +24068,7 @@ pub mod p2s_vpn_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -24154,7 +24154,7 @@ pub mod p2s_vpn_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -24226,7 +24226,7 @@ pub mod p2s_vpn_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -24305,7 +24305,7 @@ pub mod p2s_vpn_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24371,7 +24371,7 @@ pub mod p2s_vpn_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24445,7 +24445,7 @@ pub mod p2s_vpn_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnProfileResponse), @@ -24471,7 +24471,7 @@ pub mod p2s_vpn_gateways { } } pub mod web_application_firewall_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -24516,7 +24516,7 @@ pub mod web_application_firewall_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -24580,7 +24580,7 @@ pub mod web_application_firewall_policies { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -24645,7 +24645,7 @@ pub mod web_application_firewall_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -24721,7 +24721,7 @@ pub mod web_application_firewall_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WebApplicationFirewallPolicy), @@ -24788,7 +24788,7 @@ pub mod web_application_firewall_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, diff --git a/services/mgmt/network/src/package_2018_12_only/operations.rs b/services/mgmt/network/src/package_2018_12_only/operations.rs index 4d112b4a17..c1a4611d6f 100644 --- a/services/mgmt/network/src/package_2018_12_only/operations.rs +++ b/services/mgmt/network/src/package_2018_12_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod application_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod application_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod application_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationGateway), @@ -202,7 +202,7 @@ pub mod application_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -264,7 +264,7 @@ pub mod application_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -333,7 +333,7 @@ pub mod application_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -397,7 +397,7 @@ pub mod application_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -459,7 +459,7 @@ pub mod application_gateways { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -526,7 +526,7 @@ pub mod application_gateways { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -605,7 +605,7 @@ pub mod application_gateways { } } pub mod backend_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealth), @@ -678,7 +678,7 @@ pub mod application_gateways { } } pub mod list_available_server_variables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -749,7 +749,7 @@ pub mod application_gateways { } } pub mod list_available_request_headers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -820,7 +820,7 @@ pub mod application_gateways { } } pub mod list_available_response_headers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -889,7 +889,7 @@ pub mod application_gateways { } } pub mod list_available_waf_rule_sets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -955,7 +955,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_options { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1021,7 +1021,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_predefined_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1089,7 +1089,7 @@ pub mod application_gateways { } } pub mod get_ssl_predefined_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1110,7 +1110,7 @@ pub mod application_gateways { } } pub mod network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1161,7 +1161,7 @@ pub mod network_interfaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1237,7 +1237,7 @@ pub mod network_interfaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkInterface), @@ -1312,7 +1312,7 @@ pub mod network_interfaces { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1374,7 +1374,7 @@ pub mod network_interfaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1444,7 +1444,7 @@ pub mod network_interfaces { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1507,7 +1507,7 @@ pub mod network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1579,7 +1579,7 @@ pub mod network_interfaces { } } pub mod get_effective_route_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveRouteListResult), @@ -1656,7 +1656,7 @@ pub mod network_interfaces { } } pub mod list_effective_network_security_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveNetworkSecurityGroupListResult), @@ -1682,7 +1682,7 @@ pub mod network_interfaces { } } pub mod network_interface_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1729,7 +1729,7 @@ pub mod network_interface_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1796,7 +1796,7 @@ pub mod network_interface_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1817,7 +1817,7 @@ pub mod network_interface_ip_configurations { } } pub mod network_interface_load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1864,7 +1864,7 @@ pub mod network_interface_load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1885,7 +1885,7 @@ pub mod network_interface_load_balancers { } } pub mod network_interface_tap_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1934,7 +1934,7 @@ pub mod network_interface_tap_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2012,7 +2012,7 @@ pub mod network_interface_tap_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkInterfaceTapConfiguration), @@ -2081,7 +2081,7 @@ pub mod network_interface_tap_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2152,7 +2152,7 @@ pub mod network_interface_tap_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2173,7 +2173,7 @@ pub mod network_interface_tap_configurations { } } pub mod virtual_network_taps { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2220,7 +2220,7 @@ pub mod virtual_network_taps { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2296,7 +2296,7 @@ pub mod virtual_network_taps { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkTap), @@ -2371,7 +2371,7 @@ pub mod virtual_network_taps { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2433,7 +2433,7 @@ pub mod virtual_network_taps { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2503,7 +2503,7 @@ pub mod virtual_network_taps { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2571,7 +2571,7 @@ pub mod virtual_network_taps { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2592,7 +2592,7 @@ pub mod virtual_network_taps { } } pub mod load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2643,7 +2643,7 @@ pub mod load_balancers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2719,7 +2719,7 @@ pub mod load_balancers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoadBalancer), @@ -2794,7 +2794,7 @@ pub mod load_balancers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2856,7 +2856,7 @@ pub mod load_balancers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2926,7 +2926,7 @@ pub mod load_balancers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2989,7 +2989,7 @@ pub mod load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3010,7 +3010,7 @@ pub mod load_balancers { } } pub mod load_balancer_backend_address_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3057,7 +3057,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3124,7 +3124,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3145,7 +3145,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod load_balancer_frontend_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3192,7 +3192,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3259,7 +3259,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3280,7 +3280,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod inbound_nat_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3327,7 +3327,7 @@ pub mod inbound_nat_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3398,7 +3398,7 @@ pub mod inbound_nat_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3476,7 +3476,7 @@ pub mod inbound_nat_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(InboundNatRule), @@ -3545,7 +3545,7 @@ pub mod inbound_nat_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -3572,7 +3572,7 @@ pub mod inbound_nat_rules { } } pub mod load_balancer_load_balancing_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3619,7 +3619,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3686,7 +3686,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3707,7 +3707,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod load_balancer_outbound_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3754,7 +3754,7 @@ pub mod load_balancer_outbound_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3821,7 +3821,7 @@ pub mod load_balancer_outbound_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3842,7 +3842,7 @@ pub mod load_balancer_outbound_rules { } } pub mod load_balancer_network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3889,7 +3889,7 @@ pub mod load_balancer_network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3910,7 +3910,7 @@ pub mod load_balancer_network_interfaces { } } pub mod load_balancer_probes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3957,7 +3957,7 @@ pub mod load_balancer_probes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4024,7 +4024,7 @@ pub mod load_balancer_probes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4045,7 +4045,7 @@ pub mod load_balancer_probes { } } pub mod virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4096,7 +4096,7 @@ pub mod virtual_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4172,7 +4172,7 @@ pub mod virtual_networks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetwork), @@ -4247,7 +4247,7 @@ pub mod virtual_networks { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4309,7 +4309,7 @@ pub mod virtual_networks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4379,7 +4379,7 @@ pub mod virtual_networks { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4442,7 +4442,7 @@ pub mod virtual_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4514,7 +4514,7 @@ pub mod virtual_networks { } } pub mod check_ip_address_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4582,7 +4582,7 @@ pub mod virtual_networks { } } pub mod list_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4603,7 +4603,7 @@ pub mod virtual_networks { } } pub mod subnets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4656,7 +4656,7 @@ pub mod subnets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4734,7 +4734,7 @@ pub mod subnets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Subnet), @@ -4803,7 +4803,7 @@ pub mod subnets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4880,7 +4880,7 @@ pub mod subnets { } } pub mod prepare_network_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4950,7 +4950,7 @@ pub mod subnets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4971,7 +4971,7 @@ pub mod subnets { } } pub mod virtual_network_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5020,7 +5020,7 @@ pub mod virtual_network_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5098,7 +5098,7 @@ pub mod virtual_network_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkPeering), @@ -5167,7 +5167,7 @@ pub mod virtual_network_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5238,7 +5238,7 @@ pub mod virtual_network_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5259,7 +5259,7 @@ pub mod virtual_network_peerings { } } pub mod network_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5310,7 +5310,7 @@ pub mod network_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5386,7 +5386,7 @@ pub mod network_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkSecurityGroup), @@ -5461,7 +5461,7 @@ pub mod network_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5523,7 +5523,7 @@ pub mod network_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5593,7 +5593,7 @@ pub mod network_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5656,7 +5656,7 @@ pub mod network_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5677,7 +5677,7 @@ pub mod network_security_groups { } } pub mod security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5726,7 +5726,7 @@ pub mod security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5804,7 +5804,7 @@ pub mod security_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityRule), @@ -5873,7 +5873,7 @@ pub mod security_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -5944,7 +5944,7 @@ pub mod security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5965,7 +5965,7 @@ pub mod security_rules { } } pub mod default_security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6012,7 +6012,7 @@ pub mod default_security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6079,7 +6079,7 @@ pub mod default_security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6100,7 +6100,7 @@ pub mod default_security_rules { } } pub mod application_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6147,7 +6147,7 @@ pub mod application_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6223,7 +6223,7 @@ pub mod application_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationSecurityGroup), @@ -6298,7 +6298,7 @@ pub mod application_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6360,7 +6360,7 @@ pub mod application_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -6430,7 +6430,7 @@ pub mod application_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6493,7 +6493,7 @@ pub mod application_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6514,7 +6514,7 @@ pub mod application_security_groups { } } pub mod route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6565,7 +6565,7 @@ pub mod route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6641,7 +6641,7 @@ pub mod route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteTable), @@ -6716,7 +6716,7 @@ pub mod route_tables { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6778,7 +6778,7 @@ pub mod route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -6847,7 +6847,7 @@ pub mod route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6911,7 +6911,7 @@ pub mod route_tables { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6932,7 +6932,7 @@ pub mod route_tables { } } pub mod routes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6981,7 +6981,7 @@ pub mod routes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7059,7 +7059,7 @@ pub mod routes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Route), @@ -7128,7 +7128,7 @@ pub mod routes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7199,7 +7199,7 @@ pub mod routes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7220,7 +7220,7 @@ pub mod routes { } } pub mod service_endpoint_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7271,7 +7271,7 @@ pub mod service_endpoint_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7347,7 +7347,7 @@ pub mod service_endpoint_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ServiceEndpointPolicy), @@ -7419,7 +7419,7 @@ pub mod service_endpoint_policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7481,7 +7481,7 @@ pub mod service_endpoint_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7548,7 +7548,7 @@ pub mod service_endpoint_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7616,7 +7616,7 @@ pub mod service_endpoint_policies { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7637,7 +7637,7 @@ pub mod service_endpoint_policies { } } pub mod service_endpoint_policy_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7679,7 +7679,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7750,7 +7750,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServiceEndpointPolicyDefinition), @@ -7812,7 +7812,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -7888,7 +7888,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7909,7 +7909,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod interface_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7960,7 +7960,7 @@ pub mod interface_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8036,7 +8036,7 @@ pub mod interface_endpoints { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(InterfaceEndpoint), @@ -8103,7 +8103,7 @@ pub mod interface_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8172,7 +8172,7 @@ pub mod interface_endpoints { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8236,7 +8236,7 @@ pub mod interface_endpoints { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8257,7 +8257,7 @@ pub mod interface_endpoints { } } pub mod network_profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8308,7 +8308,7 @@ pub mod network_profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8384,7 +8384,7 @@ pub mod network_profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkProfile), @@ -8459,7 +8459,7 @@ pub mod network_profiles { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8521,7 +8521,7 @@ pub mod network_profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -8591,7 +8591,7 @@ pub mod network_profiles { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8654,7 +8654,7 @@ pub mod network_profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8675,7 +8675,7 @@ pub mod network_profiles { } } pub mod public_ip_addresses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8726,7 +8726,7 @@ pub mod public_ip_addresses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8802,7 +8802,7 @@ pub mod public_ip_addresses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpAddress), @@ -8877,7 +8877,7 @@ pub mod public_ip_addresses { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8939,7 +8939,7 @@ pub mod public_ip_addresses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -9009,7 +9009,7 @@ pub mod public_ip_addresses { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9072,7 +9072,7 @@ pub mod public_ip_addresses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9093,7 +9093,7 @@ pub mod public_ip_addresses { } } pub mod available_delegations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -9138,7 +9138,7 @@ pub mod available_delegations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9159,7 +9159,7 @@ pub mod available_delegations { } } pub mod available_resource_group_delegations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -9206,7 +9206,7 @@ pub mod available_resource_group_delegations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9227,7 +9227,7 @@ pub mod available_resource_group_delegations { } } pub mod azure_firewalls { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9274,7 +9274,7 @@ pub mod azure_firewalls { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9350,7 +9350,7 @@ pub mod azure_firewalls { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(AzureFirewall), @@ -9417,7 +9417,7 @@ pub mod azure_firewalls { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9486,7 +9486,7 @@ pub mod azure_firewalls { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9550,7 +9550,7 @@ pub mod azure_firewalls { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9571,7 +9571,7 @@ pub mod azure_firewalls { } } pub mod azure_firewall_fqdn_tags { - use crate::models::*; + use super::{models, models::*}; pub async fn list_all( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9617,7 +9617,7 @@ pub mod azure_firewall_fqdn_tags { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9688,7 +9688,7 @@ pub async fn check_dns_name_availability( } } pub mod check_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9760,7 +9760,7 @@ pub async fn supported_security_providers( } } pub mod supported_security_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9783,7 +9783,7 @@ pub mod supported_security_providers { } } pub mod ddos_custom_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9832,7 +9832,7 @@ pub mod ddos_custom_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9913,7 +9913,7 @@ pub mod ddos_custom_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DdosCustomPolicy), @@ -9993,7 +9993,7 @@ pub mod ddos_custom_policies { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10060,7 +10060,7 @@ pub mod ddos_custom_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -10090,7 +10090,7 @@ pub mod ddos_custom_policies { } } pub mod ddos_protection_plans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10137,7 +10137,7 @@ pub mod ddos_protection_plans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10213,7 +10213,7 @@ pub mod ddos_protection_plans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DdosProtectionPlan), @@ -10288,7 +10288,7 @@ pub mod ddos_protection_plans { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10350,7 +10350,7 @@ pub mod ddos_protection_plans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -10417,7 +10417,7 @@ pub mod ddos_protection_plans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10485,7 +10485,7 @@ pub mod ddos_protection_plans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10506,7 +10506,7 @@ pub mod ddos_protection_plans { } } pub mod available_endpoint_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -10551,7 +10551,7 @@ pub mod available_endpoint_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10572,7 +10572,7 @@ pub mod available_endpoint_services { } } pub mod express_route_circuit_authorizations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10621,7 +10621,7 @@ pub mod express_route_circuit_authorizations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10699,7 +10699,7 @@ pub mod express_route_circuit_authorizations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuitAuthorization), @@ -10768,7 +10768,7 @@ pub mod express_route_circuit_authorizations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -10839,7 +10839,7 @@ pub mod express_route_circuit_authorizations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10860,7 +10860,7 @@ pub mod express_route_circuit_authorizations { } } pub mod express_route_circuit_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10909,7 +10909,7 @@ pub mod express_route_circuit_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10987,7 +10987,7 @@ pub mod express_route_circuit_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitPeering), @@ -11056,7 +11056,7 @@ pub mod express_route_circuit_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11127,7 +11127,7 @@ pub mod express_route_circuit_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11148,7 +11148,7 @@ pub mod express_route_circuit_peerings { } } pub mod express_route_circuit_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11199,7 +11199,7 @@ pub mod express_route_circuit_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11279,7 +11279,7 @@ pub mod express_route_circuit_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitConnection), @@ -11350,7 +11350,7 @@ pub mod express_route_circuit_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11423,7 +11423,7 @@ pub mod express_route_circuit_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11444,7 +11444,7 @@ pub mod express_route_circuit_connections { } } pub mod peer_express_route_circuit_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11495,7 +11495,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11562,7 +11562,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11583,7 +11583,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod express_route_circuits { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11630,7 +11630,7 @@ pub mod express_route_circuits { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11706,7 +11706,7 @@ pub mod express_route_circuits { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuit), @@ -11781,7 +11781,7 @@ pub mod express_route_circuits { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11843,7 +11843,7 @@ pub mod express_route_circuits { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -11923,7 +11923,7 @@ pub mod express_route_circuits { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -12002,7 +12002,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -12083,7 +12083,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableSummaryListResult), @@ -12156,7 +12156,7 @@ pub mod express_route_circuits { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12226,7 +12226,7 @@ pub mod express_route_circuits { } } pub mod get_peering_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12289,7 +12289,7 @@ pub mod express_route_circuits { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12353,7 +12353,7 @@ pub mod express_route_circuits { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12374,7 +12374,7 @@ pub mod express_route_circuits { } } pub mod express_route_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12417,7 +12417,7 @@ pub mod express_route_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12438,7 +12438,7 @@ pub mod express_route_service_providers { } } pub mod route_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12489,7 +12489,7 @@ pub mod route_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12565,7 +12565,7 @@ pub mod route_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilter), @@ -12637,7 +12637,7 @@ pub mod route_filters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12699,7 +12699,7 @@ pub mod route_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -12773,7 +12773,7 @@ pub mod route_filters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12834,7 +12834,7 @@ pub mod route_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12855,7 +12855,7 @@ pub mod route_filters { } } pub mod route_filter_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12904,7 +12904,7 @@ pub mod route_filter_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12982,7 +12982,7 @@ pub mod route_filter_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilterRule), @@ -13056,7 +13056,7 @@ pub mod route_filter_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13120,7 +13120,7 @@ pub mod route_filter_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -13194,7 +13194,7 @@ pub mod route_filter_rules { } } pub mod list_by_route_filter { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13215,7 +13215,7 @@ pub mod route_filter_rules { } } pub mod express_route_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -13261,7 +13261,7 @@ pub mod express_route_gateways { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13329,7 +13329,7 @@ pub mod express_route_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13394,7 +13394,7 @@ pub mod express_route_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13470,7 +13470,7 @@ pub mod express_route_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteGateway), @@ -13537,7 +13537,7 @@ pub mod express_route_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -13564,7 +13564,7 @@ pub mod express_route_gateways { } } pub mod express_route_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13613,7 +13613,7 @@ pub mod express_route_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13691,7 +13691,7 @@ pub mod express_route_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteConnection), @@ -13760,7 +13760,7 @@ pub mod express_route_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -13831,7 +13831,7 @@ pub mod express_route_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13852,7 +13852,7 @@ pub mod express_route_connections { } } pub mod express_route_cross_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -13895,7 +13895,7 @@ pub mod express_route_cross_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13963,7 +13963,7 @@ pub mod express_route_cross_connections { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14028,7 +14028,7 @@ pub mod express_route_cross_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14098,7 +14098,7 @@ pub mod express_route_cross_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14168,7 +14168,7 @@ pub mod express_route_cross_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14242,7 +14242,7 @@ pub mod express_route_cross_connections { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -14315,7 +14315,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionsRoutesTableSummaryListResult), @@ -14394,7 +14394,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -14420,7 +14420,7 @@ pub mod express_route_cross_connections { } } pub mod express_route_cross_connection_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14467,7 +14467,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14534,7 +14534,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14612,7 +14612,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionPeering), @@ -14681,7 +14681,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -14708,7 +14708,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod express_route_ports_locations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -14751,7 +14751,7 @@ pub mod express_route_ports_locations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14814,7 +14814,7 @@ pub mod express_route_ports_locations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14835,7 +14835,7 @@ pub mod express_route_ports_locations { } } pub mod express_route_ports { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -14882,7 +14882,7 @@ pub mod express_route_ports { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14958,7 +14958,7 @@ pub mod express_route_ports { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRoutePort), @@ -15033,7 +15033,7 @@ pub mod express_route_ports { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15095,7 +15095,7 @@ pub mod express_route_ports { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -15169,7 +15169,7 @@ pub mod express_route_ports { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15230,7 +15230,7 @@ pub mod express_route_ports { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15251,7 +15251,7 @@ pub mod express_route_ports { } } pub mod express_route_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -15300,7 +15300,7 @@ pub mod express_route_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15365,7 +15365,7 @@ pub mod express_route_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15386,7 +15386,7 @@ pub mod express_route_links { } } pub mod network_watchers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15435,7 +15435,7 @@ pub mod network_watchers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15516,7 +15516,7 @@ pub mod network_watchers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkWatcher), @@ -15596,7 +15596,7 @@ pub mod network_watchers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15662,7 +15662,7 @@ pub mod network_watchers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -15735,7 +15735,7 @@ pub mod network_watchers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15804,7 +15804,7 @@ pub mod network_watchers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15879,7 +15879,7 @@ pub mod network_watchers { } } pub mod get_topology { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15960,7 +15960,7 @@ pub mod network_watchers { } } pub mod verify_ip_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VerificationIpFlowResult), @@ -16046,7 +16046,7 @@ pub mod network_watchers { } } pub mod get_next_hop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NextHopResult), @@ -16134,7 +16134,7 @@ pub mod network_watchers { } } pub mod get_vm_security_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityGroupViewResult), @@ -16220,7 +16220,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -16308,7 +16308,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -16396,7 +16396,7 @@ pub mod network_watchers { } } pub mod set_flow_log_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -16482,7 +16482,7 @@ pub mod network_watchers { } } pub mod get_flow_log_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -16568,7 +16568,7 @@ pub mod network_watchers { } } pub mod check_connectivity { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectivityInformation), @@ -16656,7 +16656,7 @@ pub mod network_watchers { } } pub mod get_azure_reachability_report { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AzureReachabilityReport), @@ -16744,7 +16744,7 @@ pub mod network_watchers { } } pub mod list_available_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AvailableProvidersList), @@ -16832,7 +16832,7 @@ pub mod network_watchers { } } pub mod get_network_configuration_diagnostic { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkConfigurationDiagnosticResponse), @@ -16861,7 +16861,7 @@ pub mod network_watchers { } } pub mod packet_captures { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16912,7 +16912,7 @@ pub mod packet_captures { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16986,7 +16986,7 @@ pub mod packet_captures { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17054,7 +17054,7 @@ pub mod packet_captures { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -17128,7 +17128,7 @@ pub mod packet_captures { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -17215,7 +17215,7 @@ pub mod packet_captures { } } pub mod get_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PacketCaptureQueryStatusResult), @@ -17290,7 +17290,7 @@ pub mod packet_captures { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17314,7 +17314,7 @@ pub mod packet_captures { } } pub mod connection_monitors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17365,7 +17365,7 @@ pub mod connection_monitors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17448,7 +17448,7 @@ pub mod connection_monitors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorResult), @@ -17521,7 +17521,7 @@ pub mod connection_monitors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -17595,7 +17595,7 @@ pub mod connection_monitors { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -17669,7 +17669,7 @@ pub mod connection_monitors { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -17753,7 +17753,7 @@ pub mod connection_monitors { } } pub mod query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorQueryResult), @@ -17828,7 +17828,7 @@ pub mod connection_monitors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17852,7 +17852,7 @@ pub mod connection_monitors { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Network/operations", operation_config.base_path(),); @@ -17888,7 +17888,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -17909,7 +17909,7 @@ pub mod operations { } } pub mod public_ip_prefixes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17960,7 +17960,7 @@ pub mod public_ip_prefixes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -18036,7 +18036,7 @@ pub mod public_ip_prefixes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpPrefix), @@ -18111,7 +18111,7 @@ pub mod public_ip_prefixes { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -18173,7 +18173,7 @@ pub mod public_ip_prefixes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -18243,7 +18243,7 @@ pub mod public_ip_prefixes { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -18306,7 +18306,7 @@ pub mod public_ip_prefixes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -18327,7 +18327,7 @@ pub mod public_ip_prefixes { } } pub mod bgp_service_communities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -18370,7 +18370,7 @@ pub mod bgp_service_communities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -18391,7 +18391,7 @@ pub mod bgp_service_communities { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -18436,7 +18436,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -18457,7 +18457,7 @@ pub mod usages { } } pub mod virtual_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18504,7 +18504,7 @@ pub mod virtual_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -18580,7 +18580,7 @@ pub mod virtual_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGateway), @@ -18655,7 +18655,7 @@ pub mod virtual_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -18717,7 +18717,7 @@ pub mod virtual_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -18786,7 +18786,7 @@ pub mod virtual_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -18854,7 +18854,7 @@ pub mod virtual_network_gateways { } } pub mod list_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -18925,7 +18925,7 @@ pub mod virtual_network_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -18997,7 +18997,7 @@ pub mod virtual_network_gateways { } } pub mod reset_vpn_client_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -19075,7 +19075,7 @@ pub mod virtual_network_gateways { } } pub mod generatevpnclientpackage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -19151,7 +19151,7 @@ pub mod virtual_network_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -19228,7 +19228,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpn_profile_package_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -19307,7 +19307,7 @@ pub mod virtual_network_gateways { } } pub mod get_bgp_peer_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BgpPeerStatusListResult), @@ -19383,7 +19383,7 @@ pub mod virtual_network_gateways { } } pub mod supported_vpn_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -19453,7 +19453,7 @@ pub mod virtual_network_gateways { } } pub mod get_learned_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -19532,7 +19532,7 @@ pub mod virtual_network_gateways { } } pub mod get_advertised_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -19610,7 +19610,7 @@ pub mod virtual_network_gateways { } } pub mod set_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -19686,7 +19686,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -19758,7 +19758,7 @@ pub mod virtual_network_gateways { } } pub mod vpn_device_configuration_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -19779,7 +19779,7 @@ pub mod virtual_network_gateways { } } pub mod virtual_network_gateway_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19826,7 +19826,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -19902,7 +19902,7 @@ pub mod virtual_network_gateway_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGatewayConnection), @@ -19977,7 +19977,7 @@ pub mod virtual_network_gateway_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -20039,7 +20039,7 @@ pub mod virtual_network_gateway_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -20113,7 +20113,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -20189,7 +20189,7 @@ pub mod virtual_network_gateway_connections { } } pub mod set_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ConnectionSharedKey), @@ -20257,7 +20257,7 @@ pub mod virtual_network_gateway_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -20328,7 +20328,7 @@ pub mod virtual_network_gateway_connections { } } pub mod reset_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionResetSharedKey), @@ -20354,7 +20354,7 @@ pub mod virtual_network_gateway_connections { } } pub mod local_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20401,7 +20401,7 @@ pub mod local_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -20477,7 +20477,7 @@ pub mod local_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LocalNetworkGateway), @@ -20552,7 +20552,7 @@ pub mod local_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -20614,7 +20614,7 @@ pub mod local_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -20683,7 +20683,7 @@ pub mod local_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -20704,7 +20704,7 @@ pub mod local_network_gateways { } } pub mod virtual_wans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20753,7 +20753,7 @@ pub mod virtual_wans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20834,7 +20834,7 @@ pub mod virtual_wans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualWan), @@ -20920,7 +20920,7 @@ pub mod virtual_wans { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualWan), @@ -20992,7 +20992,7 @@ pub mod virtual_wans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -21071,7 +21071,7 @@ pub mod virtual_wans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21137,7 +21137,7 @@ pub mod virtual_wans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21161,7 +21161,7 @@ pub mod virtual_wans { } } pub mod vpn_sites { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -21210,7 +21210,7 @@ pub mod vpn_sites { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21291,7 +21291,7 @@ pub mod vpn_sites { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnSite), @@ -21377,7 +21377,7 @@ pub mod vpn_sites { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnSite), @@ -21449,7 +21449,7 @@ pub mod vpn_sites { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -21528,7 +21528,7 @@ pub mod vpn_sites { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21594,7 +21594,7 @@ pub mod vpn_sites { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21618,7 +21618,7 @@ pub mod vpn_sites { } } pub mod vpn_sites_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn download( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -21668,7 +21668,7 @@ pub mod vpn_sites_configuration { } } pub mod download { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -21697,7 +21697,7 @@ pub mod vpn_sites_configuration { } } pub mod virtual_hubs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -21746,7 +21746,7 @@ pub mod virtual_hubs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21827,7 +21827,7 @@ pub mod virtual_hubs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHub), @@ -21913,7 +21913,7 @@ pub mod virtual_hubs { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHub), @@ -21985,7 +21985,7 @@ pub mod virtual_hubs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22064,7 +22064,7 @@ pub mod virtual_hubs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22130,7 +22130,7 @@ pub mod virtual_hubs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22154,7 +22154,7 @@ pub mod virtual_hubs { } } pub mod hub_virtual_network_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -22205,7 +22205,7 @@ pub mod hub_virtual_network_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22275,7 +22275,7 @@ pub mod hub_virtual_network_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22299,7 +22299,7 @@ pub mod hub_virtual_network_connections { } } pub mod vpn_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -22348,7 +22348,7 @@ pub mod vpn_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22429,7 +22429,7 @@ pub mod vpn_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -22515,7 +22515,7 @@ pub mod vpn_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -22587,7 +22587,7 @@ pub mod vpn_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22666,7 +22666,7 @@ pub mod vpn_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22732,7 +22732,7 @@ pub mod vpn_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22756,7 +22756,7 @@ pub mod vpn_gateways { } } pub mod vpn_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -22807,7 +22807,7 @@ pub mod vpn_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22890,7 +22890,7 @@ pub mod vpn_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnConnection), @@ -22964,7 +22964,7 @@ pub mod vpn_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23043,7 +23043,7 @@ pub mod vpn_connections { } } pub mod list_by_vpn_gateway { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23067,7 +23067,7 @@ pub mod vpn_connections { } } pub mod p2s_vpn_server_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -23118,7 +23118,7 @@ pub mod p2s_vpn_server_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23201,7 +23201,7 @@ pub mod p2s_vpn_server_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnServerConfiguration), @@ -23275,7 +23275,7 @@ pub mod p2s_vpn_server_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23354,7 +23354,7 @@ pub mod p2s_vpn_server_configurations { } } pub mod list_by_virtual_wan { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23378,7 +23378,7 @@ pub mod p2s_vpn_server_configurations { } } pub mod p2s_vpn_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -23427,7 +23427,7 @@ pub mod p2s_vpn_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23508,7 +23508,7 @@ pub mod p2s_vpn_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -23594,7 +23594,7 @@ pub mod p2s_vpn_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -23666,7 +23666,7 @@ pub mod p2s_vpn_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23745,7 +23745,7 @@ pub mod p2s_vpn_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23811,7 +23811,7 @@ pub mod p2s_vpn_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23885,7 +23885,7 @@ pub mod p2s_vpn_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnProfileResponse), diff --git a/services/mgmt/network/src/package_2019_02/operations.rs b/services/mgmt/network/src/package_2019_02/operations.rs index b630a03d29..249b4bea02 100644 --- a/services/mgmt/network/src/package_2019_02/operations.rs +++ b/services/mgmt/network/src/package_2019_02/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod application_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod application_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod application_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationGateway), @@ -202,7 +202,7 @@ pub mod application_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -264,7 +264,7 @@ pub mod application_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -333,7 +333,7 @@ pub mod application_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -397,7 +397,7 @@ pub mod application_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -459,7 +459,7 @@ pub mod application_gateways { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -526,7 +526,7 @@ pub mod application_gateways { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -605,7 +605,7 @@ pub mod application_gateways { } } pub mod backend_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealth), @@ -687,7 +687,7 @@ pub mod application_gateways { } } pub mod backend_health_on_demand { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealthOnDemand), @@ -760,7 +760,7 @@ pub mod application_gateways { } } pub mod list_available_server_variables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -831,7 +831,7 @@ pub mod application_gateways { } } pub mod list_available_request_headers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -902,7 +902,7 @@ pub mod application_gateways { } } pub mod list_available_response_headers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -971,7 +971,7 @@ pub mod application_gateways { } } pub mod list_available_waf_rule_sets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1037,7 +1037,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_options { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1103,7 +1103,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_predefined_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1171,7 +1171,7 @@ pub mod application_gateways { } } pub mod get_ssl_predefined_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1192,7 +1192,7 @@ pub mod application_gateways { } } pub mod network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1243,7 +1243,7 @@ pub mod network_interfaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1319,7 +1319,7 @@ pub mod network_interfaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkInterface), @@ -1394,7 +1394,7 @@ pub mod network_interfaces { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1456,7 +1456,7 @@ pub mod network_interfaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1526,7 +1526,7 @@ pub mod network_interfaces { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1589,7 +1589,7 @@ pub mod network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1661,7 +1661,7 @@ pub mod network_interfaces { } } pub mod get_effective_route_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveRouteListResult), @@ -1738,7 +1738,7 @@ pub mod network_interfaces { } } pub mod list_effective_network_security_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveNetworkSecurityGroupListResult), @@ -1809,7 +1809,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_vm_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1880,7 +1880,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1950,7 +1950,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_network_interface { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2021,7 +2021,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_ip_configurations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2092,7 +2092,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_ip_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2113,7 +2113,7 @@ pub mod network_interfaces { } } pub mod network_interface_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2160,7 +2160,7 @@ pub mod network_interface_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2227,7 +2227,7 @@ pub mod network_interface_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2248,7 +2248,7 @@ pub mod network_interface_ip_configurations { } } pub mod network_interface_load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2295,7 +2295,7 @@ pub mod network_interface_load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2316,7 +2316,7 @@ pub mod network_interface_load_balancers { } } pub mod network_interface_tap_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2365,7 +2365,7 @@ pub mod network_interface_tap_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2443,7 +2443,7 @@ pub mod network_interface_tap_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkInterfaceTapConfiguration), @@ -2512,7 +2512,7 @@ pub mod network_interface_tap_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2583,7 +2583,7 @@ pub mod network_interface_tap_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2604,7 +2604,7 @@ pub mod network_interface_tap_configurations { } } pub mod virtual_network_taps { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2651,7 +2651,7 @@ pub mod virtual_network_taps { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2727,7 +2727,7 @@ pub mod virtual_network_taps { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkTap), @@ -2802,7 +2802,7 @@ pub mod virtual_network_taps { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2864,7 +2864,7 @@ pub mod virtual_network_taps { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2934,7 +2934,7 @@ pub mod virtual_network_taps { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3002,7 +3002,7 @@ pub mod virtual_network_taps { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3023,7 +3023,7 @@ pub mod virtual_network_taps { } } pub mod load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3074,7 +3074,7 @@ pub mod load_balancers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3150,7 +3150,7 @@ pub mod load_balancers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoadBalancer), @@ -3225,7 +3225,7 @@ pub mod load_balancers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3287,7 +3287,7 @@ pub mod load_balancers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -3357,7 +3357,7 @@ pub mod load_balancers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3420,7 +3420,7 @@ pub mod load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3441,7 +3441,7 @@ pub mod load_balancers { } } pub mod load_balancer_backend_address_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3488,7 +3488,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3555,7 +3555,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3576,7 +3576,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod load_balancer_frontend_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3623,7 +3623,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3690,7 +3690,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3711,7 +3711,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod inbound_nat_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3758,7 +3758,7 @@ pub mod inbound_nat_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3829,7 +3829,7 @@ pub mod inbound_nat_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3907,7 +3907,7 @@ pub mod inbound_nat_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(InboundNatRule), @@ -3976,7 +3976,7 @@ pub mod inbound_nat_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4003,7 +4003,7 @@ pub mod inbound_nat_rules { } } pub mod load_balancer_load_balancing_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4050,7 +4050,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4117,7 +4117,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4138,7 +4138,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod load_balancer_outbound_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4185,7 +4185,7 @@ pub mod load_balancer_outbound_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4252,7 +4252,7 @@ pub mod load_balancer_outbound_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4273,7 +4273,7 @@ pub mod load_balancer_outbound_rules { } } pub mod load_balancer_network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4320,7 +4320,7 @@ pub mod load_balancer_network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4341,7 +4341,7 @@ pub mod load_balancer_network_interfaces { } } pub mod load_balancer_probes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4388,7 +4388,7 @@ pub mod load_balancer_probes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4455,7 +4455,7 @@ pub mod load_balancer_probes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4476,7 +4476,7 @@ pub mod load_balancer_probes { } } pub mod virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4527,7 +4527,7 @@ pub mod virtual_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4603,7 +4603,7 @@ pub mod virtual_networks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetwork), @@ -4678,7 +4678,7 @@ pub mod virtual_networks { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4740,7 +4740,7 @@ pub mod virtual_networks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4810,7 +4810,7 @@ pub mod virtual_networks { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4873,7 +4873,7 @@ pub mod virtual_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4945,7 +4945,7 @@ pub mod virtual_networks { } } pub mod check_ip_address_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5013,7 +5013,7 @@ pub mod virtual_networks { } } pub mod list_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5034,7 +5034,7 @@ pub mod virtual_networks { } } pub mod subnets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5087,7 +5087,7 @@ pub mod subnets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5165,7 +5165,7 @@ pub mod subnets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Subnet), @@ -5234,7 +5234,7 @@ pub mod subnets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5311,7 +5311,7 @@ pub mod subnets { } } pub mod prepare_network_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5381,7 +5381,7 @@ pub mod subnets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5402,7 +5402,7 @@ pub mod subnets { } } pub mod resource_navigation_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5451,7 +5451,7 @@ pub mod resource_navigation_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5472,7 +5472,7 @@ pub mod resource_navigation_links { } } pub mod service_association_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5521,7 +5521,7 @@ pub mod service_association_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5542,7 +5542,7 @@ pub mod service_association_links { } } pub mod virtual_network_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5591,7 +5591,7 @@ pub mod virtual_network_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5669,7 +5669,7 @@ pub mod virtual_network_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkPeering), @@ -5738,7 +5738,7 @@ pub mod virtual_network_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5809,7 +5809,7 @@ pub mod virtual_network_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5830,7 +5830,7 @@ pub mod virtual_network_peerings { } } pub mod network_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5881,7 +5881,7 @@ pub mod network_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5957,7 +5957,7 @@ pub mod network_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkSecurityGroup), @@ -6032,7 +6032,7 @@ pub mod network_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6094,7 +6094,7 @@ pub mod network_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6164,7 +6164,7 @@ pub mod network_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6227,7 +6227,7 @@ pub mod network_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6248,7 +6248,7 @@ pub mod network_security_groups { } } pub mod security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6297,7 +6297,7 @@ pub mod security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6375,7 +6375,7 @@ pub mod security_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityRule), @@ -6444,7 +6444,7 @@ pub mod security_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -6515,7 +6515,7 @@ pub mod security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6536,7 +6536,7 @@ pub mod security_rules { } } pub mod default_security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6583,7 +6583,7 @@ pub mod default_security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6650,7 +6650,7 @@ pub mod default_security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6671,7 +6671,7 @@ pub mod default_security_rules { } } pub mod application_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6718,7 +6718,7 @@ pub mod application_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6794,7 +6794,7 @@ pub mod application_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationSecurityGroup), @@ -6869,7 +6869,7 @@ pub mod application_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6931,7 +6931,7 @@ pub mod application_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -7001,7 +7001,7 @@ pub mod application_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7064,7 +7064,7 @@ pub mod application_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7085,7 +7085,7 @@ pub mod application_security_groups { } } pub mod route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7136,7 +7136,7 @@ pub mod route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7212,7 +7212,7 @@ pub mod route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteTable), @@ -7287,7 +7287,7 @@ pub mod route_tables { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7349,7 +7349,7 @@ pub mod route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -7418,7 +7418,7 @@ pub mod route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7482,7 +7482,7 @@ pub mod route_tables { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7503,7 +7503,7 @@ pub mod route_tables { } } pub mod routes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7552,7 +7552,7 @@ pub mod routes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7630,7 +7630,7 @@ pub mod routes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Route), @@ -7699,7 +7699,7 @@ pub mod routes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7770,7 +7770,7 @@ pub mod routes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7791,7 +7791,7 @@ pub mod routes { } } pub mod service_endpoint_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7842,7 +7842,7 @@ pub mod service_endpoint_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7918,7 +7918,7 @@ pub mod service_endpoint_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ServiceEndpointPolicy), @@ -7990,7 +7990,7 @@ pub mod service_endpoint_policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8052,7 +8052,7 @@ pub mod service_endpoint_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8119,7 +8119,7 @@ pub mod service_endpoint_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8187,7 +8187,7 @@ pub mod service_endpoint_policies { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8208,7 +8208,7 @@ pub mod service_endpoint_policies { } } pub mod service_endpoint_policy_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8250,7 +8250,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8321,7 +8321,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServiceEndpointPolicyDefinition), @@ -8383,7 +8383,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -8459,7 +8459,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8480,7 +8480,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod interface_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8531,7 +8531,7 @@ pub mod interface_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8607,7 +8607,7 @@ pub mod interface_endpoints { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(InterfaceEndpoint), @@ -8674,7 +8674,7 @@ pub mod interface_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8743,7 +8743,7 @@ pub mod interface_endpoints { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8807,7 +8807,7 @@ pub mod interface_endpoints { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8828,7 +8828,7 @@ pub mod interface_endpoints { } } pub mod network_profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8879,7 +8879,7 @@ pub mod network_profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8955,7 +8955,7 @@ pub mod network_profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkProfile), @@ -9030,7 +9030,7 @@ pub mod network_profiles { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9092,7 +9092,7 @@ pub mod network_profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -9162,7 +9162,7 @@ pub mod network_profiles { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9225,7 +9225,7 @@ pub mod network_profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9246,7 +9246,7 @@ pub mod network_profiles { } } pub mod public_ip_addresses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9297,7 +9297,7 @@ pub mod public_ip_addresses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9373,7 +9373,7 @@ pub mod public_ip_addresses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpAddress), @@ -9448,7 +9448,7 @@ pub mod public_ip_addresses { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9510,7 +9510,7 @@ pub mod public_ip_addresses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -9580,7 +9580,7 @@ pub mod public_ip_addresses { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9643,7 +9643,7 @@ pub mod public_ip_addresses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9714,7 +9714,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9782,7 +9782,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_vm_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9854,7 +9854,7 @@ pub mod public_ip_addresses { } } pub mod get_virtual_machine_scale_set_public_ip_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9875,7 +9875,7 @@ pub mod public_ip_addresses { } } pub mod available_delegations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -9920,7 +9920,7 @@ pub mod available_delegations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9941,7 +9941,7 @@ pub mod available_delegations { } } pub mod available_resource_group_delegations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -9988,7 +9988,7 @@ pub mod available_resource_group_delegations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10009,7 +10009,7 @@ pub mod available_resource_group_delegations { } } pub mod azure_firewalls { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10056,7 +10056,7 @@ pub mod azure_firewalls { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10132,7 +10132,7 @@ pub mod azure_firewalls { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(AzureFirewall), @@ -10199,7 +10199,7 @@ pub mod azure_firewalls { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -10268,7 +10268,7 @@ pub mod azure_firewalls { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10332,7 +10332,7 @@ pub mod azure_firewalls { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10353,7 +10353,7 @@ pub mod azure_firewalls { } } pub mod azure_firewall_fqdn_tags { - use crate::models::*; + use super::{models, models::*}; pub async fn list_all( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10399,7 +10399,7 @@ pub mod azure_firewall_fqdn_tags { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10470,7 +10470,7 @@ pub async fn check_dns_name_availability( } } pub mod check_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10542,7 +10542,7 @@ pub async fn supported_security_providers( } } pub mod supported_security_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10565,7 +10565,7 @@ pub mod supported_security_providers { } } pub mod ddos_custom_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10614,7 +10614,7 @@ pub mod ddos_custom_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10695,7 +10695,7 @@ pub mod ddos_custom_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DdosCustomPolicy), @@ -10775,7 +10775,7 @@ pub mod ddos_custom_policies { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10842,7 +10842,7 @@ pub mod ddos_custom_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -10872,7 +10872,7 @@ pub mod ddos_custom_policies { } } pub mod ddos_protection_plans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10919,7 +10919,7 @@ pub mod ddos_protection_plans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10995,7 +10995,7 @@ pub mod ddos_protection_plans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DdosProtectionPlan), @@ -11070,7 +11070,7 @@ pub mod ddos_protection_plans { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11132,7 +11132,7 @@ pub mod ddos_protection_plans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -11199,7 +11199,7 @@ pub mod ddos_protection_plans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11267,7 +11267,7 @@ pub mod ddos_protection_plans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11288,7 +11288,7 @@ pub mod ddos_protection_plans { } } pub mod available_endpoint_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -11333,7 +11333,7 @@ pub mod available_endpoint_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11354,7 +11354,7 @@ pub mod available_endpoint_services { } } pub mod express_route_circuit_authorizations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11403,7 +11403,7 @@ pub mod express_route_circuit_authorizations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11481,7 +11481,7 @@ pub mod express_route_circuit_authorizations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuitAuthorization), @@ -11550,7 +11550,7 @@ pub mod express_route_circuit_authorizations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -11621,7 +11621,7 @@ pub mod express_route_circuit_authorizations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11642,7 +11642,7 @@ pub mod express_route_circuit_authorizations { } } pub mod express_route_circuit_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11691,7 +11691,7 @@ pub mod express_route_circuit_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11769,7 +11769,7 @@ pub mod express_route_circuit_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitPeering), @@ -11838,7 +11838,7 @@ pub mod express_route_circuit_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11909,7 +11909,7 @@ pub mod express_route_circuit_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11930,7 +11930,7 @@ pub mod express_route_circuit_peerings { } } pub mod express_route_circuit_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11981,7 +11981,7 @@ pub mod express_route_circuit_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12061,7 +12061,7 @@ pub mod express_route_circuit_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitConnection), @@ -12132,7 +12132,7 @@ pub mod express_route_circuit_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12205,7 +12205,7 @@ pub mod express_route_circuit_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12226,7 +12226,7 @@ pub mod express_route_circuit_connections { } } pub mod peer_express_route_circuit_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12277,7 +12277,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12344,7 +12344,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12365,7 +12365,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod express_route_circuits { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12412,7 +12412,7 @@ pub mod express_route_circuits { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12488,7 +12488,7 @@ pub mod express_route_circuits { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuit), @@ -12563,7 +12563,7 @@ pub mod express_route_circuits { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12625,7 +12625,7 @@ pub mod express_route_circuits { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -12705,7 +12705,7 @@ pub mod express_route_circuits { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -12784,7 +12784,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -12865,7 +12865,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableSummaryListResult), @@ -12938,7 +12938,7 @@ pub mod express_route_circuits { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13008,7 +13008,7 @@ pub mod express_route_circuits { } } pub mod get_peering_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13071,7 +13071,7 @@ pub mod express_route_circuits { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13135,7 +13135,7 @@ pub mod express_route_circuits { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13156,7 +13156,7 @@ pub mod express_route_circuits { } } pub mod express_route_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -13199,7 +13199,7 @@ pub mod express_route_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13220,7 +13220,7 @@ pub mod express_route_service_providers { } } pub mod route_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13271,7 +13271,7 @@ pub mod route_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13347,7 +13347,7 @@ pub mod route_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilter), @@ -13419,7 +13419,7 @@ pub mod route_filters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13481,7 +13481,7 @@ pub mod route_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -13555,7 +13555,7 @@ pub mod route_filters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13616,7 +13616,7 @@ pub mod route_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13637,7 +13637,7 @@ pub mod route_filters { } } pub mod route_filter_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13686,7 +13686,7 @@ pub mod route_filter_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13764,7 +13764,7 @@ pub mod route_filter_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilterRule), @@ -13838,7 +13838,7 @@ pub mod route_filter_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13902,7 +13902,7 @@ pub mod route_filter_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -13976,7 +13976,7 @@ pub mod route_filter_rules { } } pub mod list_by_route_filter { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13997,7 +13997,7 @@ pub mod route_filter_rules { } } pub mod express_route_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -14043,7 +14043,7 @@ pub mod express_route_gateways { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14111,7 +14111,7 @@ pub mod express_route_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14176,7 +14176,7 @@ pub mod express_route_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14252,7 +14252,7 @@ pub mod express_route_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteGateway), @@ -14319,7 +14319,7 @@ pub mod express_route_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -14346,7 +14346,7 @@ pub mod express_route_gateways { } } pub mod express_route_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14395,7 +14395,7 @@ pub mod express_route_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14473,7 +14473,7 @@ pub mod express_route_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteConnection), @@ -14542,7 +14542,7 @@ pub mod express_route_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -14613,7 +14613,7 @@ pub mod express_route_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14634,7 +14634,7 @@ pub mod express_route_connections { } } pub mod express_route_cross_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -14677,7 +14677,7 @@ pub mod express_route_cross_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14745,7 +14745,7 @@ pub mod express_route_cross_connections { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14810,7 +14810,7 @@ pub mod express_route_cross_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14880,7 +14880,7 @@ pub mod express_route_cross_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14950,7 +14950,7 @@ pub mod express_route_cross_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15024,7 +15024,7 @@ pub mod express_route_cross_connections { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -15097,7 +15097,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionsRoutesTableSummaryListResult), @@ -15176,7 +15176,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -15202,7 +15202,7 @@ pub mod express_route_cross_connections { } } pub mod express_route_cross_connection_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15249,7 +15249,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15316,7 +15316,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15394,7 +15394,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionPeering), @@ -15463,7 +15463,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -15490,7 +15490,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod express_route_ports_locations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -15533,7 +15533,7 @@ pub mod express_route_ports_locations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15596,7 +15596,7 @@ pub mod express_route_ports_locations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15617,7 +15617,7 @@ pub mod express_route_ports_locations { } } pub mod express_route_ports { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -15664,7 +15664,7 @@ pub mod express_route_ports { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15740,7 +15740,7 @@ pub mod express_route_ports { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRoutePort), @@ -15815,7 +15815,7 @@ pub mod express_route_ports { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15877,7 +15877,7 @@ pub mod express_route_ports { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -15951,7 +15951,7 @@ pub mod express_route_ports { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16012,7 +16012,7 @@ pub mod express_route_ports { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16033,7 +16033,7 @@ pub mod express_route_ports { } } pub mod express_route_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -16082,7 +16082,7 @@ pub mod express_route_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16147,7 +16147,7 @@ pub mod express_route_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16168,7 +16168,7 @@ pub mod express_route_links { } } pub mod nat_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16219,7 +16219,7 @@ pub mod nat_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16301,7 +16301,7 @@ pub mod nat_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NatGateway), @@ -16377,7 +16377,7 @@ pub mod nat_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16439,7 +16439,7 @@ pub mod nat_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -16509,7 +16509,7 @@ pub mod nat_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16572,7 +16572,7 @@ pub mod nat_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16593,7 +16593,7 @@ pub mod nat_gateways { } } pub mod network_watchers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16642,7 +16642,7 @@ pub mod network_watchers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16723,7 +16723,7 @@ pub mod network_watchers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkWatcher), @@ -16803,7 +16803,7 @@ pub mod network_watchers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16869,7 +16869,7 @@ pub mod network_watchers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -16942,7 +16942,7 @@ pub mod network_watchers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17011,7 +17011,7 @@ pub mod network_watchers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17086,7 +17086,7 @@ pub mod network_watchers { } } pub mod get_topology { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17167,7 +17167,7 @@ pub mod network_watchers { } } pub mod verify_ip_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VerificationIpFlowResult), @@ -17253,7 +17253,7 @@ pub mod network_watchers { } } pub mod get_next_hop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NextHopResult), @@ -17341,7 +17341,7 @@ pub mod network_watchers { } } pub mod get_vm_security_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityGroupViewResult), @@ -17427,7 +17427,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -17515,7 +17515,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -17603,7 +17603,7 @@ pub mod network_watchers { } } pub mod set_flow_log_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -17689,7 +17689,7 @@ pub mod network_watchers { } } pub mod get_flow_log_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -17775,7 +17775,7 @@ pub mod network_watchers { } } pub mod check_connectivity { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectivityInformation), @@ -17863,7 +17863,7 @@ pub mod network_watchers { } } pub mod get_azure_reachability_report { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AzureReachabilityReport), @@ -17951,7 +17951,7 @@ pub mod network_watchers { } } pub mod list_available_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AvailableProvidersList), @@ -18039,7 +18039,7 @@ pub mod network_watchers { } } pub mod get_network_configuration_diagnostic { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkConfigurationDiagnosticResponse), @@ -18068,7 +18068,7 @@ pub mod network_watchers { } } pub mod packet_captures { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18119,7 +18119,7 @@ pub mod packet_captures { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18193,7 +18193,7 @@ pub mod packet_captures { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18261,7 +18261,7 @@ pub mod packet_captures { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -18335,7 +18335,7 @@ pub mod packet_captures { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -18422,7 +18422,7 @@ pub mod packet_captures { } } pub mod get_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PacketCaptureQueryStatusResult), @@ -18497,7 +18497,7 @@ pub mod packet_captures { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18521,7 +18521,7 @@ pub mod packet_captures { } } pub mod connection_monitors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18572,7 +18572,7 @@ pub mod connection_monitors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18655,7 +18655,7 @@ pub mod connection_monitors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorResult), @@ -18728,7 +18728,7 @@ pub mod connection_monitors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -18802,7 +18802,7 @@ pub mod connection_monitors { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -18876,7 +18876,7 @@ pub mod connection_monitors { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -18960,7 +18960,7 @@ pub mod connection_monitors { } } pub mod query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorQueryResult), @@ -19035,7 +19035,7 @@ pub mod connection_monitors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19059,7 +19059,7 @@ pub mod connection_monitors { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Network/operations", operation_config.base_path(),); @@ -19095,7 +19095,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -19116,7 +19116,7 @@ pub mod operations { } } pub mod public_ip_prefixes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19167,7 +19167,7 @@ pub mod public_ip_prefixes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -19243,7 +19243,7 @@ pub mod public_ip_prefixes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpPrefix), @@ -19318,7 +19318,7 @@ pub mod public_ip_prefixes { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -19380,7 +19380,7 @@ pub mod public_ip_prefixes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -19450,7 +19450,7 @@ pub mod public_ip_prefixes { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -19513,7 +19513,7 @@ pub mod public_ip_prefixes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -19534,7 +19534,7 @@ pub mod public_ip_prefixes { } } pub mod bgp_service_communities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -19577,7 +19577,7 @@ pub mod bgp_service_communities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -19598,7 +19598,7 @@ pub mod bgp_service_communities { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -19643,7 +19643,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -19664,7 +19664,7 @@ pub mod usages { } } pub mod virtual_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19711,7 +19711,7 @@ pub mod virtual_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -19787,7 +19787,7 @@ pub mod virtual_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGateway), @@ -19862,7 +19862,7 @@ pub mod virtual_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -19924,7 +19924,7 @@ pub mod virtual_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -19993,7 +19993,7 @@ pub mod virtual_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -20061,7 +20061,7 @@ pub mod virtual_network_gateways { } } pub mod list_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -20132,7 +20132,7 @@ pub mod virtual_network_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -20204,7 +20204,7 @@ pub mod virtual_network_gateways { } } pub mod reset_vpn_client_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -20282,7 +20282,7 @@ pub mod virtual_network_gateways { } } pub mod generatevpnclientpackage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -20358,7 +20358,7 @@ pub mod virtual_network_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -20435,7 +20435,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpn_profile_package_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -20514,7 +20514,7 @@ pub mod virtual_network_gateways { } } pub mod get_bgp_peer_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BgpPeerStatusListResult), @@ -20590,7 +20590,7 @@ pub mod virtual_network_gateways { } } pub mod supported_vpn_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -20660,7 +20660,7 @@ pub mod virtual_network_gateways { } } pub mod get_learned_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -20739,7 +20739,7 @@ pub mod virtual_network_gateways { } } pub mod get_advertised_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -20817,7 +20817,7 @@ pub mod virtual_network_gateways { } } pub mod set_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -20893,7 +20893,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -20965,7 +20965,7 @@ pub mod virtual_network_gateways { } } pub mod vpn_device_configuration_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -20986,7 +20986,7 @@ pub mod virtual_network_gateways { } } pub mod virtual_network_gateway_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -21033,7 +21033,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -21109,7 +21109,7 @@ pub mod virtual_network_gateway_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGatewayConnection), @@ -21184,7 +21184,7 @@ pub mod virtual_network_gateway_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -21246,7 +21246,7 @@ pub mod virtual_network_gateway_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -21320,7 +21320,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -21396,7 +21396,7 @@ pub mod virtual_network_gateway_connections { } } pub mod set_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ConnectionSharedKey), @@ -21464,7 +21464,7 @@ pub mod virtual_network_gateway_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -21535,7 +21535,7 @@ pub mod virtual_network_gateway_connections { } } pub mod reset_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionResetSharedKey), @@ -21561,7 +21561,7 @@ pub mod virtual_network_gateway_connections { } } pub mod local_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -21608,7 +21608,7 @@ pub mod local_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -21684,7 +21684,7 @@ pub mod local_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LocalNetworkGateway), @@ -21759,7 +21759,7 @@ pub mod local_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -21821,7 +21821,7 @@ pub mod local_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -21890,7 +21890,7 @@ pub mod local_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -21911,7 +21911,7 @@ pub mod local_network_gateways { } } pub mod virtual_wans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -21960,7 +21960,7 @@ pub mod virtual_wans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22041,7 +22041,7 @@ pub mod virtual_wans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualWan), @@ -22127,7 +22127,7 @@ pub mod virtual_wans { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualWan), @@ -22199,7 +22199,7 @@ pub mod virtual_wans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22278,7 +22278,7 @@ pub mod virtual_wans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22344,7 +22344,7 @@ pub mod virtual_wans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22368,7 +22368,7 @@ pub mod virtual_wans { } } pub mod vpn_sites { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -22417,7 +22417,7 @@ pub mod vpn_sites { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22498,7 +22498,7 @@ pub mod vpn_sites { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnSite), @@ -22584,7 +22584,7 @@ pub mod vpn_sites { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnSite), @@ -22656,7 +22656,7 @@ pub mod vpn_sites { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22735,7 +22735,7 @@ pub mod vpn_sites { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22801,7 +22801,7 @@ pub mod vpn_sites { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22825,7 +22825,7 @@ pub mod vpn_sites { } } pub mod vpn_sites_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn download( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -22875,7 +22875,7 @@ pub mod vpn_sites_configuration { } } pub mod download { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22904,7 +22904,7 @@ pub mod vpn_sites_configuration { } } pub mod virtual_hubs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -22953,7 +22953,7 @@ pub mod virtual_hubs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23034,7 +23034,7 @@ pub mod virtual_hubs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHub), @@ -23120,7 +23120,7 @@ pub mod virtual_hubs { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHub), @@ -23192,7 +23192,7 @@ pub mod virtual_hubs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23271,7 +23271,7 @@ pub mod virtual_hubs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23337,7 +23337,7 @@ pub mod virtual_hubs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23361,7 +23361,7 @@ pub mod virtual_hubs { } } pub mod hub_virtual_network_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -23412,7 +23412,7 @@ pub mod hub_virtual_network_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23482,7 +23482,7 @@ pub mod hub_virtual_network_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23506,7 +23506,7 @@ pub mod hub_virtual_network_connections { } } pub mod vpn_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -23555,7 +23555,7 @@ pub mod vpn_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23636,7 +23636,7 @@ pub mod vpn_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -23722,7 +23722,7 @@ pub mod vpn_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -23794,7 +23794,7 @@ pub mod vpn_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23873,7 +23873,7 @@ pub mod vpn_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23939,7 +23939,7 @@ pub mod vpn_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23963,7 +23963,7 @@ pub mod vpn_gateways { } } pub mod vpn_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -24014,7 +24014,7 @@ pub mod vpn_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24097,7 +24097,7 @@ pub mod vpn_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnConnection), @@ -24171,7 +24171,7 @@ pub mod vpn_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -24250,7 +24250,7 @@ pub mod vpn_connections { } } pub mod list_by_vpn_gateway { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24274,7 +24274,7 @@ pub mod vpn_connections { } } pub mod p2s_vpn_server_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -24325,7 +24325,7 @@ pub mod p2s_vpn_server_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24408,7 +24408,7 @@ pub mod p2s_vpn_server_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnServerConfiguration), @@ -24482,7 +24482,7 @@ pub mod p2s_vpn_server_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -24561,7 +24561,7 @@ pub mod p2s_vpn_server_configurations { } } pub mod list_by_virtual_wan { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24585,7 +24585,7 @@ pub mod p2s_vpn_server_configurations { } } pub mod p2s_vpn_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -24634,7 +24634,7 @@ pub mod p2s_vpn_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24715,7 +24715,7 @@ pub mod p2s_vpn_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -24801,7 +24801,7 @@ pub mod p2s_vpn_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -24873,7 +24873,7 @@ pub mod p2s_vpn_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -24952,7 +24952,7 @@ pub mod p2s_vpn_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25018,7 +25018,7 @@ pub mod p2s_vpn_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25092,7 +25092,7 @@ pub mod p2s_vpn_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnProfileResponse), @@ -25118,7 +25118,7 @@ pub mod p2s_vpn_gateways { } } pub mod web_application_firewall_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -25163,7 +25163,7 @@ pub mod web_application_firewall_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -25227,7 +25227,7 @@ pub mod web_application_firewall_policies { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -25292,7 +25292,7 @@ pub mod web_application_firewall_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -25368,7 +25368,7 @@ pub mod web_application_firewall_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WebApplicationFirewallPolicy), @@ -25435,7 +25435,7 @@ pub mod web_application_firewall_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, diff --git a/services/mgmt/network/src/package_2019_04/operations.rs b/services/mgmt/network/src/package_2019_04/operations.rs index 482b51a75f..f1b78e213e 100644 --- a/services/mgmt/network/src/package_2019_04/operations.rs +++ b/services/mgmt/network/src/package_2019_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod application_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod application_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod application_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationGateway), @@ -202,7 +202,7 @@ pub mod application_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -264,7 +264,7 @@ pub mod application_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -333,7 +333,7 @@ pub mod application_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -397,7 +397,7 @@ pub mod application_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -459,7 +459,7 @@ pub mod application_gateways { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -526,7 +526,7 @@ pub mod application_gateways { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -605,7 +605,7 @@ pub mod application_gateways { } } pub mod backend_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealth), @@ -687,7 +687,7 @@ pub mod application_gateways { } } pub mod backend_health_on_demand { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealthOnDemand), @@ -760,7 +760,7 @@ pub mod application_gateways { } } pub mod list_available_server_variables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -831,7 +831,7 @@ pub mod application_gateways { } } pub mod list_available_request_headers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -902,7 +902,7 @@ pub mod application_gateways { } } pub mod list_available_response_headers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -971,7 +971,7 @@ pub mod application_gateways { } } pub mod list_available_waf_rule_sets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1037,7 +1037,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_options { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1103,7 +1103,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_predefined_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1171,7 +1171,7 @@ pub mod application_gateways { } } pub mod get_ssl_predefined_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1192,7 +1192,7 @@ pub mod application_gateways { } } pub mod network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1243,7 +1243,7 @@ pub mod network_interfaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1319,7 +1319,7 @@ pub mod network_interfaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkInterface), @@ -1394,7 +1394,7 @@ pub mod network_interfaces { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1456,7 +1456,7 @@ pub mod network_interfaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1526,7 +1526,7 @@ pub mod network_interfaces { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1589,7 +1589,7 @@ pub mod network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1661,7 +1661,7 @@ pub mod network_interfaces { } } pub mod get_effective_route_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveRouteListResult), @@ -1738,7 +1738,7 @@ pub mod network_interfaces { } } pub mod list_effective_network_security_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveNetworkSecurityGroupListResult), @@ -1809,7 +1809,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_vm_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1880,7 +1880,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1950,7 +1950,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_network_interface { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2021,7 +2021,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_ip_configurations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2092,7 +2092,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_ip_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2113,7 +2113,7 @@ pub mod network_interfaces { } } pub mod network_interface_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2160,7 +2160,7 @@ pub mod network_interface_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2227,7 +2227,7 @@ pub mod network_interface_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2248,7 +2248,7 @@ pub mod network_interface_ip_configurations { } } pub mod network_interface_load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2295,7 +2295,7 @@ pub mod network_interface_load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2316,7 +2316,7 @@ pub mod network_interface_load_balancers { } } pub mod network_interface_tap_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2365,7 +2365,7 @@ pub mod network_interface_tap_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2443,7 +2443,7 @@ pub mod network_interface_tap_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkInterfaceTapConfiguration), @@ -2512,7 +2512,7 @@ pub mod network_interface_tap_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2583,7 +2583,7 @@ pub mod network_interface_tap_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2604,7 +2604,7 @@ pub mod network_interface_tap_configurations { } } pub mod virtual_network_taps { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2651,7 +2651,7 @@ pub mod virtual_network_taps { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2727,7 +2727,7 @@ pub mod virtual_network_taps { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkTap), @@ -2802,7 +2802,7 @@ pub mod virtual_network_taps { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2864,7 +2864,7 @@ pub mod virtual_network_taps { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2934,7 +2934,7 @@ pub mod virtual_network_taps { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3002,7 +3002,7 @@ pub mod virtual_network_taps { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3023,7 +3023,7 @@ pub mod virtual_network_taps { } } pub mod load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3074,7 +3074,7 @@ pub mod load_balancers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3150,7 +3150,7 @@ pub mod load_balancers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoadBalancer), @@ -3225,7 +3225,7 @@ pub mod load_balancers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3287,7 +3287,7 @@ pub mod load_balancers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -3357,7 +3357,7 @@ pub mod load_balancers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3420,7 +3420,7 @@ pub mod load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3441,7 +3441,7 @@ pub mod load_balancers { } } pub mod load_balancer_backend_address_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3488,7 +3488,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3555,7 +3555,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3576,7 +3576,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod load_balancer_frontend_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3623,7 +3623,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3690,7 +3690,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3711,7 +3711,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod inbound_nat_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3758,7 +3758,7 @@ pub mod inbound_nat_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3829,7 +3829,7 @@ pub mod inbound_nat_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3907,7 +3907,7 @@ pub mod inbound_nat_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(InboundNatRule), @@ -3976,7 +3976,7 @@ pub mod inbound_nat_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4003,7 +4003,7 @@ pub mod inbound_nat_rules { } } pub mod load_balancer_load_balancing_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4050,7 +4050,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4117,7 +4117,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4138,7 +4138,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod load_balancer_outbound_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4185,7 +4185,7 @@ pub mod load_balancer_outbound_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4252,7 +4252,7 @@ pub mod load_balancer_outbound_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4273,7 +4273,7 @@ pub mod load_balancer_outbound_rules { } } pub mod load_balancer_network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4320,7 +4320,7 @@ pub mod load_balancer_network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4341,7 +4341,7 @@ pub mod load_balancer_network_interfaces { } } pub mod load_balancer_probes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4388,7 +4388,7 @@ pub mod load_balancer_probes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4455,7 +4455,7 @@ pub mod load_balancer_probes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4476,7 +4476,7 @@ pub mod load_balancer_probes { } } pub mod virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4527,7 +4527,7 @@ pub mod virtual_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4603,7 +4603,7 @@ pub mod virtual_networks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetwork), @@ -4678,7 +4678,7 @@ pub mod virtual_networks { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4740,7 +4740,7 @@ pub mod virtual_networks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4810,7 +4810,7 @@ pub mod virtual_networks { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4873,7 +4873,7 @@ pub mod virtual_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4945,7 +4945,7 @@ pub mod virtual_networks { } } pub mod check_ip_address_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5013,7 +5013,7 @@ pub mod virtual_networks { } } pub mod list_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5034,7 +5034,7 @@ pub mod virtual_networks { } } pub mod subnets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5087,7 +5087,7 @@ pub mod subnets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5165,7 +5165,7 @@ pub mod subnets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Subnet), @@ -5234,7 +5234,7 @@ pub mod subnets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5311,7 +5311,7 @@ pub mod subnets { } } pub mod prepare_network_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5381,7 +5381,7 @@ pub mod subnets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5402,7 +5402,7 @@ pub mod subnets { } } pub mod resource_navigation_links { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5451,7 +5451,7 @@ pub mod resource_navigation_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5472,7 +5472,7 @@ pub mod resource_navigation_links { } } pub mod service_association_links { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5521,7 +5521,7 @@ pub mod service_association_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5542,7 +5542,7 @@ pub mod service_association_links { } } pub mod virtual_network_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5591,7 +5591,7 @@ pub mod virtual_network_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5669,7 +5669,7 @@ pub mod virtual_network_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkPeering), @@ -5738,7 +5738,7 @@ pub mod virtual_network_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5809,7 +5809,7 @@ pub mod virtual_network_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5830,7 +5830,7 @@ pub mod virtual_network_peerings { } } pub mod network_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5881,7 +5881,7 @@ pub mod network_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5957,7 +5957,7 @@ pub mod network_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkSecurityGroup), @@ -6032,7 +6032,7 @@ pub mod network_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6094,7 +6094,7 @@ pub mod network_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6164,7 +6164,7 @@ pub mod network_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6227,7 +6227,7 @@ pub mod network_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6248,7 +6248,7 @@ pub mod network_security_groups { } } pub mod security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6297,7 +6297,7 @@ pub mod security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6375,7 +6375,7 @@ pub mod security_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityRule), @@ -6444,7 +6444,7 @@ pub mod security_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -6515,7 +6515,7 @@ pub mod security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6536,7 +6536,7 @@ pub mod security_rules { } } pub mod default_security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6583,7 +6583,7 @@ pub mod default_security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6650,7 +6650,7 @@ pub mod default_security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6671,7 +6671,7 @@ pub mod default_security_rules { } } pub mod application_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6718,7 +6718,7 @@ pub mod application_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6794,7 +6794,7 @@ pub mod application_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationSecurityGroup), @@ -6869,7 +6869,7 @@ pub mod application_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6931,7 +6931,7 @@ pub mod application_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -7001,7 +7001,7 @@ pub mod application_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7064,7 +7064,7 @@ pub mod application_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7085,7 +7085,7 @@ pub mod application_security_groups { } } pub mod route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7136,7 +7136,7 @@ pub mod route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7212,7 +7212,7 @@ pub mod route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteTable), @@ -7287,7 +7287,7 @@ pub mod route_tables { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7349,7 +7349,7 @@ pub mod route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -7418,7 +7418,7 @@ pub mod route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7482,7 +7482,7 @@ pub mod route_tables { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7503,7 +7503,7 @@ pub mod route_tables { } } pub mod routes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7552,7 +7552,7 @@ pub mod routes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7630,7 +7630,7 @@ pub mod routes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Route), @@ -7699,7 +7699,7 @@ pub mod routes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7770,7 +7770,7 @@ pub mod routes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7791,7 +7791,7 @@ pub mod routes { } } pub mod service_endpoint_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7842,7 +7842,7 @@ pub mod service_endpoint_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7918,7 +7918,7 @@ pub mod service_endpoint_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ServiceEndpointPolicy), @@ -7990,7 +7990,7 @@ pub mod service_endpoint_policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8052,7 +8052,7 @@ pub mod service_endpoint_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8119,7 +8119,7 @@ pub mod service_endpoint_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8187,7 +8187,7 @@ pub mod service_endpoint_policies { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8208,7 +8208,7 @@ pub mod service_endpoint_policies { } } pub mod service_endpoint_policy_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8250,7 +8250,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8321,7 +8321,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServiceEndpointPolicyDefinition), @@ -8383,7 +8383,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -8459,7 +8459,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8480,7 +8480,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod private_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8533,7 +8533,7 @@ pub mod private_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8614,7 +8614,7 @@ pub mod private_endpoints { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpoint), @@ -8686,7 +8686,7 @@ pub mod private_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8760,7 +8760,7 @@ pub mod private_endpoints { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8829,7 +8829,7 @@ pub mod private_endpoints { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8853,7 +8853,7 @@ pub mod private_endpoints { } } pub mod available_private_endpoint_types { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -8898,7 +8898,7 @@ pub mod available_private_endpoint_types { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8968,7 +8968,7 @@ pub mod available_private_endpoint_types { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8989,7 +8989,7 @@ pub mod available_private_endpoint_types { } } pub mod private_link_services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9042,7 +9042,7 @@ pub mod private_link_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9123,7 +9123,7 @@ pub mod private_link_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkService), @@ -9195,7 +9195,7 @@ pub mod private_link_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9269,7 +9269,7 @@ pub mod private_link_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9338,7 +9338,7 @@ pub mod private_link_services { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9417,7 +9417,7 @@ pub mod private_link_services { } } pub mod update_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9491,7 +9491,7 @@ pub mod private_link_services { } } pub mod delete_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9571,7 +9571,7 @@ pub mod private_link_services { } } pub mod check_private_link_service_visibility { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServiceVisibility), @@ -9654,7 +9654,7 @@ pub mod private_link_services { } } pub mod check_private_link_service_visibility_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServiceVisibility), @@ -9727,7 +9727,7 @@ pub mod private_link_services { } } pub mod list_auto_approved_private_link_services { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9800,7 +9800,7 @@ pub mod private_link_services { } } pub mod list_auto_approved_private_link_services_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9821,7 +9821,7 @@ pub mod private_link_services { } } pub mod network_profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9872,7 +9872,7 @@ pub mod network_profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9948,7 +9948,7 @@ pub mod network_profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkProfile), @@ -10023,7 +10023,7 @@ pub mod network_profiles { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10085,7 +10085,7 @@ pub mod network_profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -10155,7 +10155,7 @@ pub mod network_profiles { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10218,7 +10218,7 @@ pub mod network_profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10239,7 +10239,7 @@ pub mod network_profiles { } } pub mod public_ip_addresses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10290,7 +10290,7 @@ pub mod public_ip_addresses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10366,7 +10366,7 @@ pub mod public_ip_addresses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpAddress), @@ -10441,7 +10441,7 @@ pub mod public_ip_addresses { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10503,7 +10503,7 @@ pub mod public_ip_addresses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -10573,7 +10573,7 @@ pub mod public_ip_addresses { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10636,7 +10636,7 @@ pub mod public_ip_addresses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10707,7 +10707,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10775,7 +10775,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_vm_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10847,7 +10847,7 @@ pub mod public_ip_addresses { } } pub mod get_virtual_machine_scale_set_public_ip_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10868,7 +10868,7 @@ pub mod public_ip_addresses { } } pub mod available_delegations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -10913,7 +10913,7 @@ pub mod available_delegations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10934,7 +10934,7 @@ pub mod available_delegations { } } pub mod available_resource_group_delegations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -10981,7 +10981,7 @@ pub mod available_resource_group_delegations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11002,7 +11002,7 @@ pub mod available_resource_group_delegations { } } pub mod azure_firewalls { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11049,7 +11049,7 @@ pub mod azure_firewalls { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11125,7 +11125,7 @@ pub mod azure_firewalls { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(AzureFirewall), @@ -11192,7 +11192,7 @@ pub mod azure_firewalls { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -11261,7 +11261,7 @@ pub mod azure_firewalls { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11325,7 +11325,7 @@ pub mod azure_firewalls { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11346,7 +11346,7 @@ pub mod azure_firewalls { } } pub mod azure_firewall_fqdn_tags { - use crate::models::*; + use super::{models, models::*}; pub async fn list_all( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11392,7 +11392,7 @@ pub mod azure_firewall_fqdn_tags { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11413,7 +11413,7 @@ pub mod azure_firewall_fqdn_tags { } } pub mod bastion_hosts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11460,7 +11460,7 @@ pub mod bastion_hosts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11536,7 +11536,7 @@ pub mod bastion_hosts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(BastionHost), @@ -11603,7 +11603,7 @@ pub mod bastion_hosts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -11670,7 +11670,7 @@ pub mod bastion_hosts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11738,7 +11738,7 @@ pub mod bastion_hosts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11809,7 +11809,7 @@ pub async fn check_dns_name_availability( } } pub mod check_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11881,7 +11881,7 @@ pub async fn supported_security_providers( } } pub mod supported_security_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11904,7 +11904,7 @@ pub mod supported_security_providers { } } pub mod ddos_custom_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11953,7 +11953,7 @@ pub mod ddos_custom_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12034,7 +12034,7 @@ pub mod ddos_custom_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DdosCustomPolicy), @@ -12114,7 +12114,7 @@ pub mod ddos_custom_policies { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12181,7 +12181,7 @@ pub mod ddos_custom_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -12211,7 +12211,7 @@ pub mod ddos_custom_policies { } } pub mod ddos_protection_plans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12258,7 +12258,7 @@ pub mod ddos_protection_plans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12334,7 +12334,7 @@ pub mod ddos_protection_plans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DdosProtectionPlan), @@ -12409,7 +12409,7 @@ pub mod ddos_protection_plans { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12471,7 +12471,7 @@ pub mod ddos_protection_plans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -12538,7 +12538,7 @@ pub mod ddos_protection_plans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12606,7 +12606,7 @@ pub mod ddos_protection_plans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12627,7 +12627,7 @@ pub mod ddos_protection_plans { } } pub mod available_endpoint_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -12672,7 +12672,7 @@ pub mod available_endpoint_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12693,7 +12693,7 @@ pub mod available_endpoint_services { } } pub mod express_route_circuit_authorizations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12742,7 +12742,7 @@ pub mod express_route_circuit_authorizations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12820,7 +12820,7 @@ pub mod express_route_circuit_authorizations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuitAuthorization), @@ -12889,7 +12889,7 @@ pub mod express_route_circuit_authorizations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -12960,7 +12960,7 @@ pub mod express_route_circuit_authorizations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12981,7 +12981,7 @@ pub mod express_route_circuit_authorizations { } } pub mod express_route_circuit_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13030,7 +13030,7 @@ pub mod express_route_circuit_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13108,7 +13108,7 @@ pub mod express_route_circuit_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitPeering), @@ -13177,7 +13177,7 @@ pub mod express_route_circuit_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13248,7 +13248,7 @@ pub mod express_route_circuit_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13269,7 +13269,7 @@ pub mod express_route_circuit_peerings { } } pub mod express_route_circuit_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13320,7 +13320,7 @@ pub mod express_route_circuit_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13400,7 +13400,7 @@ pub mod express_route_circuit_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitConnection), @@ -13471,7 +13471,7 @@ pub mod express_route_circuit_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13544,7 +13544,7 @@ pub mod express_route_circuit_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13565,7 +13565,7 @@ pub mod express_route_circuit_connections { } } pub mod peer_express_route_circuit_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13616,7 +13616,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13683,7 +13683,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13704,7 +13704,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod express_route_circuits { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13751,7 +13751,7 @@ pub mod express_route_circuits { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13827,7 +13827,7 @@ pub mod express_route_circuits { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuit), @@ -13902,7 +13902,7 @@ pub mod express_route_circuits { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13964,7 +13964,7 @@ pub mod express_route_circuits { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -14044,7 +14044,7 @@ pub mod express_route_circuits { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -14123,7 +14123,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -14204,7 +14204,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableSummaryListResult), @@ -14277,7 +14277,7 @@ pub mod express_route_circuits { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14347,7 +14347,7 @@ pub mod express_route_circuits { } } pub mod get_peering_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14410,7 +14410,7 @@ pub mod express_route_circuits { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14474,7 +14474,7 @@ pub mod express_route_circuits { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14495,7 +14495,7 @@ pub mod express_route_circuits { } } pub mod express_route_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -14538,7 +14538,7 @@ pub mod express_route_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14559,7 +14559,7 @@ pub mod express_route_service_providers { } } pub mod express_route_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -14605,7 +14605,7 @@ pub mod express_route_gateways { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14673,7 +14673,7 @@ pub mod express_route_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14738,7 +14738,7 @@ pub mod express_route_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14814,7 +14814,7 @@ pub mod express_route_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteGateway), @@ -14881,7 +14881,7 @@ pub mod express_route_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -14908,7 +14908,7 @@ pub mod express_route_gateways { } } pub mod express_route_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14957,7 +14957,7 @@ pub mod express_route_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15035,7 +15035,7 @@ pub mod express_route_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteConnection), @@ -15104,7 +15104,7 @@ pub mod express_route_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -15175,7 +15175,7 @@ pub mod express_route_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15196,7 +15196,7 @@ pub mod express_route_connections { } } pub mod express_route_cross_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -15239,7 +15239,7 @@ pub mod express_route_cross_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15307,7 +15307,7 @@ pub mod express_route_cross_connections { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15372,7 +15372,7 @@ pub mod express_route_cross_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15442,7 +15442,7 @@ pub mod express_route_cross_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15512,7 +15512,7 @@ pub mod express_route_cross_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15586,7 +15586,7 @@ pub mod express_route_cross_connections { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -15659,7 +15659,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionsRoutesTableSummaryListResult), @@ -15738,7 +15738,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -15764,7 +15764,7 @@ pub mod express_route_cross_connections { } } pub mod express_route_cross_connection_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15811,7 +15811,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15878,7 +15878,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15956,7 +15956,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionPeering), @@ -16025,7 +16025,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -16052,7 +16052,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod express_route_ports_locations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -16095,7 +16095,7 @@ pub mod express_route_ports_locations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16158,7 +16158,7 @@ pub mod express_route_ports_locations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16179,7 +16179,7 @@ pub mod express_route_ports_locations { } } pub mod express_route_ports { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -16226,7 +16226,7 @@ pub mod express_route_ports { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16302,7 +16302,7 @@ pub mod express_route_ports { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRoutePort), @@ -16377,7 +16377,7 @@ pub mod express_route_ports { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16439,7 +16439,7 @@ pub mod express_route_ports { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -16513,7 +16513,7 @@ pub mod express_route_ports { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16574,7 +16574,7 @@ pub mod express_route_ports { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16595,7 +16595,7 @@ pub mod express_route_ports { } } pub mod express_route_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -16644,7 +16644,7 @@ pub mod express_route_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16709,7 +16709,7 @@ pub mod express_route_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16730,7 +16730,7 @@ pub mod express_route_links { } } pub mod nat_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16781,7 +16781,7 @@ pub mod nat_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16863,7 +16863,7 @@ pub mod nat_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NatGateway), @@ -16939,7 +16939,7 @@ pub mod nat_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -17001,7 +17001,7 @@ pub mod nat_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -17071,7 +17071,7 @@ pub mod nat_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -17134,7 +17134,7 @@ pub mod nat_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -17155,7 +17155,7 @@ pub mod nat_gateways { } } pub mod network_watchers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17204,7 +17204,7 @@ pub mod network_watchers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17285,7 +17285,7 @@ pub mod network_watchers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkWatcher), @@ -17365,7 +17365,7 @@ pub mod network_watchers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17431,7 +17431,7 @@ pub mod network_watchers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -17504,7 +17504,7 @@ pub mod network_watchers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17573,7 +17573,7 @@ pub mod network_watchers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17648,7 +17648,7 @@ pub mod network_watchers { } } pub mod get_topology { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17729,7 +17729,7 @@ pub mod network_watchers { } } pub mod verify_ip_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VerificationIpFlowResult), @@ -17815,7 +17815,7 @@ pub mod network_watchers { } } pub mod get_next_hop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NextHopResult), @@ -17903,7 +17903,7 @@ pub mod network_watchers { } } pub mod get_vm_security_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityGroupViewResult), @@ -17989,7 +17989,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -18077,7 +18077,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -18165,7 +18165,7 @@ pub mod network_watchers { } } pub mod set_flow_log_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -18251,7 +18251,7 @@ pub mod network_watchers { } } pub mod get_flow_log_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -18337,7 +18337,7 @@ pub mod network_watchers { } } pub mod check_connectivity { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectivityInformation), @@ -18425,7 +18425,7 @@ pub mod network_watchers { } } pub mod get_azure_reachability_report { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AzureReachabilityReport), @@ -18513,7 +18513,7 @@ pub mod network_watchers { } } pub mod list_available_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AvailableProvidersList), @@ -18601,7 +18601,7 @@ pub mod network_watchers { } } pub mod get_network_configuration_diagnostic { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkConfigurationDiagnosticResponse), @@ -18630,7 +18630,7 @@ pub mod network_watchers { } } pub mod packet_captures { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18681,7 +18681,7 @@ pub mod packet_captures { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18755,7 +18755,7 @@ pub mod packet_captures { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18823,7 +18823,7 @@ pub mod packet_captures { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -18897,7 +18897,7 @@ pub mod packet_captures { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -18984,7 +18984,7 @@ pub mod packet_captures { } } pub mod get_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PacketCaptureQueryStatusResult), @@ -19059,7 +19059,7 @@ pub mod packet_captures { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19083,7 +19083,7 @@ pub mod packet_captures { } } pub mod connection_monitors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19134,7 +19134,7 @@ pub mod connection_monitors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19217,7 +19217,7 @@ pub mod connection_monitors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorResult), @@ -19290,7 +19290,7 @@ pub mod connection_monitors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -19364,7 +19364,7 @@ pub mod connection_monitors { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -19438,7 +19438,7 @@ pub mod connection_monitors { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -19522,7 +19522,7 @@ pub mod connection_monitors { } } pub mod query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorQueryResult), @@ -19597,7 +19597,7 @@ pub mod connection_monitors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19621,7 +19621,7 @@ pub mod connection_monitors { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Network/operations", operation_config.base_path(),); @@ -19657,7 +19657,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -19678,7 +19678,7 @@ pub mod operations { } } pub mod public_ip_prefixes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19729,7 +19729,7 @@ pub mod public_ip_prefixes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -19805,7 +19805,7 @@ pub mod public_ip_prefixes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpPrefix), @@ -19880,7 +19880,7 @@ pub mod public_ip_prefixes { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -19942,7 +19942,7 @@ pub mod public_ip_prefixes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -20012,7 +20012,7 @@ pub mod public_ip_prefixes { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -20075,7 +20075,7 @@ pub mod public_ip_prefixes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -20096,7 +20096,7 @@ pub mod public_ip_prefixes { } } pub mod route_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20147,7 +20147,7 @@ pub mod route_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -20223,7 +20223,7 @@ pub mod route_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilter), @@ -20295,7 +20295,7 @@ pub mod route_filters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -20357,7 +20357,7 @@ pub mod route_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -20431,7 +20431,7 @@ pub mod route_filters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -20492,7 +20492,7 @@ pub mod route_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -20513,7 +20513,7 @@ pub mod route_filters { } } pub mod route_filter_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20562,7 +20562,7 @@ pub mod route_filter_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -20640,7 +20640,7 @@ pub mod route_filter_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilterRule), @@ -20714,7 +20714,7 @@ pub mod route_filter_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -20778,7 +20778,7 @@ pub mod route_filter_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -20852,7 +20852,7 @@ pub mod route_filter_rules { } } pub mod list_by_route_filter { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -20873,7 +20873,7 @@ pub mod route_filter_rules { } } pub mod bgp_service_communities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -20916,7 +20916,7 @@ pub mod bgp_service_communities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -20937,7 +20937,7 @@ pub mod bgp_service_communities { } } pub mod service_tags { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -20982,7 +20982,7 @@ pub mod service_tags { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -21003,7 +21003,7 @@ pub mod service_tags { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -21048,7 +21048,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -21069,7 +21069,7 @@ pub mod usages { } } pub mod virtual_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -21116,7 +21116,7 @@ pub mod virtual_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -21192,7 +21192,7 @@ pub mod virtual_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGateway), @@ -21267,7 +21267,7 @@ pub mod virtual_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -21329,7 +21329,7 @@ pub mod virtual_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -21398,7 +21398,7 @@ pub mod virtual_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -21466,7 +21466,7 @@ pub mod virtual_network_gateways { } } pub mod list_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -21537,7 +21537,7 @@ pub mod virtual_network_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -21609,7 +21609,7 @@ pub mod virtual_network_gateways { } } pub mod reset_vpn_client_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -21687,7 +21687,7 @@ pub mod virtual_network_gateways { } } pub mod generatevpnclientpackage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -21763,7 +21763,7 @@ pub mod virtual_network_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -21840,7 +21840,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpn_profile_package_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -21919,7 +21919,7 @@ pub mod virtual_network_gateways { } } pub mod get_bgp_peer_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BgpPeerStatusListResult), @@ -21995,7 +21995,7 @@ pub mod virtual_network_gateways { } } pub mod supported_vpn_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -22065,7 +22065,7 @@ pub mod virtual_network_gateways { } } pub mod get_learned_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -22144,7 +22144,7 @@ pub mod virtual_network_gateways { } } pub mod get_advertised_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -22222,7 +22222,7 @@ pub mod virtual_network_gateways { } } pub mod set_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -22298,7 +22298,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -22370,7 +22370,7 @@ pub mod virtual_network_gateways { } } pub mod vpn_device_configuration_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -22442,7 +22442,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpnclient_connection_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnClientConnectionHealthDetailListResult), @@ -22468,7 +22468,7 @@ pub mod virtual_network_gateways { } } pub mod virtual_network_gateway_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -22515,7 +22515,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -22591,7 +22591,7 @@ pub mod virtual_network_gateway_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGatewayConnection), @@ -22666,7 +22666,7 @@ pub mod virtual_network_gateway_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -22728,7 +22728,7 @@ pub mod virtual_network_gateway_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22802,7 +22802,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -22878,7 +22878,7 @@ pub mod virtual_network_gateway_connections { } } pub mod set_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ConnectionSharedKey), @@ -22946,7 +22946,7 @@ pub mod virtual_network_gateway_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -23017,7 +23017,7 @@ pub mod virtual_network_gateway_connections { } } pub mod reset_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionResetSharedKey), @@ -23043,7 +23043,7 @@ pub mod virtual_network_gateway_connections { } } pub mod local_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -23090,7 +23090,7 @@ pub mod local_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -23166,7 +23166,7 @@ pub mod local_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LocalNetworkGateway), @@ -23241,7 +23241,7 @@ pub mod local_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -23303,7 +23303,7 @@ pub mod local_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -23372,7 +23372,7 @@ pub mod local_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -23393,7 +23393,7 @@ pub mod local_network_gateways { } } pub mod virtual_wans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -23442,7 +23442,7 @@ pub mod virtual_wans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23523,7 +23523,7 @@ pub mod virtual_wans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualWan), @@ -23609,7 +23609,7 @@ pub mod virtual_wans { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualWan), @@ -23681,7 +23681,7 @@ pub mod virtual_wans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23760,7 +23760,7 @@ pub mod virtual_wans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23826,7 +23826,7 @@ pub mod virtual_wans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23850,7 +23850,7 @@ pub mod virtual_wans { } } pub mod vpn_sites { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -23899,7 +23899,7 @@ pub mod vpn_sites { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23980,7 +23980,7 @@ pub mod vpn_sites { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnSite), @@ -24066,7 +24066,7 @@ pub mod vpn_sites { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnSite), @@ -24138,7 +24138,7 @@ pub mod vpn_sites { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -24217,7 +24217,7 @@ pub mod vpn_sites { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24283,7 +24283,7 @@ pub mod vpn_sites { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24307,7 +24307,7 @@ pub mod vpn_sites { } } pub mod vpn_sites_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn download( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -24357,7 +24357,7 @@ pub mod vpn_sites_configuration { } } pub mod download { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -24386,7 +24386,7 @@ pub mod vpn_sites_configuration { } } pub mod virtual_hubs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -24435,7 +24435,7 @@ pub mod virtual_hubs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24516,7 +24516,7 @@ pub mod virtual_hubs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHub), @@ -24602,7 +24602,7 @@ pub mod virtual_hubs { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHub), @@ -24674,7 +24674,7 @@ pub mod virtual_hubs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -24753,7 +24753,7 @@ pub mod virtual_hubs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24819,7 +24819,7 @@ pub mod virtual_hubs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24843,7 +24843,7 @@ pub mod virtual_hubs { } } pub mod hub_virtual_network_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -24894,7 +24894,7 @@ pub mod hub_virtual_network_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24964,7 +24964,7 @@ pub mod hub_virtual_network_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24988,7 +24988,7 @@ pub mod hub_virtual_network_connections { } } pub mod vpn_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -25037,7 +25037,7 @@ pub mod vpn_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25118,7 +25118,7 @@ pub mod vpn_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -25204,7 +25204,7 @@ pub mod vpn_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -25276,7 +25276,7 @@ pub mod vpn_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -25352,7 +25352,7 @@ pub mod vpn_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -25427,7 +25427,7 @@ pub mod vpn_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25493,7 +25493,7 @@ pub mod vpn_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25517,7 +25517,7 @@ pub mod vpn_gateways { } } pub mod vpn_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -25568,7 +25568,7 @@ pub mod vpn_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25651,7 +25651,7 @@ pub mod vpn_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnConnection), @@ -25725,7 +25725,7 @@ pub mod vpn_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -25804,7 +25804,7 @@ pub mod vpn_connections { } } pub mod list_by_vpn_gateway { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25828,7 +25828,7 @@ pub mod vpn_connections { } } pub mod p2s_vpn_server_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -25879,7 +25879,7 @@ pub mod p2s_vpn_server_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25962,7 +25962,7 @@ pub mod p2s_vpn_server_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnServerConfiguration), @@ -26036,7 +26036,7 @@ pub mod p2s_vpn_server_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -26115,7 +26115,7 @@ pub mod p2s_vpn_server_configurations { } } pub mod list_by_virtual_wan { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26139,7 +26139,7 @@ pub mod p2s_vpn_server_configurations { } } pub mod p2s_vpn_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -26188,7 +26188,7 @@ pub mod p2s_vpn_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26269,7 +26269,7 @@ pub mod p2s_vpn_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -26355,7 +26355,7 @@ pub mod p2s_vpn_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -26427,7 +26427,7 @@ pub mod p2s_vpn_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -26506,7 +26506,7 @@ pub mod p2s_vpn_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26572,7 +26572,7 @@ pub mod p2s_vpn_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26646,7 +26646,7 @@ pub mod p2s_vpn_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnProfileResponse), @@ -26723,7 +26723,7 @@ pub mod p2s_vpn_gateways { } } pub mod get_p2s_vpn_connection_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -26749,7 +26749,7 @@ pub mod p2s_vpn_gateways { } } pub mod web_application_firewall_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -26794,7 +26794,7 @@ pub mod web_application_firewall_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -26858,7 +26858,7 @@ pub mod web_application_firewall_policies { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -26923,7 +26923,7 @@ pub mod web_application_firewall_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -26999,7 +26999,7 @@ pub mod web_application_firewall_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WebApplicationFirewallPolicy), @@ -27066,7 +27066,7 @@ pub mod web_application_firewall_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, diff --git a/services/mgmt/network/src/package_2019_06/operations.rs b/services/mgmt/network/src/package_2019_06/operations.rs index 620e9c9c0d..7f57c19a63 100644 --- a/services/mgmt/network/src/package_2019_06/operations.rs +++ b/services/mgmt/network/src/package_2019_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod application_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod application_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod application_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationGateway), @@ -202,7 +202,7 @@ pub mod application_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -264,7 +264,7 @@ pub mod application_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -333,7 +333,7 @@ pub mod application_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -397,7 +397,7 @@ pub mod application_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -459,7 +459,7 @@ pub mod application_gateways { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -526,7 +526,7 @@ pub mod application_gateways { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -605,7 +605,7 @@ pub mod application_gateways { } } pub mod backend_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealth), @@ -687,7 +687,7 @@ pub mod application_gateways { } } pub mod backend_health_on_demand { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealthOnDemand), @@ -760,7 +760,7 @@ pub mod application_gateways { } } pub mod list_available_server_variables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -831,7 +831,7 @@ pub mod application_gateways { } } pub mod list_available_request_headers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -902,7 +902,7 @@ pub mod application_gateways { } } pub mod list_available_response_headers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -971,7 +971,7 @@ pub mod application_gateways { } } pub mod list_available_waf_rule_sets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1037,7 +1037,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_options { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1103,7 +1103,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_predefined_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1171,7 +1171,7 @@ pub mod application_gateways { } } pub mod get_ssl_predefined_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1192,7 +1192,7 @@ pub mod application_gateways { } } pub mod network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1243,7 +1243,7 @@ pub mod network_interfaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1319,7 +1319,7 @@ pub mod network_interfaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkInterface), @@ -1394,7 +1394,7 @@ pub mod network_interfaces { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1456,7 +1456,7 @@ pub mod network_interfaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1526,7 +1526,7 @@ pub mod network_interfaces { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1589,7 +1589,7 @@ pub mod network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1661,7 +1661,7 @@ pub mod network_interfaces { } } pub mod get_effective_route_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveRouteListResult), @@ -1738,7 +1738,7 @@ pub mod network_interfaces { } } pub mod list_effective_network_security_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveNetworkSecurityGroupListResult), @@ -1809,7 +1809,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_vm_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1880,7 +1880,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1950,7 +1950,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_network_interface { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2021,7 +2021,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_ip_configurations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2092,7 +2092,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_ip_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2113,7 +2113,7 @@ pub mod network_interfaces { } } pub mod network_interface_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2160,7 +2160,7 @@ pub mod network_interface_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2227,7 +2227,7 @@ pub mod network_interface_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2248,7 +2248,7 @@ pub mod network_interface_ip_configurations { } } pub mod network_interface_load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2295,7 +2295,7 @@ pub mod network_interface_load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2316,7 +2316,7 @@ pub mod network_interface_load_balancers { } } pub mod network_interface_tap_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2365,7 +2365,7 @@ pub mod network_interface_tap_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2443,7 +2443,7 @@ pub mod network_interface_tap_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkInterfaceTapConfiguration), @@ -2512,7 +2512,7 @@ pub mod network_interface_tap_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2583,7 +2583,7 @@ pub mod network_interface_tap_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2604,7 +2604,7 @@ pub mod network_interface_tap_configurations { } } pub mod virtual_network_taps { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2651,7 +2651,7 @@ pub mod virtual_network_taps { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2727,7 +2727,7 @@ pub mod virtual_network_taps { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkTap), @@ -2802,7 +2802,7 @@ pub mod virtual_network_taps { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2864,7 +2864,7 @@ pub mod virtual_network_taps { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2934,7 +2934,7 @@ pub mod virtual_network_taps { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3002,7 +3002,7 @@ pub mod virtual_network_taps { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3023,7 +3023,7 @@ pub mod virtual_network_taps { } } pub mod load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3074,7 +3074,7 @@ pub mod load_balancers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3150,7 +3150,7 @@ pub mod load_balancers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoadBalancer), @@ -3225,7 +3225,7 @@ pub mod load_balancers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3287,7 +3287,7 @@ pub mod load_balancers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -3357,7 +3357,7 @@ pub mod load_balancers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3420,7 +3420,7 @@ pub mod load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3441,7 +3441,7 @@ pub mod load_balancers { } } pub mod load_balancer_backend_address_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3488,7 +3488,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3555,7 +3555,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3576,7 +3576,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod load_balancer_frontend_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3623,7 +3623,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3690,7 +3690,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3711,7 +3711,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod inbound_nat_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3758,7 +3758,7 @@ pub mod inbound_nat_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3829,7 +3829,7 @@ pub mod inbound_nat_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3907,7 +3907,7 @@ pub mod inbound_nat_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(InboundNatRule), @@ -3976,7 +3976,7 @@ pub mod inbound_nat_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4003,7 +4003,7 @@ pub mod inbound_nat_rules { } } pub mod load_balancer_load_balancing_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4050,7 +4050,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4117,7 +4117,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4138,7 +4138,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod load_balancer_outbound_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4185,7 +4185,7 @@ pub mod load_balancer_outbound_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4252,7 +4252,7 @@ pub mod load_balancer_outbound_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4273,7 +4273,7 @@ pub mod load_balancer_outbound_rules { } } pub mod load_balancer_network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4320,7 +4320,7 @@ pub mod load_balancer_network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4341,7 +4341,7 @@ pub mod load_balancer_network_interfaces { } } pub mod load_balancer_probes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4388,7 +4388,7 @@ pub mod load_balancer_probes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4455,7 +4455,7 @@ pub mod load_balancer_probes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4476,7 +4476,7 @@ pub mod load_balancer_probes { } } pub mod virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4527,7 +4527,7 @@ pub mod virtual_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4603,7 +4603,7 @@ pub mod virtual_networks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetwork), @@ -4678,7 +4678,7 @@ pub mod virtual_networks { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4740,7 +4740,7 @@ pub mod virtual_networks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4810,7 +4810,7 @@ pub mod virtual_networks { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4873,7 +4873,7 @@ pub mod virtual_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4945,7 +4945,7 @@ pub mod virtual_networks { } } pub mod check_ip_address_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5013,7 +5013,7 @@ pub mod virtual_networks { } } pub mod list_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5034,7 +5034,7 @@ pub mod virtual_networks { } } pub mod subnets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5087,7 +5087,7 @@ pub mod subnets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5165,7 +5165,7 @@ pub mod subnets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Subnet), @@ -5234,7 +5234,7 @@ pub mod subnets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5311,7 +5311,7 @@ pub mod subnets { } } pub mod prepare_network_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5387,7 +5387,7 @@ pub mod subnets { } } pub mod unprepare_network_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5457,7 +5457,7 @@ pub mod subnets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5478,7 +5478,7 @@ pub mod subnets { } } pub mod resource_navigation_links { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5527,7 +5527,7 @@ pub mod resource_navigation_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5548,7 +5548,7 @@ pub mod resource_navigation_links { } } pub mod service_association_links { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5597,7 +5597,7 @@ pub mod service_association_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5618,7 +5618,7 @@ pub mod service_association_links { } } pub mod virtual_network_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5667,7 +5667,7 @@ pub mod virtual_network_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5745,7 +5745,7 @@ pub mod virtual_network_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkPeering), @@ -5814,7 +5814,7 @@ pub mod virtual_network_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5885,7 +5885,7 @@ pub mod virtual_network_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5906,7 +5906,7 @@ pub mod virtual_network_peerings { } } pub mod network_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5957,7 +5957,7 @@ pub mod network_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6033,7 +6033,7 @@ pub mod network_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkSecurityGroup), @@ -6108,7 +6108,7 @@ pub mod network_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6170,7 +6170,7 @@ pub mod network_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6240,7 +6240,7 @@ pub mod network_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6303,7 +6303,7 @@ pub mod network_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6324,7 +6324,7 @@ pub mod network_security_groups { } } pub mod security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6373,7 +6373,7 @@ pub mod security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6451,7 +6451,7 @@ pub mod security_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityRule), @@ -6520,7 +6520,7 @@ pub mod security_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -6591,7 +6591,7 @@ pub mod security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6612,7 +6612,7 @@ pub mod security_rules { } } pub mod default_security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6659,7 +6659,7 @@ pub mod default_security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6726,7 +6726,7 @@ pub mod default_security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6747,7 +6747,7 @@ pub mod default_security_rules { } } pub mod application_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6794,7 +6794,7 @@ pub mod application_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6870,7 +6870,7 @@ pub mod application_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationSecurityGroup), @@ -6945,7 +6945,7 @@ pub mod application_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7007,7 +7007,7 @@ pub mod application_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -7077,7 +7077,7 @@ pub mod application_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7140,7 +7140,7 @@ pub mod application_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7161,7 +7161,7 @@ pub mod application_security_groups { } } pub mod route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7212,7 +7212,7 @@ pub mod route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7288,7 +7288,7 @@ pub mod route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteTable), @@ -7363,7 +7363,7 @@ pub mod route_tables { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7425,7 +7425,7 @@ pub mod route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -7494,7 +7494,7 @@ pub mod route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7558,7 +7558,7 @@ pub mod route_tables { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7579,7 +7579,7 @@ pub mod route_tables { } } pub mod routes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7628,7 +7628,7 @@ pub mod routes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7706,7 +7706,7 @@ pub mod routes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Route), @@ -7775,7 +7775,7 @@ pub mod routes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7846,7 +7846,7 @@ pub mod routes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7867,7 +7867,7 @@ pub mod routes { } } pub mod service_endpoint_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7918,7 +7918,7 @@ pub mod service_endpoint_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7994,7 +7994,7 @@ pub mod service_endpoint_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ServiceEndpointPolicy), @@ -8066,7 +8066,7 @@ pub mod service_endpoint_policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8128,7 +8128,7 @@ pub mod service_endpoint_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8195,7 +8195,7 @@ pub mod service_endpoint_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8263,7 +8263,7 @@ pub mod service_endpoint_policies { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8284,7 +8284,7 @@ pub mod service_endpoint_policies { } } pub mod service_endpoint_policy_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8326,7 +8326,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8397,7 +8397,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServiceEndpointPolicyDefinition), @@ -8459,7 +8459,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -8535,7 +8535,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8556,7 +8556,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod private_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8609,7 +8609,7 @@ pub mod private_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8690,7 +8690,7 @@ pub mod private_endpoints { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpoint), @@ -8762,7 +8762,7 @@ pub mod private_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8836,7 +8836,7 @@ pub mod private_endpoints { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8905,7 +8905,7 @@ pub mod private_endpoints { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8929,7 +8929,7 @@ pub mod private_endpoints { } } pub mod available_private_endpoint_types { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -8974,7 +8974,7 @@ pub mod available_private_endpoint_types { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9044,7 +9044,7 @@ pub mod available_private_endpoint_types { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9065,7 +9065,7 @@ pub mod available_private_endpoint_types { } } pub mod private_link_services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9118,7 +9118,7 @@ pub mod private_link_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9199,7 +9199,7 @@ pub mod private_link_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkService), @@ -9271,7 +9271,7 @@ pub mod private_link_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9345,7 +9345,7 @@ pub mod private_link_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9414,7 +9414,7 @@ pub mod private_link_services { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9493,7 +9493,7 @@ pub mod private_link_services { } } pub mod update_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9567,7 +9567,7 @@ pub mod private_link_services { } } pub mod delete_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9647,7 +9647,7 @@ pub mod private_link_services { } } pub mod check_private_link_service_visibility { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServiceVisibility), @@ -9730,7 +9730,7 @@ pub mod private_link_services { } } pub mod check_private_link_service_visibility_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServiceVisibility), @@ -9803,7 +9803,7 @@ pub mod private_link_services { } } pub mod list_auto_approved_private_link_services { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9876,7 +9876,7 @@ pub mod private_link_services { } } pub mod list_auto_approved_private_link_services_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9897,7 +9897,7 @@ pub mod private_link_services { } } pub mod network_profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9948,7 +9948,7 @@ pub mod network_profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10024,7 +10024,7 @@ pub mod network_profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkProfile), @@ -10099,7 +10099,7 @@ pub mod network_profiles { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10161,7 +10161,7 @@ pub mod network_profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -10231,7 +10231,7 @@ pub mod network_profiles { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10294,7 +10294,7 @@ pub mod network_profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10315,7 +10315,7 @@ pub mod network_profiles { } } pub mod public_ip_addresses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10366,7 +10366,7 @@ pub mod public_ip_addresses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10442,7 +10442,7 @@ pub mod public_ip_addresses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpAddress), @@ -10517,7 +10517,7 @@ pub mod public_ip_addresses { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10579,7 +10579,7 @@ pub mod public_ip_addresses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -10649,7 +10649,7 @@ pub mod public_ip_addresses { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10712,7 +10712,7 @@ pub mod public_ip_addresses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10783,7 +10783,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10851,7 +10851,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_vm_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10923,7 +10923,7 @@ pub mod public_ip_addresses { } } pub mod get_virtual_machine_scale_set_public_ip_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10944,7 +10944,7 @@ pub mod public_ip_addresses { } } pub mod available_delegations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -10989,7 +10989,7 @@ pub mod available_delegations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11010,7 +11010,7 @@ pub mod available_delegations { } } pub mod available_resource_group_delegations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -11057,7 +11057,7 @@ pub mod available_resource_group_delegations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11078,7 +11078,7 @@ pub mod available_resource_group_delegations { } } pub mod azure_firewalls { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11125,7 +11125,7 @@ pub mod azure_firewalls { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11201,7 +11201,7 @@ pub mod azure_firewalls { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(AzureFirewall), @@ -11276,7 +11276,7 @@ pub mod azure_firewalls { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11338,7 +11338,7 @@ pub mod azure_firewalls { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -11407,7 +11407,7 @@ pub mod azure_firewalls { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11471,7 +11471,7 @@ pub mod azure_firewalls { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11492,7 +11492,7 @@ pub mod azure_firewalls { } } pub mod azure_firewall_fqdn_tags { - use crate::models::*; + use super::{models, models::*}; pub async fn list_all( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11538,7 +11538,7 @@ pub mod azure_firewall_fqdn_tags { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11559,7 +11559,7 @@ pub mod azure_firewall_fqdn_tags { } } pub mod bastion_hosts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11606,7 +11606,7 @@ pub mod bastion_hosts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11682,7 +11682,7 @@ pub mod bastion_hosts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(BastionHost), @@ -11765,7 +11765,7 @@ pub mod bastion_hosts { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BastionHost), @@ -11835,7 +11835,7 @@ pub mod bastion_hosts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -11902,7 +11902,7 @@ pub mod bastion_hosts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11970,7 +11970,7 @@ pub mod bastion_hosts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12041,7 +12041,7 @@ pub async fn check_dns_name_availability( } } pub mod check_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12113,7 +12113,7 @@ pub async fn supported_security_providers( } } pub mod supported_security_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12136,7 +12136,7 @@ pub mod supported_security_providers { } } pub mod ddos_custom_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12185,7 +12185,7 @@ pub mod ddos_custom_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12266,7 +12266,7 @@ pub mod ddos_custom_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DdosCustomPolicy), @@ -12346,7 +12346,7 @@ pub mod ddos_custom_policies { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12413,7 +12413,7 @@ pub mod ddos_custom_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -12443,7 +12443,7 @@ pub mod ddos_custom_policies { } } pub mod ddos_protection_plans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12490,7 +12490,7 @@ pub mod ddos_protection_plans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12566,7 +12566,7 @@ pub mod ddos_protection_plans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DdosProtectionPlan), @@ -12641,7 +12641,7 @@ pub mod ddos_protection_plans { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12703,7 +12703,7 @@ pub mod ddos_protection_plans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -12770,7 +12770,7 @@ pub mod ddos_protection_plans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12838,7 +12838,7 @@ pub mod ddos_protection_plans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12859,7 +12859,7 @@ pub mod ddos_protection_plans { } } pub mod available_endpoint_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -12904,7 +12904,7 @@ pub mod available_endpoint_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12925,7 +12925,7 @@ pub mod available_endpoint_services { } } pub mod express_route_circuit_authorizations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12974,7 +12974,7 @@ pub mod express_route_circuit_authorizations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13052,7 +13052,7 @@ pub mod express_route_circuit_authorizations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuitAuthorization), @@ -13121,7 +13121,7 @@ pub mod express_route_circuit_authorizations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -13192,7 +13192,7 @@ pub mod express_route_circuit_authorizations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13213,7 +13213,7 @@ pub mod express_route_circuit_authorizations { } } pub mod express_route_circuit_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13262,7 +13262,7 @@ pub mod express_route_circuit_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13340,7 +13340,7 @@ pub mod express_route_circuit_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitPeering), @@ -13409,7 +13409,7 @@ pub mod express_route_circuit_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13480,7 +13480,7 @@ pub mod express_route_circuit_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13501,7 +13501,7 @@ pub mod express_route_circuit_peerings { } } pub mod express_route_circuit_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13552,7 +13552,7 @@ pub mod express_route_circuit_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13632,7 +13632,7 @@ pub mod express_route_circuit_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitConnection), @@ -13703,7 +13703,7 @@ pub mod express_route_circuit_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13776,7 +13776,7 @@ pub mod express_route_circuit_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13797,7 +13797,7 @@ pub mod express_route_circuit_connections { } } pub mod peer_express_route_circuit_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13848,7 +13848,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13915,7 +13915,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13936,7 +13936,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod express_route_circuits { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13983,7 +13983,7 @@ pub mod express_route_circuits { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14059,7 +14059,7 @@ pub mod express_route_circuits { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuit), @@ -14134,7 +14134,7 @@ pub mod express_route_circuits { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14196,7 +14196,7 @@ pub mod express_route_circuits { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -14276,7 +14276,7 @@ pub mod express_route_circuits { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -14355,7 +14355,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -14436,7 +14436,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableSummaryListResult), @@ -14509,7 +14509,7 @@ pub mod express_route_circuits { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14579,7 +14579,7 @@ pub mod express_route_circuits { } } pub mod get_peering_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14642,7 +14642,7 @@ pub mod express_route_circuits { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14706,7 +14706,7 @@ pub mod express_route_circuits { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14727,7 +14727,7 @@ pub mod express_route_circuits { } } pub mod express_route_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -14770,7 +14770,7 @@ pub mod express_route_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14791,7 +14791,7 @@ pub mod express_route_service_providers { } } pub mod express_route_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -14837,7 +14837,7 @@ pub mod express_route_gateways { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14905,7 +14905,7 @@ pub mod express_route_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14970,7 +14970,7 @@ pub mod express_route_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15046,7 +15046,7 @@ pub mod express_route_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteGateway), @@ -15113,7 +15113,7 @@ pub mod express_route_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -15140,7 +15140,7 @@ pub mod express_route_gateways { } } pub mod express_route_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15189,7 +15189,7 @@ pub mod express_route_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15267,7 +15267,7 @@ pub mod express_route_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteConnection), @@ -15336,7 +15336,7 @@ pub mod express_route_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -15407,7 +15407,7 @@ pub mod express_route_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15428,7 +15428,7 @@ pub mod express_route_connections { } } pub mod express_route_cross_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -15471,7 +15471,7 @@ pub mod express_route_cross_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15539,7 +15539,7 @@ pub mod express_route_cross_connections { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15604,7 +15604,7 @@ pub mod express_route_cross_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15674,7 +15674,7 @@ pub mod express_route_cross_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15744,7 +15744,7 @@ pub mod express_route_cross_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15818,7 +15818,7 @@ pub mod express_route_cross_connections { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -15891,7 +15891,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionsRoutesTableSummaryListResult), @@ -15970,7 +15970,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -15996,7 +15996,7 @@ pub mod express_route_cross_connections { } } pub mod express_route_cross_connection_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16043,7 +16043,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16110,7 +16110,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16188,7 +16188,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionPeering), @@ -16257,7 +16257,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -16284,7 +16284,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod express_route_ports_locations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -16327,7 +16327,7 @@ pub mod express_route_ports_locations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16390,7 +16390,7 @@ pub mod express_route_ports_locations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16411,7 +16411,7 @@ pub mod express_route_ports_locations { } } pub mod express_route_ports { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -16458,7 +16458,7 @@ pub mod express_route_ports { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16534,7 +16534,7 @@ pub mod express_route_ports { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRoutePort), @@ -16609,7 +16609,7 @@ pub mod express_route_ports { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16671,7 +16671,7 @@ pub mod express_route_ports { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -16745,7 +16745,7 @@ pub mod express_route_ports { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16806,7 +16806,7 @@ pub mod express_route_ports { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16827,7 +16827,7 @@ pub mod express_route_ports { } } pub mod express_route_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -16876,7 +16876,7 @@ pub mod express_route_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16941,7 +16941,7 @@ pub mod express_route_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16962,7 +16962,7 @@ pub mod express_route_links { } } pub mod firewall_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17013,7 +17013,7 @@ pub mod firewall_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -17089,7 +17089,7 @@ pub mod firewall_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FirewallPolicy), @@ -17166,7 +17166,7 @@ pub mod firewall_policies { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17231,7 +17231,7 @@ pub mod firewall_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -17300,7 +17300,7 @@ pub mod firewall_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -17364,7 +17364,7 @@ pub mod firewall_policies { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -17385,7 +17385,7 @@ pub mod firewall_policies { } } pub mod firewall_policy_rule_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17434,7 +17434,7 @@ pub mod firewall_policy_rule_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -17512,7 +17512,7 @@ pub mod firewall_policy_rule_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FirewallPolicyRuleGroup), @@ -17581,7 +17581,7 @@ pub mod firewall_policy_rule_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -17652,7 +17652,7 @@ pub mod firewall_policy_rule_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -17673,7 +17673,7 @@ pub mod firewall_policy_rule_groups { } } pub mod nat_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17724,7 +17724,7 @@ pub mod nat_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -17806,7 +17806,7 @@ pub mod nat_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NatGateway), @@ -17882,7 +17882,7 @@ pub mod nat_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -17944,7 +17944,7 @@ pub mod nat_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -18014,7 +18014,7 @@ pub mod nat_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -18077,7 +18077,7 @@ pub mod nat_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -18098,7 +18098,7 @@ pub mod nat_gateways { } } pub mod network_watchers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18147,7 +18147,7 @@ pub mod network_watchers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18228,7 +18228,7 @@ pub mod network_watchers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkWatcher), @@ -18308,7 +18308,7 @@ pub mod network_watchers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18374,7 +18374,7 @@ pub mod network_watchers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -18447,7 +18447,7 @@ pub mod network_watchers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18516,7 +18516,7 @@ pub mod network_watchers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18591,7 +18591,7 @@ pub mod network_watchers { } } pub mod get_topology { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18672,7 +18672,7 @@ pub mod network_watchers { } } pub mod verify_ip_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VerificationIpFlowResult), @@ -18758,7 +18758,7 @@ pub mod network_watchers { } } pub mod get_next_hop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NextHopResult), @@ -18846,7 +18846,7 @@ pub mod network_watchers { } } pub mod get_vm_security_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityGroupViewResult), @@ -18932,7 +18932,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -19020,7 +19020,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -19108,7 +19108,7 @@ pub mod network_watchers { } } pub mod set_flow_log_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -19194,7 +19194,7 @@ pub mod network_watchers { } } pub mod get_flow_log_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -19280,7 +19280,7 @@ pub mod network_watchers { } } pub mod check_connectivity { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectivityInformation), @@ -19368,7 +19368,7 @@ pub mod network_watchers { } } pub mod get_azure_reachability_report { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AzureReachabilityReport), @@ -19456,7 +19456,7 @@ pub mod network_watchers { } } pub mod list_available_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AvailableProvidersList), @@ -19544,7 +19544,7 @@ pub mod network_watchers { } } pub mod get_network_configuration_diagnostic { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkConfigurationDiagnosticResponse), @@ -19573,7 +19573,7 @@ pub mod network_watchers { } } pub mod packet_captures { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19624,7 +19624,7 @@ pub mod packet_captures { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19698,7 +19698,7 @@ pub mod packet_captures { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19766,7 +19766,7 @@ pub mod packet_captures { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -19840,7 +19840,7 @@ pub mod packet_captures { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -19927,7 +19927,7 @@ pub mod packet_captures { } } pub mod get_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PacketCaptureQueryStatusResult), @@ -20002,7 +20002,7 @@ pub mod packet_captures { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20026,7 +20026,7 @@ pub mod packet_captures { } } pub mod connection_monitors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20077,7 +20077,7 @@ pub mod connection_monitors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20160,7 +20160,7 @@ pub mod connection_monitors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorResult), @@ -20242,7 +20242,7 @@ pub mod connection_monitors { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20310,7 +20310,7 @@ pub mod connection_monitors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -20384,7 +20384,7 @@ pub mod connection_monitors { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -20458,7 +20458,7 @@ pub mod connection_monitors { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -20542,7 +20542,7 @@ pub mod connection_monitors { } } pub mod query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorQueryResult), @@ -20617,7 +20617,7 @@ pub mod connection_monitors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20641,7 +20641,7 @@ pub mod connection_monitors { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Network/operations", operation_config.base_path(),); @@ -20677,7 +20677,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -20698,7 +20698,7 @@ pub mod operations { } } pub mod public_ip_prefixes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20749,7 +20749,7 @@ pub mod public_ip_prefixes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -20825,7 +20825,7 @@ pub mod public_ip_prefixes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpPrefix), @@ -20900,7 +20900,7 @@ pub mod public_ip_prefixes { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -20962,7 +20962,7 @@ pub mod public_ip_prefixes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -21032,7 +21032,7 @@ pub mod public_ip_prefixes { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -21095,7 +21095,7 @@ pub mod public_ip_prefixes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -21116,7 +21116,7 @@ pub mod public_ip_prefixes { } } pub mod route_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -21167,7 +21167,7 @@ pub mod route_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -21243,7 +21243,7 @@ pub mod route_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilter), @@ -21315,7 +21315,7 @@ pub mod route_filters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -21377,7 +21377,7 @@ pub mod route_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -21451,7 +21451,7 @@ pub mod route_filters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -21512,7 +21512,7 @@ pub mod route_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -21533,7 +21533,7 @@ pub mod route_filters { } } pub mod route_filter_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -21582,7 +21582,7 @@ pub mod route_filter_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -21660,7 +21660,7 @@ pub mod route_filter_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilterRule), @@ -21734,7 +21734,7 @@ pub mod route_filter_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -21798,7 +21798,7 @@ pub mod route_filter_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -21872,7 +21872,7 @@ pub mod route_filter_rules { } } pub mod list_by_route_filter { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -21893,7 +21893,7 @@ pub mod route_filter_rules { } } pub mod bgp_service_communities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -21936,7 +21936,7 @@ pub mod bgp_service_communities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -21957,7 +21957,7 @@ pub mod bgp_service_communities { } } pub mod service_tags { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -22002,7 +22002,7 @@ pub mod service_tags { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -22023,7 +22023,7 @@ pub mod service_tags { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -22068,7 +22068,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -22089,7 +22089,7 @@ pub mod usages { } } pub mod virtual_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -22136,7 +22136,7 @@ pub mod virtual_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -22212,7 +22212,7 @@ pub mod virtual_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGateway), @@ -22288,7 +22288,7 @@ pub mod virtual_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -22355,7 +22355,7 @@ pub mod virtual_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -22424,7 +22424,7 @@ pub mod virtual_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -22492,7 +22492,7 @@ pub mod virtual_network_gateways { } } pub mod list_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -22563,7 +22563,7 @@ pub mod virtual_network_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -22635,7 +22635,7 @@ pub mod virtual_network_gateways { } } pub mod reset_vpn_client_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22713,7 +22713,7 @@ pub mod virtual_network_gateways { } } pub mod generatevpnclientpackage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -22789,7 +22789,7 @@ pub mod virtual_network_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -22866,7 +22866,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpn_profile_package_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -22945,7 +22945,7 @@ pub mod virtual_network_gateways { } } pub mod get_bgp_peer_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BgpPeerStatusListResult), @@ -23021,7 +23021,7 @@ pub mod virtual_network_gateways { } } pub mod supported_vpn_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -23091,7 +23091,7 @@ pub mod virtual_network_gateways { } } pub mod get_learned_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -23170,7 +23170,7 @@ pub mod virtual_network_gateways { } } pub mod get_advertised_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -23248,7 +23248,7 @@ pub mod virtual_network_gateways { } } pub mod set_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -23324,7 +23324,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -23396,7 +23396,7 @@ pub mod virtual_network_gateways { } } pub mod vpn_device_configuration_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -23468,7 +23468,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpnclient_connection_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnClientConnectionHealthDetailListResult), @@ -23494,7 +23494,7 @@ pub mod virtual_network_gateways { } } pub mod virtual_network_gateway_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -23541,7 +23541,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -23617,7 +23617,7 @@ pub mod virtual_network_gateway_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGatewayConnection), @@ -23693,7 +23693,7 @@ pub mod virtual_network_gateway_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -23760,7 +23760,7 @@ pub mod virtual_network_gateway_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23834,7 +23834,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -23910,7 +23910,7 @@ pub mod virtual_network_gateway_connections { } } pub mod set_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ConnectionSharedKey), @@ -23978,7 +23978,7 @@ pub mod virtual_network_gateway_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -24049,7 +24049,7 @@ pub mod virtual_network_gateway_connections { } } pub mod reset_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionResetSharedKey), @@ -24075,7 +24075,7 @@ pub mod virtual_network_gateway_connections { } } pub mod local_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -24122,7 +24122,7 @@ pub mod local_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -24198,7 +24198,7 @@ pub mod local_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LocalNetworkGateway), @@ -24273,7 +24273,7 @@ pub mod local_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -24335,7 +24335,7 @@ pub mod local_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -24404,7 +24404,7 @@ pub mod local_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -24425,7 +24425,7 @@ pub mod local_network_gateways { } } pub mod virtual_wans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -24474,7 +24474,7 @@ pub mod virtual_wans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24555,7 +24555,7 @@ pub mod virtual_wans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualWan), @@ -24641,7 +24641,7 @@ pub mod virtual_wans { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualWan), @@ -24713,7 +24713,7 @@ pub mod virtual_wans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -24792,7 +24792,7 @@ pub mod virtual_wans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24858,7 +24858,7 @@ pub mod virtual_wans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24882,7 +24882,7 @@ pub mod virtual_wans { } } pub mod vpn_sites { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -24931,7 +24931,7 @@ pub mod vpn_sites { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25012,7 +25012,7 @@ pub mod vpn_sites { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnSite), @@ -25098,7 +25098,7 @@ pub mod vpn_sites { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnSite), @@ -25170,7 +25170,7 @@ pub mod vpn_sites { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -25249,7 +25249,7 @@ pub mod vpn_sites { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25315,7 +25315,7 @@ pub mod vpn_sites { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25339,7 +25339,7 @@ pub mod vpn_sites { } } pub mod vpn_site_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -25390,7 +25390,7 @@ pub mod vpn_site_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25463,7 +25463,7 @@ pub mod vpn_site_links { } } pub mod list_by_vpn_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25487,7 +25487,7 @@ pub mod vpn_site_links { } } pub mod vpn_sites_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn download( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -25537,7 +25537,7 @@ pub mod vpn_sites_configuration { } } pub mod download { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -25566,7 +25566,7 @@ pub mod vpn_sites_configuration { } } pub mod virtual_hubs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -25615,7 +25615,7 @@ pub mod virtual_hubs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25696,7 +25696,7 @@ pub mod virtual_hubs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHub), @@ -25782,7 +25782,7 @@ pub mod virtual_hubs { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHub), @@ -25854,7 +25854,7 @@ pub mod virtual_hubs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -25933,7 +25933,7 @@ pub mod virtual_hubs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25999,7 +25999,7 @@ pub mod virtual_hubs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26023,7 +26023,7 @@ pub mod virtual_hubs { } } pub mod hub_virtual_network_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -26074,7 +26074,7 @@ pub mod hub_virtual_network_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26144,7 +26144,7 @@ pub mod hub_virtual_network_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26168,7 +26168,7 @@ pub mod hub_virtual_network_connections { } } pub mod vpn_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -26217,7 +26217,7 @@ pub mod vpn_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26298,7 +26298,7 @@ pub mod vpn_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -26384,7 +26384,7 @@ pub mod vpn_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -26456,7 +26456,7 @@ pub mod vpn_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -26532,7 +26532,7 @@ pub mod vpn_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -26607,7 +26607,7 @@ pub mod vpn_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26673,7 +26673,7 @@ pub mod vpn_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26697,7 +26697,7 @@ pub mod vpn_gateways { } } pub mod vpn_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -26748,7 +26748,7 @@ pub mod vpn_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26831,7 +26831,7 @@ pub mod vpn_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnConnection), @@ -26905,7 +26905,7 @@ pub mod vpn_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -26984,7 +26984,7 @@ pub mod vpn_connections { } } pub mod list_by_vpn_gateway { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27008,7 +27008,7 @@ pub mod vpn_connections { } } pub mod vpn_site_link_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -27061,7 +27061,7 @@ pub mod vpn_site_link_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27085,7 +27085,7 @@ pub mod vpn_site_link_connections { } } pub mod vpn_link_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_vpn_connection( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -27141,7 +27141,7 @@ pub mod vpn_link_connections { } } pub mod list_by_vpn_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27165,7 +27165,7 @@ pub mod vpn_link_connections { } } pub mod p2s_vpn_server_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -27216,7 +27216,7 @@ pub mod p2s_vpn_server_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27299,7 +27299,7 @@ pub mod p2s_vpn_server_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnServerConfiguration), @@ -27373,7 +27373,7 @@ pub mod p2s_vpn_server_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -27452,7 +27452,7 @@ pub mod p2s_vpn_server_configurations { } } pub mod list_by_virtual_wan { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27476,7 +27476,7 @@ pub mod p2s_vpn_server_configurations { } } pub mod p2s_vpn_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -27525,7 +27525,7 @@ pub mod p2s_vpn_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27606,7 +27606,7 @@ pub mod p2s_vpn_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -27692,7 +27692,7 @@ pub mod p2s_vpn_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -27764,7 +27764,7 @@ pub mod p2s_vpn_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -27843,7 +27843,7 @@ pub mod p2s_vpn_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27909,7 +27909,7 @@ pub mod p2s_vpn_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27983,7 +27983,7 @@ pub mod p2s_vpn_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnProfileResponse), @@ -28060,7 +28060,7 @@ pub mod p2s_vpn_gateways { } } pub mod get_p2s_vpn_connection_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -28086,7 +28086,7 @@ pub mod p2s_vpn_gateways { } } pub mod web_application_firewall_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -28131,7 +28131,7 @@ pub mod web_application_firewall_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -28195,7 +28195,7 @@ pub mod web_application_firewall_policies { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -28260,7 +28260,7 @@ pub mod web_application_firewall_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -28336,7 +28336,7 @@ pub mod web_application_firewall_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WebApplicationFirewallPolicy), @@ -28403,7 +28403,7 @@ pub mod web_application_firewall_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, diff --git a/services/mgmt/network/src/package_2019_07/operations.rs b/services/mgmt/network/src/package_2019_07/operations.rs index d2d9fa6646..e9dea82e67 100644 --- a/services/mgmt/network/src/package_2019_07/operations.rs +++ b/services/mgmt/network/src/package_2019_07/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod application_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod application_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod application_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationGateway), @@ -202,7 +202,7 @@ pub mod application_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -264,7 +264,7 @@ pub mod application_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -333,7 +333,7 @@ pub mod application_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -397,7 +397,7 @@ pub mod application_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -459,7 +459,7 @@ pub mod application_gateways { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -526,7 +526,7 @@ pub mod application_gateways { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -605,7 +605,7 @@ pub mod application_gateways { } } pub mod backend_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealth), @@ -687,7 +687,7 @@ pub mod application_gateways { } } pub mod backend_health_on_demand { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealthOnDemand), @@ -760,7 +760,7 @@ pub mod application_gateways { } } pub mod list_available_server_variables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -831,7 +831,7 @@ pub mod application_gateways { } } pub mod list_available_request_headers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -902,7 +902,7 @@ pub mod application_gateways { } } pub mod list_available_response_headers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -971,7 +971,7 @@ pub mod application_gateways { } } pub mod list_available_waf_rule_sets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1037,7 +1037,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_options { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1103,7 +1103,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_predefined_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1171,7 +1171,7 @@ pub mod application_gateways { } } pub mod get_ssl_predefined_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1192,7 +1192,7 @@ pub mod application_gateways { } } pub mod network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1243,7 +1243,7 @@ pub mod network_interfaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1319,7 +1319,7 @@ pub mod network_interfaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkInterface), @@ -1394,7 +1394,7 @@ pub mod network_interfaces { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1456,7 +1456,7 @@ pub mod network_interfaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1526,7 +1526,7 @@ pub mod network_interfaces { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1589,7 +1589,7 @@ pub mod network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1661,7 +1661,7 @@ pub mod network_interfaces { } } pub mod get_effective_route_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveRouteListResult), @@ -1738,7 +1738,7 @@ pub mod network_interfaces { } } pub mod list_effective_network_security_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveNetworkSecurityGroupListResult), @@ -1809,7 +1809,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_vm_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1880,7 +1880,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1950,7 +1950,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_network_interface { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2021,7 +2021,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_ip_configurations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2092,7 +2092,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_ip_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2113,7 +2113,7 @@ pub mod network_interfaces { } } pub mod network_interface_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2160,7 +2160,7 @@ pub mod network_interface_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2227,7 +2227,7 @@ pub mod network_interface_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2248,7 +2248,7 @@ pub mod network_interface_ip_configurations { } } pub mod network_interface_load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2295,7 +2295,7 @@ pub mod network_interface_load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2316,7 +2316,7 @@ pub mod network_interface_load_balancers { } } pub mod network_interface_tap_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2365,7 +2365,7 @@ pub mod network_interface_tap_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2443,7 +2443,7 @@ pub mod network_interface_tap_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkInterfaceTapConfiguration), @@ -2512,7 +2512,7 @@ pub mod network_interface_tap_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2583,7 +2583,7 @@ pub mod network_interface_tap_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2604,7 +2604,7 @@ pub mod network_interface_tap_configurations { } } pub mod virtual_network_taps { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2651,7 +2651,7 @@ pub mod virtual_network_taps { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2727,7 +2727,7 @@ pub mod virtual_network_taps { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkTap), @@ -2802,7 +2802,7 @@ pub mod virtual_network_taps { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2864,7 +2864,7 @@ pub mod virtual_network_taps { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2934,7 +2934,7 @@ pub mod virtual_network_taps { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3002,7 +3002,7 @@ pub mod virtual_network_taps { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3023,7 +3023,7 @@ pub mod virtual_network_taps { } } pub mod load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3074,7 +3074,7 @@ pub mod load_balancers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3150,7 +3150,7 @@ pub mod load_balancers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoadBalancer), @@ -3225,7 +3225,7 @@ pub mod load_balancers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3287,7 +3287,7 @@ pub mod load_balancers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -3357,7 +3357,7 @@ pub mod load_balancers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3420,7 +3420,7 @@ pub mod load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3441,7 +3441,7 @@ pub mod load_balancers { } } pub mod load_balancer_backend_address_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3488,7 +3488,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3555,7 +3555,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3576,7 +3576,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod load_balancer_frontend_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3623,7 +3623,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3690,7 +3690,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3711,7 +3711,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod inbound_nat_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3758,7 +3758,7 @@ pub mod inbound_nat_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3829,7 +3829,7 @@ pub mod inbound_nat_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3907,7 +3907,7 @@ pub mod inbound_nat_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(InboundNatRule), @@ -3976,7 +3976,7 @@ pub mod inbound_nat_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4003,7 +4003,7 @@ pub mod inbound_nat_rules { } } pub mod load_balancer_load_balancing_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4050,7 +4050,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4117,7 +4117,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4138,7 +4138,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod load_balancer_outbound_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4185,7 +4185,7 @@ pub mod load_balancer_outbound_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4252,7 +4252,7 @@ pub mod load_balancer_outbound_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4273,7 +4273,7 @@ pub mod load_balancer_outbound_rules { } } pub mod load_balancer_network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4320,7 +4320,7 @@ pub mod load_balancer_network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4341,7 +4341,7 @@ pub mod load_balancer_network_interfaces { } } pub mod load_balancer_probes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4388,7 +4388,7 @@ pub mod load_balancer_probes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4455,7 +4455,7 @@ pub mod load_balancer_probes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4476,7 +4476,7 @@ pub mod load_balancer_probes { } } pub mod virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4527,7 +4527,7 @@ pub mod virtual_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4603,7 +4603,7 @@ pub mod virtual_networks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetwork), @@ -4678,7 +4678,7 @@ pub mod virtual_networks { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4740,7 +4740,7 @@ pub mod virtual_networks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4810,7 +4810,7 @@ pub mod virtual_networks { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4873,7 +4873,7 @@ pub mod virtual_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4945,7 +4945,7 @@ pub mod virtual_networks { } } pub mod check_ip_address_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5013,7 +5013,7 @@ pub mod virtual_networks { } } pub mod list_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5034,7 +5034,7 @@ pub mod virtual_networks { } } pub mod subnets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5087,7 +5087,7 @@ pub mod subnets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5165,7 +5165,7 @@ pub mod subnets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Subnet), @@ -5234,7 +5234,7 @@ pub mod subnets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5311,7 +5311,7 @@ pub mod subnets { } } pub mod prepare_network_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5387,7 +5387,7 @@ pub mod subnets { } } pub mod unprepare_network_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5457,7 +5457,7 @@ pub mod subnets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5478,7 +5478,7 @@ pub mod subnets { } } pub mod resource_navigation_links { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5527,7 +5527,7 @@ pub mod resource_navigation_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5548,7 +5548,7 @@ pub mod resource_navigation_links { } } pub mod service_association_links { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5597,7 +5597,7 @@ pub mod service_association_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5618,7 +5618,7 @@ pub mod service_association_links { } } pub mod virtual_network_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5667,7 +5667,7 @@ pub mod virtual_network_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5745,7 +5745,7 @@ pub mod virtual_network_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkPeering), @@ -5814,7 +5814,7 @@ pub mod virtual_network_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5885,7 +5885,7 @@ pub mod virtual_network_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5906,7 +5906,7 @@ pub mod virtual_network_peerings { } } pub mod network_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5957,7 +5957,7 @@ pub mod network_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6033,7 +6033,7 @@ pub mod network_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkSecurityGroup), @@ -6108,7 +6108,7 @@ pub mod network_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6170,7 +6170,7 @@ pub mod network_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6240,7 +6240,7 @@ pub mod network_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6303,7 +6303,7 @@ pub mod network_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6324,7 +6324,7 @@ pub mod network_security_groups { } } pub mod security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6373,7 +6373,7 @@ pub mod security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6451,7 +6451,7 @@ pub mod security_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityRule), @@ -6520,7 +6520,7 @@ pub mod security_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -6591,7 +6591,7 @@ pub mod security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6612,7 +6612,7 @@ pub mod security_rules { } } pub mod default_security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6659,7 +6659,7 @@ pub mod default_security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6726,7 +6726,7 @@ pub mod default_security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6747,7 +6747,7 @@ pub mod default_security_rules { } } pub mod application_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6794,7 +6794,7 @@ pub mod application_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6870,7 +6870,7 @@ pub mod application_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationSecurityGroup), @@ -6945,7 +6945,7 @@ pub mod application_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7007,7 +7007,7 @@ pub mod application_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -7077,7 +7077,7 @@ pub mod application_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7140,7 +7140,7 @@ pub mod application_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7161,7 +7161,7 @@ pub mod application_security_groups { } } pub mod route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7212,7 +7212,7 @@ pub mod route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7288,7 +7288,7 @@ pub mod route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteTable), @@ -7363,7 +7363,7 @@ pub mod route_tables { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7425,7 +7425,7 @@ pub mod route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -7494,7 +7494,7 @@ pub mod route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7558,7 +7558,7 @@ pub mod route_tables { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7579,7 +7579,7 @@ pub mod route_tables { } } pub mod routes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7628,7 +7628,7 @@ pub mod routes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7706,7 +7706,7 @@ pub mod routes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Route), @@ -7775,7 +7775,7 @@ pub mod routes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7846,7 +7846,7 @@ pub mod routes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7867,7 +7867,7 @@ pub mod routes { } } pub mod service_endpoint_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7918,7 +7918,7 @@ pub mod service_endpoint_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7994,7 +7994,7 @@ pub mod service_endpoint_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ServiceEndpointPolicy), @@ -8066,7 +8066,7 @@ pub mod service_endpoint_policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8128,7 +8128,7 @@ pub mod service_endpoint_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8195,7 +8195,7 @@ pub mod service_endpoint_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8263,7 +8263,7 @@ pub mod service_endpoint_policies { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8284,7 +8284,7 @@ pub mod service_endpoint_policies { } } pub mod service_endpoint_policy_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8326,7 +8326,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8397,7 +8397,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServiceEndpointPolicyDefinition), @@ -8459,7 +8459,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -8535,7 +8535,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8556,7 +8556,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod private_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8609,7 +8609,7 @@ pub mod private_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8690,7 +8690,7 @@ pub mod private_endpoints { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpoint), @@ -8762,7 +8762,7 @@ pub mod private_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8836,7 +8836,7 @@ pub mod private_endpoints { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8905,7 +8905,7 @@ pub mod private_endpoints { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8929,7 +8929,7 @@ pub mod private_endpoints { } } pub mod available_private_endpoint_types { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -8974,7 +8974,7 @@ pub mod available_private_endpoint_types { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9044,7 +9044,7 @@ pub mod available_private_endpoint_types { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9065,7 +9065,7 @@ pub mod available_private_endpoint_types { } } pub mod private_link_services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9118,7 +9118,7 @@ pub mod private_link_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9199,7 +9199,7 @@ pub mod private_link_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkService), @@ -9271,7 +9271,7 @@ pub mod private_link_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9345,7 +9345,7 @@ pub mod private_link_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9414,7 +9414,7 @@ pub mod private_link_services { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9493,7 +9493,7 @@ pub mod private_link_services { } } pub mod update_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9567,7 +9567,7 @@ pub mod private_link_services { } } pub mod delete_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9647,7 +9647,7 @@ pub mod private_link_services { } } pub mod check_private_link_service_visibility { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServiceVisibility), @@ -9730,7 +9730,7 @@ pub mod private_link_services { } } pub mod check_private_link_service_visibility_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServiceVisibility), @@ -9803,7 +9803,7 @@ pub mod private_link_services { } } pub mod list_auto_approved_private_link_services { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9876,7 +9876,7 @@ pub mod private_link_services { } } pub mod list_auto_approved_private_link_services_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9897,7 +9897,7 @@ pub mod private_link_services { } } pub mod network_profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9948,7 +9948,7 @@ pub mod network_profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10024,7 +10024,7 @@ pub mod network_profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkProfile), @@ -10099,7 +10099,7 @@ pub mod network_profiles { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10161,7 +10161,7 @@ pub mod network_profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -10231,7 +10231,7 @@ pub mod network_profiles { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10294,7 +10294,7 @@ pub mod network_profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10315,7 +10315,7 @@ pub mod network_profiles { } } pub mod public_ip_addresses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10366,7 +10366,7 @@ pub mod public_ip_addresses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10442,7 +10442,7 @@ pub mod public_ip_addresses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpAddress), @@ -10517,7 +10517,7 @@ pub mod public_ip_addresses { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10579,7 +10579,7 @@ pub mod public_ip_addresses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -10649,7 +10649,7 @@ pub mod public_ip_addresses { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10712,7 +10712,7 @@ pub mod public_ip_addresses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10783,7 +10783,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10851,7 +10851,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_vm_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10923,7 +10923,7 @@ pub mod public_ip_addresses { } } pub mod get_virtual_machine_scale_set_public_ip_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10944,7 +10944,7 @@ pub mod public_ip_addresses { } } pub mod available_delegations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -10989,7 +10989,7 @@ pub mod available_delegations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11010,7 +11010,7 @@ pub mod available_delegations { } } pub mod available_resource_group_delegations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -11057,7 +11057,7 @@ pub mod available_resource_group_delegations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11078,7 +11078,7 @@ pub mod available_resource_group_delegations { } } pub mod azure_firewalls { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11125,7 +11125,7 @@ pub mod azure_firewalls { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11201,7 +11201,7 @@ pub mod azure_firewalls { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(AzureFirewall), @@ -11276,7 +11276,7 @@ pub mod azure_firewalls { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11338,7 +11338,7 @@ pub mod azure_firewalls { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -11407,7 +11407,7 @@ pub mod azure_firewalls { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11471,7 +11471,7 @@ pub mod azure_firewalls { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11492,7 +11492,7 @@ pub mod azure_firewalls { } } pub mod azure_firewall_fqdn_tags { - use crate::models::*; + use super::{models, models::*}; pub async fn list_all( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11538,7 +11538,7 @@ pub mod azure_firewall_fqdn_tags { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11559,7 +11559,7 @@ pub mod azure_firewall_fqdn_tags { } } pub mod bastion_hosts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11606,7 +11606,7 @@ pub mod bastion_hosts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11682,7 +11682,7 @@ pub mod bastion_hosts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(BastionHost), @@ -11749,7 +11749,7 @@ pub mod bastion_hosts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -11816,7 +11816,7 @@ pub mod bastion_hosts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11884,7 +11884,7 @@ pub mod bastion_hosts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11955,7 +11955,7 @@ pub async fn check_dns_name_availability( } } pub mod check_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12027,7 +12027,7 @@ pub async fn supported_security_providers( } } pub mod supported_security_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12050,7 +12050,7 @@ pub mod supported_security_providers { } } pub mod ddos_custom_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12099,7 +12099,7 @@ pub mod ddos_custom_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12180,7 +12180,7 @@ pub mod ddos_custom_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DdosCustomPolicy), @@ -12260,7 +12260,7 @@ pub mod ddos_custom_policies { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12327,7 +12327,7 @@ pub mod ddos_custom_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -12357,7 +12357,7 @@ pub mod ddos_custom_policies { } } pub mod ddos_protection_plans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12404,7 +12404,7 @@ pub mod ddos_protection_plans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12480,7 +12480,7 @@ pub mod ddos_protection_plans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DdosProtectionPlan), @@ -12555,7 +12555,7 @@ pub mod ddos_protection_plans { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12617,7 +12617,7 @@ pub mod ddos_protection_plans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -12684,7 +12684,7 @@ pub mod ddos_protection_plans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12752,7 +12752,7 @@ pub mod ddos_protection_plans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12773,7 +12773,7 @@ pub mod ddos_protection_plans { } } pub mod available_endpoint_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -12818,7 +12818,7 @@ pub mod available_endpoint_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12839,7 +12839,7 @@ pub mod available_endpoint_services { } } pub mod express_route_circuit_authorizations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12888,7 +12888,7 @@ pub mod express_route_circuit_authorizations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12966,7 +12966,7 @@ pub mod express_route_circuit_authorizations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuitAuthorization), @@ -13035,7 +13035,7 @@ pub mod express_route_circuit_authorizations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -13106,7 +13106,7 @@ pub mod express_route_circuit_authorizations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13127,7 +13127,7 @@ pub mod express_route_circuit_authorizations { } } pub mod express_route_circuit_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13176,7 +13176,7 @@ pub mod express_route_circuit_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13254,7 +13254,7 @@ pub mod express_route_circuit_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitPeering), @@ -13323,7 +13323,7 @@ pub mod express_route_circuit_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13394,7 +13394,7 @@ pub mod express_route_circuit_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13415,7 +13415,7 @@ pub mod express_route_circuit_peerings { } } pub mod express_route_circuit_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13466,7 +13466,7 @@ pub mod express_route_circuit_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13546,7 +13546,7 @@ pub mod express_route_circuit_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitConnection), @@ -13617,7 +13617,7 @@ pub mod express_route_circuit_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13690,7 +13690,7 @@ pub mod express_route_circuit_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13711,7 +13711,7 @@ pub mod express_route_circuit_connections { } } pub mod peer_express_route_circuit_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13762,7 +13762,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13829,7 +13829,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13850,7 +13850,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod express_route_circuits { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13897,7 +13897,7 @@ pub mod express_route_circuits { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13973,7 +13973,7 @@ pub mod express_route_circuits { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuit), @@ -14048,7 +14048,7 @@ pub mod express_route_circuits { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14110,7 +14110,7 @@ pub mod express_route_circuits { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -14190,7 +14190,7 @@ pub mod express_route_circuits { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -14269,7 +14269,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -14350,7 +14350,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableSummaryListResult), @@ -14423,7 +14423,7 @@ pub mod express_route_circuits { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14493,7 +14493,7 @@ pub mod express_route_circuits { } } pub mod get_peering_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14556,7 +14556,7 @@ pub mod express_route_circuits { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14620,7 +14620,7 @@ pub mod express_route_circuits { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14641,7 +14641,7 @@ pub mod express_route_circuits { } } pub mod express_route_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -14684,7 +14684,7 @@ pub mod express_route_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14705,7 +14705,7 @@ pub mod express_route_service_providers { } } pub mod express_route_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -14751,7 +14751,7 @@ pub mod express_route_gateways { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14819,7 +14819,7 @@ pub mod express_route_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14884,7 +14884,7 @@ pub mod express_route_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14960,7 +14960,7 @@ pub mod express_route_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteGateway), @@ -15027,7 +15027,7 @@ pub mod express_route_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -15054,7 +15054,7 @@ pub mod express_route_gateways { } } pub mod express_route_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15103,7 +15103,7 @@ pub mod express_route_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15181,7 +15181,7 @@ pub mod express_route_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteConnection), @@ -15250,7 +15250,7 @@ pub mod express_route_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -15321,7 +15321,7 @@ pub mod express_route_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15342,7 +15342,7 @@ pub mod express_route_connections { } } pub mod express_route_cross_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -15385,7 +15385,7 @@ pub mod express_route_cross_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15453,7 +15453,7 @@ pub mod express_route_cross_connections { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15518,7 +15518,7 @@ pub mod express_route_cross_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15588,7 +15588,7 @@ pub mod express_route_cross_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15658,7 +15658,7 @@ pub mod express_route_cross_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15732,7 +15732,7 @@ pub mod express_route_cross_connections { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -15805,7 +15805,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionsRoutesTableSummaryListResult), @@ -15884,7 +15884,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -15910,7 +15910,7 @@ pub mod express_route_cross_connections { } } pub mod express_route_cross_connection_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15957,7 +15957,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16024,7 +16024,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16102,7 +16102,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionPeering), @@ -16171,7 +16171,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -16198,7 +16198,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod express_route_ports_locations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -16241,7 +16241,7 @@ pub mod express_route_ports_locations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16304,7 +16304,7 @@ pub mod express_route_ports_locations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16325,7 +16325,7 @@ pub mod express_route_ports_locations { } } pub mod express_route_ports { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -16372,7 +16372,7 @@ pub mod express_route_ports { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16448,7 +16448,7 @@ pub mod express_route_ports { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRoutePort), @@ -16523,7 +16523,7 @@ pub mod express_route_ports { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16585,7 +16585,7 @@ pub mod express_route_ports { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -16659,7 +16659,7 @@ pub mod express_route_ports { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16720,7 +16720,7 @@ pub mod express_route_ports { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16741,7 +16741,7 @@ pub mod express_route_ports { } } pub mod express_route_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -16790,7 +16790,7 @@ pub mod express_route_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16855,7 +16855,7 @@ pub mod express_route_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16876,7 +16876,7 @@ pub mod express_route_links { } } pub mod firewall_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16927,7 +16927,7 @@ pub mod firewall_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -17003,7 +17003,7 @@ pub mod firewall_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FirewallPolicy), @@ -17080,7 +17080,7 @@ pub mod firewall_policies { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17145,7 +17145,7 @@ pub mod firewall_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -17214,7 +17214,7 @@ pub mod firewall_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -17278,7 +17278,7 @@ pub mod firewall_policies { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -17299,7 +17299,7 @@ pub mod firewall_policies { } } pub mod firewall_policy_rule_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17348,7 +17348,7 @@ pub mod firewall_policy_rule_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -17426,7 +17426,7 @@ pub mod firewall_policy_rule_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FirewallPolicyRuleGroup), @@ -17495,7 +17495,7 @@ pub mod firewall_policy_rule_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -17566,7 +17566,7 @@ pub mod firewall_policy_rule_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -17587,7 +17587,7 @@ pub mod firewall_policy_rule_groups { } } pub mod nat_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17638,7 +17638,7 @@ pub mod nat_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -17720,7 +17720,7 @@ pub mod nat_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NatGateway), @@ -17796,7 +17796,7 @@ pub mod nat_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -17858,7 +17858,7 @@ pub mod nat_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -17928,7 +17928,7 @@ pub mod nat_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -17991,7 +17991,7 @@ pub mod nat_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -18012,7 +18012,7 @@ pub mod nat_gateways { } } pub mod network_watchers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18061,7 +18061,7 @@ pub mod network_watchers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18142,7 +18142,7 @@ pub mod network_watchers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkWatcher), @@ -18222,7 +18222,7 @@ pub mod network_watchers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18288,7 +18288,7 @@ pub mod network_watchers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -18361,7 +18361,7 @@ pub mod network_watchers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18430,7 +18430,7 @@ pub mod network_watchers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18505,7 +18505,7 @@ pub mod network_watchers { } } pub mod get_topology { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18586,7 +18586,7 @@ pub mod network_watchers { } } pub mod verify_ip_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VerificationIpFlowResult), @@ -18672,7 +18672,7 @@ pub mod network_watchers { } } pub mod get_next_hop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NextHopResult), @@ -18760,7 +18760,7 @@ pub mod network_watchers { } } pub mod get_vm_security_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityGroupViewResult), @@ -18846,7 +18846,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -18934,7 +18934,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -19022,7 +19022,7 @@ pub mod network_watchers { } } pub mod set_flow_log_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -19108,7 +19108,7 @@ pub mod network_watchers { } } pub mod get_flow_log_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -19194,7 +19194,7 @@ pub mod network_watchers { } } pub mod check_connectivity { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectivityInformation), @@ -19282,7 +19282,7 @@ pub mod network_watchers { } } pub mod get_azure_reachability_report { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AzureReachabilityReport), @@ -19370,7 +19370,7 @@ pub mod network_watchers { } } pub mod list_available_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AvailableProvidersList), @@ -19458,7 +19458,7 @@ pub mod network_watchers { } } pub mod get_network_configuration_diagnostic { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkConfigurationDiagnosticResponse), @@ -19487,7 +19487,7 @@ pub mod network_watchers { } } pub mod packet_captures { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19538,7 +19538,7 @@ pub mod packet_captures { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19612,7 +19612,7 @@ pub mod packet_captures { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19680,7 +19680,7 @@ pub mod packet_captures { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -19754,7 +19754,7 @@ pub mod packet_captures { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -19841,7 +19841,7 @@ pub mod packet_captures { } } pub mod get_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PacketCaptureQueryStatusResult), @@ -19916,7 +19916,7 @@ pub mod packet_captures { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19940,7 +19940,7 @@ pub mod packet_captures { } } pub mod connection_monitors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19991,7 +19991,7 @@ pub mod connection_monitors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20074,7 +20074,7 @@ pub mod connection_monitors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorResult), @@ -20156,7 +20156,7 @@ pub mod connection_monitors { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20224,7 +20224,7 @@ pub mod connection_monitors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -20298,7 +20298,7 @@ pub mod connection_monitors { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -20372,7 +20372,7 @@ pub mod connection_monitors { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -20456,7 +20456,7 @@ pub mod connection_monitors { } } pub mod query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorQueryResult), @@ -20531,7 +20531,7 @@ pub mod connection_monitors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20555,7 +20555,7 @@ pub mod connection_monitors { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Network/operations", operation_config.base_path(),); @@ -20591,7 +20591,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -20612,7 +20612,7 @@ pub mod operations { } } pub mod public_ip_prefixes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20663,7 +20663,7 @@ pub mod public_ip_prefixes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -20739,7 +20739,7 @@ pub mod public_ip_prefixes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpPrefix), @@ -20814,7 +20814,7 @@ pub mod public_ip_prefixes { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -20876,7 +20876,7 @@ pub mod public_ip_prefixes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -20946,7 +20946,7 @@ pub mod public_ip_prefixes { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -21009,7 +21009,7 @@ pub mod public_ip_prefixes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -21030,7 +21030,7 @@ pub mod public_ip_prefixes { } } pub mod route_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -21081,7 +21081,7 @@ pub mod route_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -21157,7 +21157,7 @@ pub mod route_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilter), @@ -21229,7 +21229,7 @@ pub mod route_filters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -21291,7 +21291,7 @@ pub mod route_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -21365,7 +21365,7 @@ pub mod route_filters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -21426,7 +21426,7 @@ pub mod route_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -21447,7 +21447,7 @@ pub mod route_filters { } } pub mod route_filter_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -21496,7 +21496,7 @@ pub mod route_filter_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -21574,7 +21574,7 @@ pub mod route_filter_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilterRule), @@ -21648,7 +21648,7 @@ pub mod route_filter_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -21712,7 +21712,7 @@ pub mod route_filter_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -21786,7 +21786,7 @@ pub mod route_filter_rules { } } pub mod list_by_route_filter { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -21807,7 +21807,7 @@ pub mod route_filter_rules { } } pub mod bgp_service_communities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -21850,7 +21850,7 @@ pub mod bgp_service_communities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -21871,7 +21871,7 @@ pub mod bgp_service_communities { } } pub mod service_tags { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -21916,7 +21916,7 @@ pub mod service_tags { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -21937,7 +21937,7 @@ pub mod service_tags { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -21982,7 +21982,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -22003,7 +22003,7 @@ pub mod usages { } } pub mod virtual_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -22050,7 +22050,7 @@ pub mod virtual_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -22126,7 +22126,7 @@ pub mod virtual_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGateway), @@ -22202,7 +22202,7 @@ pub mod virtual_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -22269,7 +22269,7 @@ pub mod virtual_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -22338,7 +22338,7 @@ pub mod virtual_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -22406,7 +22406,7 @@ pub mod virtual_network_gateways { } } pub mod list_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -22477,7 +22477,7 @@ pub mod virtual_network_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -22549,7 +22549,7 @@ pub mod virtual_network_gateways { } } pub mod reset_vpn_client_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22627,7 +22627,7 @@ pub mod virtual_network_gateways { } } pub mod generatevpnclientpackage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -22703,7 +22703,7 @@ pub mod virtual_network_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -22780,7 +22780,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpn_profile_package_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -22859,7 +22859,7 @@ pub mod virtual_network_gateways { } } pub mod get_bgp_peer_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BgpPeerStatusListResult), @@ -22935,7 +22935,7 @@ pub mod virtual_network_gateways { } } pub mod supported_vpn_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -23005,7 +23005,7 @@ pub mod virtual_network_gateways { } } pub mod get_learned_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -23084,7 +23084,7 @@ pub mod virtual_network_gateways { } } pub mod get_advertised_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -23162,7 +23162,7 @@ pub mod virtual_network_gateways { } } pub mod set_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -23238,7 +23238,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -23310,7 +23310,7 @@ pub mod virtual_network_gateways { } } pub mod vpn_device_configuration_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -23387,7 +23387,7 @@ pub mod virtual_network_gateways { } } pub mod start_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -23468,7 +23468,7 @@ pub mod virtual_network_gateways { } } pub mod stop_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -23548,7 +23548,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpnclient_connection_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnClientConnectionHealthDetailListResult), @@ -23574,7 +23574,7 @@ pub mod virtual_network_gateways { } } pub mod virtual_network_gateway_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -23621,7 +23621,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -23697,7 +23697,7 @@ pub mod virtual_network_gateway_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGatewayConnection), @@ -23773,7 +23773,7 @@ pub mod virtual_network_gateway_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -23840,7 +23840,7 @@ pub mod virtual_network_gateway_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23914,7 +23914,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -23990,7 +23990,7 @@ pub mod virtual_network_gateway_connections { } } pub mod set_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ConnectionSharedKey), @@ -24058,7 +24058,7 @@ pub mod virtual_network_gateway_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -24129,7 +24129,7 @@ pub mod virtual_network_gateway_connections { } } pub mod reset_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionResetSharedKey), @@ -24211,7 +24211,7 @@ pub mod virtual_network_gateway_connections { } } pub mod start_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -24292,7 +24292,7 @@ pub mod virtual_network_gateway_connections { } } pub mod stop_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -24321,7 +24321,7 @@ pub mod virtual_network_gateway_connections { } } pub mod local_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -24368,7 +24368,7 @@ pub mod local_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -24444,7 +24444,7 @@ pub mod local_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LocalNetworkGateway), @@ -24519,7 +24519,7 @@ pub mod local_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -24581,7 +24581,7 @@ pub mod local_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -24650,7 +24650,7 @@ pub mod local_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -24671,7 +24671,7 @@ pub mod local_network_gateways { } } pub mod virtual_routers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -24724,7 +24724,7 @@ pub mod virtual_routers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24805,7 +24805,7 @@ pub mod virtual_routers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(VirtualRouter), @@ -24882,7 +24882,7 @@ pub mod virtual_routers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24949,7 +24949,7 @@ pub mod virtual_routers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -25028,7 +25028,7 @@ pub mod virtual_routers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25094,7 +25094,7 @@ pub mod virtual_routers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25118,7 +25118,7 @@ pub mod virtual_routers { } } pub mod virtual_router_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -25169,7 +25169,7 @@ pub mod virtual_router_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25252,7 +25252,7 @@ pub mod virtual_router_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(VirtualRouterPeering), @@ -25331,7 +25331,7 @@ pub mod virtual_router_peerings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25400,7 +25400,7 @@ pub mod virtual_router_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -25476,7 +25476,7 @@ pub mod virtual_router_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25500,7 +25500,7 @@ pub mod virtual_router_peerings { } } pub mod virtual_wans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -25549,7 +25549,7 @@ pub mod virtual_wans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25630,7 +25630,7 @@ pub mod virtual_wans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualWan), @@ -25716,7 +25716,7 @@ pub mod virtual_wans { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualWan), @@ -25788,7 +25788,7 @@ pub mod virtual_wans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -25867,7 +25867,7 @@ pub mod virtual_wans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25933,7 +25933,7 @@ pub mod virtual_wans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25957,7 +25957,7 @@ pub mod virtual_wans { } } pub mod vpn_sites { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -26006,7 +26006,7 @@ pub mod vpn_sites { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26087,7 +26087,7 @@ pub mod vpn_sites { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnSite), @@ -26173,7 +26173,7 @@ pub mod vpn_sites { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnSite), @@ -26245,7 +26245,7 @@ pub mod vpn_sites { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -26324,7 +26324,7 @@ pub mod vpn_sites { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26390,7 +26390,7 @@ pub mod vpn_sites { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26414,7 +26414,7 @@ pub mod vpn_sites { } } pub mod vpn_site_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -26465,7 +26465,7 @@ pub mod vpn_site_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26538,7 +26538,7 @@ pub mod vpn_site_links { } } pub mod list_by_vpn_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26562,7 +26562,7 @@ pub mod vpn_site_links { } } pub mod vpn_sites_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn download( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -26612,7 +26612,7 @@ pub mod vpn_sites_configuration { } } pub mod download { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -26641,7 +26641,7 @@ pub mod vpn_sites_configuration { } } pub mod virtual_hubs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -26690,7 +26690,7 @@ pub mod virtual_hubs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26771,7 +26771,7 @@ pub mod virtual_hubs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHub), @@ -26857,7 +26857,7 @@ pub mod virtual_hubs { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHub), @@ -26929,7 +26929,7 @@ pub mod virtual_hubs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -27008,7 +27008,7 @@ pub mod virtual_hubs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27074,7 +27074,7 @@ pub mod virtual_hubs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27098,7 +27098,7 @@ pub mod virtual_hubs { } } pub mod hub_virtual_network_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -27149,7 +27149,7 @@ pub mod hub_virtual_network_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27219,7 +27219,7 @@ pub mod hub_virtual_network_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27243,7 +27243,7 @@ pub mod hub_virtual_network_connections { } } pub mod vpn_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -27292,7 +27292,7 @@ pub mod vpn_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27373,7 +27373,7 @@ pub mod vpn_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -27459,7 +27459,7 @@ pub mod vpn_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -27531,7 +27531,7 @@ pub mod vpn_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -27607,7 +27607,7 @@ pub mod vpn_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -27682,7 +27682,7 @@ pub mod vpn_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27748,7 +27748,7 @@ pub mod vpn_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27772,7 +27772,7 @@ pub mod vpn_gateways { } } pub mod vpn_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -27823,7 +27823,7 @@ pub mod vpn_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27906,7 +27906,7 @@ pub mod vpn_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnConnection), @@ -27980,7 +27980,7 @@ pub mod vpn_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -28059,7 +28059,7 @@ pub mod vpn_connections { } } pub mod list_by_vpn_gateway { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28083,7 +28083,7 @@ pub mod vpn_connections { } } pub mod vpn_site_link_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -28136,7 +28136,7 @@ pub mod vpn_site_link_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28160,7 +28160,7 @@ pub mod vpn_site_link_connections { } } pub mod vpn_link_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_vpn_connection( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -28216,7 +28216,7 @@ pub mod vpn_link_connections { } } pub mod list_by_vpn_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28240,7 +28240,7 @@ pub mod vpn_link_connections { } } pub mod p2s_vpn_server_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -28291,7 +28291,7 @@ pub mod p2s_vpn_server_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28374,7 +28374,7 @@ pub mod p2s_vpn_server_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnServerConfiguration), @@ -28448,7 +28448,7 @@ pub mod p2s_vpn_server_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -28527,7 +28527,7 @@ pub mod p2s_vpn_server_configurations { } } pub mod list_by_virtual_wan { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28551,7 +28551,7 @@ pub mod p2s_vpn_server_configurations { } } pub mod p2s_vpn_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -28600,7 +28600,7 @@ pub mod p2s_vpn_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28681,7 +28681,7 @@ pub mod p2s_vpn_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -28767,7 +28767,7 @@ pub mod p2s_vpn_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -28839,7 +28839,7 @@ pub mod p2s_vpn_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -28918,7 +28918,7 @@ pub mod p2s_vpn_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28984,7 +28984,7 @@ pub mod p2s_vpn_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29058,7 +29058,7 @@ pub mod p2s_vpn_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnProfileResponse), @@ -29135,7 +29135,7 @@ pub mod p2s_vpn_gateways { } } pub mod get_p2s_vpn_connection_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -29161,7 +29161,7 @@ pub mod p2s_vpn_gateways { } } pub mod web_application_firewall_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -29206,7 +29206,7 @@ pub mod web_application_firewall_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -29270,7 +29270,7 @@ pub mod web_application_firewall_policies { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -29335,7 +29335,7 @@ pub mod web_application_firewall_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -29411,7 +29411,7 @@ pub mod web_application_firewall_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WebApplicationFirewallPolicy), @@ -29478,7 +29478,7 @@ pub mod web_application_firewall_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, diff --git a/services/mgmt/network/src/package_2019_08/operations.rs b/services/mgmt/network/src/package_2019_08/operations.rs index f7de6d9388..d48a073138 100644 --- a/services/mgmt/network/src/package_2019_08/operations.rs +++ b/services/mgmt/network/src/package_2019_08/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod application_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod application_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod application_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationGateway), @@ -202,7 +202,7 @@ pub mod application_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -264,7 +264,7 @@ pub mod application_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -333,7 +333,7 @@ pub mod application_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -397,7 +397,7 @@ pub mod application_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -459,7 +459,7 @@ pub mod application_gateways { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -526,7 +526,7 @@ pub mod application_gateways { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -605,7 +605,7 @@ pub mod application_gateways { } } pub mod backend_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealth), @@ -687,7 +687,7 @@ pub mod application_gateways { } } pub mod backend_health_on_demand { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealthOnDemand), @@ -760,7 +760,7 @@ pub mod application_gateways { } } pub mod list_available_server_variables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -831,7 +831,7 @@ pub mod application_gateways { } } pub mod list_available_request_headers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -902,7 +902,7 @@ pub mod application_gateways { } } pub mod list_available_response_headers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -971,7 +971,7 @@ pub mod application_gateways { } } pub mod list_available_waf_rule_sets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1037,7 +1037,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_options { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1103,7 +1103,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_predefined_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1171,7 +1171,7 @@ pub mod application_gateways { } } pub mod get_ssl_predefined_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1192,7 +1192,7 @@ pub mod application_gateways { } } pub mod network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1243,7 +1243,7 @@ pub mod network_interfaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1319,7 +1319,7 @@ pub mod network_interfaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkInterface), @@ -1394,7 +1394,7 @@ pub mod network_interfaces { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1456,7 +1456,7 @@ pub mod network_interfaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1526,7 +1526,7 @@ pub mod network_interfaces { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1589,7 +1589,7 @@ pub mod network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1661,7 +1661,7 @@ pub mod network_interfaces { } } pub mod get_effective_route_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveRouteListResult), @@ -1738,7 +1738,7 @@ pub mod network_interfaces { } } pub mod list_effective_network_security_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveNetworkSecurityGroupListResult), @@ -1809,7 +1809,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_vm_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1880,7 +1880,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1950,7 +1950,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_network_interface { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2021,7 +2021,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_ip_configurations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2092,7 +2092,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_ip_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2113,7 +2113,7 @@ pub mod network_interfaces { } } pub mod network_interface_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2160,7 +2160,7 @@ pub mod network_interface_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2227,7 +2227,7 @@ pub mod network_interface_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2248,7 +2248,7 @@ pub mod network_interface_ip_configurations { } } pub mod network_interface_load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2295,7 +2295,7 @@ pub mod network_interface_load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2316,7 +2316,7 @@ pub mod network_interface_load_balancers { } } pub mod network_interface_tap_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2365,7 +2365,7 @@ pub mod network_interface_tap_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2443,7 +2443,7 @@ pub mod network_interface_tap_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkInterfaceTapConfiguration), @@ -2512,7 +2512,7 @@ pub mod network_interface_tap_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2583,7 +2583,7 @@ pub mod network_interface_tap_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2604,7 +2604,7 @@ pub mod network_interface_tap_configurations { } } pub mod virtual_network_taps { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2651,7 +2651,7 @@ pub mod virtual_network_taps { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2727,7 +2727,7 @@ pub mod virtual_network_taps { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkTap), @@ -2802,7 +2802,7 @@ pub mod virtual_network_taps { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2864,7 +2864,7 @@ pub mod virtual_network_taps { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2934,7 +2934,7 @@ pub mod virtual_network_taps { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3002,7 +3002,7 @@ pub mod virtual_network_taps { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3023,7 +3023,7 @@ pub mod virtual_network_taps { } } pub mod load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3074,7 +3074,7 @@ pub mod load_balancers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3150,7 +3150,7 @@ pub mod load_balancers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoadBalancer), @@ -3225,7 +3225,7 @@ pub mod load_balancers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3287,7 +3287,7 @@ pub mod load_balancers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -3357,7 +3357,7 @@ pub mod load_balancers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3420,7 +3420,7 @@ pub mod load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3441,7 +3441,7 @@ pub mod load_balancers { } } pub mod load_balancer_backend_address_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3488,7 +3488,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3555,7 +3555,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3576,7 +3576,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod load_balancer_frontend_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3623,7 +3623,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3690,7 +3690,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3711,7 +3711,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod inbound_nat_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3758,7 +3758,7 @@ pub mod inbound_nat_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3829,7 +3829,7 @@ pub mod inbound_nat_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3907,7 +3907,7 @@ pub mod inbound_nat_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(InboundNatRule), @@ -3976,7 +3976,7 @@ pub mod inbound_nat_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4003,7 +4003,7 @@ pub mod inbound_nat_rules { } } pub mod load_balancer_load_balancing_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4050,7 +4050,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4117,7 +4117,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4138,7 +4138,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod load_balancer_outbound_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4185,7 +4185,7 @@ pub mod load_balancer_outbound_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4252,7 +4252,7 @@ pub mod load_balancer_outbound_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4273,7 +4273,7 @@ pub mod load_balancer_outbound_rules { } } pub mod load_balancer_network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4320,7 +4320,7 @@ pub mod load_balancer_network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4341,7 +4341,7 @@ pub mod load_balancer_network_interfaces { } } pub mod load_balancer_probes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4388,7 +4388,7 @@ pub mod load_balancer_probes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4455,7 +4455,7 @@ pub mod load_balancer_probes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4476,7 +4476,7 @@ pub mod load_balancer_probes { } } pub mod virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4527,7 +4527,7 @@ pub mod virtual_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4603,7 +4603,7 @@ pub mod virtual_networks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetwork), @@ -4678,7 +4678,7 @@ pub mod virtual_networks { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4740,7 +4740,7 @@ pub mod virtual_networks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4810,7 +4810,7 @@ pub mod virtual_networks { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4873,7 +4873,7 @@ pub mod virtual_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4945,7 +4945,7 @@ pub mod virtual_networks { } } pub mod check_ip_address_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5013,7 +5013,7 @@ pub mod virtual_networks { } } pub mod list_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5034,7 +5034,7 @@ pub mod virtual_networks { } } pub mod subnets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5087,7 +5087,7 @@ pub mod subnets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5165,7 +5165,7 @@ pub mod subnets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Subnet), @@ -5234,7 +5234,7 @@ pub mod subnets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5311,7 +5311,7 @@ pub mod subnets { } } pub mod prepare_network_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5387,7 +5387,7 @@ pub mod subnets { } } pub mod unprepare_network_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5457,7 +5457,7 @@ pub mod subnets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5478,7 +5478,7 @@ pub mod subnets { } } pub mod resource_navigation_links { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5527,7 +5527,7 @@ pub mod resource_navigation_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5548,7 +5548,7 @@ pub mod resource_navigation_links { } } pub mod service_association_links { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5597,7 +5597,7 @@ pub mod service_association_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5618,7 +5618,7 @@ pub mod service_association_links { } } pub mod virtual_network_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5667,7 +5667,7 @@ pub mod virtual_network_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5745,7 +5745,7 @@ pub mod virtual_network_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkPeering), @@ -5814,7 +5814,7 @@ pub mod virtual_network_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5885,7 +5885,7 @@ pub mod virtual_network_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5906,7 +5906,7 @@ pub mod virtual_network_peerings { } } pub mod network_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5957,7 +5957,7 @@ pub mod network_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6033,7 +6033,7 @@ pub mod network_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkSecurityGroup), @@ -6108,7 +6108,7 @@ pub mod network_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6170,7 +6170,7 @@ pub mod network_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6240,7 +6240,7 @@ pub mod network_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6303,7 +6303,7 @@ pub mod network_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6324,7 +6324,7 @@ pub mod network_security_groups { } } pub mod security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6373,7 +6373,7 @@ pub mod security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6451,7 +6451,7 @@ pub mod security_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityRule), @@ -6520,7 +6520,7 @@ pub mod security_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -6591,7 +6591,7 @@ pub mod security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6612,7 +6612,7 @@ pub mod security_rules { } } pub mod default_security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6659,7 +6659,7 @@ pub mod default_security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6726,7 +6726,7 @@ pub mod default_security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6747,7 +6747,7 @@ pub mod default_security_rules { } } pub mod application_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6794,7 +6794,7 @@ pub mod application_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6870,7 +6870,7 @@ pub mod application_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationSecurityGroup), @@ -6945,7 +6945,7 @@ pub mod application_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7007,7 +7007,7 @@ pub mod application_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -7077,7 +7077,7 @@ pub mod application_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7140,7 +7140,7 @@ pub mod application_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7161,7 +7161,7 @@ pub mod application_security_groups { } } pub mod route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7212,7 +7212,7 @@ pub mod route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7288,7 +7288,7 @@ pub mod route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteTable), @@ -7363,7 +7363,7 @@ pub mod route_tables { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7425,7 +7425,7 @@ pub mod route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -7494,7 +7494,7 @@ pub mod route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7558,7 +7558,7 @@ pub mod route_tables { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7579,7 +7579,7 @@ pub mod route_tables { } } pub mod routes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7628,7 +7628,7 @@ pub mod routes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7706,7 +7706,7 @@ pub mod routes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Route), @@ -7775,7 +7775,7 @@ pub mod routes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7846,7 +7846,7 @@ pub mod routes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7867,7 +7867,7 @@ pub mod routes { } } pub mod service_endpoint_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7918,7 +7918,7 @@ pub mod service_endpoint_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7994,7 +7994,7 @@ pub mod service_endpoint_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ServiceEndpointPolicy), @@ -8066,7 +8066,7 @@ pub mod service_endpoint_policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8128,7 +8128,7 @@ pub mod service_endpoint_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8195,7 +8195,7 @@ pub mod service_endpoint_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8263,7 +8263,7 @@ pub mod service_endpoint_policies { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8284,7 +8284,7 @@ pub mod service_endpoint_policies { } } pub mod service_endpoint_policy_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8326,7 +8326,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8397,7 +8397,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServiceEndpointPolicyDefinition), @@ -8459,7 +8459,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -8535,7 +8535,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8556,7 +8556,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod private_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8609,7 +8609,7 @@ pub mod private_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8690,7 +8690,7 @@ pub mod private_endpoints { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpoint), @@ -8762,7 +8762,7 @@ pub mod private_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8836,7 +8836,7 @@ pub mod private_endpoints { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8905,7 +8905,7 @@ pub mod private_endpoints { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8929,7 +8929,7 @@ pub mod private_endpoints { } } pub mod available_private_endpoint_types { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -8974,7 +8974,7 @@ pub mod available_private_endpoint_types { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9044,7 +9044,7 @@ pub mod available_private_endpoint_types { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9065,7 +9065,7 @@ pub mod available_private_endpoint_types { } } pub mod private_link_services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9118,7 +9118,7 @@ pub mod private_link_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9199,7 +9199,7 @@ pub mod private_link_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkService), @@ -9271,7 +9271,7 @@ pub mod private_link_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9345,7 +9345,7 @@ pub mod private_link_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9414,7 +9414,7 @@ pub mod private_link_services { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9493,7 +9493,7 @@ pub mod private_link_services { } } pub mod update_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9567,7 +9567,7 @@ pub mod private_link_services { } } pub mod delete_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9647,7 +9647,7 @@ pub mod private_link_services { } } pub mod check_private_link_service_visibility { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServiceVisibility), @@ -9730,7 +9730,7 @@ pub mod private_link_services { } } pub mod check_private_link_service_visibility_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServiceVisibility), @@ -9803,7 +9803,7 @@ pub mod private_link_services { } } pub mod list_auto_approved_private_link_services { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9876,7 +9876,7 @@ pub mod private_link_services { } } pub mod list_auto_approved_private_link_services_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9897,7 +9897,7 @@ pub mod private_link_services { } } pub mod network_profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9948,7 +9948,7 @@ pub mod network_profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10024,7 +10024,7 @@ pub mod network_profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkProfile), @@ -10099,7 +10099,7 @@ pub mod network_profiles { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10161,7 +10161,7 @@ pub mod network_profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -10231,7 +10231,7 @@ pub mod network_profiles { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10294,7 +10294,7 @@ pub mod network_profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10315,7 +10315,7 @@ pub mod network_profiles { } } pub mod public_ip_addresses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10366,7 +10366,7 @@ pub mod public_ip_addresses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10442,7 +10442,7 @@ pub mod public_ip_addresses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpAddress), @@ -10517,7 +10517,7 @@ pub mod public_ip_addresses { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10579,7 +10579,7 @@ pub mod public_ip_addresses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -10649,7 +10649,7 @@ pub mod public_ip_addresses { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10712,7 +10712,7 @@ pub mod public_ip_addresses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10783,7 +10783,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10851,7 +10851,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_vm_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10923,7 +10923,7 @@ pub mod public_ip_addresses { } } pub mod get_virtual_machine_scale_set_public_ip_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -10944,7 +10944,7 @@ pub mod public_ip_addresses { } } pub mod available_delegations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -10989,7 +10989,7 @@ pub mod available_delegations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11010,7 +11010,7 @@ pub mod available_delegations { } } pub mod available_resource_group_delegations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -11057,7 +11057,7 @@ pub mod available_resource_group_delegations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11078,7 +11078,7 @@ pub mod available_resource_group_delegations { } } pub mod available_service_aliases { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -11123,7 +11123,7 @@ pub mod available_service_aliases { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11193,7 +11193,7 @@ pub mod available_service_aliases { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11214,7 +11214,7 @@ pub mod available_service_aliases { } } pub mod azure_firewalls { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11261,7 +11261,7 @@ pub mod azure_firewalls { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11337,7 +11337,7 @@ pub mod azure_firewalls { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(AzureFirewall), @@ -11412,7 +11412,7 @@ pub mod azure_firewalls { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11474,7 +11474,7 @@ pub mod azure_firewalls { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -11543,7 +11543,7 @@ pub mod azure_firewalls { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11607,7 +11607,7 @@ pub mod azure_firewalls { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11628,7 +11628,7 @@ pub mod azure_firewalls { } } pub mod azure_firewall_fqdn_tags { - use crate::models::*; + use super::{models, models::*}; pub async fn list_all( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11674,7 +11674,7 @@ pub mod azure_firewall_fqdn_tags { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11695,7 +11695,7 @@ pub mod azure_firewall_fqdn_tags { } } pub mod bastion_hosts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11742,7 +11742,7 @@ pub mod bastion_hosts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -11818,7 +11818,7 @@ pub mod bastion_hosts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(BastionHost), @@ -11885,7 +11885,7 @@ pub mod bastion_hosts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -11952,7 +11952,7 @@ pub mod bastion_hosts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12020,7 +12020,7 @@ pub mod bastion_hosts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12091,7 +12091,7 @@ pub async fn check_dns_name_availability( } } pub mod check_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12163,7 +12163,7 @@ pub async fn supported_security_providers( } } pub mod supported_security_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12245,7 +12245,7 @@ pub async fn generatevirtualwanvpnserverconfigurationvpnprofile( } } pub mod generatevirtualwanvpnserverconfigurationvpnprofile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnProfileResponse), @@ -12273,7 +12273,7 @@ pub mod generatevirtualwanvpnserverconfigurationvpnprofile { } } pub mod ddos_custom_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12322,7 +12322,7 @@ pub mod ddos_custom_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12403,7 +12403,7 @@ pub mod ddos_custom_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DdosCustomPolicy), @@ -12483,7 +12483,7 @@ pub mod ddos_custom_policies { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12550,7 +12550,7 @@ pub mod ddos_custom_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -12580,7 +12580,7 @@ pub mod ddos_custom_policies { } } pub mod ddos_protection_plans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12627,7 +12627,7 @@ pub mod ddos_protection_plans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12703,7 +12703,7 @@ pub mod ddos_protection_plans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DdosProtectionPlan), @@ -12778,7 +12778,7 @@ pub mod ddos_protection_plans { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12840,7 +12840,7 @@ pub mod ddos_protection_plans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -12907,7 +12907,7 @@ pub mod ddos_protection_plans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12975,7 +12975,7 @@ pub mod ddos_protection_plans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -12996,7 +12996,7 @@ pub mod ddos_protection_plans { } } pub mod available_endpoint_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -13041,7 +13041,7 @@ pub mod available_endpoint_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13062,7 +13062,7 @@ pub mod available_endpoint_services { } } pub mod express_route_circuit_authorizations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13111,7 +13111,7 @@ pub mod express_route_circuit_authorizations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13189,7 +13189,7 @@ pub mod express_route_circuit_authorizations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuitAuthorization), @@ -13258,7 +13258,7 @@ pub mod express_route_circuit_authorizations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -13329,7 +13329,7 @@ pub mod express_route_circuit_authorizations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13350,7 +13350,7 @@ pub mod express_route_circuit_authorizations { } } pub mod express_route_circuit_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13399,7 +13399,7 @@ pub mod express_route_circuit_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13477,7 +13477,7 @@ pub mod express_route_circuit_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitPeering), @@ -13546,7 +13546,7 @@ pub mod express_route_circuit_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13617,7 +13617,7 @@ pub mod express_route_circuit_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13638,7 +13638,7 @@ pub mod express_route_circuit_peerings { } } pub mod express_route_circuit_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13689,7 +13689,7 @@ pub mod express_route_circuit_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13769,7 +13769,7 @@ pub mod express_route_circuit_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitConnection), @@ -13840,7 +13840,7 @@ pub mod express_route_circuit_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13913,7 +13913,7 @@ pub mod express_route_circuit_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -13934,7 +13934,7 @@ pub mod express_route_circuit_connections { } } pub mod peer_express_route_circuit_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13985,7 +13985,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14052,7 +14052,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14073,7 +14073,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod express_route_circuits { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14120,7 +14120,7 @@ pub mod express_route_circuits { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14196,7 +14196,7 @@ pub mod express_route_circuits { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuit), @@ -14271,7 +14271,7 @@ pub mod express_route_circuits { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14333,7 +14333,7 @@ pub mod express_route_circuits { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -14413,7 +14413,7 @@ pub mod express_route_circuits { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -14492,7 +14492,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -14573,7 +14573,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableSummaryListResult), @@ -14646,7 +14646,7 @@ pub mod express_route_circuits { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14716,7 +14716,7 @@ pub mod express_route_circuits { } } pub mod get_peering_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14779,7 +14779,7 @@ pub mod express_route_circuits { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14843,7 +14843,7 @@ pub mod express_route_circuits { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14864,7 +14864,7 @@ pub mod express_route_circuits { } } pub mod express_route_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -14907,7 +14907,7 @@ pub mod express_route_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -14928,7 +14928,7 @@ pub mod express_route_service_providers { } } pub mod express_route_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -14974,7 +14974,7 @@ pub mod express_route_gateways { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15042,7 +15042,7 @@ pub mod express_route_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15107,7 +15107,7 @@ pub mod express_route_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15183,7 +15183,7 @@ pub mod express_route_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteGateway), @@ -15250,7 +15250,7 @@ pub mod express_route_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -15277,7 +15277,7 @@ pub mod express_route_gateways { } } pub mod express_route_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15326,7 +15326,7 @@ pub mod express_route_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15404,7 +15404,7 @@ pub mod express_route_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteConnection), @@ -15473,7 +15473,7 @@ pub mod express_route_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -15544,7 +15544,7 @@ pub mod express_route_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15565,7 +15565,7 @@ pub mod express_route_connections { } } pub mod express_route_cross_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -15608,7 +15608,7 @@ pub mod express_route_cross_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15676,7 +15676,7 @@ pub mod express_route_cross_connections { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15741,7 +15741,7 @@ pub mod express_route_cross_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15811,7 +15811,7 @@ pub mod express_route_cross_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15881,7 +15881,7 @@ pub mod express_route_cross_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -15955,7 +15955,7 @@ pub mod express_route_cross_connections { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -16028,7 +16028,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionsRoutesTableSummaryListResult), @@ -16107,7 +16107,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -16133,7 +16133,7 @@ pub mod express_route_cross_connections { } } pub mod express_route_cross_connection_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16180,7 +16180,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16247,7 +16247,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16325,7 +16325,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionPeering), @@ -16394,7 +16394,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -16421,7 +16421,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod express_route_ports_locations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -16464,7 +16464,7 @@ pub mod express_route_ports_locations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16527,7 +16527,7 @@ pub mod express_route_ports_locations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16548,7 +16548,7 @@ pub mod express_route_ports_locations { } } pub mod express_route_ports { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -16595,7 +16595,7 @@ pub mod express_route_ports { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16671,7 +16671,7 @@ pub mod express_route_ports { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRoutePort), @@ -16746,7 +16746,7 @@ pub mod express_route_ports { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16808,7 +16808,7 @@ pub mod express_route_ports { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -16882,7 +16882,7 @@ pub mod express_route_ports { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16943,7 +16943,7 @@ pub mod express_route_ports { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -16964,7 +16964,7 @@ pub mod express_route_ports { } } pub mod express_route_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -17013,7 +17013,7 @@ pub mod express_route_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -17078,7 +17078,7 @@ pub mod express_route_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -17099,7 +17099,7 @@ pub mod express_route_links { } } pub mod firewall_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17150,7 +17150,7 @@ pub mod firewall_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -17226,7 +17226,7 @@ pub mod firewall_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FirewallPolicy), @@ -17303,7 +17303,7 @@ pub mod firewall_policies { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17368,7 +17368,7 @@ pub mod firewall_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -17437,7 +17437,7 @@ pub mod firewall_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -17501,7 +17501,7 @@ pub mod firewall_policies { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -17522,7 +17522,7 @@ pub mod firewall_policies { } } pub mod firewall_policy_rule_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17571,7 +17571,7 @@ pub mod firewall_policy_rule_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -17649,7 +17649,7 @@ pub mod firewall_policy_rule_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FirewallPolicyRuleGroup), @@ -17718,7 +17718,7 @@ pub mod firewall_policy_rule_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -17789,7 +17789,7 @@ pub mod firewall_policy_rule_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -17810,7 +17810,7 @@ pub mod firewall_policy_rule_groups { } } pub mod nat_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17861,7 +17861,7 @@ pub mod nat_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -17943,7 +17943,7 @@ pub mod nat_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NatGateway), @@ -18019,7 +18019,7 @@ pub mod nat_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -18081,7 +18081,7 @@ pub mod nat_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -18151,7 +18151,7 @@ pub mod nat_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -18214,7 +18214,7 @@ pub mod nat_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -18235,7 +18235,7 @@ pub mod nat_gateways { } } pub mod network_watchers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18284,7 +18284,7 @@ pub mod network_watchers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18365,7 +18365,7 @@ pub mod network_watchers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkWatcher), @@ -18445,7 +18445,7 @@ pub mod network_watchers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18511,7 +18511,7 @@ pub mod network_watchers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -18584,7 +18584,7 @@ pub mod network_watchers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18653,7 +18653,7 @@ pub mod network_watchers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18728,7 +18728,7 @@ pub mod network_watchers { } } pub mod get_topology { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18809,7 +18809,7 @@ pub mod network_watchers { } } pub mod verify_ip_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VerificationIpFlowResult), @@ -18895,7 +18895,7 @@ pub mod network_watchers { } } pub mod get_next_hop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NextHopResult), @@ -18983,7 +18983,7 @@ pub mod network_watchers { } } pub mod get_vm_security_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityGroupViewResult), @@ -19069,7 +19069,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -19157,7 +19157,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -19245,7 +19245,7 @@ pub mod network_watchers { } } pub mod set_flow_log_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -19331,7 +19331,7 @@ pub mod network_watchers { } } pub mod get_flow_log_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -19417,7 +19417,7 @@ pub mod network_watchers { } } pub mod check_connectivity { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectivityInformation), @@ -19505,7 +19505,7 @@ pub mod network_watchers { } } pub mod get_azure_reachability_report { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AzureReachabilityReport), @@ -19593,7 +19593,7 @@ pub mod network_watchers { } } pub mod list_available_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AvailableProvidersList), @@ -19681,7 +19681,7 @@ pub mod network_watchers { } } pub mod get_network_configuration_diagnostic { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkConfigurationDiagnosticResponse), @@ -19710,7 +19710,7 @@ pub mod network_watchers { } } pub mod packet_captures { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19761,7 +19761,7 @@ pub mod packet_captures { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19835,7 +19835,7 @@ pub mod packet_captures { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19903,7 +19903,7 @@ pub mod packet_captures { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -19977,7 +19977,7 @@ pub mod packet_captures { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -20064,7 +20064,7 @@ pub mod packet_captures { } } pub mod get_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PacketCaptureQueryStatusResult), @@ -20139,7 +20139,7 @@ pub mod packet_captures { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20163,7 +20163,7 @@ pub mod packet_captures { } } pub mod connection_monitors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20214,7 +20214,7 @@ pub mod connection_monitors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20297,7 +20297,7 @@ pub mod connection_monitors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorResult), @@ -20379,7 +20379,7 @@ pub mod connection_monitors { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20447,7 +20447,7 @@ pub mod connection_monitors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -20521,7 +20521,7 @@ pub mod connection_monitors { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -20595,7 +20595,7 @@ pub mod connection_monitors { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -20679,7 +20679,7 @@ pub mod connection_monitors { } } pub mod query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorQueryResult), @@ -20754,7 +20754,7 @@ pub mod connection_monitors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20778,7 +20778,7 @@ pub mod connection_monitors { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Network/operations", operation_config.base_path(),); @@ -20814,7 +20814,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -20835,7 +20835,7 @@ pub mod operations { } } pub mod public_ip_prefixes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20886,7 +20886,7 @@ pub mod public_ip_prefixes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -20962,7 +20962,7 @@ pub mod public_ip_prefixes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpPrefix), @@ -21037,7 +21037,7 @@ pub mod public_ip_prefixes { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -21099,7 +21099,7 @@ pub mod public_ip_prefixes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -21169,7 +21169,7 @@ pub mod public_ip_prefixes { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -21232,7 +21232,7 @@ pub mod public_ip_prefixes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -21253,7 +21253,7 @@ pub mod public_ip_prefixes { } } pub mod route_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -21304,7 +21304,7 @@ pub mod route_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -21380,7 +21380,7 @@ pub mod route_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilter), @@ -21452,7 +21452,7 @@ pub mod route_filters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -21514,7 +21514,7 @@ pub mod route_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -21588,7 +21588,7 @@ pub mod route_filters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -21649,7 +21649,7 @@ pub mod route_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -21670,7 +21670,7 @@ pub mod route_filters { } } pub mod route_filter_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -21719,7 +21719,7 @@ pub mod route_filter_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -21797,7 +21797,7 @@ pub mod route_filter_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilterRule), @@ -21871,7 +21871,7 @@ pub mod route_filter_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -21935,7 +21935,7 @@ pub mod route_filter_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -22009,7 +22009,7 @@ pub mod route_filter_rules { } } pub mod list_by_route_filter { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -22030,7 +22030,7 @@ pub mod route_filter_rules { } } pub mod bgp_service_communities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -22073,7 +22073,7 @@ pub mod bgp_service_communities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -22094,7 +22094,7 @@ pub mod bgp_service_communities { } } pub mod service_tags { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -22139,7 +22139,7 @@ pub mod service_tags { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -22160,7 +22160,7 @@ pub mod service_tags { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -22205,7 +22205,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -22226,7 +22226,7 @@ pub mod usages { } } pub mod virtual_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -22273,7 +22273,7 @@ pub mod virtual_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -22349,7 +22349,7 @@ pub mod virtual_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGateway), @@ -22425,7 +22425,7 @@ pub mod virtual_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -22492,7 +22492,7 @@ pub mod virtual_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -22561,7 +22561,7 @@ pub mod virtual_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -22629,7 +22629,7 @@ pub mod virtual_network_gateways { } } pub mod list_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -22700,7 +22700,7 @@ pub mod virtual_network_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -22772,7 +22772,7 @@ pub mod virtual_network_gateways { } } pub mod reset_vpn_client_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22850,7 +22850,7 @@ pub mod virtual_network_gateways { } } pub mod generatevpnclientpackage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -22926,7 +22926,7 @@ pub mod virtual_network_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -23003,7 +23003,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpn_profile_package_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -23082,7 +23082,7 @@ pub mod virtual_network_gateways { } } pub mod get_bgp_peer_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BgpPeerStatusListResult), @@ -23158,7 +23158,7 @@ pub mod virtual_network_gateways { } } pub mod supported_vpn_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -23228,7 +23228,7 @@ pub mod virtual_network_gateways { } } pub mod get_learned_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -23307,7 +23307,7 @@ pub mod virtual_network_gateways { } } pub mod get_advertised_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -23385,7 +23385,7 @@ pub mod virtual_network_gateways { } } pub mod set_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -23461,7 +23461,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -23533,7 +23533,7 @@ pub mod virtual_network_gateways { } } pub mod vpn_device_configuration_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -23610,7 +23610,7 @@ pub mod virtual_network_gateways { } } pub mod start_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -23691,7 +23691,7 @@ pub mod virtual_network_gateways { } } pub mod stop_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -23771,7 +23771,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpnclient_connection_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnClientConnectionHealthDetailListResult), @@ -23797,7 +23797,7 @@ pub mod virtual_network_gateways { } } pub mod virtual_network_gateway_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -23844,7 +23844,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -23920,7 +23920,7 @@ pub mod virtual_network_gateway_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGatewayConnection), @@ -23996,7 +23996,7 @@ pub mod virtual_network_gateway_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -24063,7 +24063,7 @@ pub mod virtual_network_gateway_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -24137,7 +24137,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -24213,7 +24213,7 @@ pub mod virtual_network_gateway_connections { } } pub mod set_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ConnectionSharedKey), @@ -24281,7 +24281,7 @@ pub mod virtual_network_gateway_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -24352,7 +24352,7 @@ pub mod virtual_network_gateway_connections { } } pub mod reset_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionResetSharedKey), @@ -24434,7 +24434,7 @@ pub mod virtual_network_gateway_connections { } } pub mod start_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -24515,7 +24515,7 @@ pub mod virtual_network_gateway_connections { } } pub mod stop_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -24544,7 +24544,7 @@ pub mod virtual_network_gateway_connections { } } pub mod local_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -24591,7 +24591,7 @@ pub mod local_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -24667,7 +24667,7 @@ pub mod local_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LocalNetworkGateway), @@ -24742,7 +24742,7 @@ pub mod local_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -24804,7 +24804,7 @@ pub mod local_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -24873,7 +24873,7 @@ pub mod local_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -24894,7 +24894,7 @@ pub mod local_network_gateways { } } pub mod virtual_routers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -24947,7 +24947,7 @@ pub mod virtual_routers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25028,7 +25028,7 @@ pub mod virtual_routers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(VirtualRouter), @@ -25105,7 +25105,7 @@ pub mod virtual_routers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25172,7 +25172,7 @@ pub mod virtual_routers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -25251,7 +25251,7 @@ pub mod virtual_routers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25317,7 +25317,7 @@ pub mod virtual_routers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25341,7 +25341,7 @@ pub mod virtual_routers { } } pub mod virtual_router_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -25392,7 +25392,7 @@ pub mod virtual_router_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25475,7 +25475,7 @@ pub mod virtual_router_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(VirtualRouterPeering), @@ -25554,7 +25554,7 @@ pub mod virtual_router_peerings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25623,7 +25623,7 @@ pub mod virtual_router_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -25699,7 +25699,7 @@ pub mod virtual_router_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25723,7 +25723,7 @@ pub mod virtual_router_peerings { } } pub mod virtual_wans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -25772,7 +25772,7 @@ pub mod virtual_wans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25853,7 +25853,7 @@ pub mod virtual_wans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualWan), @@ -25939,7 +25939,7 @@ pub mod virtual_wans { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualWan), @@ -26011,7 +26011,7 @@ pub mod virtual_wans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -26090,7 +26090,7 @@ pub mod virtual_wans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26156,7 +26156,7 @@ pub mod virtual_wans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26180,7 +26180,7 @@ pub mod virtual_wans { } } pub mod vpn_sites { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -26229,7 +26229,7 @@ pub mod vpn_sites { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26310,7 +26310,7 @@ pub mod vpn_sites { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnSite), @@ -26396,7 +26396,7 @@ pub mod vpn_sites { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnSite), @@ -26468,7 +26468,7 @@ pub mod vpn_sites { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -26547,7 +26547,7 @@ pub mod vpn_sites { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26613,7 +26613,7 @@ pub mod vpn_sites { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26637,7 +26637,7 @@ pub mod vpn_sites { } } pub mod vpn_site_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -26688,7 +26688,7 @@ pub mod vpn_site_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26761,7 +26761,7 @@ pub mod vpn_site_links { } } pub mod list_by_vpn_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26785,7 +26785,7 @@ pub mod vpn_site_links { } } pub mod vpn_sites_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn download( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -26835,7 +26835,7 @@ pub mod vpn_sites_configuration { } } pub mod download { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -26864,7 +26864,7 @@ pub mod vpn_sites_configuration { } } pub mod vpn_server_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -26913,7 +26913,7 @@ pub mod vpn_server_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26994,7 +26994,7 @@ pub mod vpn_server_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnServerConfiguration), @@ -27080,7 +27080,7 @@ pub mod vpn_server_configurations { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnServerConfiguration), @@ -27152,7 +27152,7 @@ pub mod vpn_server_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -27231,7 +27231,7 @@ pub mod vpn_server_configurations { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27297,7 +27297,7 @@ pub mod vpn_server_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27321,7 +27321,7 @@ pub mod vpn_server_configurations { } } pub mod virtual_hubs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -27370,7 +27370,7 @@ pub mod virtual_hubs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27451,7 +27451,7 @@ pub mod virtual_hubs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHub), @@ -27537,7 +27537,7 @@ pub mod virtual_hubs { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHub), @@ -27609,7 +27609,7 @@ pub mod virtual_hubs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -27688,7 +27688,7 @@ pub mod virtual_hubs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27754,7 +27754,7 @@ pub mod virtual_hubs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27778,7 +27778,7 @@ pub mod virtual_hubs { } } pub mod hub_virtual_network_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -27829,7 +27829,7 @@ pub mod hub_virtual_network_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27899,7 +27899,7 @@ pub mod hub_virtual_network_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27923,7 +27923,7 @@ pub mod hub_virtual_network_connections { } } pub mod vpn_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -27972,7 +27972,7 @@ pub mod vpn_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28053,7 +28053,7 @@ pub mod vpn_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -28139,7 +28139,7 @@ pub mod vpn_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -28211,7 +28211,7 @@ pub mod vpn_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -28289,7 +28289,7 @@ pub mod vpn_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -28367,7 +28367,7 @@ pub mod vpn_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28433,7 +28433,7 @@ pub mod vpn_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28457,7 +28457,7 @@ pub mod vpn_gateways { } } pub mod vpn_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -28508,7 +28508,7 @@ pub mod vpn_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28591,7 +28591,7 @@ pub mod vpn_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnConnection), @@ -28665,7 +28665,7 @@ pub mod vpn_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -28744,7 +28744,7 @@ pub mod vpn_connections { } } pub mod list_by_vpn_gateway { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28768,7 +28768,7 @@ pub mod vpn_connections { } } pub mod vpn_site_link_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -28821,7 +28821,7 @@ pub mod vpn_site_link_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28845,7 +28845,7 @@ pub mod vpn_site_link_connections { } } pub mod vpn_link_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_vpn_connection( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -28901,7 +28901,7 @@ pub mod vpn_link_connections { } } pub mod list_by_vpn_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28925,7 +28925,7 @@ pub mod vpn_link_connections { } } pub mod p2s_vpn_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -28974,7 +28974,7 @@ pub mod p2s_vpn_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29055,7 +29055,7 @@ pub mod p2s_vpn_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -29141,7 +29141,7 @@ pub mod p2s_vpn_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -29213,7 +29213,7 @@ pub mod p2s_vpn_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -29292,7 +29292,7 @@ pub mod p2s_vpn_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29358,7 +29358,7 @@ pub mod p2s_vpn_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29434,7 +29434,7 @@ pub mod p2s_vpn_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnProfileResponse), @@ -29516,7 +29516,7 @@ pub mod p2s_vpn_gateways { } } pub mod get_p2s_vpn_connection_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -29599,7 +29599,7 @@ pub mod p2s_vpn_gateways { } } pub mod get_p2s_vpn_connection_health_detailed { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnConnectionHealth), @@ -29628,7 +29628,7 @@ pub mod p2s_vpn_gateways { } } pub mod vpn_server_configurations_associated_with_virtual_wan { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -29679,7 +29679,7 @@ pub mod vpn_server_configurations_associated_with_virtual_wan { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnServerConfigurationsResponse), @@ -29708,7 +29708,7 @@ pub mod vpn_server_configurations_associated_with_virtual_wan { } } pub mod web_application_firewall_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -29753,7 +29753,7 @@ pub mod web_application_firewall_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -29817,7 +29817,7 @@ pub mod web_application_firewall_policies { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -29882,7 +29882,7 @@ pub mod web_application_firewall_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -29958,7 +29958,7 @@ pub mod web_application_firewall_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WebApplicationFirewallPolicy), @@ -30025,7 +30025,7 @@ pub mod web_application_firewall_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, diff --git a/services/mgmt/network/src/package_2019_09/operations.rs b/services/mgmt/network/src/package_2019_09/operations.rs index 2bc32aab23..48d4a844d5 100644 --- a/services/mgmt/network/src/package_2019_09/operations.rs +++ b/services/mgmt/network/src/package_2019_09/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod application_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod application_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod application_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationGateway), @@ -214,7 +214,7 @@ pub mod application_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -281,7 +281,7 @@ pub mod application_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -355,7 +355,7 @@ pub mod application_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -424,7 +424,7 @@ pub mod application_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -491,7 +491,7 @@ pub mod application_gateways { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -563,7 +563,7 @@ pub mod application_gateways { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -647,7 +647,7 @@ pub mod application_gateways { } } pub mod backend_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealth), @@ -734,7 +734,7 @@ pub mod application_gateways { } } pub mod backend_health_on_demand { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealthOnDemand), @@ -810,7 +810,7 @@ pub mod application_gateways { } } pub mod list_available_server_variables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -881,7 +881,7 @@ pub mod application_gateways { } } pub mod list_available_request_headers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -952,7 +952,7 @@ pub mod application_gateways { } } pub mod list_available_response_headers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1023,7 +1023,7 @@ pub mod application_gateways { } } pub mod list_available_waf_rule_sets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1094,7 +1094,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_options { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1165,7 +1165,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_predefined_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1238,7 +1238,7 @@ pub mod application_gateways { } } pub mod get_ssl_predefined_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1262,7 +1262,7 @@ pub mod application_gateways { } } pub mod network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1315,7 +1315,7 @@ pub mod network_interfaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1396,7 +1396,7 @@ pub mod network_interfaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkInterface), @@ -1476,7 +1476,7 @@ pub mod network_interfaces { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1543,7 +1543,7 @@ pub mod network_interfaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1618,7 +1618,7 @@ pub mod network_interfaces { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1686,7 +1686,7 @@ pub mod network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1763,7 +1763,7 @@ pub mod network_interfaces { } } pub mod get_effective_route_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveRouteListResult), @@ -1845,7 +1845,7 @@ pub mod network_interfaces { } } pub mod list_effective_network_security_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveNetworkSecurityGroupListResult), @@ -1922,7 +1922,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_vm_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1999,7 +1999,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2074,7 +2074,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_network_interface { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2151,7 +2151,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_ip_configurations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2227,7 +2227,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_ip_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2251,7 +2251,7 @@ pub mod network_interfaces { } } pub mod network_interface_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2300,7 +2300,7 @@ pub mod network_interface_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2372,7 +2372,7 @@ pub mod network_interface_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2396,7 +2396,7 @@ pub mod network_interface_ip_configurations { } } pub mod network_interface_load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2445,7 +2445,7 @@ pub mod network_interface_load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2469,7 +2469,7 @@ pub mod network_interface_load_balancers { } } pub mod network_interface_tap_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2520,7 +2520,7 @@ pub mod network_interface_tap_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2603,7 +2603,7 @@ pub mod network_interface_tap_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkInterfaceTapConfiguration), @@ -2677,7 +2677,7 @@ pub mod network_interface_tap_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2753,7 +2753,7 @@ pub mod network_interface_tap_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2777,7 +2777,7 @@ pub mod network_interface_tap_configurations { } } pub mod virtual_network_taps { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2826,7 +2826,7 @@ pub mod virtual_network_taps { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2907,7 +2907,7 @@ pub mod virtual_network_taps { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkTap), @@ -2987,7 +2987,7 @@ pub mod virtual_network_taps { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3054,7 +3054,7 @@ pub mod virtual_network_taps { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3129,7 +3129,7 @@ pub mod virtual_network_taps { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3202,7 +3202,7 @@ pub mod virtual_network_taps { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3226,7 +3226,7 @@ pub mod virtual_network_taps { } } pub mod load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3279,7 +3279,7 @@ pub mod load_balancers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3360,7 +3360,7 @@ pub mod load_balancers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoadBalancer), @@ -3440,7 +3440,7 @@ pub mod load_balancers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3507,7 +3507,7 @@ pub mod load_balancers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -3582,7 +3582,7 @@ pub mod load_balancers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3650,7 +3650,7 @@ pub mod load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3674,7 +3674,7 @@ pub mod load_balancers { } } pub mod load_balancer_backend_address_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3723,7 +3723,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3795,7 +3795,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3819,7 +3819,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod load_balancer_frontend_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3868,7 +3868,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3940,7 +3940,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3964,7 +3964,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod inbound_nat_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4013,7 +4013,7 @@ pub mod inbound_nat_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4089,7 +4089,7 @@ pub mod inbound_nat_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4172,7 +4172,7 @@ pub mod inbound_nat_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(InboundNatRule), @@ -4246,7 +4246,7 @@ pub mod inbound_nat_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4276,7 +4276,7 @@ pub mod inbound_nat_rules { } } pub mod load_balancer_load_balancing_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4325,7 +4325,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4397,7 +4397,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4421,7 +4421,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod load_balancer_outbound_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4470,7 +4470,7 @@ pub mod load_balancer_outbound_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4542,7 +4542,7 @@ pub mod load_balancer_outbound_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4566,7 +4566,7 @@ pub mod load_balancer_outbound_rules { } } pub mod load_balancer_network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4615,7 +4615,7 @@ pub mod load_balancer_network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4639,7 +4639,7 @@ pub mod load_balancer_network_interfaces { } } pub mod load_balancer_probes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4688,7 +4688,7 @@ pub mod load_balancer_probes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4760,7 +4760,7 @@ pub mod load_balancer_probes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4784,7 +4784,7 @@ pub mod load_balancer_probes { } } pub mod virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4837,7 +4837,7 @@ pub mod virtual_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4918,7 +4918,7 @@ pub mod virtual_networks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetwork), @@ -4998,7 +4998,7 @@ pub mod virtual_networks { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5065,7 +5065,7 @@ pub mod virtual_networks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5140,7 +5140,7 @@ pub mod virtual_networks { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5208,7 +5208,7 @@ pub mod virtual_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5285,7 +5285,7 @@ pub mod virtual_networks { } } pub mod check_ip_address_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5358,7 +5358,7 @@ pub mod virtual_networks { } } pub mod list_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5382,7 +5382,7 @@ pub mod virtual_networks { } } pub mod subnets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5437,7 +5437,7 @@ pub mod subnets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5520,7 +5520,7 @@ pub mod subnets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Subnet), @@ -5594,7 +5594,7 @@ pub mod subnets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5676,7 +5676,7 @@ pub mod subnets { } } pub mod prepare_network_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5757,7 +5757,7 @@ pub mod subnets { } } pub mod unprepare_network_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5832,7 +5832,7 @@ pub mod subnets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5856,7 +5856,7 @@ pub mod subnets { } } pub mod resource_navigation_links { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5907,7 +5907,7 @@ pub mod resource_navigation_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5931,7 +5931,7 @@ pub mod resource_navigation_links { } } pub mod service_association_links { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5982,7 +5982,7 @@ pub mod service_association_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6006,7 +6006,7 @@ pub mod service_association_links { } } pub mod virtual_network_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6057,7 +6057,7 @@ pub mod virtual_network_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6140,7 +6140,7 @@ pub mod virtual_network_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkPeering), @@ -6214,7 +6214,7 @@ pub mod virtual_network_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6290,7 +6290,7 @@ pub mod virtual_network_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6314,7 +6314,7 @@ pub mod virtual_network_peerings { } } pub mod network_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6367,7 +6367,7 @@ pub mod network_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6448,7 +6448,7 @@ pub mod network_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkSecurityGroup), @@ -6528,7 +6528,7 @@ pub mod network_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6595,7 +6595,7 @@ pub mod network_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6670,7 +6670,7 @@ pub mod network_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6738,7 +6738,7 @@ pub mod network_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6762,7 +6762,7 @@ pub mod network_security_groups { } } pub mod security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6813,7 +6813,7 @@ pub mod security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6896,7 +6896,7 @@ pub mod security_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityRule), @@ -6970,7 +6970,7 @@ pub mod security_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -7046,7 +7046,7 @@ pub mod security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7070,7 +7070,7 @@ pub mod security_rules { } } pub mod default_security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7119,7 +7119,7 @@ pub mod default_security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7191,7 +7191,7 @@ pub mod default_security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7215,7 +7215,7 @@ pub mod default_security_rules { } } pub mod application_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7264,7 +7264,7 @@ pub mod application_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7345,7 +7345,7 @@ pub mod application_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationSecurityGroup), @@ -7425,7 +7425,7 @@ pub mod application_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7492,7 +7492,7 @@ pub mod application_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -7567,7 +7567,7 @@ pub mod application_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7635,7 +7635,7 @@ pub mod application_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7659,7 +7659,7 @@ pub mod application_security_groups { } } pub mod route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7712,7 +7712,7 @@ pub mod route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7793,7 +7793,7 @@ pub mod route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteTable), @@ -7873,7 +7873,7 @@ pub mod route_tables { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7940,7 +7940,7 @@ pub mod route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -8014,7 +8014,7 @@ pub mod route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8083,7 +8083,7 @@ pub mod route_tables { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8107,7 +8107,7 @@ pub mod route_tables { } } pub mod routes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8158,7 +8158,7 @@ pub mod routes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8241,7 +8241,7 @@ pub mod routes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Route), @@ -8315,7 +8315,7 @@ pub mod routes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8391,7 +8391,7 @@ pub mod routes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8415,7 +8415,7 @@ pub mod routes { } } pub mod service_endpoint_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8468,7 +8468,7 @@ pub mod service_endpoint_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8549,7 +8549,7 @@ pub mod service_endpoint_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ServiceEndpointPolicy), @@ -8629,7 +8629,7 @@ pub mod service_endpoint_policies { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8696,7 +8696,7 @@ pub mod service_endpoint_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8768,7 +8768,7 @@ pub mod service_endpoint_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8841,7 +8841,7 @@ pub mod service_endpoint_policies { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8865,7 +8865,7 @@ pub mod service_endpoint_policies { } } pub mod service_endpoint_policy_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8909,7 +8909,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8985,7 +8985,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServiceEndpointPolicyDefinition), @@ -9052,7 +9052,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -9133,7 +9133,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9157,7 +9157,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod private_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9210,7 +9210,7 @@ pub mod private_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9291,7 +9291,7 @@ pub mod private_endpoints { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpoint), @@ -9363,7 +9363,7 @@ pub mod private_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9437,7 +9437,7 @@ pub mod private_endpoints { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9506,7 +9506,7 @@ pub mod private_endpoints { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9530,7 +9530,7 @@ pub mod private_endpoints { } } pub mod available_private_endpoint_types { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -9577,7 +9577,7 @@ pub mod available_private_endpoint_types { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9652,7 +9652,7 @@ pub mod available_private_endpoint_types { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9676,7 +9676,7 @@ pub mod available_private_endpoint_types { } } pub mod private_link_services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9729,7 +9729,7 @@ pub mod private_link_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9810,7 +9810,7 @@ pub mod private_link_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkService), @@ -9882,7 +9882,7 @@ pub mod private_link_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9956,7 +9956,7 @@ pub mod private_link_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10025,7 +10025,7 @@ pub mod private_link_services { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10106,7 +10106,7 @@ pub mod private_link_services { } } pub mod get_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10185,7 +10185,7 @@ pub mod private_link_services { } } pub mod update_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10259,7 +10259,7 @@ pub mod private_link_services { } } pub mod delete_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -10340,7 +10340,7 @@ pub mod private_link_services { } } pub mod list_private_endpoint_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10416,7 +10416,7 @@ pub mod private_link_services { } } pub mod check_private_link_service_visibility { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServiceVisibility), @@ -10505,7 +10505,7 @@ pub mod private_link_services { } } pub mod check_private_link_service_visibility_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServiceVisibility), @@ -10583,7 +10583,7 @@ pub mod private_link_services { } } pub mod list_auto_approved_private_link_services { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10660,7 +10660,7 @@ pub mod private_link_services { } } pub mod list_auto_approved_private_link_services_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10684,7 +10684,7 @@ pub mod private_link_services { } } pub mod network_profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10737,7 +10737,7 @@ pub mod network_profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10818,7 +10818,7 @@ pub mod network_profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkProfile), @@ -10898,7 +10898,7 @@ pub mod network_profiles { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10965,7 +10965,7 @@ pub mod network_profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -11040,7 +11040,7 @@ pub mod network_profiles { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11108,7 +11108,7 @@ pub mod network_profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11132,7 +11132,7 @@ pub mod network_profiles { } } pub mod public_ip_addresses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11185,7 +11185,7 @@ pub mod public_ip_addresses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11266,7 +11266,7 @@ pub mod public_ip_addresses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpAddress), @@ -11346,7 +11346,7 @@ pub mod public_ip_addresses { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11413,7 +11413,7 @@ pub mod public_ip_addresses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -11488,7 +11488,7 @@ pub mod public_ip_addresses { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11556,7 +11556,7 @@ pub mod public_ip_addresses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11633,7 +11633,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11707,7 +11707,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_vm_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11784,7 +11784,7 @@ pub mod public_ip_addresses { } } pub mod get_virtual_machine_scale_set_public_ip_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11808,7 +11808,7 @@ pub mod public_ip_addresses { } } pub mod available_delegations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -11855,7 +11855,7 @@ pub mod available_delegations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11879,7 +11879,7 @@ pub mod available_delegations { } } pub mod available_resource_group_delegations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -11928,7 +11928,7 @@ pub mod available_resource_group_delegations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11952,7 +11952,7 @@ pub mod available_resource_group_delegations { } } pub mod available_service_aliases { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -11999,7 +11999,7 @@ pub mod available_service_aliases { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12074,7 +12074,7 @@ pub mod available_service_aliases { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12098,7 +12098,7 @@ pub mod available_service_aliases { } } pub mod azure_firewalls { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12147,7 +12147,7 @@ pub mod azure_firewalls { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12228,7 +12228,7 @@ pub mod azure_firewalls { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(AzureFirewall), @@ -12309,7 +12309,7 @@ pub mod azure_firewalls { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -12381,7 +12381,7 @@ pub mod azure_firewalls { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -12455,7 +12455,7 @@ pub mod azure_firewalls { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12524,7 +12524,7 @@ pub mod azure_firewalls { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12548,7 +12548,7 @@ pub mod azure_firewalls { } } pub mod azure_firewall_fqdn_tags { - use crate::models::*; + use super::{models, models::*}; pub async fn list_all( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12596,7 +12596,7 @@ pub mod azure_firewall_fqdn_tags { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12620,7 +12620,7 @@ pub mod azure_firewall_fqdn_tags { } } pub mod bastion_hosts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12669,7 +12669,7 @@ pub mod bastion_hosts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12750,7 +12750,7 @@ pub mod bastion_hosts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(BastionHost), @@ -12822,7 +12822,7 @@ pub mod bastion_hosts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -12894,7 +12894,7 @@ pub mod bastion_hosts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12967,7 +12967,7 @@ pub mod bastion_hosts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13046,7 +13046,7 @@ pub async fn put_bastion_shareable_link( } } pub mod put_bastion_shareable_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BastionShareableLinkListResult), @@ -13124,7 +13124,7 @@ pub async fn delete_bastion_shareable_link( } } pub mod delete_bastion_shareable_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13206,7 +13206,7 @@ pub async fn get_bastion_shareable_link( } } pub mod get_bastion_shareable_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13281,7 +13281,7 @@ pub async fn get_active_sessions( } } pub mod get_active_sessions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BastionActiveSessionListResult), @@ -13363,7 +13363,7 @@ pub async fn disconnect_active_sessions( } } pub mod disconnect_active_sessions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13438,7 +13438,7 @@ pub async fn check_dns_name_availability( } } pub mod check_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13513,7 +13513,7 @@ pub async fn supported_security_providers( } } pub mod supported_security_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13595,7 +13595,7 @@ pub async fn generatevirtualwanvpnserverconfigurationvpnprofile( } } pub mod generatevirtualwanvpnserverconfigurationvpnprofile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnProfileResponse), @@ -13623,7 +13623,7 @@ pub mod generatevirtualwanvpnserverconfigurationvpnprofile { } } pub mod ddos_custom_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13672,7 +13672,7 @@ pub mod ddos_custom_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13753,7 +13753,7 @@ pub mod ddos_custom_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DdosCustomPolicy), @@ -13833,7 +13833,7 @@ pub mod ddos_custom_policies { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13900,7 +13900,7 @@ pub mod ddos_custom_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -13930,7 +13930,7 @@ pub mod ddos_custom_policies { } } pub mod ddos_protection_plans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13979,7 +13979,7 @@ pub mod ddos_protection_plans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14060,7 +14060,7 @@ pub mod ddos_protection_plans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DdosProtectionPlan), @@ -14140,7 +14140,7 @@ pub mod ddos_protection_plans { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14207,7 +14207,7 @@ pub mod ddos_protection_plans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -14279,7 +14279,7 @@ pub mod ddos_protection_plans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14352,7 +14352,7 @@ pub mod ddos_protection_plans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14376,7 +14376,7 @@ pub mod ddos_protection_plans { } } pub mod available_endpoint_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -14423,7 +14423,7 @@ pub mod available_endpoint_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14447,7 +14447,7 @@ pub mod available_endpoint_services { } } pub mod express_route_circuit_authorizations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14498,7 +14498,7 @@ pub mod express_route_circuit_authorizations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14581,7 +14581,7 @@ pub mod express_route_circuit_authorizations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuitAuthorization), @@ -14655,7 +14655,7 @@ pub mod express_route_circuit_authorizations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -14731,7 +14731,7 @@ pub mod express_route_circuit_authorizations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14755,7 +14755,7 @@ pub mod express_route_circuit_authorizations { } } pub mod express_route_circuit_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14806,7 +14806,7 @@ pub mod express_route_circuit_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14889,7 +14889,7 @@ pub mod express_route_circuit_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitPeering), @@ -14963,7 +14963,7 @@ pub mod express_route_circuit_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -15039,7 +15039,7 @@ pub mod express_route_circuit_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15063,7 +15063,7 @@ pub mod express_route_circuit_peerings { } } pub mod express_route_circuit_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15116,7 +15116,7 @@ pub mod express_route_circuit_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15201,7 +15201,7 @@ pub mod express_route_circuit_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitConnection), @@ -15277,7 +15277,7 @@ pub mod express_route_circuit_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -15355,7 +15355,7 @@ pub mod express_route_circuit_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15379,7 +15379,7 @@ pub mod express_route_circuit_connections { } } pub mod peer_express_route_circuit_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15432,7 +15432,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15504,7 +15504,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15528,7 +15528,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod express_route_circuits { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15577,7 +15577,7 @@ pub mod express_route_circuits { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15658,7 +15658,7 @@ pub mod express_route_circuits { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuit), @@ -15738,7 +15738,7 @@ pub mod express_route_circuits { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15805,7 +15805,7 @@ pub mod express_route_circuits { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -15890,7 +15890,7 @@ pub mod express_route_circuits { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -15974,7 +15974,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -16060,7 +16060,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableSummaryListResult), @@ -16138,7 +16138,7 @@ pub mod express_route_circuits { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16213,7 +16213,7 @@ pub mod express_route_circuits { } } pub mod get_peering_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16281,7 +16281,7 @@ pub mod express_route_circuits { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16350,7 +16350,7 @@ pub mod express_route_circuits { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16374,7 +16374,7 @@ pub mod express_route_circuits { } } pub mod express_route_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -16419,7 +16419,7 @@ pub mod express_route_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16443,7 +16443,7 @@ pub mod express_route_service_providers { } } pub mod express_route_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -16491,7 +16491,7 @@ pub mod express_route_gateways { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16564,7 +16564,7 @@ pub mod express_route_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16634,7 +16634,7 @@ pub mod express_route_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16715,7 +16715,7 @@ pub mod express_route_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteGateway), @@ -16787,7 +16787,7 @@ pub mod express_route_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -16817,7 +16817,7 @@ pub mod express_route_gateways { } } pub mod express_route_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16868,7 +16868,7 @@ pub mod express_route_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16951,7 +16951,7 @@ pub mod express_route_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteConnection), @@ -17025,7 +17025,7 @@ pub mod express_route_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -17101,7 +17101,7 @@ pub mod express_route_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17125,7 +17125,7 @@ pub mod express_route_connections { } } pub mod express_route_cross_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -17170,7 +17170,7 @@ pub mod express_route_cross_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17243,7 +17243,7 @@ pub mod express_route_cross_connections { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17313,7 +17313,7 @@ pub mod express_route_cross_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17388,7 +17388,7 @@ pub mod express_route_cross_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17463,7 +17463,7 @@ pub mod express_route_cross_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17542,7 +17542,7 @@ pub mod express_route_cross_connections { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -17620,7 +17620,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionsRoutesTableSummaryListResult), @@ -17704,7 +17704,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -17733,7 +17733,7 @@ pub mod express_route_cross_connections { } } pub mod express_route_cross_connection_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17782,7 +17782,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17854,7 +17854,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17937,7 +17937,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionPeering), @@ -18011,7 +18011,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -18041,7 +18041,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod express_route_ports_locations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -18086,7 +18086,7 @@ pub mod express_route_ports_locations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18154,7 +18154,7 @@ pub mod express_route_ports_locations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18178,7 +18178,7 @@ pub mod express_route_ports_locations { } } pub mod express_route_ports { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -18227,7 +18227,7 @@ pub mod express_route_ports { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18308,7 +18308,7 @@ pub mod express_route_ports { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRoutePort), @@ -18388,7 +18388,7 @@ pub mod express_route_ports { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18455,7 +18455,7 @@ pub mod express_route_ports { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -18534,7 +18534,7 @@ pub mod express_route_ports { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18600,7 +18600,7 @@ pub mod express_route_ports { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18624,7 +18624,7 @@ pub mod express_route_ports { } } pub mod express_route_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -18675,7 +18675,7 @@ pub mod express_route_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18745,7 +18745,7 @@ pub mod express_route_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18769,7 +18769,7 @@ pub mod express_route_links { } } pub mod firewall_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18822,7 +18822,7 @@ pub mod firewall_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18903,7 +18903,7 @@ pub mod firewall_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FirewallPolicy), @@ -18975,7 +18975,7 @@ pub mod firewall_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -19049,7 +19049,7 @@ pub mod firewall_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19118,7 +19118,7 @@ pub mod firewall_policies { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19142,7 +19142,7 @@ pub mod firewall_policies { } } pub mod firewall_policy_rule_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19193,7 +19193,7 @@ pub mod firewall_policy_rule_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19276,7 +19276,7 @@ pub mod firewall_policy_rule_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FirewallPolicyRuleGroup), @@ -19350,7 +19350,7 @@ pub mod firewall_policy_rule_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -19426,7 +19426,7 @@ pub mod firewall_policy_rule_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19450,7 +19450,7 @@ pub mod firewall_policy_rule_groups { } } pub mod ip_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19503,7 +19503,7 @@ pub mod ip_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19584,7 +19584,7 @@ pub mod ip_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IpGroup), @@ -19664,7 +19664,7 @@ pub mod ip_groups { } } pub mod update_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19731,7 +19731,7 @@ pub mod ip_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -19810,7 +19810,7 @@ pub mod ip_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19876,7 +19876,7 @@ pub mod ip_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19900,7 +19900,7 @@ pub mod ip_groups { } } pub mod nat_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19953,7 +19953,7 @@ pub mod nat_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20040,7 +20040,7 @@ pub mod nat_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NatGateway), @@ -20121,7 +20121,7 @@ pub mod nat_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20188,7 +20188,7 @@ pub mod nat_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -20263,7 +20263,7 @@ pub mod nat_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20331,7 +20331,7 @@ pub mod nat_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20355,7 +20355,7 @@ pub mod nat_gateways { } } pub mod network_watchers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20404,7 +20404,7 @@ pub mod network_watchers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20485,7 +20485,7 @@ pub mod network_watchers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkWatcher), @@ -20565,7 +20565,7 @@ pub mod network_watchers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20631,7 +20631,7 @@ pub mod network_watchers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -20704,7 +20704,7 @@ pub mod network_watchers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20773,7 +20773,7 @@ pub mod network_watchers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20848,7 +20848,7 @@ pub mod network_watchers { } } pub mod get_topology { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20929,7 +20929,7 @@ pub mod network_watchers { } } pub mod verify_ip_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VerificationIpFlowResult), @@ -21015,7 +21015,7 @@ pub mod network_watchers { } } pub mod get_next_hop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NextHopResult), @@ -21103,7 +21103,7 @@ pub mod network_watchers { } } pub mod get_vm_security_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityGroupViewResult), @@ -21189,7 +21189,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -21277,7 +21277,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -21365,7 +21365,7 @@ pub mod network_watchers { } } pub mod set_flow_log_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -21451,7 +21451,7 @@ pub mod network_watchers { } } pub mod get_flow_log_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -21537,7 +21537,7 @@ pub mod network_watchers { } } pub mod check_connectivity { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectivityInformation), @@ -21625,7 +21625,7 @@ pub mod network_watchers { } } pub mod get_azure_reachability_report { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AzureReachabilityReport), @@ -21713,7 +21713,7 @@ pub mod network_watchers { } } pub mod list_available_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AvailableProvidersList), @@ -21801,7 +21801,7 @@ pub mod network_watchers { } } pub mod get_network_configuration_diagnostic { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkConfigurationDiagnosticResponse), @@ -21830,7 +21830,7 @@ pub mod network_watchers { } } pub mod packet_captures { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -21881,7 +21881,7 @@ pub mod packet_captures { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21955,7 +21955,7 @@ pub mod packet_captures { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22023,7 +22023,7 @@ pub mod packet_captures { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -22097,7 +22097,7 @@ pub mod packet_captures { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22184,7 +22184,7 @@ pub mod packet_captures { } } pub mod get_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PacketCaptureQueryStatusResult), @@ -22259,7 +22259,7 @@ pub mod packet_captures { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22283,7 +22283,7 @@ pub mod packet_captures { } } pub mod connection_monitors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -22334,7 +22334,7 @@ pub mod connection_monitors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22417,7 +22417,7 @@ pub mod connection_monitors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorResult), @@ -22499,7 +22499,7 @@ pub mod connection_monitors { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22567,7 +22567,7 @@ pub mod connection_monitors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -22641,7 +22641,7 @@ pub mod connection_monitors { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22715,7 +22715,7 @@ pub mod connection_monitors { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22799,7 +22799,7 @@ pub mod connection_monitors { } } pub mod query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorQueryResult), @@ -22874,7 +22874,7 @@ pub mod connection_monitors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22898,7 +22898,7 @@ pub mod connection_monitors { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Network/operations", operation_config.base_path(),); @@ -22936,7 +22936,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22960,7 +22960,7 @@ pub mod operations { } } pub mod public_ip_prefixes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -23013,7 +23013,7 @@ pub mod public_ip_prefixes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23094,7 +23094,7 @@ pub mod public_ip_prefixes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpPrefix), @@ -23174,7 +23174,7 @@ pub mod public_ip_prefixes { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23241,7 +23241,7 @@ pub mod public_ip_prefixes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -23316,7 +23316,7 @@ pub mod public_ip_prefixes { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23384,7 +23384,7 @@ pub mod public_ip_prefixes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23408,7 +23408,7 @@ pub mod public_ip_prefixes { } } pub mod route_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -23461,7 +23461,7 @@ pub mod route_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23542,7 +23542,7 @@ pub mod route_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilter), @@ -23622,7 +23622,7 @@ pub mod route_filters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23689,7 +23689,7 @@ pub mod route_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -23768,7 +23768,7 @@ pub mod route_filters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23834,7 +23834,7 @@ pub mod route_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23858,7 +23858,7 @@ pub mod route_filters { } } pub mod route_filter_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -23909,7 +23909,7 @@ pub mod route_filter_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23992,7 +23992,7 @@ pub mod route_filter_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilterRule), @@ -24066,7 +24066,7 @@ pub mod route_filter_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -24145,7 +24145,7 @@ pub mod route_filter_rules { } } pub mod list_by_route_filter { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24169,7 +24169,7 @@ pub mod route_filter_rules { } } pub mod bgp_service_communities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -24214,7 +24214,7 @@ pub mod bgp_service_communities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24238,7 +24238,7 @@ pub mod bgp_service_communities { } } pub mod service_tags { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -24285,7 +24285,7 @@ pub mod service_tags { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24309,7 +24309,7 @@ pub mod service_tags { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -24356,7 +24356,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24380,7 +24380,7 @@ pub mod usages { } } pub mod virtual_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -24429,7 +24429,7 @@ pub mod virtual_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24510,7 +24510,7 @@ pub mod virtual_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGateway), @@ -24591,7 +24591,7 @@ pub mod virtual_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -24663,7 +24663,7 @@ pub mod virtual_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -24737,7 +24737,7 @@ pub mod virtual_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24810,7 +24810,7 @@ pub mod virtual_network_gateways { } } pub mod list_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24886,7 +24886,7 @@ pub mod virtual_network_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -24963,7 +24963,7 @@ pub mod virtual_network_gateways { } } pub mod reset_vpn_client_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -25046,7 +25046,7 @@ pub mod virtual_network_gateways { } } pub mod generatevpnclientpackage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -25127,7 +25127,7 @@ pub mod virtual_network_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -25209,7 +25209,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpn_profile_package_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -25293,7 +25293,7 @@ pub mod virtual_network_gateways { } } pub mod get_bgp_peer_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BgpPeerStatusListResult), @@ -25374,7 +25374,7 @@ pub mod virtual_network_gateways { } } pub mod supported_vpn_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25449,7 +25449,7 @@ pub mod virtual_network_gateways { } } pub mod get_learned_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -25533,7 +25533,7 @@ pub mod virtual_network_gateways { } } pub mod get_advertised_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -25616,7 +25616,7 @@ pub mod virtual_network_gateways { } } pub mod set_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -25697,7 +25697,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25774,7 +25774,7 @@ pub mod virtual_network_gateways { } } pub mod vpn_device_configuration_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25854,7 +25854,7 @@ pub mod virtual_network_gateways { } } pub mod start_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -25935,7 +25935,7 @@ pub mod virtual_network_gateways { } } pub mod stop_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -26017,7 +26017,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpnclient_connection_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnClientConnectionHealthDetailListResult), @@ -26046,7 +26046,7 @@ pub mod virtual_network_gateways { } } pub mod virtual_network_gateway_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -26095,7 +26095,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26176,7 +26176,7 @@ pub mod virtual_network_gateway_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGatewayConnection), @@ -26257,7 +26257,7 @@ pub mod virtual_network_gateway_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -26329,7 +26329,7 @@ pub mod virtual_network_gateway_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -26408,7 +26408,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26489,7 +26489,7 @@ pub mod virtual_network_gateway_connections { } } pub mod set_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ConnectionSharedKey), @@ -26562,7 +26562,7 @@ pub mod virtual_network_gateway_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26638,7 +26638,7 @@ pub mod virtual_network_gateway_connections { } } pub mod reset_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionResetSharedKey), @@ -26723,7 +26723,7 @@ pub mod virtual_network_gateway_connections { } } pub mod start_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -26804,7 +26804,7 @@ pub mod virtual_network_gateway_connections { } } pub mod stop_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -26833,7 +26833,7 @@ pub mod virtual_network_gateway_connections { } } pub mod local_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -26882,7 +26882,7 @@ pub mod local_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26963,7 +26963,7 @@ pub mod local_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LocalNetworkGateway), @@ -27043,7 +27043,7 @@ pub mod local_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27110,7 +27110,7 @@ pub mod local_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -27184,7 +27184,7 @@ pub mod local_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27208,7 +27208,7 @@ pub mod local_network_gateways { } } pub mod virtual_routers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -27261,7 +27261,7 @@ pub mod virtual_routers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27342,7 +27342,7 @@ pub mod virtual_routers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(VirtualRouter), @@ -27414,7 +27414,7 @@ pub mod virtual_routers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -27493,7 +27493,7 @@ pub mod virtual_routers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27559,7 +27559,7 @@ pub mod virtual_routers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27583,7 +27583,7 @@ pub mod virtual_routers { } } pub mod virtual_router_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -27634,7 +27634,7 @@ pub mod virtual_router_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27717,7 +27717,7 @@ pub mod virtual_router_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(VirtualRouterPeering), @@ -27791,7 +27791,7 @@ pub mod virtual_router_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -27867,7 +27867,7 @@ pub mod virtual_router_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27891,7 +27891,7 @@ pub mod virtual_router_peerings { } } pub mod virtual_wans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -27940,7 +27940,7 @@ pub mod virtual_wans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28021,7 +28021,7 @@ pub mod virtual_wans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualWan), @@ -28101,7 +28101,7 @@ pub mod virtual_wans { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28168,7 +28168,7 @@ pub mod virtual_wans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -28247,7 +28247,7 @@ pub mod virtual_wans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28313,7 +28313,7 @@ pub mod virtual_wans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28337,7 +28337,7 @@ pub mod virtual_wans { } } pub mod vpn_sites { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -28386,7 +28386,7 @@ pub mod vpn_sites { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28467,7 +28467,7 @@ pub mod vpn_sites { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnSite), @@ -28547,7 +28547,7 @@ pub mod vpn_sites { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28614,7 +28614,7 @@ pub mod vpn_sites { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -28693,7 +28693,7 @@ pub mod vpn_sites { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28759,7 +28759,7 @@ pub mod vpn_sites { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28783,7 +28783,7 @@ pub mod vpn_sites { } } pub mod vpn_site_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -28834,7 +28834,7 @@ pub mod vpn_site_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28907,7 +28907,7 @@ pub mod vpn_site_links { } } pub mod list_by_vpn_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28931,7 +28931,7 @@ pub mod vpn_site_links { } } pub mod vpn_sites_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn download( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -28981,7 +28981,7 @@ pub mod vpn_sites_configuration { } } pub mod download { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -29010,7 +29010,7 @@ pub mod vpn_sites_configuration { } } pub mod vpn_server_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -29059,7 +29059,7 @@ pub mod vpn_server_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29140,7 +29140,7 @@ pub mod vpn_server_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnServerConfiguration), @@ -29220,7 +29220,7 @@ pub mod vpn_server_configurations { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29287,7 +29287,7 @@ pub mod vpn_server_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -29366,7 +29366,7 @@ pub mod vpn_server_configurations { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29432,7 +29432,7 @@ pub mod vpn_server_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29456,7 +29456,7 @@ pub mod vpn_server_configurations { } } pub mod virtual_hubs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -29505,7 +29505,7 @@ pub mod virtual_hubs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29586,7 +29586,7 @@ pub mod virtual_hubs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHub), @@ -29666,7 +29666,7 @@ pub mod virtual_hubs { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29733,7 +29733,7 @@ pub mod virtual_hubs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -29812,7 +29812,7 @@ pub mod virtual_hubs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29878,7 +29878,7 @@ pub mod virtual_hubs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29902,7 +29902,7 @@ pub mod virtual_hubs { } } pub mod hub_virtual_network_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -29953,7 +29953,7 @@ pub mod hub_virtual_network_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30023,7 +30023,7 @@ pub mod hub_virtual_network_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30047,7 +30047,7 @@ pub mod hub_virtual_network_connections { } } pub mod vpn_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -30096,7 +30096,7 @@ pub mod vpn_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30177,7 +30177,7 @@ pub mod vpn_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -30257,7 +30257,7 @@ pub mod vpn_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30324,7 +30324,7 @@ pub mod vpn_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -30402,7 +30402,7 @@ pub mod vpn_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -30480,7 +30480,7 @@ pub mod vpn_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30546,7 +30546,7 @@ pub mod vpn_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30570,7 +30570,7 @@ pub mod vpn_gateways { } } pub mod vpn_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -30621,7 +30621,7 @@ pub mod vpn_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30704,7 +30704,7 @@ pub mod vpn_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnConnection), @@ -30778,7 +30778,7 @@ pub mod vpn_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -30857,7 +30857,7 @@ pub mod vpn_connections { } } pub mod list_by_vpn_gateway { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30881,7 +30881,7 @@ pub mod vpn_connections { } } pub mod vpn_site_link_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -30934,7 +30934,7 @@ pub mod vpn_site_link_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30958,7 +30958,7 @@ pub mod vpn_site_link_connections { } } pub mod vpn_link_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_vpn_connection( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -31014,7 +31014,7 @@ pub mod vpn_link_connections { } } pub mod list_by_vpn_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31038,7 +31038,7 @@ pub mod vpn_link_connections { } } pub mod p2s_vpn_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -31087,7 +31087,7 @@ pub mod p2s_vpn_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31168,7 +31168,7 @@ pub mod p2s_vpn_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -31248,7 +31248,7 @@ pub mod p2s_vpn_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31315,7 +31315,7 @@ pub mod p2s_vpn_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -31394,7 +31394,7 @@ pub mod p2s_vpn_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31460,7 +31460,7 @@ pub mod p2s_vpn_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31536,7 +31536,7 @@ pub mod p2s_vpn_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnProfileResponse), @@ -31618,7 +31618,7 @@ pub mod p2s_vpn_gateways { } } pub mod get_p2s_vpn_connection_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -31701,7 +31701,7 @@ pub mod p2s_vpn_gateways { } } pub mod get_p2s_vpn_connection_health_detailed { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnConnectionHealth), @@ -31730,7 +31730,7 @@ pub mod p2s_vpn_gateways { } } pub mod vpn_server_configurations_associated_with_virtual_wan { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -31781,7 +31781,7 @@ pub mod vpn_server_configurations_associated_with_virtual_wan { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnServerConfigurationsResponse), @@ -31810,7 +31810,7 @@ pub mod vpn_server_configurations_associated_with_virtual_wan { } } pub mod virtual_hub_route_table_v2s { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -31861,7 +31861,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31944,7 +31944,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHubRouteTableV2), @@ -32018,7 +32018,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -32094,7 +32094,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32118,7 +32118,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod web_application_firewall_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -32165,7 +32165,7 @@ pub mod web_application_firewall_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32234,7 +32234,7 @@ pub mod web_application_firewall_policies { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32304,7 +32304,7 @@ pub mod web_application_firewall_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32385,7 +32385,7 @@ pub mod web_application_firewall_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WebApplicationFirewallPolicy), @@ -32457,7 +32457,7 @@ pub mod web_application_firewall_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, diff --git a/services/mgmt/network/src/package_2019_11/operations.rs b/services/mgmt/network/src/package_2019_11/operations.rs index 52eb9d7be7..cb37979ab9 100644 --- a/services/mgmt/network/src/package_2019_11/operations.rs +++ b/services/mgmt/network/src/package_2019_11/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod application_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod application_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod application_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationGateway), @@ -214,7 +214,7 @@ pub mod application_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -281,7 +281,7 @@ pub mod application_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -355,7 +355,7 @@ pub mod application_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -424,7 +424,7 @@ pub mod application_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -491,7 +491,7 @@ pub mod application_gateways { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -563,7 +563,7 @@ pub mod application_gateways { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -647,7 +647,7 @@ pub mod application_gateways { } } pub mod backend_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealth), @@ -734,7 +734,7 @@ pub mod application_gateways { } } pub mod backend_health_on_demand { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealthOnDemand), @@ -810,7 +810,7 @@ pub mod application_gateways { } } pub mod list_available_server_variables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -881,7 +881,7 @@ pub mod application_gateways { } } pub mod list_available_request_headers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -952,7 +952,7 @@ pub mod application_gateways { } } pub mod list_available_response_headers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1023,7 +1023,7 @@ pub mod application_gateways { } } pub mod list_available_waf_rule_sets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1094,7 +1094,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_options { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1165,7 +1165,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_predefined_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1238,7 +1238,7 @@ pub mod application_gateways { } } pub mod get_ssl_predefined_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1262,7 +1262,7 @@ pub mod application_gateways { } } pub mod network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1315,7 +1315,7 @@ pub mod network_interfaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1396,7 +1396,7 @@ pub mod network_interfaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkInterface), @@ -1476,7 +1476,7 @@ pub mod network_interfaces { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1543,7 +1543,7 @@ pub mod network_interfaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1618,7 +1618,7 @@ pub mod network_interfaces { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1686,7 +1686,7 @@ pub mod network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1763,7 +1763,7 @@ pub mod network_interfaces { } } pub mod get_effective_route_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveRouteListResult), @@ -1845,7 +1845,7 @@ pub mod network_interfaces { } } pub mod list_effective_network_security_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveNetworkSecurityGroupListResult), @@ -1922,7 +1922,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_vm_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1999,7 +1999,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2074,7 +2074,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_network_interface { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2151,7 +2151,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_ip_configurations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2227,7 +2227,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_ip_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2251,7 +2251,7 @@ pub mod network_interfaces { } } pub mod network_interface_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2300,7 +2300,7 @@ pub mod network_interface_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2372,7 +2372,7 @@ pub mod network_interface_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2396,7 +2396,7 @@ pub mod network_interface_ip_configurations { } } pub mod network_interface_load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2445,7 +2445,7 @@ pub mod network_interface_load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2469,7 +2469,7 @@ pub mod network_interface_load_balancers { } } pub mod network_interface_tap_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2520,7 +2520,7 @@ pub mod network_interface_tap_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2603,7 +2603,7 @@ pub mod network_interface_tap_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkInterfaceTapConfiguration), @@ -2677,7 +2677,7 @@ pub mod network_interface_tap_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2753,7 +2753,7 @@ pub mod network_interface_tap_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2777,7 +2777,7 @@ pub mod network_interface_tap_configurations { } } pub mod virtual_network_taps { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2826,7 +2826,7 @@ pub mod virtual_network_taps { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2907,7 +2907,7 @@ pub mod virtual_network_taps { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkTap), @@ -2987,7 +2987,7 @@ pub mod virtual_network_taps { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3054,7 +3054,7 @@ pub mod virtual_network_taps { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3129,7 +3129,7 @@ pub mod virtual_network_taps { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3202,7 +3202,7 @@ pub mod virtual_network_taps { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3226,7 +3226,7 @@ pub mod virtual_network_taps { } } pub mod load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3279,7 +3279,7 @@ pub mod load_balancers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3360,7 +3360,7 @@ pub mod load_balancers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoadBalancer), @@ -3440,7 +3440,7 @@ pub mod load_balancers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3507,7 +3507,7 @@ pub mod load_balancers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -3582,7 +3582,7 @@ pub mod load_balancers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3650,7 +3650,7 @@ pub mod load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3674,7 +3674,7 @@ pub mod load_balancers { } } pub mod load_balancer_backend_address_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3723,7 +3723,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3795,7 +3795,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3819,7 +3819,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod load_balancer_frontend_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3868,7 +3868,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3940,7 +3940,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3964,7 +3964,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod inbound_nat_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4013,7 +4013,7 @@ pub mod inbound_nat_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4089,7 +4089,7 @@ pub mod inbound_nat_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4172,7 +4172,7 @@ pub mod inbound_nat_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(InboundNatRule), @@ -4246,7 +4246,7 @@ pub mod inbound_nat_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4276,7 +4276,7 @@ pub mod inbound_nat_rules { } } pub mod load_balancer_load_balancing_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4325,7 +4325,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4397,7 +4397,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4421,7 +4421,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod load_balancer_outbound_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4470,7 +4470,7 @@ pub mod load_balancer_outbound_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4542,7 +4542,7 @@ pub mod load_balancer_outbound_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4566,7 +4566,7 @@ pub mod load_balancer_outbound_rules { } } pub mod load_balancer_network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4615,7 +4615,7 @@ pub mod load_balancer_network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4639,7 +4639,7 @@ pub mod load_balancer_network_interfaces { } } pub mod load_balancer_probes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4688,7 +4688,7 @@ pub mod load_balancer_probes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4760,7 +4760,7 @@ pub mod load_balancer_probes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4784,7 +4784,7 @@ pub mod load_balancer_probes { } } pub mod virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4837,7 +4837,7 @@ pub mod virtual_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4918,7 +4918,7 @@ pub mod virtual_networks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetwork), @@ -4998,7 +4998,7 @@ pub mod virtual_networks { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5065,7 +5065,7 @@ pub mod virtual_networks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5140,7 +5140,7 @@ pub mod virtual_networks { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5208,7 +5208,7 @@ pub mod virtual_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5285,7 +5285,7 @@ pub mod virtual_networks { } } pub mod check_ip_address_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5358,7 +5358,7 @@ pub mod virtual_networks { } } pub mod list_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5382,7 +5382,7 @@ pub mod virtual_networks { } } pub mod subnets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5437,7 +5437,7 @@ pub mod subnets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5520,7 +5520,7 @@ pub mod subnets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Subnet), @@ -5594,7 +5594,7 @@ pub mod subnets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5676,7 +5676,7 @@ pub mod subnets { } } pub mod prepare_network_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5757,7 +5757,7 @@ pub mod subnets { } } pub mod unprepare_network_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5832,7 +5832,7 @@ pub mod subnets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5856,7 +5856,7 @@ pub mod subnets { } } pub mod resource_navigation_links { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5907,7 +5907,7 @@ pub mod resource_navigation_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5931,7 +5931,7 @@ pub mod resource_navigation_links { } } pub mod service_association_links { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5982,7 +5982,7 @@ pub mod service_association_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6006,7 +6006,7 @@ pub mod service_association_links { } } pub mod virtual_network_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6057,7 +6057,7 @@ pub mod virtual_network_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6140,7 +6140,7 @@ pub mod virtual_network_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkPeering), @@ -6214,7 +6214,7 @@ pub mod virtual_network_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6290,7 +6290,7 @@ pub mod virtual_network_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6314,7 +6314,7 @@ pub mod virtual_network_peerings { } } pub mod network_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6367,7 +6367,7 @@ pub mod network_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6448,7 +6448,7 @@ pub mod network_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkSecurityGroup), @@ -6528,7 +6528,7 @@ pub mod network_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6595,7 +6595,7 @@ pub mod network_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6670,7 +6670,7 @@ pub mod network_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6738,7 +6738,7 @@ pub mod network_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6762,7 +6762,7 @@ pub mod network_security_groups { } } pub mod security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6813,7 +6813,7 @@ pub mod security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6896,7 +6896,7 @@ pub mod security_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityRule), @@ -6970,7 +6970,7 @@ pub mod security_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -7046,7 +7046,7 @@ pub mod security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7070,7 +7070,7 @@ pub mod security_rules { } } pub mod default_security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7119,7 +7119,7 @@ pub mod default_security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7191,7 +7191,7 @@ pub mod default_security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7215,7 +7215,7 @@ pub mod default_security_rules { } } pub mod application_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7264,7 +7264,7 @@ pub mod application_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7345,7 +7345,7 @@ pub mod application_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationSecurityGroup), @@ -7425,7 +7425,7 @@ pub mod application_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7492,7 +7492,7 @@ pub mod application_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -7567,7 +7567,7 @@ pub mod application_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7635,7 +7635,7 @@ pub mod application_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7659,7 +7659,7 @@ pub mod application_security_groups { } } pub mod route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7712,7 +7712,7 @@ pub mod route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7793,7 +7793,7 @@ pub mod route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteTable), @@ -7873,7 +7873,7 @@ pub mod route_tables { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7940,7 +7940,7 @@ pub mod route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -8014,7 +8014,7 @@ pub mod route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8083,7 +8083,7 @@ pub mod route_tables { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8107,7 +8107,7 @@ pub mod route_tables { } } pub mod routes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8158,7 +8158,7 @@ pub mod routes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8241,7 +8241,7 @@ pub mod routes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Route), @@ -8315,7 +8315,7 @@ pub mod routes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8391,7 +8391,7 @@ pub mod routes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8415,7 +8415,7 @@ pub mod routes { } } pub mod service_endpoint_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8468,7 +8468,7 @@ pub mod service_endpoint_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8549,7 +8549,7 @@ pub mod service_endpoint_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ServiceEndpointPolicy), @@ -8629,7 +8629,7 @@ pub mod service_endpoint_policies { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8696,7 +8696,7 @@ pub mod service_endpoint_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8768,7 +8768,7 @@ pub mod service_endpoint_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8841,7 +8841,7 @@ pub mod service_endpoint_policies { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8865,7 +8865,7 @@ pub mod service_endpoint_policies { } } pub mod service_endpoint_policy_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8909,7 +8909,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8985,7 +8985,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServiceEndpointPolicyDefinition), @@ -9052,7 +9052,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -9133,7 +9133,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9157,7 +9157,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod private_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9210,7 +9210,7 @@ pub mod private_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9291,7 +9291,7 @@ pub mod private_endpoints { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpoint), @@ -9363,7 +9363,7 @@ pub mod private_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9437,7 +9437,7 @@ pub mod private_endpoints { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9506,7 +9506,7 @@ pub mod private_endpoints { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9530,7 +9530,7 @@ pub mod private_endpoints { } } pub mod available_private_endpoint_types { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -9577,7 +9577,7 @@ pub mod available_private_endpoint_types { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9652,7 +9652,7 @@ pub mod available_private_endpoint_types { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9676,7 +9676,7 @@ pub mod available_private_endpoint_types { } } pub mod private_link_services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9729,7 +9729,7 @@ pub mod private_link_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9810,7 +9810,7 @@ pub mod private_link_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkService), @@ -9882,7 +9882,7 @@ pub mod private_link_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9956,7 +9956,7 @@ pub mod private_link_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10025,7 +10025,7 @@ pub mod private_link_services { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10106,7 +10106,7 @@ pub mod private_link_services { } } pub mod get_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10185,7 +10185,7 @@ pub mod private_link_services { } } pub mod update_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10259,7 +10259,7 @@ pub mod private_link_services { } } pub mod delete_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -10340,7 +10340,7 @@ pub mod private_link_services { } } pub mod list_private_endpoint_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10416,7 +10416,7 @@ pub mod private_link_services { } } pub mod check_private_link_service_visibility { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServiceVisibility), @@ -10505,7 +10505,7 @@ pub mod private_link_services { } } pub mod check_private_link_service_visibility_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServiceVisibility), @@ -10583,7 +10583,7 @@ pub mod private_link_services { } } pub mod list_auto_approved_private_link_services { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10660,7 +10660,7 @@ pub mod private_link_services { } } pub mod list_auto_approved_private_link_services_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10684,7 +10684,7 @@ pub mod private_link_services { } } pub mod network_profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10737,7 +10737,7 @@ pub mod network_profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10818,7 +10818,7 @@ pub mod network_profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkProfile), @@ -10898,7 +10898,7 @@ pub mod network_profiles { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10965,7 +10965,7 @@ pub mod network_profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -11040,7 +11040,7 @@ pub mod network_profiles { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11108,7 +11108,7 @@ pub mod network_profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11132,7 +11132,7 @@ pub mod network_profiles { } } pub mod public_ip_addresses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11185,7 +11185,7 @@ pub mod public_ip_addresses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11266,7 +11266,7 @@ pub mod public_ip_addresses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpAddress), @@ -11346,7 +11346,7 @@ pub mod public_ip_addresses { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11413,7 +11413,7 @@ pub mod public_ip_addresses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -11488,7 +11488,7 @@ pub mod public_ip_addresses { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11556,7 +11556,7 @@ pub mod public_ip_addresses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11633,7 +11633,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11707,7 +11707,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_vm_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11784,7 +11784,7 @@ pub mod public_ip_addresses { } } pub mod get_virtual_machine_scale_set_public_ip_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11808,7 +11808,7 @@ pub mod public_ip_addresses { } } pub mod available_delegations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -11855,7 +11855,7 @@ pub mod available_delegations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11879,7 +11879,7 @@ pub mod available_delegations { } } pub mod available_resource_group_delegations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -11928,7 +11928,7 @@ pub mod available_resource_group_delegations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11952,7 +11952,7 @@ pub mod available_resource_group_delegations { } } pub mod available_service_aliases { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -11999,7 +11999,7 @@ pub mod available_service_aliases { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12074,7 +12074,7 @@ pub mod available_service_aliases { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12098,7 +12098,7 @@ pub mod available_service_aliases { } } pub mod azure_firewalls { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12147,7 +12147,7 @@ pub mod azure_firewalls { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12228,7 +12228,7 @@ pub mod azure_firewalls { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(AzureFirewall), @@ -12308,7 +12308,7 @@ pub mod azure_firewalls { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12375,7 +12375,7 @@ pub mod azure_firewalls { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -12449,7 +12449,7 @@ pub mod azure_firewalls { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12518,7 +12518,7 @@ pub mod azure_firewalls { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12542,7 +12542,7 @@ pub mod azure_firewalls { } } pub mod azure_firewall_fqdn_tags { - use crate::models::*; + use super::{models, models::*}; pub async fn list_all( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12590,7 +12590,7 @@ pub mod azure_firewall_fqdn_tags { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12614,7 +12614,7 @@ pub mod azure_firewall_fqdn_tags { } } pub mod bastion_hosts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12663,7 +12663,7 @@ pub mod bastion_hosts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12744,7 +12744,7 @@ pub mod bastion_hosts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(BastionHost), @@ -12816,7 +12816,7 @@ pub mod bastion_hosts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -12888,7 +12888,7 @@ pub mod bastion_hosts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12961,7 +12961,7 @@ pub mod bastion_hosts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13040,7 +13040,7 @@ pub async fn put_bastion_shareable_link( } } pub mod put_bastion_shareable_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BastionShareableLinkListResult), @@ -13118,7 +13118,7 @@ pub async fn delete_bastion_shareable_link( } } pub mod delete_bastion_shareable_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13200,7 +13200,7 @@ pub async fn get_bastion_shareable_link( } } pub mod get_bastion_shareable_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13275,7 +13275,7 @@ pub async fn get_active_sessions( } } pub mod get_active_sessions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BastionActiveSessionListResult), @@ -13357,7 +13357,7 @@ pub async fn disconnect_active_sessions( } } pub mod disconnect_active_sessions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13432,7 +13432,7 @@ pub async fn check_dns_name_availability( } } pub mod check_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13507,7 +13507,7 @@ pub async fn supported_security_providers( } } pub mod supported_security_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13589,7 +13589,7 @@ pub async fn generatevirtualwanvpnserverconfigurationvpnprofile( } } pub mod generatevirtualwanvpnserverconfigurationvpnprofile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnProfileResponse), @@ -13617,7 +13617,7 @@ pub mod generatevirtualwanvpnserverconfigurationvpnprofile { } } pub mod ddos_custom_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13666,7 +13666,7 @@ pub mod ddos_custom_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13747,7 +13747,7 @@ pub mod ddos_custom_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DdosCustomPolicy), @@ -13827,7 +13827,7 @@ pub mod ddos_custom_policies { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13894,7 +13894,7 @@ pub mod ddos_custom_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -13924,7 +13924,7 @@ pub mod ddos_custom_policies { } } pub mod ddos_protection_plans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13973,7 +13973,7 @@ pub mod ddos_protection_plans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14054,7 +14054,7 @@ pub mod ddos_protection_plans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DdosProtectionPlan), @@ -14134,7 +14134,7 @@ pub mod ddos_protection_plans { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14201,7 +14201,7 @@ pub mod ddos_protection_plans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -14273,7 +14273,7 @@ pub mod ddos_protection_plans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14346,7 +14346,7 @@ pub mod ddos_protection_plans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14370,7 +14370,7 @@ pub mod ddos_protection_plans { } } pub mod available_endpoint_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -14417,7 +14417,7 @@ pub mod available_endpoint_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14441,7 +14441,7 @@ pub mod available_endpoint_services { } } pub mod express_route_circuit_authorizations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14492,7 +14492,7 @@ pub mod express_route_circuit_authorizations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14575,7 +14575,7 @@ pub mod express_route_circuit_authorizations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuitAuthorization), @@ -14649,7 +14649,7 @@ pub mod express_route_circuit_authorizations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -14725,7 +14725,7 @@ pub mod express_route_circuit_authorizations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14749,7 +14749,7 @@ pub mod express_route_circuit_authorizations { } } pub mod express_route_circuit_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14800,7 +14800,7 @@ pub mod express_route_circuit_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14883,7 +14883,7 @@ pub mod express_route_circuit_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitPeering), @@ -14957,7 +14957,7 @@ pub mod express_route_circuit_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -15033,7 +15033,7 @@ pub mod express_route_circuit_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15057,7 +15057,7 @@ pub mod express_route_circuit_peerings { } } pub mod express_route_circuit_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15110,7 +15110,7 @@ pub mod express_route_circuit_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15195,7 +15195,7 @@ pub mod express_route_circuit_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitConnection), @@ -15271,7 +15271,7 @@ pub mod express_route_circuit_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -15349,7 +15349,7 @@ pub mod express_route_circuit_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15373,7 +15373,7 @@ pub mod express_route_circuit_connections { } } pub mod peer_express_route_circuit_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15426,7 +15426,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15498,7 +15498,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15522,7 +15522,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod express_route_circuits { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15571,7 +15571,7 @@ pub mod express_route_circuits { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15652,7 +15652,7 @@ pub mod express_route_circuits { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuit), @@ -15732,7 +15732,7 @@ pub mod express_route_circuits { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15799,7 +15799,7 @@ pub mod express_route_circuits { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -15884,7 +15884,7 @@ pub mod express_route_circuits { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -15968,7 +15968,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -16054,7 +16054,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableSummaryListResult), @@ -16132,7 +16132,7 @@ pub mod express_route_circuits { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16207,7 +16207,7 @@ pub mod express_route_circuits { } } pub mod get_peering_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16275,7 +16275,7 @@ pub mod express_route_circuits { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16344,7 +16344,7 @@ pub mod express_route_circuits { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16368,7 +16368,7 @@ pub mod express_route_circuits { } } pub mod express_route_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -16413,7 +16413,7 @@ pub mod express_route_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16437,7 +16437,7 @@ pub mod express_route_service_providers { } } pub mod express_route_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -16485,7 +16485,7 @@ pub mod express_route_gateways { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16558,7 +16558,7 @@ pub mod express_route_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16628,7 +16628,7 @@ pub mod express_route_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16709,7 +16709,7 @@ pub mod express_route_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteGateway), @@ -16781,7 +16781,7 @@ pub mod express_route_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -16811,7 +16811,7 @@ pub mod express_route_gateways { } } pub mod express_route_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16862,7 +16862,7 @@ pub mod express_route_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16945,7 +16945,7 @@ pub mod express_route_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteConnection), @@ -17019,7 +17019,7 @@ pub mod express_route_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -17095,7 +17095,7 @@ pub mod express_route_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17119,7 +17119,7 @@ pub mod express_route_connections { } } pub mod express_route_cross_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -17164,7 +17164,7 @@ pub mod express_route_cross_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17237,7 +17237,7 @@ pub mod express_route_cross_connections { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17307,7 +17307,7 @@ pub mod express_route_cross_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17382,7 +17382,7 @@ pub mod express_route_cross_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17457,7 +17457,7 @@ pub mod express_route_cross_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17536,7 +17536,7 @@ pub mod express_route_cross_connections { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -17614,7 +17614,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionsRoutesTableSummaryListResult), @@ -17698,7 +17698,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -17727,7 +17727,7 @@ pub mod express_route_cross_connections { } } pub mod express_route_cross_connection_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17776,7 +17776,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17848,7 +17848,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17931,7 +17931,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionPeering), @@ -18005,7 +18005,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -18035,7 +18035,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod express_route_ports_locations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -18080,7 +18080,7 @@ pub mod express_route_ports_locations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18148,7 +18148,7 @@ pub mod express_route_ports_locations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18172,7 +18172,7 @@ pub mod express_route_ports_locations { } } pub mod express_route_ports { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -18221,7 +18221,7 @@ pub mod express_route_ports { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18302,7 +18302,7 @@ pub mod express_route_ports { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRoutePort), @@ -18382,7 +18382,7 @@ pub mod express_route_ports { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18449,7 +18449,7 @@ pub mod express_route_ports { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -18528,7 +18528,7 @@ pub mod express_route_ports { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18594,7 +18594,7 @@ pub mod express_route_ports { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18618,7 +18618,7 @@ pub mod express_route_ports { } } pub mod express_route_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -18669,7 +18669,7 @@ pub mod express_route_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18739,7 +18739,7 @@ pub mod express_route_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18763,7 +18763,7 @@ pub mod express_route_links { } } pub mod firewall_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18816,7 +18816,7 @@ pub mod firewall_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18897,7 +18897,7 @@ pub mod firewall_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FirewallPolicy), @@ -18969,7 +18969,7 @@ pub mod firewall_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -19043,7 +19043,7 @@ pub mod firewall_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19112,7 +19112,7 @@ pub mod firewall_policies { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19136,7 +19136,7 @@ pub mod firewall_policies { } } pub mod firewall_policy_rule_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19187,7 +19187,7 @@ pub mod firewall_policy_rule_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19270,7 +19270,7 @@ pub mod firewall_policy_rule_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FirewallPolicyRuleGroup), @@ -19344,7 +19344,7 @@ pub mod firewall_policy_rule_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -19420,7 +19420,7 @@ pub mod firewall_policy_rule_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19444,7 +19444,7 @@ pub mod firewall_policy_rule_groups { } } pub mod ip_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19497,7 +19497,7 @@ pub mod ip_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19578,7 +19578,7 @@ pub mod ip_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IpGroup), @@ -19658,7 +19658,7 @@ pub mod ip_groups { } } pub mod update_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19725,7 +19725,7 @@ pub mod ip_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -19804,7 +19804,7 @@ pub mod ip_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19870,7 +19870,7 @@ pub mod ip_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19894,7 +19894,7 @@ pub mod ip_groups { } } pub mod nat_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19947,7 +19947,7 @@ pub mod nat_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20034,7 +20034,7 @@ pub mod nat_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NatGateway), @@ -20115,7 +20115,7 @@ pub mod nat_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20182,7 +20182,7 @@ pub mod nat_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -20257,7 +20257,7 @@ pub mod nat_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20325,7 +20325,7 @@ pub mod nat_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20349,7 +20349,7 @@ pub mod nat_gateways { } } pub mod network_watchers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20398,7 +20398,7 @@ pub mod network_watchers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20479,7 +20479,7 @@ pub mod network_watchers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkWatcher), @@ -20559,7 +20559,7 @@ pub mod network_watchers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20625,7 +20625,7 @@ pub mod network_watchers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -20698,7 +20698,7 @@ pub mod network_watchers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20767,7 +20767,7 @@ pub mod network_watchers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20842,7 +20842,7 @@ pub mod network_watchers { } } pub mod get_topology { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20923,7 +20923,7 @@ pub mod network_watchers { } } pub mod verify_ip_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VerificationIpFlowResult), @@ -21009,7 +21009,7 @@ pub mod network_watchers { } } pub mod get_next_hop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NextHopResult), @@ -21097,7 +21097,7 @@ pub mod network_watchers { } } pub mod get_vm_security_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityGroupViewResult), @@ -21183,7 +21183,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -21271,7 +21271,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -21359,7 +21359,7 @@ pub mod network_watchers { } } pub mod set_flow_log_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -21445,7 +21445,7 @@ pub mod network_watchers { } } pub mod get_flow_log_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -21531,7 +21531,7 @@ pub mod network_watchers { } } pub mod check_connectivity { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectivityInformation), @@ -21619,7 +21619,7 @@ pub mod network_watchers { } } pub mod get_azure_reachability_report { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AzureReachabilityReport), @@ -21707,7 +21707,7 @@ pub mod network_watchers { } } pub mod list_available_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AvailableProvidersList), @@ -21795,7 +21795,7 @@ pub mod network_watchers { } } pub mod get_network_configuration_diagnostic { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkConfigurationDiagnosticResponse), @@ -21824,7 +21824,7 @@ pub mod network_watchers { } } pub mod packet_captures { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -21875,7 +21875,7 @@ pub mod packet_captures { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21949,7 +21949,7 @@ pub mod packet_captures { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22017,7 +22017,7 @@ pub mod packet_captures { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -22091,7 +22091,7 @@ pub mod packet_captures { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22178,7 +22178,7 @@ pub mod packet_captures { } } pub mod get_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PacketCaptureQueryStatusResult), @@ -22253,7 +22253,7 @@ pub mod packet_captures { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22277,7 +22277,7 @@ pub mod packet_captures { } } pub mod connection_monitors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -22328,7 +22328,7 @@ pub mod connection_monitors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22411,7 +22411,7 @@ pub mod connection_monitors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorResult), @@ -22493,7 +22493,7 @@ pub mod connection_monitors { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22561,7 +22561,7 @@ pub mod connection_monitors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -22635,7 +22635,7 @@ pub mod connection_monitors { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22709,7 +22709,7 @@ pub mod connection_monitors { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22793,7 +22793,7 @@ pub mod connection_monitors { } } pub mod query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorQueryResult), @@ -22868,7 +22868,7 @@ pub mod connection_monitors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22892,7 +22892,7 @@ pub mod connection_monitors { } } pub mod flow_logs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -22943,7 +22943,7 @@ pub mod flow_logs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23026,7 +23026,7 @@ pub mod flow_logs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FlowLog), @@ -23099,7 +23099,7 @@ pub mod flow_logs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -23174,7 +23174,7 @@ pub mod flow_logs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23198,7 +23198,7 @@ pub mod flow_logs { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Network/operations", operation_config.base_path(),); @@ -23236,7 +23236,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23260,7 +23260,7 @@ pub mod operations { } } pub mod public_ip_prefixes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -23313,7 +23313,7 @@ pub mod public_ip_prefixes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23394,7 +23394,7 @@ pub mod public_ip_prefixes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpPrefix), @@ -23474,7 +23474,7 @@ pub mod public_ip_prefixes { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23541,7 +23541,7 @@ pub mod public_ip_prefixes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -23616,7 +23616,7 @@ pub mod public_ip_prefixes { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23684,7 +23684,7 @@ pub mod public_ip_prefixes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23708,7 +23708,7 @@ pub mod public_ip_prefixes { } } pub mod route_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -23761,7 +23761,7 @@ pub mod route_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23842,7 +23842,7 @@ pub mod route_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilter), @@ -23922,7 +23922,7 @@ pub mod route_filters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23989,7 +23989,7 @@ pub mod route_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -24068,7 +24068,7 @@ pub mod route_filters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24134,7 +24134,7 @@ pub mod route_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24158,7 +24158,7 @@ pub mod route_filters { } } pub mod route_filter_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -24209,7 +24209,7 @@ pub mod route_filter_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24292,7 +24292,7 @@ pub mod route_filter_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilterRule), @@ -24366,7 +24366,7 @@ pub mod route_filter_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -24445,7 +24445,7 @@ pub mod route_filter_rules { } } pub mod list_by_route_filter { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24469,7 +24469,7 @@ pub mod route_filter_rules { } } pub mod bgp_service_communities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -24514,7 +24514,7 @@ pub mod bgp_service_communities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24538,7 +24538,7 @@ pub mod bgp_service_communities { } } pub mod service_tags { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -24585,7 +24585,7 @@ pub mod service_tags { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24609,7 +24609,7 @@ pub mod service_tags { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -24656,7 +24656,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24680,7 +24680,7 @@ pub mod usages { } } pub mod virtual_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -24729,7 +24729,7 @@ pub mod virtual_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24810,7 +24810,7 @@ pub mod virtual_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGateway), @@ -24891,7 +24891,7 @@ pub mod virtual_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -24963,7 +24963,7 @@ pub mod virtual_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -25037,7 +25037,7 @@ pub mod virtual_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25110,7 +25110,7 @@ pub mod virtual_network_gateways { } } pub mod list_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25186,7 +25186,7 @@ pub mod virtual_network_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -25263,7 +25263,7 @@ pub mod virtual_network_gateways { } } pub mod reset_vpn_client_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -25346,7 +25346,7 @@ pub mod virtual_network_gateways { } } pub mod generatevpnclientpackage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -25427,7 +25427,7 @@ pub mod virtual_network_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -25509,7 +25509,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpn_profile_package_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -25593,7 +25593,7 @@ pub mod virtual_network_gateways { } } pub mod get_bgp_peer_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BgpPeerStatusListResult), @@ -25674,7 +25674,7 @@ pub mod virtual_network_gateways { } } pub mod supported_vpn_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25749,7 +25749,7 @@ pub mod virtual_network_gateways { } } pub mod get_learned_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -25833,7 +25833,7 @@ pub mod virtual_network_gateways { } } pub mod get_advertised_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -25916,7 +25916,7 @@ pub mod virtual_network_gateways { } } pub mod set_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -25997,7 +25997,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26074,7 +26074,7 @@ pub mod virtual_network_gateways { } } pub mod vpn_device_configuration_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26154,7 +26154,7 @@ pub mod virtual_network_gateways { } } pub mod start_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -26235,7 +26235,7 @@ pub mod virtual_network_gateways { } } pub mod stop_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -26317,7 +26317,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpnclient_connection_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnClientConnectionHealthDetailListResult), @@ -26393,7 +26393,7 @@ pub mod virtual_network_gateways { } } pub mod disconnect_virtual_network_gateway_vpn_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -26422,7 +26422,7 @@ pub mod virtual_network_gateways { } } pub mod virtual_network_gateway_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -26471,7 +26471,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26552,7 +26552,7 @@ pub mod virtual_network_gateway_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGatewayConnection), @@ -26633,7 +26633,7 @@ pub mod virtual_network_gateway_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -26705,7 +26705,7 @@ pub mod virtual_network_gateway_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -26784,7 +26784,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26865,7 +26865,7 @@ pub mod virtual_network_gateway_connections { } } pub mod set_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ConnectionSharedKey), @@ -26938,7 +26938,7 @@ pub mod virtual_network_gateway_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27014,7 +27014,7 @@ pub mod virtual_network_gateway_connections { } } pub mod reset_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionResetSharedKey), @@ -27099,7 +27099,7 @@ pub mod virtual_network_gateway_connections { } } pub mod start_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -27180,7 +27180,7 @@ pub mod virtual_network_gateway_connections { } } pub mod stop_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -27209,7 +27209,7 @@ pub mod virtual_network_gateway_connections { } } pub mod local_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -27258,7 +27258,7 @@ pub mod local_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27339,7 +27339,7 @@ pub mod local_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LocalNetworkGateway), @@ -27419,7 +27419,7 @@ pub mod local_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27486,7 +27486,7 @@ pub mod local_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -27560,7 +27560,7 @@ pub mod local_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27584,7 +27584,7 @@ pub mod local_network_gateways { } } pub mod virtual_wans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -27633,7 +27633,7 @@ pub mod virtual_wans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27714,7 +27714,7 @@ pub mod virtual_wans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualWan), @@ -27794,7 +27794,7 @@ pub mod virtual_wans { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27861,7 +27861,7 @@ pub mod virtual_wans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -27940,7 +27940,7 @@ pub mod virtual_wans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28006,7 +28006,7 @@ pub mod virtual_wans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28030,7 +28030,7 @@ pub mod virtual_wans { } } pub mod vpn_sites { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -28079,7 +28079,7 @@ pub mod vpn_sites { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28160,7 +28160,7 @@ pub mod vpn_sites { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnSite), @@ -28240,7 +28240,7 @@ pub mod vpn_sites { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28307,7 +28307,7 @@ pub mod vpn_sites { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -28386,7 +28386,7 @@ pub mod vpn_sites { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28452,7 +28452,7 @@ pub mod vpn_sites { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28476,7 +28476,7 @@ pub mod vpn_sites { } } pub mod vpn_site_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -28527,7 +28527,7 @@ pub mod vpn_site_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28600,7 +28600,7 @@ pub mod vpn_site_links { } } pub mod list_by_vpn_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28624,7 +28624,7 @@ pub mod vpn_site_links { } } pub mod vpn_sites_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn download( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -28674,7 +28674,7 @@ pub mod vpn_sites_configuration { } } pub mod download { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -28703,7 +28703,7 @@ pub mod vpn_sites_configuration { } } pub mod vpn_server_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -28752,7 +28752,7 @@ pub mod vpn_server_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28833,7 +28833,7 @@ pub mod vpn_server_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnServerConfiguration), @@ -28913,7 +28913,7 @@ pub mod vpn_server_configurations { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28980,7 +28980,7 @@ pub mod vpn_server_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -29059,7 +29059,7 @@ pub mod vpn_server_configurations { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29125,7 +29125,7 @@ pub mod vpn_server_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29149,7 +29149,7 @@ pub mod vpn_server_configurations { } } pub mod virtual_hubs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -29198,7 +29198,7 @@ pub mod virtual_hubs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29279,7 +29279,7 @@ pub mod virtual_hubs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHub), @@ -29359,7 +29359,7 @@ pub mod virtual_hubs { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29426,7 +29426,7 @@ pub mod virtual_hubs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -29505,7 +29505,7 @@ pub mod virtual_hubs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29571,7 +29571,7 @@ pub mod virtual_hubs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29595,7 +29595,7 @@ pub mod virtual_hubs { } } pub mod hub_virtual_network_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -29646,7 +29646,7 @@ pub mod hub_virtual_network_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29716,7 +29716,7 @@ pub mod hub_virtual_network_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29740,7 +29740,7 @@ pub mod hub_virtual_network_connections { } } pub mod vpn_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -29789,7 +29789,7 @@ pub mod vpn_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29870,7 +29870,7 @@ pub mod vpn_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -29950,7 +29950,7 @@ pub mod vpn_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30017,7 +30017,7 @@ pub mod vpn_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -30095,7 +30095,7 @@ pub mod vpn_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -30173,7 +30173,7 @@ pub mod vpn_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30239,7 +30239,7 @@ pub mod vpn_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30263,7 +30263,7 @@ pub mod vpn_gateways { } } pub mod vpn_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -30314,7 +30314,7 @@ pub mod vpn_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30397,7 +30397,7 @@ pub mod vpn_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnConnection), @@ -30471,7 +30471,7 @@ pub mod vpn_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -30550,7 +30550,7 @@ pub mod vpn_connections { } } pub mod list_by_vpn_gateway { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30574,7 +30574,7 @@ pub mod vpn_connections { } } pub mod vpn_site_link_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -30627,7 +30627,7 @@ pub mod vpn_site_link_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30651,7 +30651,7 @@ pub mod vpn_site_link_connections { } } pub mod vpn_link_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_vpn_connection( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -30707,7 +30707,7 @@ pub mod vpn_link_connections { } } pub mod list_by_vpn_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30731,7 +30731,7 @@ pub mod vpn_link_connections { } } pub mod p2s_vpn_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -30780,7 +30780,7 @@ pub mod p2s_vpn_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30861,7 +30861,7 @@ pub mod p2s_vpn_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -30941,7 +30941,7 @@ pub mod p2s_vpn_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31008,7 +31008,7 @@ pub mod p2s_vpn_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -31087,7 +31087,7 @@ pub mod p2s_vpn_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31153,7 +31153,7 @@ pub mod p2s_vpn_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31229,7 +31229,7 @@ pub mod p2s_vpn_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnProfileResponse), @@ -31311,7 +31311,7 @@ pub mod p2s_vpn_gateways { } } pub mod get_p2s_vpn_connection_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -31394,7 +31394,7 @@ pub mod p2s_vpn_gateways { } } pub mod get_p2s_vpn_connection_health_detailed { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnConnectionHealth), @@ -31472,7 +31472,7 @@ pub mod p2s_vpn_gateways { } } pub mod disconnect_p2s_vpn_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -31501,7 +31501,7 @@ pub mod p2s_vpn_gateways { } } pub mod vpn_server_configurations_associated_with_virtual_wan { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -31552,7 +31552,7 @@ pub mod vpn_server_configurations_associated_with_virtual_wan { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnServerConfigurationsResponse), @@ -31581,7 +31581,7 @@ pub mod vpn_server_configurations_associated_with_virtual_wan { } } pub mod virtual_hub_route_table_v2s { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -31632,7 +31632,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31715,7 +31715,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHubRouteTableV2), @@ -31789,7 +31789,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -31865,7 +31865,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31889,7 +31889,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod virtual_routers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -31942,7 +31942,7 @@ pub mod virtual_routers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32023,7 +32023,7 @@ pub mod virtual_routers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(VirtualRouter), @@ -32095,7 +32095,7 @@ pub mod virtual_routers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -32174,7 +32174,7 @@ pub mod virtual_routers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32240,7 +32240,7 @@ pub mod virtual_routers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32264,7 +32264,7 @@ pub mod virtual_routers { } } pub mod virtual_router_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -32315,7 +32315,7 @@ pub mod virtual_router_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32398,7 +32398,7 @@ pub mod virtual_router_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(VirtualRouterPeering), @@ -32472,7 +32472,7 @@ pub mod virtual_router_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -32548,7 +32548,7 @@ pub mod virtual_router_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32572,7 +32572,7 @@ pub mod virtual_router_peerings { } } pub mod web_application_firewall_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -32619,7 +32619,7 @@ pub mod web_application_firewall_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32688,7 +32688,7 @@ pub mod web_application_firewall_policies { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32758,7 +32758,7 @@ pub mod web_application_firewall_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32839,7 +32839,7 @@ pub mod web_application_firewall_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WebApplicationFirewallPolicy), @@ -32911,7 +32911,7 @@ pub mod web_application_firewall_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, diff --git a/services/mgmt/network/src/package_2019_12/operations.rs b/services/mgmt/network/src/package_2019_12/operations.rs index d53231dc58..690a615f34 100644 --- a/services/mgmt/network/src/package_2019_12/operations.rs +++ b/services/mgmt/network/src/package_2019_12/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod application_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod application_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod application_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationGateway), @@ -214,7 +214,7 @@ pub mod application_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -281,7 +281,7 @@ pub mod application_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -355,7 +355,7 @@ pub mod application_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -424,7 +424,7 @@ pub mod application_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -491,7 +491,7 @@ pub mod application_gateways { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -563,7 +563,7 @@ pub mod application_gateways { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -647,7 +647,7 @@ pub mod application_gateways { } } pub mod backend_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealth), @@ -734,7 +734,7 @@ pub mod application_gateways { } } pub mod backend_health_on_demand { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealthOnDemand), @@ -810,7 +810,7 @@ pub mod application_gateways { } } pub mod list_available_server_variables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -881,7 +881,7 @@ pub mod application_gateways { } } pub mod list_available_request_headers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -952,7 +952,7 @@ pub mod application_gateways { } } pub mod list_available_response_headers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1023,7 +1023,7 @@ pub mod application_gateways { } } pub mod list_available_waf_rule_sets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1094,7 +1094,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_options { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1165,7 +1165,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_predefined_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1238,7 +1238,7 @@ pub mod application_gateways { } } pub mod get_ssl_predefined_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1262,7 +1262,7 @@ pub mod application_gateways { } } pub mod network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1315,7 +1315,7 @@ pub mod network_interfaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1396,7 +1396,7 @@ pub mod network_interfaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkInterface), @@ -1476,7 +1476,7 @@ pub mod network_interfaces { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1543,7 +1543,7 @@ pub mod network_interfaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1618,7 +1618,7 @@ pub mod network_interfaces { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1686,7 +1686,7 @@ pub mod network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1763,7 +1763,7 @@ pub mod network_interfaces { } } pub mod get_effective_route_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveRouteListResult), @@ -1845,7 +1845,7 @@ pub mod network_interfaces { } } pub mod list_effective_network_security_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveNetworkSecurityGroupListResult), @@ -1922,7 +1922,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_vm_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1999,7 +1999,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2074,7 +2074,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_network_interface { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2151,7 +2151,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_ip_configurations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2227,7 +2227,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_ip_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2251,7 +2251,7 @@ pub mod network_interfaces { } } pub mod network_interface_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2300,7 +2300,7 @@ pub mod network_interface_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2372,7 +2372,7 @@ pub mod network_interface_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2396,7 +2396,7 @@ pub mod network_interface_ip_configurations { } } pub mod network_interface_load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2445,7 +2445,7 @@ pub mod network_interface_load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2469,7 +2469,7 @@ pub mod network_interface_load_balancers { } } pub mod network_interface_tap_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2520,7 +2520,7 @@ pub mod network_interface_tap_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2603,7 +2603,7 @@ pub mod network_interface_tap_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkInterfaceTapConfiguration), @@ -2677,7 +2677,7 @@ pub mod network_interface_tap_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2753,7 +2753,7 @@ pub mod network_interface_tap_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2777,7 +2777,7 @@ pub mod network_interface_tap_configurations { } } pub mod virtual_network_taps { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2826,7 +2826,7 @@ pub mod virtual_network_taps { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2907,7 +2907,7 @@ pub mod virtual_network_taps { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkTap), @@ -2987,7 +2987,7 @@ pub mod virtual_network_taps { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3054,7 +3054,7 @@ pub mod virtual_network_taps { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3129,7 +3129,7 @@ pub mod virtual_network_taps { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3202,7 +3202,7 @@ pub mod virtual_network_taps { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3226,7 +3226,7 @@ pub mod virtual_network_taps { } } pub mod load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3279,7 +3279,7 @@ pub mod load_balancers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3360,7 +3360,7 @@ pub mod load_balancers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoadBalancer), @@ -3440,7 +3440,7 @@ pub mod load_balancers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3507,7 +3507,7 @@ pub mod load_balancers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -3582,7 +3582,7 @@ pub mod load_balancers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3650,7 +3650,7 @@ pub mod load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3674,7 +3674,7 @@ pub mod load_balancers { } } pub mod load_balancer_backend_address_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3723,7 +3723,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3795,7 +3795,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3819,7 +3819,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod load_balancer_frontend_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3868,7 +3868,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3940,7 +3940,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3964,7 +3964,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod inbound_nat_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4013,7 +4013,7 @@ pub mod inbound_nat_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4089,7 +4089,7 @@ pub mod inbound_nat_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4172,7 +4172,7 @@ pub mod inbound_nat_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(InboundNatRule), @@ -4246,7 +4246,7 @@ pub mod inbound_nat_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4276,7 +4276,7 @@ pub mod inbound_nat_rules { } } pub mod load_balancer_load_balancing_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4325,7 +4325,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4397,7 +4397,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4421,7 +4421,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod load_balancer_outbound_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4470,7 +4470,7 @@ pub mod load_balancer_outbound_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4542,7 +4542,7 @@ pub mod load_balancer_outbound_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4566,7 +4566,7 @@ pub mod load_balancer_outbound_rules { } } pub mod load_balancer_network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4615,7 +4615,7 @@ pub mod load_balancer_network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4639,7 +4639,7 @@ pub mod load_balancer_network_interfaces { } } pub mod load_balancer_probes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4688,7 +4688,7 @@ pub mod load_balancer_probes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4760,7 +4760,7 @@ pub mod load_balancer_probes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4784,7 +4784,7 @@ pub mod load_balancer_probes { } } pub mod virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4837,7 +4837,7 @@ pub mod virtual_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4918,7 +4918,7 @@ pub mod virtual_networks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetwork), @@ -4998,7 +4998,7 @@ pub mod virtual_networks { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5065,7 +5065,7 @@ pub mod virtual_networks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5140,7 +5140,7 @@ pub mod virtual_networks { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5208,7 +5208,7 @@ pub mod virtual_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5285,7 +5285,7 @@ pub mod virtual_networks { } } pub mod check_ip_address_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5358,7 +5358,7 @@ pub mod virtual_networks { } } pub mod list_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5382,7 +5382,7 @@ pub mod virtual_networks { } } pub mod subnets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5437,7 +5437,7 @@ pub mod subnets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5520,7 +5520,7 @@ pub mod subnets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Subnet), @@ -5594,7 +5594,7 @@ pub mod subnets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5676,7 +5676,7 @@ pub mod subnets { } } pub mod prepare_network_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5757,7 +5757,7 @@ pub mod subnets { } } pub mod unprepare_network_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5832,7 +5832,7 @@ pub mod subnets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5856,7 +5856,7 @@ pub mod subnets { } } pub mod resource_navigation_links { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5907,7 +5907,7 @@ pub mod resource_navigation_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5931,7 +5931,7 @@ pub mod resource_navigation_links { } } pub mod service_association_links { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5982,7 +5982,7 @@ pub mod service_association_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6006,7 +6006,7 @@ pub mod service_association_links { } } pub mod virtual_network_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6057,7 +6057,7 @@ pub mod virtual_network_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6140,7 +6140,7 @@ pub mod virtual_network_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkPeering), @@ -6214,7 +6214,7 @@ pub mod virtual_network_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6290,7 +6290,7 @@ pub mod virtual_network_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6314,7 +6314,7 @@ pub mod virtual_network_peerings { } } pub mod network_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6367,7 +6367,7 @@ pub mod network_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6448,7 +6448,7 @@ pub mod network_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkSecurityGroup), @@ -6528,7 +6528,7 @@ pub mod network_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6595,7 +6595,7 @@ pub mod network_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6670,7 +6670,7 @@ pub mod network_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6738,7 +6738,7 @@ pub mod network_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6762,7 +6762,7 @@ pub mod network_security_groups { } } pub mod security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6813,7 +6813,7 @@ pub mod security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6896,7 +6896,7 @@ pub mod security_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityRule), @@ -6970,7 +6970,7 @@ pub mod security_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -7046,7 +7046,7 @@ pub mod security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7070,7 +7070,7 @@ pub mod security_rules { } } pub mod default_security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7119,7 +7119,7 @@ pub mod default_security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7191,7 +7191,7 @@ pub mod default_security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7215,7 +7215,7 @@ pub mod default_security_rules { } } pub mod application_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7264,7 +7264,7 @@ pub mod application_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7345,7 +7345,7 @@ pub mod application_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationSecurityGroup), @@ -7425,7 +7425,7 @@ pub mod application_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7492,7 +7492,7 @@ pub mod application_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -7567,7 +7567,7 @@ pub mod application_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7635,7 +7635,7 @@ pub mod application_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7659,7 +7659,7 @@ pub mod application_security_groups { } } pub mod network_watchers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7708,7 +7708,7 @@ pub mod network_watchers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7789,7 +7789,7 @@ pub mod network_watchers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkWatcher), @@ -7869,7 +7869,7 @@ pub mod network_watchers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7935,7 +7935,7 @@ pub mod network_watchers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8008,7 +8008,7 @@ pub mod network_watchers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8077,7 +8077,7 @@ pub mod network_watchers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8152,7 +8152,7 @@ pub mod network_watchers { } } pub mod get_topology { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8233,7 +8233,7 @@ pub mod network_watchers { } } pub mod verify_ip_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VerificationIpFlowResult), @@ -8319,7 +8319,7 @@ pub mod network_watchers { } } pub mod get_next_hop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NextHopResult), @@ -8407,7 +8407,7 @@ pub mod network_watchers { } } pub mod get_vm_security_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityGroupViewResult), @@ -8493,7 +8493,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -8581,7 +8581,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -8669,7 +8669,7 @@ pub mod network_watchers { } } pub mod set_flow_log_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -8755,7 +8755,7 @@ pub mod network_watchers { } } pub mod get_flow_log_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -8841,7 +8841,7 @@ pub mod network_watchers { } } pub mod check_connectivity { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectivityInformation), @@ -8929,7 +8929,7 @@ pub mod network_watchers { } } pub mod get_azure_reachability_report { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AzureReachabilityReport), @@ -9017,7 +9017,7 @@ pub mod network_watchers { } } pub mod list_available_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AvailableProvidersList), @@ -9105,7 +9105,7 @@ pub mod network_watchers { } } pub mod get_network_configuration_diagnostic { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkConfigurationDiagnosticResponse), @@ -9134,7 +9134,7 @@ pub mod network_watchers { } } pub mod packet_captures { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9185,7 +9185,7 @@ pub mod packet_captures { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9259,7 +9259,7 @@ pub mod packet_captures { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9327,7 +9327,7 @@ pub mod packet_captures { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -9401,7 +9401,7 @@ pub mod packet_captures { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9488,7 +9488,7 @@ pub mod packet_captures { } } pub mod get_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PacketCaptureQueryStatusResult), @@ -9563,7 +9563,7 @@ pub mod packet_captures { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9587,7 +9587,7 @@ pub mod packet_captures { } } pub mod connection_monitors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9638,7 +9638,7 @@ pub mod connection_monitors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9721,7 +9721,7 @@ pub mod connection_monitors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorResult), @@ -9803,7 +9803,7 @@ pub mod connection_monitors { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9871,7 +9871,7 @@ pub mod connection_monitors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -9945,7 +9945,7 @@ pub mod connection_monitors { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10019,7 +10019,7 @@ pub mod connection_monitors { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10103,7 +10103,7 @@ pub mod connection_monitors { } } pub mod query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorQueryResult), @@ -10178,7 +10178,7 @@ pub mod connection_monitors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10202,7 +10202,7 @@ pub mod connection_monitors { } } pub mod flow_logs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10253,7 +10253,7 @@ pub mod flow_logs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10336,7 +10336,7 @@ pub mod flow_logs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FlowLog), @@ -10409,7 +10409,7 @@ pub mod flow_logs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -10484,7 +10484,7 @@ pub mod flow_logs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10508,7 +10508,7 @@ pub mod flow_logs { } } pub mod route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10561,7 +10561,7 @@ pub mod route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10642,7 +10642,7 @@ pub mod route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteTable), @@ -10722,7 +10722,7 @@ pub mod route_tables { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10789,7 +10789,7 @@ pub mod route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -10863,7 +10863,7 @@ pub mod route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10932,7 +10932,7 @@ pub mod route_tables { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10956,7 +10956,7 @@ pub mod route_tables { } } pub mod routes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11007,7 +11007,7 @@ pub mod routes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11090,7 +11090,7 @@ pub mod routes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Route), @@ -11164,7 +11164,7 @@ pub mod routes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -11240,7 +11240,7 @@ pub mod routes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11264,7 +11264,7 @@ pub mod routes { } } pub mod service_endpoint_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11317,7 +11317,7 @@ pub mod service_endpoint_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11398,7 +11398,7 @@ pub mod service_endpoint_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ServiceEndpointPolicy), @@ -11478,7 +11478,7 @@ pub mod service_endpoint_policies { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11545,7 +11545,7 @@ pub mod service_endpoint_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -11617,7 +11617,7 @@ pub mod service_endpoint_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11690,7 +11690,7 @@ pub mod service_endpoint_policies { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11714,7 +11714,7 @@ pub mod service_endpoint_policies { } } pub mod service_endpoint_policy_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11758,7 +11758,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11834,7 +11834,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServiceEndpointPolicyDefinition), @@ -11901,7 +11901,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -11982,7 +11982,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12006,7 +12006,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod private_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12059,7 +12059,7 @@ pub mod private_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12140,7 +12140,7 @@ pub mod private_endpoints { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpoint), @@ -12212,7 +12212,7 @@ pub mod private_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -12286,7 +12286,7 @@ pub mod private_endpoints { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12355,7 +12355,7 @@ pub mod private_endpoints { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12379,7 +12379,7 @@ pub mod private_endpoints { } } pub mod available_private_endpoint_types { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -12426,7 +12426,7 @@ pub mod available_private_endpoint_types { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12501,7 +12501,7 @@ pub mod available_private_endpoint_types { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12525,7 +12525,7 @@ pub mod available_private_endpoint_types { } } pub mod private_link_services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12578,7 +12578,7 @@ pub mod private_link_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12659,7 +12659,7 @@ pub mod private_link_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkService), @@ -12731,7 +12731,7 @@ pub mod private_link_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -12805,7 +12805,7 @@ pub mod private_link_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12874,7 +12874,7 @@ pub mod private_link_services { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12955,7 +12955,7 @@ pub mod private_link_services { } } pub mod get_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13034,7 +13034,7 @@ pub mod private_link_services { } } pub mod update_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13108,7 +13108,7 @@ pub mod private_link_services { } } pub mod delete_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -13189,7 +13189,7 @@ pub mod private_link_services { } } pub mod list_private_endpoint_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13265,7 +13265,7 @@ pub mod private_link_services { } } pub mod check_private_link_service_visibility { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServiceVisibility), @@ -13354,7 +13354,7 @@ pub mod private_link_services { } } pub mod check_private_link_service_visibility_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServiceVisibility), @@ -13432,7 +13432,7 @@ pub mod private_link_services { } } pub mod list_auto_approved_private_link_services { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13509,7 +13509,7 @@ pub mod private_link_services { } } pub mod list_auto_approved_private_link_services_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13533,7 +13533,7 @@ pub mod private_link_services { } } pub mod network_profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13586,7 +13586,7 @@ pub mod network_profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13667,7 +13667,7 @@ pub mod network_profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkProfile), @@ -13747,7 +13747,7 @@ pub mod network_profiles { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13814,7 +13814,7 @@ pub mod network_profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -13889,7 +13889,7 @@ pub mod network_profiles { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13957,7 +13957,7 @@ pub mod network_profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13981,7 +13981,7 @@ pub mod network_profiles { } } pub mod public_ip_addresses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14034,7 +14034,7 @@ pub mod public_ip_addresses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14115,7 +14115,7 @@ pub mod public_ip_addresses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpAddress), @@ -14195,7 +14195,7 @@ pub mod public_ip_addresses { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14262,7 +14262,7 @@ pub mod public_ip_addresses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -14337,7 +14337,7 @@ pub mod public_ip_addresses { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14405,7 +14405,7 @@ pub mod public_ip_addresses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14482,7 +14482,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14556,7 +14556,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_vm_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14633,7 +14633,7 @@ pub mod public_ip_addresses { } } pub mod get_virtual_machine_scale_set_public_ip_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14657,7 +14657,7 @@ pub mod public_ip_addresses { } } pub mod available_delegations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -14704,7 +14704,7 @@ pub mod available_delegations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14728,7 +14728,7 @@ pub mod available_delegations { } } pub mod available_resource_group_delegations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -14777,7 +14777,7 @@ pub mod available_resource_group_delegations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14801,7 +14801,7 @@ pub mod available_resource_group_delegations { } } pub mod available_service_aliases { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -14848,7 +14848,7 @@ pub mod available_service_aliases { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14923,7 +14923,7 @@ pub mod available_service_aliases { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14947,7 +14947,7 @@ pub mod available_service_aliases { } } pub mod azure_firewalls { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14996,7 +14996,7 @@ pub mod azure_firewalls { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15077,7 +15077,7 @@ pub mod azure_firewalls { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(AzureFirewall), @@ -15157,7 +15157,7 @@ pub mod azure_firewalls { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15224,7 +15224,7 @@ pub mod azure_firewalls { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -15298,7 +15298,7 @@ pub mod azure_firewalls { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15367,7 +15367,7 @@ pub mod azure_firewalls { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15391,7 +15391,7 @@ pub mod azure_firewalls { } } pub mod azure_firewall_fqdn_tags { - use crate::models::*; + use super::{models, models::*}; pub async fn list_all( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -15439,7 +15439,7 @@ pub mod azure_firewall_fqdn_tags { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15463,7 +15463,7 @@ pub mod azure_firewall_fqdn_tags { } } pub mod bastion_hosts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15512,7 +15512,7 @@ pub mod bastion_hosts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15593,7 +15593,7 @@ pub mod bastion_hosts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(BastionHost), @@ -15665,7 +15665,7 @@ pub mod bastion_hosts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -15737,7 +15737,7 @@ pub mod bastion_hosts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15810,7 +15810,7 @@ pub mod bastion_hosts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15889,7 +15889,7 @@ pub async fn put_bastion_shareable_link( } } pub mod put_bastion_shareable_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BastionShareableLinkListResult), @@ -15967,7 +15967,7 @@ pub async fn delete_bastion_shareable_link( } } pub mod delete_bastion_shareable_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -16049,7 +16049,7 @@ pub async fn get_bastion_shareable_link( } } pub mod get_bastion_shareable_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16124,7 +16124,7 @@ pub async fn get_active_sessions( } } pub mod get_active_sessions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BastionActiveSessionListResult), @@ -16206,7 +16206,7 @@ pub async fn disconnect_active_sessions( } } pub mod disconnect_active_sessions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16281,7 +16281,7 @@ pub async fn check_dns_name_availability( } } pub mod check_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16356,7 +16356,7 @@ pub async fn supported_security_providers( } } pub mod supported_security_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16438,7 +16438,7 @@ pub async fn generatevirtualwanvpnserverconfigurationvpnprofile( } } pub mod generatevirtualwanvpnserverconfigurationvpnprofile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnProfileResponse), @@ -16466,7 +16466,7 @@ pub mod generatevirtualwanvpnserverconfigurationvpnprofile { } } pub mod ddos_custom_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16515,7 +16515,7 @@ pub mod ddos_custom_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16596,7 +16596,7 @@ pub mod ddos_custom_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DdosCustomPolicy), @@ -16676,7 +16676,7 @@ pub mod ddos_custom_policies { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16743,7 +16743,7 @@ pub mod ddos_custom_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -16773,7 +16773,7 @@ pub mod ddos_custom_policies { } } pub mod ddos_protection_plans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16822,7 +16822,7 @@ pub mod ddos_protection_plans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16903,7 +16903,7 @@ pub mod ddos_protection_plans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DdosProtectionPlan), @@ -16983,7 +16983,7 @@ pub mod ddos_protection_plans { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17050,7 +17050,7 @@ pub mod ddos_protection_plans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -17122,7 +17122,7 @@ pub mod ddos_protection_plans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17195,7 +17195,7 @@ pub mod ddos_protection_plans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17219,7 +17219,7 @@ pub mod ddos_protection_plans { } } pub mod available_endpoint_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -17266,7 +17266,7 @@ pub mod available_endpoint_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17290,7 +17290,7 @@ pub mod available_endpoint_services { } } pub mod express_route_circuit_authorizations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17341,7 +17341,7 @@ pub mod express_route_circuit_authorizations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17424,7 +17424,7 @@ pub mod express_route_circuit_authorizations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuitAuthorization), @@ -17498,7 +17498,7 @@ pub mod express_route_circuit_authorizations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -17574,7 +17574,7 @@ pub mod express_route_circuit_authorizations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17598,7 +17598,7 @@ pub mod express_route_circuit_authorizations { } } pub mod express_route_circuit_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17649,7 +17649,7 @@ pub mod express_route_circuit_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17732,7 +17732,7 @@ pub mod express_route_circuit_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitPeering), @@ -17806,7 +17806,7 @@ pub mod express_route_circuit_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -17882,7 +17882,7 @@ pub mod express_route_circuit_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17906,7 +17906,7 @@ pub mod express_route_circuit_peerings { } } pub mod express_route_circuit_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17959,7 +17959,7 @@ pub mod express_route_circuit_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18044,7 +18044,7 @@ pub mod express_route_circuit_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitConnection), @@ -18120,7 +18120,7 @@ pub mod express_route_circuit_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -18198,7 +18198,7 @@ pub mod express_route_circuit_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18222,7 +18222,7 @@ pub mod express_route_circuit_connections { } } pub mod peer_express_route_circuit_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18275,7 +18275,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18347,7 +18347,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18371,7 +18371,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod express_route_circuits { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18420,7 +18420,7 @@ pub mod express_route_circuits { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18501,7 +18501,7 @@ pub mod express_route_circuits { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuit), @@ -18581,7 +18581,7 @@ pub mod express_route_circuits { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18648,7 +18648,7 @@ pub mod express_route_circuits { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -18733,7 +18733,7 @@ pub mod express_route_circuits { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -18817,7 +18817,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -18903,7 +18903,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableSummaryListResult), @@ -18981,7 +18981,7 @@ pub mod express_route_circuits { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19056,7 +19056,7 @@ pub mod express_route_circuits { } } pub mod get_peering_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19124,7 +19124,7 @@ pub mod express_route_circuits { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19193,7 +19193,7 @@ pub mod express_route_circuits { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19217,7 +19217,7 @@ pub mod express_route_circuits { } } pub mod express_route_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -19262,7 +19262,7 @@ pub mod express_route_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19286,7 +19286,7 @@ pub mod express_route_service_providers { } } pub mod express_route_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -19334,7 +19334,7 @@ pub mod express_route_gateways { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19407,7 +19407,7 @@ pub mod express_route_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19477,7 +19477,7 @@ pub mod express_route_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19558,7 +19558,7 @@ pub mod express_route_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteGateway), @@ -19630,7 +19630,7 @@ pub mod express_route_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -19660,7 +19660,7 @@ pub mod express_route_gateways { } } pub mod express_route_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19711,7 +19711,7 @@ pub mod express_route_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19794,7 +19794,7 @@ pub mod express_route_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteConnection), @@ -19868,7 +19868,7 @@ pub mod express_route_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -19944,7 +19944,7 @@ pub mod express_route_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19968,7 +19968,7 @@ pub mod express_route_connections { } } pub mod express_route_cross_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -20013,7 +20013,7 @@ pub mod express_route_cross_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20086,7 +20086,7 @@ pub mod express_route_cross_connections { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20156,7 +20156,7 @@ pub mod express_route_cross_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20231,7 +20231,7 @@ pub mod express_route_cross_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20306,7 +20306,7 @@ pub mod express_route_cross_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20385,7 +20385,7 @@ pub mod express_route_cross_connections { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -20463,7 +20463,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionsRoutesTableSummaryListResult), @@ -20547,7 +20547,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -20576,7 +20576,7 @@ pub mod express_route_cross_connections { } } pub mod express_route_cross_connection_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20625,7 +20625,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20697,7 +20697,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20780,7 +20780,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionPeering), @@ -20854,7 +20854,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -20884,7 +20884,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod express_route_ports_locations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -20929,7 +20929,7 @@ pub mod express_route_ports_locations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20997,7 +20997,7 @@ pub mod express_route_ports_locations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21021,7 +21021,7 @@ pub mod express_route_ports_locations { } } pub mod express_route_ports { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -21070,7 +21070,7 @@ pub mod express_route_ports { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21151,7 +21151,7 @@ pub mod express_route_ports { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRoutePort), @@ -21231,7 +21231,7 @@ pub mod express_route_ports { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21298,7 +21298,7 @@ pub mod express_route_ports { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -21377,7 +21377,7 @@ pub mod express_route_ports { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21443,7 +21443,7 @@ pub mod express_route_ports { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21467,7 +21467,7 @@ pub mod express_route_ports { } } pub mod express_route_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -21518,7 +21518,7 @@ pub mod express_route_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21588,7 +21588,7 @@ pub mod express_route_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21612,7 +21612,7 @@ pub mod express_route_links { } } pub mod firewall_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -21665,7 +21665,7 @@ pub mod firewall_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21746,7 +21746,7 @@ pub mod firewall_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FirewallPolicy), @@ -21818,7 +21818,7 @@ pub mod firewall_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -21892,7 +21892,7 @@ pub mod firewall_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21961,7 +21961,7 @@ pub mod firewall_policies { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21985,7 +21985,7 @@ pub mod firewall_policies { } } pub mod firewall_policy_rule_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -22036,7 +22036,7 @@ pub mod firewall_policy_rule_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22119,7 +22119,7 @@ pub mod firewall_policy_rule_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FirewallPolicyRuleGroup), @@ -22193,7 +22193,7 @@ pub mod firewall_policy_rule_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -22269,7 +22269,7 @@ pub mod firewall_policy_rule_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22293,7 +22293,7 @@ pub mod firewall_policy_rule_groups { } } pub mod ip_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -22346,7 +22346,7 @@ pub mod ip_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22427,7 +22427,7 @@ pub mod ip_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IpGroup), @@ -22507,7 +22507,7 @@ pub mod ip_groups { } } pub mod update_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22574,7 +22574,7 @@ pub mod ip_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22653,7 +22653,7 @@ pub mod ip_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22719,7 +22719,7 @@ pub mod ip_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22743,7 +22743,7 @@ pub mod ip_groups { } } pub mod nat_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -22796,7 +22796,7 @@ pub mod nat_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22883,7 +22883,7 @@ pub mod nat_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NatGateway), @@ -22964,7 +22964,7 @@ pub mod nat_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23031,7 +23031,7 @@ pub mod nat_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -23106,7 +23106,7 @@ pub mod nat_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23174,7 +23174,7 @@ pub mod nat_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23198,7 +23198,7 @@ pub mod nat_gateways { } } pub mod network_virtual_appliances { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -23251,7 +23251,7 @@ pub mod network_virtual_appliances { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23332,7 +23332,7 @@ pub mod network_virtual_appliances { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkVirtualAppliance), @@ -23412,7 +23412,7 @@ pub mod network_virtual_appliances { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23479,7 +23479,7 @@ pub mod network_virtual_appliances { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23558,7 +23558,7 @@ pub mod network_virtual_appliances { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23624,7 +23624,7 @@ pub mod network_virtual_appliances { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23648,7 +23648,7 @@ pub mod network_virtual_appliances { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Network/operations", operation_config.base_path(),); @@ -23686,7 +23686,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23710,7 +23710,7 @@ pub mod operations { } } pub mod public_ip_prefixes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -23763,7 +23763,7 @@ pub mod public_ip_prefixes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23844,7 +23844,7 @@ pub mod public_ip_prefixes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpPrefix), @@ -23924,7 +23924,7 @@ pub mod public_ip_prefixes { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23991,7 +23991,7 @@ pub mod public_ip_prefixes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -24066,7 +24066,7 @@ pub mod public_ip_prefixes { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24134,7 +24134,7 @@ pub mod public_ip_prefixes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24158,7 +24158,7 @@ pub mod public_ip_prefixes { } } pub mod route_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -24211,7 +24211,7 @@ pub mod route_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24292,7 +24292,7 @@ pub mod route_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilter), @@ -24372,7 +24372,7 @@ pub mod route_filters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24439,7 +24439,7 @@ pub mod route_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -24518,7 +24518,7 @@ pub mod route_filters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24584,7 +24584,7 @@ pub mod route_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24608,7 +24608,7 @@ pub mod route_filters { } } pub mod route_filter_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -24659,7 +24659,7 @@ pub mod route_filter_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24742,7 +24742,7 @@ pub mod route_filter_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilterRule), @@ -24816,7 +24816,7 @@ pub mod route_filter_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -24895,7 +24895,7 @@ pub mod route_filter_rules { } } pub mod list_by_route_filter { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24919,7 +24919,7 @@ pub mod route_filter_rules { } } pub mod bgp_service_communities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -24964,7 +24964,7 @@ pub mod bgp_service_communities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24988,7 +24988,7 @@ pub mod bgp_service_communities { } } pub mod service_tags { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -25035,7 +25035,7 @@ pub mod service_tags { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25059,7 +25059,7 @@ pub mod service_tags { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -25106,7 +25106,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25130,7 +25130,7 @@ pub mod usages { } } pub mod virtual_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -25179,7 +25179,7 @@ pub mod virtual_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25260,7 +25260,7 @@ pub mod virtual_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGateway), @@ -25341,7 +25341,7 @@ pub mod virtual_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -25413,7 +25413,7 @@ pub mod virtual_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -25487,7 +25487,7 @@ pub mod virtual_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25560,7 +25560,7 @@ pub mod virtual_network_gateways { } } pub mod list_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25636,7 +25636,7 @@ pub mod virtual_network_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -25713,7 +25713,7 @@ pub mod virtual_network_gateways { } } pub mod reset_vpn_client_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -25796,7 +25796,7 @@ pub mod virtual_network_gateways { } } pub mod generatevpnclientpackage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -25877,7 +25877,7 @@ pub mod virtual_network_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -25959,7 +25959,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpn_profile_package_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -26043,7 +26043,7 @@ pub mod virtual_network_gateways { } } pub mod get_bgp_peer_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BgpPeerStatusListResult), @@ -26124,7 +26124,7 @@ pub mod virtual_network_gateways { } } pub mod supported_vpn_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26199,7 +26199,7 @@ pub mod virtual_network_gateways { } } pub mod get_learned_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -26283,7 +26283,7 @@ pub mod virtual_network_gateways { } } pub mod get_advertised_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -26366,7 +26366,7 @@ pub mod virtual_network_gateways { } } pub mod set_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -26447,7 +26447,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26524,7 +26524,7 @@ pub mod virtual_network_gateways { } } pub mod vpn_device_configuration_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26604,7 +26604,7 @@ pub mod virtual_network_gateways { } } pub mod start_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -26685,7 +26685,7 @@ pub mod virtual_network_gateways { } } pub mod stop_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -26767,7 +26767,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpnclient_connection_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnClientConnectionHealthDetailListResult), @@ -26843,7 +26843,7 @@ pub mod virtual_network_gateways { } } pub mod disconnect_virtual_network_gateway_vpn_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -26872,7 +26872,7 @@ pub mod virtual_network_gateways { } } pub mod virtual_network_gateway_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -26921,7 +26921,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27002,7 +27002,7 @@ pub mod virtual_network_gateway_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGatewayConnection), @@ -27083,7 +27083,7 @@ pub mod virtual_network_gateway_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -27155,7 +27155,7 @@ pub mod virtual_network_gateway_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -27234,7 +27234,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27315,7 +27315,7 @@ pub mod virtual_network_gateway_connections { } } pub mod set_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ConnectionSharedKey), @@ -27388,7 +27388,7 @@ pub mod virtual_network_gateway_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27464,7 +27464,7 @@ pub mod virtual_network_gateway_connections { } } pub mod reset_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionResetSharedKey), @@ -27549,7 +27549,7 @@ pub mod virtual_network_gateway_connections { } } pub mod start_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -27630,7 +27630,7 @@ pub mod virtual_network_gateway_connections { } } pub mod stop_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -27659,7 +27659,7 @@ pub mod virtual_network_gateway_connections { } } pub mod local_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -27708,7 +27708,7 @@ pub mod local_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27789,7 +27789,7 @@ pub mod local_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LocalNetworkGateway), @@ -27869,7 +27869,7 @@ pub mod local_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27936,7 +27936,7 @@ pub mod local_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -28010,7 +28010,7 @@ pub mod local_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28034,7 +28034,7 @@ pub mod local_network_gateways { } } pub mod virtual_wans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -28083,7 +28083,7 @@ pub mod virtual_wans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28164,7 +28164,7 @@ pub mod virtual_wans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualWan), @@ -28244,7 +28244,7 @@ pub mod virtual_wans { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28311,7 +28311,7 @@ pub mod virtual_wans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -28390,7 +28390,7 @@ pub mod virtual_wans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28456,7 +28456,7 @@ pub mod virtual_wans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28480,7 +28480,7 @@ pub mod virtual_wans { } } pub mod vpn_sites { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -28529,7 +28529,7 @@ pub mod vpn_sites { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28610,7 +28610,7 @@ pub mod vpn_sites { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnSite), @@ -28690,7 +28690,7 @@ pub mod vpn_sites { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28757,7 +28757,7 @@ pub mod vpn_sites { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -28836,7 +28836,7 @@ pub mod vpn_sites { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28902,7 +28902,7 @@ pub mod vpn_sites { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28926,7 +28926,7 @@ pub mod vpn_sites { } } pub mod vpn_site_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -28977,7 +28977,7 @@ pub mod vpn_site_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29050,7 +29050,7 @@ pub mod vpn_site_links { } } pub mod list_by_vpn_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29074,7 +29074,7 @@ pub mod vpn_site_links { } } pub mod vpn_sites_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn download( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -29124,7 +29124,7 @@ pub mod vpn_sites_configuration { } } pub mod download { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -29153,7 +29153,7 @@ pub mod vpn_sites_configuration { } } pub mod vpn_server_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -29202,7 +29202,7 @@ pub mod vpn_server_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29283,7 +29283,7 @@ pub mod vpn_server_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnServerConfiguration), @@ -29363,7 +29363,7 @@ pub mod vpn_server_configurations { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29430,7 +29430,7 @@ pub mod vpn_server_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -29509,7 +29509,7 @@ pub mod vpn_server_configurations { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29575,7 +29575,7 @@ pub mod vpn_server_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29599,7 +29599,7 @@ pub mod vpn_server_configurations { } } pub mod virtual_hubs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -29648,7 +29648,7 @@ pub mod virtual_hubs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29729,7 +29729,7 @@ pub mod virtual_hubs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHub), @@ -29809,7 +29809,7 @@ pub mod virtual_hubs { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29876,7 +29876,7 @@ pub mod virtual_hubs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -29955,7 +29955,7 @@ pub mod virtual_hubs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30021,7 +30021,7 @@ pub mod virtual_hubs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30045,7 +30045,7 @@ pub mod virtual_hubs { } } pub mod hub_virtual_network_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -30096,7 +30096,7 @@ pub mod hub_virtual_network_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30166,7 +30166,7 @@ pub mod hub_virtual_network_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30190,7 +30190,7 @@ pub mod hub_virtual_network_connections { } } pub mod vpn_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -30239,7 +30239,7 @@ pub mod vpn_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30320,7 +30320,7 @@ pub mod vpn_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -30400,7 +30400,7 @@ pub mod vpn_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30467,7 +30467,7 @@ pub mod vpn_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -30545,7 +30545,7 @@ pub mod vpn_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -30623,7 +30623,7 @@ pub mod vpn_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30689,7 +30689,7 @@ pub mod vpn_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30713,7 +30713,7 @@ pub mod vpn_gateways { } } pub mod vpn_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -30764,7 +30764,7 @@ pub mod vpn_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30847,7 +30847,7 @@ pub mod vpn_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnConnection), @@ -30921,7 +30921,7 @@ pub mod vpn_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -31000,7 +31000,7 @@ pub mod vpn_connections { } } pub mod list_by_vpn_gateway { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31024,7 +31024,7 @@ pub mod vpn_connections { } } pub mod vpn_site_link_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -31077,7 +31077,7 @@ pub mod vpn_site_link_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31101,7 +31101,7 @@ pub mod vpn_site_link_connections { } } pub mod vpn_link_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_vpn_connection( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -31157,7 +31157,7 @@ pub mod vpn_link_connections { } } pub mod list_by_vpn_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31181,7 +31181,7 @@ pub mod vpn_link_connections { } } pub mod p2s_vpn_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -31230,7 +31230,7 @@ pub mod p2s_vpn_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31311,7 +31311,7 @@ pub mod p2s_vpn_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -31391,7 +31391,7 @@ pub mod p2s_vpn_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31458,7 +31458,7 @@ pub mod p2s_vpn_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -31537,7 +31537,7 @@ pub mod p2s_vpn_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31603,7 +31603,7 @@ pub mod p2s_vpn_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31679,7 +31679,7 @@ pub mod p2s_vpn_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnProfileResponse), @@ -31761,7 +31761,7 @@ pub mod p2s_vpn_gateways { } } pub mod get_p2s_vpn_connection_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -31844,7 +31844,7 @@ pub mod p2s_vpn_gateways { } } pub mod get_p2s_vpn_connection_health_detailed { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnConnectionHealth), @@ -31922,7 +31922,7 @@ pub mod p2s_vpn_gateways { } } pub mod disconnect_p2s_vpn_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -31951,7 +31951,7 @@ pub mod p2s_vpn_gateways { } } pub mod vpn_server_configurations_associated_with_virtual_wan { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -32002,7 +32002,7 @@ pub mod vpn_server_configurations_associated_with_virtual_wan { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnServerConfigurationsResponse), @@ -32031,7 +32031,7 @@ pub mod vpn_server_configurations_associated_with_virtual_wan { } } pub mod virtual_hub_route_table_v2s { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -32082,7 +32082,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32165,7 +32165,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHubRouteTableV2), @@ -32239,7 +32239,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -32315,7 +32315,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32339,7 +32339,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod virtual_routers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -32392,7 +32392,7 @@ pub mod virtual_routers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32473,7 +32473,7 @@ pub mod virtual_routers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(VirtualRouter), @@ -32545,7 +32545,7 @@ pub mod virtual_routers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -32624,7 +32624,7 @@ pub mod virtual_routers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32690,7 +32690,7 @@ pub mod virtual_routers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32714,7 +32714,7 @@ pub mod virtual_routers { } } pub mod virtual_router_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -32765,7 +32765,7 @@ pub mod virtual_router_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32848,7 +32848,7 @@ pub mod virtual_router_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(VirtualRouterPeering), @@ -32922,7 +32922,7 @@ pub mod virtual_router_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -32998,7 +32998,7 @@ pub mod virtual_router_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33022,7 +33022,7 @@ pub mod virtual_router_peerings { } } pub mod web_application_firewall_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -33069,7 +33069,7 @@ pub mod web_application_firewall_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33138,7 +33138,7 @@ pub mod web_application_firewall_policies { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33208,7 +33208,7 @@ pub mod web_application_firewall_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33289,7 +33289,7 @@ pub mod web_application_firewall_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WebApplicationFirewallPolicy), @@ -33361,7 +33361,7 @@ pub mod web_application_firewall_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, diff --git a/services/mgmt/network/src/package_2020_03/operations.rs b/services/mgmt/network/src/package_2020_03/operations.rs index a101b5dead..d3c06f70f6 100644 --- a/services/mgmt/network/src/package_2020_03/operations.rs +++ b/services/mgmt/network/src/package_2020_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod application_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod application_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod application_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationGateway), @@ -214,7 +214,7 @@ pub mod application_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -281,7 +281,7 @@ pub mod application_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -355,7 +355,7 @@ pub mod application_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -424,7 +424,7 @@ pub mod application_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -491,7 +491,7 @@ pub mod application_gateways { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -563,7 +563,7 @@ pub mod application_gateways { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -647,7 +647,7 @@ pub mod application_gateways { } } pub mod backend_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealth), @@ -734,7 +734,7 @@ pub mod application_gateways { } } pub mod backend_health_on_demand { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealthOnDemand), @@ -810,7 +810,7 @@ pub mod application_gateways { } } pub mod list_available_server_variables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -881,7 +881,7 @@ pub mod application_gateways { } } pub mod list_available_request_headers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -952,7 +952,7 @@ pub mod application_gateways { } } pub mod list_available_response_headers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1023,7 +1023,7 @@ pub mod application_gateways { } } pub mod list_available_waf_rule_sets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1094,7 +1094,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_options { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1165,7 +1165,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_predefined_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1238,7 +1238,7 @@ pub mod application_gateways { } } pub mod get_ssl_predefined_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1262,7 +1262,7 @@ pub mod application_gateways { } } pub mod network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1315,7 +1315,7 @@ pub mod network_interfaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1396,7 +1396,7 @@ pub mod network_interfaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkInterface), @@ -1476,7 +1476,7 @@ pub mod network_interfaces { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1543,7 +1543,7 @@ pub mod network_interfaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1618,7 +1618,7 @@ pub mod network_interfaces { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1686,7 +1686,7 @@ pub mod network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1763,7 +1763,7 @@ pub mod network_interfaces { } } pub mod get_effective_route_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveRouteListResult), @@ -1845,7 +1845,7 @@ pub mod network_interfaces { } } pub mod list_effective_network_security_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveNetworkSecurityGroupListResult), @@ -1922,7 +1922,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_vm_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1999,7 +1999,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2074,7 +2074,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_network_interface { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2151,7 +2151,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_ip_configurations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2227,7 +2227,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_ip_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2251,7 +2251,7 @@ pub mod network_interfaces { } } pub mod network_interface_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2300,7 +2300,7 @@ pub mod network_interface_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2372,7 +2372,7 @@ pub mod network_interface_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2396,7 +2396,7 @@ pub mod network_interface_ip_configurations { } } pub mod network_interface_load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2445,7 +2445,7 @@ pub mod network_interface_load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2469,7 +2469,7 @@ pub mod network_interface_load_balancers { } } pub mod network_interface_tap_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2520,7 +2520,7 @@ pub mod network_interface_tap_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2603,7 +2603,7 @@ pub mod network_interface_tap_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkInterfaceTapConfiguration), @@ -2677,7 +2677,7 @@ pub mod network_interface_tap_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2753,7 +2753,7 @@ pub mod network_interface_tap_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2777,7 +2777,7 @@ pub mod network_interface_tap_configurations { } } pub mod virtual_network_taps { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2826,7 +2826,7 @@ pub mod virtual_network_taps { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2907,7 +2907,7 @@ pub mod virtual_network_taps { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkTap), @@ -2987,7 +2987,7 @@ pub mod virtual_network_taps { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3054,7 +3054,7 @@ pub mod virtual_network_taps { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3129,7 +3129,7 @@ pub mod virtual_network_taps { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3202,7 +3202,7 @@ pub mod virtual_network_taps { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3226,7 +3226,7 @@ pub mod virtual_network_taps { } } pub mod load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3279,7 +3279,7 @@ pub mod load_balancers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3360,7 +3360,7 @@ pub mod load_balancers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoadBalancer), @@ -3440,7 +3440,7 @@ pub mod load_balancers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3507,7 +3507,7 @@ pub mod load_balancers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -3582,7 +3582,7 @@ pub mod load_balancers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3650,7 +3650,7 @@ pub mod load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3674,7 +3674,7 @@ pub mod load_balancers { } } pub mod load_balancer_backend_address_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3723,7 +3723,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3795,7 +3795,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3819,7 +3819,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod load_balancer_frontend_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3868,7 +3868,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3940,7 +3940,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3964,7 +3964,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod inbound_nat_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4013,7 +4013,7 @@ pub mod inbound_nat_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4089,7 +4089,7 @@ pub mod inbound_nat_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4172,7 +4172,7 @@ pub mod inbound_nat_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(InboundNatRule), @@ -4246,7 +4246,7 @@ pub mod inbound_nat_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4276,7 +4276,7 @@ pub mod inbound_nat_rules { } } pub mod load_balancer_load_balancing_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4325,7 +4325,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4397,7 +4397,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4421,7 +4421,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod load_balancer_outbound_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4470,7 +4470,7 @@ pub mod load_balancer_outbound_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4542,7 +4542,7 @@ pub mod load_balancer_outbound_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4566,7 +4566,7 @@ pub mod load_balancer_outbound_rules { } } pub mod load_balancer_network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4615,7 +4615,7 @@ pub mod load_balancer_network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4639,7 +4639,7 @@ pub mod load_balancer_network_interfaces { } } pub mod load_balancer_probes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4688,7 +4688,7 @@ pub mod load_balancer_probes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4760,7 +4760,7 @@ pub mod load_balancer_probes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4784,7 +4784,7 @@ pub mod load_balancer_probes { } } pub mod virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4837,7 +4837,7 @@ pub mod virtual_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4918,7 +4918,7 @@ pub mod virtual_networks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetwork), @@ -4998,7 +4998,7 @@ pub mod virtual_networks { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5065,7 +5065,7 @@ pub mod virtual_networks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5140,7 +5140,7 @@ pub mod virtual_networks { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5208,7 +5208,7 @@ pub mod virtual_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5285,7 +5285,7 @@ pub mod virtual_networks { } } pub mod check_ip_address_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5358,7 +5358,7 @@ pub mod virtual_networks { } } pub mod list_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5382,7 +5382,7 @@ pub mod virtual_networks { } } pub mod subnets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5437,7 +5437,7 @@ pub mod subnets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5520,7 +5520,7 @@ pub mod subnets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Subnet), @@ -5594,7 +5594,7 @@ pub mod subnets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5676,7 +5676,7 @@ pub mod subnets { } } pub mod prepare_network_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5757,7 +5757,7 @@ pub mod subnets { } } pub mod unprepare_network_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5832,7 +5832,7 @@ pub mod subnets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5856,7 +5856,7 @@ pub mod subnets { } } pub mod resource_navigation_links { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5907,7 +5907,7 @@ pub mod resource_navigation_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5931,7 +5931,7 @@ pub mod resource_navigation_links { } } pub mod service_association_links { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5982,7 +5982,7 @@ pub mod service_association_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6006,7 +6006,7 @@ pub mod service_association_links { } } pub mod virtual_network_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6057,7 +6057,7 @@ pub mod virtual_network_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6140,7 +6140,7 @@ pub mod virtual_network_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkPeering), @@ -6214,7 +6214,7 @@ pub mod virtual_network_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6290,7 +6290,7 @@ pub mod virtual_network_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6314,7 +6314,7 @@ pub mod virtual_network_peerings { } } pub mod network_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6367,7 +6367,7 @@ pub mod network_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6448,7 +6448,7 @@ pub mod network_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkSecurityGroup), @@ -6528,7 +6528,7 @@ pub mod network_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6595,7 +6595,7 @@ pub mod network_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6670,7 +6670,7 @@ pub mod network_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6738,7 +6738,7 @@ pub mod network_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6762,7 +6762,7 @@ pub mod network_security_groups { } } pub mod security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6813,7 +6813,7 @@ pub mod security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6896,7 +6896,7 @@ pub mod security_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityRule), @@ -6970,7 +6970,7 @@ pub mod security_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -7046,7 +7046,7 @@ pub mod security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7070,7 +7070,7 @@ pub mod security_rules { } } pub mod default_security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7119,7 +7119,7 @@ pub mod default_security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7191,7 +7191,7 @@ pub mod default_security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7215,7 +7215,7 @@ pub mod default_security_rules { } } pub mod application_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7264,7 +7264,7 @@ pub mod application_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7345,7 +7345,7 @@ pub mod application_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationSecurityGroup), @@ -7425,7 +7425,7 @@ pub mod application_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7492,7 +7492,7 @@ pub mod application_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -7567,7 +7567,7 @@ pub mod application_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7635,7 +7635,7 @@ pub mod application_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7659,7 +7659,7 @@ pub mod application_security_groups { } } pub mod network_watchers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7708,7 +7708,7 @@ pub mod network_watchers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7789,7 +7789,7 @@ pub mod network_watchers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkWatcher), @@ -7869,7 +7869,7 @@ pub mod network_watchers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7935,7 +7935,7 @@ pub mod network_watchers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8008,7 +8008,7 @@ pub mod network_watchers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8077,7 +8077,7 @@ pub mod network_watchers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8152,7 +8152,7 @@ pub mod network_watchers { } } pub mod get_topology { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8233,7 +8233,7 @@ pub mod network_watchers { } } pub mod verify_ip_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VerificationIpFlowResult), @@ -8319,7 +8319,7 @@ pub mod network_watchers { } } pub mod get_next_hop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NextHopResult), @@ -8407,7 +8407,7 @@ pub mod network_watchers { } } pub mod get_vm_security_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityGroupViewResult), @@ -8493,7 +8493,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -8581,7 +8581,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -8669,7 +8669,7 @@ pub mod network_watchers { } } pub mod set_flow_log_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -8755,7 +8755,7 @@ pub mod network_watchers { } } pub mod get_flow_log_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -8841,7 +8841,7 @@ pub mod network_watchers { } } pub mod check_connectivity { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectivityInformation), @@ -8929,7 +8929,7 @@ pub mod network_watchers { } } pub mod get_azure_reachability_report { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AzureReachabilityReport), @@ -9017,7 +9017,7 @@ pub mod network_watchers { } } pub mod list_available_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AvailableProvidersList), @@ -9105,7 +9105,7 @@ pub mod network_watchers { } } pub mod get_network_configuration_diagnostic { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkConfigurationDiagnosticResponse), @@ -9134,7 +9134,7 @@ pub mod network_watchers { } } pub mod packet_captures { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9185,7 +9185,7 @@ pub mod packet_captures { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9259,7 +9259,7 @@ pub mod packet_captures { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9327,7 +9327,7 @@ pub mod packet_captures { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -9401,7 +9401,7 @@ pub mod packet_captures { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9488,7 +9488,7 @@ pub mod packet_captures { } } pub mod get_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PacketCaptureQueryStatusResult), @@ -9563,7 +9563,7 @@ pub mod packet_captures { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9587,7 +9587,7 @@ pub mod packet_captures { } } pub mod connection_monitors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9638,7 +9638,7 @@ pub mod connection_monitors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9721,7 +9721,7 @@ pub mod connection_monitors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorResult), @@ -9803,7 +9803,7 @@ pub mod connection_monitors { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9871,7 +9871,7 @@ pub mod connection_monitors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -9945,7 +9945,7 @@ pub mod connection_monitors { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10019,7 +10019,7 @@ pub mod connection_monitors { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10103,7 +10103,7 @@ pub mod connection_monitors { } } pub mod query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorQueryResult), @@ -10178,7 +10178,7 @@ pub mod connection_monitors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10202,7 +10202,7 @@ pub mod connection_monitors { } } pub mod flow_logs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10253,7 +10253,7 @@ pub mod flow_logs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10336,7 +10336,7 @@ pub mod flow_logs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FlowLog), @@ -10409,7 +10409,7 @@ pub mod flow_logs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -10484,7 +10484,7 @@ pub mod flow_logs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10508,7 +10508,7 @@ pub mod flow_logs { } } pub mod route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10561,7 +10561,7 @@ pub mod route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10642,7 +10642,7 @@ pub mod route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteTable), @@ -10722,7 +10722,7 @@ pub mod route_tables { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10789,7 +10789,7 @@ pub mod route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -10863,7 +10863,7 @@ pub mod route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10932,7 +10932,7 @@ pub mod route_tables { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10956,7 +10956,7 @@ pub mod route_tables { } } pub mod routes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11007,7 +11007,7 @@ pub mod routes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11090,7 +11090,7 @@ pub mod routes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Route), @@ -11164,7 +11164,7 @@ pub mod routes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -11240,7 +11240,7 @@ pub mod routes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11264,7 +11264,7 @@ pub mod routes { } } pub mod service_endpoint_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11317,7 +11317,7 @@ pub mod service_endpoint_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11398,7 +11398,7 @@ pub mod service_endpoint_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ServiceEndpointPolicy), @@ -11478,7 +11478,7 @@ pub mod service_endpoint_policies { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11545,7 +11545,7 @@ pub mod service_endpoint_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -11617,7 +11617,7 @@ pub mod service_endpoint_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11690,7 +11690,7 @@ pub mod service_endpoint_policies { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11714,7 +11714,7 @@ pub mod service_endpoint_policies { } } pub mod service_endpoint_policy_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11758,7 +11758,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11834,7 +11834,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServiceEndpointPolicyDefinition), @@ -11901,7 +11901,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -11982,7 +11982,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12006,7 +12006,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod private_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12059,7 +12059,7 @@ pub mod private_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12140,7 +12140,7 @@ pub mod private_endpoints { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpoint), @@ -12212,7 +12212,7 @@ pub mod private_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -12286,7 +12286,7 @@ pub mod private_endpoints { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12355,7 +12355,7 @@ pub mod private_endpoints { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12379,7 +12379,7 @@ pub mod private_endpoints { } } pub mod available_private_endpoint_types { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -12426,7 +12426,7 @@ pub mod available_private_endpoint_types { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12501,7 +12501,7 @@ pub mod available_private_endpoint_types { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12525,7 +12525,7 @@ pub mod available_private_endpoint_types { } } pub mod private_dns_zone_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12576,7 +12576,7 @@ pub mod private_dns_zone_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12659,7 +12659,7 @@ pub mod private_dns_zone_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateDnsZoneGroup), @@ -12733,7 +12733,7 @@ pub mod private_dns_zone_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -12809,7 +12809,7 @@ pub mod private_dns_zone_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12833,7 +12833,7 @@ pub mod private_dns_zone_groups { } } pub mod private_link_services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12886,7 +12886,7 @@ pub mod private_link_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12967,7 +12967,7 @@ pub mod private_link_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkService), @@ -13039,7 +13039,7 @@ pub mod private_link_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -13113,7 +13113,7 @@ pub mod private_link_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13182,7 +13182,7 @@ pub mod private_link_services { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13263,7 +13263,7 @@ pub mod private_link_services { } } pub mod get_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13342,7 +13342,7 @@ pub mod private_link_services { } } pub mod update_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13416,7 +13416,7 @@ pub mod private_link_services { } } pub mod delete_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -13497,7 +13497,7 @@ pub mod private_link_services { } } pub mod list_private_endpoint_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13573,7 +13573,7 @@ pub mod private_link_services { } } pub mod check_private_link_service_visibility { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServiceVisibility), @@ -13662,7 +13662,7 @@ pub mod private_link_services { } } pub mod check_private_link_service_visibility_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServiceVisibility), @@ -13740,7 +13740,7 @@ pub mod private_link_services { } } pub mod list_auto_approved_private_link_services { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13817,7 +13817,7 @@ pub mod private_link_services { } } pub mod list_auto_approved_private_link_services_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13841,7 +13841,7 @@ pub mod private_link_services { } } pub mod network_profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13894,7 +13894,7 @@ pub mod network_profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13975,7 +13975,7 @@ pub mod network_profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkProfile), @@ -14055,7 +14055,7 @@ pub mod network_profiles { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14122,7 +14122,7 @@ pub mod network_profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -14197,7 +14197,7 @@ pub mod network_profiles { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14265,7 +14265,7 @@ pub mod network_profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14289,7 +14289,7 @@ pub mod network_profiles { } } pub mod public_ip_addresses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14342,7 +14342,7 @@ pub mod public_ip_addresses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14423,7 +14423,7 @@ pub mod public_ip_addresses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpAddress), @@ -14503,7 +14503,7 @@ pub mod public_ip_addresses { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14570,7 +14570,7 @@ pub mod public_ip_addresses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -14645,7 +14645,7 @@ pub mod public_ip_addresses { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14713,7 +14713,7 @@ pub mod public_ip_addresses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14790,7 +14790,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14864,7 +14864,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_vm_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14941,7 +14941,7 @@ pub mod public_ip_addresses { } } pub mod get_virtual_machine_scale_set_public_ip_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14965,7 +14965,7 @@ pub mod public_ip_addresses { } } pub mod available_delegations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -15012,7 +15012,7 @@ pub mod available_delegations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15036,7 +15036,7 @@ pub mod available_delegations { } } pub mod available_resource_group_delegations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -15085,7 +15085,7 @@ pub mod available_resource_group_delegations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15109,7 +15109,7 @@ pub mod available_resource_group_delegations { } } pub mod available_service_aliases { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -15156,7 +15156,7 @@ pub mod available_service_aliases { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15231,7 +15231,7 @@ pub mod available_service_aliases { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15255,7 +15255,7 @@ pub mod available_service_aliases { } } pub mod azure_firewalls { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15304,7 +15304,7 @@ pub mod azure_firewalls { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15385,7 +15385,7 @@ pub mod azure_firewalls { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(AzureFirewall), @@ -15466,7 +15466,7 @@ pub mod azure_firewalls { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -15538,7 +15538,7 @@ pub mod azure_firewalls { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -15612,7 +15612,7 @@ pub mod azure_firewalls { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15681,7 +15681,7 @@ pub mod azure_firewalls { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15705,7 +15705,7 @@ pub mod azure_firewalls { } } pub mod azure_firewall_fqdn_tags { - use crate::models::*; + use super::{models, models::*}; pub async fn list_all( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -15753,7 +15753,7 @@ pub mod azure_firewall_fqdn_tags { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15777,7 +15777,7 @@ pub mod azure_firewall_fqdn_tags { } } pub mod bastion_hosts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15826,7 +15826,7 @@ pub mod bastion_hosts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15907,7 +15907,7 @@ pub mod bastion_hosts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(BastionHost), @@ -15979,7 +15979,7 @@ pub mod bastion_hosts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -16051,7 +16051,7 @@ pub mod bastion_hosts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16124,7 +16124,7 @@ pub mod bastion_hosts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16203,7 +16203,7 @@ pub async fn put_bastion_shareable_link( } } pub mod put_bastion_shareable_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BastionShareableLinkListResult), @@ -16281,7 +16281,7 @@ pub async fn delete_bastion_shareable_link( } } pub mod delete_bastion_shareable_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -16363,7 +16363,7 @@ pub async fn get_bastion_shareable_link( } } pub mod get_bastion_shareable_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16438,7 +16438,7 @@ pub async fn get_active_sessions( } } pub mod get_active_sessions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BastionActiveSessionListResult), @@ -16520,7 +16520,7 @@ pub async fn disconnect_active_sessions( } } pub mod disconnect_active_sessions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16595,7 +16595,7 @@ pub async fn check_dns_name_availability( } } pub mod check_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16670,7 +16670,7 @@ pub async fn supported_security_providers( } } pub mod supported_security_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16752,7 +16752,7 @@ pub async fn generatevirtualwanvpnserverconfigurationvpnprofile( } } pub mod generatevirtualwanvpnserverconfigurationvpnprofile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnProfileResponse), @@ -16780,7 +16780,7 @@ pub mod generatevirtualwanvpnserverconfigurationvpnprofile { } } pub mod ddos_custom_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16829,7 +16829,7 @@ pub mod ddos_custom_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16910,7 +16910,7 @@ pub mod ddos_custom_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DdosCustomPolicy), @@ -16990,7 +16990,7 @@ pub mod ddos_custom_policies { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17057,7 +17057,7 @@ pub mod ddos_custom_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -17087,7 +17087,7 @@ pub mod ddos_custom_policies { } } pub mod ddos_protection_plans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17136,7 +17136,7 @@ pub mod ddos_protection_plans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17217,7 +17217,7 @@ pub mod ddos_protection_plans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DdosProtectionPlan), @@ -17297,7 +17297,7 @@ pub mod ddos_protection_plans { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17364,7 +17364,7 @@ pub mod ddos_protection_plans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -17436,7 +17436,7 @@ pub mod ddos_protection_plans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17509,7 +17509,7 @@ pub mod ddos_protection_plans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17533,7 +17533,7 @@ pub mod ddos_protection_plans { } } pub mod available_endpoint_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -17580,7 +17580,7 @@ pub mod available_endpoint_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17604,7 +17604,7 @@ pub mod available_endpoint_services { } } pub mod express_route_circuit_authorizations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17655,7 +17655,7 @@ pub mod express_route_circuit_authorizations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17738,7 +17738,7 @@ pub mod express_route_circuit_authorizations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuitAuthorization), @@ -17812,7 +17812,7 @@ pub mod express_route_circuit_authorizations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -17888,7 +17888,7 @@ pub mod express_route_circuit_authorizations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17912,7 +17912,7 @@ pub mod express_route_circuit_authorizations { } } pub mod express_route_circuit_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17963,7 +17963,7 @@ pub mod express_route_circuit_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18046,7 +18046,7 @@ pub mod express_route_circuit_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitPeering), @@ -18120,7 +18120,7 @@ pub mod express_route_circuit_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -18196,7 +18196,7 @@ pub mod express_route_circuit_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18220,7 +18220,7 @@ pub mod express_route_circuit_peerings { } } pub mod express_route_circuit_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18273,7 +18273,7 @@ pub mod express_route_circuit_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18358,7 +18358,7 @@ pub mod express_route_circuit_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitConnection), @@ -18434,7 +18434,7 @@ pub mod express_route_circuit_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -18512,7 +18512,7 @@ pub mod express_route_circuit_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18536,7 +18536,7 @@ pub mod express_route_circuit_connections { } } pub mod peer_express_route_circuit_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18589,7 +18589,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18661,7 +18661,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18685,7 +18685,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod express_route_circuits { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18734,7 +18734,7 @@ pub mod express_route_circuits { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18815,7 +18815,7 @@ pub mod express_route_circuits { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuit), @@ -18895,7 +18895,7 @@ pub mod express_route_circuits { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18962,7 +18962,7 @@ pub mod express_route_circuits { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -19047,7 +19047,7 @@ pub mod express_route_circuits { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -19131,7 +19131,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -19217,7 +19217,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableSummaryListResult), @@ -19295,7 +19295,7 @@ pub mod express_route_circuits { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19370,7 +19370,7 @@ pub mod express_route_circuits { } } pub mod get_peering_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19438,7 +19438,7 @@ pub mod express_route_circuits { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19507,7 +19507,7 @@ pub mod express_route_circuits { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19531,7 +19531,7 @@ pub mod express_route_circuits { } } pub mod express_route_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -19576,7 +19576,7 @@ pub mod express_route_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19600,7 +19600,7 @@ pub mod express_route_service_providers { } } pub mod virtual_wans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19649,7 +19649,7 @@ pub mod virtual_wans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19730,7 +19730,7 @@ pub mod virtual_wans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualWan), @@ -19810,7 +19810,7 @@ pub mod virtual_wans { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19877,7 +19877,7 @@ pub mod virtual_wans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -19956,7 +19956,7 @@ pub mod virtual_wans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20022,7 +20022,7 @@ pub mod virtual_wans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20046,7 +20046,7 @@ pub mod virtual_wans { } } pub mod vpn_sites { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -20095,7 +20095,7 @@ pub mod vpn_sites { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20176,7 +20176,7 @@ pub mod vpn_sites { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnSite), @@ -20256,7 +20256,7 @@ pub mod vpn_sites { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20323,7 +20323,7 @@ pub mod vpn_sites { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -20402,7 +20402,7 @@ pub mod vpn_sites { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20468,7 +20468,7 @@ pub mod vpn_sites { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20492,7 +20492,7 @@ pub mod vpn_sites { } } pub mod vpn_site_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -20543,7 +20543,7 @@ pub mod vpn_site_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20616,7 +20616,7 @@ pub mod vpn_site_links { } } pub mod list_by_vpn_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20640,7 +20640,7 @@ pub mod vpn_site_links { } } pub mod vpn_sites_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn download( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -20690,7 +20690,7 @@ pub mod vpn_sites_configuration { } } pub mod download { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -20719,7 +20719,7 @@ pub mod vpn_sites_configuration { } } pub mod vpn_server_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -20768,7 +20768,7 @@ pub mod vpn_server_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20849,7 +20849,7 @@ pub mod vpn_server_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnServerConfiguration), @@ -20929,7 +20929,7 @@ pub mod vpn_server_configurations { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20996,7 +20996,7 @@ pub mod vpn_server_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -21075,7 +21075,7 @@ pub mod vpn_server_configurations { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21141,7 +21141,7 @@ pub mod vpn_server_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21165,7 +21165,7 @@ pub mod vpn_server_configurations { } } pub mod virtual_hubs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -21214,7 +21214,7 @@ pub mod virtual_hubs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21295,7 +21295,7 @@ pub mod virtual_hubs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHub), @@ -21375,7 +21375,7 @@ pub mod virtual_hubs { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21442,7 +21442,7 @@ pub mod virtual_hubs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -21521,7 +21521,7 @@ pub mod virtual_hubs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21587,7 +21587,7 @@ pub mod virtual_hubs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21611,7 +21611,7 @@ pub mod virtual_hubs { } } pub mod hub_virtual_network_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -21662,7 +21662,7 @@ pub mod hub_virtual_network_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21732,7 +21732,7 @@ pub mod hub_virtual_network_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21756,7 +21756,7 @@ pub mod hub_virtual_network_connections { } } pub mod vpn_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -21805,7 +21805,7 @@ pub mod vpn_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21886,7 +21886,7 @@ pub mod vpn_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -21966,7 +21966,7 @@ pub mod vpn_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22033,7 +22033,7 @@ pub mod vpn_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22111,7 +22111,7 @@ pub mod vpn_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -22189,7 +22189,7 @@ pub mod vpn_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22255,7 +22255,7 @@ pub mod vpn_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22279,7 +22279,7 @@ pub mod vpn_gateways { } } pub mod vpn_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -22330,7 +22330,7 @@ pub mod vpn_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22413,7 +22413,7 @@ pub mod vpn_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnConnection), @@ -22487,7 +22487,7 @@ pub mod vpn_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22566,7 +22566,7 @@ pub mod vpn_connections { } } pub mod list_by_vpn_gateway { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22590,7 +22590,7 @@ pub mod vpn_connections { } } pub mod vpn_site_link_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -22643,7 +22643,7 @@ pub mod vpn_site_link_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22667,7 +22667,7 @@ pub mod vpn_site_link_connections { } } pub mod vpn_link_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_vpn_connection( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -22723,7 +22723,7 @@ pub mod vpn_link_connections { } } pub mod list_by_vpn_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22747,7 +22747,7 @@ pub mod vpn_link_connections { } } pub mod p2s_vpn_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -22796,7 +22796,7 @@ pub mod p2s_vpn_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22877,7 +22877,7 @@ pub mod p2s_vpn_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -22957,7 +22957,7 @@ pub mod p2s_vpn_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23024,7 +23024,7 @@ pub mod p2s_vpn_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23103,7 +23103,7 @@ pub mod p2s_vpn_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23169,7 +23169,7 @@ pub mod p2s_vpn_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23245,7 +23245,7 @@ pub mod p2s_vpn_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnProfileResponse), @@ -23327,7 +23327,7 @@ pub mod p2s_vpn_gateways { } } pub mod get_p2s_vpn_connection_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -23410,7 +23410,7 @@ pub mod p2s_vpn_gateways { } } pub mod get_p2s_vpn_connection_health_detailed { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnConnectionHealth), @@ -23488,7 +23488,7 @@ pub mod p2s_vpn_gateways { } } pub mod disconnect_p2s_vpn_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23517,7 +23517,7 @@ pub mod p2s_vpn_gateways { } } pub mod vpn_server_configurations_associated_with_virtual_wan { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -23568,7 +23568,7 @@ pub mod vpn_server_configurations_associated_with_virtual_wan { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnServerConfigurationsResponse), @@ -23597,7 +23597,7 @@ pub mod vpn_server_configurations_associated_with_virtual_wan { } } pub mod virtual_hub_route_table_v2s { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -23648,7 +23648,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23731,7 +23731,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHubRouteTableV2), @@ -23805,7 +23805,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23881,7 +23881,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23905,7 +23905,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod express_route_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -23953,7 +23953,7 @@ pub mod express_route_gateways { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24026,7 +24026,7 @@ pub mod express_route_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24096,7 +24096,7 @@ pub mod express_route_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24177,7 +24177,7 @@ pub mod express_route_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteGateway), @@ -24249,7 +24249,7 @@ pub mod express_route_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -24279,7 +24279,7 @@ pub mod express_route_gateways { } } pub mod express_route_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -24330,7 +24330,7 @@ pub mod express_route_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24413,7 +24413,7 @@ pub mod express_route_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteConnection), @@ -24487,7 +24487,7 @@ pub mod express_route_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -24563,7 +24563,7 @@ pub mod express_route_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24587,7 +24587,7 @@ pub mod express_route_connections { } } pub mod virtual_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -24636,7 +24636,7 @@ pub mod virtual_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24717,7 +24717,7 @@ pub mod virtual_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGateway), @@ -24798,7 +24798,7 @@ pub mod virtual_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -24870,7 +24870,7 @@ pub mod virtual_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -24944,7 +24944,7 @@ pub mod virtual_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25017,7 +25017,7 @@ pub mod virtual_network_gateways { } } pub mod list_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25093,7 +25093,7 @@ pub mod virtual_network_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -25170,7 +25170,7 @@ pub mod virtual_network_gateways { } } pub mod reset_vpn_client_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -25253,7 +25253,7 @@ pub mod virtual_network_gateways { } } pub mod generatevpnclientpackage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -25334,7 +25334,7 @@ pub mod virtual_network_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -25416,7 +25416,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpn_profile_package_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -25500,7 +25500,7 @@ pub mod virtual_network_gateways { } } pub mod get_bgp_peer_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BgpPeerStatusListResult), @@ -25581,7 +25581,7 @@ pub mod virtual_network_gateways { } } pub mod supported_vpn_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25656,7 +25656,7 @@ pub mod virtual_network_gateways { } } pub mod get_learned_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -25740,7 +25740,7 @@ pub mod virtual_network_gateways { } } pub mod get_advertised_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -25823,7 +25823,7 @@ pub mod virtual_network_gateways { } } pub mod set_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -25904,7 +25904,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25981,7 +25981,7 @@ pub mod virtual_network_gateways { } } pub mod vpn_device_configuration_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26061,7 +26061,7 @@ pub mod virtual_network_gateways { } } pub mod start_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -26142,7 +26142,7 @@ pub mod virtual_network_gateways { } } pub mod stop_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -26224,7 +26224,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpnclient_connection_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnClientConnectionHealthDetailListResult), @@ -26300,7 +26300,7 @@ pub mod virtual_network_gateways { } } pub mod disconnect_virtual_network_gateway_vpn_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -26329,7 +26329,7 @@ pub mod virtual_network_gateways { } } pub mod virtual_network_gateway_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -26378,7 +26378,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26459,7 +26459,7 @@ pub mod virtual_network_gateway_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGatewayConnection), @@ -26540,7 +26540,7 @@ pub mod virtual_network_gateway_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -26612,7 +26612,7 @@ pub mod virtual_network_gateway_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -26691,7 +26691,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26772,7 +26772,7 @@ pub mod virtual_network_gateway_connections { } } pub mod set_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ConnectionSharedKey), @@ -26845,7 +26845,7 @@ pub mod virtual_network_gateway_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26921,7 +26921,7 @@ pub mod virtual_network_gateway_connections { } } pub mod reset_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionResetSharedKey), @@ -27006,7 +27006,7 @@ pub mod virtual_network_gateway_connections { } } pub mod start_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -27087,7 +27087,7 @@ pub mod virtual_network_gateway_connections { } } pub mod stop_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -27116,7 +27116,7 @@ pub mod virtual_network_gateway_connections { } } pub mod local_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -27165,7 +27165,7 @@ pub mod local_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27246,7 +27246,7 @@ pub mod local_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LocalNetworkGateway), @@ -27326,7 +27326,7 @@ pub mod local_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27393,7 +27393,7 @@ pub mod local_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -27467,7 +27467,7 @@ pub mod local_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27491,7 +27491,7 @@ pub mod local_network_gateways { } } pub mod express_route_cross_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -27536,7 +27536,7 @@ pub mod express_route_cross_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27609,7 +27609,7 @@ pub mod express_route_cross_connections { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27679,7 +27679,7 @@ pub mod express_route_cross_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27754,7 +27754,7 @@ pub mod express_route_cross_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27829,7 +27829,7 @@ pub mod express_route_cross_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27908,7 +27908,7 @@ pub mod express_route_cross_connections { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -27986,7 +27986,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionsRoutesTableSummaryListResult), @@ -28070,7 +28070,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -28099,7 +28099,7 @@ pub mod express_route_cross_connections { } } pub mod express_route_cross_connection_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -28148,7 +28148,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28220,7 +28220,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28303,7 +28303,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionPeering), @@ -28377,7 +28377,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -28407,7 +28407,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod express_route_ports_locations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -28452,7 +28452,7 @@ pub mod express_route_ports_locations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28520,7 +28520,7 @@ pub mod express_route_ports_locations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28544,7 +28544,7 @@ pub mod express_route_ports_locations { } } pub mod express_route_ports { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -28593,7 +28593,7 @@ pub mod express_route_ports { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28674,7 +28674,7 @@ pub mod express_route_ports { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRoutePort), @@ -28754,7 +28754,7 @@ pub mod express_route_ports { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28821,7 +28821,7 @@ pub mod express_route_ports { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -28900,7 +28900,7 @@ pub mod express_route_ports { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28966,7 +28966,7 @@ pub mod express_route_ports { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28990,7 +28990,7 @@ pub mod express_route_ports { } } pub mod express_route_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -29041,7 +29041,7 @@ pub mod express_route_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29111,7 +29111,7 @@ pub mod express_route_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29135,7 +29135,7 @@ pub mod express_route_links { } } pub mod firewall_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -29188,7 +29188,7 @@ pub mod firewall_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29269,7 +29269,7 @@ pub mod firewall_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FirewallPolicy), @@ -29341,7 +29341,7 @@ pub mod firewall_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -29415,7 +29415,7 @@ pub mod firewall_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29484,7 +29484,7 @@ pub mod firewall_policies { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29508,7 +29508,7 @@ pub mod firewall_policies { } } pub mod firewall_policy_rule_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -29559,7 +29559,7 @@ pub mod firewall_policy_rule_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29642,7 +29642,7 @@ pub mod firewall_policy_rule_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FirewallPolicyRuleGroup), @@ -29716,7 +29716,7 @@ pub mod firewall_policy_rule_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -29792,7 +29792,7 @@ pub mod firewall_policy_rule_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29816,7 +29816,7 @@ pub mod firewall_policy_rule_groups { } } pub mod ip_allocations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -29869,7 +29869,7 @@ pub mod ip_allocations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29950,7 +29950,7 @@ pub mod ip_allocations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IpAllocation), @@ -30030,7 +30030,7 @@ pub mod ip_allocations { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30097,7 +30097,7 @@ pub mod ip_allocations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -30169,7 +30169,7 @@ pub mod ip_allocations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30242,7 +30242,7 @@ pub mod ip_allocations { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30266,7 +30266,7 @@ pub mod ip_allocations { } } pub mod ip_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -30319,7 +30319,7 @@ pub mod ip_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30400,7 +30400,7 @@ pub mod ip_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IpGroup), @@ -30480,7 +30480,7 @@ pub mod ip_groups { } } pub mod update_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30547,7 +30547,7 @@ pub mod ip_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -30626,7 +30626,7 @@ pub mod ip_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30692,7 +30692,7 @@ pub mod ip_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30716,7 +30716,7 @@ pub mod ip_groups { } } pub mod nat_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -30769,7 +30769,7 @@ pub mod nat_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30856,7 +30856,7 @@ pub mod nat_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NatGateway), @@ -30937,7 +30937,7 @@ pub mod nat_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31004,7 +31004,7 @@ pub mod nat_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -31079,7 +31079,7 @@ pub mod nat_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31147,7 +31147,7 @@ pub mod nat_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31171,7 +31171,7 @@ pub mod nat_gateways { } } pub mod network_virtual_appliances { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -31224,7 +31224,7 @@ pub mod network_virtual_appliances { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31305,7 +31305,7 @@ pub mod network_virtual_appliances { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkVirtualAppliance), @@ -31385,7 +31385,7 @@ pub mod network_virtual_appliances { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31452,7 +31452,7 @@ pub mod network_virtual_appliances { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -31531,7 +31531,7 @@ pub mod network_virtual_appliances { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31597,7 +31597,7 @@ pub mod network_virtual_appliances { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31621,7 +31621,7 @@ pub mod network_virtual_appliances { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Network/operations", operation_config.base_path(),); @@ -31659,7 +31659,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31683,7 +31683,7 @@ pub mod operations { } } pub mod public_ip_prefixes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -31736,7 +31736,7 @@ pub mod public_ip_prefixes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31817,7 +31817,7 @@ pub mod public_ip_prefixes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpPrefix), @@ -31897,7 +31897,7 @@ pub mod public_ip_prefixes { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31964,7 +31964,7 @@ pub mod public_ip_prefixes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -32039,7 +32039,7 @@ pub mod public_ip_prefixes { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32107,7 +32107,7 @@ pub mod public_ip_prefixes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32131,7 +32131,7 @@ pub mod public_ip_prefixes { } } pub mod route_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -32184,7 +32184,7 @@ pub mod route_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32265,7 +32265,7 @@ pub mod route_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilter), @@ -32345,7 +32345,7 @@ pub mod route_filters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32412,7 +32412,7 @@ pub mod route_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -32491,7 +32491,7 @@ pub mod route_filters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32557,7 +32557,7 @@ pub mod route_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32581,7 +32581,7 @@ pub mod route_filters { } } pub mod route_filter_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -32632,7 +32632,7 @@ pub mod route_filter_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32715,7 +32715,7 @@ pub mod route_filter_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilterRule), @@ -32789,7 +32789,7 @@ pub mod route_filter_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -32868,7 +32868,7 @@ pub mod route_filter_rules { } } pub mod list_by_route_filter { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32892,7 +32892,7 @@ pub mod route_filter_rules { } } pub mod security_partner_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -32941,7 +32941,7 @@ pub mod security_partner_providers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33022,7 +33022,7 @@ pub mod security_partner_providers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(SecurityPartnerProvider), @@ -33102,7 +33102,7 @@ pub mod security_partner_providers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33169,7 +33169,7 @@ pub mod security_partner_providers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -33248,7 +33248,7 @@ pub mod security_partner_providers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33314,7 +33314,7 @@ pub mod security_partner_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33338,7 +33338,7 @@ pub mod security_partner_providers { } } pub mod bgp_service_communities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -33383,7 +33383,7 @@ pub mod bgp_service_communities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33407,7 +33407,7 @@ pub mod bgp_service_communities { } } pub mod service_tags { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -33454,7 +33454,7 @@ pub mod service_tags { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33478,7 +33478,7 @@ pub mod service_tags { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -33525,7 +33525,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33549,7 +33549,7 @@ pub mod usages { } } pub mod virtual_routers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -33602,7 +33602,7 @@ pub mod virtual_routers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33683,7 +33683,7 @@ pub mod virtual_routers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(VirtualRouter), @@ -33755,7 +33755,7 @@ pub mod virtual_routers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -33834,7 +33834,7 @@ pub mod virtual_routers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33900,7 +33900,7 @@ pub mod virtual_routers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33924,7 +33924,7 @@ pub mod virtual_routers { } } pub mod virtual_router_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -33975,7 +33975,7 @@ pub mod virtual_router_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34058,7 +34058,7 @@ pub mod virtual_router_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(VirtualRouterPeering), @@ -34132,7 +34132,7 @@ pub mod virtual_router_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -34208,7 +34208,7 @@ pub mod virtual_router_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34232,7 +34232,7 @@ pub mod virtual_router_peerings { } } pub mod web_application_firewall_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -34279,7 +34279,7 @@ pub mod web_application_firewall_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34348,7 +34348,7 @@ pub mod web_application_firewall_policies { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34418,7 +34418,7 @@ pub mod web_application_firewall_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34499,7 +34499,7 @@ pub mod web_application_firewall_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WebApplicationFirewallPolicy), @@ -34571,7 +34571,7 @@ pub mod web_application_firewall_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, diff --git a/services/mgmt/network/src/package_2020_04/operations.rs b/services/mgmt/network/src/package_2020_04/operations.rs index 994ad5be88..2dfbb4d66f 100644 --- a/services/mgmt/network/src/package_2020_04/operations.rs +++ b/services/mgmt/network/src/package_2020_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod application_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod application_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod application_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationGateway), @@ -214,7 +214,7 @@ pub mod application_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -281,7 +281,7 @@ pub mod application_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -355,7 +355,7 @@ pub mod application_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -424,7 +424,7 @@ pub mod application_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -491,7 +491,7 @@ pub mod application_gateways { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -563,7 +563,7 @@ pub mod application_gateways { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -647,7 +647,7 @@ pub mod application_gateways { } } pub mod backend_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealth), @@ -734,7 +734,7 @@ pub mod application_gateways { } } pub mod backend_health_on_demand { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealthOnDemand), @@ -810,7 +810,7 @@ pub mod application_gateways { } } pub mod list_available_server_variables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -881,7 +881,7 @@ pub mod application_gateways { } } pub mod list_available_request_headers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -952,7 +952,7 @@ pub mod application_gateways { } } pub mod list_available_response_headers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1023,7 +1023,7 @@ pub mod application_gateways { } } pub mod list_available_waf_rule_sets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1094,7 +1094,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_options { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1165,7 +1165,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_predefined_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1238,7 +1238,7 @@ pub mod application_gateways { } } pub mod get_ssl_predefined_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1262,7 +1262,7 @@ pub mod application_gateways { } } pub mod network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1315,7 +1315,7 @@ pub mod network_interfaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1396,7 +1396,7 @@ pub mod network_interfaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkInterface), @@ -1476,7 +1476,7 @@ pub mod network_interfaces { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1543,7 +1543,7 @@ pub mod network_interfaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1618,7 +1618,7 @@ pub mod network_interfaces { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1686,7 +1686,7 @@ pub mod network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1763,7 +1763,7 @@ pub mod network_interfaces { } } pub mod get_effective_route_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveRouteListResult), @@ -1845,7 +1845,7 @@ pub mod network_interfaces { } } pub mod list_effective_network_security_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveNetworkSecurityGroupListResult), @@ -1922,7 +1922,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_vm_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1999,7 +1999,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2074,7 +2074,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_network_interface { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2151,7 +2151,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_ip_configurations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2227,7 +2227,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_ip_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2251,7 +2251,7 @@ pub mod network_interfaces { } } pub mod network_interface_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2300,7 +2300,7 @@ pub mod network_interface_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2372,7 +2372,7 @@ pub mod network_interface_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2396,7 +2396,7 @@ pub mod network_interface_ip_configurations { } } pub mod network_interface_load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2445,7 +2445,7 @@ pub mod network_interface_load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2469,7 +2469,7 @@ pub mod network_interface_load_balancers { } } pub mod network_interface_tap_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2520,7 +2520,7 @@ pub mod network_interface_tap_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2603,7 +2603,7 @@ pub mod network_interface_tap_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkInterfaceTapConfiguration), @@ -2677,7 +2677,7 @@ pub mod network_interface_tap_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2753,7 +2753,7 @@ pub mod network_interface_tap_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2777,7 +2777,7 @@ pub mod network_interface_tap_configurations { } } pub mod virtual_network_taps { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2826,7 +2826,7 @@ pub mod virtual_network_taps { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2907,7 +2907,7 @@ pub mod virtual_network_taps { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkTap), @@ -2987,7 +2987,7 @@ pub mod virtual_network_taps { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3054,7 +3054,7 @@ pub mod virtual_network_taps { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3129,7 +3129,7 @@ pub mod virtual_network_taps { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3202,7 +3202,7 @@ pub mod virtual_network_taps { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3226,7 +3226,7 @@ pub mod virtual_network_taps { } } pub mod load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3279,7 +3279,7 @@ pub mod load_balancers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3360,7 +3360,7 @@ pub mod load_balancers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoadBalancer), @@ -3440,7 +3440,7 @@ pub mod load_balancers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3507,7 +3507,7 @@ pub mod load_balancers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -3582,7 +3582,7 @@ pub mod load_balancers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3650,7 +3650,7 @@ pub mod load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3674,7 +3674,7 @@ pub mod load_balancers { } } pub mod load_balancer_backend_address_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3723,7 +3723,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3795,7 +3795,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3878,7 +3878,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(BackendAddressPool), @@ -3952,7 +3952,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -3982,7 +3982,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod load_balancer_frontend_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4031,7 +4031,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4103,7 +4103,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4127,7 +4127,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod inbound_nat_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4176,7 +4176,7 @@ pub mod inbound_nat_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4252,7 +4252,7 @@ pub mod inbound_nat_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4335,7 +4335,7 @@ pub mod inbound_nat_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(InboundNatRule), @@ -4409,7 +4409,7 @@ pub mod inbound_nat_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4439,7 +4439,7 @@ pub mod inbound_nat_rules { } } pub mod load_balancer_load_balancing_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4488,7 +4488,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4560,7 +4560,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4584,7 +4584,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod load_balancer_outbound_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4633,7 +4633,7 @@ pub mod load_balancer_outbound_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4705,7 +4705,7 @@ pub mod load_balancer_outbound_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4729,7 +4729,7 @@ pub mod load_balancer_outbound_rules { } } pub mod load_balancer_network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4778,7 +4778,7 @@ pub mod load_balancer_network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4802,7 +4802,7 @@ pub mod load_balancer_network_interfaces { } } pub mod load_balancer_probes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4851,7 +4851,7 @@ pub mod load_balancer_probes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4923,7 +4923,7 @@ pub mod load_balancer_probes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4947,7 +4947,7 @@ pub mod load_balancer_probes { } } pub mod virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5000,7 +5000,7 @@ pub mod virtual_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5081,7 +5081,7 @@ pub mod virtual_networks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetwork), @@ -5161,7 +5161,7 @@ pub mod virtual_networks { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5228,7 +5228,7 @@ pub mod virtual_networks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5303,7 +5303,7 @@ pub mod virtual_networks { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5371,7 +5371,7 @@ pub mod virtual_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5448,7 +5448,7 @@ pub mod virtual_networks { } } pub mod check_ip_address_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5521,7 +5521,7 @@ pub mod virtual_networks { } } pub mod list_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5545,7 +5545,7 @@ pub mod virtual_networks { } } pub mod subnets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5600,7 +5600,7 @@ pub mod subnets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5683,7 +5683,7 @@ pub mod subnets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Subnet), @@ -5757,7 +5757,7 @@ pub mod subnets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5839,7 +5839,7 @@ pub mod subnets { } } pub mod prepare_network_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5920,7 +5920,7 @@ pub mod subnets { } } pub mod unprepare_network_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5995,7 +5995,7 @@ pub mod subnets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6019,7 +6019,7 @@ pub mod subnets { } } pub mod resource_navigation_links { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6070,7 +6070,7 @@ pub mod resource_navigation_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6094,7 +6094,7 @@ pub mod resource_navigation_links { } } pub mod service_association_links { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6145,7 +6145,7 @@ pub mod service_association_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6169,7 +6169,7 @@ pub mod service_association_links { } } pub mod virtual_network_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6220,7 +6220,7 @@ pub mod virtual_network_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6303,7 +6303,7 @@ pub mod virtual_network_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkPeering), @@ -6377,7 +6377,7 @@ pub mod virtual_network_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6453,7 +6453,7 @@ pub mod virtual_network_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6477,7 +6477,7 @@ pub mod virtual_network_peerings { } } pub mod network_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6530,7 +6530,7 @@ pub mod network_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6611,7 +6611,7 @@ pub mod network_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkSecurityGroup), @@ -6691,7 +6691,7 @@ pub mod network_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6758,7 +6758,7 @@ pub mod network_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6833,7 +6833,7 @@ pub mod network_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6901,7 +6901,7 @@ pub mod network_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6925,7 +6925,7 @@ pub mod network_security_groups { } } pub mod security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6976,7 +6976,7 @@ pub mod security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7059,7 +7059,7 @@ pub mod security_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityRule), @@ -7133,7 +7133,7 @@ pub mod security_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -7209,7 +7209,7 @@ pub mod security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7233,7 +7233,7 @@ pub mod security_rules { } } pub mod default_security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7282,7 +7282,7 @@ pub mod default_security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7354,7 +7354,7 @@ pub mod default_security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7378,7 +7378,7 @@ pub mod default_security_rules { } } pub mod application_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7427,7 +7427,7 @@ pub mod application_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7508,7 +7508,7 @@ pub mod application_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationSecurityGroup), @@ -7588,7 +7588,7 @@ pub mod application_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7655,7 +7655,7 @@ pub mod application_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -7730,7 +7730,7 @@ pub mod application_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7798,7 +7798,7 @@ pub mod application_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7822,7 +7822,7 @@ pub mod application_security_groups { } } pub mod network_watchers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7871,7 +7871,7 @@ pub mod network_watchers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7952,7 +7952,7 @@ pub mod network_watchers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkWatcher), @@ -8032,7 +8032,7 @@ pub mod network_watchers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8098,7 +8098,7 @@ pub mod network_watchers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8171,7 +8171,7 @@ pub mod network_watchers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8240,7 +8240,7 @@ pub mod network_watchers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8315,7 +8315,7 @@ pub mod network_watchers { } } pub mod get_topology { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8396,7 +8396,7 @@ pub mod network_watchers { } } pub mod verify_ip_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VerificationIpFlowResult), @@ -8482,7 +8482,7 @@ pub mod network_watchers { } } pub mod get_next_hop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NextHopResult), @@ -8570,7 +8570,7 @@ pub mod network_watchers { } } pub mod get_vm_security_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityGroupViewResult), @@ -8656,7 +8656,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -8744,7 +8744,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -8832,7 +8832,7 @@ pub mod network_watchers { } } pub mod set_flow_log_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -8918,7 +8918,7 @@ pub mod network_watchers { } } pub mod get_flow_log_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -9004,7 +9004,7 @@ pub mod network_watchers { } } pub mod check_connectivity { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectivityInformation), @@ -9092,7 +9092,7 @@ pub mod network_watchers { } } pub mod get_azure_reachability_report { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AzureReachabilityReport), @@ -9180,7 +9180,7 @@ pub mod network_watchers { } } pub mod list_available_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AvailableProvidersList), @@ -9268,7 +9268,7 @@ pub mod network_watchers { } } pub mod get_network_configuration_diagnostic { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkConfigurationDiagnosticResponse), @@ -9297,7 +9297,7 @@ pub mod network_watchers { } } pub mod packet_captures { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9348,7 +9348,7 @@ pub mod packet_captures { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9422,7 +9422,7 @@ pub mod packet_captures { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9490,7 +9490,7 @@ pub mod packet_captures { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -9564,7 +9564,7 @@ pub mod packet_captures { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9651,7 +9651,7 @@ pub mod packet_captures { } } pub mod get_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PacketCaptureQueryStatusResult), @@ -9726,7 +9726,7 @@ pub mod packet_captures { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9750,7 +9750,7 @@ pub mod packet_captures { } } pub mod connection_monitors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9801,7 +9801,7 @@ pub mod connection_monitors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9884,7 +9884,7 @@ pub mod connection_monitors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorResult), @@ -9966,7 +9966,7 @@ pub mod connection_monitors { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10034,7 +10034,7 @@ pub mod connection_monitors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -10108,7 +10108,7 @@ pub mod connection_monitors { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10182,7 +10182,7 @@ pub mod connection_monitors { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10266,7 +10266,7 @@ pub mod connection_monitors { } } pub mod query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorQueryResult), @@ -10341,7 +10341,7 @@ pub mod connection_monitors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10365,7 +10365,7 @@ pub mod connection_monitors { } } pub mod flow_logs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10416,7 +10416,7 @@ pub mod flow_logs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10499,7 +10499,7 @@ pub mod flow_logs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FlowLog), @@ -10572,7 +10572,7 @@ pub mod flow_logs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -10647,7 +10647,7 @@ pub mod flow_logs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10671,7 +10671,7 @@ pub mod flow_logs { } } pub mod route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10724,7 +10724,7 @@ pub mod route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10805,7 +10805,7 @@ pub mod route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteTable), @@ -10885,7 +10885,7 @@ pub mod route_tables { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10952,7 +10952,7 @@ pub mod route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -11026,7 +11026,7 @@ pub mod route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11095,7 +11095,7 @@ pub mod route_tables { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11119,7 +11119,7 @@ pub mod route_tables { } } pub mod routes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11170,7 +11170,7 @@ pub mod routes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11253,7 +11253,7 @@ pub mod routes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Route), @@ -11327,7 +11327,7 @@ pub mod routes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -11403,7 +11403,7 @@ pub mod routes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11427,7 +11427,7 @@ pub mod routes { } } pub mod service_endpoint_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11480,7 +11480,7 @@ pub mod service_endpoint_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11561,7 +11561,7 @@ pub mod service_endpoint_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ServiceEndpointPolicy), @@ -11641,7 +11641,7 @@ pub mod service_endpoint_policies { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11708,7 +11708,7 @@ pub mod service_endpoint_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -11780,7 +11780,7 @@ pub mod service_endpoint_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11853,7 +11853,7 @@ pub mod service_endpoint_policies { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11877,7 +11877,7 @@ pub mod service_endpoint_policies { } } pub mod service_endpoint_policy_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11921,7 +11921,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11997,7 +11997,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServiceEndpointPolicyDefinition), @@ -12064,7 +12064,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -12145,7 +12145,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12169,7 +12169,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod private_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12222,7 +12222,7 @@ pub mod private_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12303,7 +12303,7 @@ pub mod private_endpoints { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpoint), @@ -12375,7 +12375,7 @@ pub mod private_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -12449,7 +12449,7 @@ pub mod private_endpoints { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12518,7 +12518,7 @@ pub mod private_endpoints { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12542,7 +12542,7 @@ pub mod private_endpoints { } } pub mod available_private_endpoint_types { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -12589,7 +12589,7 @@ pub mod available_private_endpoint_types { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12664,7 +12664,7 @@ pub mod available_private_endpoint_types { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12688,7 +12688,7 @@ pub mod available_private_endpoint_types { } } pub mod private_dns_zone_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12739,7 +12739,7 @@ pub mod private_dns_zone_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12822,7 +12822,7 @@ pub mod private_dns_zone_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateDnsZoneGroup), @@ -12896,7 +12896,7 @@ pub mod private_dns_zone_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -12972,7 +12972,7 @@ pub mod private_dns_zone_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12996,7 +12996,7 @@ pub mod private_dns_zone_groups { } } pub mod private_link_services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13049,7 +13049,7 @@ pub mod private_link_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13130,7 +13130,7 @@ pub mod private_link_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkService), @@ -13202,7 +13202,7 @@ pub mod private_link_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -13276,7 +13276,7 @@ pub mod private_link_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13345,7 +13345,7 @@ pub mod private_link_services { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13426,7 +13426,7 @@ pub mod private_link_services { } } pub mod get_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13505,7 +13505,7 @@ pub mod private_link_services { } } pub mod update_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13579,7 +13579,7 @@ pub mod private_link_services { } } pub mod delete_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -13660,7 +13660,7 @@ pub mod private_link_services { } } pub mod list_private_endpoint_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13736,7 +13736,7 @@ pub mod private_link_services { } } pub mod check_private_link_service_visibility { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServiceVisibility), @@ -13825,7 +13825,7 @@ pub mod private_link_services { } } pub mod check_private_link_service_visibility_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServiceVisibility), @@ -13903,7 +13903,7 @@ pub mod private_link_services { } } pub mod list_auto_approved_private_link_services { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13980,7 +13980,7 @@ pub mod private_link_services { } } pub mod list_auto_approved_private_link_services_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14004,7 +14004,7 @@ pub mod private_link_services { } } pub mod network_profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14057,7 +14057,7 @@ pub mod network_profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14138,7 +14138,7 @@ pub mod network_profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkProfile), @@ -14218,7 +14218,7 @@ pub mod network_profiles { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14285,7 +14285,7 @@ pub mod network_profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -14360,7 +14360,7 @@ pub mod network_profiles { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14428,7 +14428,7 @@ pub mod network_profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14452,7 +14452,7 @@ pub mod network_profiles { } } pub mod public_ip_addresses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14505,7 +14505,7 @@ pub mod public_ip_addresses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14586,7 +14586,7 @@ pub mod public_ip_addresses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpAddress), @@ -14666,7 +14666,7 @@ pub mod public_ip_addresses { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14733,7 +14733,7 @@ pub mod public_ip_addresses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -14808,7 +14808,7 @@ pub mod public_ip_addresses { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14876,7 +14876,7 @@ pub mod public_ip_addresses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14953,7 +14953,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15027,7 +15027,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_vm_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15104,7 +15104,7 @@ pub mod public_ip_addresses { } } pub mod get_virtual_machine_scale_set_public_ip_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15128,7 +15128,7 @@ pub mod public_ip_addresses { } } pub mod available_delegations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -15175,7 +15175,7 @@ pub mod available_delegations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15199,7 +15199,7 @@ pub mod available_delegations { } } pub mod available_resource_group_delegations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -15248,7 +15248,7 @@ pub mod available_resource_group_delegations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15272,7 +15272,7 @@ pub mod available_resource_group_delegations { } } pub mod available_service_aliases { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -15319,7 +15319,7 @@ pub mod available_service_aliases { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15394,7 +15394,7 @@ pub mod available_service_aliases { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15418,7 +15418,7 @@ pub mod available_service_aliases { } } pub mod azure_firewalls { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15467,7 +15467,7 @@ pub mod azure_firewalls { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15548,7 +15548,7 @@ pub mod azure_firewalls { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(AzureFirewall), @@ -15629,7 +15629,7 @@ pub mod azure_firewalls { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -15701,7 +15701,7 @@ pub mod azure_firewalls { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -15775,7 +15775,7 @@ pub mod azure_firewalls { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15844,7 +15844,7 @@ pub mod azure_firewalls { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15868,7 +15868,7 @@ pub mod azure_firewalls { } } pub mod azure_firewall_fqdn_tags { - use crate::models::*; + use super::{models, models::*}; pub async fn list_all( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -15916,7 +15916,7 @@ pub mod azure_firewall_fqdn_tags { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15940,7 +15940,7 @@ pub mod azure_firewall_fqdn_tags { } } pub mod bastion_hosts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15989,7 +15989,7 @@ pub mod bastion_hosts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16070,7 +16070,7 @@ pub mod bastion_hosts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(BastionHost), @@ -16142,7 +16142,7 @@ pub mod bastion_hosts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -16214,7 +16214,7 @@ pub mod bastion_hosts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16287,7 +16287,7 @@ pub mod bastion_hosts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16366,7 +16366,7 @@ pub async fn put_bastion_shareable_link( } } pub mod put_bastion_shareable_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BastionShareableLinkListResult), @@ -16444,7 +16444,7 @@ pub async fn delete_bastion_shareable_link( } } pub mod delete_bastion_shareable_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -16526,7 +16526,7 @@ pub async fn get_bastion_shareable_link( } } pub mod get_bastion_shareable_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16601,7 +16601,7 @@ pub async fn get_active_sessions( } } pub mod get_active_sessions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BastionActiveSessionListResult), @@ -16683,7 +16683,7 @@ pub async fn disconnect_active_sessions( } } pub mod disconnect_active_sessions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16758,7 +16758,7 @@ pub async fn check_dns_name_availability( } } pub mod check_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16833,7 +16833,7 @@ pub async fn supported_security_providers( } } pub mod supported_security_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16915,7 +16915,7 @@ pub async fn generatevirtualwanvpnserverconfigurationvpnprofile( } } pub mod generatevirtualwanvpnserverconfigurationvpnprofile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnProfileResponse), @@ -16943,7 +16943,7 @@ pub mod generatevirtualwanvpnserverconfigurationvpnprofile { } } pub mod ddos_custom_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16992,7 +16992,7 @@ pub mod ddos_custom_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17073,7 +17073,7 @@ pub mod ddos_custom_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DdosCustomPolicy), @@ -17153,7 +17153,7 @@ pub mod ddos_custom_policies { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17220,7 +17220,7 @@ pub mod ddos_custom_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -17250,7 +17250,7 @@ pub mod ddos_custom_policies { } } pub mod ddos_protection_plans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17299,7 +17299,7 @@ pub mod ddos_protection_plans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17380,7 +17380,7 @@ pub mod ddos_protection_plans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DdosProtectionPlan), @@ -17460,7 +17460,7 @@ pub mod ddos_protection_plans { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17527,7 +17527,7 @@ pub mod ddos_protection_plans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -17599,7 +17599,7 @@ pub mod ddos_protection_plans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17672,7 +17672,7 @@ pub mod ddos_protection_plans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17696,7 +17696,7 @@ pub mod ddos_protection_plans { } } pub mod available_endpoint_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -17743,7 +17743,7 @@ pub mod available_endpoint_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17767,7 +17767,7 @@ pub mod available_endpoint_services { } } pub mod express_route_circuit_authorizations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17818,7 +17818,7 @@ pub mod express_route_circuit_authorizations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17901,7 +17901,7 @@ pub mod express_route_circuit_authorizations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuitAuthorization), @@ -17975,7 +17975,7 @@ pub mod express_route_circuit_authorizations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -18051,7 +18051,7 @@ pub mod express_route_circuit_authorizations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18075,7 +18075,7 @@ pub mod express_route_circuit_authorizations { } } pub mod express_route_circuit_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18126,7 +18126,7 @@ pub mod express_route_circuit_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18209,7 +18209,7 @@ pub mod express_route_circuit_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitPeering), @@ -18283,7 +18283,7 @@ pub mod express_route_circuit_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -18359,7 +18359,7 @@ pub mod express_route_circuit_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18383,7 +18383,7 @@ pub mod express_route_circuit_peerings { } } pub mod express_route_circuit_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18436,7 +18436,7 @@ pub mod express_route_circuit_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18521,7 +18521,7 @@ pub mod express_route_circuit_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitConnection), @@ -18597,7 +18597,7 @@ pub mod express_route_circuit_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -18675,7 +18675,7 @@ pub mod express_route_circuit_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18699,7 +18699,7 @@ pub mod express_route_circuit_connections { } } pub mod peer_express_route_circuit_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18752,7 +18752,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18824,7 +18824,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18848,7 +18848,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod express_route_circuits { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18897,7 +18897,7 @@ pub mod express_route_circuits { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18978,7 +18978,7 @@ pub mod express_route_circuits { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuit), @@ -19058,7 +19058,7 @@ pub mod express_route_circuits { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19125,7 +19125,7 @@ pub mod express_route_circuits { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -19210,7 +19210,7 @@ pub mod express_route_circuits { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -19294,7 +19294,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -19380,7 +19380,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableSummaryListResult), @@ -19458,7 +19458,7 @@ pub mod express_route_circuits { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19533,7 +19533,7 @@ pub mod express_route_circuits { } } pub mod get_peering_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19601,7 +19601,7 @@ pub mod express_route_circuits { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19670,7 +19670,7 @@ pub mod express_route_circuits { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19694,7 +19694,7 @@ pub mod express_route_circuits { } } pub mod express_route_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -19739,7 +19739,7 @@ pub mod express_route_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19763,7 +19763,7 @@ pub mod express_route_service_providers { } } pub mod virtual_wans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19812,7 +19812,7 @@ pub mod virtual_wans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19893,7 +19893,7 @@ pub mod virtual_wans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualWan), @@ -19973,7 +19973,7 @@ pub mod virtual_wans { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20040,7 +20040,7 @@ pub mod virtual_wans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -20119,7 +20119,7 @@ pub mod virtual_wans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20185,7 +20185,7 @@ pub mod virtual_wans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20209,7 +20209,7 @@ pub mod virtual_wans { } } pub mod vpn_sites { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -20258,7 +20258,7 @@ pub mod vpn_sites { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20339,7 +20339,7 @@ pub mod vpn_sites { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnSite), @@ -20419,7 +20419,7 @@ pub mod vpn_sites { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20486,7 +20486,7 @@ pub mod vpn_sites { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -20565,7 +20565,7 @@ pub mod vpn_sites { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20631,7 +20631,7 @@ pub mod vpn_sites { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20655,7 +20655,7 @@ pub mod vpn_sites { } } pub mod vpn_site_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -20706,7 +20706,7 @@ pub mod vpn_site_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20779,7 +20779,7 @@ pub mod vpn_site_links { } } pub mod list_by_vpn_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20803,7 +20803,7 @@ pub mod vpn_site_links { } } pub mod vpn_sites_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn download( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -20853,7 +20853,7 @@ pub mod vpn_sites_configuration { } } pub mod download { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -20882,7 +20882,7 @@ pub mod vpn_sites_configuration { } } pub mod vpn_server_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -20931,7 +20931,7 @@ pub mod vpn_server_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21012,7 +21012,7 @@ pub mod vpn_server_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnServerConfiguration), @@ -21092,7 +21092,7 @@ pub mod vpn_server_configurations { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21159,7 +21159,7 @@ pub mod vpn_server_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -21238,7 +21238,7 @@ pub mod vpn_server_configurations { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21304,7 +21304,7 @@ pub mod vpn_server_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21328,7 +21328,7 @@ pub mod vpn_server_configurations { } } pub mod virtual_hubs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -21377,7 +21377,7 @@ pub mod virtual_hubs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21458,7 +21458,7 @@ pub mod virtual_hubs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHub), @@ -21538,7 +21538,7 @@ pub mod virtual_hubs { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21605,7 +21605,7 @@ pub mod virtual_hubs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -21684,7 +21684,7 @@ pub mod virtual_hubs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21750,7 +21750,7 @@ pub mod virtual_hubs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21774,7 +21774,7 @@ pub mod virtual_hubs { } } pub mod hub_virtual_network_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -21825,7 +21825,7 @@ pub mod hub_virtual_network_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21895,7 +21895,7 @@ pub mod hub_virtual_network_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21919,7 +21919,7 @@ pub mod hub_virtual_network_connections { } } pub mod vpn_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -21968,7 +21968,7 @@ pub mod vpn_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22049,7 +22049,7 @@ pub mod vpn_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -22129,7 +22129,7 @@ pub mod vpn_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22196,7 +22196,7 @@ pub mod vpn_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22274,7 +22274,7 @@ pub mod vpn_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -22352,7 +22352,7 @@ pub mod vpn_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22418,7 +22418,7 @@ pub mod vpn_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22442,7 +22442,7 @@ pub mod vpn_gateways { } } pub mod vpn_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -22493,7 +22493,7 @@ pub mod vpn_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22576,7 +22576,7 @@ pub mod vpn_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnConnection), @@ -22650,7 +22650,7 @@ pub mod vpn_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22729,7 +22729,7 @@ pub mod vpn_connections { } } pub mod list_by_vpn_gateway { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22753,7 +22753,7 @@ pub mod vpn_connections { } } pub mod vpn_site_link_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -22806,7 +22806,7 @@ pub mod vpn_site_link_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22830,7 +22830,7 @@ pub mod vpn_site_link_connections { } } pub mod vpn_link_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_vpn_connection( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -22886,7 +22886,7 @@ pub mod vpn_link_connections { } } pub mod list_by_vpn_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22910,7 +22910,7 @@ pub mod vpn_link_connections { } } pub mod p2s_vpn_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -22959,7 +22959,7 @@ pub mod p2s_vpn_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23040,7 +23040,7 @@ pub mod p2s_vpn_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -23120,7 +23120,7 @@ pub mod p2s_vpn_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23187,7 +23187,7 @@ pub mod p2s_vpn_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23266,7 +23266,7 @@ pub mod p2s_vpn_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23332,7 +23332,7 @@ pub mod p2s_vpn_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23408,7 +23408,7 @@ pub mod p2s_vpn_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnProfileResponse), @@ -23490,7 +23490,7 @@ pub mod p2s_vpn_gateways { } } pub mod get_p2s_vpn_connection_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -23573,7 +23573,7 @@ pub mod p2s_vpn_gateways { } } pub mod get_p2s_vpn_connection_health_detailed { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnConnectionHealth), @@ -23651,7 +23651,7 @@ pub mod p2s_vpn_gateways { } } pub mod disconnect_p2s_vpn_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23680,7 +23680,7 @@ pub mod p2s_vpn_gateways { } } pub mod vpn_server_configurations_associated_with_virtual_wan { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -23731,7 +23731,7 @@ pub mod vpn_server_configurations_associated_with_virtual_wan { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnServerConfigurationsResponse), @@ -23760,7 +23760,7 @@ pub mod vpn_server_configurations_associated_with_virtual_wan { } } pub mod virtual_hub_route_table_v2s { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -23811,7 +23811,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23894,7 +23894,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHubRouteTableV2), @@ -23968,7 +23968,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -24044,7 +24044,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24068,7 +24068,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod express_route_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -24116,7 +24116,7 @@ pub mod express_route_gateways { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24189,7 +24189,7 @@ pub mod express_route_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24259,7 +24259,7 @@ pub mod express_route_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24340,7 +24340,7 @@ pub mod express_route_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteGateway), @@ -24412,7 +24412,7 @@ pub mod express_route_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -24442,7 +24442,7 @@ pub mod express_route_gateways { } } pub mod express_route_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -24493,7 +24493,7 @@ pub mod express_route_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24576,7 +24576,7 @@ pub mod express_route_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteConnection), @@ -24650,7 +24650,7 @@ pub mod express_route_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -24726,7 +24726,7 @@ pub mod express_route_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24750,7 +24750,7 @@ pub mod express_route_connections { } } pub mod hub_route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -24801,7 +24801,7 @@ pub mod hub_route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24884,7 +24884,7 @@ pub mod hub_route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HubRouteTable), @@ -24958,7 +24958,7 @@ pub mod hub_route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -25034,7 +25034,7 @@ pub mod hub_route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25058,7 +25058,7 @@ pub mod hub_route_tables { } } pub mod virtual_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -25107,7 +25107,7 @@ pub mod virtual_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25188,7 +25188,7 @@ pub mod virtual_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGateway), @@ -25269,7 +25269,7 @@ pub mod virtual_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -25341,7 +25341,7 @@ pub mod virtual_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -25415,7 +25415,7 @@ pub mod virtual_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25488,7 +25488,7 @@ pub mod virtual_network_gateways { } } pub mod list_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25564,7 +25564,7 @@ pub mod virtual_network_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -25641,7 +25641,7 @@ pub mod virtual_network_gateways { } } pub mod reset_vpn_client_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -25724,7 +25724,7 @@ pub mod virtual_network_gateways { } } pub mod generatevpnclientpackage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -25805,7 +25805,7 @@ pub mod virtual_network_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -25887,7 +25887,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpn_profile_package_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -25971,7 +25971,7 @@ pub mod virtual_network_gateways { } } pub mod get_bgp_peer_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BgpPeerStatusListResult), @@ -26052,7 +26052,7 @@ pub mod virtual_network_gateways { } } pub mod supported_vpn_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26127,7 +26127,7 @@ pub mod virtual_network_gateways { } } pub mod get_learned_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -26211,7 +26211,7 @@ pub mod virtual_network_gateways { } } pub mod get_advertised_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -26294,7 +26294,7 @@ pub mod virtual_network_gateways { } } pub mod set_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -26375,7 +26375,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26452,7 +26452,7 @@ pub mod virtual_network_gateways { } } pub mod vpn_device_configuration_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26532,7 +26532,7 @@ pub mod virtual_network_gateways { } } pub mod start_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -26613,7 +26613,7 @@ pub mod virtual_network_gateways { } } pub mod stop_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -26695,7 +26695,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpnclient_connection_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnClientConnectionHealthDetailListResult), @@ -26771,7 +26771,7 @@ pub mod virtual_network_gateways { } } pub mod disconnect_virtual_network_gateway_vpn_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -26800,7 +26800,7 @@ pub mod virtual_network_gateways { } } pub mod virtual_network_gateway_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -26849,7 +26849,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26930,7 +26930,7 @@ pub mod virtual_network_gateway_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGatewayConnection), @@ -27011,7 +27011,7 @@ pub mod virtual_network_gateway_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -27083,7 +27083,7 @@ pub mod virtual_network_gateway_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -27162,7 +27162,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27243,7 +27243,7 @@ pub mod virtual_network_gateway_connections { } } pub mod set_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ConnectionSharedKey), @@ -27316,7 +27316,7 @@ pub mod virtual_network_gateway_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27392,7 +27392,7 @@ pub mod virtual_network_gateway_connections { } } pub mod reset_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionResetSharedKey), @@ -27477,7 +27477,7 @@ pub mod virtual_network_gateway_connections { } } pub mod start_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -27558,7 +27558,7 @@ pub mod virtual_network_gateway_connections { } } pub mod stop_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -27587,7 +27587,7 @@ pub mod virtual_network_gateway_connections { } } pub mod local_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -27636,7 +27636,7 @@ pub mod local_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27717,7 +27717,7 @@ pub mod local_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LocalNetworkGateway), @@ -27797,7 +27797,7 @@ pub mod local_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27864,7 +27864,7 @@ pub mod local_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -27938,7 +27938,7 @@ pub mod local_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27962,7 +27962,7 @@ pub mod local_network_gateways { } } pub mod express_route_cross_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -28007,7 +28007,7 @@ pub mod express_route_cross_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28080,7 +28080,7 @@ pub mod express_route_cross_connections { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28150,7 +28150,7 @@ pub mod express_route_cross_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28225,7 +28225,7 @@ pub mod express_route_cross_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28300,7 +28300,7 @@ pub mod express_route_cross_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28379,7 +28379,7 @@ pub mod express_route_cross_connections { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -28457,7 +28457,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionsRoutesTableSummaryListResult), @@ -28541,7 +28541,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -28570,7 +28570,7 @@ pub mod express_route_cross_connections { } } pub mod express_route_cross_connection_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -28619,7 +28619,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28691,7 +28691,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28774,7 +28774,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionPeering), @@ -28848,7 +28848,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -28878,7 +28878,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod express_route_ports_locations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -28923,7 +28923,7 @@ pub mod express_route_ports_locations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28991,7 +28991,7 @@ pub mod express_route_ports_locations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29015,7 +29015,7 @@ pub mod express_route_ports_locations { } } pub mod express_route_ports { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -29064,7 +29064,7 @@ pub mod express_route_ports { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29145,7 +29145,7 @@ pub mod express_route_ports { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRoutePort), @@ -29225,7 +29225,7 @@ pub mod express_route_ports { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29292,7 +29292,7 @@ pub mod express_route_ports { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -29371,7 +29371,7 @@ pub mod express_route_ports { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29437,7 +29437,7 @@ pub mod express_route_ports { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29461,7 +29461,7 @@ pub mod express_route_ports { } } pub mod express_route_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -29512,7 +29512,7 @@ pub mod express_route_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29582,7 +29582,7 @@ pub mod express_route_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29606,7 +29606,7 @@ pub mod express_route_links { } } pub mod firewall_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -29659,7 +29659,7 @@ pub mod firewall_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29740,7 +29740,7 @@ pub mod firewall_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FirewallPolicy), @@ -29812,7 +29812,7 @@ pub mod firewall_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -29886,7 +29886,7 @@ pub mod firewall_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29955,7 +29955,7 @@ pub mod firewall_policies { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29979,7 +29979,7 @@ pub mod firewall_policies { } } pub mod firewall_policy_rule_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -30030,7 +30030,7 @@ pub mod firewall_policy_rule_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30113,7 +30113,7 @@ pub mod firewall_policy_rule_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FirewallPolicyRuleGroup), @@ -30187,7 +30187,7 @@ pub mod firewall_policy_rule_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -30263,7 +30263,7 @@ pub mod firewall_policy_rule_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30287,7 +30287,7 @@ pub mod firewall_policy_rule_groups { } } pub mod ip_allocations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -30340,7 +30340,7 @@ pub mod ip_allocations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30421,7 +30421,7 @@ pub mod ip_allocations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IpAllocation), @@ -30501,7 +30501,7 @@ pub mod ip_allocations { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30568,7 +30568,7 @@ pub mod ip_allocations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -30640,7 +30640,7 @@ pub mod ip_allocations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30713,7 +30713,7 @@ pub mod ip_allocations { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30737,7 +30737,7 @@ pub mod ip_allocations { } } pub mod ip_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -30790,7 +30790,7 @@ pub mod ip_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30871,7 +30871,7 @@ pub mod ip_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IpGroup), @@ -30951,7 +30951,7 @@ pub mod ip_groups { } } pub mod update_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31018,7 +31018,7 @@ pub mod ip_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -31097,7 +31097,7 @@ pub mod ip_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31163,7 +31163,7 @@ pub mod ip_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31187,7 +31187,7 @@ pub mod ip_groups { } } pub mod nat_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -31240,7 +31240,7 @@ pub mod nat_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31327,7 +31327,7 @@ pub mod nat_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NatGateway), @@ -31408,7 +31408,7 @@ pub mod nat_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31475,7 +31475,7 @@ pub mod nat_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -31550,7 +31550,7 @@ pub mod nat_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31618,7 +31618,7 @@ pub mod nat_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31642,7 +31642,7 @@ pub mod nat_gateways { } } pub mod network_virtual_appliances { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -31695,7 +31695,7 @@ pub mod network_virtual_appliances { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31776,7 +31776,7 @@ pub mod network_virtual_appliances { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkVirtualAppliance), @@ -31856,7 +31856,7 @@ pub mod network_virtual_appliances { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31923,7 +31923,7 @@ pub mod network_virtual_appliances { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -32002,7 +32002,7 @@ pub mod network_virtual_appliances { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32068,7 +32068,7 @@ pub mod network_virtual_appliances { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32092,7 +32092,7 @@ pub mod network_virtual_appliances { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Network/operations", operation_config.base_path(),); @@ -32130,7 +32130,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32154,7 +32154,7 @@ pub mod operations { } } pub mod public_ip_prefixes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -32207,7 +32207,7 @@ pub mod public_ip_prefixes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32288,7 +32288,7 @@ pub mod public_ip_prefixes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpPrefix), @@ -32368,7 +32368,7 @@ pub mod public_ip_prefixes { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32435,7 +32435,7 @@ pub mod public_ip_prefixes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -32510,7 +32510,7 @@ pub mod public_ip_prefixes { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32578,7 +32578,7 @@ pub mod public_ip_prefixes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32602,7 +32602,7 @@ pub mod public_ip_prefixes { } } pub mod route_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -32655,7 +32655,7 @@ pub mod route_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32736,7 +32736,7 @@ pub mod route_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilter), @@ -32816,7 +32816,7 @@ pub mod route_filters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32883,7 +32883,7 @@ pub mod route_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -32962,7 +32962,7 @@ pub mod route_filters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33028,7 +33028,7 @@ pub mod route_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33052,7 +33052,7 @@ pub mod route_filters { } } pub mod route_filter_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -33103,7 +33103,7 @@ pub mod route_filter_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33186,7 +33186,7 @@ pub mod route_filter_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilterRule), @@ -33260,7 +33260,7 @@ pub mod route_filter_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -33339,7 +33339,7 @@ pub mod route_filter_rules { } } pub mod list_by_route_filter { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33363,7 +33363,7 @@ pub mod route_filter_rules { } } pub mod security_partner_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -33412,7 +33412,7 @@ pub mod security_partner_providers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33493,7 +33493,7 @@ pub mod security_partner_providers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(SecurityPartnerProvider), @@ -33573,7 +33573,7 @@ pub mod security_partner_providers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33640,7 +33640,7 @@ pub mod security_partner_providers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -33719,7 +33719,7 @@ pub mod security_partner_providers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33785,7 +33785,7 @@ pub mod security_partner_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33809,7 +33809,7 @@ pub mod security_partner_providers { } } pub mod bgp_service_communities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -33854,7 +33854,7 @@ pub mod bgp_service_communities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33878,7 +33878,7 @@ pub mod bgp_service_communities { } } pub mod service_tags { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -33925,7 +33925,7 @@ pub mod service_tags { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33949,7 +33949,7 @@ pub mod service_tags { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -33996,7 +33996,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34020,7 +34020,7 @@ pub mod usages { } } pub mod virtual_routers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -34073,7 +34073,7 @@ pub mod virtual_routers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34154,7 +34154,7 @@ pub mod virtual_routers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(VirtualRouter), @@ -34226,7 +34226,7 @@ pub mod virtual_routers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -34305,7 +34305,7 @@ pub mod virtual_routers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34371,7 +34371,7 @@ pub mod virtual_routers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34395,7 +34395,7 @@ pub mod virtual_routers { } } pub mod virtual_router_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -34446,7 +34446,7 @@ pub mod virtual_router_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34529,7 +34529,7 @@ pub mod virtual_router_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(VirtualRouterPeering), @@ -34603,7 +34603,7 @@ pub mod virtual_router_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -34679,7 +34679,7 @@ pub mod virtual_router_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34703,7 +34703,7 @@ pub mod virtual_router_peerings { } } pub mod web_application_firewall_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -34750,7 +34750,7 @@ pub mod web_application_firewall_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34819,7 +34819,7 @@ pub mod web_application_firewall_policies { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34889,7 +34889,7 @@ pub mod web_application_firewall_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34970,7 +34970,7 @@ pub mod web_application_firewall_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WebApplicationFirewallPolicy), @@ -35042,7 +35042,7 @@ pub mod web_application_firewall_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, diff --git a/services/mgmt/network/src/package_2020_05/operations.rs b/services/mgmt/network/src/package_2020_05/operations.rs index 902756db16..765996b852 100644 --- a/services/mgmt/network/src/package_2020_05/operations.rs +++ b/services/mgmt/network/src/package_2020_05/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod application_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod application_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod application_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationGateway), @@ -214,7 +214,7 @@ pub mod application_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -281,7 +281,7 @@ pub mod application_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -355,7 +355,7 @@ pub mod application_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -424,7 +424,7 @@ pub mod application_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -491,7 +491,7 @@ pub mod application_gateways { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -563,7 +563,7 @@ pub mod application_gateways { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -647,7 +647,7 @@ pub mod application_gateways { } } pub mod backend_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealth), @@ -734,7 +734,7 @@ pub mod application_gateways { } } pub mod backend_health_on_demand { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealthOnDemand), @@ -810,7 +810,7 @@ pub mod application_gateways { } } pub mod list_available_server_variables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -881,7 +881,7 @@ pub mod application_gateways { } } pub mod list_available_request_headers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -952,7 +952,7 @@ pub mod application_gateways { } } pub mod list_available_response_headers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1023,7 +1023,7 @@ pub mod application_gateways { } } pub mod list_available_waf_rule_sets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1094,7 +1094,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_options { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1165,7 +1165,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_predefined_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1238,7 +1238,7 @@ pub mod application_gateways { } } pub mod get_ssl_predefined_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1262,7 +1262,7 @@ pub mod application_gateways { } } pub mod application_gateway_private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1311,7 +1311,7 @@ pub mod application_gateway_private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1335,7 +1335,7 @@ pub mod application_gateway_private_link_resources { } } pub mod application_gateway_private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1386,7 +1386,7 @@ pub mod application_gateway_private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1461,7 +1461,7 @@ pub mod application_gateway_private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayPrivateEndpointConnection), @@ -1535,7 +1535,7 @@ pub mod application_gateway_private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1611,7 +1611,7 @@ pub mod application_gateway_private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1635,7 +1635,7 @@ pub mod application_gateway_private_endpoint_connections { } } pub mod network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1688,7 +1688,7 @@ pub mod network_interfaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1769,7 +1769,7 @@ pub mod network_interfaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkInterface), @@ -1849,7 +1849,7 @@ pub mod network_interfaces { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1916,7 +1916,7 @@ pub mod network_interfaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1991,7 +1991,7 @@ pub mod network_interfaces { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2059,7 +2059,7 @@ pub mod network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2136,7 +2136,7 @@ pub mod network_interfaces { } } pub mod get_effective_route_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveRouteListResult), @@ -2218,7 +2218,7 @@ pub mod network_interfaces { } } pub mod list_effective_network_security_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveNetworkSecurityGroupListResult), @@ -2295,7 +2295,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_vm_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2372,7 +2372,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2447,7 +2447,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_network_interface { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2524,7 +2524,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_ip_configurations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2600,7 +2600,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_ip_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2624,7 +2624,7 @@ pub mod network_interfaces { } } pub mod network_interface_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2673,7 +2673,7 @@ pub mod network_interface_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2745,7 +2745,7 @@ pub mod network_interface_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2769,7 +2769,7 @@ pub mod network_interface_ip_configurations { } } pub mod network_interface_load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2818,7 +2818,7 @@ pub mod network_interface_load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2842,7 +2842,7 @@ pub mod network_interface_load_balancers { } } pub mod network_interface_tap_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2893,7 +2893,7 @@ pub mod network_interface_tap_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2976,7 +2976,7 @@ pub mod network_interface_tap_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkInterfaceTapConfiguration), @@ -3050,7 +3050,7 @@ pub mod network_interface_tap_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3126,7 +3126,7 @@ pub mod network_interface_tap_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3150,7 +3150,7 @@ pub mod network_interface_tap_configurations { } } pub mod virtual_network_taps { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3199,7 +3199,7 @@ pub mod virtual_network_taps { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3280,7 +3280,7 @@ pub mod virtual_network_taps { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkTap), @@ -3360,7 +3360,7 @@ pub mod virtual_network_taps { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3427,7 +3427,7 @@ pub mod virtual_network_taps { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3502,7 +3502,7 @@ pub mod virtual_network_taps { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3575,7 +3575,7 @@ pub mod virtual_network_taps { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3599,7 +3599,7 @@ pub mod virtual_network_taps { } } pub mod load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3652,7 +3652,7 @@ pub mod load_balancers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3733,7 +3733,7 @@ pub mod load_balancers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoadBalancer), @@ -3813,7 +3813,7 @@ pub mod load_balancers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3880,7 +3880,7 @@ pub mod load_balancers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -3955,7 +3955,7 @@ pub mod load_balancers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4023,7 +4023,7 @@ pub mod load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4047,7 +4047,7 @@ pub mod load_balancers { } } pub mod load_balancer_backend_address_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4096,7 +4096,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4168,7 +4168,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4251,7 +4251,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(BackendAddressPool), @@ -4325,7 +4325,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4355,7 +4355,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod load_balancer_frontend_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4404,7 +4404,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4476,7 +4476,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4500,7 +4500,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod inbound_nat_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4549,7 +4549,7 @@ pub mod inbound_nat_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4625,7 +4625,7 @@ pub mod inbound_nat_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4708,7 +4708,7 @@ pub mod inbound_nat_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(InboundNatRule), @@ -4782,7 +4782,7 @@ pub mod inbound_nat_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4812,7 +4812,7 @@ pub mod inbound_nat_rules { } } pub mod load_balancer_load_balancing_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4861,7 +4861,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4933,7 +4933,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4957,7 +4957,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod load_balancer_outbound_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5006,7 +5006,7 @@ pub mod load_balancer_outbound_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5078,7 +5078,7 @@ pub mod load_balancer_outbound_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5102,7 +5102,7 @@ pub mod load_balancer_outbound_rules { } } pub mod load_balancer_network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5151,7 +5151,7 @@ pub mod load_balancer_network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5175,7 +5175,7 @@ pub mod load_balancer_network_interfaces { } } pub mod load_balancer_probes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5224,7 +5224,7 @@ pub mod load_balancer_probes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5296,7 +5296,7 @@ pub mod load_balancer_probes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5320,7 +5320,7 @@ pub mod load_balancer_probes { } } pub mod virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5373,7 +5373,7 @@ pub mod virtual_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5454,7 +5454,7 @@ pub mod virtual_networks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetwork), @@ -5534,7 +5534,7 @@ pub mod virtual_networks { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5601,7 +5601,7 @@ pub mod virtual_networks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5676,7 +5676,7 @@ pub mod virtual_networks { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5744,7 +5744,7 @@ pub mod virtual_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5821,7 +5821,7 @@ pub mod virtual_networks { } } pub mod check_ip_address_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5894,7 +5894,7 @@ pub mod virtual_networks { } } pub mod list_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5967,7 +5967,7 @@ pub mod virtual_networks { } } pub mod get_bastion_hosts { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5991,7 +5991,7 @@ pub mod virtual_networks { } } pub mod subnets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6046,7 +6046,7 @@ pub mod subnets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6129,7 +6129,7 @@ pub mod subnets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Subnet), @@ -6203,7 +6203,7 @@ pub mod subnets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6285,7 +6285,7 @@ pub mod subnets { } } pub mod prepare_network_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6366,7 +6366,7 @@ pub mod subnets { } } pub mod unprepare_network_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6441,7 +6441,7 @@ pub mod subnets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6465,7 +6465,7 @@ pub mod subnets { } } pub mod resource_navigation_links { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6516,7 +6516,7 @@ pub mod resource_navigation_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6540,7 +6540,7 @@ pub mod resource_navigation_links { } } pub mod service_association_links { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6591,7 +6591,7 @@ pub mod service_association_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6615,7 +6615,7 @@ pub mod service_association_links { } } pub mod virtual_network_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6666,7 +6666,7 @@ pub mod virtual_network_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6749,7 +6749,7 @@ pub mod virtual_network_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkPeering), @@ -6823,7 +6823,7 @@ pub mod virtual_network_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6899,7 +6899,7 @@ pub mod virtual_network_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6923,7 +6923,7 @@ pub mod virtual_network_peerings { } } pub mod bastion_hosts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6972,7 +6972,7 @@ pub mod bastion_hosts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7053,7 +7053,7 @@ pub mod bastion_hosts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(BastionHost), @@ -7125,7 +7125,7 @@ pub mod bastion_hosts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7197,7 +7197,7 @@ pub mod bastion_hosts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7270,7 +7270,7 @@ pub mod bastion_hosts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7349,7 +7349,7 @@ pub async fn put_bastion_shareable_link( } } pub mod put_bastion_shareable_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BastionShareableLinkListResult), @@ -7427,7 +7427,7 @@ pub async fn delete_bastion_shareable_link( } } pub mod delete_bastion_shareable_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7509,7 +7509,7 @@ pub async fn get_bastion_shareable_link( } } pub mod get_bastion_shareable_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7584,7 +7584,7 @@ pub async fn get_active_sessions( } } pub mod get_active_sessions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BastionActiveSessionListResult), @@ -7666,7 +7666,7 @@ pub async fn disconnect_active_sessions( } } pub mod disconnect_active_sessions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7741,7 +7741,7 @@ pub async fn check_dns_name_availability( } } pub mod check_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7816,7 +7816,7 @@ pub async fn supported_security_providers( } } pub mod supported_security_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7898,7 +7898,7 @@ pub async fn generatevirtualwanvpnserverconfigurationvpnprofile( } } pub mod generatevirtualwanvpnserverconfigurationvpnprofile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnProfileResponse), @@ -7926,7 +7926,7 @@ pub mod generatevirtualwanvpnserverconfigurationvpnprofile { } } pub mod network_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7979,7 +7979,7 @@ pub mod network_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8060,7 +8060,7 @@ pub mod network_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkSecurityGroup), @@ -8140,7 +8140,7 @@ pub mod network_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8207,7 +8207,7 @@ pub mod network_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8282,7 +8282,7 @@ pub mod network_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8350,7 +8350,7 @@ pub mod network_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8374,7 +8374,7 @@ pub mod network_security_groups { } } pub mod security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8425,7 +8425,7 @@ pub mod security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8508,7 +8508,7 @@ pub mod security_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityRule), @@ -8582,7 +8582,7 @@ pub mod security_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -8658,7 +8658,7 @@ pub mod security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8682,7 +8682,7 @@ pub mod security_rules { } } pub mod default_security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8731,7 +8731,7 @@ pub mod default_security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8803,7 +8803,7 @@ pub mod default_security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8827,7 +8827,7 @@ pub mod default_security_rules { } } pub mod application_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8876,7 +8876,7 @@ pub mod application_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8957,7 +8957,7 @@ pub mod application_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationSecurityGroup), @@ -9037,7 +9037,7 @@ pub mod application_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9104,7 +9104,7 @@ pub mod application_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -9179,7 +9179,7 @@ pub mod application_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9247,7 +9247,7 @@ pub mod application_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9271,7 +9271,7 @@ pub mod application_security_groups { } } pub mod network_watchers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9320,7 +9320,7 @@ pub mod network_watchers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9401,7 +9401,7 @@ pub mod network_watchers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkWatcher), @@ -9481,7 +9481,7 @@ pub mod network_watchers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9547,7 +9547,7 @@ pub mod network_watchers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -9620,7 +9620,7 @@ pub mod network_watchers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9689,7 +9689,7 @@ pub mod network_watchers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9764,7 +9764,7 @@ pub mod network_watchers { } } pub mod get_topology { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9845,7 +9845,7 @@ pub mod network_watchers { } } pub mod verify_ip_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VerificationIpFlowResult), @@ -9931,7 +9931,7 @@ pub mod network_watchers { } } pub mod get_next_hop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NextHopResult), @@ -10019,7 +10019,7 @@ pub mod network_watchers { } } pub mod get_vm_security_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityGroupViewResult), @@ -10105,7 +10105,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -10193,7 +10193,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -10281,7 +10281,7 @@ pub mod network_watchers { } } pub mod set_flow_log_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -10367,7 +10367,7 @@ pub mod network_watchers { } } pub mod get_flow_log_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -10453,7 +10453,7 @@ pub mod network_watchers { } } pub mod check_connectivity { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectivityInformation), @@ -10541,7 +10541,7 @@ pub mod network_watchers { } } pub mod get_azure_reachability_report { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AzureReachabilityReport), @@ -10629,7 +10629,7 @@ pub mod network_watchers { } } pub mod list_available_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AvailableProvidersList), @@ -10717,7 +10717,7 @@ pub mod network_watchers { } } pub mod get_network_configuration_diagnostic { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkConfigurationDiagnosticResponse), @@ -10746,7 +10746,7 @@ pub mod network_watchers { } } pub mod packet_captures { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10797,7 +10797,7 @@ pub mod packet_captures { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10871,7 +10871,7 @@ pub mod packet_captures { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10939,7 +10939,7 @@ pub mod packet_captures { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -11013,7 +11013,7 @@ pub mod packet_captures { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11100,7 +11100,7 @@ pub mod packet_captures { } } pub mod get_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PacketCaptureQueryStatusResult), @@ -11175,7 +11175,7 @@ pub mod packet_captures { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11199,7 +11199,7 @@ pub mod packet_captures { } } pub mod connection_monitors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11250,7 +11250,7 @@ pub mod connection_monitors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11333,7 +11333,7 @@ pub mod connection_monitors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorResult), @@ -11415,7 +11415,7 @@ pub mod connection_monitors { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11483,7 +11483,7 @@ pub mod connection_monitors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -11557,7 +11557,7 @@ pub mod connection_monitors { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11631,7 +11631,7 @@ pub mod connection_monitors { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11715,7 +11715,7 @@ pub mod connection_monitors { } } pub mod query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorQueryResult), @@ -11790,7 +11790,7 @@ pub mod connection_monitors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11814,7 +11814,7 @@ pub mod connection_monitors { } } pub mod flow_logs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11865,7 +11865,7 @@ pub mod flow_logs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11948,7 +11948,7 @@ pub mod flow_logs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FlowLog), @@ -12021,7 +12021,7 @@ pub mod flow_logs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -12096,7 +12096,7 @@ pub mod flow_logs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12120,7 +12120,7 @@ pub mod flow_logs { } } pub mod route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12173,7 +12173,7 @@ pub mod route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12254,7 +12254,7 @@ pub mod route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteTable), @@ -12334,7 +12334,7 @@ pub mod route_tables { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12401,7 +12401,7 @@ pub mod route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -12475,7 +12475,7 @@ pub mod route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12544,7 +12544,7 @@ pub mod route_tables { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12568,7 +12568,7 @@ pub mod route_tables { } } pub mod routes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12619,7 +12619,7 @@ pub mod routes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12702,7 +12702,7 @@ pub mod routes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Route), @@ -12776,7 +12776,7 @@ pub mod routes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -12852,7 +12852,7 @@ pub mod routes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12876,7 +12876,7 @@ pub mod routes { } } pub mod service_endpoint_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12929,7 +12929,7 @@ pub mod service_endpoint_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13010,7 +13010,7 @@ pub mod service_endpoint_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ServiceEndpointPolicy), @@ -13090,7 +13090,7 @@ pub mod service_endpoint_policies { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13157,7 +13157,7 @@ pub mod service_endpoint_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -13229,7 +13229,7 @@ pub mod service_endpoint_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13302,7 +13302,7 @@ pub mod service_endpoint_policies { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13326,7 +13326,7 @@ pub mod service_endpoint_policies { } } pub mod service_endpoint_policy_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13370,7 +13370,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13446,7 +13446,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServiceEndpointPolicyDefinition), @@ -13513,7 +13513,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -13594,7 +13594,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13618,7 +13618,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod private_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13671,7 +13671,7 @@ pub mod private_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13752,7 +13752,7 @@ pub mod private_endpoints { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpoint), @@ -13824,7 +13824,7 @@ pub mod private_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -13898,7 +13898,7 @@ pub mod private_endpoints { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13967,7 +13967,7 @@ pub mod private_endpoints { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13991,7 +13991,7 @@ pub mod private_endpoints { } } pub mod available_private_endpoint_types { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -14038,7 +14038,7 @@ pub mod available_private_endpoint_types { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14113,7 +14113,7 @@ pub mod available_private_endpoint_types { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14137,7 +14137,7 @@ pub mod available_private_endpoint_types { } } pub mod private_dns_zone_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14188,7 +14188,7 @@ pub mod private_dns_zone_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14271,7 +14271,7 @@ pub mod private_dns_zone_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateDnsZoneGroup), @@ -14345,7 +14345,7 @@ pub mod private_dns_zone_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -14421,7 +14421,7 @@ pub mod private_dns_zone_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14445,7 +14445,7 @@ pub mod private_dns_zone_groups { } } pub mod private_link_services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14498,7 +14498,7 @@ pub mod private_link_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14579,7 +14579,7 @@ pub mod private_link_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkService), @@ -14651,7 +14651,7 @@ pub mod private_link_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -14725,7 +14725,7 @@ pub mod private_link_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14794,7 +14794,7 @@ pub mod private_link_services { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14875,7 +14875,7 @@ pub mod private_link_services { } } pub mod get_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14954,7 +14954,7 @@ pub mod private_link_services { } } pub mod update_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15028,7 +15028,7 @@ pub mod private_link_services { } } pub mod delete_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -15109,7 +15109,7 @@ pub mod private_link_services { } } pub mod list_private_endpoint_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15185,7 +15185,7 @@ pub mod private_link_services { } } pub mod check_private_link_service_visibility { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServiceVisibility), @@ -15274,7 +15274,7 @@ pub mod private_link_services { } } pub mod check_private_link_service_visibility_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServiceVisibility), @@ -15352,7 +15352,7 @@ pub mod private_link_services { } } pub mod list_auto_approved_private_link_services { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15429,7 +15429,7 @@ pub mod private_link_services { } } pub mod list_auto_approved_private_link_services_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15453,7 +15453,7 @@ pub mod private_link_services { } } pub mod network_profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15506,7 +15506,7 @@ pub mod network_profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15587,7 +15587,7 @@ pub mod network_profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkProfile), @@ -15667,7 +15667,7 @@ pub mod network_profiles { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15734,7 +15734,7 @@ pub mod network_profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -15809,7 +15809,7 @@ pub mod network_profiles { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15877,7 +15877,7 @@ pub mod network_profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15901,7 +15901,7 @@ pub mod network_profiles { } } pub mod public_ip_addresses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15954,7 +15954,7 @@ pub mod public_ip_addresses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16035,7 +16035,7 @@ pub mod public_ip_addresses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpAddress), @@ -16115,7 +16115,7 @@ pub mod public_ip_addresses { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16182,7 +16182,7 @@ pub mod public_ip_addresses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -16257,7 +16257,7 @@ pub mod public_ip_addresses { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16325,7 +16325,7 @@ pub mod public_ip_addresses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16402,7 +16402,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16476,7 +16476,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_vm_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16553,7 +16553,7 @@ pub mod public_ip_addresses { } } pub mod get_virtual_machine_scale_set_public_ip_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16577,7 +16577,7 @@ pub mod public_ip_addresses { } } pub mod available_delegations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -16624,7 +16624,7 @@ pub mod available_delegations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16648,7 +16648,7 @@ pub mod available_delegations { } } pub mod available_resource_group_delegations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -16697,7 +16697,7 @@ pub mod available_resource_group_delegations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16721,7 +16721,7 @@ pub mod available_resource_group_delegations { } } pub mod available_service_aliases { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -16768,7 +16768,7 @@ pub mod available_service_aliases { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16843,7 +16843,7 @@ pub mod available_service_aliases { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16867,7 +16867,7 @@ pub mod available_service_aliases { } } pub mod azure_firewalls { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16916,7 +16916,7 @@ pub mod azure_firewalls { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16997,7 +16997,7 @@ pub mod azure_firewalls { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(AzureFirewall), @@ -17078,7 +17078,7 @@ pub mod azure_firewalls { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -17150,7 +17150,7 @@ pub mod azure_firewalls { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -17224,7 +17224,7 @@ pub mod azure_firewalls { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17293,7 +17293,7 @@ pub mod azure_firewalls { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17317,7 +17317,7 @@ pub mod azure_firewalls { } } pub mod azure_firewall_fqdn_tags { - use crate::models::*; + use super::{models, models::*}; pub async fn list_all( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -17365,7 +17365,7 @@ pub mod azure_firewall_fqdn_tags { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17389,7 +17389,7 @@ pub mod azure_firewall_fqdn_tags { } } pub mod ddos_custom_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17438,7 +17438,7 @@ pub mod ddos_custom_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17519,7 +17519,7 @@ pub mod ddos_custom_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DdosCustomPolicy), @@ -17599,7 +17599,7 @@ pub mod ddos_custom_policies { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17666,7 +17666,7 @@ pub mod ddos_custom_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -17696,7 +17696,7 @@ pub mod ddos_custom_policies { } } pub mod ddos_protection_plans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17745,7 +17745,7 @@ pub mod ddos_protection_plans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17826,7 +17826,7 @@ pub mod ddos_protection_plans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DdosProtectionPlan), @@ -17906,7 +17906,7 @@ pub mod ddos_protection_plans { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17973,7 +17973,7 @@ pub mod ddos_protection_plans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -18045,7 +18045,7 @@ pub mod ddos_protection_plans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18118,7 +18118,7 @@ pub mod ddos_protection_plans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18142,7 +18142,7 @@ pub mod ddos_protection_plans { } } pub mod available_endpoint_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -18189,7 +18189,7 @@ pub mod available_endpoint_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18213,7 +18213,7 @@ pub mod available_endpoint_services { } } pub mod express_route_circuit_authorizations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18264,7 +18264,7 @@ pub mod express_route_circuit_authorizations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18347,7 +18347,7 @@ pub mod express_route_circuit_authorizations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuitAuthorization), @@ -18421,7 +18421,7 @@ pub mod express_route_circuit_authorizations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -18497,7 +18497,7 @@ pub mod express_route_circuit_authorizations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18521,7 +18521,7 @@ pub mod express_route_circuit_authorizations { } } pub mod express_route_circuit_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18572,7 +18572,7 @@ pub mod express_route_circuit_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18655,7 +18655,7 @@ pub mod express_route_circuit_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitPeering), @@ -18729,7 +18729,7 @@ pub mod express_route_circuit_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -18805,7 +18805,7 @@ pub mod express_route_circuit_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18829,7 +18829,7 @@ pub mod express_route_circuit_peerings { } } pub mod express_route_circuit_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18882,7 +18882,7 @@ pub mod express_route_circuit_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18967,7 +18967,7 @@ pub mod express_route_circuit_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitConnection), @@ -19043,7 +19043,7 @@ pub mod express_route_circuit_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -19121,7 +19121,7 @@ pub mod express_route_circuit_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19145,7 +19145,7 @@ pub mod express_route_circuit_connections { } } pub mod peer_express_route_circuit_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19198,7 +19198,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19270,7 +19270,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19294,7 +19294,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod express_route_circuits { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19343,7 +19343,7 @@ pub mod express_route_circuits { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19424,7 +19424,7 @@ pub mod express_route_circuits { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuit), @@ -19504,7 +19504,7 @@ pub mod express_route_circuits { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19571,7 +19571,7 @@ pub mod express_route_circuits { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -19656,7 +19656,7 @@ pub mod express_route_circuits { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -19740,7 +19740,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -19826,7 +19826,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableSummaryListResult), @@ -19904,7 +19904,7 @@ pub mod express_route_circuits { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19979,7 +19979,7 @@ pub mod express_route_circuits { } } pub mod get_peering_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20047,7 +20047,7 @@ pub mod express_route_circuits { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20116,7 +20116,7 @@ pub mod express_route_circuits { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20140,7 +20140,7 @@ pub mod express_route_circuits { } } pub mod express_route_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -20185,7 +20185,7 @@ pub mod express_route_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20209,7 +20209,7 @@ pub mod express_route_service_providers { } } pub mod virtual_wans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20258,7 +20258,7 @@ pub mod virtual_wans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20339,7 +20339,7 @@ pub mod virtual_wans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualWan), @@ -20419,7 +20419,7 @@ pub mod virtual_wans { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20486,7 +20486,7 @@ pub mod virtual_wans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -20565,7 +20565,7 @@ pub mod virtual_wans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20631,7 +20631,7 @@ pub mod virtual_wans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20655,7 +20655,7 @@ pub mod virtual_wans { } } pub mod vpn_sites { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -20704,7 +20704,7 @@ pub mod vpn_sites { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20785,7 +20785,7 @@ pub mod vpn_sites { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnSite), @@ -20865,7 +20865,7 @@ pub mod vpn_sites { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20932,7 +20932,7 @@ pub mod vpn_sites { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -21011,7 +21011,7 @@ pub mod vpn_sites { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21077,7 +21077,7 @@ pub mod vpn_sites { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21101,7 +21101,7 @@ pub mod vpn_sites { } } pub mod vpn_site_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -21152,7 +21152,7 @@ pub mod vpn_site_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21225,7 +21225,7 @@ pub mod vpn_site_links { } } pub mod list_by_vpn_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21249,7 +21249,7 @@ pub mod vpn_site_links { } } pub mod vpn_sites_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn download( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -21299,7 +21299,7 @@ pub mod vpn_sites_configuration { } } pub mod download { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -21328,7 +21328,7 @@ pub mod vpn_sites_configuration { } } pub mod vpn_server_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -21377,7 +21377,7 @@ pub mod vpn_server_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21458,7 +21458,7 @@ pub mod vpn_server_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnServerConfiguration), @@ -21538,7 +21538,7 @@ pub mod vpn_server_configurations { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21605,7 +21605,7 @@ pub mod vpn_server_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -21684,7 +21684,7 @@ pub mod vpn_server_configurations { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21750,7 +21750,7 @@ pub mod vpn_server_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21774,7 +21774,7 @@ pub mod vpn_server_configurations { } } pub mod virtual_hubs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -21823,7 +21823,7 @@ pub mod virtual_hubs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21904,7 +21904,7 @@ pub mod virtual_hubs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHub), @@ -21984,7 +21984,7 @@ pub mod virtual_hubs { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22051,7 +22051,7 @@ pub mod virtual_hubs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22130,7 +22130,7 @@ pub mod virtual_hubs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22196,7 +22196,7 @@ pub mod virtual_hubs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22273,7 +22273,7 @@ pub mod virtual_hubs { } } pub mod get_effective_virtual_hub_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22302,7 +22302,7 @@ pub mod virtual_hubs { } } pub mod hub_virtual_network_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -22353,7 +22353,7 @@ pub mod hub_virtual_network_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22436,7 +22436,7 @@ pub mod hub_virtual_network_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HubVirtualNetworkConnection), @@ -22510,7 +22510,7 @@ pub mod hub_virtual_network_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22586,7 +22586,7 @@ pub mod hub_virtual_network_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22610,7 +22610,7 @@ pub mod hub_virtual_network_connections { } } pub mod vpn_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -22659,7 +22659,7 @@ pub mod vpn_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22740,7 +22740,7 @@ pub mod vpn_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -22820,7 +22820,7 @@ pub mod vpn_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22887,7 +22887,7 @@ pub mod vpn_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22965,7 +22965,7 @@ pub mod vpn_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -23043,7 +23043,7 @@ pub mod vpn_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23109,7 +23109,7 @@ pub mod vpn_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23133,7 +23133,7 @@ pub mod vpn_gateways { } } pub mod vpn_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -23184,7 +23184,7 @@ pub mod vpn_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23267,7 +23267,7 @@ pub mod vpn_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnConnection), @@ -23341,7 +23341,7 @@ pub mod vpn_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23420,7 +23420,7 @@ pub mod vpn_connections { } } pub mod list_by_vpn_gateway { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23444,7 +23444,7 @@ pub mod vpn_connections { } } pub mod vpn_site_link_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -23497,7 +23497,7 @@ pub mod vpn_site_link_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23521,7 +23521,7 @@ pub mod vpn_site_link_connections { } } pub mod vpn_link_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_vpn_connection( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -23577,7 +23577,7 @@ pub mod vpn_link_connections { } } pub mod list_by_vpn_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23601,7 +23601,7 @@ pub mod vpn_link_connections { } } pub mod p2s_vpn_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -23650,7 +23650,7 @@ pub mod p2s_vpn_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23731,7 +23731,7 @@ pub mod p2s_vpn_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -23811,7 +23811,7 @@ pub mod p2s_vpn_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23878,7 +23878,7 @@ pub mod p2s_vpn_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23957,7 +23957,7 @@ pub mod p2s_vpn_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24023,7 +24023,7 @@ pub mod p2s_vpn_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24099,7 +24099,7 @@ pub mod p2s_vpn_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnProfileResponse), @@ -24181,7 +24181,7 @@ pub mod p2s_vpn_gateways { } } pub mod get_p2s_vpn_connection_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -24264,7 +24264,7 @@ pub mod p2s_vpn_gateways { } } pub mod get_p2s_vpn_connection_health_detailed { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnConnectionHealth), @@ -24342,7 +24342,7 @@ pub mod p2s_vpn_gateways { } } pub mod disconnect_p2s_vpn_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -24371,7 +24371,7 @@ pub mod p2s_vpn_gateways { } } pub mod vpn_server_configurations_associated_with_virtual_wan { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -24422,7 +24422,7 @@ pub mod vpn_server_configurations_associated_with_virtual_wan { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnServerConfigurationsResponse), @@ -24451,7 +24451,7 @@ pub mod vpn_server_configurations_associated_with_virtual_wan { } } pub mod virtual_hub_route_table_v2s { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -24502,7 +24502,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24585,7 +24585,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHubRouteTableV2), @@ -24659,7 +24659,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -24735,7 +24735,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24759,7 +24759,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod express_route_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -24807,7 +24807,7 @@ pub mod express_route_gateways { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24880,7 +24880,7 @@ pub mod express_route_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24950,7 +24950,7 @@ pub mod express_route_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25031,7 +25031,7 @@ pub mod express_route_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteGateway), @@ -25103,7 +25103,7 @@ pub mod express_route_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -25133,7 +25133,7 @@ pub mod express_route_gateways { } } pub mod express_route_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -25184,7 +25184,7 @@ pub mod express_route_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25267,7 +25267,7 @@ pub mod express_route_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteConnection), @@ -25341,7 +25341,7 @@ pub mod express_route_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -25417,7 +25417,7 @@ pub mod express_route_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25441,7 +25441,7 @@ pub mod express_route_connections { } } pub mod virtual_hub_bgp_connection { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -25492,7 +25492,7 @@ pub mod virtual_hub_bgp_connection { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25575,7 +25575,7 @@ pub mod virtual_hub_bgp_connection { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BgpConnection), @@ -25649,7 +25649,7 @@ pub mod virtual_hub_bgp_connection { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -25679,7 +25679,7 @@ pub mod virtual_hub_bgp_connection { } } pub mod virtual_hub_bgp_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -25728,7 +25728,7 @@ pub mod virtual_hub_bgp_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25752,7 +25752,7 @@ pub mod virtual_hub_bgp_connections { } } pub mod virtual_hub_ip_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -25803,7 +25803,7 @@ pub mod virtual_hub_ip_configuration { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25886,7 +25886,7 @@ pub mod virtual_hub_ip_configuration { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HubIpConfiguration), @@ -25960,7 +25960,7 @@ pub mod virtual_hub_ip_configuration { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -26036,7 +26036,7 @@ pub mod virtual_hub_ip_configuration { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26060,7 +26060,7 @@ pub mod virtual_hub_ip_configuration { } } pub mod hub_route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -26111,7 +26111,7 @@ pub mod hub_route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26194,7 +26194,7 @@ pub mod hub_route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HubRouteTable), @@ -26268,7 +26268,7 @@ pub mod hub_route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -26344,7 +26344,7 @@ pub mod hub_route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26368,7 +26368,7 @@ pub mod hub_route_tables { } } pub mod virtual_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -26417,7 +26417,7 @@ pub mod virtual_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26498,7 +26498,7 @@ pub mod virtual_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGateway), @@ -26579,7 +26579,7 @@ pub mod virtual_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -26651,7 +26651,7 @@ pub mod virtual_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -26725,7 +26725,7 @@ pub mod virtual_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26798,7 +26798,7 @@ pub mod virtual_network_gateways { } } pub mod list_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26874,7 +26874,7 @@ pub mod virtual_network_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -26951,7 +26951,7 @@ pub mod virtual_network_gateways { } } pub mod reset_vpn_client_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -27034,7 +27034,7 @@ pub mod virtual_network_gateways { } } pub mod generatevpnclientpackage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -27115,7 +27115,7 @@ pub mod virtual_network_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -27197,7 +27197,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpn_profile_package_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -27281,7 +27281,7 @@ pub mod virtual_network_gateways { } } pub mod get_bgp_peer_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BgpPeerStatusListResult), @@ -27362,7 +27362,7 @@ pub mod virtual_network_gateways { } } pub mod supported_vpn_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27437,7 +27437,7 @@ pub mod virtual_network_gateways { } } pub mod get_learned_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -27521,7 +27521,7 @@ pub mod virtual_network_gateways { } } pub mod get_advertised_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -27604,7 +27604,7 @@ pub mod virtual_network_gateways { } } pub mod set_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -27685,7 +27685,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27762,7 +27762,7 @@ pub mod virtual_network_gateways { } } pub mod vpn_device_configuration_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27842,7 +27842,7 @@ pub mod virtual_network_gateways { } } pub mod start_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -27923,7 +27923,7 @@ pub mod virtual_network_gateways { } } pub mod stop_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -28005,7 +28005,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpnclient_connection_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnClientConnectionHealthDetailListResult), @@ -28081,7 +28081,7 @@ pub mod virtual_network_gateways { } } pub mod disconnect_virtual_network_gateway_vpn_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -28110,7 +28110,7 @@ pub mod virtual_network_gateways { } } pub mod virtual_network_gateway_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -28159,7 +28159,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28240,7 +28240,7 @@ pub mod virtual_network_gateway_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGatewayConnection), @@ -28321,7 +28321,7 @@ pub mod virtual_network_gateway_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -28393,7 +28393,7 @@ pub mod virtual_network_gateway_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -28472,7 +28472,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28553,7 +28553,7 @@ pub mod virtual_network_gateway_connections { } } pub mod set_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ConnectionSharedKey), @@ -28626,7 +28626,7 @@ pub mod virtual_network_gateway_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28702,7 +28702,7 @@ pub mod virtual_network_gateway_connections { } } pub mod reset_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionResetSharedKey), @@ -28787,7 +28787,7 @@ pub mod virtual_network_gateway_connections { } } pub mod start_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -28868,7 +28868,7 @@ pub mod virtual_network_gateway_connections { } } pub mod stop_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -28897,7 +28897,7 @@ pub mod virtual_network_gateway_connections { } } pub mod local_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -28946,7 +28946,7 @@ pub mod local_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29027,7 +29027,7 @@ pub mod local_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LocalNetworkGateway), @@ -29107,7 +29107,7 @@ pub mod local_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29174,7 +29174,7 @@ pub mod local_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -29248,7 +29248,7 @@ pub mod local_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29272,7 +29272,7 @@ pub mod local_network_gateways { } } pub mod express_route_cross_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -29317,7 +29317,7 @@ pub mod express_route_cross_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29390,7 +29390,7 @@ pub mod express_route_cross_connections { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29460,7 +29460,7 @@ pub mod express_route_cross_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29535,7 +29535,7 @@ pub mod express_route_cross_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29610,7 +29610,7 @@ pub mod express_route_cross_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29689,7 +29689,7 @@ pub mod express_route_cross_connections { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -29767,7 +29767,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionsRoutesTableSummaryListResult), @@ -29851,7 +29851,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -29880,7 +29880,7 @@ pub mod express_route_cross_connections { } } pub mod express_route_cross_connection_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -29929,7 +29929,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30001,7 +30001,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30084,7 +30084,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionPeering), @@ -30158,7 +30158,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -30188,7 +30188,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod express_route_ports_locations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -30233,7 +30233,7 @@ pub mod express_route_ports_locations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30301,7 +30301,7 @@ pub mod express_route_ports_locations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30325,7 +30325,7 @@ pub mod express_route_ports_locations { } } pub mod express_route_ports { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -30374,7 +30374,7 @@ pub mod express_route_ports { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30455,7 +30455,7 @@ pub mod express_route_ports { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRoutePort), @@ -30535,7 +30535,7 @@ pub mod express_route_ports { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30602,7 +30602,7 @@ pub mod express_route_ports { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -30681,7 +30681,7 @@ pub mod express_route_ports { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30747,7 +30747,7 @@ pub mod express_route_ports { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30771,7 +30771,7 @@ pub mod express_route_ports { } } pub mod express_route_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -30822,7 +30822,7 @@ pub mod express_route_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30892,7 +30892,7 @@ pub mod express_route_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30916,7 +30916,7 @@ pub mod express_route_links { } } pub mod firewall_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -30969,7 +30969,7 @@ pub mod firewall_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31050,7 +31050,7 @@ pub mod firewall_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FirewallPolicy), @@ -31122,7 +31122,7 @@ pub mod firewall_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -31196,7 +31196,7 @@ pub mod firewall_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31265,7 +31265,7 @@ pub mod firewall_policies { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31289,7 +31289,7 @@ pub mod firewall_policies { } } pub mod firewall_policy_rule_collection_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -31340,7 +31340,7 @@ pub mod firewall_policy_rule_collection_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31423,7 +31423,7 @@ pub mod firewall_policy_rule_collection_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FirewallPolicyRuleCollectionGroup), @@ -31497,7 +31497,7 @@ pub mod firewall_policy_rule_collection_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -31573,7 +31573,7 @@ pub mod firewall_policy_rule_collection_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31597,7 +31597,7 @@ pub mod firewall_policy_rule_collection_groups { } } pub mod ip_allocations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -31650,7 +31650,7 @@ pub mod ip_allocations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31731,7 +31731,7 @@ pub mod ip_allocations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IpAllocation), @@ -31811,7 +31811,7 @@ pub mod ip_allocations { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31878,7 +31878,7 @@ pub mod ip_allocations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -31950,7 +31950,7 @@ pub mod ip_allocations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32023,7 +32023,7 @@ pub mod ip_allocations { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32047,7 +32047,7 @@ pub mod ip_allocations { } } pub mod ip_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -32100,7 +32100,7 @@ pub mod ip_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32181,7 +32181,7 @@ pub mod ip_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IpGroup), @@ -32261,7 +32261,7 @@ pub mod ip_groups { } } pub mod update_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32328,7 +32328,7 @@ pub mod ip_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -32407,7 +32407,7 @@ pub mod ip_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32473,7 +32473,7 @@ pub mod ip_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32497,7 +32497,7 @@ pub mod ip_groups { } } pub mod nat_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -32550,7 +32550,7 @@ pub mod nat_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32637,7 +32637,7 @@ pub mod nat_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NatGateway), @@ -32718,7 +32718,7 @@ pub mod nat_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32785,7 +32785,7 @@ pub mod nat_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -32860,7 +32860,7 @@ pub mod nat_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32928,7 +32928,7 @@ pub mod nat_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32952,7 +32952,7 @@ pub mod nat_gateways { } } pub mod network_virtual_appliances { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -33005,7 +33005,7 @@ pub mod network_virtual_appliances { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33086,7 +33086,7 @@ pub mod network_virtual_appliances { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkVirtualAppliance), @@ -33166,7 +33166,7 @@ pub mod network_virtual_appliances { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33233,7 +33233,7 @@ pub mod network_virtual_appliances { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -33312,7 +33312,7 @@ pub mod network_virtual_appliances { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33378,7 +33378,7 @@ pub mod network_virtual_appliances { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33402,7 +33402,7 @@ pub mod network_virtual_appliances { } } pub mod virtual_appliance_sites { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -33453,7 +33453,7 @@ pub mod virtual_appliance_sites { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33536,7 +33536,7 @@ pub mod virtual_appliance_sites { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualApplianceSite), @@ -33610,7 +33610,7 @@ pub mod virtual_appliance_sites { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -33686,7 +33686,7 @@ pub mod virtual_appliance_sites { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33710,7 +33710,7 @@ pub mod virtual_appliance_sites { } } pub mod virtual_appliance_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -33755,7 +33755,7 @@ pub mod virtual_appliance_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33823,7 +33823,7 @@ pub mod virtual_appliance_skus { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33847,7 +33847,7 @@ pub mod virtual_appliance_skus { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Network/operations", operation_config.base_path(),); @@ -33885,7 +33885,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33909,7 +33909,7 @@ pub mod operations { } } pub mod public_ip_prefixes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -33962,7 +33962,7 @@ pub mod public_ip_prefixes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34043,7 +34043,7 @@ pub mod public_ip_prefixes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpPrefix), @@ -34123,7 +34123,7 @@ pub mod public_ip_prefixes { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34190,7 +34190,7 @@ pub mod public_ip_prefixes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -34265,7 +34265,7 @@ pub mod public_ip_prefixes { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34333,7 +34333,7 @@ pub mod public_ip_prefixes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34357,7 +34357,7 @@ pub mod public_ip_prefixes { } } pub mod route_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -34410,7 +34410,7 @@ pub mod route_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34491,7 +34491,7 @@ pub mod route_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilter), @@ -34571,7 +34571,7 @@ pub mod route_filters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34638,7 +34638,7 @@ pub mod route_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -34717,7 +34717,7 @@ pub mod route_filters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34783,7 +34783,7 @@ pub mod route_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34807,7 +34807,7 @@ pub mod route_filters { } } pub mod route_filter_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -34858,7 +34858,7 @@ pub mod route_filter_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34941,7 +34941,7 @@ pub mod route_filter_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilterRule), @@ -35015,7 +35015,7 @@ pub mod route_filter_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -35094,7 +35094,7 @@ pub mod route_filter_rules { } } pub mod list_by_route_filter { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35118,7 +35118,7 @@ pub mod route_filter_rules { } } pub mod security_partner_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -35167,7 +35167,7 @@ pub mod security_partner_providers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35248,7 +35248,7 @@ pub mod security_partner_providers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(SecurityPartnerProvider), @@ -35328,7 +35328,7 @@ pub mod security_partner_providers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35395,7 +35395,7 @@ pub mod security_partner_providers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -35474,7 +35474,7 @@ pub mod security_partner_providers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35540,7 +35540,7 @@ pub mod security_partner_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35564,7 +35564,7 @@ pub mod security_partner_providers { } } pub mod bgp_service_communities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -35609,7 +35609,7 @@ pub mod bgp_service_communities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35633,7 +35633,7 @@ pub mod bgp_service_communities { } } pub mod service_tags { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -35680,7 +35680,7 @@ pub mod service_tags { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35704,7 +35704,7 @@ pub mod service_tags { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -35751,7 +35751,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35775,7 +35775,7 @@ pub mod usages { } } pub mod virtual_routers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -35828,7 +35828,7 @@ pub mod virtual_routers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35909,7 +35909,7 @@ pub mod virtual_routers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(VirtualRouter), @@ -35981,7 +35981,7 @@ pub mod virtual_routers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -36060,7 +36060,7 @@ pub mod virtual_routers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36126,7 +36126,7 @@ pub mod virtual_routers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36150,7 +36150,7 @@ pub mod virtual_routers { } } pub mod virtual_router_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -36201,7 +36201,7 @@ pub mod virtual_router_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36284,7 +36284,7 @@ pub mod virtual_router_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(VirtualRouterPeering), @@ -36358,7 +36358,7 @@ pub mod virtual_router_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -36434,7 +36434,7 @@ pub mod virtual_router_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36458,7 +36458,7 @@ pub mod virtual_router_peerings { } } pub mod web_application_firewall_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -36505,7 +36505,7 @@ pub mod web_application_firewall_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36574,7 +36574,7 @@ pub mod web_application_firewall_policies { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36644,7 +36644,7 @@ pub mod web_application_firewall_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36725,7 +36725,7 @@ pub mod web_application_firewall_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WebApplicationFirewallPolicy), @@ -36797,7 +36797,7 @@ pub mod web_application_firewall_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, diff --git a/services/mgmt/network/src/package_2020_06/operations.rs b/services/mgmt/network/src/package_2020_06/operations.rs index 897d18ac62..cffc3c82ae 100644 --- a/services/mgmt/network/src/package_2020_06/operations.rs +++ b/services/mgmt/network/src/package_2020_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod application_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod application_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod application_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationGateway), @@ -214,7 +214,7 @@ pub mod application_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -281,7 +281,7 @@ pub mod application_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -355,7 +355,7 @@ pub mod application_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -424,7 +424,7 @@ pub mod application_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -491,7 +491,7 @@ pub mod application_gateways { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -563,7 +563,7 @@ pub mod application_gateways { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -647,7 +647,7 @@ pub mod application_gateways { } } pub mod backend_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealth), @@ -734,7 +734,7 @@ pub mod application_gateways { } } pub mod backend_health_on_demand { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealthOnDemand), @@ -810,7 +810,7 @@ pub mod application_gateways { } } pub mod list_available_server_variables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -881,7 +881,7 @@ pub mod application_gateways { } } pub mod list_available_request_headers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -952,7 +952,7 @@ pub mod application_gateways { } } pub mod list_available_response_headers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1023,7 +1023,7 @@ pub mod application_gateways { } } pub mod list_available_waf_rule_sets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1094,7 +1094,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_options { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1165,7 +1165,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_predefined_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1238,7 +1238,7 @@ pub mod application_gateways { } } pub mod get_ssl_predefined_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1262,7 +1262,7 @@ pub mod application_gateways { } } pub mod application_gateway_private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1311,7 +1311,7 @@ pub mod application_gateway_private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1335,7 +1335,7 @@ pub mod application_gateway_private_link_resources { } } pub mod application_gateway_private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1386,7 +1386,7 @@ pub mod application_gateway_private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1461,7 +1461,7 @@ pub mod application_gateway_private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayPrivateEndpointConnection), @@ -1535,7 +1535,7 @@ pub mod application_gateway_private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1611,7 +1611,7 @@ pub mod application_gateway_private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1635,7 +1635,7 @@ pub mod application_gateway_private_endpoint_connections { } } pub mod network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1688,7 +1688,7 @@ pub mod network_interfaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1769,7 +1769,7 @@ pub mod network_interfaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkInterface), @@ -1849,7 +1849,7 @@ pub mod network_interfaces { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1916,7 +1916,7 @@ pub mod network_interfaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1991,7 +1991,7 @@ pub mod network_interfaces { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2059,7 +2059,7 @@ pub mod network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2136,7 +2136,7 @@ pub mod network_interfaces { } } pub mod get_effective_route_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveRouteListResult), @@ -2218,7 +2218,7 @@ pub mod network_interfaces { } } pub mod list_effective_network_security_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveNetworkSecurityGroupListResult), @@ -2295,7 +2295,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_vm_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2372,7 +2372,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2447,7 +2447,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_network_interface { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2524,7 +2524,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_ip_configurations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2600,7 +2600,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_ip_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2624,7 +2624,7 @@ pub mod network_interfaces { } } pub mod network_interface_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2673,7 +2673,7 @@ pub mod network_interface_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2745,7 +2745,7 @@ pub mod network_interface_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2769,7 +2769,7 @@ pub mod network_interface_ip_configurations { } } pub mod network_interface_load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2818,7 +2818,7 @@ pub mod network_interface_load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2842,7 +2842,7 @@ pub mod network_interface_load_balancers { } } pub mod network_interface_tap_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2893,7 +2893,7 @@ pub mod network_interface_tap_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2976,7 +2976,7 @@ pub mod network_interface_tap_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkInterfaceTapConfiguration), @@ -3050,7 +3050,7 @@ pub mod network_interface_tap_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3126,7 +3126,7 @@ pub mod network_interface_tap_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3150,7 +3150,7 @@ pub mod network_interface_tap_configurations { } } pub mod virtual_network_taps { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3199,7 +3199,7 @@ pub mod virtual_network_taps { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3280,7 +3280,7 @@ pub mod virtual_network_taps { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkTap), @@ -3360,7 +3360,7 @@ pub mod virtual_network_taps { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3427,7 +3427,7 @@ pub mod virtual_network_taps { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3502,7 +3502,7 @@ pub mod virtual_network_taps { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3575,7 +3575,7 @@ pub mod virtual_network_taps { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3599,7 +3599,7 @@ pub mod virtual_network_taps { } } pub mod load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3652,7 +3652,7 @@ pub mod load_balancers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3733,7 +3733,7 @@ pub mod load_balancers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoadBalancer), @@ -3813,7 +3813,7 @@ pub mod load_balancers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3880,7 +3880,7 @@ pub mod load_balancers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -3955,7 +3955,7 @@ pub mod load_balancers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4023,7 +4023,7 @@ pub mod load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4047,7 +4047,7 @@ pub mod load_balancers { } } pub mod load_balancer_backend_address_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4096,7 +4096,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4168,7 +4168,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4251,7 +4251,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(BackendAddressPool), @@ -4325,7 +4325,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4355,7 +4355,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod load_balancer_frontend_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4404,7 +4404,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4476,7 +4476,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4500,7 +4500,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod inbound_nat_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4549,7 +4549,7 @@ pub mod inbound_nat_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4625,7 +4625,7 @@ pub mod inbound_nat_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4708,7 +4708,7 @@ pub mod inbound_nat_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(InboundNatRule), @@ -4782,7 +4782,7 @@ pub mod inbound_nat_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4812,7 +4812,7 @@ pub mod inbound_nat_rules { } } pub mod load_balancer_load_balancing_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4861,7 +4861,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4933,7 +4933,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4957,7 +4957,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod load_balancer_outbound_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5006,7 +5006,7 @@ pub mod load_balancer_outbound_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5078,7 +5078,7 @@ pub mod load_balancer_outbound_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5102,7 +5102,7 @@ pub mod load_balancer_outbound_rules { } } pub mod load_balancer_network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5151,7 +5151,7 @@ pub mod load_balancer_network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5175,7 +5175,7 @@ pub mod load_balancer_network_interfaces { } } pub mod load_balancer_probes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5224,7 +5224,7 @@ pub mod load_balancer_probes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5296,7 +5296,7 @@ pub mod load_balancer_probes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5320,7 +5320,7 @@ pub mod load_balancer_probes { } } pub mod virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5373,7 +5373,7 @@ pub mod virtual_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5454,7 +5454,7 @@ pub mod virtual_networks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetwork), @@ -5534,7 +5534,7 @@ pub mod virtual_networks { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5601,7 +5601,7 @@ pub mod virtual_networks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5676,7 +5676,7 @@ pub mod virtual_networks { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5744,7 +5744,7 @@ pub mod virtual_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5821,7 +5821,7 @@ pub mod virtual_networks { } } pub mod check_ip_address_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5894,7 +5894,7 @@ pub mod virtual_networks { } } pub mod list_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5918,7 +5918,7 @@ pub mod virtual_networks { } } pub mod subnets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5973,7 +5973,7 @@ pub mod subnets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6056,7 +6056,7 @@ pub mod subnets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Subnet), @@ -6130,7 +6130,7 @@ pub mod subnets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6212,7 +6212,7 @@ pub mod subnets { } } pub mod prepare_network_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6293,7 +6293,7 @@ pub mod subnets { } } pub mod unprepare_network_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6368,7 +6368,7 @@ pub mod subnets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6392,7 +6392,7 @@ pub mod subnets { } } pub mod resource_navigation_links { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6443,7 +6443,7 @@ pub mod resource_navigation_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6467,7 +6467,7 @@ pub mod resource_navigation_links { } } pub mod service_association_links { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6518,7 +6518,7 @@ pub mod service_association_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6542,7 +6542,7 @@ pub mod service_association_links { } } pub mod virtual_network_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6593,7 +6593,7 @@ pub mod virtual_network_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6676,7 +6676,7 @@ pub mod virtual_network_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkPeering), @@ -6750,7 +6750,7 @@ pub mod virtual_network_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6826,7 +6826,7 @@ pub mod virtual_network_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6850,7 +6850,7 @@ pub mod virtual_network_peerings { } } pub mod network_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6903,7 +6903,7 @@ pub mod network_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6984,7 +6984,7 @@ pub mod network_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkSecurityGroup), @@ -7064,7 +7064,7 @@ pub mod network_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7131,7 +7131,7 @@ pub mod network_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7206,7 +7206,7 @@ pub mod network_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7274,7 +7274,7 @@ pub mod network_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7298,7 +7298,7 @@ pub mod network_security_groups { } } pub mod security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7349,7 +7349,7 @@ pub mod security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7432,7 +7432,7 @@ pub mod security_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityRule), @@ -7506,7 +7506,7 @@ pub mod security_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -7582,7 +7582,7 @@ pub mod security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7606,7 +7606,7 @@ pub mod security_rules { } } pub mod default_security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7655,7 +7655,7 @@ pub mod default_security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7727,7 +7727,7 @@ pub mod default_security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7751,7 +7751,7 @@ pub mod default_security_rules { } } pub mod application_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7800,7 +7800,7 @@ pub mod application_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7881,7 +7881,7 @@ pub mod application_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationSecurityGroup), @@ -7961,7 +7961,7 @@ pub mod application_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8028,7 +8028,7 @@ pub mod application_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -8103,7 +8103,7 @@ pub mod application_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8171,7 +8171,7 @@ pub mod application_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8195,7 +8195,7 @@ pub mod application_security_groups { } } pub mod network_watchers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8244,7 +8244,7 @@ pub mod network_watchers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8325,7 +8325,7 @@ pub mod network_watchers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkWatcher), @@ -8405,7 +8405,7 @@ pub mod network_watchers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8471,7 +8471,7 @@ pub mod network_watchers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8544,7 +8544,7 @@ pub mod network_watchers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8613,7 +8613,7 @@ pub mod network_watchers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8688,7 +8688,7 @@ pub mod network_watchers { } } pub mod get_topology { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8769,7 +8769,7 @@ pub mod network_watchers { } } pub mod verify_ip_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VerificationIpFlowResult), @@ -8855,7 +8855,7 @@ pub mod network_watchers { } } pub mod get_next_hop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NextHopResult), @@ -8943,7 +8943,7 @@ pub mod network_watchers { } } pub mod get_vm_security_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityGroupViewResult), @@ -9029,7 +9029,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -9117,7 +9117,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -9205,7 +9205,7 @@ pub mod network_watchers { } } pub mod set_flow_log_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -9291,7 +9291,7 @@ pub mod network_watchers { } } pub mod get_flow_log_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -9377,7 +9377,7 @@ pub mod network_watchers { } } pub mod check_connectivity { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectivityInformation), @@ -9465,7 +9465,7 @@ pub mod network_watchers { } } pub mod get_azure_reachability_report { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AzureReachabilityReport), @@ -9553,7 +9553,7 @@ pub mod network_watchers { } } pub mod list_available_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AvailableProvidersList), @@ -9641,7 +9641,7 @@ pub mod network_watchers { } } pub mod get_network_configuration_diagnostic { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkConfigurationDiagnosticResponse), @@ -9670,7 +9670,7 @@ pub mod network_watchers { } } pub mod packet_captures { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9721,7 +9721,7 @@ pub mod packet_captures { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9795,7 +9795,7 @@ pub mod packet_captures { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9863,7 +9863,7 @@ pub mod packet_captures { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -9937,7 +9937,7 @@ pub mod packet_captures { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10024,7 +10024,7 @@ pub mod packet_captures { } } pub mod get_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PacketCaptureQueryStatusResult), @@ -10099,7 +10099,7 @@ pub mod packet_captures { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10123,7 +10123,7 @@ pub mod packet_captures { } } pub mod connection_monitors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10174,7 +10174,7 @@ pub mod connection_monitors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10257,7 +10257,7 @@ pub mod connection_monitors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorResult), @@ -10339,7 +10339,7 @@ pub mod connection_monitors { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10407,7 +10407,7 @@ pub mod connection_monitors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -10481,7 +10481,7 @@ pub mod connection_monitors { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10555,7 +10555,7 @@ pub mod connection_monitors { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10639,7 +10639,7 @@ pub mod connection_monitors { } } pub mod query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorQueryResult), @@ -10714,7 +10714,7 @@ pub mod connection_monitors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10738,7 +10738,7 @@ pub mod connection_monitors { } } pub mod flow_logs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10789,7 +10789,7 @@ pub mod flow_logs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10872,7 +10872,7 @@ pub mod flow_logs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FlowLog), @@ -10954,7 +10954,7 @@ pub mod flow_logs { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11022,7 +11022,7 @@ pub mod flow_logs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -11097,7 +11097,7 @@ pub mod flow_logs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11121,7 +11121,7 @@ pub mod flow_logs { } } pub mod route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11174,7 +11174,7 @@ pub mod route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11255,7 +11255,7 @@ pub mod route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteTable), @@ -11335,7 +11335,7 @@ pub mod route_tables { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11402,7 +11402,7 @@ pub mod route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -11476,7 +11476,7 @@ pub mod route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11545,7 +11545,7 @@ pub mod route_tables { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11569,7 +11569,7 @@ pub mod route_tables { } } pub mod routes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11620,7 +11620,7 @@ pub mod routes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11703,7 +11703,7 @@ pub mod routes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Route), @@ -11777,7 +11777,7 @@ pub mod routes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -11853,7 +11853,7 @@ pub mod routes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11877,7 +11877,7 @@ pub mod routes { } } pub mod service_endpoint_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11930,7 +11930,7 @@ pub mod service_endpoint_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12011,7 +12011,7 @@ pub mod service_endpoint_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ServiceEndpointPolicy), @@ -12091,7 +12091,7 @@ pub mod service_endpoint_policies { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12158,7 +12158,7 @@ pub mod service_endpoint_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -12230,7 +12230,7 @@ pub mod service_endpoint_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12303,7 +12303,7 @@ pub mod service_endpoint_policies { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12327,7 +12327,7 @@ pub mod service_endpoint_policies { } } pub mod service_endpoint_policy_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12371,7 +12371,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12447,7 +12447,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServiceEndpointPolicyDefinition), @@ -12514,7 +12514,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -12595,7 +12595,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12619,7 +12619,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod private_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12672,7 +12672,7 @@ pub mod private_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12753,7 +12753,7 @@ pub mod private_endpoints { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpoint), @@ -12825,7 +12825,7 @@ pub mod private_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -12899,7 +12899,7 @@ pub mod private_endpoints { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12968,7 +12968,7 @@ pub mod private_endpoints { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12992,7 +12992,7 @@ pub mod private_endpoints { } } pub mod available_private_endpoint_types { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -13039,7 +13039,7 @@ pub mod available_private_endpoint_types { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13114,7 +13114,7 @@ pub mod available_private_endpoint_types { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13138,7 +13138,7 @@ pub mod available_private_endpoint_types { } } pub mod private_dns_zone_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13189,7 +13189,7 @@ pub mod private_dns_zone_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13272,7 +13272,7 @@ pub mod private_dns_zone_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateDnsZoneGroup), @@ -13346,7 +13346,7 @@ pub mod private_dns_zone_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -13422,7 +13422,7 @@ pub mod private_dns_zone_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13446,7 +13446,7 @@ pub mod private_dns_zone_groups { } } pub mod private_link_services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13499,7 +13499,7 @@ pub mod private_link_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13580,7 +13580,7 @@ pub mod private_link_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkService), @@ -13652,7 +13652,7 @@ pub mod private_link_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -13726,7 +13726,7 @@ pub mod private_link_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13795,7 +13795,7 @@ pub mod private_link_services { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13876,7 +13876,7 @@ pub mod private_link_services { } } pub mod get_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13955,7 +13955,7 @@ pub mod private_link_services { } } pub mod update_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14029,7 +14029,7 @@ pub mod private_link_services { } } pub mod delete_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -14110,7 +14110,7 @@ pub mod private_link_services { } } pub mod list_private_endpoint_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14186,7 +14186,7 @@ pub mod private_link_services { } } pub mod check_private_link_service_visibility { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServiceVisibility), @@ -14275,7 +14275,7 @@ pub mod private_link_services { } } pub mod check_private_link_service_visibility_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServiceVisibility), @@ -14353,7 +14353,7 @@ pub mod private_link_services { } } pub mod list_auto_approved_private_link_services { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14430,7 +14430,7 @@ pub mod private_link_services { } } pub mod list_auto_approved_private_link_services_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14454,7 +14454,7 @@ pub mod private_link_services { } } pub mod network_profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14507,7 +14507,7 @@ pub mod network_profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14588,7 +14588,7 @@ pub mod network_profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkProfile), @@ -14668,7 +14668,7 @@ pub mod network_profiles { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14735,7 +14735,7 @@ pub mod network_profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -14810,7 +14810,7 @@ pub mod network_profiles { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14878,7 +14878,7 @@ pub mod network_profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14902,7 +14902,7 @@ pub mod network_profiles { } } pub mod public_ip_addresses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14955,7 +14955,7 @@ pub mod public_ip_addresses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15036,7 +15036,7 @@ pub mod public_ip_addresses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpAddress), @@ -15116,7 +15116,7 @@ pub mod public_ip_addresses { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15183,7 +15183,7 @@ pub mod public_ip_addresses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -15258,7 +15258,7 @@ pub mod public_ip_addresses { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15326,7 +15326,7 @@ pub mod public_ip_addresses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15403,7 +15403,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15477,7 +15477,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_vm_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15554,7 +15554,7 @@ pub mod public_ip_addresses { } } pub mod get_virtual_machine_scale_set_public_ip_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15578,7 +15578,7 @@ pub mod public_ip_addresses { } } pub mod available_delegations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -15625,7 +15625,7 @@ pub mod available_delegations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15649,7 +15649,7 @@ pub mod available_delegations { } } pub mod available_resource_group_delegations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -15698,7 +15698,7 @@ pub mod available_resource_group_delegations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15722,7 +15722,7 @@ pub mod available_resource_group_delegations { } } pub mod available_service_aliases { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -15769,7 +15769,7 @@ pub mod available_service_aliases { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15844,7 +15844,7 @@ pub mod available_service_aliases { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15868,7 +15868,7 @@ pub mod available_service_aliases { } } pub mod azure_firewalls { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15917,7 +15917,7 @@ pub mod azure_firewalls { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15998,7 +15998,7 @@ pub mod azure_firewalls { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(AzureFirewall), @@ -16079,7 +16079,7 @@ pub mod azure_firewalls { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -16151,7 +16151,7 @@ pub mod azure_firewalls { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -16225,7 +16225,7 @@ pub mod azure_firewalls { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16294,7 +16294,7 @@ pub mod azure_firewalls { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16318,7 +16318,7 @@ pub mod azure_firewalls { } } pub mod azure_firewall_fqdn_tags { - use crate::models::*; + use super::{models, models::*}; pub async fn list_all( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -16366,7 +16366,7 @@ pub mod azure_firewall_fqdn_tags { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16390,7 +16390,7 @@ pub mod azure_firewall_fqdn_tags { } } pub mod bastion_hosts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16439,7 +16439,7 @@ pub mod bastion_hosts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16520,7 +16520,7 @@ pub mod bastion_hosts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(BastionHost), @@ -16592,7 +16592,7 @@ pub mod bastion_hosts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -16664,7 +16664,7 @@ pub mod bastion_hosts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16737,7 +16737,7 @@ pub mod bastion_hosts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16816,7 +16816,7 @@ pub async fn put_bastion_shareable_link( } } pub mod put_bastion_shareable_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BastionShareableLinkListResult), @@ -16894,7 +16894,7 @@ pub async fn delete_bastion_shareable_link( } } pub mod delete_bastion_shareable_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -16976,7 +16976,7 @@ pub async fn get_bastion_shareable_link( } } pub mod get_bastion_shareable_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17051,7 +17051,7 @@ pub async fn get_active_sessions( } } pub mod get_active_sessions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BastionActiveSessionListResult), @@ -17133,7 +17133,7 @@ pub async fn disconnect_active_sessions( } } pub mod disconnect_active_sessions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17208,7 +17208,7 @@ pub async fn check_dns_name_availability( } } pub mod check_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17283,7 +17283,7 @@ pub async fn supported_security_providers( } } pub mod supported_security_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17365,7 +17365,7 @@ pub async fn generatevirtualwanvpnserverconfigurationvpnprofile( } } pub mod generatevirtualwanvpnserverconfigurationvpnprofile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnProfileResponse), @@ -17393,7 +17393,7 @@ pub mod generatevirtualwanvpnserverconfigurationvpnprofile { } } pub mod custom_ip_prefixes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17446,7 +17446,7 @@ pub mod custom_ip_prefixes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17527,7 +17527,7 @@ pub mod custom_ip_prefixes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CustomIpPrefix), @@ -17607,7 +17607,7 @@ pub mod custom_ip_prefixes { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17674,7 +17674,7 @@ pub mod custom_ip_prefixes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -17749,7 +17749,7 @@ pub mod custom_ip_prefixes { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17817,7 +17817,7 @@ pub mod custom_ip_prefixes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17841,7 +17841,7 @@ pub mod custom_ip_prefixes { } } pub mod ddos_custom_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17890,7 +17890,7 @@ pub mod ddos_custom_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17971,7 +17971,7 @@ pub mod ddos_custom_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DdosCustomPolicy), @@ -18051,7 +18051,7 @@ pub mod ddos_custom_policies { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18118,7 +18118,7 @@ pub mod ddos_custom_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -18148,7 +18148,7 @@ pub mod ddos_custom_policies { } } pub mod ddos_protection_plans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18197,7 +18197,7 @@ pub mod ddos_protection_plans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18278,7 +18278,7 @@ pub mod ddos_protection_plans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DdosProtectionPlan), @@ -18358,7 +18358,7 @@ pub mod ddos_protection_plans { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18425,7 +18425,7 @@ pub mod ddos_protection_plans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -18497,7 +18497,7 @@ pub mod ddos_protection_plans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18570,7 +18570,7 @@ pub mod ddos_protection_plans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18594,7 +18594,7 @@ pub mod ddos_protection_plans { } } pub mod dscp_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18643,7 +18643,7 @@ pub mod dscp_configuration { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18724,7 +18724,7 @@ pub mod dscp_configuration { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DscpConfiguration), @@ -18796,7 +18796,7 @@ pub mod dscp_configuration { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -18870,7 +18870,7 @@ pub mod dscp_configuration { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18939,7 +18939,7 @@ pub mod dscp_configuration { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18963,7 +18963,7 @@ pub mod dscp_configuration { } } pub mod available_endpoint_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -19010,7 +19010,7 @@ pub mod available_endpoint_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19034,7 +19034,7 @@ pub mod available_endpoint_services { } } pub mod express_route_circuit_authorizations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19085,7 +19085,7 @@ pub mod express_route_circuit_authorizations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19168,7 +19168,7 @@ pub mod express_route_circuit_authorizations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuitAuthorization), @@ -19242,7 +19242,7 @@ pub mod express_route_circuit_authorizations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -19318,7 +19318,7 @@ pub mod express_route_circuit_authorizations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19342,7 +19342,7 @@ pub mod express_route_circuit_authorizations { } } pub mod express_route_circuit_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19393,7 +19393,7 @@ pub mod express_route_circuit_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19476,7 +19476,7 @@ pub mod express_route_circuit_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitPeering), @@ -19550,7 +19550,7 @@ pub mod express_route_circuit_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -19626,7 +19626,7 @@ pub mod express_route_circuit_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19650,7 +19650,7 @@ pub mod express_route_circuit_peerings { } } pub mod express_route_circuit_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19703,7 +19703,7 @@ pub mod express_route_circuit_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19788,7 +19788,7 @@ pub mod express_route_circuit_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitConnection), @@ -19864,7 +19864,7 @@ pub mod express_route_circuit_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -19942,7 +19942,7 @@ pub mod express_route_circuit_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19966,7 +19966,7 @@ pub mod express_route_circuit_connections { } } pub mod peer_express_route_circuit_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20019,7 +20019,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20091,7 +20091,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20115,7 +20115,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod express_route_circuits { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20164,7 +20164,7 @@ pub mod express_route_circuits { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20245,7 +20245,7 @@ pub mod express_route_circuits { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuit), @@ -20325,7 +20325,7 @@ pub mod express_route_circuits { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20392,7 +20392,7 @@ pub mod express_route_circuits { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -20477,7 +20477,7 @@ pub mod express_route_circuits { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -20561,7 +20561,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -20647,7 +20647,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableSummaryListResult), @@ -20725,7 +20725,7 @@ pub mod express_route_circuits { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20800,7 +20800,7 @@ pub mod express_route_circuits { } } pub mod get_peering_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20868,7 +20868,7 @@ pub mod express_route_circuits { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20937,7 +20937,7 @@ pub mod express_route_circuits { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20961,7 +20961,7 @@ pub mod express_route_circuits { } } pub mod express_route_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -21006,7 +21006,7 @@ pub mod express_route_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21030,7 +21030,7 @@ pub mod express_route_service_providers { } } pub mod virtual_wans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -21079,7 +21079,7 @@ pub mod virtual_wans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21160,7 +21160,7 @@ pub mod virtual_wans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualWan), @@ -21240,7 +21240,7 @@ pub mod virtual_wans { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21307,7 +21307,7 @@ pub mod virtual_wans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -21386,7 +21386,7 @@ pub mod virtual_wans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21452,7 +21452,7 @@ pub mod virtual_wans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21476,7 +21476,7 @@ pub mod virtual_wans { } } pub mod vpn_sites { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -21525,7 +21525,7 @@ pub mod vpn_sites { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21606,7 +21606,7 @@ pub mod vpn_sites { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnSite), @@ -21686,7 +21686,7 @@ pub mod vpn_sites { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21753,7 +21753,7 @@ pub mod vpn_sites { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -21832,7 +21832,7 @@ pub mod vpn_sites { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21898,7 +21898,7 @@ pub mod vpn_sites { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21922,7 +21922,7 @@ pub mod vpn_sites { } } pub mod vpn_site_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -21973,7 +21973,7 @@ pub mod vpn_site_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22046,7 +22046,7 @@ pub mod vpn_site_links { } } pub mod list_by_vpn_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22070,7 +22070,7 @@ pub mod vpn_site_links { } } pub mod vpn_sites_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn download( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -22120,7 +22120,7 @@ pub mod vpn_sites_configuration { } } pub mod download { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22149,7 +22149,7 @@ pub mod vpn_sites_configuration { } } pub mod vpn_server_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -22198,7 +22198,7 @@ pub mod vpn_server_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22279,7 +22279,7 @@ pub mod vpn_server_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnServerConfiguration), @@ -22359,7 +22359,7 @@ pub mod vpn_server_configurations { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22426,7 +22426,7 @@ pub mod vpn_server_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22505,7 +22505,7 @@ pub mod vpn_server_configurations { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22571,7 +22571,7 @@ pub mod vpn_server_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22595,7 +22595,7 @@ pub mod vpn_server_configurations { } } pub mod virtual_hubs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -22644,7 +22644,7 @@ pub mod virtual_hubs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22725,7 +22725,7 @@ pub mod virtual_hubs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHub), @@ -22805,7 +22805,7 @@ pub mod virtual_hubs { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22872,7 +22872,7 @@ pub mod virtual_hubs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22951,7 +22951,7 @@ pub mod virtual_hubs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23017,7 +23017,7 @@ pub mod virtual_hubs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23094,7 +23094,7 @@ pub mod virtual_hubs { } } pub mod get_effective_virtual_hub_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23123,7 +23123,7 @@ pub mod virtual_hubs { } } pub mod hub_virtual_network_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -23174,7 +23174,7 @@ pub mod hub_virtual_network_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23257,7 +23257,7 @@ pub mod hub_virtual_network_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HubVirtualNetworkConnection), @@ -23331,7 +23331,7 @@ pub mod hub_virtual_network_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23407,7 +23407,7 @@ pub mod hub_virtual_network_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23431,7 +23431,7 @@ pub mod hub_virtual_network_connections { } } pub mod vpn_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -23480,7 +23480,7 @@ pub mod vpn_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23561,7 +23561,7 @@ pub mod vpn_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -23642,7 +23642,7 @@ pub mod vpn_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -23714,7 +23714,7 @@ pub mod vpn_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23792,7 +23792,7 @@ pub mod vpn_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -23877,7 +23877,7 @@ pub mod vpn_gateways { } } pub mod start_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -23962,7 +23962,7 @@ pub mod vpn_gateways { } } pub mod stop_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -24040,7 +24040,7 @@ pub mod vpn_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24106,7 +24106,7 @@ pub mod vpn_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24130,7 +24130,7 @@ pub mod vpn_gateways { } } pub mod vpn_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -24181,7 +24181,7 @@ pub mod vpn_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24264,7 +24264,7 @@ pub mod vpn_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnConnection), @@ -24338,7 +24338,7 @@ pub mod vpn_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -24426,7 +24426,7 @@ pub mod vpn_connections { } } pub mod start_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -24513,7 +24513,7 @@ pub mod vpn_connections { } } pub mod stop_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -24591,7 +24591,7 @@ pub mod vpn_connections { } } pub mod list_by_vpn_gateway { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24615,7 +24615,7 @@ pub mod vpn_connections { } } pub mod vpn_site_link_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -24668,7 +24668,7 @@ pub mod vpn_site_link_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24692,7 +24692,7 @@ pub mod vpn_site_link_connections { } } pub mod vpn_link_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_vpn_connection( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -24748,7 +24748,7 @@ pub mod vpn_link_connections { } } pub mod list_by_vpn_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24772,7 +24772,7 @@ pub mod vpn_link_connections { } } pub mod p2s_vpn_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -24821,7 +24821,7 @@ pub mod p2s_vpn_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24902,7 +24902,7 @@ pub mod p2s_vpn_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -24983,7 +24983,7 @@ pub mod p2s_vpn_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -25055,7 +25055,7 @@ pub mod p2s_vpn_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -25134,7 +25134,7 @@ pub mod p2s_vpn_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25200,7 +25200,7 @@ pub mod p2s_vpn_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25272,7 +25272,7 @@ pub mod p2s_vpn_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -25353,7 +25353,7 @@ pub mod p2s_vpn_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnProfileResponse), @@ -25435,7 +25435,7 @@ pub mod p2s_vpn_gateways { } } pub mod get_p2s_vpn_connection_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -25518,7 +25518,7 @@ pub mod p2s_vpn_gateways { } } pub mod get_p2s_vpn_connection_health_detailed { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnConnectionHealth), @@ -25596,7 +25596,7 @@ pub mod p2s_vpn_gateways { } } pub mod disconnect_p2s_vpn_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -25625,7 +25625,7 @@ pub mod p2s_vpn_gateways { } } pub mod vpn_server_configurations_associated_with_virtual_wan { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -25676,7 +25676,7 @@ pub mod vpn_server_configurations_associated_with_virtual_wan { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnServerConfigurationsResponse), @@ -25705,7 +25705,7 @@ pub mod vpn_server_configurations_associated_with_virtual_wan { } } pub mod virtual_hub_route_table_v2s { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -25756,7 +25756,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25839,7 +25839,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHubRouteTableV2), @@ -25913,7 +25913,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -25989,7 +25989,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26013,7 +26013,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod express_route_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -26061,7 +26061,7 @@ pub mod express_route_gateways { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26134,7 +26134,7 @@ pub mod express_route_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26204,7 +26204,7 @@ pub mod express_route_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26285,7 +26285,7 @@ pub mod express_route_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteGateway), @@ -26357,7 +26357,7 @@ pub mod express_route_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -26387,7 +26387,7 @@ pub mod express_route_gateways { } } pub mod express_route_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -26438,7 +26438,7 @@ pub mod express_route_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26521,7 +26521,7 @@ pub mod express_route_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteConnection), @@ -26595,7 +26595,7 @@ pub mod express_route_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -26671,7 +26671,7 @@ pub mod express_route_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26695,7 +26695,7 @@ pub mod express_route_connections { } } pub mod virtual_hub_bgp_connection { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -26746,7 +26746,7 @@ pub mod virtual_hub_bgp_connection { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26829,7 +26829,7 @@ pub mod virtual_hub_bgp_connection { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BgpConnection), @@ -26903,7 +26903,7 @@ pub mod virtual_hub_bgp_connection { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -26933,7 +26933,7 @@ pub mod virtual_hub_bgp_connection { } } pub mod virtual_hub_bgp_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -26982,7 +26982,7 @@ pub mod virtual_hub_bgp_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27059,7 +27059,7 @@ pub mod virtual_hub_bgp_connections { } } pub mod list_learned_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PeerRouteList), @@ -27143,7 +27143,7 @@ pub mod virtual_hub_bgp_connections { } } pub mod list_advertised_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PeerRouteList), @@ -27172,7 +27172,7 @@ pub mod virtual_hub_bgp_connections { } } pub mod virtual_hub_ip_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -27223,7 +27223,7 @@ pub mod virtual_hub_ip_configuration { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27306,7 +27306,7 @@ pub mod virtual_hub_ip_configuration { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HubIpConfiguration), @@ -27380,7 +27380,7 @@ pub mod virtual_hub_ip_configuration { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -27456,7 +27456,7 @@ pub mod virtual_hub_ip_configuration { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27480,7 +27480,7 @@ pub mod virtual_hub_ip_configuration { } } pub mod hub_route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -27531,7 +27531,7 @@ pub mod hub_route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27614,7 +27614,7 @@ pub mod hub_route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HubRouteTable), @@ -27688,7 +27688,7 @@ pub mod hub_route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -27764,7 +27764,7 @@ pub mod hub_route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27788,7 +27788,7 @@ pub mod hub_route_tables { } } pub mod virtual_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -27837,7 +27837,7 @@ pub mod virtual_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27918,7 +27918,7 @@ pub mod virtual_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGateway), @@ -27999,7 +27999,7 @@ pub mod virtual_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -28071,7 +28071,7 @@ pub mod virtual_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -28145,7 +28145,7 @@ pub mod virtual_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28218,7 +28218,7 @@ pub mod virtual_network_gateways { } } pub mod list_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28294,7 +28294,7 @@ pub mod virtual_network_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -28371,7 +28371,7 @@ pub mod virtual_network_gateways { } } pub mod reset_vpn_client_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -28454,7 +28454,7 @@ pub mod virtual_network_gateways { } } pub mod generatevpnclientpackage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -28535,7 +28535,7 @@ pub mod virtual_network_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -28617,7 +28617,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpn_profile_package_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -28701,7 +28701,7 @@ pub mod virtual_network_gateways { } } pub mod get_bgp_peer_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BgpPeerStatusListResult), @@ -28782,7 +28782,7 @@ pub mod virtual_network_gateways { } } pub mod supported_vpn_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28857,7 +28857,7 @@ pub mod virtual_network_gateways { } } pub mod get_learned_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -28941,7 +28941,7 @@ pub mod virtual_network_gateways { } } pub mod get_advertised_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -29024,7 +29024,7 @@ pub mod virtual_network_gateways { } } pub mod set_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -29105,7 +29105,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29182,7 +29182,7 @@ pub mod virtual_network_gateways { } } pub mod vpn_device_configuration_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29262,7 +29262,7 @@ pub mod virtual_network_gateways { } } pub mod start_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -29343,7 +29343,7 @@ pub mod virtual_network_gateways { } } pub mod stop_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -29425,7 +29425,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpnclient_connection_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnClientConnectionHealthDetailListResult), @@ -29501,7 +29501,7 @@ pub mod virtual_network_gateways { } } pub mod disconnect_virtual_network_gateway_vpn_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -29530,7 +29530,7 @@ pub mod virtual_network_gateways { } } pub mod virtual_network_gateway_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -29579,7 +29579,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29660,7 +29660,7 @@ pub mod virtual_network_gateway_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGatewayConnection), @@ -29741,7 +29741,7 @@ pub mod virtual_network_gateway_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -29813,7 +29813,7 @@ pub mod virtual_network_gateway_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -29892,7 +29892,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29973,7 +29973,7 @@ pub mod virtual_network_gateway_connections { } } pub mod set_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ConnectionSharedKey), @@ -30046,7 +30046,7 @@ pub mod virtual_network_gateway_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30122,7 +30122,7 @@ pub mod virtual_network_gateway_connections { } } pub mod reset_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionResetSharedKey), @@ -30207,7 +30207,7 @@ pub mod virtual_network_gateway_connections { } } pub mod start_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -30288,7 +30288,7 @@ pub mod virtual_network_gateway_connections { } } pub mod stop_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -30317,7 +30317,7 @@ pub mod virtual_network_gateway_connections { } } pub mod local_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -30366,7 +30366,7 @@ pub mod local_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30447,7 +30447,7 @@ pub mod local_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LocalNetworkGateway), @@ -30527,7 +30527,7 @@ pub mod local_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30594,7 +30594,7 @@ pub mod local_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -30668,7 +30668,7 @@ pub mod local_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30692,7 +30692,7 @@ pub mod local_network_gateways { } } pub mod express_route_cross_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -30737,7 +30737,7 @@ pub mod express_route_cross_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30810,7 +30810,7 @@ pub mod express_route_cross_connections { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30880,7 +30880,7 @@ pub mod express_route_cross_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30955,7 +30955,7 @@ pub mod express_route_cross_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31030,7 +31030,7 @@ pub mod express_route_cross_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31109,7 +31109,7 @@ pub mod express_route_cross_connections { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -31187,7 +31187,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionsRoutesTableSummaryListResult), @@ -31271,7 +31271,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -31300,7 +31300,7 @@ pub mod express_route_cross_connections { } } pub mod express_route_cross_connection_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -31349,7 +31349,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31421,7 +31421,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31504,7 +31504,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionPeering), @@ -31578,7 +31578,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -31608,7 +31608,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod express_route_ports_locations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -31653,7 +31653,7 @@ pub mod express_route_ports_locations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31721,7 +31721,7 @@ pub mod express_route_ports_locations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31745,7 +31745,7 @@ pub mod express_route_ports_locations { } } pub mod express_route_ports { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -31794,7 +31794,7 @@ pub mod express_route_ports { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31875,7 +31875,7 @@ pub mod express_route_ports { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRoutePort), @@ -31955,7 +31955,7 @@ pub mod express_route_ports { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32022,7 +32022,7 @@ pub mod express_route_ports { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -32101,7 +32101,7 @@ pub mod express_route_ports { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32167,7 +32167,7 @@ pub mod express_route_ports { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32242,7 +32242,7 @@ pub mod express_route_ports { } } pub mod generate_loa { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32266,7 +32266,7 @@ pub mod express_route_ports { } } pub mod express_route_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -32317,7 +32317,7 @@ pub mod express_route_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32387,7 +32387,7 @@ pub mod express_route_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32411,7 +32411,7 @@ pub mod express_route_links { } } pub mod firewall_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -32464,7 +32464,7 @@ pub mod firewall_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32545,7 +32545,7 @@ pub mod firewall_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FirewallPolicy), @@ -32617,7 +32617,7 @@ pub mod firewall_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -32691,7 +32691,7 @@ pub mod firewall_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32760,7 +32760,7 @@ pub mod firewall_policies { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32784,7 +32784,7 @@ pub mod firewall_policies { } } pub mod firewall_policy_rule_collection_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -32835,7 +32835,7 @@ pub mod firewall_policy_rule_collection_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32918,7 +32918,7 @@ pub mod firewall_policy_rule_collection_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FirewallPolicyRuleCollectionGroup), @@ -32992,7 +32992,7 @@ pub mod firewall_policy_rule_collection_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -33068,7 +33068,7 @@ pub mod firewall_policy_rule_collection_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33092,7 +33092,7 @@ pub mod firewall_policy_rule_collection_groups { } } pub mod ip_allocations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -33145,7 +33145,7 @@ pub mod ip_allocations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33226,7 +33226,7 @@ pub mod ip_allocations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IpAllocation), @@ -33306,7 +33306,7 @@ pub mod ip_allocations { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33373,7 +33373,7 @@ pub mod ip_allocations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -33445,7 +33445,7 @@ pub mod ip_allocations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33518,7 +33518,7 @@ pub mod ip_allocations { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33542,7 +33542,7 @@ pub mod ip_allocations { } } pub mod ip_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -33595,7 +33595,7 @@ pub mod ip_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33676,7 +33676,7 @@ pub mod ip_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IpGroup), @@ -33756,7 +33756,7 @@ pub mod ip_groups { } } pub mod update_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33823,7 +33823,7 @@ pub mod ip_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -33902,7 +33902,7 @@ pub mod ip_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33968,7 +33968,7 @@ pub mod ip_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33992,7 +33992,7 @@ pub mod ip_groups { } } pub mod nat_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -34045,7 +34045,7 @@ pub mod nat_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34127,7 +34127,7 @@ pub mod nat_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NatGateway), @@ -34208,7 +34208,7 @@ pub mod nat_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34275,7 +34275,7 @@ pub mod nat_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -34350,7 +34350,7 @@ pub mod nat_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34418,7 +34418,7 @@ pub mod nat_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34442,7 +34442,7 @@ pub mod nat_gateways { } } pub mod network_virtual_appliances { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -34495,7 +34495,7 @@ pub mod network_virtual_appliances { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34576,7 +34576,7 @@ pub mod network_virtual_appliances { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkVirtualAppliance), @@ -34656,7 +34656,7 @@ pub mod network_virtual_appliances { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34723,7 +34723,7 @@ pub mod network_virtual_appliances { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -34802,7 +34802,7 @@ pub mod network_virtual_appliances { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34868,7 +34868,7 @@ pub mod network_virtual_appliances { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34892,7 +34892,7 @@ pub mod network_virtual_appliances { } } pub mod virtual_appliance_sites { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -34943,7 +34943,7 @@ pub mod virtual_appliance_sites { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35026,7 +35026,7 @@ pub mod virtual_appliance_sites { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualApplianceSite), @@ -35100,7 +35100,7 @@ pub mod virtual_appliance_sites { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -35176,7 +35176,7 @@ pub mod virtual_appliance_sites { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35200,7 +35200,7 @@ pub mod virtual_appliance_sites { } } pub mod virtual_appliance_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -35245,7 +35245,7 @@ pub mod virtual_appliance_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35313,7 +35313,7 @@ pub mod virtual_appliance_skus { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35337,7 +35337,7 @@ pub mod virtual_appliance_skus { } } pub mod inbound_security_rule { - use crate::models::*; + use super::{models, models::*}; pub async fn create_or_update( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -35399,7 +35399,7 @@ pub mod inbound_security_rule { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(InboundSecurityRule), @@ -35428,7 +35428,7 @@ pub mod inbound_security_rule { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Network/operations", operation_config.base_path(),); @@ -35466,7 +35466,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35490,7 +35490,7 @@ pub mod operations { } } pub mod public_ip_prefixes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -35543,7 +35543,7 @@ pub mod public_ip_prefixes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35624,7 +35624,7 @@ pub mod public_ip_prefixes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpPrefix), @@ -35704,7 +35704,7 @@ pub mod public_ip_prefixes { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35771,7 +35771,7 @@ pub mod public_ip_prefixes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -35846,7 +35846,7 @@ pub mod public_ip_prefixes { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35914,7 +35914,7 @@ pub mod public_ip_prefixes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35938,7 +35938,7 @@ pub mod public_ip_prefixes { } } pub mod route_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -35991,7 +35991,7 @@ pub mod route_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36072,7 +36072,7 @@ pub mod route_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilter), @@ -36152,7 +36152,7 @@ pub mod route_filters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36219,7 +36219,7 @@ pub mod route_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -36298,7 +36298,7 @@ pub mod route_filters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36364,7 +36364,7 @@ pub mod route_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36388,7 +36388,7 @@ pub mod route_filters { } } pub mod route_filter_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -36439,7 +36439,7 @@ pub mod route_filter_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36522,7 +36522,7 @@ pub mod route_filter_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilterRule), @@ -36596,7 +36596,7 @@ pub mod route_filter_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -36675,7 +36675,7 @@ pub mod route_filter_rules { } } pub mod list_by_route_filter { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36699,7 +36699,7 @@ pub mod route_filter_rules { } } pub mod security_partner_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -36748,7 +36748,7 @@ pub mod security_partner_providers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36829,7 +36829,7 @@ pub mod security_partner_providers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(SecurityPartnerProvider), @@ -36909,7 +36909,7 @@ pub mod security_partner_providers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36976,7 +36976,7 @@ pub mod security_partner_providers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -37055,7 +37055,7 @@ pub mod security_partner_providers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37121,7 +37121,7 @@ pub mod security_partner_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37145,7 +37145,7 @@ pub mod security_partner_providers { } } pub mod bgp_service_communities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -37190,7 +37190,7 @@ pub mod bgp_service_communities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37214,7 +37214,7 @@ pub mod bgp_service_communities { } } pub mod service_tags { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -37261,7 +37261,7 @@ pub mod service_tags { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37285,7 +37285,7 @@ pub mod service_tags { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -37332,7 +37332,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37356,7 +37356,7 @@ pub mod usages { } } pub mod virtual_routers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -37409,7 +37409,7 @@ pub mod virtual_routers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37490,7 +37490,7 @@ pub mod virtual_routers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(VirtualRouter), @@ -37562,7 +37562,7 @@ pub mod virtual_routers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -37641,7 +37641,7 @@ pub mod virtual_routers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37707,7 +37707,7 @@ pub mod virtual_routers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37731,7 +37731,7 @@ pub mod virtual_routers { } } pub mod virtual_router_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -37782,7 +37782,7 @@ pub mod virtual_router_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37865,7 +37865,7 @@ pub mod virtual_router_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(VirtualRouterPeering), @@ -37939,7 +37939,7 @@ pub mod virtual_router_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -38015,7 +38015,7 @@ pub mod virtual_router_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38039,7 +38039,7 @@ pub mod virtual_router_peerings { } } pub mod web_application_firewall_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -38086,7 +38086,7 @@ pub mod web_application_firewall_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38155,7 +38155,7 @@ pub mod web_application_firewall_policies { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38225,7 +38225,7 @@ pub mod web_application_firewall_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38306,7 +38306,7 @@ pub mod web_application_firewall_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WebApplicationFirewallPolicy), @@ -38378,7 +38378,7 @@ pub mod web_application_firewall_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, diff --git a/services/mgmt/network/src/package_2020_07/operations.rs b/services/mgmt/network/src/package_2020_07/operations.rs index f89b1819a1..517580fa84 100644 --- a/services/mgmt/network/src/package_2020_07/operations.rs +++ b/services/mgmt/network/src/package_2020_07/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod application_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod application_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod application_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationGateway), @@ -214,7 +214,7 @@ pub mod application_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -281,7 +281,7 @@ pub mod application_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -355,7 +355,7 @@ pub mod application_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -424,7 +424,7 @@ pub mod application_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -491,7 +491,7 @@ pub mod application_gateways { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -563,7 +563,7 @@ pub mod application_gateways { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -647,7 +647,7 @@ pub mod application_gateways { } } pub mod backend_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealth), @@ -734,7 +734,7 @@ pub mod application_gateways { } } pub mod backend_health_on_demand { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealthOnDemand), @@ -810,7 +810,7 @@ pub mod application_gateways { } } pub mod list_available_server_variables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -881,7 +881,7 @@ pub mod application_gateways { } } pub mod list_available_request_headers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -952,7 +952,7 @@ pub mod application_gateways { } } pub mod list_available_response_headers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1023,7 +1023,7 @@ pub mod application_gateways { } } pub mod list_available_waf_rule_sets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1094,7 +1094,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_options { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1165,7 +1165,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_predefined_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1238,7 +1238,7 @@ pub mod application_gateways { } } pub mod get_ssl_predefined_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1262,7 +1262,7 @@ pub mod application_gateways { } } pub mod application_gateway_private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1311,7 +1311,7 @@ pub mod application_gateway_private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1335,7 +1335,7 @@ pub mod application_gateway_private_link_resources { } } pub mod application_gateway_private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1386,7 +1386,7 @@ pub mod application_gateway_private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1461,7 +1461,7 @@ pub mod application_gateway_private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayPrivateEndpointConnection), @@ -1535,7 +1535,7 @@ pub mod application_gateway_private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1611,7 +1611,7 @@ pub mod application_gateway_private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1635,7 +1635,7 @@ pub mod application_gateway_private_endpoint_connections { } } pub mod network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1688,7 +1688,7 @@ pub mod network_interfaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1769,7 +1769,7 @@ pub mod network_interfaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkInterface), @@ -1849,7 +1849,7 @@ pub mod network_interfaces { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1916,7 +1916,7 @@ pub mod network_interfaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1991,7 +1991,7 @@ pub mod network_interfaces { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2059,7 +2059,7 @@ pub mod network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2136,7 +2136,7 @@ pub mod network_interfaces { } } pub mod get_effective_route_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveRouteListResult), @@ -2218,7 +2218,7 @@ pub mod network_interfaces { } } pub mod list_effective_network_security_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveNetworkSecurityGroupListResult), @@ -2295,7 +2295,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_vm_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2372,7 +2372,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2447,7 +2447,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_network_interface { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2524,7 +2524,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_ip_configurations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2600,7 +2600,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_ip_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2679,7 +2679,7 @@ pub mod network_interfaces { } } pub mod list_cloud_service_role_instance_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2754,7 +2754,7 @@ pub mod network_interfaces { } } pub mod list_cloud_service_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2837,7 +2837,7 @@ pub mod network_interfaces { } } pub mod get_cloud_service_network_interface { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2861,7 +2861,7 @@ pub mod network_interfaces { } } pub mod network_interface_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2910,7 +2910,7 @@ pub mod network_interface_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2982,7 +2982,7 @@ pub mod network_interface_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3006,7 +3006,7 @@ pub mod network_interface_ip_configurations { } } pub mod network_interface_load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3055,7 +3055,7 @@ pub mod network_interface_load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3079,7 +3079,7 @@ pub mod network_interface_load_balancers { } } pub mod network_interface_tap_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3130,7 +3130,7 @@ pub mod network_interface_tap_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3213,7 +3213,7 @@ pub mod network_interface_tap_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkInterfaceTapConfiguration), @@ -3287,7 +3287,7 @@ pub mod network_interface_tap_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3363,7 +3363,7 @@ pub mod network_interface_tap_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3387,7 +3387,7 @@ pub mod network_interface_tap_configurations { } } pub mod virtual_network_taps { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3436,7 +3436,7 @@ pub mod virtual_network_taps { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3517,7 +3517,7 @@ pub mod virtual_network_taps { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkTap), @@ -3597,7 +3597,7 @@ pub mod virtual_network_taps { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3664,7 +3664,7 @@ pub mod virtual_network_taps { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3739,7 +3739,7 @@ pub mod virtual_network_taps { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3812,7 +3812,7 @@ pub mod virtual_network_taps { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3836,7 +3836,7 @@ pub mod virtual_network_taps { } } pub mod load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3889,7 +3889,7 @@ pub mod load_balancers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3970,7 +3970,7 @@ pub mod load_balancers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoadBalancer), @@ -4050,7 +4050,7 @@ pub mod load_balancers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4117,7 +4117,7 @@ pub mod load_balancers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4192,7 +4192,7 @@ pub mod load_balancers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4260,7 +4260,7 @@ pub mod load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4284,7 +4284,7 @@ pub mod load_balancers { } } pub mod load_balancer_backend_address_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4333,7 +4333,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4405,7 +4405,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4488,7 +4488,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(BackendAddressPool), @@ -4562,7 +4562,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4592,7 +4592,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod load_balancer_frontend_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4641,7 +4641,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4713,7 +4713,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4737,7 +4737,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod inbound_nat_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4786,7 +4786,7 @@ pub mod inbound_nat_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4862,7 +4862,7 @@ pub mod inbound_nat_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4945,7 +4945,7 @@ pub mod inbound_nat_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(InboundNatRule), @@ -5019,7 +5019,7 @@ pub mod inbound_nat_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -5049,7 +5049,7 @@ pub mod inbound_nat_rules { } } pub mod load_balancer_load_balancing_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5098,7 +5098,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5170,7 +5170,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5194,7 +5194,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod load_balancer_outbound_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5243,7 +5243,7 @@ pub mod load_balancer_outbound_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5315,7 +5315,7 @@ pub mod load_balancer_outbound_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5339,7 +5339,7 @@ pub mod load_balancer_outbound_rules { } } pub mod load_balancer_network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5388,7 +5388,7 @@ pub mod load_balancer_network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5412,7 +5412,7 @@ pub mod load_balancer_network_interfaces { } } pub mod load_balancer_probes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5461,7 +5461,7 @@ pub mod load_balancer_probes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5533,7 +5533,7 @@ pub mod load_balancer_probes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5557,7 +5557,7 @@ pub mod load_balancer_probes { } } pub mod virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5610,7 +5610,7 @@ pub mod virtual_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5691,7 +5691,7 @@ pub mod virtual_networks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetwork), @@ -5771,7 +5771,7 @@ pub mod virtual_networks { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5838,7 +5838,7 @@ pub mod virtual_networks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5913,7 +5913,7 @@ pub mod virtual_networks { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5981,7 +5981,7 @@ pub mod virtual_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6058,7 +6058,7 @@ pub mod virtual_networks { } } pub mod check_ip_address_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6131,7 +6131,7 @@ pub mod virtual_networks { } } pub mod list_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6155,7 +6155,7 @@ pub mod virtual_networks { } } pub mod subnets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6210,7 +6210,7 @@ pub mod subnets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6293,7 +6293,7 @@ pub mod subnets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Subnet), @@ -6367,7 +6367,7 @@ pub mod subnets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6449,7 +6449,7 @@ pub mod subnets { } } pub mod prepare_network_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6530,7 +6530,7 @@ pub mod subnets { } } pub mod unprepare_network_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6605,7 +6605,7 @@ pub mod subnets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6629,7 +6629,7 @@ pub mod subnets { } } pub mod resource_navigation_links { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6680,7 +6680,7 @@ pub mod resource_navigation_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6704,7 +6704,7 @@ pub mod resource_navigation_links { } } pub mod service_association_links { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6755,7 +6755,7 @@ pub mod service_association_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6779,7 +6779,7 @@ pub mod service_association_links { } } pub mod virtual_network_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6830,7 +6830,7 @@ pub mod virtual_network_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6913,7 +6913,7 @@ pub mod virtual_network_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkPeering), @@ -6987,7 +6987,7 @@ pub mod virtual_network_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7063,7 +7063,7 @@ pub mod virtual_network_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7087,7 +7087,7 @@ pub mod virtual_network_peerings { } } pub mod network_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7140,7 +7140,7 @@ pub mod network_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7221,7 +7221,7 @@ pub mod network_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkSecurityGroup), @@ -7301,7 +7301,7 @@ pub mod network_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7368,7 +7368,7 @@ pub mod network_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7443,7 +7443,7 @@ pub mod network_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7511,7 +7511,7 @@ pub mod network_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7535,7 +7535,7 @@ pub mod network_security_groups { } } pub mod security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7586,7 +7586,7 @@ pub mod security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7669,7 +7669,7 @@ pub mod security_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityRule), @@ -7743,7 +7743,7 @@ pub mod security_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -7819,7 +7819,7 @@ pub mod security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7843,7 +7843,7 @@ pub mod security_rules { } } pub mod default_security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7892,7 +7892,7 @@ pub mod default_security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7964,7 +7964,7 @@ pub mod default_security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7988,7 +7988,7 @@ pub mod default_security_rules { } } pub mod application_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8037,7 +8037,7 @@ pub mod application_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8118,7 +8118,7 @@ pub mod application_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationSecurityGroup), @@ -8198,7 +8198,7 @@ pub mod application_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8265,7 +8265,7 @@ pub mod application_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -8340,7 +8340,7 @@ pub mod application_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8408,7 +8408,7 @@ pub mod application_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8432,7 +8432,7 @@ pub mod application_security_groups { } } pub mod network_watchers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8481,7 +8481,7 @@ pub mod network_watchers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8562,7 +8562,7 @@ pub mod network_watchers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkWatcher), @@ -8642,7 +8642,7 @@ pub mod network_watchers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8708,7 +8708,7 @@ pub mod network_watchers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8781,7 +8781,7 @@ pub mod network_watchers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8850,7 +8850,7 @@ pub mod network_watchers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8925,7 +8925,7 @@ pub mod network_watchers { } } pub mod get_topology { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9006,7 +9006,7 @@ pub mod network_watchers { } } pub mod verify_ip_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VerificationIpFlowResult), @@ -9092,7 +9092,7 @@ pub mod network_watchers { } } pub mod get_next_hop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NextHopResult), @@ -9180,7 +9180,7 @@ pub mod network_watchers { } } pub mod get_vm_security_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityGroupViewResult), @@ -9266,7 +9266,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -9354,7 +9354,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -9442,7 +9442,7 @@ pub mod network_watchers { } } pub mod set_flow_log_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -9528,7 +9528,7 @@ pub mod network_watchers { } } pub mod get_flow_log_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -9614,7 +9614,7 @@ pub mod network_watchers { } } pub mod check_connectivity { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectivityInformation), @@ -9702,7 +9702,7 @@ pub mod network_watchers { } } pub mod get_azure_reachability_report { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AzureReachabilityReport), @@ -9790,7 +9790,7 @@ pub mod network_watchers { } } pub mod list_available_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AvailableProvidersList), @@ -9878,7 +9878,7 @@ pub mod network_watchers { } } pub mod get_network_configuration_diagnostic { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkConfigurationDiagnosticResponse), @@ -9907,7 +9907,7 @@ pub mod network_watchers { } } pub mod packet_captures { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9958,7 +9958,7 @@ pub mod packet_captures { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10032,7 +10032,7 @@ pub mod packet_captures { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10100,7 +10100,7 @@ pub mod packet_captures { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -10174,7 +10174,7 @@ pub mod packet_captures { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10261,7 +10261,7 @@ pub mod packet_captures { } } pub mod get_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PacketCaptureQueryStatusResult), @@ -10336,7 +10336,7 @@ pub mod packet_captures { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10360,7 +10360,7 @@ pub mod packet_captures { } } pub mod connection_monitors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10411,7 +10411,7 @@ pub mod connection_monitors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10498,7 +10498,7 @@ pub mod connection_monitors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorResult), @@ -10580,7 +10580,7 @@ pub mod connection_monitors { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10648,7 +10648,7 @@ pub mod connection_monitors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -10722,7 +10722,7 @@ pub mod connection_monitors { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10796,7 +10796,7 @@ pub mod connection_monitors { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10880,7 +10880,7 @@ pub mod connection_monitors { } } pub mod query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorQueryResult), @@ -10955,7 +10955,7 @@ pub mod connection_monitors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10979,7 +10979,7 @@ pub mod connection_monitors { } } pub mod flow_logs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11030,7 +11030,7 @@ pub mod flow_logs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11113,7 +11113,7 @@ pub mod flow_logs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FlowLog), @@ -11195,7 +11195,7 @@ pub mod flow_logs { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11263,7 +11263,7 @@ pub mod flow_logs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -11338,7 +11338,7 @@ pub mod flow_logs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11362,7 +11362,7 @@ pub mod flow_logs { } } pub mod route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11415,7 +11415,7 @@ pub mod route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11496,7 +11496,7 @@ pub mod route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteTable), @@ -11576,7 +11576,7 @@ pub mod route_tables { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11643,7 +11643,7 @@ pub mod route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -11717,7 +11717,7 @@ pub mod route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11786,7 +11786,7 @@ pub mod route_tables { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11810,7 +11810,7 @@ pub mod route_tables { } } pub mod routes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11861,7 +11861,7 @@ pub mod routes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11944,7 +11944,7 @@ pub mod routes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Route), @@ -12018,7 +12018,7 @@ pub mod routes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -12094,7 +12094,7 @@ pub mod routes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12118,7 +12118,7 @@ pub mod routes { } } pub mod service_endpoint_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12171,7 +12171,7 @@ pub mod service_endpoint_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12252,7 +12252,7 @@ pub mod service_endpoint_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ServiceEndpointPolicy), @@ -12332,7 +12332,7 @@ pub mod service_endpoint_policies { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12399,7 +12399,7 @@ pub mod service_endpoint_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -12471,7 +12471,7 @@ pub mod service_endpoint_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12544,7 +12544,7 @@ pub mod service_endpoint_policies { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12568,7 +12568,7 @@ pub mod service_endpoint_policies { } } pub mod service_endpoint_policy_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12612,7 +12612,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12688,7 +12688,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServiceEndpointPolicyDefinition), @@ -12755,7 +12755,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -12836,7 +12836,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12860,7 +12860,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod private_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12913,7 +12913,7 @@ pub mod private_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12994,7 +12994,7 @@ pub mod private_endpoints { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpoint), @@ -13066,7 +13066,7 @@ pub mod private_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -13140,7 +13140,7 @@ pub mod private_endpoints { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13209,7 +13209,7 @@ pub mod private_endpoints { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13233,7 +13233,7 @@ pub mod private_endpoints { } } pub mod available_private_endpoint_types { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -13280,7 +13280,7 @@ pub mod available_private_endpoint_types { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13355,7 +13355,7 @@ pub mod available_private_endpoint_types { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13379,7 +13379,7 @@ pub mod available_private_endpoint_types { } } pub mod private_dns_zone_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13430,7 +13430,7 @@ pub mod private_dns_zone_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13513,7 +13513,7 @@ pub mod private_dns_zone_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateDnsZoneGroup), @@ -13587,7 +13587,7 @@ pub mod private_dns_zone_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -13663,7 +13663,7 @@ pub mod private_dns_zone_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13687,7 +13687,7 @@ pub mod private_dns_zone_groups { } } pub mod private_link_services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13740,7 +13740,7 @@ pub mod private_link_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13821,7 +13821,7 @@ pub mod private_link_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkService), @@ -13893,7 +13893,7 @@ pub mod private_link_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -13967,7 +13967,7 @@ pub mod private_link_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14036,7 +14036,7 @@ pub mod private_link_services { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14117,7 +14117,7 @@ pub mod private_link_services { } } pub mod get_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14196,7 +14196,7 @@ pub mod private_link_services { } } pub mod update_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14270,7 +14270,7 @@ pub mod private_link_services { } } pub mod delete_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -14351,7 +14351,7 @@ pub mod private_link_services { } } pub mod list_private_endpoint_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14427,7 +14427,7 @@ pub mod private_link_services { } } pub mod check_private_link_service_visibility { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServiceVisibility), @@ -14516,7 +14516,7 @@ pub mod private_link_services { } } pub mod check_private_link_service_visibility_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServiceVisibility), @@ -14594,7 +14594,7 @@ pub mod private_link_services { } } pub mod list_auto_approved_private_link_services { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14671,7 +14671,7 @@ pub mod private_link_services { } } pub mod list_auto_approved_private_link_services_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14695,7 +14695,7 @@ pub mod private_link_services { } } pub mod network_profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14748,7 +14748,7 @@ pub mod network_profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14829,7 +14829,7 @@ pub mod network_profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkProfile), @@ -14909,7 +14909,7 @@ pub mod network_profiles { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14976,7 +14976,7 @@ pub mod network_profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -15051,7 +15051,7 @@ pub mod network_profiles { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15119,7 +15119,7 @@ pub mod network_profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15143,7 +15143,7 @@ pub mod network_profiles { } } pub mod public_ip_addresses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15196,7 +15196,7 @@ pub mod public_ip_addresses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15277,7 +15277,7 @@ pub mod public_ip_addresses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpAddress), @@ -15357,7 +15357,7 @@ pub mod public_ip_addresses { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15424,7 +15424,7 @@ pub mod public_ip_addresses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -15499,7 +15499,7 @@ pub mod public_ip_addresses { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15567,7 +15567,7 @@ pub mod public_ip_addresses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15644,7 +15644,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15718,7 +15718,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_vm_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15795,7 +15795,7 @@ pub mod public_ip_addresses { } } pub mod get_virtual_machine_scale_set_public_ip_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15870,7 +15870,7 @@ pub mod public_ip_addresses { } } pub mod list_cloud_service_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15944,7 +15944,7 @@ pub mod public_ip_addresses { } } pub mod list_cloud_service_role_instance_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16021,7 +16021,7 @@ pub mod public_ip_addresses { } } pub mod get_cloud_service_public_ip_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16045,7 +16045,7 @@ pub mod public_ip_addresses { } } pub mod nat_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16098,7 +16098,7 @@ pub mod nat_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16180,7 +16180,7 @@ pub mod nat_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NatGateway), @@ -16261,7 +16261,7 @@ pub mod nat_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16328,7 +16328,7 @@ pub mod nat_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -16403,7 +16403,7 @@ pub mod nat_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16471,7 +16471,7 @@ pub mod nat_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16495,7 +16495,7 @@ pub mod nat_gateways { } } pub mod available_delegations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -16542,7 +16542,7 @@ pub mod available_delegations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16566,7 +16566,7 @@ pub mod available_delegations { } } pub mod available_resource_group_delegations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -16615,7 +16615,7 @@ pub mod available_resource_group_delegations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16639,7 +16639,7 @@ pub mod available_resource_group_delegations { } } pub mod available_service_aliases { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -16686,7 +16686,7 @@ pub mod available_service_aliases { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16761,7 +16761,7 @@ pub mod available_service_aliases { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16785,7 +16785,7 @@ pub mod available_service_aliases { } } pub mod azure_firewalls { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16834,7 +16834,7 @@ pub mod azure_firewalls { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16915,7 +16915,7 @@ pub mod azure_firewalls { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(AzureFirewall), @@ -16996,7 +16996,7 @@ pub mod azure_firewalls { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -17068,7 +17068,7 @@ pub mod azure_firewalls { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -17142,7 +17142,7 @@ pub mod azure_firewalls { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17211,7 +17211,7 @@ pub mod azure_firewalls { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17235,7 +17235,7 @@ pub mod azure_firewalls { } } pub mod azure_firewall_fqdn_tags { - use crate::models::*; + use super::{models, models::*}; pub async fn list_all( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -17283,7 +17283,7 @@ pub mod azure_firewall_fqdn_tags { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17307,7 +17307,7 @@ pub mod azure_firewall_fqdn_tags { } } pub mod web_categories { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, name: &str, @@ -17358,7 +17358,7 @@ pub mod web_categories { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17427,7 +17427,7 @@ pub mod web_categories { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17451,7 +17451,7 @@ pub mod web_categories { } } pub mod bastion_hosts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17500,7 +17500,7 @@ pub mod bastion_hosts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17581,7 +17581,7 @@ pub mod bastion_hosts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(BastionHost), @@ -17653,7 +17653,7 @@ pub mod bastion_hosts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -17725,7 +17725,7 @@ pub mod bastion_hosts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17798,7 +17798,7 @@ pub mod bastion_hosts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17877,7 +17877,7 @@ pub async fn put_bastion_shareable_link( } } pub mod put_bastion_shareable_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BastionShareableLinkListResult), @@ -17955,7 +17955,7 @@ pub async fn delete_bastion_shareable_link( } } pub mod delete_bastion_shareable_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -18037,7 +18037,7 @@ pub async fn get_bastion_shareable_link( } } pub mod get_bastion_shareable_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18112,7 +18112,7 @@ pub async fn get_active_sessions( } } pub mod get_active_sessions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BastionActiveSessionListResult), @@ -18194,7 +18194,7 @@ pub async fn disconnect_active_sessions( } } pub mod disconnect_active_sessions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18269,7 +18269,7 @@ pub async fn check_dns_name_availability( } } pub mod check_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18344,7 +18344,7 @@ pub async fn supported_security_providers( } } pub mod supported_security_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18426,7 +18426,7 @@ pub async fn generatevirtualwanvpnserverconfigurationvpnprofile( } } pub mod generatevirtualwanvpnserverconfigurationvpnprofile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnProfileResponse), @@ -18454,7 +18454,7 @@ pub mod generatevirtualwanvpnserverconfigurationvpnprofile { } } pub mod custom_ip_prefixes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18507,7 +18507,7 @@ pub mod custom_ip_prefixes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18588,7 +18588,7 @@ pub mod custom_ip_prefixes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CustomIpPrefix), @@ -18668,7 +18668,7 @@ pub mod custom_ip_prefixes { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18735,7 +18735,7 @@ pub mod custom_ip_prefixes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -18810,7 +18810,7 @@ pub mod custom_ip_prefixes { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18878,7 +18878,7 @@ pub mod custom_ip_prefixes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18902,7 +18902,7 @@ pub mod custom_ip_prefixes { } } pub mod ddos_custom_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18951,7 +18951,7 @@ pub mod ddos_custom_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19032,7 +19032,7 @@ pub mod ddos_custom_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DdosCustomPolicy), @@ -19112,7 +19112,7 @@ pub mod ddos_custom_policies { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19179,7 +19179,7 @@ pub mod ddos_custom_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -19209,7 +19209,7 @@ pub mod ddos_custom_policies { } } pub mod ddos_protection_plans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19258,7 +19258,7 @@ pub mod ddos_protection_plans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19339,7 +19339,7 @@ pub mod ddos_protection_plans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DdosProtectionPlan), @@ -19419,7 +19419,7 @@ pub mod ddos_protection_plans { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19486,7 +19486,7 @@ pub mod ddos_protection_plans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -19558,7 +19558,7 @@ pub mod ddos_protection_plans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19631,7 +19631,7 @@ pub mod ddos_protection_plans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19655,7 +19655,7 @@ pub mod ddos_protection_plans { } } pub mod dscp_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19704,7 +19704,7 @@ pub mod dscp_configuration { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19785,7 +19785,7 @@ pub mod dscp_configuration { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DscpConfiguration), @@ -19857,7 +19857,7 @@ pub mod dscp_configuration { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -19931,7 +19931,7 @@ pub mod dscp_configuration { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20000,7 +20000,7 @@ pub mod dscp_configuration { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20024,7 +20024,7 @@ pub mod dscp_configuration { } } pub mod available_endpoint_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -20071,7 +20071,7 @@ pub mod available_endpoint_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20095,7 +20095,7 @@ pub mod available_endpoint_services { } } pub mod express_route_circuit_authorizations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20146,7 +20146,7 @@ pub mod express_route_circuit_authorizations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20229,7 +20229,7 @@ pub mod express_route_circuit_authorizations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuitAuthorization), @@ -20303,7 +20303,7 @@ pub mod express_route_circuit_authorizations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -20379,7 +20379,7 @@ pub mod express_route_circuit_authorizations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20403,7 +20403,7 @@ pub mod express_route_circuit_authorizations { } } pub mod express_route_circuit_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20454,7 +20454,7 @@ pub mod express_route_circuit_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20537,7 +20537,7 @@ pub mod express_route_circuit_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitPeering), @@ -20611,7 +20611,7 @@ pub mod express_route_circuit_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -20687,7 +20687,7 @@ pub mod express_route_circuit_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20711,7 +20711,7 @@ pub mod express_route_circuit_peerings { } } pub mod express_route_circuit_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20764,7 +20764,7 @@ pub mod express_route_circuit_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20849,7 +20849,7 @@ pub mod express_route_circuit_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitConnection), @@ -20925,7 +20925,7 @@ pub mod express_route_circuit_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -21003,7 +21003,7 @@ pub mod express_route_circuit_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21027,7 +21027,7 @@ pub mod express_route_circuit_connections { } } pub mod peer_express_route_circuit_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -21080,7 +21080,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21152,7 +21152,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21176,7 +21176,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod express_route_circuits { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -21225,7 +21225,7 @@ pub mod express_route_circuits { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21306,7 +21306,7 @@ pub mod express_route_circuits { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuit), @@ -21386,7 +21386,7 @@ pub mod express_route_circuits { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21453,7 +21453,7 @@ pub mod express_route_circuits { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -21538,7 +21538,7 @@ pub mod express_route_circuits { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -21622,7 +21622,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -21708,7 +21708,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableSummaryListResult), @@ -21786,7 +21786,7 @@ pub mod express_route_circuits { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21861,7 +21861,7 @@ pub mod express_route_circuits { } } pub mod get_peering_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21929,7 +21929,7 @@ pub mod express_route_circuits { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21998,7 +21998,7 @@ pub mod express_route_circuits { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22022,7 +22022,7 @@ pub mod express_route_circuits { } } pub mod express_route_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -22067,7 +22067,7 @@ pub mod express_route_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22091,7 +22091,7 @@ pub mod express_route_service_providers { } } pub mod virtual_wans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -22140,7 +22140,7 @@ pub mod virtual_wans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22221,7 +22221,7 @@ pub mod virtual_wans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualWan), @@ -22301,7 +22301,7 @@ pub mod virtual_wans { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22368,7 +22368,7 @@ pub mod virtual_wans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22447,7 +22447,7 @@ pub mod virtual_wans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22513,7 +22513,7 @@ pub mod virtual_wans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22537,7 +22537,7 @@ pub mod virtual_wans { } } pub mod vpn_sites { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -22586,7 +22586,7 @@ pub mod vpn_sites { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22667,7 +22667,7 @@ pub mod vpn_sites { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnSite), @@ -22747,7 +22747,7 @@ pub mod vpn_sites { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22814,7 +22814,7 @@ pub mod vpn_sites { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22893,7 +22893,7 @@ pub mod vpn_sites { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22959,7 +22959,7 @@ pub mod vpn_sites { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22983,7 +22983,7 @@ pub mod vpn_sites { } } pub mod vpn_site_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -23034,7 +23034,7 @@ pub mod vpn_site_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23107,7 +23107,7 @@ pub mod vpn_site_links { } } pub mod list_by_vpn_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23131,7 +23131,7 @@ pub mod vpn_site_links { } } pub mod vpn_sites_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn download( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -23181,7 +23181,7 @@ pub mod vpn_sites_configuration { } } pub mod download { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23210,7 +23210,7 @@ pub mod vpn_sites_configuration { } } pub mod vpn_server_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -23259,7 +23259,7 @@ pub mod vpn_server_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23340,7 +23340,7 @@ pub mod vpn_server_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnServerConfiguration), @@ -23420,7 +23420,7 @@ pub mod vpn_server_configurations { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23487,7 +23487,7 @@ pub mod vpn_server_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23566,7 +23566,7 @@ pub mod vpn_server_configurations { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23632,7 +23632,7 @@ pub mod vpn_server_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23656,7 +23656,7 @@ pub mod vpn_server_configurations { } } pub mod virtual_hubs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -23705,7 +23705,7 @@ pub mod virtual_hubs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23786,7 +23786,7 @@ pub mod virtual_hubs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHub), @@ -23866,7 +23866,7 @@ pub mod virtual_hubs { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23933,7 +23933,7 @@ pub mod virtual_hubs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -24012,7 +24012,7 @@ pub mod virtual_hubs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24078,7 +24078,7 @@ pub mod virtual_hubs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24155,7 +24155,7 @@ pub mod virtual_hubs { } } pub mod get_effective_virtual_hub_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -24184,7 +24184,7 @@ pub mod virtual_hubs { } } pub mod hub_virtual_network_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -24235,7 +24235,7 @@ pub mod hub_virtual_network_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24318,7 +24318,7 @@ pub mod hub_virtual_network_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HubVirtualNetworkConnection), @@ -24392,7 +24392,7 @@ pub mod hub_virtual_network_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -24468,7 +24468,7 @@ pub mod hub_virtual_network_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24492,7 +24492,7 @@ pub mod hub_virtual_network_connections { } } pub mod vpn_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -24541,7 +24541,7 @@ pub mod vpn_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24622,7 +24622,7 @@ pub mod vpn_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -24703,7 +24703,7 @@ pub mod vpn_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -24775,7 +24775,7 @@ pub mod vpn_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -24853,7 +24853,7 @@ pub mod vpn_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -24938,7 +24938,7 @@ pub mod vpn_gateways { } } pub mod start_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -25023,7 +25023,7 @@ pub mod vpn_gateways { } } pub mod stop_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -25101,7 +25101,7 @@ pub mod vpn_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25167,7 +25167,7 @@ pub mod vpn_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25191,7 +25191,7 @@ pub mod vpn_gateways { } } pub mod vpn_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -25242,7 +25242,7 @@ pub mod vpn_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25325,7 +25325,7 @@ pub mod vpn_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnConnection), @@ -25399,7 +25399,7 @@ pub mod vpn_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -25487,7 +25487,7 @@ pub mod vpn_connections { } } pub mod start_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -25574,7 +25574,7 @@ pub mod vpn_connections { } } pub mod stop_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -25652,7 +25652,7 @@ pub mod vpn_connections { } } pub mod list_by_vpn_gateway { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25676,7 +25676,7 @@ pub mod vpn_connections { } } pub mod vpn_site_link_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -25729,7 +25729,7 @@ pub mod vpn_site_link_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25753,7 +25753,7 @@ pub mod vpn_site_link_connections { } } pub mod vpn_link_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_vpn_connection( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -25809,7 +25809,7 @@ pub mod vpn_link_connections { } } pub mod list_by_vpn_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25833,7 +25833,7 @@ pub mod vpn_link_connections { } } pub mod p2s_vpn_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -25882,7 +25882,7 @@ pub mod p2s_vpn_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25963,7 +25963,7 @@ pub mod p2s_vpn_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -26044,7 +26044,7 @@ pub mod p2s_vpn_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -26116,7 +26116,7 @@ pub mod p2s_vpn_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -26195,7 +26195,7 @@ pub mod p2s_vpn_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26261,7 +26261,7 @@ pub mod p2s_vpn_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26333,7 +26333,7 @@ pub mod p2s_vpn_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -26414,7 +26414,7 @@ pub mod p2s_vpn_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnProfileResponse), @@ -26496,7 +26496,7 @@ pub mod p2s_vpn_gateways { } } pub mod get_p2s_vpn_connection_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -26579,7 +26579,7 @@ pub mod p2s_vpn_gateways { } } pub mod get_p2s_vpn_connection_health_detailed { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnConnectionHealth), @@ -26657,7 +26657,7 @@ pub mod p2s_vpn_gateways { } } pub mod disconnect_p2s_vpn_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -26686,7 +26686,7 @@ pub mod p2s_vpn_gateways { } } pub mod vpn_server_configurations_associated_with_virtual_wan { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -26737,7 +26737,7 @@ pub mod vpn_server_configurations_associated_with_virtual_wan { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnServerConfigurationsResponse), @@ -26766,7 +26766,7 @@ pub mod vpn_server_configurations_associated_with_virtual_wan { } } pub mod virtual_hub_route_table_v2s { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -26817,7 +26817,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26900,7 +26900,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHubRouteTableV2), @@ -26974,7 +26974,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -27050,7 +27050,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27074,7 +27074,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod express_route_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -27122,7 +27122,7 @@ pub mod express_route_gateways { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27195,7 +27195,7 @@ pub mod express_route_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27265,7 +27265,7 @@ pub mod express_route_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27346,7 +27346,7 @@ pub mod express_route_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteGateway), @@ -27418,7 +27418,7 @@ pub mod express_route_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -27448,7 +27448,7 @@ pub mod express_route_gateways { } } pub mod express_route_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -27499,7 +27499,7 @@ pub mod express_route_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27582,7 +27582,7 @@ pub mod express_route_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteConnection), @@ -27656,7 +27656,7 @@ pub mod express_route_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -27732,7 +27732,7 @@ pub mod express_route_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27756,7 +27756,7 @@ pub mod express_route_connections { } } pub mod virtual_hub_bgp_connection { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -27807,7 +27807,7 @@ pub mod virtual_hub_bgp_connection { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27890,7 +27890,7 @@ pub mod virtual_hub_bgp_connection { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BgpConnection), @@ -27964,7 +27964,7 @@ pub mod virtual_hub_bgp_connection { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -27994,7 +27994,7 @@ pub mod virtual_hub_bgp_connection { } } pub mod virtual_hub_bgp_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -28043,7 +28043,7 @@ pub mod virtual_hub_bgp_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28120,7 +28120,7 @@ pub mod virtual_hub_bgp_connections { } } pub mod list_learned_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PeerRouteList), @@ -28204,7 +28204,7 @@ pub mod virtual_hub_bgp_connections { } } pub mod list_advertised_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PeerRouteList), @@ -28233,7 +28233,7 @@ pub mod virtual_hub_bgp_connections { } } pub mod virtual_hub_ip_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -28284,7 +28284,7 @@ pub mod virtual_hub_ip_configuration { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28367,7 +28367,7 @@ pub mod virtual_hub_ip_configuration { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HubIpConfiguration), @@ -28441,7 +28441,7 @@ pub mod virtual_hub_ip_configuration { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -28517,7 +28517,7 @@ pub mod virtual_hub_ip_configuration { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28541,7 +28541,7 @@ pub mod virtual_hub_ip_configuration { } } pub mod hub_route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -28592,7 +28592,7 @@ pub mod hub_route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28675,7 +28675,7 @@ pub mod hub_route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HubRouteTable), @@ -28749,7 +28749,7 @@ pub mod hub_route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -28825,7 +28825,7 @@ pub mod hub_route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28849,7 +28849,7 @@ pub mod hub_route_tables { } } pub mod virtual_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -28898,7 +28898,7 @@ pub mod virtual_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28979,7 +28979,7 @@ pub mod virtual_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGateway), @@ -29060,7 +29060,7 @@ pub mod virtual_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -29132,7 +29132,7 @@ pub mod virtual_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -29206,7 +29206,7 @@ pub mod virtual_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29279,7 +29279,7 @@ pub mod virtual_network_gateways { } } pub mod list_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29355,7 +29355,7 @@ pub mod virtual_network_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -29432,7 +29432,7 @@ pub mod virtual_network_gateways { } } pub mod reset_vpn_client_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -29515,7 +29515,7 @@ pub mod virtual_network_gateways { } } pub mod generatevpnclientpackage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -29596,7 +29596,7 @@ pub mod virtual_network_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -29678,7 +29678,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpn_profile_package_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -29762,7 +29762,7 @@ pub mod virtual_network_gateways { } } pub mod get_bgp_peer_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BgpPeerStatusListResult), @@ -29843,7 +29843,7 @@ pub mod virtual_network_gateways { } } pub mod supported_vpn_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29918,7 +29918,7 @@ pub mod virtual_network_gateways { } } pub mod get_learned_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -30002,7 +30002,7 @@ pub mod virtual_network_gateways { } } pub mod get_advertised_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -30085,7 +30085,7 @@ pub mod virtual_network_gateways { } } pub mod set_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -30166,7 +30166,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30243,7 +30243,7 @@ pub mod virtual_network_gateways { } } pub mod vpn_device_configuration_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30323,7 +30323,7 @@ pub mod virtual_network_gateways { } } pub mod start_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -30404,7 +30404,7 @@ pub mod virtual_network_gateways { } } pub mod stop_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -30486,7 +30486,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpnclient_connection_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnClientConnectionHealthDetailListResult), @@ -30562,7 +30562,7 @@ pub mod virtual_network_gateways { } } pub mod disconnect_virtual_network_gateway_vpn_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -30591,7 +30591,7 @@ pub mod virtual_network_gateways { } } pub mod virtual_network_gateway_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -30640,7 +30640,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30721,7 +30721,7 @@ pub mod virtual_network_gateway_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGatewayConnection), @@ -30802,7 +30802,7 @@ pub mod virtual_network_gateway_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -30874,7 +30874,7 @@ pub mod virtual_network_gateway_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -30953,7 +30953,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31034,7 +31034,7 @@ pub mod virtual_network_gateway_connections { } } pub mod set_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ConnectionSharedKey), @@ -31107,7 +31107,7 @@ pub mod virtual_network_gateway_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31183,7 +31183,7 @@ pub mod virtual_network_gateway_connections { } } pub mod reset_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionResetSharedKey), @@ -31268,7 +31268,7 @@ pub mod virtual_network_gateway_connections { } } pub mod start_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -31349,7 +31349,7 @@ pub mod virtual_network_gateway_connections { } } pub mod stop_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -31378,7 +31378,7 @@ pub mod virtual_network_gateway_connections { } } pub mod local_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -31427,7 +31427,7 @@ pub mod local_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31508,7 +31508,7 @@ pub mod local_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LocalNetworkGateway), @@ -31588,7 +31588,7 @@ pub mod local_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31655,7 +31655,7 @@ pub mod local_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -31729,7 +31729,7 @@ pub mod local_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31753,7 +31753,7 @@ pub mod local_network_gateways { } } pub mod express_route_cross_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -31798,7 +31798,7 @@ pub mod express_route_cross_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31871,7 +31871,7 @@ pub mod express_route_cross_connections { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31941,7 +31941,7 @@ pub mod express_route_cross_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32016,7 +32016,7 @@ pub mod express_route_cross_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32091,7 +32091,7 @@ pub mod express_route_cross_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32170,7 +32170,7 @@ pub mod express_route_cross_connections { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -32248,7 +32248,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionsRoutesTableSummaryListResult), @@ -32332,7 +32332,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -32361,7 +32361,7 @@ pub mod express_route_cross_connections { } } pub mod express_route_cross_connection_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -32410,7 +32410,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32482,7 +32482,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32565,7 +32565,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionPeering), @@ -32639,7 +32639,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -32669,7 +32669,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod express_route_ports_locations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -32714,7 +32714,7 @@ pub mod express_route_ports_locations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32782,7 +32782,7 @@ pub mod express_route_ports_locations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32806,7 +32806,7 @@ pub mod express_route_ports_locations { } } pub mod express_route_ports { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -32855,7 +32855,7 @@ pub mod express_route_ports { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32936,7 +32936,7 @@ pub mod express_route_ports { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRoutePort), @@ -33016,7 +33016,7 @@ pub mod express_route_ports { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33083,7 +33083,7 @@ pub mod express_route_ports { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -33162,7 +33162,7 @@ pub mod express_route_ports { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33228,7 +33228,7 @@ pub mod express_route_ports { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33303,7 +33303,7 @@ pub mod express_route_ports { } } pub mod generate_loa { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33327,7 +33327,7 @@ pub mod express_route_ports { } } pub mod express_route_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -33378,7 +33378,7 @@ pub mod express_route_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33448,7 +33448,7 @@ pub mod express_route_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33472,7 +33472,7 @@ pub mod express_route_links { } } pub mod firewall_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -33525,7 +33525,7 @@ pub mod firewall_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33606,7 +33606,7 @@ pub mod firewall_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FirewallPolicy), @@ -33678,7 +33678,7 @@ pub mod firewall_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -33752,7 +33752,7 @@ pub mod firewall_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33821,7 +33821,7 @@ pub mod firewall_policies { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33845,7 +33845,7 @@ pub mod firewall_policies { } } pub mod firewall_policy_rule_collection_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -33896,7 +33896,7 @@ pub mod firewall_policy_rule_collection_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33979,7 +33979,7 @@ pub mod firewall_policy_rule_collection_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FirewallPolicyRuleCollectionGroup), @@ -34053,7 +34053,7 @@ pub mod firewall_policy_rule_collection_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -34129,7 +34129,7 @@ pub mod firewall_policy_rule_collection_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34153,7 +34153,7 @@ pub mod firewall_policy_rule_collection_groups { } } pub mod ip_allocations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -34206,7 +34206,7 @@ pub mod ip_allocations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34287,7 +34287,7 @@ pub mod ip_allocations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IpAllocation), @@ -34367,7 +34367,7 @@ pub mod ip_allocations { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34434,7 +34434,7 @@ pub mod ip_allocations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -34506,7 +34506,7 @@ pub mod ip_allocations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34579,7 +34579,7 @@ pub mod ip_allocations { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34603,7 +34603,7 @@ pub mod ip_allocations { } } pub mod ip_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -34656,7 +34656,7 @@ pub mod ip_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34737,7 +34737,7 @@ pub mod ip_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IpGroup), @@ -34817,7 +34817,7 @@ pub mod ip_groups { } } pub mod update_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34884,7 +34884,7 @@ pub mod ip_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -34963,7 +34963,7 @@ pub mod ip_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35029,7 +35029,7 @@ pub mod ip_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35053,7 +35053,7 @@ pub mod ip_groups { } } pub mod network_virtual_appliances { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -35106,7 +35106,7 @@ pub mod network_virtual_appliances { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35187,7 +35187,7 @@ pub mod network_virtual_appliances { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkVirtualAppliance), @@ -35267,7 +35267,7 @@ pub mod network_virtual_appliances { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35334,7 +35334,7 @@ pub mod network_virtual_appliances { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -35413,7 +35413,7 @@ pub mod network_virtual_appliances { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35479,7 +35479,7 @@ pub mod network_virtual_appliances { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35503,7 +35503,7 @@ pub mod network_virtual_appliances { } } pub mod virtual_appliance_sites { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -35554,7 +35554,7 @@ pub mod virtual_appliance_sites { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35637,7 +35637,7 @@ pub mod virtual_appliance_sites { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualApplianceSite), @@ -35711,7 +35711,7 @@ pub mod virtual_appliance_sites { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -35787,7 +35787,7 @@ pub mod virtual_appliance_sites { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35811,7 +35811,7 @@ pub mod virtual_appliance_sites { } } pub mod virtual_appliance_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -35856,7 +35856,7 @@ pub mod virtual_appliance_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35924,7 +35924,7 @@ pub mod virtual_appliance_skus { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35948,7 +35948,7 @@ pub mod virtual_appliance_skus { } } pub mod inbound_security_rule { - use crate::models::*; + use super::{models, models::*}; pub async fn create_or_update( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -36010,7 +36010,7 @@ pub mod inbound_security_rule { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(InboundSecurityRule), @@ -36039,7 +36039,7 @@ pub mod inbound_security_rule { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Network/operations", operation_config.base_path(),); @@ -36077,7 +36077,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36101,7 +36101,7 @@ pub mod operations { } } pub mod public_ip_prefixes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -36154,7 +36154,7 @@ pub mod public_ip_prefixes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36235,7 +36235,7 @@ pub mod public_ip_prefixes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpPrefix), @@ -36315,7 +36315,7 @@ pub mod public_ip_prefixes { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36382,7 +36382,7 @@ pub mod public_ip_prefixes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -36457,7 +36457,7 @@ pub mod public_ip_prefixes { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36525,7 +36525,7 @@ pub mod public_ip_prefixes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36549,7 +36549,7 @@ pub mod public_ip_prefixes { } } pub mod route_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -36602,7 +36602,7 @@ pub mod route_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36683,7 +36683,7 @@ pub mod route_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilter), @@ -36763,7 +36763,7 @@ pub mod route_filters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36830,7 +36830,7 @@ pub mod route_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -36909,7 +36909,7 @@ pub mod route_filters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36975,7 +36975,7 @@ pub mod route_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36999,7 +36999,7 @@ pub mod route_filters { } } pub mod route_filter_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -37050,7 +37050,7 @@ pub mod route_filter_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37133,7 +37133,7 @@ pub mod route_filter_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilterRule), @@ -37207,7 +37207,7 @@ pub mod route_filter_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -37286,7 +37286,7 @@ pub mod route_filter_rules { } } pub mod list_by_route_filter { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37310,7 +37310,7 @@ pub mod route_filter_rules { } } pub mod security_partner_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -37359,7 +37359,7 @@ pub mod security_partner_providers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37440,7 +37440,7 @@ pub mod security_partner_providers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(SecurityPartnerProvider), @@ -37520,7 +37520,7 @@ pub mod security_partner_providers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37587,7 +37587,7 @@ pub mod security_partner_providers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -37666,7 +37666,7 @@ pub mod security_partner_providers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37732,7 +37732,7 @@ pub mod security_partner_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37756,7 +37756,7 @@ pub mod security_partner_providers { } } pub mod bgp_service_communities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -37801,7 +37801,7 @@ pub mod bgp_service_communities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37825,7 +37825,7 @@ pub mod bgp_service_communities { } } pub mod service_tags { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -37872,7 +37872,7 @@ pub mod service_tags { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37896,7 +37896,7 @@ pub mod service_tags { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -37943,7 +37943,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37967,7 +37967,7 @@ pub mod usages { } } pub mod virtual_routers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -38020,7 +38020,7 @@ pub mod virtual_routers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38101,7 +38101,7 @@ pub mod virtual_routers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(VirtualRouter), @@ -38173,7 +38173,7 @@ pub mod virtual_routers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -38252,7 +38252,7 @@ pub mod virtual_routers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38318,7 +38318,7 @@ pub mod virtual_routers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38342,7 +38342,7 @@ pub mod virtual_routers { } } pub mod virtual_router_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -38393,7 +38393,7 @@ pub mod virtual_router_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38476,7 +38476,7 @@ pub mod virtual_router_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(VirtualRouterPeering), @@ -38550,7 +38550,7 @@ pub mod virtual_router_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -38626,7 +38626,7 @@ pub mod virtual_router_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38650,7 +38650,7 @@ pub mod virtual_router_peerings { } } pub mod web_application_firewall_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -38697,7 +38697,7 @@ pub mod web_application_firewall_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38766,7 +38766,7 @@ pub mod web_application_firewall_policies { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38836,7 +38836,7 @@ pub mod web_application_firewall_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38917,7 +38917,7 @@ pub mod web_application_firewall_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WebApplicationFirewallPolicy), @@ -38989,7 +38989,7 @@ pub mod web_application_firewall_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, diff --git a/services/mgmt/network/src/package_2020_08/operations.rs b/services/mgmt/network/src/package_2020_08/operations.rs index e97ab4f46c..2e7a78c567 100644 --- a/services/mgmt/network/src/package_2020_08/operations.rs +++ b/services/mgmt/network/src/package_2020_08/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod application_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod application_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod application_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationGateway), @@ -214,7 +214,7 @@ pub mod application_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -281,7 +281,7 @@ pub mod application_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -355,7 +355,7 @@ pub mod application_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -424,7 +424,7 @@ pub mod application_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -491,7 +491,7 @@ pub mod application_gateways { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -563,7 +563,7 @@ pub mod application_gateways { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -647,7 +647,7 @@ pub mod application_gateways { } } pub mod backend_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealth), @@ -734,7 +734,7 @@ pub mod application_gateways { } } pub mod backend_health_on_demand { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealthOnDemand), @@ -810,7 +810,7 @@ pub mod application_gateways { } } pub mod list_available_server_variables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -881,7 +881,7 @@ pub mod application_gateways { } } pub mod list_available_request_headers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -952,7 +952,7 @@ pub mod application_gateways { } } pub mod list_available_response_headers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1023,7 +1023,7 @@ pub mod application_gateways { } } pub mod list_available_waf_rule_sets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1094,7 +1094,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_options { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1165,7 +1165,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_predefined_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1238,7 +1238,7 @@ pub mod application_gateways { } } pub mod get_ssl_predefined_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1262,7 +1262,7 @@ pub mod application_gateways { } } pub mod application_gateway_private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1311,7 +1311,7 @@ pub mod application_gateway_private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1335,7 +1335,7 @@ pub mod application_gateway_private_link_resources { } } pub mod application_gateway_private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1386,7 +1386,7 @@ pub mod application_gateway_private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1461,7 +1461,7 @@ pub mod application_gateway_private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayPrivateEndpointConnection), @@ -1535,7 +1535,7 @@ pub mod application_gateway_private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1611,7 +1611,7 @@ pub mod application_gateway_private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1635,7 +1635,7 @@ pub mod application_gateway_private_endpoint_connections { } } pub mod network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1688,7 +1688,7 @@ pub mod network_interfaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1769,7 +1769,7 @@ pub mod network_interfaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkInterface), @@ -1849,7 +1849,7 @@ pub mod network_interfaces { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1916,7 +1916,7 @@ pub mod network_interfaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1991,7 +1991,7 @@ pub mod network_interfaces { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2059,7 +2059,7 @@ pub mod network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2136,7 +2136,7 @@ pub mod network_interfaces { } } pub mod get_effective_route_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveRouteListResult), @@ -2218,7 +2218,7 @@ pub mod network_interfaces { } } pub mod list_effective_network_security_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveNetworkSecurityGroupListResult), @@ -2295,7 +2295,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_vm_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2372,7 +2372,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2447,7 +2447,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_network_interface { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2524,7 +2524,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_ip_configurations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2600,7 +2600,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_ip_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2679,7 +2679,7 @@ pub mod network_interfaces { } } pub mod list_cloud_service_role_instance_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2754,7 +2754,7 @@ pub mod network_interfaces { } } pub mod list_cloud_service_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2837,7 +2837,7 @@ pub mod network_interfaces { } } pub mod get_cloud_service_network_interface { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2861,7 +2861,7 @@ pub mod network_interfaces { } } pub mod network_interface_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2910,7 +2910,7 @@ pub mod network_interface_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2982,7 +2982,7 @@ pub mod network_interface_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3006,7 +3006,7 @@ pub mod network_interface_ip_configurations { } } pub mod network_interface_load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3055,7 +3055,7 @@ pub mod network_interface_load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3079,7 +3079,7 @@ pub mod network_interface_load_balancers { } } pub mod network_interface_tap_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3130,7 +3130,7 @@ pub mod network_interface_tap_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3213,7 +3213,7 @@ pub mod network_interface_tap_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkInterfaceTapConfiguration), @@ -3287,7 +3287,7 @@ pub mod network_interface_tap_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3363,7 +3363,7 @@ pub mod network_interface_tap_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3387,7 +3387,7 @@ pub mod network_interface_tap_configurations { } } pub mod virtual_network_taps { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3436,7 +3436,7 @@ pub mod virtual_network_taps { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3517,7 +3517,7 @@ pub mod virtual_network_taps { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkTap), @@ -3597,7 +3597,7 @@ pub mod virtual_network_taps { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3664,7 +3664,7 @@ pub mod virtual_network_taps { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3739,7 +3739,7 @@ pub mod virtual_network_taps { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3812,7 +3812,7 @@ pub mod virtual_network_taps { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3836,7 +3836,7 @@ pub mod virtual_network_taps { } } pub mod load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3889,7 +3889,7 @@ pub mod load_balancers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3970,7 +3970,7 @@ pub mod load_balancers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoadBalancer), @@ -4050,7 +4050,7 @@ pub mod load_balancers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4117,7 +4117,7 @@ pub mod load_balancers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4192,7 +4192,7 @@ pub mod load_balancers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4260,7 +4260,7 @@ pub mod load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4284,7 +4284,7 @@ pub mod load_balancers { } } pub mod load_balancer_backend_address_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4333,7 +4333,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4405,7 +4405,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4488,7 +4488,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(BackendAddressPool), @@ -4562,7 +4562,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4592,7 +4592,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod load_balancer_frontend_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4641,7 +4641,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4713,7 +4713,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4737,7 +4737,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod inbound_nat_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4786,7 +4786,7 @@ pub mod inbound_nat_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4862,7 +4862,7 @@ pub mod inbound_nat_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4945,7 +4945,7 @@ pub mod inbound_nat_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(InboundNatRule), @@ -5019,7 +5019,7 @@ pub mod inbound_nat_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -5049,7 +5049,7 @@ pub mod inbound_nat_rules { } } pub mod load_balancer_load_balancing_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5098,7 +5098,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5170,7 +5170,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5194,7 +5194,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod load_balancer_outbound_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5243,7 +5243,7 @@ pub mod load_balancer_outbound_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5315,7 +5315,7 @@ pub mod load_balancer_outbound_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5339,7 +5339,7 @@ pub mod load_balancer_outbound_rules { } } pub mod load_balancer_network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5388,7 +5388,7 @@ pub mod load_balancer_network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5412,7 +5412,7 @@ pub mod load_balancer_network_interfaces { } } pub mod load_balancer_probes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5461,7 +5461,7 @@ pub mod load_balancer_probes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5533,7 +5533,7 @@ pub mod load_balancer_probes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5557,7 +5557,7 @@ pub mod load_balancer_probes { } } pub mod virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5610,7 +5610,7 @@ pub mod virtual_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5691,7 +5691,7 @@ pub mod virtual_networks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetwork), @@ -5771,7 +5771,7 @@ pub mod virtual_networks { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5838,7 +5838,7 @@ pub mod virtual_networks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5913,7 +5913,7 @@ pub mod virtual_networks { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5981,7 +5981,7 @@ pub mod virtual_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6058,7 +6058,7 @@ pub mod virtual_networks { } } pub mod check_ip_address_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6131,7 +6131,7 @@ pub mod virtual_networks { } } pub mod list_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6155,7 +6155,7 @@ pub mod virtual_networks { } } pub mod subnets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6210,7 +6210,7 @@ pub mod subnets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6293,7 +6293,7 @@ pub mod subnets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Subnet), @@ -6367,7 +6367,7 @@ pub mod subnets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6449,7 +6449,7 @@ pub mod subnets { } } pub mod prepare_network_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6530,7 +6530,7 @@ pub mod subnets { } } pub mod unprepare_network_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6605,7 +6605,7 @@ pub mod subnets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6629,7 +6629,7 @@ pub mod subnets { } } pub mod resource_navigation_links { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6680,7 +6680,7 @@ pub mod resource_navigation_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6704,7 +6704,7 @@ pub mod resource_navigation_links { } } pub mod service_association_links { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6755,7 +6755,7 @@ pub mod service_association_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6779,7 +6779,7 @@ pub mod service_association_links { } } pub mod virtual_network_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6830,7 +6830,7 @@ pub mod virtual_network_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6913,7 +6913,7 @@ pub mod virtual_network_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkPeering), @@ -6987,7 +6987,7 @@ pub mod virtual_network_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7063,7 +7063,7 @@ pub mod virtual_network_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7087,7 +7087,7 @@ pub mod virtual_network_peerings { } } pub mod network_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7140,7 +7140,7 @@ pub mod network_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7221,7 +7221,7 @@ pub mod network_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkSecurityGroup), @@ -7301,7 +7301,7 @@ pub mod network_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7368,7 +7368,7 @@ pub mod network_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7443,7 +7443,7 @@ pub mod network_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7511,7 +7511,7 @@ pub mod network_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7535,7 +7535,7 @@ pub mod network_security_groups { } } pub mod security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7586,7 +7586,7 @@ pub mod security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7669,7 +7669,7 @@ pub mod security_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityRule), @@ -7743,7 +7743,7 @@ pub mod security_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -7819,7 +7819,7 @@ pub mod security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7843,7 +7843,7 @@ pub mod security_rules { } } pub mod default_security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7892,7 +7892,7 @@ pub mod default_security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7964,7 +7964,7 @@ pub mod default_security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7988,7 +7988,7 @@ pub mod default_security_rules { } } pub mod application_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8037,7 +8037,7 @@ pub mod application_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8118,7 +8118,7 @@ pub mod application_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationSecurityGroup), @@ -8198,7 +8198,7 @@ pub mod application_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8265,7 +8265,7 @@ pub mod application_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -8340,7 +8340,7 @@ pub mod application_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8408,7 +8408,7 @@ pub mod application_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8432,7 +8432,7 @@ pub mod application_security_groups { } } pub mod network_watchers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8481,7 +8481,7 @@ pub mod network_watchers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8562,7 +8562,7 @@ pub mod network_watchers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkWatcher), @@ -8642,7 +8642,7 @@ pub mod network_watchers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8708,7 +8708,7 @@ pub mod network_watchers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8781,7 +8781,7 @@ pub mod network_watchers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8850,7 +8850,7 @@ pub mod network_watchers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8925,7 +8925,7 @@ pub mod network_watchers { } } pub mod get_topology { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9006,7 +9006,7 @@ pub mod network_watchers { } } pub mod verify_ip_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VerificationIpFlowResult), @@ -9092,7 +9092,7 @@ pub mod network_watchers { } } pub mod get_next_hop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NextHopResult), @@ -9180,7 +9180,7 @@ pub mod network_watchers { } } pub mod get_vm_security_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityGroupViewResult), @@ -9266,7 +9266,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -9354,7 +9354,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -9442,7 +9442,7 @@ pub mod network_watchers { } } pub mod set_flow_log_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -9528,7 +9528,7 @@ pub mod network_watchers { } } pub mod get_flow_log_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -9614,7 +9614,7 @@ pub mod network_watchers { } } pub mod check_connectivity { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectivityInformation), @@ -9702,7 +9702,7 @@ pub mod network_watchers { } } pub mod get_azure_reachability_report { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AzureReachabilityReport), @@ -9790,7 +9790,7 @@ pub mod network_watchers { } } pub mod list_available_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AvailableProvidersList), @@ -9878,7 +9878,7 @@ pub mod network_watchers { } } pub mod get_network_configuration_diagnostic { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkConfigurationDiagnosticResponse), @@ -9907,7 +9907,7 @@ pub mod network_watchers { } } pub mod packet_captures { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9958,7 +9958,7 @@ pub mod packet_captures { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10032,7 +10032,7 @@ pub mod packet_captures { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10100,7 +10100,7 @@ pub mod packet_captures { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -10174,7 +10174,7 @@ pub mod packet_captures { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10261,7 +10261,7 @@ pub mod packet_captures { } } pub mod get_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PacketCaptureQueryStatusResult), @@ -10336,7 +10336,7 @@ pub mod packet_captures { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10360,7 +10360,7 @@ pub mod packet_captures { } } pub mod connection_monitors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10411,7 +10411,7 @@ pub mod connection_monitors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10498,7 +10498,7 @@ pub mod connection_monitors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorResult), @@ -10580,7 +10580,7 @@ pub mod connection_monitors { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10648,7 +10648,7 @@ pub mod connection_monitors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -10722,7 +10722,7 @@ pub mod connection_monitors { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10796,7 +10796,7 @@ pub mod connection_monitors { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10880,7 +10880,7 @@ pub mod connection_monitors { } } pub mod query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorQueryResult), @@ -10955,7 +10955,7 @@ pub mod connection_monitors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10979,7 +10979,7 @@ pub mod connection_monitors { } } pub mod flow_logs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11030,7 +11030,7 @@ pub mod flow_logs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11113,7 +11113,7 @@ pub mod flow_logs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FlowLog), @@ -11195,7 +11195,7 @@ pub mod flow_logs { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11263,7 +11263,7 @@ pub mod flow_logs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -11338,7 +11338,7 @@ pub mod flow_logs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11362,7 +11362,7 @@ pub mod flow_logs { } } pub mod route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11415,7 +11415,7 @@ pub mod route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11496,7 +11496,7 @@ pub mod route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteTable), @@ -11576,7 +11576,7 @@ pub mod route_tables { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11643,7 +11643,7 @@ pub mod route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -11717,7 +11717,7 @@ pub mod route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11786,7 +11786,7 @@ pub mod route_tables { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11810,7 +11810,7 @@ pub mod route_tables { } } pub mod routes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11861,7 +11861,7 @@ pub mod routes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11944,7 +11944,7 @@ pub mod routes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Route), @@ -12018,7 +12018,7 @@ pub mod routes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -12094,7 +12094,7 @@ pub mod routes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12118,7 +12118,7 @@ pub mod routes { } } pub mod service_endpoint_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12171,7 +12171,7 @@ pub mod service_endpoint_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12252,7 +12252,7 @@ pub mod service_endpoint_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ServiceEndpointPolicy), @@ -12332,7 +12332,7 @@ pub mod service_endpoint_policies { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12399,7 +12399,7 @@ pub mod service_endpoint_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -12471,7 +12471,7 @@ pub mod service_endpoint_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12544,7 +12544,7 @@ pub mod service_endpoint_policies { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12568,7 +12568,7 @@ pub mod service_endpoint_policies { } } pub mod service_endpoint_policy_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12612,7 +12612,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12688,7 +12688,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServiceEndpointPolicyDefinition), @@ -12755,7 +12755,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -12836,7 +12836,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12860,7 +12860,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod private_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12913,7 +12913,7 @@ pub mod private_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12994,7 +12994,7 @@ pub mod private_endpoints { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpoint), @@ -13066,7 +13066,7 @@ pub mod private_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -13140,7 +13140,7 @@ pub mod private_endpoints { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13209,7 +13209,7 @@ pub mod private_endpoints { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13233,7 +13233,7 @@ pub mod private_endpoints { } } pub mod available_private_endpoint_types { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -13280,7 +13280,7 @@ pub mod available_private_endpoint_types { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13355,7 +13355,7 @@ pub mod available_private_endpoint_types { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13379,7 +13379,7 @@ pub mod available_private_endpoint_types { } } pub mod private_dns_zone_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13430,7 +13430,7 @@ pub mod private_dns_zone_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13513,7 +13513,7 @@ pub mod private_dns_zone_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateDnsZoneGroup), @@ -13587,7 +13587,7 @@ pub mod private_dns_zone_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -13663,7 +13663,7 @@ pub mod private_dns_zone_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13687,7 +13687,7 @@ pub mod private_dns_zone_groups { } } pub mod private_link_services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13740,7 +13740,7 @@ pub mod private_link_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13821,7 +13821,7 @@ pub mod private_link_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkService), @@ -13893,7 +13893,7 @@ pub mod private_link_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -13967,7 +13967,7 @@ pub mod private_link_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14036,7 +14036,7 @@ pub mod private_link_services { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14117,7 +14117,7 @@ pub mod private_link_services { } } pub mod get_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14196,7 +14196,7 @@ pub mod private_link_services { } } pub mod update_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14270,7 +14270,7 @@ pub mod private_link_services { } } pub mod delete_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -14351,7 +14351,7 @@ pub mod private_link_services { } } pub mod list_private_endpoint_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14427,7 +14427,7 @@ pub mod private_link_services { } } pub mod check_private_link_service_visibility { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServiceVisibility), @@ -14516,7 +14516,7 @@ pub mod private_link_services { } } pub mod check_private_link_service_visibility_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServiceVisibility), @@ -14594,7 +14594,7 @@ pub mod private_link_services { } } pub mod list_auto_approved_private_link_services { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14671,7 +14671,7 @@ pub mod private_link_services { } } pub mod list_auto_approved_private_link_services_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14695,7 +14695,7 @@ pub mod private_link_services { } } pub mod network_profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14748,7 +14748,7 @@ pub mod network_profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14829,7 +14829,7 @@ pub mod network_profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkProfile), @@ -14909,7 +14909,7 @@ pub mod network_profiles { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14976,7 +14976,7 @@ pub mod network_profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -15051,7 +15051,7 @@ pub mod network_profiles { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15119,7 +15119,7 @@ pub mod network_profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15143,7 +15143,7 @@ pub mod network_profiles { } } pub mod public_ip_addresses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15196,7 +15196,7 @@ pub mod public_ip_addresses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15277,7 +15277,7 @@ pub mod public_ip_addresses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpAddress), @@ -15357,7 +15357,7 @@ pub mod public_ip_addresses { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15424,7 +15424,7 @@ pub mod public_ip_addresses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -15499,7 +15499,7 @@ pub mod public_ip_addresses { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15567,7 +15567,7 @@ pub mod public_ip_addresses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15644,7 +15644,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15718,7 +15718,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_vm_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15795,7 +15795,7 @@ pub mod public_ip_addresses { } } pub mod get_virtual_machine_scale_set_public_ip_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15870,7 +15870,7 @@ pub mod public_ip_addresses { } } pub mod list_cloud_service_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15944,7 +15944,7 @@ pub mod public_ip_addresses { } } pub mod list_cloud_service_role_instance_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16021,7 +16021,7 @@ pub mod public_ip_addresses { } } pub mod get_cloud_service_public_ip_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16045,7 +16045,7 @@ pub mod public_ip_addresses { } } pub mod nat_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16098,7 +16098,7 @@ pub mod nat_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16180,7 +16180,7 @@ pub mod nat_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NatGateway), @@ -16261,7 +16261,7 @@ pub mod nat_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16328,7 +16328,7 @@ pub mod nat_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -16403,7 +16403,7 @@ pub mod nat_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16471,7 +16471,7 @@ pub mod nat_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16495,7 +16495,7 @@ pub mod nat_gateways { } } pub mod available_delegations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -16542,7 +16542,7 @@ pub mod available_delegations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16566,7 +16566,7 @@ pub mod available_delegations { } } pub mod available_resource_group_delegations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -16615,7 +16615,7 @@ pub mod available_resource_group_delegations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16639,7 +16639,7 @@ pub mod available_resource_group_delegations { } } pub mod available_service_aliases { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -16686,7 +16686,7 @@ pub mod available_service_aliases { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16761,7 +16761,7 @@ pub mod available_service_aliases { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16785,7 +16785,7 @@ pub mod available_service_aliases { } } pub mod azure_firewalls { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16834,7 +16834,7 @@ pub mod azure_firewalls { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16915,7 +16915,7 @@ pub mod azure_firewalls { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(AzureFirewall), @@ -16996,7 +16996,7 @@ pub mod azure_firewalls { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -17068,7 +17068,7 @@ pub mod azure_firewalls { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -17142,7 +17142,7 @@ pub mod azure_firewalls { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17211,7 +17211,7 @@ pub mod azure_firewalls { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17235,7 +17235,7 @@ pub mod azure_firewalls { } } pub mod azure_firewall_fqdn_tags { - use crate::models::*; + use super::{models, models::*}; pub async fn list_all( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -17283,7 +17283,7 @@ pub mod azure_firewall_fqdn_tags { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17307,7 +17307,7 @@ pub mod azure_firewall_fqdn_tags { } } pub mod web_categories { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, name: &str, @@ -17358,7 +17358,7 @@ pub mod web_categories { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17427,7 +17427,7 @@ pub mod web_categories { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17451,7 +17451,7 @@ pub mod web_categories { } } pub mod bastion_hosts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17500,7 +17500,7 @@ pub mod bastion_hosts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17581,7 +17581,7 @@ pub mod bastion_hosts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(BastionHost), @@ -17653,7 +17653,7 @@ pub mod bastion_hosts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -17725,7 +17725,7 @@ pub mod bastion_hosts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17798,7 +17798,7 @@ pub mod bastion_hosts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17877,7 +17877,7 @@ pub async fn put_bastion_shareable_link( } } pub mod put_bastion_shareable_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BastionShareableLinkListResult), @@ -17955,7 +17955,7 @@ pub async fn delete_bastion_shareable_link( } } pub mod delete_bastion_shareable_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -18037,7 +18037,7 @@ pub async fn get_bastion_shareable_link( } } pub mod get_bastion_shareable_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18112,7 +18112,7 @@ pub async fn get_active_sessions( } } pub mod get_active_sessions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BastionActiveSessionListResult), @@ -18194,7 +18194,7 @@ pub async fn disconnect_active_sessions( } } pub mod disconnect_active_sessions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18269,7 +18269,7 @@ pub async fn check_dns_name_availability( } } pub mod check_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18344,7 +18344,7 @@ pub async fn supported_security_providers( } } pub mod supported_security_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18426,7 +18426,7 @@ pub async fn generatevirtualwanvpnserverconfigurationvpnprofile( } } pub mod generatevirtualwanvpnserverconfigurationvpnprofile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnProfileResponse), @@ -18454,7 +18454,7 @@ pub mod generatevirtualwanvpnserverconfigurationvpnprofile { } } pub mod custom_ip_prefixes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18507,7 +18507,7 @@ pub mod custom_ip_prefixes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18588,7 +18588,7 @@ pub mod custom_ip_prefixes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CustomIpPrefix), @@ -18668,7 +18668,7 @@ pub mod custom_ip_prefixes { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18735,7 +18735,7 @@ pub mod custom_ip_prefixes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -18810,7 +18810,7 @@ pub mod custom_ip_prefixes { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18878,7 +18878,7 @@ pub mod custom_ip_prefixes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18902,7 +18902,7 @@ pub mod custom_ip_prefixes { } } pub mod ddos_custom_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18951,7 +18951,7 @@ pub mod ddos_custom_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19032,7 +19032,7 @@ pub mod ddos_custom_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DdosCustomPolicy), @@ -19112,7 +19112,7 @@ pub mod ddos_custom_policies { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19179,7 +19179,7 @@ pub mod ddos_custom_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -19209,7 +19209,7 @@ pub mod ddos_custom_policies { } } pub mod ddos_protection_plans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19258,7 +19258,7 @@ pub mod ddos_protection_plans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19339,7 +19339,7 @@ pub mod ddos_protection_plans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DdosProtectionPlan), @@ -19419,7 +19419,7 @@ pub mod ddos_protection_plans { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19486,7 +19486,7 @@ pub mod ddos_protection_plans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -19558,7 +19558,7 @@ pub mod ddos_protection_plans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19631,7 +19631,7 @@ pub mod ddos_protection_plans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19655,7 +19655,7 @@ pub mod ddos_protection_plans { } } pub mod dscp_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19704,7 +19704,7 @@ pub mod dscp_configuration { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19785,7 +19785,7 @@ pub mod dscp_configuration { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DscpConfiguration), @@ -19857,7 +19857,7 @@ pub mod dscp_configuration { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -19931,7 +19931,7 @@ pub mod dscp_configuration { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20000,7 +20000,7 @@ pub mod dscp_configuration { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20024,7 +20024,7 @@ pub mod dscp_configuration { } } pub mod available_endpoint_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -20071,7 +20071,7 @@ pub mod available_endpoint_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20095,7 +20095,7 @@ pub mod available_endpoint_services { } } pub mod express_route_circuit_authorizations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20146,7 +20146,7 @@ pub mod express_route_circuit_authorizations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20229,7 +20229,7 @@ pub mod express_route_circuit_authorizations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuitAuthorization), @@ -20303,7 +20303,7 @@ pub mod express_route_circuit_authorizations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -20379,7 +20379,7 @@ pub mod express_route_circuit_authorizations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20403,7 +20403,7 @@ pub mod express_route_circuit_authorizations { } } pub mod express_route_circuit_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20454,7 +20454,7 @@ pub mod express_route_circuit_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20537,7 +20537,7 @@ pub mod express_route_circuit_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitPeering), @@ -20611,7 +20611,7 @@ pub mod express_route_circuit_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -20687,7 +20687,7 @@ pub mod express_route_circuit_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20711,7 +20711,7 @@ pub mod express_route_circuit_peerings { } } pub mod express_route_circuit_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20764,7 +20764,7 @@ pub mod express_route_circuit_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20849,7 +20849,7 @@ pub mod express_route_circuit_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitConnection), @@ -20925,7 +20925,7 @@ pub mod express_route_circuit_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -21003,7 +21003,7 @@ pub mod express_route_circuit_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21027,7 +21027,7 @@ pub mod express_route_circuit_connections { } } pub mod peer_express_route_circuit_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -21080,7 +21080,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21152,7 +21152,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21176,7 +21176,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod express_route_circuits { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -21225,7 +21225,7 @@ pub mod express_route_circuits { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21306,7 +21306,7 @@ pub mod express_route_circuits { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuit), @@ -21386,7 +21386,7 @@ pub mod express_route_circuits { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21453,7 +21453,7 @@ pub mod express_route_circuits { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -21538,7 +21538,7 @@ pub mod express_route_circuits { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -21622,7 +21622,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -21708,7 +21708,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableSummaryListResult), @@ -21786,7 +21786,7 @@ pub mod express_route_circuits { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21861,7 +21861,7 @@ pub mod express_route_circuits { } } pub mod get_peering_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21929,7 +21929,7 @@ pub mod express_route_circuits { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21998,7 +21998,7 @@ pub mod express_route_circuits { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22022,7 +22022,7 @@ pub mod express_route_circuits { } } pub mod express_route_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -22067,7 +22067,7 @@ pub mod express_route_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22091,7 +22091,7 @@ pub mod express_route_service_providers { } } pub mod virtual_wans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -22140,7 +22140,7 @@ pub mod virtual_wans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22221,7 +22221,7 @@ pub mod virtual_wans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualWan), @@ -22301,7 +22301,7 @@ pub mod virtual_wans { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22368,7 +22368,7 @@ pub mod virtual_wans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22447,7 +22447,7 @@ pub mod virtual_wans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22513,7 +22513,7 @@ pub mod virtual_wans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22537,7 +22537,7 @@ pub mod virtual_wans { } } pub mod vpn_sites { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -22586,7 +22586,7 @@ pub mod vpn_sites { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22667,7 +22667,7 @@ pub mod vpn_sites { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnSite), @@ -22747,7 +22747,7 @@ pub mod vpn_sites { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22814,7 +22814,7 @@ pub mod vpn_sites { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22893,7 +22893,7 @@ pub mod vpn_sites { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22959,7 +22959,7 @@ pub mod vpn_sites { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22983,7 +22983,7 @@ pub mod vpn_sites { } } pub mod vpn_site_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -23034,7 +23034,7 @@ pub mod vpn_site_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23107,7 +23107,7 @@ pub mod vpn_site_links { } } pub mod list_by_vpn_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23131,7 +23131,7 @@ pub mod vpn_site_links { } } pub mod vpn_sites_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn download( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -23181,7 +23181,7 @@ pub mod vpn_sites_configuration { } } pub mod download { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23210,7 +23210,7 @@ pub mod vpn_sites_configuration { } } pub mod vpn_server_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -23259,7 +23259,7 @@ pub mod vpn_server_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23340,7 +23340,7 @@ pub mod vpn_server_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnServerConfiguration), @@ -23420,7 +23420,7 @@ pub mod vpn_server_configurations { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23487,7 +23487,7 @@ pub mod vpn_server_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23566,7 +23566,7 @@ pub mod vpn_server_configurations { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23632,7 +23632,7 @@ pub mod vpn_server_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23656,7 +23656,7 @@ pub mod vpn_server_configurations { } } pub mod virtual_hubs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -23705,7 +23705,7 @@ pub mod virtual_hubs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23786,7 +23786,7 @@ pub mod virtual_hubs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHub), @@ -23866,7 +23866,7 @@ pub mod virtual_hubs { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23933,7 +23933,7 @@ pub mod virtual_hubs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -24012,7 +24012,7 @@ pub mod virtual_hubs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24078,7 +24078,7 @@ pub mod virtual_hubs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24155,7 +24155,7 @@ pub mod virtual_hubs { } } pub mod get_effective_virtual_hub_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -24184,7 +24184,7 @@ pub mod virtual_hubs { } } pub mod hub_virtual_network_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -24235,7 +24235,7 @@ pub mod hub_virtual_network_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24318,7 +24318,7 @@ pub mod hub_virtual_network_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HubVirtualNetworkConnection), @@ -24392,7 +24392,7 @@ pub mod hub_virtual_network_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -24468,7 +24468,7 @@ pub mod hub_virtual_network_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24492,7 +24492,7 @@ pub mod hub_virtual_network_connections { } } pub mod vpn_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -24541,7 +24541,7 @@ pub mod vpn_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24622,7 +24622,7 @@ pub mod vpn_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -24703,7 +24703,7 @@ pub mod vpn_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -24775,7 +24775,7 @@ pub mod vpn_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -24853,7 +24853,7 @@ pub mod vpn_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -24938,7 +24938,7 @@ pub mod vpn_gateways { } } pub mod start_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -25023,7 +25023,7 @@ pub mod vpn_gateways { } } pub mod stop_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -25101,7 +25101,7 @@ pub mod vpn_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25167,7 +25167,7 @@ pub mod vpn_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25191,7 +25191,7 @@ pub mod vpn_gateways { } } pub mod vpn_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -25242,7 +25242,7 @@ pub mod vpn_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25325,7 +25325,7 @@ pub mod vpn_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnConnection), @@ -25399,7 +25399,7 @@ pub mod vpn_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -25487,7 +25487,7 @@ pub mod vpn_connections { } } pub mod start_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -25574,7 +25574,7 @@ pub mod vpn_connections { } } pub mod stop_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -25652,7 +25652,7 @@ pub mod vpn_connections { } } pub mod list_by_vpn_gateway { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25676,7 +25676,7 @@ pub mod vpn_connections { } } pub mod vpn_site_link_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -25729,7 +25729,7 @@ pub mod vpn_site_link_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25753,7 +25753,7 @@ pub mod vpn_site_link_connections { } } pub mod vpn_link_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_vpn_connection( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -25809,7 +25809,7 @@ pub mod vpn_link_connections { } } pub mod list_by_vpn_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25833,7 +25833,7 @@ pub mod vpn_link_connections { } } pub mod nat_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -25884,7 +25884,7 @@ pub mod nat_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25967,7 +25967,7 @@ pub mod nat_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGatewayNatRule), @@ -26041,7 +26041,7 @@ pub mod nat_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -26120,7 +26120,7 @@ pub mod nat_rules { } } pub mod list_by_vpn_gateway { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26144,7 +26144,7 @@ pub mod nat_rules { } } pub mod p2s_vpn_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -26193,7 +26193,7 @@ pub mod p2s_vpn_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26274,7 +26274,7 @@ pub mod p2s_vpn_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -26355,7 +26355,7 @@ pub mod p2s_vpn_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -26427,7 +26427,7 @@ pub mod p2s_vpn_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -26506,7 +26506,7 @@ pub mod p2s_vpn_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26572,7 +26572,7 @@ pub mod p2s_vpn_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26644,7 +26644,7 @@ pub mod p2s_vpn_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -26725,7 +26725,7 @@ pub mod p2s_vpn_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnProfileResponse), @@ -26807,7 +26807,7 @@ pub mod p2s_vpn_gateways { } } pub mod get_p2s_vpn_connection_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -26890,7 +26890,7 @@ pub mod p2s_vpn_gateways { } } pub mod get_p2s_vpn_connection_health_detailed { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnConnectionHealth), @@ -26968,7 +26968,7 @@ pub mod p2s_vpn_gateways { } } pub mod disconnect_p2s_vpn_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -26997,7 +26997,7 @@ pub mod p2s_vpn_gateways { } } pub mod vpn_server_configurations_associated_with_virtual_wan { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -27048,7 +27048,7 @@ pub mod vpn_server_configurations_associated_with_virtual_wan { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnServerConfigurationsResponse), @@ -27077,7 +27077,7 @@ pub mod vpn_server_configurations_associated_with_virtual_wan { } } pub mod virtual_hub_route_table_v2s { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -27128,7 +27128,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27211,7 +27211,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHubRouteTableV2), @@ -27285,7 +27285,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -27361,7 +27361,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27385,7 +27385,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod express_route_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -27433,7 +27433,7 @@ pub mod express_route_gateways { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27506,7 +27506,7 @@ pub mod express_route_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27576,7 +27576,7 @@ pub mod express_route_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27657,7 +27657,7 @@ pub mod express_route_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteGateway), @@ -27738,7 +27738,7 @@ pub mod express_route_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -27810,7 +27810,7 @@ pub mod express_route_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -27840,7 +27840,7 @@ pub mod express_route_gateways { } } pub mod express_route_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -27891,7 +27891,7 @@ pub mod express_route_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27974,7 +27974,7 @@ pub mod express_route_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteConnection), @@ -28048,7 +28048,7 @@ pub mod express_route_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -28124,7 +28124,7 @@ pub mod express_route_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28148,7 +28148,7 @@ pub mod express_route_connections { } } pub mod virtual_hub_bgp_connection { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -28199,7 +28199,7 @@ pub mod virtual_hub_bgp_connection { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28282,7 +28282,7 @@ pub mod virtual_hub_bgp_connection { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BgpConnection), @@ -28356,7 +28356,7 @@ pub mod virtual_hub_bgp_connection { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -28386,7 +28386,7 @@ pub mod virtual_hub_bgp_connection { } } pub mod virtual_hub_bgp_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -28435,7 +28435,7 @@ pub mod virtual_hub_bgp_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28512,7 +28512,7 @@ pub mod virtual_hub_bgp_connections { } } pub mod list_learned_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PeerRouteList), @@ -28596,7 +28596,7 @@ pub mod virtual_hub_bgp_connections { } } pub mod list_advertised_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PeerRouteList), @@ -28625,7 +28625,7 @@ pub mod virtual_hub_bgp_connections { } } pub mod virtual_hub_ip_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -28676,7 +28676,7 @@ pub mod virtual_hub_ip_configuration { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28759,7 +28759,7 @@ pub mod virtual_hub_ip_configuration { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HubIpConfiguration), @@ -28833,7 +28833,7 @@ pub mod virtual_hub_ip_configuration { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -28909,7 +28909,7 @@ pub mod virtual_hub_ip_configuration { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28933,7 +28933,7 @@ pub mod virtual_hub_ip_configuration { } } pub mod hub_route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -28984,7 +28984,7 @@ pub mod hub_route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29067,7 +29067,7 @@ pub mod hub_route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HubRouteTable), @@ -29141,7 +29141,7 @@ pub mod hub_route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -29217,7 +29217,7 @@ pub mod hub_route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29241,7 +29241,7 @@ pub mod hub_route_tables { } } pub mod virtual_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -29290,7 +29290,7 @@ pub mod virtual_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29371,7 +29371,7 @@ pub mod virtual_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGateway), @@ -29452,7 +29452,7 @@ pub mod virtual_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -29524,7 +29524,7 @@ pub mod virtual_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -29598,7 +29598,7 @@ pub mod virtual_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29671,7 +29671,7 @@ pub mod virtual_network_gateways { } } pub mod list_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29747,7 +29747,7 @@ pub mod virtual_network_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -29824,7 +29824,7 @@ pub mod virtual_network_gateways { } } pub mod reset_vpn_client_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -29907,7 +29907,7 @@ pub mod virtual_network_gateways { } } pub mod generatevpnclientpackage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -29988,7 +29988,7 @@ pub mod virtual_network_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -30070,7 +30070,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpn_profile_package_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -30154,7 +30154,7 @@ pub mod virtual_network_gateways { } } pub mod get_bgp_peer_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BgpPeerStatusListResult), @@ -30235,7 +30235,7 @@ pub mod virtual_network_gateways { } } pub mod supported_vpn_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30310,7 +30310,7 @@ pub mod virtual_network_gateways { } } pub mod get_learned_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -30394,7 +30394,7 @@ pub mod virtual_network_gateways { } } pub mod get_advertised_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -30477,7 +30477,7 @@ pub mod virtual_network_gateways { } } pub mod set_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -30558,7 +30558,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30635,7 +30635,7 @@ pub mod virtual_network_gateways { } } pub mod vpn_device_configuration_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30715,7 +30715,7 @@ pub mod virtual_network_gateways { } } pub mod start_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -30796,7 +30796,7 @@ pub mod virtual_network_gateways { } } pub mod stop_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -30878,7 +30878,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpnclient_connection_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnClientConnectionHealthDetailListResult), @@ -30954,7 +30954,7 @@ pub mod virtual_network_gateways { } } pub mod disconnect_virtual_network_gateway_vpn_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -30983,7 +30983,7 @@ pub mod virtual_network_gateways { } } pub mod virtual_network_gateway_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -31032,7 +31032,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31113,7 +31113,7 @@ pub mod virtual_network_gateway_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGatewayConnection), @@ -31194,7 +31194,7 @@ pub mod virtual_network_gateway_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -31266,7 +31266,7 @@ pub mod virtual_network_gateway_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -31345,7 +31345,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31426,7 +31426,7 @@ pub mod virtual_network_gateway_connections { } } pub mod set_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ConnectionSharedKey), @@ -31499,7 +31499,7 @@ pub mod virtual_network_gateway_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31575,7 +31575,7 @@ pub mod virtual_network_gateway_connections { } } pub mod reset_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionResetSharedKey), @@ -31660,7 +31660,7 @@ pub mod virtual_network_gateway_connections { } } pub mod start_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -31741,7 +31741,7 @@ pub mod virtual_network_gateway_connections { } } pub mod stop_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -31821,7 +31821,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_ike_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -31850,7 +31850,7 @@ pub mod virtual_network_gateway_connections { } } pub mod local_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -31899,7 +31899,7 @@ pub mod local_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31980,7 +31980,7 @@ pub mod local_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LocalNetworkGateway), @@ -32060,7 +32060,7 @@ pub mod local_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32127,7 +32127,7 @@ pub mod local_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -32201,7 +32201,7 @@ pub mod local_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32225,7 +32225,7 @@ pub mod local_network_gateways { } } pub mod express_route_cross_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -32270,7 +32270,7 @@ pub mod express_route_cross_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32343,7 +32343,7 @@ pub mod express_route_cross_connections { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32413,7 +32413,7 @@ pub mod express_route_cross_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32488,7 +32488,7 @@ pub mod express_route_cross_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32563,7 +32563,7 @@ pub mod express_route_cross_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32642,7 +32642,7 @@ pub mod express_route_cross_connections { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -32720,7 +32720,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionsRoutesTableSummaryListResult), @@ -32804,7 +32804,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -32833,7 +32833,7 @@ pub mod express_route_cross_connections { } } pub mod express_route_cross_connection_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -32882,7 +32882,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32954,7 +32954,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33037,7 +33037,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionPeering), @@ -33111,7 +33111,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -33141,7 +33141,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod express_route_ports_locations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -33186,7 +33186,7 @@ pub mod express_route_ports_locations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33254,7 +33254,7 @@ pub mod express_route_ports_locations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33278,7 +33278,7 @@ pub mod express_route_ports_locations { } } pub mod express_route_ports { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -33327,7 +33327,7 @@ pub mod express_route_ports { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33408,7 +33408,7 @@ pub mod express_route_ports { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRoutePort), @@ -33488,7 +33488,7 @@ pub mod express_route_ports { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33555,7 +33555,7 @@ pub mod express_route_ports { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -33634,7 +33634,7 @@ pub mod express_route_ports { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33700,7 +33700,7 @@ pub mod express_route_ports { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33775,7 +33775,7 @@ pub mod express_route_ports { } } pub mod generate_loa { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33799,7 +33799,7 @@ pub mod express_route_ports { } } pub mod express_route_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -33850,7 +33850,7 @@ pub mod express_route_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33920,7 +33920,7 @@ pub mod express_route_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33944,7 +33944,7 @@ pub mod express_route_links { } } pub mod firewall_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -33997,7 +33997,7 @@ pub mod firewall_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34078,7 +34078,7 @@ pub mod firewall_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FirewallPolicy), @@ -34150,7 +34150,7 @@ pub mod firewall_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -34224,7 +34224,7 @@ pub mod firewall_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34293,7 +34293,7 @@ pub mod firewall_policies { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34317,7 +34317,7 @@ pub mod firewall_policies { } } pub mod firewall_policy_rule_collection_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -34368,7 +34368,7 @@ pub mod firewall_policy_rule_collection_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34451,7 +34451,7 @@ pub mod firewall_policy_rule_collection_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FirewallPolicyRuleCollectionGroup), @@ -34525,7 +34525,7 @@ pub mod firewall_policy_rule_collection_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -34601,7 +34601,7 @@ pub mod firewall_policy_rule_collection_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34625,7 +34625,7 @@ pub mod firewall_policy_rule_collection_groups { } } pub mod ip_allocations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -34678,7 +34678,7 @@ pub mod ip_allocations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34759,7 +34759,7 @@ pub mod ip_allocations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IpAllocation), @@ -34839,7 +34839,7 @@ pub mod ip_allocations { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34906,7 +34906,7 @@ pub mod ip_allocations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -34978,7 +34978,7 @@ pub mod ip_allocations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35051,7 +35051,7 @@ pub mod ip_allocations { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35075,7 +35075,7 @@ pub mod ip_allocations { } } pub mod ip_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -35128,7 +35128,7 @@ pub mod ip_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35209,7 +35209,7 @@ pub mod ip_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IpGroup), @@ -35289,7 +35289,7 @@ pub mod ip_groups { } } pub mod update_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35356,7 +35356,7 @@ pub mod ip_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -35435,7 +35435,7 @@ pub mod ip_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35501,7 +35501,7 @@ pub mod ip_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35525,7 +35525,7 @@ pub mod ip_groups { } } pub mod network_virtual_appliances { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -35578,7 +35578,7 @@ pub mod network_virtual_appliances { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35659,7 +35659,7 @@ pub mod network_virtual_appliances { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkVirtualAppliance), @@ -35739,7 +35739,7 @@ pub mod network_virtual_appliances { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35806,7 +35806,7 @@ pub mod network_virtual_appliances { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -35885,7 +35885,7 @@ pub mod network_virtual_appliances { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35951,7 +35951,7 @@ pub mod network_virtual_appliances { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35975,7 +35975,7 @@ pub mod network_virtual_appliances { } } pub mod virtual_appliance_sites { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -36026,7 +36026,7 @@ pub mod virtual_appliance_sites { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36109,7 +36109,7 @@ pub mod virtual_appliance_sites { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualApplianceSite), @@ -36183,7 +36183,7 @@ pub mod virtual_appliance_sites { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -36259,7 +36259,7 @@ pub mod virtual_appliance_sites { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36283,7 +36283,7 @@ pub mod virtual_appliance_sites { } } pub mod virtual_appliance_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -36328,7 +36328,7 @@ pub mod virtual_appliance_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36396,7 +36396,7 @@ pub mod virtual_appliance_skus { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36420,7 +36420,7 @@ pub mod virtual_appliance_skus { } } pub mod inbound_security_rule { - use crate::models::*; + use super::{models, models::*}; pub async fn create_or_update( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -36482,7 +36482,7 @@ pub mod inbound_security_rule { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(InboundSecurityRule), @@ -36511,7 +36511,7 @@ pub mod inbound_security_rule { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Network/operations", operation_config.base_path(),); @@ -36549,7 +36549,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36573,7 +36573,7 @@ pub mod operations { } } pub mod public_ip_prefixes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -36626,7 +36626,7 @@ pub mod public_ip_prefixes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36707,7 +36707,7 @@ pub mod public_ip_prefixes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpPrefix), @@ -36787,7 +36787,7 @@ pub mod public_ip_prefixes { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36854,7 +36854,7 @@ pub mod public_ip_prefixes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -36929,7 +36929,7 @@ pub mod public_ip_prefixes { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36997,7 +36997,7 @@ pub mod public_ip_prefixes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37021,7 +37021,7 @@ pub mod public_ip_prefixes { } } pub mod route_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -37074,7 +37074,7 @@ pub mod route_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37155,7 +37155,7 @@ pub mod route_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilter), @@ -37235,7 +37235,7 @@ pub mod route_filters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37302,7 +37302,7 @@ pub mod route_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -37381,7 +37381,7 @@ pub mod route_filters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37447,7 +37447,7 @@ pub mod route_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37471,7 +37471,7 @@ pub mod route_filters { } } pub mod route_filter_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -37522,7 +37522,7 @@ pub mod route_filter_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37605,7 +37605,7 @@ pub mod route_filter_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilterRule), @@ -37679,7 +37679,7 @@ pub mod route_filter_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -37758,7 +37758,7 @@ pub mod route_filter_rules { } } pub mod list_by_route_filter { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37782,7 +37782,7 @@ pub mod route_filter_rules { } } pub mod security_partner_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -37831,7 +37831,7 @@ pub mod security_partner_providers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37912,7 +37912,7 @@ pub mod security_partner_providers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(SecurityPartnerProvider), @@ -37992,7 +37992,7 @@ pub mod security_partner_providers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38059,7 +38059,7 @@ pub mod security_partner_providers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -38138,7 +38138,7 @@ pub mod security_partner_providers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38204,7 +38204,7 @@ pub mod security_partner_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38228,7 +38228,7 @@ pub mod security_partner_providers { } } pub mod bgp_service_communities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -38273,7 +38273,7 @@ pub mod bgp_service_communities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38297,7 +38297,7 @@ pub mod bgp_service_communities { } } pub mod service_tags { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -38344,7 +38344,7 @@ pub mod service_tags { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38368,7 +38368,7 @@ pub mod service_tags { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -38415,7 +38415,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38439,7 +38439,7 @@ pub mod usages { } } pub mod virtual_routers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -38492,7 +38492,7 @@ pub mod virtual_routers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38573,7 +38573,7 @@ pub mod virtual_routers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(VirtualRouter), @@ -38645,7 +38645,7 @@ pub mod virtual_routers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -38724,7 +38724,7 @@ pub mod virtual_routers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38790,7 +38790,7 @@ pub mod virtual_routers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38814,7 +38814,7 @@ pub mod virtual_routers { } } pub mod virtual_router_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -38865,7 +38865,7 @@ pub mod virtual_router_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38948,7 +38948,7 @@ pub mod virtual_router_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(VirtualRouterPeering), @@ -39022,7 +39022,7 @@ pub mod virtual_router_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -39098,7 +39098,7 @@ pub mod virtual_router_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -39122,7 +39122,7 @@ pub mod virtual_router_peerings { } } pub mod web_application_firewall_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -39169,7 +39169,7 @@ pub mod web_application_firewall_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -39238,7 +39238,7 @@ pub mod web_application_firewall_policies { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -39308,7 +39308,7 @@ pub mod web_application_firewall_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -39389,7 +39389,7 @@ pub mod web_application_firewall_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WebApplicationFirewallPolicy), @@ -39461,7 +39461,7 @@ pub mod web_application_firewall_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, diff --git a/services/mgmt/network/src/package_2020_11/operations.rs b/services/mgmt/network/src/package_2020_11/operations.rs index 8e90066d9d..56277fe08e 100644 --- a/services/mgmt/network/src/package_2020_11/operations.rs +++ b/services/mgmt/network/src/package_2020_11/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod application_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod application_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod application_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationGateway), @@ -214,7 +214,7 @@ pub mod application_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -281,7 +281,7 @@ pub mod application_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -355,7 +355,7 @@ pub mod application_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -424,7 +424,7 @@ pub mod application_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -491,7 +491,7 @@ pub mod application_gateways { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -563,7 +563,7 @@ pub mod application_gateways { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -647,7 +647,7 @@ pub mod application_gateways { } } pub mod backend_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealth), @@ -734,7 +734,7 @@ pub mod application_gateways { } } pub mod backend_health_on_demand { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealthOnDemand), @@ -810,7 +810,7 @@ pub mod application_gateways { } } pub mod list_available_server_variables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -881,7 +881,7 @@ pub mod application_gateways { } } pub mod list_available_request_headers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -952,7 +952,7 @@ pub mod application_gateways { } } pub mod list_available_response_headers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1023,7 +1023,7 @@ pub mod application_gateways { } } pub mod list_available_waf_rule_sets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1094,7 +1094,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_options { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1165,7 +1165,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_predefined_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1238,7 +1238,7 @@ pub mod application_gateways { } } pub mod get_ssl_predefined_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1262,7 +1262,7 @@ pub mod application_gateways { } } pub mod application_gateway_private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1311,7 +1311,7 @@ pub mod application_gateway_private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1335,7 +1335,7 @@ pub mod application_gateway_private_link_resources { } } pub mod application_gateway_private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1386,7 +1386,7 @@ pub mod application_gateway_private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1461,7 +1461,7 @@ pub mod application_gateway_private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayPrivateEndpointConnection), @@ -1535,7 +1535,7 @@ pub mod application_gateway_private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1611,7 +1611,7 @@ pub mod application_gateway_private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1635,7 +1635,7 @@ pub mod application_gateway_private_endpoint_connections { } } pub mod network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1688,7 +1688,7 @@ pub mod network_interfaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1769,7 +1769,7 @@ pub mod network_interfaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkInterface), @@ -1849,7 +1849,7 @@ pub mod network_interfaces { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1916,7 +1916,7 @@ pub mod network_interfaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1991,7 +1991,7 @@ pub mod network_interfaces { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2059,7 +2059,7 @@ pub mod network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2136,7 +2136,7 @@ pub mod network_interfaces { } } pub mod get_effective_route_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveRouteListResult), @@ -2218,7 +2218,7 @@ pub mod network_interfaces { } } pub mod list_effective_network_security_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveNetworkSecurityGroupListResult), @@ -2302,7 +2302,7 @@ pub mod network_interfaces { } } pub mod list_cloud_service_role_instance_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2377,7 +2377,7 @@ pub mod network_interfaces { } } pub mod list_cloud_service_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2460,7 +2460,7 @@ pub mod network_interfaces { } } pub mod get_cloud_service_network_interface { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2532,7 +2532,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_vm_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2609,7 +2609,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2684,7 +2684,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_network_interface { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2761,7 +2761,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_ip_configurations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2837,7 +2837,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_ip_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2861,7 +2861,7 @@ pub mod network_interfaces { } } pub mod network_interface_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2910,7 +2910,7 @@ pub mod network_interface_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2982,7 +2982,7 @@ pub mod network_interface_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3006,7 +3006,7 @@ pub mod network_interface_ip_configurations { } } pub mod network_interface_load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3055,7 +3055,7 @@ pub mod network_interface_load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3079,7 +3079,7 @@ pub mod network_interface_load_balancers { } } pub mod network_interface_tap_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3130,7 +3130,7 @@ pub mod network_interface_tap_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3213,7 +3213,7 @@ pub mod network_interface_tap_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkInterfaceTapConfiguration), @@ -3287,7 +3287,7 @@ pub mod network_interface_tap_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3363,7 +3363,7 @@ pub mod network_interface_tap_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3387,7 +3387,7 @@ pub mod network_interface_tap_configurations { } } pub mod virtual_network_taps { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3436,7 +3436,7 @@ pub mod virtual_network_taps { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3517,7 +3517,7 @@ pub mod virtual_network_taps { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkTap), @@ -3597,7 +3597,7 @@ pub mod virtual_network_taps { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3664,7 +3664,7 @@ pub mod virtual_network_taps { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3739,7 +3739,7 @@ pub mod virtual_network_taps { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3812,7 +3812,7 @@ pub mod virtual_network_taps { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3836,7 +3836,7 @@ pub mod virtual_network_taps { } } pub mod load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3889,7 +3889,7 @@ pub mod load_balancers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3970,7 +3970,7 @@ pub mod load_balancers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoadBalancer), @@ -4050,7 +4050,7 @@ pub mod load_balancers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4117,7 +4117,7 @@ pub mod load_balancers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4192,7 +4192,7 @@ pub mod load_balancers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4260,7 +4260,7 @@ pub mod load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4284,7 +4284,7 @@ pub mod load_balancers { } } pub mod load_balancer_backend_address_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4333,7 +4333,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4405,7 +4405,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4488,7 +4488,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(BackendAddressPool), @@ -4562,7 +4562,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4592,7 +4592,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod load_balancer_frontend_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4641,7 +4641,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4713,7 +4713,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4737,7 +4737,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod inbound_nat_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4786,7 +4786,7 @@ pub mod inbound_nat_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4862,7 +4862,7 @@ pub mod inbound_nat_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4945,7 +4945,7 @@ pub mod inbound_nat_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(InboundNatRule), @@ -5019,7 +5019,7 @@ pub mod inbound_nat_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -5049,7 +5049,7 @@ pub mod inbound_nat_rules { } } pub mod load_balancer_load_balancing_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5098,7 +5098,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5170,7 +5170,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5194,7 +5194,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod load_balancer_outbound_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5243,7 +5243,7 @@ pub mod load_balancer_outbound_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5315,7 +5315,7 @@ pub mod load_balancer_outbound_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5339,7 +5339,7 @@ pub mod load_balancer_outbound_rules { } } pub mod load_balancer_network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5388,7 +5388,7 @@ pub mod load_balancer_network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5412,7 +5412,7 @@ pub mod load_balancer_network_interfaces { } } pub mod load_balancer_probes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5461,7 +5461,7 @@ pub mod load_balancer_probes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5533,7 +5533,7 @@ pub mod load_balancer_probes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5557,7 +5557,7 @@ pub mod load_balancer_probes { } } pub mod virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5610,7 +5610,7 @@ pub mod virtual_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5691,7 +5691,7 @@ pub mod virtual_networks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetwork), @@ -5771,7 +5771,7 @@ pub mod virtual_networks { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5838,7 +5838,7 @@ pub mod virtual_networks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5913,7 +5913,7 @@ pub mod virtual_networks { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5981,7 +5981,7 @@ pub mod virtual_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6058,7 +6058,7 @@ pub mod virtual_networks { } } pub mod check_ip_address_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6131,7 +6131,7 @@ pub mod virtual_networks { } } pub mod list_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6155,7 +6155,7 @@ pub mod virtual_networks { } } pub mod subnets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6210,7 +6210,7 @@ pub mod subnets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6293,7 +6293,7 @@ pub mod subnets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Subnet), @@ -6367,7 +6367,7 @@ pub mod subnets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6449,7 +6449,7 @@ pub mod subnets { } } pub mod prepare_network_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6530,7 +6530,7 @@ pub mod subnets { } } pub mod unprepare_network_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6605,7 +6605,7 @@ pub mod subnets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6629,7 +6629,7 @@ pub mod subnets { } } pub mod resource_navigation_links { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6680,7 +6680,7 @@ pub mod resource_navigation_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6704,7 +6704,7 @@ pub mod resource_navigation_links { } } pub mod service_association_links { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6755,7 +6755,7 @@ pub mod service_association_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6779,7 +6779,7 @@ pub mod service_association_links { } } pub mod virtual_network_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6830,7 +6830,7 @@ pub mod virtual_network_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6913,7 +6913,7 @@ pub mod virtual_network_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkPeering), @@ -6987,7 +6987,7 @@ pub mod virtual_network_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7063,7 +7063,7 @@ pub mod virtual_network_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7087,7 +7087,7 @@ pub mod virtual_network_peerings { } } pub mod network_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7140,7 +7140,7 @@ pub mod network_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7221,7 +7221,7 @@ pub mod network_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkSecurityGroup), @@ -7301,7 +7301,7 @@ pub mod network_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7368,7 +7368,7 @@ pub mod network_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7443,7 +7443,7 @@ pub mod network_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7511,7 +7511,7 @@ pub mod network_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7535,7 +7535,7 @@ pub mod network_security_groups { } } pub mod security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7586,7 +7586,7 @@ pub mod security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7669,7 +7669,7 @@ pub mod security_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityRule), @@ -7743,7 +7743,7 @@ pub mod security_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -7819,7 +7819,7 @@ pub mod security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7843,7 +7843,7 @@ pub mod security_rules { } } pub mod default_security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7892,7 +7892,7 @@ pub mod default_security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7964,7 +7964,7 @@ pub mod default_security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7988,7 +7988,7 @@ pub mod default_security_rules { } } pub mod application_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8037,7 +8037,7 @@ pub mod application_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8118,7 +8118,7 @@ pub mod application_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationSecurityGroup), @@ -8198,7 +8198,7 @@ pub mod application_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8265,7 +8265,7 @@ pub mod application_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -8340,7 +8340,7 @@ pub mod application_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8408,7 +8408,7 @@ pub mod application_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8432,7 +8432,7 @@ pub mod application_security_groups { } } pub mod network_watchers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8481,7 +8481,7 @@ pub mod network_watchers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8562,7 +8562,7 @@ pub mod network_watchers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkWatcher), @@ -8642,7 +8642,7 @@ pub mod network_watchers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8708,7 +8708,7 @@ pub mod network_watchers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8781,7 +8781,7 @@ pub mod network_watchers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8850,7 +8850,7 @@ pub mod network_watchers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8925,7 +8925,7 @@ pub mod network_watchers { } } pub mod get_topology { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9006,7 +9006,7 @@ pub mod network_watchers { } } pub mod verify_ip_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VerificationIpFlowResult), @@ -9092,7 +9092,7 @@ pub mod network_watchers { } } pub mod get_next_hop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NextHopResult), @@ -9180,7 +9180,7 @@ pub mod network_watchers { } } pub mod get_vm_security_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityGroupViewResult), @@ -9266,7 +9266,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -9354,7 +9354,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -9442,7 +9442,7 @@ pub mod network_watchers { } } pub mod set_flow_log_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -9528,7 +9528,7 @@ pub mod network_watchers { } } pub mod get_flow_log_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -9614,7 +9614,7 @@ pub mod network_watchers { } } pub mod check_connectivity { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectivityInformation), @@ -9702,7 +9702,7 @@ pub mod network_watchers { } } pub mod get_azure_reachability_report { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AzureReachabilityReport), @@ -9790,7 +9790,7 @@ pub mod network_watchers { } } pub mod list_available_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AvailableProvidersList), @@ -9878,7 +9878,7 @@ pub mod network_watchers { } } pub mod get_network_configuration_diagnostic { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkConfigurationDiagnosticResponse), @@ -9907,7 +9907,7 @@ pub mod network_watchers { } } pub mod packet_captures { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9958,7 +9958,7 @@ pub mod packet_captures { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10032,7 +10032,7 @@ pub mod packet_captures { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10100,7 +10100,7 @@ pub mod packet_captures { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -10174,7 +10174,7 @@ pub mod packet_captures { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10261,7 +10261,7 @@ pub mod packet_captures { } } pub mod get_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PacketCaptureQueryStatusResult), @@ -10336,7 +10336,7 @@ pub mod packet_captures { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10360,7 +10360,7 @@ pub mod packet_captures { } } pub mod connection_monitors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10411,7 +10411,7 @@ pub mod connection_monitors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10498,7 +10498,7 @@ pub mod connection_monitors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorResult), @@ -10580,7 +10580,7 @@ pub mod connection_monitors { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10648,7 +10648,7 @@ pub mod connection_monitors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -10722,7 +10722,7 @@ pub mod connection_monitors { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10796,7 +10796,7 @@ pub mod connection_monitors { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10880,7 +10880,7 @@ pub mod connection_monitors { } } pub mod query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorQueryResult), @@ -10955,7 +10955,7 @@ pub mod connection_monitors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10979,7 +10979,7 @@ pub mod connection_monitors { } } pub mod flow_logs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11030,7 +11030,7 @@ pub mod flow_logs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11113,7 +11113,7 @@ pub mod flow_logs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FlowLog), @@ -11195,7 +11195,7 @@ pub mod flow_logs { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11263,7 +11263,7 @@ pub mod flow_logs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -11338,7 +11338,7 @@ pub mod flow_logs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11362,7 +11362,7 @@ pub mod flow_logs { } } pub mod route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11415,7 +11415,7 @@ pub mod route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11496,7 +11496,7 @@ pub mod route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteTable), @@ -11576,7 +11576,7 @@ pub mod route_tables { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11643,7 +11643,7 @@ pub mod route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -11717,7 +11717,7 @@ pub mod route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11786,7 +11786,7 @@ pub mod route_tables { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11810,7 +11810,7 @@ pub mod route_tables { } } pub mod routes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11861,7 +11861,7 @@ pub mod routes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11944,7 +11944,7 @@ pub mod routes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Route), @@ -12018,7 +12018,7 @@ pub mod routes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -12094,7 +12094,7 @@ pub mod routes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12118,7 +12118,7 @@ pub mod routes { } } pub mod service_endpoint_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12171,7 +12171,7 @@ pub mod service_endpoint_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12252,7 +12252,7 @@ pub mod service_endpoint_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ServiceEndpointPolicy), @@ -12332,7 +12332,7 @@ pub mod service_endpoint_policies { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12399,7 +12399,7 @@ pub mod service_endpoint_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -12471,7 +12471,7 @@ pub mod service_endpoint_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12544,7 +12544,7 @@ pub mod service_endpoint_policies { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12568,7 +12568,7 @@ pub mod service_endpoint_policies { } } pub mod service_endpoint_policy_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12612,7 +12612,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12688,7 +12688,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServiceEndpointPolicyDefinition), @@ -12755,7 +12755,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -12836,7 +12836,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12860,7 +12860,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod private_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12913,7 +12913,7 @@ pub mod private_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12994,7 +12994,7 @@ pub mod private_endpoints { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpoint), @@ -13066,7 +13066,7 @@ pub mod private_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -13140,7 +13140,7 @@ pub mod private_endpoints { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13209,7 +13209,7 @@ pub mod private_endpoints { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13233,7 +13233,7 @@ pub mod private_endpoints { } } pub mod available_private_endpoint_types { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -13280,7 +13280,7 @@ pub mod available_private_endpoint_types { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13355,7 +13355,7 @@ pub mod available_private_endpoint_types { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13379,7 +13379,7 @@ pub mod available_private_endpoint_types { } } pub mod private_dns_zone_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13430,7 +13430,7 @@ pub mod private_dns_zone_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13513,7 +13513,7 @@ pub mod private_dns_zone_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateDnsZoneGroup), @@ -13587,7 +13587,7 @@ pub mod private_dns_zone_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -13663,7 +13663,7 @@ pub mod private_dns_zone_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13687,7 +13687,7 @@ pub mod private_dns_zone_groups { } } pub mod private_link_services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13740,7 +13740,7 @@ pub mod private_link_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13821,7 +13821,7 @@ pub mod private_link_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkService), @@ -13893,7 +13893,7 @@ pub mod private_link_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -13967,7 +13967,7 @@ pub mod private_link_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14036,7 +14036,7 @@ pub mod private_link_services { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14117,7 +14117,7 @@ pub mod private_link_services { } } pub mod get_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14196,7 +14196,7 @@ pub mod private_link_services { } } pub mod update_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14270,7 +14270,7 @@ pub mod private_link_services { } } pub mod delete_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -14351,7 +14351,7 @@ pub mod private_link_services { } } pub mod list_private_endpoint_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14427,7 +14427,7 @@ pub mod private_link_services { } } pub mod check_private_link_service_visibility { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServiceVisibility), @@ -14516,7 +14516,7 @@ pub mod private_link_services { } } pub mod check_private_link_service_visibility_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServiceVisibility), @@ -14594,7 +14594,7 @@ pub mod private_link_services { } } pub mod list_auto_approved_private_link_services { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14671,7 +14671,7 @@ pub mod private_link_services { } } pub mod list_auto_approved_private_link_services_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14695,7 +14695,7 @@ pub mod private_link_services { } } pub mod network_profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14748,7 +14748,7 @@ pub mod network_profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14829,7 +14829,7 @@ pub mod network_profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkProfile), @@ -14909,7 +14909,7 @@ pub mod network_profiles { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14976,7 +14976,7 @@ pub mod network_profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -15051,7 +15051,7 @@ pub mod network_profiles { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15119,7 +15119,7 @@ pub mod network_profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15143,7 +15143,7 @@ pub mod network_profiles { } } pub mod public_ip_addresses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15196,7 +15196,7 @@ pub mod public_ip_addresses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15277,7 +15277,7 @@ pub mod public_ip_addresses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpAddress), @@ -15357,7 +15357,7 @@ pub mod public_ip_addresses { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15424,7 +15424,7 @@ pub mod public_ip_addresses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -15499,7 +15499,7 @@ pub mod public_ip_addresses { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15567,7 +15567,7 @@ pub mod public_ip_addresses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15642,7 +15642,7 @@ pub mod public_ip_addresses { } } pub mod list_cloud_service_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15716,7 +15716,7 @@ pub mod public_ip_addresses { } } pub mod list_cloud_service_role_instance_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15793,7 +15793,7 @@ pub mod public_ip_addresses { } } pub mod get_cloud_service_public_ip_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15870,7 +15870,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15944,7 +15944,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_vm_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16021,7 +16021,7 @@ pub mod public_ip_addresses { } } pub mod get_virtual_machine_scale_set_public_ip_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16045,7 +16045,7 @@ pub mod public_ip_addresses { } } pub mod nat_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16098,7 +16098,7 @@ pub mod nat_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16180,7 +16180,7 @@ pub mod nat_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NatGateway), @@ -16261,7 +16261,7 @@ pub mod nat_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16328,7 +16328,7 @@ pub mod nat_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -16403,7 +16403,7 @@ pub mod nat_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16471,7 +16471,7 @@ pub mod nat_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16495,7 +16495,7 @@ pub mod nat_gateways { } } pub mod available_delegations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -16542,7 +16542,7 @@ pub mod available_delegations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16566,7 +16566,7 @@ pub mod available_delegations { } } pub mod available_resource_group_delegations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -16615,7 +16615,7 @@ pub mod available_resource_group_delegations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16639,7 +16639,7 @@ pub mod available_resource_group_delegations { } } pub mod available_service_aliases { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -16686,7 +16686,7 @@ pub mod available_service_aliases { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16761,7 +16761,7 @@ pub mod available_service_aliases { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16785,7 +16785,7 @@ pub mod available_service_aliases { } } pub mod azure_firewalls { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16834,7 +16834,7 @@ pub mod azure_firewalls { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16915,7 +16915,7 @@ pub mod azure_firewalls { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(AzureFirewall), @@ -16996,7 +16996,7 @@ pub mod azure_firewalls { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -17068,7 +17068,7 @@ pub mod azure_firewalls { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -17142,7 +17142,7 @@ pub mod azure_firewalls { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17211,7 +17211,7 @@ pub mod azure_firewalls { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17235,7 +17235,7 @@ pub mod azure_firewalls { } } pub mod azure_firewall_fqdn_tags { - use crate::models::*; + use super::{models, models::*}; pub async fn list_all( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -17283,7 +17283,7 @@ pub mod azure_firewall_fqdn_tags { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17307,7 +17307,7 @@ pub mod azure_firewall_fqdn_tags { } } pub mod web_categories { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, name: &str, @@ -17358,7 +17358,7 @@ pub mod web_categories { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17427,7 +17427,7 @@ pub mod web_categories { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17451,7 +17451,7 @@ pub mod web_categories { } } pub mod bastion_hosts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17500,7 +17500,7 @@ pub mod bastion_hosts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17581,7 +17581,7 @@ pub mod bastion_hosts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(BastionHost), @@ -17653,7 +17653,7 @@ pub mod bastion_hosts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -17725,7 +17725,7 @@ pub mod bastion_hosts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17798,7 +17798,7 @@ pub mod bastion_hosts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17877,7 +17877,7 @@ pub async fn put_bastion_shareable_link( } } pub mod put_bastion_shareable_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BastionShareableLinkListResult), @@ -17955,7 +17955,7 @@ pub async fn delete_bastion_shareable_link( } } pub mod delete_bastion_shareable_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -18037,7 +18037,7 @@ pub async fn get_bastion_shareable_link( } } pub mod get_bastion_shareable_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18112,7 +18112,7 @@ pub async fn get_active_sessions( } } pub mod get_active_sessions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BastionActiveSessionListResult), @@ -18194,7 +18194,7 @@ pub async fn disconnect_active_sessions( } } pub mod disconnect_active_sessions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18269,7 +18269,7 @@ pub async fn check_dns_name_availability( } } pub mod check_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18344,7 +18344,7 @@ pub async fn supported_security_providers( } } pub mod supported_security_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18426,7 +18426,7 @@ pub async fn generatevirtualwanvpnserverconfigurationvpnprofile( } } pub mod generatevirtualwanvpnserverconfigurationvpnprofile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnProfileResponse), @@ -18454,7 +18454,7 @@ pub mod generatevirtualwanvpnserverconfigurationvpnprofile { } } pub mod custom_ip_prefixes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18507,7 +18507,7 @@ pub mod custom_ip_prefixes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18588,7 +18588,7 @@ pub mod custom_ip_prefixes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CustomIpPrefix), @@ -18668,7 +18668,7 @@ pub mod custom_ip_prefixes { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18735,7 +18735,7 @@ pub mod custom_ip_prefixes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -18810,7 +18810,7 @@ pub mod custom_ip_prefixes { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18878,7 +18878,7 @@ pub mod custom_ip_prefixes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18902,7 +18902,7 @@ pub mod custom_ip_prefixes { } } pub mod ddos_custom_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18951,7 +18951,7 @@ pub mod ddos_custom_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19032,7 +19032,7 @@ pub mod ddos_custom_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DdosCustomPolicy), @@ -19112,7 +19112,7 @@ pub mod ddos_custom_policies { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19179,7 +19179,7 @@ pub mod ddos_custom_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -19209,7 +19209,7 @@ pub mod ddos_custom_policies { } } pub mod ddos_protection_plans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19258,7 +19258,7 @@ pub mod ddos_protection_plans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19339,7 +19339,7 @@ pub mod ddos_protection_plans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DdosProtectionPlan), @@ -19419,7 +19419,7 @@ pub mod ddos_protection_plans { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19486,7 +19486,7 @@ pub mod ddos_protection_plans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -19558,7 +19558,7 @@ pub mod ddos_protection_plans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19631,7 +19631,7 @@ pub mod ddos_protection_plans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19655,7 +19655,7 @@ pub mod ddos_protection_plans { } } pub mod dscp_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19704,7 +19704,7 @@ pub mod dscp_configuration { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19785,7 +19785,7 @@ pub mod dscp_configuration { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DscpConfiguration), @@ -19857,7 +19857,7 @@ pub mod dscp_configuration { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -19931,7 +19931,7 @@ pub mod dscp_configuration { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20000,7 +20000,7 @@ pub mod dscp_configuration { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20024,7 +20024,7 @@ pub mod dscp_configuration { } } pub mod available_endpoint_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -20071,7 +20071,7 @@ pub mod available_endpoint_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20095,7 +20095,7 @@ pub mod available_endpoint_services { } } pub mod express_route_circuit_authorizations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20146,7 +20146,7 @@ pub mod express_route_circuit_authorizations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20229,7 +20229,7 @@ pub mod express_route_circuit_authorizations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuitAuthorization), @@ -20303,7 +20303,7 @@ pub mod express_route_circuit_authorizations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -20379,7 +20379,7 @@ pub mod express_route_circuit_authorizations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20403,7 +20403,7 @@ pub mod express_route_circuit_authorizations { } } pub mod express_route_circuit_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20454,7 +20454,7 @@ pub mod express_route_circuit_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20537,7 +20537,7 @@ pub mod express_route_circuit_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitPeering), @@ -20611,7 +20611,7 @@ pub mod express_route_circuit_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -20687,7 +20687,7 @@ pub mod express_route_circuit_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20711,7 +20711,7 @@ pub mod express_route_circuit_peerings { } } pub mod express_route_circuit_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20764,7 +20764,7 @@ pub mod express_route_circuit_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20849,7 +20849,7 @@ pub mod express_route_circuit_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitConnection), @@ -20925,7 +20925,7 @@ pub mod express_route_circuit_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -21003,7 +21003,7 @@ pub mod express_route_circuit_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21027,7 +21027,7 @@ pub mod express_route_circuit_connections { } } pub mod peer_express_route_circuit_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -21080,7 +21080,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21152,7 +21152,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21176,7 +21176,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod express_route_circuits { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -21225,7 +21225,7 @@ pub mod express_route_circuits { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21306,7 +21306,7 @@ pub mod express_route_circuits { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuit), @@ -21386,7 +21386,7 @@ pub mod express_route_circuits { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21453,7 +21453,7 @@ pub mod express_route_circuits { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -21538,7 +21538,7 @@ pub mod express_route_circuits { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -21622,7 +21622,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -21708,7 +21708,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableSummaryListResult), @@ -21786,7 +21786,7 @@ pub mod express_route_circuits { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21861,7 +21861,7 @@ pub mod express_route_circuits { } } pub mod get_peering_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21929,7 +21929,7 @@ pub mod express_route_circuits { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21998,7 +21998,7 @@ pub mod express_route_circuits { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22022,7 +22022,7 @@ pub mod express_route_circuits { } } pub mod express_route_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -22067,7 +22067,7 @@ pub mod express_route_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22091,7 +22091,7 @@ pub mod express_route_service_providers { } } pub mod virtual_wans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -22140,7 +22140,7 @@ pub mod virtual_wans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22221,7 +22221,7 @@ pub mod virtual_wans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualWan), @@ -22301,7 +22301,7 @@ pub mod virtual_wans { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22368,7 +22368,7 @@ pub mod virtual_wans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22447,7 +22447,7 @@ pub mod virtual_wans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22513,7 +22513,7 @@ pub mod virtual_wans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22537,7 +22537,7 @@ pub mod virtual_wans { } } pub mod vpn_sites { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -22586,7 +22586,7 @@ pub mod vpn_sites { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22667,7 +22667,7 @@ pub mod vpn_sites { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnSite), @@ -22747,7 +22747,7 @@ pub mod vpn_sites { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22814,7 +22814,7 @@ pub mod vpn_sites { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22893,7 +22893,7 @@ pub mod vpn_sites { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22959,7 +22959,7 @@ pub mod vpn_sites { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22983,7 +22983,7 @@ pub mod vpn_sites { } } pub mod vpn_site_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -23034,7 +23034,7 @@ pub mod vpn_site_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23107,7 +23107,7 @@ pub mod vpn_site_links { } } pub mod list_by_vpn_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23131,7 +23131,7 @@ pub mod vpn_site_links { } } pub mod vpn_sites_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn download( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -23181,7 +23181,7 @@ pub mod vpn_sites_configuration { } } pub mod download { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23210,7 +23210,7 @@ pub mod vpn_sites_configuration { } } pub mod vpn_server_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -23259,7 +23259,7 @@ pub mod vpn_server_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23340,7 +23340,7 @@ pub mod vpn_server_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnServerConfiguration), @@ -23420,7 +23420,7 @@ pub mod vpn_server_configurations { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23487,7 +23487,7 @@ pub mod vpn_server_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23566,7 +23566,7 @@ pub mod vpn_server_configurations { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23632,7 +23632,7 @@ pub mod vpn_server_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23656,7 +23656,7 @@ pub mod vpn_server_configurations { } } pub mod virtual_hubs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -23705,7 +23705,7 @@ pub mod virtual_hubs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23786,7 +23786,7 @@ pub mod virtual_hubs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHub), @@ -23866,7 +23866,7 @@ pub mod virtual_hubs { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23933,7 +23933,7 @@ pub mod virtual_hubs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -24012,7 +24012,7 @@ pub mod virtual_hubs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24078,7 +24078,7 @@ pub mod virtual_hubs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24155,7 +24155,7 @@ pub mod virtual_hubs { } } pub mod get_effective_virtual_hub_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -24184,7 +24184,7 @@ pub mod virtual_hubs { } } pub mod hub_virtual_network_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -24235,7 +24235,7 @@ pub mod hub_virtual_network_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24318,7 +24318,7 @@ pub mod hub_virtual_network_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HubVirtualNetworkConnection), @@ -24392,7 +24392,7 @@ pub mod hub_virtual_network_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -24468,7 +24468,7 @@ pub mod hub_virtual_network_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24492,7 +24492,7 @@ pub mod hub_virtual_network_connections { } } pub mod vpn_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -24541,7 +24541,7 @@ pub mod vpn_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24622,7 +24622,7 @@ pub mod vpn_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -24703,7 +24703,7 @@ pub mod vpn_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -24775,7 +24775,7 @@ pub mod vpn_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -24853,7 +24853,7 @@ pub mod vpn_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -24938,7 +24938,7 @@ pub mod vpn_gateways { } } pub mod start_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -25023,7 +25023,7 @@ pub mod vpn_gateways { } } pub mod stop_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -25101,7 +25101,7 @@ pub mod vpn_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25167,7 +25167,7 @@ pub mod vpn_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25191,7 +25191,7 @@ pub mod vpn_gateways { } } pub mod vpn_link_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn reset_connection( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -25235,7 +25235,7 @@ pub mod vpn_link_connections { } } pub mod reset_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25306,7 +25306,7 @@ pub mod vpn_link_connections { } } pub mod get_ike_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -25388,7 +25388,7 @@ pub mod vpn_link_connections { } } pub mod list_by_vpn_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25412,7 +25412,7 @@ pub mod vpn_link_connections { } } pub mod vpn_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -25463,7 +25463,7 @@ pub mod vpn_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25546,7 +25546,7 @@ pub mod vpn_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnConnection), @@ -25620,7 +25620,7 @@ pub mod vpn_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -25708,7 +25708,7 @@ pub mod vpn_connections { } } pub mod start_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -25795,7 +25795,7 @@ pub mod vpn_connections { } } pub mod stop_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -25873,7 +25873,7 @@ pub mod vpn_connections { } } pub mod list_by_vpn_gateway { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25897,7 +25897,7 @@ pub mod vpn_connections { } } pub mod vpn_site_link_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -25950,7 +25950,7 @@ pub mod vpn_site_link_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25974,7 +25974,7 @@ pub mod vpn_site_link_connections { } } pub mod nat_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -26025,7 +26025,7 @@ pub mod nat_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26108,7 +26108,7 @@ pub mod nat_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGatewayNatRule), @@ -26182,7 +26182,7 @@ pub mod nat_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -26261,7 +26261,7 @@ pub mod nat_rules { } } pub mod list_by_vpn_gateway { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26285,7 +26285,7 @@ pub mod nat_rules { } } pub mod p2s_vpn_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -26334,7 +26334,7 @@ pub mod p2s_vpn_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26415,7 +26415,7 @@ pub mod p2s_vpn_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -26496,7 +26496,7 @@ pub mod p2s_vpn_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -26568,7 +26568,7 @@ pub mod p2s_vpn_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -26647,7 +26647,7 @@ pub mod p2s_vpn_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26713,7 +26713,7 @@ pub mod p2s_vpn_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26785,7 +26785,7 @@ pub mod p2s_vpn_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -26866,7 +26866,7 @@ pub mod p2s_vpn_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnProfileResponse), @@ -26948,7 +26948,7 @@ pub mod p2s_vpn_gateways { } } pub mod get_p2s_vpn_connection_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -27031,7 +27031,7 @@ pub mod p2s_vpn_gateways { } } pub mod get_p2s_vpn_connection_health_detailed { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnConnectionHealth), @@ -27109,7 +27109,7 @@ pub mod p2s_vpn_gateways { } } pub mod disconnect_p2s_vpn_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -27138,7 +27138,7 @@ pub mod p2s_vpn_gateways { } } pub mod vpn_server_configurations_associated_with_virtual_wan { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -27189,7 +27189,7 @@ pub mod vpn_server_configurations_associated_with_virtual_wan { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnServerConfigurationsResponse), @@ -27218,7 +27218,7 @@ pub mod vpn_server_configurations_associated_with_virtual_wan { } } pub mod virtual_hub_route_table_v2s { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -27269,7 +27269,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27352,7 +27352,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHubRouteTableV2), @@ -27426,7 +27426,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -27502,7 +27502,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27526,7 +27526,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod express_route_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -27574,7 +27574,7 @@ pub mod express_route_gateways { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27647,7 +27647,7 @@ pub mod express_route_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27717,7 +27717,7 @@ pub mod express_route_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27798,7 +27798,7 @@ pub mod express_route_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteGateway), @@ -27879,7 +27879,7 @@ pub mod express_route_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -27951,7 +27951,7 @@ pub mod express_route_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -27981,7 +27981,7 @@ pub mod express_route_gateways { } } pub mod express_route_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -28032,7 +28032,7 @@ pub mod express_route_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28115,7 +28115,7 @@ pub mod express_route_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteConnection), @@ -28189,7 +28189,7 @@ pub mod express_route_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -28265,7 +28265,7 @@ pub mod express_route_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28289,7 +28289,7 @@ pub mod express_route_connections { } } pub mod virtual_hub_bgp_connection { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -28340,7 +28340,7 @@ pub mod virtual_hub_bgp_connection { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28423,7 +28423,7 @@ pub mod virtual_hub_bgp_connection { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BgpConnection), @@ -28497,7 +28497,7 @@ pub mod virtual_hub_bgp_connection { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -28527,7 +28527,7 @@ pub mod virtual_hub_bgp_connection { } } pub mod virtual_hub_bgp_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -28576,7 +28576,7 @@ pub mod virtual_hub_bgp_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28653,7 +28653,7 @@ pub mod virtual_hub_bgp_connections { } } pub mod list_learned_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PeerRouteList), @@ -28737,7 +28737,7 @@ pub mod virtual_hub_bgp_connections { } } pub mod list_advertised_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PeerRouteList), @@ -28766,7 +28766,7 @@ pub mod virtual_hub_bgp_connections { } } pub mod virtual_hub_ip_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -28817,7 +28817,7 @@ pub mod virtual_hub_ip_configuration { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28900,7 +28900,7 @@ pub mod virtual_hub_ip_configuration { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HubIpConfiguration), @@ -28974,7 +28974,7 @@ pub mod virtual_hub_ip_configuration { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -29050,7 +29050,7 @@ pub mod virtual_hub_ip_configuration { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29074,7 +29074,7 @@ pub mod virtual_hub_ip_configuration { } } pub mod hub_route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -29125,7 +29125,7 @@ pub mod hub_route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29208,7 +29208,7 @@ pub mod hub_route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HubRouteTable), @@ -29282,7 +29282,7 @@ pub mod hub_route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -29358,7 +29358,7 @@ pub mod hub_route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29382,7 +29382,7 @@ pub mod hub_route_tables { } } pub mod virtual_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -29431,7 +29431,7 @@ pub mod virtual_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29512,7 +29512,7 @@ pub mod virtual_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGateway), @@ -29593,7 +29593,7 @@ pub mod virtual_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -29665,7 +29665,7 @@ pub mod virtual_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -29739,7 +29739,7 @@ pub mod virtual_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29812,7 +29812,7 @@ pub mod virtual_network_gateways { } } pub mod list_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29888,7 +29888,7 @@ pub mod virtual_network_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -29965,7 +29965,7 @@ pub mod virtual_network_gateways { } } pub mod reset_vpn_client_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -30048,7 +30048,7 @@ pub mod virtual_network_gateways { } } pub mod generatevpnclientpackage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -30129,7 +30129,7 @@ pub mod virtual_network_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -30211,7 +30211,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpn_profile_package_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -30295,7 +30295,7 @@ pub mod virtual_network_gateways { } } pub mod get_bgp_peer_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BgpPeerStatusListResult), @@ -30376,7 +30376,7 @@ pub mod virtual_network_gateways { } } pub mod supported_vpn_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30451,7 +30451,7 @@ pub mod virtual_network_gateways { } } pub mod get_learned_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -30535,7 +30535,7 @@ pub mod virtual_network_gateways { } } pub mod get_advertised_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -30618,7 +30618,7 @@ pub mod virtual_network_gateways { } } pub mod set_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -30699,7 +30699,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30776,7 +30776,7 @@ pub mod virtual_network_gateways { } } pub mod vpn_device_configuration_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30856,7 +30856,7 @@ pub mod virtual_network_gateways { } } pub mod start_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -30937,7 +30937,7 @@ pub mod virtual_network_gateways { } } pub mod stop_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -31019,7 +31019,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpnclient_connection_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnClientConnectionHealthDetailListResult), @@ -31095,7 +31095,7 @@ pub mod virtual_network_gateways { } } pub mod disconnect_virtual_network_gateway_vpn_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -31124,7 +31124,7 @@ pub mod virtual_network_gateways { } } pub mod virtual_network_gateway_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -31173,7 +31173,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31254,7 +31254,7 @@ pub mod virtual_network_gateway_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGatewayConnection), @@ -31335,7 +31335,7 @@ pub mod virtual_network_gateway_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -31407,7 +31407,7 @@ pub mod virtual_network_gateway_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -31486,7 +31486,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31567,7 +31567,7 @@ pub mod virtual_network_gateway_connections { } } pub mod set_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ConnectionSharedKey), @@ -31640,7 +31640,7 @@ pub mod virtual_network_gateway_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31716,7 +31716,7 @@ pub mod virtual_network_gateway_connections { } } pub mod reset_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionResetSharedKey), @@ -31801,7 +31801,7 @@ pub mod virtual_network_gateway_connections { } } pub mod start_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -31882,7 +31882,7 @@ pub mod virtual_network_gateway_connections { } } pub mod stop_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -31962,7 +31962,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_ike_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -32036,7 +32036,7 @@ pub mod virtual_network_gateway_connections { } } pub mod reset_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32060,7 +32060,7 @@ pub mod virtual_network_gateway_connections { } } pub mod local_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -32109,7 +32109,7 @@ pub mod local_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32190,7 +32190,7 @@ pub mod local_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LocalNetworkGateway), @@ -32270,7 +32270,7 @@ pub mod local_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32337,7 +32337,7 @@ pub mod local_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -32411,7 +32411,7 @@ pub mod local_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32435,7 +32435,7 @@ pub mod local_network_gateways { } } pub mod express_route_cross_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -32480,7 +32480,7 @@ pub mod express_route_cross_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32553,7 +32553,7 @@ pub mod express_route_cross_connections { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32623,7 +32623,7 @@ pub mod express_route_cross_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32698,7 +32698,7 @@ pub mod express_route_cross_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32773,7 +32773,7 @@ pub mod express_route_cross_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32852,7 +32852,7 @@ pub mod express_route_cross_connections { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -32930,7 +32930,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionsRoutesTableSummaryListResult), @@ -33014,7 +33014,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -33043,7 +33043,7 @@ pub mod express_route_cross_connections { } } pub mod express_route_cross_connection_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -33092,7 +33092,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33164,7 +33164,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33247,7 +33247,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionPeering), @@ -33321,7 +33321,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -33351,7 +33351,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod express_route_ports_locations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -33396,7 +33396,7 @@ pub mod express_route_ports_locations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33464,7 +33464,7 @@ pub mod express_route_ports_locations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33488,7 +33488,7 @@ pub mod express_route_ports_locations { } } pub mod express_route_ports { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -33537,7 +33537,7 @@ pub mod express_route_ports { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33618,7 +33618,7 @@ pub mod express_route_ports { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRoutePort), @@ -33698,7 +33698,7 @@ pub mod express_route_ports { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33765,7 +33765,7 @@ pub mod express_route_ports { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -33844,7 +33844,7 @@ pub mod express_route_ports { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33910,7 +33910,7 @@ pub mod express_route_ports { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33985,7 +33985,7 @@ pub mod express_route_ports { } } pub mod generate_loa { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34009,7 +34009,7 @@ pub mod express_route_ports { } } pub mod express_route_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -34060,7 +34060,7 @@ pub mod express_route_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34130,7 +34130,7 @@ pub mod express_route_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34154,7 +34154,7 @@ pub mod express_route_links { } } pub mod firewall_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -34207,7 +34207,7 @@ pub mod firewall_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34288,7 +34288,7 @@ pub mod firewall_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FirewallPolicy), @@ -34360,7 +34360,7 @@ pub mod firewall_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -34434,7 +34434,7 @@ pub mod firewall_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34503,7 +34503,7 @@ pub mod firewall_policies { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34527,7 +34527,7 @@ pub mod firewall_policies { } } pub mod firewall_policy_rule_collection_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -34578,7 +34578,7 @@ pub mod firewall_policy_rule_collection_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34661,7 +34661,7 @@ pub mod firewall_policy_rule_collection_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FirewallPolicyRuleCollectionGroup), @@ -34735,7 +34735,7 @@ pub mod firewall_policy_rule_collection_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -34811,7 +34811,7 @@ pub mod firewall_policy_rule_collection_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34835,7 +34835,7 @@ pub mod firewall_policy_rule_collection_groups { } } pub mod ip_allocations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -34888,7 +34888,7 @@ pub mod ip_allocations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34969,7 +34969,7 @@ pub mod ip_allocations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IpAllocation), @@ -35049,7 +35049,7 @@ pub mod ip_allocations { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35116,7 +35116,7 @@ pub mod ip_allocations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -35188,7 +35188,7 @@ pub mod ip_allocations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35261,7 +35261,7 @@ pub mod ip_allocations { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35285,7 +35285,7 @@ pub mod ip_allocations { } } pub mod ip_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -35338,7 +35338,7 @@ pub mod ip_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35419,7 +35419,7 @@ pub mod ip_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IpGroup), @@ -35499,7 +35499,7 @@ pub mod ip_groups { } } pub mod update_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35566,7 +35566,7 @@ pub mod ip_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -35645,7 +35645,7 @@ pub mod ip_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35711,7 +35711,7 @@ pub mod ip_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35735,7 +35735,7 @@ pub mod ip_groups { } } pub mod network_virtual_appliances { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -35788,7 +35788,7 @@ pub mod network_virtual_appliances { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35869,7 +35869,7 @@ pub mod network_virtual_appliances { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkVirtualAppliance), @@ -35949,7 +35949,7 @@ pub mod network_virtual_appliances { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36016,7 +36016,7 @@ pub mod network_virtual_appliances { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -36095,7 +36095,7 @@ pub mod network_virtual_appliances { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36161,7 +36161,7 @@ pub mod network_virtual_appliances { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36185,7 +36185,7 @@ pub mod network_virtual_appliances { } } pub mod virtual_appliance_sites { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -36236,7 +36236,7 @@ pub mod virtual_appliance_sites { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36319,7 +36319,7 @@ pub mod virtual_appliance_sites { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualApplianceSite), @@ -36393,7 +36393,7 @@ pub mod virtual_appliance_sites { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -36469,7 +36469,7 @@ pub mod virtual_appliance_sites { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36493,7 +36493,7 @@ pub mod virtual_appliance_sites { } } pub mod virtual_appliance_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -36538,7 +36538,7 @@ pub mod virtual_appliance_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36606,7 +36606,7 @@ pub mod virtual_appliance_skus { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36630,7 +36630,7 @@ pub mod virtual_appliance_skus { } } pub mod inbound_security_rule { - use crate::models::*; + use super::{models, models::*}; pub async fn create_or_update( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -36692,7 +36692,7 @@ pub mod inbound_security_rule { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(InboundSecurityRule), @@ -36721,7 +36721,7 @@ pub mod inbound_security_rule { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Network/operations", operation_config.base_path(),); @@ -36759,7 +36759,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36783,7 +36783,7 @@ pub mod operations { } } pub mod public_ip_prefixes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -36836,7 +36836,7 @@ pub mod public_ip_prefixes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36917,7 +36917,7 @@ pub mod public_ip_prefixes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpPrefix), @@ -36997,7 +36997,7 @@ pub mod public_ip_prefixes { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37064,7 +37064,7 @@ pub mod public_ip_prefixes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -37139,7 +37139,7 @@ pub mod public_ip_prefixes { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37207,7 +37207,7 @@ pub mod public_ip_prefixes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37231,7 +37231,7 @@ pub mod public_ip_prefixes { } } pub mod route_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -37284,7 +37284,7 @@ pub mod route_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37365,7 +37365,7 @@ pub mod route_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilter), @@ -37445,7 +37445,7 @@ pub mod route_filters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37512,7 +37512,7 @@ pub mod route_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -37591,7 +37591,7 @@ pub mod route_filters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37657,7 +37657,7 @@ pub mod route_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37681,7 +37681,7 @@ pub mod route_filters { } } pub mod route_filter_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -37732,7 +37732,7 @@ pub mod route_filter_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37815,7 +37815,7 @@ pub mod route_filter_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilterRule), @@ -37889,7 +37889,7 @@ pub mod route_filter_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -37968,7 +37968,7 @@ pub mod route_filter_rules { } } pub mod list_by_route_filter { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37992,7 +37992,7 @@ pub mod route_filter_rules { } } pub mod security_partner_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -38041,7 +38041,7 @@ pub mod security_partner_providers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38122,7 +38122,7 @@ pub mod security_partner_providers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(SecurityPartnerProvider), @@ -38202,7 +38202,7 @@ pub mod security_partner_providers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38269,7 +38269,7 @@ pub mod security_partner_providers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -38348,7 +38348,7 @@ pub mod security_partner_providers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38414,7 +38414,7 @@ pub mod security_partner_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38438,7 +38438,7 @@ pub mod security_partner_providers { } } pub mod bgp_service_communities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -38483,7 +38483,7 @@ pub mod bgp_service_communities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38507,7 +38507,7 @@ pub mod bgp_service_communities { } } pub mod service_tags { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -38554,7 +38554,7 @@ pub mod service_tags { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38578,7 +38578,7 @@ pub mod service_tags { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -38625,7 +38625,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38649,7 +38649,7 @@ pub mod usages { } } pub mod virtual_routers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -38702,7 +38702,7 @@ pub mod virtual_routers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38783,7 +38783,7 @@ pub mod virtual_routers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(VirtualRouter), @@ -38855,7 +38855,7 @@ pub mod virtual_routers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -38934,7 +38934,7 @@ pub mod virtual_routers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -39000,7 +39000,7 @@ pub mod virtual_routers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -39024,7 +39024,7 @@ pub mod virtual_routers { } } pub mod virtual_router_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -39075,7 +39075,7 @@ pub mod virtual_router_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -39158,7 +39158,7 @@ pub mod virtual_router_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(VirtualRouterPeering), @@ -39232,7 +39232,7 @@ pub mod virtual_router_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -39308,7 +39308,7 @@ pub mod virtual_router_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -39332,7 +39332,7 @@ pub mod virtual_router_peerings { } } pub mod web_application_firewall_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -39379,7 +39379,7 @@ pub mod web_application_firewall_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -39448,7 +39448,7 @@ pub mod web_application_firewall_policies { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -39518,7 +39518,7 @@ pub mod web_application_firewall_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -39599,7 +39599,7 @@ pub mod web_application_firewall_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WebApplicationFirewallPolicy), @@ -39671,7 +39671,7 @@ pub mod web_application_firewall_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, diff --git a/services/mgmt/network/src/package_2021_02/operations.rs b/services/mgmt/network/src/package_2021_02/operations.rs index e820265b6e..68e486d725 100644 --- a/services/mgmt/network/src/package_2021_02/operations.rs +++ b/services/mgmt/network/src/package_2021_02/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod application_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod application_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod application_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationGateway), @@ -214,7 +214,7 @@ pub mod application_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -281,7 +281,7 @@ pub mod application_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -355,7 +355,7 @@ pub mod application_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -424,7 +424,7 @@ pub mod application_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -491,7 +491,7 @@ pub mod application_gateways { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -563,7 +563,7 @@ pub mod application_gateways { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -647,7 +647,7 @@ pub mod application_gateways { } } pub mod backend_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealth), @@ -734,7 +734,7 @@ pub mod application_gateways { } } pub mod backend_health_on_demand { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealthOnDemand), @@ -810,7 +810,7 @@ pub mod application_gateways { } } pub mod list_available_server_variables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -881,7 +881,7 @@ pub mod application_gateways { } } pub mod list_available_request_headers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -952,7 +952,7 @@ pub mod application_gateways { } } pub mod list_available_response_headers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1023,7 +1023,7 @@ pub mod application_gateways { } } pub mod list_available_waf_rule_sets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1094,7 +1094,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_options { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1165,7 +1165,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_predefined_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1238,7 +1238,7 @@ pub mod application_gateways { } } pub mod get_ssl_predefined_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1262,7 +1262,7 @@ pub mod application_gateways { } } pub mod application_gateway_private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1311,7 +1311,7 @@ pub mod application_gateway_private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1335,7 +1335,7 @@ pub mod application_gateway_private_link_resources { } } pub mod application_gateway_private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1386,7 +1386,7 @@ pub mod application_gateway_private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1461,7 +1461,7 @@ pub mod application_gateway_private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayPrivateEndpointConnection), @@ -1535,7 +1535,7 @@ pub mod application_gateway_private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1611,7 +1611,7 @@ pub mod application_gateway_private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1635,7 +1635,7 @@ pub mod application_gateway_private_endpoint_connections { } } pub mod network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1688,7 +1688,7 @@ pub mod network_interfaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1769,7 +1769,7 @@ pub mod network_interfaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkInterface), @@ -1849,7 +1849,7 @@ pub mod network_interfaces { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1916,7 +1916,7 @@ pub mod network_interfaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1991,7 +1991,7 @@ pub mod network_interfaces { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2059,7 +2059,7 @@ pub mod network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2136,7 +2136,7 @@ pub mod network_interfaces { } } pub mod get_effective_route_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveRouteListResult), @@ -2218,7 +2218,7 @@ pub mod network_interfaces { } } pub mod list_effective_network_security_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveNetworkSecurityGroupListResult), @@ -2302,7 +2302,7 @@ pub mod network_interfaces { } } pub mod list_cloud_service_role_instance_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2377,7 +2377,7 @@ pub mod network_interfaces { } } pub mod list_cloud_service_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2460,7 +2460,7 @@ pub mod network_interfaces { } } pub mod get_cloud_service_network_interface { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2532,7 +2532,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_vm_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2609,7 +2609,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2684,7 +2684,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_network_interface { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2761,7 +2761,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_ip_configurations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2837,7 +2837,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_ip_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2861,7 +2861,7 @@ pub mod network_interfaces { } } pub mod network_interface_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2910,7 +2910,7 @@ pub mod network_interface_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2982,7 +2982,7 @@ pub mod network_interface_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3006,7 +3006,7 @@ pub mod network_interface_ip_configurations { } } pub mod network_interface_load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3055,7 +3055,7 @@ pub mod network_interface_load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3079,7 +3079,7 @@ pub mod network_interface_load_balancers { } } pub mod network_interface_tap_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3130,7 +3130,7 @@ pub mod network_interface_tap_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3213,7 +3213,7 @@ pub mod network_interface_tap_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkInterfaceTapConfiguration), @@ -3287,7 +3287,7 @@ pub mod network_interface_tap_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3363,7 +3363,7 @@ pub mod network_interface_tap_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3387,7 +3387,7 @@ pub mod network_interface_tap_configurations { } } pub mod virtual_network_taps { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3436,7 +3436,7 @@ pub mod virtual_network_taps { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3517,7 +3517,7 @@ pub mod virtual_network_taps { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkTap), @@ -3597,7 +3597,7 @@ pub mod virtual_network_taps { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3664,7 +3664,7 @@ pub mod virtual_network_taps { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3739,7 +3739,7 @@ pub mod virtual_network_taps { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3812,7 +3812,7 @@ pub mod virtual_network_taps { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3836,7 +3836,7 @@ pub mod virtual_network_taps { } } pub mod load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3889,7 +3889,7 @@ pub mod load_balancers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3970,7 +3970,7 @@ pub mod load_balancers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoadBalancer), @@ -4050,7 +4050,7 @@ pub mod load_balancers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4117,7 +4117,7 @@ pub mod load_balancers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4192,7 +4192,7 @@ pub mod load_balancers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4260,7 +4260,7 @@ pub mod load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4331,7 +4331,7 @@ pub mod load_balancers { } } pub mod swap_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4360,7 +4360,7 @@ pub mod load_balancers { } } pub mod load_balancer_backend_address_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4409,7 +4409,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4481,7 +4481,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4564,7 +4564,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(BackendAddressPool), @@ -4638,7 +4638,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4668,7 +4668,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod load_balancer_frontend_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4717,7 +4717,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4789,7 +4789,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4813,7 +4813,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod inbound_nat_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4862,7 +4862,7 @@ pub mod inbound_nat_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4938,7 +4938,7 @@ pub mod inbound_nat_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5021,7 +5021,7 @@ pub mod inbound_nat_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(InboundNatRule), @@ -5095,7 +5095,7 @@ pub mod inbound_nat_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -5125,7 +5125,7 @@ pub mod inbound_nat_rules { } } pub mod load_balancer_load_balancing_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5174,7 +5174,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5246,7 +5246,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5270,7 +5270,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod load_balancer_outbound_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5319,7 +5319,7 @@ pub mod load_balancer_outbound_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5391,7 +5391,7 @@ pub mod load_balancer_outbound_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5415,7 +5415,7 @@ pub mod load_balancer_outbound_rules { } } pub mod load_balancer_network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5464,7 +5464,7 @@ pub mod load_balancer_network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5488,7 +5488,7 @@ pub mod load_balancer_network_interfaces { } } pub mod load_balancer_probes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5537,7 +5537,7 @@ pub mod load_balancer_probes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5609,7 +5609,7 @@ pub mod load_balancer_probes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5633,7 +5633,7 @@ pub mod load_balancer_probes { } } pub mod virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5686,7 +5686,7 @@ pub mod virtual_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5767,7 +5767,7 @@ pub mod virtual_networks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetwork), @@ -5847,7 +5847,7 @@ pub mod virtual_networks { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5914,7 +5914,7 @@ pub mod virtual_networks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5989,7 +5989,7 @@ pub mod virtual_networks { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6057,7 +6057,7 @@ pub mod virtual_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6134,7 +6134,7 @@ pub mod virtual_networks { } } pub mod check_ip_address_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6207,7 +6207,7 @@ pub mod virtual_networks { } } pub mod list_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6231,7 +6231,7 @@ pub mod virtual_networks { } } pub mod subnets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6286,7 +6286,7 @@ pub mod subnets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6369,7 +6369,7 @@ pub mod subnets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Subnet), @@ -6443,7 +6443,7 @@ pub mod subnets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6525,7 +6525,7 @@ pub mod subnets { } } pub mod prepare_network_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6606,7 +6606,7 @@ pub mod subnets { } } pub mod unprepare_network_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6681,7 +6681,7 @@ pub mod subnets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6705,7 +6705,7 @@ pub mod subnets { } } pub mod resource_navigation_links { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6756,7 +6756,7 @@ pub mod resource_navigation_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6780,7 +6780,7 @@ pub mod resource_navigation_links { } } pub mod service_association_links { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6831,7 +6831,7 @@ pub mod service_association_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6855,7 +6855,7 @@ pub mod service_association_links { } } pub mod virtual_network_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6906,7 +6906,7 @@ pub mod virtual_network_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6994,7 +6994,7 @@ pub mod virtual_network_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkPeering), @@ -7068,7 +7068,7 @@ pub mod virtual_network_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7144,7 +7144,7 @@ pub mod virtual_network_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7168,7 +7168,7 @@ pub mod virtual_network_peerings { } } pub mod network_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7221,7 +7221,7 @@ pub mod network_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7302,7 +7302,7 @@ pub mod network_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkSecurityGroup), @@ -7382,7 +7382,7 @@ pub mod network_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7449,7 +7449,7 @@ pub mod network_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7524,7 +7524,7 @@ pub mod network_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7592,7 +7592,7 @@ pub mod network_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7616,7 +7616,7 @@ pub mod network_security_groups { } } pub mod security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7667,7 +7667,7 @@ pub mod security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7750,7 +7750,7 @@ pub mod security_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityRule), @@ -7824,7 +7824,7 @@ pub mod security_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -7900,7 +7900,7 @@ pub mod security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7924,7 +7924,7 @@ pub mod security_rules { } } pub mod default_security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7973,7 +7973,7 @@ pub mod default_security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8045,7 +8045,7 @@ pub mod default_security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8069,7 +8069,7 @@ pub mod default_security_rules { } } pub mod application_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8118,7 +8118,7 @@ pub mod application_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8199,7 +8199,7 @@ pub mod application_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationSecurityGroup), @@ -8279,7 +8279,7 @@ pub mod application_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8346,7 +8346,7 @@ pub mod application_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -8421,7 +8421,7 @@ pub mod application_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8489,7 +8489,7 @@ pub mod application_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8513,7 +8513,7 @@ pub mod application_security_groups { } } pub mod network_watchers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8562,7 +8562,7 @@ pub mod network_watchers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8643,7 +8643,7 @@ pub mod network_watchers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkWatcher), @@ -8723,7 +8723,7 @@ pub mod network_watchers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8789,7 +8789,7 @@ pub mod network_watchers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8862,7 +8862,7 @@ pub mod network_watchers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8931,7 +8931,7 @@ pub mod network_watchers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9006,7 +9006,7 @@ pub mod network_watchers { } } pub mod get_topology { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9087,7 +9087,7 @@ pub mod network_watchers { } } pub mod verify_ip_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VerificationIpFlowResult), @@ -9173,7 +9173,7 @@ pub mod network_watchers { } } pub mod get_next_hop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NextHopResult), @@ -9261,7 +9261,7 @@ pub mod network_watchers { } } pub mod get_vm_security_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityGroupViewResult), @@ -9347,7 +9347,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -9435,7 +9435,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -9523,7 +9523,7 @@ pub mod network_watchers { } } pub mod set_flow_log_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -9609,7 +9609,7 @@ pub mod network_watchers { } } pub mod get_flow_log_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -9695,7 +9695,7 @@ pub mod network_watchers { } } pub mod check_connectivity { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectivityInformation), @@ -9783,7 +9783,7 @@ pub mod network_watchers { } } pub mod get_azure_reachability_report { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AzureReachabilityReport), @@ -9871,7 +9871,7 @@ pub mod network_watchers { } } pub mod list_available_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AvailableProvidersList), @@ -9959,7 +9959,7 @@ pub mod network_watchers { } } pub mod get_network_configuration_diagnostic { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkConfigurationDiagnosticResponse), @@ -9988,7 +9988,7 @@ pub mod network_watchers { } } pub mod packet_captures { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10039,7 +10039,7 @@ pub mod packet_captures { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10113,7 +10113,7 @@ pub mod packet_captures { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10181,7 +10181,7 @@ pub mod packet_captures { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -10255,7 +10255,7 @@ pub mod packet_captures { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10342,7 +10342,7 @@ pub mod packet_captures { } } pub mod get_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PacketCaptureQueryStatusResult), @@ -10417,7 +10417,7 @@ pub mod packet_captures { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10441,7 +10441,7 @@ pub mod packet_captures { } } pub mod connection_monitors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10492,7 +10492,7 @@ pub mod connection_monitors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10579,7 +10579,7 @@ pub mod connection_monitors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorResult), @@ -10661,7 +10661,7 @@ pub mod connection_monitors { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10729,7 +10729,7 @@ pub mod connection_monitors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -10803,7 +10803,7 @@ pub mod connection_monitors { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10877,7 +10877,7 @@ pub mod connection_monitors { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10961,7 +10961,7 @@ pub mod connection_monitors { } } pub mod query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorQueryResult), @@ -11036,7 +11036,7 @@ pub mod connection_monitors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11060,7 +11060,7 @@ pub mod connection_monitors { } } pub mod flow_logs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11111,7 +11111,7 @@ pub mod flow_logs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11194,7 +11194,7 @@ pub mod flow_logs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FlowLog), @@ -11276,7 +11276,7 @@ pub mod flow_logs { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11344,7 +11344,7 @@ pub mod flow_logs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -11419,7 +11419,7 @@ pub mod flow_logs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11443,7 +11443,7 @@ pub mod flow_logs { } } pub mod route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11496,7 +11496,7 @@ pub mod route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11577,7 +11577,7 @@ pub mod route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteTable), @@ -11657,7 +11657,7 @@ pub mod route_tables { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11724,7 +11724,7 @@ pub mod route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -11798,7 +11798,7 @@ pub mod route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11867,7 +11867,7 @@ pub mod route_tables { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11891,7 +11891,7 @@ pub mod route_tables { } } pub mod routes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11942,7 +11942,7 @@ pub mod routes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12025,7 +12025,7 @@ pub mod routes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Route), @@ -12099,7 +12099,7 @@ pub mod routes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -12175,7 +12175,7 @@ pub mod routes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12199,7 +12199,7 @@ pub mod routes { } } pub mod service_endpoint_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12252,7 +12252,7 @@ pub mod service_endpoint_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12333,7 +12333,7 @@ pub mod service_endpoint_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ServiceEndpointPolicy), @@ -12413,7 +12413,7 @@ pub mod service_endpoint_policies { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12480,7 +12480,7 @@ pub mod service_endpoint_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -12552,7 +12552,7 @@ pub mod service_endpoint_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12625,7 +12625,7 @@ pub mod service_endpoint_policies { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12649,7 +12649,7 @@ pub mod service_endpoint_policies { } } pub mod service_endpoint_policy_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12693,7 +12693,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12769,7 +12769,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServiceEndpointPolicyDefinition), @@ -12836,7 +12836,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -12917,7 +12917,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12941,7 +12941,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod private_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12994,7 +12994,7 @@ pub mod private_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13075,7 +13075,7 @@ pub mod private_endpoints { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpoint), @@ -13147,7 +13147,7 @@ pub mod private_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -13221,7 +13221,7 @@ pub mod private_endpoints { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13290,7 +13290,7 @@ pub mod private_endpoints { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13314,7 +13314,7 @@ pub mod private_endpoints { } } pub mod available_private_endpoint_types { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -13361,7 +13361,7 @@ pub mod available_private_endpoint_types { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13436,7 +13436,7 @@ pub mod available_private_endpoint_types { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13460,7 +13460,7 @@ pub mod available_private_endpoint_types { } } pub mod private_dns_zone_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13511,7 +13511,7 @@ pub mod private_dns_zone_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13594,7 +13594,7 @@ pub mod private_dns_zone_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateDnsZoneGroup), @@ -13668,7 +13668,7 @@ pub mod private_dns_zone_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -13744,7 +13744,7 @@ pub mod private_dns_zone_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13768,7 +13768,7 @@ pub mod private_dns_zone_groups { } } pub mod private_link_services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13821,7 +13821,7 @@ pub mod private_link_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13902,7 +13902,7 @@ pub mod private_link_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkService), @@ -13974,7 +13974,7 @@ pub mod private_link_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -14048,7 +14048,7 @@ pub mod private_link_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14117,7 +14117,7 @@ pub mod private_link_services { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14198,7 +14198,7 @@ pub mod private_link_services { } } pub mod get_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14277,7 +14277,7 @@ pub mod private_link_services { } } pub mod update_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14351,7 +14351,7 @@ pub mod private_link_services { } } pub mod delete_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -14432,7 +14432,7 @@ pub mod private_link_services { } } pub mod list_private_endpoint_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14508,7 +14508,7 @@ pub mod private_link_services { } } pub mod check_private_link_service_visibility { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServiceVisibility), @@ -14597,7 +14597,7 @@ pub mod private_link_services { } } pub mod check_private_link_service_visibility_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServiceVisibility), @@ -14675,7 +14675,7 @@ pub mod private_link_services { } } pub mod list_auto_approved_private_link_services { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14752,7 +14752,7 @@ pub mod private_link_services { } } pub mod list_auto_approved_private_link_services_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14776,7 +14776,7 @@ pub mod private_link_services { } } pub mod network_profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14829,7 +14829,7 @@ pub mod network_profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14910,7 +14910,7 @@ pub mod network_profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkProfile), @@ -14990,7 +14990,7 @@ pub mod network_profiles { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15057,7 +15057,7 @@ pub mod network_profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -15132,7 +15132,7 @@ pub mod network_profiles { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15200,7 +15200,7 @@ pub mod network_profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15224,7 +15224,7 @@ pub mod network_profiles { } } pub mod public_ip_addresses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15277,7 +15277,7 @@ pub mod public_ip_addresses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15358,7 +15358,7 @@ pub mod public_ip_addresses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpAddress), @@ -15438,7 +15438,7 @@ pub mod public_ip_addresses { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15505,7 +15505,7 @@ pub mod public_ip_addresses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -15580,7 +15580,7 @@ pub mod public_ip_addresses { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15648,7 +15648,7 @@ pub mod public_ip_addresses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15723,7 +15723,7 @@ pub mod public_ip_addresses { } } pub mod list_cloud_service_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15797,7 +15797,7 @@ pub mod public_ip_addresses { } } pub mod list_cloud_service_role_instance_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15874,7 +15874,7 @@ pub mod public_ip_addresses { } } pub mod get_cloud_service_public_ip_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15951,7 +15951,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16025,7 +16025,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_vm_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16102,7 +16102,7 @@ pub mod public_ip_addresses { } } pub mod get_virtual_machine_scale_set_public_ip_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16126,7 +16126,7 @@ pub mod public_ip_addresses { } } pub mod nat_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16179,7 +16179,7 @@ pub mod nat_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16261,7 +16261,7 @@ pub mod nat_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NatGateway), @@ -16342,7 +16342,7 @@ pub mod nat_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16409,7 +16409,7 @@ pub mod nat_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -16484,7 +16484,7 @@ pub mod nat_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16552,7 +16552,7 @@ pub mod nat_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16576,7 +16576,7 @@ pub mod nat_gateways { } } pub mod available_delegations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -16623,7 +16623,7 @@ pub mod available_delegations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16647,7 +16647,7 @@ pub mod available_delegations { } } pub mod available_resource_group_delegations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -16696,7 +16696,7 @@ pub mod available_resource_group_delegations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16720,7 +16720,7 @@ pub mod available_resource_group_delegations { } } pub mod available_service_aliases { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -16767,7 +16767,7 @@ pub mod available_service_aliases { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16842,7 +16842,7 @@ pub mod available_service_aliases { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16866,7 +16866,7 @@ pub mod available_service_aliases { } } pub mod azure_firewalls { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16915,7 +16915,7 @@ pub mod azure_firewalls { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16996,7 +16996,7 @@ pub mod azure_firewalls { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(AzureFirewall), @@ -17077,7 +17077,7 @@ pub mod azure_firewalls { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -17149,7 +17149,7 @@ pub mod azure_firewalls { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -17223,7 +17223,7 @@ pub mod azure_firewalls { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17292,7 +17292,7 @@ pub mod azure_firewalls { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17316,7 +17316,7 @@ pub mod azure_firewalls { } } pub mod azure_firewall_fqdn_tags { - use crate::models::*; + use super::{models, models::*}; pub async fn list_all( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -17364,7 +17364,7 @@ pub mod azure_firewall_fqdn_tags { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17388,7 +17388,7 @@ pub mod azure_firewall_fqdn_tags { } } pub mod web_categories { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, name: &str, @@ -17439,7 +17439,7 @@ pub mod web_categories { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17508,7 +17508,7 @@ pub mod web_categories { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17532,7 +17532,7 @@ pub mod web_categories { } } pub mod bastion_hosts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17581,7 +17581,7 @@ pub mod bastion_hosts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17662,7 +17662,7 @@ pub mod bastion_hosts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(BastionHost), @@ -17734,7 +17734,7 @@ pub mod bastion_hosts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -17806,7 +17806,7 @@ pub mod bastion_hosts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17879,7 +17879,7 @@ pub mod bastion_hosts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17958,7 +17958,7 @@ pub async fn put_bastion_shareable_link( } } pub mod put_bastion_shareable_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BastionShareableLinkListResult), @@ -18036,7 +18036,7 @@ pub async fn delete_bastion_shareable_link( } } pub mod delete_bastion_shareable_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -18118,7 +18118,7 @@ pub async fn get_bastion_shareable_link( } } pub mod get_bastion_shareable_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18193,7 +18193,7 @@ pub async fn get_active_sessions( } } pub mod get_active_sessions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BastionActiveSessionListResult), @@ -18275,7 +18275,7 @@ pub async fn disconnect_active_sessions( } } pub mod disconnect_active_sessions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18350,7 +18350,7 @@ pub async fn check_dns_name_availability( } } pub mod check_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18425,7 +18425,7 @@ pub async fn supported_security_providers( } } pub mod supported_security_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18507,7 +18507,7 @@ pub async fn generatevirtualwanvpnserverconfigurationvpnprofile( } } pub mod generatevirtualwanvpnserverconfigurationvpnprofile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnProfileResponse), @@ -18535,7 +18535,7 @@ pub mod generatevirtualwanvpnserverconfigurationvpnprofile { } } pub mod custom_ip_prefixes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18588,7 +18588,7 @@ pub mod custom_ip_prefixes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18669,7 +18669,7 @@ pub mod custom_ip_prefixes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CustomIpPrefix), @@ -18749,7 +18749,7 @@ pub mod custom_ip_prefixes { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18816,7 +18816,7 @@ pub mod custom_ip_prefixes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -18891,7 +18891,7 @@ pub mod custom_ip_prefixes { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18959,7 +18959,7 @@ pub mod custom_ip_prefixes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18983,7 +18983,7 @@ pub mod custom_ip_prefixes { } } pub mod ddos_custom_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19032,7 +19032,7 @@ pub mod ddos_custom_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19113,7 +19113,7 @@ pub mod ddos_custom_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DdosCustomPolicy), @@ -19193,7 +19193,7 @@ pub mod ddos_custom_policies { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19260,7 +19260,7 @@ pub mod ddos_custom_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -19290,7 +19290,7 @@ pub mod ddos_custom_policies { } } pub mod ddos_protection_plans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19339,7 +19339,7 @@ pub mod ddos_protection_plans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19420,7 +19420,7 @@ pub mod ddos_protection_plans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DdosProtectionPlan), @@ -19500,7 +19500,7 @@ pub mod ddos_protection_plans { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19567,7 +19567,7 @@ pub mod ddos_protection_plans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -19639,7 +19639,7 @@ pub mod ddos_protection_plans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19712,7 +19712,7 @@ pub mod ddos_protection_plans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19736,7 +19736,7 @@ pub mod ddos_protection_plans { } } pub mod dscp_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19785,7 +19785,7 @@ pub mod dscp_configuration { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19866,7 +19866,7 @@ pub mod dscp_configuration { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DscpConfiguration), @@ -19938,7 +19938,7 @@ pub mod dscp_configuration { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -20012,7 +20012,7 @@ pub mod dscp_configuration { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20081,7 +20081,7 @@ pub mod dscp_configuration { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20105,7 +20105,7 @@ pub mod dscp_configuration { } } pub mod available_endpoint_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -20152,7 +20152,7 @@ pub mod available_endpoint_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20176,7 +20176,7 @@ pub mod available_endpoint_services { } } pub mod express_route_circuit_authorizations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20227,7 +20227,7 @@ pub mod express_route_circuit_authorizations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20310,7 +20310,7 @@ pub mod express_route_circuit_authorizations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuitAuthorization), @@ -20384,7 +20384,7 @@ pub mod express_route_circuit_authorizations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -20460,7 +20460,7 @@ pub mod express_route_circuit_authorizations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20484,7 +20484,7 @@ pub mod express_route_circuit_authorizations { } } pub mod express_route_circuit_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20535,7 +20535,7 @@ pub mod express_route_circuit_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20618,7 +20618,7 @@ pub mod express_route_circuit_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitPeering), @@ -20692,7 +20692,7 @@ pub mod express_route_circuit_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -20768,7 +20768,7 @@ pub mod express_route_circuit_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20792,7 +20792,7 @@ pub mod express_route_circuit_peerings { } } pub mod express_route_circuit_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20845,7 +20845,7 @@ pub mod express_route_circuit_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20930,7 +20930,7 @@ pub mod express_route_circuit_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitConnection), @@ -21006,7 +21006,7 @@ pub mod express_route_circuit_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -21084,7 +21084,7 @@ pub mod express_route_circuit_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21108,7 +21108,7 @@ pub mod express_route_circuit_connections { } } pub mod peer_express_route_circuit_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -21161,7 +21161,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21233,7 +21233,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21257,7 +21257,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod express_route_circuits { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -21306,7 +21306,7 @@ pub mod express_route_circuits { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21387,7 +21387,7 @@ pub mod express_route_circuits { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuit), @@ -21467,7 +21467,7 @@ pub mod express_route_circuits { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21534,7 +21534,7 @@ pub mod express_route_circuits { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -21619,7 +21619,7 @@ pub mod express_route_circuits { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -21703,7 +21703,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -21789,7 +21789,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableSummaryListResult), @@ -21867,7 +21867,7 @@ pub mod express_route_circuits { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21942,7 +21942,7 @@ pub mod express_route_circuits { } } pub mod get_peering_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22010,7 +22010,7 @@ pub mod express_route_circuits { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22079,7 +22079,7 @@ pub mod express_route_circuits { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22103,7 +22103,7 @@ pub mod express_route_circuits { } } pub mod express_route_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -22148,7 +22148,7 @@ pub mod express_route_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22172,7 +22172,7 @@ pub mod express_route_service_providers { } } pub mod virtual_wans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -22221,7 +22221,7 @@ pub mod virtual_wans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22302,7 +22302,7 @@ pub mod virtual_wans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualWan), @@ -22382,7 +22382,7 @@ pub mod virtual_wans { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22449,7 +22449,7 @@ pub mod virtual_wans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22528,7 +22528,7 @@ pub mod virtual_wans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22594,7 +22594,7 @@ pub mod virtual_wans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22618,7 +22618,7 @@ pub mod virtual_wans { } } pub mod vpn_sites { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -22667,7 +22667,7 @@ pub mod vpn_sites { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22748,7 +22748,7 @@ pub mod vpn_sites { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnSite), @@ -22828,7 +22828,7 @@ pub mod vpn_sites { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22895,7 +22895,7 @@ pub mod vpn_sites { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22974,7 +22974,7 @@ pub mod vpn_sites { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23040,7 +23040,7 @@ pub mod vpn_sites { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23064,7 +23064,7 @@ pub mod vpn_sites { } } pub mod vpn_site_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -23115,7 +23115,7 @@ pub mod vpn_site_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23188,7 +23188,7 @@ pub mod vpn_site_links { } } pub mod list_by_vpn_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23212,7 +23212,7 @@ pub mod vpn_site_links { } } pub mod vpn_sites_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn download( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -23262,7 +23262,7 @@ pub mod vpn_sites_configuration { } } pub mod download { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23291,7 +23291,7 @@ pub mod vpn_sites_configuration { } } pub mod vpn_server_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -23340,7 +23340,7 @@ pub mod vpn_server_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23421,7 +23421,7 @@ pub mod vpn_server_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnServerConfiguration), @@ -23501,7 +23501,7 @@ pub mod vpn_server_configurations { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23568,7 +23568,7 @@ pub mod vpn_server_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23647,7 +23647,7 @@ pub mod vpn_server_configurations { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23713,7 +23713,7 @@ pub mod vpn_server_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23737,7 +23737,7 @@ pub mod vpn_server_configurations { } } pub mod virtual_hubs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -23786,7 +23786,7 @@ pub mod virtual_hubs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23867,7 +23867,7 @@ pub mod virtual_hubs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHub), @@ -23947,7 +23947,7 @@ pub mod virtual_hubs { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24014,7 +24014,7 @@ pub mod virtual_hubs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -24093,7 +24093,7 @@ pub mod virtual_hubs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24159,7 +24159,7 @@ pub mod virtual_hubs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24236,7 +24236,7 @@ pub mod virtual_hubs { } } pub mod get_effective_virtual_hub_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -24265,7 +24265,7 @@ pub mod virtual_hubs { } } pub mod hub_virtual_network_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -24316,7 +24316,7 @@ pub mod hub_virtual_network_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24399,7 +24399,7 @@ pub mod hub_virtual_network_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HubVirtualNetworkConnection), @@ -24473,7 +24473,7 @@ pub mod hub_virtual_network_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -24549,7 +24549,7 @@ pub mod hub_virtual_network_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24573,7 +24573,7 @@ pub mod hub_virtual_network_connections { } } pub mod vpn_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -24622,7 +24622,7 @@ pub mod vpn_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24703,7 +24703,7 @@ pub mod vpn_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -24784,7 +24784,7 @@ pub mod vpn_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -24856,7 +24856,7 @@ pub mod vpn_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -24934,7 +24934,7 @@ pub mod vpn_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -25019,7 +25019,7 @@ pub mod vpn_gateways { } } pub mod start_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -25104,7 +25104,7 @@ pub mod vpn_gateways { } } pub mod stop_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -25182,7 +25182,7 @@ pub mod vpn_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25248,7 +25248,7 @@ pub mod vpn_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25272,7 +25272,7 @@ pub mod vpn_gateways { } } pub mod vpn_link_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn reset_connection( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -25316,7 +25316,7 @@ pub mod vpn_link_connections { } } pub mod reset_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25387,7 +25387,7 @@ pub mod vpn_link_connections { } } pub mod get_ike_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -25469,7 +25469,7 @@ pub mod vpn_link_connections { } } pub mod list_by_vpn_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25493,7 +25493,7 @@ pub mod vpn_link_connections { } } pub mod vpn_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -25544,7 +25544,7 @@ pub mod vpn_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25627,7 +25627,7 @@ pub mod vpn_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnConnection), @@ -25701,7 +25701,7 @@ pub mod vpn_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -25789,7 +25789,7 @@ pub mod vpn_connections { } } pub mod start_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -25876,7 +25876,7 @@ pub mod vpn_connections { } } pub mod stop_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -25954,7 +25954,7 @@ pub mod vpn_connections { } } pub mod list_by_vpn_gateway { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25978,7 +25978,7 @@ pub mod vpn_connections { } } pub mod vpn_site_link_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -26031,7 +26031,7 @@ pub mod vpn_site_link_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26055,7 +26055,7 @@ pub mod vpn_site_link_connections { } } pub mod nat_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -26106,7 +26106,7 @@ pub mod nat_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26189,7 +26189,7 @@ pub mod nat_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGatewayNatRule), @@ -26263,7 +26263,7 @@ pub mod nat_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -26342,7 +26342,7 @@ pub mod nat_rules { } } pub mod list_by_vpn_gateway { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26366,7 +26366,7 @@ pub mod nat_rules { } } pub mod p2s_vpn_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -26415,7 +26415,7 @@ pub mod p2s_vpn_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26496,7 +26496,7 @@ pub mod p2s_vpn_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -26577,7 +26577,7 @@ pub mod p2s_vpn_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -26649,7 +26649,7 @@ pub mod p2s_vpn_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -26728,7 +26728,7 @@ pub mod p2s_vpn_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26794,7 +26794,7 @@ pub mod p2s_vpn_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26866,7 +26866,7 @@ pub mod p2s_vpn_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -26947,7 +26947,7 @@ pub mod p2s_vpn_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnProfileResponse), @@ -27029,7 +27029,7 @@ pub mod p2s_vpn_gateways { } } pub mod get_p2s_vpn_connection_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -27112,7 +27112,7 @@ pub mod p2s_vpn_gateways { } } pub mod get_p2s_vpn_connection_health_detailed { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnConnectionHealth), @@ -27190,7 +27190,7 @@ pub mod p2s_vpn_gateways { } } pub mod disconnect_p2s_vpn_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -27219,7 +27219,7 @@ pub mod p2s_vpn_gateways { } } pub mod vpn_server_configurations_associated_with_virtual_wan { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -27270,7 +27270,7 @@ pub mod vpn_server_configurations_associated_with_virtual_wan { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnServerConfigurationsResponse), @@ -27299,7 +27299,7 @@ pub mod vpn_server_configurations_associated_with_virtual_wan { } } pub mod virtual_hub_route_table_v2s { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -27350,7 +27350,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27433,7 +27433,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHubRouteTableV2), @@ -27507,7 +27507,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -27583,7 +27583,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27607,7 +27607,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod express_route_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -27655,7 +27655,7 @@ pub mod express_route_gateways { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27728,7 +27728,7 @@ pub mod express_route_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27798,7 +27798,7 @@ pub mod express_route_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27879,7 +27879,7 @@ pub mod express_route_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteGateway), @@ -27960,7 +27960,7 @@ pub mod express_route_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -28032,7 +28032,7 @@ pub mod express_route_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -28062,7 +28062,7 @@ pub mod express_route_gateways { } } pub mod express_route_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -28113,7 +28113,7 @@ pub mod express_route_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28196,7 +28196,7 @@ pub mod express_route_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteConnection), @@ -28270,7 +28270,7 @@ pub mod express_route_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -28346,7 +28346,7 @@ pub mod express_route_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28370,7 +28370,7 @@ pub mod express_route_connections { } } pub mod virtual_hub_bgp_connection { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -28421,7 +28421,7 @@ pub mod virtual_hub_bgp_connection { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28504,7 +28504,7 @@ pub mod virtual_hub_bgp_connection { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BgpConnection), @@ -28578,7 +28578,7 @@ pub mod virtual_hub_bgp_connection { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -28608,7 +28608,7 @@ pub mod virtual_hub_bgp_connection { } } pub mod virtual_hub_bgp_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -28657,7 +28657,7 @@ pub mod virtual_hub_bgp_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28734,7 +28734,7 @@ pub mod virtual_hub_bgp_connections { } } pub mod list_learned_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PeerRouteList), @@ -28818,7 +28818,7 @@ pub mod virtual_hub_bgp_connections { } } pub mod list_advertised_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PeerRouteList), @@ -28847,7 +28847,7 @@ pub mod virtual_hub_bgp_connections { } } pub mod virtual_hub_ip_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -28898,7 +28898,7 @@ pub mod virtual_hub_ip_configuration { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28981,7 +28981,7 @@ pub mod virtual_hub_ip_configuration { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HubIpConfiguration), @@ -29055,7 +29055,7 @@ pub mod virtual_hub_ip_configuration { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -29131,7 +29131,7 @@ pub mod virtual_hub_ip_configuration { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29155,7 +29155,7 @@ pub mod virtual_hub_ip_configuration { } } pub mod hub_route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -29206,7 +29206,7 @@ pub mod hub_route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29289,7 +29289,7 @@ pub mod hub_route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HubRouteTable), @@ -29363,7 +29363,7 @@ pub mod hub_route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -29439,7 +29439,7 @@ pub mod hub_route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29463,7 +29463,7 @@ pub mod hub_route_tables { } } pub mod virtual_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -29512,7 +29512,7 @@ pub mod virtual_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29593,7 +29593,7 @@ pub mod virtual_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGateway), @@ -29674,7 +29674,7 @@ pub mod virtual_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -29746,7 +29746,7 @@ pub mod virtual_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -29820,7 +29820,7 @@ pub mod virtual_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29893,7 +29893,7 @@ pub mod virtual_network_gateways { } } pub mod list_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29969,7 +29969,7 @@ pub mod virtual_network_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -30046,7 +30046,7 @@ pub mod virtual_network_gateways { } } pub mod reset_vpn_client_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -30129,7 +30129,7 @@ pub mod virtual_network_gateways { } } pub mod generatevpnclientpackage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -30210,7 +30210,7 @@ pub mod virtual_network_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -30292,7 +30292,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpn_profile_package_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -30376,7 +30376,7 @@ pub mod virtual_network_gateways { } } pub mod get_bgp_peer_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BgpPeerStatusListResult), @@ -30457,7 +30457,7 @@ pub mod virtual_network_gateways { } } pub mod supported_vpn_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30532,7 +30532,7 @@ pub mod virtual_network_gateways { } } pub mod get_learned_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -30616,7 +30616,7 @@ pub mod virtual_network_gateways { } } pub mod get_advertised_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -30699,7 +30699,7 @@ pub mod virtual_network_gateways { } } pub mod set_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -30780,7 +30780,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30857,7 +30857,7 @@ pub mod virtual_network_gateways { } } pub mod vpn_device_configuration_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30937,7 +30937,7 @@ pub mod virtual_network_gateways { } } pub mod start_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -31018,7 +31018,7 @@ pub mod virtual_network_gateways { } } pub mod stop_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -31100,7 +31100,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpnclient_connection_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnClientConnectionHealthDetailListResult), @@ -31176,7 +31176,7 @@ pub mod virtual_network_gateways { } } pub mod disconnect_virtual_network_gateway_vpn_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -31205,7 +31205,7 @@ pub mod virtual_network_gateways { } } pub mod virtual_network_gateway_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -31254,7 +31254,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31335,7 +31335,7 @@ pub mod virtual_network_gateway_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGatewayConnection), @@ -31416,7 +31416,7 @@ pub mod virtual_network_gateway_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -31488,7 +31488,7 @@ pub mod virtual_network_gateway_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -31567,7 +31567,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31648,7 +31648,7 @@ pub mod virtual_network_gateway_connections { } } pub mod set_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ConnectionSharedKey), @@ -31721,7 +31721,7 @@ pub mod virtual_network_gateway_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31797,7 +31797,7 @@ pub mod virtual_network_gateway_connections { } } pub mod reset_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionResetSharedKey), @@ -31882,7 +31882,7 @@ pub mod virtual_network_gateway_connections { } } pub mod start_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -31963,7 +31963,7 @@ pub mod virtual_network_gateway_connections { } } pub mod stop_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -32043,7 +32043,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_ike_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -32117,7 +32117,7 @@ pub mod virtual_network_gateway_connections { } } pub mod reset_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32141,7 +32141,7 @@ pub mod virtual_network_gateway_connections { } } pub mod local_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -32190,7 +32190,7 @@ pub mod local_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32271,7 +32271,7 @@ pub mod local_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LocalNetworkGateway), @@ -32351,7 +32351,7 @@ pub mod local_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32418,7 +32418,7 @@ pub mod local_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -32492,7 +32492,7 @@ pub mod local_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32516,7 +32516,7 @@ pub mod local_network_gateways { } } pub mod virtual_network_gateway_nat_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -32567,7 +32567,7 @@ pub mod virtual_network_gateway_nat_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32650,7 +32650,7 @@ pub mod virtual_network_gateway_nat_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGatewayNatRule), @@ -32724,7 +32724,7 @@ pub mod virtual_network_gateway_nat_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -32805,7 +32805,7 @@ pub mod virtual_network_gateway_nat_rules { } } pub mod list_by_virtual_network_gateway { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32829,7 +32829,7 @@ pub mod virtual_network_gateway_nat_rules { } } pub mod express_route_cross_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -32874,7 +32874,7 @@ pub mod express_route_cross_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32947,7 +32947,7 @@ pub mod express_route_cross_connections { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33017,7 +33017,7 @@ pub mod express_route_cross_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33092,7 +33092,7 @@ pub mod express_route_cross_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33167,7 +33167,7 @@ pub mod express_route_cross_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33246,7 +33246,7 @@ pub mod express_route_cross_connections { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -33324,7 +33324,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionsRoutesTableSummaryListResult), @@ -33408,7 +33408,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -33437,7 +33437,7 @@ pub mod express_route_cross_connections { } } pub mod express_route_cross_connection_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -33486,7 +33486,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33558,7 +33558,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33641,7 +33641,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionPeering), @@ -33715,7 +33715,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -33745,7 +33745,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod express_route_ports_locations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -33790,7 +33790,7 @@ pub mod express_route_ports_locations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33858,7 +33858,7 @@ pub mod express_route_ports_locations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33882,7 +33882,7 @@ pub mod express_route_ports_locations { } } pub mod express_route_ports { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -33931,7 +33931,7 @@ pub mod express_route_ports { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34012,7 +34012,7 @@ pub mod express_route_ports { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRoutePort), @@ -34092,7 +34092,7 @@ pub mod express_route_ports { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34159,7 +34159,7 @@ pub mod express_route_ports { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -34238,7 +34238,7 @@ pub mod express_route_ports { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34304,7 +34304,7 @@ pub mod express_route_ports { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34379,7 +34379,7 @@ pub mod express_route_ports { } } pub mod generate_loa { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34403,7 +34403,7 @@ pub mod express_route_ports { } } pub mod express_route_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -34454,7 +34454,7 @@ pub mod express_route_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34524,7 +34524,7 @@ pub mod express_route_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34548,7 +34548,7 @@ pub mod express_route_links { } } pub mod firewall_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -34601,7 +34601,7 @@ pub mod firewall_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34682,7 +34682,7 @@ pub mod firewall_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FirewallPolicy), @@ -34754,7 +34754,7 @@ pub mod firewall_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -34828,7 +34828,7 @@ pub mod firewall_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34897,7 +34897,7 @@ pub mod firewall_policies { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34921,7 +34921,7 @@ pub mod firewall_policies { } } pub mod firewall_policy_rule_collection_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -34972,7 +34972,7 @@ pub mod firewall_policy_rule_collection_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35055,7 +35055,7 @@ pub mod firewall_policy_rule_collection_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FirewallPolicyRuleCollectionGroup), @@ -35129,7 +35129,7 @@ pub mod firewall_policy_rule_collection_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -35205,7 +35205,7 @@ pub mod firewall_policy_rule_collection_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35229,7 +35229,7 @@ pub mod firewall_policy_rule_collection_groups { } } pub mod ip_allocations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -35282,7 +35282,7 @@ pub mod ip_allocations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35363,7 +35363,7 @@ pub mod ip_allocations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IpAllocation), @@ -35443,7 +35443,7 @@ pub mod ip_allocations { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35510,7 +35510,7 @@ pub mod ip_allocations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -35582,7 +35582,7 @@ pub mod ip_allocations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35655,7 +35655,7 @@ pub mod ip_allocations { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35679,7 +35679,7 @@ pub mod ip_allocations { } } pub mod ip_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -35732,7 +35732,7 @@ pub mod ip_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35813,7 +35813,7 @@ pub mod ip_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IpGroup), @@ -35893,7 +35893,7 @@ pub mod ip_groups { } } pub mod update_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35960,7 +35960,7 @@ pub mod ip_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -36039,7 +36039,7 @@ pub mod ip_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36105,7 +36105,7 @@ pub mod ip_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36129,7 +36129,7 @@ pub mod ip_groups { } } pub mod network_virtual_appliances { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -36182,7 +36182,7 @@ pub mod network_virtual_appliances { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36263,7 +36263,7 @@ pub mod network_virtual_appliances { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkVirtualAppliance), @@ -36343,7 +36343,7 @@ pub mod network_virtual_appliances { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36410,7 +36410,7 @@ pub mod network_virtual_appliances { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -36489,7 +36489,7 @@ pub mod network_virtual_appliances { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36555,7 +36555,7 @@ pub mod network_virtual_appliances { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36579,7 +36579,7 @@ pub mod network_virtual_appliances { } } pub mod virtual_appliance_sites { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -36630,7 +36630,7 @@ pub mod virtual_appliance_sites { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36713,7 +36713,7 @@ pub mod virtual_appliance_sites { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualApplianceSite), @@ -36787,7 +36787,7 @@ pub mod virtual_appliance_sites { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -36863,7 +36863,7 @@ pub mod virtual_appliance_sites { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36887,7 +36887,7 @@ pub mod virtual_appliance_sites { } } pub mod virtual_appliance_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -36932,7 +36932,7 @@ pub mod virtual_appliance_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37000,7 +37000,7 @@ pub mod virtual_appliance_skus { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37024,7 +37024,7 @@ pub mod virtual_appliance_skus { } } pub mod inbound_security_rule { - use crate::models::*; + use super::{models, models::*}; pub async fn create_or_update( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -37086,7 +37086,7 @@ pub mod inbound_security_rule { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(InboundSecurityRule), @@ -37115,7 +37115,7 @@ pub mod inbound_security_rule { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Network/operations", operation_config.base_path(),); @@ -37153,7 +37153,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37177,7 +37177,7 @@ pub mod operations { } } pub mod public_ip_prefixes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -37230,7 +37230,7 @@ pub mod public_ip_prefixes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37311,7 +37311,7 @@ pub mod public_ip_prefixes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpPrefix), @@ -37391,7 +37391,7 @@ pub mod public_ip_prefixes { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37458,7 +37458,7 @@ pub mod public_ip_prefixes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -37533,7 +37533,7 @@ pub mod public_ip_prefixes { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37601,7 +37601,7 @@ pub mod public_ip_prefixes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37625,7 +37625,7 @@ pub mod public_ip_prefixes { } } pub mod route_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -37678,7 +37678,7 @@ pub mod route_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37759,7 +37759,7 @@ pub mod route_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilter), @@ -37839,7 +37839,7 @@ pub mod route_filters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37906,7 +37906,7 @@ pub mod route_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -37985,7 +37985,7 @@ pub mod route_filters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38051,7 +38051,7 @@ pub mod route_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38075,7 +38075,7 @@ pub mod route_filters { } } pub mod route_filter_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -38126,7 +38126,7 @@ pub mod route_filter_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38209,7 +38209,7 @@ pub mod route_filter_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilterRule), @@ -38283,7 +38283,7 @@ pub mod route_filter_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -38362,7 +38362,7 @@ pub mod route_filter_rules { } } pub mod list_by_route_filter { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38386,7 +38386,7 @@ pub mod route_filter_rules { } } pub mod security_partner_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -38435,7 +38435,7 @@ pub mod security_partner_providers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38516,7 +38516,7 @@ pub mod security_partner_providers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(SecurityPartnerProvider), @@ -38596,7 +38596,7 @@ pub mod security_partner_providers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38663,7 +38663,7 @@ pub mod security_partner_providers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -38742,7 +38742,7 @@ pub mod security_partner_providers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38808,7 +38808,7 @@ pub mod security_partner_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38832,7 +38832,7 @@ pub mod security_partner_providers { } } pub mod bgp_service_communities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -38877,7 +38877,7 @@ pub mod bgp_service_communities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38901,7 +38901,7 @@ pub mod bgp_service_communities { } } pub mod service_tags { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -38948,7 +38948,7 @@ pub mod service_tags { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38972,7 +38972,7 @@ pub mod service_tags { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -39019,7 +39019,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -39043,7 +39043,7 @@ pub mod usages { } } pub mod virtual_routers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -39096,7 +39096,7 @@ pub mod virtual_routers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -39177,7 +39177,7 @@ pub mod virtual_routers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(VirtualRouter), @@ -39249,7 +39249,7 @@ pub mod virtual_routers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -39328,7 +39328,7 @@ pub mod virtual_routers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -39394,7 +39394,7 @@ pub mod virtual_routers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -39418,7 +39418,7 @@ pub mod virtual_routers { } } pub mod virtual_router_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -39469,7 +39469,7 @@ pub mod virtual_router_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -39552,7 +39552,7 @@ pub mod virtual_router_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(VirtualRouterPeering), @@ -39626,7 +39626,7 @@ pub mod virtual_router_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -39702,7 +39702,7 @@ pub mod virtual_router_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -39726,7 +39726,7 @@ pub mod virtual_router_peerings { } } pub mod web_application_firewall_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -39773,7 +39773,7 @@ pub mod web_application_firewall_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -39842,7 +39842,7 @@ pub mod web_application_firewall_policies { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -39912,7 +39912,7 @@ pub mod web_application_firewall_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -39993,7 +39993,7 @@ pub mod web_application_firewall_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WebApplicationFirewallPolicy), @@ -40065,7 +40065,7 @@ pub mod web_application_firewall_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, diff --git a/services/mgmt/network/src/package_2021_02_preview/operations.rs b/services/mgmt/network/src/package_2021_02_preview/operations.rs index df3bd458ef..fd1f659028 100644 --- a/services/mgmt/network/src/package_2021_02_preview/operations.rs +++ b/services/mgmt/network/src/package_2021_02_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod network_managers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod network_managers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod network_managers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkManager), @@ -214,7 +214,7 @@ pub mod network_managers { } } pub mod patch_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -280,7 +280,7 @@ pub mod network_managers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -362,7 +362,7 @@ pub mod network_managers { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -438,7 +438,7 @@ pub mod network_managers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -462,7 +462,7 @@ pub mod network_managers { } } pub mod network_manager_commits { - use crate::models::*; + use super::{models, models::*}; pub async fn post( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -513,7 +513,7 @@ pub mod network_manager_commits { } } pub mod post { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -537,7 +537,7 @@ pub mod network_manager_commits { } } pub mod network_manager_deployment_status { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -588,7 +588,7 @@ pub mod network_manager_deployment_status { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -612,7 +612,7 @@ pub mod network_manager_deployment_status { } } pub mod effective_virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_network_manager( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -676,7 +676,7 @@ pub mod effective_virtual_networks { } } pub mod list_by_network_manager { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -748,7 +748,7 @@ pub mod effective_virtual_networks { } } pub mod list_by_network_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -772,7 +772,7 @@ pub mod effective_virtual_networks { } } pub mod network_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -823,7 +823,7 @@ pub mod network_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -910,7 +910,7 @@ pub mod network_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkGroup), @@ -983,7 +983,7 @@ pub mod network_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1066,7 +1066,7 @@ pub mod network_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1090,7 +1090,7 @@ pub mod network_groups { } } pub mod active_connectivity_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1141,7 +1141,7 @@ pub mod active_connectivity_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1165,7 +1165,7 @@ pub mod active_connectivity_configurations { } } pub mod active_security_admin_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1216,7 +1216,7 @@ pub mod active_security_admin_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1240,7 +1240,7 @@ pub mod active_security_admin_rules { } } pub mod active_security_user_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1291,7 +1291,7 @@ pub mod active_security_user_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1315,7 +1315,7 @@ pub mod active_security_user_rules { } } pub mod effective_connectivity_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1360,7 +1360,7 @@ pub mod effective_connectivity_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1384,7 +1384,7 @@ pub mod effective_connectivity_configurations { } } pub mod network_manager_effective_security_admin_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1429,7 +1429,7 @@ pub mod network_manager_effective_security_admin_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1453,7 +1453,7 @@ pub mod network_manager_effective_security_admin_rules { } } pub mod connectivity_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1504,7 +1504,7 @@ pub mod connectivity_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1587,7 +1587,7 @@ pub mod connectivity_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectivityConfiguration), @@ -1660,7 +1660,7 @@ pub mod connectivity_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1743,7 +1743,7 @@ pub mod connectivity_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1767,7 +1767,7 @@ pub mod connectivity_configurations { } } pub mod security_admin_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1824,7 +1824,7 @@ pub mod security_admin_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1896,7 +1896,7 @@ pub mod security_admin_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1979,7 +1979,7 @@ pub mod security_admin_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityConfiguration), @@ -2052,7 +2052,7 @@ pub mod security_admin_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2081,7 +2081,7 @@ pub mod security_admin_configurations { } } pub mod admin_rule_collections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2133,7 +2133,7 @@ pub mod admin_rule_collections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2199,7 +2199,7 @@ pub mod admin_rule_collections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2276,7 +2276,7 @@ pub mod admin_rule_collections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RuleCollection), @@ -2343,7 +2343,7 @@ pub mod admin_rule_collections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2372,7 +2372,7 @@ pub mod admin_rule_collections { } } pub mod admin_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2425,7 +2425,7 @@ pub mod admin_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2492,7 +2492,7 @@ pub mod admin_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2570,7 +2570,7 @@ pub mod admin_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BaseAdminRule), @@ -2638,7 +2638,7 @@ pub mod admin_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2667,7 +2667,7 @@ pub mod admin_rules { } } pub mod security_user_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2724,7 +2724,7 @@ pub mod security_user_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2796,7 +2796,7 @@ pub mod security_user_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2879,7 +2879,7 @@ pub mod security_user_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityConfiguration), @@ -2952,7 +2952,7 @@ pub mod security_user_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2981,7 +2981,7 @@ pub mod security_user_configurations { } } pub mod user_rule_collections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3033,7 +3033,7 @@ pub mod user_rule_collections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3099,7 +3099,7 @@ pub mod user_rule_collections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3176,7 +3176,7 @@ pub mod user_rule_collections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RuleCollection), @@ -3243,7 +3243,7 @@ pub mod user_rule_collections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3272,7 +3272,7 @@ pub mod user_rule_collections { } } pub mod user_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3325,7 +3325,7 @@ pub mod user_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3392,7 +3392,7 @@ pub mod user_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3470,7 +3470,7 @@ pub mod user_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BaseUserRule), @@ -3538,7 +3538,7 @@ pub mod user_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3567,7 +3567,7 @@ pub mod user_rules { } } pub mod network_security_perimeters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3616,7 +3616,7 @@ pub mod network_security_perimeters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3697,7 +3697,7 @@ pub mod network_security_perimeters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkSecurityPerimeter), @@ -3768,7 +3768,7 @@ pub mod network_security_perimeters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3850,7 +3850,7 @@ pub mod network_security_perimeters { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3926,7 +3926,7 @@ pub mod network_security_perimeters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3950,7 +3950,7 @@ pub mod network_security_perimeters { } } pub mod perimeter_associable_resource_types { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3997,7 +3997,7 @@ pub mod perimeter_associable_resource_types { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4021,7 +4021,7 @@ pub mod perimeter_associable_resource_types { } } pub mod application_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4070,7 +4070,7 @@ pub mod application_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4151,7 +4151,7 @@ pub mod application_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationGateway), @@ -4231,7 +4231,7 @@ pub mod application_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4298,7 +4298,7 @@ pub mod application_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4372,7 +4372,7 @@ pub mod application_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4441,7 +4441,7 @@ pub mod application_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4508,7 +4508,7 @@ pub mod application_gateways { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4580,7 +4580,7 @@ pub mod application_gateways { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4664,7 +4664,7 @@ pub mod application_gateways { } } pub mod backend_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealth), @@ -4751,7 +4751,7 @@ pub mod application_gateways { } } pub mod backend_health_on_demand { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealthOnDemand), @@ -4827,7 +4827,7 @@ pub mod application_gateways { } } pub mod list_available_server_variables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4898,7 +4898,7 @@ pub mod application_gateways { } } pub mod list_available_request_headers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4969,7 +4969,7 @@ pub mod application_gateways { } } pub mod list_available_response_headers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5040,7 +5040,7 @@ pub mod application_gateways { } } pub mod list_available_waf_rule_sets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5111,7 +5111,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_options { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5182,7 +5182,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_predefined_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5255,7 +5255,7 @@ pub mod application_gateways { } } pub mod get_ssl_predefined_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5279,7 +5279,7 @@ pub mod application_gateways { } } pub mod application_gateway_private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5328,7 +5328,7 @@ pub mod application_gateway_private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5352,7 +5352,7 @@ pub mod application_gateway_private_link_resources { } } pub mod application_gateway_private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5403,7 +5403,7 @@ pub mod application_gateway_private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5478,7 +5478,7 @@ pub mod application_gateway_private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayPrivateEndpointConnection), @@ -5552,7 +5552,7 @@ pub mod application_gateway_private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5628,7 +5628,7 @@ pub mod application_gateway_private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5652,7 +5652,7 @@ pub mod application_gateway_private_endpoint_connections { } } pub mod network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5705,7 +5705,7 @@ pub mod network_interfaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5786,7 +5786,7 @@ pub mod network_interfaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkInterface), @@ -5866,7 +5866,7 @@ pub mod network_interfaces { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5933,7 +5933,7 @@ pub mod network_interfaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -6008,7 +6008,7 @@ pub mod network_interfaces { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6076,7 +6076,7 @@ pub mod network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6153,7 +6153,7 @@ pub mod network_interfaces { } } pub mod get_effective_route_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveRouteListResult), @@ -6235,7 +6235,7 @@ pub mod network_interfaces { } } pub mod list_effective_network_security_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveNetworkSecurityGroupListResult), @@ -6319,7 +6319,7 @@ pub mod network_interfaces { } } pub mod list_cloud_service_role_instance_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6394,7 +6394,7 @@ pub mod network_interfaces { } } pub mod list_cloud_service_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6477,7 +6477,7 @@ pub mod network_interfaces { } } pub mod get_cloud_service_network_interface { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6549,7 +6549,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_vm_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6626,7 +6626,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6701,7 +6701,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_network_interface { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6778,7 +6778,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_ip_configurations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6854,7 +6854,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_ip_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6878,7 +6878,7 @@ pub mod network_interfaces { } } pub mod network_interface_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6927,7 +6927,7 @@ pub mod network_interface_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6999,7 +6999,7 @@ pub mod network_interface_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7023,7 +7023,7 @@ pub mod network_interface_ip_configurations { } } pub mod network_interface_load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7072,7 +7072,7 @@ pub mod network_interface_load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7096,7 +7096,7 @@ pub mod network_interface_load_balancers { } } pub mod network_interface_tap_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7147,7 +7147,7 @@ pub mod network_interface_tap_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7230,7 +7230,7 @@ pub mod network_interface_tap_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkInterfaceTapConfiguration), @@ -7304,7 +7304,7 @@ pub mod network_interface_tap_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7380,7 +7380,7 @@ pub mod network_interface_tap_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7404,7 +7404,7 @@ pub mod network_interface_tap_configurations { } } pub mod virtual_network_taps { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7453,7 +7453,7 @@ pub mod virtual_network_taps { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7534,7 +7534,7 @@ pub mod virtual_network_taps { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkTap), @@ -7614,7 +7614,7 @@ pub mod virtual_network_taps { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7681,7 +7681,7 @@ pub mod virtual_network_taps { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7756,7 +7756,7 @@ pub mod virtual_network_taps { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7829,7 +7829,7 @@ pub mod virtual_network_taps { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7853,7 +7853,7 @@ pub mod virtual_network_taps { } } pub mod load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7906,7 +7906,7 @@ pub mod load_balancers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7987,7 +7987,7 @@ pub mod load_balancers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoadBalancer), @@ -8067,7 +8067,7 @@ pub mod load_balancers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8134,7 +8134,7 @@ pub mod load_balancers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -8209,7 +8209,7 @@ pub mod load_balancers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8277,7 +8277,7 @@ pub mod load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8348,7 +8348,7 @@ pub mod load_balancers { } } pub mod swap_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8377,7 +8377,7 @@ pub mod load_balancers { } } pub mod load_balancer_backend_address_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8426,7 +8426,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8498,7 +8498,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8581,7 +8581,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(BackendAddressPool), @@ -8655,7 +8655,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -8685,7 +8685,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod load_balancer_frontend_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8734,7 +8734,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8806,7 +8806,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8830,7 +8830,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod inbound_nat_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8879,7 +8879,7 @@ pub mod inbound_nat_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8955,7 +8955,7 @@ pub mod inbound_nat_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9038,7 +9038,7 @@ pub mod inbound_nat_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(InboundNatRule), @@ -9112,7 +9112,7 @@ pub mod inbound_nat_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -9142,7 +9142,7 @@ pub mod inbound_nat_rules { } } pub mod load_balancer_load_balancing_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9191,7 +9191,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9263,7 +9263,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9287,7 +9287,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod load_balancer_outbound_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9336,7 +9336,7 @@ pub mod load_balancer_outbound_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9408,7 +9408,7 @@ pub mod load_balancer_outbound_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9432,7 +9432,7 @@ pub mod load_balancer_outbound_rules { } } pub mod load_balancer_network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9481,7 +9481,7 @@ pub mod load_balancer_network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9505,7 +9505,7 @@ pub mod load_balancer_network_interfaces { } } pub mod load_balancer_probes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9554,7 +9554,7 @@ pub mod load_balancer_probes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9626,7 +9626,7 @@ pub mod load_balancer_probes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9650,7 +9650,7 @@ pub mod load_balancer_probes { } } pub mod virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9703,7 +9703,7 @@ pub mod virtual_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9784,7 +9784,7 @@ pub mod virtual_networks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetwork), @@ -9864,7 +9864,7 @@ pub mod virtual_networks { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9931,7 +9931,7 @@ pub mod virtual_networks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -10006,7 +10006,7 @@ pub mod virtual_networks { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10074,7 +10074,7 @@ pub mod virtual_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10151,7 +10151,7 @@ pub mod virtual_networks { } } pub mod check_ip_address_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10224,7 +10224,7 @@ pub mod virtual_networks { } } pub mod list_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10248,7 +10248,7 @@ pub mod virtual_networks { } } pub mod subnets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10303,7 +10303,7 @@ pub mod subnets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10386,7 +10386,7 @@ pub mod subnets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Subnet), @@ -10460,7 +10460,7 @@ pub mod subnets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10542,7 +10542,7 @@ pub mod subnets { } } pub mod prepare_network_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10623,7 +10623,7 @@ pub mod subnets { } } pub mod unprepare_network_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10698,7 +10698,7 @@ pub mod subnets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10722,7 +10722,7 @@ pub mod subnets { } } pub mod resource_navigation_links { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10773,7 +10773,7 @@ pub mod resource_navigation_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10797,7 +10797,7 @@ pub mod resource_navigation_links { } } pub mod service_association_links { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10848,7 +10848,7 @@ pub mod service_association_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10872,7 +10872,7 @@ pub mod service_association_links { } } pub mod virtual_network_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10923,7 +10923,7 @@ pub mod virtual_network_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11011,7 +11011,7 @@ pub mod virtual_network_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkPeering), @@ -11085,7 +11085,7 @@ pub mod virtual_network_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11161,7 +11161,7 @@ pub mod virtual_network_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11185,7 +11185,7 @@ pub mod virtual_network_peerings { } } pub mod network_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11238,7 +11238,7 @@ pub mod network_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11319,7 +11319,7 @@ pub mod network_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkSecurityGroup), @@ -11399,7 +11399,7 @@ pub mod network_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11466,7 +11466,7 @@ pub mod network_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -11541,7 +11541,7 @@ pub mod network_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11609,7 +11609,7 @@ pub mod network_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11633,7 +11633,7 @@ pub mod network_security_groups { } } pub mod security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11684,7 +11684,7 @@ pub mod security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11767,7 +11767,7 @@ pub mod security_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityRule), @@ -11841,7 +11841,7 @@ pub mod security_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -11917,7 +11917,7 @@ pub mod security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11941,7 +11941,7 @@ pub mod security_rules { } } pub mod default_security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11990,7 +11990,7 @@ pub mod default_security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12062,7 +12062,7 @@ pub mod default_security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12086,7 +12086,7 @@ pub mod default_security_rules { } } pub mod application_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12135,7 +12135,7 @@ pub mod application_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12216,7 +12216,7 @@ pub mod application_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationSecurityGroup), @@ -12296,7 +12296,7 @@ pub mod application_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12363,7 +12363,7 @@ pub mod application_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -12438,7 +12438,7 @@ pub mod application_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12506,7 +12506,7 @@ pub mod application_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12530,7 +12530,7 @@ pub mod application_security_groups { } } pub mod network_watchers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12579,7 +12579,7 @@ pub mod network_watchers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12660,7 +12660,7 @@ pub mod network_watchers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkWatcher), @@ -12740,7 +12740,7 @@ pub mod network_watchers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12806,7 +12806,7 @@ pub mod network_watchers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -12879,7 +12879,7 @@ pub mod network_watchers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12948,7 +12948,7 @@ pub mod network_watchers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13023,7 +13023,7 @@ pub mod network_watchers { } } pub mod get_topology { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13104,7 +13104,7 @@ pub mod network_watchers { } } pub mod verify_ip_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VerificationIpFlowResult), @@ -13190,7 +13190,7 @@ pub mod network_watchers { } } pub mod get_next_hop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NextHopResult), @@ -13278,7 +13278,7 @@ pub mod network_watchers { } } pub mod get_vm_security_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityGroupViewResult), @@ -13364,7 +13364,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -13452,7 +13452,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -13540,7 +13540,7 @@ pub mod network_watchers { } } pub mod set_flow_log_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -13626,7 +13626,7 @@ pub mod network_watchers { } } pub mod get_flow_log_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -13712,7 +13712,7 @@ pub mod network_watchers { } } pub mod check_connectivity { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectivityInformation), @@ -13800,7 +13800,7 @@ pub mod network_watchers { } } pub mod get_azure_reachability_report { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AzureReachabilityReport), @@ -13888,7 +13888,7 @@ pub mod network_watchers { } } pub mod list_available_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AvailableProvidersList), @@ -13976,7 +13976,7 @@ pub mod network_watchers { } } pub mod get_network_configuration_diagnostic { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkConfigurationDiagnosticResponse), @@ -14005,7 +14005,7 @@ pub mod network_watchers { } } pub mod packet_captures { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14056,7 +14056,7 @@ pub mod packet_captures { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14130,7 +14130,7 @@ pub mod packet_captures { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14198,7 +14198,7 @@ pub mod packet_captures { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -14272,7 +14272,7 @@ pub mod packet_captures { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -14359,7 +14359,7 @@ pub mod packet_captures { } } pub mod get_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PacketCaptureQueryStatusResult), @@ -14434,7 +14434,7 @@ pub mod packet_captures { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14458,7 +14458,7 @@ pub mod packet_captures { } } pub mod connection_monitors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14509,7 +14509,7 @@ pub mod connection_monitors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14596,7 +14596,7 @@ pub mod connection_monitors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorResult), @@ -14678,7 +14678,7 @@ pub mod connection_monitors { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14746,7 +14746,7 @@ pub mod connection_monitors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -14820,7 +14820,7 @@ pub mod connection_monitors { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -14894,7 +14894,7 @@ pub mod connection_monitors { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -14978,7 +14978,7 @@ pub mod connection_monitors { } } pub mod query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorQueryResult), @@ -15053,7 +15053,7 @@ pub mod connection_monitors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15077,7 +15077,7 @@ pub mod connection_monitors { } } pub mod flow_logs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15128,7 +15128,7 @@ pub mod flow_logs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15211,7 +15211,7 @@ pub mod flow_logs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FlowLog), @@ -15293,7 +15293,7 @@ pub mod flow_logs { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15361,7 +15361,7 @@ pub mod flow_logs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -15436,7 +15436,7 @@ pub mod flow_logs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15460,7 +15460,7 @@ pub mod flow_logs { } } pub mod route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15513,7 +15513,7 @@ pub mod route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15594,7 +15594,7 @@ pub mod route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteTable), @@ -15674,7 +15674,7 @@ pub mod route_tables { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15741,7 +15741,7 @@ pub mod route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -15815,7 +15815,7 @@ pub mod route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15884,7 +15884,7 @@ pub mod route_tables { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15908,7 +15908,7 @@ pub mod route_tables { } } pub mod routes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15959,7 +15959,7 @@ pub mod routes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16042,7 +16042,7 @@ pub mod routes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Route), @@ -16116,7 +16116,7 @@ pub mod routes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -16192,7 +16192,7 @@ pub mod routes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16216,7 +16216,7 @@ pub mod routes { } } pub mod service_endpoint_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16269,7 +16269,7 @@ pub mod service_endpoint_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16350,7 +16350,7 @@ pub mod service_endpoint_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ServiceEndpointPolicy), @@ -16430,7 +16430,7 @@ pub mod service_endpoint_policies { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16497,7 +16497,7 @@ pub mod service_endpoint_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -16569,7 +16569,7 @@ pub mod service_endpoint_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16642,7 +16642,7 @@ pub mod service_endpoint_policies { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16666,7 +16666,7 @@ pub mod service_endpoint_policies { } } pub mod service_endpoint_policy_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16710,7 +16710,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16786,7 +16786,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServiceEndpointPolicyDefinition), @@ -16853,7 +16853,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -16934,7 +16934,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16958,7 +16958,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod private_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17011,7 +17011,7 @@ pub mod private_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17092,7 +17092,7 @@ pub mod private_endpoints { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpoint), @@ -17164,7 +17164,7 @@ pub mod private_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -17238,7 +17238,7 @@ pub mod private_endpoints { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17307,7 +17307,7 @@ pub mod private_endpoints { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17331,7 +17331,7 @@ pub mod private_endpoints { } } pub mod available_private_endpoint_types { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -17378,7 +17378,7 @@ pub mod available_private_endpoint_types { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17453,7 +17453,7 @@ pub mod available_private_endpoint_types { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17477,7 +17477,7 @@ pub mod available_private_endpoint_types { } } pub mod private_dns_zone_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17528,7 +17528,7 @@ pub mod private_dns_zone_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17611,7 +17611,7 @@ pub mod private_dns_zone_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateDnsZoneGroup), @@ -17685,7 +17685,7 @@ pub mod private_dns_zone_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -17761,7 +17761,7 @@ pub mod private_dns_zone_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17785,7 +17785,7 @@ pub mod private_dns_zone_groups { } } pub mod private_link_services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17838,7 +17838,7 @@ pub mod private_link_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17919,7 +17919,7 @@ pub mod private_link_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkService), @@ -17991,7 +17991,7 @@ pub mod private_link_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -18065,7 +18065,7 @@ pub mod private_link_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18134,7 +18134,7 @@ pub mod private_link_services { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18215,7 +18215,7 @@ pub mod private_link_services { } } pub mod get_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18294,7 +18294,7 @@ pub mod private_link_services { } } pub mod update_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18368,7 +18368,7 @@ pub mod private_link_services { } } pub mod delete_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -18449,7 +18449,7 @@ pub mod private_link_services { } } pub mod list_private_endpoint_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18525,7 +18525,7 @@ pub mod private_link_services { } } pub mod check_private_link_service_visibility { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServiceVisibility), @@ -18614,7 +18614,7 @@ pub mod private_link_services { } } pub mod check_private_link_service_visibility_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServiceVisibility), @@ -18692,7 +18692,7 @@ pub mod private_link_services { } } pub mod list_auto_approved_private_link_services { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18769,7 +18769,7 @@ pub mod private_link_services { } } pub mod list_auto_approved_private_link_services_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18793,7 +18793,7 @@ pub mod private_link_services { } } pub mod network_profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18846,7 +18846,7 @@ pub mod network_profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18927,7 +18927,7 @@ pub mod network_profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkProfile), @@ -19007,7 +19007,7 @@ pub mod network_profiles { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19074,7 +19074,7 @@ pub mod network_profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -19149,7 +19149,7 @@ pub mod network_profiles { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19217,7 +19217,7 @@ pub mod network_profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19241,7 +19241,7 @@ pub mod network_profiles { } } pub mod public_ip_addresses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19294,7 +19294,7 @@ pub mod public_ip_addresses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19375,7 +19375,7 @@ pub mod public_ip_addresses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpAddress), @@ -19455,7 +19455,7 @@ pub mod public_ip_addresses { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19522,7 +19522,7 @@ pub mod public_ip_addresses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -19597,7 +19597,7 @@ pub mod public_ip_addresses { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19665,7 +19665,7 @@ pub mod public_ip_addresses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19740,7 +19740,7 @@ pub mod public_ip_addresses { } } pub mod list_cloud_service_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19814,7 +19814,7 @@ pub mod public_ip_addresses { } } pub mod list_cloud_service_role_instance_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19891,7 +19891,7 @@ pub mod public_ip_addresses { } } pub mod get_cloud_service_public_ip_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19968,7 +19968,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20042,7 +20042,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_vm_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20119,7 +20119,7 @@ pub mod public_ip_addresses { } } pub mod get_virtual_machine_scale_set_public_ip_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20143,7 +20143,7 @@ pub mod public_ip_addresses { } } pub mod nat_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20196,7 +20196,7 @@ pub mod nat_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20278,7 +20278,7 @@ pub mod nat_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NatGateway), @@ -20359,7 +20359,7 @@ pub mod nat_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20426,7 +20426,7 @@ pub mod nat_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -20501,7 +20501,7 @@ pub mod nat_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20569,7 +20569,7 @@ pub mod nat_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20593,7 +20593,7 @@ pub mod nat_gateways { } } pub mod available_delegations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -20640,7 +20640,7 @@ pub mod available_delegations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20664,7 +20664,7 @@ pub mod available_delegations { } } pub mod available_resource_group_delegations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -20713,7 +20713,7 @@ pub mod available_resource_group_delegations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20737,7 +20737,7 @@ pub mod available_resource_group_delegations { } } pub mod available_service_aliases { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -20784,7 +20784,7 @@ pub mod available_service_aliases { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20859,7 +20859,7 @@ pub mod available_service_aliases { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20883,7 +20883,7 @@ pub mod available_service_aliases { } } pub mod azure_firewalls { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20932,7 +20932,7 @@ pub mod azure_firewalls { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21013,7 +21013,7 @@ pub mod azure_firewalls { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(AzureFirewall), @@ -21094,7 +21094,7 @@ pub mod azure_firewalls { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -21166,7 +21166,7 @@ pub mod azure_firewalls { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -21240,7 +21240,7 @@ pub mod azure_firewalls { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21309,7 +21309,7 @@ pub mod azure_firewalls { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21333,7 +21333,7 @@ pub mod azure_firewalls { } } pub mod azure_firewall_fqdn_tags { - use crate::models::*; + use super::{models, models::*}; pub async fn list_all( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -21381,7 +21381,7 @@ pub mod azure_firewall_fqdn_tags { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21405,7 +21405,7 @@ pub mod azure_firewall_fqdn_tags { } } pub mod web_categories { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, name: &str, @@ -21456,7 +21456,7 @@ pub mod web_categories { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21525,7 +21525,7 @@ pub mod web_categories { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21549,7 +21549,7 @@ pub mod web_categories { } } pub mod bastion_hosts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -21598,7 +21598,7 @@ pub mod bastion_hosts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21679,7 +21679,7 @@ pub mod bastion_hosts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(BastionHost), @@ -21760,7 +21760,7 @@ pub mod bastion_hosts { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BastionHost), @@ -21832,7 +21832,7 @@ pub mod bastion_hosts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -21904,7 +21904,7 @@ pub mod bastion_hosts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21977,7 +21977,7 @@ pub mod bastion_hosts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22056,7 +22056,7 @@ pub async fn put_bastion_shareable_link( } } pub mod put_bastion_shareable_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BastionShareableLinkListResult), @@ -22134,7 +22134,7 @@ pub async fn delete_bastion_shareable_link( } } pub mod delete_bastion_shareable_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22216,7 +22216,7 @@ pub async fn get_bastion_shareable_link( } } pub mod get_bastion_shareable_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22291,7 +22291,7 @@ pub async fn get_active_sessions( } } pub mod get_active_sessions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BastionActiveSessionListResult), @@ -22373,7 +22373,7 @@ pub async fn disconnect_active_sessions( } } pub mod disconnect_active_sessions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22448,7 +22448,7 @@ pub async fn check_dns_name_availability( } } pub mod check_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22523,7 +22523,7 @@ pub async fn supported_security_providers( } } pub mod supported_security_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22605,7 +22605,7 @@ pub async fn generatevirtualwanvpnserverconfigurationvpnprofile( } } pub mod generatevirtualwanvpnserverconfigurationvpnprofile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnProfileResponse), @@ -22633,7 +22633,7 @@ pub mod generatevirtualwanvpnserverconfigurationvpnprofile { } } pub mod custom_ip_prefixes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -22686,7 +22686,7 @@ pub mod custom_ip_prefixes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22767,7 +22767,7 @@ pub mod custom_ip_prefixes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CustomIpPrefix), @@ -22847,7 +22847,7 @@ pub mod custom_ip_prefixes { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22914,7 +22914,7 @@ pub mod custom_ip_prefixes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -22989,7 +22989,7 @@ pub mod custom_ip_prefixes { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23057,7 +23057,7 @@ pub mod custom_ip_prefixes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23081,7 +23081,7 @@ pub mod custom_ip_prefixes { } } pub mod ddos_custom_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -23130,7 +23130,7 @@ pub mod ddos_custom_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23211,7 +23211,7 @@ pub mod ddos_custom_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DdosCustomPolicy), @@ -23291,7 +23291,7 @@ pub mod ddos_custom_policies { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23358,7 +23358,7 @@ pub mod ddos_custom_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -23388,7 +23388,7 @@ pub mod ddos_custom_policies { } } pub mod ddos_protection_plans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -23437,7 +23437,7 @@ pub mod ddos_protection_plans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23518,7 +23518,7 @@ pub mod ddos_protection_plans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DdosProtectionPlan), @@ -23598,7 +23598,7 @@ pub mod ddos_protection_plans { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23665,7 +23665,7 @@ pub mod ddos_protection_plans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -23737,7 +23737,7 @@ pub mod ddos_protection_plans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23810,7 +23810,7 @@ pub mod ddos_protection_plans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23834,7 +23834,7 @@ pub mod ddos_protection_plans { } } pub mod dscp_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -23883,7 +23883,7 @@ pub mod dscp_configuration { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23964,7 +23964,7 @@ pub mod dscp_configuration { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DscpConfiguration), @@ -24036,7 +24036,7 @@ pub mod dscp_configuration { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -24110,7 +24110,7 @@ pub mod dscp_configuration { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24179,7 +24179,7 @@ pub mod dscp_configuration { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24203,7 +24203,7 @@ pub mod dscp_configuration { } } pub mod available_endpoint_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -24250,7 +24250,7 @@ pub mod available_endpoint_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24274,7 +24274,7 @@ pub mod available_endpoint_services { } } pub mod express_route_circuit_authorizations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -24325,7 +24325,7 @@ pub mod express_route_circuit_authorizations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24408,7 +24408,7 @@ pub mod express_route_circuit_authorizations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuitAuthorization), @@ -24482,7 +24482,7 @@ pub mod express_route_circuit_authorizations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -24558,7 +24558,7 @@ pub mod express_route_circuit_authorizations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24582,7 +24582,7 @@ pub mod express_route_circuit_authorizations { } } pub mod express_route_circuit_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -24633,7 +24633,7 @@ pub mod express_route_circuit_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24716,7 +24716,7 @@ pub mod express_route_circuit_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitPeering), @@ -24790,7 +24790,7 @@ pub mod express_route_circuit_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -24866,7 +24866,7 @@ pub mod express_route_circuit_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24890,7 +24890,7 @@ pub mod express_route_circuit_peerings { } } pub mod express_route_circuit_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -24943,7 +24943,7 @@ pub mod express_route_circuit_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25028,7 +25028,7 @@ pub mod express_route_circuit_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitConnection), @@ -25104,7 +25104,7 @@ pub mod express_route_circuit_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -25182,7 +25182,7 @@ pub mod express_route_circuit_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25206,7 +25206,7 @@ pub mod express_route_circuit_connections { } } pub mod peer_express_route_circuit_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -25259,7 +25259,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25331,7 +25331,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25355,7 +25355,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod express_route_circuits { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -25404,7 +25404,7 @@ pub mod express_route_circuits { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25485,7 +25485,7 @@ pub mod express_route_circuits { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuit), @@ -25565,7 +25565,7 @@ pub mod express_route_circuits { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25632,7 +25632,7 @@ pub mod express_route_circuits { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -25717,7 +25717,7 @@ pub mod express_route_circuits { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -25801,7 +25801,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -25887,7 +25887,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableSummaryListResult), @@ -25965,7 +25965,7 @@ pub mod express_route_circuits { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26040,7 +26040,7 @@ pub mod express_route_circuits { } } pub mod get_peering_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26108,7 +26108,7 @@ pub mod express_route_circuits { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26177,7 +26177,7 @@ pub mod express_route_circuits { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26201,7 +26201,7 @@ pub mod express_route_circuits { } } pub mod express_route_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -26246,7 +26246,7 @@ pub mod express_route_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26270,7 +26270,7 @@ pub mod express_route_service_providers { } } pub mod virtual_wans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -26319,7 +26319,7 @@ pub mod virtual_wans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26400,7 +26400,7 @@ pub mod virtual_wans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualWan), @@ -26480,7 +26480,7 @@ pub mod virtual_wans { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26547,7 +26547,7 @@ pub mod virtual_wans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -26626,7 +26626,7 @@ pub mod virtual_wans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26692,7 +26692,7 @@ pub mod virtual_wans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26716,7 +26716,7 @@ pub mod virtual_wans { } } pub mod vpn_sites { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -26765,7 +26765,7 @@ pub mod vpn_sites { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26846,7 +26846,7 @@ pub mod vpn_sites { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnSite), @@ -26926,7 +26926,7 @@ pub mod vpn_sites { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26993,7 +26993,7 @@ pub mod vpn_sites { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -27072,7 +27072,7 @@ pub mod vpn_sites { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27138,7 +27138,7 @@ pub mod vpn_sites { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27162,7 +27162,7 @@ pub mod vpn_sites { } } pub mod vpn_site_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -27213,7 +27213,7 @@ pub mod vpn_site_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27286,7 +27286,7 @@ pub mod vpn_site_links { } } pub mod list_by_vpn_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27310,7 +27310,7 @@ pub mod vpn_site_links { } } pub mod vpn_sites_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn download( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -27360,7 +27360,7 @@ pub mod vpn_sites_configuration { } } pub mod download { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -27389,7 +27389,7 @@ pub mod vpn_sites_configuration { } } pub mod vpn_server_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -27438,7 +27438,7 @@ pub mod vpn_server_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27519,7 +27519,7 @@ pub mod vpn_server_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnServerConfiguration), @@ -27599,7 +27599,7 @@ pub mod vpn_server_configurations { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27666,7 +27666,7 @@ pub mod vpn_server_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -27745,7 +27745,7 @@ pub mod vpn_server_configurations { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27811,7 +27811,7 @@ pub mod vpn_server_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27835,7 +27835,7 @@ pub mod vpn_server_configurations { } } pub mod virtual_hubs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -27884,7 +27884,7 @@ pub mod virtual_hubs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27965,7 +27965,7 @@ pub mod virtual_hubs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHub), @@ -28045,7 +28045,7 @@ pub mod virtual_hubs { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28112,7 +28112,7 @@ pub mod virtual_hubs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -28191,7 +28191,7 @@ pub mod virtual_hubs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28257,7 +28257,7 @@ pub mod virtual_hubs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28334,7 +28334,7 @@ pub mod virtual_hubs { } } pub mod get_effective_virtual_hub_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -28363,7 +28363,7 @@ pub mod virtual_hubs { } } pub mod hub_virtual_network_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -28414,7 +28414,7 @@ pub mod hub_virtual_network_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28497,7 +28497,7 @@ pub mod hub_virtual_network_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HubVirtualNetworkConnection), @@ -28571,7 +28571,7 @@ pub mod hub_virtual_network_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -28647,7 +28647,7 @@ pub mod hub_virtual_network_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28671,7 +28671,7 @@ pub mod hub_virtual_network_connections { } } pub mod vpn_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -28720,7 +28720,7 @@ pub mod vpn_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28801,7 +28801,7 @@ pub mod vpn_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -28882,7 +28882,7 @@ pub mod vpn_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -28954,7 +28954,7 @@ pub mod vpn_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -29032,7 +29032,7 @@ pub mod vpn_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -29117,7 +29117,7 @@ pub mod vpn_gateways { } } pub mod start_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -29202,7 +29202,7 @@ pub mod vpn_gateways { } } pub mod stop_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -29280,7 +29280,7 @@ pub mod vpn_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29346,7 +29346,7 @@ pub mod vpn_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29370,7 +29370,7 @@ pub mod vpn_gateways { } } pub mod vpn_link_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn reset_connection( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -29414,7 +29414,7 @@ pub mod vpn_link_connections { } } pub mod reset_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29485,7 +29485,7 @@ pub mod vpn_link_connections { } } pub mod get_ike_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -29567,7 +29567,7 @@ pub mod vpn_link_connections { } } pub mod list_by_vpn_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29591,7 +29591,7 @@ pub mod vpn_link_connections { } } pub mod vpn_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -29642,7 +29642,7 @@ pub mod vpn_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29725,7 +29725,7 @@ pub mod vpn_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnConnection), @@ -29799,7 +29799,7 @@ pub mod vpn_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -29887,7 +29887,7 @@ pub mod vpn_connections { } } pub mod start_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -29974,7 +29974,7 @@ pub mod vpn_connections { } } pub mod stop_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -30052,7 +30052,7 @@ pub mod vpn_connections { } } pub mod list_by_vpn_gateway { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30076,7 +30076,7 @@ pub mod vpn_connections { } } pub mod vpn_site_link_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -30129,7 +30129,7 @@ pub mod vpn_site_link_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30153,7 +30153,7 @@ pub mod vpn_site_link_connections { } } pub mod nat_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -30204,7 +30204,7 @@ pub mod nat_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30287,7 +30287,7 @@ pub mod nat_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGatewayNatRule), @@ -30361,7 +30361,7 @@ pub mod nat_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -30440,7 +30440,7 @@ pub mod nat_rules { } } pub mod list_by_vpn_gateway { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30464,7 +30464,7 @@ pub mod nat_rules { } } pub mod p2s_vpn_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -30513,7 +30513,7 @@ pub mod p2s_vpn_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30594,7 +30594,7 @@ pub mod p2s_vpn_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -30675,7 +30675,7 @@ pub mod p2s_vpn_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -30747,7 +30747,7 @@ pub mod p2s_vpn_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -30826,7 +30826,7 @@ pub mod p2s_vpn_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30892,7 +30892,7 @@ pub mod p2s_vpn_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30964,7 +30964,7 @@ pub mod p2s_vpn_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -31045,7 +31045,7 @@ pub mod p2s_vpn_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnProfileResponse), @@ -31127,7 +31127,7 @@ pub mod p2s_vpn_gateways { } } pub mod get_p2s_vpn_connection_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -31210,7 +31210,7 @@ pub mod p2s_vpn_gateways { } } pub mod get_p2s_vpn_connection_health_detailed { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnConnectionHealth), @@ -31288,7 +31288,7 @@ pub mod p2s_vpn_gateways { } } pub mod disconnect_p2s_vpn_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -31317,7 +31317,7 @@ pub mod p2s_vpn_gateways { } } pub mod vpn_server_configurations_associated_with_virtual_wan { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -31368,7 +31368,7 @@ pub mod vpn_server_configurations_associated_with_virtual_wan { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnServerConfigurationsResponse), @@ -31397,7 +31397,7 @@ pub mod vpn_server_configurations_associated_with_virtual_wan { } } pub mod virtual_hub_route_table_v2s { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -31448,7 +31448,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31531,7 +31531,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHubRouteTableV2), @@ -31605,7 +31605,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -31681,7 +31681,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31705,7 +31705,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod express_route_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -31753,7 +31753,7 @@ pub mod express_route_gateways { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31826,7 +31826,7 @@ pub mod express_route_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31896,7 +31896,7 @@ pub mod express_route_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31977,7 +31977,7 @@ pub mod express_route_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteGateway), @@ -32058,7 +32058,7 @@ pub mod express_route_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -32130,7 +32130,7 @@ pub mod express_route_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -32160,7 +32160,7 @@ pub mod express_route_gateways { } } pub mod express_route_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -32211,7 +32211,7 @@ pub mod express_route_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32294,7 +32294,7 @@ pub mod express_route_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteConnection), @@ -32368,7 +32368,7 @@ pub mod express_route_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -32444,7 +32444,7 @@ pub mod express_route_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32468,7 +32468,7 @@ pub mod express_route_connections { } } pub mod virtual_hub_bgp_connection { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -32519,7 +32519,7 @@ pub mod virtual_hub_bgp_connection { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32602,7 +32602,7 @@ pub mod virtual_hub_bgp_connection { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BgpConnection), @@ -32676,7 +32676,7 @@ pub mod virtual_hub_bgp_connection { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -32706,7 +32706,7 @@ pub mod virtual_hub_bgp_connection { } } pub mod virtual_hub_bgp_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -32755,7 +32755,7 @@ pub mod virtual_hub_bgp_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32832,7 +32832,7 @@ pub mod virtual_hub_bgp_connections { } } pub mod list_learned_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PeerRouteList), @@ -32916,7 +32916,7 @@ pub mod virtual_hub_bgp_connections { } } pub mod list_advertised_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PeerRouteList), @@ -32945,7 +32945,7 @@ pub mod virtual_hub_bgp_connections { } } pub mod virtual_hub_ip_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -32996,7 +32996,7 @@ pub mod virtual_hub_ip_configuration { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33079,7 +33079,7 @@ pub mod virtual_hub_ip_configuration { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HubIpConfiguration), @@ -33153,7 +33153,7 @@ pub mod virtual_hub_ip_configuration { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -33229,7 +33229,7 @@ pub mod virtual_hub_ip_configuration { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33253,7 +33253,7 @@ pub mod virtual_hub_ip_configuration { } } pub mod hub_route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -33304,7 +33304,7 @@ pub mod hub_route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33387,7 +33387,7 @@ pub mod hub_route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HubRouteTable), @@ -33461,7 +33461,7 @@ pub mod hub_route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -33537,7 +33537,7 @@ pub mod hub_route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33561,7 +33561,7 @@ pub mod hub_route_tables { } } pub mod virtual_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -33610,7 +33610,7 @@ pub mod virtual_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33691,7 +33691,7 @@ pub mod virtual_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGateway), @@ -33772,7 +33772,7 @@ pub mod virtual_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -33844,7 +33844,7 @@ pub mod virtual_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -33918,7 +33918,7 @@ pub mod virtual_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33991,7 +33991,7 @@ pub mod virtual_network_gateways { } } pub mod list_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34067,7 +34067,7 @@ pub mod virtual_network_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -34144,7 +34144,7 @@ pub mod virtual_network_gateways { } } pub mod reset_vpn_client_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -34227,7 +34227,7 @@ pub mod virtual_network_gateways { } } pub mod generatevpnclientpackage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -34308,7 +34308,7 @@ pub mod virtual_network_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -34390,7 +34390,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpn_profile_package_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -34474,7 +34474,7 @@ pub mod virtual_network_gateways { } } pub mod get_bgp_peer_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BgpPeerStatusListResult), @@ -34555,7 +34555,7 @@ pub mod virtual_network_gateways { } } pub mod supported_vpn_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34630,7 +34630,7 @@ pub mod virtual_network_gateways { } } pub mod get_learned_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -34714,7 +34714,7 @@ pub mod virtual_network_gateways { } } pub mod get_advertised_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -34797,7 +34797,7 @@ pub mod virtual_network_gateways { } } pub mod set_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -34878,7 +34878,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34955,7 +34955,7 @@ pub mod virtual_network_gateways { } } pub mod vpn_device_configuration_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35035,7 +35035,7 @@ pub mod virtual_network_gateways { } } pub mod start_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -35116,7 +35116,7 @@ pub mod virtual_network_gateways { } } pub mod stop_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -35198,7 +35198,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpnclient_connection_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnClientConnectionHealthDetailListResult), @@ -35274,7 +35274,7 @@ pub mod virtual_network_gateways { } } pub mod disconnect_virtual_network_gateway_vpn_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -35303,7 +35303,7 @@ pub mod virtual_network_gateways { } } pub mod virtual_network_gateway_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -35352,7 +35352,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35433,7 +35433,7 @@ pub mod virtual_network_gateway_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGatewayConnection), @@ -35514,7 +35514,7 @@ pub mod virtual_network_gateway_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -35586,7 +35586,7 @@ pub mod virtual_network_gateway_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -35665,7 +35665,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35746,7 +35746,7 @@ pub mod virtual_network_gateway_connections { } } pub mod set_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ConnectionSharedKey), @@ -35819,7 +35819,7 @@ pub mod virtual_network_gateway_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35895,7 +35895,7 @@ pub mod virtual_network_gateway_connections { } } pub mod reset_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionResetSharedKey), @@ -35980,7 +35980,7 @@ pub mod virtual_network_gateway_connections { } } pub mod start_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -36061,7 +36061,7 @@ pub mod virtual_network_gateway_connections { } } pub mod stop_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -36141,7 +36141,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_ike_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -36215,7 +36215,7 @@ pub mod virtual_network_gateway_connections { } } pub mod reset_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36239,7 +36239,7 @@ pub mod virtual_network_gateway_connections { } } pub mod local_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -36288,7 +36288,7 @@ pub mod local_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36369,7 +36369,7 @@ pub mod local_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LocalNetworkGateway), @@ -36449,7 +36449,7 @@ pub mod local_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36516,7 +36516,7 @@ pub mod local_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -36590,7 +36590,7 @@ pub mod local_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36614,7 +36614,7 @@ pub mod local_network_gateways { } } pub mod virtual_network_gateway_nat_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -36665,7 +36665,7 @@ pub mod virtual_network_gateway_nat_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36748,7 +36748,7 @@ pub mod virtual_network_gateway_nat_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGatewayNatRule), @@ -36822,7 +36822,7 @@ pub mod virtual_network_gateway_nat_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -36903,7 +36903,7 @@ pub mod virtual_network_gateway_nat_rules { } } pub mod list_by_virtual_network_gateway { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36927,7 +36927,7 @@ pub mod virtual_network_gateway_nat_rules { } } pub mod express_route_cross_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -36972,7 +36972,7 @@ pub mod express_route_cross_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37045,7 +37045,7 @@ pub mod express_route_cross_connections { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37115,7 +37115,7 @@ pub mod express_route_cross_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37190,7 +37190,7 @@ pub mod express_route_cross_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37265,7 +37265,7 @@ pub mod express_route_cross_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37344,7 +37344,7 @@ pub mod express_route_cross_connections { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -37422,7 +37422,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionsRoutesTableSummaryListResult), @@ -37506,7 +37506,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -37535,7 +37535,7 @@ pub mod express_route_cross_connections { } } pub mod express_route_cross_connection_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -37584,7 +37584,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37656,7 +37656,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37739,7 +37739,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionPeering), @@ -37813,7 +37813,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -37843,7 +37843,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod express_route_ports_locations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -37888,7 +37888,7 @@ pub mod express_route_ports_locations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37956,7 +37956,7 @@ pub mod express_route_ports_locations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37980,7 +37980,7 @@ pub mod express_route_ports_locations { } } pub mod express_route_ports { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -38029,7 +38029,7 @@ pub mod express_route_ports { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38110,7 +38110,7 @@ pub mod express_route_ports { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRoutePort), @@ -38190,7 +38190,7 @@ pub mod express_route_ports { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38257,7 +38257,7 @@ pub mod express_route_ports { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -38336,7 +38336,7 @@ pub mod express_route_ports { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38402,7 +38402,7 @@ pub mod express_route_ports { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38477,7 +38477,7 @@ pub mod express_route_ports { } } pub mod generate_loa { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38501,7 +38501,7 @@ pub mod express_route_ports { } } pub mod express_route_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -38552,7 +38552,7 @@ pub mod express_route_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38622,7 +38622,7 @@ pub mod express_route_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38646,7 +38646,7 @@ pub mod express_route_links { } } pub mod firewall_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -38699,7 +38699,7 @@ pub mod firewall_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38780,7 +38780,7 @@ pub mod firewall_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FirewallPolicy), @@ -38852,7 +38852,7 @@ pub mod firewall_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -38926,7 +38926,7 @@ pub mod firewall_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38995,7 +38995,7 @@ pub mod firewall_policies { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -39019,7 +39019,7 @@ pub mod firewall_policies { } } pub mod firewall_policy_rule_collection_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -39070,7 +39070,7 @@ pub mod firewall_policy_rule_collection_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -39153,7 +39153,7 @@ pub mod firewall_policy_rule_collection_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FirewallPolicyRuleCollectionGroup), @@ -39227,7 +39227,7 @@ pub mod firewall_policy_rule_collection_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -39303,7 +39303,7 @@ pub mod firewall_policy_rule_collection_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -39327,7 +39327,7 @@ pub mod firewall_policy_rule_collection_groups { } } pub mod ip_allocations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -39380,7 +39380,7 @@ pub mod ip_allocations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -39461,7 +39461,7 @@ pub mod ip_allocations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IpAllocation), @@ -39541,7 +39541,7 @@ pub mod ip_allocations { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -39608,7 +39608,7 @@ pub mod ip_allocations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -39680,7 +39680,7 @@ pub mod ip_allocations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -39753,7 +39753,7 @@ pub mod ip_allocations { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -39777,7 +39777,7 @@ pub mod ip_allocations { } } pub mod ip_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -39830,7 +39830,7 @@ pub mod ip_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -39911,7 +39911,7 @@ pub mod ip_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IpGroup), @@ -39991,7 +39991,7 @@ pub mod ip_groups { } } pub mod update_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -40058,7 +40058,7 @@ pub mod ip_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -40137,7 +40137,7 @@ pub mod ip_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -40203,7 +40203,7 @@ pub mod ip_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -40227,7 +40227,7 @@ pub mod ip_groups { } } pub mod network_virtual_appliances { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -40280,7 +40280,7 @@ pub mod network_virtual_appliances { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -40361,7 +40361,7 @@ pub mod network_virtual_appliances { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkVirtualAppliance), @@ -40441,7 +40441,7 @@ pub mod network_virtual_appliances { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -40508,7 +40508,7 @@ pub mod network_virtual_appliances { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -40587,7 +40587,7 @@ pub mod network_virtual_appliances { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -40653,7 +40653,7 @@ pub mod network_virtual_appliances { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -40677,7 +40677,7 @@ pub mod network_virtual_appliances { } } pub mod virtual_appliance_sites { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -40728,7 +40728,7 @@ pub mod virtual_appliance_sites { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -40811,7 +40811,7 @@ pub mod virtual_appliance_sites { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualApplianceSite), @@ -40885,7 +40885,7 @@ pub mod virtual_appliance_sites { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -40961,7 +40961,7 @@ pub mod virtual_appliance_sites { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -40985,7 +40985,7 @@ pub mod virtual_appliance_sites { } } pub mod virtual_appliance_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -41030,7 +41030,7 @@ pub mod virtual_appliance_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -41098,7 +41098,7 @@ pub mod virtual_appliance_skus { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -41122,7 +41122,7 @@ pub mod virtual_appliance_skus { } } pub mod inbound_security_rule { - use crate::models::*; + use super::{models, models::*}; pub async fn create_or_update( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -41184,7 +41184,7 @@ pub mod inbound_security_rule { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(InboundSecurityRule), @@ -41213,7 +41213,7 @@ pub mod inbound_security_rule { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Network/operations", operation_config.base_path(),); @@ -41251,7 +41251,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -41275,7 +41275,7 @@ pub mod operations { } } pub mod public_ip_prefixes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -41328,7 +41328,7 @@ pub mod public_ip_prefixes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -41409,7 +41409,7 @@ pub mod public_ip_prefixes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpPrefix), @@ -41489,7 +41489,7 @@ pub mod public_ip_prefixes { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -41556,7 +41556,7 @@ pub mod public_ip_prefixes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -41631,7 +41631,7 @@ pub mod public_ip_prefixes { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -41699,7 +41699,7 @@ pub mod public_ip_prefixes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -41723,7 +41723,7 @@ pub mod public_ip_prefixes { } } pub mod route_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -41776,7 +41776,7 @@ pub mod route_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -41857,7 +41857,7 @@ pub mod route_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilter), @@ -41937,7 +41937,7 @@ pub mod route_filters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -42004,7 +42004,7 @@ pub mod route_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -42083,7 +42083,7 @@ pub mod route_filters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -42149,7 +42149,7 @@ pub mod route_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -42173,7 +42173,7 @@ pub mod route_filters { } } pub mod route_filter_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -42224,7 +42224,7 @@ pub mod route_filter_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -42307,7 +42307,7 @@ pub mod route_filter_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilterRule), @@ -42381,7 +42381,7 @@ pub mod route_filter_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -42460,7 +42460,7 @@ pub mod route_filter_rules { } } pub mod list_by_route_filter { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -42484,7 +42484,7 @@ pub mod route_filter_rules { } } pub mod security_partner_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -42533,7 +42533,7 @@ pub mod security_partner_providers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -42614,7 +42614,7 @@ pub mod security_partner_providers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(SecurityPartnerProvider), @@ -42694,7 +42694,7 @@ pub mod security_partner_providers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -42761,7 +42761,7 @@ pub mod security_partner_providers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -42840,7 +42840,7 @@ pub mod security_partner_providers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -42906,7 +42906,7 @@ pub mod security_partner_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -42930,7 +42930,7 @@ pub mod security_partner_providers { } } pub mod bgp_service_communities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -42975,7 +42975,7 @@ pub mod bgp_service_communities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -42999,7 +42999,7 @@ pub mod bgp_service_communities { } } pub mod service_tags { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -43046,7 +43046,7 @@ pub mod service_tags { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -43070,7 +43070,7 @@ pub mod service_tags { } } pub mod service_tag_information { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -43126,7 +43126,7 @@ pub mod service_tag_information { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -43150,7 +43150,7 @@ pub mod service_tag_information { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -43197,7 +43197,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -43221,7 +43221,7 @@ pub mod usages { } } pub mod virtual_routers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -43274,7 +43274,7 @@ pub mod virtual_routers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -43355,7 +43355,7 @@ pub mod virtual_routers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(VirtualRouter), @@ -43427,7 +43427,7 @@ pub mod virtual_routers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -43506,7 +43506,7 @@ pub mod virtual_routers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -43572,7 +43572,7 @@ pub mod virtual_routers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -43596,7 +43596,7 @@ pub mod virtual_routers { } } pub mod virtual_router_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -43647,7 +43647,7 @@ pub mod virtual_router_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -43730,7 +43730,7 @@ pub mod virtual_router_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(VirtualRouterPeering), @@ -43804,7 +43804,7 @@ pub mod virtual_router_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -43880,7 +43880,7 @@ pub mod virtual_router_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -43904,7 +43904,7 @@ pub mod virtual_router_peerings { } } pub mod web_application_firewall_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -43951,7 +43951,7 @@ pub mod web_application_firewall_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -44020,7 +44020,7 @@ pub mod web_application_firewall_policies { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -44090,7 +44090,7 @@ pub mod web_application_firewall_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -44171,7 +44171,7 @@ pub mod web_application_firewall_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WebApplicationFirewallPolicy), @@ -44243,7 +44243,7 @@ pub mod web_application_firewall_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, diff --git a/services/mgmt/network/src/package_2021_03/operations.rs b/services/mgmt/network/src/package_2021_03/operations.rs index e498cd6405..f6cd60a2cd 100644 --- a/services/mgmt/network/src/package_2021_03/operations.rs +++ b/services/mgmt/network/src/package_2021_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod application_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod application_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod application_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationGateway), @@ -214,7 +214,7 @@ pub mod application_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -281,7 +281,7 @@ pub mod application_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -355,7 +355,7 @@ pub mod application_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -424,7 +424,7 @@ pub mod application_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -491,7 +491,7 @@ pub mod application_gateways { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -563,7 +563,7 @@ pub mod application_gateways { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -647,7 +647,7 @@ pub mod application_gateways { } } pub mod backend_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealth), @@ -734,7 +734,7 @@ pub mod application_gateways { } } pub mod backend_health_on_demand { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealthOnDemand), @@ -810,7 +810,7 @@ pub mod application_gateways { } } pub mod list_available_server_variables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -881,7 +881,7 @@ pub mod application_gateways { } } pub mod list_available_request_headers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -952,7 +952,7 @@ pub mod application_gateways { } } pub mod list_available_response_headers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1023,7 +1023,7 @@ pub mod application_gateways { } } pub mod list_available_waf_rule_sets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1094,7 +1094,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_options { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1165,7 +1165,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_predefined_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1238,7 +1238,7 @@ pub mod application_gateways { } } pub mod get_ssl_predefined_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1262,7 +1262,7 @@ pub mod application_gateways { } } pub mod application_gateway_private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1311,7 +1311,7 @@ pub mod application_gateway_private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1335,7 +1335,7 @@ pub mod application_gateway_private_link_resources { } } pub mod application_gateway_private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1386,7 +1386,7 @@ pub mod application_gateway_private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1461,7 +1461,7 @@ pub mod application_gateway_private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayPrivateEndpointConnection), @@ -1535,7 +1535,7 @@ pub mod application_gateway_private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1611,7 +1611,7 @@ pub mod application_gateway_private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1635,7 +1635,7 @@ pub mod application_gateway_private_endpoint_connections { } } pub mod network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1688,7 +1688,7 @@ pub mod network_interfaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1769,7 +1769,7 @@ pub mod network_interfaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkInterface), @@ -1849,7 +1849,7 @@ pub mod network_interfaces { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1916,7 +1916,7 @@ pub mod network_interfaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1991,7 +1991,7 @@ pub mod network_interfaces { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2059,7 +2059,7 @@ pub mod network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2136,7 +2136,7 @@ pub mod network_interfaces { } } pub mod get_effective_route_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveRouteListResult), @@ -2218,7 +2218,7 @@ pub mod network_interfaces { } } pub mod list_effective_network_security_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveNetworkSecurityGroupListResult), @@ -2302,7 +2302,7 @@ pub mod network_interfaces { } } pub mod list_cloud_service_role_instance_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2377,7 +2377,7 @@ pub mod network_interfaces { } } pub mod list_cloud_service_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2460,7 +2460,7 @@ pub mod network_interfaces { } } pub mod get_cloud_service_network_interface { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2532,7 +2532,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_vm_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2609,7 +2609,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2684,7 +2684,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_network_interface { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2761,7 +2761,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_ip_configurations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2837,7 +2837,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_ip_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2861,7 +2861,7 @@ pub mod network_interfaces { } } pub mod network_interface_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2910,7 +2910,7 @@ pub mod network_interface_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2982,7 +2982,7 @@ pub mod network_interface_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3006,7 +3006,7 @@ pub mod network_interface_ip_configurations { } } pub mod network_interface_load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3055,7 +3055,7 @@ pub mod network_interface_load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3079,7 +3079,7 @@ pub mod network_interface_load_balancers { } } pub mod network_interface_tap_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3130,7 +3130,7 @@ pub mod network_interface_tap_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3213,7 +3213,7 @@ pub mod network_interface_tap_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkInterfaceTapConfiguration), @@ -3287,7 +3287,7 @@ pub mod network_interface_tap_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3363,7 +3363,7 @@ pub mod network_interface_tap_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3387,7 +3387,7 @@ pub mod network_interface_tap_configurations { } } pub mod virtual_network_taps { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3436,7 +3436,7 @@ pub mod virtual_network_taps { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3517,7 +3517,7 @@ pub mod virtual_network_taps { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkTap), @@ -3597,7 +3597,7 @@ pub mod virtual_network_taps { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3664,7 +3664,7 @@ pub mod virtual_network_taps { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3739,7 +3739,7 @@ pub mod virtual_network_taps { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3812,7 +3812,7 @@ pub mod virtual_network_taps { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3836,7 +3836,7 @@ pub mod virtual_network_taps { } } pub mod load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3889,7 +3889,7 @@ pub mod load_balancers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3970,7 +3970,7 @@ pub mod load_balancers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoadBalancer), @@ -4050,7 +4050,7 @@ pub mod load_balancers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4117,7 +4117,7 @@ pub mod load_balancers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4192,7 +4192,7 @@ pub mod load_balancers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4260,7 +4260,7 @@ pub mod load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4331,7 +4331,7 @@ pub mod load_balancers { } } pub mod swap_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4360,7 +4360,7 @@ pub mod load_balancers { } } pub mod load_balancer_backend_address_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4409,7 +4409,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4481,7 +4481,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4564,7 +4564,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(BackendAddressPool), @@ -4638,7 +4638,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4668,7 +4668,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod load_balancer_frontend_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4717,7 +4717,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4789,7 +4789,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4813,7 +4813,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod inbound_nat_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4862,7 +4862,7 @@ pub mod inbound_nat_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4938,7 +4938,7 @@ pub mod inbound_nat_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5021,7 +5021,7 @@ pub mod inbound_nat_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(InboundNatRule), @@ -5095,7 +5095,7 @@ pub mod inbound_nat_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -5125,7 +5125,7 @@ pub mod inbound_nat_rules { } } pub mod load_balancer_load_balancing_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5174,7 +5174,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5246,7 +5246,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5270,7 +5270,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod load_balancer_outbound_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5319,7 +5319,7 @@ pub mod load_balancer_outbound_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5391,7 +5391,7 @@ pub mod load_balancer_outbound_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5415,7 +5415,7 @@ pub mod load_balancer_outbound_rules { } } pub mod load_balancer_network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5464,7 +5464,7 @@ pub mod load_balancer_network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5488,7 +5488,7 @@ pub mod load_balancer_network_interfaces { } } pub mod load_balancer_probes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5537,7 +5537,7 @@ pub mod load_balancer_probes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5609,7 +5609,7 @@ pub mod load_balancer_probes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5633,7 +5633,7 @@ pub mod load_balancer_probes { } } pub mod virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5686,7 +5686,7 @@ pub mod virtual_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5767,7 +5767,7 @@ pub mod virtual_networks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetwork), @@ -5847,7 +5847,7 @@ pub mod virtual_networks { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5914,7 +5914,7 @@ pub mod virtual_networks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5989,7 +5989,7 @@ pub mod virtual_networks { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6057,7 +6057,7 @@ pub mod virtual_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6134,7 +6134,7 @@ pub mod virtual_networks { } } pub mod check_ip_address_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6207,7 +6207,7 @@ pub mod virtual_networks { } } pub mod list_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6231,7 +6231,7 @@ pub mod virtual_networks { } } pub mod subnets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6286,7 +6286,7 @@ pub mod subnets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6369,7 +6369,7 @@ pub mod subnets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Subnet), @@ -6443,7 +6443,7 @@ pub mod subnets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6525,7 +6525,7 @@ pub mod subnets { } } pub mod prepare_network_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6606,7 +6606,7 @@ pub mod subnets { } } pub mod unprepare_network_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6681,7 +6681,7 @@ pub mod subnets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6705,7 +6705,7 @@ pub mod subnets { } } pub mod resource_navigation_links { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6756,7 +6756,7 @@ pub mod resource_navigation_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6780,7 +6780,7 @@ pub mod resource_navigation_links { } } pub mod service_association_links { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6831,7 +6831,7 @@ pub mod service_association_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6855,7 +6855,7 @@ pub mod service_association_links { } } pub mod virtual_network_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6906,7 +6906,7 @@ pub mod virtual_network_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6994,7 +6994,7 @@ pub mod virtual_network_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkPeering), @@ -7068,7 +7068,7 @@ pub mod virtual_network_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7144,7 +7144,7 @@ pub mod virtual_network_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7168,7 +7168,7 @@ pub mod virtual_network_peerings { } } pub mod network_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7221,7 +7221,7 @@ pub mod network_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7302,7 +7302,7 @@ pub mod network_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkSecurityGroup), @@ -7382,7 +7382,7 @@ pub mod network_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7449,7 +7449,7 @@ pub mod network_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7524,7 +7524,7 @@ pub mod network_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7592,7 +7592,7 @@ pub mod network_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7616,7 +7616,7 @@ pub mod network_security_groups { } } pub mod security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7667,7 +7667,7 @@ pub mod security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7750,7 +7750,7 @@ pub mod security_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityRule), @@ -7824,7 +7824,7 @@ pub mod security_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -7900,7 +7900,7 @@ pub mod security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7924,7 +7924,7 @@ pub mod security_rules { } } pub mod default_security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7973,7 +7973,7 @@ pub mod default_security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8045,7 +8045,7 @@ pub mod default_security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8069,7 +8069,7 @@ pub mod default_security_rules { } } pub mod application_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8118,7 +8118,7 @@ pub mod application_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8199,7 +8199,7 @@ pub mod application_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationSecurityGroup), @@ -8279,7 +8279,7 @@ pub mod application_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8346,7 +8346,7 @@ pub mod application_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -8421,7 +8421,7 @@ pub mod application_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8489,7 +8489,7 @@ pub mod application_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8513,7 +8513,7 @@ pub mod application_security_groups { } } pub mod network_watchers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8562,7 +8562,7 @@ pub mod network_watchers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8643,7 +8643,7 @@ pub mod network_watchers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkWatcher), @@ -8723,7 +8723,7 @@ pub mod network_watchers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8789,7 +8789,7 @@ pub mod network_watchers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8862,7 +8862,7 @@ pub mod network_watchers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8931,7 +8931,7 @@ pub mod network_watchers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9006,7 +9006,7 @@ pub mod network_watchers { } } pub mod get_topology { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9087,7 +9087,7 @@ pub mod network_watchers { } } pub mod verify_ip_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VerificationIpFlowResult), @@ -9173,7 +9173,7 @@ pub mod network_watchers { } } pub mod get_next_hop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NextHopResult), @@ -9261,7 +9261,7 @@ pub mod network_watchers { } } pub mod get_vm_security_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityGroupViewResult), @@ -9347,7 +9347,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -9435,7 +9435,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -9523,7 +9523,7 @@ pub mod network_watchers { } } pub mod set_flow_log_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -9609,7 +9609,7 @@ pub mod network_watchers { } } pub mod get_flow_log_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -9695,7 +9695,7 @@ pub mod network_watchers { } } pub mod check_connectivity { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectivityInformation), @@ -9783,7 +9783,7 @@ pub mod network_watchers { } } pub mod get_azure_reachability_report { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AzureReachabilityReport), @@ -9871,7 +9871,7 @@ pub mod network_watchers { } } pub mod list_available_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AvailableProvidersList), @@ -9959,7 +9959,7 @@ pub mod network_watchers { } } pub mod get_network_configuration_diagnostic { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkConfigurationDiagnosticResponse), @@ -9988,7 +9988,7 @@ pub mod network_watchers { } } pub mod packet_captures { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10039,7 +10039,7 @@ pub mod packet_captures { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10113,7 +10113,7 @@ pub mod packet_captures { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10181,7 +10181,7 @@ pub mod packet_captures { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -10255,7 +10255,7 @@ pub mod packet_captures { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10342,7 +10342,7 @@ pub mod packet_captures { } } pub mod get_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PacketCaptureQueryStatusResult), @@ -10417,7 +10417,7 @@ pub mod packet_captures { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10441,7 +10441,7 @@ pub mod packet_captures { } } pub mod connection_monitors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10492,7 +10492,7 @@ pub mod connection_monitors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10579,7 +10579,7 @@ pub mod connection_monitors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorResult), @@ -10661,7 +10661,7 @@ pub mod connection_monitors { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10729,7 +10729,7 @@ pub mod connection_monitors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -10803,7 +10803,7 @@ pub mod connection_monitors { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10877,7 +10877,7 @@ pub mod connection_monitors { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10961,7 +10961,7 @@ pub mod connection_monitors { } } pub mod query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorQueryResult), @@ -11036,7 +11036,7 @@ pub mod connection_monitors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11060,7 +11060,7 @@ pub mod connection_monitors { } } pub mod flow_logs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11111,7 +11111,7 @@ pub mod flow_logs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11194,7 +11194,7 @@ pub mod flow_logs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FlowLog), @@ -11276,7 +11276,7 @@ pub mod flow_logs { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11344,7 +11344,7 @@ pub mod flow_logs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -11419,7 +11419,7 @@ pub mod flow_logs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11443,7 +11443,7 @@ pub mod flow_logs { } } pub mod route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11496,7 +11496,7 @@ pub mod route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11577,7 +11577,7 @@ pub mod route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteTable), @@ -11657,7 +11657,7 @@ pub mod route_tables { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11724,7 +11724,7 @@ pub mod route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -11798,7 +11798,7 @@ pub mod route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11867,7 +11867,7 @@ pub mod route_tables { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11891,7 +11891,7 @@ pub mod route_tables { } } pub mod routes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11942,7 +11942,7 @@ pub mod routes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12025,7 +12025,7 @@ pub mod routes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Route), @@ -12099,7 +12099,7 @@ pub mod routes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -12175,7 +12175,7 @@ pub mod routes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12199,7 +12199,7 @@ pub mod routes { } } pub mod service_endpoint_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12252,7 +12252,7 @@ pub mod service_endpoint_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12333,7 +12333,7 @@ pub mod service_endpoint_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ServiceEndpointPolicy), @@ -12413,7 +12413,7 @@ pub mod service_endpoint_policies { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12480,7 +12480,7 @@ pub mod service_endpoint_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -12552,7 +12552,7 @@ pub mod service_endpoint_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12625,7 +12625,7 @@ pub mod service_endpoint_policies { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12649,7 +12649,7 @@ pub mod service_endpoint_policies { } } pub mod service_endpoint_policy_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12693,7 +12693,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12769,7 +12769,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServiceEndpointPolicyDefinition), @@ -12836,7 +12836,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -12917,7 +12917,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12941,7 +12941,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod private_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12994,7 +12994,7 @@ pub mod private_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13075,7 +13075,7 @@ pub mod private_endpoints { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpoint), @@ -13147,7 +13147,7 @@ pub mod private_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -13221,7 +13221,7 @@ pub mod private_endpoints { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13290,7 +13290,7 @@ pub mod private_endpoints { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13314,7 +13314,7 @@ pub mod private_endpoints { } } pub mod available_private_endpoint_types { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -13361,7 +13361,7 @@ pub mod available_private_endpoint_types { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13436,7 +13436,7 @@ pub mod available_private_endpoint_types { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13460,7 +13460,7 @@ pub mod available_private_endpoint_types { } } pub mod private_dns_zone_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13511,7 +13511,7 @@ pub mod private_dns_zone_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13594,7 +13594,7 @@ pub mod private_dns_zone_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateDnsZoneGroup), @@ -13668,7 +13668,7 @@ pub mod private_dns_zone_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -13744,7 +13744,7 @@ pub mod private_dns_zone_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13768,7 +13768,7 @@ pub mod private_dns_zone_groups { } } pub mod private_link_services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13821,7 +13821,7 @@ pub mod private_link_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13902,7 +13902,7 @@ pub mod private_link_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkService), @@ -13974,7 +13974,7 @@ pub mod private_link_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -14048,7 +14048,7 @@ pub mod private_link_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14117,7 +14117,7 @@ pub mod private_link_services { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14198,7 +14198,7 @@ pub mod private_link_services { } } pub mod get_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14277,7 +14277,7 @@ pub mod private_link_services { } } pub mod update_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14351,7 +14351,7 @@ pub mod private_link_services { } } pub mod delete_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -14432,7 +14432,7 @@ pub mod private_link_services { } } pub mod list_private_endpoint_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14508,7 +14508,7 @@ pub mod private_link_services { } } pub mod check_private_link_service_visibility { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServiceVisibility), @@ -14597,7 +14597,7 @@ pub mod private_link_services { } } pub mod check_private_link_service_visibility_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServiceVisibility), @@ -14675,7 +14675,7 @@ pub mod private_link_services { } } pub mod list_auto_approved_private_link_services { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14752,7 +14752,7 @@ pub mod private_link_services { } } pub mod list_auto_approved_private_link_services_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14776,7 +14776,7 @@ pub mod private_link_services { } } pub mod network_profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14829,7 +14829,7 @@ pub mod network_profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14910,7 +14910,7 @@ pub mod network_profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkProfile), @@ -14990,7 +14990,7 @@ pub mod network_profiles { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15057,7 +15057,7 @@ pub mod network_profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -15132,7 +15132,7 @@ pub mod network_profiles { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15200,7 +15200,7 @@ pub mod network_profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15224,7 +15224,7 @@ pub mod network_profiles { } } pub mod public_ip_addresses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15277,7 +15277,7 @@ pub mod public_ip_addresses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15358,7 +15358,7 @@ pub mod public_ip_addresses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpAddress), @@ -15438,7 +15438,7 @@ pub mod public_ip_addresses { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15505,7 +15505,7 @@ pub mod public_ip_addresses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -15580,7 +15580,7 @@ pub mod public_ip_addresses { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15648,7 +15648,7 @@ pub mod public_ip_addresses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15723,7 +15723,7 @@ pub mod public_ip_addresses { } } pub mod list_cloud_service_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15797,7 +15797,7 @@ pub mod public_ip_addresses { } } pub mod list_cloud_service_role_instance_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15874,7 +15874,7 @@ pub mod public_ip_addresses { } } pub mod get_cloud_service_public_ip_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15951,7 +15951,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16025,7 +16025,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_vm_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16102,7 +16102,7 @@ pub mod public_ip_addresses { } } pub mod get_virtual_machine_scale_set_public_ip_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16126,7 +16126,7 @@ pub mod public_ip_addresses { } } pub mod nat_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16179,7 +16179,7 @@ pub mod nat_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16261,7 +16261,7 @@ pub mod nat_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NatGateway), @@ -16342,7 +16342,7 @@ pub mod nat_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16409,7 +16409,7 @@ pub mod nat_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -16484,7 +16484,7 @@ pub mod nat_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16552,7 +16552,7 @@ pub mod nat_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16576,7 +16576,7 @@ pub mod nat_gateways { } } pub mod available_delegations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -16623,7 +16623,7 @@ pub mod available_delegations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16647,7 +16647,7 @@ pub mod available_delegations { } } pub mod available_resource_group_delegations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -16696,7 +16696,7 @@ pub mod available_resource_group_delegations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16720,7 +16720,7 @@ pub mod available_resource_group_delegations { } } pub mod available_service_aliases { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -16767,7 +16767,7 @@ pub mod available_service_aliases { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16842,7 +16842,7 @@ pub mod available_service_aliases { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16866,7 +16866,7 @@ pub mod available_service_aliases { } } pub mod azure_firewalls { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16915,7 +16915,7 @@ pub mod azure_firewalls { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16996,7 +16996,7 @@ pub mod azure_firewalls { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(AzureFirewall), @@ -17077,7 +17077,7 @@ pub mod azure_firewalls { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -17149,7 +17149,7 @@ pub mod azure_firewalls { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -17223,7 +17223,7 @@ pub mod azure_firewalls { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17292,7 +17292,7 @@ pub mod azure_firewalls { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17316,7 +17316,7 @@ pub mod azure_firewalls { } } pub mod azure_firewall_fqdn_tags { - use crate::models::*; + use super::{models, models::*}; pub async fn list_all( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -17364,7 +17364,7 @@ pub mod azure_firewall_fqdn_tags { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17388,7 +17388,7 @@ pub mod azure_firewall_fqdn_tags { } } pub mod web_categories { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, name: &str, @@ -17439,7 +17439,7 @@ pub mod web_categories { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17508,7 +17508,7 @@ pub mod web_categories { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17532,7 +17532,7 @@ pub mod web_categories { } } pub mod bastion_hosts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17581,7 +17581,7 @@ pub mod bastion_hosts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17662,7 +17662,7 @@ pub mod bastion_hosts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(BastionHost), @@ -17743,7 +17743,7 @@ pub mod bastion_hosts { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BastionHost), @@ -17815,7 +17815,7 @@ pub mod bastion_hosts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -17887,7 +17887,7 @@ pub mod bastion_hosts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17960,7 +17960,7 @@ pub mod bastion_hosts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18039,7 +18039,7 @@ pub async fn put_bastion_shareable_link( } } pub mod put_bastion_shareable_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BastionShareableLinkListResult), @@ -18117,7 +18117,7 @@ pub async fn delete_bastion_shareable_link( } } pub mod delete_bastion_shareable_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -18199,7 +18199,7 @@ pub async fn get_bastion_shareable_link( } } pub mod get_bastion_shareable_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18274,7 +18274,7 @@ pub async fn get_active_sessions( } } pub mod get_active_sessions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BastionActiveSessionListResult), @@ -18356,7 +18356,7 @@ pub async fn disconnect_active_sessions( } } pub mod disconnect_active_sessions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18431,7 +18431,7 @@ pub async fn check_dns_name_availability( } } pub mod check_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18506,7 +18506,7 @@ pub async fn supported_security_providers( } } pub mod supported_security_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18588,7 +18588,7 @@ pub async fn generatevirtualwanvpnserverconfigurationvpnprofile( } } pub mod generatevirtualwanvpnserverconfigurationvpnprofile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnProfileResponse), @@ -18616,7 +18616,7 @@ pub mod generatevirtualwanvpnserverconfigurationvpnprofile { } } pub mod custom_ip_prefixes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18669,7 +18669,7 @@ pub mod custom_ip_prefixes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18750,7 +18750,7 @@ pub mod custom_ip_prefixes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CustomIpPrefix), @@ -18830,7 +18830,7 @@ pub mod custom_ip_prefixes { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18897,7 +18897,7 @@ pub mod custom_ip_prefixes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -18972,7 +18972,7 @@ pub mod custom_ip_prefixes { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19040,7 +19040,7 @@ pub mod custom_ip_prefixes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19064,7 +19064,7 @@ pub mod custom_ip_prefixes { } } pub mod ddos_custom_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19113,7 +19113,7 @@ pub mod ddos_custom_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19194,7 +19194,7 @@ pub mod ddos_custom_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DdosCustomPolicy), @@ -19274,7 +19274,7 @@ pub mod ddos_custom_policies { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19341,7 +19341,7 @@ pub mod ddos_custom_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -19371,7 +19371,7 @@ pub mod ddos_custom_policies { } } pub mod ddos_protection_plans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19420,7 +19420,7 @@ pub mod ddos_protection_plans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19501,7 +19501,7 @@ pub mod ddos_protection_plans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DdosProtectionPlan), @@ -19581,7 +19581,7 @@ pub mod ddos_protection_plans { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19648,7 +19648,7 @@ pub mod ddos_protection_plans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -19720,7 +19720,7 @@ pub mod ddos_protection_plans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19793,7 +19793,7 @@ pub mod ddos_protection_plans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19817,7 +19817,7 @@ pub mod ddos_protection_plans { } } pub mod dscp_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19866,7 +19866,7 @@ pub mod dscp_configuration { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19947,7 +19947,7 @@ pub mod dscp_configuration { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DscpConfiguration), @@ -20019,7 +20019,7 @@ pub mod dscp_configuration { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -20093,7 +20093,7 @@ pub mod dscp_configuration { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20162,7 +20162,7 @@ pub mod dscp_configuration { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20186,7 +20186,7 @@ pub mod dscp_configuration { } } pub mod available_endpoint_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -20233,7 +20233,7 @@ pub mod available_endpoint_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20257,7 +20257,7 @@ pub mod available_endpoint_services { } } pub mod express_route_circuit_authorizations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20308,7 +20308,7 @@ pub mod express_route_circuit_authorizations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20391,7 +20391,7 @@ pub mod express_route_circuit_authorizations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuitAuthorization), @@ -20465,7 +20465,7 @@ pub mod express_route_circuit_authorizations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -20541,7 +20541,7 @@ pub mod express_route_circuit_authorizations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20565,7 +20565,7 @@ pub mod express_route_circuit_authorizations { } } pub mod express_route_circuit_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20616,7 +20616,7 @@ pub mod express_route_circuit_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20699,7 +20699,7 @@ pub mod express_route_circuit_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitPeering), @@ -20773,7 +20773,7 @@ pub mod express_route_circuit_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -20849,7 +20849,7 @@ pub mod express_route_circuit_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20873,7 +20873,7 @@ pub mod express_route_circuit_peerings { } } pub mod express_route_circuit_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20926,7 +20926,7 @@ pub mod express_route_circuit_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21011,7 +21011,7 @@ pub mod express_route_circuit_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitConnection), @@ -21087,7 +21087,7 @@ pub mod express_route_circuit_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -21165,7 +21165,7 @@ pub mod express_route_circuit_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21189,7 +21189,7 @@ pub mod express_route_circuit_connections { } } pub mod peer_express_route_circuit_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -21242,7 +21242,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21314,7 +21314,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21338,7 +21338,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod express_route_circuits { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -21387,7 +21387,7 @@ pub mod express_route_circuits { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21468,7 +21468,7 @@ pub mod express_route_circuits { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuit), @@ -21548,7 +21548,7 @@ pub mod express_route_circuits { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21615,7 +21615,7 @@ pub mod express_route_circuits { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -21700,7 +21700,7 @@ pub mod express_route_circuits { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -21784,7 +21784,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -21870,7 +21870,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableSummaryListResult), @@ -21948,7 +21948,7 @@ pub mod express_route_circuits { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22023,7 +22023,7 @@ pub mod express_route_circuits { } } pub mod get_peering_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22091,7 +22091,7 @@ pub mod express_route_circuits { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22160,7 +22160,7 @@ pub mod express_route_circuits { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22184,7 +22184,7 @@ pub mod express_route_circuits { } } pub mod express_route_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -22229,7 +22229,7 @@ pub mod express_route_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22253,7 +22253,7 @@ pub mod express_route_service_providers { } } pub mod virtual_wans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -22302,7 +22302,7 @@ pub mod virtual_wans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22383,7 +22383,7 @@ pub mod virtual_wans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualWan), @@ -22463,7 +22463,7 @@ pub mod virtual_wans { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22530,7 +22530,7 @@ pub mod virtual_wans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22609,7 +22609,7 @@ pub mod virtual_wans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22675,7 +22675,7 @@ pub mod virtual_wans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22699,7 +22699,7 @@ pub mod virtual_wans { } } pub mod vpn_sites { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -22748,7 +22748,7 @@ pub mod vpn_sites { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22829,7 +22829,7 @@ pub mod vpn_sites { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnSite), @@ -22909,7 +22909,7 @@ pub mod vpn_sites { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22976,7 +22976,7 @@ pub mod vpn_sites { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23055,7 +23055,7 @@ pub mod vpn_sites { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23121,7 +23121,7 @@ pub mod vpn_sites { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23145,7 +23145,7 @@ pub mod vpn_sites { } } pub mod vpn_site_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -23196,7 +23196,7 @@ pub mod vpn_site_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23269,7 +23269,7 @@ pub mod vpn_site_links { } } pub mod list_by_vpn_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23293,7 +23293,7 @@ pub mod vpn_site_links { } } pub mod vpn_sites_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn download( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -23343,7 +23343,7 @@ pub mod vpn_sites_configuration { } } pub mod download { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23372,7 +23372,7 @@ pub mod vpn_sites_configuration { } } pub mod vpn_server_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -23421,7 +23421,7 @@ pub mod vpn_server_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23502,7 +23502,7 @@ pub mod vpn_server_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnServerConfiguration), @@ -23582,7 +23582,7 @@ pub mod vpn_server_configurations { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23649,7 +23649,7 @@ pub mod vpn_server_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23728,7 +23728,7 @@ pub mod vpn_server_configurations { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23794,7 +23794,7 @@ pub mod vpn_server_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23818,7 +23818,7 @@ pub mod vpn_server_configurations { } } pub mod virtual_hubs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -23867,7 +23867,7 @@ pub mod virtual_hubs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23948,7 +23948,7 @@ pub mod virtual_hubs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHub), @@ -24028,7 +24028,7 @@ pub mod virtual_hubs { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24095,7 +24095,7 @@ pub mod virtual_hubs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -24174,7 +24174,7 @@ pub mod virtual_hubs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24240,7 +24240,7 @@ pub mod virtual_hubs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24317,7 +24317,7 @@ pub mod virtual_hubs { } } pub mod get_effective_virtual_hub_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -24346,7 +24346,7 @@ pub mod virtual_hubs { } } pub mod hub_virtual_network_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -24397,7 +24397,7 @@ pub mod hub_virtual_network_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24480,7 +24480,7 @@ pub mod hub_virtual_network_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HubVirtualNetworkConnection), @@ -24554,7 +24554,7 @@ pub mod hub_virtual_network_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -24630,7 +24630,7 @@ pub mod hub_virtual_network_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24654,7 +24654,7 @@ pub mod hub_virtual_network_connections { } } pub mod vpn_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -24703,7 +24703,7 @@ pub mod vpn_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24784,7 +24784,7 @@ pub mod vpn_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -24865,7 +24865,7 @@ pub mod vpn_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -24937,7 +24937,7 @@ pub mod vpn_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -25015,7 +25015,7 @@ pub mod vpn_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -25100,7 +25100,7 @@ pub mod vpn_gateways { } } pub mod start_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -25185,7 +25185,7 @@ pub mod vpn_gateways { } } pub mod stop_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -25263,7 +25263,7 @@ pub mod vpn_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25329,7 +25329,7 @@ pub mod vpn_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25353,7 +25353,7 @@ pub mod vpn_gateways { } } pub mod vpn_link_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn reset_connection( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -25397,7 +25397,7 @@ pub mod vpn_link_connections { } } pub mod reset_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25468,7 +25468,7 @@ pub mod vpn_link_connections { } } pub mod get_ike_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -25550,7 +25550,7 @@ pub mod vpn_link_connections { } } pub mod list_by_vpn_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25574,7 +25574,7 @@ pub mod vpn_link_connections { } } pub mod vpn_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -25625,7 +25625,7 @@ pub mod vpn_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25708,7 +25708,7 @@ pub mod vpn_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnConnection), @@ -25782,7 +25782,7 @@ pub mod vpn_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -25870,7 +25870,7 @@ pub mod vpn_connections { } } pub mod start_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -25957,7 +25957,7 @@ pub mod vpn_connections { } } pub mod stop_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -26035,7 +26035,7 @@ pub mod vpn_connections { } } pub mod list_by_vpn_gateway { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26059,7 +26059,7 @@ pub mod vpn_connections { } } pub mod vpn_site_link_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -26112,7 +26112,7 @@ pub mod vpn_site_link_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26136,7 +26136,7 @@ pub mod vpn_site_link_connections { } } pub mod nat_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -26187,7 +26187,7 @@ pub mod nat_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26270,7 +26270,7 @@ pub mod nat_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGatewayNatRule), @@ -26344,7 +26344,7 @@ pub mod nat_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -26423,7 +26423,7 @@ pub mod nat_rules { } } pub mod list_by_vpn_gateway { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26447,7 +26447,7 @@ pub mod nat_rules { } } pub mod p2s_vpn_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -26496,7 +26496,7 @@ pub mod p2s_vpn_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26577,7 +26577,7 @@ pub mod p2s_vpn_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -26658,7 +26658,7 @@ pub mod p2s_vpn_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -26730,7 +26730,7 @@ pub mod p2s_vpn_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -26809,7 +26809,7 @@ pub mod p2s_vpn_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26875,7 +26875,7 @@ pub mod p2s_vpn_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26947,7 +26947,7 @@ pub mod p2s_vpn_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -27028,7 +27028,7 @@ pub mod p2s_vpn_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnProfileResponse), @@ -27110,7 +27110,7 @@ pub mod p2s_vpn_gateways { } } pub mod get_p2s_vpn_connection_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -27193,7 +27193,7 @@ pub mod p2s_vpn_gateways { } } pub mod get_p2s_vpn_connection_health_detailed { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnConnectionHealth), @@ -27271,7 +27271,7 @@ pub mod p2s_vpn_gateways { } } pub mod disconnect_p2s_vpn_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -27300,7 +27300,7 @@ pub mod p2s_vpn_gateways { } } pub mod vpn_server_configurations_associated_with_virtual_wan { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -27351,7 +27351,7 @@ pub mod vpn_server_configurations_associated_with_virtual_wan { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnServerConfigurationsResponse), @@ -27380,7 +27380,7 @@ pub mod vpn_server_configurations_associated_with_virtual_wan { } } pub mod virtual_hub_route_table_v2s { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -27431,7 +27431,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27514,7 +27514,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHubRouteTableV2), @@ -27588,7 +27588,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -27664,7 +27664,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27688,7 +27688,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod express_route_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -27736,7 +27736,7 @@ pub mod express_route_gateways { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27809,7 +27809,7 @@ pub mod express_route_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27879,7 +27879,7 @@ pub mod express_route_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27960,7 +27960,7 @@ pub mod express_route_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteGateway), @@ -28041,7 +28041,7 @@ pub mod express_route_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -28113,7 +28113,7 @@ pub mod express_route_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -28143,7 +28143,7 @@ pub mod express_route_gateways { } } pub mod express_route_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -28194,7 +28194,7 @@ pub mod express_route_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28277,7 +28277,7 @@ pub mod express_route_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteConnection), @@ -28351,7 +28351,7 @@ pub mod express_route_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -28427,7 +28427,7 @@ pub mod express_route_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28451,7 +28451,7 @@ pub mod express_route_connections { } } pub mod virtual_hub_bgp_connection { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -28502,7 +28502,7 @@ pub mod virtual_hub_bgp_connection { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28585,7 +28585,7 @@ pub mod virtual_hub_bgp_connection { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BgpConnection), @@ -28659,7 +28659,7 @@ pub mod virtual_hub_bgp_connection { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -28689,7 +28689,7 @@ pub mod virtual_hub_bgp_connection { } } pub mod virtual_hub_bgp_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -28738,7 +28738,7 @@ pub mod virtual_hub_bgp_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28815,7 +28815,7 @@ pub mod virtual_hub_bgp_connections { } } pub mod list_learned_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PeerRouteList), @@ -28899,7 +28899,7 @@ pub mod virtual_hub_bgp_connections { } } pub mod list_advertised_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PeerRouteList), @@ -28928,7 +28928,7 @@ pub mod virtual_hub_bgp_connections { } } pub mod virtual_hub_ip_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -28979,7 +28979,7 @@ pub mod virtual_hub_ip_configuration { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29062,7 +29062,7 @@ pub mod virtual_hub_ip_configuration { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HubIpConfiguration), @@ -29136,7 +29136,7 @@ pub mod virtual_hub_ip_configuration { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -29212,7 +29212,7 @@ pub mod virtual_hub_ip_configuration { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29236,7 +29236,7 @@ pub mod virtual_hub_ip_configuration { } } pub mod hub_route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -29287,7 +29287,7 @@ pub mod hub_route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29370,7 +29370,7 @@ pub mod hub_route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HubRouteTable), @@ -29444,7 +29444,7 @@ pub mod hub_route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -29520,7 +29520,7 @@ pub mod hub_route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29544,7 +29544,7 @@ pub mod hub_route_tables { } } pub mod virtual_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -29593,7 +29593,7 @@ pub mod virtual_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29674,7 +29674,7 @@ pub mod virtual_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGateway), @@ -29755,7 +29755,7 @@ pub mod virtual_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -29827,7 +29827,7 @@ pub mod virtual_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -29901,7 +29901,7 @@ pub mod virtual_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29974,7 +29974,7 @@ pub mod virtual_network_gateways { } } pub mod list_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30050,7 +30050,7 @@ pub mod virtual_network_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -30127,7 +30127,7 @@ pub mod virtual_network_gateways { } } pub mod reset_vpn_client_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -30210,7 +30210,7 @@ pub mod virtual_network_gateways { } } pub mod generatevpnclientpackage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -30291,7 +30291,7 @@ pub mod virtual_network_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -30373,7 +30373,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpn_profile_package_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -30457,7 +30457,7 @@ pub mod virtual_network_gateways { } } pub mod get_bgp_peer_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BgpPeerStatusListResult), @@ -30538,7 +30538,7 @@ pub mod virtual_network_gateways { } } pub mod supported_vpn_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30613,7 +30613,7 @@ pub mod virtual_network_gateways { } } pub mod get_learned_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -30697,7 +30697,7 @@ pub mod virtual_network_gateways { } } pub mod get_advertised_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -30780,7 +30780,7 @@ pub mod virtual_network_gateways { } } pub mod set_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -30861,7 +30861,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30938,7 +30938,7 @@ pub mod virtual_network_gateways { } } pub mod vpn_device_configuration_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31018,7 +31018,7 @@ pub mod virtual_network_gateways { } } pub mod start_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -31099,7 +31099,7 @@ pub mod virtual_network_gateways { } } pub mod stop_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -31181,7 +31181,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpnclient_connection_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnClientConnectionHealthDetailListResult), @@ -31257,7 +31257,7 @@ pub mod virtual_network_gateways { } } pub mod disconnect_virtual_network_gateway_vpn_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -31286,7 +31286,7 @@ pub mod virtual_network_gateways { } } pub mod virtual_network_gateway_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -31335,7 +31335,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31416,7 +31416,7 @@ pub mod virtual_network_gateway_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGatewayConnection), @@ -31497,7 +31497,7 @@ pub mod virtual_network_gateway_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -31569,7 +31569,7 @@ pub mod virtual_network_gateway_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -31648,7 +31648,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31729,7 +31729,7 @@ pub mod virtual_network_gateway_connections { } } pub mod set_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ConnectionSharedKey), @@ -31802,7 +31802,7 @@ pub mod virtual_network_gateway_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31878,7 +31878,7 @@ pub mod virtual_network_gateway_connections { } } pub mod reset_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionResetSharedKey), @@ -31963,7 +31963,7 @@ pub mod virtual_network_gateway_connections { } } pub mod start_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -32044,7 +32044,7 @@ pub mod virtual_network_gateway_connections { } } pub mod stop_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -32124,7 +32124,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_ike_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -32198,7 +32198,7 @@ pub mod virtual_network_gateway_connections { } } pub mod reset_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32222,7 +32222,7 @@ pub mod virtual_network_gateway_connections { } } pub mod local_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -32271,7 +32271,7 @@ pub mod local_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32352,7 +32352,7 @@ pub mod local_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LocalNetworkGateway), @@ -32432,7 +32432,7 @@ pub mod local_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32499,7 +32499,7 @@ pub mod local_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -32573,7 +32573,7 @@ pub mod local_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32597,7 +32597,7 @@ pub mod local_network_gateways { } } pub mod virtual_network_gateway_nat_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -32648,7 +32648,7 @@ pub mod virtual_network_gateway_nat_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32731,7 +32731,7 @@ pub mod virtual_network_gateway_nat_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGatewayNatRule), @@ -32805,7 +32805,7 @@ pub mod virtual_network_gateway_nat_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -32886,7 +32886,7 @@ pub mod virtual_network_gateway_nat_rules { } } pub mod list_by_virtual_network_gateway { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32910,7 +32910,7 @@ pub mod virtual_network_gateway_nat_rules { } } pub mod express_route_cross_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -32955,7 +32955,7 @@ pub mod express_route_cross_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33028,7 +33028,7 @@ pub mod express_route_cross_connections { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33098,7 +33098,7 @@ pub mod express_route_cross_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33173,7 +33173,7 @@ pub mod express_route_cross_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33248,7 +33248,7 @@ pub mod express_route_cross_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33327,7 +33327,7 @@ pub mod express_route_cross_connections { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -33405,7 +33405,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionsRoutesTableSummaryListResult), @@ -33489,7 +33489,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -33518,7 +33518,7 @@ pub mod express_route_cross_connections { } } pub mod express_route_cross_connection_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -33567,7 +33567,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33639,7 +33639,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33722,7 +33722,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionPeering), @@ -33796,7 +33796,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -33826,7 +33826,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod express_route_ports_locations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -33871,7 +33871,7 @@ pub mod express_route_ports_locations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33939,7 +33939,7 @@ pub mod express_route_ports_locations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33963,7 +33963,7 @@ pub mod express_route_ports_locations { } } pub mod express_route_ports { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -34012,7 +34012,7 @@ pub mod express_route_ports { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34093,7 +34093,7 @@ pub mod express_route_ports { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRoutePort), @@ -34173,7 +34173,7 @@ pub mod express_route_ports { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34240,7 +34240,7 @@ pub mod express_route_ports { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -34319,7 +34319,7 @@ pub mod express_route_ports { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34385,7 +34385,7 @@ pub mod express_route_ports { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34460,7 +34460,7 @@ pub mod express_route_ports { } } pub mod generate_loa { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34484,7 +34484,7 @@ pub mod express_route_ports { } } pub mod express_route_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -34535,7 +34535,7 @@ pub mod express_route_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34605,7 +34605,7 @@ pub mod express_route_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34629,7 +34629,7 @@ pub mod express_route_links { } } pub mod firewall_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -34682,7 +34682,7 @@ pub mod firewall_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34763,7 +34763,7 @@ pub mod firewall_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FirewallPolicy), @@ -34835,7 +34835,7 @@ pub mod firewall_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -34909,7 +34909,7 @@ pub mod firewall_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34978,7 +34978,7 @@ pub mod firewall_policies { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35002,7 +35002,7 @@ pub mod firewall_policies { } } pub mod firewall_policy_rule_collection_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -35053,7 +35053,7 @@ pub mod firewall_policy_rule_collection_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35136,7 +35136,7 @@ pub mod firewall_policy_rule_collection_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FirewallPolicyRuleCollectionGroup), @@ -35210,7 +35210,7 @@ pub mod firewall_policy_rule_collection_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -35286,7 +35286,7 @@ pub mod firewall_policy_rule_collection_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35310,7 +35310,7 @@ pub mod firewall_policy_rule_collection_groups { } } pub mod ip_allocations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -35363,7 +35363,7 @@ pub mod ip_allocations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35444,7 +35444,7 @@ pub mod ip_allocations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IpAllocation), @@ -35524,7 +35524,7 @@ pub mod ip_allocations { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35591,7 +35591,7 @@ pub mod ip_allocations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -35663,7 +35663,7 @@ pub mod ip_allocations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35736,7 +35736,7 @@ pub mod ip_allocations { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35760,7 +35760,7 @@ pub mod ip_allocations { } } pub mod ip_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -35813,7 +35813,7 @@ pub mod ip_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35894,7 +35894,7 @@ pub mod ip_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IpGroup), @@ -35974,7 +35974,7 @@ pub mod ip_groups { } } pub mod update_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36041,7 +36041,7 @@ pub mod ip_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -36120,7 +36120,7 @@ pub mod ip_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36186,7 +36186,7 @@ pub mod ip_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36210,7 +36210,7 @@ pub mod ip_groups { } } pub mod network_virtual_appliances { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -36263,7 +36263,7 @@ pub mod network_virtual_appliances { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36344,7 +36344,7 @@ pub mod network_virtual_appliances { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkVirtualAppliance), @@ -36424,7 +36424,7 @@ pub mod network_virtual_appliances { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36491,7 +36491,7 @@ pub mod network_virtual_appliances { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -36570,7 +36570,7 @@ pub mod network_virtual_appliances { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36636,7 +36636,7 @@ pub mod network_virtual_appliances { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36660,7 +36660,7 @@ pub mod network_virtual_appliances { } } pub mod virtual_appliance_sites { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -36711,7 +36711,7 @@ pub mod virtual_appliance_sites { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36794,7 +36794,7 @@ pub mod virtual_appliance_sites { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualApplianceSite), @@ -36868,7 +36868,7 @@ pub mod virtual_appliance_sites { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -36944,7 +36944,7 @@ pub mod virtual_appliance_sites { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36968,7 +36968,7 @@ pub mod virtual_appliance_sites { } } pub mod virtual_appliance_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -37013,7 +37013,7 @@ pub mod virtual_appliance_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37081,7 +37081,7 @@ pub mod virtual_appliance_skus { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37105,7 +37105,7 @@ pub mod virtual_appliance_skus { } } pub mod inbound_security_rule { - use crate::models::*; + use super::{models, models::*}; pub async fn create_or_update( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -37167,7 +37167,7 @@ pub mod inbound_security_rule { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(InboundSecurityRule), @@ -37196,7 +37196,7 @@ pub mod inbound_security_rule { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Network/operations", operation_config.base_path(),); @@ -37234,7 +37234,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37258,7 +37258,7 @@ pub mod operations { } } pub mod public_ip_prefixes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -37311,7 +37311,7 @@ pub mod public_ip_prefixes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37392,7 +37392,7 @@ pub mod public_ip_prefixes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpPrefix), @@ -37472,7 +37472,7 @@ pub mod public_ip_prefixes { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37539,7 +37539,7 @@ pub mod public_ip_prefixes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -37614,7 +37614,7 @@ pub mod public_ip_prefixes { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37682,7 +37682,7 @@ pub mod public_ip_prefixes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37706,7 +37706,7 @@ pub mod public_ip_prefixes { } } pub mod route_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -37759,7 +37759,7 @@ pub mod route_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37840,7 +37840,7 @@ pub mod route_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilter), @@ -37920,7 +37920,7 @@ pub mod route_filters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37987,7 +37987,7 @@ pub mod route_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -38066,7 +38066,7 @@ pub mod route_filters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38132,7 +38132,7 @@ pub mod route_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38156,7 +38156,7 @@ pub mod route_filters { } } pub mod route_filter_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -38207,7 +38207,7 @@ pub mod route_filter_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38290,7 +38290,7 @@ pub mod route_filter_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilterRule), @@ -38364,7 +38364,7 @@ pub mod route_filter_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -38443,7 +38443,7 @@ pub mod route_filter_rules { } } pub mod list_by_route_filter { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38467,7 +38467,7 @@ pub mod route_filter_rules { } } pub mod security_partner_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -38516,7 +38516,7 @@ pub mod security_partner_providers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38597,7 +38597,7 @@ pub mod security_partner_providers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(SecurityPartnerProvider), @@ -38677,7 +38677,7 @@ pub mod security_partner_providers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38744,7 +38744,7 @@ pub mod security_partner_providers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -38823,7 +38823,7 @@ pub mod security_partner_providers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38889,7 +38889,7 @@ pub mod security_partner_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38913,7 +38913,7 @@ pub mod security_partner_providers { } } pub mod bgp_service_communities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -38958,7 +38958,7 @@ pub mod bgp_service_communities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38982,7 +38982,7 @@ pub mod bgp_service_communities { } } pub mod service_tags { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -39029,7 +39029,7 @@ pub mod service_tags { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -39053,7 +39053,7 @@ pub mod service_tags { } } pub mod service_tag_information { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -39109,7 +39109,7 @@ pub mod service_tag_information { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -39133,7 +39133,7 @@ pub mod service_tag_information { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -39180,7 +39180,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -39204,7 +39204,7 @@ pub mod usages { } } pub mod virtual_routers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -39257,7 +39257,7 @@ pub mod virtual_routers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -39338,7 +39338,7 @@ pub mod virtual_routers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(VirtualRouter), @@ -39410,7 +39410,7 @@ pub mod virtual_routers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -39489,7 +39489,7 @@ pub mod virtual_routers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -39555,7 +39555,7 @@ pub mod virtual_routers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -39579,7 +39579,7 @@ pub mod virtual_routers { } } pub mod virtual_router_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -39630,7 +39630,7 @@ pub mod virtual_router_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -39713,7 +39713,7 @@ pub mod virtual_router_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(VirtualRouterPeering), @@ -39787,7 +39787,7 @@ pub mod virtual_router_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -39863,7 +39863,7 @@ pub mod virtual_router_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -39887,7 +39887,7 @@ pub mod virtual_router_peerings { } } pub mod web_application_firewall_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -39934,7 +39934,7 @@ pub mod web_application_firewall_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -40003,7 +40003,7 @@ pub mod web_application_firewall_policies { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -40073,7 +40073,7 @@ pub mod web_application_firewall_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -40154,7 +40154,7 @@ pub mod web_application_firewall_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WebApplicationFirewallPolicy), @@ -40226,7 +40226,7 @@ pub mod web_application_firewall_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, diff --git a/services/mgmt/network/src/package_2021_03_preview/operations.rs b/services/mgmt/network/src/package_2021_03_preview/operations.rs index 52d56147e0..0bddc0ba66 100644 --- a/services/mgmt/network/src/package_2021_03_preview/operations.rs +++ b/services/mgmt/network/src/package_2021_03_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod application_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod application_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod application_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationGateway), @@ -214,7 +214,7 @@ pub mod application_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -281,7 +281,7 @@ pub mod application_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -355,7 +355,7 @@ pub mod application_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -424,7 +424,7 @@ pub mod application_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -491,7 +491,7 @@ pub mod application_gateways { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -563,7 +563,7 @@ pub mod application_gateways { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -647,7 +647,7 @@ pub mod application_gateways { } } pub mod backend_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealth), @@ -734,7 +734,7 @@ pub mod application_gateways { } } pub mod backend_health_on_demand { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayBackendHealthOnDemand), @@ -810,7 +810,7 @@ pub mod application_gateways { } } pub mod list_available_server_variables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -881,7 +881,7 @@ pub mod application_gateways { } } pub mod list_available_request_headers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -952,7 +952,7 @@ pub mod application_gateways { } } pub mod list_available_response_headers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1023,7 +1023,7 @@ pub mod application_gateways { } } pub mod list_available_waf_rule_sets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1094,7 +1094,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_options { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1165,7 +1165,7 @@ pub mod application_gateways { } } pub mod list_available_ssl_predefined_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1238,7 +1238,7 @@ pub mod application_gateways { } } pub mod get_ssl_predefined_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1262,7 +1262,7 @@ pub mod application_gateways { } } pub mod application_gateway_private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1311,7 +1311,7 @@ pub mod application_gateway_private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1335,7 +1335,7 @@ pub mod application_gateway_private_link_resources { } } pub mod application_gateway_private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1386,7 +1386,7 @@ pub mod application_gateway_private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1461,7 +1461,7 @@ pub mod application_gateway_private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationGatewayPrivateEndpointConnection), @@ -1535,7 +1535,7 @@ pub mod application_gateway_private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1611,7 +1611,7 @@ pub mod application_gateway_private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1635,7 +1635,7 @@ pub mod application_gateway_private_endpoint_connections { } } pub mod network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1688,7 +1688,7 @@ pub mod network_interfaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1769,7 +1769,7 @@ pub mod network_interfaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkInterface), @@ -1849,7 +1849,7 @@ pub mod network_interfaces { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1916,7 +1916,7 @@ pub mod network_interfaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1991,7 +1991,7 @@ pub mod network_interfaces { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2059,7 +2059,7 @@ pub mod network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2136,7 +2136,7 @@ pub mod network_interfaces { } } pub mod get_effective_route_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveRouteListResult), @@ -2218,7 +2218,7 @@ pub mod network_interfaces { } } pub mod list_effective_network_security_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveNetworkSecurityGroupListResult), @@ -2302,7 +2302,7 @@ pub mod network_interfaces { } } pub mod list_cloud_service_role_instance_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2377,7 +2377,7 @@ pub mod network_interfaces { } } pub mod list_cloud_service_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2460,7 +2460,7 @@ pub mod network_interfaces { } } pub mod get_cloud_service_network_interface { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2532,7 +2532,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_vm_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2609,7 +2609,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_network_interfaces { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2684,7 +2684,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_network_interface { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2761,7 +2761,7 @@ pub mod network_interfaces { } } pub mod list_virtual_machine_scale_set_ip_configurations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2837,7 +2837,7 @@ pub mod network_interfaces { } } pub mod get_virtual_machine_scale_set_ip_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2861,7 +2861,7 @@ pub mod network_interfaces { } } pub mod network_interface_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2910,7 +2910,7 @@ pub mod network_interface_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2982,7 +2982,7 @@ pub mod network_interface_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3006,7 +3006,7 @@ pub mod network_interface_ip_configurations { } } pub mod network_interface_load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3055,7 +3055,7 @@ pub mod network_interface_load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3079,7 +3079,7 @@ pub mod network_interface_load_balancers { } } pub mod network_interface_tap_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3130,7 +3130,7 @@ pub mod network_interface_tap_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3213,7 +3213,7 @@ pub mod network_interface_tap_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkInterfaceTapConfiguration), @@ -3287,7 +3287,7 @@ pub mod network_interface_tap_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3363,7 +3363,7 @@ pub mod network_interface_tap_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3387,7 +3387,7 @@ pub mod network_interface_tap_configurations { } } pub mod virtual_network_taps { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3436,7 +3436,7 @@ pub mod virtual_network_taps { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3517,7 +3517,7 @@ pub mod virtual_network_taps { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkTap), @@ -3597,7 +3597,7 @@ pub mod virtual_network_taps { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3664,7 +3664,7 @@ pub mod virtual_network_taps { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3739,7 +3739,7 @@ pub mod virtual_network_taps { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3812,7 +3812,7 @@ pub mod virtual_network_taps { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3836,7 +3836,7 @@ pub mod virtual_network_taps { } } pub mod load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3889,7 +3889,7 @@ pub mod load_balancers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3970,7 +3970,7 @@ pub mod load_balancers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoadBalancer), @@ -4050,7 +4050,7 @@ pub mod load_balancers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4117,7 +4117,7 @@ pub mod load_balancers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4192,7 +4192,7 @@ pub mod load_balancers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4260,7 +4260,7 @@ pub mod load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4331,7 +4331,7 @@ pub mod load_balancers { } } pub mod swap_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4360,7 +4360,7 @@ pub mod load_balancers { } } pub mod load_balancer_backend_address_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4409,7 +4409,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4481,7 +4481,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4564,7 +4564,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(BackendAddressPool), @@ -4638,7 +4638,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4668,7 +4668,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod load_balancer_frontend_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4717,7 +4717,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4789,7 +4789,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4813,7 +4813,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod inbound_nat_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4862,7 +4862,7 @@ pub mod inbound_nat_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4938,7 +4938,7 @@ pub mod inbound_nat_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5021,7 +5021,7 @@ pub mod inbound_nat_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(InboundNatRule), @@ -5095,7 +5095,7 @@ pub mod inbound_nat_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -5125,7 +5125,7 @@ pub mod inbound_nat_rules { } } pub mod load_balancer_load_balancing_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5174,7 +5174,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5246,7 +5246,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5270,7 +5270,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod load_balancer_outbound_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5319,7 +5319,7 @@ pub mod load_balancer_outbound_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5391,7 +5391,7 @@ pub mod load_balancer_outbound_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5415,7 +5415,7 @@ pub mod load_balancer_outbound_rules { } } pub mod load_balancer_network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5464,7 +5464,7 @@ pub mod load_balancer_network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5488,7 +5488,7 @@ pub mod load_balancer_network_interfaces { } } pub mod load_balancer_probes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5537,7 +5537,7 @@ pub mod load_balancer_probes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5609,7 +5609,7 @@ pub mod load_balancer_probes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5633,7 +5633,7 @@ pub mod load_balancer_probes { } } pub mod virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5686,7 +5686,7 @@ pub mod virtual_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5767,7 +5767,7 @@ pub mod virtual_networks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetwork), @@ -5847,7 +5847,7 @@ pub mod virtual_networks { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5914,7 +5914,7 @@ pub mod virtual_networks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5989,7 +5989,7 @@ pub mod virtual_networks { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6057,7 +6057,7 @@ pub mod virtual_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6134,7 +6134,7 @@ pub mod virtual_networks { } } pub mod check_ip_address_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6207,7 +6207,7 @@ pub mod virtual_networks { } } pub mod list_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6231,7 +6231,7 @@ pub mod virtual_networks { } } pub mod subnets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6286,7 +6286,7 @@ pub mod subnets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6369,7 +6369,7 @@ pub mod subnets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Subnet), @@ -6443,7 +6443,7 @@ pub mod subnets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6525,7 +6525,7 @@ pub mod subnets { } } pub mod prepare_network_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6606,7 +6606,7 @@ pub mod subnets { } } pub mod unprepare_network_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6681,7 +6681,7 @@ pub mod subnets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6705,7 +6705,7 @@ pub mod subnets { } } pub mod resource_navigation_links { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6756,7 +6756,7 @@ pub mod resource_navigation_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6780,7 +6780,7 @@ pub mod resource_navigation_links { } } pub mod service_association_links { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6831,7 +6831,7 @@ pub mod service_association_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6855,7 +6855,7 @@ pub mod service_association_links { } } pub mod virtual_network_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6906,7 +6906,7 @@ pub mod virtual_network_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6994,7 +6994,7 @@ pub mod virtual_network_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkPeering), @@ -7068,7 +7068,7 @@ pub mod virtual_network_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7144,7 +7144,7 @@ pub mod virtual_network_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7168,7 +7168,7 @@ pub mod virtual_network_peerings { } } pub mod network_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7221,7 +7221,7 @@ pub mod network_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7302,7 +7302,7 @@ pub mod network_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkSecurityGroup), @@ -7382,7 +7382,7 @@ pub mod network_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7449,7 +7449,7 @@ pub mod network_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7524,7 +7524,7 @@ pub mod network_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7592,7 +7592,7 @@ pub mod network_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7616,7 +7616,7 @@ pub mod network_security_groups { } } pub mod security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7667,7 +7667,7 @@ pub mod security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7750,7 +7750,7 @@ pub mod security_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityRule), @@ -7824,7 +7824,7 @@ pub mod security_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -7900,7 +7900,7 @@ pub mod security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7924,7 +7924,7 @@ pub mod security_rules { } } pub mod default_security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7973,7 +7973,7 @@ pub mod default_security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8045,7 +8045,7 @@ pub mod default_security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8069,7 +8069,7 @@ pub mod default_security_rules { } } pub mod application_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8118,7 +8118,7 @@ pub mod application_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8199,7 +8199,7 @@ pub mod application_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ApplicationSecurityGroup), @@ -8279,7 +8279,7 @@ pub mod application_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8346,7 +8346,7 @@ pub mod application_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -8421,7 +8421,7 @@ pub mod application_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8489,7 +8489,7 @@ pub mod application_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8513,7 +8513,7 @@ pub mod application_security_groups { } } pub mod network_watchers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8562,7 +8562,7 @@ pub mod network_watchers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8643,7 +8643,7 @@ pub mod network_watchers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkWatcher), @@ -8723,7 +8723,7 @@ pub mod network_watchers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8789,7 +8789,7 @@ pub mod network_watchers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8862,7 +8862,7 @@ pub mod network_watchers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8931,7 +8931,7 @@ pub mod network_watchers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9006,7 +9006,7 @@ pub mod network_watchers { } } pub mod get_topology { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9087,7 +9087,7 @@ pub mod network_watchers { } } pub mod verify_ip_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VerificationIpFlowResult), @@ -9173,7 +9173,7 @@ pub mod network_watchers { } } pub mod get_next_hop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NextHopResult), @@ -9261,7 +9261,7 @@ pub mod network_watchers { } } pub mod get_vm_security_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityGroupViewResult), @@ -9347,7 +9347,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -9435,7 +9435,7 @@ pub mod network_watchers { } } pub mod get_troubleshooting_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TroubleshootingResult), @@ -9523,7 +9523,7 @@ pub mod network_watchers { } } pub mod set_flow_log_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -9609,7 +9609,7 @@ pub mod network_watchers { } } pub mod get_flow_log_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FlowLogInformation), @@ -9695,7 +9695,7 @@ pub mod network_watchers { } } pub mod check_connectivity { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectivityInformation), @@ -9783,7 +9783,7 @@ pub mod network_watchers { } } pub mod get_azure_reachability_report { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AzureReachabilityReport), @@ -9871,7 +9871,7 @@ pub mod network_watchers { } } pub mod list_available_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AvailableProvidersList), @@ -9959,7 +9959,7 @@ pub mod network_watchers { } } pub mod get_network_configuration_diagnostic { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkConfigurationDiagnosticResponse), @@ -9988,7 +9988,7 @@ pub mod network_watchers { } } pub mod packet_captures { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10039,7 +10039,7 @@ pub mod packet_captures { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10113,7 +10113,7 @@ pub mod packet_captures { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10181,7 +10181,7 @@ pub mod packet_captures { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -10255,7 +10255,7 @@ pub mod packet_captures { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10342,7 +10342,7 @@ pub mod packet_captures { } } pub mod get_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PacketCaptureQueryStatusResult), @@ -10417,7 +10417,7 @@ pub mod packet_captures { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10441,7 +10441,7 @@ pub mod packet_captures { } } pub mod connection_monitors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10492,7 +10492,7 @@ pub mod connection_monitors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10579,7 +10579,7 @@ pub mod connection_monitors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorResult), @@ -10661,7 +10661,7 @@ pub mod connection_monitors { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10729,7 +10729,7 @@ pub mod connection_monitors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -10803,7 +10803,7 @@ pub mod connection_monitors { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10877,7 +10877,7 @@ pub mod connection_monitors { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10961,7 +10961,7 @@ pub mod connection_monitors { } } pub mod query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorQueryResult), @@ -11036,7 +11036,7 @@ pub mod connection_monitors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11060,7 +11060,7 @@ pub mod connection_monitors { } } pub mod flow_logs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11111,7 +11111,7 @@ pub mod flow_logs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11194,7 +11194,7 @@ pub mod flow_logs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FlowLog), @@ -11276,7 +11276,7 @@ pub mod flow_logs { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11344,7 +11344,7 @@ pub mod flow_logs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -11419,7 +11419,7 @@ pub mod flow_logs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11443,7 +11443,7 @@ pub mod flow_logs { } } pub mod route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11496,7 +11496,7 @@ pub mod route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11577,7 +11577,7 @@ pub mod route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteTable), @@ -11657,7 +11657,7 @@ pub mod route_tables { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11724,7 +11724,7 @@ pub mod route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -11798,7 +11798,7 @@ pub mod route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11867,7 +11867,7 @@ pub mod route_tables { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11891,7 +11891,7 @@ pub mod route_tables { } } pub mod routes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11942,7 +11942,7 @@ pub mod routes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12025,7 +12025,7 @@ pub mod routes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Route), @@ -12099,7 +12099,7 @@ pub mod routes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -12175,7 +12175,7 @@ pub mod routes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12199,7 +12199,7 @@ pub mod routes { } } pub mod service_endpoint_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12252,7 +12252,7 @@ pub mod service_endpoint_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12333,7 +12333,7 @@ pub mod service_endpoint_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ServiceEndpointPolicy), @@ -12413,7 +12413,7 @@ pub mod service_endpoint_policies { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12480,7 +12480,7 @@ pub mod service_endpoint_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -12552,7 +12552,7 @@ pub mod service_endpoint_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12625,7 +12625,7 @@ pub mod service_endpoint_policies { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12649,7 +12649,7 @@ pub mod service_endpoint_policies { } } pub mod service_endpoint_policy_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12693,7 +12693,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12769,7 +12769,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServiceEndpointPolicyDefinition), @@ -12836,7 +12836,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -12917,7 +12917,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12941,7 +12941,7 @@ pub mod service_endpoint_policy_definitions { } } pub mod private_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12994,7 +12994,7 @@ pub mod private_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13075,7 +13075,7 @@ pub mod private_endpoints { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpoint), @@ -13147,7 +13147,7 @@ pub mod private_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -13221,7 +13221,7 @@ pub mod private_endpoints { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13290,7 +13290,7 @@ pub mod private_endpoints { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13314,7 +13314,7 @@ pub mod private_endpoints { } } pub mod available_private_endpoint_types { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -13361,7 +13361,7 @@ pub mod available_private_endpoint_types { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13436,7 +13436,7 @@ pub mod available_private_endpoint_types { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13460,7 +13460,7 @@ pub mod available_private_endpoint_types { } } pub mod private_dns_zone_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13511,7 +13511,7 @@ pub mod private_dns_zone_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13594,7 +13594,7 @@ pub mod private_dns_zone_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateDnsZoneGroup), @@ -13668,7 +13668,7 @@ pub mod private_dns_zone_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -13744,7 +13744,7 @@ pub mod private_dns_zone_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13768,7 +13768,7 @@ pub mod private_dns_zone_groups { } } pub mod private_link_services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13821,7 +13821,7 @@ pub mod private_link_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13902,7 +13902,7 @@ pub mod private_link_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkService), @@ -13974,7 +13974,7 @@ pub mod private_link_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -14048,7 +14048,7 @@ pub mod private_link_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14117,7 +14117,7 @@ pub mod private_link_services { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14198,7 +14198,7 @@ pub mod private_link_services { } } pub mod get_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14277,7 +14277,7 @@ pub mod private_link_services { } } pub mod update_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14351,7 +14351,7 @@ pub mod private_link_services { } } pub mod delete_private_endpoint_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -14432,7 +14432,7 @@ pub mod private_link_services { } } pub mod list_private_endpoint_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14508,7 +14508,7 @@ pub mod private_link_services { } } pub mod check_private_link_service_visibility { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServiceVisibility), @@ -14597,7 +14597,7 @@ pub mod private_link_services { } } pub mod check_private_link_service_visibility_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServiceVisibility), @@ -14675,7 +14675,7 @@ pub mod private_link_services { } } pub mod list_auto_approved_private_link_services { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14752,7 +14752,7 @@ pub mod private_link_services { } } pub mod list_auto_approved_private_link_services_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14776,7 +14776,7 @@ pub mod private_link_services { } } pub mod network_profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14829,7 +14829,7 @@ pub mod network_profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14910,7 +14910,7 @@ pub mod network_profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkProfile), @@ -14990,7 +14990,7 @@ pub mod network_profiles { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15057,7 +15057,7 @@ pub mod network_profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -15132,7 +15132,7 @@ pub mod network_profiles { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15200,7 +15200,7 @@ pub mod network_profiles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15224,7 +15224,7 @@ pub mod network_profiles { } } pub mod public_ip_addresses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15277,7 +15277,7 @@ pub mod public_ip_addresses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15358,7 +15358,7 @@ pub mod public_ip_addresses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpAddress), @@ -15438,7 +15438,7 @@ pub mod public_ip_addresses { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15505,7 +15505,7 @@ pub mod public_ip_addresses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -15580,7 +15580,7 @@ pub mod public_ip_addresses { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15648,7 +15648,7 @@ pub mod public_ip_addresses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15723,7 +15723,7 @@ pub mod public_ip_addresses { } } pub mod list_cloud_service_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15797,7 +15797,7 @@ pub mod public_ip_addresses { } } pub mod list_cloud_service_role_instance_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15874,7 +15874,7 @@ pub mod public_ip_addresses { } } pub mod get_cloud_service_public_ip_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15951,7 +15951,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16025,7 +16025,7 @@ pub mod public_ip_addresses { } } pub mod list_virtual_machine_scale_set_vm_public_ip_addresses { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16102,7 +16102,7 @@ pub mod public_ip_addresses { } } pub mod get_virtual_machine_scale_set_public_ip_address { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16126,7 +16126,7 @@ pub mod public_ip_addresses { } } pub mod nat_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16179,7 +16179,7 @@ pub mod nat_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16261,7 +16261,7 @@ pub mod nat_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NatGateway), @@ -16342,7 +16342,7 @@ pub mod nat_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16409,7 +16409,7 @@ pub mod nat_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -16484,7 +16484,7 @@ pub mod nat_gateways { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16552,7 +16552,7 @@ pub mod nat_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16576,7 +16576,7 @@ pub mod nat_gateways { } } pub mod available_delegations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -16623,7 +16623,7 @@ pub mod available_delegations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16647,7 +16647,7 @@ pub mod available_delegations { } } pub mod available_resource_group_delegations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -16696,7 +16696,7 @@ pub mod available_resource_group_delegations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16720,7 +16720,7 @@ pub mod available_resource_group_delegations { } } pub mod available_service_aliases { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -16767,7 +16767,7 @@ pub mod available_service_aliases { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16842,7 +16842,7 @@ pub mod available_service_aliases { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16866,7 +16866,7 @@ pub mod available_service_aliases { } } pub mod azure_firewalls { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16915,7 +16915,7 @@ pub mod azure_firewalls { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16996,7 +16996,7 @@ pub mod azure_firewalls { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(AzureFirewall), @@ -17077,7 +17077,7 @@ pub mod azure_firewalls { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -17149,7 +17149,7 @@ pub mod azure_firewalls { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -17223,7 +17223,7 @@ pub mod azure_firewalls { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17292,7 +17292,7 @@ pub mod azure_firewalls { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17316,7 +17316,7 @@ pub mod azure_firewalls { } } pub mod azure_firewall_fqdn_tags { - use crate::models::*; + use super::{models, models::*}; pub async fn list_all( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -17364,7 +17364,7 @@ pub mod azure_firewall_fqdn_tags { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17388,7 +17388,7 @@ pub mod azure_firewall_fqdn_tags { } } pub mod web_categories { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, name: &str, @@ -17439,7 +17439,7 @@ pub mod web_categories { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17508,7 +17508,7 @@ pub mod web_categories { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17532,7 +17532,7 @@ pub mod web_categories { } } pub mod bastion_hosts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17581,7 +17581,7 @@ pub mod bastion_hosts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17662,7 +17662,7 @@ pub mod bastion_hosts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(BastionHost), @@ -17734,7 +17734,7 @@ pub mod bastion_hosts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -17806,7 +17806,7 @@ pub mod bastion_hosts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17879,7 +17879,7 @@ pub mod bastion_hosts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17958,7 +17958,7 @@ pub async fn put_bastion_shareable_link( } } pub mod put_bastion_shareable_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BastionShareableLinkListResult), @@ -18036,7 +18036,7 @@ pub async fn delete_bastion_shareable_link( } } pub mod delete_bastion_shareable_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -18118,7 +18118,7 @@ pub async fn get_bastion_shareable_link( } } pub mod get_bastion_shareable_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18193,7 +18193,7 @@ pub async fn get_active_sessions( } } pub mod get_active_sessions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BastionActiveSessionListResult), @@ -18275,7 +18275,7 @@ pub async fn disconnect_active_sessions( } } pub mod disconnect_active_sessions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18350,7 +18350,7 @@ pub async fn check_dns_name_availability( } } pub mod check_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18425,7 +18425,7 @@ pub async fn supported_security_providers( } } pub mod supported_security_providers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18507,7 +18507,7 @@ pub async fn generatevirtualwanvpnserverconfigurationvpnprofile( } } pub mod generatevirtualwanvpnserverconfigurationvpnprofile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnProfileResponse), @@ -18535,7 +18535,7 @@ pub mod generatevirtualwanvpnserverconfigurationvpnprofile { } } pub mod custom_ip_prefixes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18588,7 +18588,7 @@ pub mod custom_ip_prefixes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18669,7 +18669,7 @@ pub mod custom_ip_prefixes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CustomIpPrefix), @@ -18749,7 +18749,7 @@ pub mod custom_ip_prefixes { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18816,7 +18816,7 @@ pub mod custom_ip_prefixes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -18891,7 +18891,7 @@ pub mod custom_ip_prefixes { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18959,7 +18959,7 @@ pub mod custom_ip_prefixes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18983,7 +18983,7 @@ pub mod custom_ip_prefixes { } } pub mod ddos_custom_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19032,7 +19032,7 @@ pub mod ddos_custom_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19113,7 +19113,7 @@ pub mod ddos_custom_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DdosCustomPolicy), @@ -19193,7 +19193,7 @@ pub mod ddos_custom_policies { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19260,7 +19260,7 @@ pub mod ddos_custom_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -19290,7 +19290,7 @@ pub mod ddos_custom_policies { } } pub mod ddos_protection_plans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19339,7 +19339,7 @@ pub mod ddos_protection_plans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19420,7 +19420,7 @@ pub mod ddos_protection_plans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DdosProtectionPlan), @@ -19500,7 +19500,7 @@ pub mod ddos_protection_plans { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19567,7 +19567,7 @@ pub mod ddos_protection_plans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -19639,7 +19639,7 @@ pub mod ddos_protection_plans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19712,7 +19712,7 @@ pub mod ddos_protection_plans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19736,7 +19736,7 @@ pub mod ddos_protection_plans { } } pub mod dscp_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19785,7 +19785,7 @@ pub mod dscp_configuration { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19866,7 +19866,7 @@ pub mod dscp_configuration { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DscpConfiguration), @@ -19938,7 +19938,7 @@ pub mod dscp_configuration { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -20012,7 +20012,7 @@ pub mod dscp_configuration { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20081,7 +20081,7 @@ pub mod dscp_configuration { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20105,7 +20105,7 @@ pub mod dscp_configuration { } } pub mod available_endpoint_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -20152,7 +20152,7 @@ pub mod available_endpoint_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20176,7 +20176,7 @@ pub mod available_endpoint_services { } } pub mod express_route_circuit_authorizations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20227,7 +20227,7 @@ pub mod express_route_circuit_authorizations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20310,7 +20310,7 @@ pub mod express_route_circuit_authorizations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuitAuthorization), @@ -20384,7 +20384,7 @@ pub mod express_route_circuit_authorizations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -20460,7 +20460,7 @@ pub mod express_route_circuit_authorizations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20484,7 +20484,7 @@ pub mod express_route_circuit_authorizations { } } pub mod express_route_circuit_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20535,7 +20535,7 @@ pub mod express_route_circuit_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20618,7 +20618,7 @@ pub mod express_route_circuit_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitPeering), @@ -20692,7 +20692,7 @@ pub mod express_route_circuit_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -20768,7 +20768,7 @@ pub mod express_route_circuit_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20792,7 +20792,7 @@ pub mod express_route_circuit_peerings { } } pub mod express_route_circuit_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20845,7 +20845,7 @@ pub mod express_route_circuit_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20930,7 +20930,7 @@ pub mod express_route_circuit_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitConnection), @@ -21006,7 +21006,7 @@ pub mod express_route_circuit_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -21084,7 +21084,7 @@ pub mod express_route_circuit_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21108,7 +21108,7 @@ pub mod express_route_circuit_connections { } } pub mod peer_express_route_circuit_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -21161,7 +21161,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21233,7 +21233,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21257,7 +21257,7 @@ pub mod peer_express_route_circuit_connections { } } pub mod express_route_circuits { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -21306,7 +21306,7 @@ pub mod express_route_circuits { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21387,7 +21387,7 @@ pub mod express_route_circuits { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ExpressRouteCircuit), @@ -21467,7 +21467,7 @@ pub mod express_route_circuits { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21534,7 +21534,7 @@ pub mod express_route_circuits { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -21619,7 +21619,7 @@ pub mod express_route_circuits { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -21703,7 +21703,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -21789,7 +21789,7 @@ pub mod express_route_circuits { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableSummaryListResult), @@ -21867,7 +21867,7 @@ pub mod express_route_circuits { } } pub mod get_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21942,7 +21942,7 @@ pub mod express_route_circuits { } } pub mod get_peering_stats { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22010,7 +22010,7 @@ pub mod express_route_circuits { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22079,7 +22079,7 @@ pub mod express_route_circuits { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22103,7 +22103,7 @@ pub mod express_route_circuits { } } pub mod express_route_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -22148,7 +22148,7 @@ pub mod express_route_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22172,7 +22172,7 @@ pub mod express_route_service_providers { } } pub mod virtual_wans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -22221,7 +22221,7 @@ pub mod virtual_wans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22302,7 +22302,7 @@ pub mod virtual_wans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualWan), @@ -22382,7 +22382,7 @@ pub mod virtual_wans { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22449,7 +22449,7 @@ pub mod virtual_wans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22528,7 +22528,7 @@ pub mod virtual_wans { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22594,7 +22594,7 @@ pub mod virtual_wans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22618,7 +22618,7 @@ pub mod virtual_wans { } } pub mod vpn_sites { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -22667,7 +22667,7 @@ pub mod vpn_sites { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22748,7 +22748,7 @@ pub mod vpn_sites { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnSite), @@ -22828,7 +22828,7 @@ pub mod vpn_sites { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22895,7 +22895,7 @@ pub mod vpn_sites { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22974,7 +22974,7 @@ pub mod vpn_sites { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23040,7 +23040,7 @@ pub mod vpn_sites { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23064,7 +23064,7 @@ pub mod vpn_sites { } } pub mod vpn_site_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -23115,7 +23115,7 @@ pub mod vpn_site_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23188,7 +23188,7 @@ pub mod vpn_site_links { } } pub mod list_by_vpn_site { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23212,7 +23212,7 @@ pub mod vpn_site_links { } } pub mod vpn_sites_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn download( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -23262,7 +23262,7 @@ pub mod vpn_sites_configuration { } } pub mod download { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23291,7 +23291,7 @@ pub mod vpn_sites_configuration { } } pub mod vpn_server_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -23340,7 +23340,7 @@ pub mod vpn_server_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23421,7 +23421,7 @@ pub mod vpn_server_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnServerConfiguration), @@ -23501,7 +23501,7 @@ pub mod vpn_server_configurations { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23568,7 +23568,7 @@ pub mod vpn_server_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23647,7 +23647,7 @@ pub mod vpn_server_configurations { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23713,7 +23713,7 @@ pub mod vpn_server_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23737,7 +23737,7 @@ pub mod vpn_server_configurations { } } pub mod virtual_hubs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -23786,7 +23786,7 @@ pub mod virtual_hubs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23867,7 +23867,7 @@ pub mod virtual_hubs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHub), @@ -23947,7 +23947,7 @@ pub mod virtual_hubs { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24014,7 +24014,7 @@ pub mod virtual_hubs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -24093,7 +24093,7 @@ pub mod virtual_hubs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24159,7 +24159,7 @@ pub mod virtual_hubs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24236,7 +24236,7 @@ pub mod virtual_hubs { } } pub mod get_effective_virtual_hub_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -24265,7 +24265,7 @@ pub mod virtual_hubs { } } pub mod hub_virtual_network_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -24316,7 +24316,7 @@ pub mod hub_virtual_network_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24399,7 +24399,7 @@ pub mod hub_virtual_network_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HubVirtualNetworkConnection), @@ -24473,7 +24473,7 @@ pub mod hub_virtual_network_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -24549,7 +24549,7 @@ pub mod hub_virtual_network_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24573,7 +24573,7 @@ pub mod hub_virtual_network_connections { } } pub mod vpn_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -24622,7 +24622,7 @@ pub mod vpn_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24703,7 +24703,7 @@ pub mod vpn_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -24784,7 +24784,7 @@ pub mod vpn_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -24856,7 +24856,7 @@ pub mod vpn_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -24934,7 +24934,7 @@ pub mod vpn_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGateway), @@ -25019,7 +25019,7 @@ pub mod vpn_gateways { } } pub mod start_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -25104,7 +25104,7 @@ pub mod vpn_gateways { } } pub mod stop_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -25182,7 +25182,7 @@ pub mod vpn_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25248,7 +25248,7 @@ pub mod vpn_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25272,7 +25272,7 @@ pub mod vpn_gateways { } } pub mod vpn_link_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn reset_connection( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -25316,7 +25316,7 @@ pub mod vpn_link_connections { } } pub mod reset_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25387,7 +25387,7 @@ pub mod vpn_link_connections { } } pub mod get_ike_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -25469,7 +25469,7 @@ pub mod vpn_link_connections { } } pub mod list_by_vpn_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25493,7 +25493,7 @@ pub mod vpn_link_connections { } } pub mod vpn_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -25544,7 +25544,7 @@ pub mod vpn_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25627,7 +25627,7 @@ pub mod vpn_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnConnection), @@ -25701,7 +25701,7 @@ pub mod vpn_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -25789,7 +25789,7 @@ pub mod vpn_connections { } } pub mod start_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -25876,7 +25876,7 @@ pub mod vpn_connections { } } pub mod stop_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -25954,7 +25954,7 @@ pub mod vpn_connections { } } pub mod list_by_vpn_gateway { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25978,7 +25978,7 @@ pub mod vpn_connections { } } pub mod vpn_site_link_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -26031,7 +26031,7 @@ pub mod vpn_site_link_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26055,7 +26055,7 @@ pub mod vpn_site_link_connections { } } pub mod nat_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -26106,7 +26106,7 @@ pub mod nat_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26189,7 +26189,7 @@ pub mod nat_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnGatewayNatRule), @@ -26263,7 +26263,7 @@ pub mod nat_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -26342,7 +26342,7 @@ pub mod nat_rules { } } pub mod list_by_vpn_gateway { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26366,7 +26366,7 @@ pub mod nat_rules { } } pub mod p2s_vpn_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -26415,7 +26415,7 @@ pub mod p2s_vpn_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26496,7 +26496,7 @@ pub mod p2s_vpn_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -26577,7 +26577,7 @@ pub mod p2s_vpn_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -26649,7 +26649,7 @@ pub mod p2s_vpn_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -26728,7 +26728,7 @@ pub mod p2s_vpn_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26794,7 +26794,7 @@ pub mod p2s_vpn_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26866,7 +26866,7 @@ pub mod p2s_vpn_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -26947,7 +26947,7 @@ pub mod p2s_vpn_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnProfileResponse), @@ -27029,7 +27029,7 @@ pub mod p2s_vpn_gateways { } } pub mod get_p2s_vpn_connection_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnGateway), @@ -27112,7 +27112,7 @@ pub mod p2s_vpn_gateways { } } pub mod get_p2s_vpn_connection_health_detailed { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(P2sVpnConnectionHealth), @@ -27190,7 +27190,7 @@ pub mod p2s_vpn_gateways { } } pub mod disconnect_p2s_vpn_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -27219,7 +27219,7 @@ pub mod p2s_vpn_gateways { } } pub mod vpn_server_configurations_associated_with_virtual_wan { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -27270,7 +27270,7 @@ pub mod vpn_server_configurations_associated_with_virtual_wan { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnServerConfigurationsResponse), @@ -27299,7 +27299,7 @@ pub mod vpn_server_configurations_associated_with_virtual_wan { } } pub mod virtual_hub_route_table_v2s { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -27350,7 +27350,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27433,7 +27433,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualHubRouteTableV2), @@ -27507,7 +27507,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -27583,7 +27583,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27607,7 +27607,7 @@ pub mod virtual_hub_route_table_v2s { } } pub mod express_route_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -27655,7 +27655,7 @@ pub mod express_route_gateways { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27728,7 +27728,7 @@ pub mod express_route_gateways { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27798,7 +27798,7 @@ pub mod express_route_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27879,7 +27879,7 @@ pub mod express_route_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteGateway), @@ -27960,7 +27960,7 @@ pub mod express_route_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -28032,7 +28032,7 @@ pub mod express_route_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -28062,7 +28062,7 @@ pub mod express_route_gateways { } } pub mod express_route_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -28113,7 +28113,7 @@ pub mod express_route_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28196,7 +28196,7 @@ pub mod express_route_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteConnection), @@ -28270,7 +28270,7 @@ pub mod express_route_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -28346,7 +28346,7 @@ pub mod express_route_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28370,7 +28370,7 @@ pub mod express_route_connections { } } pub mod virtual_hub_bgp_connection { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -28421,7 +28421,7 @@ pub mod virtual_hub_bgp_connection { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28504,7 +28504,7 @@ pub mod virtual_hub_bgp_connection { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BgpConnection), @@ -28578,7 +28578,7 @@ pub mod virtual_hub_bgp_connection { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -28608,7 +28608,7 @@ pub mod virtual_hub_bgp_connection { } } pub mod virtual_hub_bgp_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -28657,7 +28657,7 @@ pub mod virtual_hub_bgp_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28734,7 +28734,7 @@ pub mod virtual_hub_bgp_connections { } } pub mod list_learned_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PeerRouteList), @@ -28818,7 +28818,7 @@ pub mod virtual_hub_bgp_connections { } } pub mod list_advertised_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PeerRouteList), @@ -28847,7 +28847,7 @@ pub mod virtual_hub_bgp_connections { } } pub mod virtual_hub_ip_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -28898,7 +28898,7 @@ pub mod virtual_hub_ip_configuration { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28981,7 +28981,7 @@ pub mod virtual_hub_ip_configuration { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HubIpConfiguration), @@ -29055,7 +29055,7 @@ pub mod virtual_hub_ip_configuration { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -29131,7 +29131,7 @@ pub mod virtual_hub_ip_configuration { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29155,7 +29155,7 @@ pub mod virtual_hub_ip_configuration { } } pub mod hub_route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -29206,7 +29206,7 @@ pub mod hub_route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29289,7 +29289,7 @@ pub mod hub_route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HubRouteTable), @@ -29363,7 +29363,7 @@ pub mod hub_route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -29439,7 +29439,7 @@ pub mod hub_route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29463,7 +29463,7 @@ pub mod hub_route_tables { } } pub mod virtual_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -29512,7 +29512,7 @@ pub mod virtual_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29593,7 +29593,7 @@ pub mod virtual_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGateway), @@ -29674,7 +29674,7 @@ pub mod virtual_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -29746,7 +29746,7 @@ pub mod virtual_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -29820,7 +29820,7 @@ pub mod virtual_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29893,7 +29893,7 @@ pub mod virtual_network_gateways { } } pub mod list_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29969,7 +29969,7 @@ pub mod virtual_network_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -30046,7 +30046,7 @@ pub mod virtual_network_gateways { } } pub mod reset_vpn_client_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -30129,7 +30129,7 @@ pub mod virtual_network_gateways { } } pub mod generatevpnclientpackage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -30210,7 +30210,7 @@ pub mod virtual_network_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -30292,7 +30292,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpn_profile_package_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -30376,7 +30376,7 @@ pub mod virtual_network_gateways { } } pub mod get_bgp_peer_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BgpPeerStatusListResult), @@ -30457,7 +30457,7 @@ pub mod virtual_network_gateways { } } pub mod supported_vpn_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30532,7 +30532,7 @@ pub mod virtual_network_gateways { } } pub mod get_learned_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -30616,7 +30616,7 @@ pub mod virtual_network_gateways { } } pub mod get_advertised_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -30699,7 +30699,7 @@ pub mod virtual_network_gateways { } } pub mod set_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -30780,7 +30780,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30857,7 +30857,7 @@ pub mod virtual_network_gateways { } } pub mod vpn_device_configuration_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -30937,7 +30937,7 @@ pub mod virtual_network_gateways { } } pub mod start_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -31018,7 +31018,7 @@ pub mod virtual_network_gateways { } } pub mod stop_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -31100,7 +31100,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpnclient_connection_health { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VpnClientConnectionHealthDetailListResult), @@ -31176,7 +31176,7 @@ pub mod virtual_network_gateways { } } pub mod disconnect_virtual_network_gateway_vpn_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -31205,7 +31205,7 @@ pub mod virtual_network_gateways { } } pub mod virtual_network_gateway_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -31254,7 +31254,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31335,7 +31335,7 @@ pub mod virtual_network_gateway_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGatewayConnection), @@ -31416,7 +31416,7 @@ pub mod virtual_network_gateway_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -31488,7 +31488,7 @@ pub mod virtual_network_gateway_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -31567,7 +31567,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31648,7 +31648,7 @@ pub mod virtual_network_gateway_connections { } } pub mod set_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ConnectionSharedKey), @@ -31721,7 +31721,7 @@ pub mod virtual_network_gateway_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -31797,7 +31797,7 @@ pub mod virtual_network_gateway_connections { } } pub mod reset_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionResetSharedKey), @@ -31882,7 +31882,7 @@ pub mod virtual_network_gateway_connections { } } pub mod start_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -31963,7 +31963,7 @@ pub mod virtual_network_gateway_connections { } } pub mod stop_packet_capture { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -32043,7 +32043,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_ike_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -32117,7 +32117,7 @@ pub mod virtual_network_gateway_connections { } } pub mod reset_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32141,7 +32141,7 @@ pub mod virtual_network_gateway_connections { } } pub mod local_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -32190,7 +32190,7 @@ pub mod local_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32271,7 +32271,7 @@ pub mod local_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LocalNetworkGateway), @@ -32351,7 +32351,7 @@ pub mod local_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32418,7 +32418,7 @@ pub mod local_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -32492,7 +32492,7 @@ pub mod local_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32516,7 +32516,7 @@ pub mod local_network_gateways { } } pub mod virtual_network_gateway_nat_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -32567,7 +32567,7 @@ pub mod virtual_network_gateway_nat_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32650,7 +32650,7 @@ pub mod virtual_network_gateway_nat_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGatewayNatRule), @@ -32724,7 +32724,7 @@ pub mod virtual_network_gateway_nat_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -32805,7 +32805,7 @@ pub mod virtual_network_gateway_nat_rules { } } pub mod list_by_virtual_network_gateway { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32829,7 +32829,7 @@ pub mod virtual_network_gateway_nat_rules { } } pub mod express_route_cross_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -32874,7 +32874,7 @@ pub mod express_route_cross_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -32947,7 +32947,7 @@ pub mod express_route_cross_connections { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33017,7 +33017,7 @@ pub mod express_route_cross_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33092,7 +33092,7 @@ pub mod express_route_cross_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33167,7 +33167,7 @@ pub mod express_route_cross_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33246,7 +33246,7 @@ pub mod express_route_cross_connections { } } pub mod list_arp_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsArpTableListResult), @@ -33324,7 +33324,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionsRoutesTableSummaryListResult), @@ -33408,7 +33408,7 @@ pub mod express_route_cross_connections { } } pub mod list_routes_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCircuitsRoutesTableListResult), @@ -33437,7 +33437,7 @@ pub mod express_route_cross_connections { } } pub mod express_route_cross_connection_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -33486,7 +33486,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33558,7 +33558,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33641,7 +33641,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteCrossConnectionPeering), @@ -33715,7 +33715,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -33745,7 +33745,7 @@ pub mod express_route_cross_connection_peerings { } } pub mod express_route_ports_locations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -33790,7 +33790,7 @@ pub mod express_route_ports_locations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33858,7 +33858,7 @@ pub mod express_route_ports_locations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -33882,7 +33882,7 @@ pub mod express_route_ports_locations { } } pub mod express_route_ports { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -33931,7 +33931,7 @@ pub mod express_route_ports { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34012,7 +34012,7 @@ pub mod express_route_ports { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRoutePort), @@ -34092,7 +34092,7 @@ pub mod express_route_ports { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34159,7 +34159,7 @@ pub mod express_route_ports { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -34238,7 +34238,7 @@ pub mod express_route_ports { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34304,7 +34304,7 @@ pub mod express_route_ports { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34379,7 +34379,7 @@ pub mod express_route_ports { } } pub mod generate_loa { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34403,7 +34403,7 @@ pub mod express_route_ports { } } pub mod express_route_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -34454,7 +34454,7 @@ pub mod express_route_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34524,7 +34524,7 @@ pub mod express_route_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34548,7 +34548,7 @@ pub mod express_route_links { } } pub mod firewall_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -34601,7 +34601,7 @@ pub mod firewall_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34682,7 +34682,7 @@ pub mod firewall_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FirewallPolicy), @@ -34754,7 +34754,7 @@ pub mod firewall_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -34828,7 +34828,7 @@ pub mod firewall_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34897,7 +34897,7 @@ pub mod firewall_policies { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -34921,7 +34921,7 @@ pub mod firewall_policies { } } pub mod firewall_policy_rule_collection_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -34972,7 +34972,7 @@ pub mod firewall_policy_rule_collection_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35055,7 +35055,7 @@ pub mod firewall_policy_rule_collection_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FirewallPolicyRuleCollectionGroup), @@ -35129,7 +35129,7 @@ pub mod firewall_policy_rule_collection_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -35205,7 +35205,7 @@ pub mod firewall_policy_rule_collection_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35229,7 +35229,7 @@ pub mod firewall_policy_rule_collection_groups { } } pub mod ip_allocations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -35282,7 +35282,7 @@ pub mod ip_allocations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35363,7 +35363,7 @@ pub mod ip_allocations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IpAllocation), @@ -35443,7 +35443,7 @@ pub mod ip_allocations { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35510,7 +35510,7 @@ pub mod ip_allocations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -35582,7 +35582,7 @@ pub mod ip_allocations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35655,7 +35655,7 @@ pub mod ip_allocations { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35679,7 +35679,7 @@ pub mod ip_allocations { } } pub mod ip_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -35732,7 +35732,7 @@ pub mod ip_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35813,7 +35813,7 @@ pub mod ip_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IpGroup), @@ -35893,7 +35893,7 @@ pub mod ip_groups { } } pub mod update_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -35960,7 +35960,7 @@ pub mod ip_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -36039,7 +36039,7 @@ pub mod ip_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36105,7 +36105,7 @@ pub mod ip_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36129,7 +36129,7 @@ pub mod ip_groups { } } pub mod network_security_perimeters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -36178,7 +36178,7 @@ pub mod network_security_perimeters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36259,7 +36259,7 @@ pub mod network_security_perimeters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkSecurityPerimeter), @@ -36330,7 +36330,7 @@ pub mod network_security_perimeters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -36412,7 +36412,7 @@ pub mod network_security_perimeters { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36488,7 +36488,7 @@ pub mod network_security_perimeters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36512,7 +36512,7 @@ pub mod network_security_perimeters { } } pub mod perimeter_associable_resource_types { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -36559,7 +36559,7 @@ pub mod perimeter_associable_resource_types { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36583,7 +36583,7 @@ pub mod perimeter_associable_resource_types { } } pub mod network_virtual_appliances { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -36636,7 +36636,7 @@ pub mod network_virtual_appliances { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36717,7 +36717,7 @@ pub mod network_virtual_appliances { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkVirtualAppliance), @@ -36797,7 +36797,7 @@ pub mod network_virtual_appliances { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -36864,7 +36864,7 @@ pub mod network_virtual_appliances { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -36943,7 +36943,7 @@ pub mod network_virtual_appliances { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37009,7 +37009,7 @@ pub mod network_virtual_appliances { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37033,7 +37033,7 @@ pub mod network_virtual_appliances { } } pub mod virtual_appliance_sites { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -37084,7 +37084,7 @@ pub mod virtual_appliance_sites { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37167,7 +37167,7 @@ pub mod virtual_appliance_sites { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualApplianceSite), @@ -37241,7 +37241,7 @@ pub mod virtual_appliance_sites { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -37317,7 +37317,7 @@ pub mod virtual_appliance_sites { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37341,7 +37341,7 @@ pub mod virtual_appliance_sites { } } pub mod virtual_appliance_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -37386,7 +37386,7 @@ pub mod virtual_appliance_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37454,7 +37454,7 @@ pub mod virtual_appliance_skus { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37478,7 +37478,7 @@ pub mod virtual_appliance_skus { } } pub mod inbound_security_rule { - use crate::models::*; + use super::{models, models::*}; pub async fn create_or_update( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -37540,7 +37540,7 @@ pub mod inbound_security_rule { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(InboundSecurityRule), @@ -37569,7 +37569,7 @@ pub mod inbound_security_rule { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Network/operations", operation_config.base_path(),); @@ -37607,7 +37607,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37631,7 +37631,7 @@ pub mod operations { } } pub mod public_ip_prefixes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -37684,7 +37684,7 @@ pub mod public_ip_prefixes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37765,7 +37765,7 @@ pub mod public_ip_prefixes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpPrefix), @@ -37845,7 +37845,7 @@ pub mod public_ip_prefixes { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -37912,7 +37912,7 @@ pub mod public_ip_prefixes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -37987,7 +37987,7 @@ pub mod public_ip_prefixes { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38055,7 +38055,7 @@ pub mod public_ip_prefixes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38079,7 +38079,7 @@ pub mod public_ip_prefixes { } } pub mod route_filters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -38132,7 +38132,7 @@ pub mod route_filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38213,7 +38213,7 @@ pub mod route_filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilter), @@ -38293,7 +38293,7 @@ pub mod route_filters { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38360,7 +38360,7 @@ pub mod route_filters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -38439,7 +38439,7 @@ pub mod route_filters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38505,7 +38505,7 @@ pub mod route_filters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38529,7 +38529,7 @@ pub mod route_filters { } } pub mod route_filter_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -38580,7 +38580,7 @@ pub mod route_filter_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38663,7 +38663,7 @@ pub mod route_filter_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteFilterRule), @@ -38737,7 +38737,7 @@ pub mod route_filter_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -38816,7 +38816,7 @@ pub mod route_filter_rules { } } pub mod list_by_route_filter { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38840,7 +38840,7 @@ pub mod route_filter_rules { } } pub mod security_partner_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -38889,7 +38889,7 @@ pub mod security_partner_providers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -38970,7 +38970,7 @@ pub mod security_partner_providers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(SecurityPartnerProvider), @@ -39050,7 +39050,7 @@ pub mod security_partner_providers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -39117,7 +39117,7 @@ pub mod security_partner_providers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -39196,7 +39196,7 @@ pub mod security_partner_providers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -39262,7 +39262,7 @@ pub mod security_partner_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -39286,7 +39286,7 @@ pub mod security_partner_providers { } } pub mod bgp_service_communities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -39331,7 +39331,7 @@ pub mod bgp_service_communities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -39355,7 +39355,7 @@ pub mod bgp_service_communities { } } pub mod service_tags { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -39402,7 +39402,7 @@ pub mod service_tags { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -39426,7 +39426,7 @@ pub mod service_tags { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -39473,7 +39473,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -39497,7 +39497,7 @@ pub mod usages { } } pub mod virtual_routers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -39550,7 +39550,7 @@ pub mod virtual_routers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -39631,7 +39631,7 @@ pub mod virtual_routers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(VirtualRouter), @@ -39703,7 +39703,7 @@ pub mod virtual_routers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -39782,7 +39782,7 @@ pub mod virtual_routers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -39848,7 +39848,7 @@ pub mod virtual_routers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -39872,7 +39872,7 @@ pub mod virtual_routers { } } pub mod virtual_router_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -39923,7 +39923,7 @@ pub mod virtual_router_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -40006,7 +40006,7 @@ pub mod virtual_router_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(VirtualRouterPeering), @@ -40080,7 +40080,7 @@ pub mod virtual_router_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -40156,7 +40156,7 @@ pub mod virtual_router_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -40180,7 +40180,7 @@ pub mod virtual_router_peerings { } } pub mod web_application_firewall_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -40227,7 +40227,7 @@ pub mod web_application_firewall_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -40296,7 +40296,7 @@ pub mod web_application_firewall_policies { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -40366,7 +40366,7 @@ pub mod web_application_firewall_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -40447,7 +40447,7 @@ pub mod web_application_firewall_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WebApplicationFirewallPolicy), @@ -40519,7 +40519,7 @@ pub mod web_application_firewall_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, diff --git a/services/mgmt/network/src/profile_hybrid_2020_09_01/operations.rs b/services/mgmt/network/src/profile_hybrid_2020_09_01/operations.rs index a0b19ad159..2c170612b7 100644 --- a/services/mgmt/network/src/profile_hybrid_2020_09_01/operations.rs +++ b/services/mgmt/network/src/profile_hybrid_2020_09_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod virtual_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod virtual_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod virtual_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGateway), @@ -202,7 +202,7 @@ pub mod virtual_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -264,7 +264,7 @@ pub mod virtual_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -333,7 +333,7 @@ pub mod virtual_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -401,7 +401,7 @@ pub mod virtual_network_gateways { } } pub mod list_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -472,7 +472,7 @@ pub mod virtual_network_gateways { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -544,7 +544,7 @@ pub mod virtual_network_gateways { } } pub mod reset_vpn_client_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -622,7 +622,7 @@ pub mod virtual_network_gateways { } } pub mod generatevpnclientpackage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -698,7 +698,7 @@ pub mod virtual_network_gateways { } } pub mod generate_vpn_profile { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -775,7 +775,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpn_profile_package_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(String), @@ -854,7 +854,7 @@ pub mod virtual_network_gateways { } } pub mod get_bgp_peer_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BgpPeerStatusListResult), @@ -930,7 +930,7 @@ pub mod virtual_network_gateways { } } pub mod supported_vpn_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1000,7 +1000,7 @@ pub mod virtual_network_gateways { } } pub mod get_learned_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -1079,7 +1079,7 @@ pub mod virtual_network_gateways { } } pub mod get_advertised_routes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayRouteListResult), @@ -1157,7 +1157,7 @@ pub mod virtual_network_gateways { } } pub mod set_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1233,7 +1233,7 @@ pub mod virtual_network_gateways { } } pub mod get_vpnclient_ipsec_parameters { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1305,7 +1305,7 @@ pub mod virtual_network_gateways { } } pub mod vpn_device_configuration_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1326,7 +1326,7 @@ pub mod virtual_network_gateways { } } pub mod virtual_network_gateway_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1373,7 +1373,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1449,7 +1449,7 @@ pub mod virtual_network_gateway_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkGatewayConnection), @@ -1524,7 +1524,7 @@ pub mod virtual_network_gateway_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1586,7 +1586,7 @@ pub mod virtual_network_gateway_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1660,7 +1660,7 @@ pub mod virtual_network_gateway_connections { } } pub mod get_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1736,7 +1736,7 @@ pub mod virtual_network_gateway_connections { } } pub mod set_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ConnectionSharedKey), @@ -1804,7 +1804,7 @@ pub mod virtual_network_gateway_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1875,7 +1875,7 @@ pub mod virtual_network_gateway_connections { } } pub mod reset_shared_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionResetSharedKey), @@ -1901,7 +1901,7 @@ pub mod virtual_network_gateway_connections { } } pub mod local_network_gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1948,7 +1948,7 @@ pub mod local_network_gateways { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2024,7 +2024,7 @@ pub mod local_network_gateways { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LocalNetworkGateway), @@ -2099,7 +2099,7 @@ pub mod local_network_gateways { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2161,7 +2161,7 @@ pub mod local_network_gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2230,7 +2230,7 @@ pub mod local_network_gateways { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2251,7 +2251,7 @@ pub mod local_network_gateways { } } pub mod virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2302,7 +2302,7 @@ pub mod virtual_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2378,7 +2378,7 @@ pub mod virtual_networks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetwork), @@ -2453,7 +2453,7 @@ pub mod virtual_networks { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2515,7 +2515,7 @@ pub mod virtual_networks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2585,7 +2585,7 @@ pub mod virtual_networks { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2648,7 +2648,7 @@ pub mod virtual_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2720,7 +2720,7 @@ pub mod virtual_networks { } } pub mod check_ip_address_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2788,7 +2788,7 @@ pub mod virtual_networks { } } pub mod list_usage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2809,7 +2809,7 @@ pub mod virtual_networks { } } pub mod subnets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2862,7 +2862,7 @@ pub mod subnets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2940,7 +2940,7 @@ pub mod subnets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Subnet), @@ -3009,7 +3009,7 @@ pub mod subnets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3080,7 +3080,7 @@ pub mod subnets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3101,7 +3101,7 @@ pub mod subnets { } } pub mod virtual_network_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3150,7 +3150,7 @@ pub mod virtual_network_peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3228,7 +3228,7 @@ pub mod virtual_network_peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkPeering), @@ -3297,7 +3297,7 @@ pub mod virtual_network_peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3368,7 +3368,7 @@ pub mod virtual_network_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3389,7 +3389,7 @@ pub mod virtual_network_peerings { } } pub mod network_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3440,7 +3440,7 @@ pub mod network_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3516,7 +3516,7 @@ pub mod network_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkSecurityGroup), @@ -3591,7 +3591,7 @@ pub mod network_security_groups { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3653,7 +3653,7 @@ pub mod network_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3723,7 +3723,7 @@ pub mod network_security_groups { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3786,7 +3786,7 @@ pub mod network_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3807,7 +3807,7 @@ pub mod network_security_groups { } } pub mod security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3856,7 +3856,7 @@ pub mod security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3934,7 +3934,7 @@ pub mod security_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecurityRule), @@ -4003,7 +4003,7 @@ pub mod security_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4074,7 +4074,7 @@ pub mod security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4095,7 +4095,7 @@ pub mod security_rules { } } pub mod default_security_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4142,7 +4142,7 @@ pub mod default_security_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4209,7 +4209,7 @@ pub mod default_security_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4230,7 +4230,7 @@ pub mod default_security_rules { } } pub mod network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4281,7 +4281,7 @@ pub mod network_interfaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4357,7 +4357,7 @@ pub mod network_interfaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NetworkInterface), @@ -4432,7 +4432,7 @@ pub mod network_interfaces { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4494,7 +4494,7 @@ pub mod network_interfaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4564,7 +4564,7 @@ pub mod network_interfaces { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4627,7 +4627,7 @@ pub mod network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4699,7 +4699,7 @@ pub mod network_interfaces { } } pub mod get_effective_route_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveRouteListResult), @@ -4776,7 +4776,7 @@ pub mod network_interfaces { } } pub mod list_effective_network_security_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EffectiveNetworkSecurityGroupListResult), @@ -4802,7 +4802,7 @@ pub mod network_interfaces { } } pub mod network_interface_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4849,7 +4849,7 @@ pub mod network_interface_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4916,7 +4916,7 @@ pub mod network_interface_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4937,7 +4937,7 @@ pub mod network_interface_ip_configurations { } } pub mod network_interface_load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4984,7 +4984,7 @@ pub mod network_interface_load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5005,7 +5005,7 @@ pub mod network_interface_load_balancers { } } pub mod network_interface_tap_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5054,7 +5054,7 @@ pub mod network_interface_tap_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5132,7 +5132,7 @@ pub mod network_interface_tap_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkInterfaceTapConfiguration), @@ -5201,7 +5201,7 @@ pub mod network_interface_tap_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5272,7 +5272,7 @@ pub mod network_interface_tap_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5293,7 +5293,7 @@ pub mod network_interface_tap_configurations { } } pub mod load_balancers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5344,7 +5344,7 @@ pub mod load_balancers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5420,7 +5420,7 @@ pub mod load_balancers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(LoadBalancer), @@ -5495,7 +5495,7 @@ pub mod load_balancers { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5557,7 +5557,7 @@ pub mod load_balancers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -5627,7 +5627,7 @@ pub mod load_balancers { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5690,7 +5690,7 @@ pub mod load_balancers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5711,7 +5711,7 @@ pub mod load_balancers { } } pub mod load_balancer_backend_address_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5758,7 +5758,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5825,7 +5825,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5846,7 +5846,7 @@ pub mod load_balancer_backend_address_pools { } } pub mod load_balancer_frontend_ip_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5893,7 +5893,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5960,7 +5960,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5981,7 +5981,7 @@ pub mod load_balancer_frontend_ip_configurations { } } pub mod inbound_nat_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6028,7 +6028,7 @@ pub mod inbound_nat_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6099,7 +6099,7 @@ pub mod inbound_nat_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6177,7 +6177,7 @@ pub mod inbound_nat_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(InboundNatRule), @@ -6246,7 +6246,7 @@ pub mod inbound_nat_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -6273,7 +6273,7 @@ pub mod inbound_nat_rules { } } pub mod load_balancer_load_balancing_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6320,7 +6320,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6387,7 +6387,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6408,7 +6408,7 @@ pub mod load_balancer_load_balancing_rules { } } pub mod load_balancer_outbound_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6455,7 +6455,7 @@ pub mod load_balancer_outbound_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6522,7 +6522,7 @@ pub mod load_balancer_outbound_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6543,7 +6543,7 @@ pub mod load_balancer_outbound_rules { } } pub mod load_balancer_network_interfaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6590,7 +6590,7 @@ pub mod load_balancer_network_interfaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6611,7 +6611,7 @@ pub mod load_balancer_network_interfaces { } } pub mod load_balancer_probes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6658,7 +6658,7 @@ pub mod load_balancer_probes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6725,7 +6725,7 @@ pub mod load_balancer_probes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6746,7 +6746,7 @@ pub mod load_balancer_probes { } } pub mod public_ip_addresses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6797,7 +6797,7 @@ pub mod public_ip_addresses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6873,7 +6873,7 @@ pub mod public_ip_addresses { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PublicIpAddress), @@ -6948,7 +6948,7 @@ pub mod public_ip_addresses { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7010,7 +7010,7 @@ pub mod public_ip_addresses { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -7080,7 +7080,7 @@ pub mod public_ip_addresses { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7143,7 +7143,7 @@ pub mod public_ip_addresses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7164,7 +7164,7 @@ pub mod public_ip_addresses { } } pub mod route_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7215,7 +7215,7 @@ pub mod route_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7291,7 +7291,7 @@ pub mod route_tables { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RouteTable), @@ -7366,7 +7366,7 @@ pub mod route_tables { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7428,7 +7428,7 @@ pub mod route_tables { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -7497,7 +7497,7 @@ pub mod route_tables { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7561,7 +7561,7 @@ pub mod route_tables { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7582,7 +7582,7 @@ pub mod route_tables { } } pub mod routes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7631,7 +7631,7 @@ pub mod routes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7709,7 +7709,7 @@ pub mod routes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Route), @@ -7778,7 +7778,7 @@ pub mod routes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7849,7 +7849,7 @@ pub mod routes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7870,7 +7870,7 @@ pub mod routes { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Network/operations", operation_config.base_path(),); @@ -7906,7 +7906,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/notificationhubs/Cargo.toml b/services/mgmt/notificationhubs/Cargo.toml index 9a9d7687fb..f5e964625f 100644 --- a/services/mgmt/notificationhubs/Cargo.toml +++ b/services/mgmt/notificationhubs/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2017-04"] +no-default-version = [] "package-2017-04" = [] "package-2016-03" = [] "package-2014-09" = [] diff --git a/services/mgmt/notificationhubs/src/lib.rs b/services/mgmt/notificationhubs/src/lib.rs index 0155b6edda..5243a38033 100644 --- a/services/mgmt/notificationhubs/src/lib.rs +++ b/services/mgmt/notificationhubs/src/lib.rs @@ -1,17 +1,25 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2017-04")] -mod package_2017_04; -#[cfg(feature = "package-2017-04")] +pub mod package_2017_04; +#[cfg(all(feature = "package-2017-04", not(feature = "no-default-version")))] pub use package_2017_04::{models, operations, API_VERSION}; #[cfg(feature = "package-2016-03")] -mod package_2016_03; -#[cfg(feature = "package-2016-03")] +pub mod package_2016_03; +#[cfg(all(feature = "package-2016-03", not(feature = "no-default-version")))] pub use package_2016_03::{models, operations, API_VERSION}; #[cfg(feature = "package-2014-09")] -mod package_2014_09; +pub mod package_2014_09; use azure_core::setters; -#[cfg(feature = "package-2014-09")] +#[cfg(all(feature = "package-2014-09", not(feature = "no-default-version")))] pub use package_2014_09::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -35,7 +43,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/notificationhubs/src/package_2014_09/operations.rs b/services/mgmt/notificationhubs/src/package_2014_09/operations.rs index 1522c21fe9..e77c41aaef 100644 --- a/services/mgmt/notificationhubs/src/package_2014_09/operations.rs +++ b/services/mgmt/notificationhubs/src/package_2014_09/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod namespaces { - use crate::models::*; + use super::{models, models::*}; pub async fn check_availability( operation_config: &crate::OperationConfig, parameters: &CheckAvailabilityParameters, @@ -52,7 +52,7 @@ pub mod namespaces { } } pub mod check_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -117,7 +117,7 @@ pub mod namespaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -193,7 +193,7 @@ pub mod namespaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NamespaceResource), @@ -260,7 +260,7 @@ pub mod namespaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -339,7 +339,7 @@ pub mod namespaces { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -413,7 +413,7 @@ pub mod namespaces { } } pub mod create_or_update_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -481,7 +481,7 @@ pub mod namespaces { } } pub mod delete_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -544,7 +544,7 @@ pub mod namespaces { } } pub mod get_long_running_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -614,7 +614,7 @@ pub mod namespaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -678,7 +678,7 @@ pub mod namespaces { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -749,7 +749,7 @@ pub mod namespaces { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -820,7 +820,7 @@ pub mod namespaces { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -841,7 +841,7 @@ pub mod namespaces { } } pub mod notification_hubs { - use crate::models::*; + use super::{models, models::*}; pub async fn check_availability( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -893,7 +893,7 @@ pub mod notification_hubs { } } pub mod check_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -960,7 +960,7 @@ pub mod notification_hubs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1038,7 +1038,7 @@ pub mod notification_hubs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NotificationHubResource), @@ -1105,7 +1105,7 @@ pub mod notification_hubs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1172,7 +1172,7 @@ pub mod notification_hubs { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1240,7 +1240,7 @@ pub mod notification_hubs { } } pub mod create_or_update_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1302,7 +1302,7 @@ pub mod notification_hubs { } } pub mod delete_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1372,7 +1372,7 @@ pub mod notification_hubs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1438,7 +1438,7 @@ pub mod notification_hubs { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1503,7 +1503,7 @@ pub mod notification_hubs { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1574,7 +1574,7 @@ pub mod notification_hubs { } } pub mod get_pns_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/notificationhubs/src/package_2016_03/operations.rs b/services/mgmt/notificationhubs/src/package_2016_03/operations.rs index 8401be7192..0f156ee7df 100644 --- a/services/mgmt/notificationhubs/src/package_2016_03/operations.rs +++ b/services/mgmt/notificationhubs/src/package_2016_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod namespaces { - use crate::models::*; + use super::{models, models::*}; pub async fn check_availability( operation_config: &crate::OperationConfig, parameters: &CheckAvailabilityParameters, @@ -52,7 +52,7 @@ pub mod namespaces { } } pub mod check_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -117,7 +117,7 @@ pub mod namespaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -193,7 +193,7 @@ pub mod namespaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NamespaceResource), @@ -265,7 +265,7 @@ pub mod namespaces { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -327,7 +327,7 @@ pub mod namespaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -405,7 +405,7 @@ pub mod namespaces { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -479,7 +479,7 @@ pub mod namespaces { } } pub mod create_or_update_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -547,7 +547,7 @@ pub mod namespaces { } } pub mod delete_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -615,7 +615,7 @@ pub mod namespaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -679,7 +679,7 @@ pub mod namespaces { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -749,7 +749,7 @@ pub mod namespaces { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -820,7 +820,7 @@ pub mod namespaces { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -892,7 +892,7 @@ pub mod namespaces { } } pub mod regenerate_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -913,7 +913,7 @@ pub mod namespaces { } } pub mod notification_hubs { - use crate::models::*; + use super::{models, models::*}; pub async fn check_availability( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -965,7 +965,7 @@ pub mod notification_hubs { } } pub mod check_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1032,7 +1032,7 @@ pub mod notification_hubs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1110,7 +1110,7 @@ pub mod notification_hubs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NotificationHubResource), @@ -1177,7 +1177,7 @@ pub mod notification_hubs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1243,7 +1243,7 @@ pub mod notification_hubs { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1311,7 +1311,7 @@ pub mod notification_hubs { } } pub mod create_or_update_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1373,7 +1373,7 @@ pub mod notification_hubs { } } pub mod delete_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1443,7 +1443,7 @@ pub mod notification_hubs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1508,7 +1508,7 @@ pub mod notification_hubs { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1573,7 +1573,7 @@ pub mod notification_hubs { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1639,7 +1639,7 @@ pub mod notification_hubs { } } pub mod regenerate_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1710,7 +1710,7 @@ pub mod notification_hubs { } } pub mod get_pns_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/notificationhubs/src/package_2017_04/operations.rs b/services/mgmt/notificationhubs/src/package_2017_04/operations.rs index c3213e79dd..b23c7dec2d 100644 --- a/services/mgmt/notificationhubs/src/package_2017_04/operations.rs +++ b/services/mgmt/notificationhubs/src/package_2017_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.NotificationHubs/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod namespaces { - use crate::models::*; + use super::{models, models::*}; pub async fn check_availability( operation_config: &crate::OperationConfig, parameters: &CheckAvailabilityParameters, @@ -114,7 +114,7 @@ pub mod namespaces { } } pub mod check_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -179,7 +179,7 @@ pub mod namespaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -255,7 +255,7 @@ pub mod namespaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NamespaceResource), @@ -327,7 +327,7 @@ pub mod namespaces { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -389,7 +389,7 @@ pub mod namespaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -467,7 +467,7 @@ pub mod namespaces { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -541,7 +541,7 @@ pub mod namespaces { } } pub mod create_or_update_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -609,7 +609,7 @@ pub mod namespaces { } } pub mod delete_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -677,7 +677,7 @@ pub mod namespaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -741,7 +741,7 @@ pub mod namespaces { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -811,7 +811,7 @@ pub mod namespaces { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -882,7 +882,7 @@ pub mod namespaces { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -954,7 +954,7 @@ pub mod namespaces { } } pub mod regenerate_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -975,7 +975,7 @@ pub mod namespaces { } } pub mod notification_hubs { - use crate::models::*; + use super::{models, models::*}; pub async fn check_notification_hub_availability( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1029,7 +1029,7 @@ pub mod notification_hubs { } } pub mod check_notification_hub_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1096,7 +1096,7 @@ pub mod notification_hubs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1174,7 +1174,7 @@ pub mod notification_hubs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NotificationHubResource), @@ -1252,7 +1252,7 @@ pub mod notification_hubs { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1314,7 +1314,7 @@ pub mod notification_hubs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1390,7 +1390,7 @@ pub mod notification_hubs { } } pub mod debug_send { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1456,7 +1456,7 @@ pub mod notification_hubs { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1524,7 +1524,7 @@ pub mod notification_hubs { } } pub mod create_or_update_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1586,7 +1586,7 @@ pub mod notification_hubs { } } pub mod delete_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1656,7 +1656,7 @@ pub mod notification_hubs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1721,7 +1721,7 @@ pub mod notification_hubs { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1786,7 +1786,7 @@ pub mod notification_hubs { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1852,7 +1852,7 @@ pub mod notification_hubs { } } pub mod regenerate_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1923,7 +1923,7 @@ pub mod notification_hubs { } } pub mod get_pns_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/operationalinsights/Cargo.toml b/services/mgmt/operationalinsights/Cargo.toml index 3809efc850..286b7e17ac 100644 --- a/services/mgmt/operationalinsights/Cargo.toml +++ b/services/mgmt/operationalinsights/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2015-03"] +no-default-version = [] "package-2015-11-preview" = [] "package-2015-03" = [] "package-2019-08-preview" = [] diff --git a/services/mgmt/operationalinsights/src/lib.rs b/services/mgmt/operationalinsights/src/lib.rs index f746e16171..fa0f40effa 100644 --- a/services/mgmt/operationalinsights/src/lib.rs +++ b/services/mgmt/operationalinsights/src/lib.rs @@ -1,41 +1,49 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2015-11-preview")] -mod package_2015_11_preview; -#[cfg(feature = "package-2015-11-preview")] +pub mod package_2015_11_preview; +#[cfg(all(feature = "package-2015-11-preview", not(feature = "no-default-version")))] pub use package_2015_11_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2015-03")] -mod package_2015_03; -#[cfg(feature = "package-2015-03")] +pub mod package_2015_03; +#[cfg(all(feature = "package-2015-03", not(feature = "no-default-version")))] pub use package_2015_03::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-08-preview")] -mod package_2019_08_preview; -#[cfg(feature = "package-2019-08-preview")] +pub mod package_2019_08_preview; +#[cfg(all(feature = "package-2019-08-preview", not(feature = "no-default-version")))] pub use package_2019_08_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-09-preview")] -mod package_2019_09_preview; -#[cfg(feature = "package-2019-09-preview")] +pub mod package_2019_09_preview; +#[cfg(all(feature = "package-2019-09-preview", not(feature = "no-default-version")))] pub use package_2019_09_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-03-preview")] -mod package_2020_03_preview; -#[cfg(feature = "package-2020-03-preview")] +pub mod package_2020_03_preview; +#[cfg(all(feature = "package-2020-03-preview", not(feature = "no-default-version")))] pub use package_2020_03_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-08")] -mod package_2020_08; -#[cfg(feature = "package-2020-08")] +pub mod package_2020_08; +#[cfg(all(feature = "package-2020-08", not(feature = "no-default-version")))] pub use package_2020_08::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-10-only")] -mod package_2020_10_only; -#[cfg(feature = "package-2020-10-only")] +pub mod package_2020_10_only; +#[cfg(all(feature = "package-2020-10-only", not(feature = "no-default-version")))] pub use package_2020_10_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-10")] -mod package_2020_10; -#[cfg(feature = "package-2020-10")] +pub mod package_2020_10; +#[cfg(all(feature = "package-2020-10", not(feature = "no-default-version")))] pub use package_2020_10::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-06")] -mod package_2021_06; +pub mod package_2021_06; use azure_core::setters; -#[cfg(feature = "package-2021-06")] +#[cfg(all(feature = "package-2021-06", not(feature = "no-default-version")))] pub use package_2021_06::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -59,7 +67,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/operationalinsights/src/package_2015_03/operations.rs b/services/mgmt/operationalinsights/src/package_2015_03/operations.rs index bca06af2a5..2ffe2497b3 100644 --- a/services/mgmt/operationalinsights/src/package_2015_03/operations.rs +++ b/services/mgmt/operationalinsights/src/package_2015_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod storage_insights { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod storage_insights { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -131,7 +131,7 @@ pub mod storage_insights { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(StorageInsight), @@ -199,7 +199,7 @@ pub mod storage_insights { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -272,7 +272,7 @@ pub mod storage_insights { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -293,7 +293,7 @@ pub mod storage_insights { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list_link_targets( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -339,7 +339,7 @@ pub mod workspaces { } } pub mod list_link_targets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -408,7 +408,7 @@ pub mod workspaces { } } pub mod get_schema { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -475,7 +475,7 @@ pub mod workspaces { } } pub mod purge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -545,7 +545,7 @@ pub mod workspaces { } } pub mod get_purge_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -614,7 +614,7 @@ pub mod workspaces { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -685,7 +685,7 @@ pub mod workspaces { } } pub mod regenerate_shared_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -750,7 +750,7 @@ pub mod workspaces { } } pub mod delete_gateways { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -820,7 +820,7 @@ pub mod workspaces { } } pub mod available_service_tiers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -841,7 +841,7 @@ pub mod workspaces { } } pub mod saved_searches { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -890,7 +890,7 @@ pub mod saved_searches { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -962,7 +962,7 @@ pub mod saved_searches { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1024,7 +1024,7 @@ pub mod saved_searches { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1092,7 +1092,7 @@ pub mod saved_searches { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1113,7 +1113,7 @@ pub mod saved_searches { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -1152,7 +1152,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/operationalinsights/src/package_2015_11_preview/operations.rs b/services/mgmt/operationalinsights/src/package_2015_11_preview/operations.rs index c47d3abf90..510d9abd52 100644 --- a/services/mgmt/operationalinsights/src/package_2015_11_preview/operations.rs +++ b/services/mgmt/operationalinsights/src/package_2015_11_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod linked_services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod linked_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -131,7 +131,7 @@ pub mod linked_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LinkedService), @@ -199,7 +199,7 @@ pub mod linked_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -272,7 +272,7 @@ pub mod linked_services { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -293,7 +293,7 @@ pub mod linked_services { } } pub mod data_sources { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -342,7 +342,7 @@ pub mod data_sources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -420,7 +420,7 @@ pub mod data_sources { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataSource), @@ -488,7 +488,7 @@ pub mod data_sources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -567,7 +567,7 @@ pub mod data_sources { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -588,7 +588,7 @@ pub mod data_sources { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn disable_intelligence_pack( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -638,7 +638,7 @@ pub mod workspaces { } } pub mod disable_intelligence_pack { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -706,7 +706,7 @@ pub mod workspaces { } } pub mod enable_intelligence_pack { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -776,7 +776,7 @@ pub mod workspaces { } } pub mod list_intelligence_packs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -845,7 +845,7 @@ pub mod workspaces { } } pub mod get_shared_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -913,7 +913,7 @@ pub mod workspaces { } } pub mod list_usages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -983,7 +983,7 @@ pub mod workspaces { } } pub mod list_management_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1051,7 +1051,7 @@ pub mod workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1112,7 +1112,7 @@ pub mod workspaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1177,7 +1177,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1253,7 +1253,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -1325,7 +1325,7 @@ pub mod workspaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1386,7 +1386,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1412,7 +1412,7 @@ pub mod workspaces { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -1451,7 +1451,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1522,7 +1522,7 @@ pub async fn get_async_operations_status( } } pub mod get_async_operations_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/operationalinsights/src/package_2019_08_preview/operations.rs b/services/mgmt/operationalinsights/src/package_2019_08_preview/operations.rs index 64a80c9d92..b0f3cf9580 100644 --- a/services/mgmt/operationalinsights/src/package_2019_08_preview/operations.rs +++ b/services/mgmt/operationalinsights/src/package_2019_08_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -56,7 +56,7 @@ pub mod clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -122,7 +122,7 @@ pub mod clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -192,7 +192,7 @@ pub mod clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -262,7 +262,7 @@ pub mod clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -334,7 +334,7 @@ pub mod clusters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -400,7 +400,7 @@ pub mod clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -429,7 +429,7 @@ pub mod clusters { } } pub mod linked_services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -478,7 +478,7 @@ pub mod linked_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -556,7 +556,7 @@ pub mod linked_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LinkedService), @@ -624,7 +624,7 @@ pub mod linked_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -697,7 +697,7 @@ pub mod linked_services { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -718,7 +718,7 @@ pub mod linked_services { } } pub mod data_export { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -770,7 +770,7 @@ pub mod data_export { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -843,7 +843,7 @@ pub mod data_export { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -928,7 +928,7 @@ pub mod data_export { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataExport), @@ -1001,7 +1001,7 @@ pub mod data_export { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1027,7 +1027,7 @@ pub mod data_export { } } pub mod linked_storage_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1076,7 +1076,7 @@ pub mod linked_storage_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1148,7 +1148,7 @@ pub mod linked_storage_accounts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1210,7 +1210,7 @@ pub mod linked_storage_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1278,7 +1278,7 @@ pub mod linked_storage_accounts { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/operationalinsights/src/package_2019_09_preview/models.rs b/services/mgmt/operationalinsights/src/package_2019_09_preview/models.rs index b6c26e998b..68dca0ce7a 100644 --- a/services/mgmt/operationalinsights/src/package_2019_09_preview/models.rs +++ b/services/mgmt/operationalinsights/src/package_2019_09_preview/models.rs @@ -27,7 +27,7 @@ pub struct ErrorInfo { #[serde(default, skip_serializing_if = "Vec::is_empty")] pub details: Vec, #[serde(default, skip_serializing_if = "Option::is_none")] - pub innererror: Option, + pub innererror: Box>, #[serde(rename = "additionalProperties", default, skip_serializing_if = "Option::is_none")] pub additional_properties: Option, } diff --git a/services/mgmt/operationalinsights/src/package_2019_09_preview/operations.rs b/services/mgmt/operationalinsights/src/package_2019_09_preview/operations.rs index bf325d2d1e..b28679c692 100644 --- a/services/mgmt/operationalinsights/src/package_2019_09_preview/operations.rs +++ b/services/mgmt/operationalinsights/src/package_2019_09_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -45,7 +45,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -69,7 +69,7 @@ pub mod operations { } } pub mod query_packs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -114,7 +114,7 @@ pub mod query_packs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -187,7 +187,7 @@ pub mod query_packs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -257,7 +257,7 @@ pub mod query_packs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -332,7 +332,7 @@ pub mod query_packs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -407,7 +407,7 @@ pub mod query_packs { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -473,7 +473,7 @@ pub mod query_packs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -502,7 +502,7 @@ pub mod query_packs { } } pub mod queries { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -563,7 +563,7 @@ pub mod queries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -647,7 +647,7 @@ pub mod queries { } } pub mod search { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -719,7 +719,7 @@ pub mod queries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -793,7 +793,7 @@ pub mod queries { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -867,7 +867,7 @@ pub mod queries { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -935,7 +935,7 @@ pub mod queries { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/operationalinsights/src/package_2020_03_preview/operations.rs b/services/mgmt/operationalinsights/src/package_2020_03_preview/operations.rs index e1aaf9aa74..13cec4e36a 100644 --- a/services/mgmt/operationalinsights/src/package_2020_03_preview/operations.rs +++ b/services/mgmt/operationalinsights/src/package_2020_03_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod data_exports { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -56,7 +56,7 @@ pub mod data_exports { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -128,7 +128,7 @@ pub mod data_exports { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -211,7 +211,7 @@ pub mod data_exports { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataExport), @@ -284,7 +284,7 @@ pub mod data_exports { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -310,7 +310,7 @@ pub mod data_exports { } } pub mod data_sources { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -359,7 +359,7 @@ pub mod data_sources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -437,7 +437,7 @@ pub mod data_sources { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataSource), @@ -505,7 +505,7 @@ pub mod data_sources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -584,7 +584,7 @@ pub mod data_sources { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -605,7 +605,7 @@ pub mod data_sources { } } pub mod data_collector_logs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -660,7 +660,7 @@ pub mod data_collector_logs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -731,7 +731,7 @@ pub mod data_collector_logs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -804,7 +804,7 @@ pub mod data_collector_logs { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -828,7 +828,7 @@ pub mod data_collector_logs { } } pub mod intelligence_packs { - use crate::models::*; + use super::{models, models::*}; pub async fn disable( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -876,7 +876,7 @@ pub mod intelligence_packs { } } pub mod disable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -939,7 +939,7 @@ pub mod intelligence_packs { } } pub mod enable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1004,7 +1004,7 @@ pub mod intelligence_packs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1025,7 +1025,7 @@ pub mod intelligence_packs { } } pub mod linked_services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1074,7 +1074,7 @@ pub mod linked_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1152,7 +1152,7 @@ pub mod linked_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LinkedService), @@ -1225,7 +1225,7 @@ pub mod linked_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LinkedService), @@ -1298,7 +1298,7 @@ pub mod linked_services { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1319,7 +1319,7 @@ pub mod linked_services { } } pub mod linked_storage_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1368,7 +1368,7 @@ pub mod linked_storage_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1440,7 +1440,7 @@ pub mod linked_storage_accounts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1502,7 +1502,7 @@ pub mod linked_storage_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1570,7 +1570,7 @@ pub mod linked_storage_accounts { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1591,7 +1591,7 @@ pub mod linked_storage_accounts { } } pub mod management_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1638,7 +1638,7 @@ pub mod management_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1659,7 +1659,7 @@ pub mod management_groups { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -1698,7 +1698,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1719,7 +1719,7 @@ pub mod operations { } } pub mod operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -1766,7 +1766,7 @@ pub mod operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1787,7 +1787,7 @@ pub mod operation_statuses { } } pub mod shared_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn get_shared_keys( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1838,7 +1838,7 @@ pub mod shared_keys { } } pub mod get_shared_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1907,7 +1907,7 @@ pub mod shared_keys { } } pub mod regenerate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1928,7 +1928,7 @@ pub mod shared_keys { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1975,7 +1975,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1996,7 +1996,7 @@ pub mod usages { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2039,7 +2039,7 @@ pub mod workspaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2107,7 +2107,7 @@ pub mod workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2172,7 +2172,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2249,7 +2249,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -2322,7 +2322,7 @@ pub mod workspaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2388,7 +2388,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2415,7 +2415,7 @@ pub mod workspaces { } } pub mod deleted_workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2458,7 +2458,7 @@ pub mod deleted_workspaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2526,7 +2526,7 @@ pub mod deleted_workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2547,7 +2547,7 @@ pub mod deleted_workspaces { } } pub mod clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2599,7 +2599,7 @@ pub mod clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2665,7 +2665,7 @@ pub mod clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2735,7 +2735,7 @@ pub mod clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2817,7 +2817,7 @@ pub mod clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2895,7 +2895,7 @@ pub mod clusters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2961,7 +2961,7 @@ pub mod clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2990,7 +2990,7 @@ pub mod clusters { } } pub mod storage_insight_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3039,7 +3039,7 @@ pub mod storage_insight_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3117,7 +3117,7 @@ pub mod storage_insight_configs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(StorageInsight), @@ -3185,7 +3185,7 @@ pub mod storage_insight_configs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3258,7 +3258,7 @@ pub mod storage_insight_configs { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3279,7 +3279,7 @@ pub mod storage_insight_configs { } } pub mod saved_searches { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3328,7 +3328,7 @@ pub mod saved_searches { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3400,7 +3400,7 @@ pub mod saved_searches { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3462,7 +3462,7 @@ pub mod saved_searches { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3530,7 +3530,7 @@ pub mod saved_searches { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3551,7 +3551,7 @@ pub mod saved_searches { } } pub mod available_service_tiers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3601,7 +3601,7 @@ pub mod available_service_tiers { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3622,7 +3622,7 @@ pub mod available_service_tiers { } } pub mod gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn delete( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3666,7 +3666,7 @@ pub mod gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3687,7 +3687,7 @@ pub mod gateways { } } pub mod schema { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3735,7 +3735,7 @@ pub mod schema { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3756,7 +3756,7 @@ pub mod schema { } } pub mod workspace_purge { - use crate::models::*; + use super::{models, models::*}; pub async fn purge( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3805,7 +3805,7 @@ pub mod workspace_purge { } } pub mod purge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3875,7 +3875,7 @@ pub mod workspace_purge { } } pub mod get_purge_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3896,7 +3896,7 @@ pub mod workspace_purge { } } pub mod tables { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3948,7 +3948,7 @@ pub mod tables { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4020,7 +4020,7 @@ pub mod tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4094,7 +4094,7 @@ pub mod tables { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/operationalinsights/src/package_2020_08/operations.rs b/services/mgmt/operationalinsights/src/package_2020_08/operations.rs index 1d3da8dbce..ca299aff01 100644 --- a/services/mgmt/operationalinsights/src/package_2020_08/operations.rs +++ b/services/mgmt/operationalinsights/src/package_2020_08/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod data_exports { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -56,7 +56,7 @@ pub mod data_exports { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -128,7 +128,7 @@ pub mod data_exports { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -211,7 +211,7 @@ pub mod data_exports { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataExport), @@ -284,7 +284,7 @@ pub mod data_exports { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -310,7 +310,7 @@ pub mod data_exports { } } pub mod data_sources { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -359,7 +359,7 @@ pub mod data_sources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -437,7 +437,7 @@ pub mod data_sources { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataSource), @@ -505,7 +505,7 @@ pub mod data_sources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -584,7 +584,7 @@ pub mod data_sources { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -605,7 +605,7 @@ pub mod data_sources { } } pub mod intelligence_packs { - use crate::models::*; + use super::{models, models::*}; pub async fn disable( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -653,7 +653,7 @@ pub mod intelligence_packs { } } pub mod disable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -716,7 +716,7 @@ pub mod intelligence_packs { } } pub mod enable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -781,7 +781,7 @@ pub mod intelligence_packs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -802,7 +802,7 @@ pub mod intelligence_packs { } } pub mod linked_services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -851,7 +851,7 @@ pub mod linked_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -930,7 +930,7 @@ pub mod linked_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1005,7 +1005,7 @@ pub mod linked_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LinkedService), @@ -1079,7 +1079,7 @@ pub mod linked_services { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1100,7 +1100,7 @@ pub mod linked_services { } } pub mod linked_storage_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1149,7 +1149,7 @@ pub mod linked_storage_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1221,7 +1221,7 @@ pub mod linked_storage_accounts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1283,7 +1283,7 @@ pub mod linked_storage_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1351,7 +1351,7 @@ pub mod linked_storage_accounts { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1372,7 +1372,7 @@ pub mod linked_storage_accounts { } } pub mod management_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1419,7 +1419,7 @@ pub mod management_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1440,7 +1440,7 @@ pub mod management_groups { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -1479,7 +1479,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1500,7 +1500,7 @@ pub mod operations { } } pub mod operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -1547,7 +1547,7 @@ pub mod operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1568,7 +1568,7 @@ pub mod operation_statuses { } } pub mod shared_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn get_shared_keys( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1619,7 +1619,7 @@ pub mod shared_keys { } } pub mod get_shared_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1688,7 +1688,7 @@ pub mod shared_keys { } } pub mod regenerate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1709,7 +1709,7 @@ pub mod shared_keys { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1756,7 +1756,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1777,7 +1777,7 @@ pub mod usages { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1822,7 +1822,7 @@ pub mod workspaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1895,7 +1895,7 @@ pub mod workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1965,7 +1965,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2047,7 +2047,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -2125,7 +2125,7 @@ pub mod workspaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2196,7 +2196,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2226,7 +2226,7 @@ pub mod workspaces { } } pub mod deleted_workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2271,7 +2271,7 @@ pub mod deleted_workspaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2344,7 +2344,7 @@ pub mod deleted_workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2368,7 +2368,7 @@ pub mod deleted_workspaces { } } pub mod clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2420,7 +2420,7 @@ pub mod clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2486,7 +2486,7 @@ pub mod clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2556,7 +2556,7 @@ pub mod clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2638,7 +2638,7 @@ pub mod clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2716,7 +2716,7 @@ pub mod clusters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2782,7 +2782,7 @@ pub mod clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2811,7 +2811,7 @@ pub mod clusters { } } pub mod storage_insight_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2860,7 +2860,7 @@ pub mod storage_insight_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2938,7 +2938,7 @@ pub mod storage_insight_configs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(StorageInsight), @@ -3006,7 +3006,7 @@ pub mod storage_insight_configs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3079,7 +3079,7 @@ pub mod storage_insight_configs { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3100,7 +3100,7 @@ pub mod storage_insight_configs { } } pub mod saved_searches { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3149,7 +3149,7 @@ pub mod saved_searches { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3221,7 +3221,7 @@ pub mod saved_searches { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3283,7 +3283,7 @@ pub mod saved_searches { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3351,7 +3351,7 @@ pub mod saved_searches { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3372,7 +3372,7 @@ pub mod saved_searches { } } pub mod available_service_tiers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3422,7 +3422,7 @@ pub mod available_service_tiers { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3443,7 +3443,7 @@ pub mod available_service_tiers { } } pub mod gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn delete( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3487,7 +3487,7 @@ pub mod gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3508,7 +3508,7 @@ pub mod gateways { } } pub mod schema { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3556,7 +3556,7 @@ pub mod schema { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3577,7 +3577,7 @@ pub mod schema { } } pub mod workspace_purge { - use crate::models::*; + use super::{models, models::*}; pub async fn purge( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3626,7 +3626,7 @@ pub mod workspace_purge { } } pub mod purge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3696,7 +3696,7 @@ pub mod workspace_purge { } } pub mod get_purge_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3717,7 +3717,7 @@ pub mod workspace_purge { } } pub mod tables { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3769,7 +3769,7 @@ pub mod tables { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3841,7 +3841,7 @@ pub mod tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3915,7 +3915,7 @@ pub mod tables { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/operationalinsights/src/package_2020_10/operations.rs b/services/mgmt/operationalinsights/src/package_2020_10/operations.rs index b0353ce495..a94bee87b1 100644 --- a/services/mgmt/operationalinsights/src/package_2020_10/operations.rs +++ b/services/mgmt/operationalinsights/src/package_2020_10/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod data_exports { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -56,7 +56,7 @@ pub mod data_exports { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -128,7 +128,7 @@ pub mod data_exports { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -211,7 +211,7 @@ pub mod data_exports { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataExport), @@ -284,7 +284,7 @@ pub mod data_exports { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -310,7 +310,7 @@ pub mod data_exports { } } pub mod data_sources { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -359,7 +359,7 @@ pub mod data_sources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -437,7 +437,7 @@ pub mod data_sources { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataSource), @@ -505,7 +505,7 @@ pub mod data_sources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -584,7 +584,7 @@ pub mod data_sources { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -605,7 +605,7 @@ pub mod data_sources { } } pub mod intelligence_packs { - use crate::models::*; + use super::{models, models::*}; pub async fn disable( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -653,7 +653,7 @@ pub mod intelligence_packs { } } pub mod disable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -716,7 +716,7 @@ pub mod intelligence_packs { } } pub mod enable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -781,7 +781,7 @@ pub mod intelligence_packs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -802,7 +802,7 @@ pub mod intelligence_packs { } } pub mod linked_services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -851,7 +851,7 @@ pub mod linked_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -930,7 +930,7 @@ pub mod linked_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1005,7 +1005,7 @@ pub mod linked_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LinkedService), @@ -1079,7 +1079,7 @@ pub mod linked_services { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1100,7 +1100,7 @@ pub mod linked_services { } } pub mod linked_storage_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1149,7 +1149,7 @@ pub mod linked_storage_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1221,7 +1221,7 @@ pub mod linked_storage_accounts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1283,7 +1283,7 @@ pub mod linked_storage_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1351,7 +1351,7 @@ pub mod linked_storage_accounts { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1372,7 +1372,7 @@ pub mod linked_storage_accounts { } } pub mod management_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1419,7 +1419,7 @@ pub mod management_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1440,7 +1440,7 @@ pub mod management_groups { } } pub mod operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -1487,7 +1487,7 @@ pub mod operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1508,7 +1508,7 @@ pub mod operation_statuses { } } pub mod shared_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn get_shared_keys( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1559,7 +1559,7 @@ pub mod shared_keys { } } pub mod get_shared_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1628,7 +1628,7 @@ pub mod shared_keys { } } pub mod regenerate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1649,7 +1649,7 @@ pub mod shared_keys { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1696,7 +1696,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1717,7 +1717,7 @@ pub mod usages { } } pub mod storage_insight_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1766,7 +1766,7 @@ pub mod storage_insight_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1844,7 +1844,7 @@ pub mod storage_insight_configs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(StorageInsight), @@ -1912,7 +1912,7 @@ pub mod storage_insight_configs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1985,7 +1985,7 @@ pub mod storage_insight_configs { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2006,7 +2006,7 @@ pub mod storage_insight_configs { } } pub mod saved_searches { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2055,7 +2055,7 @@ pub mod saved_searches { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2127,7 +2127,7 @@ pub mod saved_searches { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2189,7 +2189,7 @@ pub mod saved_searches { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2257,7 +2257,7 @@ pub mod saved_searches { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2278,7 +2278,7 @@ pub mod saved_searches { } } pub mod available_service_tiers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2328,7 +2328,7 @@ pub mod available_service_tiers { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2349,7 +2349,7 @@ pub mod available_service_tiers { } } pub mod gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn delete( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2393,7 +2393,7 @@ pub mod gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2414,7 +2414,7 @@ pub mod gateways { } } pub mod schema { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2462,7 +2462,7 @@ pub mod schema { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2483,7 +2483,7 @@ pub mod schema { } } pub mod workspace_purge { - use crate::models::*; + use super::{models, models::*}; pub async fn purge( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2532,7 +2532,7 @@ pub mod workspace_purge { } } pub mod purge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2602,7 +2602,7 @@ pub mod workspace_purge { } } pub mod get_purge_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2623,7 +2623,7 @@ pub mod workspace_purge { } } pub mod tables { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2675,7 +2675,7 @@ pub mod tables { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2747,7 +2747,7 @@ pub mod tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2821,7 +2821,7 @@ pub mod tables { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2845,7 +2845,7 @@ pub mod tables { } } pub mod clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2897,7 +2897,7 @@ pub mod clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2963,7 +2963,7 @@ pub mod clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3033,7 +3033,7 @@ pub mod clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3115,7 +3115,7 @@ pub mod clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3193,7 +3193,7 @@ pub mod clusters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3260,7 +3260,7 @@ pub mod clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3290,7 +3290,7 @@ pub mod clusters { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -3331,7 +3331,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3355,7 +3355,7 @@ pub mod operations { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3400,7 +3400,7 @@ pub mod workspaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3473,7 +3473,7 @@ pub mod workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3543,7 +3543,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3625,7 +3625,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -3703,7 +3703,7 @@ pub mod workspaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3774,7 +3774,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3804,7 +3804,7 @@ pub mod workspaces { } } pub mod deleted_workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3849,7 +3849,7 @@ pub mod deleted_workspaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3922,7 +3922,7 @@ pub mod deleted_workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/operationalinsights/src/package_2020_10_only/operations.rs b/services/mgmt/operationalinsights/src/package_2020_10_only/operations.rs index bc2167e6d3..63f47caf42 100644 --- a/services/mgmt/operationalinsights/src/package_2020_10_only/operations.rs +++ b/services/mgmt/operationalinsights/src/package_2020_10_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -56,7 +56,7 @@ pub mod clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -122,7 +122,7 @@ pub mod clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -192,7 +192,7 @@ pub mod clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -274,7 +274,7 @@ pub mod clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -352,7 +352,7 @@ pub mod clusters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -419,7 +419,7 @@ pub mod clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -449,7 +449,7 @@ pub mod clusters { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -490,7 +490,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -514,7 +514,7 @@ pub mod operations { } } pub mod tables { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -566,7 +566,7 @@ pub mod tables { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -638,7 +638,7 @@ pub mod tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -712,7 +712,7 @@ pub mod tables { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -736,7 +736,7 @@ pub mod tables { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -781,7 +781,7 @@ pub mod workspaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -854,7 +854,7 @@ pub mod workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -924,7 +924,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1006,7 +1006,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -1084,7 +1084,7 @@ pub mod workspaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1155,7 +1155,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1185,7 +1185,7 @@ pub mod workspaces { } } pub mod deleted_workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1230,7 +1230,7 @@ pub mod deleted_workspaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1303,7 +1303,7 @@ pub mod deleted_workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/operationalinsights/src/package_2021_06/operations.rs b/services/mgmt/operationalinsights/src/package_2021_06/operations.rs index ea339e4203..91db1d9354 100644 --- a/services/mgmt/operationalinsights/src/package_2021_06/operations.rs +++ b/services/mgmt/operationalinsights/src/package_2021_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod data_exports { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -56,7 +56,7 @@ pub mod data_exports { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -128,7 +128,7 @@ pub mod data_exports { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -211,7 +211,7 @@ pub mod data_exports { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataExport), @@ -284,7 +284,7 @@ pub mod data_exports { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -310,7 +310,7 @@ pub mod data_exports { } } pub mod data_sources { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -359,7 +359,7 @@ pub mod data_sources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -437,7 +437,7 @@ pub mod data_sources { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataSource), @@ -505,7 +505,7 @@ pub mod data_sources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -584,7 +584,7 @@ pub mod data_sources { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -605,7 +605,7 @@ pub mod data_sources { } } pub mod intelligence_packs { - use crate::models::*; + use super::{models, models::*}; pub async fn disable( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -653,7 +653,7 @@ pub mod intelligence_packs { } } pub mod disable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -716,7 +716,7 @@ pub mod intelligence_packs { } } pub mod enable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -781,7 +781,7 @@ pub mod intelligence_packs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -802,7 +802,7 @@ pub mod intelligence_packs { } } pub mod linked_services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -851,7 +851,7 @@ pub mod linked_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -930,7 +930,7 @@ pub mod linked_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1005,7 +1005,7 @@ pub mod linked_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LinkedService), @@ -1079,7 +1079,7 @@ pub mod linked_services { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1100,7 +1100,7 @@ pub mod linked_services { } } pub mod linked_storage_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1149,7 +1149,7 @@ pub mod linked_storage_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1221,7 +1221,7 @@ pub mod linked_storage_accounts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1283,7 +1283,7 @@ pub mod linked_storage_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1351,7 +1351,7 @@ pub mod linked_storage_accounts { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1372,7 +1372,7 @@ pub mod linked_storage_accounts { } } pub mod management_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1419,7 +1419,7 @@ pub mod management_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1440,7 +1440,7 @@ pub mod management_groups { } } pub mod operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -1487,7 +1487,7 @@ pub mod operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1508,7 +1508,7 @@ pub mod operation_statuses { } } pub mod shared_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn get_shared_keys( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1559,7 +1559,7 @@ pub mod shared_keys { } } pub mod get_shared_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1628,7 +1628,7 @@ pub mod shared_keys { } } pub mod regenerate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1649,7 +1649,7 @@ pub mod shared_keys { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1696,7 +1696,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1717,7 +1717,7 @@ pub mod usages { } } pub mod storage_insight_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1766,7 +1766,7 @@ pub mod storage_insight_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1844,7 +1844,7 @@ pub mod storage_insight_configs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(StorageInsight), @@ -1912,7 +1912,7 @@ pub mod storage_insight_configs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1985,7 +1985,7 @@ pub mod storage_insight_configs { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2006,7 +2006,7 @@ pub mod storage_insight_configs { } } pub mod saved_searches { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2055,7 +2055,7 @@ pub mod saved_searches { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2127,7 +2127,7 @@ pub mod saved_searches { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2189,7 +2189,7 @@ pub mod saved_searches { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2257,7 +2257,7 @@ pub mod saved_searches { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2278,7 +2278,7 @@ pub mod saved_searches { } } pub mod available_service_tiers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2328,7 +2328,7 @@ pub mod available_service_tiers { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2349,7 +2349,7 @@ pub mod available_service_tiers { } } pub mod gateways { - use crate::models::*; + use super::{models, models::*}; pub async fn delete( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2393,7 +2393,7 @@ pub mod gateways { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2414,7 +2414,7 @@ pub mod gateways { } } pub mod schema { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2462,7 +2462,7 @@ pub mod schema { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2483,7 +2483,7 @@ pub mod schema { } } pub mod workspace_purge { - use crate::models::*; + use super::{models, models::*}; pub async fn purge( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2532,7 +2532,7 @@ pub mod workspace_purge { } } pub mod purge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2602,7 +2602,7 @@ pub mod workspace_purge { } } pub mod get_purge_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2623,7 +2623,7 @@ pub mod workspace_purge { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -2664,7 +2664,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2688,7 +2688,7 @@ pub mod operations { } } pub mod clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2740,7 +2740,7 @@ pub mod clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2806,7 +2806,7 @@ pub mod clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2876,7 +2876,7 @@ pub mod clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2958,7 +2958,7 @@ pub mod clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3036,7 +3036,7 @@ pub mod clusters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3103,7 +3103,7 @@ pub mod clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3133,7 +3133,7 @@ pub mod clusters { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3178,7 +3178,7 @@ pub mod workspaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3251,7 +3251,7 @@ pub mod workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3321,7 +3321,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3403,7 +3403,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -3481,7 +3481,7 @@ pub mod workspaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3552,7 +3552,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3582,7 +3582,7 @@ pub mod workspaces { } } pub mod deleted_workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3627,7 +3627,7 @@ pub mod deleted_workspaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3700,7 +3700,7 @@ pub mod deleted_workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/operationsmanagement/Cargo.toml b/services/mgmt/operationsmanagement/Cargo.toml index d9f35b9b91..2afe6ea18b 100644 --- a/services/mgmt/operationsmanagement/Cargo.toml +++ b/services/mgmt/operationsmanagement/Cargo.toml @@ -20,4 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2015-11-preview"] +no-default-version = [] "package-2015-11-preview" = [] diff --git a/services/mgmt/operationsmanagement/src/lib.rs b/services/mgmt/operationsmanagement/src/lib.rs index a8109528a7..869e4c204d 100644 --- a/services/mgmt/operationsmanagement/src/lib.rs +++ b/services/mgmt/operationsmanagement/src/lib.rs @@ -1,9 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2015-11-preview")] -mod package_2015_11_preview; +pub mod package_2015_11_preview; use azure_core::setters; -#[cfg(feature = "package-2015-11-preview")] +#[cfg(all(feature = "package-2015-11-preview", not(feature = "no-default-version")))] pub use package_2015_11_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -27,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/operationsmanagement/src/package_2015_11_preview/operations.rs b/services/mgmt/operationsmanagement/src/package_2015_11_preview/operations.rs index 39dc0d4a47..859f9084ad 100644 --- a/services/mgmt/operationsmanagement/src/package_2015_11_preview/operations.rs +++ b/services/mgmt/operationsmanagement/src/package_2015_11_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod solutions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod solutions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -128,7 +128,7 @@ pub mod solutions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -200,7 +200,7 @@ pub mod solutions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -265,7 +265,7 @@ pub mod solutions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -338,7 +338,7 @@ pub mod solutions { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -407,7 +407,7 @@ pub mod solutions { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -431,7 +431,7 @@ pub mod solutions { } } pub mod management_associations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -479,7 +479,7 @@ pub mod management_associations { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -555,7 +555,7 @@ pub mod management_associations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -636,7 +636,7 @@ pub mod management_associations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -707,7 +707,7 @@ pub mod management_associations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -731,7 +731,7 @@ pub mod management_associations { } } pub mod management_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -779,7 +779,7 @@ pub mod management_configurations { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -849,7 +849,7 @@ pub mod management_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -924,7 +924,7 @@ pub mod management_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -989,7 +989,7 @@ pub mod management_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1013,7 +1013,7 @@ pub mod management_configurations { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -1052,7 +1052,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/peering/Cargo.toml b/services/mgmt/peering/Cargo.toml index 5feaffb12f..8fffee885d 100644 --- a/services/mgmt/peering/Cargo.toml +++ b/services/mgmt/peering/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-06-01"] +no-default-version = [] "package-2021-06-01" = [] "package-2021-01-01" = [] "package-2020-10-01" = [] diff --git a/services/mgmt/peering/src/lib.rs b/services/mgmt/peering/src/lib.rs index 6d440fe68c..f203ba3c7b 100644 --- a/services/mgmt/peering/src/lib.rs +++ b/services/mgmt/peering/src/lib.rs @@ -1,33 +1,41 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-06-01")] -mod package_2021_06_01; -#[cfg(feature = "package-2021-06-01")] +pub mod package_2021_06_01; +#[cfg(all(feature = "package-2021-06-01", not(feature = "no-default-version")))] pub use package_2021_06_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-01-01")] -mod package_2021_01_01; -#[cfg(feature = "package-2021-01-01")] +pub mod package_2021_01_01; +#[cfg(all(feature = "package-2021-01-01", not(feature = "no-default-version")))] pub use package_2021_01_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-10-01")] -mod package_2020_10_01; -#[cfg(feature = "package-2020-10-01")] +pub mod package_2020_10_01; +#[cfg(all(feature = "package-2020-10-01", not(feature = "no-default-version")))] pub use package_2020_10_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-04-01")] -mod package_2020_04_01; -#[cfg(feature = "package-2020-04-01")] +pub mod package_2020_04_01; +#[cfg(all(feature = "package-2020-04-01", not(feature = "no-default-version")))] pub use package_2020_04_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-01-01-preview")] -mod package_2020_01_01_preview; -#[cfg(feature = "package-2020-01-01-preview")] +pub mod package_2020_01_01_preview; +#[cfg(all(feature = "package-2020-01-01-preview", not(feature = "no-default-version")))] pub use package_2020_01_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-09-01-preview")] -mod package_2019_09_01_preview; -#[cfg(feature = "package-2019-09-01-preview")] +pub mod package_2019_09_01_preview; +#[cfg(all(feature = "package-2019-09-01-preview", not(feature = "no-default-version")))] pub use package_2019_09_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-08-01-preview")] -mod package_2019_08_01_preview; +pub mod package_2019_08_01_preview; use azure_core::setters; -#[cfg(feature = "package-2019-08-01-preview")] +#[cfg(all(feature = "package-2019-08-01-preview", not(feature = "no-default-version")))] pub use package_2019_08_01_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -51,7 +59,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/peering/src/package_2019_08_01_preview/operations.rs b/services/mgmt/peering/src/package_2019_08_01_preview/operations.rs index ee7079ceea..e408ef0c18 100644 --- a/services/mgmt/peering/src/package_2019_08_01_preview/operations.rs +++ b/services/mgmt/peering/src/package_2019_08_01_preview/operations.rs @@ -2,7 +2,7 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub async fn check_service_provider_availability( operation_config: &crate::OperationConfig, check_service_provider_availability_input: &CheckServiceProviderAvailabilityInput, @@ -55,7 +55,7 @@ pub async fn check_service_provider_availability( } } pub mod check_service_provider_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -78,7 +78,7 @@ pub mod check_service_provider_availability { } } pub mod legacy_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, peering_location: &str, @@ -127,7 +127,7 @@ pub mod legacy_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -151,7 +151,7 @@ pub mod legacy_peerings { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Peering/operations", operation_config.base_path(),); @@ -189,7 +189,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -213,7 +213,7 @@ pub mod operations { } } pub mod peer_asns { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, peer_asn_name: &str, @@ -260,7 +260,7 @@ pub mod peer_asns { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -339,7 +339,7 @@ pub mod peer_asns { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PeerAsn), @@ -408,7 +408,7 @@ pub mod peer_asns { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -482,7 +482,7 @@ pub mod peer_asns { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -506,7 +506,7 @@ pub mod peer_asns { } } pub mod peering_locations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, kind: &str, @@ -557,7 +557,7 @@ pub mod peering_locations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -581,7 +581,7 @@ pub mod peering_locations { } } pub mod peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -630,7 +630,7 @@ pub mod peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -711,7 +711,7 @@ pub mod peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Peering), @@ -788,7 +788,7 @@ pub mod peerings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -854,7 +854,7 @@ pub mod peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -932,7 +932,7 @@ pub mod peerings { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1001,7 +1001,7 @@ pub mod peerings { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1025,7 +1025,7 @@ pub mod peerings { } } pub mod peering_service_locations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1070,7 +1070,7 @@ pub mod peering_service_locations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1094,7 +1094,7 @@ pub mod peering_service_locations { } } pub mod peering_service_prefixes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1145,7 +1145,7 @@ pub mod peering_service_prefixes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1228,7 +1228,7 @@ pub mod peering_service_prefixes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PeeringServicePrefix), @@ -1301,7 +1301,7 @@ pub mod peering_service_prefixes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1330,7 +1330,7 @@ pub mod peering_service_prefixes { } } pub mod prefixes { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_peering_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1384,7 +1384,7 @@ pub mod prefixes { } } pub mod list_by_peering_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1408,7 +1408,7 @@ pub mod prefixes { } } pub mod peering_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1453,7 +1453,7 @@ pub mod peering_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1477,7 +1477,7 @@ pub mod peering_service_providers { } } pub mod peering_services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1526,7 +1526,7 @@ pub mod peering_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1607,7 +1607,7 @@ pub mod peering_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PeeringService), @@ -1684,7 +1684,7 @@ pub mod peering_services { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1750,7 +1750,7 @@ pub mod peering_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1828,7 +1828,7 @@ pub mod peering_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1897,7 +1897,7 @@ pub mod peering_services { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/peering/src/package_2019_09_01_preview/operations.rs b/services/mgmt/peering/src/package_2019_09_01_preview/operations.rs index 9dba9a3849..66eda38455 100644 --- a/services/mgmt/peering/src/package_2019_09_01_preview/operations.rs +++ b/services/mgmt/peering/src/package_2019_09_01_preview/operations.rs @@ -2,7 +2,7 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub async fn check_service_provider_availability( operation_config: &crate::OperationConfig, check_service_provider_availability_input: &CheckServiceProviderAvailabilityInput, @@ -55,7 +55,7 @@ pub async fn check_service_provider_availability( } } pub mod check_service_provider_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -78,7 +78,7 @@ pub mod check_service_provider_availability { } } pub mod legacy_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, peering_location: &str, @@ -127,7 +127,7 @@ pub mod legacy_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -151,7 +151,7 @@ pub mod legacy_peerings { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Peering/operations", operation_config.base_path(),); @@ -189,7 +189,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -213,7 +213,7 @@ pub mod operations { } } pub mod peer_asns { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, peer_asn_name: &str, @@ -260,7 +260,7 @@ pub mod peer_asns { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -339,7 +339,7 @@ pub mod peer_asns { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PeerAsn), @@ -408,7 +408,7 @@ pub mod peer_asns { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -482,7 +482,7 @@ pub mod peer_asns { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -506,7 +506,7 @@ pub mod peer_asns { } } pub mod peering_locations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, kind: &str, @@ -557,7 +557,7 @@ pub mod peering_locations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -581,7 +581,7 @@ pub mod peering_locations { } } pub mod peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -630,7 +630,7 @@ pub mod peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -711,7 +711,7 @@ pub mod peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Peering), @@ -788,7 +788,7 @@ pub mod peerings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -854,7 +854,7 @@ pub mod peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -932,7 +932,7 @@ pub mod peerings { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1001,7 +1001,7 @@ pub mod peerings { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1025,7 +1025,7 @@ pub mod peerings { } } pub mod peering_service_locations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1070,7 +1070,7 @@ pub mod peering_service_locations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1094,7 +1094,7 @@ pub mod peering_service_locations { } } pub mod prefixes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1149,7 +1149,7 @@ pub mod prefixes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1232,7 +1232,7 @@ pub mod prefixes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PeeringServicePrefix), @@ -1305,7 +1305,7 @@ pub mod prefixes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1389,7 +1389,7 @@ pub mod prefixes { } } pub mod list_by_peering_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1413,7 +1413,7 @@ pub mod prefixes { } } pub mod peering_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1458,7 +1458,7 @@ pub mod peering_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1482,7 +1482,7 @@ pub mod peering_service_providers { } } pub mod peering_services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1531,7 +1531,7 @@ pub mod peering_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1612,7 +1612,7 @@ pub mod peering_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PeeringService), @@ -1689,7 +1689,7 @@ pub mod peering_services { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1755,7 +1755,7 @@ pub mod peering_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1833,7 +1833,7 @@ pub mod peering_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1902,7 +1902,7 @@ pub mod peering_services { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/peering/src/package_2020_01_01_preview/operations.rs b/services/mgmt/peering/src/package_2020_01_01_preview/operations.rs index fa65b98ae4..bc7bf613e4 100644 --- a/services/mgmt/peering/src/package_2020_01_01_preview/operations.rs +++ b/services/mgmt/peering/src/package_2020_01_01_preview/operations.rs @@ -2,7 +2,7 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub async fn check_service_provider_availability( operation_config: &crate::OperationConfig, check_service_provider_availability_input: &CheckServiceProviderAvailabilityInput, @@ -55,7 +55,7 @@ pub async fn check_service_provider_availability( } } pub mod check_service_provider_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -78,7 +78,7 @@ pub mod check_service_provider_availability { } } pub mod legacy_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, peering_location: &str, @@ -131,7 +131,7 @@ pub mod legacy_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -155,7 +155,7 @@ pub mod legacy_peerings { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Peering/operations", operation_config.base_path(),); @@ -193,7 +193,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -217,7 +217,7 @@ pub mod operations { } } pub mod peer_asns { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, peer_asn_name: &str, @@ -264,7 +264,7 @@ pub mod peer_asns { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -343,7 +343,7 @@ pub mod peer_asns { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PeerAsn), @@ -412,7 +412,7 @@ pub mod peer_asns { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -486,7 +486,7 @@ pub mod peer_asns { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -510,7 +510,7 @@ pub mod peer_asns { } } pub mod peering_locations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, kind: &str, @@ -561,7 +561,7 @@ pub mod peering_locations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -585,7 +585,7 @@ pub mod peering_locations { } } pub mod registered_asns { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -636,7 +636,7 @@ pub mod registered_asns { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -719,7 +719,7 @@ pub mod registered_asns { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PeeringRegisteredAsn), @@ -792,7 +792,7 @@ pub mod registered_asns { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -870,7 +870,7 @@ pub mod registered_asns { } } pub mod list_by_peering { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -894,7 +894,7 @@ pub mod registered_asns { } } pub mod registered_prefixes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -945,7 +945,7 @@ pub mod registered_prefixes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1028,7 +1028,7 @@ pub mod registered_prefixes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PeeringRegisteredPrefix), @@ -1101,7 +1101,7 @@ pub mod registered_prefixes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1179,7 +1179,7 @@ pub mod registered_prefixes { } } pub mod list_by_peering { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1203,7 +1203,7 @@ pub mod registered_prefixes { } } pub mod peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1252,7 +1252,7 @@ pub mod peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1333,7 +1333,7 @@ pub mod peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Peering), @@ -1410,7 +1410,7 @@ pub mod peerings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1476,7 +1476,7 @@ pub mod peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1554,7 +1554,7 @@ pub mod peerings { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1623,7 +1623,7 @@ pub mod peerings { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1647,7 +1647,7 @@ pub mod peerings { } } pub mod peering_service_countries { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1692,7 +1692,7 @@ pub mod peering_service_countries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1716,7 +1716,7 @@ pub mod peering_service_countries { } } pub mod peering_service_locations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, country: Option<&str>, @@ -1765,7 +1765,7 @@ pub mod peering_service_locations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1789,7 +1789,7 @@ pub mod peering_service_locations { } } pub mod prefixes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1844,7 +1844,7 @@ pub mod prefixes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1927,7 +1927,7 @@ pub mod prefixes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PeeringServicePrefix), @@ -2000,7 +2000,7 @@ pub mod prefixes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2084,7 +2084,7 @@ pub mod prefixes { } } pub mod list_by_peering_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2108,7 +2108,7 @@ pub mod prefixes { } } pub mod peering_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2153,7 +2153,7 @@ pub mod peering_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2177,7 +2177,7 @@ pub mod peering_service_providers { } } pub mod peering_services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2226,7 +2226,7 @@ pub mod peering_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2307,7 +2307,7 @@ pub mod peering_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PeeringService), @@ -2384,7 +2384,7 @@ pub mod peering_services { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2450,7 +2450,7 @@ pub mod peering_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2528,7 +2528,7 @@ pub mod peering_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2597,7 +2597,7 @@ pub mod peering_services { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/peering/src/package_2020_04_01/operations.rs b/services/mgmt/peering/src/package_2020_04_01/operations.rs index cf5adb702e..7c2758ccc7 100644 --- a/services/mgmt/peering/src/package_2020_04_01/operations.rs +++ b/services/mgmt/peering/src/package_2020_04_01/operations.rs @@ -2,7 +2,7 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub async fn check_service_provider_availability( operation_config: &crate::OperationConfig, check_service_provider_availability_input: &CheckServiceProviderAvailabilityInput, @@ -55,7 +55,7 @@ pub async fn check_service_provider_availability( } } pub mod check_service_provider_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -78,7 +78,7 @@ pub mod check_service_provider_availability { } } pub mod legacy_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, peering_location: &str, @@ -131,7 +131,7 @@ pub mod legacy_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -155,7 +155,7 @@ pub mod legacy_peerings { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Peering/operations", operation_config.base_path(),); @@ -193,7 +193,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -217,7 +217,7 @@ pub mod operations { } } pub mod peer_asns { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, peer_asn_name: &str, @@ -264,7 +264,7 @@ pub mod peer_asns { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -343,7 +343,7 @@ pub mod peer_asns { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PeerAsn), @@ -412,7 +412,7 @@ pub mod peer_asns { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -486,7 +486,7 @@ pub mod peer_asns { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -510,7 +510,7 @@ pub mod peer_asns { } } pub mod peering_locations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, kind: &str, @@ -561,7 +561,7 @@ pub mod peering_locations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -585,7 +585,7 @@ pub mod peering_locations { } } pub mod registered_asns { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -636,7 +636,7 @@ pub mod registered_asns { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -719,7 +719,7 @@ pub mod registered_asns { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PeeringRegisteredAsn), @@ -792,7 +792,7 @@ pub mod registered_asns { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -870,7 +870,7 @@ pub mod registered_asns { } } pub mod list_by_peering { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -894,7 +894,7 @@ pub mod registered_asns { } } pub mod registered_prefixes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -945,7 +945,7 @@ pub mod registered_prefixes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1028,7 +1028,7 @@ pub mod registered_prefixes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PeeringRegisteredPrefix), @@ -1101,7 +1101,7 @@ pub mod registered_prefixes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1179,7 +1179,7 @@ pub mod registered_prefixes { } } pub mod list_by_peering { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1203,7 +1203,7 @@ pub mod registered_prefixes { } } pub mod peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1252,7 +1252,7 @@ pub mod peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1333,7 +1333,7 @@ pub mod peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Peering), @@ -1410,7 +1410,7 @@ pub mod peerings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1476,7 +1476,7 @@ pub mod peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1554,7 +1554,7 @@ pub mod peerings { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1623,7 +1623,7 @@ pub mod peerings { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1647,7 +1647,7 @@ pub mod peerings { } } pub mod received_routes { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_peering( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1720,7 +1720,7 @@ pub mod received_routes { } } pub mod list_by_peering { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1744,7 +1744,7 @@ pub mod received_routes { } } pub mod peering_service_countries { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1789,7 +1789,7 @@ pub mod peering_service_countries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1813,7 +1813,7 @@ pub mod peering_service_countries { } } pub mod peering_service_locations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, country: Option<&str>, @@ -1862,7 +1862,7 @@ pub mod peering_service_locations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1886,7 +1886,7 @@ pub mod peering_service_locations { } } pub mod prefixes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1941,7 +1941,7 @@ pub mod prefixes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2024,7 +2024,7 @@ pub mod prefixes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PeeringServicePrefix), @@ -2097,7 +2097,7 @@ pub mod prefixes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2181,7 +2181,7 @@ pub mod prefixes { } } pub mod list_by_peering_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2205,7 +2205,7 @@ pub mod prefixes { } } pub mod peering_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2250,7 +2250,7 @@ pub mod peering_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2274,7 +2274,7 @@ pub mod peering_service_providers { } } pub mod peering_services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2323,7 +2323,7 @@ pub mod peering_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2404,7 +2404,7 @@ pub mod peering_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PeeringService), @@ -2481,7 +2481,7 @@ pub mod peering_services { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2547,7 +2547,7 @@ pub mod peering_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2625,7 +2625,7 @@ pub mod peering_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2694,7 +2694,7 @@ pub mod peering_services { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/peering/src/package_2020_10_01/operations.rs b/services/mgmt/peering/src/package_2020_10_01/operations.rs index 7dccfe3d8c..99194b51b2 100644 --- a/services/mgmt/peering/src/package_2020_10_01/operations.rs +++ b/services/mgmt/peering/src/package_2020_10_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod cdn_peering_prefixes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, peering_location: &str, @@ -51,7 +51,7 @@ pub mod cdn_peering_prefixes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -126,7 +126,7 @@ pub async fn check_service_provider_availability( } } pub mod check_service_provider_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -149,7 +149,7 @@ pub mod check_service_provider_availability { } } pub mod legacy_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, peering_location: &str, @@ -202,7 +202,7 @@ pub mod legacy_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -226,7 +226,7 @@ pub mod legacy_peerings { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Peering/operations", operation_config.base_path(),); @@ -264,7 +264,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -288,7 +288,7 @@ pub mod operations { } } pub mod peer_asns { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, peer_asn_name: &str, @@ -335,7 +335,7 @@ pub mod peer_asns { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -414,7 +414,7 @@ pub mod peer_asns { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PeerAsn), @@ -483,7 +483,7 @@ pub mod peer_asns { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -557,7 +557,7 @@ pub mod peer_asns { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -581,7 +581,7 @@ pub mod peer_asns { } } pub mod peering_locations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, kind: &str, @@ -632,7 +632,7 @@ pub mod peering_locations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -656,7 +656,7 @@ pub mod peering_locations { } } pub mod registered_asns { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -707,7 +707,7 @@ pub mod registered_asns { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -790,7 +790,7 @@ pub mod registered_asns { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PeeringRegisteredAsn), @@ -863,7 +863,7 @@ pub mod registered_asns { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -941,7 +941,7 @@ pub mod registered_asns { } } pub mod list_by_peering { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -965,7 +965,7 @@ pub mod registered_asns { } } pub mod registered_prefixes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1016,7 +1016,7 @@ pub mod registered_prefixes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1099,7 +1099,7 @@ pub mod registered_prefixes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PeeringRegisteredPrefix), @@ -1172,7 +1172,7 @@ pub mod registered_prefixes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1250,7 +1250,7 @@ pub mod registered_prefixes { } } pub mod list_by_peering { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1274,7 +1274,7 @@ pub mod registered_prefixes { } } pub mod peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1323,7 +1323,7 @@ pub mod peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1404,7 +1404,7 @@ pub mod peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Peering), @@ -1481,7 +1481,7 @@ pub mod peerings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1547,7 +1547,7 @@ pub mod peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1625,7 +1625,7 @@ pub mod peerings { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1694,7 +1694,7 @@ pub mod peerings { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1718,7 +1718,7 @@ pub mod peerings { } } pub mod received_routes { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_peering( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1791,7 +1791,7 @@ pub mod received_routes { } } pub mod list_by_peering { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1815,7 +1815,7 @@ pub mod received_routes { } } pub mod peering_service_countries { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1860,7 +1860,7 @@ pub mod peering_service_countries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1884,7 +1884,7 @@ pub mod peering_service_countries { } } pub mod peering_service_locations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, country: Option<&str>, @@ -1933,7 +1933,7 @@ pub mod peering_service_locations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1957,7 +1957,7 @@ pub mod peering_service_locations { } } pub mod prefixes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2012,7 +2012,7 @@ pub mod prefixes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2095,7 +2095,7 @@ pub mod prefixes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PeeringServicePrefix), @@ -2168,7 +2168,7 @@ pub mod prefixes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2252,7 +2252,7 @@ pub mod prefixes { } } pub mod list_by_peering_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2276,7 +2276,7 @@ pub mod prefixes { } } pub mod peering_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2321,7 +2321,7 @@ pub mod peering_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2345,7 +2345,7 @@ pub mod peering_service_providers { } } pub mod peering_services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2394,7 +2394,7 @@ pub mod peering_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2475,7 +2475,7 @@ pub mod peering_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PeeringService), @@ -2552,7 +2552,7 @@ pub mod peering_services { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2618,7 +2618,7 @@ pub mod peering_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2696,7 +2696,7 @@ pub mod peering_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2765,7 +2765,7 @@ pub mod peering_services { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/peering/src/package_2021_01_01/operations.rs b/services/mgmt/peering/src/package_2021_01_01/operations.rs index 7dccfe3d8c..99194b51b2 100644 --- a/services/mgmt/peering/src/package_2021_01_01/operations.rs +++ b/services/mgmt/peering/src/package_2021_01_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod cdn_peering_prefixes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, peering_location: &str, @@ -51,7 +51,7 @@ pub mod cdn_peering_prefixes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -126,7 +126,7 @@ pub async fn check_service_provider_availability( } } pub mod check_service_provider_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -149,7 +149,7 @@ pub mod check_service_provider_availability { } } pub mod legacy_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, peering_location: &str, @@ -202,7 +202,7 @@ pub mod legacy_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -226,7 +226,7 @@ pub mod legacy_peerings { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Peering/operations", operation_config.base_path(),); @@ -264,7 +264,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -288,7 +288,7 @@ pub mod operations { } } pub mod peer_asns { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, peer_asn_name: &str, @@ -335,7 +335,7 @@ pub mod peer_asns { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -414,7 +414,7 @@ pub mod peer_asns { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PeerAsn), @@ -483,7 +483,7 @@ pub mod peer_asns { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -557,7 +557,7 @@ pub mod peer_asns { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -581,7 +581,7 @@ pub mod peer_asns { } } pub mod peering_locations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, kind: &str, @@ -632,7 +632,7 @@ pub mod peering_locations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -656,7 +656,7 @@ pub mod peering_locations { } } pub mod registered_asns { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -707,7 +707,7 @@ pub mod registered_asns { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -790,7 +790,7 @@ pub mod registered_asns { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PeeringRegisteredAsn), @@ -863,7 +863,7 @@ pub mod registered_asns { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -941,7 +941,7 @@ pub mod registered_asns { } } pub mod list_by_peering { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -965,7 +965,7 @@ pub mod registered_asns { } } pub mod registered_prefixes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1016,7 +1016,7 @@ pub mod registered_prefixes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1099,7 +1099,7 @@ pub mod registered_prefixes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PeeringRegisteredPrefix), @@ -1172,7 +1172,7 @@ pub mod registered_prefixes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1250,7 +1250,7 @@ pub mod registered_prefixes { } } pub mod list_by_peering { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1274,7 +1274,7 @@ pub mod registered_prefixes { } } pub mod peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1323,7 +1323,7 @@ pub mod peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1404,7 +1404,7 @@ pub mod peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Peering), @@ -1481,7 +1481,7 @@ pub mod peerings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1547,7 +1547,7 @@ pub mod peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1625,7 +1625,7 @@ pub mod peerings { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1694,7 +1694,7 @@ pub mod peerings { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1718,7 +1718,7 @@ pub mod peerings { } } pub mod received_routes { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_peering( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1791,7 +1791,7 @@ pub mod received_routes { } } pub mod list_by_peering { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1815,7 +1815,7 @@ pub mod received_routes { } } pub mod peering_service_countries { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1860,7 +1860,7 @@ pub mod peering_service_countries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1884,7 +1884,7 @@ pub mod peering_service_countries { } } pub mod peering_service_locations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, country: Option<&str>, @@ -1933,7 +1933,7 @@ pub mod peering_service_locations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1957,7 +1957,7 @@ pub mod peering_service_locations { } } pub mod prefixes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2012,7 +2012,7 @@ pub mod prefixes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2095,7 +2095,7 @@ pub mod prefixes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PeeringServicePrefix), @@ -2168,7 +2168,7 @@ pub mod prefixes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2252,7 +2252,7 @@ pub mod prefixes { } } pub mod list_by_peering_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2276,7 +2276,7 @@ pub mod prefixes { } } pub mod peering_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2321,7 +2321,7 @@ pub mod peering_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2345,7 +2345,7 @@ pub mod peering_service_providers { } } pub mod peering_services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2394,7 +2394,7 @@ pub mod peering_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2475,7 +2475,7 @@ pub mod peering_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PeeringService), @@ -2552,7 +2552,7 @@ pub mod peering_services { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2618,7 +2618,7 @@ pub mod peering_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2696,7 +2696,7 @@ pub mod peering_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2765,7 +2765,7 @@ pub mod peering_services { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/peering/src/package_2021_06_01/operations.rs b/services/mgmt/peering/src/package_2021_06_01/operations.rs index 8bd81cd4df..30f052c31e 100644 --- a/services/mgmt/peering/src/package_2021_06_01/operations.rs +++ b/services/mgmt/peering/src/package_2021_06_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod cdn_peering_prefixes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, peering_location: &str, @@ -51,7 +51,7 @@ pub mod cdn_peering_prefixes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -126,7 +126,7 @@ pub async fn check_service_provider_availability( } } pub mod check_service_provider_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -149,7 +149,7 @@ pub mod check_service_provider_availability { } } pub mod legacy_peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, peering_location: &str, @@ -202,7 +202,7 @@ pub mod legacy_peerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -226,7 +226,7 @@ pub mod legacy_peerings { } } pub mod looking_glass { - use crate::models::*; + use super::{models, models::*}; pub async fn invoke( operation_config: &crate::OperationConfig, command: &str, @@ -280,7 +280,7 @@ pub mod looking_glass { } } pub mod invoke { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -304,7 +304,7 @@ pub mod looking_glass { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Peering/operations", operation_config.base_path(),); @@ -342,7 +342,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -366,7 +366,7 @@ pub mod operations { } } pub mod peer_asns { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, peer_asn_name: &str, @@ -413,7 +413,7 @@ pub mod peer_asns { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -492,7 +492,7 @@ pub mod peer_asns { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PeerAsn), @@ -561,7 +561,7 @@ pub mod peer_asns { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -635,7 +635,7 @@ pub mod peer_asns { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -659,7 +659,7 @@ pub mod peer_asns { } } pub mod peering_locations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, kind: &str, @@ -710,7 +710,7 @@ pub mod peering_locations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -734,7 +734,7 @@ pub mod peering_locations { } } pub mod registered_asns { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -785,7 +785,7 @@ pub mod registered_asns { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -868,7 +868,7 @@ pub mod registered_asns { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PeeringRegisteredAsn), @@ -941,7 +941,7 @@ pub mod registered_asns { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1019,7 +1019,7 @@ pub mod registered_asns { } } pub mod list_by_peering { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1043,7 +1043,7 @@ pub mod registered_asns { } } pub mod registered_prefixes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1094,7 +1094,7 @@ pub mod registered_prefixes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1177,7 +1177,7 @@ pub mod registered_prefixes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PeeringRegisteredPrefix), @@ -1250,7 +1250,7 @@ pub mod registered_prefixes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1328,7 +1328,7 @@ pub mod registered_prefixes { } } pub mod list_by_peering { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1352,7 +1352,7 @@ pub mod registered_prefixes { } } pub mod peerings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1401,7 +1401,7 @@ pub mod peerings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1482,7 +1482,7 @@ pub mod peerings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Peering), @@ -1559,7 +1559,7 @@ pub mod peerings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1625,7 +1625,7 @@ pub mod peerings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1703,7 +1703,7 @@ pub mod peerings { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1772,7 +1772,7 @@ pub mod peerings { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1796,7 +1796,7 @@ pub mod peerings { } } pub mod received_routes { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_peering( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1869,7 +1869,7 @@ pub mod received_routes { } } pub mod list_by_peering { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1893,7 +1893,7 @@ pub mod received_routes { } } pub mod connection_monitor_tests { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1944,7 +1944,7 @@ pub mod connection_monitor_tests { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2027,7 +2027,7 @@ pub mod connection_monitor_tests { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConnectionMonitorTest), @@ -2100,7 +2100,7 @@ pub mod connection_monitor_tests { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2180,7 +2180,7 @@ pub mod connection_monitor_tests { } } pub mod list_by_peering_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2204,7 +2204,7 @@ pub mod connection_monitor_tests { } } pub mod peering_service_countries { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2249,7 +2249,7 @@ pub mod peering_service_countries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2273,7 +2273,7 @@ pub mod peering_service_countries { } } pub mod peering_service_locations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, country: Option<&str>, @@ -2322,7 +2322,7 @@ pub mod peering_service_locations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2346,7 +2346,7 @@ pub mod peering_service_locations { } } pub mod prefixes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2401,7 +2401,7 @@ pub mod prefixes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2484,7 +2484,7 @@ pub mod prefixes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PeeringServicePrefix), @@ -2557,7 +2557,7 @@ pub mod prefixes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2641,7 +2641,7 @@ pub mod prefixes { } } pub mod list_by_peering_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2665,7 +2665,7 @@ pub mod prefixes { } } pub mod peering_service_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2710,7 +2710,7 @@ pub mod peering_service_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2734,7 +2734,7 @@ pub mod peering_service_providers { } } pub mod peering_services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2783,7 +2783,7 @@ pub mod peering_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2864,7 +2864,7 @@ pub mod peering_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PeeringService), @@ -2941,7 +2941,7 @@ pub mod peering_services { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3007,7 +3007,7 @@ pub mod peering_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3085,7 +3085,7 @@ pub mod peering_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3154,7 +3154,7 @@ pub mod peering_services { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3221,7 +3221,7 @@ pub mod peering_services { } } pub mod initialize_connection_monitor { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/policyinsights/Cargo.toml b/services/mgmt/policyinsights/Cargo.toml index 2ed494be48..49d765b439 100644 --- a/services/mgmt/policyinsights/Cargo.toml +++ b/services/mgmt/policyinsights/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-01"] +no-default-version = [] "package-2021-01" = [] "package-2020-07" = [] "package-2020-07-preview" = [] diff --git a/services/mgmt/policyinsights/src/lib.rs b/services/mgmt/policyinsights/src/lib.rs index 290fbde611..227c6f0204 100644 --- a/services/mgmt/policyinsights/src/lib.rs +++ b/services/mgmt/policyinsights/src/lib.rs @@ -1,29 +1,37 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-01")] -mod package_2021_01; -#[cfg(feature = "package-2021-01")] +pub mod package_2021_01; +#[cfg(all(feature = "package-2021-01", not(feature = "no-default-version")))] pub use package_2021_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-07")] -mod package_2020_07; -#[cfg(feature = "package-2020-07")] +pub mod package_2020_07; +#[cfg(all(feature = "package-2020-07", not(feature = "no-default-version")))] pub use package_2020_07::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-07-preview")] -mod package_2020_07_preview; -#[cfg(feature = "package-2020-07-preview")] +pub mod package_2020_07_preview; +#[cfg(all(feature = "package-2020-07-preview", not(feature = "no-default-version")))] pub use package_2020_07_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-10")] -mod package_2019_10; -#[cfg(feature = "package-2019-10")] +pub mod package_2019_10; +#[cfg(all(feature = "package-2019-10", not(feature = "no-default-version")))] pub use package_2019_10::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-07")] -mod package_2018_07; -#[cfg(feature = "package-2018-07")] +pub mod package_2018_07; +#[cfg(all(feature = "package-2018-07", not(feature = "no-default-version")))] pub use package_2018_07::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-04")] -mod package_2018_04; +pub mod package_2018_04; use azure_core::setters; -#[cfg(feature = "package-2018-04")] +#[cfg(all(feature = "package-2018-04", not(feature = "no-default-version")))] pub use package_2018_04::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -47,7 +55,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/policyinsights/src/package_2018_04/operations.rs b/services/mgmt/policyinsights/src/package_2018_04/operations.rs index 89f012d20f..6b7fbef825 100644 --- a/services/mgmt/policyinsights/src/package_2018_04/operations.rs +++ b/services/mgmt/policyinsights/src/package_2018_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod policy_events { - use crate::models::*; + use super::{models, models::*}; pub async fn list_query_results_for_management_group( operation_config: &crate::OperationConfig, policy_events_resource: &str, @@ -87,7 +87,7 @@ pub mod policy_events { } } pub mod list_query_results_for_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -189,7 +189,7 @@ pub mod policy_events { } } pub mod list_query_results_for_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -293,7 +293,7 @@ pub mod policy_events { } } pub mod list_query_results_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -395,7 +395,7 @@ pub mod policy_events { } } pub mod list_query_results_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -501,7 +501,7 @@ pub mod policy_events { } } pub mod list_query_results_for_policy_set_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -607,7 +607,7 @@ pub mod policy_events { } } pub mod list_query_results_for_policy_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -718,7 +718,7 @@ pub mod policy_events { } } pub mod list_query_results_for_subscription_level_policy_assignment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -823,7 +823,7 @@ pub mod policy_events { } } pub mod list_query_results_for_resource_group_level_policy_assignment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -892,7 +892,7 @@ pub mod policy_events { } } pub mod get_metadata { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -916,7 +916,7 @@ pub mod policy_events { } } pub mod policy_states { - use crate::models::*; + use super::{models, models::*}; pub async fn list_query_results_for_management_group( operation_config: &crate::OperationConfig, policy_states_resource: &str, @@ -999,7 +999,7 @@ pub mod policy_states { } } pub mod list_query_results_for_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1091,7 +1091,7 @@ pub mod policy_states { } } pub mod summarize_for_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1193,7 +1193,7 @@ pub mod policy_states { } } pub mod list_query_results_for_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1283,7 +1283,7 @@ pub mod policy_states { } } pub mod summarize_for_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1387,7 +1387,7 @@ pub mod policy_states { } } pub mod list_query_results_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1479,7 +1479,7 @@ pub mod policy_states { } } pub mod summarize_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1581,7 +1581,7 @@ pub mod policy_states { } } pub mod list_query_results_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1671,7 +1671,7 @@ pub mod policy_states { } } pub mod summarize_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1777,7 +1777,7 @@ pub mod policy_states { } } pub mod list_query_results_for_policy_set_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1871,7 +1871,7 @@ pub mod policy_states { } } pub mod summarize_for_policy_set_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1977,7 +1977,7 @@ pub mod policy_states { } } pub mod list_query_results_for_policy_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2071,7 +2071,7 @@ pub mod policy_states { } } pub mod summarize_for_policy_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2182,7 +2182,7 @@ pub mod policy_states { } } pub mod list_query_results_for_subscription_level_policy_assignment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2278,7 +2278,7 @@ pub mod policy_states { } } pub mod summarize_for_subscription_level_policy_assignment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2383,7 +2383,7 @@ pub mod policy_states { } } pub mod list_query_results_for_resource_group_level_policy_assignment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2473,7 +2473,7 @@ pub mod policy_states { } } pub mod summarize_for_resource_group_level_policy_assignment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2542,7 +2542,7 @@ pub mod policy_states { } } pub mod get_metadata { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2566,7 +2566,7 @@ pub mod policy_states { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.PolicyInsights/operations", operation_config.base_path(),); @@ -2604,7 +2604,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/policyinsights/src/package_2018_07/operations.rs b/services/mgmt/policyinsights/src/package_2018_07/operations.rs index c0301cb7b6..7c765f0b02 100644 --- a/services/mgmt/policyinsights/src/package_2018_07/operations.rs +++ b/services/mgmt/policyinsights/src/package_2018_07/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod policy_tracked_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_query_results_for_management_group( operation_config: &crate::OperationConfig, management_groups_namespace: &str, @@ -67,7 +67,7 @@ pub mod policy_tracked_resources { } } pub mod list_query_results_for_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -149,7 +149,7 @@ pub mod policy_tracked_resources { } } pub mod list_query_results_for_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -233,7 +233,7 @@ pub mod policy_tracked_resources { } } pub mod list_query_results_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -315,7 +315,7 @@ pub mod policy_tracked_resources { } } pub mod list_query_results_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -339,7 +339,7 @@ pub mod policy_tracked_resources { } } pub mod remediations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_deployments_at_management_group( operation_config: &crate::OperationConfig, management_groups_namespace: &str, @@ -398,7 +398,7 @@ pub mod remediations { } } pub mod list_deployments_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -474,7 +474,7 @@ pub mod remediations { } } pub mod cancel_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -555,7 +555,7 @@ pub mod remediations { } } pub mod list_for_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -630,7 +630,7 @@ pub mod remediations { } } pub mod get_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -713,7 +713,7 @@ pub mod remediations { } } pub mod create_or_update_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Remediation), @@ -794,7 +794,7 @@ pub mod remediations { } } pub mod delete_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Remediation), @@ -877,7 +877,7 @@ pub mod remediations { } } pub mod list_deployments_at_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -951,7 +951,7 @@ pub mod remediations { } } pub mod cancel_at_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1030,7 +1030,7 @@ pub mod remediations { } } pub mod list_for_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1101,7 +1101,7 @@ pub mod remediations { } } pub mod get_at_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1182,7 +1182,7 @@ pub mod remediations { } } pub mod create_or_update_at_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Remediation), @@ -1261,7 +1261,7 @@ pub mod remediations { } } pub mod delete_at_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Remediation), @@ -1346,7 +1346,7 @@ pub mod remediations { } } pub mod list_deployments_at_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1422,7 +1422,7 @@ pub mod remediations { } } pub mod cancel_at_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1503,7 +1503,7 @@ pub mod remediations { } } pub mod list_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1578,7 +1578,7 @@ pub mod remediations { } } pub mod get_at_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1661,7 +1661,7 @@ pub mod remediations { } } pub mod create_or_update_at_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Remediation), @@ -1742,7 +1742,7 @@ pub mod remediations { } } pub mod delete_at_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Remediation), @@ -1825,7 +1825,7 @@ pub mod remediations { } } pub mod list_deployments_at_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1897,7 +1897,7 @@ pub mod remediations { } } pub mod cancel_at_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1974,7 +1974,7 @@ pub mod remediations { } } pub mod list_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2045,7 +2045,7 @@ pub mod remediations { } } pub mod get_at_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2126,7 +2126,7 @@ pub mod remediations { } } pub mod create_or_update_at_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Remediation), @@ -2203,7 +2203,7 @@ pub mod remediations { } } pub mod delete_at_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Remediation), @@ -2232,7 +2232,7 @@ pub mod remediations { } } pub mod policy_events { - use crate::models::*; + use super::{models, models::*}; pub async fn list_query_results_for_management_group( operation_config: &crate::OperationConfig, policy_events_resource: &str, @@ -2319,7 +2319,7 @@ pub mod policy_events { } } pub mod list_query_results_for_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2425,7 +2425,7 @@ pub mod policy_events { } } pub mod list_query_results_for_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2533,7 +2533,7 @@ pub mod policy_events { } } pub mod list_query_results_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2639,7 +2639,7 @@ pub mod policy_events { } } pub mod list_query_results_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2749,7 +2749,7 @@ pub mod policy_events { } } pub mod list_query_results_for_policy_set_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2859,7 +2859,7 @@ pub mod policy_events { } } pub mod list_query_results_for_policy_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2974,7 +2974,7 @@ pub mod policy_events { } } pub mod list_query_results_for_subscription_level_policy_assignment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3083,7 +3083,7 @@ pub mod policy_events { } } pub mod list_query_results_for_resource_group_level_policy_assignment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3107,7 +3107,7 @@ pub mod policy_events { } } pub mod policy_states { - use crate::models::*; + use super::{models, models::*}; pub async fn list_query_results_for_management_group( operation_config: &crate::OperationConfig, policy_states_resource: &str, @@ -3194,7 +3194,7 @@ pub mod policy_states { } } pub mod list_query_results_for_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3286,7 +3286,7 @@ pub mod policy_states { } } pub mod summarize_for_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3392,7 +3392,7 @@ pub mod policy_states { } } pub mod list_query_results_for_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3482,7 +3482,7 @@ pub mod policy_states { } } pub mod summarize_for_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3590,7 +3590,7 @@ pub mod policy_states { } } pub mod list_query_results_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3682,7 +3682,7 @@ pub mod policy_states { } } pub mod summarize_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3792,7 +3792,7 @@ pub mod policy_states { } } pub mod list_query_results_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3882,7 +3882,7 @@ pub mod policy_states { } } pub mod summarize_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3992,7 +3992,7 @@ pub mod policy_states { } } pub mod list_query_results_for_policy_set_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4086,7 +4086,7 @@ pub mod policy_states { } } pub mod summarize_for_policy_set_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4196,7 +4196,7 @@ pub mod policy_states { } } pub mod list_query_results_for_policy_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4290,7 +4290,7 @@ pub mod policy_states { } } pub mod summarize_for_policy_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4405,7 +4405,7 @@ pub mod policy_states { } } pub mod list_query_results_for_subscription_level_policy_assignment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4501,7 +4501,7 @@ pub mod policy_states { } } pub mod summarize_for_subscription_level_policy_assignment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4610,7 +4610,7 @@ pub mod policy_states { } } pub mod list_query_results_for_resource_group_level_policy_assignment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4700,7 +4700,7 @@ pub mod policy_states { } } pub mod summarize_for_resource_group_level_policy_assignment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4769,7 +4769,7 @@ pub mod policy_states { } } pub mod get_metadata { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4793,7 +4793,7 @@ pub mod policy_states { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.PolicyInsights/operations", operation_config.base_path(),); @@ -4831,7 +4831,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/policyinsights/src/package_2019_10/operations.rs b/services/mgmt/policyinsights/src/package_2019_10/operations.rs index 6d8569f442..3bfc219f79 100644 --- a/services/mgmt/policyinsights/src/package_2019_10/operations.rs +++ b/services/mgmt/policyinsights/src/package_2019_10/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod policy_tracked_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_query_results_for_management_group( operation_config: &crate::OperationConfig, management_groups_namespace: &str, @@ -67,7 +67,7 @@ pub mod policy_tracked_resources { } } pub mod list_query_results_for_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -149,7 +149,7 @@ pub mod policy_tracked_resources { } } pub mod list_query_results_for_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -233,7 +233,7 @@ pub mod policy_tracked_resources { } } pub mod list_query_results_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -315,7 +315,7 @@ pub mod policy_tracked_resources { } } pub mod list_query_results_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -339,7 +339,7 @@ pub mod policy_tracked_resources { } } pub mod remediations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_deployments_at_management_group( operation_config: &crate::OperationConfig, management_groups_namespace: &str, @@ -398,7 +398,7 @@ pub mod remediations { } } pub mod list_deployments_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -474,7 +474,7 @@ pub mod remediations { } } pub mod cancel_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -555,7 +555,7 @@ pub mod remediations { } } pub mod list_for_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -630,7 +630,7 @@ pub mod remediations { } } pub mod get_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -713,7 +713,7 @@ pub mod remediations { } } pub mod create_or_update_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Remediation), @@ -794,7 +794,7 @@ pub mod remediations { } } pub mod delete_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Remediation), @@ -877,7 +877,7 @@ pub mod remediations { } } pub mod list_deployments_at_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -951,7 +951,7 @@ pub mod remediations { } } pub mod cancel_at_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1030,7 +1030,7 @@ pub mod remediations { } } pub mod list_for_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1101,7 +1101,7 @@ pub mod remediations { } } pub mod get_at_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1182,7 +1182,7 @@ pub mod remediations { } } pub mod create_or_update_at_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Remediation), @@ -1261,7 +1261,7 @@ pub mod remediations { } } pub mod delete_at_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Remediation), @@ -1346,7 +1346,7 @@ pub mod remediations { } } pub mod list_deployments_at_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1422,7 +1422,7 @@ pub mod remediations { } } pub mod cancel_at_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1503,7 +1503,7 @@ pub mod remediations { } } pub mod list_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1578,7 +1578,7 @@ pub mod remediations { } } pub mod get_at_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1661,7 +1661,7 @@ pub mod remediations { } } pub mod create_or_update_at_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Remediation), @@ -1742,7 +1742,7 @@ pub mod remediations { } } pub mod delete_at_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Remediation), @@ -1825,7 +1825,7 @@ pub mod remediations { } } pub mod list_deployments_at_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1897,7 +1897,7 @@ pub mod remediations { } } pub mod cancel_at_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1974,7 +1974,7 @@ pub mod remediations { } } pub mod list_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2045,7 +2045,7 @@ pub mod remediations { } } pub mod get_at_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2126,7 +2126,7 @@ pub mod remediations { } } pub mod create_or_update_at_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Remediation), @@ -2203,7 +2203,7 @@ pub mod remediations { } } pub mod delete_at_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Remediation), @@ -2232,7 +2232,7 @@ pub mod remediations { } } pub mod policy_events { - use crate::models::*; + use super::{models, models::*}; pub async fn next_link( operation_config: &crate::OperationConfig, skiptoken: Option<&str>, @@ -2281,7 +2281,7 @@ pub mod policy_events { } } pub mod next_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2305,7 +2305,7 @@ pub mod policy_events { } } pub mod policy_states { - use crate::models::*; + use super::{models, models::*}; pub async fn next_link( operation_config: &crate::OperationConfig, skiptoken: Option<&str>, @@ -2354,7 +2354,7 @@ pub mod policy_states { } } pub mod next_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2378,7 +2378,7 @@ pub mod policy_states { } } pub mod policy_metadata { - use crate::models::*; + use super::{models, models::*}; pub async fn get_resource( operation_config: &crate::OperationConfig, resource_name: &str, @@ -2426,7 +2426,7 @@ pub mod policy_metadata { } } pub mod get_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2491,7 +2491,7 @@ pub mod policy_metadata { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/policyinsights/src/package_2020_07/operations.rs b/services/mgmt/policyinsights/src/package_2020_07/operations.rs index e8470eec6f..57c0435c7f 100644 --- a/services/mgmt/policyinsights/src/package_2020_07/operations.rs +++ b/services/mgmt/policyinsights/src/package_2020_07/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod policy_tracked_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_query_results_for_management_group( operation_config: &crate::OperationConfig, management_groups_namespace: &str, @@ -67,7 +67,7 @@ pub mod policy_tracked_resources { } } pub mod list_query_results_for_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -149,7 +149,7 @@ pub mod policy_tracked_resources { } } pub mod list_query_results_for_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -233,7 +233,7 @@ pub mod policy_tracked_resources { } } pub mod list_query_results_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -315,7 +315,7 @@ pub mod policy_tracked_resources { } } pub mod list_query_results_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -339,7 +339,7 @@ pub mod policy_tracked_resources { } } pub mod remediations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_deployments_at_management_group( operation_config: &crate::OperationConfig, management_groups_namespace: &str, @@ -398,7 +398,7 @@ pub mod remediations { } } pub mod list_deployments_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -474,7 +474,7 @@ pub mod remediations { } } pub mod cancel_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -555,7 +555,7 @@ pub mod remediations { } } pub mod list_for_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -630,7 +630,7 @@ pub mod remediations { } } pub mod get_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -713,7 +713,7 @@ pub mod remediations { } } pub mod create_or_update_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Remediation), @@ -794,7 +794,7 @@ pub mod remediations { } } pub mod delete_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Remediation), @@ -877,7 +877,7 @@ pub mod remediations { } } pub mod list_deployments_at_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -951,7 +951,7 @@ pub mod remediations { } } pub mod cancel_at_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1030,7 +1030,7 @@ pub mod remediations { } } pub mod list_for_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1101,7 +1101,7 @@ pub mod remediations { } } pub mod get_at_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1182,7 +1182,7 @@ pub mod remediations { } } pub mod create_or_update_at_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Remediation), @@ -1261,7 +1261,7 @@ pub mod remediations { } } pub mod delete_at_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Remediation), @@ -1346,7 +1346,7 @@ pub mod remediations { } } pub mod list_deployments_at_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1422,7 +1422,7 @@ pub mod remediations { } } pub mod cancel_at_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1503,7 +1503,7 @@ pub mod remediations { } } pub mod list_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1578,7 +1578,7 @@ pub mod remediations { } } pub mod get_at_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1661,7 +1661,7 @@ pub mod remediations { } } pub mod create_or_update_at_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Remediation), @@ -1742,7 +1742,7 @@ pub mod remediations { } } pub mod delete_at_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Remediation), @@ -1825,7 +1825,7 @@ pub mod remediations { } } pub mod list_deployments_at_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1897,7 +1897,7 @@ pub mod remediations { } } pub mod cancel_at_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1974,7 +1974,7 @@ pub mod remediations { } } pub mod list_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2045,7 +2045,7 @@ pub mod remediations { } } pub mod get_at_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2126,7 +2126,7 @@ pub mod remediations { } } pub mod create_or_update_at_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Remediation), @@ -2203,7 +2203,7 @@ pub mod remediations { } } pub mod delete_at_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Remediation), @@ -2232,7 +2232,7 @@ pub mod remediations { } } pub mod policy_events { - use crate::models::*; + use super::{models, models::*}; pub async fn next_link( operation_config: &crate::OperationConfig, skiptoken: Option<&str>, @@ -2281,7 +2281,7 @@ pub mod policy_events { } } pub mod next_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2305,7 +2305,7 @@ pub mod policy_events { } } pub mod policy_states { - use crate::models::*; + use super::{models, models::*}; pub async fn next_link( operation_config: &crate::OperationConfig, skiptoken: Option<&str>, @@ -2354,7 +2354,7 @@ pub mod policy_states { } } pub mod next_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2378,7 +2378,7 @@ pub mod policy_states { } } pub mod policy_metadata { - use crate::models::*; + use super::{models, models::*}; pub async fn get_resource( operation_config: &crate::OperationConfig, resource_name: &str, @@ -2426,7 +2426,7 @@ pub mod policy_metadata { } } pub mod get_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2491,7 +2491,7 @@ pub mod policy_metadata { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2515,7 +2515,7 @@ pub mod policy_metadata { } } pub mod policy_restrictions { - use crate::models::*; + use super::{models, models::*}; pub async fn check_at_subscription_scope( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2567,7 +2567,7 @@ pub mod policy_restrictions { } } pub mod check_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2642,7 +2642,7 @@ pub mod policy_restrictions { } } pub mod check_at_resource_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/policyinsights/src/package_2020_07_preview/operations.rs b/services/mgmt/policyinsights/src/package_2020_07_preview/operations.rs index e8470eec6f..57c0435c7f 100644 --- a/services/mgmt/policyinsights/src/package_2020_07_preview/operations.rs +++ b/services/mgmt/policyinsights/src/package_2020_07_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod policy_tracked_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_query_results_for_management_group( operation_config: &crate::OperationConfig, management_groups_namespace: &str, @@ -67,7 +67,7 @@ pub mod policy_tracked_resources { } } pub mod list_query_results_for_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -149,7 +149,7 @@ pub mod policy_tracked_resources { } } pub mod list_query_results_for_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -233,7 +233,7 @@ pub mod policy_tracked_resources { } } pub mod list_query_results_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -315,7 +315,7 @@ pub mod policy_tracked_resources { } } pub mod list_query_results_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -339,7 +339,7 @@ pub mod policy_tracked_resources { } } pub mod remediations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_deployments_at_management_group( operation_config: &crate::OperationConfig, management_groups_namespace: &str, @@ -398,7 +398,7 @@ pub mod remediations { } } pub mod list_deployments_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -474,7 +474,7 @@ pub mod remediations { } } pub mod cancel_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -555,7 +555,7 @@ pub mod remediations { } } pub mod list_for_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -630,7 +630,7 @@ pub mod remediations { } } pub mod get_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -713,7 +713,7 @@ pub mod remediations { } } pub mod create_or_update_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Remediation), @@ -794,7 +794,7 @@ pub mod remediations { } } pub mod delete_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Remediation), @@ -877,7 +877,7 @@ pub mod remediations { } } pub mod list_deployments_at_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -951,7 +951,7 @@ pub mod remediations { } } pub mod cancel_at_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1030,7 +1030,7 @@ pub mod remediations { } } pub mod list_for_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1101,7 +1101,7 @@ pub mod remediations { } } pub mod get_at_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1182,7 +1182,7 @@ pub mod remediations { } } pub mod create_or_update_at_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Remediation), @@ -1261,7 +1261,7 @@ pub mod remediations { } } pub mod delete_at_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Remediation), @@ -1346,7 +1346,7 @@ pub mod remediations { } } pub mod list_deployments_at_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1422,7 +1422,7 @@ pub mod remediations { } } pub mod cancel_at_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1503,7 +1503,7 @@ pub mod remediations { } } pub mod list_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1578,7 +1578,7 @@ pub mod remediations { } } pub mod get_at_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1661,7 +1661,7 @@ pub mod remediations { } } pub mod create_or_update_at_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Remediation), @@ -1742,7 +1742,7 @@ pub mod remediations { } } pub mod delete_at_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Remediation), @@ -1825,7 +1825,7 @@ pub mod remediations { } } pub mod list_deployments_at_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1897,7 +1897,7 @@ pub mod remediations { } } pub mod cancel_at_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1974,7 +1974,7 @@ pub mod remediations { } } pub mod list_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2045,7 +2045,7 @@ pub mod remediations { } } pub mod get_at_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2126,7 +2126,7 @@ pub mod remediations { } } pub mod create_or_update_at_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Remediation), @@ -2203,7 +2203,7 @@ pub mod remediations { } } pub mod delete_at_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Remediation), @@ -2232,7 +2232,7 @@ pub mod remediations { } } pub mod policy_events { - use crate::models::*; + use super::{models, models::*}; pub async fn next_link( operation_config: &crate::OperationConfig, skiptoken: Option<&str>, @@ -2281,7 +2281,7 @@ pub mod policy_events { } } pub mod next_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2305,7 +2305,7 @@ pub mod policy_events { } } pub mod policy_states { - use crate::models::*; + use super::{models, models::*}; pub async fn next_link( operation_config: &crate::OperationConfig, skiptoken: Option<&str>, @@ -2354,7 +2354,7 @@ pub mod policy_states { } } pub mod next_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2378,7 +2378,7 @@ pub mod policy_states { } } pub mod policy_metadata { - use crate::models::*; + use super::{models, models::*}; pub async fn get_resource( operation_config: &crate::OperationConfig, resource_name: &str, @@ -2426,7 +2426,7 @@ pub mod policy_metadata { } } pub mod get_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2491,7 +2491,7 @@ pub mod policy_metadata { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2515,7 +2515,7 @@ pub mod policy_metadata { } } pub mod policy_restrictions { - use crate::models::*; + use super::{models, models::*}; pub async fn check_at_subscription_scope( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2567,7 +2567,7 @@ pub mod policy_restrictions { } } pub mod check_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2642,7 +2642,7 @@ pub mod policy_restrictions { } } pub mod check_at_resource_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/policyinsights/src/package_2021_01/operations.rs b/services/mgmt/policyinsights/src/package_2021_01/operations.rs index 0624922bef..64267c2379 100644 --- a/services/mgmt/policyinsights/src/package_2021_01/operations.rs +++ b/services/mgmt/policyinsights/src/package_2021_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod policy_tracked_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_query_results_for_management_group( operation_config: &crate::OperationConfig, management_groups_namespace: &str, @@ -67,7 +67,7 @@ pub mod policy_tracked_resources { } } pub mod list_query_results_for_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -149,7 +149,7 @@ pub mod policy_tracked_resources { } } pub mod list_query_results_for_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -233,7 +233,7 @@ pub mod policy_tracked_resources { } } pub mod list_query_results_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -315,7 +315,7 @@ pub mod policy_tracked_resources { } } pub mod list_query_results_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -339,7 +339,7 @@ pub mod policy_tracked_resources { } } pub mod remediations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_deployments_at_management_group( operation_config: &crate::OperationConfig, management_groups_namespace: &str, @@ -398,7 +398,7 @@ pub mod remediations { } } pub mod list_deployments_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -474,7 +474,7 @@ pub mod remediations { } } pub mod cancel_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -555,7 +555,7 @@ pub mod remediations { } } pub mod list_for_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -630,7 +630,7 @@ pub mod remediations { } } pub mod get_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -713,7 +713,7 @@ pub mod remediations { } } pub mod create_or_update_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Remediation), @@ -794,7 +794,7 @@ pub mod remediations { } } pub mod delete_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Remediation), @@ -877,7 +877,7 @@ pub mod remediations { } } pub mod list_deployments_at_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -951,7 +951,7 @@ pub mod remediations { } } pub mod cancel_at_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1030,7 +1030,7 @@ pub mod remediations { } } pub mod list_for_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1101,7 +1101,7 @@ pub mod remediations { } } pub mod get_at_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1182,7 +1182,7 @@ pub mod remediations { } } pub mod create_or_update_at_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Remediation), @@ -1261,7 +1261,7 @@ pub mod remediations { } } pub mod delete_at_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Remediation), @@ -1346,7 +1346,7 @@ pub mod remediations { } } pub mod list_deployments_at_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1422,7 +1422,7 @@ pub mod remediations { } } pub mod cancel_at_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1503,7 +1503,7 @@ pub mod remediations { } } pub mod list_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1578,7 +1578,7 @@ pub mod remediations { } } pub mod get_at_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1661,7 +1661,7 @@ pub mod remediations { } } pub mod create_or_update_at_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Remediation), @@ -1742,7 +1742,7 @@ pub mod remediations { } } pub mod delete_at_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Remediation), @@ -1825,7 +1825,7 @@ pub mod remediations { } } pub mod list_deployments_at_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1897,7 +1897,7 @@ pub mod remediations { } } pub mod cancel_at_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1974,7 +1974,7 @@ pub mod remediations { } } pub mod list_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2045,7 +2045,7 @@ pub mod remediations { } } pub mod get_at_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2126,7 +2126,7 @@ pub mod remediations { } } pub mod create_or_update_at_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Remediation), @@ -2203,7 +2203,7 @@ pub mod remediations { } } pub mod delete_at_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Remediation), @@ -2232,7 +2232,7 @@ pub mod remediations { } } pub mod policy_events { - use crate::models::*; + use super::{models, models::*}; pub async fn next_link( operation_config: &crate::OperationConfig, skiptoken: Option<&str>, @@ -2281,7 +2281,7 @@ pub mod policy_events { } } pub mod next_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2305,7 +2305,7 @@ pub mod policy_events { } } pub mod policy_states { - use crate::models::*; + use super::{models, models::*}; pub async fn next_link( operation_config: &crate::OperationConfig, skiptoken: Option<&str>, @@ -2354,7 +2354,7 @@ pub mod policy_states { } } pub mod next_link { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2378,7 +2378,7 @@ pub mod policy_states { } } pub mod policy_metadata { - use crate::models::*; + use super::{models, models::*}; pub async fn get_resource( operation_config: &crate::OperationConfig, resource_name: &str, @@ -2426,7 +2426,7 @@ pub mod policy_metadata { } } pub mod get_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2491,7 +2491,7 @@ pub mod policy_metadata { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2515,7 +2515,7 @@ pub mod policy_metadata { } } pub mod policy_restrictions { - use crate::models::*; + use super::{models, models::*}; pub async fn check_at_subscription_scope( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2567,7 +2567,7 @@ pub mod policy_restrictions { } } pub mod check_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2642,7 +2642,7 @@ pub mod policy_restrictions { } } pub mod check_at_resource_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2666,7 +2666,7 @@ pub mod policy_restrictions { } } pub mod attestations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_for_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2724,7 +2724,7 @@ pub mod attestations { } } pub mod list_for_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2795,7 +2795,7 @@ pub mod attestations { } } pub mod get_at_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2876,7 +2876,7 @@ pub mod attestations { } } pub mod create_or_update_at_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Attestation), @@ -2950,7 +2950,7 @@ pub mod attestations { } } pub mod delete_at_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3036,7 +3036,7 @@ pub mod attestations { } } pub mod list_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3111,7 +3111,7 @@ pub mod attestations { } } pub mod get_at_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3194,7 +3194,7 @@ pub mod attestations { } } pub mod create_or_update_at_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Attestation), @@ -3270,7 +3270,7 @@ pub mod attestations { } } pub mod delete_at_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3352,7 +3352,7 @@ pub mod attestations { } } pub mod list_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3423,7 +3423,7 @@ pub mod attestations { } } pub mod get_at_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3504,7 +3504,7 @@ pub mod attestations { } } pub mod create_or_update_at_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Attestation), @@ -3576,7 +3576,7 @@ pub mod attestations { } } pub mod delete_at_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/portal/Cargo.toml b/services/mgmt/portal/Cargo.toml index 08b0107b0c..24ba19bc52 100644 --- a/services/mgmt/portal/Cargo.toml +++ b/services/mgmt/portal/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2020-09-01-preview"] +no-default-version = [] "package-2020-09-01-preview" = [] "package-2019-01-01-preview" = [] "package-2018-10-01-preview" = [] diff --git a/services/mgmt/portal/src/lib.rs b/services/mgmt/portal/src/lib.rs index c9abaf6e2e..6a6c1dbebb 100644 --- a/services/mgmt/portal/src/lib.rs +++ b/services/mgmt/portal/src/lib.rs @@ -1,21 +1,29 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2020-09-01-preview")] -mod package_2020_09_01_preview; -#[cfg(feature = "package-2020-09-01-preview")] +pub mod package_2020_09_01_preview; +#[cfg(all(feature = "package-2020-09-01-preview", not(feature = "no-default-version")))] pub use package_2020_09_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-01-01-preview")] -mod package_2019_01_01_preview; -#[cfg(feature = "package-2019-01-01-preview")] +pub mod package_2019_01_01_preview; +#[cfg(all(feature = "package-2019-01-01-preview", not(feature = "no-default-version")))] pub use package_2019_01_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-10-01-preview")] -mod package_2018_10_01_preview; -#[cfg(feature = "package-2018-10-01-preview")] +pub mod package_2018_10_01_preview; +#[cfg(all(feature = "package-2018-10-01-preview", not(feature = "no-default-version")))] pub use package_2018_10_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2015-08-01-preview")] -mod package_2015_08_01_preview; +pub mod package_2015_08_01_preview; use azure_core::setters; -#[cfg(feature = "package-2015-08-01-preview")] +#[cfg(all(feature = "package-2015-08-01-preview", not(feature = "no-default-version")))] pub use package_2015_08_01_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -39,7 +47,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/portal/src/package_2015_08_01_preview/operations.rs b/services/mgmt/portal/src/package_2015_08_01_preview/operations.rs index 2bbc02572b..0b5310f3d2 100644 --- a/services/mgmt/portal/src/package_2015_08_01_preview/operations.rs +++ b/services/mgmt/portal/src/package_2015_08_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Portal/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod dashboards { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -115,7 +115,7 @@ pub mod dashboards { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -196,7 +196,7 @@ pub mod dashboards { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Dashboard), @@ -273,7 +273,7 @@ pub mod dashboards { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -339,7 +339,7 @@ pub mod dashboards { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -417,7 +417,7 @@ pub mod dashboards { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -486,7 +486,7 @@ pub mod dashboards { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/portal/src/package_2018_10_01_preview/operations.rs b/services/mgmt/portal/src/package_2018_10_01_preview/operations.rs index 2bbc02572b..0b5310f3d2 100644 --- a/services/mgmt/portal/src/package_2018_10_01_preview/operations.rs +++ b/services/mgmt/portal/src/package_2018_10_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Portal/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod dashboards { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -115,7 +115,7 @@ pub mod dashboards { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -196,7 +196,7 @@ pub mod dashboards { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Dashboard), @@ -273,7 +273,7 @@ pub mod dashboards { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -339,7 +339,7 @@ pub mod dashboards { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -417,7 +417,7 @@ pub mod dashboards { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -486,7 +486,7 @@ pub mod dashboards { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/portal/src/package_2019_01_01_preview/operations.rs b/services/mgmt/portal/src/package_2019_01_01_preview/operations.rs index dd3278c0ae..ef3c14c711 100644 --- a/services/mgmt/portal/src/package_2019_01_01_preview/operations.rs +++ b/services/mgmt/portal/src/package_2019_01_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Portal/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod dashboards { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -116,7 +116,7 @@ pub mod dashboards { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -199,7 +199,7 @@ pub mod dashboards { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Dashboard), @@ -277,7 +277,7 @@ pub mod dashboards { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -345,7 +345,7 @@ pub mod dashboards { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -423,7 +423,7 @@ pub mod dashboards { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -492,7 +492,7 @@ pub mod dashboards { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -516,7 +516,7 @@ pub mod dashboards { } } pub mod tenant_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Portal/tenantConfigurations", operation_config.base_path(),); @@ -554,7 +554,7 @@ pub mod tenant_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -621,7 +621,7 @@ pub mod tenant_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -697,7 +697,7 @@ pub mod tenant_configurations { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Configuration), @@ -764,7 +764,7 @@ pub mod tenant_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/portal/src/package_2020_09_01_preview/operations.rs b/services/mgmt/portal/src/package_2020_09_01_preview/operations.rs index 9db647d62f..f1101af660 100644 --- a/services/mgmt/portal/src/package_2020_09_01_preview/operations.rs +++ b/services/mgmt/portal/src/package_2020_09_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Portal/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod dashboards { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -116,7 +116,7 @@ pub mod dashboards { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -199,7 +199,7 @@ pub mod dashboards { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Dashboard), @@ -277,7 +277,7 @@ pub mod dashboards { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -345,7 +345,7 @@ pub mod dashboards { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -423,7 +423,7 @@ pub mod dashboards { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -492,7 +492,7 @@ pub mod dashboards { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -516,7 +516,7 @@ pub mod dashboards { } } pub mod tenant_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Portal/tenantConfigurations", operation_config.base_path(),); @@ -554,7 +554,7 @@ pub mod tenant_configurations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -621,7 +621,7 @@ pub mod tenant_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -697,7 +697,7 @@ pub mod tenant_configurations { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Configuration), @@ -764,7 +764,7 @@ pub mod tenant_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -793,7 +793,7 @@ pub mod tenant_configurations { } } pub mod list_tenant_configuration_violations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -835,7 +835,7 @@ pub mod list_tenant_configuration_violations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/postgresql/Cargo.toml b/services/mgmt/postgresql/Cargo.toml index 299041dcc6..aa7a8d32b2 100644 --- a/services/mgmt/postgresql/Cargo.toml +++ b/services/mgmt/postgresql/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-flexibleserver-2021-06"] +no-default-version = [] "package-2021-06-15-privatepreview" = [] "package-flexibleserver-2021-06" = [] "package-flexibleserver-2021-06-preview" = [] diff --git a/services/mgmt/postgresql/src/lib.rs b/services/mgmt/postgresql/src/lib.rs index 69894399e7..0d13142a72 100644 --- a/services/mgmt/postgresql/src/lib.rs +++ b/services/mgmt/postgresql/src/lib.rs @@ -1,61 +1,69 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-06-15-privatepreview")] -mod package_2021_06_15_privatepreview; -#[cfg(feature = "package-2021-06-15-privatepreview")] +pub mod package_2021_06_15_privatepreview; +#[cfg(all(feature = "package-2021-06-15-privatepreview", not(feature = "no-default-version")))] pub use package_2021_06_15_privatepreview::{models, operations, API_VERSION}; #[cfg(feature = "package-flexibleserver-2021-06")] -mod package_flexibleserver_2021_06; -#[cfg(feature = "package-flexibleserver-2021-06")] +pub mod package_flexibleserver_2021_06; +#[cfg(all(feature = "package-flexibleserver-2021-06", not(feature = "no-default-version")))] pub use package_flexibleserver_2021_06::{models, operations, API_VERSION}; #[cfg(feature = "package-flexibleserver-2021-06-preview")] -mod package_flexibleserver_2021_06_preview; -#[cfg(feature = "package-flexibleserver-2021-06-preview")] +pub mod package_flexibleserver_2021_06_preview; +#[cfg(all(feature = "package-flexibleserver-2021-06-preview", not(feature = "no-default-version")))] pub use package_flexibleserver_2021_06_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-04-10-privatepreview")] -mod package_2021_04_10_privatepreview; -#[cfg(feature = "package-2021-04-10-privatepreview")] +pub mod package_2021_04_10_privatepreview; +#[cfg(all(feature = "package-2021-04-10-privatepreview", not(feature = "no-default-version")))] pub use package_2021_04_10_privatepreview::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-03-31-privatepreview")] -mod package_2021_03_31_privatepreview; -#[cfg(feature = "package-2021-03-31-privatepreview")] +pub mod package_2021_03_31_privatepreview; +#[cfg(all(feature = "package-2021-03-31-privatepreview", not(feature = "no-default-version")))] pub use package_2021_03_31_privatepreview::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-11-05-preview")] -mod package_2020_11_05_preview; -#[cfg(feature = "package-2020-11-05-preview")] +pub mod package_2020_11_05_preview; +#[cfg(all(feature = "package-2020-11-05-preview", not(feature = "no-default-version")))] pub use package_2020_11_05_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-02-14-preview")] -mod package_2020_02_14_preview; -#[cfg(feature = "package-2020-02-14-preview")] +pub mod package_2020_02_14_preview; +#[cfg(all(feature = "package-2020-02-14-preview", not(feature = "no-default-version")))] pub use package_2020_02_14_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-02-14-privatepreview")] -mod package_2020_02_14_privatepreview; -#[cfg(feature = "package-2020-02-14-privatepreview")] +pub mod package_2020_02_14_privatepreview; +#[cfg(all(feature = "package-2020-02-14-privatepreview", not(feature = "no-default-version")))] pub use package_2020_02_14_privatepreview::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-01-01-privatepreview")] -mod package_2020_01_01_privatepreview; -#[cfg(feature = "package-2020-01-01-privatepreview")] +pub mod package_2020_01_01_privatepreview; +#[cfg(all(feature = "package-2020-01-01-privatepreview", not(feature = "no-default-version")))] pub use package_2020_01_01_privatepreview::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-01-01")] -mod package_2020_01_01; -#[cfg(feature = "package-2020-01-01")] +pub mod package_2020_01_01; +#[cfg(all(feature = "package-2020-01-01", not(feature = "no-default-version")))] pub use package_2020_01_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-06-01-privatepreview")] -mod package_2018_06_01_privatepreview; -#[cfg(feature = "package-2018-06-01-privatepreview")] +pub mod package_2018_06_01_privatepreview; +#[cfg(all(feature = "package-2018-06-01-privatepreview", not(feature = "no-default-version")))] pub use package_2018_06_01_privatepreview::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-06-01")] -mod package_2018_06_01; -#[cfg(feature = "package-2018-06-01")] +pub mod package_2018_06_01; +#[cfg(all(feature = "package-2018-06-01", not(feature = "no-default-version")))] pub use package_2018_06_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-12-01-preview")] -mod package_2017_12_01_preview; -#[cfg(feature = "package-2017-12-01-preview")] +pub mod package_2017_12_01_preview; +#[cfg(all(feature = "package-2017-12-01-preview", not(feature = "no-default-version")))] pub use package_2017_12_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-12-01")] -mod package_2017_12_01; +pub mod package_2017_12_01; use azure_core::setters; -#[cfg(feature = "package-2017-12-01")] +#[cfg(all(feature = "package-2017-12-01", not(feature = "no-default-version")))] pub use package_2017_12_01::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -79,7 +87,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/postgresql/src/package_2017_12_01/operations.rs b/services/mgmt/postgresql/src/package_2017_12_01/operations.rs index 37490f3afe..4f5d0e3dd7 100644 --- a/services/mgmt/postgresql/src/package_2017_12_01/operations.rs +++ b/services/mgmt/postgresql/src/package_2017_12_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod servers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -132,7 +132,7 @@ pub mod servers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -211,7 +211,7 @@ pub mod servers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -283,7 +283,7 @@ pub mod servers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -362,7 +362,7 @@ pub mod servers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -428,7 +428,7 @@ pub mod servers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -498,7 +498,7 @@ pub mod servers { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -527,7 +527,7 @@ pub mod servers { } } pub mod replicas { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -579,7 +579,7 @@ pub mod replicas { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -603,7 +603,7 @@ pub mod replicas { } } pub mod firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -654,7 +654,7 @@ pub mod firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -738,7 +738,7 @@ pub mod firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FirewallRule), @@ -813,7 +813,7 @@ pub mod firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -892,7 +892,7 @@ pub mod firewall_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -916,7 +916,7 @@ pub mod firewall_rules { } } pub mod virtual_network_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -959,7 +959,7 @@ pub mod virtual_network_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1032,7 +1032,7 @@ pub mod virtual_network_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkRule), @@ -1096,7 +1096,7 @@ pub mod virtual_network_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1164,7 +1164,7 @@ pub mod virtual_network_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1185,7 +1185,7 @@ pub mod virtual_network_rules { } } pub mod databases { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1236,7 +1236,7 @@ pub mod databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1320,7 +1320,7 @@ pub mod databases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1395,7 +1395,7 @@ pub mod databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1474,7 +1474,7 @@ pub mod databases { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1498,7 +1498,7 @@ pub mod databases { } } pub mod configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1549,7 +1549,7 @@ pub mod configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1627,7 +1627,7 @@ pub mod configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Configuration), @@ -1705,7 +1705,7 @@ pub mod configurations { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1729,7 +1729,7 @@ pub mod configurations { } } pub mod server_parameters { - use crate::models::*; + use super::{models, models::*}; pub async fn list_update_configurations( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1786,7 +1786,7 @@ pub mod server_parameters { } } pub mod list_update_configurations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConfigurationListResult), @@ -1815,7 +1815,7 @@ pub mod server_parameters { } } pub mod log_files { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1867,7 +1867,7 @@ pub mod log_files { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1891,7 +1891,7 @@ pub mod log_files { } } pub mod server_administrators { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1940,7 +1940,7 @@ pub mod server_administrators { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2021,7 +2021,7 @@ pub mod server_administrators { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerAdministratorResource), @@ -2093,7 +2093,7 @@ pub mod server_administrators { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2169,7 +2169,7 @@ pub mod server_administrators { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2193,7 +2193,7 @@ pub mod server_administrators { } } pub mod recoverable_servers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2242,7 +2242,7 @@ pub mod recoverable_servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2266,7 +2266,7 @@ pub mod recoverable_servers { } } pub mod server_based_performance_tier { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2315,7 +2315,7 @@ pub mod server_based_performance_tier { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2339,7 +2339,7 @@ pub mod server_based_performance_tier { } } pub mod location_based_performance_tier { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2386,7 +2386,7 @@ pub mod location_based_performance_tier { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2410,7 +2410,7 @@ pub mod location_based_performance_tier { } } pub mod check_name_availability { - use crate::models::*; + use super::{models, models::*}; pub async fn execute( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2460,7 +2460,7 @@ pub mod check_name_availability { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2484,7 +2484,7 @@ pub mod check_name_availability { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DBforPostgreSQL/operations", operation_config.base_path(),); @@ -2522,7 +2522,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2546,7 +2546,7 @@ pub mod operations { } } pub mod server_security_alert_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2589,7 +2589,7 @@ pub mod server_security_alert_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2656,7 +2656,7 @@ pub mod server_security_alert_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerSecurityAlertPolicy), @@ -2723,7 +2723,7 @@ pub mod server_security_alert_policies { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/postgresql/src/package_2017_12_01_preview/operations.rs b/services/mgmt/postgresql/src/package_2017_12_01_preview/operations.rs index 53483b0346..2ea08d3ed4 100644 --- a/services/mgmt/postgresql/src/package_2017_12_01_preview/operations.rs +++ b/services/mgmt/postgresql/src/package_2017_12_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod servers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -132,7 +132,7 @@ pub mod servers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -211,7 +211,7 @@ pub mod servers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -283,7 +283,7 @@ pub mod servers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -362,7 +362,7 @@ pub mod servers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -428,7 +428,7 @@ pub mod servers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -498,7 +498,7 @@ pub mod servers { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -527,7 +527,7 @@ pub mod servers { } } pub mod replicas { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -579,7 +579,7 @@ pub mod replicas { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -603,7 +603,7 @@ pub mod replicas { } } pub mod firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -654,7 +654,7 @@ pub mod firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -738,7 +738,7 @@ pub mod firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FirewallRule), @@ -813,7 +813,7 @@ pub mod firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -892,7 +892,7 @@ pub mod firewall_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -916,7 +916,7 @@ pub mod firewall_rules { } } pub mod virtual_network_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -959,7 +959,7 @@ pub mod virtual_network_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1032,7 +1032,7 @@ pub mod virtual_network_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkRule), @@ -1096,7 +1096,7 @@ pub mod virtual_network_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1164,7 +1164,7 @@ pub mod virtual_network_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1185,7 +1185,7 @@ pub mod virtual_network_rules { } } pub mod databases { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1236,7 +1236,7 @@ pub mod databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1320,7 +1320,7 @@ pub mod databases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1395,7 +1395,7 @@ pub mod databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1474,7 +1474,7 @@ pub mod databases { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1498,7 +1498,7 @@ pub mod databases { } } pub mod configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1549,7 +1549,7 @@ pub mod configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1627,7 +1627,7 @@ pub mod configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Configuration), @@ -1705,7 +1705,7 @@ pub mod configurations { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1729,7 +1729,7 @@ pub mod configurations { } } pub mod server_parameters { - use crate::models::*; + use super::{models, models::*}; pub async fn list_update_configurations( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1786,7 +1786,7 @@ pub mod server_parameters { } } pub mod list_update_configurations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConfigurationListResult), @@ -1815,7 +1815,7 @@ pub mod server_parameters { } } pub mod log_files { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1867,7 +1867,7 @@ pub mod log_files { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1891,7 +1891,7 @@ pub mod log_files { } } pub mod server_administrators { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1940,7 +1940,7 @@ pub mod server_administrators { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2021,7 +2021,7 @@ pub mod server_administrators { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerAdministratorResource), @@ -2093,7 +2093,7 @@ pub mod server_administrators { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2169,7 +2169,7 @@ pub mod server_administrators { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2193,7 +2193,7 @@ pub mod server_administrators { } } pub mod recoverable_servers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2242,7 +2242,7 @@ pub mod recoverable_servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2266,7 +2266,7 @@ pub mod recoverable_servers { } } pub mod server_based_performance_tier { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2315,7 +2315,7 @@ pub mod server_based_performance_tier { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2339,7 +2339,7 @@ pub mod server_based_performance_tier { } } pub mod location_based_performance_tier { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2386,7 +2386,7 @@ pub mod location_based_performance_tier { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2410,7 +2410,7 @@ pub mod location_based_performance_tier { } } pub mod check_name_availability { - use crate::models::*; + use super::{models, models::*}; pub async fn execute( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2460,7 +2460,7 @@ pub mod check_name_availability { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2484,7 +2484,7 @@ pub mod check_name_availability { } } pub mod server_security_alert_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2527,7 +2527,7 @@ pub mod server_security_alert_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2594,7 +2594,7 @@ pub mod server_security_alert_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerSecurityAlertPolicy), @@ -2661,7 +2661,7 @@ pub mod server_security_alert_policies { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2682,7 +2682,7 @@ pub mod server_security_alert_policies { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DBforPostgreSQL/operations", operation_config.base_path(),); @@ -2720,7 +2720,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/postgresql/src/package_2018_06_01/operations.rs b/services/mgmt/postgresql/src/package_2018_06_01/operations.rs index 4c5f608635..38010ef7e1 100644 --- a/services/mgmt/postgresql/src/package_2018_06_01/operations.rs +++ b/services/mgmt/postgresql/src/package_2018_06_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod servers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -132,7 +132,7 @@ pub mod servers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -211,7 +211,7 @@ pub mod servers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -283,7 +283,7 @@ pub mod servers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -362,7 +362,7 @@ pub mod servers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -428,7 +428,7 @@ pub mod servers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -498,7 +498,7 @@ pub mod servers { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -527,7 +527,7 @@ pub mod servers { } } pub mod replicas { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -579,7 +579,7 @@ pub mod replicas { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -603,7 +603,7 @@ pub mod replicas { } } pub mod firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -654,7 +654,7 @@ pub mod firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -738,7 +738,7 @@ pub mod firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FirewallRule), @@ -813,7 +813,7 @@ pub mod firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -892,7 +892,7 @@ pub mod firewall_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -916,7 +916,7 @@ pub mod firewall_rules { } } pub mod virtual_network_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -959,7 +959,7 @@ pub mod virtual_network_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1032,7 +1032,7 @@ pub mod virtual_network_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkRule), @@ -1096,7 +1096,7 @@ pub mod virtual_network_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1164,7 +1164,7 @@ pub mod virtual_network_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1185,7 +1185,7 @@ pub mod virtual_network_rules { } } pub mod databases { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1236,7 +1236,7 @@ pub mod databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1320,7 +1320,7 @@ pub mod databases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1395,7 +1395,7 @@ pub mod databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1474,7 +1474,7 @@ pub mod databases { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1498,7 +1498,7 @@ pub mod databases { } } pub mod configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1549,7 +1549,7 @@ pub mod configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1627,7 +1627,7 @@ pub mod configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Configuration), @@ -1705,7 +1705,7 @@ pub mod configurations { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1729,7 +1729,7 @@ pub mod configurations { } } pub mod server_parameters { - use crate::models::*; + use super::{models, models::*}; pub async fn list_update_configurations( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1786,7 +1786,7 @@ pub mod server_parameters { } } pub mod list_update_configurations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConfigurationListResult), @@ -1815,7 +1815,7 @@ pub mod server_parameters { } } pub mod log_files { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1867,7 +1867,7 @@ pub mod log_files { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1891,7 +1891,7 @@ pub mod log_files { } } pub mod server_administrators { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1940,7 +1940,7 @@ pub mod server_administrators { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2021,7 +2021,7 @@ pub mod server_administrators { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerAdministratorResource), @@ -2093,7 +2093,7 @@ pub mod server_administrators { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2169,7 +2169,7 @@ pub mod server_administrators { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2193,7 +2193,7 @@ pub mod server_administrators { } } pub mod recoverable_servers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2242,7 +2242,7 @@ pub mod recoverable_servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2266,7 +2266,7 @@ pub mod recoverable_servers { } } pub mod server_based_performance_tier { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2315,7 +2315,7 @@ pub mod server_based_performance_tier { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2339,7 +2339,7 @@ pub mod server_based_performance_tier { } } pub mod location_based_performance_tier { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2386,7 +2386,7 @@ pub mod location_based_performance_tier { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2410,7 +2410,7 @@ pub mod location_based_performance_tier { } } pub mod check_name_availability { - use crate::models::*; + use super::{models, models::*}; pub async fn execute( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2460,7 +2460,7 @@ pub mod check_name_availability { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2484,7 +2484,7 @@ pub mod check_name_availability { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DBforPostgreSQL/operations", operation_config.base_path(),); @@ -2522,7 +2522,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2546,7 +2546,7 @@ pub mod operations { } } pub mod server_security_alert_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2589,7 +2589,7 @@ pub mod server_security_alert_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2656,7 +2656,7 @@ pub mod server_security_alert_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerSecurityAlertPolicy), @@ -2723,7 +2723,7 @@ pub mod server_security_alert_policies { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2744,7 +2744,7 @@ pub mod server_security_alert_policies { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2795,7 +2795,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2873,7 +2873,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -2955,7 +2955,7 @@ pub mod private_endpoint_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3024,7 +3024,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3103,7 +3103,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3127,7 +3127,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3179,7 +3179,7 @@ pub mod private_link_resources { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3251,7 +3251,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3328,7 +3328,7 @@ pub async fn reset_query_performance_insight_data( } } pub mod reset_query_performance_insight_data { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3351,7 +3351,7 @@ pub mod reset_query_performance_insight_data { } } pub mod query_texts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3402,7 +3402,7 @@ pub mod query_texts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3479,7 +3479,7 @@ pub mod query_texts { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3503,7 +3503,7 @@ pub mod query_texts { } } pub mod top_query_statistics { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3554,7 +3554,7 @@ pub mod top_query_statistics { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3627,7 +3627,7 @@ pub mod top_query_statistics { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3651,7 +3651,7 @@ pub mod top_query_statistics { } } pub mod wait_statistics { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3702,7 +3702,7 @@ pub mod wait_statistics { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3777,7 +3777,7 @@ pub mod wait_statistics { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3801,7 +3801,7 @@ pub mod wait_statistics { } } pub mod advisors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3852,7 +3852,7 @@ pub mod advisors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3925,7 +3925,7 @@ pub mod advisors { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4001,7 +4001,7 @@ pub mod advisors { } } pub mod start_recommended_action_session { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4030,7 +4030,7 @@ pub mod advisors { } } pub mod recommended_actions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4083,7 +4083,7 @@ pub mod recommended_actions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4162,7 +4162,7 @@ pub mod recommended_actions { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4186,7 +4186,7 @@ pub mod recommended_actions { } } pub mod location_based_recommended_action_sessions_operation_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4235,7 +4235,7 @@ pub mod location_based_recommended_action_sessions_operation_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4259,7 +4259,7 @@ pub mod location_based_recommended_action_sessions_operation_status { } } pub mod location_based_recommended_action_sessions_result { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4314,7 +4314,7 @@ pub mod location_based_recommended_action_sessions_result { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecommendationActionsResultList), diff --git a/services/mgmt/postgresql/src/package_2018_06_01_privatepreview/operations.rs b/services/mgmt/postgresql/src/package_2018_06_01_privatepreview/operations.rs index f6b070c163..c3bc585467 100644 --- a/services/mgmt/postgresql/src/package_2018_06_01_privatepreview/operations.rs +++ b/services/mgmt/postgresql/src/package_2018_06_01_privatepreview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -55,7 +55,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -133,7 +133,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -215,7 +215,7 @@ pub mod private_endpoint_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -284,7 +284,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -363,7 +363,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -387,7 +387,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -439,7 +439,7 @@ pub mod private_link_resources { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -511,7 +511,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/postgresql/src/package_2020_01_01/operations.rs b/services/mgmt/postgresql/src/package_2020_01_01/operations.rs index b47b0793ce..55a5c5ac32 100644 --- a/services/mgmt/postgresql/src/package_2020_01_01/operations.rs +++ b/services/mgmt/postgresql/src/package_2020_01_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod servers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -132,7 +132,7 @@ pub mod servers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -211,7 +211,7 @@ pub mod servers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -283,7 +283,7 @@ pub mod servers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -362,7 +362,7 @@ pub mod servers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -428,7 +428,7 @@ pub mod servers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -498,7 +498,7 @@ pub mod servers { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -527,7 +527,7 @@ pub mod servers { } } pub mod replicas { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -579,7 +579,7 @@ pub mod replicas { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -603,7 +603,7 @@ pub mod replicas { } } pub mod firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -654,7 +654,7 @@ pub mod firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -738,7 +738,7 @@ pub mod firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FirewallRule), @@ -813,7 +813,7 @@ pub mod firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -892,7 +892,7 @@ pub mod firewall_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -916,7 +916,7 @@ pub mod firewall_rules { } } pub mod virtual_network_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -959,7 +959,7 @@ pub mod virtual_network_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1032,7 +1032,7 @@ pub mod virtual_network_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkRule), @@ -1096,7 +1096,7 @@ pub mod virtual_network_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1164,7 +1164,7 @@ pub mod virtual_network_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1185,7 +1185,7 @@ pub mod virtual_network_rules { } } pub mod databases { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1236,7 +1236,7 @@ pub mod databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1320,7 +1320,7 @@ pub mod databases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1395,7 +1395,7 @@ pub mod databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1474,7 +1474,7 @@ pub mod databases { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1498,7 +1498,7 @@ pub mod databases { } } pub mod configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1549,7 +1549,7 @@ pub mod configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1627,7 +1627,7 @@ pub mod configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Configuration), @@ -1705,7 +1705,7 @@ pub mod configurations { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1729,7 +1729,7 @@ pub mod configurations { } } pub mod server_parameters { - use crate::models::*; + use super::{models, models::*}; pub async fn list_update_configurations( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1786,7 +1786,7 @@ pub mod server_parameters { } } pub mod list_update_configurations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ConfigurationListResult), @@ -1815,7 +1815,7 @@ pub mod server_parameters { } } pub mod log_files { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1867,7 +1867,7 @@ pub mod log_files { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1891,7 +1891,7 @@ pub mod log_files { } } pub mod server_administrators { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1940,7 +1940,7 @@ pub mod server_administrators { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2021,7 +2021,7 @@ pub mod server_administrators { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerAdministratorResource), @@ -2093,7 +2093,7 @@ pub mod server_administrators { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2169,7 +2169,7 @@ pub mod server_administrators { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2193,7 +2193,7 @@ pub mod server_administrators { } } pub mod recoverable_servers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2242,7 +2242,7 @@ pub mod recoverable_servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2266,7 +2266,7 @@ pub mod recoverable_servers { } } pub mod server_based_performance_tier { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2315,7 +2315,7 @@ pub mod server_based_performance_tier { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2339,7 +2339,7 @@ pub mod server_based_performance_tier { } } pub mod location_based_performance_tier { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2386,7 +2386,7 @@ pub mod location_based_performance_tier { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2410,7 +2410,7 @@ pub mod location_based_performance_tier { } } pub mod check_name_availability { - use crate::models::*; + use super::{models, models::*}; pub async fn execute( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2460,7 +2460,7 @@ pub mod check_name_availability { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2484,7 +2484,7 @@ pub mod check_name_availability { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DBforPostgreSQL/operations", operation_config.base_path(),); @@ -2522,7 +2522,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2546,7 +2546,7 @@ pub mod operations { } } pub mod server_security_alert_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2589,7 +2589,7 @@ pub mod server_security_alert_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2656,7 +2656,7 @@ pub mod server_security_alert_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerSecurityAlertPolicy), @@ -2723,7 +2723,7 @@ pub mod server_security_alert_policies { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2744,7 +2744,7 @@ pub mod server_security_alert_policies { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2795,7 +2795,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2873,7 +2873,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -2955,7 +2955,7 @@ pub mod private_endpoint_connections { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3024,7 +3024,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3103,7 +3103,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3127,7 +3127,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3179,7 +3179,7 @@ pub mod private_link_resources { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3251,7 +3251,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3275,7 +3275,7 @@ pub mod private_link_resources { } } pub mod server_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3324,7 +3324,7 @@ pub mod server_keys { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3396,7 +3396,7 @@ pub mod server_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3479,7 +3479,7 @@ pub mod server_keys { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerKey), @@ -3553,7 +3553,7 @@ pub mod server_keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/postgresql/src/package_2020_01_01_privatepreview/operations.rs b/services/mgmt/postgresql/src/package_2020_01_01_privatepreview/operations.rs index d225d80fbe..48ec891e2d 100644 --- a/services/mgmt/postgresql/src/package_2020_01_01_privatepreview/operations.rs +++ b/services/mgmt/postgresql/src/package_2020_01_01_privatepreview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod server_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_instance( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -56,7 +56,7 @@ pub mod server_keys { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -128,7 +128,7 @@ pub mod server_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -206,7 +206,7 @@ pub mod server_keys { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerKey), @@ -280,7 +280,7 @@ pub mod server_keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/postgresql/src/package_2020_02_14_preview/operations.rs b/services/mgmt/postgresql/src/package_2020_02_14_preview/operations.rs index 85698528d3..ac4b7efb81 100644 --- a/services/mgmt/postgresql/src/package_2020_02_14_preview/operations.rs +++ b/services/mgmt/postgresql/src/package_2020_02_14_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod servers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -132,7 +132,7 @@ pub mod servers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -211,7 +211,7 @@ pub mod servers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -283,7 +283,7 @@ pub mod servers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -362,7 +362,7 @@ pub mod servers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -428,7 +428,7 @@ pub mod servers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -498,7 +498,7 @@ pub mod servers { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -570,7 +570,7 @@ pub mod servers { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -642,7 +642,7 @@ pub mod servers { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -671,7 +671,7 @@ pub mod servers { } } pub mod firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -722,7 +722,7 @@ pub mod firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -806,7 +806,7 @@ pub mod firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FirewallRule), @@ -881,7 +881,7 @@ pub mod firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -960,7 +960,7 @@ pub mod firewall_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -984,7 +984,7 @@ pub mod firewall_rules { } } pub mod configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1036,7 +1036,7 @@ pub mod configurations { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1108,7 +1108,7 @@ pub mod configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1183,7 +1183,7 @@ pub mod configurations { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Configuration), @@ -1212,7 +1212,7 @@ pub mod configurations { } } pub mod check_name_availability { - use crate::models::*; + use super::{models, models::*}; pub async fn execute( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1262,7 +1262,7 @@ pub mod check_name_availability { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1286,7 +1286,7 @@ pub mod check_name_availability { } } pub mod location_based_capabilities { - use crate::models::*; + use super::{models, models::*}; pub async fn execute( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1336,7 +1336,7 @@ pub mod location_based_capabilities { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1360,7 +1360,7 @@ pub mod location_based_capabilities { } } pub mod virtual_network_subnet_usage { - use crate::models::*; + use super::{models, models::*}; pub async fn execute( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1412,7 +1412,7 @@ pub mod virtual_network_subnet_usage { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1436,7 +1436,7 @@ pub mod virtual_network_subnet_usage { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DBForPostgreSql/operations", operation_config.base_path(),); @@ -1474,7 +1474,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/postgresql/src/package_2020_02_14_privatepreview/operations.rs b/services/mgmt/postgresql/src/package_2020_02_14_privatepreview/operations.rs index 2528c81cb9..a176d481bf 100644 --- a/services/mgmt/postgresql/src/package_2020_02_14_privatepreview/operations.rs +++ b/services/mgmt/postgresql/src/package_2020_02_14_privatepreview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod servers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -132,7 +132,7 @@ pub mod servers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -211,7 +211,7 @@ pub mod servers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -283,7 +283,7 @@ pub mod servers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -362,7 +362,7 @@ pub mod servers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -428,7 +428,7 @@ pub mod servers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -498,7 +498,7 @@ pub mod servers { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -570,7 +570,7 @@ pub mod servers { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -642,7 +642,7 @@ pub mod servers { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -671,7 +671,7 @@ pub mod servers { } } pub mod firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -722,7 +722,7 @@ pub mod firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -806,7 +806,7 @@ pub mod firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FirewallRule), @@ -881,7 +881,7 @@ pub mod firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -960,7 +960,7 @@ pub mod firewall_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -984,7 +984,7 @@ pub mod firewall_rules { } } pub mod configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1036,7 +1036,7 @@ pub mod configurations { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1108,7 +1108,7 @@ pub mod configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1183,7 +1183,7 @@ pub mod configurations { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Configuration), @@ -1212,7 +1212,7 @@ pub mod configurations { } } pub mod server_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1261,7 +1261,7 @@ pub mod server_keys { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1333,7 +1333,7 @@ pub mod server_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1416,7 +1416,7 @@ pub mod server_keys { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerKey), @@ -1490,7 +1490,7 @@ pub mod server_keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1520,7 +1520,7 @@ pub mod server_keys { } } pub mod check_name_availability { - use crate::models::*; + use super::{models, models::*}; pub async fn execute( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1570,7 +1570,7 @@ pub mod check_name_availability { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1594,7 +1594,7 @@ pub mod check_name_availability { } } pub mod location_based_capabilities { - use crate::models::*; + use super::{models, models::*}; pub async fn execute( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1644,7 +1644,7 @@ pub mod location_based_capabilities { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1668,7 +1668,7 @@ pub mod location_based_capabilities { } } pub mod virtual_network_subnet_usage { - use crate::models::*; + use super::{models, models::*}; pub async fn execute( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1720,7 +1720,7 @@ pub mod virtual_network_subnet_usage { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1744,7 +1744,7 @@ pub mod virtual_network_subnet_usage { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DBForPostgreSql/operations", operation_config.base_path(),); @@ -1782,7 +1782,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/postgresql/src/package_2020_11_05_preview/operations.rs b/services/mgmt/postgresql/src/package_2020_11_05_preview/operations.rs index 8b4628da25..1bbe786d59 100644 --- a/services/mgmt/postgresql/src/package_2020_11_05_preview/operations.rs +++ b/services/mgmt/postgresql/src/package_2020_11_05_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod servers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -132,7 +132,7 @@ pub mod servers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -211,7 +211,7 @@ pub mod servers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -283,7 +283,7 @@ pub mod servers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -362,7 +362,7 @@ pub mod servers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -428,7 +428,7 @@ pub mod servers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -498,7 +498,7 @@ pub mod servers { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -570,7 +570,7 @@ pub mod servers { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -642,7 +642,7 @@ pub mod servers { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -671,7 +671,7 @@ pub mod servers { } } pub mod firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -722,7 +722,7 @@ pub mod firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -806,7 +806,7 @@ pub mod firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FirewallRule), @@ -881,7 +881,7 @@ pub mod firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -960,7 +960,7 @@ pub mod firewall_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -984,7 +984,7 @@ pub mod firewall_rules { } } pub mod configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1036,7 +1036,7 @@ pub mod configurations { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1108,7 +1108,7 @@ pub mod configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1183,7 +1183,7 @@ pub mod configurations { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Configuration), @@ -1212,7 +1212,7 @@ pub mod configurations { } } pub mod check_name_availability { - use crate::models::*; + use super::{models, models::*}; pub async fn execute( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1262,7 +1262,7 @@ pub mod check_name_availability { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1286,7 +1286,7 @@ pub mod check_name_availability { } } pub mod location_based_capabilities { - use crate::models::*; + use super::{models, models::*}; pub async fn execute( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1336,7 +1336,7 @@ pub mod location_based_capabilities { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1360,7 +1360,7 @@ pub mod location_based_capabilities { } } pub mod virtual_network_subnet_usage { - use crate::models::*; + use super::{models, models::*}; pub async fn execute( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1412,7 +1412,7 @@ pub mod virtual_network_subnet_usage { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1436,7 +1436,7 @@ pub mod virtual_network_subnet_usage { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DBForPostgreSql/operations", operation_config.base_path(),); @@ -1474,7 +1474,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1498,7 +1498,7 @@ pub mod operations { } } pub mod databases { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1549,7 +1549,7 @@ pub mod databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1630,7 +1630,7 @@ pub mod databases { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1705,7 +1705,7 @@ pub mod databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1784,7 +1784,7 @@ pub mod databases { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/postgresql/src/package_2021_03_31_privatepreview/operations.rs b/services/mgmt/postgresql/src/package_2021_03_31_privatepreview/operations.rs index dd622e8aac..69a8b94a8e 100644 --- a/services/mgmt/postgresql/src/package_2021_03_31_privatepreview/operations.rs +++ b/services/mgmt/postgresql/src/package_2021_03_31_privatepreview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod servers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -132,7 +132,7 @@ pub mod servers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -211,7 +211,7 @@ pub mod servers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -283,7 +283,7 @@ pub mod servers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -362,7 +362,7 @@ pub mod servers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -428,7 +428,7 @@ pub mod servers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -498,7 +498,7 @@ pub mod servers { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -570,7 +570,7 @@ pub mod servers { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -642,7 +642,7 @@ pub mod servers { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -671,7 +671,7 @@ pub mod servers { } } pub mod firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -722,7 +722,7 @@ pub mod firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -806,7 +806,7 @@ pub mod firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FirewallRule), @@ -881,7 +881,7 @@ pub mod firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -960,7 +960,7 @@ pub mod firewall_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -984,7 +984,7 @@ pub mod firewall_rules { } } pub mod configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1036,7 +1036,7 @@ pub mod configurations { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1108,7 +1108,7 @@ pub mod configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1183,7 +1183,7 @@ pub mod configurations { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Configuration), @@ -1212,7 +1212,7 @@ pub mod configurations { } } pub mod check_name_availability { - use crate::models::*; + use super::{models, models::*}; pub async fn execute( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1262,7 +1262,7 @@ pub mod check_name_availability { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1286,7 +1286,7 @@ pub mod check_name_availability { } } pub mod location_based_capabilities { - use crate::models::*; + use super::{models, models::*}; pub async fn execute( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1336,7 +1336,7 @@ pub mod location_based_capabilities { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1360,7 +1360,7 @@ pub mod location_based_capabilities { } } pub mod virtual_network_subnet_usage { - use crate::models::*; + use super::{models, models::*}; pub async fn execute( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1412,7 +1412,7 @@ pub mod virtual_network_subnet_usage { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1436,7 +1436,7 @@ pub mod virtual_network_subnet_usage { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DBForPostgreSql/operations", operation_config.base_path(),); @@ -1474,7 +1474,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1498,7 +1498,7 @@ pub mod operations { } } pub mod databases { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1549,7 +1549,7 @@ pub mod databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1630,7 +1630,7 @@ pub mod databases { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1705,7 +1705,7 @@ pub mod databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1784,7 +1784,7 @@ pub mod databases { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1808,7 +1808,7 @@ pub mod databases { } } pub mod get_private_dns_zone_suffix { - use crate::models::*; + use super::{models, models::*}; pub async fn execute( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1858,7 +1858,7 @@ pub mod get_private_dns_zone_suffix { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/postgresql/src/package_2021_04_10_privatepreview/operations.rs b/services/mgmt/postgresql/src/package_2021_04_10_privatepreview/operations.rs index 75eef3c2ee..8192aca201 100644 --- a/services/mgmt/postgresql/src/package_2021_04_10_privatepreview/operations.rs +++ b/services/mgmt/postgresql/src/package_2021_04_10_privatepreview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod databases { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -55,7 +55,7 @@ pub mod databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -136,7 +136,7 @@ pub mod databases { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -211,7 +211,7 @@ pub mod databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -290,7 +290,7 @@ pub mod databases { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -314,7 +314,7 @@ pub mod databases { } } pub mod get_private_dns_zone_suffix { - use crate::models::*; + use super::{models, models::*}; pub async fn execute( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -364,7 +364,7 @@ pub mod get_private_dns_zone_suffix { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -388,7 +388,7 @@ pub mod get_private_dns_zone_suffix { } } pub mod servers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -437,7 +437,7 @@ pub mod servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -516,7 +516,7 @@ pub mod servers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -595,7 +595,7 @@ pub mod servers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -667,7 +667,7 @@ pub mod servers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -746,7 +746,7 @@ pub mod servers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -812,7 +812,7 @@ pub mod servers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -882,7 +882,7 @@ pub mod servers { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -954,7 +954,7 @@ pub mod servers { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1026,7 +1026,7 @@ pub mod servers { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1055,7 +1055,7 @@ pub mod servers { } } pub mod firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1106,7 +1106,7 @@ pub mod firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1190,7 +1190,7 @@ pub mod firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FirewallRule), @@ -1265,7 +1265,7 @@ pub mod firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1344,7 +1344,7 @@ pub mod firewall_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1368,7 +1368,7 @@ pub mod firewall_rules { } } pub mod configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1420,7 +1420,7 @@ pub mod configurations { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1492,7 +1492,7 @@ pub mod configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1567,7 +1567,7 @@ pub mod configurations { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Configuration), @@ -1596,7 +1596,7 @@ pub mod configurations { } } pub mod check_name_availability { - use crate::models::*; + use super::{models, models::*}; pub async fn execute( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1646,7 +1646,7 @@ pub mod check_name_availability { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1670,7 +1670,7 @@ pub mod check_name_availability { } } pub mod location_based_capabilities { - use crate::models::*; + use super::{models, models::*}; pub async fn execute( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1720,7 +1720,7 @@ pub mod location_based_capabilities { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1744,7 +1744,7 @@ pub mod location_based_capabilities { } } pub mod virtual_network_subnet_usage { - use crate::models::*; + use super::{models, models::*}; pub async fn execute( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1796,7 +1796,7 @@ pub mod virtual_network_subnet_usage { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1820,7 +1820,7 @@ pub mod virtual_network_subnet_usage { } } pub mod recoverable_servers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1869,7 +1869,7 @@ pub mod recoverable_servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1893,7 +1893,7 @@ pub mod recoverable_servers { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DBForPostgreSql/operations", operation_config.base_path(),); @@ -1931,7 +1931,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/postgresql/src/package_2021_06_15_privatepreview/operations.rs b/services/mgmt/postgresql/src/package_2021_06_15_privatepreview/operations.rs index d3a1c0fad8..105a7a6221 100644 --- a/services/mgmt/postgresql/src/package_2021_06_15_privatepreview/operations.rs +++ b/services/mgmt/postgresql/src/package_2021_06_15_privatepreview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod migrations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, target_db_server_subscription_id: &str, @@ -55,7 +55,7 @@ pub mod migrations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -135,7 +135,7 @@ pub mod migrations { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MigrationResource), @@ -214,7 +214,7 @@ pub mod migrations { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -282,7 +282,7 @@ pub mod migrations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -366,7 +366,7 @@ pub mod migrations { } } pub mod list_by_target_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -444,7 +444,7 @@ pub async fn check_migration_name_availability( } } pub mod check_migration_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -467,7 +467,7 @@ pub mod check_migration_name_availability { } } pub mod servers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -516,7 +516,7 @@ pub mod servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -595,7 +595,7 @@ pub mod servers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -674,7 +674,7 @@ pub mod servers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -746,7 +746,7 @@ pub mod servers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -825,7 +825,7 @@ pub mod servers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -891,7 +891,7 @@ pub mod servers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -966,7 +966,7 @@ pub mod servers { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1038,7 +1038,7 @@ pub mod servers { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1110,7 +1110,7 @@ pub mod servers { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1139,7 +1139,7 @@ pub mod servers { } } pub mod firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1190,7 +1190,7 @@ pub mod firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1274,7 +1274,7 @@ pub mod firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FirewallRule), @@ -1349,7 +1349,7 @@ pub mod firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1428,7 +1428,7 @@ pub mod firewall_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1452,7 +1452,7 @@ pub mod firewall_rules { } } pub mod configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1504,7 +1504,7 @@ pub mod configurations { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1576,7 +1576,7 @@ pub mod configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1651,7 +1651,7 @@ pub mod configurations { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Configuration), @@ -1731,7 +1731,7 @@ pub mod configurations { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Configuration), @@ -1760,7 +1760,7 @@ pub mod configurations { } } pub mod check_name_availability { - use crate::models::*; + use super::{models, models::*}; pub async fn execute( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1810,7 +1810,7 @@ pub mod check_name_availability { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1834,7 +1834,7 @@ pub mod check_name_availability { } } pub mod location_based_capabilities { - use crate::models::*; + use super::{models, models::*}; pub async fn execute( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1884,7 +1884,7 @@ pub mod location_based_capabilities { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1908,7 +1908,7 @@ pub mod location_based_capabilities { } } pub mod virtual_network_subnet_usage { - use crate::models::*; + use super::{models, models::*}; pub async fn execute( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1960,7 +1960,7 @@ pub mod virtual_network_subnet_usage { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1984,7 +1984,7 @@ pub mod virtual_network_subnet_usage { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DBforPostgreSQL/operations", operation_config.base_path(),); @@ -2022,7 +2022,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/postgresql/src/package_flexibleserver_2021_06/operations.rs b/services/mgmt/postgresql/src/package_flexibleserver_2021_06/operations.rs index 33fe22917d..2999bf6cc6 100644 --- a/services/mgmt/postgresql/src/package_flexibleserver_2021_06/operations.rs +++ b/services/mgmt/postgresql/src/package_flexibleserver_2021_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod servers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -132,7 +132,7 @@ pub mod servers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -211,7 +211,7 @@ pub mod servers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -283,7 +283,7 @@ pub mod servers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -362,7 +362,7 @@ pub mod servers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -428,7 +428,7 @@ pub mod servers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -503,7 +503,7 @@ pub mod servers { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -575,7 +575,7 @@ pub mod servers { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -647,7 +647,7 @@ pub mod servers { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -676,7 +676,7 @@ pub mod servers { } } pub mod firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -727,7 +727,7 @@ pub mod firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -811,7 +811,7 @@ pub mod firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FirewallRule), @@ -886,7 +886,7 @@ pub mod firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -965,7 +965,7 @@ pub mod firewall_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -989,7 +989,7 @@ pub mod firewall_rules { } } pub mod configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1041,7 +1041,7 @@ pub mod configurations { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1113,7 +1113,7 @@ pub mod configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1188,7 +1188,7 @@ pub mod configurations { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Configuration), @@ -1268,7 +1268,7 @@ pub mod configurations { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Configuration), @@ -1297,7 +1297,7 @@ pub mod configurations { } } pub mod check_name_availability { - use crate::models::*; + use super::{models, models::*}; pub async fn execute( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1347,7 +1347,7 @@ pub mod check_name_availability { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1371,7 +1371,7 @@ pub mod check_name_availability { } } pub mod location_based_capabilities { - use crate::models::*; + use super::{models, models::*}; pub async fn execute( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1421,7 +1421,7 @@ pub mod location_based_capabilities { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1445,7 +1445,7 @@ pub mod location_based_capabilities { } } pub mod virtual_network_subnet_usage { - use crate::models::*; + use super::{models, models::*}; pub async fn execute( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1497,7 +1497,7 @@ pub mod virtual_network_subnet_usage { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1521,7 +1521,7 @@ pub mod virtual_network_subnet_usage { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DBforPostgreSQL/operations", operation_config.base_path(),); @@ -1559,7 +1559,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1583,7 +1583,7 @@ pub mod operations { } } pub mod databases { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1634,7 +1634,7 @@ pub mod databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1715,7 +1715,7 @@ pub mod databases { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1790,7 +1790,7 @@ pub mod databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1869,7 +1869,7 @@ pub mod databases { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1893,7 +1893,7 @@ pub mod databases { } } pub mod get_private_dns_zone_suffix { - use crate::models::*; + use super::{models, models::*}; pub async fn execute(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -1938,7 +1938,7 @@ pub mod get_private_dns_zone_suffix { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/postgresql/src/package_flexibleserver_2021_06_preview/operations.rs b/services/mgmt/postgresql/src/package_flexibleserver_2021_06_preview/operations.rs index adc7574b28..097b3b4763 100644 --- a/services/mgmt/postgresql/src/package_flexibleserver_2021_06_preview/operations.rs +++ b/services/mgmt/postgresql/src/package_flexibleserver_2021_06_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod servers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -132,7 +132,7 @@ pub mod servers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -211,7 +211,7 @@ pub mod servers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -283,7 +283,7 @@ pub mod servers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -362,7 +362,7 @@ pub mod servers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -428,7 +428,7 @@ pub mod servers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -503,7 +503,7 @@ pub mod servers { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -575,7 +575,7 @@ pub mod servers { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -647,7 +647,7 @@ pub mod servers { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -676,7 +676,7 @@ pub mod servers { } } pub mod firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -727,7 +727,7 @@ pub mod firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -811,7 +811,7 @@ pub mod firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FirewallRule), @@ -886,7 +886,7 @@ pub mod firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -965,7 +965,7 @@ pub mod firewall_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -989,7 +989,7 @@ pub mod firewall_rules { } } pub mod configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1041,7 +1041,7 @@ pub mod configurations { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1113,7 +1113,7 @@ pub mod configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1188,7 +1188,7 @@ pub mod configurations { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Configuration), @@ -1268,7 +1268,7 @@ pub mod configurations { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Configuration), @@ -1297,7 +1297,7 @@ pub mod configurations { } } pub mod check_name_availability { - use crate::models::*; + use super::{models, models::*}; pub async fn execute( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1347,7 +1347,7 @@ pub mod check_name_availability { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1371,7 +1371,7 @@ pub mod check_name_availability { } } pub mod location_based_capabilities { - use crate::models::*; + use super::{models, models::*}; pub async fn execute( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1421,7 +1421,7 @@ pub mod location_based_capabilities { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1445,7 +1445,7 @@ pub mod location_based_capabilities { } } pub mod virtual_network_subnet_usage { - use crate::models::*; + use super::{models, models::*}; pub async fn execute( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1497,7 +1497,7 @@ pub mod virtual_network_subnet_usage { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1521,7 +1521,7 @@ pub mod virtual_network_subnet_usage { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DBforPostgreSQL/operations", operation_config.base_path(),); @@ -1559,7 +1559,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1583,7 +1583,7 @@ pub mod operations { } } pub mod databases { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1634,7 +1634,7 @@ pub mod databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1715,7 +1715,7 @@ pub mod databases { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1790,7 +1790,7 @@ pub mod databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1869,7 +1869,7 @@ pub mod databases { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1893,7 +1893,7 @@ pub mod databases { } } pub mod get_private_dns_zone_suffix { - use crate::models::*; + use super::{models, models::*}; pub async fn execute( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1943,7 +1943,7 @@ pub mod get_private_dns_zone_suffix { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1967,7 +1967,7 @@ pub mod get_private_dns_zone_suffix { } } pub mod advisors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2018,7 +2018,7 @@ pub mod advisors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2091,7 +2091,7 @@ pub mod advisors { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2115,7 +2115,7 @@ pub mod advisors { } } pub mod recommended_actions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2173,7 +2173,7 @@ pub mod recommended_actions { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2197,7 +2197,7 @@ pub mod recommended_actions { } } pub mod query_performance_insight_data { - use crate::models::*; + use super::{models, models::*}; pub async fn reset( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2247,7 +2247,7 @@ pub mod query_performance_insight_data { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2271,7 +2271,7 @@ pub mod query_performance_insight_data { } } pub mod query_texts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2322,7 +2322,7 @@ pub mod query_texts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2399,7 +2399,7 @@ pub mod query_texts { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2423,7 +2423,7 @@ pub mod query_texts { } } pub mod top_query_statistics { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2475,7 +2475,7 @@ pub mod top_query_statistics { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2499,7 +2499,7 @@ pub mod top_query_statistics { } } pub mod wait_statistics { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2553,7 +2553,7 @@ pub mod wait_statistics { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/postgresqlhsc/Cargo.toml b/services/mgmt/postgresqlhsc/Cargo.toml index 23343ff374..066bece577 100644 --- a/services/mgmt/postgresqlhsc/Cargo.toml +++ b/services/mgmt/postgresqlhsc/Cargo.toml @@ -20,4 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2020-10-05-privatepreview"] +no-default-version = [] "package-2020-10-05-privatepreview" = [] diff --git a/services/mgmt/postgresqlhsc/src/lib.rs b/services/mgmt/postgresqlhsc/src/lib.rs index c98ff0fddd..6915b6bc68 100644 --- a/services/mgmt/postgresqlhsc/src/lib.rs +++ b/services/mgmt/postgresqlhsc/src/lib.rs @@ -1,9 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2020-10-05-privatepreview")] -mod package_2020_10_05_privatepreview; +pub mod package_2020_10_05_privatepreview; use azure_core::setters; -#[cfg(feature = "package-2020-10-05-privatepreview")] +#[cfg(all(feature = "package-2020-10-05-privatepreview", not(feature = "no-default-version")))] pub use package_2020_10_05_privatepreview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -27,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/postgresqlhsc/src/package_2020_10_05_privatepreview/operations.rs b/services/mgmt/postgresqlhsc/src/package_2020_10_05_privatepreview/operations.rs index 288205b4c5..689919f81d 100644 --- a/services/mgmt/postgresqlhsc/src/package_2020_10_05_privatepreview/operations.rs +++ b/services/mgmt/postgresqlhsc/src/package_2020_10_05_privatepreview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod server_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -49,7 +49,7 @@ pub mod server_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -122,7 +122,7 @@ pub mod server_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -192,7 +192,7 @@ pub mod server_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -274,7 +274,7 @@ pub mod server_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerGroup), @@ -353,7 +353,7 @@ pub mod server_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerGroup), @@ -425,7 +425,7 @@ pub mod server_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -501,7 +501,7 @@ pub mod server_groups { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -573,7 +573,7 @@ pub mod server_groups { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -645,7 +645,7 @@ pub mod server_groups { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -723,7 +723,7 @@ pub mod server_groups { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -747,7 +747,7 @@ pub mod server_groups { } } pub mod servers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server_group( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -799,7 +799,7 @@ pub mod servers { } } pub mod list_by_server_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -871,7 +871,7 @@ pub mod servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -895,7 +895,7 @@ pub mod servers { } } pub mod configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -949,7 +949,7 @@ pub mod configurations { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1022,7 +1022,7 @@ pub mod configurations { } } pub mod list_by_server_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1094,7 +1094,7 @@ pub mod configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1169,7 +1169,7 @@ pub mod configurations { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerGroupConfiguration), @@ -1198,7 +1198,7 @@ pub mod configurations { } } pub mod firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1249,7 +1249,7 @@ pub mod firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1333,7 +1333,7 @@ pub mod firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FirewallRule), @@ -1408,7 +1408,7 @@ pub mod firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1487,7 +1487,7 @@ pub mod firewall_rules { } } pub mod list_by_server_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1511,7 +1511,7 @@ pub mod firewall_rules { } } pub mod roles { - use crate::models::*; + use super::{models, models::*}; pub async fn create( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1571,7 +1571,7 @@ pub mod roles { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Role), @@ -1646,7 +1646,7 @@ pub mod roles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1725,7 +1725,7 @@ pub mod roles { } } pub mod list_by_server_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1749,7 +1749,7 @@ pub mod roles { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.DBForPostgreSql/operations", operation_config.base_path(),); @@ -1787,7 +1787,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/powerbidedicated/Cargo.toml b/services/mgmt/powerbidedicated/Cargo.toml index 94a2f10c1c..081a63ebb7 100644 --- a/services/mgmt/powerbidedicated/Cargo.toml +++ b/services/mgmt/powerbidedicated/Cargo.toml @@ -20,5 +20,6 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-01-01"] +no-default-version = [] "package-2021-01-01" = [] "package-2017-10-01" = [] diff --git a/services/mgmt/powerbidedicated/src/lib.rs b/services/mgmt/powerbidedicated/src/lib.rs index 9f50be6848..8d1741b287 100644 --- a/services/mgmt/powerbidedicated/src/lib.rs +++ b/services/mgmt/powerbidedicated/src/lib.rs @@ -1,13 +1,21 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-01-01")] -mod package_2021_01_01; -#[cfg(feature = "package-2021-01-01")] +pub mod package_2021_01_01; +#[cfg(all(feature = "package-2021-01-01", not(feature = "no-default-version")))] pub use package_2021_01_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-10-01")] -mod package_2017_10_01; +pub mod package_2017_10_01; use azure_core::setters; -#[cfg(feature = "package-2017-10-01")] +#[cfg(all(feature = "package-2017-10-01", not(feature = "no-default-version")))] pub use package_2017_10_01::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -31,7 +39,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/powerbidedicated/src/package_2017_10_01/operations.rs b/services/mgmt/powerbidedicated/src/package_2017_10_01/operations.rs index aec95516dd..aae7dcd513 100644 --- a/services/mgmt/powerbidedicated/src/package_2017_10_01/operations.rs +++ b/services/mgmt/powerbidedicated/src/package_2017_10_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod capacities { - use crate::models::*; + use super::{models, models::*}; pub async fn get_details( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -56,7 +56,7 @@ pub mod capacities { } } pub mod get_details { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod capacities { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DedicatedCapacity), @@ -217,7 +217,7 @@ pub mod capacities { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DedicatedCapacity), @@ -289,7 +289,7 @@ pub mod capacities { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -365,7 +365,7 @@ pub mod capacities { } } pub mod suspend { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -437,7 +437,7 @@ pub mod capacities { } } pub mod resume { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -515,7 +515,7 @@ pub mod capacities { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -581,7 +581,7 @@ pub mod capacities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -650,7 +650,7 @@ pub mod capacities { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -725,7 +725,7 @@ pub mod capacities { } } pub mod list_skus_for_capacity { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -800,7 +800,7 @@ pub mod capacities { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -824,7 +824,7 @@ pub mod capacities { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.PowerBIDedicated/operations", operation_config.base_path(),); @@ -862,7 +862,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/powerbidedicated/src/package_2021_01_01/operations.rs b/services/mgmt/powerbidedicated/src/package_2021_01_01/operations.rs index 3b3439ed6a..6bbae2a6f8 100644 --- a/services/mgmt/powerbidedicated/src/package_2021_01_01/operations.rs +++ b/services/mgmt/powerbidedicated/src/package_2021_01_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod capacities { - use crate::models::*; + use super::{models, models::*}; pub async fn get_details( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -56,7 +56,7 @@ pub mod capacities { } } pub mod get_details { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod capacities { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DedicatedCapacity), @@ -217,7 +217,7 @@ pub mod capacities { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DedicatedCapacity), @@ -289,7 +289,7 @@ pub mod capacities { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -365,7 +365,7 @@ pub mod capacities { } } pub mod suspend { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -437,7 +437,7 @@ pub mod capacities { } } pub mod resume { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -515,7 +515,7 @@ pub mod capacities { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -581,7 +581,7 @@ pub mod capacities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -650,7 +650,7 @@ pub mod capacities { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -725,7 +725,7 @@ pub mod capacities { } } pub mod list_skus_for_capacity { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -800,7 +800,7 @@ pub mod capacities { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -824,7 +824,7 @@ pub mod capacities { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.PowerBIDedicated/operations", operation_config.base_path(),); @@ -862,7 +862,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -886,7 +886,7 @@ pub mod operations { } } pub mod auto_scale_v_cores { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -935,7 +935,7 @@ pub mod auto_scale_v_cores { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1007,7 +1007,7 @@ pub mod auto_scale_v_cores { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1079,7 +1079,7 @@ pub mod auto_scale_v_cores { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1145,7 +1145,7 @@ pub mod auto_scale_v_cores { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1223,7 +1223,7 @@ pub mod auto_scale_v_cores { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1292,7 +1292,7 @@ pub mod auto_scale_v_cores { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/powerbiembedded/Cargo.toml b/services/mgmt/powerbiembedded/Cargo.toml index 506d8db712..0c73af5ec0 100644 --- a/services/mgmt/powerbiembedded/Cargo.toml +++ b/services/mgmt/powerbiembedded/Cargo.toml @@ -20,4 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2016-01"] +no-default-version = [] "package-2016-01" = [] diff --git a/services/mgmt/powerbiembedded/src/lib.rs b/services/mgmt/powerbiembedded/src/lib.rs index 2a3db7af5a..8a2ee43f23 100644 --- a/services/mgmt/powerbiembedded/src/lib.rs +++ b/services/mgmt/powerbiembedded/src/lib.rs @@ -1,9 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2016-01")] -mod package_2016_01; +pub mod package_2016_01; use azure_core::setters; -#[cfg(feature = "package-2016-01")] +#[cfg(all(feature = "package-2016-01", not(feature = "no-default-version")))] pub use package_2016_01::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -27,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/powerbiembedded/src/package_2016_01/operations.rs b/services/mgmt/powerbiembedded/src/package_2016_01/operations.rs index 6dc74def80..aad65e9545 100644 --- a/services/mgmt/powerbiembedded/src/package_2016_01/operations.rs +++ b/services/mgmt/powerbiembedded/src/package_2016_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod workspace_collections { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_name( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -56,7 +56,7 @@ pub mod workspace_collections { } } pub mod get_by_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -128,7 +128,7 @@ pub mod workspace_collections { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -200,7 +200,7 @@ pub mod workspace_collections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -265,7 +265,7 @@ pub mod workspace_collections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -340,7 +340,7 @@ pub mod workspace_collections { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -413,7 +413,7 @@ pub mod workspace_collections { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -482,7 +482,7 @@ pub mod workspace_collections { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -556,7 +556,7 @@ pub mod workspace_collections { } } pub mod get_access_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -631,7 +631,7 @@ pub mod workspace_collections { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -699,7 +699,7 @@ pub mod workspace_collections { } } pub mod migrate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -766,7 +766,7 @@ pub async fn get_available_operations( } } pub mod get_available_operations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -789,7 +789,7 @@ pub mod get_available_operations { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -838,7 +838,7 @@ pub mod workspaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/powerbiprivatelinks/Cargo.toml b/services/mgmt/powerbiprivatelinks/Cargo.toml index 55bf65e3cd..5739bd6afa 100644 --- a/services/mgmt/powerbiprivatelinks/Cargo.toml +++ b/services/mgmt/powerbiprivatelinks/Cargo.toml @@ -20,4 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2020-06-01"] +no-default-version = [] "package-2020-06-01" = [] diff --git a/services/mgmt/powerbiprivatelinks/src/lib.rs b/services/mgmt/powerbiprivatelinks/src/lib.rs index cf6466f3bc..f949bb602a 100644 --- a/services/mgmt/powerbiprivatelinks/src/lib.rs +++ b/services/mgmt/powerbiprivatelinks/src/lib.rs @@ -1,9 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2020-06-01")] -mod package_2020_06_01; +pub mod package_2020_06_01; use azure_core::setters; -#[cfg(feature = "package-2020-06-01")] +#[cfg(all(feature = "package-2020-06-01", not(feature = "no-default-version")))] pub use package_2020_06_01::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -27,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/powerbiprivatelinks/src/package_2020_06_01/operations.rs b/services/mgmt/powerbiprivatelinks/src/package_2020_06_01/operations.rs index 34949b99ad..527a8136e8 100644 --- a/services/mgmt/powerbiprivatelinks/src/package_2020_06_01/operations.rs +++ b/services/mgmt/powerbiprivatelinks/src/package_2020_06_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.PowerBI/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod private_link_services_for_power_bi { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription_id( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -116,7 +116,7 @@ pub mod private_link_services_for_power_bi { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -140,7 +140,7 @@ pub mod private_link_services_for_power_bi { } } pub mod private_link_service_resource_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -193,7 +193,7 @@ pub mod private_link_service_resource_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AsyncOperationDetail), @@ -222,7 +222,7 @@ pub mod private_link_service_resource_operation_results { } } pub mod private_link_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -274,7 +274,7 @@ pub mod private_link_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -298,7 +298,7 @@ pub mod private_link_services { } } pub mod power_bi_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_name( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -352,7 +352,7 @@ pub mod power_bi_resources { } } pub mod list_by_resource_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -434,7 +434,7 @@ pub mod power_bi_resources { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TenantResource), @@ -521,7 +521,7 @@ pub mod power_bi_resources { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TenantResource), @@ -592,7 +592,7 @@ pub mod power_bi_resources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -621,7 +621,7 @@ pub mod power_bi_resources { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -673,7 +673,7 @@ pub mod private_link_resources { } } pub mod list_by_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -745,7 +745,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -769,7 +769,7 @@ pub mod private_link_resources { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -821,7 +821,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -886,7 +886,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -959,7 +959,7 @@ pub mod private_endpoint_connections { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -1026,7 +1026,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/privatedns/Cargo.toml b/services/mgmt/privatedns/Cargo.toml index 8b2d96fab3..0cf0d6ffe2 100644 --- a/services/mgmt/privatedns/Cargo.toml +++ b/services/mgmt/privatedns/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2018-09"] +no-default-version = [] "package-2018-09" = [] "package-2020-01" = [] "package-2020-06" = [] diff --git a/services/mgmt/privatedns/src/lib.rs b/services/mgmt/privatedns/src/lib.rs index 576437f1b6..58eab82587 100644 --- a/services/mgmt/privatedns/src/lib.rs +++ b/services/mgmt/privatedns/src/lib.rs @@ -1,17 +1,25 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2018-09")] -mod package_2018_09; -#[cfg(feature = "package-2018-09")] +pub mod package_2018_09; +#[cfg(all(feature = "package-2018-09", not(feature = "no-default-version")))] pub use package_2018_09::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-01")] -mod package_2020_01; -#[cfg(feature = "package-2020-01")] +pub mod package_2020_01; +#[cfg(all(feature = "package-2020-01", not(feature = "no-default-version")))] pub use package_2020_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-06")] -mod package_2020_06; +pub mod package_2020_06; use azure_core::setters; -#[cfg(feature = "package-2020-06")] +#[cfg(all(feature = "package-2020-06", not(feature = "no-default-version")))] pub use package_2020_06::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -35,7 +43,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/privatedns/src/package_2018_09/operations.rs b/services/mgmt/privatedns/src/package_2018_09/operations.rs index 8b1d5487cb..a28e8fff06 100644 --- a/services/mgmt/privatedns/src/package_2018_09/operations.rs +++ b/services/mgmt/privatedns/src/package_2018_09/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod private_zones { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod private_zones { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -143,7 +143,7 @@ pub mod private_zones { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PrivateZone), @@ -226,7 +226,7 @@ pub mod private_zones { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateZone), @@ -302,7 +302,7 @@ pub mod private_zones { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -378,7 +378,7 @@ pub mod private_zones { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -455,7 +455,7 @@ pub mod private_zones { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -479,7 +479,7 @@ pub mod private_zones { } } pub mod virtual_network_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -530,7 +530,7 @@ pub mod virtual_network_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -622,7 +622,7 @@ pub mod virtual_network_links { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(VirtualNetworkLink), @@ -707,7 +707,7 @@ pub mod virtual_network_links { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkLink), @@ -785,7 +785,7 @@ pub mod virtual_network_links { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -865,7 +865,7 @@ pub mod virtual_network_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -889,7 +889,7 @@ pub mod virtual_network_links { } } pub mod record_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -942,7 +942,7 @@ pub mod record_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1035,7 +1035,7 @@ pub mod record_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(RecordSet), @@ -1120,7 +1120,7 @@ pub mod record_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1194,7 +1194,7 @@ pub mod record_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1282,7 +1282,7 @@ pub mod record_sets { } } pub mod list_by_type { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1360,7 +1360,7 @@ pub mod record_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/privatedns/src/package_2020_01/operations.rs b/services/mgmt/privatedns/src/package_2020_01/operations.rs index 8b1d5487cb..a28e8fff06 100644 --- a/services/mgmt/privatedns/src/package_2020_01/operations.rs +++ b/services/mgmt/privatedns/src/package_2020_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod private_zones { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod private_zones { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -143,7 +143,7 @@ pub mod private_zones { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PrivateZone), @@ -226,7 +226,7 @@ pub mod private_zones { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateZone), @@ -302,7 +302,7 @@ pub mod private_zones { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -378,7 +378,7 @@ pub mod private_zones { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -455,7 +455,7 @@ pub mod private_zones { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -479,7 +479,7 @@ pub mod private_zones { } } pub mod virtual_network_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -530,7 +530,7 @@ pub mod virtual_network_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -622,7 +622,7 @@ pub mod virtual_network_links { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(VirtualNetworkLink), @@ -707,7 +707,7 @@ pub mod virtual_network_links { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkLink), @@ -785,7 +785,7 @@ pub mod virtual_network_links { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -865,7 +865,7 @@ pub mod virtual_network_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -889,7 +889,7 @@ pub mod virtual_network_links { } } pub mod record_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -942,7 +942,7 @@ pub mod record_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1035,7 +1035,7 @@ pub mod record_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(RecordSet), @@ -1120,7 +1120,7 @@ pub mod record_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1194,7 +1194,7 @@ pub mod record_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1282,7 +1282,7 @@ pub mod record_sets { } } pub mod list_by_type { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1360,7 +1360,7 @@ pub mod record_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/privatedns/src/package_2020_06/operations.rs b/services/mgmt/privatedns/src/package_2020_06/operations.rs index 8b1d5487cb..a28e8fff06 100644 --- a/services/mgmt/privatedns/src/package_2020_06/operations.rs +++ b/services/mgmt/privatedns/src/package_2020_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod private_zones { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod private_zones { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -143,7 +143,7 @@ pub mod private_zones { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PrivateZone), @@ -226,7 +226,7 @@ pub mod private_zones { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateZone), @@ -302,7 +302,7 @@ pub mod private_zones { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -378,7 +378,7 @@ pub mod private_zones { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -455,7 +455,7 @@ pub mod private_zones { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -479,7 +479,7 @@ pub mod private_zones { } } pub mod virtual_network_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -530,7 +530,7 @@ pub mod virtual_network_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -622,7 +622,7 @@ pub mod virtual_network_links { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(VirtualNetworkLink), @@ -707,7 +707,7 @@ pub mod virtual_network_links { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkLink), @@ -785,7 +785,7 @@ pub mod virtual_network_links { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -865,7 +865,7 @@ pub mod virtual_network_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -889,7 +889,7 @@ pub mod virtual_network_links { } } pub mod record_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -942,7 +942,7 @@ pub mod record_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1035,7 +1035,7 @@ pub mod record_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(RecordSet), @@ -1120,7 +1120,7 @@ pub mod record_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1194,7 +1194,7 @@ pub mod record_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1282,7 +1282,7 @@ pub mod record_sets { } } pub mod list_by_type { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1360,7 +1360,7 @@ pub mod record_sets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/providerhub/Cargo.toml b/services/mgmt/providerhub/Cargo.toml index 04189aad87..e3833b7466 100644 --- a/services/mgmt/providerhub/Cargo.toml +++ b/services/mgmt/providerhub/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2020-11-20"] +no-default-version = [] "package-2021-09-01-preview" = [] "package-2021-06-01-preview" = [] "package-2021-05-01-preview" = [] diff --git a/services/mgmt/providerhub/src/lib.rs b/services/mgmt/providerhub/src/lib.rs index dabfaa3834..7bb3d3d6b3 100644 --- a/services/mgmt/providerhub/src/lib.rs +++ b/services/mgmt/providerhub/src/lib.rs @@ -1,21 +1,29 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-09-01-preview")] -mod package_2021_09_01_preview; -#[cfg(feature = "package-2021-09-01-preview")] +pub mod package_2021_09_01_preview; +#[cfg(all(feature = "package-2021-09-01-preview", not(feature = "no-default-version")))] pub use package_2021_09_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-06-01-preview")] -mod package_2021_06_01_preview; -#[cfg(feature = "package-2021-06-01-preview")] +pub mod package_2021_06_01_preview; +#[cfg(all(feature = "package-2021-06-01-preview", not(feature = "no-default-version")))] pub use package_2021_06_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-05-01-preview")] -mod package_2021_05_01_preview; -#[cfg(feature = "package-2021-05-01-preview")] +pub mod package_2021_05_01_preview; +#[cfg(all(feature = "package-2021-05-01-preview", not(feature = "no-default-version")))] pub use package_2021_05_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-11-20")] -mod package_2020_11_20; +pub mod package_2020_11_20; use azure_core::setters; -#[cfg(feature = "package-2020-11-20")] +#[cfg(all(feature = "package-2020-11-20", not(feature = "no-default-version")))] pub use package_2020_11_20::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -39,7 +47,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/providerhub/src/package_2020_11_20/operations.rs b/services/mgmt/providerhub/src/package_2020_11_20/operations.rs index f86db0f082..9e4707409c 100644 --- a/services/mgmt/providerhub/src/package_2020_11_20/operations.rs +++ b/services/mgmt/providerhub/src/package_2020_11_20/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod custom_rollouts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod custom_rollouts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -128,7 +128,7 @@ pub mod custom_rollouts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -201,7 +201,7 @@ pub mod custom_rollouts { } } pub mod list_by_provider_registration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -225,7 +225,7 @@ pub mod custom_rollouts { } } pub mod default_rollouts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -274,7 +274,7 @@ pub mod default_rollouts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -355,7 +355,7 @@ pub mod default_rollouts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DefaultRollout), @@ -426,7 +426,7 @@ pub mod default_rollouts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -504,7 +504,7 @@ pub mod default_rollouts { } } pub mod list_by_provider_registration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -570,7 +570,7 @@ pub mod default_rollouts { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -643,7 +643,7 @@ pub async fn generate_manifest( } } pub mod generate_manifest { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -716,7 +716,7 @@ pub async fn checkin_manifest( } } pub mod checkin_manifest { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -739,7 +739,7 @@ pub mod checkin_manifest { } } pub mod notification_registrations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -788,7 +788,7 @@ pub mod notification_registrations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -863,7 +863,7 @@ pub mod notification_registrations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -929,7 +929,7 @@ pub mod notification_registrations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1007,7 +1007,7 @@ pub mod notification_registrations { } } pub mod list_by_provider_registration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1031,7 +1031,7 @@ pub mod notification_registrations { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -1070,7 +1070,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1143,7 +1143,7 @@ pub mod operations { } } pub mod list_by_provider_registration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1216,7 +1216,7 @@ pub mod operations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1280,7 +1280,7 @@ pub mod operations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1309,7 +1309,7 @@ pub mod operations { } } pub mod provider_registrations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1356,7 +1356,7 @@ pub mod provider_registrations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1430,7 +1430,7 @@ pub mod provider_registrations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProviderRegistration), @@ -1499,7 +1499,7 @@ pub mod provider_registrations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1570,7 +1570,7 @@ pub mod provider_registrations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1642,7 +1642,7 @@ pub mod provider_registrations { } } pub mod generate_operations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1666,7 +1666,7 @@ pub mod provider_registrations { } } pub mod resource_type_registrations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1715,7 +1715,7 @@ pub mod resource_type_registrations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1796,7 +1796,7 @@ pub mod resource_type_registrations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ResourceTypeRegistration), @@ -1867,7 +1867,7 @@ pub mod resource_type_registrations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1945,7 +1945,7 @@ pub mod resource_type_registrations { } } pub mod list_by_provider_registration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1969,7 +1969,7 @@ pub mod resource_type_registrations { } } pub mod skus { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2020,7 +2020,7 @@ pub mod skus { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2097,7 +2097,7 @@ pub mod skus { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2165,7 +2165,7 @@ pub mod skus { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2241,7 +2241,7 @@ pub mod skus { } } pub mod get_nested_resource_type_first { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2314,7 +2314,7 @@ pub mod skus { } } pub mod create_or_update_nested_resource_type_first { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2381,7 +2381,7 @@ pub mod skus { } } pub mod delete_nested_resource_type_first { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2458,7 +2458,7 @@ pub mod skus { } } pub mod get_nested_resource_type_second { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2532,7 +2532,7 @@ pub mod skus { } } pub mod create_or_update_nested_resource_type_second { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2600,7 +2600,7 @@ pub mod skus { } } pub mod delete_nested_resource_type_second { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2678,7 +2678,7 @@ pub mod skus { } } pub mod get_nested_resource_type_third { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2753,7 +2753,7 @@ pub mod skus { } } pub mod create_or_update_nested_resource_type_third { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2822,7 +2822,7 @@ pub mod skus { } } pub mod delete_nested_resource_type_third { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2902,7 +2902,7 @@ pub mod skus { } } pub mod list_by_resource_type_registrations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2978,7 +2978,7 @@ pub mod skus { } } pub mod list_by_resource_type_registrations_nested_resource_type_first { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3055,7 +3055,7 @@ pub mod skus { } } pub mod list_by_resource_type_registrations_nested_resource_type_second { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3133,7 +3133,7 @@ pub mod skus { } } pub mod list_by_resource_type_registrations_nested_resource_type_third { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/providerhub/src/package_2021_05_01_preview/operations.rs b/services/mgmt/providerhub/src/package_2021_05_01_preview/operations.rs index f86db0f082..9e4707409c 100644 --- a/services/mgmt/providerhub/src/package_2021_05_01_preview/operations.rs +++ b/services/mgmt/providerhub/src/package_2021_05_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod custom_rollouts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod custom_rollouts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -128,7 +128,7 @@ pub mod custom_rollouts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -201,7 +201,7 @@ pub mod custom_rollouts { } } pub mod list_by_provider_registration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -225,7 +225,7 @@ pub mod custom_rollouts { } } pub mod default_rollouts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -274,7 +274,7 @@ pub mod default_rollouts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -355,7 +355,7 @@ pub mod default_rollouts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DefaultRollout), @@ -426,7 +426,7 @@ pub mod default_rollouts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -504,7 +504,7 @@ pub mod default_rollouts { } } pub mod list_by_provider_registration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -570,7 +570,7 @@ pub mod default_rollouts { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -643,7 +643,7 @@ pub async fn generate_manifest( } } pub mod generate_manifest { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -716,7 +716,7 @@ pub async fn checkin_manifest( } } pub mod checkin_manifest { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -739,7 +739,7 @@ pub mod checkin_manifest { } } pub mod notification_registrations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -788,7 +788,7 @@ pub mod notification_registrations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -863,7 +863,7 @@ pub mod notification_registrations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -929,7 +929,7 @@ pub mod notification_registrations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1007,7 +1007,7 @@ pub mod notification_registrations { } } pub mod list_by_provider_registration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1031,7 +1031,7 @@ pub mod notification_registrations { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -1070,7 +1070,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1143,7 +1143,7 @@ pub mod operations { } } pub mod list_by_provider_registration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1216,7 +1216,7 @@ pub mod operations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1280,7 +1280,7 @@ pub mod operations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1309,7 +1309,7 @@ pub mod operations { } } pub mod provider_registrations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1356,7 +1356,7 @@ pub mod provider_registrations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1430,7 +1430,7 @@ pub mod provider_registrations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProviderRegistration), @@ -1499,7 +1499,7 @@ pub mod provider_registrations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1570,7 +1570,7 @@ pub mod provider_registrations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1642,7 +1642,7 @@ pub mod provider_registrations { } } pub mod generate_operations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1666,7 +1666,7 @@ pub mod provider_registrations { } } pub mod resource_type_registrations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1715,7 +1715,7 @@ pub mod resource_type_registrations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1796,7 +1796,7 @@ pub mod resource_type_registrations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ResourceTypeRegistration), @@ -1867,7 +1867,7 @@ pub mod resource_type_registrations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1945,7 +1945,7 @@ pub mod resource_type_registrations { } } pub mod list_by_provider_registration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1969,7 +1969,7 @@ pub mod resource_type_registrations { } } pub mod skus { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2020,7 +2020,7 @@ pub mod skus { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2097,7 +2097,7 @@ pub mod skus { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2165,7 +2165,7 @@ pub mod skus { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2241,7 +2241,7 @@ pub mod skus { } } pub mod get_nested_resource_type_first { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2314,7 +2314,7 @@ pub mod skus { } } pub mod create_or_update_nested_resource_type_first { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2381,7 +2381,7 @@ pub mod skus { } } pub mod delete_nested_resource_type_first { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2458,7 +2458,7 @@ pub mod skus { } } pub mod get_nested_resource_type_second { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2532,7 +2532,7 @@ pub mod skus { } } pub mod create_or_update_nested_resource_type_second { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2600,7 +2600,7 @@ pub mod skus { } } pub mod delete_nested_resource_type_second { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2678,7 +2678,7 @@ pub mod skus { } } pub mod get_nested_resource_type_third { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2753,7 +2753,7 @@ pub mod skus { } } pub mod create_or_update_nested_resource_type_third { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2822,7 +2822,7 @@ pub mod skus { } } pub mod delete_nested_resource_type_third { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2902,7 +2902,7 @@ pub mod skus { } } pub mod list_by_resource_type_registrations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2978,7 +2978,7 @@ pub mod skus { } } pub mod list_by_resource_type_registrations_nested_resource_type_first { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3055,7 +3055,7 @@ pub mod skus { } } pub mod list_by_resource_type_registrations_nested_resource_type_second { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3133,7 +3133,7 @@ pub mod skus { } } pub mod list_by_resource_type_registrations_nested_resource_type_third { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/providerhub/src/package_2021_06_01_preview/operations.rs b/services/mgmt/providerhub/src/package_2021_06_01_preview/operations.rs index 815ac5f8ea..97c46b4474 100644 --- a/services/mgmt/providerhub/src/package_2021_06_01_preview/operations.rs +++ b/services/mgmt/providerhub/src/package_2021_06_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod custom_rollouts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod custom_rollouts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -128,7 +128,7 @@ pub mod custom_rollouts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -201,7 +201,7 @@ pub mod custom_rollouts { } } pub mod list_by_provider_registration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -225,7 +225,7 @@ pub mod custom_rollouts { } } pub mod default_rollouts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -274,7 +274,7 @@ pub mod default_rollouts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -355,7 +355,7 @@ pub mod default_rollouts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DefaultRollout), @@ -426,7 +426,7 @@ pub mod default_rollouts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -504,7 +504,7 @@ pub mod default_rollouts { } } pub mod list_by_provider_registration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -570,7 +570,7 @@ pub mod default_rollouts { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -643,7 +643,7 @@ pub async fn generate_manifest( } } pub mod generate_manifest { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -716,7 +716,7 @@ pub async fn checkin_manifest( } } pub mod checkin_manifest { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -739,7 +739,7 @@ pub mod checkin_manifest { } } pub mod notification_registrations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -788,7 +788,7 @@ pub mod notification_registrations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -863,7 +863,7 @@ pub mod notification_registrations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -929,7 +929,7 @@ pub mod notification_registrations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1007,7 +1007,7 @@ pub mod notification_registrations { } } pub mod list_by_provider_registration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1031,7 +1031,7 @@ pub mod notification_registrations { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -1070,7 +1070,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1143,7 +1143,7 @@ pub mod operations { } } pub mod list_by_provider_registration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1216,7 +1216,7 @@ pub mod operations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1280,7 +1280,7 @@ pub mod operations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1309,7 +1309,7 @@ pub mod operations { } } pub mod provider_registrations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1356,7 +1356,7 @@ pub mod provider_registrations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1430,7 +1430,7 @@ pub mod provider_registrations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProviderRegistration), @@ -1499,7 +1499,7 @@ pub mod provider_registrations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1570,7 +1570,7 @@ pub mod provider_registrations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1642,7 +1642,7 @@ pub mod provider_registrations { } } pub mod generate_operations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1666,7 +1666,7 @@ pub mod provider_registrations { } } pub mod resource_type_registrations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1715,7 +1715,7 @@ pub mod resource_type_registrations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1796,7 +1796,7 @@ pub mod resource_type_registrations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ResourceTypeRegistration), @@ -1867,7 +1867,7 @@ pub mod resource_type_registrations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1945,7 +1945,7 @@ pub mod resource_type_registrations { } } pub mod list_by_provider_registration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1969,7 +1969,7 @@ pub mod resource_type_registrations { } } pub mod skus { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2020,7 +2020,7 @@ pub mod skus { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2097,7 +2097,7 @@ pub mod skus { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2165,7 +2165,7 @@ pub mod skus { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2241,7 +2241,7 @@ pub mod skus { } } pub mod get_nested_resource_type_first { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2314,7 +2314,7 @@ pub mod skus { } } pub mod create_or_update_nested_resource_type_first { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2381,7 +2381,7 @@ pub mod skus { } } pub mod delete_nested_resource_type_first { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2458,7 +2458,7 @@ pub mod skus { } } pub mod get_nested_resource_type_second { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2532,7 +2532,7 @@ pub mod skus { } } pub mod create_or_update_nested_resource_type_second { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2600,7 +2600,7 @@ pub mod skus { } } pub mod delete_nested_resource_type_second { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2678,7 +2678,7 @@ pub mod skus { } } pub mod get_nested_resource_type_third { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2753,7 +2753,7 @@ pub mod skus { } } pub mod create_or_update_nested_resource_type_third { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2822,7 +2822,7 @@ pub mod skus { } } pub mod delete_nested_resource_type_third { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2902,7 +2902,7 @@ pub mod skus { } } pub mod list_by_resource_type_registrations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2978,7 +2978,7 @@ pub mod skus { } } pub mod list_by_resource_type_registrations_nested_resource_type_first { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3055,7 +3055,7 @@ pub mod skus { } } pub mod list_by_resource_type_registrations_nested_resource_type_second { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3133,7 +3133,7 @@ pub mod skus { } } pub mod list_by_resource_type_registrations_nested_resource_type_third { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3157,7 +3157,7 @@ pub mod skus { } } pub mod resource_actions { - use crate::models::*; + use super::{models, models::*}; pub async fn delete_resources( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3211,7 +3211,7 @@ pub mod resource_actions { } } pub mod delete_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/providerhub/src/package_2021_09_01_preview/operations.rs b/services/mgmt/providerhub/src/package_2021_09_01_preview/operations.rs index 815ac5f8ea..97c46b4474 100644 --- a/services/mgmt/providerhub/src/package_2021_09_01_preview/operations.rs +++ b/services/mgmt/providerhub/src/package_2021_09_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod custom_rollouts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod custom_rollouts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -128,7 +128,7 @@ pub mod custom_rollouts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -201,7 +201,7 @@ pub mod custom_rollouts { } } pub mod list_by_provider_registration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -225,7 +225,7 @@ pub mod custom_rollouts { } } pub mod default_rollouts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -274,7 +274,7 @@ pub mod default_rollouts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -355,7 +355,7 @@ pub mod default_rollouts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DefaultRollout), @@ -426,7 +426,7 @@ pub mod default_rollouts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -504,7 +504,7 @@ pub mod default_rollouts { } } pub mod list_by_provider_registration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -570,7 +570,7 @@ pub mod default_rollouts { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -643,7 +643,7 @@ pub async fn generate_manifest( } } pub mod generate_manifest { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -716,7 +716,7 @@ pub async fn checkin_manifest( } } pub mod checkin_manifest { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -739,7 +739,7 @@ pub mod checkin_manifest { } } pub mod notification_registrations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -788,7 +788,7 @@ pub mod notification_registrations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -863,7 +863,7 @@ pub mod notification_registrations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -929,7 +929,7 @@ pub mod notification_registrations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1007,7 +1007,7 @@ pub mod notification_registrations { } } pub mod list_by_provider_registration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1031,7 +1031,7 @@ pub mod notification_registrations { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -1070,7 +1070,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1143,7 +1143,7 @@ pub mod operations { } } pub mod list_by_provider_registration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1216,7 +1216,7 @@ pub mod operations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1280,7 +1280,7 @@ pub mod operations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1309,7 +1309,7 @@ pub mod operations { } } pub mod provider_registrations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1356,7 +1356,7 @@ pub mod provider_registrations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1430,7 +1430,7 @@ pub mod provider_registrations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProviderRegistration), @@ -1499,7 +1499,7 @@ pub mod provider_registrations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1570,7 +1570,7 @@ pub mod provider_registrations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1642,7 +1642,7 @@ pub mod provider_registrations { } } pub mod generate_operations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1666,7 +1666,7 @@ pub mod provider_registrations { } } pub mod resource_type_registrations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1715,7 +1715,7 @@ pub mod resource_type_registrations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1796,7 +1796,7 @@ pub mod resource_type_registrations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ResourceTypeRegistration), @@ -1867,7 +1867,7 @@ pub mod resource_type_registrations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1945,7 +1945,7 @@ pub mod resource_type_registrations { } } pub mod list_by_provider_registration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1969,7 +1969,7 @@ pub mod resource_type_registrations { } } pub mod skus { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2020,7 +2020,7 @@ pub mod skus { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2097,7 +2097,7 @@ pub mod skus { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2165,7 +2165,7 @@ pub mod skus { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2241,7 +2241,7 @@ pub mod skus { } } pub mod get_nested_resource_type_first { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2314,7 +2314,7 @@ pub mod skus { } } pub mod create_or_update_nested_resource_type_first { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2381,7 +2381,7 @@ pub mod skus { } } pub mod delete_nested_resource_type_first { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2458,7 +2458,7 @@ pub mod skus { } } pub mod get_nested_resource_type_second { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2532,7 +2532,7 @@ pub mod skus { } } pub mod create_or_update_nested_resource_type_second { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2600,7 +2600,7 @@ pub mod skus { } } pub mod delete_nested_resource_type_second { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2678,7 +2678,7 @@ pub mod skus { } } pub mod get_nested_resource_type_third { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2753,7 +2753,7 @@ pub mod skus { } } pub mod create_or_update_nested_resource_type_third { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2822,7 +2822,7 @@ pub mod skus { } } pub mod delete_nested_resource_type_third { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2902,7 +2902,7 @@ pub mod skus { } } pub mod list_by_resource_type_registrations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2978,7 +2978,7 @@ pub mod skus { } } pub mod list_by_resource_type_registrations_nested_resource_type_first { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3055,7 +3055,7 @@ pub mod skus { } } pub mod list_by_resource_type_registrations_nested_resource_type_second { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3133,7 +3133,7 @@ pub mod skus { } } pub mod list_by_resource_type_registrations_nested_resource_type_third { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3157,7 +3157,7 @@ pub mod skus { } } pub mod resource_actions { - use crate::models::*; + use super::{models, models::*}; pub async fn delete_resources( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3211,7 +3211,7 @@ pub mod resource_actions { } } pub mod delete_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/purview/Cargo.toml b/services/mgmt/purview/Cargo.toml index 5a8bba8494..ea8ce270bf 100644 --- a/services/mgmt/purview/Cargo.toml +++ b/services/mgmt/purview/Cargo.toml @@ -20,5 +20,6 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-07-01"] +no-default-version = [] "package-2020-12-01-preview" = [] "package-2021-07-01" = [] diff --git a/services/mgmt/purview/src/lib.rs b/services/mgmt/purview/src/lib.rs index 54449327aa..032d213f04 100644 --- a/services/mgmt/purview/src/lib.rs +++ b/services/mgmt/purview/src/lib.rs @@ -1,13 +1,21 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2020-12-01-preview")] -mod package_2020_12_01_preview; -#[cfg(feature = "package-2020-12-01-preview")] +pub mod package_2020_12_01_preview; +#[cfg(all(feature = "package-2020-12-01-preview", not(feature = "no-default-version")))] pub use package_2020_12_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-07-01")] -mod package_2021_07_01; +pub mod package_2021_07_01; use azure_core::setters; -#[cfg(feature = "package-2021-07-01")] +#[cfg(all(feature = "package-2021-07-01", not(feature = "no-default-version")))] pub use package_2021_07_01::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -31,7 +39,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/purview/src/package_2020_12_01_preview/operations.rs b/services/mgmt/purview/src/package_2020_12_01_preview/operations.rs index 742d1a9eec..82b7674ced 100644 --- a/services/mgmt/purview/src/package_2020_12_01_preview/operations.rs +++ b/services/mgmt/purview/src/package_2020_12_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -60,7 +60,7 @@ pub mod accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -133,7 +133,7 @@ pub mod accounts { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -203,7 +203,7 @@ pub mod accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -284,7 +284,7 @@ pub mod accounts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Account), @@ -367,7 +367,7 @@ pub mod accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Account), @@ -439,7 +439,7 @@ pub mod accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -519,7 +519,7 @@ pub mod accounts { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -592,7 +592,7 @@ pub mod accounts { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -616,7 +616,7 @@ pub mod accounts { } } pub mod default_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scope_tenant_id: &str, @@ -664,7 +664,7 @@ pub mod default_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -727,7 +727,7 @@ pub mod default_accounts { } } pub mod set { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -793,7 +793,7 @@ pub mod default_accounts { } } pub mod remove { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -822,7 +822,7 @@ pub mod default_accounts { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Purview/operations", operation_config.base_path(),); @@ -860,7 +860,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -884,7 +884,7 @@ pub mod operations { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -940,7 +940,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1012,7 +1012,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1095,7 +1095,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -1169,7 +1169,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1199,7 +1199,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1251,7 +1251,7 @@ pub mod private_link_resources { } } pub mod list_by_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1326,7 +1326,7 @@ pub mod private_link_resources { } } pub mod get_by_group_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/purview/src/package_2021_07_01/operations.rs b/services/mgmt/purview/src/package_2021_07_01/operations.rs index 182bca8859..ac5f26bd81 100644 --- a/services/mgmt/purview/src/package_2021_07_01/operations.rs +++ b/services/mgmt/purview/src/package_2021_07_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -60,7 +60,7 @@ pub mod accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -133,7 +133,7 @@ pub mod accounts { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -203,7 +203,7 @@ pub mod accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -284,7 +284,7 @@ pub mod accounts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Account), @@ -367,7 +367,7 @@ pub mod accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Account), @@ -439,7 +439,7 @@ pub mod accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -519,7 +519,7 @@ pub mod accounts { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -591,7 +591,7 @@ pub mod accounts { } } pub mod add_root_collection_admin { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -664,7 +664,7 @@ pub mod accounts { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -688,7 +688,7 @@ pub mod accounts { } } pub mod default_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scope_tenant_id: &str, @@ -736,7 +736,7 @@ pub mod default_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -799,7 +799,7 @@ pub mod default_accounts { } } pub mod set { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -865,7 +865,7 @@ pub mod default_accounts { } } pub mod remove { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -894,7 +894,7 @@ pub mod default_accounts { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Purview/operations", operation_config.base_path(),); @@ -932,7 +932,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -956,7 +956,7 @@ pub mod operations { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1012,7 +1012,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1084,7 +1084,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1167,7 +1167,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -1241,7 +1241,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1271,7 +1271,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1323,7 +1323,7 @@ pub mod private_link_resources { } } pub mod list_by_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1398,7 +1398,7 @@ pub mod private_link_resources { } } pub mod get_by_group_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/quantum/Cargo.toml b/services/mgmt/quantum/Cargo.toml index d7b45f595e..abf577cb7f 100644 --- a/services/mgmt/quantum/Cargo.toml +++ b/services/mgmt/quantum/Cargo.toml @@ -20,4 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2019-11-04-preview"] +no-default-version = [] "package-2019-11-04-preview" = [] diff --git a/services/mgmt/quantum/src/lib.rs b/services/mgmt/quantum/src/lib.rs index eac946771d..f92845d379 100644 --- a/services/mgmt/quantum/src/lib.rs +++ b/services/mgmt/quantum/src/lib.rs @@ -1,9 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2019-11-04-preview")] -mod package_2019_11_04_preview; +pub mod package_2019_11_04_preview; use azure_core::setters; -#[cfg(feature = "package-2019-11-04-preview")] +#[cfg(all(feature = "package-2019-11-04-preview", not(feature = "no-default-version")))] pub use package_2019_11_04_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -27,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/quantum/src/package_2019_11_04_preview/operations.rs b/services/mgmt/quantum/src/package_2019_11_04_preview/operations.rs index 3e12837eb4..6158cbacbe 100644 --- a/services/mgmt/quantum/src/package_2019_11_04_preview/operations.rs +++ b/services/mgmt/quantum/src/package_2019_11_04_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -53,7 +53,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(QuantumWorkspace), @@ -214,7 +214,7 @@ pub mod workspaces { } } pub mod update_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -281,7 +281,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -356,7 +356,7 @@ pub mod workspaces { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -429,7 +429,7 @@ pub mod workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -453,7 +453,7 @@ pub mod workspaces { } } pub mod offerings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -500,7 +500,7 @@ pub mod offerings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -524,7 +524,7 @@ pub mod offerings { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Quantum/operations", operation_config.base_path(),); @@ -562,7 +562,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -586,7 +586,7 @@ pub mod operations { } } pub mod workspace { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -640,7 +640,7 @@ pub mod workspace { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/quota/Cargo.toml b/services/mgmt/quota/Cargo.toml index 16c17667da..23d85b669b 100644 --- a/services/mgmt/quota/Cargo.toml +++ b/services/mgmt/quota/Cargo.toml @@ -20,5 +20,6 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-03-15"] +no-default-version = [] "package-2021-03-15" = [] "package-2021-03-15-preview" = [] diff --git a/services/mgmt/quota/src/lib.rs b/services/mgmt/quota/src/lib.rs index aefbf22769..d741f12fbb 100644 --- a/services/mgmt/quota/src/lib.rs +++ b/services/mgmt/quota/src/lib.rs @@ -1,13 +1,21 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-03-15")] -mod package_2021_03_15; -#[cfg(feature = "package-2021-03-15")] +pub mod package_2021_03_15; +#[cfg(all(feature = "package-2021-03-15", not(feature = "no-default-version")))] pub use package_2021_03_15::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-03-15-preview")] -mod package_2021_03_15_preview; +pub mod package_2021_03_15_preview; use azure_core::setters; -#[cfg(feature = "package-2021-03-15-preview")] +#[cfg(all(feature = "package-2021-03-15-preview", not(feature = "no-default-version")))] pub use package_2021_03_15_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -31,7 +39,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/quota/src/package_2021_03_15/operations.rs b/services/mgmt/quota/src/package_2021_03_15/operations.rs index 517fb85aa0..02e56598a9 100644 --- a/services/mgmt/quota/src/package_2021_03_15/operations.rs +++ b/services/mgmt/quota/src/package_2021_03_15/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod quota { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_name: &str, @@ -51,7 +51,7 @@ pub mod quota { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -130,7 +130,7 @@ pub mod quota { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CurrentQuotaLimitBase), @@ -211,7 +211,7 @@ pub mod quota { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CurrentQuotaLimitBase), @@ -275,7 +275,7 @@ pub mod quota { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -299,7 +299,7 @@ pub mod quota { } } pub mod quota_request_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, id: &str, @@ -346,7 +346,7 @@ pub mod quota_request_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -424,7 +424,7 @@ pub mod quota_request_status { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -448,7 +448,7 @@ pub mod quota_request_status { } } pub mod quota_resource_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Quota/quotaLimitProviders", operation_config.base_path(),); @@ -486,7 +486,7 @@ pub mod quota_resource_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -510,7 +510,7 @@ pub mod quota_resource_providers { } } pub mod operation { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Quota/operations", operation_config.base_path(),); @@ -548,7 +548,7 @@ pub mod operation { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/quota/src/package_2021_03_15_preview/operations.rs b/services/mgmt/quota/src/package_2021_03_15_preview/operations.rs index 0b4e9b2be9..b86d063725 100644 --- a/services/mgmt/quota/src/package_2021_03_15_preview/operations.rs +++ b/services/mgmt/quota/src/package_2021_03_15_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_name: &str, @@ -51,7 +51,7 @@ pub mod usages { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -110,7 +110,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod usages { } } pub mod quota { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_name: &str, @@ -181,7 +181,7 @@ pub mod quota { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -255,7 +255,7 @@ pub mod quota { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CurrentQuotaLimitBase), @@ -331,7 +331,7 @@ pub mod quota { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CurrentQuotaLimitBase), @@ -395,7 +395,7 @@ pub mod quota { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -419,7 +419,7 @@ pub mod quota { } } pub mod quota_request_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, id: &str, @@ -466,7 +466,7 @@ pub mod quota_request_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -540,7 +540,7 @@ pub mod quota_request_status { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -564,7 +564,7 @@ pub mod quota_request_status { } } pub mod operation { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Quota/operations", operation_config.base_path(),); @@ -602,7 +602,7 @@ pub mod operation { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/recoveryservices/Cargo.toml b/services/mgmt/recoveryservices/Cargo.toml index 8a53c86063..0373811da9 100644 --- a/services/mgmt/recoveryservices/Cargo.toml +++ b/services/mgmt/recoveryservices/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-08"] +no-default-version = [] "package-2021-08" = [] "package-2021-07" = [] "package-2021-06" = [] diff --git a/services/mgmt/recoveryservices/src/lib.rs b/services/mgmt/recoveryservices/src/lib.rs index 443dd7012b..3edd0fa970 100644 --- a/services/mgmt/recoveryservices/src/lib.rs +++ b/services/mgmt/recoveryservices/src/lib.rs @@ -1,45 +1,53 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-08")] -mod package_2021_08; -#[cfg(feature = "package-2021-08")] +pub mod package_2021_08; +#[cfg(all(feature = "package-2021-08", not(feature = "no-default-version")))] pub use package_2021_08::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-07")] -mod package_2021_07; -#[cfg(feature = "package-2021-07")] +pub mod package_2021_07; +#[cfg(all(feature = "package-2021-07", not(feature = "no-default-version")))] pub use package_2021_07::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-06")] -mod package_2021_06; -#[cfg(feature = "package-2021-06")] +pub mod package_2021_06; +#[cfg(all(feature = "package-2021-06", not(feature = "no-default-version")))] pub use package_2021_06::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-04")] -mod package_2021_04; -#[cfg(feature = "package-2021-04")] +pub mod package_2021_04; +#[cfg(all(feature = "package-2021-04", not(feature = "no-default-version")))] pub use package_2021_04::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-03")] -mod package_2021_03; -#[cfg(feature = "package-2021-03")] +pub mod package_2021_03; +#[cfg(all(feature = "package-2021-03", not(feature = "no-default-version")))] pub use package_2021_03::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-02")] -mod package_2021_02; -#[cfg(feature = "package-2021-02")] +pub mod package_2021_02; +#[cfg(all(feature = "package-2021-02", not(feature = "no-default-version")))] pub use package_2021_02::{models, operations, API_VERSION}; #[cfg(feature = "package-2016-06")] -mod package_2016_06; -#[cfg(feature = "package-2016-06")] +pub mod package_2016_06; +#[cfg(all(feature = "package-2016-06", not(feature = "no-default-version")))] pub use package_2016_06::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-02")] -mod package_2020_02; -#[cfg(feature = "package-2020-02")] +pub mod package_2020_02; +#[cfg(all(feature = "package-2020-02", not(feature = "no-default-version")))] pub use package_2020_02::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-10")] -mod package_2020_10; -#[cfg(feature = "package-2020-10")] +pub mod package_2020_10; +#[cfg(all(feature = "package-2020-10", not(feature = "no-default-version")))] pub use package_2020_10::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-01")] -mod package_2021_01; +pub mod package_2021_01; use azure_core::setters; -#[cfg(feature = "package-2021-01")] +#[cfg(all(feature = "package-2021-01", not(feature = "no-default-version")))] pub use package_2021_01::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -63,7 +71,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/recoveryservices/src/package_2016_06/operations.rs b/services/mgmt/recoveryservices/src/package_2016_06/operations.rs index edb9bc8ed6..5a45ecd36c 100644 --- a/services/mgmt/recoveryservices/src/package_2016_06/operations.rs +++ b/services/mgmt/recoveryservices/src/package_2016_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod vault_certificates { - use crate::models::*; + use super::{models, models::*}; pub async fn create( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -55,7 +55,7 @@ pub mod vault_certificates { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -76,7 +76,7 @@ pub mod vault_certificates { } } pub mod registered_identities { - use crate::models::*; + use super::{models, models::*}; pub async fn delete( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -120,7 +120,7 @@ pub mod registered_identities { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -141,7 +141,7 @@ pub mod registered_identities { } } pub mod replication_usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -188,7 +188,7 @@ pub mod replication_usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -209,7 +209,7 @@ pub mod replication_usages { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -256,7 +256,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -323,7 +323,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -344,7 +344,7 @@ pub mod private_link_resources { } } pub mod recovery_services { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -398,7 +398,7 @@ pub mod recovery_services { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -419,7 +419,7 @@ pub mod recovery_services { } } pub mod vaults { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription_id( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -467,7 +467,7 @@ pub mod vaults { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -535,7 +535,7 @@ pub mod vaults { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -600,7 +600,7 @@ pub mod vaults { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -676,7 +676,7 @@ pub mod vaults { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Vault), @@ -754,7 +754,7 @@ pub mod vaults { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Vault), @@ -819,7 +819,7 @@ pub mod vaults { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -840,7 +840,7 @@ pub mod vaults { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.RecoveryServices/operations", operation_config.base_path(),); @@ -876,7 +876,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -897,7 +897,7 @@ pub mod operations { } } pub mod vault_extended_info { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -944,7 +944,7 @@ pub mod vault_extended_info { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1014,7 +1014,7 @@ pub mod vault_extended_info { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1081,7 +1081,7 @@ pub mod vault_extended_info { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1102,7 +1102,7 @@ pub mod vault_extended_info { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_vaults( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1152,7 +1152,7 @@ pub mod usages { } } pub mod list_by_vaults { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/recoveryservices/src/package_2020_02/operations.rs b/services/mgmt/recoveryservices/src/package_2020_02/operations.rs index 51cc91476f..f1ea3a4459 100644 --- a/services/mgmt/recoveryservices/src/package_2020_02/operations.rs +++ b/services/mgmt/recoveryservices/src/package_2020_02/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod vault_certificates { - use crate::models::*; + use super::{models, models::*}; pub async fn create( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -55,7 +55,7 @@ pub mod vault_certificates { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -76,7 +76,7 @@ pub mod vault_certificates { } } pub mod registered_identities { - use crate::models::*; + use super::{models, models::*}; pub async fn delete( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -120,7 +120,7 @@ pub mod registered_identities { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -141,7 +141,7 @@ pub mod registered_identities { } } pub mod replication_usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -188,7 +188,7 @@ pub mod replication_usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -209,7 +209,7 @@ pub mod replication_usages { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -258,7 +258,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -330,7 +330,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -354,7 +354,7 @@ pub mod private_link_resources { } } pub mod recovery_services { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -410,7 +410,7 @@ pub mod recovery_services { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -434,7 +434,7 @@ pub mod recovery_services { } } pub mod vaults { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription_id( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -484,7 +484,7 @@ pub mod vaults { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -557,7 +557,7 @@ pub mod vaults { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -627,7 +627,7 @@ pub mod vaults { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -708,7 +708,7 @@ pub mod vaults { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Vault), @@ -786,7 +786,7 @@ pub mod vaults { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Vault), @@ -856,7 +856,7 @@ pub mod vaults { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -880,7 +880,7 @@ pub mod vaults { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.RecoveryServices/operations", operation_config.base_path(),); @@ -918,7 +918,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -942,7 +942,7 @@ pub mod operations { } } pub mod vault_extended_info { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -991,7 +991,7 @@ pub mod vault_extended_info { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1066,7 +1066,7 @@ pub mod vault_extended_info { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1138,7 +1138,7 @@ pub mod vault_extended_info { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1214,7 +1214,7 @@ pub async fn get_operation_status( } } pub mod get_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1290,7 +1290,7 @@ pub async fn get_operation_result( } } pub mod get_operation_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Vault), @@ -1318,7 +1318,7 @@ pub mod get_operation_result { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_vaults( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1368,7 +1368,7 @@ pub mod usages { } } pub mod list_by_vaults { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/recoveryservices/src/package_2020_10/operations.rs b/services/mgmt/recoveryservices/src/package_2020_10/operations.rs index 51cc91476f..f1ea3a4459 100644 --- a/services/mgmt/recoveryservices/src/package_2020_10/operations.rs +++ b/services/mgmt/recoveryservices/src/package_2020_10/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod vault_certificates { - use crate::models::*; + use super::{models, models::*}; pub async fn create( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -55,7 +55,7 @@ pub mod vault_certificates { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -76,7 +76,7 @@ pub mod vault_certificates { } } pub mod registered_identities { - use crate::models::*; + use super::{models, models::*}; pub async fn delete( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -120,7 +120,7 @@ pub mod registered_identities { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -141,7 +141,7 @@ pub mod registered_identities { } } pub mod replication_usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -188,7 +188,7 @@ pub mod replication_usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -209,7 +209,7 @@ pub mod replication_usages { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -258,7 +258,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -330,7 +330,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -354,7 +354,7 @@ pub mod private_link_resources { } } pub mod recovery_services { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -410,7 +410,7 @@ pub mod recovery_services { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -434,7 +434,7 @@ pub mod recovery_services { } } pub mod vaults { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription_id( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -484,7 +484,7 @@ pub mod vaults { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -557,7 +557,7 @@ pub mod vaults { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -627,7 +627,7 @@ pub mod vaults { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -708,7 +708,7 @@ pub mod vaults { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Vault), @@ -786,7 +786,7 @@ pub mod vaults { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Vault), @@ -856,7 +856,7 @@ pub mod vaults { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -880,7 +880,7 @@ pub mod vaults { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.RecoveryServices/operations", operation_config.base_path(),); @@ -918,7 +918,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -942,7 +942,7 @@ pub mod operations { } } pub mod vault_extended_info { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -991,7 +991,7 @@ pub mod vault_extended_info { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1066,7 +1066,7 @@ pub mod vault_extended_info { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1138,7 +1138,7 @@ pub mod vault_extended_info { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1214,7 +1214,7 @@ pub async fn get_operation_status( } } pub mod get_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1290,7 +1290,7 @@ pub async fn get_operation_result( } } pub mod get_operation_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Vault), @@ -1318,7 +1318,7 @@ pub mod get_operation_result { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_vaults( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1368,7 +1368,7 @@ pub mod usages { } } pub mod list_by_vaults { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/recoveryservices/src/package_2021_01/operations.rs b/services/mgmt/recoveryservices/src/package_2021_01/operations.rs index 51cc91476f..f1ea3a4459 100644 --- a/services/mgmt/recoveryservices/src/package_2021_01/operations.rs +++ b/services/mgmt/recoveryservices/src/package_2021_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod vault_certificates { - use crate::models::*; + use super::{models, models::*}; pub async fn create( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -55,7 +55,7 @@ pub mod vault_certificates { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -76,7 +76,7 @@ pub mod vault_certificates { } } pub mod registered_identities { - use crate::models::*; + use super::{models, models::*}; pub async fn delete( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -120,7 +120,7 @@ pub mod registered_identities { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -141,7 +141,7 @@ pub mod registered_identities { } } pub mod replication_usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -188,7 +188,7 @@ pub mod replication_usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -209,7 +209,7 @@ pub mod replication_usages { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -258,7 +258,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -330,7 +330,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -354,7 +354,7 @@ pub mod private_link_resources { } } pub mod recovery_services { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -410,7 +410,7 @@ pub mod recovery_services { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -434,7 +434,7 @@ pub mod recovery_services { } } pub mod vaults { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription_id( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -484,7 +484,7 @@ pub mod vaults { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -557,7 +557,7 @@ pub mod vaults { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -627,7 +627,7 @@ pub mod vaults { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -708,7 +708,7 @@ pub mod vaults { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Vault), @@ -786,7 +786,7 @@ pub mod vaults { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Vault), @@ -856,7 +856,7 @@ pub mod vaults { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -880,7 +880,7 @@ pub mod vaults { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.RecoveryServices/operations", operation_config.base_path(),); @@ -918,7 +918,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -942,7 +942,7 @@ pub mod operations { } } pub mod vault_extended_info { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -991,7 +991,7 @@ pub mod vault_extended_info { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1066,7 +1066,7 @@ pub mod vault_extended_info { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1138,7 +1138,7 @@ pub mod vault_extended_info { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1214,7 +1214,7 @@ pub async fn get_operation_status( } } pub mod get_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1290,7 +1290,7 @@ pub async fn get_operation_result( } } pub mod get_operation_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Vault), @@ -1318,7 +1318,7 @@ pub mod get_operation_result { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_vaults( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1368,7 +1368,7 @@ pub mod usages { } } pub mod list_by_vaults { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/recoveryservices/src/package_2021_02/operations.rs b/services/mgmt/recoveryservices/src/package_2021_02/operations.rs index 51cc91476f..f1ea3a4459 100644 --- a/services/mgmt/recoveryservices/src/package_2021_02/operations.rs +++ b/services/mgmt/recoveryservices/src/package_2021_02/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod vault_certificates { - use crate::models::*; + use super::{models, models::*}; pub async fn create( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -55,7 +55,7 @@ pub mod vault_certificates { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -76,7 +76,7 @@ pub mod vault_certificates { } } pub mod registered_identities { - use crate::models::*; + use super::{models, models::*}; pub async fn delete( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -120,7 +120,7 @@ pub mod registered_identities { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -141,7 +141,7 @@ pub mod registered_identities { } } pub mod replication_usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -188,7 +188,7 @@ pub mod replication_usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -209,7 +209,7 @@ pub mod replication_usages { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -258,7 +258,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -330,7 +330,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -354,7 +354,7 @@ pub mod private_link_resources { } } pub mod recovery_services { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -410,7 +410,7 @@ pub mod recovery_services { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -434,7 +434,7 @@ pub mod recovery_services { } } pub mod vaults { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription_id( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -484,7 +484,7 @@ pub mod vaults { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -557,7 +557,7 @@ pub mod vaults { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -627,7 +627,7 @@ pub mod vaults { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -708,7 +708,7 @@ pub mod vaults { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Vault), @@ -786,7 +786,7 @@ pub mod vaults { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Vault), @@ -856,7 +856,7 @@ pub mod vaults { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -880,7 +880,7 @@ pub mod vaults { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.RecoveryServices/operations", operation_config.base_path(),); @@ -918,7 +918,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -942,7 +942,7 @@ pub mod operations { } } pub mod vault_extended_info { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -991,7 +991,7 @@ pub mod vault_extended_info { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1066,7 +1066,7 @@ pub mod vault_extended_info { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1138,7 +1138,7 @@ pub mod vault_extended_info { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1214,7 +1214,7 @@ pub async fn get_operation_status( } } pub mod get_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1290,7 +1290,7 @@ pub async fn get_operation_result( } } pub mod get_operation_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Vault), @@ -1318,7 +1318,7 @@ pub mod get_operation_result { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_vaults( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1368,7 +1368,7 @@ pub mod usages { } } pub mod list_by_vaults { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/recoveryservices/src/package_2021_03/operations.rs b/services/mgmt/recoveryservices/src/package_2021_03/operations.rs index 51cc91476f..f1ea3a4459 100644 --- a/services/mgmt/recoveryservices/src/package_2021_03/operations.rs +++ b/services/mgmt/recoveryservices/src/package_2021_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod vault_certificates { - use crate::models::*; + use super::{models, models::*}; pub async fn create( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -55,7 +55,7 @@ pub mod vault_certificates { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -76,7 +76,7 @@ pub mod vault_certificates { } } pub mod registered_identities { - use crate::models::*; + use super::{models, models::*}; pub async fn delete( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -120,7 +120,7 @@ pub mod registered_identities { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -141,7 +141,7 @@ pub mod registered_identities { } } pub mod replication_usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -188,7 +188,7 @@ pub mod replication_usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -209,7 +209,7 @@ pub mod replication_usages { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -258,7 +258,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -330,7 +330,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -354,7 +354,7 @@ pub mod private_link_resources { } } pub mod recovery_services { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -410,7 +410,7 @@ pub mod recovery_services { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -434,7 +434,7 @@ pub mod recovery_services { } } pub mod vaults { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription_id( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -484,7 +484,7 @@ pub mod vaults { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -557,7 +557,7 @@ pub mod vaults { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -627,7 +627,7 @@ pub mod vaults { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -708,7 +708,7 @@ pub mod vaults { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Vault), @@ -786,7 +786,7 @@ pub mod vaults { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Vault), @@ -856,7 +856,7 @@ pub mod vaults { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -880,7 +880,7 @@ pub mod vaults { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.RecoveryServices/operations", operation_config.base_path(),); @@ -918,7 +918,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -942,7 +942,7 @@ pub mod operations { } } pub mod vault_extended_info { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -991,7 +991,7 @@ pub mod vault_extended_info { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1066,7 +1066,7 @@ pub mod vault_extended_info { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1138,7 +1138,7 @@ pub mod vault_extended_info { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1214,7 +1214,7 @@ pub async fn get_operation_status( } } pub mod get_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1290,7 +1290,7 @@ pub async fn get_operation_result( } } pub mod get_operation_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Vault), @@ -1318,7 +1318,7 @@ pub mod get_operation_result { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_vaults( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1368,7 +1368,7 @@ pub mod usages { } } pub mod list_by_vaults { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/recoveryservices/src/package_2021_04/operations.rs b/services/mgmt/recoveryservices/src/package_2021_04/operations.rs index 51cc91476f..f1ea3a4459 100644 --- a/services/mgmt/recoveryservices/src/package_2021_04/operations.rs +++ b/services/mgmt/recoveryservices/src/package_2021_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod vault_certificates { - use crate::models::*; + use super::{models, models::*}; pub async fn create( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -55,7 +55,7 @@ pub mod vault_certificates { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -76,7 +76,7 @@ pub mod vault_certificates { } } pub mod registered_identities { - use crate::models::*; + use super::{models, models::*}; pub async fn delete( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -120,7 +120,7 @@ pub mod registered_identities { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -141,7 +141,7 @@ pub mod registered_identities { } } pub mod replication_usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -188,7 +188,7 @@ pub mod replication_usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -209,7 +209,7 @@ pub mod replication_usages { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -258,7 +258,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -330,7 +330,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -354,7 +354,7 @@ pub mod private_link_resources { } } pub mod recovery_services { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -410,7 +410,7 @@ pub mod recovery_services { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -434,7 +434,7 @@ pub mod recovery_services { } } pub mod vaults { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription_id( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -484,7 +484,7 @@ pub mod vaults { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -557,7 +557,7 @@ pub mod vaults { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -627,7 +627,7 @@ pub mod vaults { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -708,7 +708,7 @@ pub mod vaults { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Vault), @@ -786,7 +786,7 @@ pub mod vaults { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Vault), @@ -856,7 +856,7 @@ pub mod vaults { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -880,7 +880,7 @@ pub mod vaults { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.RecoveryServices/operations", operation_config.base_path(),); @@ -918,7 +918,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -942,7 +942,7 @@ pub mod operations { } } pub mod vault_extended_info { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -991,7 +991,7 @@ pub mod vault_extended_info { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1066,7 +1066,7 @@ pub mod vault_extended_info { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1138,7 +1138,7 @@ pub mod vault_extended_info { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1214,7 +1214,7 @@ pub async fn get_operation_status( } } pub mod get_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1290,7 +1290,7 @@ pub async fn get_operation_result( } } pub mod get_operation_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Vault), @@ -1318,7 +1318,7 @@ pub mod get_operation_result { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_vaults( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1368,7 +1368,7 @@ pub mod usages { } } pub mod list_by_vaults { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/recoveryservices/src/package_2021_06/operations.rs b/services/mgmt/recoveryservices/src/package_2021_06/operations.rs index 51cc91476f..f1ea3a4459 100644 --- a/services/mgmt/recoveryservices/src/package_2021_06/operations.rs +++ b/services/mgmt/recoveryservices/src/package_2021_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod vault_certificates { - use crate::models::*; + use super::{models, models::*}; pub async fn create( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -55,7 +55,7 @@ pub mod vault_certificates { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -76,7 +76,7 @@ pub mod vault_certificates { } } pub mod registered_identities { - use crate::models::*; + use super::{models, models::*}; pub async fn delete( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -120,7 +120,7 @@ pub mod registered_identities { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -141,7 +141,7 @@ pub mod registered_identities { } } pub mod replication_usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -188,7 +188,7 @@ pub mod replication_usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -209,7 +209,7 @@ pub mod replication_usages { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -258,7 +258,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -330,7 +330,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -354,7 +354,7 @@ pub mod private_link_resources { } } pub mod recovery_services { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -410,7 +410,7 @@ pub mod recovery_services { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -434,7 +434,7 @@ pub mod recovery_services { } } pub mod vaults { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription_id( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -484,7 +484,7 @@ pub mod vaults { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -557,7 +557,7 @@ pub mod vaults { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -627,7 +627,7 @@ pub mod vaults { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -708,7 +708,7 @@ pub mod vaults { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Vault), @@ -786,7 +786,7 @@ pub mod vaults { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Vault), @@ -856,7 +856,7 @@ pub mod vaults { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -880,7 +880,7 @@ pub mod vaults { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.RecoveryServices/operations", operation_config.base_path(),); @@ -918,7 +918,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -942,7 +942,7 @@ pub mod operations { } } pub mod vault_extended_info { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -991,7 +991,7 @@ pub mod vault_extended_info { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1066,7 +1066,7 @@ pub mod vault_extended_info { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1138,7 +1138,7 @@ pub mod vault_extended_info { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1214,7 +1214,7 @@ pub async fn get_operation_status( } } pub mod get_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1290,7 +1290,7 @@ pub async fn get_operation_result( } } pub mod get_operation_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Vault), @@ -1318,7 +1318,7 @@ pub mod get_operation_result { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_vaults( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1368,7 +1368,7 @@ pub mod usages { } } pub mod list_by_vaults { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/recoveryservices/src/package_2021_07/operations.rs b/services/mgmt/recoveryservices/src/package_2021_07/operations.rs index 51cc91476f..f1ea3a4459 100644 --- a/services/mgmt/recoveryservices/src/package_2021_07/operations.rs +++ b/services/mgmt/recoveryservices/src/package_2021_07/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod vault_certificates { - use crate::models::*; + use super::{models, models::*}; pub async fn create( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -55,7 +55,7 @@ pub mod vault_certificates { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -76,7 +76,7 @@ pub mod vault_certificates { } } pub mod registered_identities { - use crate::models::*; + use super::{models, models::*}; pub async fn delete( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -120,7 +120,7 @@ pub mod registered_identities { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -141,7 +141,7 @@ pub mod registered_identities { } } pub mod replication_usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -188,7 +188,7 @@ pub mod replication_usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -209,7 +209,7 @@ pub mod replication_usages { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -258,7 +258,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -330,7 +330,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -354,7 +354,7 @@ pub mod private_link_resources { } } pub mod recovery_services { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -410,7 +410,7 @@ pub mod recovery_services { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -434,7 +434,7 @@ pub mod recovery_services { } } pub mod vaults { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription_id( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -484,7 +484,7 @@ pub mod vaults { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -557,7 +557,7 @@ pub mod vaults { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -627,7 +627,7 @@ pub mod vaults { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -708,7 +708,7 @@ pub mod vaults { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Vault), @@ -786,7 +786,7 @@ pub mod vaults { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Vault), @@ -856,7 +856,7 @@ pub mod vaults { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -880,7 +880,7 @@ pub mod vaults { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.RecoveryServices/operations", operation_config.base_path(),); @@ -918,7 +918,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -942,7 +942,7 @@ pub mod operations { } } pub mod vault_extended_info { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -991,7 +991,7 @@ pub mod vault_extended_info { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1066,7 +1066,7 @@ pub mod vault_extended_info { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1138,7 +1138,7 @@ pub mod vault_extended_info { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1214,7 +1214,7 @@ pub async fn get_operation_status( } } pub mod get_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1290,7 +1290,7 @@ pub async fn get_operation_result( } } pub mod get_operation_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Vault), @@ -1318,7 +1318,7 @@ pub mod get_operation_result { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_vaults( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1368,7 +1368,7 @@ pub mod usages { } } pub mod list_by_vaults { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/recoveryservices/src/package_2021_08/operations.rs b/services/mgmt/recoveryservices/src/package_2021_08/operations.rs index 51cc91476f..f1ea3a4459 100644 --- a/services/mgmt/recoveryservices/src/package_2021_08/operations.rs +++ b/services/mgmt/recoveryservices/src/package_2021_08/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod vault_certificates { - use crate::models::*; + use super::{models, models::*}; pub async fn create( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -55,7 +55,7 @@ pub mod vault_certificates { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -76,7 +76,7 @@ pub mod vault_certificates { } } pub mod registered_identities { - use crate::models::*; + use super::{models, models::*}; pub async fn delete( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -120,7 +120,7 @@ pub mod registered_identities { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -141,7 +141,7 @@ pub mod registered_identities { } } pub mod replication_usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -188,7 +188,7 @@ pub mod replication_usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -209,7 +209,7 @@ pub mod replication_usages { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -258,7 +258,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -330,7 +330,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -354,7 +354,7 @@ pub mod private_link_resources { } } pub mod recovery_services { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -410,7 +410,7 @@ pub mod recovery_services { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -434,7 +434,7 @@ pub mod recovery_services { } } pub mod vaults { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription_id( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -484,7 +484,7 @@ pub mod vaults { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -557,7 +557,7 @@ pub mod vaults { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -627,7 +627,7 @@ pub mod vaults { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -708,7 +708,7 @@ pub mod vaults { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Vault), @@ -786,7 +786,7 @@ pub mod vaults { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Vault), @@ -856,7 +856,7 @@ pub mod vaults { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -880,7 +880,7 @@ pub mod vaults { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.RecoveryServices/operations", operation_config.base_path(),); @@ -918,7 +918,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -942,7 +942,7 @@ pub mod operations { } } pub mod vault_extended_info { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -991,7 +991,7 @@ pub mod vault_extended_info { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1066,7 +1066,7 @@ pub mod vault_extended_info { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1138,7 +1138,7 @@ pub mod vault_extended_info { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1214,7 +1214,7 @@ pub async fn get_operation_status( } } pub mod get_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1290,7 +1290,7 @@ pub async fn get_operation_result( } } pub mod get_operation_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Vault), @@ -1318,7 +1318,7 @@ pub mod get_operation_result { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_vaults( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1368,7 +1368,7 @@ pub mod usages { } } pub mod list_by_vaults { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/recoveryservicesbackup/Cargo.toml b/services/mgmt/recoveryservicesbackup/Cargo.toml index e7633079d4..a19d0cebe1 100644 --- a/services/mgmt/recoveryservicesbackup/Cargo.toml +++ b/services/mgmt/recoveryservicesbackup/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-08"] +no-default-version = [] "package-2021-08" = [] "package-2021-07" = [] "package-2021-06" = [] diff --git a/services/mgmt/recoveryservicesbackup/src/lib.rs b/services/mgmt/recoveryservicesbackup/src/lib.rs index 61497a5d81..fe8938e697 100644 --- a/services/mgmt/recoveryservicesbackup/src/lib.rs +++ b/services/mgmt/recoveryservicesbackup/src/lib.rs @@ -1,77 +1,85 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-08")] -mod package_2021_08; -#[cfg(feature = "package-2021-08")] +pub mod package_2021_08; +#[cfg(all(feature = "package-2021-08", not(feature = "no-default-version")))] pub use package_2021_08::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-07")] -mod package_2021_07; -#[cfg(feature = "package-2021-07")] +pub mod package_2021_07; +#[cfg(all(feature = "package-2021-07", not(feature = "no-default-version")))] pub use package_2021_07::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-06")] -mod package_2021_06; -#[cfg(feature = "package-2021-06")] +pub mod package_2021_06; +#[cfg(all(feature = "package-2021-06", not(feature = "no-default-version")))] pub use package_2021_06::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-04")] -mod package_2021_04; -#[cfg(feature = "package-2021-04")] +pub mod package_2021_04; +#[cfg(all(feature = "package-2021-04", not(feature = "no-default-version")))] pub use package_2021_04::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-03")] -mod package_2021_03; -#[cfg(feature = "package-2021-03")] +pub mod package_2021_03; +#[cfg(all(feature = "package-2021-03", not(feature = "no-default-version")))] pub use package_2021_03::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-02-10")] -mod package_2021_02_10; -#[cfg(feature = "package-2021-02-10")] +pub mod package_2021_02_10; +#[cfg(all(feature = "package-2021-02-10", not(feature = "no-default-version")))] pub use package_2021_02_10::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-02-preview")] -mod package_2021_02_preview; -#[cfg(feature = "package-2021-02-preview")] +pub mod package_2021_02_preview; +#[cfg(all(feature = "package-2021-02-preview", not(feature = "no-default-version")))] pub use package_2021_02_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-02")] -mod package_2021_02; -#[cfg(feature = "package-2021-02")] +pub mod package_2021_02; +#[cfg(all(feature = "package-2021-02", not(feature = "no-default-version")))] pub use package_2021_02::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-01")] -mod package_2021_01; -#[cfg(feature = "package-2021-01")] +pub mod package_2021_01; +#[cfg(all(feature = "package-2021-01", not(feature = "no-default-version")))] pub use package_2021_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-12")] -mod package_2020_12; -#[cfg(feature = "package-2020-12")] +pub mod package_2020_12; +#[cfg(all(feature = "package-2020-12", not(feature = "no-default-version")))] pub use package_2020_12::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-02")] -mod package_2020_02; -#[cfg(feature = "package-2020-02")] +pub mod package_2020_02; +#[cfg(all(feature = "package-2020-02", not(feature = "no-default-version")))] pub use package_2020_02::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-06")] -mod package_2019_06; -#[cfg(feature = "package-2019-06")] +pub mod package_2019_06; +#[cfg(all(feature = "package-2019-06", not(feature = "no-default-version")))] pub use package_2019_06::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-05")] -mod package_2019_05; -#[cfg(feature = "package-2019-05")] +pub mod package_2019_05; +#[cfg(all(feature = "package-2019-05", not(feature = "no-default-version")))] pub use package_2019_05::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-07")] -mod package_2017_07; -#[cfg(feature = "package-2017-07")] +pub mod package_2017_07; +#[cfg(all(feature = "package-2017-07", not(feature = "no-default-version")))] pub use package_2017_07::{models, operations, API_VERSION}; #[cfg(feature = "package-2016-06")] -mod package_2016_06; -#[cfg(feature = "package-2016-06")] +pub mod package_2016_06; +#[cfg(all(feature = "package-2016-06", not(feature = "no-default-version")))] pub use package_2016_06::{models, operations, API_VERSION}; #[cfg(feature = "package-2016-08")] -mod package_2016_08; -#[cfg(feature = "package-2016-08")] +pub mod package_2016_08; +#[cfg(all(feature = "package-2016-08", not(feature = "no-default-version")))] pub use package_2016_08::{models, operations, API_VERSION}; #[cfg(feature = "package-2016-12")] -mod package_2016_12; -#[cfg(feature = "package-2016-12")] +pub mod package_2016_12; +#[cfg(all(feature = "package-2016-12", not(feature = "no-default-version")))] pub use package_2016_12::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-07-only")] -mod package_2017_07_only; +pub mod package_2017_07_only; use azure_core::setters; -#[cfg(feature = "package-2017-07-only")] +#[cfg(all(feature = "package-2017-07-only", not(feature = "no-default-version")))] pub use package_2017_07_only::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -95,7 +103,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/recoveryservicesbackup/src/package_2016_06/operations.rs b/services/mgmt/recoveryservicesbackup/src/package_2016_06/operations.rs index f502b91eae..231e77690e 100644 --- a/services/mgmt/recoveryservicesbackup/src/package_2016_06/operations.rs +++ b/services/mgmt/recoveryservicesbackup/src/package_2016_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod item_level_recovery_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn revoke( operation_config: &crate::OperationConfig, vault_name: &str, @@ -45,7 +45,7 @@ pub mod item_level_recovery_connections { } } pub mod revoke { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -108,7 +108,7 @@ pub mod item_level_recovery_connections { } } pub mod provision { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -129,7 +129,7 @@ pub mod item_level_recovery_connections { } } pub mod restores { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, vault_name: &str, @@ -174,7 +174,7 @@ pub mod restores { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -195,7 +195,7 @@ pub mod restores { } } pub mod protection_policy_operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -246,7 +246,7 @@ pub mod protection_policy_operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -267,7 +267,7 @@ pub mod protection_policy_operation_statuses { } } pub mod protection_policy_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -318,7 +318,7 @@ pub mod protection_policy_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -339,7 +339,7 @@ pub mod protection_policy_operation_results { } } pub mod protection_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -388,7 +388,7 @@ pub mod protection_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -461,7 +461,7 @@ pub mod protection_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionPolicyResource), @@ -529,7 +529,7 @@ pub mod protection_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -603,7 +603,7 @@ pub mod protection_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -624,7 +624,7 @@ pub mod protection_policies { } } pub mod protection_container_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -670,7 +670,7 @@ pub mod protection_container_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainerResource), @@ -697,7 +697,7 @@ pub mod protection_container_operation_results { } } pub mod protection_container_refresh_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -744,7 +744,7 @@ pub mod protection_container_refresh_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -770,7 +770,7 @@ pub mod protection_container_refresh_operation_results { } } pub mod protection_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -821,7 +821,7 @@ pub mod protection_containers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -890,7 +890,7 @@ pub mod protection_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -956,7 +956,7 @@ pub mod protection_containers { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1021,7 +1021,7 @@ pub mod protection_containers { } } pub mod unregister { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1042,7 +1042,7 @@ pub mod protection_containers { } } pub mod recovery_points { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1087,7 +1087,7 @@ pub mod recovery_points { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1153,7 +1153,7 @@ pub mod recovery_points { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1174,7 +1174,7 @@ pub mod recovery_points { } } pub mod backups { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1218,7 +1218,7 @@ pub mod backups { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1239,7 +1239,7 @@ pub mod backups { } } pub mod protected_item_operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1284,7 +1284,7 @@ pub mod protected_item_operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1305,7 +1305,7 @@ pub mod protected_item_operation_statuses { } } pub mod protected_item_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1352,7 +1352,7 @@ pub mod protected_item_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectedItemResource), @@ -1379,7 +1379,7 @@ pub mod protected_item_operation_results { } } pub mod protected_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1434,7 +1434,7 @@ pub mod protected_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1500,7 +1500,7 @@ pub mod protected_items { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1562,7 +1562,7 @@ pub mod protected_items { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1620,7 +1620,7 @@ pub mod protected_items { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1646,7 +1646,7 @@ pub mod protected_items { } } pub mod protectable_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1701,7 +1701,7 @@ pub mod protectable_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1722,7 +1722,7 @@ pub mod protectable_items { } } pub mod export_jobs_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1772,7 +1772,7 @@ pub mod export_jobs_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationResultInfoBaseResource), @@ -1798,7 +1798,7 @@ pub mod export_jobs_operation_results { } } pub mod job_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1846,7 +1846,7 @@ pub mod job_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1873,7 +1873,7 @@ pub mod job_operation_results { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn export( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1920,7 +1920,7 @@ pub mod jobs { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1993,7 +1993,7 @@ pub mod jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2014,7 +2014,7 @@ pub mod jobs { } } pub mod job_cancellations { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2062,7 +2062,7 @@ pub mod job_cancellations { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2083,7 +2083,7 @@ pub mod job_cancellations { } } pub mod job_details { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2132,7 +2132,7 @@ pub mod job_details { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2153,7 +2153,7 @@ pub mod job_details { } } pub mod backup_operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2202,7 +2202,7 @@ pub mod backup_operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2223,7 +2223,7 @@ pub mod backup_operation_statuses { } } pub mod backup_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2269,7 +2269,7 @@ pub mod backup_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2296,7 +2296,7 @@ pub mod backup_operation_results { } } pub mod backup_engines { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2351,7 +2351,7 @@ pub mod backup_engines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/recoveryservicesbackup/src/package_2016_08/operations.rs b/services/mgmt/recoveryservicesbackup/src/package_2016_08/operations.rs index fb3abef9b5..ce6495c773 100644 --- a/services/mgmt/recoveryservicesbackup/src/package_2016_08/operations.rs +++ b/services/mgmt/recoveryservicesbackup/src/package_2016_08/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.RecoveryServices/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/recoveryservicesbackup/src/package_2016_12/operations.rs b/services/mgmt/recoveryservicesbackup/src/package_2016_12/operations.rs index 684c6a107c..869f726dda 100644 --- a/services/mgmt/recoveryservicesbackup/src/package_2016_12/operations.rs +++ b/services/mgmt/recoveryservicesbackup/src/package_2016_12/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod backup_engines { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -59,7 +59,7 @@ pub mod backup_engines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod backup_engines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -155,7 +155,7 @@ pub mod backup_engines { } } pub mod protection_container_refresh_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -202,7 +202,7 @@ pub mod protection_container_refresh_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -228,7 +228,7 @@ pub mod protection_container_refresh_operation_results { } } pub mod protectable_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -281,7 +281,7 @@ pub mod protectable_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -302,7 +302,7 @@ pub mod protectable_containers { } } pub mod protection_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -353,7 +353,7 @@ pub mod protection_containers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -428,7 +428,7 @@ pub mod protection_containers { } } pub mod register { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainerResource), @@ -501,7 +501,7 @@ pub mod protection_containers { } } pub mod unregister { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -570,7 +570,7 @@ pub mod protection_containers { } } pub mod inquire { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -640,7 +640,7 @@ pub mod protection_containers { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -661,7 +661,7 @@ pub mod protection_containers { } } pub mod backup_workload_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -712,7 +712,7 @@ pub mod backup_workload_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -733,7 +733,7 @@ pub mod backup_workload_items { } } pub mod protection_container_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -779,7 +779,7 @@ pub mod protection_container_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainerResource), @@ -806,7 +806,7 @@ pub mod protection_container_operation_results { } } pub mod backups { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, vault_name: &str, @@ -850,7 +850,7 @@ pub mod backups { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -871,7 +871,7 @@ pub mod backups { } } pub mod protected_item_operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -916,7 +916,7 @@ pub mod protected_item_operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -937,7 +937,7 @@ pub mod protected_item_operation_statuses { } } pub mod item_level_recovery_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn provision( operation_config: &crate::OperationConfig, vault_name: &str, @@ -982,7 +982,7 @@ pub mod item_level_recovery_connections { } } pub mod provision { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1041,7 +1041,7 @@ pub mod item_level_recovery_connections { } } pub mod revoke { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1062,7 +1062,7 @@ pub mod item_level_recovery_connections { } } pub mod backup_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1108,7 +1108,7 @@ pub mod backup_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1135,7 +1135,7 @@ pub mod backup_operation_results { } } pub mod backup_operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1184,7 +1184,7 @@ pub mod backup_operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1205,7 +1205,7 @@ pub mod backup_operation_statuses { } } pub mod protection_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn delete( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1250,7 +1250,7 @@ pub mod protection_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1276,7 +1276,7 @@ pub mod protection_policies { } } pub mod protection_policy_operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1327,7 +1327,7 @@ pub mod protection_policy_operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1348,7 +1348,7 @@ pub mod protection_policy_operation_statuses { } } pub mod backup_protectable_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1403,7 +1403,7 @@ pub mod backup_protectable_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1424,7 +1424,7 @@ pub mod backup_protectable_items { } } pub mod backup_protection_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1475,7 +1475,7 @@ pub mod backup_protection_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1496,7 +1496,7 @@ pub mod backup_protection_containers { } } pub mod security_pi_ns { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1544,7 +1544,7 @@ pub mod security_pi_ns { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1565,7 +1565,7 @@ pub mod security_pi_ns { } } pub mod backup_resource_storage_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1612,7 +1612,7 @@ pub mod backup_resource_storage_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1679,7 +1679,7 @@ pub mod backup_resource_storage_configs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1741,7 +1741,7 @@ pub mod backup_resource_storage_configs { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/recoveryservicesbackup/src/package_2017_07/operations.rs b/services/mgmt/recoveryservicesbackup/src/package_2017_07/operations.rs index f5f0114b7e..ed6d3fe123 100644 --- a/services/mgmt/recoveryservicesbackup/src/package_2017_07/operations.rs +++ b/services/mgmt/recoveryservicesbackup/src/package_2017_07/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod protection_intent { - use crate::models::*; + use super::{models, models::*}; pub async fn validate( operation_config: &crate::OperationConfig, azure_region: &str, @@ -54,7 +54,7 @@ pub mod protection_intent { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -115,7 +115,7 @@ pub mod protection_intent { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -181,7 +181,7 @@ pub mod protection_intent { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -237,7 +237,7 @@ pub mod protection_intent { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -258,7 +258,7 @@ pub mod protection_intent { } } pub mod backup_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -305,7 +305,7 @@ pub mod backup_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -326,7 +326,7 @@ pub mod backup_status { } } pub mod feature_support { - use crate::models::*; + use super::{models, models::*}; pub async fn validate( operation_config: &crate::OperationConfig, azure_region: &str, @@ -376,7 +376,7 @@ pub mod feature_support { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -397,7 +397,7 @@ pub mod feature_support { } } pub mod backup_protection_intent { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -452,7 +452,7 @@ pub mod backup_protection_intent { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -473,7 +473,7 @@ pub mod backup_protection_intent { } } pub mod backup_usage_summaries { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -528,7 +528,7 @@ pub mod backup_usage_summaries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -549,7 +549,7 @@ pub mod backup_usage_summaries { } } pub mod backup_engines { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -604,7 +604,7 @@ pub mod backup_engines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -679,7 +679,7 @@ pub mod backup_engines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -700,7 +700,7 @@ pub mod backup_engines { } } pub mod protection_container_refresh_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -747,7 +747,7 @@ pub mod protection_container_refresh_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -773,7 +773,7 @@ pub mod protection_container_refresh_operation_results { } } pub mod protectable_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -826,7 +826,7 @@ pub mod protectable_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -847,7 +847,7 @@ pub mod protectable_containers { } } pub mod protection_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -898,7 +898,7 @@ pub mod protection_containers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -973,7 +973,7 @@ pub mod protection_containers { } } pub mod register { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainerResource), @@ -1046,7 +1046,7 @@ pub mod protection_containers { } } pub mod unregister { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1115,7 +1115,7 @@ pub mod protection_containers { } } pub mod inquire { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1185,7 +1185,7 @@ pub mod protection_containers { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1206,7 +1206,7 @@ pub mod protection_containers { } } pub mod backup_workload_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1257,7 +1257,7 @@ pub mod backup_workload_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1278,7 +1278,7 @@ pub mod backup_workload_items { } } pub mod protection_container_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1324,7 +1324,7 @@ pub mod protection_container_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainerResource), @@ -1351,7 +1351,7 @@ pub mod protection_container_operation_results { } } pub mod backups { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1395,7 +1395,7 @@ pub mod backups { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1416,7 +1416,7 @@ pub mod backups { } } pub mod protected_item_operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1461,7 +1461,7 @@ pub mod protected_item_operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1482,7 +1482,7 @@ pub mod protected_item_operation_statuses { } } pub mod item_level_recovery_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn provision( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1527,7 +1527,7 @@ pub mod item_level_recovery_connections { } } pub mod provision { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1586,7 +1586,7 @@ pub mod item_level_recovery_connections { } } pub mod revoke { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1607,7 +1607,7 @@ pub mod item_level_recovery_connections { } } pub mod backup_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1653,7 +1653,7 @@ pub mod backup_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1680,7 +1680,7 @@ pub mod backup_operation_results { } } pub mod backup_operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1729,7 +1729,7 @@ pub mod backup_operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1750,7 +1750,7 @@ pub mod backup_operation_statuses { } } pub mod protection_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn delete( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1795,7 +1795,7 @@ pub mod protection_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1821,7 +1821,7 @@ pub mod protection_policies { } } pub mod protection_policy_operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1872,7 +1872,7 @@ pub mod protection_policy_operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1893,7 +1893,7 @@ pub mod protection_policy_operation_statuses { } } pub mod backup_protectable_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1948,7 +1948,7 @@ pub mod backup_protectable_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1969,7 +1969,7 @@ pub mod backup_protectable_items { } } pub mod backup_protection_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2020,7 +2020,7 @@ pub mod backup_protection_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2041,7 +2041,7 @@ pub mod backup_protection_containers { } } pub mod security_pi_ns { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2089,7 +2089,7 @@ pub mod security_pi_ns { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2110,7 +2110,7 @@ pub mod security_pi_ns { } } pub mod backup_resource_storage_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2157,7 +2157,7 @@ pub mod backup_resource_storage_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2224,7 +2224,7 @@ pub mod backup_resource_storage_configs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2286,7 +2286,7 @@ pub mod backup_resource_storage_configs { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2307,7 +2307,7 @@ pub mod backup_resource_storage_configs { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.RecoveryServices/operations", operation_config.base_path(),); @@ -2343,7 +2343,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/recoveryservicesbackup/src/package_2017_07_only/operations.rs b/services/mgmt/recoveryservicesbackup/src/package_2017_07_only/operations.rs index 6f54800318..e8d65caa3d 100644 --- a/services/mgmt/recoveryservicesbackup/src/package_2017_07_only/operations.rs +++ b/services/mgmt/recoveryservicesbackup/src/package_2017_07_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod protection_intent { - use crate::models::*; + use super::{models, models::*}; pub async fn validate( operation_config: &crate::OperationConfig, azure_region: &str, @@ -54,7 +54,7 @@ pub mod protection_intent { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -115,7 +115,7 @@ pub mod protection_intent { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -181,7 +181,7 @@ pub mod protection_intent { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -237,7 +237,7 @@ pub mod protection_intent { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -258,7 +258,7 @@ pub mod protection_intent { } } pub mod backup_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -305,7 +305,7 @@ pub mod backup_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -326,7 +326,7 @@ pub mod backup_status { } } pub mod feature_support { - use crate::models::*; + use super::{models, models::*}; pub async fn validate( operation_config: &crate::OperationConfig, azure_region: &str, @@ -376,7 +376,7 @@ pub mod feature_support { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -397,7 +397,7 @@ pub mod feature_support { } } pub mod backup_protection_intent { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -452,7 +452,7 @@ pub mod backup_protection_intent { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -473,7 +473,7 @@ pub mod backup_protection_intent { } } pub mod backup_usage_summaries { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -528,7 +528,7 @@ pub mod backup_usage_summaries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/recoveryservicesbackup/src/package_2019_05/operations.rs b/services/mgmt/recoveryservicesbackup/src/package_2019_05/operations.rs index 657fa69c24..499838f366 100644 --- a/services/mgmt/recoveryservicesbackup/src/package_2019_05/operations.rs +++ b/services/mgmt/recoveryservicesbackup/src/package_2019_05/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod backup_resource_vault_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -51,7 +51,7 @@ pub mod backup_resource_vault_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -118,7 +118,7 @@ pub mod backup_resource_vault_configs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -139,7 +139,7 @@ pub mod backup_resource_vault_configs { } } pub mod protected_items { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -187,7 +187,7 @@ pub mod protected_items { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -255,7 +255,7 @@ pub mod protected_items { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectedItemResource), @@ -318,7 +318,7 @@ pub mod protected_items { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -344,7 +344,7 @@ pub mod protected_items { } } pub mod protected_item_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -391,7 +391,7 @@ pub mod protected_item_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectedItemResource), @@ -418,7 +418,7 @@ pub mod protected_item_operation_results { } } pub mod recovery_points { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -466,7 +466,7 @@ pub mod recovery_points { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -529,7 +529,7 @@ pub mod recovery_points { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -550,7 +550,7 @@ pub mod recovery_points { } } pub mod restores { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, vault_name: &str, @@ -595,7 +595,7 @@ pub mod restores { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -616,7 +616,7 @@ pub mod restores { } } pub mod backup_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -667,7 +667,7 @@ pub mod backup_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -688,7 +688,7 @@ pub mod backup_policies { } } pub mod protection_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -737,7 +737,7 @@ pub mod protection_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -810,7 +810,7 @@ pub mod protection_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionPolicyResource), @@ -878,7 +878,7 @@ pub mod protection_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -904,7 +904,7 @@ pub mod protection_policies { } } pub mod protection_policy_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -955,7 +955,7 @@ pub mod protection_policy_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -976,7 +976,7 @@ pub mod protection_policy_operation_results { } } pub mod backup_jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1031,7 +1031,7 @@ pub mod backup_jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1052,7 +1052,7 @@ pub mod backup_jobs { } } pub mod job_details { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1101,7 +1101,7 @@ pub mod job_details { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1122,7 +1122,7 @@ pub mod job_details { } } pub mod job_cancellations { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1170,7 +1170,7 @@ pub mod job_cancellations { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1191,7 +1191,7 @@ pub mod job_cancellations { } } pub mod job_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1239,7 +1239,7 @@ pub mod job_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1266,7 +1266,7 @@ pub mod job_operation_results { } } pub mod export_jobs_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1321,7 +1321,7 @@ pub mod export_jobs_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationResultInfoBaseResource), @@ -1347,7 +1347,7 @@ pub mod export_jobs_operation_results { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn export( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1394,7 +1394,7 @@ pub mod jobs { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1415,7 +1415,7 @@ pub mod jobs { } } pub mod backup_protected_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1470,7 +1470,7 @@ pub mod backup_protected_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1491,7 +1491,7 @@ pub mod backup_protected_items { } } pub mod operation { - use crate::models::*; + use super::{models, models::*}; pub async fn validate( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1543,7 +1543,7 @@ pub mod operation { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1564,7 +1564,7 @@ pub mod operation { } } pub mod protection_intent { - use crate::models::*; + use super::{models, models::*}; pub async fn validate( operation_config: &crate::OperationConfig, azure_region: &str, @@ -1614,7 +1614,7 @@ pub mod protection_intent { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1675,7 +1675,7 @@ pub mod protection_intent { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1741,7 +1741,7 @@ pub mod protection_intent { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1797,7 +1797,7 @@ pub mod protection_intent { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1818,7 +1818,7 @@ pub mod protection_intent { } } pub mod backup_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -1865,7 +1865,7 @@ pub mod backup_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1886,7 +1886,7 @@ pub mod backup_status { } } pub mod feature_support { - use crate::models::*; + use super::{models, models::*}; pub async fn validate( operation_config: &crate::OperationConfig, azure_region: &str, @@ -1936,7 +1936,7 @@ pub mod feature_support { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1957,7 +1957,7 @@ pub mod feature_support { } } pub mod backup_protection_intent { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2012,7 +2012,7 @@ pub mod backup_protection_intent { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2033,7 +2033,7 @@ pub mod backup_protection_intent { } } pub mod backup_usage_summaries { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2088,7 +2088,7 @@ pub mod backup_usage_summaries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2109,7 +2109,7 @@ pub mod backup_usage_summaries { } } pub mod backup_engines { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2164,7 +2164,7 @@ pub mod backup_engines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2239,7 +2239,7 @@ pub mod backup_engines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2260,7 +2260,7 @@ pub mod backup_engines { } } pub mod protection_container_refresh_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2307,7 +2307,7 @@ pub mod protection_container_refresh_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2333,7 +2333,7 @@ pub mod protection_container_refresh_operation_results { } } pub mod protectable_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2386,7 +2386,7 @@ pub mod protectable_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2407,7 +2407,7 @@ pub mod protectable_containers { } } pub mod protection_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2458,7 +2458,7 @@ pub mod protection_containers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2533,7 +2533,7 @@ pub mod protection_containers { } } pub mod register { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainerResource), @@ -2606,7 +2606,7 @@ pub mod protection_containers { } } pub mod unregister { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2675,7 +2675,7 @@ pub mod protection_containers { } } pub mod inquire { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2745,7 +2745,7 @@ pub mod protection_containers { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2766,7 +2766,7 @@ pub mod protection_containers { } } pub mod backup_workload_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2817,7 +2817,7 @@ pub mod backup_workload_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2838,7 +2838,7 @@ pub mod backup_workload_items { } } pub mod protection_container_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2884,7 +2884,7 @@ pub mod protection_container_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainerResource), @@ -2911,7 +2911,7 @@ pub mod protection_container_operation_results { } } pub mod backups { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2955,7 +2955,7 @@ pub mod backups { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2976,7 +2976,7 @@ pub mod backups { } } pub mod protected_item_operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3021,7 +3021,7 @@ pub mod protected_item_operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3042,7 +3042,7 @@ pub mod protected_item_operation_statuses { } } pub mod item_level_recovery_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn provision( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3087,7 +3087,7 @@ pub mod item_level_recovery_connections { } } pub mod provision { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3146,7 +3146,7 @@ pub mod item_level_recovery_connections { } } pub mod revoke { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3167,7 +3167,7 @@ pub mod item_level_recovery_connections { } } pub mod backup_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3213,7 +3213,7 @@ pub mod backup_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3240,7 +3240,7 @@ pub mod backup_operation_results { } } pub mod backup_operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3289,7 +3289,7 @@ pub mod backup_operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3310,7 +3310,7 @@ pub mod backup_operation_statuses { } } pub mod protection_policy_operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3361,7 +3361,7 @@ pub mod protection_policy_operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3382,7 +3382,7 @@ pub mod protection_policy_operation_statuses { } } pub mod backup_protectable_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3437,7 +3437,7 @@ pub mod backup_protectable_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3458,7 +3458,7 @@ pub mod backup_protectable_items { } } pub mod backup_protection_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3509,7 +3509,7 @@ pub mod backup_protection_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3530,7 +3530,7 @@ pub mod backup_protection_containers { } } pub mod security_pi_ns { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3578,7 +3578,7 @@ pub mod security_pi_ns { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3599,7 +3599,7 @@ pub mod security_pi_ns { } } pub mod backup_resource_storage_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3646,7 +3646,7 @@ pub mod backup_resource_storage_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3713,7 +3713,7 @@ pub mod backup_resource_storage_configs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3775,7 +3775,7 @@ pub mod backup_resource_storage_configs { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3796,7 +3796,7 @@ pub mod backup_resource_storage_configs { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.RecoveryServices/operations", operation_config.base_path(),); @@ -3832,7 +3832,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/recoveryservicesbackup/src/package_2019_06/operations.rs b/services/mgmt/recoveryservicesbackup/src/package_2019_06/operations.rs index 2fad19cc7e..5b841d11cd 100644 --- a/services/mgmt/recoveryservicesbackup/src/package_2019_06/operations.rs +++ b/services/mgmt/recoveryservicesbackup/src/package_2019_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod backup_resource_vault_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -51,7 +51,7 @@ pub mod backup_resource_vault_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -120,7 +120,7 @@ pub mod backup_resource_vault_configs { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -190,7 +190,7 @@ pub mod backup_resource_vault_configs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -211,7 +211,7 @@ pub mod backup_resource_vault_configs { } } pub mod protected_items { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -259,7 +259,7 @@ pub mod protected_items { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -327,7 +327,7 @@ pub mod protected_items { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectedItemResource), @@ -390,7 +390,7 @@ pub mod protected_items { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -416,7 +416,7 @@ pub mod protected_items { } } pub mod protected_item_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -463,7 +463,7 @@ pub mod protected_item_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectedItemResource), @@ -490,7 +490,7 @@ pub mod protected_item_operation_results { } } pub mod recovery_points { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -538,7 +538,7 @@ pub mod recovery_points { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -601,7 +601,7 @@ pub mod recovery_points { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -622,7 +622,7 @@ pub mod recovery_points { } } pub mod restores { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, vault_name: &str, @@ -667,7 +667,7 @@ pub mod restores { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -688,7 +688,7 @@ pub mod restores { } } pub mod backup_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -739,7 +739,7 @@ pub mod backup_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -760,7 +760,7 @@ pub mod backup_policies { } } pub mod protection_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -809,7 +809,7 @@ pub mod protection_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -882,7 +882,7 @@ pub mod protection_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionPolicyResource), @@ -950,7 +950,7 @@ pub mod protection_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -976,7 +976,7 @@ pub mod protection_policies { } } pub mod protection_policy_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1027,7 +1027,7 @@ pub mod protection_policy_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1048,7 +1048,7 @@ pub mod protection_policy_operation_results { } } pub mod backup_jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1103,7 +1103,7 @@ pub mod backup_jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1124,7 +1124,7 @@ pub mod backup_jobs { } } pub mod job_details { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1173,7 +1173,7 @@ pub mod job_details { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1194,7 +1194,7 @@ pub mod job_details { } } pub mod job_cancellations { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1242,7 +1242,7 @@ pub mod job_cancellations { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1263,7 +1263,7 @@ pub mod job_cancellations { } } pub mod job_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1311,7 +1311,7 @@ pub mod job_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1338,7 +1338,7 @@ pub mod job_operation_results { } } pub mod export_jobs_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1393,7 +1393,7 @@ pub mod export_jobs_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationResultInfoBaseResource), @@ -1419,7 +1419,7 @@ pub mod export_jobs_operation_results { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn export( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1466,7 +1466,7 @@ pub mod jobs { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1487,7 +1487,7 @@ pub mod jobs { } } pub mod backup_protected_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1542,7 +1542,7 @@ pub mod backup_protected_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1563,7 +1563,7 @@ pub mod backup_protected_items { } } pub mod operation { - use crate::models::*; + use super::{models, models::*}; pub async fn validate( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1615,7 +1615,7 @@ pub mod operation { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1636,7 +1636,7 @@ pub mod operation { } } pub mod protection_intent { - use crate::models::*; + use super::{models, models::*}; pub async fn validate( operation_config: &crate::OperationConfig, azure_region: &str, @@ -1686,7 +1686,7 @@ pub mod protection_intent { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1747,7 +1747,7 @@ pub mod protection_intent { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1813,7 +1813,7 @@ pub mod protection_intent { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1869,7 +1869,7 @@ pub mod protection_intent { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1890,7 +1890,7 @@ pub mod protection_intent { } } pub mod backup_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -1937,7 +1937,7 @@ pub mod backup_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1958,7 +1958,7 @@ pub mod backup_status { } } pub mod feature_support { - use crate::models::*; + use super::{models, models::*}; pub async fn validate( operation_config: &crate::OperationConfig, azure_region: &str, @@ -2008,7 +2008,7 @@ pub mod feature_support { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2029,7 +2029,7 @@ pub mod feature_support { } } pub mod backup_protection_intent { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2084,7 +2084,7 @@ pub mod backup_protection_intent { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2105,7 +2105,7 @@ pub mod backup_protection_intent { } } pub mod backup_usage_summaries { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2160,7 +2160,7 @@ pub mod backup_usage_summaries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2181,7 +2181,7 @@ pub mod backup_usage_summaries { } } pub mod backup_engines { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2236,7 +2236,7 @@ pub mod backup_engines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2311,7 +2311,7 @@ pub mod backup_engines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2332,7 +2332,7 @@ pub mod backup_engines { } } pub mod protection_container_refresh_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2379,7 +2379,7 @@ pub mod protection_container_refresh_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2405,7 +2405,7 @@ pub mod protection_container_refresh_operation_results { } } pub mod protectable_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2458,7 +2458,7 @@ pub mod protectable_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2479,7 +2479,7 @@ pub mod protectable_containers { } } pub mod protection_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2530,7 +2530,7 @@ pub mod protection_containers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2605,7 +2605,7 @@ pub mod protection_containers { } } pub mod register { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainerResource), @@ -2678,7 +2678,7 @@ pub mod protection_containers { } } pub mod unregister { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2747,7 +2747,7 @@ pub mod protection_containers { } } pub mod inquire { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2817,7 +2817,7 @@ pub mod protection_containers { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2838,7 +2838,7 @@ pub mod protection_containers { } } pub mod backup_workload_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2889,7 +2889,7 @@ pub mod backup_workload_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2910,7 +2910,7 @@ pub mod backup_workload_items { } } pub mod protection_container_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2956,7 +2956,7 @@ pub mod protection_container_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainerResource), @@ -2983,7 +2983,7 @@ pub mod protection_container_operation_results { } } pub mod backups { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3027,7 +3027,7 @@ pub mod backups { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3048,7 +3048,7 @@ pub mod backups { } } pub mod protected_item_operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3093,7 +3093,7 @@ pub mod protected_item_operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3114,7 +3114,7 @@ pub mod protected_item_operation_statuses { } } pub mod item_level_recovery_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn provision( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3159,7 +3159,7 @@ pub mod item_level_recovery_connections { } } pub mod provision { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3218,7 +3218,7 @@ pub mod item_level_recovery_connections { } } pub mod revoke { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3239,7 +3239,7 @@ pub mod item_level_recovery_connections { } } pub mod backup_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3285,7 +3285,7 @@ pub mod backup_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3312,7 +3312,7 @@ pub mod backup_operation_results { } } pub mod backup_operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3361,7 +3361,7 @@ pub mod backup_operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3382,7 +3382,7 @@ pub mod backup_operation_statuses { } } pub mod protection_policy_operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3433,7 +3433,7 @@ pub mod protection_policy_operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3454,7 +3454,7 @@ pub mod protection_policy_operation_statuses { } } pub mod backup_protectable_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3509,7 +3509,7 @@ pub mod backup_protectable_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3530,7 +3530,7 @@ pub mod backup_protectable_items { } } pub mod backup_protection_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3581,7 +3581,7 @@ pub mod backup_protection_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3602,7 +3602,7 @@ pub mod backup_protection_containers { } } pub mod security_pi_ns { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3650,7 +3650,7 @@ pub mod security_pi_ns { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3671,7 +3671,7 @@ pub mod security_pi_ns { } } pub mod backup_resource_storage_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3718,7 +3718,7 @@ pub mod backup_resource_storage_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3785,7 +3785,7 @@ pub mod backup_resource_storage_configs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3847,7 +3847,7 @@ pub mod backup_resource_storage_configs { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3868,7 +3868,7 @@ pub mod backup_resource_storage_configs { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.RecoveryServices/operations", operation_config.base_path(),); @@ -3904,7 +3904,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/recoveryservicesbackup/src/package_2020_02/operations.rs b/services/mgmt/recoveryservicesbackup/src/package_2020_02/operations.rs index 79b0f6bd5c..b29391059e 100644 --- a/services/mgmt/recoveryservicesbackup/src/package_2020_02/operations.rs +++ b/services/mgmt/recoveryservicesbackup/src/package_2020_02/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod private_endpoint_connection { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -55,7 +55,7 @@ pub mod private_endpoint_connection { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -133,7 +133,7 @@ pub mod private_endpoint_connection { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnectionResource), @@ -204,7 +204,7 @@ pub mod private_endpoint_connection { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -280,7 +280,7 @@ pub async fn get_operation_status( } } pub mod get_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -303,7 +303,7 @@ pub mod get_operation_status { } } pub mod backup_resource_vault_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -350,7 +350,7 @@ pub mod backup_resource_vault_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -419,7 +419,7 @@ pub mod backup_resource_vault_configs { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -489,7 +489,7 @@ pub mod backup_resource_vault_configs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -510,7 +510,7 @@ pub mod backup_resource_vault_configs { } } pub mod protected_items { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -558,7 +558,7 @@ pub mod protected_items { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -626,7 +626,7 @@ pub mod protected_items { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectedItemResource), @@ -689,7 +689,7 @@ pub mod protected_items { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -715,7 +715,7 @@ pub mod protected_items { } } pub mod protected_item_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -762,7 +762,7 @@ pub mod protected_item_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectedItemResource), @@ -789,7 +789,7 @@ pub mod protected_item_operation_results { } } pub mod recovery_points { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -837,7 +837,7 @@ pub mod recovery_points { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -900,7 +900,7 @@ pub mod recovery_points { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -921,7 +921,7 @@ pub mod recovery_points { } } pub mod restores { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, vault_name: &str, @@ -966,7 +966,7 @@ pub mod restores { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -987,7 +987,7 @@ pub mod restores { } } pub mod backup_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1038,7 +1038,7 @@ pub mod backup_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1059,7 +1059,7 @@ pub mod backup_policies { } } pub mod protection_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1108,7 +1108,7 @@ pub mod protection_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1181,7 +1181,7 @@ pub mod protection_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionPolicyResource), @@ -1249,7 +1249,7 @@ pub mod protection_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1275,7 +1275,7 @@ pub mod protection_policies { } } pub mod protection_policy_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1326,7 +1326,7 @@ pub mod protection_policy_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1347,7 +1347,7 @@ pub mod protection_policy_operation_results { } } pub mod backup_jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1402,7 +1402,7 @@ pub mod backup_jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1423,7 +1423,7 @@ pub mod backup_jobs { } } pub mod job_details { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1472,7 +1472,7 @@ pub mod job_details { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1493,7 +1493,7 @@ pub mod job_details { } } pub mod job_cancellations { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1541,7 +1541,7 @@ pub mod job_cancellations { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1562,7 +1562,7 @@ pub mod job_cancellations { } } pub mod job_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1610,7 +1610,7 @@ pub mod job_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1637,7 +1637,7 @@ pub mod job_operation_results { } } pub mod export_jobs_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1692,7 +1692,7 @@ pub mod export_jobs_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationResultInfoBaseResource), @@ -1718,7 +1718,7 @@ pub mod export_jobs_operation_results { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn export( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1765,7 +1765,7 @@ pub mod jobs { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1786,7 +1786,7 @@ pub mod jobs { } } pub mod backup_protected_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1841,7 +1841,7 @@ pub mod backup_protected_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1862,7 +1862,7 @@ pub mod backup_protected_items { } } pub mod operation { - use crate::models::*; + use super::{models, models::*}; pub async fn validate( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1914,7 +1914,7 @@ pub mod operation { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1935,7 +1935,7 @@ pub mod operation { } } pub mod protection_intent { - use crate::models::*; + use super::{models, models::*}; pub async fn validate( operation_config: &crate::OperationConfig, azure_region: &str, @@ -1985,7 +1985,7 @@ pub mod protection_intent { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2046,7 +2046,7 @@ pub mod protection_intent { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2112,7 +2112,7 @@ pub mod protection_intent { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2168,7 +2168,7 @@ pub mod protection_intent { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2189,7 +2189,7 @@ pub mod protection_intent { } } pub mod backup_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -2236,7 +2236,7 @@ pub mod backup_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2257,7 +2257,7 @@ pub mod backup_status { } } pub mod feature_support { - use crate::models::*; + use super::{models, models::*}; pub async fn validate( operation_config: &crate::OperationConfig, azure_region: &str, @@ -2307,7 +2307,7 @@ pub mod feature_support { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2328,7 +2328,7 @@ pub mod feature_support { } } pub mod backup_protection_intent { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2383,7 +2383,7 @@ pub mod backup_protection_intent { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2404,7 +2404,7 @@ pub mod backup_protection_intent { } } pub mod backup_usage_summaries { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2459,7 +2459,7 @@ pub mod backup_usage_summaries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2480,7 +2480,7 @@ pub mod backup_usage_summaries { } } pub mod backup_engines { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2535,7 +2535,7 @@ pub mod backup_engines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2610,7 +2610,7 @@ pub mod backup_engines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2631,7 +2631,7 @@ pub mod backup_engines { } } pub mod protection_container_refresh_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2678,7 +2678,7 @@ pub mod protection_container_refresh_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2704,7 +2704,7 @@ pub mod protection_container_refresh_operation_results { } } pub mod protectable_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2757,7 +2757,7 @@ pub mod protectable_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2778,7 +2778,7 @@ pub mod protectable_containers { } } pub mod protection_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2829,7 +2829,7 @@ pub mod protection_containers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2904,7 +2904,7 @@ pub mod protection_containers { } } pub mod register { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainerResource), @@ -2977,7 +2977,7 @@ pub mod protection_containers { } } pub mod unregister { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3046,7 +3046,7 @@ pub mod protection_containers { } } pub mod inquire { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3116,7 +3116,7 @@ pub mod protection_containers { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3137,7 +3137,7 @@ pub mod protection_containers { } } pub mod backup_workload_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3188,7 +3188,7 @@ pub mod backup_workload_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3209,7 +3209,7 @@ pub mod backup_workload_items { } } pub mod protection_container_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3255,7 +3255,7 @@ pub mod protection_container_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainerResource), @@ -3282,7 +3282,7 @@ pub mod protection_container_operation_results { } } pub mod backups { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3326,7 +3326,7 @@ pub mod backups { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3347,7 +3347,7 @@ pub mod backups { } } pub mod protected_item_operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3392,7 +3392,7 @@ pub mod protected_item_operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3413,7 +3413,7 @@ pub mod protected_item_operation_statuses { } } pub mod item_level_recovery_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn provision( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3458,7 +3458,7 @@ pub mod item_level_recovery_connections { } } pub mod provision { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3517,7 +3517,7 @@ pub mod item_level_recovery_connections { } } pub mod revoke { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3538,7 +3538,7 @@ pub mod item_level_recovery_connections { } } pub mod backup_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3584,7 +3584,7 @@ pub mod backup_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3611,7 +3611,7 @@ pub mod backup_operation_results { } } pub mod backup_operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3660,7 +3660,7 @@ pub mod backup_operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3681,7 +3681,7 @@ pub mod backup_operation_statuses { } } pub mod protection_policy_operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3732,7 +3732,7 @@ pub mod protection_policy_operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3753,7 +3753,7 @@ pub mod protection_policy_operation_statuses { } } pub mod backup_protectable_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3808,7 +3808,7 @@ pub mod backup_protectable_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3829,7 +3829,7 @@ pub mod backup_protectable_items { } } pub mod backup_protection_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3880,7 +3880,7 @@ pub mod backup_protection_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3901,7 +3901,7 @@ pub mod backup_protection_containers { } } pub mod security_pi_ns { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3949,7 +3949,7 @@ pub mod security_pi_ns { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3970,7 +3970,7 @@ pub mod security_pi_ns { } } pub mod backup_resource_storage_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4017,7 +4017,7 @@ pub mod backup_resource_storage_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4084,7 +4084,7 @@ pub mod backup_resource_storage_configs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4146,7 +4146,7 @@ pub mod backup_resource_storage_configs { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4167,7 +4167,7 @@ pub mod backup_resource_storage_configs { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.RecoveryServices/operations", operation_config.base_path(),); @@ -4203,7 +4203,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/recoveryservicesbackup/src/package_2020_12/operations.rs b/services/mgmt/recoveryservicesbackup/src/package_2020_12/operations.rs index 387ed2dd13..323538ac38 100644 --- a/services/mgmt/recoveryservicesbackup/src/package_2020_12/operations.rs +++ b/services/mgmt/recoveryservicesbackup/src/package_2020_12/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod backup_resource_vault_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -53,7 +53,7 @@ pub mod backup_resource_vault_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -125,7 +125,7 @@ pub mod backup_resource_vault_configs { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -197,7 +197,7 @@ pub mod backup_resource_vault_configs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -221,7 +221,7 @@ pub mod backup_resource_vault_configs { } } pub mod backup_resource_encryption_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -264,7 +264,7 @@ pub mod backup_resource_encryption_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -325,7 +325,7 @@ pub mod backup_resource_encryption_configs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -349,7 +349,7 @@ pub mod backup_resource_encryption_configs { } } pub mod private_endpoint_connection { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -400,7 +400,7 @@ pub mod private_endpoint_connection { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -478,7 +478,7 @@ pub mod private_endpoint_connection { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnectionResource), @@ -549,7 +549,7 @@ pub mod private_endpoint_connection { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -579,7 +579,7 @@ pub mod private_endpoint_connection { } } pub mod private_endpoint { - use crate::models::*; + use super::{models, models::*}; pub async fn get_operation_status( operation_config: &crate::OperationConfig, vault_name: &str, @@ -627,7 +627,7 @@ pub mod private_endpoint { } } pub mod get_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -696,7 +696,7 @@ pub async fn get_operation_status( } } pub mod get_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -763,7 +763,7 @@ pub async fn bms_prepare_data_move( } } pub mod bms_prepare_data_move { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -835,7 +835,7 @@ pub async fn bms_trigger_data_move( } } pub mod bms_trigger_data_move { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -863,7 +863,7 @@ pub mod bms_trigger_data_move { } } pub mod bms_prepare_data_move_operation_result { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -908,7 +908,7 @@ pub mod bms_prepare_data_move_operation_result { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VaultStorageConfigOperationResultResponse), @@ -937,7 +937,7 @@ pub mod bms_prepare_data_move_operation_result { } } pub mod protected_items { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -985,7 +985,7 @@ pub mod protected_items { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1053,7 +1053,7 @@ pub mod protected_items { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectedItemResource), @@ -1116,7 +1116,7 @@ pub mod protected_items { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1142,7 +1142,7 @@ pub mod protected_items { } } pub mod protected_item_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1189,7 +1189,7 @@ pub mod protected_item_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectedItemResource), @@ -1216,7 +1216,7 @@ pub mod protected_item_operation_results { } } pub mod recovery_points { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1264,7 +1264,7 @@ pub mod recovery_points { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1327,7 +1327,7 @@ pub mod recovery_points { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1398,7 +1398,7 @@ pub mod recovery_points { } } pub mod get_access_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1424,7 +1424,7 @@ pub mod recovery_points { } } pub mod restores { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1469,7 +1469,7 @@ pub mod restores { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1490,7 +1490,7 @@ pub mod restores { } } pub mod backup_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1541,7 +1541,7 @@ pub mod backup_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1562,7 +1562,7 @@ pub mod backup_policies { } } pub mod protection_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1611,7 +1611,7 @@ pub mod protection_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1684,7 +1684,7 @@ pub mod protection_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionPolicyResource), @@ -1752,7 +1752,7 @@ pub mod protection_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1778,7 +1778,7 @@ pub mod protection_policies { } } pub mod protection_policy_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1829,7 +1829,7 @@ pub mod protection_policy_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1850,7 +1850,7 @@ pub mod protection_policy_operation_results { } } pub mod backup_jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1905,7 +1905,7 @@ pub mod backup_jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1926,7 +1926,7 @@ pub mod backup_jobs { } } pub mod job_details { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1975,7 +1975,7 @@ pub mod job_details { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1996,7 +1996,7 @@ pub mod job_details { } } pub mod job_cancellations { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2044,7 +2044,7 @@ pub mod job_cancellations { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2065,7 +2065,7 @@ pub mod job_cancellations { } } pub mod job_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2113,7 +2113,7 @@ pub mod job_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2140,7 +2140,7 @@ pub mod job_operation_results { } } pub mod export_jobs_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2195,7 +2195,7 @@ pub mod export_jobs_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationResultInfoBaseResource), @@ -2221,7 +2221,7 @@ pub mod export_jobs_operation_results { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn export( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2268,7 +2268,7 @@ pub mod jobs { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2289,7 +2289,7 @@ pub mod jobs { } } pub mod backup_protected_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2344,7 +2344,7 @@ pub mod backup_protected_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2365,7 +2365,7 @@ pub mod backup_protected_items { } } pub mod operation { - use crate::models::*; + use super::{models, models::*}; pub async fn validate( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2417,7 +2417,7 @@ pub mod operation { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2438,7 +2438,7 @@ pub mod operation { } } pub mod backup_engines { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2493,7 +2493,7 @@ pub mod backup_engines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2568,7 +2568,7 @@ pub mod backup_engines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2589,7 +2589,7 @@ pub mod backup_engines { } } pub mod protection_container_refresh_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2636,7 +2636,7 @@ pub mod protection_container_refresh_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2662,7 +2662,7 @@ pub mod protection_container_refresh_operation_results { } } pub mod protectable_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2715,7 +2715,7 @@ pub mod protectable_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2736,7 +2736,7 @@ pub mod protectable_containers { } } pub mod protection_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2787,7 +2787,7 @@ pub mod protection_containers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2862,7 +2862,7 @@ pub mod protection_containers { } } pub mod register { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainerResource), @@ -2935,7 +2935,7 @@ pub mod protection_containers { } } pub mod unregister { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3004,7 +3004,7 @@ pub mod protection_containers { } } pub mod inquire { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3074,7 +3074,7 @@ pub mod protection_containers { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3095,7 +3095,7 @@ pub mod protection_containers { } } pub mod backup_workload_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3146,7 +3146,7 @@ pub mod backup_workload_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3167,7 +3167,7 @@ pub mod backup_workload_items { } } pub mod protection_container_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3213,7 +3213,7 @@ pub mod protection_container_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainerResource), @@ -3240,7 +3240,7 @@ pub mod protection_container_operation_results { } } pub mod backups { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3284,7 +3284,7 @@ pub mod backups { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3305,7 +3305,7 @@ pub mod backups { } } pub mod protected_item_operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3350,7 +3350,7 @@ pub mod protected_item_operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3371,7 +3371,7 @@ pub mod protected_item_operation_statuses { } } pub mod item_level_recovery_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn provision( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3416,7 +3416,7 @@ pub mod item_level_recovery_connections { } } pub mod provision { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3475,7 +3475,7 @@ pub mod item_level_recovery_connections { } } pub mod revoke { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3496,7 +3496,7 @@ pub mod item_level_recovery_connections { } } pub mod backup_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3542,7 +3542,7 @@ pub mod backup_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3569,7 +3569,7 @@ pub mod backup_operation_results { } } pub mod backup_operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3618,7 +3618,7 @@ pub mod backup_operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3639,7 +3639,7 @@ pub mod backup_operation_statuses { } } pub mod protection_policy_operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3690,7 +3690,7 @@ pub mod protection_policy_operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3711,7 +3711,7 @@ pub mod protection_policy_operation_statuses { } } pub mod backup_protectable_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3766,7 +3766,7 @@ pub mod backup_protectable_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3787,7 +3787,7 @@ pub mod backup_protectable_items { } } pub mod backup_protection_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3838,7 +3838,7 @@ pub mod backup_protection_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3859,7 +3859,7 @@ pub mod backup_protection_containers { } } pub mod security_pi_ns { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3907,7 +3907,7 @@ pub mod security_pi_ns { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3928,7 +3928,7 @@ pub mod security_pi_ns { } } pub mod backup_usage_summaries_crr { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3985,7 +3985,7 @@ pub mod backup_usage_summaries_crr { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4009,7 +4009,7 @@ pub mod backup_usage_summaries_crr { } } pub mod aad_properties { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -4060,7 +4060,7 @@ pub mod aad_properties { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4084,7 +4084,7 @@ pub mod aad_properties { } } pub mod cross_region_restore { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, azure_region: &str, @@ -4132,7 +4132,7 @@ pub mod cross_region_restore { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4161,7 +4161,7 @@ pub mod cross_region_restore { } } pub mod backup_crr_job_details { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -4210,7 +4210,7 @@ pub mod backup_crr_job_details { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4234,7 +4234,7 @@ pub mod backup_crr_job_details { } } pub mod backup_crr_jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, azure_region: &str, @@ -4291,7 +4291,7 @@ pub mod backup_crr_jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4315,7 +4315,7 @@ pub mod backup_crr_jobs { } } pub mod crr_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -4360,7 +4360,7 @@ pub mod crr_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4389,7 +4389,7 @@ pub mod crr_operation_results { } } pub mod crr_operation_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -4438,7 +4438,7 @@ pub mod crr_operation_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4462,7 +4462,7 @@ pub mod crr_operation_status { } } pub mod backup_resource_storage_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4511,7 +4511,7 @@ pub mod backup_resource_storage_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4583,7 +4583,7 @@ pub mod backup_resource_storage_configs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4650,7 +4650,7 @@ pub mod backup_resource_storage_configs { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4674,7 +4674,7 @@ pub mod backup_resource_storage_configs { } } pub mod recovery_points_crr { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4724,7 +4724,7 @@ pub mod recovery_points_crr { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4748,7 +4748,7 @@ pub mod recovery_points_crr { } } pub mod backup_protected_items_crr { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4805,7 +4805,7 @@ pub mod backup_protected_items_crr { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4829,7 +4829,7 @@ pub mod backup_protected_items_crr { } } pub mod protection_intent { - use crate::models::*; + use super::{models, models::*}; pub async fn validate( operation_config: &crate::OperationConfig, azure_region: &str, @@ -4879,7 +4879,7 @@ pub mod protection_intent { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4940,7 +4940,7 @@ pub mod protection_intent { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5006,7 +5006,7 @@ pub mod protection_intent { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5062,7 +5062,7 @@ pub mod protection_intent { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5083,7 +5083,7 @@ pub mod protection_intent { } } pub mod backup_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5130,7 +5130,7 @@ pub mod backup_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5151,7 +5151,7 @@ pub mod backup_status { } } pub mod feature_support { - use crate::models::*; + use super::{models, models::*}; pub async fn validate( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5201,7 +5201,7 @@ pub mod feature_support { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5222,7 +5222,7 @@ pub mod feature_support { } } pub mod backup_protection_intent { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -5277,7 +5277,7 @@ pub mod backup_protection_intent { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5298,7 +5298,7 @@ pub mod backup_protection_intent { } } pub mod backup_usage_summaries { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -5353,7 +5353,7 @@ pub mod backup_usage_summaries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5374,7 +5374,7 @@ pub mod backup_usage_summaries { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.RecoveryServices/operations", operation_config.base_path(),); @@ -5410,7 +5410,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/recoveryservicesbackup/src/package_2021_01/operations.rs b/services/mgmt/recoveryservicesbackup/src/package_2021_01/operations.rs index 2e12b46d9c..821eb1131b 100644 --- a/services/mgmt/recoveryservicesbackup/src/package_2021_01/operations.rs +++ b/services/mgmt/recoveryservicesbackup/src/package_2021_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod backup_resource_vault_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -53,7 +53,7 @@ pub mod backup_resource_vault_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -125,7 +125,7 @@ pub mod backup_resource_vault_configs { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -197,7 +197,7 @@ pub mod backup_resource_vault_configs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -221,7 +221,7 @@ pub mod backup_resource_vault_configs { } } pub mod backup_resource_encryption_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -264,7 +264,7 @@ pub mod backup_resource_encryption_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -325,7 +325,7 @@ pub mod backup_resource_encryption_configs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -349,7 +349,7 @@ pub mod backup_resource_encryption_configs { } } pub mod private_endpoint_connection { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -400,7 +400,7 @@ pub mod private_endpoint_connection { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -480,7 +480,7 @@ pub mod private_endpoint_connection { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnectionResource), @@ -554,7 +554,7 @@ pub mod private_endpoint_connection { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -584,7 +584,7 @@ pub mod private_endpoint_connection { } } pub mod private_endpoint { - use crate::models::*; + use super::{models, models::*}; pub async fn get_operation_status( operation_config: &crate::OperationConfig, vault_name: &str, @@ -632,7 +632,7 @@ pub mod private_endpoint { } } pub mod get_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -701,7 +701,7 @@ pub async fn get_operation_status( } } pub mod get_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -768,7 +768,7 @@ pub async fn bms_prepare_data_move( } } pub mod bms_prepare_data_move { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -840,7 +840,7 @@ pub async fn bms_trigger_data_move( } } pub mod bms_trigger_data_move { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -913,7 +913,7 @@ pub async fn move_recovery_point( } } pub mod move_recovery_point { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -936,7 +936,7 @@ pub mod move_recovery_point { } } pub mod bms_prepare_data_move_operation_result { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -981,7 +981,7 @@ pub mod bms_prepare_data_move_operation_result { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VaultStorageConfigOperationResultResponse), @@ -1010,7 +1010,7 @@ pub mod bms_prepare_data_move_operation_result { } } pub mod protected_items { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1060,7 +1060,7 @@ pub mod protected_items { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1133,7 +1133,7 @@ pub mod protected_items { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectedItemResource), @@ -1202,7 +1202,7 @@ pub mod protected_items { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1232,7 +1232,7 @@ pub mod protected_items { } } pub mod protected_item_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1281,7 +1281,7 @@ pub mod protected_item_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectedItemResource), @@ -1311,7 +1311,7 @@ pub mod protected_item_operation_results { } } pub mod recovery_points { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1361,7 +1361,7 @@ pub mod recovery_points { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1429,7 +1429,7 @@ pub mod recovery_points { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1503,7 +1503,7 @@ pub mod recovery_points { } } pub mod get_access_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1529,7 +1529,7 @@ pub mod recovery_points { } } pub mod restores { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1576,7 +1576,7 @@ pub mod restores { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1600,7 +1600,7 @@ pub mod restores { } } pub mod backup_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1653,7 +1653,7 @@ pub mod backup_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1677,7 +1677,7 @@ pub mod backup_policies { } } pub mod protection_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1728,7 +1728,7 @@ pub mod protection_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1806,7 +1806,7 @@ pub mod protection_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionPolicyResource), @@ -1879,7 +1879,7 @@ pub mod protection_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1908,7 +1908,7 @@ pub mod protection_policies { } } pub mod protection_policy_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1961,7 +1961,7 @@ pub mod protection_policy_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1985,7 +1985,7 @@ pub mod protection_policy_operation_results { } } pub mod backup_jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2042,7 +2042,7 @@ pub mod backup_jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2066,7 +2066,7 @@ pub mod backup_jobs { } } pub mod job_details { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2117,7 +2117,7 @@ pub mod job_details { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2141,7 +2141,7 @@ pub mod job_details { } } pub mod job_cancellations { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2191,7 +2191,7 @@ pub mod job_cancellations { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2215,7 +2215,7 @@ pub mod job_cancellations { } } pub mod job_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2265,7 +2265,7 @@ pub mod job_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2295,7 +2295,7 @@ pub mod job_operation_results { } } pub mod export_jobs_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2352,7 +2352,7 @@ pub mod export_jobs_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationResultInfoBaseResource), @@ -2381,7 +2381,7 @@ pub mod export_jobs_operation_results { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn export( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2430,7 +2430,7 @@ pub mod jobs { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2454,7 +2454,7 @@ pub mod jobs { } } pub mod backup_protected_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2511,7 +2511,7 @@ pub mod backup_protected_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2535,7 +2535,7 @@ pub mod backup_protected_items { } } pub mod operation { - use crate::models::*; + use super::{models, models::*}; pub async fn validate( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2589,7 +2589,7 @@ pub mod operation { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2613,7 +2613,7 @@ pub mod operation { } } pub mod backup_engines { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2670,7 +2670,7 @@ pub mod backup_engines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2750,7 +2750,7 @@ pub mod backup_engines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2774,7 +2774,7 @@ pub mod backup_engines { } } pub mod protection_container_refresh_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2823,7 +2823,7 @@ pub mod protection_container_refresh_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2852,7 +2852,7 @@ pub mod protection_container_refresh_operation_results { } } pub mod protectable_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2907,7 +2907,7 @@ pub mod protectable_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2931,7 +2931,7 @@ pub mod protectable_containers { } } pub mod protection_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2984,7 +2984,7 @@ pub mod protection_containers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3064,7 +3064,7 @@ pub mod protection_containers { } } pub mod register { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainerResource), @@ -3143,7 +3143,7 @@ pub mod protection_containers { } } pub mod unregister { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3218,7 +3218,7 @@ pub mod protection_containers { } } pub mod inquire { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3293,7 +3293,7 @@ pub mod protection_containers { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3317,7 +3317,7 @@ pub mod protection_containers { } } pub mod backup_workload_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3370,7 +3370,7 @@ pub mod backup_workload_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3394,7 +3394,7 @@ pub mod backup_workload_items { } } pub mod protection_container_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3442,7 +3442,7 @@ pub mod protection_container_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainerResource), @@ -3472,7 +3472,7 @@ pub mod protection_container_operation_results { } } pub mod backups { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3518,7 +3518,7 @@ pub mod backups { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3542,7 +3542,7 @@ pub mod backups { } } pub mod protected_item_operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3589,7 +3589,7 @@ pub mod protected_item_operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3613,7 +3613,7 @@ pub mod protected_item_operation_statuses { } } pub mod item_level_recovery_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn provision( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3660,7 +3660,7 @@ pub mod item_level_recovery_connections { } } pub mod provision { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3724,7 +3724,7 @@ pub mod item_level_recovery_connections { } } pub mod revoke { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3748,7 +3748,7 @@ pub mod item_level_recovery_connections { } } pub mod backup_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3796,7 +3796,7 @@ pub mod backup_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3826,7 +3826,7 @@ pub mod backup_operation_results { } } pub mod backup_operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3877,7 +3877,7 @@ pub mod backup_operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3901,7 +3901,7 @@ pub mod backup_operation_statuses { } } pub mod protection_policy_operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3954,7 +3954,7 @@ pub mod protection_policy_operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3978,7 +3978,7 @@ pub mod protection_policy_operation_statuses { } } pub mod backup_protectable_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4035,7 +4035,7 @@ pub mod backup_protectable_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4059,7 +4059,7 @@ pub mod backup_protectable_items { } } pub mod backup_protection_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4112,7 +4112,7 @@ pub mod backup_protection_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4136,7 +4136,7 @@ pub mod backup_protection_containers { } } pub mod security_pi_ns { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4186,7 +4186,7 @@ pub mod security_pi_ns { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4210,7 +4210,7 @@ pub mod security_pi_ns { } } pub mod recovery_points_recommended_for_move { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4258,7 +4258,7 @@ pub mod recovery_points_recommended_for_move { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4282,7 +4282,7 @@ pub mod recovery_points_recommended_for_move { } } pub mod backup_usage_summaries_crr { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4339,7 +4339,7 @@ pub mod backup_usage_summaries_crr { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4363,7 +4363,7 @@ pub mod backup_usage_summaries_crr { } } pub mod aad_properties { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -4414,7 +4414,7 @@ pub mod aad_properties { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4438,7 +4438,7 @@ pub mod aad_properties { } } pub mod cross_region_restore { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, azure_region: &str, @@ -4486,7 +4486,7 @@ pub mod cross_region_restore { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4515,7 +4515,7 @@ pub mod cross_region_restore { } } pub mod backup_crr_job_details { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -4564,7 +4564,7 @@ pub mod backup_crr_job_details { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4588,7 +4588,7 @@ pub mod backup_crr_job_details { } } pub mod backup_crr_jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, azure_region: &str, @@ -4645,7 +4645,7 @@ pub mod backup_crr_jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4669,7 +4669,7 @@ pub mod backup_crr_jobs { } } pub mod crr_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -4714,7 +4714,7 @@ pub mod crr_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4743,7 +4743,7 @@ pub mod crr_operation_results { } } pub mod crr_operation_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -4792,7 +4792,7 @@ pub mod crr_operation_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4816,7 +4816,7 @@ pub mod crr_operation_status { } } pub mod backup_resource_storage_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4865,7 +4865,7 @@ pub mod backup_resource_storage_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4937,7 +4937,7 @@ pub mod backup_resource_storage_configs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5004,7 +5004,7 @@ pub mod backup_resource_storage_configs { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5028,7 +5028,7 @@ pub mod backup_resource_storage_configs { } } pub mod recovery_points_crr { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -5078,7 +5078,7 @@ pub mod recovery_points_crr { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5102,7 +5102,7 @@ pub mod recovery_points_crr { } } pub mod backup_protected_items_crr { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -5159,7 +5159,7 @@ pub mod backup_protected_items_crr { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5183,7 +5183,7 @@ pub mod backup_protected_items_crr { } } pub mod protection_intent { - use crate::models::*; + use super::{models, models::*}; pub async fn validate( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5233,7 +5233,7 @@ pub mod protection_intent { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5294,7 +5294,7 @@ pub mod protection_intent { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5360,7 +5360,7 @@ pub mod protection_intent { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5416,7 +5416,7 @@ pub mod protection_intent { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5437,7 +5437,7 @@ pub mod protection_intent { } } pub mod backup_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5484,7 +5484,7 @@ pub mod backup_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5505,7 +5505,7 @@ pub mod backup_status { } } pub mod feature_support { - use crate::models::*; + use super::{models, models::*}; pub async fn validate( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5555,7 +5555,7 @@ pub mod feature_support { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5576,7 +5576,7 @@ pub mod feature_support { } } pub mod backup_protection_intent { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -5631,7 +5631,7 @@ pub mod backup_protection_intent { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5652,7 +5652,7 @@ pub mod backup_protection_intent { } } pub mod backup_usage_summaries { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -5707,7 +5707,7 @@ pub mod backup_usage_summaries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5728,7 +5728,7 @@ pub mod backup_usage_summaries { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.RecoveryServices/operations", operation_config.base_path(),); @@ -5764,7 +5764,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/recoveryservicesbackup/src/package_2021_02/operations.rs b/services/mgmt/recoveryservicesbackup/src/package_2021_02/operations.rs index 50a4bc83db..3c1fc1d857 100644 --- a/services/mgmt/recoveryservicesbackup/src/package_2021_02/operations.rs +++ b/services/mgmt/recoveryservicesbackup/src/package_2021_02/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod protection_intent { - use crate::models::*; + use super::{models, models::*}; pub async fn validate( operation_config: &crate::OperationConfig, azure_region: &str, @@ -54,7 +54,7 @@ pub mod protection_intent { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -115,7 +115,7 @@ pub mod protection_intent { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -181,7 +181,7 @@ pub mod protection_intent { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -237,7 +237,7 @@ pub mod protection_intent { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -258,7 +258,7 @@ pub mod protection_intent { } } pub mod backup_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -305,7 +305,7 @@ pub mod backup_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -326,7 +326,7 @@ pub mod backup_status { } } pub mod feature_support { - use crate::models::*; + use super::{models, models::*}; pub async fn validate( operation_config: &crate::OperationConfig, azure_region: &str, @@ -376,7 +376,7 @@ pub mod feature_support { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -397,7 +397,7 @@ pub mod feature_support { } } pub mod backup_protection_intent { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -452,7 +452,7 @@ pub mod backup_protection_intent { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -473,7 +473,7 @@ pub mod backup_protection_intent { } } pub mod backup_usage_summaries { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -528,7 +528,7 @@ pub mod backup_usage_summaries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -549,7 +549,7 @@ pub mod backup_usage_summaries { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.RecoveryServices/operations", operation_config.base_path(),); @@ -585,7 +585,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -606,7 +606,7 @@ pub mod operations { } } pub mod backup_resource_vault_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -655,7 +655,7 @@ pub mod backup_resource_vault_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -727,7 +727,7 @@ pub mod backup_resource_vault_configs { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -799,7 +799,7 @@ pub mod backup_resource_vault_configs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -823,7 +823,7 @@ pub mod backup_resource_vault_configs { } } pub mod backup_resource_encryption_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -866,7 +866,7 @@ pub mod backup_resource_encryption_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -927,7 +927,7 @@ pub mod backup_resource_encryption_configs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -951,7 +951,7 @@ pub mod backup_resource_encryption_configs { } } pub mod private_endpoint_connection { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1002,7 +1002,7 @@ pub mod private_endpoint_connection { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1082,7 +1082,7 @@ pub mod private_endpoint_connection { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnectionResource), @@ -1156,7 +1156,7 @@ pub mod private_endpoint_connection { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1186,7 +1186,7 @@ pub mod private_endpoint_connection { } } pub mod private_endpoint { - use crate::models::*; + use super::{models, models::*}; pub async fn get_operation_status( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1234,7 +1234,7 @@ pub mod private_endpoint { } } pub mod get_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1303,7 +1303,7 @@ pub async fn get_operation_status( } } pub mod get_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1370,7 +1370,7 @@ pub async fn bms_prepare_data_move( } } pub mod bms_prepare_data_move { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1442,7 +1442,7 @@ pub async fn bms_trigger_data_move( } } pub mod bms_trigger_data_move { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1515,7 +1515,7 @@ pub async fn move_recovery_point( } } pub mod move_recovery_point { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1538,7 +1538,7 @@ pub mod move_recovery_point { } } pub mod bms_prepare_data_move_operation_result { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1583,7 +1583,7 @@ pub mod bms_prepare_data_move_operation_result { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VaultStorageConfigOperationResultResponse), @@ -1612,7 +1612,7 @@ pub mod bms_prepare_data_move_operation_result { } } pub mod protected_items { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1662,7 +1662,7 @@ pub mod protected_items { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1735,7 +1735,7 @@ pub mod protected_items { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectedItemResource), @@ -1804,7 +1804,7 @@ pub mod protected_items { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1834,7 +1834,7 @@ pub mod protected_items { } } pub mod protected_item_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1883,7 +1883,7 @@ pub mod protected_item_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectedItemResource), @@ -1913,7 +1913,7 @@ pub mod protected_item_operation_results { } } pub mod recovery_points { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1963,7 +1963,7 @@ pub mod recovery_points { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2031,7 +2031,7 @@ pub mod recovery_points { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2105,7 +2105,7 @@ pub mod recovery_points { } } pub mod get_access_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2131,7 +2131,7 @@ pub mod recovery_points { } } pub mod restores { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2178,7 +2178,7 @@ pub mod restores { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2202,7 +2202,7 @@ pub mod restores { } } pub mod backup_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2255,7 +2255,7 @@ pub mod backup_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2279,7 +2279,7 @@ pub mod backup_policies { } } pub mod protection_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2330,7 +2330,7 @@ pub mod protection_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2408,7 +2408,7 @@ pub mod protection_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionPolicyResource), @@ -2481,7 +2481,7 @@ pub mod protection_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2510,7 +2510,7 @@ pub mod protection_policies { } } pub mod protection_policy_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2563,7 +2563,7 @@ pub mod protection_policy_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2587,7 +2587,7 @@ pub mod protection_policy_operation_results { } } pub mod backup_jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2644,7 +2644,7 @@ pub mod backup_jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2668,7 +2668,7 @@ pub mod backup_jobs { } } pub mod job_details { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2719,7 +2719,7 @@ pub mod job_details { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2743,7 +2743,7 @@ pub mod job_details { } } pub mod job_cancellations { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2793,7 +2793,7 @@ pub mod job_cancellations { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2817,7 +2817,7 @@ pub mod job_cancellations { } } pub mod job_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2867,7 +2867,7 @@ pub mod job_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2897,7 +2897,7 @@ pub mod job_operation_results { } } pub mod export_jobs_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2954,7 +2954,7 @@ pub mod export_jobs_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationResultInfoBaseResource), @@ -2983,7 +2983,7 @@ pub mod export_jobs_operation_results { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn export( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3032,7 +3032,7 @@ pub mod jobs { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3056,7 +3056,7 @@ pub mod jobs { } } pub mod backup_protected_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3113,7 +3113,7 @@ pub mod backup_protected_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3137,7 +3137,7 @@ pub mod backup_protected_items { } } pub mod operation { - use crate::models::*; + use super::{models, models::*}; pub async fn validate( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3191,7 +3191,7 @@ pub mod operation { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3215,7 +3215,7 @@ pub mod operation { } } pub mod backup_engines { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3272,7 +3272,7 @@ pub mod backup_engines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3352,7 +3352,7 @@ pub mod backup_engines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3376,7 +3376,7 @@ pub mod backup_engines { } } pub mod protection_container_refresh_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3425,7 +3425,7 @@ pub mod protection_container_refresh_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3454,7 +3454,7 @@ pub mod protection_container_refresh_operation_results { } } pub mod protectable_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3509,7 +3509,7 @@ pub mod protectable_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3533,7 +3533,7 @@ pub mod protectable_containers { } } pub mod protection_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3586,7 +3586,7 @@ pub mod protection_containers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3666,7 +3666,7 @@ pub mod protection_containers { } } pub mod register { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainerResource), @@ -3745,7 +3745,7 @@ pub mod protection_containers { } } pub mod unregister { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3820,7 +3820,7 @@ pub mod protection_containers { } } pub mod inquire { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3895,7 +3895,7 @@ pub mod protection_containers { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3919,7 +3919,7 @@ pub mod protection_containers { } } pub mod backup_workload_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3972,7 +3972,7 @@ pub mod backup_workload_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3996,7 +3996,7 @@ pub mod backup_workload_items { } } pub mod protection_container_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4044,7 +4044,7 @@ pub mod protection_container_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainerResource), @@ -4074,7 +4074,7 @@ pub mod protection_container_operation_results { } } pub mod backups { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4120,7 +4120,7 @@ pub mod backups { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4144,7 +4144,7 @@ pub mod backups { } } pub mod protected_item_operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4191,7 +4191,7 @@ pub mod protected_item_operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4215,7 +4215,7 @@ pub mod protected_item_operation_statuses { } } pub mod item_level_recovery_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn provision( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4262,7 +4262,7 @@ pub mod item_level_recovery_connections { } } pub mod provision { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4326,7 +4326,7 @@ pub mod item_level_recovery_connections { } } pub mod revoke { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4350,7 +4350,7 @@ pub mod item_level_recovery_connections { } } pub mod backup_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4398,7 +4398,7 @@ pub mod backup_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4428,7 +4428,7 @@ pub mod backup_operation_results { } } pub mod backup_operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4479,7 +4479,7 @@ pub mod backup_operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4503,7 +4503,7 @@ pub mod backup_operation_statuses { } } pub mod protection_policy_operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4556,7 +4556,7 @@ pub mod protection_policy_operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4580,7 +4580,7 @@ pub mod protection_policy_operation_statuses { } } pub mod backup_protectable_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4637,7 +4637,7 @@ pub mod backup_protectable_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4661,7 +4661,7 @@ pub mod backup_protectable_items { } } pub mod backup_protection_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4714,7 +4714,7 @@ pub mod backup_protection_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4738,7 +4738,7 @@ pub mod backup_protection_containers { } } pub mod security_pi_ns { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4788,7 +4788,7 @@ pub mod security_pi_ns { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4812,7 +4812,7 @@ pub mod security_pi_ns { } } pub mod recovery_points_recommended_for_move { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4860,7 +4860,7 @@ pub mod recovery_points_recommended_for_move { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4884,7 +4884,7 @@ pub mod recovery_points_recommended_for_move { } } pub mod backup_usage_summaries_crr { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4941,7 +4941,7 @@ pub mod backup_usage_summaries_crr { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4965,7 +4965,7 @@ pub mod backup_usage_summaries_crr { } } pub mod aad_properties { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5016,7 +5016,7 @@ pub mod aad_properties { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5040,7 +5040,7 @@ pub mod aad_properties { } } pub mod cross_region_restore { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5088,7 +5088,7 @@ pub mod cross_region_restore { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5117,7 +5117,7 @@ pub mod cross_region_restore { } } pub mod backup_crr_job_details { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5166,7 +5166,7 @@ pub mod backup_crr_job_details { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5190,7 +5190,7 @@ pub mod backup_crr_job_details { } } pub mod backup_crr_jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5247,7 +5247,7 @@ pub mod backup_crr_jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5271,7 +5271,7 @@ pub mod backup_crr_jobs { } } pub mod crr_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5316,7 +5316,7 @@ pub mod crr_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5345,7 +5345,7 @@ pub mod crr_operation_results { } } pub mod crr_operation_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5394,7 +5394,7 @@ pub mod crr_operation_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5418,7 +5418,7 @@ pub mod crr_operation_status { } } pub mod backup_resource_storage_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -5467,7 +5467,7 @@ pub mod backup_resource_storage_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5539,7 +5539,7 @@ pub mod backup_resource_storage_configs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5606,7 +5606,7 @@ pub mod backup_resource_storage_configs { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5630,7 +5630,7 @@ pub mod backup_resource_storage_configs { } } pub mod recovery_points_crr { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -5680,7 +5680,7 @@ pub mod recovery_points_crr { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5704,7 +5704,7 @@ pub mod recovery_points_crr { } } pub mod backup_protected_items_crr { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -5761,7 +5761,7 @@ pub mod backup_protected_items_crr { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/recoveryservicesbackup/src/package_2021_02_10/operations.rs b/services/mgmt/recoveryservicesbackup/src/package_2021_02_10/operations.rs index 50a4bc83db..3c1fc1d857 100644 --- a/services/mgmt/recoveryservicesbackup/src/package_2021_02_10/operations.rs +++ b/services/mgmt/recoveryservicesbackup/src/package_2021_02_10/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod protection_intent { - use crate::models::*; + use super::{models, models::*}; pub async fn validate( operation_config: &crate::OperationConfig, azure_region: &str, @@ -54,7 +54,7 @@ pub mod protection_intent { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -115,7 +115,7 @@ pub mod protection_intent { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -181,7 +181,7 @@ pub mod protection_intent { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -237,7 +237,7 @@ pub mod protection_intent { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -258,7 +258,7 @@ pub mod protection_intent { } } pub mod backup_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -305,7 +305,7 @@ pub mod backup_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -326,7 +326,7 @@ pub mod backup_status { } } pub mod feature_support { - use crate::models::*; + use super::{models, models::*}; pub async fn validate( operation_config: &crate::OperationConfig, azure_region: &str, @@ -376,7 +376,7 @@ pub mod feature_support { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -397,7 +397,7 @@ pub mod feature_support { } } pub mod backup_protection_intent { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -452,7 +452,7 @@ pub mod backup_protection_intent { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -473,7 +473,7 @@ pub mod backup_protection_intent { } } pub mod backup_usage_summaries { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -528,7 +528,7 @@ pub mod backup_usage_summaries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -549,7 +549,7 @@ pub mod backup_usage_summaries { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.RecoveryServices/operations", operation_config.base_path(),); @@ -585,7 +585,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -606,7 +606,7 @@ pub mod operations { } } pub mod backup_resource_vault_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -655,7 +655,7 @@ pub mod backup_resource_vault_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -727,7 +727,7 @@ pub mod backup_resource_vault_configs { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -799,7 +799,7 @@ pub mod backup_resource_vault_configs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -823,7 +823,7 @@ pub mod backup_resource_vault_configs { } } pub mod backup_resource_encryption_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -866,7 +866,7 @@ pub mod backup_resource_encryption_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -927,7 +927,7 @@ pub mod backup_resource_encryption_configs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -951,7 +951,7 @@ pub mod backup_resource_encryption_configs { } } pub mod private_endpoint_connection { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1002,7 +1002,7 @@ pub mod private_endpoint_connection { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1082,7 +1082,7 @@ pub mod private_endpoint_connection { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnectionResource), @@ -1156,7 +1156,7 @@ pub mod private_endpoint_connection { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1186,7 +1186,7 @@ pub mod private_endpoint_connection { } } pub mod private_endpoint { - use crate::models::*; + use super::{models, models::*}; pub async fn get_operation_status( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1234,7 +1234,7 @@ pub mod private_endpoint { } } pub mod get_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1303,7 +1303,7 @@ pub async fn get_operation_status( } } pub mod get_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1370,7 +1370,7 @@ pub async fn bms_prepare_data_move( } } pub mod bms_prepare_data_move { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1442,7 +1442,7 @@ pub async fn bms_trigger_data_move( } } pub mod bms_trigger_data_move { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1515,7 +1515,7 @@ pub async fn move_recovery_point( } } pub mod move_recovery_point { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1538,7 +1538,7 @@ pub mod move_recovery_point { } } pub mod bms_prepare_data_move_operation_result { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1583,7 +1583,7 @@ pub mod bms_prepare_data_move_operation_result { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VaultStorageConfigOperationResultResponse), @@ -1612,7 +1612,7 @@ pub mod bms_prepare_data_move_operation_result { } } pub mod protected_items { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1662,7 +1662,7 @@ pub mod protected_items { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1735,7 +1735,7 @@ pub mod protected_items { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectedItemResource), @@ -1804,7 +1804,7 @@ pub mod protected_items { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1834,7 +1834,7 @@ pub mod protected_items { } } pub mod protected_item_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1883,7 +1883,7 @@ pub mod protected_item_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectedItemResource), @@ -1913,7 +1913,7 @@ pub mod protected_item_operation_results { } } pub mod recovery_points { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1963,7 +1963,7 @@ pub mod recovery_points { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2031,7 +2031,7 @@ pub mod recovery_points { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2105,7 +2105,7 @@ pub mod recovery_points { } } pub mod get_access_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2131,7 +2131,7 @@ pub mod recovery_points { } } pub mod restores { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2178,7 +2178,7 @@ pub mod restores { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2202,7 +2202,7 @@ pub mod restores { } } pub mod backup_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2255,7 +2255,7 @@ pub mod backup_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2279,7 +2279,7 @@ pub mod backup_policies { } } pub mod protection_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2330,7 +2330,7 @@ pub mod protection_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2408,7 +2408,7 @@ pub mod protection_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionPolicyResource), @@ -2481,7 +2481,7 @@ pub mod protection_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2510,7 +2510,7 @@ pub mod protection_policies { } } pub mod protection_policy_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2563,7 +2563,7 @@ pub mod protection_policy_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2587,7 +2587,7 @@ pub mod protection_policy_operation_results { } } pub mod backup_jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2644,7 +2644,7 @@ pub mod backup_jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2668,7 +2668,7 @@ pub mod backup_jobs { } } pub mod job_details { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2719,7 +2719,7 @@ pub mod job_details { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2743,7 +2743,7 @@ pub mod job_details { } } pub mod job_cancellations { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2793,7 +2793,7 @@ pub mod job_cancellations { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2817,7 +2817,7 @@ pub mod job_cancellations { } } pub mod job_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2867,7 +2867,7 @@ pub mod job_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2897,7 +2897,7 @@ pub mod job_operation_results { } } pub mod export_jobs_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2954,7 +2954,7 @@ pub mod export_jobs_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationResultInfoBaseResource), @@ -2983,7 +2983,7 @@ pub mod export_jobs_operation_results { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn export( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3032,7 +3032,7 @@ pub mod jobs { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3056,7 +3056,7 @@ pub mod jobs { } } pub mod backup_protected_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3113,7 +3113,7 @@ pub mod backup_protected_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3137,7 +3137,7 @@ pub mod backup_protected_items { } } pub mod operation { - use crate::models::*; + use super::{models, models::*}; pub async fn validate( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3191,7 +3191,7 @@ pub mod operation { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3215,7 +3215,7 @@ pub mod operation { } } pub mod backup_engines { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3272,7 +3272,7 @@ pub mod backup_engines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3352,7 +3352,7 @@ pub mod backup_engines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3376,7 +3376,7 @@ pub mod backup_engines { } } pub mod protection_container_refresh_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3425,7 +3425,7 @@ pub mod protection_container_refresh_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3454,7 +3454,7 @@ pub mod protection_container_refresh_operation_results { } } pub mod protectable_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3509,7 +3509,7 @@ pub mod protectable_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3533,7 +3533,7 @@ pub mod protectable_containers { } } pub mod protection_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3586,7 +3586,7 @@ pub mod protection_containers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3666,7 +3666,7 @@ pub mod protection_containers { } } pub mod register { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainerResource), @@ -3745,7 +3745,7 @@ pub mod protection_containers { } } pub mod unregister { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3820,7 +3820,7 @@ pub mod protection_containers { } } pub mod inquire { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3895,7 +3895,7 @@ pub mod protection_containers { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3919,7 +3919,7 @@ pub mod protection_containers { } } pub mod backup_workload_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3972,7 +3972,7 @@ pub mod backup_workload_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3996,7 +3996,7 @@ pub mod backup_workload_items { } } pub mod protection_container_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4044,7 +4044,7 @@ pub mod protection_container_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainerResource), @@ -4074,7 +4074,7 @@ pub mod protection_container_operation_results { } } pub mod backups { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4120,7 +4120,7 @@ pub mod backups { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4144,7 +4144,7 @@ pub mod backups { } } pub mod protected_item_operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4191,7 +4191,7 @@ pub mod protected_item_operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4215,7 +4215,7 @@ pub mod protected_item_operation_statuses { } } pub mod item_level_recovery_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn provision( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4262,7 +4262,7 @@ pub mod item_level_recovery_connections { } } pub mod provision { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4326,7 +4326,7 @@ pub mod item_level_recovery_connections { } } pub mod revoke { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4350,7 +4350,7 @@ pub mod item_level_recovery_connections { } } pub mod backup_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4398,7 +4398,7 @@ pub mod backup_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4428,7 +4428,7 @@ pub mod backup_operation_results { } } pub mod backup_operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4479,7 +4479,7 @@ pub mod backup_operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4503,7 +4503,7 @@ pub mod backup_operation_statuses { } } pub mod protection_policy_operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4556,7 +4556,7 @@ pub mod protection_policy_operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4580,7 +4580,7 @@ pub mod protection_policy_operation_statuses { } } pub mod backup_protectable_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4637,7 +4637,7 @@ pub mod backup_protectable_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4661,7 +4661,7 @@ pub mod backup_protectable_items { } } pub mod backup_protection_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4714,7 +4714,7 @@ pub mod backup_protection_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4738,7 +4738,7 @@ pub mod backup_protection_containers { } } pub mod security_pi_ns { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4788,7 +4788,7 @@ pub mod security_pi_ns { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4812,7 +4812,7 @@ pub mod security_pi_ns { } } pub mod recovery_points_recommended_for_move { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4860,7 +4860,7 @@ pub mod recovery_points_recommended_for_move { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4884,7 +4884,7 @@ pub mod recovery_points_recommended_for_move { } } pub mod backup_usage_summaries_crr { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4941,7 +4941,7 @@ pub mod backup_usage_summaries_crr { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4965,7 +4965,7 @@ pub mod backup_usage_summaries_crr { } } pub mod aad_properties { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5016,7 +5016,7 @@ pub mod aad_properties { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5040,7 +5040,7 @@ pub mod aad_properties { } } pub mod cross_region_restore { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5088,7 +5088,7 @@ pub mod cross_region_restore { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5117,7 +5117,7 @@ pub mod cross_region_restore { } } pub mod backup_crr_job_details { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5166,7 +5166,7 @@ pub mod backup_crr_job_details { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5190,7 +5190,7 @@ pub mod backup_crr_job_details { } } pub mod backup_crr_jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5247,7 +5247,7 @@ pub mod backup_crr_jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5271,7 +5271,7 @@ pub mod backup_crr_jobs { } } pub mod crr_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5316,7 +5316,7 @@ pub mod crr_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5345,7 +5345,7 @@ pub mod crr_operation_results { } } pub mod crr_operation_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5394,7 +5394,7 @@ pub mod crr_operation_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5418,7 +5418,7 @@ pub mod crr_operation_status { } } pub mod backup_resource_storage_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -5467,7 +5467,7 @@ pub mod backup_resource_storage_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5539,7 +5539,7 @@ pub mod backup_resource_storage_configs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5606,7 +5606,7 @@ pub mod backup_resource_storage_configs { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5630,7 +5630,7 @@ pub mod backup_resource_storage_configs { } } pub mod recovery_points_crr { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -5680,7 +5680,7 @@ pub mod recovery_points_crr { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5704,7 +5704,7 @@ pub mod recovery_points_crr { } } pub mod backup_protected_items_crr { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -5761,7 +5761,7 @@ pub mod backup_protected_items_crr { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/recoveryservicesbackup/src/package_2021_02_preview/operations.rs b/services/mgmt/recoveryservicesbackup/src/package_2021_02_preview/operations.rs index 6c459c1860..0bf52de135 100644 --- a/services/mgmt/recoveryservicesbackup/src/package_2021_02_preview/operations.rs +++ b/services/mgmt/recoveryservicesbackup/src/package_2021_02_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod protection_intent { - use crate::models::*; + use super::{models, models::*}; pub async fn validate( operation_config: &crate::OperationConfig, azure_region: &str, @@ -54,7 +54,7 @@ pub mod protection_intent { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -115,7 +115,7 @@ pub mod protection_intent { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -181,7 +181,7 @@ pub mod protection_intent { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -237,7 +237,7 @@ pub mod protection_intent { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -258,7 +258,7 @@ pub mod protection_intent { } } pub mod backup_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -305,7 +305,7 @@ pub mod backup_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -326,7 +326,7 @@ pub mod backup_status { } } pub mod feature_support { - use crate::models::*; + use super::{models, models::*}; pub async fn validate( operation_config: &crate::OperationConfig, azure_region: &str, @@ -376,7 +376,7 @@ pub mod feature_support { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -397,7 +397,7 @@ pub mod feature_support { } } pub mod backup_protection_intent { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -452,7 +452,7 @@ pub mod backup_protection_intent { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -473,7 +473,7 @@ pub mod backup_protection_intent { } } pub mod backup_usage_summaries { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -528,7 +528,7 @@ pub mod backup_usage_summaries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -549,7 +549,7 @@ pub mod backup_usage_summaries { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.RecoveryServices/operations", operation_config.base_path(),); @@ -585,7 +585,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -606,7 +606,7 @@ pub mod operations { } } pub mod backup_resource_vault_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -655,7 +655,7 @@ pub mod backup_resource_vault_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -727,7 +727,7 @@ pub mod backup_resource_vault_configs { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -799,7 +799,7 @@ pub mod backup_resource_vault_configs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -823,7 +823,7 @@ pub mod backup_resource_vault_configs { } } pub mod backup_resource_encryption_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -866,7 +866,7 @@ pub mod backup_resource_encryption_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -927,7 +927,7 @@ pub mod backup_resource_encryption_configs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -951,7 +951,7 @@ pub mod backup_resource_encryption_configs { } } pub mod private_endpoint_connection { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1002,7 +1002,7 @@ pub mod private_endpoint_connection { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1082,7 +1082,7 @@ pub mod private_endpoint_connection { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnectionResource), @@ -1156,7 +1156,7 @@ pub mod private_endpoint_connection { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1186,7 +1186,7 @@ pub mod private_endpoint_connection { } } pub mod private_endpoint { - use crate::models::*; + use super::{models, models::*}; pub async fn get_operation_status( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1234,7 +1234,7 @@ pub mod private_endpoint { } } pub mod get_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1303,7 +1303,7 @@ pub async fn get_operation_status( } } pub mod get_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1370,7 +1370,7 @@ pub async fn bms_prepare_data_move( } } pub mod bms_prepare_data_move { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1442,7 +1442,7 @@ pub async fn bms_trigger_data_move( } } pub mod bms_trigger_data_move { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1515,7 +1515,7 @@ pub async fn move_recovery_point( } } pub mod move_recovery_point { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1538,7 +1538,7 @@ pub mod move_recovery_point { } } pub mod bms_prepare_data_move_operation_result { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1583,7 +1583,7 @@ pub mod bms_prepare_data_move_operation_result { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VaultStorageConfigOperationResultResponse), @@ -1612,7 +1612,7 @@ pub mod bms_prepare_data_move_operation_result { } } pub mod protected_items { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1662,7 +1662,7 @@ pub mod protected_items { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1735,7 +1735,7 @@ pub mod protected_items { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectedItemResource), @@ -1804,7 +1804,7 @@ pub mod protected_items { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1834,7 +1834,7 @@ pub mod protected_items { } } pub mod protected_item_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1883,7 +1883,7 @@ pub mod protected_item_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectedItemResource), @@ -1913,7 +1913,7 @@ pub mod protected_item_operation_results { } } pub mod recovery_points { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1963,7 +1963,7 @@ pub mod recovery_points { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2031,7 +2031,7 @@ pub mod recovery_points { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2105,7 +2105,7 @@ pub mod recovery_points { } } pub mod get_access_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2131,7 +2131,7 @@ pub mod recovery_points { } } pub mod restores { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2178,7 +2178,7 @@ pub mod restores { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2202,7 +2202,7 @@ pub mod restores { } } pub mod backup_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2255,7 +2255,7 @@ pub mod backup_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2279,7 +2279,7 @@ pub mod backup_policies { } } pub mod protection_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2330,7 +2330,7 @@ pub mod protection_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2408,7 +2408,7 @@ pub mod protection_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionPolicyResource), @@ -2481,7 +2481,7 @@ pub mod protection_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2510,7 +2510,7 @@ pub mod protection_policies { } } pub mod protection_policy_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2563,7 +2563,7 @@ pub mod protection_policy_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2587,7 +2587,7 @@ pub mod protection_policy_operation_results { } } pub mod backup_jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2644,7 +2644,7 @@ pub mod backup_jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2668,7 +2668,7 @@ pub mod backup_jobs { } } pub mod job_details { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2719,7 +2719,7 @@ pub mod job_details { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2743,7 +2743,7 @@ pub mod job_details { } } pub mod job_cancellations { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2793,7 +2793,7 @@ pub mod job_cancellations { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2817,7 +2817,7 @@ pub mod job_cancellations { } } pub mod job_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2867,7 +2867,7 @@ pub mod job_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2897,7 +2897,7 @@ pub mod job_operation_results { } } pub mod export_jobs_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2954,7 +2954,7 @@ pub mod export_jobs_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationResultInfoBaseResource), @@ -2983,7 +2983,7 @@ pub mod export_jobs_operation_results { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn export( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3032,7 +3032,7 @@ pub mod jobs { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3056,7 +3056,7 @@ pub mod jobs { } } pub mod backup_protected_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3113,7 +3113,7 @@ pub mod backup_protected_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3137,7 +3137,7 @@ pub mod backup_protected_items { } } pub mod operation { - use crate::models::*; + use super::{models, models::*}; pub async fn validate( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3191,7 +3191,7 @@ pub mod operation { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3215,7 +3215,7 @@ pub mod operation { } } pub mod backup_engines { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3272,7 +3272,7 @@ pub mod backup_engines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3352,7 +3352,7 @@ pub mod backup_engines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3376,7 +3376,7 @@ pub mod backup_engines { } } pub mod protection_container_refresh_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3425,7 +3425,7 @@ pub mod protection_container_refresh_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3454,7 +3454,7 @@ pub mod protection_container_refresh_operation_results { } } pub mod protectable_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3509,7 +3509,7 @@ pub mod protectable_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3533,7 +3533,7 @@ pub mod protectable_containers { } } pub mod protection_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3586,7 +3586,7 @@ pub mod protection_containers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3666,7 +3666,7 @@ pub mod protection_containers { } } pub mod register { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainerResource), @@ -3745,7 +3745,7 @@ pub mod protection_containers { } } pub mod unregister { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3820,7 +3820,7 @@ pub mod protection_containers { } } pub mod inquire { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3895,7 +3895,7 @@ pub mod protection_containers { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3919,7 +3919,7 @@ pub mod protection_containers { } } pub mod backup_workload_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3972,7 +3972,7 @@ pub mod backup_workload_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3996,7 +3996,7 @@ pub mod backup_workload_items { } } pub mod protection_container_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4044,7 +4044,7 @@ pub mod protection_container_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainerResource), @@ -4074,7 +4074,7 @@ pub mod protection_container_operation_results { } } pub mod backups { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4120,7 +4120,7 @@ pub mod backups { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4144,7 +4144,7 @@ pub mod backups { } } pub mod protected_item_operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4191,7 +4191,7 @@ pub mod protected_item_operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4215,7 +4215,7 @@ pub mod protected_item_operation_statuses { } } pub mod item_level_recovery_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn provision( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4262,7 +4262,7 @@ pub mod item_level_recovery_connections { } } pub mod provision { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4326,7 +4326,7 @@ pub mod item_level_recovery_connections { } } pub mod revoke { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4350,7 +4350,7 @@ pub mod item_level_recovery_connections { } } pub mod backup_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4398,7 +4398,7 @@ pub mod backup_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4428,7 +4428,7 @@ pub mod backup_operation_results { } } pub mod backup_operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4479,7 +4479,7 @@ pub mod backup_operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4503,7 +4503,7 @@ pub mod backup_operation_statuses { } } pub mod protection_policy_operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4556,7 +4556,7 @@ pub mod protection_policy_operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4580,7 +4580,7 @@ pub mod protection_policy_operation_statuses { } } pub mod backup_protectable_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4637,7 +4637,7 @@ pub mod backup_protectable_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4661,7 +4661,7 @@ pub mod backup_protectable_items { } } pub mod backup_protection_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4714,7 +4714,7 @@ pub mod backup_protection_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4738,7 +4738,7 @@ pub mod backup_protection_containers { } } pub mod security_pi_ns { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4788,7 +4788,7 @@ pub mod security_pi_ns { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4812,7 +4812,7 @@ pub mod security_pi_ns { } } pub mod recovery_points_recommended_for_move { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4860,7 +4860,7 @@ pub mod recovery_points_recommended_for_move { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4884,7 +4884,7 @@ pub mod recovery_points_recommended_for_move { } } pub mod resource_guard_proxies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4933,7 +4933,7 @@ pub mod resource_guard_proxies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4957,7 +4957,7 @@ pub mod resource_guard_proxies { } } pub mod resource_guard_proxy { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -5008,7 +5008,7 @@ pub mod resource_guard_proxy { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5080,7 +5080,7 @@ pub mod resource_guard_proxy { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5148,7 +5148,7 @@ pub mod resource_guard_proxy { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5223,7 +5223,7 @@ pub mod resource_guard_proxy { } } pub mod unlock_delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5247,7 +5247,7 @@ pub mod resource_guard_proxy { } } pub mod backup_usage_summaries_crr { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -5304,7 +5304,7 @@ pub mod backup_usage_summaries_crr { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5328,7 +5328,7 @@ pub mod backup_usage_summaries_crr { } } pub mod aad_properties { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5379,7 +5379,7 @@ pub mod aad_properties { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5403,7 +5403,7 @@ pub mod aad_properties { } } pub mod cross_region_restore { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5451,7 +5451,7 @@ pub mod cross_region_restore { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5480,7 +5480,7 @@ pub mod cross_region_restore { } } pub mod backup_crr_job_details { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5529,7 +5529,7 @@ pub mod backup_crr_job_details { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5553,7 +5553,7 @@ pub mod backup_crr_job_details { } } pub mod backup_crr_jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5610,7 +5610,7 @@ pub mod backup_crr_jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5634,7 +5634,7 @@ pub mod backup_crr_jobs { } } pub mod crr_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5679,7 +5679,7 @@ pub mod crr_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5708,7 +5708,7 @@ pub mod crr_operation_results { } } pub mod crr_operation_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5757,7 +5757,7 @@ pub mod crr_operation_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5781,7 +5781,7 @@ pub mod crr_operation_status { } } pub mod backup_resource_storage_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -5830,7 +5830,7 @@ pub mod backup_resource_storage_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5902,7 +5902,7 @@ pub mod backup_resource_storage_configs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5969,7 +5969,7 @@ pub mod backup_resource_storage_configs { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5993,7 +5993,7 @@ pub mod backup_resource_storage_configs { } } pub mod recovery_points_crr { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -6043,7 +6043,7 @@ pub mod recovery_points_crr { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6067,7 +6067,7 @@ pub mod recovery_points_crr { } } pub mod backup_protected_items_crr { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -6124,7 +6124,7 @@ pub mod backup_protected_items_crr { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/recoveryservicesbackup/src/package_2021_03/operations.rs b/services/mgmt/recoveryservicesbackup/src/package_2021_03/operations.rs index 50a4bc83db..3c1fc1d857 100644 --- a/services/mgmt/recoveryservicesbackup/src/package_2021_03/operations.rs +++ b/services/mgmt/recoveryservicesbackup/src/package_2021_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod protection_intent { - use crate::models::*; + use super::{models, models::*}; pub async fn validate( operation_config: &crate::OperationConfig, azure_region: &str, @@ -54,7 +54,7 @@ pub mod protection_intent { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -115,7 +115,7 @@ pub mod protection_intent { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -181,7 +181,7 @@ pub mod protection_intent { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -237,7 +237,7 @@ pub mod protection_intent { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -258,7 +258,7 @@ pub mod protection_intent { } } pub mod backup_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -305,7 +305,7 @@ pub mod backup_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -326,7 +326,7 @@ pub mod backup_status { } } pub mod feature_support { - use crate::models::*; + use super::{models, models::*}; pub async fn validate( operation_config: &crate::OperationConfig, azure_region: &str, @@ -376,7 +376,7 @@ pub mod feature_support { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -397,7 +397,7 @@ pub mod feature_support { } } pub mod backup_protection_intent { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -452,7 +452,7 @@ pub mod backup_protection_intent { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -473,7 +473,7 @@ pub mod backup_protection_intent { } } pub mod backup_usage_summaries { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -528,7 +528,7 @@ pub mod backup_usage_summaries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -549,7 +549,7 @@ pub mod backup_usage_summaries { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.RecoveryServices/operations", operation_config.base_path(),); @@ -585,7 +585,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -606,7 +606,7 @@ pub mod operations { } } pub mod backup_resource_vault_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -655,7 +655,7 @@ pub mod backup_resource_vault_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -727,7 +727,7 @@ pub mod backup_resource_vault_configs { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -799,7 +799,7 @@ pub mod backup_resource_vault_configs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -823,7 +823,7 @@ pub mod backup_resource_vault_configs { } } pub mod backup_resource_encryption_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -866,7 +866,7 @@ pub mod backup_resource_encryption_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -927,7 +927,7 @@ pub mod backup_resource_encryption_configs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -951,7 +951,7 @@ pub mod backup_resource_encryption_configs { } } pub mod private_endpoint_connection { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1002,7 +1002,7 @@ pub mod private_endpoint_connection { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1082,7 +1082,7 @@ pub mod private_endpoint_connection { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnectionResource), @@ -1156,7 +1156,7 @@ pub mod private_endpoint_connection { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1186,7 +1186,7 @@ pub mod private_endpoint_connection { } } pub mod private_endpoint { - use crate::models::*; + use super::{models, models::*}; pub async fn get_operation_status( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1234,7 +1234,7 @@ pub mod private_endpoint { } } pub mod get_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1303,7 +1303,7 @@ pub async fn get_operation_status( } } pub mod get_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1370,7 +1370,7 @@ pub async fn bms_prepare_data_move( } } pub mod bms_prepare_data_move { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1442,7 +1442,7 @@ pub async fn bms_trigger_data_move( } } pub mod bms_trigger_data_move { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1515,7 +1515,7 @@ pub async fn move_recovery_point( } } pub mod move_recovery_point { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1538,7 +1538,7 @@ pub mod move_recovery_point { } } pub mod bms_prepare_data_move_operation_result { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1583,7 +1583,7 @@ pub mod bms_prepare_data_move_operation_result { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VaultStorageConfigOperationResultResponse), @@ -1612,7 +1612,7 @@ pub mod bms_prepare_data_move_operation_result { } } pub mod protected_items { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1662,7 +1662,7 @@ pub mod protected_items { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1735,7 +1735,7 @@ pub mod protected_items { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectedItemResource), @@ -1804,7 +1804,7 @@ pub mod protected_items { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1834,7 +1834,7 @@ pub mod protected_items { } } pub mod protected_item_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1883,7 +1883,7 @@ pub mod protected_item_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectedItemResource), @@ -1913,7 +1913,7 @@ pub mod protected_item_operation_results { } } pub mod recovery_points { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1963,7 +1963,7 @@ pub mod recovery_points { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2031,7 +2031,7 @@ pub mod recovery_points { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2105,7 +2105,7 @@ pub mod recovery_points { } } pub mod get_access_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2131,7 +2131,7 @@ pub mod recovery_points { } } pub mod restores { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2178,7 +2178,7 @@ pub mod restores { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2202,7 +2202,7 @@ pub mod restores { } } pub mod backup_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2255,7 +2255,7 @@ pub mod backup_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2279,7 +2279,7 @@ pub mod backup_policies { } } pub mod protection_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2330,7 +2330,7 @@ pub mod protection_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2408,7 +2408,7 @@ pub mod protection_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionPolicyResource), @@ -2481,7 +2481,7 @@ pub mod protection_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2510,7 +2510,7 @@ pub mod protection_policies { } } pub mod protection_policy_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2563,7 +2563,7 @@ pub mod protection_policy_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2587,7 +2587,7 @@ pub mod protection_policy_operation_results { } } pub mod backup_jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2644,7 +2644,7 @@ pub mod backup_jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2668,7 +2668,7 @@ pub mod backup_jobs { } } pub mod job_details { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2719,7 +2719,7 @@ pub mod job_details { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2743,7 +2743,7 @@ pub mod job_details { } } pub mod job_cancellations { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2793,7 +2793,7 @@ pub mod job_cancellations { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2817,7 +2817,7 @@ pub mod job_cancellations { } } pub mod job_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2867,7 +2867,7 @@ pub mod job_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2897,7 +2897,7 @@ pub mod job_operation_results { } } pub mod export_jobs_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2954,7 +2954,7 @@ pub mod export_jobs_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationResultInfoBaseResource), @@ -2983,7 +2983,7 @@ pub mod export_jobs_operation_results { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn export( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3032,7 +3032,7 @@ pub mod jobs { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3056,7 +3056,7 @@ pub mod jobs { } } pub mod backup_protected_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3113,7 +3113,7 @@ pub mod backup_protected_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3137,7 +3137,7 @@ pub mod backup_protected_items { } } pub mod operation { - use crate::models::*; + use super::{models, models::*}; pub async fn validate( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3191,7 +3191,7 @@ pub mod operation { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3215,7 +3215,7 @@ pub mod operation { } } pub mod backup_engines { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3272,7 +3272,7 @@ pub mod backup_engines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3352,7 +3352,7 @@ pub mod backup_engines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3376,7 +3376,7 @@ pub mod backup_engines { } } pub mod protection_container_refresh_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3425,7 +3425,7 @@ pub mod protection_container_refresh_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3454,7 +3454,7 @@ pub mod protection_container_refresh_operation_results { } } pub mod protectable_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3509,7 +3509,7 @@ pub mod protectable_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3533,7 +3533,7 @@ pub mod protectable_containers { } } pub mod protection_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3586,7 +3586,7 @@ pub mod protection_containers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3666,7 +3666,7 @@ pub mod protection_containers { } } pub mod register { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainerResource), @@ -3745,7 +3745,7 @@ pub mod protection_containers { } } pub mod unregister { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3820,7 +3820,7 @@ pub mod protection_containers { } } pub mod inquire { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3895,7 +3895,7 @@ pub mod protection_containers { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3919,7 +3919,7 @@ pub mod protection_containers { } } pub mod backup_workload_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3972,7 +3972,7 @@ pub mod backup_workload_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3996,7 +3996,7 @@ pub mod backup_workload_items { } } pub mod protection_container_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4044,7 +4044,7 @@ pub mod protection_container_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainerResource), @@ -4074,7 +4074,7 @@ pub mod protection_container_operation_results { } } pub mod backups { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4120,7 +4120,7 @@ pub mod backups { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4144,7 +4144,7 @@ pub mod backups { } } pub mod protected_item_operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4191,7 +4191,7 @@ pub mod protected_item_operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4215,7 +4215,7 @@ pub mod protected_item_operation_statuses { } } pub mod item_level_recovery_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn provision( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4262,7 +4262,7 @@ pub mod item_level_recovery_connections { } } pub mod provision { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4326,7 +4326,7 @@ pub mod item_level_recovery_connections { } } pub mod revoke { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4350,7 +4350,7 @@ pub mod item_level_recovery_connections { } } pub mod backup_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4398,7 +4398,7 @@ pub mod backup_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4428,7 +4428,7 @@ pub mod backup_operation_results { } } pub mod backup_operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4479,7 +4479,7 @@ pub mod backup_operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4503,7 +4503,7 @@ pub mod backup_operation_statuses { } } pub mod protection_policy_operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4556,7 +4556,7 @@ pub mod protection_policy_operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4580,7 +4580,7 @@ pub mod protection_policy_operation_statuses { } } pub mod backup_protectable_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4637,7 +4637,7 @@ pub mod backup_protectable_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4661,7 +4661,7 @@ pub mod backup_protectable_items { } } pub mod backup_protection_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4714,7 +4714,7 @@ pub mod backup_protection_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4738,7 +4738,7 @@ pub mod backup_protection_containers { } } pub mod security_pi_ns { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4788,7 +4788,7 @@ pub mod security_pi_ns { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4812,7 +4812,7 @@ pub mod security_pi_ns { } } pub mod recovery_points_recommended_for_move { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4860,7 +4860,7 @@ pub mod recovery_points_recommended_for_move { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4884,7 +4884,7 @@ pub mod recovery_points_recommended_for_move { } } pub mod backup_usage_summaries_crr { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4941,7 +4941,7 @@ pub mod backup_usage_summaries_crr { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4965,7 +4965,7 @@ pub mod backup_usage_summaries_crr { } } pub mod aad_properties { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5016,7 +5016,7 @@ pub mod aad_properties { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5040,7 +5040,7 @@ pub mod aad_properties { } } pub mod cross_region_restore { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5088,7 +5088,7 @@ pub mod cross_region_restore { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5117,7 +5117,7 @@ pub mod cross_region_restore { } } pub mod backup_crr_job_details { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5166,7 +5166,7 @@ pub mod backup_crr_job_details { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5190,7 +5190,7 @@ pub mod backup_crr_job_details { } } pub mod backup_crr_jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5247,7 +5247,7 @@ pub mod backup_crr_jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5271,7 +5271,7 @@ pub mod backup_crr_jobs { } } pub mod crr_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5316,7 +5316,7 @@ pub mod crr_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5345,7 +5345,7 @@ pub mod crr_operation_results { } } pub mod crr_operation_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5394,7 +5394,7 @@ pub mod crr_operation_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5418,7 +5418,7 @@ pub mod crr_operation_status { } } pub mod backup_resource_storage_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -5467,7 +5467,7 @@ pub mod backup_resource_storage_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5539,7 +5539,7 @@ pub mod backup_resource_storage_configs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5606,7 +5606,7 @@ pub mod backup_resource_storage_configs { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5630,7 +5630,7 @@ pub mod backup_resource_storage_configs { } } pub mod recovery_points_crr { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -5680,7 +5680,7 @@ pub mod recovery_points_crr { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5704,7 +5704,7 @@ pub mod recovery_points_crr { } } pub mod backup_protected_items_crr { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -5761,7 +5761,7 @@ pub mod backup_protected_items_crr { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/recoveryservicesbackup/src/package_2021_04/operations.rs b/services/mgmt/recoveryservicesbackup/src/package_2021_04/operations.rs index bee38bbecf..3e7f7e1657 100644 --- a/services/mgmt/recoveryservicesbackup/src/package_2021_04/operations.rs +++ b/services/mgmt/recoveryservicesbackup/src/package_2021_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod backup_resource_storage_configs_non_crr { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -53,7 +53,7 @@ pub mod backup_resource_storage_configs_non_crr { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -125,7 +125,7 @@ pub mod backup_resource_storage_configs_non_crr { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -192,7 +192,7 @@ pub mod backup_resource_storage_configs_non_crr { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -216,7 +216,7 @@ pub mod backup_resource_storage_configs_non_crr { } } pub mod protection_intent { - use crate::models::*; + use super::{models, models::*}; pub async fn validate( operation_config: &crate::OperationConfig, azure_region: &str, @@ -266,7 +266,7 @@ pub mod protection_intent { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -327,7 +327,7 @@ pub mod protection_intent { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -393,7 +393,7 @@ pub mod protection_intent { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -449,7 +449,7 @@ pub mod protection_intent { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -470,7 +470,7 @@ pub mod protection_intent { } } pub mod backup_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -517,7 +517,7 @@ pub mod backup_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -538,7 +538,7 @@ pub mod backup_status { } } pub mod feature_support { - use crate::models::*; + use super::{models, models::*}; pub async fn validate( operation_config: &crate::OperationConfig, azure_region: &str, @@ -588,7 +588,7 @@ pub mod feature_support { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -609,7 +609,7 @@ pub mod feature_support { } } pub mod backup_protection_intent { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -664,7 +664,7 @@ pub mod backup_protection_intent { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -685,7 +685,7 @@ pub mod backup_protection_intent { } } pub mod backup_usage_summaries { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -740,7 +740,7 @@ pub mod backup_usage_summaries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -761,7 +761,7 @@ pub mod backup_usage_summaries { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.RecoveryServices/operations", operation_config.base_path(),); @@ -797,7 +797,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -818,7 +818,7 @@ pub mod operations { } } pub mod backup_resource_vault_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -867,7 +867,7 @@ pub mod backup_resource_vault_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -939,7 +939,7 @@ pub mod backup_resource_vault_configs { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1011,7 +1011,7 @@ pub mod backup_resource_vault_configs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1035,7 +1035,7 @@ pub mod backup_resource_vault_configs { } } pub mod backup_resource_encryption_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1078,7 +1078,7 @@ pub mod backup_resource_encryption_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1139,7 +1139,7 @@ pub mod backup_resource_encryption_configs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1163,7 +1163,7 @@ pub mod backup_resource_encryption_configs { } } pub mod private_endpoint_connection { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1214,7 +1214,7 @@ pub mod private_endpoint_connection { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1294,7 +1294,7 @@ pub mod private_endpoint_connection { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnectionResource), @@ -1368,7 +1368,7 @@ pub mod private_endpoint_connection { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1398,7 +1398,7 @@ pub mod private_endpoint_connection { } } pub mod private_endpoint { - use crate::models::*; + use super::{models, models::*}; pub async fn get_operation_status( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1446,7 +1446,7 @@ pub mod private_endpoint { } } pub mod get_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1515,7 +1515,7 @@ pub async fn get_operation_status( } } pub mod get_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1582,7 +1582,7 @@ pub async fn bms_prepare_data_move( } } pub mod bms_prepare_data_move { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1654,7 +1654,7 @@ pub async fn bms_trigger_data_move( } } pub mod bms_trigger_data_move { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1727,7 +1727,7 @@ pub async fn move_recovery_point( } } pub mod move_recovery_point { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1750,7 +1750,7 @@ pub mod move_recovery_point { } } pub mod bms_prepare_data_move_operation_result { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1795,7 +1795,7 @@ pub mod bms_prepare_data_move_operation_result { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VaultStorageConfigOperationResultResponse), @@ -1824,7 +1824,7 @@ pub mod bms_prepare_data_move_operation_result { } } pub mod protected_items { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1874,7 +1874,7 @@ pub mod protected_items { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1947,7 +1947,7 @@ pub mod protected_items { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectedItemResource), @@ -2016,7 +2016,7 @@ pub mod protected_items { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2046,7 +2046,7 @@ pub mod protected_items { } } pub mod protected_item_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2095,7 +2095,7 @@ pub mod protected_item_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectedItemResource), @@ -2125,7 +2125,7 @@ pub mod protected_item_operation_results { } } pub mod recovery_points { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2175,7 +2175,7 @@ pub mod recovery_points { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2243,7 +2243,7 @@ pub mod recovery_points { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2317,7 +2317,7 @@ pub mod recovery_points { } } pub mod get_access_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2343,7 +2343,7 @@ pub mod recovery_points { } } pub mod restores { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2390,7 +2390,7 @@ pub mod restores { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2414,7 +2414,7 @@ pub mod restores { } } pub mod backup_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2467,7 +2467,7 @@ pub mod backup_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2491,7 +2491,7 @@ pub mod backup_policies { } } pub mod protection_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2542,7 +2542,7 @@ pub mod protection_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2620,7 +2620,7 @@ pub mod protection_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionPolicyResource), @@ -2693,7 +2693,7 @@ pub mod protection_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2722,7 +2722,7 @@ pub mod protection_policies { } } pub mod protection_policy_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2775,7 +2775,7 @@ pub mod protection_policy_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2799,7 +2799,7 @@ pub mod protection_policy_operation_results { } } pub mod backup_jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2856,7 +2856,7 @@ pub mod backup_jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2880,7 +2880,7 @@ pub mod backup_jobs { } } pub mod job_details { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2931,7 +2931,7 @@ pub mod job_details { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2955,7 +2955,7 @@ pub mod job_details { } } pub mod job_cancellations { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3005,7 +3005,7 @@ pub mod job_cancellations { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3029,7 +3029,7 @@ pub mod job_cancellations { } } pub mod job_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3079,7 +3079,7 @@ pub mod job_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3109,7 +3109,7 @@ pub mod job_operation_results { } } pub mod export_jobs_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3166,7 +3166,7 @@ pub mod export_jobs_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationResultInfoBaseResource), @@ -3195,7 +3195,7 @@ pub mod export_jobs_operation_results { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn export( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3244,7 +3244,7 @@ pub mod jobs { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3268,7 +3268,7 @@ pub mod jobs { } } pub mod backup_protected_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3325,7 +3325,7 @@ pub mod backup_protected_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3349,7 +3349,7 @@ pub mod backup_protected_items { } } pub mod operation { - use crate::models::*; + use super::{models, models::*}; pub async fn validate( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3403,7 +3403,7 @@ pub mod operation { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3427,7 +3427,7 @@ pub mod operation { } } pub mod backup_engines { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3484,7 +3484,7 @@ pub mod backup_engines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3564,7 +3564,7 @@ pub mod backup_engines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3588,7 +3588,7 @@ pub mod backup_engines { } } pub mod protection_container_refresh_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3637,7 +3637,7 @@ pub mod protection_container_refresh_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3666,7 +3666,7 @@ pub mod protection_container_refresh_operation_results { } } pub mod protectable_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3721,7 +3721,7 @@ pub mod protectable_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3745,7 +3745,7 @@ pub mod protectable_containers { } } pub mod protection_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3798,7 +3798,7 @@ pub mod protection_containers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3878,7 +3878,7 @@ pub mod protection_containers { } } pub mod register { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainerResource), @@ -3957,7 +3957,7 @@ pub mod protection_containers { } } pub mod unregister { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4032,7 +4032,7 @@ pub mod protection_containers { } } pub mod inquire { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4107,7 +4107,7 @@ pub mod protection_containers { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4131,7 +4131,7 @@ pub mod protection_containers { } } pub mod backup_workload_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4184,7 +4184,7 @@ pub mod backup_workload_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4208,7 +4208,7 @@ pub mod backup_workload_items { } } pub mod protection_container_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4256,7 +4256,7 @@ pub mod protection_container_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainerResource), @@ -4286,7 +4286,7 @@ pub mod protection_container_operation_results { } } pub mod backups { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4332,7 +4332,7 @@ pub mod backups { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4356,7 +4356,7 @@ pub mod backups { } } pub mod protected_item_operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4403,7 +4403,7 @@ pub mod protected_item_operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4427,7 +4427,7 @@ pub mod protected_item_operation_statuses { } } pub mod item_level_recovery_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn provision( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4474,7 +4474,7 @@ pub mod item_level_recovery_connections { } } pub mod provision { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4538,7 +4538,7 @@ pub mod item_level_recovery_connections { } } pub mod revoke { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4562,7 +4562,7 @@ pub mod item_level_recovery_connections { } } pub mod backup_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4610,7 +4610,7 @@ pub mod backup_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4640,7 +4640,7 @@ pub mod backup_operation_results { } } pub mod backup_operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4691,7 +4691,7 @@ pub mod backup_operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4715,7 +4715,7 @@ pub mod backup_operation_statuses { } } pub mod protection_policy_operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4768,7 +4768,7 @@ pub mod protection_policy_operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4792,7 +4792,7 @@ pub mod protection_policy_operation_statuses { } } pub mod backup_protectable_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4849,7 +4849,7 @@ pub mod backup_protectable_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4873,7 +4873,7 @@ pub mod backup_protectable_items { } } pub mod backup_protection_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4926,7 +4926,7 @@ pub mod backup_protection_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4950,7 +4950,7 @@ pub mod backup_protection_containers { } } pub mod security_pi_ns { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -5000,7 +5000,7 @@ pub mod security_pi_ns { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5024,7 +5024,7 @@ pub mod security_pi_ns { } } pub mod recovery_points_recommended_for_move { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -5072,7 +5072,7 @@ pub mod recovery_points_recommended_for_move { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5096,7 +5096,7 @@ pub mod recovery_points_recommended_for_move { } } pub mod backup_usage_summaries_crr { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -5153,7 +5153,7 @@ pub mod backup_usage_summaries_crr { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5177,7 +5177,7 @@ pub mod backup_usage_summaries_crr { } } pub mod aad_properties { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5228,7 +5228,7 @@ pub mod aad_properties { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5252,7 +5252,7 @@ pub mod aad_properties { } } pub mod cross_region_restore { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5300,7 +5300,7 @@ pub mod cross_region_restore { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5329,7 +5329,7 @@ pub mod cross_region_restore { } } pub mod backup_crr_job_details { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5378,7 +5378,7 @@ pub mod backup_crr_job_details { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5402,7 +5402,7 @@ pub mod backup_crr_job_details { } } pub mod backup_crr_jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5459,7 +5459,7 @@ pub mod backup_crr_jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5483,7 +5483,7 @@ pub mod backup_crr_jobs { } } pub mod crr_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5528,7 +5528,7 @@ pub mod crr_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5557,7 +5557,7 @@ pub mod crr_operation_results { } } pub mod crr_operation_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5606,7 +5606,7 @@ pub mod crr_operation_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5630,7 +5630,7 @@ pub mod crr_operation_status { } } pub mod backup_resource_storage_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -5679,7 +5679,7 @@ pub mod backup_resource_storage_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5751,7 +5751,7 @@ pub mod backup_resource_storage_configs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5818,7 +5818,7 @@ pub mod backup_resource_storage_configs { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5842,7 +5842,7 @@ pub mod backup_resource_storage_configs { } } pub mod recovery_points_crr { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -5892,7 +5892,7 @@ pub mod recovery_points_crr { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5916,7 +5916,7 @@ pub mod recovery_points_crr { } } pub mod backup_protected_items_crr { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -5973,7 +5973,7 @@ pub mod backup_protected_items_crr { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/recoveryservicesbackup/src/package_2021_06/operations.rs b/services/mgmt/recoveryservicesbackup/src/package_2021_06/operations.rs index 597f09c068..725d886d5c 100644 --- a/services/mgmt/recoveryservicesbackup/src/package_2021_06/operations.rs +++ b/services/mgmt/recoveryservicesbackup/src/package_2021_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod protection_intent { - use crate::models::*; + use super::{models, models::*}; pub async fn validate( operation_config: &crate::OperationConfig, azure_region: &str, @@ -54,7 +54,7 @@ pub mod protection_intent { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -115,7 +115,7 @@ pub mod protection_intent { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -181,7 +181,7 @@ pub mod protection_intent { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -237,7 +237,7 @@ pub mod protection_intent { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -258,7 +258,7 @@ pub mod protection_intent { } } pub mod backup_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -305,7 +305,7 @@ pub mod backup_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -326,7 +326,7 @@ pub mod backup_status { } } pub mod feature_support { - use crate::models::*; + use super::{models, models::*}; pub async fn validate( operation_config: &crate::OperationConfig, azure_region: &str, @@ -376,7 +376,7 @@ pub mod feature_support { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -397,7 +397,7 @@ pub mod feature_support { } } pub mod backup_protection_intent { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -452,7 +452,7 @@ pub mod backup_protection_intent { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -473,7 +473,7 @@ pub mod backup_protection_intent { } } pub mod backup_usage_summaries { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -528,7 +528,7 @@ pub mod backup_usage_summaries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -549,7 +549,7 @@ pub mod backup_usage_summaries { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.RecoveryServices/operations", operation_config.base_path(),); @@ -585,7 +585,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -606,7 +606,7 @@ pub mod operations { } } pub mod backup_resource_vault_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -655,7 +655,7 @@ pub mod backup_resource_vault_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -727,7 +727,7 @@ pub mod backup_resource_vault_configs { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -799,7 +799,7 @@ pub mod backup_resource_vault_configs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -823,7 +823,7 @@ pub mod backup_resource_vault_configs { } } pub mod backup_resource_encryption_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -866,7 +866,7 @@ pub mod backup_resource_encryption_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -927,7 +927,7 @@ pub mod backup_resource_encryption_configs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -951,7 +951,7 @@ pub mod backup_resource_encryption_configs { } } pub mod private_endpoint_connection { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1002,7 +1002,7 @@ pub mod private_endpoint_connection { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1082,7 +1082,7 @@ pub mod private_endpoint_connection { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnectionResource), @@ -1156,7 +1156,7 @@ pub mod private_endpoint_connection { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1186,7 +1186,7 @@ pub mod private_endpoint_connection { } } pub mod private_endpoint { - use crate::models::*; + use super::{models, models::*}; pub async fn get_operation_status( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1234,7 +1234,7 @@ pub mod private_endpoint { } } pub mod get_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1303,7 +1303,7 @@ pub async fn get_operation_status( } } pub mod get_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1370,7 +1370,7 @@ pub async fn bms_prepare_data_move( } } pub mod bms_prepare_data_move { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1442,7 +1442,7 @@ pub async fn bms_trigger_data_move( } } pub mod bms_trigger_data_move { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1515,7 +1515,7 @@ pub async fn move_recovery_point( } } pub mod move_recovery_point { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1538,7 +1538,7 @@ pub mod move_recovery_point { } } pub mod bms_prepare_data_move_operation_result { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1583,7 +1583,7 @@ pub mod bms_prepare_data_move_operation_result { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VaultStorageConfigOperationResultResponse), @@ -1612,7 +1612,7 @@ pub mod bms_prepare_data_move_operation_result { } } pub mod protected_items { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1662,7 +1662,7 @@ pub mod protected_items { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1735,7 +1735,7 @@ pub mod protected_items { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectedItemResource), @@ -1804,7 +1804,7 @@ pub mod protected_items { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1834,7 +1834,7 @@ pub mod protected_items { } } pub mod protected_item_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1883,7 +1883,7 @@ pub mod protected_item_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectedItemResource), @@ -1913,7 +1913,7 @@ pub mod protected_item_operation_results { } } pub mod recovery_points { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1963,7 +1963,7 @@ pub mod recovery_points { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2031,7 +2031,7 @@ pub mod recovery_points { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2105,7 +2105,7 @@ pub mod recovery_points { } } pub mod get_access_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2131,7 +2131,7 @@ pub mod recovery_points { } } pub mod restores { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2178,7 +2178,7 @@ pub mod restores { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2202,7 +2202,7 @@ pub mod restores { } } pub mod backup_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2255,7 +2255,7 @@ pub mod backup_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2279,7 +2279,7 @@ pub mod backup_policies { } } pub mod protection_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2330,7 +2330,7 @@ pub mod protection_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2408,7 +2408,7 @@ pub mod protection_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionPolicyResource), @@ -2481,7 +2481,7 @@ pub mod protection_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2510,7 +2510,7 @@ pub mod protection_policies { } } pub mod protection_policy_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2563,7 +2563,7 @@ pub mod protection_policy_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2587,7 +2587,7 @@ pub mod protection_policy_operation_results { } } pub mod backup_jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2644,7 +2644,7 @@ pub mod backup_jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2668,7 +2668,7 @@ pub mod backup_jobs { } } pub mod job_details { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2719,7 +2719,7 @@ pub mod job_details { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2743,7 +2743,7 @@ pub mod job_details { } } pub mod job_cancellations { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2793,7 +2793,7 @@ pub mod job_cancellations { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2817,7 +2817,7 @@ pub mod job_cancellations { } } pub mod job_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2867,7 +2867,7 @@ pub mod job_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2897,7 +2897,7 @@ pub mod job_operation_results { } } pub mod export_jobs_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2954,7 +2954,7 @@ pub mod export_jobs_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationResultInfoBaseResource), @@ -2983,7 +2983,7 @@ pub mod export_jobs_operation_results { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn export( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3032,7 +3032,7 @@ pub mod jobs { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3056,7 +3056,7 @@ pub mod jobs { } } pub mod backup_protected_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3113,7 +3113,7 @@ pub mod backup_protected_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3137,7 +3137,7 @@ pub mod backup_protected_items { } } pub mod operation { - use crate::models::*; + use super::{models, models::*}; pub async fn validate( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3191,7 +3191,7 @@ pub mod operation { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3215,7 +3215,7 @@ pub mod operation { } } pub mod backup_engines { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3272,7 +3272,7 @@ pub mod backup_engines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3352,7 +3352,7 @@ pub mod backup_engines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3376,7 +3376,7 @@ pub mod backup_engines { } } pub mod protection_container_refresh_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3425,7 +3425,7 @@ pub mod protection_container_refresh_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3454,7 +3454,7 @@ pub mod protection_container_refresh_operation_results { } } pub mod protectable_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3509,7 +3509,7 @@ pub mod protectable_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3533,7 +3533,7 @@ pub mod protectable_containers { } } pub mod protection_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3586,7 +3586,7 @@ pub mod protection_containers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3666,7 +3666,7 @@ pub mod protection_containers { } } pub mod register { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainerResource), @@ -3745,7 +3745,7 @@ pub mod protection_containers { } } pub mod unregister { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3820,7 +3820,7 @@ pub mod protection_containers { } } pub mod inquire { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3895,7 +3895,7 @@ pub mod protection_containers { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3919,7 +3919,7 @@ pub mod protection_containers { } } pub mod backup_workload_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3972,7 +3972,7 @@ pub mod backup_workload_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3996,7 +3996,7 @@ pub mod backup_workload_items { } } pub mod protection_container_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4044,7 +4044,7 @@ pub mod protection_container_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainerResource), @@ -4074,7 +4074,7 @@ pub mod protection_container_operation_results { } } pub mod backups { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4120,7 +4120,7 @@ pub mod backups { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4144,7 +4144,7 @@ pub mod backups { } } pub mod protected_item_operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4191,7 +4191,7 @@ pub mod protected_item_operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4215,7 +4215,7 @@ pub mod protected_item_operation_statuses { } } pub mod item_level_recovery_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn provision( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4262,7 +4262,7 @@ pub mod item_level_recovery_connections { } } pub mod provision { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4326,7 +4326,7 @@ pub mod item_level_recovery_connections { } } pub mod revoke { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4350,7 +4350,7 @@ pub mod item_level_recovery_connections { } } pub mod backup_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4398,7 +4398,7 @@ pub mod backup_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4428,7 +4428,7 @@ pub mod backup_operation_results { } } pub mod backup_operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4479,7 +4479,7 @@ pub mod backup_operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4503,7 +4503,7 @@ pub mod backup_operation_statuses { } } pub mod protection_policy_operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4556,7 +4556,7 @@ pub mod protection_policy_operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4580,7 +4580,7 @@ pub mod protection_policy_operation_statuses { } } pub mod backup_protectable_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4637,7 +4637,7 @@ pub mod backup_protectable_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4661,7 +4661,7 @@ pub mod backup_protectable_items { } } pub mod backup_protection_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4714,7 +4714,7 @@ pub mod backup_protection_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4738,7 +4738,7 @@ pub mod backup_protection_containers { } } pub mod security_pi_ns { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4788,7 +4788,7 @@ pub mod security_pi_ns { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4812,7 +4812,7 @@ pub mod security_pi_ns { } } pub mod recovery_points_recommended_for_move { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4860,7 +4860,7 @@ pub mod recovery_points_recommended_for_move { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4884,7 +4884,7 @@ pub mod recovery_points_recommended_for_move { } } pub mod backup_usage_summaries_crr { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4941,7 +4941,7 @@ pub mod backup_usage_summaries_crr { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4965,7 +4965,7 @@ pub mod backup_usage_summaries_crr { } } pub mod aad_properties { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5016,7 +5016,7 @@ pub mod aad_properties { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5040,7 +5040,7 @@ pub mod aad_properties { } } pub mod cross_region_restore { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5088,7 +5088,7 @@ pub mod cross_region_restore { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5117,7 +5117,7 @@ pub mod cross_region_restore { } } pub mod backup_crr_job_details { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5166,7 +5166,7 @@ pub mod backup_crr_job_details { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5190,7 +5190,7 @@ pub mod backup_crr_job_details { } } pub mod backup_crr_jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5247,7 +5247,7 @@ pub mod backup_crr_jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5271,7 +5271,7 @@ pub mod backup_crr_jobs { } } pub mod crr_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5316,7 +5316,7 @@ pub mod crr_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5345,7 +5345,7 @@ pub mod crr_operation_results { } } pub mod crr_operation_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5394,7 +5394,7 @@ pub mod crr_operation_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5418,7 +5418,7 @@ pub mod crr_operation_status { } } pub mod backup_resource_storage_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -5467,7 +5467,7 @@ pub mod backup_resource_storage_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5539,7 +5539,7 @@ pub mod backup_resource_storage_configs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5606,7 +5606,7 @@ pub mod backup_resource_storage_configs { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5630,7 +5630,7 @@ pub mod backup_resource_storage_configs { } } pub mod recovery_points_crr { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -5680,7 +5680,7 @@ pub mod recovery_points_crr { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5704,7 +5704,7 @@ pub mod recovery_points_crr { } } pub mod backup_protected_items_crr { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -5761,7 +5761,7 @@ pub mod backup_protected_items_crr { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/recoveryservicesbackup/src/package_2021_07/operations.rs b/services/mgmt/recoveryservicesbackup/src/package_2021_07/operations.rs index 81dd1a5650..42c0f68f22 100644 --- a/services/mgmt/recoveryservicesbackup/src/package_2021_07/operations.rs +++ b/services/mgmt/recoveryservicesbackup/src/package_2021_07/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod backup_resource_storage_configs_non_crr { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -53,7 +53,7 @@ pub mod backup_resource_storage_configs_non_crr { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -125,7 +125,7 @@ pub mod backup_resource_storage_configs_non_crr { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -192,7 +192,7 @@ pub mod backup_resource_storage_configs_non_crr { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -216,7 +216,7 @@ pub mod backup_resource_storage_configs_non_crr { } } pub mod protection_intent { - use crate::models::*; + use super::{models, models::*}; pub async fn validate( operation_config: &crate::OperationConfig, azure_region: &str, @@ -266,7 +266,7 @@ pub mod protection_intent { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -327,7 +327,7 @@ pub mod protection_intent { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -393,7 +393,7 @@ pub mod protection_intent { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -449,7 +449,7 @@ pub mod protection_intent { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -470,7 +470,7 @@ pub mod protection_intent { } } pub mod backup_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -517,7 +517,7 @@ pub mod backup_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -538,7 +538,7 @@ pub mod backup_status { } } pub mod feature_support { - use crate::models::*; + use super::{models, models::*}; pub async fn validate( operation_config: &crate::OperationConfig, azure_region: &str, @@ -588,7 +588,7 @@ pub mod feature_support { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -609,7 +609,7 @@ pub mod feature_support { } } pub mod backup_protection_intent { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -664,7 +664,7 @@ pub mod backup_protection_intent { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -685,7 +685,7 @@ pub mod backup_protection_intent { } } pub mod backup_usage_summaries { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -740,7 +740,7 @@ pub mod backup_usage_summaries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -761,7 +761,7 @@ pub mod backup_usage_summaries { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.RecoveryServices/operations", operation_config.base_path(),); @@ -797,7 +797,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -818,7 +818,7 @@ pub mod operations { } } pub mod backup_resource_vault_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -867,7 +867,7 @@ pub mod backup_resource_vault_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -939,7 +939,7 @@ pub mod backup_resource_vault_configs { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1011,7 +1011,7 @@ pub mod backup_resource_vault_configs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1035,7 +1035,7 @@ pub mod backup_resource_vault_configs { } } pub mod backup_resource_encryption_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1078,7 +1078,7 @@ pub mod backup_resource_encryption_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1139,7 +1139,7 @@ pub mod backup_resource_encryption_configs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1163,7 +1163,7 @@ pub mod backup_resource_encryption_configs { } } pub mod private_endpoint_connection { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1214,7 +1214,7 @@ pub mod private_endpoint_connection { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1294,7 +1294,7 @@ pub mod private_endpoint_connection { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnectionResource), @@ -1368,7 +1368,7 @@ pub mod private_endpoint_connection { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1398,7 +1398,7 @@ pub mod private_endpoint_connection { } } pub mod private_endpoint { - use crate::models::*; + use super::{models, models::*}; pub async fn get_operation_status( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1446,7 +1446,7 @@ pub mod private_endpoint { } } pub mod get_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1515,7 +1515,7 @@ pub async fn get_operation_status( } } pub mod get_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1582,7 +1582,7 @@ pub async fn bms_prepare_data_move( } } pub mod bms_prepare_data_move { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1654,7 +1654,7 @@ pub async fn bms_trigger_data_move( } } pub mod bms_trigger_data_move { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1727,7 +1727,7 @@ pub async fn move_recovery_point( } } pub mod move_recovery_point { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1750,7 +1750,7 @@ pub mod move_recovery_point { } } pub mod bms_prepare_data_move_operation_result { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1795,7 +1795,7 @@ pub mod bms_prepare_data_move_operation_result { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VaultStorageConfigOperationResultResponse), @@ -1824,7 +1824,7 @@ pub mod bms_prepare_data_move_operation_result { } } pub mod protected_items { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1874,7 +1874,7 @@ pub mod protected_items { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1947,7 +1947,7 @@ pub mod protected_items { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectedItemResource), @@ -2016,7 +2016,7 @@ pub mod protected_items { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2046,7 +2046,7 @@ pub mod protected_items { } } pub mod protected_item_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2095,7 +2095,7 @@ pub mod protected_item_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectedItemResource), @@ -2125,7 +2125,7 @@ pub mod protected_item_operation_results { } } pub mod recovery_points { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2175,7 +2175,7 @@ pub mod recovery_points { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2243,7 +2243,7 @@ pub mod recovery_points { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2317,7 +2317,7 @@ pub mod recovery_points { } } pub mod get_access_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2343,7 +2343,7 @@ pub mod recovery_points { } } pub mod restores { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2390,7 +2390,7 @@ pub mod restores { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2414,7 +2414,7 @@ pub mod restores { } } pub mod backup_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2467,7 +2467,7 @@ pub mod backup_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2491,7 +2491,7 @@ pub mod backup_policies { } } pub mod protection_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2542,7 +2542,7 @@ pub mod protection_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2620,7 +2620,7 @@ pub mod protection_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionPolicyResource), @@ -2693,7 +2693,7 @@ pub mod protection_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2722,7 +2722,7 @@ pub mod protection_policies { } } pub mod protection_policy_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2775,7 +2775,7 @@ pub mod protection_policy_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2799,7 +2799,7 @@ pub mod protection_policy_operation_results { } } pub mod backup_jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2856,7 +2856,7 @@ pub mod backup_jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2880,7 +2880,7 @@ pub mod backup_jobs { } } pub mod job_details { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2931,7 +2931,7 @@ pub mod job_details { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2955,7 +2955,7 @@ pub mod job_details { } } pub mod job_cancellations { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3005,7 +3005,7 @@ pub mod job_cancellations { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3029,7 +3029,7 @@ pub mod job_cancellations { } } pub mod job_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3079,7 +3079,7 @@ pub mod job_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3109,7 +3109,7 @@ pub mod job_operation_results { } } pub mod export_jobs_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3166,7 +3166,7 @@ pub mod export_jobs_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationResultInfoBaseResource), @@ -3195,7 +3195,7 @@ pub mod export_jobs_operation_results { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn export( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3244,7 +3244,7 @@ pub mod jobs { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3268,7 +3268,7 @@ pub mod jobs { } } pub mod backup_protected_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3325,7 +3325,7 @@ pub mod backup_protected_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3349,7 +3349,7 @@ pub mod backup_protected_items { } } pub mod operation { - use crate::models::*; + use super::{models, models::*}; pub async fn validate( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3403,7 +3403,7 @@ pub mod operation { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3427,7 +3427,7 @@ pub mod operation { } } pub mod backup_engines { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3484,7 +3484,7 @@ pub mod backup_engines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3564,7 +3564,7 @@ pub mod backup_engines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3588,7 +3588,7 @@ pub mod backup_engines { } } pub mod protection_container_refresh_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3637,7 +3637,7 @@ pub mod protection_container_refresh_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3666,7 +3666,7 @@ pub mod protection_container_refresh_operation_results { } } pub mod protectable_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3721,7 +3721,7 @@ pub mod protectable_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3745,7 +3745,7 @@ pub mod protectable_containers { } } pub mod protection_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3798,7 +3798,7 @@ pub mod protection_containers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3878,7 +3878,7 @@ pub mod protection_containers { } } pub mod register { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainerResource), @@ -3957,7 +3957,7 @@ pub mod protection_containers { } } pub mod unregister { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4032,7 +4032,7 @@ pub mod protection_containers { } } pub mod inquire { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4107,7 +4107,7 @@ pub mod protection_containers { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4131,7 +4131,7 @@ pub mod protection_containers { } } pub mod backup_workload_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4184,7 +4184,7 @@ pub mod backup_workload_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4208,7 +4208,7 @@ pub mod backup_workload_items { } } pub mod protection_container_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4256,7 +4256,7 @@ pub mod protection_container_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainerResource), @@ -4286,7 +4286,7 @@ pub mod protection_container_operation_results { } } pub mod backups { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4332,7 +4332,7 @@ pub mod backups { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4356,7 +4356,7 @@ pub mod backups { } } pub mod protected_item_operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4403,7 +4403,7 @@ pub mod protected_item_operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4427,7 +4427,7 @@ pub mod protected_item_operation_statuses { } } pub mod item_level_recovery_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn provision( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4474,7 +4474,7 @@ pub mod item_level_recovery_connections { } } pub mod provision { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4538,7 +4538,7 @@ pub mod item_level_recovery_connections { } } pub mod revoke { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4562,7 +4562,7 @@ pub mod item_level_recovery_connections { } } pub mod backup_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4610,7 +4610,7 @@ pub mod backup_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4640,7 +4640,7 @@ pub mod backup_operation_results { } } pub mod backup_operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4691,7 +4691,7 @@ pub mod backup_operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4715,7 +4715,7 @@ pub mod backup_operation_statuses { } } pub mod protection_policy_operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4768,7 +4768,7 @@ pub mod protection_policy_operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4792,7 +4792,7 @@ pub mod protection_policy_operation_statuses { } } pub mod backup_protectable_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4849,7 +4849,7 @@ pub mod backup_protectable_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4873,7 +4873,7 @@ pub mod backup_protectable_items { } } pub mod backup_protection_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4926,7 +4926,7 @@ pub mod backup_protection_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4950,7 +4950,7 @@ pub mod backup_protection_containers { } } pub mod security_pi_ns { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -5005,7 +5005,7 @@ pub mod security_pi_ns { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5029,7 +5029,7 @@ pub mod security_pi_ns { } } pub mod recovery_points_recommended_for_move { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -5077,7 +5077,7 @@ pub mod recovery_points_recommended_for_move { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5101,7 +5101,7 @@ pub mod recovery_points_recommended_for_move { } } pub mod resource_guard_proxies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -5150,7 +5150,7 @@ pub mod resource_guard_proxies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5174,7 +5174,7 @@ pub mod resource_guard_proxies { } } pub mod resource_guard_proxy { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -5225,7 +5225,7 @@ pub mod resource_guard_proxy { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5297,7 +5297,7 @@ pub mod resource_guard_proxy { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5365,7 +5365,7 @@ pub mod resource_guard_proxy { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5440,7 +5440,7 @@ pub mod resource_guard_proxy { } } pub mod unlock_delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5464,7 +5464,7 @@ pub mod resource_guard_proxy { } } pub mod backup_usage_summaries_crr { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -5521,7 +5521,7 @@ pub mod backup_usage_summaries_crr { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5545,7 +5545,7 @@ pub mod backup_usage_summaries_crr { } } pub mod aad_properties { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5596,7 +5596,7 @@ pub mod aad_properties { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5620,7 +5620,7 @@ pub mod aad_properties { } } pub mod cross_region_restore { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5668,7 +5668,7 @@ pub mod cross_region_restore { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5697,7 +5697,7 @@ pub mod cross_region_restore { } } pub mod backup_crr_job_details { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5746,7 +5746,7 @@ pub mod backup_crr_job_details { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5770,7 +5770,7 @@ pub mod backup_crr_job_details { } } pub mod backup_crr_jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5827,7 +5827,7 @@ pub mod backup_crr_jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5851,7 +5851,7 @@ pub mod backup_crr_jobs { } } pub mod crr_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5896,7 +5896,7 @@ pub mod crr_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5925,7 +5925,7 @@ pub mod crr_operation_results { } } pub mod crr_operation_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5974,7 +5974,7 @@ pub mod crr_operation_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5998,7 +5998,7 @@ pub mod crr_operation_status { } } pub mod backup_resource_storage_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -6047,7 +6047,7 @@ pub mod backup_resource_storage_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6119,7 +6119,7 @@ pub mod backup_resource_storage_configs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6186,7 +6186,7 @@ pub mod backup_resource_storage_configs { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6210,7 +6210,7 @@ pub mod backup_resource_storage_configs { } } pub mod recovery_points_crr { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -6260,7 +6260,7 @@ pub mod recovery_points_crr { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6284,7 +6284,7 @@ pub mod recovery_points_crr { } } pub mod backup_protected_items_crr { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -6341,7 +6341,7 @@ pub mod backup_protected_items_crr { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/recoveryservicesbackup/src/package_2021_08/operations.rs b/services/mgmt/recoveryservicesbackup/src/package_2021_08/operations.rs index 81dd1a5650..42c0f68f22 100644 --- a/services/mgmt/recoveryservicesbackup/src/package_2021_08/operations.rs +++ b/services/mgmt/recoveryservicesbackup/src/package_2021_08/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod backup_resource_storage_configs_non_crr { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -53,7 +53,7 @@ pub mod backup_resource_storage_configs_non_crr { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -125,7 +125,7 @@ pub mod backup_resource_storage_configs_non_crr { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -192,7 +192,7 @@ pub mod backup_resource_storage_configs_non_crr { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -216,7 +216,7 @@ pub mod backup_resource_storage_configs_non_crr { } } pub mod protection_intent { - use crate::models::*; + use super::{models, models::*}; pub async fn validate( operation_config: &crate::OperationConfig, azure_region: &str, @@ -266,7 +266,7 @@ pub mod protection_intent { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -327,7 +327,7 @@ pub mod protection_intent { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -393,7 +393,7 @@ pub mod protection_intent { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -449,7 +449,7 @@ pub mod protection_intent { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -470,7 +470,7 @@ pub mod protection_intent { } } pub mod backup_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -517,7 +517,7 @@ pub mod backup_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -538,7 +538,7 @@ pub mod backup_status { } } pub mod feature_support { - use crate::models::*; + use super::{models, models::*}; pub async fn validate( operation_config: &crate::OperationConfig, azure_region: &str, @@ -588,7 +588,7 @@ pub mod feature_support { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -609,7 +609,7 @@ pub mod feature_support { } } pub mod backup_protection_intent { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -664,7 +664,7 @@ pub mod backup_protection_intent { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -685,7 +685,7 @@ pub mod backup_protection_intent { } } pub mod backup_usage_summaries { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -740,7 +740,7 @@ pub mod backup_usage_summaries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -761,7 +761,7 @@ pub mod backup_usage_summaries { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.RecoveryServices/operations", operation_config.base_path(),); @@ -797,7 +797,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -818,7 +818,7 @@ pub mod operations { } } pub mod backup_resource_vault_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -867,7 +867,7 @@ pub mod backup_resource_vault_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -939,7 +939,7 @@ pub mod backup_resource_vault_configs { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1011,7 +1011,7 @@ pub mod backup_resource_vault_configs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1035,7 +1035,7 @@ pub mod backup_resource_vault_configs { } } pub mod backup_resource_encryption_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1078,7 +1078,7 @@ pub mod backup_resource_encryption_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1139,7 +1139,7 @@ pub mod backup_resource_encryption_configs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1163,7 +1163,7 @@ pub mod backup_resource_encryption_configs { } } pub mod private_endpoint_connection { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1214,7 +1214,7 @@ pub mod private_endpoint_connection { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1294,7 +1294,7 @@ pub mod private_endpoint_connection { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnectionResource), @@ -1368,7 +1368,7 @@ pub mod private_endpoint_connection { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1398,7 +1398,7 @@ pub mod private_endpoint_connection { } } pub mod private_endpoint { - use crate::models::*; + use super::{models, models::*}; pub async fn get_operation_status( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1446,7 +1446,7 @@ pub mod private_endpoint { } } pub mod get_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1515,7 +1515,7 @@ pub async fn get_operation_status( } } pub mod get_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1582,7 +1582,7 @@ pub async fn bms_prepare_data_move( } } pub mod bms_prepare_data_move { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1654,7 +1654,7 @@ pub async fn bms_trigger_data_move( } } pub mod bms_trigger_data_move { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1727,7 +1727,7 @@ pub async fn move_recovery_point( } } pub mod move_recovery_point { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1750,7 +1750,7 @@ pub mod move_recovery_point { } } pub mod bms_prepare_data_move_operation_result { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1795,7 +1795,7 @@ pub mod bms_prepare_data_move_operation_result { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VaultStorageConfigOperationResultResponse), @@ -1824,7 +1824,7 @@ pub mod bms_prepare_data_move_operation_result { } } pub mod protected_items { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -1874,7 +1874,7 @@ pub mod protected_items { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1947,7 +1947,7 @@ pub mod protected_items { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectedItemResource), @@ -2016,7 +2016,7 @@ pub mod protected_items { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2046,7 +2046,7 @@ pub mod protected_items { } } pub mod protected_item_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2095,7 +2095,7 @@ pub mod protected_item_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectedItemResource), @@ -2125,7 +2125,7 @@ pub mod protected_item_operation_results { } } pub mod recovery_points { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2175,7 +2175,7 @@ pub mod recovery_points { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2243,7 +2243,7 @@ pub mod recovery_points { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2317,7 +2317,7 @@ pub mod recovery_points { } } pub mod get_access_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2343,7 +2343,7 @@ pub mod recovery_points { } } pub mod restores { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2390,7 +2390,7 @@ pub mod restores { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2414,7 +2414,7 @@ pub mod restores { } } pub mod backup_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2467,7 +2467,7 @@ pub mod backup_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2491,7 +2491,7 @@ pub mod backup_policies { } } pub mod protection_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2542,7 +2542,7 @@ pub mod protection_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2620,7 +2620,7 @@ pub mod protection_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionPolicyResource), @@ -2693,7 +2693,7 @@ pub mod protection_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2722,7 +2722,7 @@ pub mod protection_policies { } } pub mod protection_policy_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2775,7 +2775,7 @@ pub mod protection_policy_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2799,7 +2799,7 @@ pub mod protection_policy_operation_results { } } pub mod backup_jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2856,7 +2856,7 @@ pub mod backup_jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2880,7 +2880,7 @@ pub mod backup_jobs { } } pub mod job_details { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -2931,7 +2931,7 @@ pub mod job_details { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2955,7 +2955,7 @@ pub mod job_details { } } pub mod job_cancellations { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3005,7 +3005,7 @@ pub mod job_cancellations { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3029,7 +3029,7 @@ pub mod job_cancellations { } } pub mod job_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3079,7 +3079,7 @@ pub mod job_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3109,7 +3109,7 @@ pub mod job_operation_results { } } pub mod export_jobs_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3166,7 +3166,7 @@ pub mod export_jobs_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationResultInfoBaseResource), @@ -3195,7 +3195,7 @@ pub mod export_jobs_operation_results { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn export( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3244,7 +3244,7 @@ pub mod jobs { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3268,7 +3268,7 @@ pub mod jobs { } } pub mod backup_protected_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3325,7 +3325,7 @@ pub mod backup_protected_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3349,7 +3349,7 @@ pub mod backup_protected_items { } } pub mod operation { - use crate::models::*; + use super::{models, models::*}; pub async fn validate( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3403,7 +3403,7 @@ pub mod operation { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3427,7 +3427,7 @@ pub mod operation { } } pub mod backup_engines { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3484,7 +3484,7 @@ pub mod backup_engines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3564,7 +3564,7 @@ pub mod backup_engines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3588,7 +3588,7 @@ pub mod backup_engines { } } pub mod protection_container_refresh_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3637,7 +3637,7 @@ pub mod protection_container_refresh_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3666,7 +3666,7 @@ pub mod protection_container_refresh_operation_results { } } pub mod protectable_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3721,7 +3721,7 @@ pub mod protectable_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3745,7 +3745,7 @@ pub mod protectable_containers { } } pub mod protection_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -3798,7 +3798,7 @@ pub mod protection_containers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3878,7 +3878,7 @@ pub mod protection_containers { } } pub mod register { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainerResource), @@ -3957,7 +3957,7 @@ pub mod protection_containers { } } pub mod unregister { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4032,7 +4032,7 @@ pub mod protection_containers { } } pub mod inquire { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4107,7 +4107,7 @@ pub mod protection_containers { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4131,7 +4131,7 @@ pub mod protection_containers { } } pub mod backup_workload_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4184,7 +4184,7 @@ pub mod backup_workload_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4208,7 +4208,7 @@ pub mod backup_workload_items { } } pub mod protection_container_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4256,7 +4256,7 @@ pub mod protection_container_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainerResource), @@ -4286,7 +4286,7 @@ pub mod protection_container_operation_results { } } pub mod backups { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4332,7 +4332,7 @@ pub mod backups { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4356,7 +4356,7 @@ pub mod backups { } } pub mod protected_item_operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4403,7 +4403,7 @@ pub mod protected_item_operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4427,7 +4427,7 @@ pub mod protected_item_operation_statuses { } } pub mod item_level_recovery_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn provision( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4474,7 +4474,7 @@ pub mod item_level_recovery_connections { } } pub mod provision { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4538,7 +4538,7 @@ pub mod item_level_recovery_connections { } } pub mod revoke { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4562,7 +4562,7 @@ pub mod item_level_recovery_connections { } } pub mod backup_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4610,7 +4610,7 @@ pub mod backup_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4640,7 +4640,7 @@ pub mod backup_operation_results { } } pub mod backup_operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4691,7 +4691,7 @@ pub mod backup_operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4715,7 +4715,7 @@ pub mod backup_operation_statuses { } } pub mod protection_policy_operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4768,7 +4768,7 @@ pub mod protection_policy_operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4792,7 +4792,7 @@ pub mod protection_policy_operation_statuses { } } pub mod backup_protectable_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4849,7 +4849,7 @@ pub mod backup_protectable_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4873,7 +4873,7 @@ pub mod backup_protectable_items { } } pub mod backup_protection_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -4926,7 +4926,7 @@ pub mod backup_protection_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4950,7 +4950,7 @@ pub mod backup_protection_containers { } } pub mod security_pi_ns { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -5005,7 +5005,7 @@ pub mod security_pi_ns { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5029,7 +5029,7 @@ pub mod security_pi_ns { } } pub mod recovery_points_recommended_for_move { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -5077,7 +5077,7 @@ pub mod recovery_points_recommended_for_move { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5101,7 +5101,7 @@ pub mod recovery_points_recommended_for_move { } } pub mod resource_guard_proxies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -5150,7 +5150,7 @@ pub mod resource_guard_proxies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5174,7 +5174,7 @@ pub mod resource_guard_proxies { } } pub mod resource_guard_proxy { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -5225,7 +5225,7 @@ pub mod resource_guard_proxy { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5297,7 +5297,7 @@ pub mod resource_guard_proxy { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5365,7 +5365,7 @@ pub mod resource_guard_proxy { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5440,7 +5440,7 @@ pub mod resource_guard_proxy { } } pub mod unlock_delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5464,7 +5464,7 @@ pub mod resource_guard_proxy { } } pub mod backup_usage_summaries_crr { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -5521,7 +5521,7 @@ pub mod backup_usage_summaries_crr { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5545,7 +5545,7 @@ pub mod backup_usage_summaries_crr { } } pub mod aad_properties { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5596,7 +5596,7 @@ pub mod aad_properties { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5620,7 +5620,7 @@ pub mod aad_properties { } } pub mod cross_region_restore { - use crate::models::*; + use super::{models, models::*}; pub async fn trigger( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5668,7 +5668,7 @@ pub mod cross_region_restore { } } pub mod trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5697,7 +5697,7 @@ pub mod cross_region_restore { } } pub mod backup_crr_job_details { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5746,7 +5746,7 @@ pub mod backup_crr_job_details { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5770,7 +5770,7 @@ pub mod backup_crr_job_details { } } pub mod backup_crr_jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5827,7 +5827,7 @@ pub mod backup_crr_jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5851,7 +5851,7 @@ pub mod backup_crr_jobs { } } pub mod crr_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5896,7 +5896,7 @@ pub mod crr_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5925,7 +5925,7 @@ pub mod crr_operation_results { } } pub mod crr_operation_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, azure_region: &str, @@ -5974,7 +5974,7 @@ pub mod crr_operation_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5998,7 +5998,7 @@ pub mod crr_operation_status { } } pub mod backup_resource_storage_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, vault_name: &str, @@ -6047,7 +6047,7 @@ pub mod backup_resource_storage_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6119,7 +6119,7 @@ pub mod backup_resource_storage_configs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6186,7 +6186,7 @@ pub mod backup_resource_storage_configs { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6210,7 +6210,7 @@ pub mod backup_resource_storage_configs { } } pub mod recovery_points_crr { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -6260,7 +6260,7 @@ pub mod recovery_points_crr { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6284,7 +6284,7 @@ pub mod recovery_points_crr { } } pub mod backup_protected_items_crr { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, vault_name: &str, @@ -6341,7 +6341,7 @@ pub mod backup_protected_items_crr { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/recoveryservicessiterecovery/Cargo.toml b/services/mgmt/recoveryservicessiterecovery/Cargo.toml index f1e14ba587..3d18fa95f5 100644 --- a/services/mgmt/recoveryservicessiterecovery/Cargo.toml +++ b/services/mgmt/recoveryservicessiterecovery/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-08"] +no-default-version = [] "package-2021-08" = [] "package-2021-07" = [] "package-2021-06" = [] diff --git a/services/mgmt/recoveryservicessiterecovery/src/lib.rs b/services/mgmt/recoveryservicessiterecovery/src/lib.rs index 655ef844fe..85feadcaca 100644 --- a/services/mgmt/recoveryservicessiterecovery/src/lib.rs +++ b/services/mgmt/recoveryservicessiterecovery/src/lib.rs @@ -1,37 +1,45 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-08")] -mod package_2021_08; -#[cfg(feature = "package-2021-08")] +pub mod package_2021_08; +#[cfg(all(feature = "package-2021-08", not(feature = "no-default-version")))] pub use package_2021_08::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-07")] -mod package_2021_07; -#[cfg(feature = "package-2021-07")] +pub mod package_2021_07; +#[cfg(all(feature = "package-2021-07", not(feature = "no-default-version")))] pub use package_2021_07::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-06")] -mod package_2021_06; -#[cfg(feature = "package-2021-06")] +pub mod package_2021_06; +#[cfg(all(feature = "package-2021-06", not(feature = "no-default-version")))] pub use package_2021_06::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-04")] -mod package_2021_04; -#[cfg(feature = "package-2021-04")] +pub mod package_2021_04; +#[cfg(all(feature = "package-2021-04", not(feature = "no-default-version")))] pub use package_2021_04::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-03")] -mod package_2021_03; -#[cfg(feature = "package-2021-03")] +pub mod package_2021_03; +#[cfg(all(feature = "package-2021-03", not(feature = "no-default-version")))] pub use package_2021_03::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-02")] -mod package_2021_02; -#[cfg(feature = "package-2021-02")] +pub mod package_2021_02; +#[cfg(all(feature = "package-2021-02", not(feature = "no-default-version")))] pub use package_2021_02::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-07")] -mod package_2018_07; -#[cfg(feature = "package-2018-07")] +pub mod package_2018_07; +#[cfg(all(feature = "package-2018-07", not(feature = "no-default-version")))] pub use package_2018_07::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-01")] -mod package_2018_01; +pub mod package_2018_01; use azure_core::setters; -#[cfg(feature = "package-2018-01")] +#[cfg(all(feature = "package-2018-01", not(feature = "no-default-version")))] pub use package_2018_01::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -55,7 +63,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/recoveryservicessiterecovery/src/package_2018_01/operations.rs b/services/mgmt/recoveryservicessiterecovery/src/package_2018_01/operations.rs index 983732311f..6d6c732342 100644 --- a/services/mgmt/recoveryservicessiterecovery/src/package_2018_01/operations.rs +++ b/services/mgmt/recoveryservicessiterecovery/src/package_2018_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -49,7 +49,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -70,7 +70,7 @@ pub mod operations { } } pub mod replication_alert_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -117,7 +117,7 @@ pub mod replication_alert_settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub mod replication_alert_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -253,7 +253,7 @@ pub mod replication_alert_settings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -274,7 +274,7 @@ pub mod replication_alert_settings { } } pub mod replication_events { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -325,7 +325,7 @@ pub mod replication_events { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -392,7 +392,7 @@ pub mod replication_events { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -413,7 +413,7 @@ pub mod replication_events { } } pub mod replication_fabrics { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -460,7 +460,7 @@ pub mod replication_fabrics { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -527,7 +527,7 @@ pub mod replication_fabrics { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -597,7 +597,7 @@ pub mod replication_fabrics { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Fabric), @@ -665,7 +665,7 @@ pub mod replication_fabrics { } } pub mod purge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -742,7 +742,7 @@ pub mod replication_fabrics { } } pub mod check_consistency { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Fabric), @@ -814,7 +814,7 @@ pub mod replication_fabrics { } } pub mod migrate_to_aad { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -892,7 +892,7 @@ pub mod replication_fabrics { } } pub mod reassociate_gateway { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Fabric), @@ -961,7 +961,7 @@ pub mod replication_fabrics { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1039,7 +1039,7 @@ pub mod replication_fabrics { } } pub mod renew_certificate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Fabric), @@ -1065,7 +1065,7 @@ pub mod replication_fabrics { } } pub mod replication_logical_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_fabrics( operation_config: &crate::OperationConfig, resource_name: &str, @@ -1112,7 +1112,7 @@ pub mod replication_logical_networks { } } pub mod list_by_replication_fabrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1173,7 +1173,7 @@ pub mod replication_logical_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1194,7 +1194,7 @@ pub mod replication_logical_networks { } } pub mod replication_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_fabrics( operation_config: &crate::OperationConfig, resource_name: &str, @@ -1241,7 +1241,7 @@ pub mod replication_networks { } } pub mod list_by_replication_fabrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1302,7 +1302,7 @@ pub mod replication_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1367,7 +1367,7 @@ pub mod replication_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1388,7 +1388,7 @@ pub mod replication_networks { } } pub mod replication_network_mappings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_networks( operation_config: &crate::OperationConfig, resource_name: &str, @@ -1436,7 +1436,7 @@ pub mod replication_network_mappings { } } pub mod list_by_replication_networks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1498,7 +1498,7 @@ pub mod replication_network_mappings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1563,7 +1563,7 @@ pub mod replication_network_mappings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkMapping), @@ -1633,7 +1633,7 @@ pub mod replication_network_mappings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkMapping), @@ -1696,7 +1696,7 @@ pub mod replication_network_mappings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1766,7 +1766,7 @@ pub mod replication_network_mappings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1787,7 +1787,7 @@ pub mod replication_network_mappings { } } pub mod replication_protection_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_fabrics( operation_config: &crate::OperationConfig, resource_name: &str, @@ -1834,7 +1834,7 @@ pub mod replication_protection_containers { } } pub mod list_by_replication_fabrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1895,7 +1895,7 @@ pub mod replication_protection_containers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1959,7 +1959,7 @@ pub mod replication_protection_containers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainer), @@ -2033,7 +2033,7 @@ pub mod replication_protection_containers { } } pub mod discover_protectable_item { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainer), @@ -2096,7 +2096,7 @@ pub mod replication_protection_containers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2168,7 +2168,7 @@ pub mod replication_protection_containers { } } pub mod switch_protection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainer), @@ -2238,7 +2238,7 @@ pub mod replication_protection_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2259,7 +2259,7 @@ pub mod replication_protection_containers { } } pub mod replication_migration_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_protection_containers( operation_config: &crate::OperationConfig, resource_name: &str, @@ -2307,7 +2307,7 @@ pub mod replication_migration_items { } } pub mod list_by_replication_protection_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2369,7 +2369,7 @@ pub mod replication_migration_items { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2434,7 +2434,7 @@ pub mod replication_migration_items { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MigrationItem), @@ -2504,7 +2504,7 @@ pub mod replication_migration_items { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MigrationItem), @@ -2571,7 +2571,7 @@ pub mod replication_migration_items { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2644,7 +2644,7 @@ pub mod replication_migration_items { } } pub mod migrate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MigrationItem), @@ -2714,7 +2714,7 @@ pub mod replication_migration_items { } } pub mod resync { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MigrationItem), @@ -2787,7 +2787,7 @@ pub mod replication_migration_items { } } pub mod test_migrate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MigrationItem), @@ -2860,7 +2860,7 @@ pub mod replication_migration_items { } } pub mod test_migrate_cleanup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MigrationItem), @@ -2938,7 +2938,7 @@ pub mod replication_migration_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2959,7 +2959,7 @@ pub mod replication_migration_items { } } pub mod migration_recovery_points { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_migration_items( operation_config: &crate::OperationConfig, resource_name: &str, @@ -3008,7 +3008,7 @@ pub mod migration_recovery_points { } } pub mod list_by_replication_migration_items { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3071,7 +3071,7 @@ pub mod migration_recovery_points { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3092,7 +3092,7 @@ pub mod migration_recovery_points { } } pub mod replication_protectable_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_protection_containers( operation_config: &crate::OperationConfig, resource_name: &str, @@ -3144,7 +3144,7 @@ pub mod replication_protectable_items { } } pub mod list_by_replication_protection_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3206,7 +3206,7 @@ pub mod replication_protectable_items { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3227,7 +3227,7 @@ pub mod replication_protectable_items { } } pub mod replication_protected_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_protection_containers( operation_config: &crate::OperationConfig, resource_name: &str, @@ -3275,7 +3275,7 @@ pub mod replication_protected_items { } } pub mod list_by_replication_protection_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3337,7 +3337,7 @@ pub mod replication_protected_items { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3402,7 +3402,7 @@ pub mod replication_protected_items { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -3472,7 +3472,7 @@ pub mod replication_protected_items { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -3535,7 +3535,7 @@ pub mod replication_protected_items { } } pub mod purge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3608,7 +3608,7 @@ pub mod replication_protected_items { } } pub mod apply_recovery_point { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -3680,7 +3680,7 @@ pub mod replication_protected_items { } } pub mod failover_commit { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -3753,7 +3753,7 @@ pub mod replication_protected_items { } } pub mod planned_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -3818,7 +3818,7 @@ pub mod replication_protected_items { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3890,7 +3890,7 @@ pub mod replication_protected_items { } } pub mod repair_replication { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -3963,7 +3963,7 @@ pub mod replication_protected_items { } } pub mod reprotect { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4036,7 +4036,7 @@ pub mod replication_protected_items { } } pub mod test_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4111,7 +4111,7 @@ pub mod replication_protected_items { } } pub mod test_failover_cleanup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4184,7 +4184,7 @@ pub mod replication_protected_items { } } pub mod unplanned_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4259,7 +4259,7 @@ pub mod replication_protected_items { } } pub mod update_mobility_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4337,7 +4337,7 @@ pub mod replication_protected_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4358,7 +4358,7 @@ pub mod replication_protected_items { } } pub mod recovery_points { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_protected_items( operation_config: &crate::OperationConfig, resource_name: &str, @@ -4407,7 +4407,7 @@ pub mod recovery_points { } } pub mod list_by_replication_protected_items { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4470,7 +4470,7 @@ pub mod recovery_points { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4491,7 +4491,7 @@ pub mod recovery_points { } } pub mod target_compute_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_protected_items( operation_config: &crate::OperationConfig, resource_name: &str, @@ -4540,7 +4540,7 @@ pub mod target_compute_sizes { } } pub mod list_by_replication_protected_items { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4561,7 +4561,7 @@ pub mod target_compute_sizes { } } pub mod replication_protection_container_mappings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_protection_containers( operation_config: &crate::OperationConfig, resource_name: &str, @@ -4609,7 +4609,7 @@ pub mod replication_protection_container_mappings { } } pub mod list_by_replication_protection_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4671,7 +4671,7 @@ pub mod replication_protection_container_mappings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4736,7 +4736,7 @@ pub mod replication_protection_container_mappings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainerMapping), @@ -4806,7 +4806,7 @@ pub mod replication_protection_container_mappings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainerMapping), @@ -4869,7 +4869,7 @@ pub mod replication_protection_container_mappings { } } pub mod purge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4934,7 +4934,7 @@ pub mod replication_protection_container_mappings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5004,7 +5004,7 @@ pub mod replication_protection_container_mappings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5025,7 +5025,7 @@ pub mod replication_protection_container_mappings { } } pub mod replication_recovery_services_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_fabrics( operation_config: &crate::OperationConfig, resource_name: &str, @@ -5072,7 +5072,7 @@ pub mod replication_recovery_services_providers { } } pub mod list_by_replication_fabrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5133,7 +5133,7 @@ pub mod replication_recovery_services_providers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5197,7 +5197,7 @@ pub mod replication_recovery_services_providers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryServicesProvider), @@ -5259,7 +5259,7 @@ pub mod replication_recovery_services_providers { } } pub mod purge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5330,7 +5330,7 @@ pub mod replication_recovery_services_providers { } } pub mod refresh_provider { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryServicesProvider), @@ -5393,7 +5393,7 @@ pub mod replication_recovery_services_providers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5463,7 +5463,7 @@ pub mod replication_recovery_services_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5484,7 +5484,7 @@ pub mod replication_recovery_services_providers { } } pub mod replication_storage_classifications { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_fabrics( operation_config: &crate::OperationConfig, resource_name: &str, @@ -5531,7 +5531,7 @@ pub mod replication_storage_classifications { } } pub mod list_by_replication_fabrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5592,7 +5592,7 @@ pub mod replication_storage_classifications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5657,7 +5657,7 @@ pub mod replication_storage_classifications { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5678,7 +5678,7 @@ pub mod replication_storage_classifications { } } pub mod replication_storage_classification_mappings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_storage_classifications( operation_config: &crate::OperationConfig, resource_name: &str, @@ -5726,7 +5726,7 @@ pub mod replication_storage_classification_mappings { } } pub mod list_by_replication_storage_classifications { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5788,7 +5788,7 @@ pub mod replication_storage_classification_mappings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5853,7 +5853,7 @@ pub mod replication_storage_classification_mappings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageClassificationMapping), @@ -5916,7 +5916,7 @@ pub mod replication_storage_classification_mappings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5986,7 +5986,7 @@ pub mod replication_storage_classification_mappings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6007,7 +6007,7 @@ pub mod replication_storage_classification_mappings { } } pub mod replicationv_centers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_fabrics( operation_config: &crate::OperationConfig, resource_name: &str, @@ -6054,7 +6054,7 @@ pub mod replicationv_centers { } } pub mod list_by_replication_fabrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6115,7 +6115,7 @@ pub mod replicationv_centers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6179,7 +6179,7 @@ pub mod replicationv_centers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VCenter), @@ -6248,7 +6248,7 @@ pub mod replicationv_centers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VCenter), @@ -6310,7 +6310,7 @@ pub mod replicationv_centers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6380,7 +6380,7 @@ pub mod replicationv_centers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6401,7 +6401,7 @@ pub mod replicationv_centers { } } pub mod replication_jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -6452,7 +6452,7 @@ pub mod replication_jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6519,7 +6519,7 @@ pub mod replication_jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6588,7 +6588,7 @@ pub mod replication_jobs { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Job), @@ -6665,7 +6665,7 @@ pub mod replication_jobs { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Job), @@ -6740,7 +6740,7 @@ pub mod replication_jobs { } } pub mod resume { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Job), @@ -6813,7 +6813,7 @@ pub mod replication_jobs { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Job), @@ -6839,7 +6839,7 @@ pub mod replication_jobs { } } pub mod replication_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -6886,7 +6886,7 @@ pub mod replication_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6953,7 +6953,7 @@ pub mod replication_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7023,7 +7023,7 @@ pub mod replication_policies { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Policy), @@ -7098,7 +7098,7 @@ pub mod replication_policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Policy), @@ -7166,7 +7166,7 @@ pub mod replication_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7192,7 +7192,7 @@ pub mod replication_policies { } } pub mod replication_recovery_plans { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -7239,7 +7239,7 @@ pub mod replication_recovery_plans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7306,7 +7306,7 @@ pub mod replication_recovery_plans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7376,7 +7376,7 @@ pub mod replication_recovery_plans { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -7451,7 +7451,7 @@ pub mod replication_recovery_plans { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -7519,7 +7519,7 @@ pub mod replication_recovery_plans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7589,7 +7589,7 @@ pub mod replication_recovery_plans { } } pub mod failover_commit { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -7660,7 +7660,7 @@ pub mod replication_recovery_plans { } } pub mod planned_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -7737,7 +7737,7 @@ pub mod replication_recovery_plans { } } pub mod reprotect { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -7815,7 +7815,7 @@ pub mod replication_recovery_plans { } } pub mod test_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -7888,7 +7888,7 @@ pub mod replication_recovery_plans { } } pub mod test_failover_cleanup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -7959,7 +7959,7 @@ pub mod replication_recovery_plans { } } pub mod unplanned_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -7985,7 +7985,7 @@ pub mod replication_recovery_plans { } } pub mod replication_vault_health { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_name: &str, @@ -8032,7 +8032,7 @@ pub mod replication_vault_health { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8102,7 +8102,7 @@ pub mod replication_vault_health { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VaultHealthDetails), diff --git a/services/mgmt/recoveryservicessiterecovery/src/package_2018_07/operations.rs b/services/mgmt/recoveryservicessiterecovery/src/package_2018_07/operations.rs index a14c70a2c9..17e41ff948 100644 --- a/services/mgmt/recoveryservicessiterecovery/src/package_2018_07/operations.rs +++ b/services/mgmt/recoveryservicessiterecovery/src/package_2018_07/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -49,7 +49,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -70,7 +70,7 @@ pub mod operations { } } pub mod replication_alert_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -117,7 +117,7 @@ pub mod replication_alert_settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub mod replication_alert_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -253,7 +253,7 @@ pub mod replication_alert_settings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -274,7 +274,7 @@ pub mod replication_alert_settings { } } pub mod replication_eligibility_results { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -315,7 +315,7 @@ pub mod replication_eligibility_results { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -374,7 +374,7 @@ pub mod replication_eligibility_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -395,7 +395,7 @@ pub mod replication_eligibility_results { } } pub mod replication_events { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -446,7 +446,7 @@ pub mod replication_events { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -513,7 +513,7 @@ pub mod replication_events { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -534,7 +534,7 @@ pub mod replication_events { } } pub mod replication_fabrics { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -581,7 +581,7 @@ pub mod replication_fabrics { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -648,7 +648,7 @@ pub mod replication_fabrics { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -718,7 +718,7 @@ pub mod replication_fabrics { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Fabric), @@ -786,7 +786,7 @@ pub mod replication_fabrics { } } pub mod purge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -863,7 +863,7 @@ pub mod replication_fabrics { } } pub mod check_consistency { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Fabric), @@ -935,7 +935,7 @@ pub mod replication_fabrics { } } pub mod migrate_to_aad { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1013,7 +1013,7 @@ pub mod replication_fabrics { } } pub mod reassociate_gateway { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Fabric), @@ -1082,7 +1082,7 @@ pub mod replication_fabrics { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1160,7 +1160,7 @@ pub mod replication_fabrics { } } pub mod renew_certificate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Fabric), @@ -1186,7 +1186,7 @@ pub mod replication_fabrics { } } pub mod replication_logical_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_fabrics( operation_config: &crate::OperationConfig, resource_name: &str, @@ -1233,7 +1233,7 @@ pub mod replication_logical_networks { } } pub mod list_by_replication_fabrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1294,7 +1294,7 @@ pub mod replication_logical_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1315,7 +1315,7 @@ pub mod replication_logical_networks { } } pub mod replication_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_fabrics( operation_config: &crate::OperationConfig, resource_name: &str, @@ -1362,7 +1362,7 @@ pub mod replication_networks { } } pub mod list_by_replication_fabrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1423,7 +1423,7 @@ pub mod replication_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1488,7 +1488,7 @@ pub mod replication_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1509,7 +1509,7 @@ pub mod replication_networks { } } pub mod replication_network_mappings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_networks( operation_config: &crate::OperationConfig, resource_name: &str, @@ -1557,7 +1557,7 @@ pub mod replication_network_mappings { } } pub mod list_by_replication_networks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1619,7 +1619,7 @@ pub mod replication_network_mappings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1684,7 +1684,7 @@ pub mod replication_network_mappings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkMapping), @@ -1754,7 +1754,7 @@ pub mod replication_network_mappings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkMapping), @@ -1817,7 +1817,7 @@ pub mod replication_network_mappings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1887,7 +1887,7 @@ pub mod replication_network_mappings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1908,7 +1908,7 @@ pub mod replication_network_mappings { } } pub mod replication_protection_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_fabrics( operation_config: &crate::OperationConfig, resource_name: &str, @@ -1955,7 +1955,7 @@ pub mod replication_protection_containers { } } pub mod list_by_replication_fabrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2016,7 +2016,7 @@ pub mod replication_protection_containers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2080,7 +2080,7 @@ pub mod replication_protection_containers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainer), @@ -2154,7 +2154,7 @@ pub mod replication_protection_containers { } } pub mod discover_protectable_item { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainer), @@ -2217,7 +2217,7 @@ pub mod replication_protection_containers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2289,7 +2289,7 @@ pub mod replication_protection_containers { } } pub mod switch_protection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainer), @@ -2359,7 +2359,7 @@ pub mod replication_protection_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2380,7 +2380,7 @@ pub mod replication_protection_containers { } } pub mod replication_migration_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_protection_containers( operation_config: &crate::OperationConfig, resource_name: &str, @@ -2428,7 +2428,7 @@ pub mod replication_migration_items { } } pub mod list_by_replication_protection_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2490,7 +2490,7 @@ pub mod replication_migration_items { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2555,7 +2555,7 @@ pub mod replication_migration_items { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MigrationItem), @@ -2625,7 +2625,7 @@ pub mod replication_migration_items { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MigrationItem), @@ -2692,7 +2692,7 @@ pub mod replication_migration_items { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2765,7 +2765,7 @@ pub mod replication_migration_items { } } pub mod migrate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MigrationItem), @@ -2838,7 +2838,7 @@ pub mod replication_migration_items { } } pub mod test_migrate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MigrationItem), @@ -2911,7 +2911,7 @@ pub mod replication_migration_items { } } pub mod test_migrate_cleanup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MigrationItem), @@ -2989,7 +2989,7 @@ pub mod replication_migration_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3010,7 +3010,7 @@ pub mod replication_migration_items { } } pub mod migration_recovery_points { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_migration_items( operation_config: &crate::OperationConfig, resource_name: &str, @@ -3059,7 +3059,7 @@ pub mod migration_recovery_points { } } pub mod list_by_replication_migration_items { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3122,7 +3122,7 @@ pub mod migration_recovery_points { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3143,7 +3143,7 @@ pub mod migration_recovery_points { } } pub mod replication_protectable_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_protection_containers( operation_config: &crate::OperationConfig, resource_name: &str, @@ -3195,7 +3195,7 @@ pub mod replication_protectable_items { } } pub mod list_by_replication_protection_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3257,7 +3257,7 @@ pub mod replication_protectable_items { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3278,7 +3278,7 @@ pub mod replication_protectable_items { } } pub mod replication_protected_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_protection_containers( operation_config: &crate::OperationConfig, resource_name: &str, @@ -3326,7 +3326,7 @@ pub mod replication_protected_items { } } pub mod list_by_replication_protection_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3388,7 +3388,7 @@ pub mod replication_protected_items { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3453,7 +3453,7 @@ pub mod replication_protected_items { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -3523,7 +3523,7 @@ pub mod replication_protected_items { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -3586,7 +3586,7 @@ pub mod replication_protected_items { } } pub mod purge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3659,7 +3659,7 @@ pub mod replication_protected_items { } } pub mod add_disks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -3732,7 +3732,7 @@ pub mod replication_protected_items { } } pub mod apply_recovery_point { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -3804,7 +3804,7 @@ pub mod replication_protected_items { } } pub mod failover_commit { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -3877,7 +3877,7 @@ pub mod replication_protected_items { } } pub mod planned_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -3942,7 +3942,7 @@ pub mod replication_protected_items { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4015,7 +4015,7 @@ pub mod replication_protected_items { } } pub mod remove_disks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4087,7 +4087,7 @@ pub mod replication_protected_items { } } pub mod repair_replication { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4160,7 +4160,7 @@ pub mod replication_protected_items { } } pub mod reprotect { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4235,7 +4235,7 @@ pub mod replication_protected_items { } } pub mod resolve_health_errors { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4308,7 +4308,7 @@ pub mod replication_protected_items { } } pub mod test_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4383,7 +4383,7 @@ pub mod replication_protected_items { } } pub mod test_failover_cleanup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4456,7 +4456,7 @@ pub mod replication_protected_items { } } pub mod unplanned_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4531,7 +4531,7 @@ pub mod replication_protected_items { } } pub mod update_mobility_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4609,7 +4609,7 @@ pub mod replication_protected_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4630,7 +4630,7 @@ pub mod replication_protected_items { } } pub mod recovery_points { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_protected_items( operation_config: &crate::OperationConfig, resource_name: &str, @@ -4679,7 +4679,7 @@ pub mod recovery_points { } } pub mod list_by_replication_protected_items { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4742,7 +4742,7 @@ pub mod recovery_points { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4763,7 +4763,7 @@ pub mod recovery_points { } } pub mod target_compute_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_protected_items( operation_config: &crate::OperationConfig, resource_name: &str, @@ -4812,7 +4812,7 @@ pub mod target_compute_sizes { } } pub mod list_by_replication_protected_items { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4833,7 +4833,7 @@ pub mod target_compute_sizes { } } pub mod replication_protection_container_mappings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_protection_containers( operation_config: &crate::OperationConfig, resource_name: &str, @@ -4881,7 +4881,7 @@ pub mod replication_protection_container_mappings { } } pub mod list_by_replication_protection_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4943,7 +4943,7 @@ pub mod replication_protection_container_mappings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5008,7 +5008,7 @@ pub mod replication_protection_container_mappings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainerMapping), @@ -5078,7 +5078,7 @@ pub mod replication_protection_container_mappings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainerMapping), @@ -5141,7 +5141,7 @@ pub mod replication_protection_container_mappings { } } pub mod purge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5206,7 +5206,7 @@ pub mod replication_protection_container_mappings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5276,7 +5276,7 @@ pub mod replication_protection_container_mappings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5297,7 +5297,7 @@ pub mod replication_protection_container_mappings { } } pub mod replication_protection_intents { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -5344,7 +5344,7 @@ pub mod replication_protection_intents { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5411,7 +5411,7 @@ pub mod replication_protection_intents { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5480,7 +5480,7 @@ pub mod replication_protection_intents { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5501,7 +5501,7 @@ pub mod replication_protection_intents { } } pub mod replication_recovery_services_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_fabrics( operation_config: &crate::OperationConfig, resource_name: &str, @@ -5548,7 +5548,7 @@ pub mod replication_recovery_services_providers { } } pub mod list_by_replication_fabrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5609,7 +5609,7 @@ pub mod replication_recovery_services_providers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5673,7 +5673,7 @@ pub mod replication_recovery_services_providers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryServicesProvider), @@ -5735,7 +5735,7 @@ pub mod replication_recovery_services_providers { } } pub mod purge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5806,7 +5806,7 @@ pub mod replication_recovery_services_providers { } } pub mod refresh_provider { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryServicesProvider), @@ -5869,7 +5869,7 @@ pub mod replication_recovery_services_providers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5939,7 +5939,7 @@ pub mod replication_recovery_services_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5960,7 +5960,7 @@ pub mod replication_recovery_services_providers { } } pub mod replication_storage_classifications { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_fabrics( operation_config: &crate::OperationConfig, resource_name: &str, @@ -6007,7 +6007,7 @@ pub mod replication_storage_classifications { } } pub mod list_by_replication_fabrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6068,7 +6068,7 @@ pub mod replication_storage_classifications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6133,7 +6133,7 @@ pub mod replication_storage_classifications { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6154,7 +6154,7 @@ pub mod replication_storage_classifications { } } pub mod replication_storage_classification_mappings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_storage_classifications( operation_config: &crate::OperationConfig, resource_name: &str, @@ -6202,7 +6202,7 @@ pub mod replication_storage_classification_mappings { } } pub mod list_by_replication_storage_classifications { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6264,7 +6264,7 @@ pub mod replication_storage_classification_mappings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6329,7 +6329,7 @@ pub mod replication_storage_classification_mappings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageClassificationMapping), @@ -6392,7 +6392,7 @@ pub mod replication_storage_classification_mappings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6462,7 +6462,7 @@ pub mod replication_storage_classification_mappings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6483,7 +6483,7 @@ pub mod replication_storage_classification_mappings { } } pub mod replicationv_centers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_fabrics( operation_config: &crate::OperationConfig, resource_name: &str, @@ -6530,7 +6530,7 @@ pub mod replicationv_centers { } } pub mod list_by_replication_fabrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6591,7 +6591,7 @@ pub mod replicationv_centers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6655,7 +6655,7 @@ pub mod replicationv_centers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VCenter), @@ -6724,7 +6724,7 @@ pub mod replicationv_centers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VCenter), @@ -6786,7 +6786,7 @@ pub mod replicationv_centers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6856,7 +6856,7 @@ pub mod replicationv_centers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6877,7 +6877,7 @@ pub mod replicationv_centers { } } pub mod replication_jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -6928,7 +6928,7 @@ pub mod replication_jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6995,7 +6995,7 @@ pub mod replication_jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7064,7 +7064,7 @@ pub mod replication_jobs { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Job), @@ -7141,7 +7141,7 @@ pub mod replication_jobs { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Job), @@ -7216,7 +7216,7 @@ pub mod replication_jobs { } } pub mod resume { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Job), @@ -7289,7 +7289,7 @@ pub mod replication_jobs { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Job), @@ -7315,7 +7315,7 @@ pub mod replication_jobs { } } pub mod replication_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -7362,7 +7362,7 @@ pub mod replication_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7429,7 +7429,7 @@ pub mod replication_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7499,7 +7499,7 @@ pub mod replication_policies { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Policy), @@ -7574,7 +7574,7 @@ pub mod replication_policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Policy), @@ -7642,7 +7642,7 @@ pub mod replication_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7668,7 +7668,7 @@ pub mod replication_policies { } } pub mod replication_recovery_plans { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -7715,7 +7715,7 @@ pub mod replication_recovery_plans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7782,7 +7782,7 @@ pub mod replication_recovery_plans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7852,7 +7852,7 @@ pub mod replication_recovery_plans { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -7927,7 +7927,7 @@ pub mod replication_recovery_plans { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -7995,7 +7995,7 @@ pub mod replication_recovery_plans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8065,7 +8065,7 @@ pub mod replication_recovery_plans { } } pub mod failover_commit { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8136,7 +8136,7 @@ pub mod replication_recovery_plans { } } pub mod planned_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8213,7 +8213,7 @@ pub mod replication_recovery_plans { } } pub mod reprotect { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8291,7 +8291,7 @@ pub mod replication_recovery_plans { } } pub mod test_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8364,7 +8364,7 @@ pub mod replication_recovery_plans { } } pub mod test_failover_cleanup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8435,7 +8435,7 @@ pub mod replication_recovery_plans { } } pub mod unplanned_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8461,7 +8461,7 @@ pub mod replication_recovery_plans { } } pub mod supported_operating_systems { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_name: &str, @@ -8508,7 +8508,7 @@ pub mod supported_operating_systems { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8529,7 +8529,7 @@ pub mod supported_operating_systems { } } pub mod replication_vault_health { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_name: &str, @@ -8576,7 +8576,7 @@ pub mod replication_vault_health { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8646,7 +8646,7 @@ pub mod replication_vault_health { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VaultHealthDetails), @@ -8672,7 +8672,7 @@ pub mod replication_vault_health { } } pub mod replication_vault_setting { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -8719,7 +8719,7 @@ pub mod replication_vault_setting { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8786,7 +8786,7 @@ pub mod replication_vault_setting { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8855,7 +8855,7 @@ pub mod replication_vault_setting { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/recoveryservicessiterecovery/src/package_2021_02/operations.rs b/services/mgmt/recoveryservicessiterecovery/src/package_2021_02/operations.rs index bc9f10343f..0ae84264c8 100644 --- a/services/mgmt/recoveryservicessiterecovery/src/package_2021_02/operations.rs +++ b/services/mgmt/recoveryservicessiterecovery/src/package_2021_02/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -49,7 +49,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -70,7 +70,7 @@ pub mod operations { } } pub mod replication_alert_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -117,7 +117,7 @@ pub mod replication_alert_settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub mod replication_alert_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -253,7 +253,7 @@ pub mod replication_alert_settings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -274,7 +274,7 @@ pub mod replication_alert_settings { } } pub mod replication_eligibility_results { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -315,7 +315,7 @@ pub mod replication_eligibility_results { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -374,7 +374,7 @@ pub mod replication_eligibility_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -395,7 +395,7 @@ pub mod replication_eligibility_results { } } pub mod replication_events { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -446,7 +446,7 @@ pub mod replication_events { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -513,7 +513,7 @@ pub mod replication_events { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -534,7 +534,7 @@ pub mod replication_events { } } pub mod replication_fabrics { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -581,7 +581,7 @@ pub mod replication_fabrics { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -652,7 +652,7 @@ pub mod replication_fabrics { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -722,7 +722,7 @@ pub mod replication_fabrics { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Fabric), @@ -790,7 +790,7 @@ pub mod replication_fabrics { } } pub mod purge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -867,7 +867,7 @@ pub mod replication_fabrics { } } pub mod check_consistency { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Fabric), @@ -939,7 +939,7 @@ pub mod replication_fabrics { } } pub mod migrate_to_aad { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1017,7 +1017,7 @@ pub mod replication_fabrics { } } pub mod reassociate_gateway { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Fabric), @@ -1086,7 +1086,7 @@ pub mod replication_fabrics { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1164,7 +1164,7 @@ pub mod replication_fabrics { } } pub mod renew_certificate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Fabric), @@ -1190,7 +1190,7 @@ pub mod replication_fabrics { } } pub mod replication_logical_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_fabrics( operation_config: &crate::OperationConfig, resource_name: &str, @@ -1237,7 +1237,7 @@ pub mod replication_logical_networks { } } pub mod list_by_replication_fabrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1298,7 +1298,7 @@ pub mod replication_logical_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1319,7 +1319,7 @@ pub mod replication_logical_networks { } } pub mod replication_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_fabrics( operation_config: &crate::OperationConfig, resource_name: &str, @@ -1366,7 +1366,7 @@ pub mod replication_networks { } } pub mod list_by_replication_fabrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1427,7 +1427,7 @@ pub mod replication_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1492,7 +1492,7 @@ pub mod replication_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1513,7 +1513,7 @@ pub mod replication_networks { } } pub mod replication_network_mappings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_networks( operation_config: &crate::OperationConfig, resource_name: &str, @@ -1561,7 +1561,7 @@ pub mod replication_network_mappings { } } pub mod list_by_replication_networks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1623,7 +1623,7 @@ pub mod replication_network_mappings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1688,7 +1688,7 @@ pub mod replication_network_mappings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkMapping), @@ -1758,7 +1758,7 @@ pub mod replication_network_mappings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkMapping), @@ -1821,7 +1821,7 @@ pub mod replication_network_mappings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1891,7 +1891,7 @@ pub mod replication_network_mappings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1912,7 +1912,7 @@ pub mod replication_network_mappings { } } pub mod replication_protection_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_fabrics( operation_config: &crate::OperationConfig, resource_name: &str, @@ -1959,7 +1959,7 @@ pub mod replication_protection_containers { } } pub mod list_by_replication_fabrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2020,7 +2020,7 @@ pub mod replication_protection_containers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2084,7 +2084,7 @@ pub mod replication_protection_containers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainer), @@ -2158,7 +2158,7 @@ pub mod replication_protection_containers { } } pub mod discover_protectable_item { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainer), @@ -2221,7 +2221,7 @@ pub mod replication_protection_containers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2293,7 +2293,7 @@ pub mod replication_protection_containers { } } pub mod switch_protection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainer), @@ -2363,7 +2363,7 @@ pub mod replication_protection_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2384,7 +2384,7 @@ pub mod replication_protection_containers { } } pub mod replication_migration_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_protection_containers( operation_config: &crate::OperationConfig, resource_name: &str, @@ -2444,7 +2444,7 @@ pub mod replication_migration_items { } } pub mod list_by_replication_protection_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2506,7 +2506,7 @@ pub mod replication_migration_items { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2571,7 +2571,7 @@ pub mod replication_migration_items { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MigrationItem), @@ -2641,7 +2641,7 @@ pub mod replication_migration_items { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MigrationItem), @@ -2708,7 +2708,7 @@ pub mod replication_migration_items { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2781,7 +2781,7 @@ pub mod replication_migration_items { } } pub mod migrate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MigrationItem), @@ -2851,7 +2851,7 @@ pub mod replication_migration_items { } } pub mod resync { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MigrationItem), @@ -2924,7 +2924,7 @@ pub mod replication_migration_items { } } pub mod test_migrate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MigrationItem), @@ -2997,7 +2997,7 @@ pub mod replication_migration_items { } } pub mod test_migrate_cleanup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MigrationItem), @@ -3079,7 +3079,7 @@ pub mod replication_migration_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3100,7 +3100,7 @@ pub mod replication_migration_items { } } pub mod migration_recovery_points { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_migration_items( operation_config: &crate::OperationConfig, resource_name: &str, @@ -3149,7 +3149,7 @@ pub mod migration_recovery_points { } } pub mod list_by_replication_migration_items { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3212,7 +3212,7 @@ pub mod migration_recovery_points { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3233,7 +3233,7 @@ pub mod migration_recovery_points { } } pub mod replication_protectable_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_protection_containers( operation_config: &crate::OperationConfig, resource_name: &str, @@ -3293,7 +3293,7 @@ pub mod replication_protectable_items { } } pub mod list_by_replication_protection_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3355,7 +3355,7 @@ pub mod replication_protectable_items { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3376,7 +3376,7 @@ pub mod replication_protectable_items { } } pub mod replication_protected_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_protection_containers( operation_config: &crate::OperationConfig, resource_name: &str, @@ -3424,7 +3424,7 @@ pub mod replication_protected_items { } } pub mod list_by_replication_protection_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3486,7 +3486,7 @@ pub mod replication_protected_items { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3551,7 +3551,7 @@ pub mod replication_protected_items { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -3621,7 +3621,7 @@ pub mod replication_protected_items { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -3684,7 +3684,7 @@ pub mod replication_protected_items { } } pub mod purge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3757,7 +3757,7 @@ pub mod replication_protected_items { } } pub mod add_disks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -3830,7 +3830,7 @@ pub mod replication_protected_items { } } pub mod apply_recovery_point { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -3902,7 +3902,7 @@ pub mod replication_protected_items { } } pub mod failover_cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -3974,7 +3974,7 @@ pub mod replication_protected_items { } } pub mod failover_commit { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4047,7 +4047,7 @@ pub mod replication_protected_items { } } pub mod planned_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4112,7 +4112,7 @@ pub mod replication_protected_items { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4185,7 +4185,7 @@ pub mod replication_protected_items { } } pub mod remove_disks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4257,7 +4257,7 @@ pub mod replication_protected_items { } } pub mod repair_replication { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4330,7 +4330,7 @@ pub mod replication_protected_items { } } pub mod reprotect { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4405,7 +4405,7 @@ pub mod replication_protected_items { } } pub mod resolve_health_errors { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4478,7 +4478,7 @@ pub mod replication_protected_items { } } pub mod test_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4553,7 +4553,7 @@ pub mod replication_protected_items { } } pub mod test_failover_cleanup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4626,7 +4626,7 @@ pub mod replication_protected_items { } } pub mod unplanned_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4701,7 +4701,7 @@ pub mod replication_protected_items { } } pub mod update_mobility_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4779,7 +4779,7 @@ pub mod replication_protected_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4800,7 +4800,7 @@ pub mod replication_protected_items { } } pub mod recovery_points { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_protected_items( operation_config: &crate::OperationConfig, resource_name: &str, @@ -4849,7 +4849,7 @@ pub mod recovery_points { } } pub mod list_by_replication_protected_items { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4912,7 +4912,7 @@ pub mod recovery_points { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4933,7 +4933,7 @@ pub mod recovery_points { } } pub mod target_compute_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_protected_items( operation_config: &crate::OperationConfig, resource_name: &str, @@ -4982,7 +4982,7 @@ pub mod target_compute_sizes { } } pub mod list_by_replication_protected_items { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5003,7 +5003,7 @@ pub mod target_compute_sizes { } } pub mod replication_protection_container_mappings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_protection_containers( operation_config: &crate::OperationConfig, resource_name: &str, @@ -5051,7 +5051,7 @@ pub mod replication_protection_container_mappings { } } pub mod list_by_replication_protection_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5113,7 +5113,7 @@ pub mod replication_protection_container_mappings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5178,7 +5178,7 @@ pub mod replication_protection_container_mappings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainerMapping), @@ -5248,7 +5248,7 @@ pub mod replication_protection_container_mappings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainerMapping), @@ -5311,7 +5311,7 @@ pub mod replication_protection_container_mappings { } } pub mod purge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5376,7 +5376,7 @@ pub mod replication_protection_container_mappings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5446,7 +5446,7 @@ pub mod replication_protection_container_mappings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5467,7 +5467,7 @@ pub mod replication_protection_container_mappings { } } pub mod replication_recovery_services_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_fabrics( operation_config: &crate::OperationConfig, resource_name: &str, @@ -5514,7 +5514,7 @@ pub mod replication_recovery_services_providers { } } pub mod list_by_replication_fabrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5575,7 +5575,7 @@ pub mod replication_recovery_services_providers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5639,7 +5639,7 @@ pub mod replication_recovery_services_providers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryServicesProvider), @@ -5701,7 +5701,7 @@ pub mod replication_recovery_services_providers { } } pub mod purge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5772,7 +5772,7 @@ pub mod replication_recovery_services_providers { } } pub mod refresh_provider { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryServicesProvider), @@ -5835,7 +5835,7 @@ pub mod replication_recovery_services_providers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5905,7 +5905,7 @@ pub mod replication_recovery_services_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5926,7 +5926,7 @@ pub mod replication_recovery_services_providers { } } pub mod replication_storage_classifications { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_fabrics( operation_config: &crate::OperationConfig, resource_name: &str, @@ -5973,7 +5973,7 @@ pub mod replication_storage_classifications { } } pub mod list_by_replication_fabrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6034,7 +6034,7 @@ pub mod replication_storage_classifications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6099,7 +6099,7 @@ pub mod replication_storage_classifications { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6120,7 +6120,7 @@ pub mod replication_storage_classifications { } } pub mod replication_storage_classification_mappings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_storage_classifications( operation_config: &crate::OperationConfig, resource_name: &str, @@ -6168,7 +6168,7 @@ pub mod replication_storage_classification_mappings { } } pub mod list_by_replication_storage_classifications { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6230,7 +6230,7 @@ pub mod replication_storage_classification_mappings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6295,7 +6295,7 @@ pub mod replication_storage_classification_mappings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageClassificationMapping), @@ -6358,7 +6358,7 @@ pub mod replication_storage_classification_mappings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6428,7 +6428,7 @@ pub mod replication_storage_classification_mappings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6449,7 +6449,7 @@ pub mod replication_storage_classification_mappings { } } pub mod replicationv_centers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_fabrics( operation_config: &crate::OperationConfig, resource_name: &str, @@ -6496,7 +6496,7 @@ pub mod replicationv_centers { } } pub mod list_by_replication_fabrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6557,7 +6557,7 @@ pub mod replicationv_centers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6621,7 +6621,7 @@ pub mod replicationv_centers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VCenter), @@ -6690,7 +6690,7 @@ pub mod replicationv_centers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VCenter), @@ -6752,7 +6752,7 @@ pub mod replicationv_centers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6822,7 +6822,7 @@ pub mod replicationv_centers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6843,7 +6843,7 @@ pub mod replicationv_centers { } } pub mod replication_jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -6894,7 +6894,7 @@ pub mod replication_jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6961,7 +6961,7 @@ pub mod replication_jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7030,7 +7030,7 @@ pub mod replication_jobs { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Job), @@ -7107,7 +7107,7 @@ pub mod replication_jobs { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Job), @@ -7182,7 +7182,7 @@ pub mod replication_jobs { } } pub mod resume { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Job), @@ -7255,7 +7255,7 @@ pub mod replication_jobs { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Job), @@ -7281,7 +7281,7 @@ pub mod replication_jobs { } } pub mod replication_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -7328,7 +7328,7 @@ pub mod replication_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7395,7 +7395,7 @@ pub mod replication_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7465,7 +7465,7 @@ pub mod replication_policies { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Policy), @@ -7540,7 +7540,7 @@ pub mod replication_policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Policy), @@ -7608,7 +7608,7 @@ pub mod replication_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7634,7 +7634,7 @@ pub mod replication_policies { } } pub mod replication_protection_intents { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -7689,7 +7689,7 @@ pub mod replication_protection_intents { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7756,7 +7756,7 @@ pub mod replication_protection_intents { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7825,7 +7825,7 @@ pub mod replication_protection_intents { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7846,7 +7846,7 @@ pub mod replication_protection_intents { } } pub mod replication_recovery_plans { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -7893,7 +7893,7 @@ pub mod replication_recovery_plans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7960,7 +7960,7 @@ pub mod replication_recovery_plans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8030,7 +8030,7 @@ pub mod replication_recovery_plans { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8105,7 +8105,7 @@ pub mod replication_recovery_plans { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8173,7 +8173,7 @@ pub mod replication_recovery_plans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8243,7 +8243,7 @@ pub mod replication_recovery_plans { } } pub mod failover_cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8313,7 +8313,7 @@ pub mod replication_recovery_plans { } } pub mod failover_commit { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8384,7 +8384,7 @@ pub mod replication_recovery_plans { } } pub mod planned_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8461,7 +8461,7 @@ pub mod replication_recovery_plans { } } pub mod reprotect { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8539,7 +8539,7 @@ pub mod replication_recovery_plans { } } pub mod test_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8612,7 +8612,7 @@ pub mod replication_recovery_plans { } } pub mod test_failover_cleanup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8683,7 +8683,7 @@ pub mod replication_recovery_plans { } } pub mod unplanned_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8709,7 +8709,7 @@ pub mod replication_recovery_plans { } } pub mod supported_operating_systems { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_name: &str, @@ -8760,7 +8760,7 @@ pub mod supported_operating_systems { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8781,7 +8781,7 @@ pub mod supported_operating_systems { } } pub mod replication_vault_health { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_name: &str, @@ -8828,7 +8828,7 @@ pub mod replication_vault_health { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8898,7 +8898,7 @@ pub mod replication_vault_health { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VaultHealthDetails), @@ -8924,7 +8924,7 @@ pub mod replication_vault_health { } } pub mod replication_vault_setting { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -8971,7 +8971,7 @@ pub mod replication_vault_setting { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9038,7 +9038,7 @@ pub mod replication_vault_setting { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9107,7 +9107,7 @@ pub mod replication_vault_setting { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/recoveryservicessiterecovery/src/package_2021_03/operations.rs b/services/mgmt/recoveryservicessiterecovery/src/package_2021_03/operations.rs index a14c70a2c9..17e41ff948 100644 --- a/services/mgmt/recoveryservicessiterecovery/src/package_2021_03/operations.rs +++ b/services/mgmt/recoveryservicessiterecovery/src/package_2021_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -49,7 +49,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -70,7 +70,7 @@ pub mod operations { } } pub mod replication_alert_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -117,7 +117,7 @@ pub mod replication_alert_settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub mod replication_alert_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -253,7 +253,7 @@ pub mod replication_alert_settings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -274,7 +274,7 @@ pub mod replication_alert_settings { } } pub mod replication_eligibility_results { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -315,7 +315,7 @@ pub mod replication_eligibility_results { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -374,7 +374,7 @@ pub mod replication_eligibility_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -395,7 +395,7 @@ pub mod replication_eligibility_results { } } pub mod replication_events { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -446,7 +446,7 @@ pub mod replication_events { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -513,7 +513,7 @@ pub mod replication_events { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -534,7 +534,7 @@ pub mod replication_events { } } pub mod replication_fabrics { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -581,7 +581,7 @@ pub mod replication_fabrics { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -648,7 +648,7 @@ pub mod replication_fabrics { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -718,7 +718,7 @@ pub mod replication_fabrics { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Fabric), @@ -786,7 +786,7 @@ pub mod replication_fabrics { } } pub mod purge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -863,7 +863,7 @@ pub mod replication_fabrics { } } pub mod check_consistency { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Fabric), @@ -935,7 +935,7 @@ pub mod replication_fabrics { } } pub mod migrate_to_aad { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1013,7 +1013,7 @@ pub mod replication_fabrics { } } pub mod reassociate_gateway { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Fabric), @@ -1082,7 +1082,7 @@ pub mod replication_fabrics { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1160,7 +1160,7 @@ pub mod replication_fabrics { } } pub mod renew_certificate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Fabric), @@ -1186,7 +1186,7 @@ pub mod replication_fabrics { } } pub mod replication_logical_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_fabrics( operation_config: &crate::OperationConfig, resource_name: &str, @@ -1233,7 +1233,7 @@ pub mod replication_logical_networks { } } pub mod list_by_replication_fabrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1294,7 +1294,7 @@ pub mod replication_logical_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1315,7 +1315,7 @@ pub mod replication_logical_networks { } } pub mod replication_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_fabrics( operation_config: &crate::OperationConfig, resource_name: &str, @@ -1362,7 +1362,7 @@ pub mod replication_networks { } } pub mod list_by_replication_fabrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1423,7 +1423,7 @@ pub mod replication_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1488,7 +1488,7 @@ pub mod replication_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1509,7 +1509,7 @@ pub mod replication_networks { } } pub mod replication_network_mappings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_networks( operation_config: &crate::OperationConfig, resource_name: &str, @@ -1557,7 +1557,7 @@ pub mod replication_network_mappings { } } pub mod list_by_replication_networks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1619,7 +1619,7 @@ pub mod replication_network_mappings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1684,7 +1684,7 @@ pub mod replication_network_mappings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkMapping), @@ -1754,7 +1754,7 @@ pub mod replication_network_mappings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkMapping), @@ -1817,7 +1817,7 @@ pub mod replication_network_mappings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1887,7 +1887,7 @@ pub mod replication_network_mappings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1908,7 +1908,7 @@ pub mod replication_network_mappings { } } pub mod replication_protection_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_fabrics( operation_config: &crate::OperationConfig, resource_name: &str, @@ -1955,7 +1955,7 @@ pub mod replication_protection_containers { } } pub mod list_by_replication_fabrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2016,7 +2016,7 @@ pub mod replication_protection_containers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2080,7 +2080,7 @@ pub mod replication_protection_containers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainer), @@ -2154,7 +2154,7 @@ pub mod replication_protection_containers { } } pub mod discover_protectable_item { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainer), @@ -2217,7 +2217,7 @@ pub mod replication_protection_containers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2289,7 +2289,7 @@ pub mod replication_protection_containers { } } pub mod switch_protection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainer), @@ -2359,7 +2359,7 @@ pub mod replication_protection_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2380,7 +2380,7 @@ pub mod replication_protection_containers { } } pub mod replication_migration_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_protection_containers( operation_config: &crate::OperationConfig, resource_name: &str, @@ -2428,7 +2428,7 @@ pub mod replication_migration_items { } } pub mod list_by_replication_protection_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2490,7 +2490,7 @@ pub mod replication_migration_items { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2555,7 +2555,7 @@ pub mod replication_migration_items { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MigrationItem), @@ -2625,7 +2625,7 @@ pub mod replication_migration_items { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MigrationItem), @@ -2692,7 +2692,7 @@ pub mod replication_migration_items { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2765,7 +2765,7 @@ pub mod replication_migration_items { } } pub mod migrate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MigrationItem), @@ -2838,7 +2838,7 @@ pub mod replication_migration_items { } } pub mod test_migrate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MigrationItem), @@ -2911,7 +2911,7 @@ pub mod replication_migration_items { } } pub mod test_migrate_cleanup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MigrationItem), @@ -2989,7 +2989,7 @@ pub mod replication_migration_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3010,7 +3010,7 @@ pub mod replication_migration_items { } } pub mod migration_recovery_points { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_migration_items( operation_config: &crate::OperationConfig, resource_name: &str, @@ -3059,7 +3059,7 @@ pub mod migration_recovery_points { } } pub mod list_by_replication_migration_items { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3122,7 +3122,7 @@ pub mod migration_recovery_points { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3143,7 +3143,7 @@ pub mod migration_recovery_points { } } pub mod replication_protectable_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_protection_containers( operation_config: &crate::OperationConfig, resource_name: &str, @@ -3195,7 +3195,7 @@ pub mod replication_protectable_items { } } pub mod list_by_replication_protection_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3257,7 +3257,7 @@ pub mod replication_protectable_items { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3278,7 +3278,7 @@ pub mod replication_protectable_items { } } pub mod replication_protected_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_protection_containers( operation_config: &crate::OperationConfig, resource_name: &str, @@ -3326,7 +3326,7 @@ pub mod replication_protected_items { } } pub mod list_by_replication_protection_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3388,7 +3388,7 @@ pub mod replication_protected_items { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3453,7 +3453,7 @@ pub mod replication_protected_items { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -3523,7 +3523,7 @@ pub mod replication_protected_items { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -3586,7 +3586,7 @@ pub mod replication_protected_items { } } pub mod purge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3659,7 +3659,7 @@ pub mod replication_protected_items { } } pub mod add_disks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -3732,7 +3732,7 @@ pub mod replication_protected_items { } } pub mod apply_recovery_point { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -3804,7 +3804,7 @@ pub mod replication_protected_items { } } pub mod failover_commit { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -3877,7 +3877,7 @@ pub mod replication_protected_items { } } pub mod planned_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -3942,7 +3942,7 @@ pub mod replication_protected_items { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4015,7 +4015,7 @@ pub mod replication_protected_items { } } pub mod remove_disks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4087,7 +4087,7 @@ pub mod replication_protected_items { } } pub mod repair_replication { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4160,7 +4160,7 @@ pub mod replication_protected_items { } } pub mod reprotect { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4235,7 +4235,7 @@ pub mod replication_protected_items { } } pub mod resolve_health_errors { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4308,7 +4308,7 @@ pub mod replication_protected_items { } } pub mod test_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4383,7 +4383,7 @@ pub mod replication_protected_items { } } pub mod test_failover_cleanup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4456,7 +4456,7 @@ pub mod replication_protected_items { } } pub mod unplanned_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4531,7 +4531,7 @@ pub mod replication_protected_items { } } pub mod update_mobility_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4609,7 +4609,7 @@ pub mod replication_protected_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4630,7 +4630,7 @@ pub mod replication_protected_items { } } pub mod recovery_points { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_protected_items( operation_config: &crate::OperationConfig, resource_name: &str, @@ -4679,7 +4679,7 @@ pub mod recovery_points { } } pub mod list_by_replication_protected_items { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4742,7 +4742,7 @@ pub mod recovery_points { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4763,7 +4763,7 @@ pub mod recovery_points { } } pub mod target_compute_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_protected_items( operation_config: &crate::OperationConfig, resource_name: &str, @@ -4812,7 +4812,7 @@ pub mod target_compute_sizes { } } pub mod list_by_replication_protected_items { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4833,7 +4833,7 @@ pub mod target_compute_sizes { } } pub mod replication_protection_container_mappings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_protection_containers( operation_config: &crate::OperationConfig, resource_name: &str, @@ -4881,7 +4881,7 @@ pub mod replication_protection_container_mappings { } } pub mod list_by_replication_protection_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4943,7 +4943,7 @@ pub mod replication_protection_container_mappings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5008,7 +5008,7 @@ pub mod replication_protection_container_mappings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainerMapping), @@ -5078,7 +5078,7 @@ pub mod replication_protection_container_mappings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainerMapping), @@ -5141,7 +5141,7 @@ pub mod replication_protection_container_mappings { } } pub mod purge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5206,7 +5206,7 @@ pub mod replication_protection_container_mappings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5276,7 +5276,7 @@ pub mod replication_protection_container_mappings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5297,7 +5297,7 @@ pub mod replication_protection_container_mappings { } } pub mod replication_protection_intents { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -5344,7 +5344,7 @@ pub mod replication_protection_intents { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5411,7 +5411,7 @@ pub mod replication_protection_intents { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5480,7 +5480,7 @@ pub mod replication_protection_intents { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5501,7 +5501,7 @@ pub mod replication_protection_intents { } } pub mod replication_recovery_services_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_fabrics( operation_config: &crate::OperationConfig, resource_name: &str, @@ -5548,7 +5548,7 @@ pub mod replication_recovery_services_providers { } } pub mod list_by_replication_fabrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5609,7 +5609,7 @@ pub mod replication_recovery_services_providers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5673,7 +5673,7 @@ pub mod replication_recovery_services_providers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryServicesProvider), @@ -5735,7 +5735,7 @@ pub mod replication_recovery_services_providers { } } pub mod purge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5806,7 +5806,7 @@ pub mod replication_recovery_services_providers { } } pub mod refresh_provider { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryServicesProvider), @@ -5869,7 +5869,7 @@ pub mod replication_recovery_services_providers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5939,7 +5939,7 @@ pub mod replication_recovery_services_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5960,7 +5960,7 @@ pub mod replication_recovery_services_providers { } } pub mod replication_storage_classifications { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_fabrics( operation_config: &crate::OperationConfig, resource_name: &str, @@ -6007,7 +6007,7 @@ pub mod replication_storage_classifications { } } pub mod list_by_replication_fabrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6068,7 +6068,7 @@ pub mod replication_storage_classifications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6133,7 +6133,7 @@ pub mod replication_storage_classifications { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6154,7 +6154,7 @@ pub mod replication_storage_classifications { } } pub mod replication_storage_classification_mappings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_storage_classifications( operation_config: &crate::OperationConfig, resource_name: &str, @@ -6202,7 +6202,7 @@ pub mod replication_storage_classification_mappings { } } pub mod list_by_replication_storage_classifications { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6264,7 +6264,7 @@ pub mod replication_storage_classification_mappings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6329,7 +6329,7 @@ pub mod replication_storage_classification_mappings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageClassificationMapping), @@ -6392,7 +6392,7 @@ pub mod replication_storage_classification_mappings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6462,7 +6462,7 @@ pub mod replication_storage_classification_mappings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6483,7 +6483,7 @@ pub mod replication_storage_classification_mappings { } } pub mod replicationv_centers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_fabrics( operation_config: &crate::OperationConfig, resource_name: &str, @@ -6530,7 +6530,7 @@ pub mod replicationv_centers { } } pub mod list_by_replication_fabrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6591,7 +6591,7 @@ pub mod replicationv_centers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6655,7 +6655,7 @@ pub mod replicationv_centers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VCenter), @@ -6724,7 +6724,7 @@ pub mod replicationv_centers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VCenter), @@ -6786,7 +6786,7 @@ pub mod replicationv_centers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6856,7 +6856,7 @@ pub mod replicationv_centers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6877,7 +6877,7 @@ pub mod replicationv_centers { } } pub mod replication_jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -6928,7 +6928,7 @@ pub mod replication_jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6995,7 +6995,7 @@ pub mod replication_jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7064,7 +7064,7 @@ pub mod replication_jobs { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Job), @@ -7141,7 +7141,7 @@ pub mod replication_jobs { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Job), @@ -7216,7 +7216,7 @@ pub mod replication_jobs { } } pub mod resume { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Job), @@ -7289,7 +7289,7 @@ pub mod replication_jobs { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Job), @@ -7315,7 +7315,7 @@ pub mod replication_jobs { } } pub mod replication_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -7362,7 +7362,7 @@ pub mod replication_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7429,7 +7429,7 @@ pub mod replication_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7499,7 +7499,7 @@ pub mod replication_policies { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Policy), @@ -7574,7 +7574,7 @@ pub mod replication_policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Policy), @@ -7642,7 +7642,7 @@ pub mod replication_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7668,7 +7668,7 @@ pub mod replication_policies { } } pub mod replication_recovery_plans { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -7715,7 +7715,7 @@ pub mod replication_recovery_plans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7782,7 +7782,7 @@ pub mod replication_recovery_plans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7852,7 +7852,7 @@ pub mod replication_recovery_plans { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -7927,7 +7927,7 @@ pub mod replication_recovery_plans { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -7995,7 +7995,7 @@ pub mod replication_recovery_plans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8065,7 +8065,7 @@ pub mod replication_recovery_plans { } } pub mod failover_commit { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8136,7 +8136,7 @@ pub mod replication_recovery_plans { } } pub mod planned_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8213,7 +8213,7 @@ pub mod replication_recovery_plans { } } pub mod reprotect { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8291,7 +8291,7 @@ pub mod replication_recovery_plans { } } pub mod test_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8364,7 +8364,7 @@ pub mod replication_recovery_plans { } } pub mod test_failover_cleanup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8435,7 +8435,7 @@ pub mod replication_recovery_plans { } } pub mod unplanned_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8461,7 +8461,7 @@ pub mod replication_recovery_plans { } } pub mod supported_operating_systems { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_name: &str, @@ -8508,7 +8508,7 @@ pub mod supported_operating_systems { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8529,7 +8529,7 @@ pub mod supported_operating_systems { } } pub mod replication_vault_health { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_name: &str, @@ -8576,7 +8576,7 @@ pub mod replication_vault_health { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8646,7 +8646,7 @@ pub mod replication_vault_health { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VaultHealthDetails), @@ -8672,7 +8672,7 @@ pub mod replication_vault_health { } } pub mod replication_vault_setting { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -8719,7 +8719,7 @@ pub mod replication_vault_setting { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8786,7 +8786,7 @@ pub mod replication_vault_setting { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8855,7 +8855,7 @@ pub mod replication_vault_setting { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/recoveryservicessiterecovery/src/package_2021_04/operations.rs b/services/mgmt/recoveryservicessiterecovery/src/package_2021_04/operations.rs index bc9f10343f..0ae84264c8 100644 --- a/services/mgmt/recoveryservicessiterecovery/src/package_2021_04/operations.rs +++ b/services/mgmt/recoveryservicessiterecovery/src/package_2021_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -49,7 +49,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -70,7 +70,7 @@ pub mod operations { } } pub mod replication_alert_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -117,7 +117,7 @@ pub mod replication_alert_settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub mod replication_alert_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -253,7 +253,7 @@ pub mod replication_alert_settings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -274,7 +274,7 @@ pub mod replication_alert_settings { } } pub mod replication_eligibility_results { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -315,7 +315,7 @@ pub mod replication_eligibility_results { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -374,7 +374,7 @@ pub mod replication_eligibility_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -395,7 +395,7 @@ pub mod replication_eligibility_results { } } pub mod replication_events { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -446,7 +446,7 @@ pub mod replication_events { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -513,7 +513,7 @@ pub mod replication_events { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -534,7 +534,7 @@ pub mod replication_events { } } pub mod replication_fabrics { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -581,7 +581,7 @@ pub mod replication_fabrics { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -652,7 +652,7 @@ pub mod replication_fabrics { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -722,7 +722,7 @@ pub mod replication_fabrics { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Fabric), @@ -790,7 +790,7 @@ pub mod replication_fabrics { } } pub mod purge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -867,7 +867,7 @@ pub mod replication_fabrics { } } pub mod check_consistency { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Fabric), @@ -939,7 +939,7 @@ pub mod replication_fabrics { } } pub mod migrate_to_aad { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1017,7 +1017,7 @@ pub mod replication_fabrics { } } pub mod reassociate_gateway { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Fabric), @@ -1086,7 +1086,7 @@ pub mod replication_fabrics { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1164,7 +1164,7 @@ pub mod replication_fabrics { } } pub mod renew_certificate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Fabric), @@ -1190,7 +1190,7 @@ pub mod replication_fabrics { } } pub mod replication_logical_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_fabrics( operation_config: &crate::OperationConfig, resource_name: &str, @@ -1237,7 +1237,7 @@ pub mod replication_logical_networks { } } pub mod list_by_replication_fabrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1298,7 +1298,7 @@ pub mod replication_logical_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1319,7 +1319,7 @@ pub mod replication_logical_networks { } } pub mod replication_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_fabrics( operation_config: &crate::OperationConfig, resource_name: &str, @@ -1366,7 +1366,7 @@ pub mod replication_networks { } } pub mod list_by_replication_fabrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1427,7 +1427,7 @@ pub mod replication_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1492,7 +1492,7 @@ pub mod replication_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1513,7 +1513,7 @@ pub mod replication_networks { } } pub mod replication_network_mappings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_networks( operation_config: &crate::OperationConfig, resource_name: &str, @@ -1561,7 +1561,7 @@ pub mod replication_network_mappings { } } pub mod list_by_replication_networks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1623,7 +1623,7 @@ pub mod replication_network_mappings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1688,7 +1688,7 @@ pub mod replication_network_mappings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkMapping), @@ -1758,7 +1758,7 @@ pub mod replication_network_mappings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkMapping), @@ -1821,7 +1821,7 @@ pub mod replication_network_mappings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1891,7 +1891,7 @@ pub mod replication_network_mappings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1912,7 +1912,7 @@ pub mod replication_network_mappings { } } pub mod replication_protection_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_fabrics( operation_config: &crate::OperationConfig, resource_name: &str, @@ -1959,7 +1959,7 @@ pub mod replication_protection_containers { } } pub mod list_by_replication_fabrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2020,7 +2020,7 @@ pub mod replication_protection_containers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2084,7 +2084,7 @@ pub mod replication_protection_containers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainer), @@ -2158,7 +2158,7 @@ pub mod replication_protection_containers { } } pub mod discover_protectable_item { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainer), @@ -2221,7 +2221,7 @@ pub mod replication_protection_containers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2293,7 +2293,7 @@ pub mod replication_protection_containers { } } pub mod switch_protection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainer), @@ -2363,7 +2363,7 @@ pub mod replication_protection_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2384,7 +2384,7 @@ pub mod replication_protection_containers { } } pub mod replication_migration_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_protection_containers( operation_config: &crate::OperationConfig, resource_name: &str, @@ -2444,7 +2444,7 @@ pub mod replication_migration_items { } } pub mod list_by_replication_protection_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2506,7 +2506,7 @@ pub mod replication_migration_items { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2571,7 +2571,7 @@ pub mod replication_migration_items { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MigrationItem), @@ -2641,7 +2641,7 @@ pub mod replication_migration_items { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MigrationItem), @@ -2708,7 +2708,7 @@ pub mod replication_migration_items { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2781,7 +2781,7 @@ pub mod replication_migration_items { } } pub mod migrate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MigrationItem), @@ -2851,7 +2851,7 @@ pub mod replication_migration_items { } } pub mod resync { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MigrationItem), @@ -2924,7 +2924,7 @@ pub mod replication_migration_items { } } pub mod test_migrate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MigrationItem), @@ -2997,7 +2997,7 @@ pub mod replication_migration_items { } } pub mod test_migrate_cleanup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MigrationItem), @@ -3079,7 +3079,7 @@ pub mod replication_migration_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3100,7 +3100,7 @@ pub mod replication_migration_items { } } pub mod migration_recovery_points { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_migration_items( operation_config: &crate::OperationConfig, resource_name: &str, @@ -3149,7 +3149,7 @@ pub mod migration_recovery_points { } } pub mod list_by_replication_migration_items { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3212,7 +3212,7 @@ pub mod migration_recovery_points { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3233,7 +3233,7 @@ pub mod migration_recovery_points { } } pub mod replication_protectable_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_protection_containers( operation_config: &crate::OperationConfig, resource_name: &str, @@ -3293,7 +3293,7 @@ pub mod replication_protectable_items { } } pub mod list_by_replication_protection_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3355,7 +3355,7 @@ pub mod replication_protectable_items { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3376,7 +3376,7 @@ pub mod replication_protectable_items { } } pub mod replication_protected_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_protection_containers( operation_config: &crate::OperationConfig, resource_name: &str, @@ -3424,7 +3424,7 @@ pub mod replication_protected_items { } } pub mod list_by_replication_protection_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3486,7 +3486,7 @@ pub mod replication_protected_items { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3551,7 +3551,7 @@ pub mod replication_protected_items { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -3621,7 +3621,7 @@ pub mod replication_protected_items { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -3684,7 +3684,7 @@ pub mod replication_protected_items { } } pub mod purge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3757,7 +3757,7 @@ pub mod replication_protected_items { } } pub mod add_disks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -3830,7 +3830,7 @@ pub mod replication_protected_items { } } pub mod apply_recovery_point { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -3902,7 +3902,7 @@ pub mod replication_protected_items { } } pub mod failover_cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -3974,7 +3974,7 @@ pub mod replication_protected_items { } } pub mod failover_commit { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4047,7 +4047,7 @@ pub mod replication_protected_items { } } pub mod planned_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4112,7 +4112,7 @@ pub mod replication_protected_items { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4185,7 +4185,7 @@ pub mod replication_protected_items { } } pub mod remove_disks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4257,7 +4257,7 @@ pub mod replication_protected_items { } } pub mod repair_replication { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4330,7 +4330,7 @@ pub mod replication_protected_items { } } pub mod reprotect { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4405,7 +4405,7 @@ pub mod replication_protected_items { } } pub mod resolve_health_errors { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4478,7 +4478,7 @@ pub mod replication_protected_items { } } pub mod test_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4553,7 +4553,7 @@ pub mod replication_protected_items { } } pub mod test_failover_cleanup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4626,7 +4626,7 @@ pub mod replication_protected_items { } } pub mod unplanned_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4701,7 +4701,7 @@ pub mod replication_protected_items { } } pub mod update_mobility_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4779,7 +4779,7 @@ pub mod replication_protected_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4800,7 +4800,7 @@ pub mod replication_protected_items { } } pub mod recovery_points { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_protected_items( operation_config: &crate::OperationConfig, resource_name: &str, @@ -4849,7 +4849,7 @@ pub mod recovery_points { } } pub mod list_by_replication_protected_items { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4912,7 +4912,7 @@ pub mod recovery_points { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4933,7 +4933,7 @@ pub mod recovery_points { } } pub mod target_compute_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_protected_items( operation_config: &crate::OperationConfig, resource_name: &str, @@ -4982,7 +4982,7 @@ pub mod target_compute_sizes { } } pub mod list_by_replication_protected_items { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5003,7 +5003,7 @@ pub mod target_compute_sizes { } } pub mod replication_protection_container_mappings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_protection_containers( operation_config: &crate::OperationConfig, resource_name: &str, @@ -5051,7 +5051,7 @@ pub mod replication_protection_container_mappings { } } pub mod list_by_replication_protection_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5113,7 +5113,7 @@ pub mod replication_protection_container_mappings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5178,7 +5178,7 @@ pub mod replication_protection_container_mappings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainerMapping), @@ -5248,7 +5248,7 @@ pub mod replication_protection_container_mappings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainerMapping), @@ -5311,7 +5311,7 @@ pub mod replication_protection_container_mappings { } } pub mod purge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5376,7 +5376,7 @@ pub mod replication_protection_container_mappings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5446,7 +5446,7 @@ pub mod replication_protection_container_mappings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5467,7 +5467,7 @@ pub mod replication_protection_container_mappings { } } pub mod replication_recovery_services_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_fabrics( operation_config: &crate::OperationConfig, resource_name: &str, @@ -5514,7 +5514,7 @@ pub mod replication_recovery_services_providers { } } pub mod list_by_replication_fabrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5575,7 +5575,7 @@ pub mod replication_recovery_services_providers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5639,7 +5639,7 @@ pub mod replication_recovery_services_providers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryServicesProvider), @@ -5701,7 +5701,7 @@ pub mod replication_recovery_services_providers { } } pub mod purge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5772,7 +5772,7 @@ pub mod replication_recovery_services_providers { } } pub mod refresh_provider { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryServicesProvider), @@ -5835,7 +5835,7 @@ pub mod replication_recovery_services_providers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5905,7 +5905,7 @@ pub mod replication_recovery_services_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5926,7 +5926,7 @@ pub mod replication_recovery_services_providers { } } pub mod replication_storage_classifications { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_fabrics( operation_config: &crate::OperationConfig, resource_name: &str, @@ -5973,7 +5973,7 @@ pub mod replication_storage_classifications { } } pub mod list_by_replication_fabrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6034,7 +6034,7 @@ pub mod replication_storage_classifications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6099,7 +6099,7 @@ pub mod replication_storage_classifications { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6120,7 +6120,7 @@ pub mod replication_storage_classifications { } } pub mod replication_storage_classification_mappings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_storage_classifications( operation_config: &crate::OperationConfig, resource_name: &str, @@ -6168,7 +6168,7 @@ pub mod replication_storage_classification_mappings { } } pub mod list_by_replication_storage_classifications { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6230,7 +6230,7 @@ pub mod replication_storage_classification_mappings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6295,7 +6295,7 @@ pub mod replication_storage_classification_mappings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageClassificationMapping), @@ -6358,7 +6358,7 @@ pub mod replication_storage_classification_mappings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6428,7 +6428,7 @@ pub mod replication_storage_classification_mappings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6449,7 +6449,7 @@ pub mod replication_storage_classification_mappings { } } pub mod replicationv_centers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_fabrics( operation_config: &crate::OperationConfig, resource_name: &str, @@ -6496,7 +6496,7 @@ pub mod replicationv_centers { } } pub mod list_by_replication_fabrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6557,7 +6557,7 @@ pub mod replicationv_centers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6621,7 +6621,7 @@ pub mod replicationv_centers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VCenter), @@ -6690,7 +6690,7 @@ pub mod replicationv_centers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VCenter), @@ -6752,7 +6752,7 @@ pub mod replicationv_centers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6822,7 +6822,7 @@ pub mod replicationv_centers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6843,7 +6843,7 @@ pub mod replicationv_centers { } } pub mod replication_jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -6894,7 +6894,7 @@ pub mod replication_jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6961,7 +6961,7 @@ pub mod replication_jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7030,7 +7030,7 @@ pub mod replication_jobs { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Job), @@ -7107,7 +7107,7 @@ pub mod replication_jobs { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Job), @@ -7182,7 +7182,7 @@ pub mod replication_jobs { } } pub mod resume { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Job), @@ -7255,7 +7255,7 @@ pub mod replication_jobs { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Job), @@ -7281,7 +7281,7 @@ pub mod replication_jobs { } } pub mod replication_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -7328,7 +7328,7 @@ pub mod replication_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7395,7 +7395,7 @@ pub mod replication_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7465,7 +7465,7 @@ pub mod replication_policies { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Policy), @@ -7540,7 +7540,7 @@ pub mod replication_policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Policy), @@ -7608,7 +7608,7 @@ pub mod replication_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7634,7 +7634,7 @@ pub mod replication_policies { } } pub mod replication_protection_intents { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -7689,7 +7689,7 @@ pub mod replication_protection_intents { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7756,7 +7756,7 @@ pub mod replication_protection_intents { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7825,7 +7825,7 @@ pub mod replication_protection_intents { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7846,7 +7846,7 @@ pub mod replication_protection_intents { } } pub mod replication_recovery_plans { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -7893,7 +7893,7 @@ pub mod replication_recovery_plans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7960,7 +7960,7 @@ pub mod replication_recovery_plans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8030,7 +8030,7 @@ pub mod replication_recovery_plans { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8105,7 +8105,7 @@ pub mod replication_recovery_plans { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8173,7 +8173,7 @@ pub mod replication_recovery_plans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8243,7 +8243,7 @@ pub mod replication_recovery_plans { } } pub mod failover_cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8313,7 +8313,7 @@ pub mod replication_recovery_plans { } } pub mod failover_commit { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8384,7 +8384,7 @@ pub mod replication_recovery_plans { } } pub mod planned_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8461,7 +8461,7 @@ pub mod replication_recovery_plans { } } pub mod reprotect { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8539,7 +8539,7 @@ pub mod replication_recovery_plans { } } pub mod test_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8612,7 +8612,7 @@ pub mod replication_recovery_plans { } } pub mod test_failover_cleanup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8683,7 +8683,7 @@ pub mod replication_recovery_plans { } } pub mod unplanned_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8709,7 +8709,7 @@ pub mod replication_recovery_plans { } } pub mod supported_operating_systems { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_name: &str, @@ -8760,7 +8760,7 @@ pub mod supported_operating_systems { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8781,7 +8781,7 @@ pub mod supported_operating_systems { } } pub mod replication_vault_health { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_name: &str, @@ -8828,7 +8828,7 @@ pub mod replication_vault_health { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8898,7 +8898,7 @@ pub mod replication_vault_health { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VaultHealthDetails), @@ -8924,7 +8924,7 @@ pub mod replication_vault_health { } } pub mod replication_vault_setting { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -8971,7 +8971,7 @@ pub mod replication_vault_setting { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9038,7 +9038,7 @@ pub mod replication_vault_setting { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9107,7 +9107,7 @@ pub mod replication_vault_setting { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/recoveryservicessiterecovery/src/package_2021_06/operations.rs b/services/mgmt/recoveryservicessiterecovery/src/package_2021_06/operations.rs index aced648f69..4d2bb29bdb 100644 --- a/services/mgmt/recoveryservicessiterecovery/src/package_2021_06/operations.rs +++ b/services/mgmt/recoveryservicessiterecovery/src/package_2021_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -49,7 +49,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -70,7 +70,7 @@ pub mod operations { } } pub mod replication_alert_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -117,7 +117,7 @@ pub mod replication_alert_settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub mod replication_alert_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -253,7 +253,7 @@ pub mod replication_alert_settings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -274,7 +274,7 @@ pub mod replication_alert_settings { } } pub mod replication_eligibility_results { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -315,7 +315,7 @@ pub mod replication_eligibility_results { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -374,7 +374,7 @@ pub mod replication_eligibility_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -395,7 +395,7 @@ pub mod replication_eligibility_results { } } pub mod replication_events { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -446,7 +446,7 @@ pub mod replication_events { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -513,7 +513,7 @@ pub mod replication_events { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -534,7 +534,7 @@ pub mod replication_events { } } pub mod replication_fabrics { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -581,7 +581,7 @@ pub mod replication_fabrics { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -652,7 +652,7 @@ pub mod replication_fabrics { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -722,7 +722,7 @@ pub mod replication_fabrics { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Fabric), @@ -790,7 +790,7 @@ pub mod replication_fabrics { } } pub mod purge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -867,7 +867,7 @@ pub mod replication_fabrics { } } pub mod check_consistency { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Fabric), @@ -939,7 +939,7 @@ pub mod replication_fabrics { } } pub mod migrate_to_aad { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1017,7 +1017,7 @@ pub mod replication_fabrics { } } pub mod reassociate_gateway { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Fabric), @@ -1086,7 +1086,7 @@ pub mod replication_fabrics { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1164,7 +1164,7 @@ pub mod replication_fabrics { } } pub mod renew_certificate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Fabric), @@ -1190,7 +1190,7 @@ pub mod replication_fabrics { } } pub mod replication_logical_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_fabrics( operation_config: &crate::OperationConfig, resource_name: &str, @@ -1237,7 +1237,7 @@ pub mod replication_logical_networks { } } pub mod list_by_replication_fabrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1298,7 +1298,7 @@ pub mod replication_logical_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1319,7 +1319,7 @@ pub mod replication_logical_networks { } } pub mod replication_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_fabrics( operation_config: &crate::OperationConfig, resource_name: &str, @@ -1366,7 +1366,7 @@ pub mod replication_networks { } } pub mod list_by_replication_fabrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1427,7 +1427,7 @@ pub mod replication_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1492,7 +1492,7 @@ pub mod replication_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1513,7 +1513,7 @@ pub mod replication_networks { } } pub mod replication_network_mappings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_networks( operation_config: &crate::OperationConfig, resource_name: &str, @@ -1561,7 +1561,7 @@ pub mod replication_network_mappings { } } pub mod list_by_replication_networks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1623,7 +1623,7 @@ pub mod replication_network_mappings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1688,7 +1688,7 @@ pub mod replication_network_mappings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkMapping), @@ -1758,7 +1758,7 @@ pub mod replication_network_mappings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkMapping), @@ -1821,7 +1821,7 @@ pub mod replication_network_mappings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1891,7 +1891,7 @@ pub mod replication_network_mappings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1912,7 +1912,7 @@ pub mod replication_network_mappings { } } pub mod replication_protection_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_fabrics( operation_config: &crate::OperationConfig, resource_name: &str, @@ -1959,7 +1959,7 @@ pub mod replication_protection_containers { } } pub mod list_by_replication_fabrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2020,7 +2020,7 @@ pub mod replication_protection_containers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2084,7 +2084,7 @@ pub mod replication_protection_containers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainer), @@ -2158,7 +2158,7 @@ pub mod replication_protection_containers { } } pub mod discover_protectable_item { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainer), @@ -2221,7 +2221,7 @@ pub mod replication_protection_containers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2293,7 +2293,7 @@ pub mod replication_protection_containers { } } pub mod switch_protection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainer), @@ -2363,7 +2363,7 @@ pub mod replication_protection_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2384,7 +2384,7 @@ pub mod replication_protection_containers { } } pub mod replication_migration_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_protection_containers( operation_config: &crate::OperationConfig, resource_name: &str, @@ -2444,7 +2444,7 @@ pub mod replication_migration_items { } } pub mod list_by_replication_protection_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2506,7 +2506,7 @@ pub mod replication_migration_items { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2571,7 +2571,7 @@ pub mod replication_migration_items { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MigrationItem), @@ -2641,7 +2641,7 @@ pub mod replication_migration_items { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MigrationItem), @@ -2708,7 +2708,7 @@ pub mod replication_migration_items { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2781,7 +2781,7 @@ pub mod replication_migration_items { } } pub mod migrate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MigrationItem), @@ -2851,7 +2851,7 @@ pub mod replication_migration_items { } } pub mod resync { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MigrationItem), @@ -2924,7 +2924,7 @@ pub mod replication_migration_items { } } pub mod test_migrate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MigrationItem), @@ -2997,7 +2997,7 @@ pub mod replication_migration_items { } } pub mod test_migrate_cleanup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MigrationItem), @@ -3079,7 +3079,7 @@ pub mod replication_migration_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3100,7 +3100,7 @@ pub mod replication_migration_items { } } pub mod migration_recovery_points { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_migration_items( operation_config: &crate::OperationConfig, resource_name: &str, @@ -3149,7 +3149,7 @@ pub mod migration_recovery_points { } } pub mod list_by_replication_migration_items { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3212,7 +3212,7 @@ pub mod migration_recovery_points { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3233,7 +3233,7 @@ pub mod migration_recovery_points { } } pub mod replication_protectable_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_protection_containers( operation_config: &crate::OperationConfig, resource_name: &str, @@ -3293,7 +3293,7 @@ pub mod replication_protectable_items { } } pub mod list_by_replication_protection_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3355,7 +3355,7 @@ pub mod replication_protectable_items { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3376,7 +3376,7 @@ pub mod replication_protectable_items { } } pub mod replication_protected_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_protection_containers( operation_config: &crate::OperationConfig, resource_name: &str, @@ -3424,7 +3424,7 @@ pub mod replication_protected_items { } } pub mod list_by_replication_protection_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3486,7 +3486,7 @@ pub mod replication_protected_items { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3551,7 +3551,7 @@ pub mod replication_protected_items { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -3621,7 +3621,7 @@ pub mod replication_protected_items { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -3684,7 +3684,7 @@ pub mod replication_protected_items { } } pub mod purge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3757,7 +3757,7 @@ pub mod replication_protected_items { } } pub mod add_disks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -3830,7 +3830,7 @@ pub mod replication_protected_items { } } pub mod apply_recovery_point { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -3902,7 +3902,7 @@ pub mod replication_protected_items { } } pub mod failover_cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -3974,7 +3974,7 @@ pub mod replication_protected_items { } } pub mod failover_commit { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4047,7 +4047,7 @@ pub mod replication_protected_items { } } pub mod planned_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4112,7 +4112,7 @@ pub mod replication_protected_items { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4185,7 +4185,7 @@ pub mod replication_protected_items { } } pub mod remove_disks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4257,7 +4257,7 @@ pub mod replication_protected_items { } } pub mod repair_replication { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4330,7 +4330,7 @@ pub mod replication_protected_items { } } pub mod reprotect { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4405,7 +4405,7 @@ pub mod replication_protected_items { } } pub mod resolve_health_errors { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4478,7 +4478,7 @@ pub mod replication_protected_items { } } pub mod test_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4553,7 +4553,7 @@ pub mod replication_protected_items { } } pub mod test_failover_cleanup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4626,7 +4626,7 @@ pub mod replication_protected_items { } } pub mod unplanned_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4699,7 +4699,7 @@ pub mod replication_protected_items { } } pub mod update_appliance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4774,7 +4774,7 @@ pub mod replication_protected_items { } } pub mod update_mobility_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4852,7 +4852,7 @@ pub mod replication_protected_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4873,7 +4873,7 @@ pub mod replication_protected_items { } } pub mod recovery_points { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_protected_items( operation_config: &crate::OperationConfig, resource_name: &str, @@ -4922,7 +4922,7 @@ pub mod recovery_points { } } pub mod list_by_replication_protected_items { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4985,7 +4985,7 @@ pub mod recovery_points { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5006,7 +5006,7 @@ pub mod recovery_points { } } pub mod target_compute_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_protected_items( operation_config: &crate::OperationConfig, resource_name: &str, @@ -5055,7 +5055,7 @@ pub mod target_compute_sizes { } } pub mod list_by_replication_protected_items { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5076,7 +5076,7 @@ pub mod target_compute_sizes { } } pub mod replication_protection_container_mappings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_protection_containers( operation_config: &crate::OperationConfig, resource_name: &str, @@ -5124,7 +5124,7 @@ pub mod replication_protection_container_mappings { } } pub mod list_by_replication_protection_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5186,7 +5186,7 @@ pub mod replication_protection_container_mappings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5251,7 +5251,7 @@ pub mod replication_protection_container_mappings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainerMapping), @@ -5321,7 +5321,7 @@ pub mod replication_protection_container_mappings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainerMapping), @@ -5384,7 +5384,7 @@ pub mod replication_protection_container_mappings { } } pub mod purge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5449,7 +5449,7 @@ pub mod replication_protection_container_mappings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5519,7 +5519,7 @@ pub mod replication_protection_container_mappings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5540,7 +5540,7 @@ pub mod replication_protection_container_mappings { } } pub mod replication_recovery_services_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_fabrics( operation_config: &crate::OperationConfig, resource_name: &str, @@ -5587,7 +5587,7 @@ pub mod replication_recovery_services_providers { } } pub mod list_by_replication_fabrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5648,7 +5648,7 @@ pub mod replication_recovery_services_providers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5712,7 +5712,7 @@ pub mod replication_recovery_services_providers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryServicesProvider), @@ -5774,7 +5774,7 @@ pub mod replication_recovery_services_providers { } } pub mod purge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5845,7 +5845,7 @@ pub mod replication_recovery_services_providers { } } pub mod refresh_provider { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryServicesProvider), @@ -5908,7 +5908,7 @@ pub mod replication_recovery_services_providers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5978,7 +5978,7 @@ pub mod replication_recovery_services_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5999,7 +5999,7 @@ pub mod replication_recovery_services_providers { } } pub mod replication_storage_classifications { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_fabrics( operation_config: &crate::OperationConfig, resource_name: &str, @@ -6046,7 +6046,7 @@ pub mod replication_storage_classifications { } } pub mod list_by_replication_fabrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6107,7 +6107,7 @@ pub mod replication_storage_classifications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6172,7 +6172,7 @@ pub mod replication_storage_classifications { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6193,7 +6193,7 @@ pub mod replication_storage_classifications { } } pub mod replication_storage_classification_mappings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_storage_classifications( operation_config: &crate::OperationConfig, resource_name: &str, @@ -6241,7 +6241,7 @@ pub mod replication_storage_classification_mappings { } } pub mod list_by_replication_storage_classifications { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6303,7 +6303,7 @@ pub mod replication_storage_classification_mappings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6368,7 +6368,7 @@ pub mod replication_storage_classification_mappings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageClassificationMapping), @@ -6431,7 +6431,7 @@ pub mod replication_storage_classification_mappings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6501,7 +6501,7 @@ pub mod replication_storage_classification_mappings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6522,7 +6522,7 @@ pub mod replication_storage_classification_mappings { } } pub mod replicationv_centers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_fabrics( operation_config: &crate::OperationConfig, resource_name: &str, @@ -6569,7 +6569,7 @@ pub mod replicationv_centers { } } pub mod list_by_replication_fabrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6630,7 +6630,7 @@ pub mod replicationv_centers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6694,7 +6694,7 @@ pub mod replicationv_centers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VCenter), @@ -6763,7 +6763,7 @@ pub mod replicationv_centers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VCenter), @@ -6825,7 +6825,7 @@ pub mod replicationv_centers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6895,7 +6895,7 @@ pub mod replicationv_centers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6916,7 +6916,7 @@ pub mod replicationv_centers { } } pub mod replication_jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -6967,7 +6967,7 @@ pub mod replication_jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7034,7 +7034,7 @@ pub mod replication_jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7103,7 +7103,7 @@ pub mod replication_jobs { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Job), @@ -7180,7 +7180,7 @@ pub mod replication_jobs { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Job), @@ -7255,7 +7255,7 @@ pub mod replication_jobs { } } pub mod resume { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Job), @@ -7328,7 +7328,7 @@ pub mod replication_jobs { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Job), @@ -7354,7 +7354,7 @@ pub mod replication_jobs { } } pub mod replication_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -7401,7 +7401,7 @@ pub mod replication_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7468,7 +7468,7 @@ pub mod replication_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7538,7 +7538,7 @@ pub mod replication_policies { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Policy), @@ -7613,7 +7613,7 @@ pub mod replication_policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Policy), @@ -7681,7 +7681,7 @@ pub mod replication_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7707,7 +7707,7 @@ pub mod replication_policies { } } pub mod replication_protection_intents { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -7762,7 +7762,7 @@ pub mod replication_protection_intents { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7829,7 +7829,7 @@ pub mod replication_protection_intents { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7898,7 +7898,7 @@ pub mod replication_protection_intents { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7919,7 +7919,7 @@ pub mod replication_protection_intents { } } pub mod replication_recovery_plans { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -7966,7 +7966,7 @@ pub mod replication_recovery_plans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8033,7 +8033,7 @@ pub mod replication_recovery_plans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8103,7 +8103,7 @@ pub mod replication_recovery_plans { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8178,7 +8178,7 @@ pub mod replication_recovery_plans { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8246,7 +8246,7 @@ pub mod replication_recovery_plans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8316,7 +8316,7 @@ pub mod replication_recovery_plans { } } pub mod failover_cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8386,7 +8386,7 @@ pub mod replication_recovery_plans { } } pub mod failover_commit { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8457,7 +8457,7 @@ pub mod replication_recovery_plans { } } pub mod planned_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8534,7 +8534,7 @@ pub mod replication_recovery_plans { } } pub mod reprotect { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8612,7 +8612,7 @@ pub mod replication_recovery_plans { } } pub mod test_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8685,7 +8685,7 @@ pub mod replication_recovery_plans { } } pub mod test_failover_cleanup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8756,7 +8756,7 @@ pub mod replication_recovery_plans { } } pub mod unplanned_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8782,7 +8782,7 @@ pub mod replication_recovery_plans { } } pub mod supported_operating_systems { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_name: &str, @@ -8833,7 +8833,7 @@ pub mod supported_operating_systems { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8854,7 +8854,7 @@ pub mod supported_operating_systems { } } pub mod replication_vault_health { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_name: &str, @@ -8901,7 +8901,7 @@ pub mod replication_vault_health { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8971,7 +8971,7 @@ pub mod replication_vault_health { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VaultHealthDetails), @@ -8997,7 +8997,7 @@ pub mod replication_vault_health { } } pub mod replication_vault_setting { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -9044,7 +9044,7 @@ pub mod replication_vault_setting { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9111,7 +9111,7 @@ pub mod replication_vault_setting { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9180,7 +9180,7 @@ pub mod replication_vault_setting { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/recoveryservicessiterecovery/src/package_2021_07/operations.rs b/services/mgmt/recoveryservicessiterecovery/src/package_2021_07/operations.rs index aced648f69..4d2bb29bdb 100644 --- a/services/mgmt/recoveryservicessiterecovery/src/package_2021_07/operations.rs +++ b/services/mgmt/recoveryservicessiterecovery/src/package_2021_07/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -49,7 +49,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -70,7 +70,7 @@ pub mod operations { } } pub mod replication_alert_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -117,7 +117,7 @@ pub mod replication_alert_settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub mod replication_alert_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -253,7 +253,7 @@ pub mod replication_alert_settings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -274,7 +274,7 @@ pub mod replication_alert_settings { } } pub mod replication_eligibility_results { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -315,7 +315,7 @@ pub mod replication_eligibility_results { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -374,7 +374,7 @@ pub mod replication_eligibility_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -395,7 +395,7 @@ pub mod replication_eligibility_results { } } pub mod replication_events { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -446,7 +446,7 @@ pub mod replication_events { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -513,7 +513,7 @@ pub mod replication_events { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -534,7 +534,7 @@ pub mod replication_events { } } pub mod replication_fabrics { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -581,7 +581,7 @@ pub mod replication_fabrics { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -652,7 +652,7 @@ pub mod replication_fabrics { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -722,7 +722,7 @@ pub mod replication_fabrics { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Fabric), @@ -790,7 +790,7 @@ pub mod replication_fabrics { } } pub mod purge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -867,7 +867,7 @@ pub mod replication_fabrics { } } pub mod check_consistency { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Fabric), @@ -939,7 +939,7 @@ pub mod replication_fabrics { } } pub mod migrate_to_aad { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1017,7 +1017,7 @@ pub mod replication_fabrics { } } pub mod reassociate_gateway { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Fabric), @@ -1086,7 +1086,7 @@ pub mod replication_fabrics { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1164,7 +1164,7 @@ pub mod replication_fabrics { } } pub mod renew_certificate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Fabric), @@ -1190,7 +1190,7 @@ pub mod replication_fabrics { } } pub mod replication_logical_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_fabrics( operation_config: &crate::OperationConfig, resource_name: &str, @@ -1237,7 +1237,7 @@ pub mod replication_logical_networks { } } pub mod list_by_replication_fabrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1298,7 +1298,7 @@ pub mod replication_logical_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1319,7 +1319,7 @@ pub mod replication_logical_networks { } } pub mod replication_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_fabrics( operation_config: &crate::OperationConfig, resource_name: &str, @@ -1366,7 +1366,7 @@ pub mod replication_networks { } } pub mod list_by_replication_fabrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1427,7 +1427,7 @@ pub mod replication_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1492,7 +1492,7 @@ pub mod replication_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1513,7 +1513,7 @@ pub mod replication_networks { } } pub mod replication_network_mappings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_networks( operation_config: &crate::OperationConfig, resource_name: &str, @@ -1561,7 +1561,7 @@ pub mod replication_network_mappings { } } pub mod list_by_replication_networks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1623,7 +1623,7 @@ pub mod replication_network_mappings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1688,7 +1688,7 @@ pub mod replication_network_mappings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkMapping), @@ -1758,7 +1758,7 @@ pub mod replication_network_mappings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkMapping), @@ -1821,7 +1821,7 @@ pub mod replication_network_mappings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1891,7 +1891,7 @@ pub mod replication_network_mappings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1912,7 +1912,7 @@ pub mod replication_network_mappings { } } pub mod replication_protection_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_fabrics( operation_config: &crate::OperationConfig, resource_name: &str, @@ -1959,7 +1959,7 @@ pub mod replication_protection_containers { } } pub mod list_by_replication_fabrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2020,7 +2020,7 @@ pub mod replication_protection_containers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2084,7 +2084,7 @@ pub mod replication_protection_containers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainer), @@ -2158,7 +2158,7 @@ pub mod replication_protection_containers { } } pub mod discover_protectable_item { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainer), @@ -2221,7 +2221,7 @@ pub mod replication_protection_containers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2293,7 +2293,7 @@ pub mod replication_protection_containers { } } pub mod switch_protection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainer), @@ -2363,7 +2363,7 @@ pub mod replication_protection_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2384,7 +2384,7 @@ pub mod replication_protection_containers { } } pub mod replication_migration_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_protection_containers( operation_config: &crate::OperationConfig, resource_name: &str, @@ -2444,7 +2444,7 @@ pub mod replication_migration_items { } } pub mod list_by_replication_protection_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2506,7 +2506,7 @@ pub mod replication_migration_items { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2571,7 +2571,7 @@ pub mod replication_migration_items { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MigrationItem), @@ -2641,7 +2641,7 @@ pub mod replication_migration_items { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MigrationItem), @@ -2708,7 +2708,7 @@ pub mod replication_migration_items { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2781,7 +2781,7 @@ pub mod replication_migration_items { } } pub mod migrate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MigrationItem), @@ -2851,7 +2851,7 @@ pub mod replication_migration_items { } } pub mod resync { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MigrationItem), @@ -2924,7 +2924,7 @@ pub mod replication_migration_items { } } pub mod test_migrate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MigrationItem), @@ -2997,7 +2997,7 @@ pub mod replication_migration_items { } } pub mod test_migrate_cleanup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MigrationItem), @@ -3079,7 +3079,7 @@ pub mod replication_migration_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3100,7 +3100,7 @@ pub mod replication_migration_items { } } pub mod migration_recovery_points { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_migration_items( operation_config: &crate::OperationConfig, resource_name: &str, @@ -3149,7 +3149,7 @@ pub mod migration_recovery_points { } } pub mod list_by_replication_migration_items { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3212,7 +3212,7 @@ pub mod migration_recovery_points { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3233,7 +3233,7 @@ pub mod migration_recovery_points { } } pub mod replication_protectable_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_protection_containers( operation_config: &crate::OperationConfig, resource_name: &str, @@ -3293,7 +3293,7 @@ pub mod replication_protectable_items { } } pub mod list_by_replication_protection_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3355,7 +3355,7 @@ pub mod replication_protectable_items { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3376,7 +3376,7 @@ pub mod replication_protectable_items { } } pub mod replication_protected_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_protection_containers( operation_config: &crate::OperationConfig, resource_name: &str, @@ -3424,7 +3424,7 @@ pub mod replication_protected_items { } } pub mod list_by_replication_protection_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3486,7 +3486,7 @@ pub mod replication_protected_items { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3551,7 +3551,7 @@ pub mod replication_protected_items { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -3621,7 +3621,7 @@ pub mod replication_protected_items { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -3684,7 +3684,7 @@ pub mod replication_protected_items { } } pub mod purge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3757,7 +3757,7 @@ pub mod replication_protected_items { } } pub mod add_disks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -3830,7 +3830,7 @@ pub mod replication_protected_items { } } pub mod apply_recovery_point { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -3902,7 +3902,7 @@ pub mod replication_protected_items { } } pub mod failover_cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -3974,7 +3974,7 @@ pub mod replication_protected_items { } } pub mod failover_commit { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4047,7 +4047,7 @@ pub mod replication_protected_items { } } pub mod planned_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4112,7 +4112,7 @@ pub mod replication_protected_items { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4185,7 +4185,7 @@ pub mod replication_protected_items { } } pub mod remove_disks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4257,7 +4257,7 @@ pub mod replication_protected_items { } } pub mod repair_replication { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4330,7 +4330,7 @@ pub mod replication_protected_items { } } pub mod reprotect { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4405,7 +4405,7 @@ pub mod replication_protected_items { } } pub mod resolve_health_errors { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4478,7 +4478,7 @@ pub mod replication_protected_items { } } pub mod test_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4553,7 +4553,7 @@ pub mod replication_protected_items { } } pub mod test_failover_cleanup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4626,7 +4626,7 @@ pub mod replication_protected_items { } } pub mod unplanned_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4699,7 +4699,7 @@ pub mod replication_protected_items { } } pub mod update_appliance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4774,7 +4774,7 @@ pub mod replication_protected_items { } } pub mod update_mobility_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4852,7 +4852,7 @@ pub mod replication_protected_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4873,7 +4873,7 @@ pub mod replication_protected_items { } } pub mod recovery_points { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_protected_items( operation_config: &crate::OperationConfig, resource_name: &str, @@ -4922,7 +4922,7 @@ pub mod recovery_points { } } pub mod list_by_replication_protected_items { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4985,7 +4985,7 @@ pub mod recovery_points { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5006,7 +5006,7 @@ pub mod recovery_points { } } pub mod target_compute_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_protected_items( operation_config: &crate::OperationConfig, resource_name: &str, @@ -5055,7 +5055,7 @@ pub mod target_compute_sizes { } } pub mod list_by_replication_protected_items { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5076,7 +5076,7 @@ pub mod target_compute_sizes { } } pub mod replication_protection_container_mappings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_protection_containers( operation_config: &crate::OperationConfig, resource_name: &str, @@ -5124,7 +5124,7 @@ pub mod replication_protection_container_mappings { } } pub mod list_by_replication_protection_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5186,7 +5186,7 @@ pub mod replication_protection_container_mappings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5251,7 +5251,7 @@ pub mod replication_protection_container_mappings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainerMapping), @@ -5321,7 +5321,7 @@ pub mod replication_protection_container_mappings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainerMapping), @@ -5384,7 +5384,7 @@ pub mod replication_protection_container_mappings { } } pub mod purge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5449,7 +5449,7 @@ pub mod replication_protection_container_mappings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5519,7 +5519,7 @@ pub mod replication_protection_container_mappings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5540,7 +5540,7 @@ pub mod replication_protection_container_mappings { } } pub mod replication_recovery_services_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_fabrics( operation_config: &crate::OperationConfig, resource_name: &str, @@ -5587,7 +5587,7 @@ pub mod replication_recovery_services_providers { } } pub mod list_by_replication_fabrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5648,7 +5648,7 @@ pub mod replication_recovery_services_providers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5712,7 +5712,7 @@ pub mod replication_recovery_services_providers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryServicesProvider), @@ -5774,7 +5774,7 @@ pub mod replication_recovery_services_providers { } } pub mod purge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5845,7 +5845,7 @@ pub mod replication_recovery_services_providers { } } pub mod refresh_provider { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryServicesProvider), @@ -5908,7 +5908,7 @@ pub mod replication_recovery_services_providers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5978,7 +5978,7 @@ pub mod replication_recovery_services_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5999,7 +5999,7 @@ pub mod replication_recovery_services_providers { } } pub mod replication_storage_classifications { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_fabrics( operation_config: &crate::OperationConfig, resource_name: &str, @@ -6046,7 +6046,7 @@ pub mod replication_storage_classifications { } } pub mod list_by_replication_fabrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6107,7 +6107,7 @@ pub mod replication_storage_classifications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6172,7 +6172,7 @@ pub mod replication_storage_classifications { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6193,7 +6193,7 @@ pub mod replication_storage_classifications { } } pub mod replication_storage_classification_mappings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_storage_classifications( operation_config: &crate::OperationConfig, resource_name: &str, @@ -6241,7 +6241,7 @@ pub mod replication_storage_classification_mappings { } } pub mod list_by_replication_storage_classifications { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6303,7 +6303,7 @@ pub mod replication_storage_classification_mappings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6368,7 +6368,7 @@ pub mod replication_storage_classification_mappings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageClassificationMapping), @@ -6431,7 +6431,7 @@ pub mod replication_storage_classification_mappings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6501,7 +6501,7 @@ pub mod replication_storage_classification_mappings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6522,7 +6522,7 @@ pub mod replication_storage_classification_mappings { } } pub mod replicationv_centers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_fabrics( operation_config: &crate::OperationConfig, resource_name: &str, @@ -6569,7 +6569,7 @@ pub mod replicationv_centers { } } pub mod list_by_replication_fabrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6630,7 +6630,7 @@ pub mod replicationv_centers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6694,7 +6694,7 @@ pub mod replicationv_centers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VCenter), @@ -6763,7 +6763,7 @@ pub mod replicationv_centers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VCenter), @@ -6825,7 +6825,7 @@ pub mod replicationv_centers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6895,7 +6895,7 @@ pub mod replicationv_centers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6916,7 +6916,7 @@ pub mod replicationv_centers { } } pub mod replication_jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -6967,7 +6967,7 @@ pub mod replication_jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7034,7 +7034,7 @@ pub mod replication_jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7103,7 +7103,7 @@ pub mod replication_jobs { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Job), @@ -7180,7 +7180,7 @@ pub mod replication_jobs { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Job), @@ -7255,7 +7255,7 @@ pub mod replication_jobs { } } pub mod resume { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Job), @@ -7328,7 +7328,7 @@ pub mod replication_jobs { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Job), @@ -7354,7 +7354,7 @@ pub mod replication_jobs { } } pub mod replication_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -7401,7 +7401,7 @@ pub mod replication_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7468,7 +7468,7 @@ pub mod replication_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7538,7 +7538,7 @@ pub mod replication_policies { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Policy), @@ -7613,7 +7613,7 @@ pub mod replication_policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Policy), @@ -7681,7 +7681,7 @@ pub mod replication_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7707,7 +7707,7 @@ pub mod replication_policies { } } pub mod replication_protection_intents { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -7762,7 +7762,7 @@ pub mod replication_protection_intents { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7829,7 +7829,7 @@ pub mod replication_protection_intents { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7898,7 +7898,7 @@ pub mod replication_protection_intents { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7919,7 +7919,7 @@ pub mod replication_protection_intents { } } pub mod replication_recovery_plans { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -7966,7 +7966,7 @@ pub mod replication_recovery_plans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8033,7 +8033,7 @@ pub mod replication_recovery_plans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8103,7 +8103,7 @@ pub mod replication_recovery_plans { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8178,7 +8178,7 @@ pub mod replication_recovery_plans { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8246,7 +8246,7 @@ pub mod replication_recovery_plans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8316,7 +8316,7 @@ pub mod replication_recovery_plans { } } pub mod failover_cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8386,7 +8386,7 @@ pub mod replication_recovery_plans { } } pub mod failover_commit { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8457,7 +8457,7 @@ pub mod replication_recovery_plans { } } pub mod planned_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8534,7 +8534,7 @@ pub mod replication_recovery_plans { } } pub mod reprotect { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8612,7 +8612,7 @@ pub mod replication_recovery_plans { } } pub mod test_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8685,7 +8685,7 @@ pub mod replication_recovery_plans { } } pub mod test_failover_cleanup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8756,7 +8756,7 @@ pub mod replication_recovery_plans { } } pub mod unplanned_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8782,7 +8782,7 @@ pub mod replication_recovery_plans { } } pub mod supported_operating_systems { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_name: &str, @@ -8833,7 +8833,7 @@ pub mod supported_operating_systems { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8854,7 +8854,7 @@ pub mod supported_operating_systems { } } pub mod replication_vault_health { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_name: &str, @@ -8901,7 +8901,7 @@ pub mod replication_vault_health { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8971,7 +8971,7 @@ pub mod replication_vault_health { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VaultHealthDetails), @@ -8997,7 +8997,7 @@ pub mod replication_vault_health { } } pub mod replication_vault_setting { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -9044,7 +9044,7 @@ pub mod replication_vault_setting { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9111,7 +9111,7 @@ pub mod replication_vault_setting { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9180,7 +9180,7 @@ pub mod replication_vault_setting { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/recoveryservicessiterecovery/src/package_2021_08/operations.rs b/services/mgmt/recoveryservicessiterecovery/src/package_2021_08/operations.rs index aced648f69..4d2bb29bdb 100644 --- a/services/mgmt/recoveryservicessiterecovery/src/package_2021_08/operations.rs +++ b/services/mgmt/recoveryservicessiterecovery/src/package_2021_08/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -49,7 +49,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -70,7 +70,7 @@ pub mod operations { } } pub mod replication_alert_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -117,7 +117,7 @@ pub mod replication_alert_settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub mod replication_alert_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -253,7 +253,7 @@ pub mod replication_alert_settings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -274,7 +274,7 @@ pub mod replication_alert_settings { } } pub mod replication_eligibility_results { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -315,7 +315,7 @@ pub mod replication_eligibility_results { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -374,7 +374,7 @@ pub mod replication_eligibility_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -395,7 +395,7 @@ pub mod replication_eligibility_results { } } pub mod replication_events { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -446,7 +446,7 @@ pub mod replication_events { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -513,7 +513,7 @@ pub mod replication_events { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -534,7 +534,7 @@ pub mod replication_events { } } pub mod replication_fabrics { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -581,7 +581,7 @@ pub mod replication_fabrics { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -652,7 +652,7 @@ pub mod replication_fabrics { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -722,7 +722,7 @@ pub mod replication_fabrics { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Fabric), @@ -790,7 +790,7 @@ pub mod replication_fabrics { } } pub mod purge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -867,7 +867,7 @@ pub mod replication_fabrics { } } pub mod check_consistency { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Fabric), @@ -939,7 +939,7 @@ pub mod replication_fabrics { } } pub mod migrate_to_aad { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1017,7 +1017,7 @@ pub mod replication_fabrics { } } pub mod reassociate_gateway { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Fabric), @@ -1086,7 +1086,7 @@ pub mod replication_fabrics { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1164,7 +1164,7 @@ pub mod replication_fabrics { } } pub mod renew_certificate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Fabric), @@ -1190,7 +1190,7 @@ pub mod replication_fabrics { } } pub mod replication_logical_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_fabrics( operation_config: &crate::OperationConfig, resource_name: &str, @@ -1237,7 +1237,7 @@ pub mod replication_logical_networks { } } pub mod list_by_replication_fabrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1298,7 +1298,7 @@ pub mod replication_logical_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1319,7 +1319,7 @@ pub mod replication_logical_networks { } } pub mod replication_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_fabrics( operation_config: &crate::OperationConfig, resource_name: &str, @@ -1366,7 +1366,7 @@ pub mod replication_networks { } } pub mod list_by_replication_fabrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1427,7 +1427,7 @@ pub mod replication_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1492,7 +1492,7 @@ pub mod replication_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1513,7 +1513,7 @@ pub mod replication_networks { } } pub mod replication_network_mappings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_networks( operation_config: &crate::OperationConfig, resource_name: &str, @@ -1561,7 +1561,7 @@ pub mod replication_network_mappings { } } pub mod list_by_replication_networks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1623,7 +1623,7 @@ pub mod replication_network_mappings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1688,7 +1688,7 @@ pub mod replication_network_mappings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkMapping), @@ -1758,7 +1758,7 @@ pub mod replication_network_mappings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkMapping), @@ -1821,7 +1821,7 @@ pub mod replication_network_mappings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1891,7 +1891,7 @@ pub mod replication_network_mappings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1912,7 +1912,7 @@ pub mod replication_network_mappings { } } pub mod replication_protection_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_fabrics( operation_config: &crate::OperationConfig, resource_name: &str, @@ -1959,7 +1959,7 @@ pub mod replication_protection_containers { } } pub mod list_by_replication_fabrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2020,7 +2020,7 @@ pub mod replication_protection_containers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2084,7 +2084,7 @@ pub mod replication_protection_containers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainer), @@ -2158,7 +2158,7 @@ pub mod replication_protection_containers { } } pub mod discover_protectable_item { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainer), @@ -2221,7 +2221,7 @@ pub mod replication_protection_containers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2293,7 +2293,7 @@ pub mod replication_protection_containers { } } pub mod switch_protection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainer), @@ -2363,7 +2363,7 @@ pub mod replication_protection_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2384,7 +2384,7 @@ pub mod replication_protection_containers { } } pub mod replication_migration_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_protection_containers( operation_config: &crate::OperationConfig, resource_name: &str, @@ -2444,7 +2444,7 @@ pub mod replication_migration_items { } } pub mod list_by_replication_protection_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2506,7 +2506,7 @@ pub mod replication_migration_items { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2571,7 +2571,7 @@ pub mod replication_migration_items { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MigrationItem), @@ -2641,7 +2641,7 @@ pub mod replication_migration_items { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MigrationItem), @@ -2708,7 +2708,7 @@ pub mod replication_migration_items { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2781,7 +2781,7 @@ pub mod replication_migration_items { } } pub mod migrate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MigrationItem), @@ -2851,7 +2851,7 @@ pub mod replication_migration_items { } } pub mod resync { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MigrationItem), @@ -2924,7 +2924,7 @@ pub mod replication_migration_items { } } pub mod test_migrate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MigrationItem), @@ -2997,7 +2997,7 @@ pub mod replication_migration_items { } } pub mod test_migrate_cleanup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MigrationItem), @@ -3079,7 +3079,7 @@ pub mod replication_migration_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3100,7 +3100,7 @@ pub mod replication_migration_items { } } pub mod migration_recovery_points { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_migration_items( operation_config: &crate::OperationConfig, resource_name: &str, @@ -3149,7 +3149,7 @@ pub mod migration_recovery_points { } } pub mod list_by_replication_migration_items { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3212,7 +3212,7 @@ pub mod migration_recovery_points { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3233,7 +3233,7 @@ pub mod migration_recovery_points { } } pub mod replication_protectable_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_protection_containers( operation_config: &crate::OperationConfig, resource_name: &str, @@ -3293,7 +3293,7 @@ pub mod replication_protectable_items { } } pub mod list_by_replication_protection_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3355,7 +3355,7 @@ pub mod replication_protectable_items { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3376,7 +3376,7 @@ pub mod replication_protectable_items { } } pub mod replication_protected_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_protection_containers( operation_config: &crate::OperationConfig, resource_name: &str, @@ -3424,7 +3424,7 @@ pub mod replication_protected_items { } } pub mod list_by_replication_protection_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3486,7 +3486,7 @@ pub mod replication_protected_items { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3551,7 +3551,7 @@ pub mod replication_protected_items { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -3621,7 +3621,7 @@ pub mod replication_protected_items { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -3684,7 +3684,7 @@ pub mod replication_protected_items { } } pub mod purge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3757,7 +3757,7 @@ pub mod replication_protected_items { } } pub mod add_disks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -3830,7 +3830,7 @@ pub mod replication_protected_items { } } pub mod apply_recovery_point { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -3902,7 +3902,7 @@ pub mod replication_protected_items { } } pub mod failover_cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -3974,7 +3974,7 @@ pub mod replication_protected_items { } } pub mod failover_commit { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4047,7 +4047,7 @@ pub mod replication_protected_items { } } pub mod planned_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4112,7 +4112,7 @@ pub mod replication_protected_items { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4185,7 +4185,7 @@ pub mod replication_protected_items { } } pub mod remove_disks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4257,7 +4257,7 @@ pub mod replication_protected_items { } } pub mod repair_replication { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4330,7 +4330,7 @@ pub mod replication_protected_items { } } pub mod reprotect { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4405,7 +4405,7 @@ pub mod replication_protected_items { } } pub mod resolve_health_errors { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4478,7 +4478,7 @@ pub mod replication_protected_items { } } pub mod test_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4553,7 +4553,7 @@ pub mod replication_protected_items { } } pub mod test_failover_cleanup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4626,7 +4626,7 @@ pub mod replication_protected_items { } } pub mod unplanned_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4699,7 +4699,7 @@ pub mod replication_protected_items { } } pub mod update_appliance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4774,7 +4774,7 @@ pub mod replication_protected_items { } } pub mod update_mobility_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplicationProtectedItem), @@ -4852,7 +4852,7 @@ pub mod replication_protected_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4873,7 +4873,7 @@ pub mod replication_protected_items { } } pub mod recovery_points { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_protected_items( operation_config: &crate::OperationConfig, resource_name: &str, @@ -4922,7 +4922,7 @@ pub mod recovery_points { } } pub mod list_by_replication_protected_items { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4985,7 +4985,7 @@ pub mod recovery_points { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5006,7 +5006,7 @@ pub mod recovery_points { } } pub mod target_compute_sizes { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_protected_items( operation_config: &crate::OperationConfig, resource_name: &str, @@ -5055,7 +5055,7 @@ pub mod target_compute_sizes { } } pub mod list_by_replication_protected_items { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5076,7 +5076,7 @@ pub mod target_compute_sizes { } } pub mod replication_protection_container_mappings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_protection_containers( operation_config: &crate::OperationConfig, resource_name: &str, @@ -5124,7 +5124,7 @@ pub mod replication_protection_container_mappings { } } pub mod list_by_replication_protection_containers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5186,7 +5186,7 @@ pub mod replication_protection_container_mappings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5251,7 +5251,7 @@ pub mod replication_protection_container_mappings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainerMapping), @@ -5321,7 +5321,7 @@ pub mod replication_protection_container_mappings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProtectionContainerMapping), @@ -5384,7 +5384,7 @@ pub mod replication_protection_container_mappings { } } pub mod purge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5449,7 +5449,7 @@ pub mod replication_protection_container_mappings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5519,7 +5519,7 @@ pub mod replication_protection_container_mappings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5540,7 +5540,7 @@ pub mod replication_protection_container_mappings { } } pub mod replication_recovery_services_providers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_fabrics( operation_config: &crate::OperationConfig, resource_name: &str, @@ -5587,7 +5587,7 @@ pub mod replication_recovery_services_providers { } } pub mod list_by_replication_fabrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5648,7 +5648,7 @@ pub mod replication_recovery_services_providers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5712,7 +5712,7 @@ pub mod replication_recovery_services_providers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryServicesProvider), @@ -5774,7 +5774,7 @@ pub mod replication_recovery_services_providers { } } pub mod purge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5845,7 +5845,7 @@ pub mod replication_recovery_services_providers { } } pub mod refresh_provider { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryServicesProvider), @@ -5908,7 +5908,7 @@ pub mod replication_recovery_services_providers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5978,7 +5978,7 @@ pub mod replication_recovery_services_providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5999,7 +5999,7 @@ pub mod replication_recovery_services_providers { } } pub mod replication_storage_classifications { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_fabrics( operation_config: &crate::OperationConfig, resource_name: &str, @@ -6046,7 +6046,7 @@ pub mod replication_storage_classifications { } } pub mod list_by_replication_fabrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6107,7 +6107,7 @@ pub mod replication_storage_classifications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6172,7 +6172,7 @@ pub mod replication_storage_classifications { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6193,7 +6193,7 @@ pub mod replication_storage_classifications { } } pub mod replication_storage_classification_mappings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_storage_classifications( operation_config: &crate::OperationConfig, resource_name: &str, @@ -6241,7 +6241,7 @@ pub mod replication_storage_classification_mappings { } } pub mod list_by_replication_storage_classifications { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6303,7 +6303,7 @@ pub mod replication_storage_classification_mappings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6368,7 +6368,7 @@ pub mod replication_storage_classification_mappings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageClassificationMapping), @@ -6431,7 +6431,7 @@ pub mod replication_storage_classification_mappings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6501,7 +6501,7 @@ pub mod replication_storage_classification_mappings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6522,7 +6522,7 @@ pub mod replication_storage_classification_mappings { } } pub mod replicationv_centers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_replication_fabrics( operation_config: &crate::OperationConfig, resource_name: &str, @@ -6569,7 +6569,7 @@ pub mod replicationv_centers { } } pub mod list_by_replication_fabrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6630,7 +6630,7 @@ pub mod replicationv_centers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6694,7 +6694,7 @@ pub mod replicationv_centers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VCenter), @@ -6763,7 +6763,7 @@ pub mod replicationv_centers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VCenter), @@ -6825,7 +6825,7 @@ pub mod replicationv_centers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6895,7 +6895,7 @@ pub mod replicationv_centers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6916,7 +6916,7 @@ pub mod replicationv_centers { } } pub mod replication_jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -6967,7 +6967,7 @@ pub mod replication_jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7034,7 +7034,7 @@ pub mod replication_jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7103,7 +7103,7 @@ pub mod replication_jobs { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Job), @@ -7180,7 +7180,7 @@ pub mod replication_jobs { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Job), @@ -7255,7 +7255,7 @@ pub mod replication_jobs { } } pub mod resume { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Job), @@ -7328,7 +7328,7 @@ pub mod replication_jobs { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Job), @@ -7354,7 +7354,7 @@ pub mod replication_jobs { } } pub mod replication_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -7401,7 +7401,7 @@ pub mod replication_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7468,7 +7468,7 @@ pub mod replication_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7538,7 +7538,7 @@ pub mod replication_policies { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Policy), @@ -7613,7 +7613,7 @@ pub mod replication_policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Policy), @@ -7681,7 +7681,7 @@ pub mod replication_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -7707,7 +7707,7 @@ pub mod replication_policies { } } pub mod replication_protection_intents { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -7762,7 +7762,7 @@ pub mod replication_protection_intents { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7829,7 +7829,7 @@ pub mod replication_protection_intents { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7898,7 +7898,7 @@ pub mod replication_protection_intents { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -7919,7 +7919,7 @@ pub mod replication_protection_intents { } } pub mod replication_recovery_plans { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -7966,7 +7966,7 @@ pub mod replication_recovery_plans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8033,7 +8033,7 @@ pub mod replication_recovery_plans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8103,7 +8103,7 @@ pub mod replication_recovery_plans { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8178,7 +8178,7 @@ pub mod replication_recovery_plans { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8246,7 +8246,7 @@ pub mod replication_recovery_plans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -8316,7 +8316,7 @@ pub mod replication_recovery_plans { } } pub mod failover_cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8386,7 +8386,7 @@ pub mod replication_recovery_plans { } } pub mod failover_commit { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8457,7 +8457,7 @@ pub mod replication_recovery_plans { } } pub mod planned_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8534,7 +8534,7 @@ pub mod replication_recovery_plans { } } pub mod reprotect { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8612,7 +8612,7 @@ pub mod replication_recovery_plans { } } pub mod test_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8685,7 +8685,7 @@ pub mod replication_recovery_plans { } } pub mod test_failover_cleanup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8756,7 +8756,7 @@ pub mod replication_recovery_plans { } } pub mod unplanned_failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RecoveryPlan), @@ -8782,7 +8782,7 @@ pub mod replication_recovery_plans { } } pub mod supported_operating_systems { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_name: &str, @@ -8833,7 +8833,7 @@ pub mod supported_operating_systems { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8854,7 +8854,7 @@ pub mod supported_operating_systems { } } pub mod replication_vault_health { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_name: &str, @@ -8901,7 +8901,7 @@ pub mod replication_vault_health { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -8971,7 +8971,7 @@ pub mod replication_vault_health { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VaultHealthDetails), @@ -8997,7 +8997,7 @@ pub mod replication_vault_health { } } pub mod replication_vault_setting { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_name: &str, @@ -9044,7 +9044,7 @@ pub mod replication_vault_setting { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9111,7 +9111,7 @@ pub mod replication_vault_setting { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -9180,7 +9180,7 @@ pub mod replication_vault_setting { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/redhatopenshift/Cargo.toml b/services/mgmt/redhatopenshift/Cargo.toml index 3351004be3..3c0931e954 100644 --- a/services/mgmt/redhatopenshift/Cargo.toml +++ b/services/mgmt/redhatopenshift/Cargo.toml @@ -20,5 +20,6 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2020-04-30"] +no-default-version = [] "package-2020-04-30" = [] "package-2021-09-01-preview" = [] diff --git a/services/mgmt/redhatopenshift/src/lib.rs b/services/mgmt/redhatopenshift/src/lib.rs index 269303aad8..96cf6bfb56 100644 --- a/services/mgmt/redhatopenshift/src/lib.rs +++ b/services/mgmt/redhatopenshift/src/lib.rs @@ -1,13 +1,21 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2020-04-30")] -mod package_2020_04_30; -#[cfg(feature = "package-2020-04-30")] +pub mod package_2020_04_30; +#[cfg(all(feature = "package-2020-04-30", not(feature = "no-default-version")))] pub use package_2020_04_30::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-09-01-preview")] -mod package_2021_09_01_preview; +pub mod package_2021_09_01_preview; use azure_core::setters; -#[cfg(feature = "package-2021-09-01-preview")] +#[cfg(all(feature = "package-2021-09-01-preview", not(feature = "no-default-version")))] pub use package_2021_09_01_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -31,7 +39,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/redhatopenshift/src/package_2020_04_30/operations.rs b/services/mgmt/redhatopenshift/src/package_2020_04_30/operations.rs index 3a4e1a5c25..d8af1253df 100644 --- a/services/mgmt/redhatopenshift/src/package_2020_04_30/operations.rs +++ b/services/mgmt/redhatopenshift/src/package_2020_04_30/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.RedHatOpenShift/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod open_shift_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod open_shift_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub mod open_shift_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -254,7 +254,7 @@ pub mod open_shift_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -335,7 +335,7 @@ pub mod open_shift_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OpenShiftCluster), @@ -418,7 +418,7 @@ pub mod open_shift_clusters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OpenShiftCluster), @@ -489,7 +489,7 @@ pub mod open_shift_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -568,7 +568,7 @@ pub mod open_shift_clusters { } } pub mod list_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/redhatopenshift/src/package_2021_09_01_preview/operations.rs b/services/mgmt/redhatopenshift/src/package_2021_09_01_preview/operations.rs index d82e835224..e857263664 100644 --- a/services/mgmt/redhatopenshift/src/package_2021_09_01_preview/operations.rs +++ b/services/mgmt/redhatopenshift/src/package_2021_09_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.RedHatOpenShift/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod open_shift_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod open_shift_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub mod open_shift_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -254,7 +254,7 @@ pub mod open_shift_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -335,7 +335,7 @@ pub mod open_shift_clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OpenShiftCluster), @@ -418,7 +418,7 @@ pub mod open_shift_clusters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OpenShiftCluster), @@ -489,7 +489,7 @@ pub mod open_shift_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -570,7 +570,7 @@ pub mod open_shift_clusters { } } pub mod list_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -644,7 +644,7 @@ pub mod open_shift_clusters { } } pub mod list_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/redis/Cargo.toml b/services/mgmt/redis/Cargo.toml index 443ddd7dfd..e14e7b20af 100644 --- a/services/mgmt/redis/Cargo.toml +++ b/services/mgmt/redis/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2020-12"] +no-default-version = [] "package-2020-12" = [] "package-2020-06" = [] "package-2019-07-preview" = [] diff --git a/services/mgmt/redis/src/lib.rs b/services/mgmt/redis/src/lib.rs index 83b5ee95a1..3d59083413 100644 --- a/services/mgmt/redis/src/lib.rs +++ b/services/mgmt/redis/src/lib.rs @@ -1,37 +1,45 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2020-12")] -mod package_2020_12; -#[cfg(feature = "package-2020-12")] +pub mod package_2020_12; +#[cfg(all(feature = "package-2020-12", not(feature = "no-default-version")))] pub use package_2020_12::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-06")] -mod package_2020_06; -#[cfg(feature = "package-2020-06")] +pub mod package_2020_06; +#[cfg(all(feature = "package-2020-06", not(feature = "no-default-version")))] pub use package_2020_06::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-07-preview")] -mod package_2019_07_preview; -#[cfg(feature = "package-2019-07-preview")] +pub mod package_2019_07_preview; +#[cfg(all(feature = "package-2019-07-preview", not(feature = "no-default-version")))] pub use package_2019_07_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-03")] -mod package_2018_03; -#[cfg(feature = "package-2018-03")] +pub mod package_2018_03; +#[cfg(all(feature = "package-2018-03", not(feature = "no-default-version")))] pub use package_2018_03::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-10")] -mod package_2017_10; -#[cfg(feature = "package-2017-10")] +pub mod package_2017_10; +#[cfg(all(feature = "package-2017-10", not(feature = "no-default-version")))] pub use package_2017_10::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-02")] -mod package_2017_02; -#[cfg(feature = "package-2017-02")] +pub mod package_2017_02; +#[cfg(all(feature = "package-2017-02", not(feature = "no-default-version")))] pub use package_2017_02::{models, operations, API_VERSION}; #[cfg(feature = "package-2016-04")] -mod package_2016_04; -#[cfg(feature = "package-2016-04")] +pub mod package_2016_04; +#[cfg(all(feature = "package-2016-04", not(feature = "no-default-version")))] pub use package_2016_04::{models, operations, API_VERSION}; #[cfg(feature = "package-2015-08")] -mod package_2015_08; +pub mod package_2015_08; use azure_core::setters; -#[cfg(feature = "package-2015-08")] +#[cfg(all(feature = "package-2015-08", not(feature = "no-default-version")))] pub use package_2015_08::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -55,7 +63,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/redis/src/package_2015_08/operations.rs b/services/mgmt/redis/src/package_2015_08/operations.rs index 739ef2f2ba..a0f390875f 100644 --- a/services/mgmt/redis/src/package_2015_08/operations.rs +++ b/services/mgmt/redis/src/package_2015_08/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod redis { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod redis { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod redis { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(RedisResourceWithAccessKey), @@ -194,7 +194,7 @@ pub mod redis { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -269,7 +269,7 @@ pub mod redis { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -330,7 +330,7 @@ pub mod redis { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -399,7 +399,7 @@ pub mod redis { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -469,7 +469,7 @@ pub mod redis { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -536,7 +536,7 @@ pub mod redis { } } pub mod force_reboot { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/redis/src/package_2016_04/operations.rs b/services/mgmt/redis/src/package_2016_04/operations.rs index af459269e5..5d3589f26d 100644 --- a/services/mgmt/redis/src/package_2016_04/operations.rs +++ b/services/mgmt/redis/src/package_2016_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Cache/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod redis { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -108,7 +108,7 @@ pub mod redis { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -181,7 +181,7 @@ pub mod redis { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(RedisResource), @@ -253,7 +253,7 @@ pub mod redis { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -314,7 +314,7 @@ pub mod redis { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -387,7 +387,7 @@ pub mod redis { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -448,7 +448,7 @@ pub mod redis { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -517,7 +517,7 @@ pub mod redis { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -587,7 +587,7 @@ pub mod redis { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -657,7 +657,7 @@ pub mod redis { } } pub mod force_reboot { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -724,7 +724,7 @@ pub mod redis { } } pub mod import_data { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -797,7 +797,7 @@ pub mod redis { } } pub mod export_data { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -824,7 +824,7 @@ pub mod redis { } } pub mod firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -871,7 +871,7 @@ pub mod firewall_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -892,7 +892,7 @@ pub mod firewall_rules { } } pub mod redis_firewall_rule { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -941,7 +941,7 @@ pub mod redis_firewall_rule { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1019,7 +1019,7 @@ pub mod redis_firewall_rule { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RedisFirewallRule), @@ -1087,7 +1087,7 @@ pub mod redis_firewall_rule { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1113,7 +1113,7 @@ pub mod redis_firewall_rule { } } pub mod patch_schedules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1160,7 +1160,7 @@ pub mod patch_schedules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1236,7 +1236,7 @@ pub mod patch_schedules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RedisPatchSchedule), @@ -1302,7 +1302,7 @@ pub mod patch_schedules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/redis/src/package_2017_02/operations.rs b/services/mgmt/redis/src/package_2017_02/operations.rs index caea66c564..586e8c46c2 100644 --- a/services/mgmt/redis/src/package_2017_02/operations.rs +++ b/services/mgmt/redis/src/package_2017_02/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Cache/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod redis { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -108,7 +108,7 @@ pub mod redis { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -181,7 +181,7 @@ pub mod redis { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(RedisResource), @@ -253,7 +253,7 @@ pub mod redis { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -314,7 +314,7 @@ pub mod redis { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -387,7 +387,7 @@ pub mod redis { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -448,7 +448,7 @@ pub mod redis { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -517,7 +517,7 @@ pub mod redis { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -587,7 +587,7 @@ pub mod redis { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -657,7 +657,7 @@ pub mod redis { } } pub mod force_reboot { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -724,7 +724,7 @@ pub mod redis { } } pub mod import_data { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -797,7 +797,7 @@ pub mod redis { } } pub mod export_data { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -824,7 +824,7 @@ pub mod redis { } } pub mod firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_redis_resource( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -876,7 +876,7 @@ pub mod firewall_rules { } } pub mod list_by_redis_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -943,7 +943,7 @@ pub mod firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1021,7 +1021,7 @@ pub mod firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RedisFirewallRule), @@ -1089,7 +1089,7 @@ pub mod firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1115,7 +1115,7 @@ pub mod firewall_rules { } } pub mod patch_schedules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1162,7 +1162,7 @@ pub mod patch_schedules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1238,7 +1238,7 @@ pub mod patch_schedules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RedisPatchSchedule), @@ -1304,7 +1304,7 @@ pub mod patch_schedules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1330,7 +1330,7 @@ pub mod patch_schedules { } } pub mod redis_linked_server { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1379,7 +1379,7 @@ pub mod redis_linked_server { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1454,7 +1454,7 @@ pub mod redis_linked_server { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RedisLinkedServerWithProperties), @@ -1521,7 +1521,7 @@ pub mod redis_linked_server { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1586,7 +1586,7 @@ pub mod redis_linked_server { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/redis/src/package_2017_10/operations.rs b/services/mgmt/redis/src/package_2017_10/operations.rs index 7f8634da29..57089fa2b7 100644 --- a/services/mgmt/redis/src/package_2017_10/operations.rs +++ b/services/mgmt/redis/src/package_2017_10/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Cache/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod redis { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, parameters: &CheckNameAvailabilityParameters, @@ -106,7 +106,7 @@ pub mod redis { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -178,7 +178,7 @@ pub mod redis { } } pub mod list_upgrade_notifications { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -243,7 +243,7 @@ pub mod redis { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -316,7 +316,7 @@ pub mod redis { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(RedisResource), @@ -388,7 +388,7 @@ pub mod redis { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -449,7 +449,7 @@ pub mod redis { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -522,7 +522,7 @@ pub mod redis { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -583,7 +583,7 @@ pub mod redis { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -652,7 +652,7 @@ pub mod redis { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -722,7 +722,7 @@ pub mod redis { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -792,7 +792,7 @@ pub mod redis { } } pub mod force_reboot { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -859,7 +859,7 @@ pub mod redis { } } pub mod import_data { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -932,7 +932,7 @@ pub mod redis { } } pub mod export_data { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -959,7 +959,7 @@ pub mod redis { } } pub mod firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_redis_resource( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1011,7 +1011,7 @@ pub mod firewall_rules { } } pub mod list_by_redis_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1078,7 +1078,7 @@ pub mod firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1156,7 +1156,7 @@ pub mod firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RedisFirewallRule), @@ -1224,7 +1224,7 @@ pub mod firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1250,7 +1250,7 @@ pub mod firewall_rules { } } pub mod patch_schedules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_redis_resource( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1302,7 +1302,7 @@ pub mod patch_schedules { } } pub mod list_by_redis_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1369,7 +1369,7 @@ pub mod patch_schedules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1447,7 +1447,7 @@ pub mod patch_schedules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RedisPatchSchedule), @@ -1515,7 +1515,7 @@ pub mod patch_schedules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1541,7 +1541,7 @@ pub mod patch_schedules { } } pub mod linked_server { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1590,7 +1590,7 @@ pub mod linked_server { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1665,7 +1665,7 @@ pub mod linked_server { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RedisLinkedServerWithProperties), @@ -1732,7 +1732,7 @@ pub mod linked_server { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1797,7 +1797,7 @@ pub mod linked_server { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/redis/src/package_2018_03/operations.rs b/services/mgmt/redis/src/package_2018_03/operations.rs index 79c425c20b..fb0f9f8376 100644 --- a/services/mgmt/redis/src/package_2018_03/operations.rs +++ b/services/mgmt/redis/src/package_2018_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Cache/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod redis { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, parameters: &CheckNameAvailabilityParameters, @@ -106,7 +106,7 @@ pub mod redis { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -178,7 +178,7 @@ pub mod redis { } } pub mod list_upgrade_notifications { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -243,7 +243,7 @@ pub mod redis { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -316,7 +316,7 @@ pub mod redis { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(RedisResource), @@ -388,7 +388,7 @@ pub mod redis { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -450,7 +450,7 @@ pub mod redis { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -524,7 +524,7 @@ pub mod redis { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -585,7 +585,7 @@ pub mod redis { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -654,7 +654,7 @@ pub mod redis { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -724,7 +724,7 @@ pub mod redis { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -794,7 +794,7 @@ pub mod redis { } } pub mod force_reboot { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -861,7 +861,7 @@ pub mod redis { } } pub mod import_data { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -934,7 +934,7 @@ pub mod redis { } } pub mod export_data { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -961,7 +961,7 @@ pub mod redis { } } pub mod firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_redis_resource( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1013,7 +1013,7 @@ pub mod firewall_rules { } } pub mod list_by_redis_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1080,7 +1080,7 @@ pub mod firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1158,7 +1158,7 @@ pub mod firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RedisFirewallRule), @@ -1226,7 +1226,7 @@ pub mod firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1252,7 +1252,7 @@ pub mod firewall_rules { } } pub mod patch_schedules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_redis_resource( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1304,7 +1304,7 @@ pub mod patch_schedules { } } pub mod list_by_redis_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1371,7 +1371,7 @@ pub mod patch_schedules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1449,7 +1449,7 @@ pub mod patch_schedules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RedisPatchSchedule), @@ -1517,7 +1517,7 @@ pub mod patch_schedules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1543,7 +1543,7 @@ pub mod patch_schedules { } } pub mod linked_server { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1592,7 +1592,7 @@ pub mod linked_server { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1667,7 +1667,7 @@ pub mod linked_server { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RedisLinkedServerWithProperties), @@ -1734,7 +1734,7 @@ pub mod linked_server { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1799,7 +1799,7 @@ pub mod linked_server { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/redis/src/package_2019_07_preview/operations.rs b/services/mgmt/redis/src/package_2019_07_preview/operations.rs index 79c425c20b..fb0f9f8376 100644 --- a/services/mgmt/redis/src/package_2019_07_preview/operations.rs +++ b/services/mgmt/redis/src/package_2019_07_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Cache/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod redis { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, parameters: &CheckNameAvailabilityParameters, @@ -106,7 +106,7 @@ pub mod redis { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -178,7 +178,7 @@ pub mod redis { } } pub mod list_upgrade_notifications { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -243,7 +243,7 @@ pub mod redis { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -316,7 +316,7 @@ pub mod redis { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(RedisResource), @@ -388,7 +388,7 @@ pub mod redis { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -450,7 +450,7 @@ pub mod redis { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -524,7 +524,7 @@ pub mod redis { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -585,7 +585,7 @@ pub mod redis { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -654,7 +654,7 @@ pub mod redis { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -724,7 +724,7 @@ pub mod redis { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -794,7 +794,7 @@ pub mod redis { } } pub mod force_reboot { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -861,7 +861,7 @@ pub mod redis { } } pub mod import_data { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -934,7 +934,7 @@ pub mod redis { } } pub mod export_data { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -961,7 +961,7 @@ pub mod redis { } } pub mod firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_redis_resource( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1013,7 +1013,7 @@ pub mod firewall_rules { } } pub mod list_by_redis_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1080,7 +1080,7 @@ pub mod firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1158,7 +1158,7 @@ pub mod firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RedisFirewallRule), @@ -1226,7 +1226,7 @@ pub mod firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1252,7 +1252,7 @@ pub mod firewall_rules { } } pub mod patch_schedules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_redis_resource( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1304,7 +1304,7 @@ pub mod patch_schedules { } } pub mod list_by_redis_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1371,7 +1371,7 @@ pub mod patch_schedules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1449,7 +1449,7 @@ pub mod patch_schedules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RedisPatchSchedule), @@ -1517,7 +1517,7 @@ pub mod patch_schedules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1543,7 +1543,7 @@ pub mod patch_schedules { } } pub mod linked_server { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1592,7 +1592,7 @@ pub mod linked_server { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1667,7 +1667,7 @@ pub mod linked_server { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RedisLinkedServerWithProperties), @@ -1734,7 +1734,7 @@ pub mod linked_server { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1799,7 +1799,7 @@ pub mod linked_server { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/redis/src/package_2020_06/operations.rs b/services/mgmt/redis/src/package_2020_06/operations.rs index f9ae087b86..51e481691c 100644 --- a/services/mgmt/redis/src/package_2020_06/operations.rs +++ b/services/mgmt/redis/src/package_2020_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Cache/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod redis { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, parameters: &CheckNameAvailabilityParameters, @@ -113,7 +113,7 @@ pub mod redis { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -190,7 +190,7 @@ pub mod redis { } } pub mod list_upgrade_notifications { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -260,7 +260,7 @@ pub mod redis { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -338,7 +338,7 @@ pub mod redis { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(RedisResource), @@ -415,7 +415,7 @@ pub mod redis { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -482,7 +482,7 @@ pub mod redis { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -561,7 +561,7 @@ pub mod redis { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -630,7 +630,7 @@ pub mod redis { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -704,7 +704,7 @@ pub mod redis { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -779,7 +779,7 @@ pub mod redis { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -854,7 +854,7 @@ pub mod redis { } } pub mod force_reboot { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -926,7 +926,7 @@ pub mod redis { } } pub mod import_data { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1004,7 +1004,7 @@ pub mod redis { } } pub mod export_data { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1034,7 +1034,7 @@ pub mod redis { } } pub mod firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1083,7 +1083,7 @@ pub mod firewall_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1155,7 +1155,7 @@ pub mod firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1238,7 +1238,7 @@ pub mod firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RedisFirewallRule), @@ -1311,7 +1311,7 @@ pub mod firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1340,7 +1340,7 @@ pub mod firewall_rules { } } pub mod patch_schedules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_redis_resource( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1394,7 +1394,7 @@ pub mod patch_schedules { } } pub mod list_by_redis_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1466,7 +1466,7 @@ pub mod patch_schedules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1549,7 +1549,7 @@ pub mod patch_schedules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RedisPatchSchedule), @@ -1622,7 +1622,7 @@ pub mod patch_schedules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1651,7 +1651,7 @@ pub mod patch_schedules { } } pub mod linked_server { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1702,7 +1702,7 @@ pub mod linked_server { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1782,7 +1782,7 @@ pub mod linked_server { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RedisLinkedServerWithProperties), @@ -1855,7 +1855,7 @@ pub mod linked_server { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1930,7 +1930,7 @@ pub mod linked_server { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1954,7 +1954,7 @@ pub mod linked_server { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2003,7 +2003,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2075,7 +2075,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2149,7 +2149,7 @@ pub mod private_endpoint_connections { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2217,7 +2217,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2246,7 +2246,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_redis_cache( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2298,7 +2298,7 @@ pub mod private_link_resources { } } pub mod list_by_redis_cache { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/redis/src/package_2020_12/operations.rs b/services/mgmt/redis/src/package_2020_12/operations.rs index e4f02976aa..18b6ea4014 100644 --- a/services/mgmt/redis/src/package_2020_12/operations.rs +++ b/services/mgmt/redis/src/package_2020_12/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Cache/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod redis { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, parameters: &CheckNameAvailabilityParameters, @@ -113,7 +113,7 @@ pub mod redis { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -190,7 +190,7 @@ pub mod redis { } } pub mod list_upgrade_notifications { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -260,7 +260,7 @@ pub mod redis { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -338,7 +338,7 @@ pub mod redis { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(RedisResource), @@ -415,7 +415,7 @@ pub mod redis { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -482,7 +482,7 @@ pub mod redis { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -561,7 +561,7 @@ pub mod redis { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -630,7 +630,7 @@ pub mod redis { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -704,7 +704,7 @@ pub mod redis { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -779,7 +779,7 @@ pub mod redis { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -854,7 +854,7 @@ pub mod redis { } } pub mod force_reboot { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -926,7 +926,7 @@ pub mod redis { } } pub mod import_data { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1004,7 +1004,7 @@ pub mod redis { } } pub mod export_data { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1034,7 +1034,7 @@ pub mod redis { } } pub mod firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1083,7 +1083,7 @@ pub mod firewall_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1155,7 +1155,7 @@ pub mod firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1238,7 +1238,7 @@ pub mod firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RedisFirewallRule), @@ -1311,7 +1311,7 @@ pub mod firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1340,7 +1340,7 @@ pub mod firewall_rules { } } pub mod patch_schedules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_redis_resource( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1394,7 +1394,7 @@ pub mod patch_schedules { } } pub mod list_by_redis_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1466,7 +1466,7 @@ pub mod patch_schedules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1549,7 +1549,7 @@ pub mod patch_schedules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RedisPatchSchedule), @@ -1622,7 +1622,7 @@ pub mod patch_schedules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1651,7 +1651,7 @@ pub mod patch_schedules { } } pub mod linked_server { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1702,7 +1702,7 @@ pub mod linked_server { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1782,7 +1782,7 @@ pub mod linked_server { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RedisLinkedServerWithProperties), @@ -1855,7 +1855,7 @@ pub mod linked_server { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1930,7 +1930,7 @@ pub mod linked_server { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1954,7 +1954,7 @@ pub mod linked_server { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2003,7 +2003,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2075,7 +2075,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2149,7 +2149,7 @@ pub mod private_endpoint_connections { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2217,7 +2217,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2246,7 +2246,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_redis_cache( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2298,7 +2298,7 @@ pub mod private_link_resources { } } pub mod list_by_redis_cache { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/redisenterprise/Cargo.toml b/services/mgmt/redisenterprise/Cargo.toml index 3887804966..06780db034 100644 --- a/services/mgmt/redisenterprise/Cargo.toml +++ b/services/mgmt/redisenterprise/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-08"] +no-default-version = [] "package-2021-08" = [] "package-preview-2021-02" = [] "package-2021-03" = [] diff --git a/services/mgmt/redisenterprise/src/lib.rs b/services/mgmt/redisenterprise/src/lib.rs index e028926a53..f640d9a67a 100644 --- a/services/mgmt/redisenterprise/src/lib.rs +++ b/services/mgmt/redisenterprise/src/lib.rs @@ -1,21 +1,29 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-08")] -mod package_2021_08; -#[cfg(feature = "package-2021-08")] +pub mod package_2021_08; +#[cfg(all(feature = "package-2021-08", not(feature = "no-default-version")))] pub use package_2021_08::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2021-02")] -mod package_preview_2021_02; -#[cfg(feature = "package-preview-2021-02")] +pub mod package_preview_2021_02; +#[cfg(all(feature = "package-preview-2021-02", not(feature = "no-default-version")))] pub use package_preview_2021_02::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-03")] -mod package_2021_03; -#[cfg(feature = "package-2021-03")] +pub mod package_2021_03; +#[cfg(all(feature = "package-2021-03", not(feature = "no-default-version")))] pub use package_2021_03::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-10-01-preview")] -mod package_2020_10_01_preview; +pub mod package_2020_10_01_preview; use azure_core::setters; -#[cfg(feature = "package-2020-10-01-preview")] +#[cfg(all(feature = "package-2020-10-01-preview", not(feature = "no-default-version")))] pub use package_2020_10_01_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -39,7 +47,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/redisenterprise/src/package_2020_10_01_preview/operations.rs b/services/mgmt/redisenterprise/src/package_2020_10_01_preview/operations.rs index 2e01631b3b..6fa9409a8d 100644 --- a/services/mgmt/redisenterprise/src/package_2020_10_01_preview/operations.rs +++ b/services/mgmt/redisenterprise/src/package_2020_10_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Cache/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod get { - use crate::models::*; + use super::{models, models::*}; pub async fn operation_status( operation_config: &crate::OperationConfig, location: &str, @@ -118,7 +118,7 @@ pub mod get { } } pub mod operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -142,7 +142,7 @@ pub mod get { } } pub mod redis_enterprise { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -191,7 +191,7 @@ pub mod redis_enterprise { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -269,7 +269,7 @@ pub mod redis_enterprise { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Cluster), @@ -347,7 +347,7 @@ pub mod redis_enterprise { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -419,7 +419,7 @@ pub mod redis_enterprise { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -498,7 +498,7 @@ pub mod redis_enterprise { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -561,7 +561,7 @@ pub mod redis_enterprise { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -585,7 +585,7 @@ pub mod redis_enterprise { } } pub mod databases { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_cluster( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -637,7 +637,7 @@ pub mod databases { } } pub mod list_by_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -709,7 +709,7 @@ pub mod databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -789,7 +789,7 @@ pub mod databases { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -869,7 +869,7 @@ pub mod databases { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -943,7 +943,7 @@ pub mod databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1025,7 +1025,7 @@ pub mod databases { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1103,7 +1103,7 @@ pub mod databases { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessKeys), @@ -1178,7 +1178,7 @@ pub mod databases { } } pub mod import { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1253,7 +1253,7 @@ pub mod databases { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1282,7 +1282,7 @@ pub mod databases { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1331,7 +1331,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1403,7 +1403,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1477,7 +1477,7 @@ pub mod private_endpoint_connections { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1545,7 +1545,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1574,7 +1574,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_redis_enterprise_cache( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1628,7 +1628,7 @@ pub mod private_link_resources { } } pub mod list_by_redis_enterprise_cache { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/redisenterprise/src/package_2021_03/operations.rs b/services/mgmt/redisenterprise/src/package_2021_03/operations.rs index 2f15a2cda8..e8e3a82f1f 100644 --- a/services/mgmt/redisenterprise/src/package_2021_03/operations.rs +++ b/services/mgmt/redisenterprise/src/package_2021_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Cache/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod operations_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -115,7 +115,7 @@ pub mod operations_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -139,7 +139,7 @@ pub mod operations_status { } } pub mod redis_enterprise { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -188,7 +188,7 @@ pub mod redis_enterprise { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -266,7 +266,7 @@ pub mod redis_enterprise { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Cluster), @@ -344,7 +344,7 @@ pub mod redis_enterprise { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -416,7 +416,7 @@ pub mod redis_enterprise { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -495,7 +495,7 @@ pub mod redis_enterprise { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -558,7 +558,7 @@ pub mod redis_enterprise { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -582,7 +582,7 @@ pub mod redis_enterprise { } } pub mod databases { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_cluster( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -634,7 +634,7 @@ pub mod databases { } } pub mod list_by_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -706,7 +706,7 @@ pub mod databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -786,7 +786,7 @@ pub mod databases { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -866,7 +866,7 @@ pub mod databases { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -940,7 +940,7 @@ pub mod databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1022,7 +1022,7 @@ pub mod databases { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1100,7 +1100,7 @@ pub mod databases { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessKeys), @@ -1175,7 +1175,7 @@ pub mod databases { } } pub mod import { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1250,7 +1250,7 @@ pub mod databases { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1279,7 +1279,7 @@ pub mod databases { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1328,7 +1328,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1400,7 +1400,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1474,7 +1474,7 @@ pub mod private_endpoint_connections { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1542,7 +1542,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1571,7 +1571,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_cluster( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1623,7 +1623,7 @@ pub mod private_link_resources { } } pub mod list_by_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/redisenterprise/src/package_2021_08/operations.rs b/services/mgmt/redisenterprise/src/package_2021_08/operations.rs index 2f15a2cda8..e8e3a82f1f 100644 --- a/services/mgmt/redisenterprise/src/package_2021_08/operations.rs +++ b/services/mgmt/redisenterprise/src/package_2021_08/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Cache/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod operations_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -115,7 +115,7 @@ pub mod operations_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -139,7 +139,7 @@ pub mod operations_status { } } pub mod redis_enterprise { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -188,7 +188,7 @@ pub mod redis_enterprise { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -266,7 +266,7 @@ pub mod redis_enterprise { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Cluster), @@ -344,7 +344,7 @@ pub mod redis_enterprise { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -416,7 +416,7 @@ pub mod redis_enterprise { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -495,7 +495,7 @@ pub mod redis_enterprise { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -558,7 +558,7 @@ pub mod redis_enterprise { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -582,7 +582,7 @@ pub mod redis_enterprise { } } pub mod databases { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_cluster( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -634,7 +634,7 @@ pub mod databases { } } pub mod list_by_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -706,7 +706,7 @@ pub mod databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -786,7 +786,7 @@ pub mod databases { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -866,7 +866,7 @@ pub mod databases { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -940,7 +940,7 @@ pub mod databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1022,7 +1022,7 @@ pub mod databases { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1100,7 +1100,7 @@ pub mod databases { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessKeys), @@ -1175,7 +1175,7 @@ pub mod databases { } } pub mod import { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1250,7 +1250,7 @@ pub mod databases { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1279,7 +1279,7 @@ pub mod databases { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1328,7 +1328,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1400,7 +1400,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1474,7 +1474,7 @@ pub mod private_endpoint_connections { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1542,7 +1542,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1571,7 +1571,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_cluster( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1623,7 +1623,7 @@ pub mod private_link_resources { } } pub mod list_by_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/redisenterprise/src/package_preview_2021_02/operations.rs b/services/mgmt/redisenterprise/src/package_preview_2021_02/operations.rs index c0ec639aa2..dafe955f45 100644 --- a/services/mgmt/redisenterprise/src/package_preview_2021_02/operations.rs +++ b/services/mgmt/redisenterprise/src/package_preview_2021_02/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Cache/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod operations_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location: &str, @@ -115,7 +115,7 @@ pub mod operations_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -139,7 +139,7 @@ pub mod operations_status { } } pub mod redis_enterprise { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -188,7 +188,7 @@ pub mod redis_enterprise { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -266,7 +266,7 @@ pub mod redis_enterprise { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Cluster), @@ -344,7 +344,7 @@ pub mod redis_enterprise { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -416,7 +416,7 @@ pub mod redis_enterprise { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -495,7 +495,7 @@ pub mod redis_enterprise { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -558,7 +558,7 @@ pub mod redis_enterprise { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -582,7 +582,7 @@ pub mod redis_enterprise { } } pub mod databases { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_cluster( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -634,7 +634,7 @@ pub mod databases { } } pub mod list_by_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -706,7 +706,7 @@ pub mod databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -786,7 +786,7 @@ pub mod databases { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -866,7 +866,7 @@ pub mod databases { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -940,7 +940,7 @@ pub mod databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1022,7 +1022,7 @@ pub mod databases { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1100,7 +1100,7 @@ pub mod databases { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessKeys), @@ -1175,7 +1175,7 @@ pub mod databases { } } pub mod import { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1250,7 +1250,7 @@ pub mod databases { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1328,7 +1328,7 @@ pub mod databases { } } pub mod force_unlink { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1357,7 +1357,7 @@ pub mod databases { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1406,7 +1406,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1478,7 +1478,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1552,7 +1552,7 @@ pub mod private_endpoint_connections { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1620,7 +1620,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1649,7 +1649,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_cluster( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1701,7 +1701,7 @@ pub mod private_link_resources { } } pub mod list_by_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/relay/Cargo.toml b/services/mgmt/relay/Cargo.toml index 506b8e839b..fd264fe1db 100644 --- a/services/mgmt/relay/Cargo.toml +++ b/services/mgmt/relay/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2017-04"] +no-default-version = [] "package-2017-04" = [] "package-2016-07" = [] "package-2018-01-preview" = [] diff --git a/services/mgmt/relay/src/lib.rs b/services/mgmt/relay/src/lib.rs index fd967f6d36..0eeb92b8dd 100644 --- a/services/mgmt/relay/src/lib.rs +++ b/services/mgmt/relay/src/lib.rs @@ -1,17 +1,25 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2017-04")] -mod package_2017_04; -#[cfg(feature = "package-2017-04")] +pub mod package_2017_04; +#[cfg(all(feature = "package-2017-04", not(feature = "no-default-version")))] pub use package_2017_04::{models, operations, API_VERSION}; #[cfg(feature = "package-2016-07")] -mod package_2016_07; -#[cfg(feature = "package-2016-07")] +pub mod package_2016_07; +#[cfg(all(feature = "package-2016-07", not(feature = "no-default-version")))] pub use package_2016_07::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-01-preview")] -mod package_2018_01_preview; +pub mod package_2018_01_preview; use azure_core::setters; -#[cfg(feature = "package-2018-01-preview")] +#[cfg(all(feature = "package-2018-01-preview", not(feature = "no-default-version")))] pub use package_2018_01_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -35,7 +43,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/relay/src/package_2016_07/operations.rs b/services/mgmt/relay/src/package_2016_07/operations.rs index def6c4fae7..a70d9e23d0 100644 --- a/services/mgmt/relay/src/package_2016_07/operations.rs +++ b/services/mgmt/relay/src/package_2016_07/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Relay/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod namespaces { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -116,7 +116,7 @@ pub mod namespaces { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -179,7 +179,7 @@ pub mod namespaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -252,7 +252,7 @@ pub mod namespaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -322,7 +322,7 @@ pub mod namespaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -398,7 +398,7 @@ pub mod namespaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RelayNamespace), @@ -473,7 +473,7 @@ pub mod namespaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -537,7 +537,7 @@ pub mod namespaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -618,7 +618,7 @@ pub mod namespaces { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -694,7 +694,7 @@ pub mod namespaces { } } pub mod list_post_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -771,7 +771,7 @@ pub mod namespaces { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -849,7 +849,7 @@ pub mod namespaces { } } pub mod post_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -928,7 +928,7 @@ pub mod namespaces { } } pub mod create_or_update_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1001,7 +1001,7 @@ pub mod namespaces { } } pub mod delete_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1082,7 +1082,7 @@ pub mod namespaces { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1159,7 +1159,7 @@ pub mod namespaces { } } pub mod regenerate_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1183,7 +1183,7 @@ pub mod namespaces { } } pub mod hybrid_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_namespace( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1235,7 +1235,7 @@ pub mod hybrid_connections { } } pub mod list_by_namespace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1307,7 +1307,7 @@ pub mod hybrid_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1384,7 +1384,7 @@ pub mod hybrid_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1452,7 +1452,7 @@ pub mod hybrid_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1532,7 +1532,7 @@ pub mod hybrid_connections { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1605,7 +1605,7 @@ pub mod hybrid_connections { } } pub mod list_post_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1681,7 +1681,7 @@ pub mod hybrid_connections { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1761,7 +1761,7 @@ pub mod hybrid_connections { } } pub mod post_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1842,7 +1842,7 @@ pub mod hybrid_connections { } } pub mod create_or_update_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1917,7 +1917,7 @@ pub mod hybrid_connections { } } pub mod delete_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1992,7 +1992,7 @@ pub mod hybrid_connections { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2063,7 +2063,7 @@ pub mod hybrid_connections { } } pub mod regenerate_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2087,7 +2087,7 @@ pub mod hybrid_connections { } } pub mod wcf_relays { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_namespace( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2139,7 +2139,7 @@ pub mod wcf_relays { } } pub mod list_by_namespace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2212,7 +2212,7 @@ pub mod wcf_relays { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WcfRelay), @@ -2294,7 +2294,7 @@ pub mod wcf_relays { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2362,7 +2362,7 @@ pub mod wcf_relays { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2442,7 +2442,7 @@ pub mod wcf_relays { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2515,7 +2515,7 @@ pub mod wcf_relays { } } pub mod list_post_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2591,7 +2591,7 @@ pub mod wcf_relays { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2671,7 +2671,7 @@ pub mod wcf_relays { } } pub mod post_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2752,7 +2752,7 @@ pub mod wcf_relays { } } pub mod create_or_update_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2827,7 +2827,7 @@ pub mod wcf_relays { } } pub mod delete_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2910,7 +2910,7 @@ pub mod wcf_relays { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2981,7 +2981,7 @@ pub mod wcf_relays { } } pub mod regenerate_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/relay/src/package_2017_04/operations.rs b/services/mgmt/relay/src/package_2017_04/operations.rs index 2540bf7c22..049fb8a9f6 100644 --- a/services/mgmt/relay/src/package_2017_04/operations.rs +++ b/services/mgmt/relay/src/package_2017_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Relay/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod namespaces { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -118,7 +118,7 @@ pub mod namespaces { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub mod namespaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -257,7 +257,7 @@ pub mod namespaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -327,7 +327,7 @@ pub mod namespaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -408,7 +408,7 @@ pub mod namespaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RelayNamespace), @@ -491,7 +491,7 @@ pub mod namespaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RelayNamespace), @@ -563,7 +563,7 @@ pub mod namespaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -644,7 +644,7 @@ pub mod namespaces { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -721,7 +721,7 @@ pub mod namespaces { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -800,7 +800,7 @@ pub mod namespaces { } } pub mod create_or_update_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -873,7 +873,7 @@ pub mod namespaces { } } pub mod delete_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -954,7 +954,7 @@ pub mod namespaces { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1031,7 +1031,7 @@ pub mod namespaces { } } pub mod regenerate_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1055,7 +1055,7 @@ pub mod namespaces { } } pub mod hybrid_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_namespace( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1107,7 +1107,7 @@ pub mod hybrid_connections { } } pub mod list_by_namespace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1179,7 +1179,7 @@ pub mod hybrid_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1256,7 +1256,7 @@ pub mod hybrid_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1324,7 +1324,7 @@ pub mod hybrid_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1406,7 +1406,7 @@ pub mod hybrid_connections { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1485,7 +1485,7 @@ pub mod hybrid_connections { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1566,7 +1566,7 @@ pub mod hybrid_connections { } } pub mod create_or_update_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1641,7 +1641,7 @@ pub mod hybrid_connections { } } pub mod delete_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1716,7 +1716,7 @@ pub mod hybrid_connections { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1787,7 +1787,7 @@ pub mod hybrid_connections { } } pub mod regenerate_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1811,7 +1811,7 @@ pub mod hybrid_connections { } } pub mod wcf_relays { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_namespace( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1863,7 +1863,7 @@ pub mod wcf_relays { } } pub mod list_by_namespace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1936,7 +1936,7 @@ pub mod wcf_relays { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WcfRelay), @@ -2018,7 +2018,7 @@ pub mod wcf_relays { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2086,7 +2086,7 @@ pub mod wcf_relays { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2166,7 +2166,7 @@ pub mod wcf_relays { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2242,7 +2242,7 @@ pub mod wcf_relays { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2323,7 +2323,7 @@ pub mod wcf_relays { } } pub mod create_or_update_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2398,7 +2398,7 @@ pub mod wcf_relays { } } pub mod delete_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2481,7 +2481,7 @@ pub mod wcf_relays { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2552,7 +2552,7 @@ pub mod wcf_relays { } } pub mod regenerate_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/relay/src/package_2018_01_preview/operations.rs b/services/mgmt/relay/src/package_2018_01_preview/operations.rs index cf045af6bf..55a64b44ef 100644 --- a/services/mgmt/relay/src/package_2018_01_preview/operations.rs +++ b/services/mgmt/relay/src/package_2018_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Relay/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod namespaces { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -118,7 +118,7 @@ pub mod namespaces { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub mod namespaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -257,7 +257,7 @@ pub mod namespaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -327,7 +327,7 @@ pub mod namespaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -408,7 +408,7 @@ pub mod namespaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RelayNamespace), @@ -491,7 +491,7 @@ pub mod namespaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RelayNamespace), @@ -563,7 +563,7 @@ pub mod namespaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -642,7 +642,7 @@ pub mod namespaces { } } pub mod get_network_rule_set { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -719,7 +719,7 @@ pub mod namespaces { } } pub mod create_or_update_network_rule_set { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -743,7 +743,7 @@ pub mod namespaces { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_namespace( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -795,7 +795,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_namespace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -867,7 +867,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -947,7 +947,7 @@ pub mod private_endpoint_connections { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -1019,7 +1019,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1043,7 +1043,7 @@ pub mod private_endpoint_connections { } } pub mod operation_status_private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1089,7 +1089,7 @@ pub mod operation_status_private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1165,7 +1165,7 @@ pub async fn private_link_resources_get( } } pub mod private_link_resources_get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/reservations/Cargo.toml b/services/mgmt/reservations/Cargo.toml index 51e788a748..cc4cdbd3ae 100644 --- a/services/mgmt/reservations/Cargo.toml +++ b/services/mgmt/reservations/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-07-01"] +no-default-version = [] "package-2021-07-01" = [] "package-2020-10-25" = [] "package-2020-11-preview" = [] diff --git a/services/mgmt/reservations/src/lib.rs b/services/mgmt/reservations/src/lib.rs index 9c14161e47..4c892343f1 100644 --- a/services/mgmt/reservations/src/lib.rs +++ b/services/mgmt/reservations/src/lib.rs @@ -1,37 +1,45 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-07-01")] -mod package_2021_07_01; -#[cfg(feature = "package-2021-07-01")] +pub mod package_2021_07_01; +#[cfg(all(feature = "package-2021-07-01", not(feature = "no-default-version")))] pub use package_2021_07_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-10-25")] -mod package_2020_10_25; -#[cfg(feature = "package-2020-10-25")] +pub mod package_2020_10_25; +#[cfg(all(feature = "package-2020-10-25", not(feature = "no-default-version")))] pub use package_2020_10_25::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-11-preview")] -mod package_2020_11_preview; -#[cfg(feature = "package-2020-11-preview")] +pub mod package_2020_11_preview; +#[cfg(all(feature = "package-2020-11-preview", not(feature = "no-default-version")))] pub use package_2020_11_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-10-preview")] -mod package_2020_10_preview; -#[cfg(feature = "package-2020-10-preview")] +pub mod package_2020_10_preview; +#[cfg(all(feature = "package-2020-10-preview", not(feature = "no-default-version")))] pub use package_2020_10_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2019-07-19")] -mod package_preview_2019_07_19; -#[cfg(feature = "package-preview-2019-07-19")] +pub mod package_preview_2019_07_19; +#[cfg(all(feature = "package-preview-2019-07-19", not(feature = "no-default-version")))] pub use package_preview_2019_07_19::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2019-04")] -mod package_preview_2019_04; -#[cfg(feature = "package-preview-2019-04")] +pub mod package_preview_2019_04; +#[cfg(all(feature = "package-preview-2019-04", not(feature = "no-default-version")))] pub use package_preview_2019_04::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-06")] -mod package_2018_06; -#[cfg(feature = "package-2018-06")] +pub mod package_2018_06; +#[cfg(all(feature = "package-2018-06", not(feature = "no-default-version")))] pub use package_2018_06::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-11")] -mod package_2017_11; +pub mod package_2017_11; use azure_core::setters; -#[cfg(feature = "package-2017-11")] +#[cfg(all(feature = "package-2017-11", not(feature = "no-default-version")))] pub use package_2017_11::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -55,7 +63,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/reservations/src/package_2017_11/operations.rs b/services/mgmt/reservations/src/package_2017_11/operations.rs index af972e5f8b..e106ebb2b3 100644 --- a/services/mgmt/reservations/src/package_2017_11/operations.rs +++ b/services/mgmt/reservations/src/package_2017_11/operations.rs @@ -2,7 +2,7 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub async fn get_catalog( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -50,7 +50,7 @@ pub async fn get_catalog( } } pub mod get_catalog { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -121,7 +121,7 @@ pub async fn get_applied_reservation_list( } } pub mod get_applied_reservation_list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -144,7 +144,7 @@ pub mod get_applied_reservation_list { } } pub mod reservation_order { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Capacity/reservationOrders", operation_config.base_path(),); @@ -182,7 +182,7 @@ pub mod reservation_order { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -248,7 +248,7 @@ pub mod reservation_order { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -272,7 +272,7 @@ pub mod reservation_order { } } pub mod reservation { - use crate::models::*; + use super::{models, models::*}; pub async fn split( operation_config: &crate::OperationConfig, reservation_order_id: &str, @@ -320,7 +320,7 @@ pub mod reservation { } } pub mod split { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Vec), @@ -394,7 +394,7 @@ pub mod reservation { } } pub mod merge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Vec), @@ -465,7 +465,7 @@ pub mod reservation { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -533,7 +533,7 @@ pub mod reservation { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -604,7 +604,7 @@ pub mod reservation { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReservationResponse), @@ -680,7 +680,7 @@ pub mod reservation { } } pub mod list_revisions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -704,7 +704,7 @@ pub mod reservation { } } pub mod operation { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Capacity/operations", operation_config.base_path(),); @@ -742,7 +742,7 @@ pub mod operation { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/reservations/src/package_2018_06/operations.rs b/services/mgmt/reservations/src/package_2018_06/operations.rs index 590c86f6d7..5e47a4d64c 100644 --- a/services/mgmt/reservations/src/package_2018_06/operations.rs +++ b/services/mgmt/reservations/src/package_2018_06/operations.rs @@ -2,7 +2,7 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub async fn get_catalog( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -56,7 +56,7 @@ pub async fn get_catalog( } } pub mod get_catalog { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub async fn get_applied_reservation_list( } } pub mod get_applied_reservation_list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -150,7 +150,7 @@ pub mod get_applied_reservation_list { } } pub mod reservation_order { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Capacity/reservationOrders", operation_config.base_path(),); @@ -188,7 +188,7 @@ pub mod reservation_order { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -254,7 +254,7 @@ pub mod reservation_order { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -278,7 +278,7 @@ pub mod reservation_order { } } pub mod reservation { - use crate::models::*; + use super::{models, models::*}; pub async fn split( operation_config: &crate::OperationConfig, reservation_order_id: &str, @@ -326,7 +326,7 @@ pub mod reservation { } } pub mod split { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Vec), @@ -400,7 +400,7 @@ pub mod reservation { } } pub mod merge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Vec), @@ -471,7 +471,7 @@ pub mod reservation { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -539,7 +539,7 @@ pub mod reservation { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -610,7 +610,7 @@ pub mod reservation { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReservationResponse), @@ -686,7 +686,7 @@ pub mod reservation { } } pub mod list_revisions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -710,7 +710,7 @@ pub mod reservation { } } pub mod operation { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Capacity/operations", operation_config.base_path(),); @@ -748,7 +748,7 @@ pub mod operation { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/reservations/src/package_2020_10_25/operations.rs b/services/mgmt/reservations/src/package_2020_10_25/operations.rs index 507f8f3e32..6b0f7690c2 100644 --- a/services/mgmt/reservations/src/package_2020_10_25/operations.rs +++ b/services/mgmt/reservations/src/package_2020_10_25/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod reservation { - use crate::models::*; + use super::{models, models::*}; pub async fn available_scopes( operation_config: &crate::OperationConfig, reservation_order_id: &str, @@ -56,7 +56,7 @@ pub mod reservation { } } pub mod available_scopes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -125,7 +125,7 @@ pub mod reservation { } } pub mod split { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Vec), @@ -199,7 +199,7 @@ pub mod reservation { } } pub mod merge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Vec), @@ -270,7 +270,7 @@ pub mod reservation { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -342,7 +342,7 @@ pub mod reservation { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -413,7 +413,7 @@ pub mod reservation { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReservationResponse), @@ -489,7 +489,7 @@ pub mod reservation { } } pub mod list_revisions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -565,7 +565,7 @@ pub async fn get_catalog( } } pub mod get_catalog { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -636,7 +636,7 @@ pub async fn get_applied_reservation_list( } } pub mod get_applied_reservation_list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -659,7 +659,7 @@ pub mod get_applied_reservation_list { } } pub mod reservation_order { - use crate::models::*; + use super::{models, models::*}; pub async fn calculate( operation_config: &crate::OperationConfig, body: &PurchaseRequest, @@ -704,7 +704,7 @@ pub mod reservation_order { } } pub mod calculate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -763,7 +763,7 @@ pub mod reservation_order { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -833,7 +833,7 @@ pub mod reservation_order { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -910,7 +910,7 @@ pub mod reservation_order { } } pub mod purchase { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReservationOrderResponse), @@ -939,7 +939,7 @@ pub mod reservation_order { } } pub mod operation { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Capacity/operations", operation_config.base_path(),); @@ -977,7 +977,7 @@ pub mod operation { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1001,7 +1001,7 @@ pub mod operation { } } pub mod calculate_exchange { - use crate::models::*; + use super::{models, models::*}; pub async fn post( operation_config: &crate::OperationConfig, body: &CalculateExchangeRequest, @@ -1044,7 +1044,7 @@ pub mod calculate_exchange { } } pub mod post { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CalculateExchangeOperationResultResponse), @@ -1073,7 +1073,7 @@ pub mod calculate_exchange { } } pub mod exchange { - use crate::models::*; + use super::{models, models::*}; pub async fn post( operation_config: &crate::OperationConfig, body: &ExchangeRequest, @@ -1116,7 +1116,7 @@ pub mod exchange { } } pub mod post { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExchangeOperationResultResponse), @@ -1145,7 +1145,7 @@ pub mod exchange { } } pub mod quota { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1196,7 +1196,7 @@ pub mod quota { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1279,7 +1279,7 @@ pub mod quota { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(QuotaRequestOneResourceSubmitResponse), @@ -1364,7 +1364,7 @@ pub mod quota { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(QuotaRequestOneResourceSubmitResponse), @@ -1439,7 +1439,7 @@ pub mod quota { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1463,7 +1463,7 @@ pub mod quota { } } pub mod quota_request_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1514,7 +1514,7 @@ pub mod quota_request_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1596,7 +1596,7 @@ pub mod quota_request_status { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/reservations/src/package_2020_10_preview/operations.rs b/services/mgmt/reservations/src/package_2020_10_preview/operations.rs index 371f171865..e99797d8e9 100644 --- a/services/mgmt/reservations/src/package_2020_10_preview/operations.rs +++ b/services/mgmt/reservations/src/package_2020_10_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod quota { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -55,7 +55,7 @@ pub mod quota { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -138,7 +138,7 @@ pub mod quota { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(QuotaRequestOneResourceSubmitResponse), @@ -223,7 +223,7 @@ pub mod quota { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(QuotaRequestOneResourceSubmitResponse), @@ -298,7 +298,7 @@ pub mod quota { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -322,7 +322,7 @@ pub mod quota { } } pub mod quota_request_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -373,7 +373,7 @@ pub mod quota_request_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -455,7 +455,7 @@ pub mod quota_request_status { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -479,7 +479,7 @@ pub mod quota_request_status { } } pub mod auto_quota_increase { - use crate::models::*; + use super::{models, models::*}; pub async fn get_properties( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -527,7 +527,7 @@ pub mod auto_quota_increase { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -595,7 +595,7 @@ pub mod auto_quota_increase { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -619,7 +619,7 @@ pub mod auto_quota_increase { } } pub mod reservation { - use crate::models::*; + use super::{models, models::*}; pub async fn available_scopes( operation_config: &crate::OperationConfig, reservation_order_id: &str, @@ -671,7 +671,7 @@ pub mod reservation { } } pub mod available_scopes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -740,7 +740,7 @@ pub mod reservation { } } pub mod split { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Vec), @@ -814,7 +814,7 @@ pub mod reservation { } } pub mod merge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Vec), @@ -885,7 +885,7 @@ pub mod reservation { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -957,7 +957,7 @@ pub mod reservation { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1028,7 +1028,7 @@ pub mod reservation { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReservationResponse), @@ -1104,7 +1104,7 @@ pub mod reservation { } } pub mod list_revisions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1180,7 +1180,7 @@ pub async fn get_catalog( } } pub mod get_catalog { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1251,7 +1251,7 @@ pub async fn get_applied_reservation_list( } } pub mod get_applied_reservation_list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1274,7 +1274,7 @@ pub mod get_applied_reservation_list { } } pub mod reservation_order { - use crate::models::*; + use super::{models, models::*}; pub async fn calculate( operation_config: &crate::OperationConfig, body: &PurchaseRequest, @@ -1319,7 +1319,7 @@ pub mod reservation_order { } } pub mod calculate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1378,7 +1378,7 @@ pub mod reservation_order { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1448,7 +1448,7 @@ pub mod reservation_order { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1525,7 +1525,7 @@ pub mod reservation_order { } } pub mod purchase { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReservationOrderResponse), @@ -1554,7 +1554,7 @@ pub mod reservation_order { } } pub mod operation { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Capacity/operations", operation_config.base_path(),); @@ -1592,7 +1592,7 @@ pub mod operation { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1616,7 +1616,7 @@ pub mod operation { } } pub mod calculate_exchange { - use crate::models::*; + use super::{models, models::*}; pub async fn post( operation_config: &crate::OperationConfig, body: &CalculateExchangeRequest, @@ -1659,7 +1659,7 @@ pub mod calculate_exchange { } } pub mod post { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CalculateExchangeOperationResultResponse), @@ -1688,7 +1688,7 @@ pub mod calculate_exchange { } } pub mod exchange { - use crate::models::*; + use super::{models, models::*}; pub async fn post( operation_config: &crate::OperationConfig, body: &ExchangeRequest, @@ -1731,7 +1731,7 @@ pub mod exchange { } } pub mod post { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExchangeOperationResultResponse), diff --git a/services/mgmt/reservations/src/package_2020_11_preview/operations.rs b/services/mgmt/reservations/src/package_2020_11_preview/operations.rs index 0e52aac11d..89de9c03c6 100644 --- a/services/mgmt/reservations/src/package_2020_11_preview/operations.rs +++ b/services/mgmt/reservations/src/package_2020_11_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod quota { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -55,7 +55,7 @@ pub mod quota { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -138,7 +138,7 @@ pub mod quota { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(QuotaRequestOneResourceSubmitResponse), @@ -223,7 +223,7 @@ pub mod quota { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(QuotaRequestOneResourceSubmitResponse), @@ -298,7 +298,7 @@ pub mod quota { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -322,7 +322,7 @@ pub mod quota { } } pub mod quota_request_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -373,7 +373,7 @@ pub mod quota_request_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -455,7 +455,7 @@ pub mod quota_request_status { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -479,7 +479,7 @@ pub mod quota_request_status { } } pub mod auto_quota_increase { - use crate::models::*; + use super::{models, models::*}; pub async fn get_properties( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -527,7 +527,7 @@ pub mod auto_quota_increase { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -595,7 +595,7 @@ pub mod auto_quota_increase { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -619,7 +619,7 @@ pub mod auto_quota_increase { } } pub mod reservation { - use crate::models::*; + use super::{models, models::*}; pub async fn available_scopes( operation_config: &crate::OperationConfig, reservation_order_id: &str, @@ -671,7 +671,7 @@ pub mod reservation { } } pub mod available_scopes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -740,7 +740,7 @@ pub mod reservation { } } pub mod split { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Vec), @@ -814,7 +814,7 @@ pub mod reservation { } } pub mod merge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Vec), @@ -885,7 +885,7 @@ pub mod reservation { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -957,7 +957,7 @@ pub mod reservation { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1028,7 +1028,7 @@ pub mod reservation { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReservationResponse), @@ -1104,7 +1104,7 @@ pub mod reservation { } } pub mod list_revisions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1180,7 +1180,7 @@ pub async fn get_catalog( } } pub mod get_catalog { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1251,7 +1251,7 @@ pub async fn get_applied_reservation_list( } } pub mod get_applied_reservation_list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1274,7 +1274,7 @@ pub mod get_applied_reservation_list { } } pub mod reservation_order { - use crate::models::*; + use super::{models, models::*}; pub async fn calculate( operation_config: &crate::OperationConfig, body: &PurchaseRequest, @@ -1319,7 +1319,7 @@ pub mod reservation_order { } } pub mod calculate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1378,7 +1378,7 @@ pub mod reservation_order { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1448,7 +1448,7 @@ pub mod reservation_order { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1525,7 +1525,7 @@ pub mod reservation_order { } } pub mod purchase { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReservationOrderResponse), @@ -1601,7 +1601,7 @@ pub mod reservation_order { } } pub mod change_directory { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1625,7 +1625,7 @@ pub mod reservation_order { } } pub mod operation { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Capacity/operations", operation_config.base_path(),); @@ -1663,7 +1663,7 @@ pub mod operation { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1687,7 +1687,7 @@ pub mod operation { } } pub mod calculate_exchange { - use crate::models::*; + use super::{models, models::*}; pub async fn post( operation_config: &crate::OperationConfig, body: &CalculateExchangeRequest, @@ -1730,7 +1730,7 @@ pub mod calculate_exchange { } } pub mod post { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CalculateExchangeOperationResultResponse), @@ -1759,7 +1759,7 @@ pub mod calculate_exchange { } } pub mod exchange { - use crate::models::*; + use super::{models, models::*}; pub async fn post( operation_config: &crate::OperationConfig, body: &ExchangeRequest, @@ -1802,7 +1802,7 @@ pub mod exchange { } } pub mod post { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExchangeOperationResultResponse), diff --git a/services/mgmt/reservations/src/package_2021_07_01/operations.rs b/services/mgmt/reservations/src/package_2021_07_01/operations.rs index 41a2aef615..89f49ae307 100644 --- a/services/mgmt/reservations/src/package_2021_07_01/operations.rs +++ b/services/mgmt/reservations/src/package_2021_07_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod reservation { - use crate::models::*; + use super::{models, models::*}; pub async fn available_scopes( operation_config: &crate::OperationConfig, reservation_order_id: &str, @@ -56,7 +56,7 @@ pub mod reservation { } } pub mod available_scopes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -125,7 +125,7 @@ pub mod reservation { } } pub mod split { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Vec), @@ -199,7 +199,7 @@ pub mod reservation { } } pub mod merge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Vec), @@ -270,7 +270,7 @@ pub mod reservation { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -342,7 +342,7 @@ pub mod reservation { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -413,7 +413,7 @@ pub mod reservation { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReservationResponse), @@ -489,7 +489,7 @@ pub mod reservation { } } pub mod list_revisions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -577,7 +577,7 @@ pub mod reservation { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -655,7 +655,7 @@ pub async fn get_catalog( } } pub mod get_catalog { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -726,7 +726,7 @@ pub async fn get_applied_reservation_list( } } pub mod get_applied_reservation_list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -749,7 +749,7 @@ pub mod get_applied_reservation_list { } } pub mod reservation_order { - use crate::models::*; + use super::{models, models::*}; pub async fn calculate( operation_config: &crate::OperationConfig, body: &PurchaseRequest, @@ -794,7 +794,7 @@ pub mod reservation_order { } } pub mod calculate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -853,7 +853,7 @@ pub mod reservation_order { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -923,7 +923,7 @@ pub mod reservation_order { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1000,7 +1000,7 @@ pub mod reservation_order { } } pub mod purchase { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReservationOrderResponse), @@ -1076,7 +1076,7 @@ pub mod reservation_order { } } pub mod change_directory { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1100,7 +1100,7 @@ pub mod reservation_order { } } pub mod operation { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Capacity/operations", operation_config.base_path(),); @@ -1138,7 +1138,7 @@ pub mod operation { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1162,7 +1162,7 @@ pub mod operation { } } pub mod calculate_exchange { - use crate::models::*; + use super::{models, models::*}; pub async fn post( operation_config: &crate::OperationConfig, body: &CalculateExchangeRequest, @@ -1205,7 +1205,7 @@ pub mod calculate_exchange { } } pub mod post { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CalculateExchangeOperationResultResponse), @@ -1234,7 +1234,7 @@ pub mod calculate_exchange { } } pub mod exchange { - use crate::models::*; + use super::{models, models::*}; pub async fn post( operation_config: &crate::OperationConfig, body: &ExchangeRequest, @@ -1277,7 +1277,7 @@ pub mod exchange { } } pub mod post { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExchangeOperationResultResponse), @@ -1306,7 +1306,7 @@ pub mod exchange { } } pub mod quota { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1357,7 +1357,7 @@ pub mod quota { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1440,7 +1440,7 @@ pub mod quota { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(QuotaRequestOneResourceSubmitResponse), @@ -1525,7 +1525,7 @@ pub mod quota { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(QuotaRequestOneResourceSubmitResponse), @@ -1600,7 +1600,7 @@ pub mod quota { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1624,7 +1624,7 @@ pub mod quota { } } pub mod quota_request_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1675,7 +1675,7 @@ pub mod quota_request_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1757,7 +1757,7 @@ pub mod quota_request_status { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/reservations/src/package_preview_2019_04/operations.rs b/services/mgmt/reservations/src/package_preview_2019_04/operations.rs index d58536bf33..02217fa04a 100644 --- a/services/mgmt/reservations/src/package_preview_2019_04/operations.rs +++ b/services/mgmt/reservations/src/package_preview_2019_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod reservation { - use crate::models::*; + use super::{models, models::*}; pub async fn available_scopes( operation_config: &crate::OperationConfig, reservation_order_id: &str, @@ -56,7 +56,7 @@ pub mod reservation { } } pub mod available_scopes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -125,7 +125,7 @@ pub mod reservation { } } pub mod split { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Vec), @@ -199,7 +199,7 @@ pub mod reservation { } } pub mod merge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Vec), @@ -270,7 +270,7 @@ pub mod reservation { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -342,7 +342,7 @@ pub mod reservation { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -413,7 +413,7 @@ pub mod reservation { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReservationResponse), @@ -489,7 +489,7 @@ pub mod reservation { } } pub mod list_revisions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -556,7 +556,7 @@ pub mod reservation { } } pub mod archive { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -623,7 +623,7 @@ pub mod reservation { } } pub mod unarchive { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -699,7 +699,7 @@ pub async fn get_catalog( } } pub mod get_catalog { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -770,7 +770,7 @@ pub async fn get_applied_reservation_list( } } pub mod get_applied_reservation_list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -793,7 +793,7 @@ pub mod get_applied_reservation_list { } } pub mod reservation_order { - use crate::models::*; + use super::{models, models::*}; pub async fn calculate( operation_config: &crate::OperationConfig, body: &PurchaseRequest, @@ -838,7 +838,7 @@ pub mod reservation_order { } } pub mod calculate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -897,7 +897,7 @@ pub mod reservation_order { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -967,7 +967,7 @@ pub mod reservation_order { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1044,7 +1044,7 @@ pub mod reservation_order { } } pub mod purchase { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReservationOrderResponse), @@ -1073,7 +1073,7 @@ pub mod reservation_order { } } pub mod operation { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Capacity/operations", operation_config.base_path(),); @@ -1111,7 +1111,7 @@ pub mod operation { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/reservations/src/package_preview_2019_07_19/operations.rs b/services/mgmt/reservations/src/package_preview_2019_07_19/operations.rs index 4f9806610c..cf7a589625 100644 --- a/services/mgmt/reservations/src/package_preview_2019_07_19/operations.rs +++ b/services/mgmt/reservations/src/package_preview_2019_07_19/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod quota { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -55,7 +55,7 @@ pub mod quota { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -138,7 +138,7 @@ pub mod quota { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(QuotaRequestOneResourceSubmitResponse), @@ -223,7 +223,7 @@ pub mod quota { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(QuotaRequestOneResourceSubmitResponse), @@ -298,7 +298,7 @@ pub mod quota { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -322,7 +322,7 @@ pub mod quota { } } pub mod quota_request_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -373,7 +373,7 @@ pub mod quota_request_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -455,7 +455,7 @@ pub mod quota_request_status { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -479,7 +479,7 @@ pub mod quota_request_status { } } pub mod auto_quota_increase { - use crate::models::*; + use super::{models, models::*}; pub async fn get_properties( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -527,7 +527,7 @@ pub mod auto_quota_increase { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -595,7 +595,7 @@ pub mod auto_quota_increase { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -619,7 +619,7 @@ pub mod auto_quota_increase { } } pub mod reservation { - use crate::models::*; + use super::{models, models::*}; pub async fn available_scopes( operation_config: &crate::OperationConfig, reservation_order_id: &str, @@ -671,7 +671,7 @@ pub mod reservation { } } pub mod available_scopes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -740,7 +740,7 @@ pub mod reservation { } } pub mod split { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Vec), @@ -814,7 +814,7 @@ pub mod reservation { } } pub mod merge { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Vec), @@ -885,7 +885,7 @@ pub mod reservation { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -957,7 +957,7 @@ pub mod reservation { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1028,7 +1028,7 @@ pub mod reservation { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReservationResponse), @@ -1104,7 +1104,7 @@ pub mod reservation { } } pub mod list_revisions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1171,7 +1171,7 @@ pub mod reservation { } } pub mod archive { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1238,7 +1238,7 @@ pub mod reservation { } } pub mod unarchive { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1314,7 +1314,7 @@ pub async fn get_catalog( } } pub mod get_catalog { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1385,7 +1385,7 @@ pub async fn get_applied_reservation_list( } } pub mod get_applied_reservation_list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1408,7 +1408,7 @@ pub mod get_applied_reservation_list { } } pub mod reservation_order { - use crate::models::*; + use super::{models, models::*}; pub async fn calculate( operation_config: &crate::OperationConfig, body: &PurchaseRequest, @@ -1453,7 +1453,7 @@ pub mod reservation_order { } } pub mod calculate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1512,7 +1512,7 @@ pub mod reservation_order { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1582,7 +1582,7 @@ pub mod reservation_order { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1659,7 +1659,7 @@ pub mod reservation_order { } } pub mod purchase { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReservationOrderResponse), @@ -1688,7 +1688,7 @@ pub mod reservation_order { } } pub mod operation { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Capacity/operations", operation_config.base_path(),); @@ -1726,7 +1726,7 @@ pub mod operation { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/resourcegraph/Cargo.toml b/services/mgmt/resourcegraph/Cargo.toml index 8a8e340006..bda7a8dc63 100644 --- a/services/mgmt/resourcegraph/Cargo.toml +++ b/services/mgmt/resourcegraph/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-03"] +no-default-version = [] "package-preview-2021-06" = [] "package-preview-2021-03" = [] "package-2021-03" = [] diff --git a/services/mgmt/resourcegraph/src/lib.rs b/services/mgmt/resourcegraph/src/lib.rs index 066b75a56a..0951c08c98 100644 --- a/services/mgmt/resourcegraph/src/lib.rs +++ b/services/mgmt/resourcegraph/src/lib.rs @@ -1,33 +1,41 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-preview-2021-06")] -mod package_preview_2021_06; -#[cfg(feature = "package-preview-2021-06")] +pub mod package_preview_2021_06; +#[cfg(all(feature = "package-preview-2021-06", not(feature = "no-default-version")))] pub use package_preview_2021_06::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2021-03")] -mod package_preview_2021_03; -#[cfg(feature = "package-preview-2021-03")] +pub mod package_preview_2021_03; +#[cfg(all(feature = "package-preview-2021-03", not(feature = "no-default-version")))] pub use package_preview_2021_03::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-03")] -mod package_2021_03; -#[cfg(feature = "package-2021-03")] +pub mod package_2021_03; +#[cfg(all(feature = "package-2021-03", not(feature = "no-default-version")))] pub use package_2021_03::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2020-09")] -mod package_preview_2020_09; -#[cfg(feature = "package-preview-2020-09")] +pub mod package_preview_2020_09; +#[cfg(all(feature = "package-preview-2020-09", not(feature = "no-default-version")))] pub use package_preview_2020_09::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2020-04")] -mod package_preview_2020_04; -#[cfg(feature = "package-preview-2020-04")] +pub mod package_preview_2020_04; +#[cfg(all(feature = "package-preview-2020-04", not(feature = "no-default-version")))] pub use package_preview_2020_04::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-04")] -mod package_2019_04; -#[cfg(feature = "package-2019-04")] +pub mod package_2019_04; +#[cfg(all(feature = "package-2019-04", not(feature = "no-default-version")))] pub use package_2019_04::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-09-preview")] -mod package_2018_09_preview; +pub mod package_2018_09_preview; use azure_core::setters; -#[cfg(feature = "package-2018-09-preview")] +#[cfg(all(feature = "package-2018-09-preview", not(feature = "no-default-version")))] pub use package_2018_09_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -51,7 +59,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/resourcegraph/src/package_2018_09_preview/operations.rs b/services/mgmt/resourcegraph/src/package_2018_09_preview/operations.rs index e734ae76a8..45e14596b8 100644 --- a/services/mgmt/resourcegraph/src/package_2018_09_preview/operations.rs +++ b/services/mgmt/resourcegraph/src/package_2018_09_preview/operations.rs @@ -2,7 +2,7 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub async fn resources( operation_config: &crate::OperationConfig, query: &QueryRequest, @@ -47,7 +47,7 @@ pub async fn resources( } } pub mod resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -113,7 +113,7 @@ pub async fn resource_changes( } } pub mod resource_changes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub async fn resource_change_details( } } pub mod resource_change_details { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -207,7 +207,7 @@ pub mod resource_change_details { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ResourceGraph/operations", operation_config.base_path(),); @@ -243,7 +243,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -264,7 +264,7 @@ pub mod operations { } } pub mod graph_query { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -311,7 +311,7 @@ pub mod graph_query { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -381,7 +381,7 @@ pub mod graph_query { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -456,7 +456,7 @@ pub mod graph_query { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -528,7 +528,7 @@ pub mod graph_query { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -594,7 +594,7 @@ pub mod graph_query { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/resourcegraph/src/package_2019_04/operations.rs b/services/mgmt/resourcegraph/src/package_2019_04/operations.rs index c3e0a1c772..ebb4ca514d 100644 --- a/services/mgmt/resourcegraph/src/package_2019_04/operations.rs +++ b/services/mgmt/resourcegraph/src/package_2019_04/operations.rs @@ -2,7 +2,7 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub async fn resources( operation_config: &crate::OperationConfig, query: &QueryRequest, @@ -47,7 +47,7 @@ pub async fn resources( } } pub mod resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -70,7 +70,7 @@ pub mod resources { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ResourceGraph/operations", operation_config.base_path(),); @@ -106,7 +106,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/resourcegraph/src/package_2021_03/operations.rs b/services/mgmt/resourcegraph/src/package_2021_03/operations.rs index b04294339a..e0644cc702 100644 --- a/services/mgmt/resourcegraph/src/package_2021_03/operations.rs +++ b/services/mgmt/resourcegraph/src/package_2021_03/operations.rs @@ -2,7 +2,7 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub async fn resources( operation_config: &crate::OperationConfig, query: &QueryRequest, @@ -47,7 +47,7 @@ pub async fn resources( } } pub mod resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -70,7 +70,7 @@ pub mod resources { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ResourceGraph/operations", operation_config.base_path(),); @@ -108,7 +108,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/resourcegraph/src/package_preview_2020_04/operations.rs b/services/mgmt/resourcegraph/src/package_preview_2020_04/operations.rs index eb19d9192f..520ef39b05 100644 --- a/services/mgmt/resourcegraph/src/package_preview_2020_04/operations.rs +++ b/services/mgmt/resourcegraph/src/package_preview_2020_04/operations.rs @@ -2,7 +2,7 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub async fn resources( operation_config: &crate::OperationConfig, query: &QueryRequest, @@ -47,7 +47,7 @@ pub async fn resources( } } pub mod resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -113,7 +113,7 @@ pub async fn resource_changes( } } pub mod resource_changes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub async fn resource_change_details( } } pub mod resource_change_details { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -253,7 +253,7 @@ pub async fn resources_history( } } pub mod resources_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -276,7 +276,7 @@ pub mod resources_history { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ResourceGraph/operations", operation_config.base_path(),); @@ -314,7 +314,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/resourcegraph/src/package_preview_2020_09/operations.rs b/services/mgmt/resourcegraph/src/package_preview_2020_09/operations.rs index 8b86fa357f..aefc703b33 100644 --- a/services/mgmt/resourcegraph/src/package_preview_2020_09/operations.rs +++ b/services/mgmt/resourcegraph/src/package_preview_2020_09/operations.rs @@ -2,7 +2,7 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub async fn resource_changes( operation_config: &crate::OperationConfig, parameters: &ResourceChangesRequestParameters, @@ -47,7 +47,7 @@ pub async fn resource_changes( } } pub mod resource_changes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -118,7 +118,7 @@ pub async fn resource_change_details( } } pub mod resource_change_details { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub async fn resources( } } pub mod resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -253,7 +253,7 @@ pub async fn resources_history( } } pub mod resources_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -276,7 +276,7 @@ pub mod resources_history { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ResourceGraph/operations", operation_config.base_path(),); @@ -314,7 +314,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/resourcegraph/src/package_preview_2021_03/operations.rs b/services/mgmt/resourcegraph/src/package_preview_2021_03/operations.rs index 8b86fa357f..aefc703b33 100644 --- a/services/mgmt/resourcegraph/src/package_preview_2021_03/operations.rs +++ b/services/mgmt/resourcegraph/src/package_preview_2021_03/operations.rs @@ -2,7 +2,7 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub async fn resource_changes( operation_config: &crate::OperationConfig, parameters: &ResourceChangesRequestParameters, @@ -47,7 +47,7 @@ pub async fn resource_changes( } } pub mod resource_changes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -118,7 +118,7 @@ pub async fn resource_change_details( } } pub mod resource_change_details { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub async fn resources( } } pub mod resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -253,7 +253,7 @@ pub async fn resources_history( } } pub mod resources_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -276,7 +276,7 @@ pub mod resources_history { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ResourceGraph/operations", operation_config.base_path(),); @@ -314,7 +314,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/resourcegraph/src/package_preview_2021_06/operations.rs b/services/mgmt/resourcegraph/src/package_preview_2021_06/operations.rs index 6e30a304ab..01a0298a23 100644 --- a/services/mgmt/resourcegraph/src/package_preview_2021_06/operations.rs +++ b/services/mgmt/resourcegraph/src/package_preview_2021_06/operations.rs @@ -2,7 +2,7 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub async fn resources( operation_config: &crate::OperationConfig, query: &QueryRequest, @@ -47,7 +47,7 @@ pub async fn resources( } } pub mod resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -116,7 +116,7 @@ pub async fn resources_history( } } pub mod resources_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -139,7 +139,7 @@ pub mod resources_history { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ResourceGraph/operations", operation_config.base_path(),); @@ -177,7 +177,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/resourcehealth/Cargo.toml b/services/mgmt/resourcehealth/Cargo.toml index a2528f9ceb..aa05285fcf 100644 --- a/services/mgmt/resourcehealth/Cargo.toml +++ b/services/mgmt/resourcehealth/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2017-07"] +no-default-version = [] "package-2017-07" = [] "package-2015-01" = [] "package-2018-08-preview" = [] diff --git a/services/mgmt/resourcehealth/src/lib.rs b/services/mgmt/resourcehealth/src/lib.rs index 491f8dcfb3..88a79cc363 100644 --- a/services/mgmt/resourcehealth/src/lib.rs +++ b/services/mgmt/resourcehealth/src/lib.rs @@ -1,29 +1,37 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2017-07")] -mod package_2017_07; -#[cfg(feature = "package-2017-07")] +pub mod package_2017_07; +#[cfg(all(feature = "package-2017-07", not(feature = "no-default-version")))] pub use package_2017_07::{models, operations, API_VERSION}; #[cfg(feature = "package-2015-01")] -mod package_2015_01; -#[cfg(feature = "package-2015-01")] +pub mod package_2015_01; +#[cfg(all(feature = "package-2015-01", not(feature = "no-default-version")))] pub use package_2015_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-08-preview")] -mod package_2018_08_preview; -#[cfg(feature = "package-2018-08-preview")] +pub mod package_2018_08_preview; +#[cfg(all(feature = "package-2018-08-preview", not(feature = "no-default-version")))] pub use package_2018_08_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-05-01-preview")] -mod package_2020_05_01_preview; -#[cfg(feature = "package-2020-05-01-preview")] +pub mod package_2020_05_01_preview; +#[cfg(all(feature = "package-2020-05-01-preview", not(feature = "no-default-version")))] pub use package_2020_05_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-07-01")] -mod package_2018_07_01; -#[cfg(feature = "package-2018-07-01")] +pub mod package_2018_07_01; +#[cfg(all(feature = "package-2018-07-01", not(feature = "no-default-version")))] pub use package_2018_07_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-05-01")] -mod package_2020_05_01; +pub mod package_2020_05_01; use azure_core::setters; -#[cfg(feature = "package-2020-05-01")] +#[cfg(all(feature = "package-2020-05-01", not(feature = "no-default-version")))] pub use package_2020_05_01::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -47,7 +55,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/resourcehealth/src/package_2015_01/operations.rs b/services/mgmt/resourcehealth/src/package_2015_01/operations.rs index 6943fa07df..f160fdb2d8 100644 --- a/services/mgmt/resourcehealth/src/package_2015_01/operations.rs +++ b/services/mgmt/resourcehealth/src/package_2015_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod availability_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription_id( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -62,7 +62,7 @@ pub mod availability_statuses { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -143,7 +143,7 @@ pub mod availability_statuses { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -220,7 +220,7 @@ pub mod availability_statuses { } } pub mod get_by_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -294,7 +294,7 @@ pub mod availability_statuses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -318,7 +318,7 @@ pub mod availability_statuses { } } pub mod child_availability_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_resource( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -374,7 +374,7 @@ pub mod child_availability_statuses { } } pub mod get_by_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -448,7 +448,7 @@ pub mod child_availability_statuses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -472,7 +472,7 @@ pub mod child_availability_statuses { } } pub mod child_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -525,7 +525,7 @@ pub mod child_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -549,7 +549,7 @@ pub mod child_resources { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ResourceHealth/operations", operation_config.base_path(),); @@ -587,7 +587,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/resourcehealth/src/package_2017_07/operations.rs b/services/mgmt/resourcehealth/src/package_2017_07/operations.rs index 708b85c676..2bfdbadcfe 100644 --- a/services/mgmt/resourcehealth/src/package_2017_07/operations.rs +++ b/services/mgmt/resourcehealth/src/package_2017_07/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod availability_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription_id( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -62,7 +62,7 @@ pub mod availability_statuses { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -143,7 +143,7 @@ pub mod availability_statuses { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -220,7 +220,7 @@ pub mod availability_statuses { } } pub mod get_by_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -294,7 +294,7 @@ pub mod availability_statuses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -318,7 +318,7 @@ pub mod availability_statuses { } } pub mod child_availability_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_resource( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -374,7 +374,7 @@ pub mod child_availability_statuses { } } pub mod get_by_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -448,7 +448,7 @@ pub mod child_availability_statuses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -472,7 +472,7 @@ pub mod child_availability_statuses { } } pub mod child_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_uri: &str, @@ -525,7 +525,7 @@ pub mod child_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -549,7 +549,7 @@ pub mod child_resources { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ResourceHealth/operations", operation_config.base_path(),); @@ -587,7 +587,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -611,7 +611,7 @@ pub mod operations { } } pub mod emerging_issues { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, issue_name: &str, @@ -656,7 +656,7 @@ pub mod emerging_issues { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -715,7 +715,7 @@ pub mod emerging_issues { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/resourcehealth/src/package_2018_07_01/operations.rs b/services/mgmt/resourcehealth/src/package_2018_07_01/operations.rs index 8ececafed6..0aa2d06ee7 100644 --- a/services/mgmt/resourcehealth/src/package_2018_07_01/operations.rs +++ b/services/mgmt/resourcehealth/src/package_2018_07_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod events { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription_id( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -66,7 +66,7 @@ pub mod events { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -145,7 +145,7 @@ pub mod events { } } pub mod list_by_single_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -169,7 +169,7 @@ pub mod events { } } pub mod availability_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription_id( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -227,7 +227,7 @@ pub mod availability_statuses { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -308,7 +308,7 @@ pub mod availability_statuses { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -385,7 +385,7 @@ pub mod availability_statuses { } } pub mod get_by_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -459,7 +459,7 @@ pub mod availability_statuses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -483,7 +483,7 @@ pub mod availability_statuses { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ResourceHealth/operations", operation_config.base_path(),); @@ -521,7 +521,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -545,7 +545,7 @@ pub mod operations { } } pub mod emerging_issues { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, issue_name: &str, @@ -590,7 +590,7 @@ pub mod emerging_issues { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -649,7 +649,7 @@ pub mod emerging_issues { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/resourcehealth/src/package_2018_08_preview/operations.rs b/services/mgmt/resourcehealth/src/package_2018_08_preview/operations.rs index 4dd8a74190..1c460b3d29 100644 --- a/services/mgmt/resourcehealth/src/package_2018_08_preview/operations.rs +++ b/services/mgmt/resourcehealth/src/package_2018_08_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod metadata { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig, name: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -50,7 +50,7 @@ pub mod metadata { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -106,7 +106,7 @@ pub mod metadata { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod metadata { } } pub mod emerging_issues { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, issue_name: &str, @@ -172,7 +172,7 @@ pub mod emerging_issues { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -231,7 +231,7 @@ pub mod emerging_issues { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -255,7 +255,7 @@ pub mod emerging_issues { } } pub mod events { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription_id( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -309,7 +309,7 @@ pub mod events { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -384,7 +384,7 @@ pub mod events { } } pub mod list_by_single_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -408,7 +408,7 @@ pub mod events { } } pub mod impacted_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription_id( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -462,7 +462,7 @@ pub mod impacted_resources { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -486,7 +486,7 @@ pub mod impacted_resources { } } pub mod availability_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription_id( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -544,7 +544,7 @@ pub mod availability_statuses { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -625,7 +625,7 @@ pub mod availability_statuses { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -702,7 +702,7 @@ pub mod availability_statuses { } } pub mod get_by_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -776,7 +776,7 @@ pub mod availability_statuses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -800,7 +800,7 @@ pub mod availability_statuses { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ResourceHealth/operations", operation_config.base_path(),); @@ -838,7 +838,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/resourcehealth/src/package_2020_05_01/operations.rs b/services/mgmt/resourcehealth/src/package_2020_05_01/operations.rs index ae8bc3d271..f2950db3a5 100644 --- a/services/mgmt/resourcehealth/src/package_2020_05_01/operations.rs +++ b/services/mgmt/resourcehealth/src/package_2020_05_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod availability_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription_id( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -62,7 +62,7 @@ pub mod availability_statuses { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -143,7 +143,7 @@ pub mod availability_statuses { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -220,7 +220,7 @@ pub mod availability_statuses { } } pub mod get_by_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -294,7 +294,7 @@ pub mod availability_statuses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -318,7 +318,7 @@ pub mod availability_statuses { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ResourceHealth/operations", operation_config.base_path(),); @@ -356,7 +356,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/resourcehealth/src/package_2020_05_01_preview/operations.rs b/services/mgmt/resourcehealth/src/package_2020_05_01_preview/operations.rs index ae8bc3d271..f2950db3a5 100644 --- a/services/mgmt/resourcehealth/src/package_2020_05_01_preview/operations.rs +++ b/services/mgmt/resourcehealth/src/package_2020_05_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod availability_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription_id( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -62,7 +62,7 @@ pub mod availability_statuses { } } pub mod list_by_subscription_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -143,7 +143,7 @@ pub mod availability_statuses { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -220,7 +220,7 @@ pub mod availability_statuses { } } pub mod get_by_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -294,7 +294,7 @@ pub mod availability_statuses { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -318,7 +318,7 @@ pub mod availability_statuses { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ResourceHealth/operations", operation_config.base_path(),); @@ -356,7 +356,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/resourcemover/Cargo.toml b/services/mgmt/resourcemover/Cargo.toml index 93e2007f87..6a7e8701ed 100644 --- a/services/mgmt/resourcemover/Cargo.toml +++ b/services/mgmt/resourcemover/Cargo.toml @@ -20,5 +20,6 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-01-01"] +no-default-version = [] "package-2019-10-01-preview" = [] "package-2021-01-01" = [] diff --git a/services/mgmt/resourcemover/src/lib.rs b/services/mgmt/resourcemover/src/lib.rs index 577560c085..be2cdb1fbf 100644 --- a/services/mgmt/resourcemover/src/lib.rs +++ b/services/mgmt/resourcemover/src/lib.rs @@ -1,13 +1,21 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2019-10-01-preview")] -mod package_2019_10_01_preview; -#[cfg(feature = "package-2019-10-01-preview")] +pub mod package_2019_10_01_preview; +#[cfg(all(feature = "package-2019-10-01-preview", not(feature = "no-default-version")))] pub use package_2019_10_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-01-01")] -mod package_2021_01_01; +pub mod package_2021_01_01; use azure_core::setters; -#[cfg(feature = "package-2021-01-01")] +#[cfg(all(feature = "package-2021-01-01", not(feature = "no-default-version")))] pub use package_2021_01_01::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -31,7 +39,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/resourcemover/src/package_2019_10_01_preview/operations.rs b/services/mgmt/resourcemover/src/package_2019_10_01_preview/operations.rs index b8b8761a94..4360a8d8a7 100644 --- a/services/mgmt/resourcemover/src/package_2019_10_01_preview/operations.rs +++ b/services/mgmt/resourcemover/src/package_2019_10_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod move_collections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod move_collections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -135,7 +135,7 @@ pub mod move_collections { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(MoveCollection), @@ -216,7 +216,7 @@ pub mod move_collections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -288,7 +288,7 @@ pub mod move_collections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatus), @@ -374,7 +374,7 @@ pub mod move_collections { } } pub mod prepare { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatus), @@ -459,7 +459,7 @@ pub mod move_collections { } } pub mod initiate_move { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatus), @@ -541,7 +541,7 @@ pub mod move_collections { } } pub mod commit { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatus), @@ -626,7 +626,7 @@ pub mod move_collections { } } pub mod discard { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatus), @@ -706,7 +706,7 @@ pub mod move_collections { } } pub mod resolve_dependencies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatus), @@ -791,7 +791,7 @@ pub mod move_collections { } } pub mod bulk_remove { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatus), @@ -867,7 +867,7 @@ pub mod move_collections { } } pub mod list_move_collections_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -940,7 +940,7 @@ pub mod move_collections { } } pub mod list_move_collections_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1015,7 +1015,7 @@ pub mod move_collections { } } pub mod list_required_for { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1039,7 +1039,7 @@ pub mod move_collections { } } pub mod move_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1092,7 +1092,7 @@ pub mod move_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1164,7 +1164,7 @@ pub mod move_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1243,7 +1243,7 @@ pub mod move_resources { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1322,7 +1322,7 @@ pub mod move_resources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatus), @@ -1352,7 +1352,7 @@ pub mod move_resources { } } pub mod unresolved_dependencies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1413,7 +1413,7 @@ pub mod unresolved_dependencies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1437,7 +1437,7 @@ pub mod unresolved_dependencies { } } pub mod operations_discovery { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Migrate/operations", operation_config.base_path(),); @@ -1475,7 +1475,7 @@ pub mod operations_discovery { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/resourcemover/src/package_2021_01_01/operations.rs b/services/mgmt/resourcemover/src/package_2021_01_01/operations.rs index b8b8761a94..4360a8d8a7 100644 --- a/services/mgmt/resourcemover/src/package_2021_01_01/operations.rs +++ b/services/mgmt/resourcemover/src/package_2021_01_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod move_collections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod move_collections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -135,7 +135,7 @@ pub mod move_collections { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(MoveCollection), @@ -216,7 +216,7 @@ pub mod move_collections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -288,7 +288,7 @@ pub mod move_collections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatus), @@ -374,7 +374,7 @@ pub mod move_collections { } } pub mod prepare { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatus), @@ -459,7 +459,7 @@ pub mod move_collections { } } pub mod initiate_move { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatus), @@ -541,7 +541,7 @@ pub mod move_collections { } } pub mod commit { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatus), @@ -626,7 +626,7 @@ pub mod move_collections { } } pub mod discard { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatus), @@ -706,7 +706,7 @@ pub mod move_collections { } } pub mod resolve_dependencies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatus), @@ -791,7 +791,7 @@ pub mod move_collections { } } pub mod bulk_remove { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatus), @@ -867,7 +867,7 @@ pub mod move_collections { } } pub mod list_move_collections_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -940,7 +940,7 @@ pub mod move_collections { } } pub mod list_move_collections_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1015,7 +1015,7 @@ pub mod move_collections { } } pub mod list_required_for { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1039,7 +1039,7 @@ pub mod move_collections { } } pub mod move_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1092,7 +1092,7 @@ pub mod move_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1164,7 +1164,7 @@ pub mod move_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1243,7 +1243,7 @@ pub mod move_resources { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1322,7 +1322,7 @@ pub mod move_resources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationStatus), @@ -1352,7 +1352,7 @@ pub mod move_resources { } } pub mod unresolved_dependencies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1413,7 +1413,7 @@ pub mod unresolved_dependencies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1437,7 +1437,7 @@ pub mod unresolved_dependencies { } } pub mod operations_discovery { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Migrate/operations", operation_config.base_path(),); @@ -1475,7 +1475,7 @@ pub mod operations_discovery { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/resources/Cargo.toml b/services/mgmt/resources/Cargo.toml index fd4cd9a448..f168eee1a1 100644 --- a/services/mgmt/resources/Cargo.toml +++ b/services/mgmt/resources/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-policy-2021-07"] +no-default-version = [] "package-policy-2021-07" = [] "package-policy-2021-06" = [] "package-privatelinks-2020-05" = [] diff --git a/services/mgmt/resources/src/lib.rs b/services/mgmt/resources/src/lib.rs index e7f3737232..4b0f4c790c 100644 --- a/services/mgmt/resources/src/lib.rs +++ b/services/mgmt/resources/src/lib.rs @@ -1,225 +1,233 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-policy-2021-07")] -mod package_policy_2021_07; -#[cfg(feature = "package-policy-2021-07")] +pub mod package_policy_2021_07; +#[cfg(all(feature = "package-policy-2021-07", not(feature = "no-default-version")))] pub use package_policy_2021_07::{models, operations, API_VERSION}; #[cfg(feature = "package-policy-2021-06")] -mod package_policy_2021_06; -#[cfg(feature = "package-policy-2021-06")] +pub mod package_policy_2021_06; +#[cfg(all(feature = "package-policy-2021-06", not(feature = "no-default-version")))] pub use package_policy_2021_06::{models, operations, API_VERSION}; #[cfg(feature = "package-privatelinks-2020-05")] -mod package_privatelinks_2020_05; -#[cfg(feature = "package-privatelinks-2020-05")] +pub mod package_privatelinks_2020_05; +#[cfg(all(feature = "package-privatelinks-2020-05", not(feature = "no-default-version")))] pub use package_privatelinks_2020_05::{models, operations, API_VERSION}; #[cfg(feature = "package-locks-2020-05")] -mod package_locks_2020_05; -#[cfg(feature = "package-locks-2020-05")] +pub mod package_locks_2020_05; +#[cfg(all(feature = "package-locks-2020-05", not(feature = "no-default-version")))] pub use package_locks_2020_05::{models, operations, API_VERSION}; #[cfg(feature = "package-resources-2021-04")] -mod package_resources_2021_04; -#[cfg(feature = "package-resources-2021-04")] +pub mod package_resources_2021_04; +#[cfg(all(feature = "package-resources-2021-04", not(feature = "no-default-version")))] pub use package_resources_2021_04::{models, operations, API_VERSION}; #[cfg(feature = "package-locks-2017-04")] -mod package_locks_2017_04; -#[cfg(feature = "package-locks-2017-04")] +pub mod package_locks_2017_04; +#[cfg(all(feature = "package-locks-2017-04", not(feature = "no-default-version")))] pub use package_locks_2017_04::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2020-08")] -mod package_preview_2020_08; -#[cfg(feature = "package-preview-2020-08")] +pub mod package_preview_2020_08; +#[cfg(all(feature = "package-preview-2020-08", not(feature = "no-default-version")))] pub use package_preview_2020_08::{models, operations, API_VERSION}; #[cfg(feature = "package-subscriptions-2021-01")] -mod package_subscriptions_2021_01; -#[cfg(feature = "package-subscriptions-2021-01")] +pub mod package_subscriptions_2021_01; +#[cfg(all(feature = "package-subscriptions-2021-01", not(feature = "no-default-version")))] pub use package_subscriptions_2021_01::{models, operations, API_VERSION}; #[cfg(feature = "package-deploymentscripts-2020-10")] -mod package_deploymentscripts_2020_10; -#[cfg(feature = "package-deploymentscripts-2020-10")] +pub mod package_deploymentscripts_2020_10; +#[cfg(all(feature = "package-deploymentscripts-2020-10", not(feature = "no-default-version")))] pub use package_deploymentscripts_2020_10::{models, operations, API_VERSION}; #[cfg(feature = "package-deploymentscripts-2019-10-preview")] -mod package_deploymentscripts_2019_10_preview; -#[cfg(feature = "package-deploymentscripts-2019-10-preview")] +pub mod package_deploymentscripts_2019_10_preview; +#[cfg(all(feature = "package-deploymentscripts-2019-10-preview", not(feature = "no-default-version")))] pub use package_deploymentscripts_2019_10_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-features-2021-07")] -mod package_features_2021_07; -#[cfg(feature = "package-features-2021-07")] +pub mod package_features_2021_07; +#[cfg(all(feature = "package-features-2021-07", not(feature = "no-default-version")))] pub use package_features_2021_07::{models, operations, API_VERSION}; #[cfg(feature = "package-features-2015-12")] -mod package_features_2015_12; -#[cfg(feature = "package-features-2015-12")] +pub mod package_features_2015_12; +#[cfg(all(feature = "package-features-2015-12", not(feature = "no-default-version")))] pub use package_features_2015_12::{models, operations, API_VERSION}; #[cfg(feature = "package-locks-2016-09")] -mod package_locks_2016_09; -#[cfg(feature = "package-locks-2016-09")] +pub mod package_locks_2016_09; +#[cfg(all(feature = "package-locks-2016-09", not(feature = "no-default-version")))] pub use package_locks_2016_09::{models, operations, API_VERSION}; #[cfg(feature = "package-locks-2015-01")] -mod package_locks_2015_01; -#[cfg(feature = "package-locks-2015-01")] +pub mod package_locks_2015_01; +#[cfg(all(feature = "package-locks-2015-01", not(feature = "no-default-version")))] pub use package_locks_2015_01::{models, operations, API_VERSION}; #[cfg(feature = "package-policy-2019-09")] -mod package_policy_2019_09; -#[cfg(feature = "package-policy-2019-09")] +pub mod package_policy_2019_09; +#[cfg(all(feature = "package-policy-2019-09", not(feature = "no-default-version")))] pub use package_policy_2019_09::{models, operations, API_VERSION}; #[cfg(feature = "package-policy-2019-06")] -mod package_policy_2019_06; -#[cfg(feature = "package-policy-2019-06")] +pub mod package_policy_2019_06; +#[cfg(all(feature = "package-policy-2019-06", not(feature = "no-default-version")))] pub use package_policy_2019_06::{models, operations, API_VERSION}; #[cfg(feature = "package-policy-2019-01")] -mod package_policy_2019_01; -#[cfg(feature = "package-policy-2019-01")] +pub mod package_policy_2019_01; +#[cfg(all(feature = "package-policy-2019-01", not(feature = "no-default-version")))] pub use package_policy_2019_01::{models, operations, API_VERSION}; #[cfg(feature = "package-policy-2018-05")] -mod package_policy_2018_05; -#[cfg(feature = "package-policy-2018-05")] +pub mod package_policy_2018_05; +#[cfg(all(feature = "package-policy-2018-05", not(feature = "no-default-version")))] pub use package_policy_2018_05::{models, operations, API_VERSION}; #[cfg(feature = "package-policy-2018-03")] -mod package_policy_2018_03; -#[cfg(feature = "package-policy-2018-03")] +pub mod package_policy_2018_03; +#[cfg(all(feature = "package-policy-2018-03", not(feature = "no-default-version")))] pub use package_policy_2018_03::{models, operations, API_VERSION}; #[cfg(feature = "package-policy-2017-06")] -mod package_policy_2017_06; -#[cfg(feature = "package-policy-2017-06")] +pub mod package_policy_2017_06; +#[cfg(all(feature = "package-policy-2017-06", not(feature = "no-default-version")))] pub use package_policy_2017_06::{models, operations, API_VERSION}; #[cfg(feature = "package-pure-policy-2017-06")] -mod package_pure_policy_2017_06; -#[cfg(feature = "package-pure-policy-2017-06")] +pub mod package_pure_policy_2017_06; +#[cfg(all(feature = "package-pure-policy-2017-06", not(feature = "no-default-version")))] pub use package_pure_policy_2017_06::{models, operations, API_VERSION}; #[cfg(feature = "package-templatespecs-2021-05")] -mod package_templatespecs_2021_05; -#[cfg(feature = "package-templatespecs-2021-05")] +pub mod package_templatespecs_2021_05; +#[cfg(all(feature = "package-templatespecs-2021-05", not(feature = "no-default-version")))] pub use package_templatespecs_2021_05::{models, operations, API_VERSION}; #[cfg(feature = "package-templatespecs-2021-03-preview")] -mod package_templatespecs_2021_03_preview; -#[cfg(feature = "package-templatespecs-2021-03-preview")] +pub mod package_templatespecs_2021_03_preview; +#[cfg(all(feature = "package-templatespecs-2021-03-preview", not(feature = "no-default-version")))] pub use package_templatespecs_2021_03_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-templatespecs-2019-06-preview")] -mod package_templatespecs_2019_06_preview; -#[cfg(feature = "package-templatespecs-2019-06-preview")] +pub mod package_templatespecs_2019_06_preview; +#[cfg(all(feature = "package-templatespecs-2019-06-preview", not(feature = "no-default-version")))] pub use package_templatespecs_2019_06_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-policy-2016-12")] -mod package_policy_2016_12; -#[cfg(feature = "package-policy-2016-12")] +pub mod package_policy_2016_12; +#[cfg(all(feature = "package-policy-2016-12", not(feature = "no-default-version")))] pub use package_policy_2016_12::{models, operations, API_VERSION}; #[cfg(feature = "package-policy-2016-04")] -mod package_policy_2016_04; -#[cfg(feature = "package-policy-2016-04")] +pub mod package_policy_2016_04; +#[cfg(all(feature = "package-policy-2016-04", not(feature = "no-default-version")))] pub use package_policy_2016_04::{models, operations, API_VERSION}; #[cfg(feature = "package-policy-2015-10")] -mod package_policy_2015_10; -#[cfg(feature = "package-policy-2015-10")] +pub mod package_policy_2015_10; +#[cfg(all(feature = "package-policy-2015-10", not(feature = "no-default-version")))] pub use package_policy_2015_10::{models, operations, API_VERSION}; #[cfg(feature = "package-resources-2021-01")] -mod package_resources_2021_01; -#[cfg(feature = "package-resources-2021-01")] +pub mod package_resources_2021_01; +#[cfg(all(feature = "package-resources-2021-01", not(feature = "no-default-version")))] pub use package_resources_2021_01::{models, operations, API_VERSION}; #[cfg(feature = "package-resources-2020-10")] -mod package_resources_2020_10; -#[cfg(feature = "package-resources-2020-10")] +pub mod package_resources_2020_10; +#[cfg(all(feature = "package-resources-2020-10", not(feature = "no-default-version")))] pub use package_resources_2020_10::{models, operations, API_VERSION}; #[cfg(feature = "package-resources-2020-08")] -mod package_resources_2020_08; -#[cfg(feature = "package-resources-2020-08")] +pub mod package_resources_2020_08; +#[cfg(all(feature = "package-resources-2020-08", not(feature = "no-default-version")))] pub use package_resources_2020_08::{models, operations, API_VERSION}; #[cfg(feature = "package-resources-2020-06")] -mod package_resources_2020_06; -#[cfg(feature = "package-resources-2020-06")] +pub mod package_resources_2020_06; +#[cfg(all(feature = "package-resources-2020-06", not(feature = "no-default-version")))] pub use package_resources_2020_06::{models, operations, API_VERSION}; #[cfg(feature = "package-resources-2019-10")] -mod package_resources_2019_10; -#[cfg(feature = "package-resources-2019-10")] +pub mod package_resources_2019_10; +#[cfg(all(feature = "package-resources-2019-10", not(feature = "no-default-version")))] pub use package_resources_2019_10::{models, operations, API_VERSION}; #[cfg(feature = "package-resources-2019-08")] -mod package_resources_2019_08; -#[cfg(feature = "package-resources-2019-08")] +pub mod package_resources_2019_08; +#[cfg(all(feature = "package-resources-2019-08", not(feature = "no-default-version")))] pub use package_resources_2019_08::{models, operations, API_VERSION}; #[cfg(feature = "package-resources-2019-07")] -mod package_resources_2019_07; -#[cfg(feature = "package-resources-2019-07")] +pub mod package_resources_2019_07; +#[cfg(all(feature = "package-resources-2019-07", not(feature = "no-default-version")))] pub use package_resources_2019_07::{models, operations, API_VERSION}; #[cfg(feature = "package-resources-2019-0510")] -mod package_resources_2019_0510; -#[cfg(feature = "package-resources-2019-0510")] +pub mod package_resources_2019_0510; +#[cfg(all(feature = "package-resources-2019-0510", not(feature = "no-default-version")))] pub use package_resources_2019_0510::{models, operations, API_VERSION}; #[cfg(feature = "package-resources-2019-05")] -mod package_resources_2019_05; -#[cfg(feature = "package-resources-2019-05")] +pub mod package_resources_2019_05; +#[cfg(all(feature = "package-resources-2019-05", not(feature = "no-default-version")))] pub use package_resources_2019_05::{models, operations, API_VERSION}; #[cfg(feature = "package-resources-2019-03")] -mod package_resources_2019_03; -#[cfg(feature = "package-resources-2019-03")] +pub mod package_resources_2019_03; +#[cfg(all(feature = "package-resources-2019-03", not(feature = "no-default-version")))] pub use package_resources_2019_03::{models, operations, API_VERSION}; #[cfg(feature = "package-resources-2018-05")] -mod package_resources_2018_05; -#[cfg(feature = "package-resources-2018-05")] +pub mod package_resources_2018_05; +#[cfg(all(feature = "package-resources-2018-05", not(feature = "no-default-version")))] pub use package_resources_2018_05::{models, operations, API_VERSION}; #[cfg(feature = "package-resources-2018-02")] -mod package_resources_2018_02; -#[cfg(feature = "package-resources-2018-02")] +pub mod package_resources_2018_02; +#[cfg(all(feature = "package-resources-2018-02", not(feature = "no-default-version")))] pub use package_resources_2018_02::{models, operations, API_VERSION}; #[cfg(feature = "package-resources-2017-05")] -mod package_resources_2017_05; -#[cfg(feature = "package-resources-2017-05")] +pub mod package_resources_2017_05; +#[cfg(all(feature = "package-resources-2017-05", not(feature = "no-default-version")))] pub use package_resources_2017_05::{models, operations, API_VERSION}; #[cfg(feature = "package-resources-2016-09")] -mod package_resources_2016_09; -#[cfg(feature = "package-resources-2016-09")] +pub mod package_resources_2016_09; +#[cfg(all(feature = "package-resources-2016-09", not(feature = "no-default-version")))] pub use package_resources_2016_09::{models, operations, API_VERSION}; #[cfg(feature = "package-resources-2016-07")] -mod package_resources_2016_07; -#[cfg(feature = "package-resources-2016-07")] +pub mod package_resources_2016_07; +#[cfg(all(feature = "package-resources-2016-07", not(feature = "no-default-version")))] pub use package_resources_2016_07::{models, operations, API_VERSION}; #[cfg(feature = "package-resources-2016-02")] -mod package_resources_2016_02; -#[cfg(feature = "package-resources-2016-02")] +pub mod package_resources_2016_02; +#[cfg(all(feature = "package-resources-2016-02", not(feature = "no-default-version")))] pub use package_resources_2016_02::{models, operations, API_VERSION}; #[cfg(feature = "package-resources-2015-11")] -mod package_resources_2015_11; -#[cfg(feature = "package-resources-2015-11")] +pub mod package_resources_2015_11; +#[cfg(all(feature = "package-resources-2015-11", not(feature = "no-default-version")))] pub use package_resources_2015_11::{models, operations, API_VERSION}; #[cfg(feature = "package-subscriptions-2020-01")] -mod package_subscriptions_2020_01; -#[cfg(feature = "package-subscriptions-2020-01")] +pub mod package_subscriptions_2020_01; +#[cfg(all(feature = "package-subscriptions-2020-01", not(feature = "no-default-version")))] pub use package_subscriptions_2020_01::{models, operations, API_VERSION}; #[cfg(feature = "package-subscriptions-2019-11")] -mod package_subscriptions_2019_11; -#[cfg(feature = "package-subscriptions-2019-11")] +pub mod package_subscriptions_2019_11; +#[cfg(all(feature = "package-subscriptions-2019-11", not(feature = "no-default-version")))] pub use package_subscriptions_2019_11::{models, operations, API_VERSION}; #[cfg(feature = "package-subscriptions-2019-06")] -mod package_subscriptions_2019_06; -#[cfg(feature = "package-subscriptions-2019-06")] +pub mod package_subscriptions_2019_06; +#[cfg(all(feature = "package-subscriptions-2019-06", not(feature = "no-default-version")))] pub use package_subscriptions_2019_06::{models, operations, API_VERSION}; #[cfg(feature = "package-subscriptions-2018-06")] -mod package_subscriptions_2018_06; -#[cfg(feature = "package-subscriptions-2018-06")] +pub mod package_subscriptions_2018_06; +#[cfg(all(feature = "package-subscriptions-2018-06", not(feature = "no-default-version")))] pub use package_subscriptions_2018_06::{models, operations, API_VERSION}; #[cfg(feature = "package-subscriptions-2016-06")] -mod package_subscriptions_2016_06; -#[cfg(feature = "package-subscriptions-2016-06")] +pub mod package_subscriptions_2016_06; +#[cfg(all(feature = "package-subscriptions-2016-06", not(feature = "no-default-version")))] pub use package_subscriptions_2016_06::{models, operations, API_VERSION}; #[cfg(feature = "package-subscriptions-2015-11")] -mod package_subscriptions_2015_11; -#[cfg(feature = "package-subscriptions-2015-11")] +pub mod package_subscriptions_2015_11; +#[cfg(all(feature = "package-subscriptions-2015-11", not(feature = "no-default-version")))] pub use package_subscriptions_2015_11::{models, operations, API_VERSION}; #[cfg(feature = "package-links-2016-09")] -mod package_links_2016_09; -#[cfg(feature = "package-links-2016-09")] +pub mod package_links_2016_09; +#[cfg(all(feature = "package-links-2016-09", not(feature = "no-default-version")))] pub use package_links_2016_09::{models, operations, API_VERSION}; #[cfg(feature = "package-managedapplications-2019-07")] -mod package_managedapplications_2019_07; -#[cfg(feature = "package-managedapplications-2019-07")] +pub mod package_managedapplications_2019_07; +#[cfg(all(feature = "package-managedapplications-2019-07", not(feature = "no-default-version")))] pub use package_managedapplications_2019_07::{models, operations, API_VERSION}; #[cfg(feature = "package-managedapplications-2018-06")] -mod package_managedapplications_2018_06; -#[cfg(feature = "package-managedapplications-2018-06")] +pub mod package_managedapplications_2018_06; +#[cfg(all(feature = "package-managedapplications-2018-06", not(feature = "no-default-version")))] pub use package_managedapplications_2018_06::{models, operations, API_VERSION}; #[cfg(feature = "package-managedapplications-2017-09")] -mod package_managedapplications_2017_09; -#[cfg(feature = "package-managedapplications-2017-09")] +pub mod package_managedapplications_2017_09; +#[cfg(all(feature = "package-managedapplications-2017-09", not(feature = "no-default-version")))] pub use package_managedapplications_2017_09::{models, operations, API_VERSION}; #[cfg(feature = "package-managedapplications-2016-09")] -mod package_managedapplications_2016_09; +pub mod package_managedapplications_2016_09; use azure_core::setters; -#[cfg(feature = "package-managedapplications-2016-09")] +#[cfg(all(feature = "package-managedapplications-2016-09", not(feature = "no-default-version")))] pub use package_managedapplications_2016_09::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -243,7 +251,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/resources/src/package_deploymentscripts_2019_10_preview/operations.rs b/services/mgmt/resources/src/package_deploymentscripts_2019_10_preview/operations.rs index 13a809e672..076fa0434b 100644 --- a/services/mgmt/resources/src/package_deploymentscripts_2019_10_preview/operations.rs +++ b/services/mgmt/resources/src/package_deploymentscripts_2019_10_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod deployment_scripts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod deployment_scripts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -131,7 +131,7 @@ pub mod deployment_scripts { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DeploymentScript), @@ -212,7 +212,7 @@ pub mod deployment_scripts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -278,7 +278,7 @@ pub mod deployment_scripts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -352,7 +352,7 @@ pub mod deployment_scripts { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -425,7 +425,7 @@ pub mod deployment_scripts { } } pub mod get_logs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -502,7 +502,7 @@ pub mod deployment_scripts { } } pub mod get_logs_default { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -575,7 +575,7 @@ pub mod deployment_scripts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/resources/src/package_deploymentscripts_2020_10/operations.rs b/services/mgmt/resources/src/package_deploymentscripts_2020_10/operations.rs index 13a809e672..076fa0434b 100644 --- a/services/mgmt/resources/src/package_deploymentscripts_2020_10/operations.rs +++ b/services/mgmt/resources/src/package_deploymentscripts_2020_10/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod deployment_scripts { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod deployment_scripts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -131,7 +131,7 @@ pub mod deployment_scripts { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(DeploymentScript), @@ -212,7 +212,7 @@ pub mod deployment_scripts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -278,7 +278,7 @@ pub mod deployment_scripts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -352,7 +352,7 @@ pub mod deployment_scripts { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -425,7 +425,7 @@ pub mod deployment_scripts { } } pub mod get_logs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -502,7 +502,7 @@ pub mod deployment_scripts { } } pub mod get_logs_default { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -575,7 +575,7 @@ pub mod deployment_scripts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/resources/src/package_features_2015_12/operations.rs b/services/mgmt/resources/src/package_features_2015_12/operations.rs index 589fbb0323..897b77876b 100644 --- a/services/mgmt/resources/src/package_features_2015_12/operations.rs +++ b/services/mgmt/resources/src/package_features_2015_12/operations.rs @@ -2,7 +2,7 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub async fn list_operations( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -43,7 +43,7 @@ pub async fn list_operations( } } pub mod list_operations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -63,7 +63,7 @@ pub mod list_operations { } } pub mod features { - use crate::models::*; + use super::{models, models::*}; pub async fn list_all( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -109,7 +109,7 @@ pub mod features { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -172,7 +172,7 @@ pub mod features { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -237,7 +237,7 @@ pub mod features { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -306,7 +306,7 @@ pub mod features { } } pub mod register { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -375,7 +375,7 @@ pub mod features { } } pub mod unregister { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/resources/src/package_features_2021_07/operations.rs b/services/mgmt/resources/src/package_features_2021_07/operations.rs index eae3ed694c..d0b66f6f69 100644 --- a/services/mgmt/resources/src/package_features_2021_07/operations.rs +++ b/services/mgmt/resources/src/package_features_2021_07/operations.rs @@ -2,7 +2,7 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub async fn list_operations( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -45,7 +45,7 @@ pub async fn list_operations( } } pub mod list_operations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -68,7 +68,7 @@ pub mod list_operations { } } pub mod features { - use crate::models::*; + use super::{models, models::*}; pub async fn list_all( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -116,7 +116,7 @@ pub mod features { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub mod features { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -254,7 +254,7 @@ pub mod features { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -328,7 +328,7 @@ pub mod features { } } pub mod register { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -402,7 +402,7 @@ pub mod features { } } pub mod unregister { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -426,7 +426,7 @@ pub mod features { } } pub mod subscription_feature_registrations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -475,7 +475,7 @@ pub mod subscription_feature_registrations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -554,7 +554,7 @@ pub mod subscription_feature_registrations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -620,7 +620,7 @@ pub mod subscription_feature_registrations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -696,7 +696,7 @@ pub mod subscription_feature_registrations { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -767,7 +767,7 @@ pub mod subscription_feature_registrations { } } pub mod list_all_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/resources/src/package_links_2016_09/operations.rs b/services/mgmt/resources/src/package_links_2016_09/operations.rs index 061cba510c..200e6eb033 100644 --- a/services/mgmt/resources/src/package_links_2016_09/operations.rs +++ b/services/mgmt/resources/src/package_links_2016_09/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Resources/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod resource_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig, link_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/{}", operation_config.base_path(), link_id); @@ -97,7 +97,7 @@ pub mod resource_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -165,7 +165,7 @@ pub mod resource_links { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ResourceLink), @@ -220,7 +220,7 @@ pub mod resource_links { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -293,7 +293,7 @@ pub mod resource_links { } } pub mod list_at_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -357,7 +357,7 @@ pub mod resource_links { } } pub mod list_at_source_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/resources/src/package_locks_2015_01/operations.rs b/services/mgmt/resources/src/package_locks_2015_01/operations.rs index 4a16b42b73..1b6b8b5e3a 100644 --- a/services/mgmt/resources/src/package_locks_2015_01/operations.rs +++ b/services/mgmt/resources/src/package_locks_2015_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod management_locks { - use crate::models::*; + use super::{models, models::*}; pub async fn get_at_resource_group_level( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -56,7 +56,7 @@ pub mod management_locks { } } pub mod get_at_resource_group_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod management_locks { } } pub mod create_or_update_at_resource_group_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagementLockObject), @@ -205,7 +205,7 @@ pub mod management_locks { } } pub mod delete_at_resource_group_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -296,7 +296,7 @@ pub mod management_locks { } } pub mod create_or_update_at_resource_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagementLockObject), @@ -375,7 +375,7 @@ pub mod management_locks { } } pub mod delete_at_resource_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -443,7 +443,7 @@ pub mod management_locks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -519,7 +519,7 @@ pub mod management_locks { } } pub mod create_or_update_at_subscription_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ManagementLockObject), @@ -588,7 +588,7 @@ pub mod management_locks { } } pub mod delete_at_subscription_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -665,7 +665,7 @@ pub mod management_locks { } } pub mod list_at_resource_group_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -745,7 +745,7 @@ pub mod management_locks { } } pub mod list_at_resource_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -815,7 +815,7 @@ pub mod management_locks { } } pub mod list_at_subscription_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/resources/src/package_locks_2016_09/operations.rs b/services/mgmt/resources/src/package_locks_2016_09/operations.rs index 21187dc3e3..bb9ec7015b 100644 --- a/services/mgmt/resources/src/package_locks_2016_09/operations.rs +++ b/services/mgmt/resources/src/package_locks_2016_09/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod authorization_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Authorization/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod authorization_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod authorization_operations { } } pub mod management_locks { - use crate::models::*; + use super::{models, models::*}; pub async fn get_at_resource_group_level( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -113,7 +113,7 @@ pub mod management_locks { } } pub mod get_at_resource_group_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -191,7 +191,7 @@ pub mod management_locks { } } pub mod create_or_update_at_resource_group_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagementLockObject), @@ -262,7 +262,7 @@ pub mod management_locks { } } pub mod delete_at_resource_group_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -333,7 +333,7 @@ pub mod management_locks { } } pub mod get_by_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -409,7 +409,7 @@ pub mod management_locks { } } pub mod create_or_update_by_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagementLockObject), @@ -476,7 +476,7 @@ pub mod management_locks { } } pub mod delete_by_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -559,7 +559,7 @@ pub mod management_locks { } } pub mod get_at_resource_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -645,7 +645,7 @@ pub mod management_locks { } } pub mod create_or_update_at_resource_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagementLockObject), @@ -724,7 +724,7 @@ pub mod management_locks { } } pub mod delete_at_resource_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -797,7 +797,7 @@ pub mod management_locks { } } pub mod get_at_subscription_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -873,7 +873,7 @@ pub mod management_locks { } } pub mod create_or_update_at_subscription_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ManagementLockObject), @@ -942,7 +942,7 @@ pub mod management_locks { } } pub mod delete_at_subscription_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1019,7 +1019,7 @@ pub mod management_locks { } } pub mod list_at_resource_group_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1099,7 +1099,7 @@ pub mod management_locks { } } pub mod list_at_resource_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1169,7 +1169,7 @@ pub mod management_locks { } } pub mod list_at_subscription_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1233,7 +1233,7 @@ pub mod management_locks { } } pub mod list_by_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/resources/src/package_locks_2017_04/operations.rs b/services/mgmt/resources/src/package_locks_2017_04/operations.rs index ad5ff38cfa..12d7f42c33 100644 --- a/services/mgmt/resources/src/package_locks_2017_04/operations.rs +++ b/services/mgmt/resources/src/package_locks_2017_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod authorization_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Authorization/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod authorization_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod authorization_operations { } } pub mod management_locks { - use crate::models::*; + use super::{models, models::*}; pub async fn get_at_resource_group_level( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -120,7 +120,7 @@ pub mod management_locks { } } pub mod get_at_resource_group_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -203,7 +203,7 @@ pub mod management_locks { } } pub mod create_or_update_at_resource_group_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagementLockObject), @@ -279,7 +279,7 @@ pub mod management_locks { } } pub mod delete_at_resource_group_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -355,7 +355,7 @@ pub mod management_locks { } } pub mod get_by_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -436,7 +436,7 @@ pub mod management_locks { } } pub mod create_or_update_by_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagementLockObject), @@ -508,7 +508,7 @@ pub mod management_locks { } } pub mod delete_by_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -596,7 +596,7 @@ pub mod management_locks { } } pub mod get_at_resource_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -687,7 +687,7 @@ pub mod management_locks { } } pub mod create_or_update_at_resource_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagementLockObject), @@ -771,7 +771,7 @@ pub mod management_locks { } } pub mod delete_at_resource_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -849,7 +849,7 @@ pub mod management_locks { } } pub mod get_at_subscription_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -930,7 +930,7 @@ pub mod management_locks { } } pub mod create_or_update_at_subscription_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ManagementLockObject), @@ -1004,7 +1004,7 @@ pub mod management_locks { } } pub mod delete_at_subscription_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1086,7 +1086,7 @@ pub mod management_locks { } } pub mod list_at_resource_group_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1171,7 +1171,7 @@ pub mod management_locks { } } pub mod list_at_resource_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1246,7 +1246,7 @@ pub mod management_locks { } } pub mod list_at_subscription_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1315,7 +1315,7 @@ pub mod management_locks { } } pub mod list_by_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/resources/src/package_locks_2020_05/operations.rs b/services/mgmt/resources/src/package_locks_2020_05/operations.rs index ad5ff38cfa..12d7f42c33 100644 --- a/services/mgmt/resources/src/package_locks_2020_05/operations.rs +++ b/services/mgmt/resources/src/package_locks_2020_05/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod authorization_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Authorization/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod authorization_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod authorization_operations { } } pub mod management_locks { - use crate::models::*; + use super::{models, models::*}; pub async fn get_at_resource_group_level( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -120,7 +120,7 @@ pub mod management_locks { } } pub mod get_at_resource_group_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -203,7 +203,7 @@ pub mod management_locks { } } pub mod create_or_update_at_resource_group_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagementLockObject), @@ -279,7 +279,7 @@ pub mod management_locks { } } pub mod delete_at_resource_group_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -355,7 +355,7 @@ pub mod management_locks { } } pub mod get_by_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -436,7 +436,7 @@ pub mod management_locks { } } pub mod create_or_update_by_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagementLockObject), @@ -508,7 +508,7 @@ pub mod management_locks { } } pub mod delete_by_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -596,7 +596,7 @@ pub mod management_locks { } } pub mod get_at_resource_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -687,7 +687,7 @@ pub mod management_locks { } } pub mod create_or_update_at_resource_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagementLockObject), @@ -771,7 +771,7 @@ pub mod management_locks { } } pub mod delete_at_resource_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -849,7 +849,7 @@ pub mod management_locks { } } pub mod get_at_subscription_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -930,7 +930,7 @@ pub mod management_locks { } } pub mod create_or_update_at_subscription_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ManagementLockObject), @@ -1004,7 +1004,7 @@ pub mod management_locks { } } pub mod delete_at_subscription_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1086,7 +1086,7 @@ pub mod management_locks { } } pub mod list_at_resource_group_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1171,7 +1171,7 @@ pub mod management_locks { } } pub mod list_at_resource_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1246,7 +1246,7 @@ pub mod management_locks { } } pub mod list_at_subscription_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1315,7 +1315,7 @@ pub mod management_locks { } } pub mod list_by_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/resources/src/package_managedapplications_2016_09/operations.rs b/services/mgmt/resources/src/package_managedapplications_2016_09/operations.rs index dd4315b715..523abe9b7f 100644 --- a/services/mgmt/resources/src/package_managedapplications_2016_09/operations.rs +++ b/services/mgmt/resources/src/package_managedapplications_2016_09/operations.rs @@ -2,7 +2,7 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub async fn list_operations( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -43,7 +43,7 @@ pub async fn list_operations( } } pub mod list_operations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -63,7 +63,7 @@ pub mod list_operations { } } pub mod appliances { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -113,7 +113,7 @@ pub mod appliances { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -196,7 +196,7 @@ pub mod appliances { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Appliance), @@ -277,7 +277,7 @@ pub mod appliances { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -343,7 +343,7 @@ pub mod appliances { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -421,7 +421,7 @@ pub mod appliances { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -490,7 +490,7 @@ pub mod appliances { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -556,7 +556,7 @@ pub mod appliances { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -633,7 +633,7 @@ pub mod appliances { } } pub mod create_or_update_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Appliance), @@ -709,7 +709,7 @@ pub mod appliances { } } pub mod update_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -770,7 +770,7 @@ pub mod appliances { } } pub mod delete_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -799,7 +799,7 @@ pub mod appliances { } } pub mod appliance_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -849,7 +849,7 @@ pub mod appliance_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -932,7 +932,7 @@ pub mod appliance_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplianceDefinition), @@ -1004,7 +1004,7 @@ pub mod appliance_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1083,7 +1083,7 @@ pub mod appliance_definitions { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1149,7 +1149,7 @@ pub mod appliance_definitions { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1226,7 +1226,7 @@ pub mod appliance_definitions { } } pub mod create_or_update_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplianceDefinition), @@ -1293,7 +1293,7 @@ pub mod appliance_definitions { } } pub mod delete_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, diff --git a/services/mgmt/resources/src/package_managedapplications_2017_09/operations.rs b/services/mgmt/resources/src/package_managedapplications_2017_09/operations.rs index 980e4ad0e9..d629b82ae6 100644 --- a/services/mgmt/resources/src/package_managedapplications_2017_09/operations.rs +++ b/services/mgmt/resources/src/package_managedapplications_2017_09/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod applications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -54,7 +54,7 @@ pub mod applications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -137,7 +137,7 @@ pub mod applications { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Application), @@ -218,7 +218,7 @@ pub mod applications { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -284,7 +284,7 @@ pub mod applications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -362,7 +362,7 @@ pub mod applications { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -431,7 +431,7 @@ pub mod applications { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -497,7 +497,7 @@ pub mod applications { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -574,7 +574,7 @@ pub mod applications { } } pub mod create_or_update_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Application), @@ -650,7 +650,7 @@ pub mod applications { } } pub mod update_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -711,7 +711,7 @@ pub mod applications { } } pub mod delete_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -740,7 +740,7 @@ pub mod applications { } } pub mod application_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -790,7 +790,7 @@ pub mod application_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -873,7 +873,7 @@ pub mod application_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationDefinition), @@ -945,7 +945,7 @@ pub mod application_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1024,7 +1024,7 @@ pub mod application_definitions { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1090,7 +1090,7 @@ pub mod application_definitions { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1167,7 +1167,7 @@ pub mod application_definitions { } } pub mod create_or_update_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationDefinition), @@ -1234,7 +1234,7 @@ pub mod application_definitions { } } pub mod delete_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, diff --git a/services/mgmt/resources/src/package_managedapplications_2018_06/operations.rs b/services/mgmt/resources/src/package_managedapplications_2018_06/operations.rs index 20db2f9c8b..6f10769651 100644 --- a/services/mgmt/resources/src/package_managedapplications_2018_06/operations.rs +++ b/services/mgmt/resources/src/package_managedapplications_2018_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod application_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_id( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -57,7 +57,7 @@ pub mod application_definitions { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -142,7 +142,7 @@ pub mod application_definitions { } } pub mod create_or_update_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationDefinition), @@ -217,7 +217,7 @@ pub mod application_definitions { } } pub mod delete_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, diff --git a/services/mgmt/resources/src/package_managedapplications_2019_07/operations.rs b/services/mgmt/resources/src/package_managedapplications_2019_07/operations.rs index 21f28747bd..1c6790ea39 100644 --- a/services/mgmt/resources/src/package_managedapplications_2019_07/operations.rs +++ b/services/mgmt/resources/src/package_managedapplications_2019_07/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod application_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_id( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -56,7 +56,7 @@ pub mod application_definitions { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -139,7 +139,7 @@ pub mod application_definitions { } } pub mod create_or_update_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationDefinition), @@ -214,7 +214,7 @@ pub mod application_definitions { } } pub mod delete_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, diff --git a/services/mgmt/resources/src/package_policy_2015_10/operations.rs b/services/mgmt/resources/src/package_policy_2015_10/operations.rs index 52eb6fd944..0f24ef727c 100644 --- a/services/mgmt/resources/src/package_policy_2015_10/operations.rs +++ b/services/mgmt/resources/src/package_policy_2015_10/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod policy_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scope: &str, @@ -49,7 +49,7 @@ pub mod policy_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -114,7 +114,7 @@ pub mod policy_assignments { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -177,7 +177,7 @@ pub mod policy_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -249,7 +249,7 @@ pub mod policy_assignments { } } pub mod list_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -327,7 +327,7 @@ pub mod policy_assignments { } } pub mod list_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -392,7 +392,7 @@ pub mod policy_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -452,7 +452,7 @@ pub mod policy_assignments { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -514,7 +514,7 @@ pub mod policy_assignments { } } pub mod create_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -574,7 +574,7 @@ pub mod policy_assignments { } } pub mod delete_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -595,7 +595,7 @@ pub mod policy_assignments { } } pub mod policy_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, policy_definition_name: &str, @@ -640,7 +640,7 @@ pub mod policy_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -708,7 +708,7 @@ pub mod policy_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -767,7 +767,7 @@ pub mod policy_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -837,7 +837,7 @@ pub mod policy_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/resources/src/package_policy_2016_04/operations.rs b/services/mgmt/resources/src/package_policy_2016_04/operations.rs index 52eb6fd944..0f24ef727c 100644 --- a/services/mgmt/resources/src/package_policy_2016_04/operations.rs +++ b/services/mgmt/resources/src/package_policy_2016_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod policy_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scope: &str, @@ -49,7 +49,7 @@ pub mod policy_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -114,7 +114,7 @@ pub mod policy_assignments { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -177,7 +177,7 @@ pub mod policy_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -249,7 +249,7 @@ pub mod policy_assignments { } } pub mod list_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -327,7 +327,7 @@ pub mod policy_assignments { } } pub mod list_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -392,7 +392,7 @@ pub mod policy_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -452,7 +452,7 @@ pub mod policy_assignments { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -514,7 +514,7 @@ pub mod policy_assignments { } } pub mod create_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -574,7 +574,7 @@ pub mod policy_assignments { } } pub mod delete_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -595,7 +595,7 @@ pub mod policy_assignments { } } pub mod policy_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, policy_definition_name: &str, @@ -640,7 +640,7 @@ pub mod policy_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -708,7 +708,7 @@ pub mod policy_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -767,7 +767,7 @@ pub mod policy_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -837,7 +837,7 @@ pub mod policy_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/resources/src/package_policy_2016_12/operations.rs b/services/mgmt/resources/src/package_policy_2016_12/operations.rs index 46cf9234c6..968bfc87cb 100644 --- a/services/mgmt/resources/src/package_policy_2016_12/operations.rs +++ b/services/mgmt/resources/src/package_policy_2016_12/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod policy_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, policy_definition_name: &str, @@ -49,7 +49,7 @@ pub mod policy_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -117,7 +117,7 @@ pub mod policy_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -176,7 +176,7 @@ pub mod policy_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -245,7 +245,7 @@ pub mod policy_definitions { } } pub mod get_built_in { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -313,7 +313,7 @@ pub mod policy_definitions { } } pub mod get_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -383,7 +383,7 @@ pub mod policy_definitions { } } pub mod create_or_update_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -447,7 +447,7 @@ pub mod policy_definitions { } } pub mod delete_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -513,7 +513,7 @@ pub mod policy_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -575,7 +575,7 @@ pub mod policy_definitions { } } pub mod list_built_in { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -641,7 +641,7 @@ pub mod policy_definitions { } } pub mod list_by_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -662,7 +662,7 @@ pub mod policy_definitions { } } pub mod policy_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scope: &str, @@ -707,7 +707,7 @@ pub mod policy_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -772,7 +772,7 @@ pub mod policy_assignments { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -836,7 +836,7 @@ pub mod policy_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PolicyAssignment), @@ -913,7 +913,7 @@ pub mod policy_assignments { } } pub mod list_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -991,7 +991,7 @@ pub mod policy_assignments { } } pub mod list_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1056,7 +1056,7 @@ pub mod policy_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1116,7 +1116,7 @@ pub mod policy_assignments { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1178,7 +1178,7 @@ pub mod policy_assignments { } } pub mod create_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1238,7 +1238,7 @@ pub mod policy_assignments { } } pub mod delete_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/resources/src/package_policy_2017_06/operations.rs b/services/mgmt/resources/src/package_policy_2017_06/operations.rs index 34cdc28076..702fd13490 100644 --- a/services/mgmt/resources/src/package_policy_2017_06/operations.rs +++ b/services/mgmt/resources/src/package_policy_2017_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod policy_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scope: &str, @@ -51,7 +51,7 @@ pub mod policy_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -121,7 +121,7 @@ pub mod policy_assignments { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -190,7 +190,7 @@ pub mod policy_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PolicyAssignment), @@ -272,7 +272,7 @@ pub mod policy_assignments { } } pub mod list_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -355,7 +355,7 @@ pub mod policy_assignments { } } pub mod list_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -425,7 +425,7 @@ pub mod policy_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -490,7 +490,7 @@ pub mod policy_assignments { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -557,7 +557,7 @@ pub mod policy_assignments { } } pub mod create_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -622,7 +622,7 @@ pub mod policy_assignments { } } pub mod delete_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -646,7 +646,7 @@ pub mod policy_assignments { } } pub mod policy_set_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, policy_set_definition_name: &str, @@ -693,7 +693,7 @@ pub mod policy_set_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -772,7 +772,7 @@ pub mod policy_set_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PolicySetDefinition), @@ -841,7 +841,7 @@ pub mod policy_set_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -915,7 +915,7 @@ pub mod policy_set_definitions { } } pub mod get_built_in { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -981,7 +981,7 @@ pub mod policy_set_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1048,7 +1048,7 @@ pub mod policy_set_definitions { } } pub mod list_built_in { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1121,7 +1121,7 @@ pub mod policy_set_definitions { } } pub mod get_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1202,7 +1202,7 @@ pub mod policy_set_definitions { } } pub mod create_or_update_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PolicySetDefinition), @@ -1276,7 +1276,7 @@ pub mod policy_set_definitions { } } pub mod delete_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1352,7 +1352,7 @@ pub mod policy_set_definitions { } } pub mod list_by_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1376,7 +1376,7 @@ pub mod policy_set_definitions { } } pub mod policy_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, policy_definition_name: &str, @@ -1421,7 +1421,7 @@ pub mod policy_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1489,7 +1489,7 @@ pub mod policy_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1548,7 +1548,7 @@ pub mod policy_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1617,7 +1617,7 @@ pub mod policy_definitions { } } pub mod get_built_in { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1685,7 +1685,7 @@ pub mod policy_definitions { } } pub mod get_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1755,7 +1755,7 @@ pub mod policy_definitions { } } pub mod create_or_update_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1819,7 +1819,7 @@ pub mod policy_definitions { } } pub mod delete_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1885,7 +1885,7 @@ pub mod policy_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1947,7 +1947,7 @@ pub mod policy_definitions { } } pub mod list_built_in { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2013,7 +2013,7 @@ pub mod policy_definitions { } } pub mod list_by_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/resources/src/package_policy_2018_03/operations.rs b/services/mgmt/resources/src/package_policy_2018_03/operations.rs index 7da5039f4e..cbfdd799a1 100644 --- a/services/mgmt/resources/src/package_policy_2018_03/operations.rs +++ b/services/mgmt/resources/src/package_policy_2018_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod policy_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scope: &str, @@ -51,7 +51,7 @@ pub mod policy_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -121,7 +121,7 @@ pub mod policy_assignments { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -190,7 +190,7 @@ pub mod policy_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PolicyAssignment), @@ -272,7 +272,7 @@ pub mod policy_assignments { } } pub mod list_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -355,7 +355,7 @@ pub mod policy_assignments { } } pub mod list_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -425,7 +425,7 @@ pub mod policy_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -490,7 +490,7 @@ pub mod policy_assignments { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -557,7 +557,7 @@ pub mod policy_assignments { } } pub mod create_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -623,7 +623,7 @@ pub mod policy_assignments { } } pub mod delete_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PolicyAssignment), @@ -652,7 +652,7 @@ pub mod policy_assignments { } } pub mod policy_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, policy_definition_name: &str, @@ -697,7 +697,7 @@ pub mod policy_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -765,7 +765,7 @@ pub mod policy_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -824,7 +824,7 @@ pub mod policy_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -893,7 +893,7 @@ pub mod policy_definitions { } } pub mod get_built_in { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -961,7 +961,7 @@ pub mod policy_definitions { } } pub mod get_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1031,7 +1031,7 @@ pub mod policy_definitions { } } pub mod create_or_update_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1095,7 +1095,7 @@ pub mod policy_definitions { } } pub mod delete_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1161,7 +1161,7 @@ pub mod policy_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1223,7 +1223,7 @@ pub mod policy_definitions { } } pub mod list_built_in { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1289,7 +1289,7 @@ pub mod policy_definitions { } } pub mod list_by_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1310,7 +1310,7 @@ pub mod policy_definitions { } } pub mod policy_set_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, policy_set_definition_name: &str, @@ -1357,7 +1357,7 @@ pub mod policy_set_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1436,7 +1436,7 @@ pub mod policy_set_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PolicySetDefinition), @@ -1505,7 +1505,7 @@ pub mod policy_set_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1579,7 +1579,7 @@ pub mod policy_set_definitions { } } pub mod get_built_in { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1645,7 +1645,7 @@ pub mod policy_set_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1712,7 +1712,7 @@ pub mod policy_set_definitions { } } pub mod list_built_in { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1785,7 +1785,7 @@ pub mod policy_set_definitions { } } pub mod get_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1866,7 +1866,7 @@ pub mod policy_set_definitions { } } pub mod create_or_update_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PolicySetDefinition), @@ -1940,7 +1940,7 @@ pub mod policy_set_definitions { } } pub mod delete_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2016,7 +2016,7 @@ pub mod policy_set_definitions { } } pub mod list_by_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/resources/src/package_policy_2018_05/operations.rs b/services/mgmt/resources/src/package_policy_2018_05/operations.rs index 7da5039f4e..cbfdd799a1 100644 --- a/services/mgmt/resources/src/package_policy_2018_05/operations.rs +++ b/services/mgmt/resources/src/package_policy_2018_05/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod policy_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scope: &str, @@ -51,7 +51,7 @@ pub mod policy_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -121,7 +121,7 @@ pub mod policy_assignments { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -190,7 +190,7 @@ pub mod policy_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PolicyAssignment), @@ -272,7 +272,7 @@ pub mod policy_assignments { } } pub mod list_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -355,7 +355,7 @@ pub mod policy_assignments { } } pub mod list_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -425,7 +425,7 @@ pub mod policy_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -490,7 +490,7 @@ pub mod policy_assignments { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -557,7 +557,7 @@ pub mod policy_assignments { } } pub mod create_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -623,7 +623,7 @@ pub mod policy_assignments { } } pub mod delete_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PolicyAssignment), @@ -652,7 +652,7 @@ pub mod policy_assignments { } } pub mod policy_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, policy_definition_name: &str, @@ -697,7 +697,7 @@ pub mod policy_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -765,7 +765,7 @@ pub mod policy_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -824,7 +824,7 @@ pub mod policy_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -893,7 +893,7 @@ pub mod policy_definitions { } } pub mod get_built_in { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -961,7 +961,7 @@ pub mod policy_definitions { } } pub mod get_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1031,7 +1031,7 @@ pub mod policy_definitions { } } pub mod create_or_update_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1095,7 +1095,7 @@ pub mod policy_definitions { } } pub mod delete_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1161,7 +1161,7 @@ pub mod policy_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1223,7 +1223,7 @@ pub mod policy_definitions { } } pub mod list_built_in { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1289,7 +1289,7 @@ pub mod policy_definitions { } } pub mod list_by_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1310,7 +1310,7 @@ pub mod policy_definitions { } } pub mod policy_set_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, policy_set_definition_name: &str, @@ -1357,7 +1357,7 @@ pub mod policy_set_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1436,7 +1436,7 @@ pub mod policy_set_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PolicySetDefinition), @@ -1505,7 +1505,7 @@ pub mod policy_set_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1579,7 +1579,7 @@ pub mod policy_set_definitions { } } pub mod get_built_in { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1645,7 +1645,7 @@ pub mod policy_set_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1712,7 +1712,7 @@ pub mod policy_set_definitions { } } pub mod list_built_in { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1785,7 +1785,7 @@ pub mod policy_set_definitions { } } pub mod get_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1866,7 +1866,7 @@ pub mod policy_set_definitions { } } pub mod create_or_update_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PolicySetDefinition), @@ -1940,7 +1940,7 @@ pub mod policy_set_definitions { } } pub mod delete_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2016,7 +2016,7 @@ pub mod policy_set_definitions { } } pub mod list_by_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/resources/src/package_policy_2019_01/operations.rs b/services/mgmt/resources/src/package_policy_2019_01/operations.rs index 7da5039f4e..cbfdd799a1 100644 --- a/services/mgmt/resources/src/package_policy_2019_01/operations.rs +++ b/services/mgmt/resources/src/package_policy_2019_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod policy_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scope: &str, @@ -51,7 +51,7 @@ pub mod policy_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -121,7 +121,7 @@ pub mod policy_assignments { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -190,7 +190,7 @@ pub mod policy_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PolicyAssignment), @@ -272,7 +272,7 @@ pub mod policy_assignments { } } pub mod list_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -355,7 +355,7 @@ pub mod policy_assignments { } } pub mod list_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -425,7 +425,7 @@ pub mod policy_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -490,7 +490,7 @@ pub mod policy_assignments { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -557,7 +557,7 @@ pub mod policy_assignments { } } pub mod create_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -623,7 +623,7 @@ pub mod policy_assignments { } } pub mod delete_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PolicyAssignment), @@ -652,7 +652,7 @@ pub mod policy_assignments { } } pub mod policy_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, policy_definition_name: &str, @@ -697,7 +697,7 @@ pub mod policy_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -765,7 +765,7 @@ pub mod policy_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -824,7 +824,7 @@ pub mod policy_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -893,7 +893,7 @@ pub mod policy_definitions { } } pub mod get_built_in { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -961,7 +961,7 @@ pub mod policy_definitions { } } pub mod get_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1031,7 +1031,7 @@ pub mod policy_definitions { } } pub mod create_or_update_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1095,7 +1095,7 @@ pub mod policy_definitions { } } pub mod delete_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1161,7 +1161,7 @@ pub mod policy_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1223,7 +1223,7 @@ pub mod policy_definitions { } } pub mod list_built_in { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1289,7 +1289,7 @@ pub mod policy_definitions { } } pub mod list_by_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1310,7 +1310,7 @@ pub mod policy_definitions { } } pub mod policy_set_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, policy_set_definition_name: &str, @@ -1357,7 +1357,7 @@ pub mod policy_set_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1436,7 +1436,7 @@ pub mod policy_set_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PolicySetDefinition), @@ -1505,7 +1505,7 @@ pub mod policy_set_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1579,7 +1579,7 @@ pub mod policy_set_definitions { } } pub mod get_built_in { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1645,7 +1645,7 @@ pub mod policy_set_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1712,7 +1712,7 @@ pub mod policy_set_definitions { } } pub mod list_built_in { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1785,7 +1785,7 @@ pub mod policy_set_definitions { } } pub mod get_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1866,7 +1866,7 @@ pub mod policy_set_definitions { } } pub mod create_or_update_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PolicySetDefinition), @@ -1940,7 +1940,7 @@ pub mod policy_set_definitions { } } pub mod delete_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2016,7 +2016,7 @@ pub mod policy_set_definitions { } } pub mod list_by_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/resources/src/package_policy_2019_06/operations.rs b/services/mgmt/resources/src/package_policy_2019_06/operations.rs index 7da5039f4e..cbfdd799a1 100644 --- a/services/mgmt/resources/src/package_policy_2019_06/operations.rs +++ b/services/mgmt/resources/src/package_policy_2019_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod policy_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scope: &str, @@ -51,7 +51,7 @@ pub mod policy_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -121,7 +121,7 @@ pub mod policy_assignments { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -190,7 +190,7 @@ pub mod policy_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PolicyAssignment), @@ -272,7 +272,7 @@ pub mod policy_assignments { } } pub mod list_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -355,7 +355,7 @@ pub mod policy_assignments { } } pub mod list_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -425,7 +425,7 @@ pub mod policy_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -490,7 +490,7 @@ pub mod policy_assignments { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -557,7 +557,7 @@ pub mod policy_assignments { } } pub mod create_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -623,7 +623,7 @@ pub mod policy_assignments { } } pub mod delete_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PolicyAssignment), @@ -652,7 +652,7 @@ pub mod policy_assignments { } } pub mod policy_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, policy_definition_name: &str, @@ -697,7 +697,7 @@ pub mod policy_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -765,7 +765,7 @@ pub mod policy_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -824,7 +824,7 @@ pub mod policy_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -893,7 +893,7 @@ pub mod policy_definitions { } } pub mod get_built_in { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -961,7 +961,7 @@ pub mod policy_definitions { } } pub mod get_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1031,7 +1031,7 @@ pub mod policy_definitions { } } pub mod create_or_update_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1095,7 +1095,7 @@ pub mod policy_definitions { } } pub mod delete_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1161,7 +1161,7 @@ pub mod policy_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1223,7 +1223,7 @@ pub mod policy_definitions { } } pub mod list_built_in { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1289,7 +1289,7 @@ pub mod policy_definitions { } } pub mod list_by_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1310,7 +1310,7 @@ pub mod policy_definitions { } } pub mod policy_set_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, policy_set_definition_name: &str, @@ -1357,7 +1357,7 @@ pub mod policy_set_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1436,7 +1436,7 @@ pub mod policy_set_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PolicySetDefinition), @@ -1505,7 +1505,7 @@ pub mod policy_set_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1579,7 +1579,7 @@ pub mod policy_set_definitions { } } pub mod get_built_in { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1645,7 +1645,7 @@ pub mod policy_set_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1712,7 +1712,7 @@ pub mod policy_set_definitions { } } pub mod list_built_in { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1785,7 +1785,7 @@ pub mod policy_set_definitions { } } pub mod get_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1866,7 +1866,7 @@ pub mod policy_set_definitions { } } pub mod create_or_update_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PolicySetDefinition), @@ -1940,7 +1940,7 @@ pub mod policy_set_definitions { } } pub mod delete_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2016,7 +2016,7 @@ pub mod policy_set_definitions { } } pub mod list_by_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/resources/src/package_policy_2019_09/operations.rs b/services/mgmt/resources/src/package_policy_2019_09/operations.rs index c1cff027fd..6b4b2dc1c3 100644 --- a/services/mgmt/resources/src/package_policy_2019_09/operations.rs +++ b/services/mgmt/resources/src/package_policy_2019_09/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod policy_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scope: &str, @@ -51,7 +51,7 @@ pub mod policy_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -121,7 +121,7 @@ pub mod policy_assignments { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -190,7 +190,7 @@ pub mod policy_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PolicyAssignment), @@ -272,7 +272,7 @@ pub mod policy_assignments { } } pub mod list_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -355,7 +355,7 @@ pub mod policy_assignments { } } pub mod list_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -428,7 +428,7 @@ pub mod policy_assignments { } } pub mod list_for_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -498,7 +498,7 @@ pub mod policy_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -563,7 +563,7 @@ pub mod policy_assignments { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -630,7 +630,7 @@ pub mod policy_assignments { } } pub mod create_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -696,7 +696,7 @@ pub mod policy_assignments { } } pub mod delete_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PolicyAssignment), @@ -725,7 +725,7 @@ pub mod policy_assignments { } } pub mod policy_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, policy_definition_name: &str, @@ -772,7 +772,7 @@ pub mod policy_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -845,7 +845,7 @@ pub mod policy_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -909,7 +909,7 @@ pub mod policy_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -983,7 +983,7 @@ pub mod policy_definitions { } } pub mod get_built_in { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1056,7 +1056,7 @@ pub mod policy_definitions { } } pub mod get_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1131,7 +1131,7 @@ pub mod policy_definitions { } } pub mod create_or_update_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1200,7 +1200,7 @@ pub mod policy_definitions { } } pub mod delete_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1271,7 +1271,7 @@ pub mod policy_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1338,7 +1338,7 @@ pub mod policy_definitions { } } pub mod list_built_in { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1409,7 +1409,7 @@ pub mod policy_definitions { } } pub mod list_by_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1433,7 +1433,7 @@ pub mod policy_definitions { } } pub mod policy_set_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, policy_set_definition_name: &str, @@ -1480,7 +1480,7 @@ pub mod policy_set_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1559,7 +1559,7 @@ pub mod policy_set_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PolicySetDefinition), @@ -1628,7 +1628,7 @@ pub mod policy_set_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1702,7 +1702,7 @@ pub mod policy_set_definitions { } } pub mod get_built_in { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1768,7 +1768,7 @@ pub mod policy_set_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1835,7 +1835,7 @@ pub mod policy_set_definitions { } } pub mod list_built_in { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1908,7 +1908,7 @@ pub mod policy_set_definitions { } } pub mod get_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1989,7 +1989,7 @@ pub mod policy_set_definitions { } } pub mod create_or_update_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PolicySetDefinition), @@ -2063,7 +2063,7 @@ pub mod policy_set_definitions { } } pub mod delete_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2139,7 +2139,7 @@ pub mod policy_set_definitions { } } pub mod list_by_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/resources/src/package_policy_2021_06/operations.rs b/services/mgmt/resources/src/package_policy_2021_06/operations.rs index b3b2ade76d..95ca97a88e 100644 --- a/services/mgmt/resources/src/package_policy_2021_06/operations.rs +++ b/services/mgmt/resources/src/package_policy_2021_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod data_policy_manifests { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_policy_mode( operation_config: &crate::OperationConfig, policy_mode: &str, @@ -52,7 +52,7 @@ pub mod data_policy_manifests { } } pub mod get_by_policy_mode { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -120,7 +120,7 @@ pub mod data_policy_manifests { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -144,7 +144,7 @@ pub mod data_policy_manifests { } } pub mod policy_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scope: &str, @@ -191,7 +191,7 @@ pub mod policy_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -261,7 +261,7 @@ pub mod policy_assignments { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -331,7 +331,7 @@ pub mod policy_assignments { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -400,7 +400,7 @@ pub mod policy_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PolicyAssignment), @@ -486,7 +486,7 @@ pub mod policy_assignments { } } pub mod list_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -573,7 +573,7 @@ pub mod policy_assignments { } } pub mod list_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -652,7 +652,7 @@ pub mod policy_assignments { } } pub mod list_for_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -726,7 +726,7 @@ pub mod policy_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -791,7 +791,7 @@ pub mod policy_assignments { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -858,7 +858,7 @@ pub mod policy_assignments { } } pub mod create_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -925,7 +925,7 @@ pub mod policy_assignments { } } pub mod update_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -991,7 +991,7 @@ pub mod policy_assignments { } } pub mod delete_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PolicyAssignment), @@ -1020,7 +1020,7 @@ pub mod policy_assignments { } } pub mod policy_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, policy_definition_name: &str, @@ -1067,7 +1067,7 @@ pub mod policy_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1140,7 +1140,7 @@ pub mod policy_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1204,7 +1204,7 @@ pub mod policy_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1278,7 +1278,7 @@ pub mod policy_definitions { } } pub mod get_built_in { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1351,7 +1351,7 @@ pub mod policy_definitions { } } pub mod get_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1426,7 +1426,7 @@ pub mod policy_definitions { } } pub mod create_or_update_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1495,7 +1495,7 @@ pub mod policy_definitions { } } pub mod delete_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1574,7 +1574,7 @@ pub mod policy_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1649,7 +1649,7 @@ pub mod policy_definitions { } } pub mod list_built_in { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1728,7 +1728,7 @@ pub mod policy_definitions { } } pub mod list_by_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1752,7 +1752,7 @@ pub mod policy_definitions { } } pub mod policy_set_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, policy_set_definition_name: &str, @@ -1799,7 +1799,7 @@ pub mod policy_set_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1878,7 +1878,7 @@ pub mod policy_set_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PolicySetDefinition), @@ -1947,7 +1947,7 @@ pub mod policy_set_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2021,7 +2021,7 @@ pub mod policy_set_definitions { } } pub mod get_built_in { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2095,7 +2095,7 @@ pub mod policy_set_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2170,7 +2170,7 @@ pub mod policy_set_definitions { } } pub mod list_built_in { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2243,7 +2243,7 @@ pub mod policy_set_definitions { } } pub mod get_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2324,7 +2324,7 @@ pub mod policy_set_definitions { } } pub mod create_or_update_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PolicySetDefinition), @@ -2398,7 +2398,7 @@ pub mod policy_set_definitions { } } pub mod delete_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2482,7 +2482,7 @@ pub mod policy_set_definitions { } } pub mod list_by_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2506,7 +2506,7 @@ pub mod policy_set_definitions { } } pub mod policy_exemptions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scope: &str, @@ -2553,7 +2553,7 @@ pub mod policy_exemptions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2632,7 +2632,7 @@ pub mod policy_exemptions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PolicyExemption), @@ -2701,7 +2701,7 @@ pub mod policy_exemptions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2776,7 +2776,7 @@ pub mod policy_exemptions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2853,7 +2853,7 @@ pub mod policy_exemptions { } } pub mod list_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2936,7 +2936,7 @@ pub mod policy_exemptions { } } pub mod list_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3011,7 +3011,7 @@ pub mod policy_exemptions { } } pub mod list_for_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/resources/src/package_policy_2021_07/operations.rs b/services/mgmt/resources/src/package_policy_2021_07/operations.rs index c9893c8210..135819ba67 100644 --- a/services/mgmt/resources/src/package_policy_2021_07/operations.rs +++ b/services/mgmt/resources/src/package_policy_2021_07/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod data_policy_manifests { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_policy_mode( operation_config: &crate::OperationConfig, policy_mode: &str, @@ -52,7 +52,7 @@ pub mod data_policy_manifests { } } pub mod get_by_policy_mode { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -120,7 +120,7 @@ pub mod data_policy_manifests { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -144,7 +144,7 @@ pub mod data_policy_manifests { } } pub mod policy_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scope: &str, @@ -191,7 +191,7 @@ pub mod policy_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -261,7 +261,7 @@ pub mod policy_assignments { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -331,7 +331,7 @@ pub mod policy_assignments { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -400,7 +400,7 @@ pub mod policy_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PolicyAssignment), @@ -486,7 +486,7 @@ pub mod policy_assignments { } } pub mod list_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -573,7 +573,7 @@ pub mod policy_assignments { } } pub mod list_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -652,7 +652,7 @@ pub mod policy_assignments { } } pub mod list_for_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -726,7 +726,7 @@ pub mod policy_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -791,7 +791,7 @@ pub mod policy_assignments { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -858,7 +858,7 @@ pub mod policy_assignments { } } pub mod create_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -925,7 +925,7 @@ pub mod policy_assignments { } } pub mod update_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -991,7 +991,7 @@ pub mod policy_assignments { } } pub mod delete_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PolicyAssignment), @@ -1020,7 +1020,7 @@ pub mod policy_assignments { } } pub mod policy_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, policy_definition_name: &str, @@ -1067,7 +1067,7 @@ pub mod policy_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1140,7 +1140,7 @@ pub mod policy_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1204,7 +1204,7 @@ pub mod policy_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1278,7 +1278,7 @@ pub mod policy_definitions { } } pub mod get_built_in { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1351,7 +1351,7 @@ pub mod policy_definitions { } } pub mod get_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1426,7 +1426,7 @@ pub mod policy_definitions { } } pub mod create_or_update_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1495,7 +1495,7 @@ pub mod policy_definitions { } } pub mod delete_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1574,7 +1574,7 @@ pub mod policy_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1649,7 +1649,7 @@ pub mod policy_definitions { } } pub mod list_built_in { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1728,7 +1728,7 @@ pub mod policy_definitions { } } pub mod list_by_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1752,7 +1752,7 @@ pub mod policy_definitions { } } pub mod policy_set_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, policy_set_definition_name: &str, @@ -1799,7 +1799,7 @@ pub mod policy_set_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1878,7 +1878,7 @@ pub mod policy_set_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PolicySetDefinition), @@ -1947,7 +1947,7 @@ pub mod policy_set_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2021,7 +2021,7 @@ pub mod policy_set_definitions { } } pub mod get_built_in { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2095,7 +2095,7 @@ pub mod policy_set_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2170,7 +2170,7 @@ pub mod policy_set_definitions { } } pub mod list_built_in { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2243,7 +2243,7 @@ pub mod policy_set_definitions { } } pub mod get_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2324,7 +2324,7 @@ pub mod policy_set_definitions { } } pub mod create_or_update_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PolicySetDefinition), @@ -2398,7 +2398,7 @@ pub mod policy_set_definitions { } } pub mod delete_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2482,7 +2482,7 @@ pub mod policy_set_definitions { } } pub mod list_by_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2506,7 +2506,7 @@ pub mod policy_set_definitions { } } pub mod policy_exemptions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scope: &str, @@ -2553,7 +2553,7 @@ pub mod policy_exemptions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2632,7 +2632,7 @@ pub mod policy_exemptions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PolicyExemption), @@ -2701,7 +2701,7 @@ pub mod policy_exemptions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2776,7 +2776,7 @@ pub mod policy_exemptions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2853,7 +2853,7 @@ pub mod policy_exemptions { } } pub mod list_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2936,7 +2936,7 @@ pub mod policy_exemptions { } } pub mod list_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3011,7 +3011,7 @@ pub mod policy_exemptions { } } pub mod list_for_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3035,7 +3035,7 @@ pub mod policy_exemptions { } } pub mod policy_pricings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scope: &str, @@ -3082,7 +3082,7 @@ pub mod policy_pricings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3161,7 +3161,7 @@ pub mod policy_pricings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PolicyPricing), @@ -3231,7 +3231,7 @@ pub mod policy_pricings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3303,7 +3303,7 @@ pub mod policy_pricings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3374,7 +3374,7 @@ pub mod policy_pricings { } } pub mod list_for_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/resources/src/package_preview_2020_08/operations.rs b/services/mgmt/resources/src/package_preview_2020_08/operations.rs index 45fff6203f..83d0ca99d0 100644 --- a/services/mgmt/resources/src/package_preview_2020_08/operations.rs +++ b/services/mgmt/resources/src/package_preview_2020_08/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod application_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_id( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -56,7 +56,7 @@ pub mod application_definitions { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -139,7 +139,7 @@ pub mod application_definitions { } } pub mod create_or_update_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationDefinition), @@ -214,7 +214,7 @@ pub mod application_definitions { } } pub mod delete_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, diff --git a/services/mgmt/resources/src/package_privatelinks_2020_05/operations.rs b/services/mgmt/resources/src/package_privatelinks_2020_05/operations.rs index 6f167d9738..f1299e9bf1 100644 --- a/services/mgmt/resources/src/package_privatelinks_2020_05/operations.rs +++ b/services/mgmt/resources/src/package_privatelinks_2020_05/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod private_link_association { - use crate::models::*; + use super::{models, models::*}; pub async fn put( operation_config: &crate::OperationConfig, group_id: &str, @@ -53,7 +53,7 @@ pub mod private_link_association { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -117,7 +117,7 @@ pub mod private_link_association { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -188,7 +188,7 @@ pub mod private_link_association { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -212,7 +212,7 @@ pub mod private_link_association { } } pub mod resource_management_private_link { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -261,7 +261,7 @@ pub mod resource_management_private_link { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -333,7 +333,7 @@ pub mod resource_management_private_link { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -399,7 +399,7 @@ pub mod resource_management_private_link { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -470,7 +470,7 @@ pub mod resource_management_private_link { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/resources/src/package_pure_policy_2017_06/operations.rs b/services/mgmt/resources/src/package_pure_policy_2017_06/operations.rs index 5e0bf7dd2f..c9a77756e2 100644 --- a/services/mgmt/resources/src/package_pure_policy_2017_06/operations.rs +++ b/services/mgmt/resources/src/package_pure_policy_2017_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod policy_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scope: &str, @@ -51,7 +51,7 @@ pub mod policy_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -121,7 +121,7 @@ pub mod policy_assignments { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -190,7 +190,7 @@ pub mod policy_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PolicyAssignment), @@ -272,7 +272,7 @@ pub mod policy_assignments { } } pub mod list_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -355,7 +355,7 @@ pub mod policy_assignments { } } pub mod list_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -425,7 +425,7 @@ pub mod policy_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -490,7 +490,7 @@ pub mod policy_assignments { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -557,7 +557,7 @@ pub mod policy_assignments { } } pub mod create_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -622,7 +622,7 @@ pub mod policy_assignments { } } pub mod delete_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -646,7 +646,7 @@ pub mod policy_assignments { } } pub mod policy_set_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, policy_set_definition_name: &str, @@ -693,7 +693,7 @@ pub mod policy_set_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -772,7 +772,7 @@ pub mod policy_set_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PolicySetDefinition), @@ -841,7 +841,7 @@ pub mod policy_set_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -915,7 +915,7 @@ pub mod policy_set_definitions { } } pub mod get_built_in { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -981,7 +981,7 @@ pub mod policy_set_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1048,7 +1048,7 @@ pub mod policy_set_definitions { } } pub mod list_built_in { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1121,7 +1121,7 @@ pub mod policy_set_definitions { } } pub mod get_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1202,7 +1202,7 @@ pub mod policy_set_definitions { } } pub mod create_or_update_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(PolicySetDefinition), @@ -1276,7 +1276,7 @@ pub mod policy_set_definitions { } } pub mod delete_at_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1352,7 +1352,7 @@ pub mod policy_set_definitions { } } pub mod list_by_management_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/resources/src/package_resources_2015_11/operations.rs b/services/mgmt/resources/src/package_resources_2015_11/operations.rs index 074204146f..9200c0b59b 100644 --- a/services/mgmt/resources/src/package_resources_2015_11/operations.rs +++ b/services/mgmt/resources/src/package_resources_2015_11/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod deployments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod deployments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod deployments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -193,7 +193,7 @@ pub mod deployments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -262,7 +262,7 @@ pub mod deployments { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -325,7 +325,7 @@ pub mod deployments { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -401,7 +401,7 @@ pub mod deployments { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -474,7 +474,7 @@ pub mod deployments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -542,7 +542,7 @@ pub mod deployments { } } pub mod calculate_template_hash { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -566,7 +566,7 @@ pub mod deployments { } } pub mod providers { - use crate::models::*; + use super::{models, models::*}; pub async fn unregister( operation_config: &crate::OperationConfig, resource_provider_namespace: &str, @@ -615,7 +615,7 @@ pub mod providers { } } pub mod unregister { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -682,7 +682,7 @@ pub mod providers { } } pub mod register { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -743,7 +743,7 @@ pub mod providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -806,7 +806,7 @@ pub mod providers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -827,7 +827,7 @@ pub mod providers { } } pub mod resource_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list_resources( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -887,7 +887,7 @@ pub mod resource_groups { } } pub mod list_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -950,7 +950,7 @@ pub mod resource_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1024,7 +1024,7 @@ pub mod resource_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ResourceGroup), @@ -1094,7 +1094,7 @@ pub mod resource_groups { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1153,7 +1153,7 @@ pub mod resource_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1220,7 +1220,7 @@ pub mod resource_groups { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1287,7 +1287,7 @@ pub mod resource_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1308,7 +1308,7 @@ pub mod resource_groups { } } pub mod resources { - use crate::models::*; + use super::{models, models::*}; pub async fn move_resources( operation_config: &crate::OperationConfig, source_resource_group_name: &str, @@ -1354,7 +1354,7 @@ pub mod resources { } } pub mod move_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1428,7 +1428,7 @@ pub mod resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1505,7 +1505,7 @@ pub mod resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenericResource), @@ -1592,7 +1592,7 @@ pub mod resources { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GenericResource), @@ -1671,7 +1671,7 @@ pub mod resources { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenericResource), @@ -1744,7 +1744,7 @@ pub mod resources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1820,7 +1820,7 @@ pub mod resources { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1843,7 +1843,7 @@ pub mod resources { } } pub mod tags { - use crate::models::*; + use super::{models, models::*}; pub async fn create_or_update_value( operation_config: &crate::OperationConfig, tag_name: &str, @@ -1901,7 +1901,7 @@ pub mod tags { } } pub mod create_or_update_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TagValue), @@ -1970,7 +1970,7 @@ pub mod tags { } } pub mod delete_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2047,7 +2047,7 @@ pub mod tags { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TagDetails), @@ -2111,7 +2111,7 @@ pub mod tags { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2173,7 +2173,7 @@ pub mod tags { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2194,7 +2194,7 @@ pub mod tags { } } pub mod deployment_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2243,7 +2243,7 @@ pub mod deployment_operations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2312,7 +2312,7 @@ pub mod deployment_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2333,7 +2333,7 @@ pub mod deployment_operations { } } pub mod resource_provider_operation_details { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_provider_namespace: &str, @@ -2382,7 +2382,7 @@ pub mod resource_provider_operation_details { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ResourceProviderOperationDetailListResult), @@ -2408,7 +2408,7 @@ pub mod resource_provider_operation_details { } } pub mod policy_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, policy_definition_name: &str, @@ -2453,7 +2453,7 @@ pub mod policy_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2521,7 +2521,7 @@ pub mod policy_definitions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2579,7 +2579,7 @@ pub mod policy_definitions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2600,7 +2600,7 @@ pub mod policy_definitions { } } pub mod policy_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn list_for_resource( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2660,7 +2660,7 @@ pub mod policy_assignments { } } pub mod list_for_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2732,7 +2732,7 @@ pub mod policy_assignments { } } pub mod list_for_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2795,7 +2795,7 @@ pub mod policy_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2860,7 +2860,7 @@ pub mod policy_assignments { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2922,7 +2922,7 @@ pub mod policy_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2982,7 +2982,7 @@ pub mod policy_assignments { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3044,7 +3044,7 @@ pub mod policy_assignments { } } pub mod create_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3104,7 +3104,7 @@ pub mod policy_assignments { } } pub mod delete_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3169,7 +3169,7 @@ pub mod policy_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3237,7 +3237,7 @@ pub mod policy_assignments { } } pub mod list_for_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/resources/src/package_resources_2016_02/operations.rs b/services/mgmt/resources/src/package_resources_2016_02/operations.rs index 4e01d22711..fab97628d4 100644 --- a/services/mgmt/resources/src/package_resources_2016_02/operations.rs +++ b/services/mgmt/resources/src/package_resources_2016_02/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod deployments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod deployments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod deployments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -193,7 +193,7 @@ pub mod deployments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -262,7 +262,7 @@ pub mod deployments { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -325,7 +325,7 @@ pub mod deployments { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -401,7 +401,7 @@ pub mod deployments { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -472,7 +472,7 @@ pub mod deployments { } } pub mod export_template { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -543,7 +543,7 @@ pub mod deployments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -611,7 +611,7 @@ pub mod deployments { } } pub mod calculate_template_hash { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -635,7 +635,7 @@ pub mod deployments { } } pub mod providers { - use crate::models::*; + use super::{models, models::*}; pub async fn unregister( operation_config: &crate::OperationConfig, resource_provider_namespace: &str, @@ -684,7 +684,7 @@ pub mod providers { } } pub mod unregister { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -751,7 +751,7 @@ pub mod providers { } } pub mod register { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -816,7 +816,7 @@ pub mod providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -883,7 +883,7 @@ pub mod providers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -904,7 +904,7 @@ pub mod providers { } } pub mod resource_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list_resources( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -964,7 +964,7 @@ pub mod resource_groups { } } pub mod list_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1027,7 +1027,7 @@ pub mod resource_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1101,7 +1101,7 @@ pub mod resource_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ResourceGroup), @@ -1171,7 +1171,7 @@ pub mod resource_groups { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1230,7 +1230,7 @@ pub mod resource_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1297,7 +1297,7 @@ pub mod resource_groups { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1367,7 +1367,7 @@ pub mod resource_groups { } } pub mod export_template { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1432,7 +1432,7 @@ pub mod resource_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1453,7 +1453,7 @@ pub mod resource_groups { } } pub mod resources { - use crate::models::*; + use super::{models, models::*}; pub async fn move_resources( operation_config: &crate::OperationConfig, source_resource_group_name: &str, @@ -1499,7 +1499,7 @@ pub mod resources { } } pub mod move_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1573,7 +1573,7 @@ pub mod resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1644,7 +1644,7 @@ pub mod resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1726,7 +1726,7 @@ pub mod resources { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GenericResource), @@ -1805,7 +1805,7 @@ pub mod resources { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenericResource), @@ -1878,7 +1878,7 @@ pub mod resources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1954,7 +1954,7 @@ pub mod resources { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1977,7 +1977,7 @@ pub mod resources { } } pub mod tags { - use crate::models::*; + use super::{models, models::*}; pub async fn create_or_update_value( operation_config: &crate::OperationConfig, tag_name: &str, @@ -2035,7 +2035,7 @@ pub mod tags { } } pub mod create_or_update_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TagValue), @@ -2104,7 +2104,7 @@ pub mod tags { } } pub mod delete_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2181,7 +2181,7 @@ pub mod tags { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TagDetails), @@ -2245,7 +2245,7 @@ pub mod tags { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2307,7 +2307,7 @@ pub mod tags { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2328,7 +2328,7 @@ pub mod tags { } } pub mod deployment_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2377,7 +2377,7 @@ pub mod deployment_operations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2446,7 +2446,7 @@ pub mod deployment_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/resources/src/package_resources_2016_07/operations.rs b/services/mgmt/resources/src/package_resources_2016_07/operations.rs index 4e01d22711..fab97628d4 100644 --- a/services/mgmt/resources/src/package_resources_2016_07/operations.rs +++ b/services/mgmt/resources/src/package_resources_2016_07/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod deployments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod deployments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod deployments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -193,7 +193,7 @@ pub mod deployments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -262,7 +262,7 @@ pub mod deployments { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -325,7 +325,7 @@ pub mod deployments { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -401,7 +401,7 @@ pub mod deployments { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -472,7 +472,7 @@ pub mod deployments { } } pub mod export_template { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -543,7 +543,7 @@ pub mod deployments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -611,7 +611,7 @@ pub mod deployments { } } pub mod calculate_template_hash { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -635,7 +635,7 @@ pub mod deployments { } } pub mod providers { - use crate::models::*; + use super::{models, models::*}; pub async fn unregister( operation_config: &crate::OperationConfig, resource_provider_namespace: &str, @@ -684,7 +684,7 @@ pub mod providers { } } pub mod unregister { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -751,7 +751,7 @@ pub mod providers { } } pub mod register { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -816,7 +816,7 @@ pub mod providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -883,7 +883,7 @@ pub mod providers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -904,7 +904,7 @@ pub mod providers { } } pub mod resource_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list_resources( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -964,7 +964,7 @@ pub mod resource_groups { } } pub mod list_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1027,7 +1027,7 @@ pub mod resource_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1101,7 +1101,7 @@ pub mod resource_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ResourceGroup), @@ -1171,7 +1171,7 @@ pub mod resource_groups { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1230,7 +1230,7 @@ pub mod resource_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1297,7 +1297,7 @@ pub mod resource_groups { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1367,7 +1367,7 @@ pub mod resource_groups { } } pub mod export_template { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1432,7 +1432,7 @@ pub mod resource_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1453,7 +1453,7 @@ pub mod resource_groups { } } pub mod resources { - use crate::models::*; + use super::{models, models::*}; pub async fn move_resources( operation_config: &crate::OperationConfig, source_resource_group_name: &str, @@ -1499,7 +1499,7 @@ pub mod resources { } } pub mod move_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1573,7 +1573,7 @@ pub mod resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1644,7 +1644,7 @@ pub mod resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1726,7 +1726,7 @@ pub mod resources { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GenericResource), @@ -1805,7 +1805,7 @@ pub mod resources { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenericResource), @@ -1878,7 +1878,7 @@ pub mod resources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1954,7 +1954,7 @@ pub mod resources { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1977,7 +1977,7 @@ pub mod resources { } } pub mod tags { - use crate::models::*; + use super::{models, models::*}; pub async fn create_or_update_value( operation_config: &crate::OperationConfig, tag_name: &str, @@ -2035,7 +2035,7 @@ pub mod tags { } } pub mod create_or_update_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TagValue), @@ -2104,7 +2104,7 @@ pub mod tags { } } pub mod delete_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2181,7 +2181,7 @@ pub mod tags { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TagDetails), @@ -2245,7 +2245,7 @@ pub mod tags { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2307,7 +2307,7 @@ pub mod tags { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2328,7 +2328,7 @@ pub mod tags { } } pub mod deployment_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2377,7 +2377,7 @@ pub mod deployment_operations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2446,7 +2446,7 @@ pub mod deployment_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/resources/src/package_resources_2016_09/operations.rs b/services/mgmt/resources/src/package_resources_2016_09/operations.rs index 5b13f339d0..ba7e9e3db5 100644 --- a/services/mgmt/resources/src/package_resources_2016_09/operations.rs +++ b/services/mgmt/resources/src/package_resources_2016_09/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod deployments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod deployments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod deployments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -193,7 +193,7 @@ pub mod deployments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -262,7 +262,7 @@ pub mod deployments { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -325,7 +325,7 @@ pub mod deployments { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -401,7 +401,7 @@ pub mod deployments { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -472,7 +472,7 @@ pub mod deployments { } } pub mod export_template { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -543,7 +543,7 @@ pub mod deployments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -611,7 +611,7 @@ pub mod deployments { } } pub mod calculate_template_hash { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -635,7 +635,7 @@ pub mod deployments { } } pub mod providers { - use crate::models::*; + use super::{models, models::*}; pub async fn unregister( operation_config: &crate::OperationConfig, resource_provider_namespace: &str, @@ -684,7 +684,7 @@ pub mod providers { } } pub mod unregister { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -751,7 +751,7 @@ pub mod providers { } } pub mod register { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -816,7 +816,7 @@ pub mod providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -883,7 +883,7 @@ pub mod providers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -904,7 +904,7 @@ pub mod providers { } } pub mod resource_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list_resources( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -964,7 +964,7 @@ pub mod resource_groups { } } pub mod list_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1027,7 +1027,7 @@ pub mod resource_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1101,7 +1101,7 @@ pub mod resource_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ResourceGroup), @@ -1171,7 +1171,7 @@ pub mod resource_groups { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1230,7 +1230,7 @@ pub mod resource_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1297,7 +1297,7 @@ pub mod resource_groups { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1367,7 +1367,7 @@ pub mod resource_groups { } } pub mod export_template { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1432,7 +1432,7 @@ pub mod resource_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1453,7 +1453,7 @@ pub mod resource_groups { } } pub mod resources { - use crate::models::*; + use super::{models, models::*}; pub async fn move_resources( operation_config: &crate::OperationConfig, source_resource_group_name: &str, @@ -1499,7 +1499,7 @@ pub mod resources { } } pub mod move_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1573,7 +1573,7 @@ pub mod resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1644,7 +1644,7 @@ pub mod resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1727,7 +1727,7 @@ pub mod resources { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GenericResource), @@ -1807,7 +1807,7 @@ pub mod resources { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenericResource), @@ -1880,7 +1880,7 @@ pub mod resources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1956,7 +1956,7 @@ pub mod resources { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2018,7 +2018,7 @@ pub mod resources { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2089,7 +2089,7 @@ pub mod resources { } } pub mod create_or_update_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GenericResource), @@ -2158,7 +2158,7 @@ pub mod resources { } } pub mod update_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenericResource), @@ -2220,7 +2220,7 @@ pub mod resources { } } pub mod delete_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2284,7 +2284,7 @@ pub mod resources { } } pub mod check_existence_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2307,7 +2307,7 @@ pub mod resources { } } pub mod tags { - use crate::models::*; + use super::{models, models::*}; pub async fn create_or_update_value( operation_config: &crate::OperationConfig, tag_name: &str, @@ -2365,7 +2365,7 @@ pub mod tags { } } pub mod create_or_update_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TagValue), @@ -2434,7 +2434,7 @@ pub mod tags { } } pub mod delete_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2511,7 +2511,7 @@ pub mod tags { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TagDetails), @@ -2575,7 +2575,7 @@ pub mod tags { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2637,7 +2637,7 @@ pub mod tags { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2658,7 +2658,7 @@ pub mod tags { } } pub mod deployment_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2707,7 +2707,7 @@ pub mod deployment_operations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2776,7 +2776,7 @@ pub mod deployment_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/resources/src/package_resources_2017_05/operations.rs b/services/mgmt/resources/src/package_resources_2017_05/operations.rs index 53eddc5bf1..58a27684f7 100644 --- a/services/mgmt/resources/src/package_resources_2017_05/operations.rs +++ b/services/mgmt/resources/src/package_resources_2017_05/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod deployments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod deployments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod deployments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -193,7 +193,7 @@ pub mod deployments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -262,7 +262,7 @@ pub mod deployments { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -325,7 +325,7 @@ pub mod deployments { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -401,7 +401,7 @@ pub mod deployments { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -472,7 +472,7 @@ pub mod deployments { } } pub mod export_template { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -548,7 +548,7 @@ pub mod deployments { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -616,7 +616,7 @@ pub mod deployments { } } pub mod calculate_template_hash { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -640,7 +640,7 @@ pub mod deployments { } } pub mod providers { - use crate::models::*; + use super::{models, models::*}; pub async fn unregister( operation_config: &crate::OperationConfig, resource_provider_namespace: &str, @@ -689,7 +689,7 @@ pub mod providers { } } pub mod unregister { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -756,7 +756,7 @@ pub mod providers { } } pub mod register { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -821,7 +821,7 @@ pub mod providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -888,7 +888,7 @@ pub mod providers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -909,7 +909,7 @@ pub mod providers { } } pub mod resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -971,7 +971,7 @@ pub mod resources { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1035,7 +1035,7 @@ pub mod resources { } } pub mod move_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1107,7 +1107,7 @@ pub mod resources { } } pub mod validate_move_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1183,7 +1183,7 @@ pub mod resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1254,7 +1254,7 @@ pub mod resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1337,7 +1337,7 @@ pub mod resources { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GenericResource), @@ -1417,7 +1417,7 @@ pub mod resources { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenericResource), @@ -1490,7 +1490,7 @@ pub mod resources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1566,7 +1566,7 @@ pub mod resources { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1628,7 +1628,7 @@ pub mod resources { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1699,7 +1699,7 @@ pub mod resources { } } pub mod create_or_update_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GenericResource), @@ -1768,7 +1768,7 @@ pub mod resources { } } pub mod update_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenericResource), @@ -1830,7 +1830,7 @@ pub mod resources { } } pub mod delete_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1894,7 +1894,7 @@ pub mod resources { } } pub mod check_existence_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1917,7 +1917,7 @@ pub mod resources { } } pub mod resource_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1962,7 +1962,7 @@ pub mod resource_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2036,7 +2036,7 @@ pub mod resource_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ResourceGroup), @@ -2106,7 +2106,7 @@ pub mod resource_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2165,7 +2165,7 @@ pub mod resource_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2232,7 +2232,7 @@ pub mod resource_groups { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2302,7 +2302,7 @@ pub mod resource_groups { } } pub mod export_template { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2367,7 +2367,7 @@ pub mod resource_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2388,7 +2388,7 @@ pub mod resource_groups { } } pub mod tags { - use crate::models::*; + use super::{models, models::*}; pub async fn create_or_update_value( operation_config: &crate::OperationConfig, tag_name: &str, @@ -2446,7 +2446,7 @@ pub mod tags { } } pub mod create_or_update_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TagValue), @@ -2515,7 +2515,7 @@ pub mod tags { } } pub mod delete_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2592,7 +2592,7 @@ pub mod tags { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TagDetails), @@ -2656,7 +2656,7 @@ pub mod tags { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2718,7 +2718,7 @@ pub mod tags { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2739,7 +2739,7 @@ pub mod tags { } } pub mod deployment_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2788,7 +2788,7 @@ pub mod deployment_operations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2857,7 +2857,7 @@ pub mod deployment_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/resources/src/package_resources_2018_02/operations.rs b/services/mgmt/resources/src/package_resources_2018_02/operations.rs index 53eddc5bf1..58a27684f7 100644 --- a/services/mgmt/resources/src/package_resources_2018_02/operations.rs +++ b/services/mgmt/resources/src/package_resources_2018_02/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod deployments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -51,7 +51,7 @@ pub mod deployments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -127,7 +127,7 @@ pub mod deployments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -193,7 +193,7 @@ pub mod deployments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -262,7 +262,7 @@ pub mod deployments { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -325,7 +325,7 @@ pub mod deployments { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -401,7 +401,7 @@ pub mod deployments { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -472,7 +472,7 @@ pub mod deployments { } } pub mod export_template { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -548,7 +548,7 @@ pub mod deployments { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -616,7 +616,7 @@ pub mod deployments { } } pub mod calculate_template_hash { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -640,7 +640,7 @@ pub mod deployments { } } pub mod providers { - use crate::models::*; + use super::{models, models::*}; pub async fn unregister( operation_config: &crate::OperationConfig, resource_provider_namespace: &str, @@ -689,7 +689,7 @@ pub mod providers { } } pub mod unregister { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -756,7 +756,7 @@ pub mod providers { } } pub mod register { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -821,7 +821,7 @@ pub mod providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -888,7 +888,7 @@ pub mod providers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -909,7 +909,7 @@ pub mod providers { } } pub mod resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -971,7 +971,7 @@ pub mod resources { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1035,7 +1035,7 @@ pub mod resources { } } pub mod move_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1107,7 +1107,7 @@ pub mod resources { } } pub mod validate_move_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1183,7 +1183,7 @@ pub mod resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1254,7 +1254,7 @@ pub mod resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1337,7 +1337,7 @@ pub mod resources { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GenericResource), @@ -1417,7 +1417,7 @@ pub mod resources { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenericResource), @@ -1490,7 +1490,7 @@ pub mod resources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1566,7 +1566,7 @@ pub mod resources { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1628,7 +1628,7 @@ pub mod resources { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1699,7 +1699,7 @@ pub mod resources { } } pub mod create_or_update_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GenericResource), @@ -1768,7 +1768,7 @@ pub mod resources { } } pub mod update_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenericResource), @@ -1830,7 +1830,7 @@ pub mod resources { } } pub mod delete_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1894,7 +1894,7 @@ pub mod resources { } } pub mod check_existence_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1917,7 +1917,7 @@ pub mod resources { } } pub mod resource_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1962,7 +1962,7 @@ pub mod resource_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2036,7 +2036,7 @@ pub mod resource_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ResourceGroup), @@ -2106,7 +2106,7 @@ pub mod resource_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2165,7 +2165,7 @@ pub mod resource_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2232,7 +2232,7 @@ pub mod resource_groups { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2302,7 +2302,7 @@ pub mod resource_groups { } } pub mod export_template { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2367,7 +2367,7 @@ pub mod resource_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2388,7 +2388,7 @@ pub mod resource_groups { } } pub mod tags { - use crate::models::*; + use super::{models, models::*}; pub async fn create_or_update_value( operation_config: &crate::OperationConfig, tag_name: &str, @@ -2446,7 +2446,7 @@ pub mod tags { } } pub mod create_or_update_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TagValue), @@ -2515,7 +2515,7 @@ pub mod tags { } } pub mod delete_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2592,7 +2592,7 @@ pub mod tags { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TagDetails), @@ -2656,7 +2656,7 @@ pub mod tags { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2718,7 +2718,7 @@ pub mod tags { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2739,7 +2739,7 @@ pub mod tags { } } pub mod deployment_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2788,7 +2788,7 @@ pub mod deployment_operations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2857,7 +2857,7 @@ pub mod deployment_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/resources/src/package_resources_2018_05/operations.rs b/services/mgmt/resources/src/package_resources_2018_05/operations.rs index 5737784555..70caf94ca9 100644 --- a/services/mgmt/resources/src/package_resources_2018_05/operations.rs +++ b/services/mgmt/resources/src/package_resources_2018_05/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Resources/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod deployments { - use crate::models::*; + use super::{models, models::*}; pub async fn get_at_subscription_scope( operation_config: &crate::OperationConfig, deployment_name: &str, @@ -111,7 +111,7 @@ pub mod deployments { } } pub mod get_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -187,7 +187,7 @@ pub mod deployments { } } pub mod create_or_update_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -256,7 +256,7 @@ pub mod deployments { } } pub mod delete_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -325,7 +325,7 @@ pub mod deployments { } } pub mod check_existence_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -391,7 +391,7 @@ pub mod deployments { } } pub mod cancel_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -467,7 +467,7 @@ pub mod deployments { } } pub mod validate_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -538,7 +538,7 @@ pub mod deployments { } } pub mod export_template_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -612,7 +612,7 @@ pub mod deployments { } } pub mod list_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -677,7 +677,7 @@ pub mod deployments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -753,7 +753,7 @@ pub mod deployments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -819,7 +819,7 @@ pub mod deployments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -888,7 +888,7 @@ pub mod deployments { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -951,7 +951,7 @@ pub mod deployments { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1027,7 +1027,7 @@ pub mod deployments { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1098,7 +1098,7 @@ pub mod deployments { } } pub mod export_template { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1174,7 +1174,7 @@ pub mod deployments { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1242,7 +1242,7 @@ pub mod deployments { } } pub mod calculate_template_hash { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1266,7 +1266,7 @@ pub mod deployments { } } pub mod providers { - use crate::models::*; + use super::{models, models::*}; pub async fn unregister( operation_config: &crate::OperationConfig, resource_provider_namespace: &str, @@ -1315,7 +1315,7 @@ pub mod providers { } } pub mod unregister { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1382,7 +1382,7 @@ pub mod providers { } } pub mod register { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1447,7 +1447,7 @@ pub mod providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1514,7 +1514,7 @@ pub mod providers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1535,7 +1535,7 @@ pub mod providers { } } pub mod resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1597,7 +1597,7 @@ pub mod resources { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1661,7 +1661,7 @@ pub mod resources { } } pub mod move_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1733,7 +1733,7 @@ pub mod resources { } } pub mod validate_move_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1809,7 +1809,7 @@ pub mod resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1880,7 +1880,7 @@ pub mod resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1963,7 +1963,7 @@ pub mod resources { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GenericResource), @@ -2043,7 +2043,7 @@ pub mod resources { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenericResource), @@ -2116,7 +2116,7 @@ pub mod resources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2192,7 +2192,7 @@ pub mod resources { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2254,7 +2254,7 @@ pub mod resources { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2325,7 +2325,7 @@ pub mod resources { } } pub mod create_or_update_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GenericResource), @@ -2394,7 +2394,7 @@ pub mod resources { } } pub mod update_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenericResource), @@ -2456,7 +2456,7 @@ pub mod resources { } } pub mod delete_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2520,7 +2520,7 @@ pub mod resources { } } pub mod check_existence_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2543,7 +2543,7 @@ pub mod resources { } } pub mod resource_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2588,7 +2588,7 @@ pub mod resource_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2662,7 +2662,7 @@ pub mod resource_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ResourceGroup), @@ -2732,7 +2732,7 @@ pub mod resource_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2791,7 +2791,7 @@ pub mod resource_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2858,7 +2858,7 @@ pub mod resource_groups { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2928,7 +2928,7 @@ pub mod resource_groups { } } pub mod export_template { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2993,7 +2993,7 @@ pub mod resource_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3014,7 +3014,7 @@ pub mod resource_groups { } } pub mod tags { - use crate::models::*; + use super::{models, models::*}; pub async fn create_or_update_value( operation_config: &crate::OperationConfig, tag_name: &str, @@ -3072,7 +3072,7 @@ pub mod tags { } } pub mod create_or_update_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TagValue), @@ -3141,7 +3141,7 @@ pub mod tags { } } pub mod delete_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3218,7 +3218,7 @@ pub mod tags { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TagDetails), @@ -3282,7 +3282,7 @@ pub mod tags { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3344,7 +3344,7 @@ pub mod tags { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3365,7 +3365,7 @@ pub mod tags { } } pub mod deployment_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn get_at_subscription_scope( operation_config: &crate::OperationConfig, deployment_name: &str, @@ -3417,7 +3417,7 @@ pub mod deployment_operations { } } pub mod get_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3489,7 +3489,7 @@ pub mod deployment_operations { } } pub mod list_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3556,7 +3556,7 @@ pub mod deployment_operations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3625,7 +3625,7 @@ pub mod deployment_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/resources/src/package_resources_2019_03/operations.rs b/services/mgmt/resources/src/package_resources_2019_03/operations.rs index 5737784555..70caf94ca9 100644 --- a/services/mgmt/resources/src/package_resources_2019_03/operations.rs +++ b/services/mgmt/resources/src/package_resources_2019_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Resources/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod deployments { - use crate::models::*; + use super::{models, models::*}; pub async fn get_at_subscription_scope( operation_config: &crate::OperationConfig, deployment_name: &str, @@ -111,7 +111,7 @@ pub mod deployments { } } pub mod get_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -187,7 +187,7 @@ pub mod deployments { } } pub mod create_or_update_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -256,7 +256,7 @@ pub mod deployments { } } pub mod delete_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -325,7 +325,7 @@ pub mod deployments { } } pub mod check_existence_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -391,7 +391,7 @@ pub mod deployments { } } pub mod cancel_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -467,7 +467,7 @@ pub mod deployments { } } pub mod validate_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -538,7 +538,7 @@ pub mod deployments { } } pub mod export_template_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -612,7 +612,7 @@ pub mod deployments { } } pub mod list_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -677,7 +677,7 @@ pub mod deployments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -753,7 +753,7 @@ pub mod deployments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -819,7 +819,7 @@ pub mod deployments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -888,7 +888,7 @@ pub mod deployments { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -951,7 +951,7 @@ pub mod deployments { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1027,7 +1027,7 @@ pub mod deployments { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1098,7 +1098,7 @@ pub mod deployments { } } pub mod export_template { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1174,7 +1174,7 @@ pub mod deployments { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1242,7 +1242,7 @@ pub mod deployments { } } pub mod calculate_template_hash { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1266,7 +1266,7 @@ pub mod deployments { } } pub mod providers { - use crate::models::*; + use super::{models, models::*}; pub async fn unregister( operation_config: &crate::OperationConfig, resource_provider_namespace: &str, @@ -1315,7 +1315,7 @@ pub mod providers { } } pub mod unregister { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1382,7 +1382,7 @@ pub mod providers { } } pub mod register { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1447,7 +1447,7 @@ pub mod providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1514,7 +1514,7 @@ pub mod providers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1535,7 +1535,7 @@ pub mod providers { } } pub mod resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1597,7 +1597,7 @@ pub mod resources { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1661,7 +1661,7 @@ pub mod resources { } } pub mod move_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1733,7 +1733,7 @@ pub mod resources { } } pub mod validate_move_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1809,7 +1809,7 @@ pub mod resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1880,7 +1880,7 @@ pub mod resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1963,7 +1963,7 @@ pub mod resources { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GenericResource), @@ -2043,7 +2043,7 @@ pub mod resources { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenericResource), @@ -2116,7 +2116,7 @@ pub mod resources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2192,7 +2192,7 @@ pub mod resources { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2254,7 +2254,7 @@ pub mod resources { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2325,7 +2325,7 @@ pub mod resources { } } pub mod create_or_update_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GenericResource), @@ -2394,7 +2394,7 @@ pub mod resources { } } pub mod update_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenericResource), @@ -2456,7 +2456,7 @@ pub mod resources { } } pub mod delete_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2520,7 +2520,7 @@ pub mod resources { } } pub mod check_existence_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2543,7 +2543,7 @@ pub mod resources { } } pub mod resource_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2588,7 +2588,7 @@ pub mod resource_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2662,7 +2662,7 @@ pub mod resource_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ResourceGroup), @@ -2732,7 +2732,7 @@ pub mod resource_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2791,7 +2791,7 @@ pub mod resource_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2858,7 +2858,7 @@ pub mod resource_groups { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2928,7 +2928,7 @@ pub mod resource_groups { } } pub mod export_template { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2993,7 +2993,7 @@ pub mod resource_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3014,7 +3014,7 @@ pub mod resource_groups { } } pub mod tags { - use crate::models::*; + use super::{models, models::*}; pub async fn create_or_update_value( operation_config: &crate::OperationConfig, tag_name: &str, @@ -3072,7 +3072,7 @@ pub mod tags { } } pub mod create_or_update_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TagValue), @@ -3141,7 +3141,7 @@ pub mod tags { } } pub mod delete_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3218,7 +3218,7 @@ pub mod tags { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TagDetails), @@ -3282,7 +3282,7 @@ pub mod tags { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3344,7 +3344,7 @@ pub mod tags { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3365,7 +3365,7 @@ pub mod tags { } } pub mod deployment_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn get_at_subscription_scope( operation_config: &crate::OperationConfig, deployment_name: &str, @@ -3417,7 +3417,7 @@ pub mod deployment_operations { } } pub mod get_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3489,7 +3489,7 @@ pub mod deployment_operations { } } pub mod list_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3556,7 +3556,7 @@ pub mod deployment_operations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3625,7 +3625,7 @@ pub mod deployment_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/resources/src/package_resources_2019_05/operations.rs b/services/mgmt/resources/src/package_resources_2019_05/operations.rs index ac659afc4f..f496ffb98e 100644 --- a/services/mgmt/resources/src/package_resources_2019_05/operations.rs +++ b/services/mgmt/resources/src/package_resources_2019_05/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Resources/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod deployments { - use crate::models::*; + use super::{models, models::*}; pub async fn get_at_management_group_scope( operation_config: &crate::OperationConfig, group_id: &str, @@ -111,7 +111,7 @@ pub mod deployments { } } pub mod get_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -187,7 +187,7 @@ pub mod deployments { } } pub mod create_or_update_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -256,7 +256,7 @@ pub mod deployments { } } pub mod delete_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -325,7 +325,7 @@ pub mod deployments { } } pub mod check_existence_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -391,7 +391,7 @@ pub mod deployments { } } pub mod cancel_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -467,7 +467,7 @@ pub mod deployments { } } pub mod validate_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -538,7 +538,7 @@ pub mod deployments { } } pub mod export_template_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -612,7 +612,7 @@ pub mod deployments { } } pub mod list_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -680,7 +680,7 @@ pub mod deployments { } } pub mod get_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -756,7 +756,7 @@ pub mod deployments { } } pub mod create_or_update_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -825,7 +825,7 @@ pub mod deployments { } } pub mod delete_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -894,7 +894,7 @@ pub mod deployments { } } pub mod check_existence_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -960,7 +960,7 @@ pub mod deployments { } } pub mod cancel_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1036,7 +1036,7 @@ pub mod deployments { } } pub mod validate_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1107,7 +1107,7 @@ pub mod deployments { } } pub mod export_template_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1181,7 +1181,7 @@ pub mod deployments { } } pub mod list_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1246,7 +1246,7 @@ pub mod deployments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1322,7 +1322,7 @@ pub mod deployments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -1388,7 +1388,7 @@ pub mod deployments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1457,7 +1457,7 @@ pub mod deployments { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1520,7 +1520,7 @@ pub mod deployments { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1596,7 +1596,7 @@ pub mod deployments { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1667,7 +1667,7 @@ pub mod deployments { } } pub mod export_template { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1743,7 +1743,7 @@ pub mod deployments { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1811,7 +1811,7 @@ pub mod deployments { } } pub mod calculate_template_hash { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1835,7 +1835,7 @@ pub mod deployments { } } pub mod providers { - use crate::models::*; + use super::{models, models::*}; pub async fn unregister( operation_config: &crate::OperationConfig, resource_provider_namespace: &str, @@ -1884,7 +1884,7 @@ pub mod providers { } } pub mod unregister { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1951,7 +1951,7 @@ pub mod providers { } } pub mod register { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2016,7 +2016,7 @@ pub mod providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2083,7 +2083,7 @@ pub mod providers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2104,7 +2104,7 @@ pub mod providers { } } pub mod resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2166,7 +2166,7 @@ pub mod resources { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2230,7 +2230,7 @@ pub mod resources { } } pub mod move_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2302,7 +2302,7 @@ pub mod resources { } } pub mod validate_move_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2378,7 +2378,7 @@ pub mod resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2449,7 +2449,7 @@ pub mod resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2532,7 +2532,7 @@ pub mod resources { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GenericResource), @@ -2612,7 +2612,7 @@ pub mod resources { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenericResource), @@ -2685,7 +2685,7 @@ pub mod resources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2761,7 +2761,7 @@ pub mod resources { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2823,7 +2823,7 @@ pub mod resources { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2894,7 +2894,7 @@ pub mod resources { } } pub mod create_or_update_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GenericResource), @@ -2963,7 +2963,7 @@ pub mod resources { } } pub mod update_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenericResource), @@ -3025,7 +3025,7 @@ pub mod resources { } } pub mod delete_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3089,7 +3089,7 @@ pub mod resources { } } pub mod check_existence_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -3112,7 +3112,7 @@ pub mod resources { } } pub mod resource_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3157,7 +3157,7 @@ pub mod resource_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3231,7 +3231,7 @@ pub mod resource_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ResourceGroup), @@ -3301,7 +3301,7 @@ pub mod resource_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3360,7 +3360,7 @@ pub mod resource_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3427,7 +3427,7 @@ pub mod resource_groups { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -3497,7 +3497,7 @@ pub mod resource_groups { } } pub mod export_template { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3562,7 +3562,7 @@ pub mod resource_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3583,7 +3583,7 @@ pub mod resource_groups { } } pub mod tags { - use crate::models::*; + use super::{models, models::*}; pub async fn create_or_update_value( operation_config: &crate::OperationConfig, tag_name: &str, @@ -3641,7 +3641,7 @@ pub mod tags { } } pub mod create_or_update_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TagValue), @@ -3710,7 +3710,7 @@ pub mod tags { } } pub mod delete_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3787,7 +3787,7 @@ pub mod tags { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TagDetails), @@ -3851,7 +3851,7 @@ pub mod tags { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3913,7 +3913,7 @@ pub mod tags { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3934,7 +3934,7 @@ pub mod tags { } } pub mod deployment_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn get_at_management_group_scope( operation_config: &crate::OperationConfig, group_id: &str, @@ -3986,7 +3986,7 @@ pub mod deployment_operations { } } pub mod get_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4058,7 +4058,7 @@ pub mod deployment_operations { } } pub mod list_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4128,7 +4128,7 @@ pub mod deployment_operations { } } pub mod get_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4200,7 +4200,7 @@ pub mod deployment_operations { } } pub mod list_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4267,7 +4267,7 @@ pub mod deployment_operations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4336,7 +4336,7 @@ pub mod deployment_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/resources/src/package_resources_2019_0510/operations.rs b/services/mgmt/resources/src/package_resources_2019_0510/operations.rs index 1667e60bf6..c2c34c82f7 100644 --- a/services/mgmt/resources/src/package_resources_2019_0510/operations.rs +++ b/services/mgmt/resources/src/package_resources_2019_0510/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Resources/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod deployments { - use crate::models::*; + use super::{models, models::*}; pub async fn get_at_management_group_scope( operation_config: &crate::OperationConfig, group_id: &str, @@ -111,7 +111,7 @@ pub mod deployments { } } pub mod get_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -187,7 +187,7 @@ pub mod deployments { } } pub mod create_or_update_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -256,7 +256,7 @@ pub mod deployments { } } pub mod delete_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -325,7 +325,7 @@ pub mod deployments { } } pub mod check_existence_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -391,7 +391,7 @@ pub mod deployments { } } pub mod cancel_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -467,7 +467,7 @@ pub mod deployments { } } pub mod validate_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -538,7 +538,7 @@ pub mod deployments { } } pub mod export_template_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -612,7 +612,7 @@ pub mod deployments { } } pub mod list_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -680,7 +680,7 @@ pub mod deployments { } } pub mod get_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -756,7 +756,7 @@ pub mod deployments { } } pub mod create_or_update_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -825,7 +825,7 @@ pub mod deployments { } } pub mod delete_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -894,7 +894,7 @@ pub mod deployments { } } pub mod check_existence_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -960,7 +960,7 @@ pub mod deployments { } } pub mod cancel_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1036,7 +1036,7 @@ pub mod deployments { } } pub mod validate_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1107,7 +1107,7 @@ pub mod deployments { } } pub mod export_template_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1181,7 +1181,7 @@ pub mod deployments { } } pub mod list_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1246,7 +1246,7 @@ pub mod deployments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1322,7 +1322,7 @@ pub mod deployments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -1388,7 +1388,7 @@ pub mod deployments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1457,7 +1457,7 @@ pub mod deployments { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1520,7 +1520,7 @@ pub mod deployments { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1596,7 +1596,7 @@ pub mod deployments { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1667,7 +1667,7 @@ pub mod deployments { } } pub mod export_template { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1743,7 +1743,7 @@ pub mod deployments { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1811,7 +1811,7 @@ pub mod deployments { } } pub mod calculate_template_hash { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1835,7 +1835,7 @@ pub mod deployments { } } pub mod providers { - use crate::models::*; + use super::{models, models::*}; pub async fn unregister( operation_config: &crate::OperationConfig, resource_provider_namespace: &str, @@ -1884,7 +1884,7 @@ pub mod providers { } } pub mod unregister { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1951,7 +1951,7 @@ pub mod providers { } } pub mod register { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2016,7 +2016,7 @@ pub mod providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2083,7 +2083,7 @@ pub mod providers { } } pub mod list_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2150,7 +2150,7 @@ pub mod providers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2214,7 +2214,7 @@ pub mod providers { } } pub mod get_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2235,7 +2235,7 @@ pub mod providers { } } pub mod resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2297,7 +2297,7 @@ pub mod resources { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2361,7 +2361,7 @@ pub mod resources { } } pub mod move_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2433,7 +2433,7 @@ pub mod resources { } } pub mod validate_move_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2509,7 +2509,7 @@ pub mod resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2580,7 +2580,7 @@ pub mod resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2663,7 +2663,7 @@ pub mod resources { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GenericResource), @@ -2743,7 +2743,7 @@ pub mod resources { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenericResource), @@ -2816,7 +2816,7 @@ pub mod resources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2892,7 +2892,7 @@ pub mod resources { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2954,7 +2954,7 @@ pub mod resources { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3025,7 +3025,7 @@ pub mod resources { } } pub mod create_or_update_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GenericResource), @@ -3094,7 +3094,7 @@ pub mod resources { } } pub mod update_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenericResource), @@ -3156,7 +3156,7 @@ pub mod resources { } } pub mod delete_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3220,7 +3220,7 @@ pub mod resources { } } pub mod check_existence_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -3243,7 +3243,7 @@ pub mod resources { } } pub mod resource_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3288,7 +3288,7 @@ pub mod resource_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3362,7 +3362,7 @@ pub mod resource_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ResourceGroup), @@ -3432,7 +3432,7 @@ pub mod resource_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3491,7 +3491,7 @@ pub mod resource_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3558,7 +3558,7 @@ pub mod resource_groups { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -3628,7 +3628,7 @@ pub mod resource_groups { } } pub mod export_template { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3693,7 +3693,7 @@ pub mod resource_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3714,7 +3714,7 @@ pub mod resource_groups { } } pub mod tags { - use crate::models::*; + use super::{models, models::*}; pub async fn create_or_update_value( operation_config: &crate::OperationConfig, tag_name: &str, @@ -3772,7 +3772,7 @@ pub mod tags { } } pub mod create_or_update_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TagValue), @@ -3841,7 +3841,7 @@ pub mod tags { } } pub mod delete_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3918,7 +3918,7 @@ pub mod tags { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TagDetails), @@ -3982,7 +3982,7 @@ pub mod tags { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4044,7 +4044,7 @@ pub mod tags { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4065,7 +4065,7 @@ pub mod tags { } } pub mod deployment_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn get_at_management_group_scope( operation_config: &crate::OperationConfig, group_id: &str, @@ -4117,7 +4117,7 @@ pub mod deployment_operations { } } pub mod get_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4189,7 +4189,7 @@ pub mod deployment_operations { } } pub mod list_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4259,7 +4259,7 @@ pub mod deployment_operations { } } pub mod get_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4331,7 +4331,7 @@ pub mod deployment_operations { } } pub mod list_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4398,7 +4398,7 @@ pub mod deployment_operations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4467,7 +4467,7 @@ pub mod deployment_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/resources/src/package_resources_2019_07/operations.rs b/services/mgmt/resources/src/package_resources_2019_07/operations.rs index 2ca4f593db..c9527cc03d 100644 --- a/services/mgmt/resources/src/package_resources_2019_07/operations.rs +++ b/services/mgmt/resources/src/package_resources_2019_07/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Resources/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod deployments { - use crate::models::*; + use super::{models, models::*}; pub async fn get_at_scope( operation_config: &crate::OperationConfig, scope: &str, @@ -116,7 +116,7 @@ pub mod deployments { } } pub mod get_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -197,7 +197,7 @@ pub mod deployments { } } pub mod create_or_update_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -269,7 +269,7 @@ pub mod deployments { } } pub mod delete_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -343,7 +343,7 @@ pub mod deployments { } } pub mod check_existence_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -412,7 +412,7 @@ pub mod deployments { } } pub mod cancel_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -491,7 +491,7 @@ pub mod deployments { } } pub mod validate_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -567,7 +567,7 @@ pub mod deployments { } } pub mod export_template_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -644,7 +644,7 @@ pub mod deployments { } } pub mod list_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -713,7 +713,7 @@ pub mod deployments { } } pub mod get_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -792,7 +792,7 @@ pub mod deployments { } } pub mod create_or_update_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -864,7 +864,7 @@ pub mod deployments { } } pub mod delete_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -936,7 +936,7 @@ pub mod deployments { } } pub mod check_existence_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1005,7 +1005,7 @@ pub mod deployments { } } pub mod cancel_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1084,7 +1084,7 @@ pub mod deployments { } } pub mod validate_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1158,7 +1158,7 @@ pub mod deployments { } } pub mod export_template_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1230,7 +1230,7 @@ pub mod deployments { } } pub mod list_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1303,7 +1303,7 @@ pub mod deployments { } } pub mod get_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1384,7 +1384,7 @@ pub mod deployments { } } pub mod create_or_update_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -1458,7 +1458,7 @@ pub mod deployments { } } pub mod delete_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1532,7 +1532,7 @@ pub mod deployments { } } pub mod check_existence_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1603,7 +1603,7 @@ pub mod deployments { } } pub mod cancel_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1684,7 +1684,7 @@ pub mod deployments { } } pub mod validate_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1760,7 +1760,7 @@ pub mod deployments { } } pub mod export_template_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1839,7 +1839,7 @@ pub mod deployments { } } pub mod list_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1912,7 +1912,7 @@ pub mod deployments { } } pub mod get_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1993,7 +1993,7 @@ pub mod deployments { } } pub mod create_or_update_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -2067,7 +2067,7 @@ pub mod deployments { } } pub mod delete_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2141,7 +2141,7 @@ pub mod deployments { } } pub mod check_existence_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2212,7 +2212,7 @@ pub mod deployments { } } pub mod cancel_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2293,7 +2293,7 @@ pub mod deployments { } } pub mod validate_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2371,7 +2371,7 @@ pub mod deployments { } } pub mod what_if_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WhatIfOperationResult), @@ -2450,7 +2450,7 @@ pub mod deployments { } } pub mod export_template_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2529,7 +2529,7 @@ pub mod deployments { } } pub mod list_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2599,7 +2599,7 @@ pub mod deployments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2680,7 +2680,7 @@ pub mod deployments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -2751,7 +2751,7 @@ pub mod deployments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2825,7 +2825,7 @@ pub mod deployments { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2893,7 +2893,7 @@ pub mod deployments { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2974,7 +2974,7 @@ pub mod deployments { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -3052,7 +3052,7 @@ pub mod deployments { } } pub mod what_if { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WhatIfOperationResult), @@ -3131,7 +3131,7 @@ pub mod deployments { } } pub mod export_template { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3212,7 +3212,7 @@ pub mod deployments { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3283,7 +3283,7 @@ pub mod deployments { } } pub mod calculate_template_hash { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3307,7 +3307,7 @@ pub mod deployments { } } pub mod providers { - use crate::models::*; + use super::{models, models::*}; pub async fn unregister( operation_config: &crate::OperationConfig, resource_provider_namespace: &str, @@ -3358,7 +3358,7 @@ pub mod providers { } } pub mod unregister { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3430,7 +3430,7 @@ pub mod providers { } } pub mod register { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3500,7 +3500,7 @@ pub mod providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3572,7 +3572,7 @@ pub mod providers { } } pub mod list_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3644,7 +3644,7 @@ pub mod providers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3713,7 +3713,7 @@ pub mod providers { } } pub mod get_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3737,7 +3737,7 @@ pub mod providers { } } pub mod resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3801,7 +3801,7 @@ pub mod resources { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3870,7 +3870,7 @@ pub mod resources { } } pub mod move_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3946,7 +3946,7 @@ pub mod resources { } } pub mod validate_move_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4025,7 +4025,7 @@ pub mod resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4101,7 +4101,7 @@ pub mod resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4189,7 +4189,7 @@ pub mod resources { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GenericResource), @@ -4274,7 +4274,7 @@ pub mod resources { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenericResource), @@ -4352,7 +4352,7 @@ pub mod resources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4433,7 +4433,7 @@ pub mod resources { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -4500,7 +4500,7 @@ pub mod resources { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4576,7 +4576,7 @@ pub mod resources { } } pub mod create_or_update_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GenericResource), @@ -4650,7 +4650,7 @@ pub mod resources { } } pub mod update_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenericResource), @@ -4717,7 +4717,7 @@ pub mod resources { } } pub mod delete_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4786,7 +4786,7 @@ pub mod resources { } } pub mod check_existence_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -4812,7 +4812,7 @@ pub mod resources { } } pub mod resource_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4859,7 +4859,7 @@ pub mod resource_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4938,7 +4938,7 @@ pub mod resource_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ResourceGroup), @@ -5013,7 +5013,7 @@ pub mod resource_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5077,7 +5077,7 @@ pub mod resource_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5149,7 +5149,7 @@ pub mod resource_groups { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -5224,7 +5224,7 @@ pub mod resource_groups { } } pub mod export_template { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5294,7 +5294,7 @@ pub mod resource_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5318,7 +5318,7 @@ pub mod resource_groups { } } pub mod tags { - use crate::models::*; + use super::{models, models::*}; pub async fn create_or_update_value( operation_config: &crate::OperationConfig, tag_name: &str, @@ -5378,7 +5378,7 @@ pub mod tags { } } pub mod create_or_update_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TagValue), @@ -5452,7 +5452,7 @@ pub mod tags { } } pub mod delete_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5534,7 +5534,7 @@ pub mod tags { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TagDetails), @@ -5603,7 +5603,7 @@ pub mod tags { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5670,7 +5670,7 @@ pub mod tags { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5694,7 +5694,7 @@ pub mod tags { } } pub mod deployment_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn get_at_scope( operation_config: &crate::OperationConfig, scope: &str, @@ -5746,7 +5746,7 @@ pub mod deployment_operations { } } pub mod get_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5821,7 +5821,7 @@ pub mod deployment_operations { } } pub mod list_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5892,7 +5892,7 @@ pub mod deployment_operations { } } pub mod get_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5965,7 +5965,7 @@ pub mod deployment_operations { } } pub mod list_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6040,7 +6040,7 @@ pub mod deployment_operations { } } pub mod get_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6117,7 +6117,7 @@ pub mod deployment_operations { } } pub mod list_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6192,7 +6192,7 @@ pub mod deployment_operations { } } pub mod get_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6269,7 +6269,7 @@ pub mod deployment_operations { } } pub mod list_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6341,7 +6341,7 @@ pub mod deployment_operations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6415,7 +6415,7 @@ pub mod deployment_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/resources/src/package_resources_2019_08/operations.rs b/services/mgmt/resources/src/package_resources_2019_08/operations.rs index 918e8b307f..36ab565555 100644 --- a/services/mgmt/resources/src/package_resources_2019_08/operations.rs +++ b/services/mgmt/resources/src/package_resources_2019_08/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Resources/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod deployments { - use crate::models::*; + use super::{models, models::*}; pub async fn get_at_scope( operation_config: &crate::OperationConfig, scope: &str, @@ -116,7 +116,7 @@ pub mod deployments { } } pub mod get_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -197,7 +197,7 @@ pub mod deployments { } } pub mod create_or_update_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -269,7 +269,7 @@ pub mod deployments { } } pub mod delete_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -343,7 +343,7 @@ pub mod deployments { } } pub mod check_existence_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -412,7 +412,7 @@ pub mod deployments { } } pub mod cancel_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -491,7 +491,7 @@ pub mod deployments { } } pub mod validate_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -567,7 +567,7 @@ pub mod deployments { } } pub mod export_template_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -644,7 +644,7 @@ pub mod deployments { } } pub mod list_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -713,7 +713,7 @@ pub mod deployments { } } pub mod get_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -792,7 +792,7 @@ pub mod deployments { } } pub mod create_or_update_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -864,7 +864,7 @@ pub mod deployments { } } pub mod delete_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -936,7 +936,7 @@ pub mod deployments { } } pub mod check_existence_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1005,7 +1005,7 @@ pub mod deployments { } } pub mod cancel_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1084,7 +1084,7 @@ pub mod deployments { } } pub mod validate_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1158,7 +1158,7 @@ pub mod deployments { } } pub mod export_template_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1230,7 +1230,7 @@ pub mod deployments { } } pub mod list_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1303,7 +1303,7 @@ pub mod deployments { } } pub mod get_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1384,7 +1384,7 @@ pub mod deployments { } } pub mod create_or_update_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -1458,7 +1458,7 @@ pub mod deployments { } } pub mod delete_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1532,7 +1532,7 @@ pub mod deployments { } } pub mod check_existence_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1603,7 +1603,7 @@ pub mod deployments { } } pub mod cancel_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1684,7 +1684,7 @@ pub mod deployments { } } pub mod validate_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1760,7 +1760,7 @@ pub mod deployments { } } pub mod export_template_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1839,7 +1839,7 @@ pub mod deployments { } } pub mod list_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1912,7 +1912,7 @@ pub mod deployments { } } pub mod get_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1993,7 +1993,7 @@ pub mod deployments { } } pub mod create_or_update_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -2067,7 +2067,7 @@ pub mod deployments { } } pub mod delete_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2141,7 +2141,7 @@ pub mod deployments { } } pub mod check_existence_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2212,7 +2212,7 @@ pub mod deployments { } } pub mod cancel_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2293,7 +2293,7 @@ pub mod deployments { } } pub mod validate_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2371,7 +2371,7 @@ pub mod deployments { } } pub mod what_if_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WhatIfOperationResult), @@ -2450,7 +2450,7 @@ pub mod deployments { } } pub mod export_template_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2529,7 +2529,7 @@ pub mod deployments { } } pub mod list_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2599,7 +2599,7 @@ pub mod deployments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2680,7 +2680,7 @@ pub mod deployments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -2751,7 +2751,7 @@ pub mod deployments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2825,7 +2825,7 @@ pub mod deployments { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2893,7 +2893,7 @@ pub mod deployments { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2974,7 +2974,7 @@ pub mod deployments { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -3052,7 +3052,7 @@ pub mod deployments { } } pub mod what_if { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WhatIfOperationResult), @@ -3131,7 +3131,7 @@ pub mod deployments { } } pub mod export_template { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3212,7 +3212,7 @@ pub mod deployments { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3283,7 +3283,7 @@ pub mod deployments { } } pub mod calculate_template_hash { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3307,7 +3307,7 @@ pub mod deployments { } } pub mod providers { - use crate::models::*; + use super::{models, models::*}; pub async fn unregister( operation_config: &crate::OperationConfig, resource_provider_namespace: &str, @@ -3358,7 +3358,7 @@ pub mod providers { } } pub mod unregister { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3430,7 +3430,7 @@ pub mod providers { } } pub mod register { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3500,7 +3500,7 @@ pub mod providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3572,7 +3572,7 @@ pub mod providers { } } pub mod list_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3644,7 +3644,7 @@ pub mod providers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3713,7 +3713,7 @@ pub mod providers { } } pub mod get_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3737,7 +3737,7 @@ pub mod providers { } } pub mod resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3801,7 +3801,7 @@ pub mod resources { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3870,7 +3870,7 @@ pub mod resources { } } pub mod move_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3946,7 +3946,7 @@ pub mod resources { } } pub mod validate_move_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4025,7 +4025,7 @@ pub mod resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4101,7 +4101,7 @@ pub mod resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4189,7 +4189,7 @@ pub mod resources { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GenericResource), @@ -4274,7 +4274,7 @@ pub mod resources { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenericResource), @@ -4352,7 +4352,7 @@ pub mod resources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4433,7 +4433,7 @@ pub mod resources { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -4500,7 +4500,7 @@ pub mod resources { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4576,7 +4576,7 @@ pub mod resources { } } pub mod create_or_update_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GenericResource), @@ -4650,7 +4650,7 @@ pub mod resources { } } pub mod update_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenericResource), @@ -4717,7 +4717,7 @@ pub mod resources { } } pub mod delete_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4786,7 +4786,7 @@ pub mod resources { } } pub mod check_existence_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -4812,7 +4812,7 @@ pub mod resources { } } pub mod resource_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4859,7 +4859,7 @@ pub mod resource_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4938,7 +4938,7 @@ pub mod resource_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ResourceGroup), @@ -5013,7 +5013,7 @@ pub mod resource_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5077,7 +5077,7 @@ pub mod resource_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5149,7 +5149,7 @@ pub mod resource_groups { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -5225,7 +5225,7 @@ pub mod resource_groups { } } pub mod export_template { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ResourceGroupExportResult), @@ -5300,7 +5300,7 @@ pub mod resource_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5324,7 +5324,7 @@ pub mod resource_groups { } } pub mod tags { - use crate::models::*; + use super::{models, models::*}; pub async fn create_or_update_value( operation_config: &crate::OperationConfig, tag_name: &str, @@ -5384,7 +5384,7 @@ pub mod tags { } } pub mod create_or_update_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TagValue), @@ -5458,7 +5458,7 @@ pub mod tags { } } pub mod delete_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5540,7 +5540,7 @@ pub mod tags { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TagDetails), @@ -5609,7 +5609,7 @@ pub mod tags { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5676,7 +5676,7 @@ pub mod tags { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5700,7 +5700,7 @@ pub mod tags { } } pub mod deployment_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn get_at_scope( operation_config: &crate::OperationConfig, scope: &str, @@ -5752,7 +5752,7 @@ pub mod deployment_operations { } } pub mod get_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5827,7 +5827,7 @@ pub mod deployment_operations { } } pub mod list_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5898,7 +5898,7 @@ pub mod deployment_operations { } } pub mod get_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5971,7 +5971,7 @@ pub mod deployment_operations { } } pub mod list_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6046,7 +6046,7 @@ pub mod deployment_operations { } } pub mod get_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6123,7 +6123,7 @@ pub mod deployment_operations { } } pub mod list_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6198,7 +6198,7 @@ pub mod deployment_operations { } } pub mod get_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6275,7 +6275,7 @@ pub mod deployment_operations { } } pub mod list_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6347,7 +6347,7 @@ pub mod deployment_operations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6421,7 +6421,7 @@ pub mod deployment_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/resources/src/package_resources_2019_10/operations.rs b/services/mgmt/resources/src/package_resources_2019_10/operations.rs index 236e294fa9..91eedd86f5 100644 --- a/services/mgmt/resources/src/package_resources_2019_10/operations.rs +++ b/services/mgmt/resources/src/package_resources_2019_10/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Resources/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod deployments { - use crate::models::*; + use super::{models, models::*}; pub async fn get_at_scope( operation_config: &crate::OperationConfig, scope: &str, @@ -116,7 +116,7 @@ pub mod deployments { } } pub mod get_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -197,7 +197,7 @@ pub mod deployments { } } pub mod create_or_update_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -269,7 +269,7 @@ pub mod deployments { } } pub mod delete_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -343,7 +343,7 @@ pub mod deployments { } } pub mod check_existence_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -412,7 +412,7 @@ pub mod deployments { } } pub mod cancel_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -492,7 +492,7 @@ pub mod deployments { } } pub mod validate_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentValidateResult), @@ -573,7 +573,7 @@ pub mod deployments { } } pub mod export_template_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -650,7 +650,7 @@ pub mod deployments { } } pub mod list_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -719,7 +719,7 @@ pub mod deployments { } } pub mod get_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -798,7 +798,7 @@ pub mod deployments { } } pub mod create_or_update_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -870,7 +870,7 @@ pub mod deployments { } } pub mod delete_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -942,7 +942,7 @@ pub mod deployments { } } pub mod check_existence_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1011,7 +1011,7 @@ pub mod deployments { } } pub mod cancel_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1091,7 +1091,7 @@ pub mod deployments { } } pub mod validate_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentValidateResult), @@ -1172,7 +1172,7 @@ pub mod deployments { } } pub mod what_if_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WhatIfOperationResult), @@ -1249,7 +1249,7 @@ pub mod deployments { } } pub mod export_template_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1321,7 +1321,7 @@ pub mod deployments { } } pub mod list_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1394,7 +1394,7 @@ pub mod deployments { } } pub mod get_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1475,7 +1475,7 @@ pub mod deployments { } } pub mod create_or_update_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -1549,7 +1549,7 @@ pub mod deployments { } } pub mod delete_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1623,7 +1623,7 @@ pub mod deployments { } } pub mod check_existence_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1694,7 +1694,7 @@ pub mod deployments { } } pub mod cancel_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1776,7 +1776,7 @@ pub mod deployments { } } pub mod validate_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentValidateResult), @@ -1859,7 +1859,7 @@ pub mod deployments { } } pub mod what_if_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WhatIfOperationResult), @@ -1938,7 +1938,7 @@ pub mod deployments { } } pub mod export_template_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2017,7 +2017,7 @@ pub mod deployments { } } pub mod list_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2090,7 +2090,7 @@ pub mod deployments { } } pub mod get_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2171,7 +2171,7 @@ pub mod deployments { } } pub mod create_or_update_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -2245,7 +2245,7 @@ pub mod deployments { } } pub mod delete_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2319,7 +2319,7 @@ pub mod deployments { } } pub mod check_existence_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2390,7 +2390,7 @@ pub mod deployments { } } pub mod cancel_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2472,7 +2472,7 @@ pub mod deployments { } } pub mod validate_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentValidateResult), @@ -2555,7 +2555,7 @@ pub mod deployments { } } pub mod what_if_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WhatIfOperationResult), @@ -2634,7 +2634,7 @@ pub mod deployments { } } pub mod export_template_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2713,7 +2713,7 @@ pub mod deployments { } } pub mod list_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2783,7 +2783,7 @@ pub mod deployments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2864,7 +2864,7 @@ pub mod deployments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -2935,7 +2935,7 @@ pub mod deployments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3009,7 +3009,7 @@ pub mod deployments { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -3077,7 +3077,7 @@ pub mod deployments { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3159,7 +3159,7 @@ pub mod deployments { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentValidateResult), @@ -3242,7 +3242,7 @@ pub mod deployments { } } pub mod what_if { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WhatIfOperationResult), @@ -3321,7 +3321,7 @@ pub mod deployments { } } pub mod export_template { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3402,7 +3402,7 @@ pub mod deployments { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3473,7 +3473,7 @@ pub mod deployments { } } pub mod calculate_template_hash { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3497,7 +3497,7 @@ pub mod deployments { } } pub mod providers { - use crate::models::*; + use super::{models, models::*}; pub async fn unregister( operation_config: &crate::OperationConfig, resource_provider_namespace: &str, @@ -3548,7 +3548,7 @@ pub mod providers { } } pub mod unregister { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3620,7 +3620,7 @@ pub mod providers { } } pub mod register { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3690,7 +3690,7 @@ pub mod providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3762,7 +3762,7 @@ pub mod providers { } } pub mod list_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3834,7 +3834,7 @@ pub mod providers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3903,7 +3903,7 @@ pub mod providers { } } pub mod get_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3927,7 +3927,7 @@ pub mod providers { } } pub mod resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3991,7 +3991,7 @@ pub mod resources { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4060,7 +4060,7 @@ pub mod resources { } } pub mod move_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4136,7 +4136,7 @@ pub mod resources { } } pub mod validate_move_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4215,7 +4215,7 @@ pub mod resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4291,7 +4291,7 @@ pub mod resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4379,7 +4379,7 @@ pub mod resources { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenericResource), @@ -4464,7 +4464,7 @@ pub mod resources { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenericResource), @@ -4542,7 +4542,7 @@ pub mod resources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4623,7 +4623,7 @@ pub mod resources { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -4690,7 +4690,7 @@ pub mod resources { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4766,7 +4766,7 @@ pub mod resources { } } pub mod create_or_update_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenericResource), @@ -4840,7 +4840,7 @@ pub mod resources { } } pub mod update_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenericResource), @@ -4907,7 +4907,7 @@ pub mod resources { } } pub mod delete_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4976,7 +4976,7 @@ pub mod resources { } } pub mod check_existence_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -5002,7 +5002,7 @@ pub mod resources { } } pub mod resource_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5049,7 +5049,7 @@ pub mod resource_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5128,7 +5128,7 @@ pub mod resource_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ResourceGroup), @@ -5203,7 +5203,7 @@ pub mod resource_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5267,7 +5267,7 @@ pub mod resource_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5339,7 +5339,7 @@ pub mod resource_groups { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -5415,7 +5415,7 @@ pub mod resource_groups { } } pub mod export_template { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ResourceGroupExportResult), @@ -5490,7 +5490,7 @@ pub mod resource_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5514,7 +5514,7 @@ pub mod resource_groups { } } pub mod tags { - use crate::models::*; + use super::{models, models::*}; pub async fn create_or_update_value( operation_config: &crate::OperationConfig, tag_name: &str, @@ -5574,7 +5574,7 @@ pub mod tags { } } pub mod create_or_update_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TagValue), @@ -5648,7 +5648,7 @@ pub mod tags { } } pub mod delete_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5730,7 +5730,7 @@ pub mod tags { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TagDetails), @@ -5799,7 +5799,7 @@ pub mod tags { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5866,7 +5866,7 @@ pub mod tags { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5935,7 +5935,7 @@ pub mod tags { } } pub mod get_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6008,7 +6008,7 @@ pub mod tags { } } pub mod create_or_update_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6079,7 +6079,7 @@ pub mod tags { } } pub mod update_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6143,7 +6143,7 @@ pub mod tags { } } pub mod delete_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6167,7 +6167,7 @@ pub mod tags { } } pub mod deployment_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn get_at_scope( operation_config: &crate::OperationConfig, scope: &str, @@ -6219,7 +6219,7 @@ pub mod deployment_operations { } } pub mod get_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6294,7 +6294,7 @@ pub mod deployment_operations { } } pub mod list_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6365,7 +6365,7 @@ pub mod deployment_operations { } } pub mod get_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6438,7 +6438,7 @@ pub mod deployment_operations { } } pub mod list_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6513,7 +6513,7 @@ pub mod deployment_operations { } } pub mod get_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6590,7 +6590,7 @@ pub mod deployment_operations { } } pub mod list_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6665,7 +6665,7 @@ pub mod deployment_operations { } } pub mod get_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6742,7 +6742,7 @@ pub mod deployment_operations { } } pub mod list_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6814,7 +6814,7 @@ pub mod deployment_operations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6888,7 +6888,7 @@ pub mod deployment_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/resources/src/package_resources_2020_06/operations.rs b/services/mgmt/resources/src/package_resources_2020_06/operations.rs index 6f7d987eba..7008f531d4 100644 --- a/services/mgmt/resources/src/package_resources_2020_06/operations.rs +++ b/services/mgmt/resources/src/package_resources_2020_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Resources/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod deployments { - use crate::models::*; + use super::{models, models::*}; pub async fn get_at_scope( operation_config: &crate::OperationConfig, scope: &str, @@ -116,7 +116,7 @@ pub mod deployments { } } pub mod get_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -197,7 +197,7 @@ pub mod deployments { } } pub mod create_or_update_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -269,7 +269,7 @@ pub mod deployments { } } pub mod delete_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -343,7 +343,7 @@ pub mod deployments { } } pub mod check_existence_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -412,7 +412,7 @@ pub mod deployments { } } pub mod cancel_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -492,7 +492,7 @@ pub mod deployments { } } pub mod validate_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentValidateResult), @@ -573,7 +573,7 @@ pub mod deployments { } } pub mod export_template_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -650,7 +650,7 @@ pub mod deployments { } } pub mod list_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -719,7 +719,7 @@ pub mod deployments { } } pub mod get_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -798,7 +798,7 @@ pub mod deployments { } } pub mod create_or_update_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -870,7 +870,7 @@ pub mod deployments { } } pub mod delete_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -942,7 +942,7 @@ pub mod deployments { } } pub mod check_existence_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1011,7 +1011,7 @@ pub mod deployments { } } pub mod cancel_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1091,7 +1091,7 @@ pub mod deployments { } } pub mod validate_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentValidateResult), @@ -1172,7 +1172,7 @@ pub mod deployments { } } pub mod what_if_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WhatIfOperationResult), @@ -1249,7 +1249,7 @@ pub mod deployments { } } pub mod export_template_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1321,7 +1321,7 @@ pub mod deployments { } } pub mod list_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1394,7 +1394,7 @@ pub mod deployments { } } pub mod get_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1475,7 +1475,7 @@ pub mod deployments { } } pub mod create_or_update_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -1549,7 +1549,7 @@ pub mod deployments { } } pub mod delete_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1623,7 +1623,7 @@ pub mod deployments { } } pub mod check_existence_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1694,7 +1694,7 @@ pub mod deployments { } } pub mod cancel_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1776,7 +1776,7 @@ pub mod deployments { } } pub mod validate_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentValidateResult), @@ -1859,7 +1859,7 @@ pub mod deployments { } } pub mod what_if_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WhatIfOperationResult), @@ -1938,7 +1938,7 @@ pub mod deployments { } } pub mod export_template_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2017,7 +2017,7 @@ pub mod deployments { } } pub mod list_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2090,7 +2090,7 @@ pub mod deployments { } } pub mod get_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2171,7 +2171,7 @@ pub mod deployments { } } pub mod create_or_update_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -2245,7 +2245,7 @@ pub mod deployments { } } pub mod delete_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2319,7 +2319,7 @@ pub mod deployments { } } pub mod check_existence_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2390,7 +2390,7 @@ pub mod deployments { } } pub mod cancel_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2472,7 +2472,7 @@ pub mod deployments { } } pub mod validate_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentValidateResult), @@ -2555,7 +2555,7 @@ pub mod deployments { } } pub mod what_if_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WhatIfOperationResult), @@ -2634,7 +2634,7 @@ pub mod deployments { } } pub mod export_template_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2713,7 +2713,7 @@ pub mod deployments { } } pub mod list_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2783,7 +2783,7 @@ pub mod deployments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2864,7 +2864,7 @@ pub mod deployments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -2935,7 +2935,7 @@ pub mod deployments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3009,7 +3009,7 @@ pub mod deployments { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -3077,7 +3077,7 @@ pub mod deployments { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3159,7 +3159,7 @@ pub mod deployments { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentValidateResult), @@ -3242,7 +3242,7 @@ pub mod deployments { } } pub mod what_if { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WhatIfOperationResult), @@ -3321,7 +3321,7 @@ pub mod deployments { } } pub mod export_template { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3402,7 +3402,7 @@ pub mod deployments { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3473,7 +3473,7 @@ pub mod deployments { } } pub mod calculate_template_hash { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3497,7 +3497,7 @@ pub mod deployments { } } pub mod providers { - use crate::models::*; + use super::{models, models::*}; pub async fn unregister( operation_config: &crate::OperationConfig, resource_provider_namespace: &str, @@ -3548,7 +3548,7 @@ pub mod providers { } } pub mod unregister { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3617,7 +3617,7 @@ pub mod providers { } } pub mod register_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3689,7 +3689,7 @@ pub mod providers { } } pub mod register { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3759,7 +3759,7 @@ pub mod providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3831,7 +3831,7 @@ pub mod providers { } } pub mod list_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3903,7 +3903,7 @@ pub mod providers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3972,7 +3972,7 @@ pub mod providers { } } pub mod get_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3996,7 +3996,7 @@ pub mod providers { } } pub mod resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4060,7 +4060,7 @@ pub mod resources { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4129,7 +4129,7 @@ pub mod resources { } } pub mod move_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4205,7 +4205,7 @@ pub mod resources { } } pub mod validate_move_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4284,7 +4284,7 @@ pub mod resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4360,7 +4360,7 @@ pub mod resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4448,7 +4448,7 @@ pub mod resources { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenericResource), @@ -4533,7 +4533,7 @@ pub mod resources { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenericResource), @@ -4611,7 +4611,7 @@ pub mod resources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4692,7 +4692,7 @@ pub mod resources { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -4759,7 +4759,7 @@ pub mod resources { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4835,7 +4835,7 @@ pub mod resources { } } pub mod create_or_update_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenericResource), @@ -4909,7 +4909,7 @@ pub mod resources { } } pub mod update_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenericResource), @@ -4976,7 +4976,7 @@ pub mod resources { } } pub mod delete_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5045,7 +5045,7 @@ pub mod resources { } } pub mod check_existence_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -5071,7 +5071,7 @@ pub mod resources { } } pub mod resource_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5118,7 +5118,7 @@ pub mod resource_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5197,7 +5197,7 @@ pub mod resource_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ResourceGroup), @@ -5272,7 +5272,7 @@ pub mod resource_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5340,7 +5340,7 @@ pub mod resource_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5412,7 +5412,7 @@ pub mod resource_groups { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -5488,7 +5488,7 @@ pub mod resource_groups { } } pub mod export_template { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ResourceGroupExportResult), @@ -5563,7 +5563,7 @@ pub mod resource_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5587,7 +5587,7 @@ pub mod resource_groups { } } pub mod tags { - use crate::models::*; + use super::{models, models::*}; pub async fn create_or_update_value( operation_config: &crate::OperationConfig, tag_name: &str, @@ -5647,7 +5647,7 @@ pub mod tags { } } pub mod create_or_update_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TagValue), @@ -5721,7 +5721,7 @@ pub mod tags { } } pub mod delete_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5803,7 +5803,7 @@ pub mod tags { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TagDetails), @@ -5872,7 +5872,7 @@ pub mod tags { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5939,7 +5939,7 @@ pub mod tags { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6008,7 +6008,7 @@ pub mod tags { } } pub mod get_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6081,7 +6081,7 @@ pub mod tags { } } pub mod create_or_update_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6152,7 +6152,7 @@ pub mod tags { } } pub mod update_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6216,7 +6216,7 @@ pub mod tags { } } pub mod delete_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6240,7 +6240,7 @@ pub mod tags { } } pub mod deployment_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn get_at_scope( operation_config: &crate::OperationConfig, scope: &str, @@ -6292,7 +6292,7 @@ pub mod deployment_operations { } } pub mod get_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6367,7 +6367,7 @@ pub mod deployment_operations { } } pub mod list_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6438,7 +6438,7 @@ pub mod deployment_operations { } } pub mod get_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6511,7 +6511,7 @@ pub mod deployment_operations { } } pub mod list_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6586,7 +6586,7 @@ pub mod deployment_operations { } } pub mod get_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6663,7 +6663,7 @@ pub mod deployment_operations { } } pub mod list_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6738,7 +6738,7 @@ pub mod deployment_operations { } } pub mod get_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6815,7 +6815,7 @@ pub mod deployment_operations { } } pub mod list_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6887,7 +6887,7 @@ pub mod deployment_operations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6961,7 +6961,7 @@ pub mod deployment_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/resources/src/package_resources_2020_08/operations.rs b/services/mgmt/resources/src/package_resources_2020_08/operations.rs index 6520b536f6..847ccb43a9 100644 --- a/services/mgmt/resources/src/package_resources_2020_08/operations.rs +++ b/services/mgmt/resources/src/package_resources_2020_08/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Resources/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod deployments { - use crate::models::*; + use super::{models, models::*}; pub async fn get_at_scope( operation_config: &crate::OperationConfig, scope: &str, @@ -116,7 +116,7 @@ pub mod deployments { } } pub mod get_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -197,7 +197,7 @@ pub mod deployments { } } pub mod create_or_update_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -269,7 +269,7 @@ pub mod deployments { } } pub mod delete_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -343,7 +343,7 @@ pub mod deployments { } } pub mod check_existence_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -412,7 +412,7 @@ pub mod deployments { } } pub mod cancel_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -492,7 +492,7 @@ pub mod deployments { } } pub mod validate_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentValidateResult), @@ -573,7 +573,7 @@ pub mod deployments { } } pub mod export_template_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -650,7 +650,7 @@ pub mod deployments { } } pub mod list_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -719,7 +719,7 @@ pub mod deployments { } } pub mod get_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -798,7 +798,7 @@ pub mod deployments { } } pub mod create_or_update_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -870,7 +870,7 @@ pub mod deployments { } } pub mod delete_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -942,7 +942,7 @@ pub mod deployments { } } pub mod check_existence_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1011,7 +1011,7 @@ pub mod deployments { } } pub mod cancel_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1091,7 +1091,7 @@ pub mod deployments { } } pub mod validate_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentValidateResult), @@ -1172,7 +1172,7 @@ pub mod deployments { } } pub mod what_if_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WhatIfOperationResult), @@ -1249,7 +1249,7 @@ pub mod deployments { } } pub mod export_template_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1321,7 +1321,7 @@ pub mod deployments { } } pub mod list_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1394,7 +1394,7 @@ pub mod deployments { } } pub mod get_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1475,7 +1475,7 @@ pub mod deployments { } } pub mod create_or_update_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -1549,7 +1549,7 @@ pub mod deployments { } } pub mod delete_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1623,7 +1623,7 @@ pub mod deployments { } } pub mod check_existence_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1694,7 +1694,7 @@ pub mod deployments { } } pub mod cancel_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1776,7 +1776,7 @@ pub mod deployments { } } pub mod validate_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentValidateResult), @@ -1859,7 +1859,7 @@ pub mod deployments { } } pub mod what_if_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WhatIfOperationResult), @@ -1938,7 +1938,7 @@ pub mod deployments { } } pub mod export_template_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2017,7 +2017,7 @@ pub mod deployments { } } pub mod list_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2090,7 +2090,7 @@ pub mod deployments { } } pub mod get_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2171,7 +2171,7 @@ pub mod deployments { } } pub mod create_or_update_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -2245,7 +2245,7 @@ pub mod deployments { } } pub mod delete_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2319,7 +2319,7 @@ pub mod deployments { } } pub mod check_existence_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2390,7 +2390,7 @@ pub mod deployments { } } pub mod cancel_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2472,7 +2472,7 @@ pub mod deployments { } } pub mod validate_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentValidateResult), @@ -2555,7 +2555,7 @@ pub mod deployments { } } pub mod what_if_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WhatIfOperationResult), @@ -2634,7 +2634,7 @@ pub mod deployments { } } pub mod export_template_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2713,7 +2713,7 @@ pub mod deployments { } } pub mod list_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2783,7 +2783,7 @@ pub mod deployments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2864,7 +2864,7 @@ pub mod deployments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -2935,7 +2935,7 @@ pub mod deployments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3009,7 +3009,7 @@ pub mod deployments { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -3077,7 +3077,7 @@ pub mod deployments { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3159,7 +3159,7 @@ pub mod deployments { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentValidateResult), @@ -3242,7 +3242,7 @@ pub mod deployments { } } pub mod what_if { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WhatIfOperationResult), @@ -3321,7 +3321,7 @@ pub mod deployments { } } pub mod export_template { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3402,7 +3402,7 @@ pub mod deployments { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3473,7 +3473,7 @@ pub mod deployments { } } pub mod calculate_template_hash { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3497,7 +3497,7 @@ pub mod deployments { } } pub mod providers { - use crate::models::*; + use super::{models, models::*}; pub async fn unregister( operation_config: &crate::OperationConfig, resource_provider_namespace: &str, @@ -3548,7 +3548,7 @@ pub mod providers { } } pub mod unregister { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3620,7 +3620,7 @@ pub mod providers { } } pub mod register { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3690,7 +3690,7 @@ pub mod providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3762,7 +3762,7 @@ pub mod providers { } } pub mod list_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3834,7 +3834,7 @@ pub mod providers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3903,7 +3903,7 @@ pub mod providers { } } pub mod get_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3927,7 +3927,7 @@ pub mod providers { } } pub mod provider_resource_types { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, expand: Option<&str>, @@ -3978,7 +3978,7 @@ pub mod provider_resource_types { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4002,7 +4002,7 @@ pub mod provider_resource_types { } } pub mod resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4066,7 +4066,7 @@ pub mod resources { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4135,7 +4135,7 @@ pub mod resources { } } pub mod move_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4211,7 +4211,7 @@ pub mod resources { } } pub mod validate_move_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4290,7 +4290,7 @@ pub mod resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4366,7 +4366,7 @@ pub mod resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4454,7 +4454,7 @@ pub mod resources { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenericResource), @@ -4539,7 +4539,7 @@ pub mod resources { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenericResource), @@ -4617,7 +4617,7 @@ pub mod resources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4698,7 +4698,7 @@ pub mod resources { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -4765,7 +4765,7 @@ pub mod resources { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4841,7 +4841,7 @@ pub mod resources { } } pub mod create_or_update_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenericResource), @@ -4915,7 +4915,7 @@ pub mod resources { } } pub mod update_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenericResource), @@ -4982,7 +4982,7 @@ pub mod resources { } } pub mod delete_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5051,7 +5051,7 @@ pub mod resources { } } pub mod check_existence_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -5077,7 +5077,7 @@ pub mod resources { } } pub mod resource_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5124,7 +5124,7 @@ pub mod resource_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5203,7 +5203,7 @@ pub mod resource_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ResourceGroup), @@ -5278,7 +5278,7 @@ pub mod resource_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5342,7 +5342,7 @@ pub mod resource_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5414,7 +5414,7 @@ pub mod resource_groups { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -5490,7 +5490,7 @@ pub mod resource_groups { } } pub mod export_template { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ResourceGroupExportResult), @@ -5565,7 +5565,7 @@ pub mod resource_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5589,7 +5589,7 @@ pub mod resource_groups { } } pub mod tags { - use crate::models::*; + use super::{models, models::*}; pub async fn create_or_update_value( operation_config: &crate::OperationConfig, tag_name: &str, @@ -5649,7 +5649,7 @@ pub mod tags { } } pub mod create_or_update_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TagValue), @@ -5723,7 +5723,7 @@ pub mod tags { } } pub mod delete_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5805,7 +5805,7 @@ pub mod tags { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TagDetails), @@ -5874,7 +5874,7 @@ pub mod tags { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5941,7 +5941,7 @@ pub mod tags { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6010,7 +6010,7 @@ pub mod tags { } } pub mod get_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6083,7 +6083,7 @@ pub mod tags { } } pub mod create_or_update_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6154,7 +6154,7 @@ pub mod tags { } } pub mod update_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6218,7 +6218,7 @@ pub mod tags { } } pub mod delete_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6242,7 +6242,7 @@ pub mod tags { } } pub mod deployment_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn get_at_scope( operation_config: &crate::OperationConfig, scope: &str, @@ -6294,7 +6294,7 @@ pub mod deployment_operations { } } pub mod get_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6369,7 +6369,7 @@ pub mod deployment_operations { } } pub mod list_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6440,7 +6440,7 @@ pub mod deployment_operations { } } pub mod get_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6513,7 +6513,7 @@ pub mod deployment_operations { } } pub mod list_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6588,7 +6588,7 @@ pub mod deployment_operations { } } pub mod get_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6665,7 +6665,7 @@ pub mod deployment_operations { } } pub mod list_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6740,7 +6740,7 @@ pub mod deployment_operations { } } pub mod get_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6817,7 +6817,7 @@ pub mod deployment_operations { } } pub mod list_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6889,7 +6889,7 @@ pub mod deployment_operations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6963,7 +6963,7 @@ pub mod deployment_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/resources/src/package_resources_2020_10/operations.rs b/services/mgmt/resources/src/package_resources_2020_10/operations.rs index d5970a0f39..b198ae32ec 100644 --- a/services/mgmt/resources/src/package_resources_2020_10/operations.rs +++ b/services/mgmt/resources/src/package_resources_2020_10/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Resources/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod deployments { - use crate::models::*; + use super::{models, models::*}; pub async fn get_at_scope( operation_config: &crate::OperationConfig, scope: &str, @@ -116,7 +116,7 @@ pub mod deployments { } } pub mod get_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -197,7 +197,7 @@ pub mod deployments { } } pub mod create_or_update_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -269,7 +269,7 @@ pub mod deployments { } } pub mod delete_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -343,7 +343,7 @@ pub mod deployments { } } pub mod check_existence_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -412,7 +412,7 @@ pub mod deployments { } } pub mod cancel_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -492,7 +492,7 @@ pub mod deployments { } } pub mod validate_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentValidateResult), @@ -573,7 +573,7 @@ pub mod deployments { } } pub mod export_template_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -650,7 +650,7 @@ pub mod deployments { } } pub mod list_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -719,7 +719,7 @@ pub mod deployments { } } pub mod get_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -798,7 +798,7 @@ pub mod deployments { } } pub mod create_or_update_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -870,7 +870,7 @@ pub mod deployments { } } pub mod delete_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -942,7 +942,7 @@ pub mod deployments { } } pub mod check_existence_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1011,7 +1011,7 @@ pub mod deployments { } } pub mod cancel_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1091,7 +1091,7 @@ pub mod deployments { } } pub mod validate_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentValidateResult), @@ -1172,7 +1172,7 @@ pub mod deployments { } } pub mod what_if_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WhatIfOperationResult), @@ -1249,7 +1249,7 @@ pub mod deployments { } } pub mod export_template_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1321,7 +1321,7 @@ pub mod deployments { } } pub mod list_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1394,7 +1394,7 @@ pub mod deployments { } } pub mod get_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1475,7 +1475,7 @@ pub mod deployments { } } pub mod create_or_update_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -1549,7 +1549,7 @@ pub mod deployments { } } pub mod delete_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1623,7 +1623,7 @@ pub mod deployments { } } pub mod check_existence_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1694,7 +1694,7 @@ pub mod deployments { } } pub mod cancel_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1776,7 +1776,7 @@ pub mod deployments { } } pub mod validate_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentValidateResult), @@ -1859,7 +1859,7 @@ pub mod deployments { } } pub mod what_if_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WhatIfOperationResult), @@ -1938,7 +1938,7 @@ pub mod deployments { } } pub mod export_template_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2017,7 +2017,7 @@ pub mod deployments { } } pub mod list_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2090,7 +2090,7 @@ pub mod deployments { } } pub mod get_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2171,7 +2171,7 @@ pub mod deployments { } } pub mod create_or_update_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -2245,7 +2245,7 @@ pub mod deployments { } } pub mod delete_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2319,7 +2319,7 @@ pub mod deployments { } } pub mod check_existence_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2390,7 +2390,7 @@ pub mod deployments { } } pub mod cancel_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2472,7 +2472,7 @@ pub mod deployments { } } pub mod validate_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentValidateResult), @@ -2555,7 +2555,7 @@ pub mod deployments { } } pub mod what_if_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WhatIfOperationResult), @@ -2634,7 +2634,7 @@ pub mod deployments { } } pub mod export_template_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2713,7 +2713,7 @@ pub mod deployments { } } pub mod list_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2783,7 +2783,7 @@ pub mod deployments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2864,7 +2864,7 @@ pub mod deployments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -2935,7 +2935,7 @@ pub mod deployments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3009,7 +3009,7 @@ pub mod deployments { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -3077,7 +3077,7 @@ pub mod deployments { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3159,7 +3159,7 @@ pub mod deployments { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentValidateResult), @@ -3242,7 +3242,7 @@ pub mod deployments { } } pub mod what_if { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WhatIfOperationResult), @@ -3321,7 +3321,7 @@ pub mod deployments { } } pub mod export_template { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3402,7 +3402,7 @@ pub mod deployments { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3473,7 +3473,7 @@ pub mod deployments { } } pub mod calculate_template_hash { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3497,7 +3497,7 @@ pub mod deployments { } } pub mod providers { - use crate::models::*; + use super::{models, models::*}; pub async fn unregister( operation_config: &crate::OperationConfig, resource_provider_namespace: &str, @@ -3548,7 +3548,7 @@ pub mod providers { } } pub mod unregister { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3617,7 +3617,7 @@ pub mod providers { } } pub mod register_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3689,7 +3689,7 @@ pub mod providers { } } pub mod register { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3759,7 +3759,7 @@ pub mod providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3831,7 +3831,7 @@ pub mod providers { } } pub mod list_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3903,7 +3903,7 @@ pub mod providers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3972,7 +3972,7 @@ pub mod providers { } } pub mod get_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3996,7 +3996,7 @@ pub mod providers { } } pub mod provider_resource_types { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, expand: Option<&str>, @@ -4047,7 +4047,7 @@ pub mod provider_resource_types { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4071,7 +4071,7 @@ pub mod provider_resource_types { } } pub mod resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4135,7 +4135,7 @@ pub mod resources { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4204,7 +4204,7 @@ pub mod resources { } } pub mod move_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4280,7 +4280,7 @@ pub mod resources { } } pub mod validate_move_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4359,7 +4359,7 @@ pub mod resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4435,7 +4435,7 @@ pub mod resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4523,7 +4523,7 @@ pub mod resources { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenericResource), @@ -4608,7 +4608,7 @@ pub mod resources { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenericResource), @@ -4686,7 +4686,7 @@ pub mod resources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4767,7 +4767,7 @@ pub mod resources { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -4834,7 +4834,7 @@ pub mod resources { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4910,7 +4910,7 @@ pub mod resources { } } pub mod create_or_update_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenericResource), @@ -4984,7 +4984,7 @@ pub mod resources { } } pub mod update_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenericResource), @@ -5051,7 +5051,7 @@ pub mod resources { } } pub mod delete_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5120,7 +5120,7 @@ pub mod resources { } } pub mod check_existence_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -5146,7 +5146,7 @@ pub mod resources { } } pub mod resource_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5193,7 +5193,7 @@ pub mod resource_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5272,7 +5272,7 @@ pub mod resource_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ResourceGroup), @@ -5347,7 +5347,7 @@ pub mod resource_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5411,7 +5411,7 @@ pub mod resource_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5483,7 +5483,7 @@ pub mod resource_groups { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -5559,7 +5559,7 @@ pub mod resource_groups { } } pub mod export_template { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ResourceGroupExportResult), @@ -5634,7 +5634,7 @@ pub mod resource_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5658,7 +5658,7 @@ pub mod resource_groups { } } pub mod tags { - use crate::models::*; + use super::{models, models::*}; pub async fn create_or_update_value( operation_config: &crate::OperationConfig, tag_name: &str, @@ -5718,7 +5718,7 @@ pub mod tags { } } pub mod create_or_update_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TagValue), @@ -5792,7 +5792,7 @@ pub mod tags { } } pub mod delete_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5874,7 +5874,7 @@ pub mod tags { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TagDetails), @@ -5943,7 +5943,7 @@ pub mod tags { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6010,7 +6010,7 @@ pub mod tags { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6079,7 +6079,7 @@ pub mod tags { } } pub mod get_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6152,7 +6152,7 @@ pub mod tags { } } pub mod create_or_update_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6223,7 +6223,7 @@ pub mod tags { } } pub mod update_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6287,7 +6287,7 @@ pub mod tags { } } pub mod delete_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6311,7 +6311,7 @@ pub mod tags { } } pub mod deployment_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn get_at_scope( operation_config: &crate::OperationConfig, scope: &str, @@ -6363,7 +6363,7 @@ pub mod deployment_operations { } } pub mod get_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6438,7 +6438,7 @@ pub mod deployment_operations { } } pub mod list_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6509,7 +6509,7 @@ pub mod deployment_operations { } } pub mod get_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6582,7 +6582,7 @@ pub mod deployment_operations { } } pub mod list_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6657,7 +6657,7 @@ pub mod deployment_operations { } } pub mod get_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6734,7 +6734,7 @@ pub mod deployment_operations { } } pub mod list_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6809,7 +6809,7 @@ pub mod deployment_operations { } } pub mod get_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6886,7 +6886,7 @@ pub mod deployment_operations { } } pub mod list_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6958,7 +6958,7 @@ pub mod deployment_operations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7032,7 +7032,7 @@ pub mod deployment_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/resources/src/package_resources_2021_01/operations.rs b/services/mgmt/resources/src/package_resources_2021_01/operations.rs index 0a4c69eb9c..4eeaea6cd9 100644 --- a/services/mgmt/resources/src/package_resources_2021_01/operations.rs +++ b/services/mgmt/resources/src/package_resources_2021_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Resources/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod deployments { - use crate::models::*; + use super::{models, models::*}; pub async fn get_at_scope( operation_config: &crate::OperationConfig, scope: &str, @@ -116,7 +116,7 @@ pub mod deployments { } } pub mod get_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -197,7 +197,7 @@ pub mod deployments { } } pub mod create_or_update_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -269,7 +269,7 @@ pub mod deployments { } } pub mod delete_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -343,7 +343,7 @@ pub mod deployments { } } pub mod check_existence_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -412,7 +412,7 @@ pub mod deployments { } } pub mod cancel_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -492,7 +492,7 @@ pub mod deployments { } } pub mod validate_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentValidateResult), @@ -573,7 +573,7 @@ pub mod deployments { } } pub mod export_template_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -650,7 +650,7 @@ pub mod deployments { } } pub mod list_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -719,7 +719,7 @@ pub mod deployments { } } pub mod get_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -798,7 +798,7 @@ pub mod deployments { } } pub mod create_or_update_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -870,7 +870,7 @@ pub mod deployments { } } pub mod delete_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -942,7 +942,7 @@ pub mod deployments { } } pub mod check_existence_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1011,7 +1011,7 @@ pub mod deployments { } } pub mod cancel_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1091,7 +1091,7 @@ pub mod deployments { } } pub mod validate_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentValidateResult), @@ -1172,7 +1172,7 @@ pub mod deployments { } } pub mod what_if_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WhatIfOperationResult), @@ -1249,7 +1249,7 @@ pub mod deployments { } } pub mod export_template_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1321,7 +1321,7 @@ pub mod deployments { } } pub mod list_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1394,7 +1394,7 @@ pub mod deployments { } } pub mod get_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1475,7 +1475,7 @@ pub mod deployments { } } pub mod create_or_update_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -1549,7 +1549,7 @@ pub mod deployments { } } pub mod delete_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1623,7 +1623,7 @@ pub mod deployments { } } pub mod check_existence_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1694,7 +1694,7 @@ pub mod deployments { } } pub mod cancel_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1776,7 +1776,7 @@ pub mod deployments { } } pub mod validate_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentValidateResult), @@ -1859,7 +1859,7 @@ pub mod deployments { } } pub mod what_if_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WhatIfOperationResult), @@ -1938,7 +1938,7 @@ pub mod deployments { } } pub mod export_template_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2017,7 +2017,7 @@ pub mod deployments { } } pub mod list_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2090,7 +2090,7 @@ pub mod deployments { } } pub mod get_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2171,7 +2171,7 @@ pub mod deployments { } } pub mod create_or_update_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -2245,7 +2245,7 @@ pub mod deployments { } } pub mod delete_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2319,7 +2319,7 @@ pub mod deployments { } } pub mod check_existence_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2390,7 +2390,7 @@ pub mod deployments { } } pub mod cancel_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2472,7 +2472,7 @@ pub mod deployments { } } pub mod validate_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentValidateResult), @@ -2555,7 +2555,7 @@ pub mod deployments { } } pub mod what_if_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WhatIfOperationResult), @@ -2634,7 +2634,7 @@ pub mod deployments { } } pub mod export_template_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2713,7 +2713,7 @@ pub mod deployments { } } pub mod list_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2783,7 +2783,7 @@ pub mod deployments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2864,7 +2864,7 @@ pub mod deployments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -2935,7 +2935,7 @@ pub mod deployments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3009,7 +3009,7 @@ pub mod deployments { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -3077,7 +3077,7 @@ pub mod deployments { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3159,7 +3159,7 @@ pub mod deployments { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentValidateResult), @@ -3242,7 +3242,7 @@ pub mod deployments { } } pub mod what_if { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WhatIfOperationResult), @@ -3321,7 +3321,7 @@ pub mod deployments { } } pub mod export_template { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3402,7 +3402,7 @@ pub mod deployments { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3473,7 +3473,7 @@ pub mod deployments { } } pub mod calculate_template_hash { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3497,7 +3497,7 @@ pub mod deployments { } } pub mod providers { - use crate::models::*; + use super::{models, models::*}; pub async fn unregister( operation_config: &crate::OperationConfig, resource_provider_namespace: &str, @@ -3548,7 +3548,7 @@ pub mod providers { } } pub mod unregister { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3617,7 +3617,7 @@ pub mod providers { } } pub mod register_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3689,7 +3689,7 @@ pub mod providers { } } pub mod register { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3759,7 +3759,7 @@ pub mod providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3831,7 +3831,7 @@ pub mod providers { } } pub mod list_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3903,7 +3903,7 @@ pub mod providers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3972,7 +3972,7 @@ pub mod providers { } } pub mod get_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3996,7 +3996,7 @@ pub mod providers { } } pub mod provider_resource_types { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, expand: Option<&str>, @@ -4047,7 +4047,7 @@ pub mod provider_resource_types { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4071,7 +4071,7 @@ pub mod provider_resource_types { } } pub mod resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4135,7 +4135,7 @@ pub mod resources { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4204,7 +4204,7 @@ pub mod resources { } } pub mod move_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4280,7 +4280,7 @@ pub mod resources { } } pub mod validate_move_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4359,7 +4359,7 @@ pub mod resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4435,7 +4435,7 @@ pub mod resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4523,7 +4523,7 @@ pub mod resources { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenericResource), @@ -4608,7 +4608,7 @@ pub mod resources { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenericResource), @@ -4686,7 +4686,7 @@ pub mod resources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4767,7 +4767,7 @@ pub mod resources { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -4834,7 +4834,7 @@ pub mod resources { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4910,7 +4910,7 @@ pub mod resources { } } pub mod create_or_update_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenericResource), @@ -4984,7 +4984,7 @@ pub mod resources { } } pub mod update_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenericResource), @@ -5051,7 +5051,7 @@ pub mod resources { } } pub mod delete_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5120,7 +5120,7 @@ pub mod resources { } } pub mod check_existence_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -5146,7 +5146,7 @@ pub mod resources { } } pub mod resource_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5193,7 +5193,7 @@ pub mod resource_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5272,7 +5272,7 @@ pub mod resource_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ResourceGroup), @@ -5347,7 +5347,7 @@ pub mod resource_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5415,7 +5415,7 @@ pub mod resource_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5487,7 +5487,7 @@ pub mod resource_groups { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -5563,7 +5563,7 @@ pub mod resource_groups { } } pub mod export_template { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ResourceGroupExportResult), @@ -5638,7 +5638,7 @@ pub mod resource_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5662,7 +5662,7 @@ pub mod resource_groups { } } pub mod tags { - use crate::models::*; + use super::{models, models::*}; pub async fn create_or_update_value( operation_config: &crate::OperationConfig, tag_name: &str, @@ -5722,7 +5722,7 @@ pub mod tags { } } pub mod create_or_update_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TagValue), @@ -5796,7 +5796,7 @@ pub mod tags { } } pub mod delete_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5878,7 +5878,7 @@ pub mod tags { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TagDetails), @@ -5947,7 +5947,7 @@ pub mod tags { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6014,7 +6014,7 @@ pub mod tags { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6083,7 +6083,7 @@ pub mod tags { } } pub mod get_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6156,7 +6156,7 @@ pub mod tags { } } pub mod create_or_update_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6227,7 +6227,7 @@ pub mod tags { } } pub mod update_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6291,7 +6291,7 @@ pub mod tags { } } pub mod delete_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6315,7 +6315,7 @@ pub mod tags { } } pub mod deployment_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn get_at_scope( operation_config: &crate::OperationConfig, scope: &str, @@ -6367,7 +6367,7 @@ pub mod deployment_operations { } } pub mod get_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6442,7 +6442,7 @@ pub mod deployment_operations { } } pub mod list_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6513,7 +6513,7 @@ pub mod deployment_operations { } } pub mod get_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6586,7 +6586,7 @@ pub mod deployment_operations { } } pub mod list_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6661,7 +6661,7 @@ pub mod deployment_operations { } } pub mod get_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6738,7 +6738,7 @@ pub mod deployment_operations { } } pub mod list_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6813,7 +6813,7 @@ pub mod deployment_operations { } } pub mod get_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6890,7 +6890,7 @@ pub mod deployment_operations { } } pub mod list_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6962,7 +6962,7 @@ pub mod deployment_operations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7036,7 +7036,7 @@ pub mod deployment_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/resources/src/package_resources_2021_04/operations.rs b/services/mgmt/resources/src/package_resources_2021_04/operations.rs index 971f330f51..1c3f4deb3e 100644 --- a/services/mgmt/resources/src/package_resources_2021_04/operations.rs +++ b/services/mgmt/resources/src/package_resources_2021_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Resources/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod deployments { - use crate::models::*; + use super::{models, models::*}; pub async fn get_at_scope( operation_config: &crate::OperationConfig, scope: &str, @@ -116,7 +116,7 @@ pub mod deployments { } } pub mod get_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -197,7 +197,7 @@ pub mod deployments { } } pub mod create_or_update_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -269,7 +269,7 @@ pub mod deployments { } } pub mod delete_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -343,7 +343,7 @@ pub mod deployments { } } pub mod check_existence_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -412,7 +412,7 @@ pub mod deployments { } } pub mod cancel_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -492,7 +492,7 @@ pub mod deployments { } } pub mod validate_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentValidateResult), @@ -573,7 +573,7 @@ pub mod deployments { } } pub mod export_template_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -650,7 +650,7 @@ pub mod deployments { } } pub mod list_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -719,7 +719,7 @@ pub mod deployments { } } pub mod get_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -798,7 +798,7 @@ pub mod deployments { } } pub mod create_or_update_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -870,7 +870,7 @@ pub mod deployments { } } pub mod delete_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -942,7 +942,7 @@ pub mod deployments { } } pub mod check_existence_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1011,7 +1011,7 @@ pub mod deployments { } } pub mod cancel_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1091,7 +1091,7 @@ pub mod deployments { } } pub mod validate_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentValidateResult), @@ -1172,7 +1172,7 @@ pub mod deployments { } } pub mod what_if_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WhatIfOperationResult), @@ -1249,7 +1249,7 @@ pub mod deployments { } } pub mod export_template_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1321,7 +1321,7 @@ pub mod deployments { } } pub mod list_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1394,7 +1394,7 @@ pub mod deployments { } } pub mod get_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1475,7 +1475,7 @@ pub mod deployments { } } pub mod create_or_update_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -1549,7 +1549,7 @@ pub mod deployments { } } pub mod delete_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1623,7 +1623,7 @@ pub mod deployments { } } pub mod check_existence_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1694,7 +1694,7 @@ pub mod deployments { } } pub mod cancel_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1776,7 +1776,7 @@ pub mod deployments { } } pub mod validate_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentValidateResult), @@ -1859,7 +1859,7 @@ pub mod deployments { } } pub mod what_if_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WhatIfOperationResult), @@ -1938,7 +1938,7 @@ pub mod deployments { } } pub mod export_template_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2017,7 +2017,7 @@ pub mod deployments { } } pub mod list_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2090,7 +2090,7 @@ pub mod deployments { } } pub mod get_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2171,7 +2171,7 @@ pub mod deployments { } } pub mod create_or_update_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -2245,7 +2245,7 @@ pub mod deployments { } } pub mod delete_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2319,7 +2319,7 @@ pub mod deployments { } } pub mod check_existence_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2390,7 +2390,7 @@ pub mod deployments { } } pub mod cancel_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2472,7 +2472,7 @@ pub mod deployments { } } pub mod validate_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentValidateResult), @@ -2555,7 +2555,7 @@ pub mod deployments { } } pub mod what_if_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WhatIfOperationResult), @@ -2634,7 +2634,7 @@ pub mod deployments { } } pub mod export_template_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2713,7 +2713,7 @@ pub mod deployments { } } pub mod list_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2783,7 +2783,7 @@ pub mod deployments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2864,7 +2864,7 @@ pub mod deployments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentExtended), @@ -2935,7 +2935,7 @@ pub mod deployments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3009,7 +3009,7 @@ pub mod deployments { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -3077,7 +3077,7 @@ pub mod deployments { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3159,7 +3159,7 @@ pub mod deployments { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeploymentValidateResult), @@ -3242,7 +3242,7 @@ pub mod deployments { } } pub mod what_if { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WhatIfOperationResult), @@ -3321,7 +3321,7 @@ pub mod deployments { } } pub mod export_template { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3402,7 +3402,7 @@ pub mod deployments { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3473,7 +3473,7 @@ pub mod deployments { } } pub mod calculate_template_hash { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3497,7 +3497,7 @@ pub mod deployments { } } pub mod providers { - use crate::models::*; + use super::{models, models::*}; pub async fn unregister( operation_config: &crate::OperationConfig, resource_provider_namespace: &str, @@ -3548,7 +3548,7 @@ pub mod providers { } } pub mod unregister { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3617,7 +3617,7 @@ pub mod providers { } } pub mod register_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3688,7 +3688,7 @@ pub mod providers { } } pub mod provider_permissions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3765,7 +3765,7 @@ pub mod providers { } } pub mod register { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3831,7 +3831,7 @@ pub mod providers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3899,7 +3899,7 @@ pub mod providers { } } pub mod list_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3971,7 +3971,7 @@ pub mod providers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4040,7 +4040,7 @@ pub mod providers { } } pub mod get_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4064,7 +4064,7 @@ pub mod providers { } } pub mod provider_resource_types { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, expand: Option<&str>, @@ -4115,7 +4115,7 @@ pub mod provider_resource_types { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4139,7 +4139,7 @@ pub mod provider_resource_types { } } pub mod resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4203,7 +4203,7 @@ pub mod resources { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4272,7 +4272,7 @@ pub mod resources { } } pub mod move_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4348,7 +4348,7 @@ pub mod resources { } } pub mod validate_move_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4427,7 +4427,7 @@ pub mod resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4503,7 +4503,7 @@ pub mod resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4591,7 +4591,7 @@ pub mod resources { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenericResource), @@ -4676,7 +4676,7 @@ pub mod resources { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenericResource), @@ -4754,7 +4754,7 @@ pub mod resources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4835,7 +4835,7 @@ pub mod resources { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -4902,7 +4902,7 @@ pub mod resources { } } pub mod get_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4978,7 +4978,7 @@ pub mod resources { } } pub mod create_or_update_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenericResource), @@ -5052,7 +5052,7 @@ pub mod resources { } } pub mod update_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GenericResource), @@ -5119,7 +5119,7 @@ pub mod resources { } } pub mod delete_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5188,7 +5188,7 @@ pub mod resources { } } pub mod check_existence_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -5214,7 +5214,7 @@ pub mod resources { } } pub mod resource_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5261,7 +5261,7 @@ pub mod resource_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5340,7 +5340,7 @@ pub mod resource_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ResourceGroup), @@ -5415,7 +5415,7 @@ pub mod resource_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5483,7 +5483,7 @@ pub mod resource_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5555,7 +5555,7 @@ pub mod resource_groups { } } pub mod check_existence { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -5631,7 +5631,7 @@ pub mod resource_groups { } } pub mod export_template { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ResourceGroupExportResult), @@ -5706,7 +5706,7 @@ pub mod resource_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5730,7 +5730,7 @@ pub mod resource_groups { } } pub mod tags { - use crate::models::*; + use super::{models, models::*}; pub async fn create_or_update_value( operation_config: &crate::OperationConfig, tag_name: &str, @@ -5790,7 +5790,7 @@ pub mod tags { } } pub mod create_or_update_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TagValue), @@ -5864,7 +5864,7 @@ pub mod tags { } } pub mod delete_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5946,7 +5946,7 @@ pub mod tags { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TagDetails), @@ -6015,7 +6015,7 @@ pub mod tags { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6082,7 +6082,7 @@ pub mod tags { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6151,7 +6151,7 @@ pub mod tags { } } pub mod get_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6224,7 +6224,7 @@ pub mod tags { } } pub mod create_or_update_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6295,7 +6295,7 @@ pub mod tags { } } pub mod update_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6359,7 +6359,7 @@ pub mod tags { } } pub mod delete_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6383,7 +6383,7 @@ pub mod tags { } } pub mod deployment_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn get_at_scope( operation_config: &crate::OperationConfig, scope: &str, @@ -6435,7 +6435,7 @@ pub mod deployment_operations { } } pub mod get_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6510,7 +6510,7 @@ pub mod deployment_operations { } } pub mod list_at_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6581,7 +6581,7 @@ pub mod deployment_operations { } } pub mod get_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6654,7 +6654,7 @@ pub mod deployment_operations { } } pub mod list_at_tenant_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6729,7 +6729,7 @@ pub mod deployment_operations { } } pub mod get_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6806,7 +6806,7 @@ pub mod deployment_operations { } } pub mod list_at_management_group_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6881,7 +6881,7 @@ pub mod deployment_operations { } } pub mod get_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6958,7 +6958,7 @@ pub mod deployment_operations { } } pub mod list_at_subscription_scope { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7030,7 +7030,7 @@ pub mod deployment_operations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7104,7 +7104,7 @@ pub mod deployment_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/resources/src/package_subscriptions_2015_11/operations.rs b/services/mgmt/resources/src/package_subscriptions_2015_11/operations.rs index 7c6453358b..8ff33b7fbb 100644 --- a/services/mgmt/resources/src/package_subscriptions_2015_11/operations.rs +++ b/services/mgmt/resources/src/package_subscriptions_2015_11/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_locations( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -46,7 +46,7 @@ pub mod subscriptions { } } pub mod list_locations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -100,7 +100,7 @@ pub mod subscriptions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -154,7 +154,7 @@ pub mod subscriptions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -175,7 +175,7 @@ pub mod subscriptions { } } pub mod tenants { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/tenants", operation_config.base_path(),); @@ -211,7 +211,7 @@ pub mod tenants { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -279,7 +279,7 @@ pub async fn check_resource_name( } } pub mod check_resource_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/resources/src/package_subscriptions_2016_06/operations.rs b/services/mgmt/resources/src/package_subscriptions_2016_06/operations.rs index 4ca2ff58ae..264313b2ce 100644 --- a/services/mgmt/resources/src/package_subscriptions_2016_06/operations.rs +++ b/services/mgmt/resources/src/package_subscriptions_2016_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Resources/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_locations( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -103,7 +103,7 @@ pub mod subscriptions { } } pub mod list_locations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -157,7 +157,7 @@ pub mod subscriptions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -211,7 +211,7 @@ pub mod subscriptions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -232,7 +232,7 @@ pub mod subscriptions { } } pub mod tenants { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/tenants", operation_config.base_path(),); @@ -268,7 +268,7 @@ pub mod tenants { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -336,7 +336,7 @@ pub async fn check_resource_name( } } pub mod check_resource_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/resources/src/package_subscriptions_2018_06/operations.rs b/services/mgmt/resources/src/package_subscriptions_2018_06/operations.rs index 4ca2ff58ae..264313b2ce 100644 --- a/services/mgmt/resources/src/package_subscriptions_2018_06/operations.rs +++ b/services/mgmt/resources/src/package_subscriptions_2018_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Resources/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_locations( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -103,7 +103,7 @@ pub mod subscriptions { } } pub mod list_locations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -157,7 +157,7 @@ pub mod subscriptions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -211,7 +211,7 @@ pub mod subscriptions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -232,7 +232,7 @@ pub mod subscriptions { } } pub mod tenants { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/tenants", operation_config.base_path(),); @@ -268,7 +268,7 @@ pub mod tenants { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -336,7 +336,7 @@ pub async fn check_resource_name( } } pub mod check_resource_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/resources/src/package_subscriptions_2019_06/operations.rs b/services/mgmt/resources/src/package_subscriptions_2019_06/operations.rs index 4ca2ff58ae..264313b2ce 100644 --- a/services/mgmt/resources/src/package_subscriptions_2019_06/operations.rs +++ b/services/mgmt/resources/src/package_subscriptions_2019_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Resources/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_locations( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -103,7 +103,7 @@ pub mod subscriptions { } } pub mod list_locations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -157,7 +157,7 @@ pub mod subscriptions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -211,7 +211,7 @@ pub mod subscriptions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -232,7 +232,7 @@ pub mod subscriptions { } } pub mod tenants { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/tenants", operation_config.base_path(),); @@ -268,7 +268,7 @@ pub mod tenants { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -336,7 +336,7 @@ pub async fn check_resource_name( } } pub mod check_resource_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/resources/src/package_subscriptions_2019_11/operations.rs b/services/mgmt/resources/src/package_subscriptions_2019_11/operations.rs index 4ca2ff58ae..264313b2ce 100644 --- a/services/mgmt/resources/src/package_subscriptions_2019_11/operations.rs +++ b/services/mgmt/resources/src/package_subscriptions_2019_11/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Resources/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_locations( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -103,7 +103,7 @@ pub mod subscriptions { } } pub mod list_locations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -157,7 +157,7 @@ pub mod subscriptions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -211,7 +211,7 @@ pub mod subscriptions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -232,7 +232,7 @@ pub mod subscriptions { } } pub mod tenants { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/tenants", operation_config.base_path(),); @@ -268,7 +268,7 @@ pub mod tenants { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -336,7 +336,7 @@ pub async fn check_resource_name( } } pub mod check_resource_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/resources/src/package_subscriptions_2020_01/operations.rs b/services/mgmt/resources/src/package_subscriptions_2020_01/operations.rs index 4ca2ff58ae..264313b2ce 100644 --- a/services/mgmt/resources/src/package_subscriptions_2020_01/operations.rs +++ b/services/mgmt/resources/src/package_subscriptions_2020_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Resources/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_locations( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -103,7 +103,7 @@ pub mod subscriptions { } } pub mod list_locations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -157,7 +157,7 @@ pub mod subscriptions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -211,7 +211,7 @@ pub mod subscriptions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -232,7 +232,7 @@ pub mod subscriptions { } } pub mod tenants { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/tenants", operation_config.base_path(),); @@ -268,7 +268,7 @@ pub mod tenants { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -336,7 +336,7 @@ pub async fn check_resource_name( } } pub mod check_resource_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/resources/src/package_subscriptions_2021_01/operations.rs b/services/mgmt/resources/src/package_subscriptions_2021_01/operations.rs index e844337eb1..1ebbf66b63 100644 --- a/services/mgmt/resources/src/package_subscriptions_2021_01/operations.rs +++ b/services/mgmt/resources/src/package_subscriptions_2021_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_locations( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod subscriptions { } } pub mod list_locations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -112,7 +112,7 @@ pub mod subscriptions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -171,7 +171,7 @@ pub mod subscriptions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -195,7 +195,7 @@ pub mod subscriptions { } } pub mod tenants { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/tenants", operation_config.base_path(),); @@ -233,7 +233,7 @@ pub mod tenants { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -304,7 +304,7 @@ pub async fn check_resource_name( } } pub mod check_resource_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/resources/src/package_templatespecs_2019_06_preview/operations.rs b/services/mgmt/resources/src/package_templatespecs_2019_06_preview/operations.rs index d8ab9cbbab..1aeea06a4e 100644 --- a/services/mgmt/resources/src/package_templatespecs_2019_06_preview/operations.rs +++ b/services/mgmt/resources/src/package_templatespecs_2019_06_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod template_specs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -57,7 +57,7 @@ pub mod template_specs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -138,7 +138,7 @@ pub mod template_specs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TemplateSpec), @@ -219,7 +219,7 @@ pub mod template_specs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -285,7 +285,7 @@ pub mod template_specs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -363,7 +363,7 @@ pub mod template_specs { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -440,7 +440,7 @@ pub mod template_specs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -464,7 +464,7 @@ pub mod template_specs { } } pub mod template_spec_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -515,7 +515,7 @@ pub mod template_spec_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -598,7 +598,7 @@ pub mod template_spec_versions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TemplateSpecVersion), @@ -681,7 +681,7 @@ pub mod template_spec_versions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -749,7 +749,7 @@ pub mod template_spec_versions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -824,7 +824,7 @@ pub mod template_spec_versions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/resources/src/package_templatespecs_2021_03_preview/operations.rs b/services/mgmt/resources/src/package_templatespecs_2021_03_preview/operations.rs index d8ab9cbbab..1aeea06a4e 100644 --- a/services/mgmt/resources/src/package_templatespecs_2021_03_preview/operations.rs +++ b/services/mgmt/resources/src/package_templatespecs_2021_03_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod template_specs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -57,7 +57,7 @@ pub mod template_specs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -138,7 +138,7 @@ pub mod template_specs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TemplateSpec), @@ -219,7 +219,7 @@ pub mod template_specs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -285,7 +285,7 @@ pub mod template_specs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -363,7 +363,7 @@ pub mod template_specs { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -440,7 +440,7 @@ pub mod template_specs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -464,7 +464,7 @@ pub mod template_specs { } } pub mod template_spec_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -515,7 +515,7 @@ pub mod template_spec_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -598,7 +598,7 @@ pub mod template_spec_versions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TemplateSpecVersion), @@ -681,7 +681,7 @@ pub mod template_spec_versions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -749,7 +749,7 @@ pub mod template_spec_versions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -824,7 +824,7 @@ pub mod template_spec_versions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/resources/src/package_templatespecs_2021_05/operations.rs b/services/mgmt/resources/src/package_templatespecs_2021_05/operations.rs index d8ab9cbbab..1aeea06a4e 100644 --- a/services/mgmt/resources/src/package_templatespecs_2021_05/operations.rs +++ b/services/mgmt/resources/src/package_templatespecs_2021_05/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod template_specs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -57,7 +57,7 @@ pub mod template_specs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -138,7 +138,7 @@ pub mod template_specs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TemplateSpec), @@ -219,7 +219,7 @@ pub mod template_specs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -285,7 +285,7 @@ pub mod template_specs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -363,7 +363,7 @@ pub mod template_specs { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -440,7 +440,7 @@ pub mod template_specs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -464,7 +464,7 @@ pub mod template_specs { } } pub mod template_spec_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -515,7 +515,7 @@ pub mod template_spec_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -598,7 +598,7 @@ pub mod template_spec_versions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TemplateSpecVersion), @@ -681,7 +681,7 @@ pub mod template_spec_versions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -749,7 +749,7 @@ pub mod template_spec_versions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -824,7 +824,7 @@ pub mod template_spec_versions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/saas/Cargo.toml b/services/mgmt/saas/Cargo.toml index 9ea6a07940..fe9cfa7e39 100644 --- a/services/mgmt/saas/Cargo.toml +++ b/services/mgmt/saas/Cargo.toml @@ -20,4 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2018-03-01-beta"] +no-default-version = [] "package-2018-03-01-beta" = [] diff --git a/services/mgmt/saas/src/lib.rs b/services/mgmt/saas/src/lib.rs index d6f7f0d338..eb271f5d37 100644 --- a/services/mgmt/saas/src/lib.rs +++ b/services/mgmt/saas/src/lib.rs @@ -1,9 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2018-03-01-beta")] -mod package_2018_03_01_beta; +pub mod package_2018_03_01_beta; use azure_core::setters; -#[cfg(feature = "package-2018-03-01-beta")] +#[cfg(all(feature = "package-2018-03-01-beta", not(feature = "no-default-version")))] pub use package_2018_03_01_beta::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -27,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/saas/src/package_2018_03_01_beta/operations.rs b/services/mgmt/saas/src/package_2018_03_01_beta/operations.rs index 0dd7c15ffa..4491ddd139 100644 --- a/services/mgmt/saas/src/package_2018_03_01_beta/operations.rs +++ b/services/mgmt/saas/src/package_2018_03_01_beta/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -44,7 +44,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -68,7 +68,7 @@ pub mod operations { } } pub mod applications { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -115,7 +115,7 @@ pub mod applications { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -139,7 +139,7 @@ pub mod applications { } } pub mod saa_s { - use crate::models::*; + use super::{models, models::*}; pub async fn get_resource( operation_config: &crate::OperationConfig, resource_id: &str, @@ -187,7 +187,7 @@ pub mod saa_s { } } pub mod get_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -260,7 +260,7 @@ pub mod saa_s { } } pub mod update_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SaasResource), @@ -330,7 +330,7 @@ pub mod saa_s { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -402,7 +402,7 @@ pub mod saa_s { } } pub mod create_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SaasResource), @@ -431,7 +431,7 @@ pub mod saa_s { } } pub mod saas_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.SaaS/saasresources", operation_config.base_path(),); @@ -469,7 +469,7 @@ pub mod saas_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -542,7 +542,7 @@ pub async fn saas_resource_list_access_token( } } pub mod saas_resource_list_access_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -565,7 +565,7 @@ pub mod saas_resource_list_access_token { } } pub mod saas_subscription_level { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_azure_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -615,7 +615,7 @@ pub mod saas_subscription_level { } } pub mod list_by_azure_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -688,7 +688,7 @@ pub mod saas_subscription_level { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -758,7 +758,7 @@ pub mod saas_subscription_level { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -835,7 +835,7 @@ pub mod saas_subscription_level { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SaasResource), @@ -915,7 +915,7 @@ pub mod saas_subscription_level { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SaasResource), @@ -988,7 +988,7 @@ pub mod saas_subscription_level { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1068,7 +1068,7 @@ pub mod saas_subscription_level { } } pub mod update_to_unsubscribed { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1148,7 +1148,7 @@ pub mod saas_subscription_level { } } pub mod list_access_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1218,7 +1218,7 @@ pub mod saas_subscription_level { } } pub mod validate_move_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1287,7 +1287,7 @@ pub mod saas_subscription_level { } } pub mod move_resources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1316,7 +1316,7 @@ pub mod saas_subscription_level { } } pub mod saa_s_operation { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig, operation_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -1359,7 +1359,7 @@ pub mod saa_s_operation { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SaasResource), diff --git a/services/mgmt/scheduler/Cargo.toml b/services/mgmt/scheduler/Cargo.toml index f26fc40168..1890122ed4 100644 --- a/services/mgmt/scheduler/Cargo.toml +++ b/services/mgmt/scheduler/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2016-03"] +no-default-version = [] "package-2016-03" = [] "package-2016-01" = [] "package-2014-08-preview" = [] diff --git a/services/mgmt/scheduler/src/lib.rs b/services/mgmt/scheduler/src/lib.rs index 06321c9ea1..7d9421b3d8 100644 --- a/services/mgmt/scheduler/src/lib.rs +++ b/services/mgmt/scheduler/src/lib.rs @@ -1,17 +1,25 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2016-03")] -mod package_2016_03; -#[cfg(feature = "package-2016-03")] +pub mod package_2016_03; +#[cfg(all(feature = "package-2016-03", not(feature = "no-default-version")))] pub use package_2016_03::{models, operations, API_VERSION}; #[cfg(feature = "package-2016-01")] -mod package_2016_01; -#[cfg(feature = "package-2016-01")] +pub mod package_2016_01; +#[cfg(all(feature = "package-2016-01", not(feature = "no-default-version")))] pub use package_2016_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2014-08-preview")] -mod package_2014_08_preview; +pub mod package_2014_08_preview; use azure_core::setters; -#[cfg(feature = "package-2014-08-preview")] +#[cfg(all(feature = "package-2014-08-preview", not(feature = "no-default-version")))] pub use package_2014_08_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -35,7 +43,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/scheduler/src/package_2014_08_preview/operations.rs b/services/mgmt/scheduler/src/package_2014_08_preview/operations.rs index 27422edb93..d9d52c8b97 100644 --- a/services/mgmt/scheduler/src/package_2014_08_preview/operations.rs +++ b/services/mgmt/scheduler/src/package_2014_08_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod job_collections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -50,7 +50,7 @@ pub mod job_collections { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -118,7 +118,7 @@ pub mod job_collections { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -183,7 +183,7 @@ pub mod job_collections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -259,7 +259,7 @@ pub mod job_collections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobCollectionDefinition), @@ -331,7 +331,7 @@ pub mod job_collections { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -391,7 +391,7 @@ pub mod job_collections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -452,7 +452,7 @@ pub mod job_collections { } } pub mod enable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -516,7 +516,7 @@ pub mod job_collections { } } pub mod disable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -537,7 +537,7 @@ pub mod job_collections { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -586,7 +586,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -664,7 +664,7 @@ pub mod jobs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobDefinition), @@ -738,7 +738,7 @@ pub mod jobs { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -800,7 +800,7 @@ pub mod jobs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -863,7 +863,7 @@ pub mod jobs { } } pub mod run { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -940,7 +940,7 @@ pub mod jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1022,7 +1022,7 @@ pub mod jobs { } } pub mod list_job_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/scheduler/src/package_2016_01/operations.rs b/services/mgmt/scheduler/src/package_2016_01/operations.rs index 27422edb93..d9d52c8b97 100644 --- a/services/mgmt/scheduler/src/package_2016_01/operations.rs +++ b/services/mgmt/scheduler/src/package_2016_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod job_collections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -50,7 +50,7 @@ pub mod job_collections { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -118,7 +118,7 @@ pub mod job_collections { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -183,7 +183,7 @@ pub mod job_collections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -259,7 +259,7 @@ pub mod job_collections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobCollectionDefinition), @@ -331,7 +331,7 @@ pub mod job_collections { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -391,7 +391,7 @@ pub mod job_collections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -452,7 +452,7 @@ pub mod job_collections { } } pub mod enable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -516,7 +516,7 @@ pub mod job_collections { } } pub mod disable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -537,7 +537,7 @@ pub mod job_collections { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -586,7 +586,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -664,7 +664,7 @@ pub mod jobs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobDefinition), @@ -738,7 +738,7 @@ pub mod jobs { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -800,7 +800,7 @@ pub mod jobs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -863,7 +863,7 @@ pub mod jobs { } } pub mod run { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -940,7 +940,7 @@ pub mod jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1022,7 +1022,7 @@ pub mod jobs { } } pub mod list_job_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/scheduler/src/package_2016_03/operations.rs b/services/mgmt/scheduler/src/package_2016_03/operations.rs index ba343c17b9..015e3cc578 100644 --- a/services/mgmt/scheduler/src/package_2016_03/operations.rs +++ b/services/mgmt/scheduler/src/package_2016_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod job_collections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -50,7 +50,7 @@ pub mod job_collections { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -118,7 +118,7 @@ pub mod job_collections { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -183,7 +183,7 @@ pub mod job_collections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -259,7 +259,7 @@ pub mod job_collections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobCollectionDefinition), @@ -331,7 +331,7 @@ pub mod job_collections { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -392,7 +392,7 @@ pub mod job_collections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -459,7 +459,7 @@ pub mod job_collections { } } pub mod enable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -529,7 +529,7 @@ pub mod job_collections { } } pub mod disable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -555,7 +555,7 @@ pub mod job_collections { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -604,7 +604,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -682,7 +682,7 @@ pub mod jobs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobDefinition), @@ -756,7 +756,7 @@ pub mod jobs { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -818,7 +818,7 @@ pub mod jobs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -881,7 +881,7 @@ pub mod jobs { } } pub mod run { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -958,7 +958,7 @@ pub mod jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1040,7 +1040,7 @@ pub mod jobs { } } pub mod list_job_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/search/Cargo.toml b/services/mgmt/search/Cargo.toml index c57057b128..cc82c42da0 100644 --- a/services/mgmt/search/Cargo.toml +++ b/services/mgmt/search/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2020-08"] +no-default-version = [] "package-2020-08" = [] "package-2020-03" = [] "package-2015-08" = [] diff --git a/services/mgmt/search/src/lib.rs b/services/mgmt/search/src/lib.rs index 10ad9233c7..b9d88afe36 100644 --- a/services/mgmt/search/src/lib.rs +++ b/services/mgmt/search/src/lib.rs @@ -1,33 +1,41 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2020-08")] -mod package_2020_08; -#[cfg(feature = "package-2020-08")] +pub mod package_2020_08; +#[cfg(all(feature = "package-2020-08", not(feature = "no-default-version")))] pub use package_2020_08::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-03")] -mod package_2020_03; -#[cfg(feature = "package-2020-03")] +pub mod package_2020_03; +#[cfg(all(feature = "package-2020-03", not(feature = "no-default-version")))] pub use package_2020_03::{models, operations, API_VERSION}; #[cfg(feature = "package-2015-08")] -mod package_2015_08; -#[cfg(feature = "package-2015-08")] +pub mod package_2015_08; +#[cfg(all(feature = "package-2015-08", not(feature = "no-default-version")))] pub use package_2015_08::{models, operations, API_VERSION}; #[cfg(feature = "package-2015-02")] -mod package_2015_02; -#[cfg(feature = "package-2015-02")] +pub mod package_2015_02; +#[cfg(all(feature = "package-2015-02", not(feature = "no-default-version")))] pub use package_2015_02::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-04-preview")] -mod package_2021_04_preview; -#[cfg(feature = "package-2021-04-preview")] +pub mod package_2021_04_preview; +#[cfg(all(feature = "package-2021-04-preview", not(feature = "no-default-version")))] pub use package_2021_04_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-08-preview")] -mod package_2020_08_preview; -#[cfg(feature = "package-2020-08-preview")] +pub mod package_2020_08_preview; +#[cfg(all(feature = "package-2020-08-preview", not(feature = "no-default-version")))] pub use package_2020_08_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-10-preview")] -mod package_2019_10_preview; +pub mod package_2019_10_preview; use azure_core::setters; -#[cfg(feature = "package-2019-10-preview")] +#[cfg(all(feature = "package-2019-10-preview", not(feature = "no-default-version")))] pub use package_2019_10_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -51,7 +59,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/search/src/package_2015_02/operations.rs b/services/mgmt/search/src/package_2015_02/operations.rs index 9ece0c2899..8b97c1912c 100644 --- a/services/mgmt/search/src/package_2015_02/operations.rs +++ b/services/mgmt/search/src/package_2015_02/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod admin_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -52,7 +52,7 @@ pub mod admin_keys { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -73,7 +73,7 @@ pub mod admin_keys { } } pub mod query_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -120,7 +120,7 @@ pub mod query_keys { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -141,7 +141,7 @@ pub mod query_keys { } } pub mod services { - use crate::models::*; + use super::{models, models::*}; pub async fn create_or_update( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -199,7 +199,7 @@ pub mod services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SearchServiceResource), @@ -266,7 +266,7 @@ pub mod services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -336,7 +336,7 @@ pub mod services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/search/src/package_2015_08/operations.rs b/services/mgmt/search/src/package_2015_08/operations.rs index 10d5403cd7..191aa5d44d 100644 --- a/services/mgmt/search/src/package_2015_08/operations.rs +++ b/services/mgmt/search/src/package_2015_08/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Search/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod admin_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -115,7 +115,7 @@ pub mod admin_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -195,7 +195,7 @@ pub mod admin_keys { } } pub mod regenerate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -219,7 +219,7 @@ pub mod admin_keys { } } pub mod query_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn create( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -275,7 +275,7 @@ pub mod query_keys { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -354,7 +354,7 @@ pub mod query_keys { } } pub mod list_by_search_service_get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -434,7 +434,7 @@ pub mod query_keys { } } pub mod list_by_search_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -507,7 +507,7 @@ pub mod query_keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -538,7 +538,7 @@ pub mod query_keys { } } pub mod services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -591,7 +591,7 @@ pub mod services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -676,7 +676,7 @@ pub mod services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SearchService), @@ -757,7 +757,7 @@ pub mod services { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -828,7 +828,7 @@ pub mod services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -912,7 +912,7 @@ pub mod services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -985,7 +985,7 @@ pub mod services { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1062,7 +1062,7 @@ pub mod services { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/search/src/package_2019_10_preview/operations.rs b/services/mgmt/search/src/package_2019_10_preview/operations.rs index ce3ddee96c..18f8b42b0a 100644 --- a/services/mgmt/search/src/package_2019_10_preview/operations.rs +++ b/services/mgmt/search/src/package_2019_10_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Search/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod admin_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -115,7 +115,7 @@ pub mod admin_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -195,7 +195,7 @@ pub mod admin_keys { } } pub mod regenerate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -219,7 +219,7 @@ pub mod admin_keys { } } pub mod query_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn create( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -275,7 +275,7 @@ pub mod query_keys { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -355,7 +355,7 @@ pub mod query_keys { } } pub mod list_by_search_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -428,7 +428,7 @@ pub mod query_keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -459,7 +459,7 @@ pub mod query_keys { } } pub mod services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -512,7 +512,7 @@ pub mod services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -597,7 +597,7 @@ pub mod services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SearchService), @@ -678,7 +678,7 @@ pub mod services { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -749,7 +749,7 @@ pub mod services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -833,7 +833,7 @@ pub mod services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -906,7 +906,7 @@ pub mod services { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -983,7 +983,7 @@ pub mod services { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1007,7 +1007,7 @@ pub mod services { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_supported( operation_config: &crate::OperationConfig, x_ms_client_request_id: Option<&str>, @@ -1063,7 +1063,7 @@ pub mod private_link_resources { } } pub mod list_supported { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1087,7 +1087,7 @@ pub mod private_link_resources { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1142,7 +1142,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1220,7 +1220,7 @@ pub mod private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1297,7 +1297,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1376,7 +1376,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/search/src/package_2020_03/operations.rs b/services/mgmt/search/src/package_2020_03/operations.rs index ce3ddee96c..18f8b42b0a 100644 --- a/services/mgmt/search/src/package_2020_03/operations.rs +++ b/services/mgmt/search/src/package_2020_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Search/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod admin_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -115,7 +115,7 @@ pub mod admin_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -195,7 +195,7 @@ pub mod admin_keys { } } pub mod regenerate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -219,7 +219,7 @@ pub mod admin_keys { } } pub mod query_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn create( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -275,7 +275,7 @@ pub mod query_keys { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -355,7 +355,7 @@ pub mod query_keys { } } pub mod list_by_search_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -428,7 +428,7 @@ pub mod query_keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -459,7 +459,7 @@ pub mod query_keys { } } pub mod services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -512,7 +512,7 @@ pub mod services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -597,7 +597,7 @@ pub mod services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SearchService), @@ -678,7 +678,7 @@ pub mod services { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -749,7 +749,7 @@ pub mod services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -833,7 +833,7 @@ pub mod services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -906,7 +906,7 @@ pub mod services { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -983,7 +983,7 @@ pub mod services { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1007,7 +1007,7 @@ pub mod services { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_supported( operation_config: &crate::OperationConfig, x_ms_client_request_id: Option<&str>, @@ -1063,7 +1063,7 @@ pub mod private_link_resources { } } pub mod list_supported { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1087,7 +1087,7 @@ pub mod private_link_resources { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1142,7 +1142,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1220,7 +1220,7 @@ pub mod private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1297,7 +1297,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1376,7 +1376,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/search/src/package_2020_08/operations.rs b/services/mgmt/search/src/package_2020_08/operations.rs index 67a656bc95..bb68680598 100644 --- a/services/mgmt/search/src/package_2020_08/operations.rs +++ b/services/mgmt/search/src/package_2020_08/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Search/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod admin_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -120,7 +120,7 @@ pub mod admin_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -200,7 +200,7 @@ pub mod admin_keys { } } pub mod regenerate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -224,7 +224,7 @@ pub mod admin_keys { } } pub mod query_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn create( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -280,7 +280,7 @@ pub mod query_keys { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -360,7 +360,7 @@ pub mod query_keys { } } pub mod list_by_search_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -433,7 +433,7 @@ pub mod query_keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -464,7 +464,7 @@ pub mod query_keys { } } pub mod services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -517,7 +517,7 @@ pub mod services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -602,7 +602,7 @@ pub mod services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SearchService), @@ -683,7 +683,7 @@ pub mod services { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -754,7 +754,7 @@ pub mod services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -838,7 +838,7 @@ pub mod services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -911,7 +911,7 @@ pub mod services { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -988,7 +988,7 @@ pub mod services { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1012,7 +1012,7 @@ pub mod services { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_supported( operation_config: &crate::OperationConfig, x_ms_client_request_id: Option<&str>, @@ -1068,7 +1068,7 @@ pub mod private_link_resources { } } pub mod list_supported { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1092,7 +1092,7 @@ pub mod private_link_resources { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1147,7 +1147,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1225,7 +1225,7 @@ pub mod private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1302,7 +1302,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1381,7 +1381,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1405,7 +1405,7 @@ pub mod private_endpoint_connections { } } pub mod shared_private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1460,7 +1460,7 @@ pub mod shared_private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1542,7 +1542,7 @@ pub mod shared_private_link_resources { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SharedPrivateLinkResource), @@ -1620,7 +1620,7 @@ pub mod shared_private_link_resources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1704,7 +1704,7 @@ pub mod shared_private_link_resources { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/search/src/package_2020_08_preview/operations.rs b/services/mgmt/search/src/package_2020_08_preview/operations.rs index 67a656bc95..bb68680598 100644 --- a/services/mgmt/search/src/package_2020_08_preview/operations.rs +++ b/services/mgmt/search/src/package_2020_08_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Search/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod admin_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -120,7 +120,7 @@ pub mod admin_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -200,7 +200,7 @@ pub mod admin_keys { } } pub mod regenerate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -224,7 +224,7 @@ pub mod admin_keys { } } pub mod query_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn create( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -280,7 +280,7 @@ pub mod query_keys { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -360,7 +360,7 @@ pub mod query_keys { } } pub mod list_by_search_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -433,7 +433,7 @@ pub mod query_keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -464,7 +464,7 @@ pub mod query_keys { } } pub mod services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -517,7 +517,7 @@ pub mod services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -602,7 +602,7 @@ pub mod services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SearchService), @@ -683,7 +683,7 @@ pub mod services { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -754,7 +754,7 @@ pub mod services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -838,7 +838,7 @@ pub mod services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -911,7 +911,7 @@ pub mod services { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -988,7 +988,7 @@ pub mod services { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1012,7 +1012,7 @@ pub mod services { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_supported( operation_config: &crate::OperationConfig, x_ms_client_request_id: Option<&str>, @@ -1068,7 +1068,7 @@ pub mod private_link_resources { } } pub mod list_supported { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1092,7 +1092,7 @@ pub mod private_link_resources { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1147,7 +1147,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1225,7 +1225,7 @@ pub mod private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1302,7 +1302,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1381,7 +1381,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1405,7 +1405,7 @@ pub mod private_endpoint_connections { } } pub mod shared_private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1460,7 +1460,7 @@ pub mod shared_private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1542,7 +1542,7 @@ pub mod shared_private_link_resources { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SharedPrivateLinkResource), @@ -1620,7 +1620,7 @@ pub mod shared_private_link_resources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1704,7 +1704,7 @@ pub mod shared_private_link_resources { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/search/src/package_2021_04_preview/operations.rs b/services/mgmt/search/src/package_2021_04_preview/operations.rs index 67a656bc95..bb68680598 100644 --- a/services/mgmt/search/src/package_2021_04_preview/operations.rs +++ b/services/mgmt/search/src/package_2021_04_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Search/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod admin_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -120,7 +120,7 @@ pub mod admin_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -200,7 +200,7 @@ pub mod admin_keys { } } pub mod regenerate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -224,7 +224,7 @@ pub mod admin_keys { } } pub mod query_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn create( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -280,7 +280,7 @@ pub mod query_keys { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -360,7 +360,7 @@ pub mod query_keys { } } pub mod list_by_search_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -433,7 +433,7 @@ pub mod query_keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -464,7 +464,7 @@ pub mod query_keys { } } pub mod services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -517,7 +517,7 @@ pub mod services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -602,7 +602,7 @@ pub mod services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SearchService), @@ -683,7 +683,7 @@ pub mod services { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -754,7 +754,7 @@ pub mod services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -838,7 +838,7 @@ pub mod services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -911,7 +911,7 @@ pub mod services { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -988,7 +988,7 @@ pub mod services { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1012,7 +1012,7 @@ pub mod services { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_supported( operation_config: &crate::OperationConfig, x_ms_client_request_id: Option<&str>, @@ -1068,7 +1068,7 @@ pub mod private_link_resources { } } pub mod list_supported { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1092,7 +1092,7 @@ pub mod private_link_resources { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1147,7 +1147,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1225,7 +1225,7 @@ pub mod private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1302,7 +1302,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1381,7 +1381,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1405,7 +1405,7 @@ pub mod private_endpoint_connections { } } pub mod shared_private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1460,7 +1460,7 @@ pub mod shared_private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1542,7 +1542,7 @@ pub mod shared_private_link_resources { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SharedPrivateLinkResource), @@ -1620,7 +1620,7 @@ pub mod shared_private_link_resources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1704,7 +1704,7 @@ pub mod shared_private_link_resources { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/security/Cargo.toml b/services/mgmt/security/Cargo.toml index d5291fce11..15db0f3c5c 100644 --- a/services/mgmt/security/Cargo.toml +++ b/services/mgmt/security/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-composite-v1"] +no-default-version = [] "package-preview-2021-08" = [] "package-composite-v1" = [] "package-composite-v2" = [] @@ -30,7 +31,6 @@ default = ["package-composite-v1"] "package-2017-08-only" = [] "package-2018-06-only" = [] "package-2019-01-only" = [] -"package-2019-08-only" = [] "package-2020-01-only" = [] "package-2020-07-preview-only" = [] "package-2021-01-preview-only" = [] diff --git a/services/mgmt/security/src/lib.rs b/services/mgmt/security/src/lib.rs index bc9fe311a1..df984911c0 100644 --- a/services/mgmt/security/src/lib.rs +++ b/services/mgmt/security/src/lib.rs @@ -1,69 +1,73 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-preview-2021-08")] -mod package_preview_2021_08; -#[cfg(feature = "package-preview-2021-08")] +pub mod package_preview_2021_08; +#[cfg(all(feature = "package-preview-2021-08", not(feature = "no-default-version")))] pub use package_preview_2021_08::{models, operations, API_VERSION}; #[cfg(feature = "package-composite-v1")] -mod package_composite_v1; -#[cfg(feature = "package-composite-v1")] +pub mod package_composite_v1; +#[cfg(all(feature = "package-composite-v1", not(feature = "no-default-version")))] pub use package_composite_v1::{models, operations, API_VERSION}; #[cfg(feature = "package-composite-v2")] -mod package_composite_v2; -#[cfg(feature = "package-composite-v2")] +pub mod package_composite_v2; +#[cfg(all(feature = "package-composite-v2", not(feature = "no-default-version")))] pub use package_composite_v2::{models, operations, API_VERSION}; #[cfg(feature = "package-composite-v3")] -mod package_composite_v3; -#[cfg(feature = "package-composite-v3")] +pub mod package_composite_v3; +#[cfg(all(feature = "package-composite-v3", not(feature = "no-default-version")))] pub use package_composite_v3::{models, operations, API_VERSION}; #[cfg(feature = "package-2015-06-preview-only")] -mod package_2015_06_preview_only; -#[cfg(feature = "package-2015-06-preview-only")] +pub mod package_2015_06_preview_only; +#[cfg(all(feature = "package-2015-06-preview-only", not(feature = "no-default-version")))] pub use package_2015_06_preview_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-08-preview-only")] -mod package_2017_08_preview_only; -#[cfg(feature = "package-2017-08-preview-only")] +pub mod package_2017_08_preview_only; +#[cfg(all(feature = "package-2017-08-preview-only", not(feature = "no-default-version")))] pub use package_2017_08_preview_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-01-preview-only")] -mod package_2019_01_preview_only; -#[cfg(feature = "package-2019-01-preview-only")] +pub mod package_2019_01_preview_only; +#[cfg(all(feature = "package-2019-01-preview-only", not(feature = "no-default-version")))] pub use package_2019_01_preview_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-08-only")] -mod package_2017_08_only; -#[cfg(feature = "package-2017-08-only")] +pub mod package_2017_08_only; +#[cfg(all(feature = "package-2017-08-only", not(feature = "no-default-version")))] pub use package_2017_08_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-06-only")] -mod package_2018_06_only; -#[cfg(feature = "package-2018-06-only")] +pub mod package_2018_06_only; +#[cfg(all(feature = "package-2018-06-only", not(feature = "no-default-version")))] pub use package_2018_06_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-01-only")] -mod package_2019_01_only; -#[cfg(feature = "package-2019-01-only")] +pub mod package_2019_01_only; +#[cfg(all(feature = "package-2019-01-only", not(feature = "no-default-version")))] pub use package_2019_01_only::{models, operations, API_VERSION}; -#[cfg(feature = "package-2019-08-only")] -mod package_2019_08_only; -#[cfg(feature = "package-2019-08-only")] -pub use package_2019_08_only::{models, operations, API_VERSION}; -#[cfg(feature = "package-2020-01-only")] -mod package_2020_01_only; #[cfg(feature = "package-2020-01-only")] +pub mod package_2020_01_only; +#[cfg(all(feature = "package-2020-01-only", not(feature = "no-default-version")))] pub use package_2020_01_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-07-preview-only")] -mod package_2020_07_preview_only; -#[cfg(feature = "package-2020-07-preview-only")] +pub mod package_2020_07_preview_only; +#[cfg(all(feature = "package-2020-07-preview-only", not(feature = "no-default-version")))] pub use package_2020_07_preview_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-01-preview-only")] -mod package_2021_01_preview_only; -#[cfg(feature = "package-2021-01-preview-only")] +pub mod package_2021_01_preview_only; +#[cfg(all(feature = "package-2021-01-preview-only", not(feature = "no-default-version")))] pub use package_2021_01_preview_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-05-preview-only")] -mod package_2021_05_preview_only; -#[cfg(feature = "package-2021-05-preview-only")] +pub mod package_2021_05_preview_only; +#[cfg(all(feature = "package-2021-05-preview-only", not(feature = "no-default-version")))] pub use package_2021_05_preview_only::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2021-07")] -mod package_preview_2021_07; +pub mod package_preview_2021_07; use azure_core::setters; -#[cfg(feature = "package-preview-2021-07")] +#[cfg(all(feature = "package-preview-2021-07", not(feature = "no-default-version")))] pub use package_preview_2021_07::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -87,7 +91,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/security/src/package_2015_06_preview_only/operations.rs b/services/mgmt/security/src/package_2015_06_preview_only/operations.rs index 59b21f7b8b..a6a473b330 100644 --- a/services/mgmt/security/src/package_2015_06_preview_only/operations.rs +++ b/services/mgmt/security/src/package_2015_06_preview_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod adaptive_network_hardenings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_extended_resource( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -62,7 +62,7 @@ pub mod adaptive_network_hardenings { } } pub mod list_by_extended_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -138,7 +138,7 @@ pub mod adaptive_network_hardenings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -217,7 +217,7 @@ pub mod adaptive_network_hardenings { } } pub mod enforce { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -246,7 +246,7 @@ pub mod adaptive_network_hardenings { } } pub mod alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -303,7 +303,7 @@ pub mod alerts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -388,7 +388,7 @@ pub mod alerts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -473,7 +473,7 @@ pub mod alerts { } } pub mod list_subscription_level_alerts_by_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -560,7 +560,7 @@ pub mod alerts { } } pub mod list_resource_group_level_alerts_by_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -635,7 +635,7 @@ pub mod alerts { } } pub mod get_subscription_level_alert { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -712,7 +712,7 @@ pub mod alerts { } } pub mod get_resource_group_level_alerts { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -784,7 +784,7 @@ pub mod alerts { } } pub mod update_subscription_level_alert_state_to_dismiss { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -856,7 +856,7 @@ pub mod alerts { } } pub mod update_subscription_level_alert_state_to_reactivate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -930,7 +930,7 @@ pub mod alerts { } } pub mod update_resource_group_level_alert_state_to_dismiss { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1004,7 +1004,7 @@ pub mod alerts { } } pub mod update_resource_group_level_alert_state_to_reactivate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1028,7 +1028,7 @@ pub mod alerts { } } pub mod allowed_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1073,7 +1073,7 @@ pub mod allowed_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1144,7 +1144,7 @@ pub mod allowed_connections { } } pub mod list_by_home_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1216,7 +1216,7 @@ pub mod allowed_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1240,7 +1240,7 @@ pub mod allowed_connections { } } pub mod adaptive_application_controls { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1294,7 +1294,7 @@ pub mod adaptive_application_controls { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1364,7 +1364,7 @@ pub mod adaptive_application_controls { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1436,7 +1436,7 @@ pub mod adaptive_application_controls { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1503,7 +1503,7 @@ pub mod adaptive_application_controls { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1533,7 +1533,7 @@ pub mod adaptive_application_controls { } } pub mod discovered_security_solutions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1578,7 +1578,7 @@ pub mod discovered_security_solutions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1649,7 +1649,7 @@ pub mod discovered_security_solutions { } } pub mod list_by_home_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1721,7 +1721,7 @@ pub mod discovered_security_solutions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1745,7 +1745,7 @@ pub mod discovered_security_solutions { } } pub mod external_security_solutions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1790,7 +1790,7 @@ pub mod external_security_solutions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1861,7 +1861,7 @@ pub mod external_security_solutions { } } pub mod list_by_home_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1933,7 +1933,7 @@ pub mod external_security_solutions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1957,7 +1957,7 @@ pub mod external_security_solutions { } } pub mod jit_network_access_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2002,7 +2002,7 @@ pub mod jit_network_access_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2073,7 +2073,7 @@ pub mod jit_network_access_policies { } } pub mod list_by_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2146,7 +2146,7 @@ pub mod jit_network_access_policies { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2221,7 +2221,7 @@ pub mod jit_network_access_policies { } } pub mod list_by_resource_group_and_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2293,7 +2293,7 @@ pub mod jit_network_access_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2370,7 +2370,7 @@ pub mod jit_network_access_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2438,7 +2438,7 @@ pub mod jit_network_access_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2522,7 +2522,7 @@ pub mod jit_network_access_policies { } } pub mod initiate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2546,7 +2546,7 @@ pub mod jit_network_access_policies { } } pub mod locations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2591,7 +2591,7 @@ pub mod locations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2659,7 +2659,7 @@ pub mod locations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2683,7 +2683,7 @@ pub mod locations { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Security/operations", operation_config.base_path(),); @@ -2721,7 +2721,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2745,7 +2745,7 @@ pub mod operations { } } pub mod tasks { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2794,7 +2794,7 @@ pub mod tasks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2869,7 +2869,7 @@ pub mod tasks { } } pub mod list_by_home_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2944,7 +2944,7 @@ pub mod tasks { } } pub mod get_subscription_level_task { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3017,7 +3017,7 @@ pub mod tasks { } } pub mod update_subscription_level_task_state { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3096,7 +3096,7 @@ pub mod tasks { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3173,7 +3173,7 @@ pub mod tasks { } } pub mod get_resource_group_level_task { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3248,7 +3248,7 @@ pub mod tasks { } } pub mod update_resource_group_level_task_state { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3272,7 +3272,7 @@ pub mod tasks { } } pub mod topology { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, subscription_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -3314,7 +3314,7 @@ pub mod topology { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3385,7 +3385,7 @@ pub mod topology { } } pub mod list_by_home_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3457,7 +3457,7 @@ pub mod topology { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/security/src/package_2017_08_only/operations.rs b/services/mgmt/security/src/package_2017_08_only/operations.rs index cf9235013a..09fb1faeb1 100644 --- a/services/mgmt/security/src/package_2017_08_only/operations.rs +++ b/services/mgmt/security/src/package_2017_08_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod compliance_results { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, scope: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -46,7 +46,7 @@ pub mod compliance_results { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -114,7 +114,7 @@ pub mod compliance_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/security/src/package_2017_08_preview_only/operations.rs b/services/mgmt/security/src/package_2017_08_preview_only/operations.rs index 1843fc2bfd..f9d9e1e063 100644 --- a/services/mgmt/security/src/package_2017_08_preview_only/operations.rs +++ b/services/mgmt/security/src/package_2017_08_preview_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod advanced_threat_protection { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_id: &str, @@ -51,7 +51,7 @@ pub mod advanced_threat_protection { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -121,7 +121,7 @@ pub mod advanced_threat_protection { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -145,7 +145,7 @@ pub mod advanced_threat_protection { } } pub mod auto_provisioning_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -190,7 +190,7 @@ pub mod auto_provisioning_settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -258,7 +258,7 @@ pub mod auto_provisioning_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -328,7 +328,7 @@ pub mod auto_provisioning_settings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -352,7 +352,7 @@ pub mod auto_provisioning_settings { } } pub mod compliances { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, scope: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -394,7 +394,7 @@ pub mod compliances { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -462,7 +462,7 @@ pub mod compliances { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -486,7 +486,7 @@ pub mod compliances { } } pub mod device_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_id: &str, @@ -531,7 +531,7 @@ pub mod device_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -599,7 +599,7 @@ pub mod device_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -678,7 +678,7 @@ pub mod device_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeviceSecurityGroup), @@ -747,7 +747,7 @@ pub mod device_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -776,7 +776,7 @@ pub mod device_security_groups { } } pub mod information_protection_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scope: &str, @@ -823,7 +823,7 @@ pub mod information_protection_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -902,7 +902,7 @@ pub mod information_protection_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(InformationProtectionPolicy), @@ -973,7 +973,7 @@ pub mod information_protection_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -997,7 +997,7 @@ pub mod information_protection_policies { } } pub mod io_t_security_solutions_analytics { - use crate::models::*; + use super::{models, models::*}; pub async fn get_all( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1049,7 +1049,7 @@ pub mod io_t_security_solutions_analytics { } } pub mod get_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1122,7 +1122,7 @@ pub mod io_t_security_solutions_analytics { } } pub mod get_default { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1146,7 +1146,7 @@ pub mod io_t_security_solutions_analytics { } } pub mod io_t_security_solutions_analytics_aggregated_alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1193,7 +1193,7 @@ pub mod io_t_security_solutions_analytics_aggregated_alerts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1217,7 +1217,7 @@ pub mod io_t_security_solutions_analytics_aggregated_alerts { } } pub mod io_t_security_solutions_analytics_aggregated_alert { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1261,7 +1261,7 @@ pub mod io_t_security_solutions_analytics_aggregated_alert { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1325,7 +1325,7 @@ pub mod io_t_security_solutions_analytics_aggregated_alert { } } pub mod dismiss { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1349,7 +1349,7 @@ pub mod io_t_security_solutions_analytics_aggregated_alert { } } pub mod io_t_security_solutions_analytics_recommendation { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1393,7 +1393,7 @@ pub mod io_t_security_solutions_analytics_recommendation { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1417,7 +1417,7 @@ pub mod io_t_security_solutions_analytics_recommendation { } } pub mod io_t_security_solutions_analytics_recommendations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1464,7 +1464,7 @@ pub mod io_t_security_solutions_analytics_recommendations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1488,7 +1488,7 @@ pub mod io_t_security_solutions_analytics_recommendations { } } pub mod io_t_security_solutions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1537,7 +1537,7 @@ pub mod io_t_security_solutions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1561,7 +1561,7 @@ pub mod io_t_security_solutions { } } pub mod io_t_security_solutions_resource_group { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1612,7 +1612,7 @@ pub mod io_t_security_solutions_resource_group { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1636,7 +1636,7 @@ pub mod io_t_security_solutions_resource_group { } } pub mod iot_security_solution { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1685,7 +1685,7 @@ pub mod iot_security_solution { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1763,7 +1763,7 @@ pub mod iot_security_solution { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IoTSecuritySolutionModel), @@ -1840,7 +1840,7 @@ pub mod iot_security_solution { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1906,7 +1906,7 @@ pub mod iot_security_solution { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1935,7 +1935,7 @@ pub mod iot_security_solution { } } pub mod pricings { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, subscription_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -1977,7 +1977,7 @@ pub mod pricings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2050,7 +2050,7 @@ pub mod pricings { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2123,7 +2123,7 @@ pub mod pricings { } } pub mod get_subscription_pricing { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2198,7 +2198,7 @@ pub mod pricings { } } pub mod update_subscription_pricing { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2273,7 +2273,7 @@ pub mod pricings { } } pub mod get_resource_group_pricing { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2350,7 +2350,7 @@ pub mod pricings { } } pub mod create_or_update_resource_group_pricing { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2374,7 +2374,7 @@ pub mod pricings { } } pub mod security_contacts { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2419,7 +2419,7 @@ pub mod security_contacts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2487,7 +2487,7 @@ pub mod security_contacts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2557,7 +2557,7 @@ pub mod security_contacts { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2627,7 +2627,7 @@ pub mod security_contacts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2690,7 +2690,7 @@ pub mod security_contacts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2714,7 +2714,7 @@ pub mod security_contacts { } } pub mod settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, subscription_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -2756,7 +2756,7 @@ pub mod settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2824,7 +2824,7 @@ pub mod settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2894,7 +2894,7 @@ pub mod settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2918,7 +2918,7 @@ pub mod settings { } } pub mod workspace_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2963,7 +2963,7 @@ pub mod workspace_settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3031,7 +3031,7 @@ pub mod workspace_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3101,7 +3101,7 @@ pub mod workspace_settings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3171,7 +3171,7 @@ pub mod workspace_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3234,7 +3234,7 @@ pub mod workspace_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/security/src/package_2018_06_only/operations.rs b/services/mgmt/security/src/package_2018_06_only/operations.rs index db3dd1f751..a216f22841 100644 --- a/services/mgmt/security/src/package_2018_06_only/operations.rs +++ b/services/mgmt/security/src/package_2018_06_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod pricings { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, subscription_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -46,7 +46,7 @@ pub mod pricings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -114,7 +114,7 @@ pub mod pricings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub mod pricings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/security/src/package_2019_01_only/operations.rs b/services/mgmt/security/src/package_2019_01_only/operations.rs index 669567e8cd..0e54962638 100644 --- a/services/mgmt/security/src/package_2019_01_only/operations.rs +++ b/services/mgmt/security/src/package_2019_01_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -65,7 +65,7 @@ pub mod alerts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -154,7 +154,7 @@ pub mod alerts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -243,7 +243,7 @@ pub mod alerts { } } pub mod list_subscription_level_alerts_by_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -334,7 +334,7 @@ pub mod alerts { } } pub mod list_resource_group_level_alerts_by_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -409,7 +409,7 @@ pub mod alerts { } } pub mod get_subscription_level_alert { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -486,7 +486,7 @@ pub mod alerts { } } pub mod get_resource_group_level_alerts { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -558,7 +558,7 @@ pub mod alerts { } } pub mod update_subscription_level_alert_state_to_dismiss { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -630,7 +630,7 @@ pub mod alerts { } } pub mod update_subscription_level_alert_state_to_reactivate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -704,7 +704,7 @@ pub mod alerts { } } pub mod update_resource_group_level_alert_state_to_dismiss { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -778,7 +778,7 @@ pub mod alerts { } } pub mod update_resource_group_level_alert_state_to_reactivate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -802,7 +802,7 @@ pub mod alerts { } } pub mod settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, subscription_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -844,7 +844,7 @@ pub mod settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -912,7 +912,7 @@ pub mod settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -982,7 +982,7 @@ pub mod settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/security/src/package_2019_01_preview_only/operations.rs b/services/mgmt/security/src/package_2019_01_preview_only/operations.rs index 5c2bb148e8..a7fb4e1243 100644 --- a/services/mgmt/security/src/package_2019_01_preview_only/operations.rs +++ b/services/mgmt/security/src/package_2019_01_preview_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod regulatory_compliance_standards { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod regulatory_compliance_standards { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -121,7 +121,7 @@ pub mod regulatory_compliance_standards { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -145,7 +145,7 @@ pub mod regulatory_compliance_standards { } } pub mod regulatory_compliance_controls { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -196,7 +196,7 @@ pub mod regulatory_compliance_controls { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -266,7 +266,7 @@ pub mod regulatory_compliance_controls { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -290,7 +290,7 @@ pub mod regulatory_compliance_controls { } } pub mod regulatory_compliance_assessments { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -337,7 +337,7 @@ pub mod regulatory_compliance_assessments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -402,7 +402,7 @@ pub mod regulatory_compliance_assessments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -426,7 +426,7 @@ pub mod regulatory_compliance_assessments { } } pub mod alerts_suppression_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -475,7 +475,7 @@ pub mod alerts_suppression_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -543,7 +543,7 @@ pub mod alerts_suppression_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -613,7 +613,7 @@ pub mod alerts_suppression_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -676,7 +676,7 @@ pub mod alerts_suppression_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -700,7 +700,7 @@ pub mod alerts_suppression_rules { } } pub mod assessments_metadata { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Security/assessmentMetadata", operation_config.base_path(),); @@ -738,7 +738,7 @@ pub mod assessments_metadata { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -804,7 +804,7 @@ pub mod assessments_metadata { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -828,7 +828,7 @@ pub mod assessments_metadata { } } pub mod assessments_metadata_subscription { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -873,7 +873,7 @@ pub mod assessments_metadata_subscription { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -941,7 +941,7 @@ pub mod assessments_metadata_subscription { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1011,7 +1011,7 @@ pub mod assessments_metadata_subscription { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1074,7 +1074,7 @@ pub mod assessments_metadata_subscription { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1098,7 +1098,7 @@ pub mod assessments_metadata_subscription { } } pub mod assessments { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, scope: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -1140,7 +1140,7 @@ pub mod assessments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1212,7 +1212,7 @@ pub mod assessments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1291,7 +1291,7 @@ pub mod assessments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(SecurityAssessment), @@ -1360,7 +1360,7 @@ pub mod assessments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/security/src/package_2019_08_only/mod.rs b/services/mgmt/security/src/package_2019_08_only/mod.rs deleted file mode 100644 index c834efcfbf..0000000000 --- a/services/mgmt/security/src/package_2019_08_only/mod.rs +++ /dev/null @@ -1,3 +0,0 @@ -pub mod models; -pub mod operations; -pub const API_VERSION: &str = "2019-08-01"; diff --git a/services/mgmt/security/src/package_2019_08_only/models.rs b/services/mgmt/security/src/package_2019_08_only/models.rs deleted file mode 100644 index 4ab1475419..0000000000 --- a/services/mgmt/security/src/package_2019_08_only/models.rs +++ /dev/null @@ -1,575 +0,0 @@ -#![doc = "generated by AutoRust 0.1.0"] -#![allow(non_camel_case_types)] -#![allow(unused_imports)] -use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct IoTSeverityMetrics { - #[serde(default, skip_serializing_if = "Option::is_none")] - pub high: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub medium: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub low: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct IoTSecuritySolutionAnalyticsModel { - #[serde(flatten)] - pub resource: Resource, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub properties: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct IoTSecuritySolutionAnalyticsModelProperties { - #[serde(default, skip_serializing_if = "Option::is_none")] - pub metrics: Option, - #[serde(rename = "unhealthyDeviceCount", default, skip_serializing_if = "Option::is_none")] - pub unhealthy_device_count: Option, - #[serde(rename = "devicesMetrics", default, skip_serializing_if = "Vec::is_empty")] - pub devices_metrics: Vec, - #[serde(rename = "topAlertedDevices", default, skip_serializing_if = "Option::is_none")] - pub top_alerted_devices: Option, - #[serde(rename = "mostPrevalentDeviceAlerts", default, skip_serializing_if = "Option::is_none")] - pub most_prevalent_device_alerts: Option, - #[serde(rename = "mostPrevalentDeviceRecommendations", default, skip_serializing_if = "Option::is_none")] - pub most_prevalent_device_recommendations: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct IoTSecuritySolutionAnalyticsModelList { - pub value: Vec, - #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] - pub next_link: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct IoTSecurityAggregatedAlertList { - pub value: Vec, - #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] - pub next_link: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct IoTSecurityAggregatedRecommendationList { - pub value: Vec, - #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] - pub next_link: Option, -} -pub type IoTSecurityAlertedDevicesList = Vec; -pub type IoTSecurityDeviceAlertsList = Vec; -pub type IoTSecurityDeviceRecommendationsList = Vec; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct IoTSecurityAggregatedAlert { - #[serde(flatten)] - pub resource: Resource, - #[serde(flatten)] - pub tags_resource: TagsResource, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub properties: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct IoTSecurityAggregatedAlertProperties { - #[serde(rename = "alertType", default, skip_serializing_if = "Option::is_none")] - pub alert_type: Option, - #[serde(rename = "alertDisplayName", default, skip_serializing_if = "Option::is_none")] - pub alert_display_name: Option, - #[serde(rename = "aggregatedDateUtc", default, skip_serializing_if = "Option::is_none")] - pub aggregated_date_utc: Option, - #[serde(rename = "vendorName", default, skip_serializing_if = "Option::is_none")] - pub vendor_name: Option, - #[serde(rename = "reportedSeverity", default, skip_serializing_if = "Option::is_none")] - pub reported_severity: Option, - #[serde(rename = "remediationSteps", default, skip_serializing_if = "Option::is_none")] - pub remediation_steps: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub description: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub count: Option, - #[serde(rename = "effectedResourceType", default, skip_serializing_if = "Option::is_none")] - pub effected_resource_type: Option, - #[serde(rename = "systemSource", default, skip_serializing_if = "Option::is_none")] - pub system_source: Option, - #[serde(rename = "actionTaken", default, skip_serializing_if = "Option::is_none")] - pub action_taken: Option, - #[serde(rename = "logAnalyticsQuery", default, skip_serializing_if = "Option::is_none")] - pub log_analytics_query: Option, - #[serde(rename = "topDevicesList", default, skip_serializing_if = "Vec::is_empty")] - pub top_devices_list: Vec, -} -pub mod io_t_security_aggregated_alert_properties { - use super::*; - #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] - pub enum ReportedSeverity { - Informational, - Low, - Medium, - High, - } -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct IoTSecurityAggregatedRecommendation { - #[serde(flatten)] - pub resource: Resource, - #[serde(flatten)] - pub tags_resource: TagsResource, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub properties: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct IoTSecurityAggregatedRecommendationProperties { - #[serde(rename = "recommendationName", default, skip_serializing_if = "Option::is_none")] - pub recommendation_name: Option, - #[serde(rename = "recommendationDisplayName", default, skip_serializing_if = "Option::is_none")] - pub recommendation_display_name: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub description: Option, - #[serde(rename = "recommendationTypeId", default, skip_serializing_if = "Option::is_none")] - pub recommendation_type_id: Option, - #[serde(rename = "detectedBy", default, skip_serializing_if = "Option::is_none")] - pub detected_by: Option, - #[serde(rename = "remediationSteps", default, skip_serializing_if = "Option::is_none")] - pub remediation_steps: Option, - #[serde(rename = "reportedSeverity", default, skip_serializing_if = "Option::is_none")] - pub reported_severity: Option, - #[serde(rename = "healthyDevices", default, skip_serializing_if = "Option::is_none")] - pub healthy_devices: Option, - #[serde(rename = "unhealthyDeviceCount", default, skip_serializing_if = "Option::is_none")] - pub unhealthy_device_count: Option, - #[serde(rename = "logAnalyticsQuery", default, skip_serializing_if = "Option::is_none")] - pub log_analytics_query: Option, -} -pub mod io_t_security_aggregated_recommendation_properties { - use super::*; - #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] - pub enum ReportedSeverity { - Informational, - Low, - Medium, - High, - } -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct IoTSecurityAlertedDevice { - #[serde(rename = "deviceId", default, skip_serializing_if = "Option::is_none")] - pub device_id: Option, - #[serde(rename = "alertsCount", default, skip_serializing_if = "Option::is_none")] - pub alerts_count: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct IoTSecurityDeviceAlert { - #[serde(rename = "alertDisplayName", default, skip_serializing_if = "Option::is_none")] - pub alert_display_name: Option, - #[serde(rename = "reportedSeverity", default, skip_serializing_if = "Option::is_none")] - pub reported_severity: Option, - #[serde(rename = "alertsCount", default, skip_serializing_if = "Option::is_none")] - pub alerts_count: Option, -} -pub mod io_t_security_device_alert { - use super::*; - #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] - pub enum ReportedSeverity { - Informational, - Low, - Medium, - High, - } -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct IoTSecurityDeviceRecommendation { - #[serde(rename = "recommendationDisplayName", default, skip_serializing_if = "Option::is_none")] - pub recommendation_display_name: Option, - #[serde(rename = "reportedSeverity", default, skip_serializing_if = "Option::is_none")] - pub reported_severity: Option, - #[serde(rename = "devicesCount", default, skip_serializing_if = "Option::is_none")] - pub devices_count: Option, -} -pub mod io_t_security_device_recommendation { - use super::*; - #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] - pub enum ReportedSeverity { - Informational, - Low, - Medium, - High, - } -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct TagsResource { - #[serde(default, skip_serializing_if = "Option::is_none")] - pub tags: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct IoTSecuritySolutionsList { - pub value: Vec, - #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] - pub next_link: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct IoTSecuritySolutionModel { - #[serde(flatten)] - pub resource: Resource, - #[serde(flatten)] - pub tags_resource: TagsResource, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub location: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub properties: Option, - #[serde(rename = "systemData", default, skip_serializing_if = "Option::is_none")] - pub system_data: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct UpdateIoTSecuritySolutionProperties { - #[serde(rename = "userDefinedResources", default, skip_serializing_if = "Option::is_none")] - pub user_defined_resources: Option, - #[serde(rename = "recommendationsConfiguration", default, skip_serializing_if = "Option::is_none")] - pub recommendations_configuration: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct IoTSecuritySolutionProperties { - #[serde(default, skip_serializing_if = "Option::is_none")] - pub workspace: Option, - #[serde(rename = "displayName")] - pub display_name: String, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub status: Option, - #[serde(default, skip_serializing_if = "Vec::is_empty")] - pub export: Vec, - #[serde(rename = "disabledDataSources", default, skip_serializing_if = "Vec::is_empty")] - pub disabled_data_sources: Vec, - #[serde(rename = "iotHubs")] - pub iot_hubs: Vec, - #[serde(rename = "userDefinedResources", default, skip_serializing_if = "Option::is_none")] - pub user_defined_resources: Option, - #[serde(rename = "autoDiscoveredResources", default, skip_serializing_if = "Vec::is_empty")] - pub auto_discovered_resources: Vec, - #[serde(rename = "recommendationsConfiguration", default, skip_serializing_if = "Option::is_none")] - pub recommendations_configuration: Option, - #[serde(rename = "unmaskedIpLoggingStatus", default, skip_serializing_if = "Option::is_none")] - pub unmasked_ip_logging_status: Option, - #[serde(rename = "additionalWorkspaces", default, skip_serializing_if = "Vec::is_empty")] - pub additional_workspaces: Vec, -} -pub mod io_t_security_solution_properties { - use super::*; - #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] - pub enum Status { - Enabled, - Disabled, - } - #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] - pub enum UnmaskedIpLoggingStatus { - Disabled, - Enabled, - } -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct UserDefinedResourcesProperties { - pub query: String, - #[serde(rename = "querySubscriptions")] - pub query_subscriptions: Vec, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct RecommendationConfigurationProperties { - #[serde(rename = "recommendationType")] - pub recommendation_type: recommendation_configuration_properties::RecommendationType, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub name: Option, - pub status: recommendation_configuration_properties::Status, -} -pub mod recommendation_configuration_properties { - use super::*; - #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] - pub enum RecommendationType { - #[serde(rename = "IoT_ACRAuthentication")] - IoTAcrAuthentication, - #[serde(rename = "IoT_AgentSendsUnutilizedMessages")] - IoTAgentSendsUnutilizedMessages, - #[serde(rename = "IoT_Baseline")] - IoTBaseline, - #[serde(rename = "IoT_EdgeHubMemOptimize")] - IoTEdgeHubMemOptimize, - #[serde(rename = "IoT_EdgeLoggingOptions")] - IoTEdgeLoggingOptions, - #[serde(rename = "IoT_InconsistentModuleSettings")] - IoTInconsistentModuleSettings, - #[serde(rename = "IoT_InstallAgent")] - IoTInstallAgent, - #[serde(rename = "IoT_IPFilter_DenyAll")] - IoTIpFilterDenyAll, - #[serde(rename = "IoT_IPFilter_PermissiveRule")] - IoTIpFilterPermissiveRule, - #[serde(rename = "IoT_OpenPorts")] - IoTOpenPorts, - #[serde(rename = "IoT_PermissiveFirewallPolicy")] - IoTPermissiveFirewallPolicy, - #[serde(rename = "IoT_PermissiveInputFirewallRules")] - IoTPermissiveInputFirewallRules, - #[serde(rename = "IoT_PermissiveOutputFirewallRules")] - IoTPermissiveOutputFirewallRules, - #[serde(rename = "IoT_PrivilegedDockerOptions")] - IoTPrivilegedDockerOptions, - #[serde(rename = "IoT_SharedCredentials")] - IoTSharedCredentials, - #[serde(rename = "IoT_VulnerableTLSCipherSuite")] - IoTVulnerableTlsCipherSuite, - } - #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] - pub enum Status { - Disabled, - Enabled, - } -} -pub type RecommendationConfigurationList = Vec; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct UpdateIotSecuritySolutionData { - #[serde(flatten)] - pub tags_resource: TagsResource, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub properties: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct AdditionalWorkspacesProperties { - #[serde(default, skip_serializing_if = "Option::is_none")] - pub workspace: Option, - #[serde(rename = "type", default, skip_serializing_if = "Option::is_none")] - pub type_: Option, - #[serde(rename = "dataTypes", default, skip_serializing_if = "Vec::is_empty")] - pub data_types: Vec, -} -pub mod additional_workspaces_properties { - use super::*; - #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] - pub enum Type { - Sentinel, - } -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct IotAlertTypeList { - #[serde(default, skip_serializing_if = "Vec::is_empty")] - pub value: Vec, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct IotAlertType { - #[serde(flatten)] - pub resource: Resource, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub properties: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct IotAlertTypeProperties { - #[serde(rename = "alertDisplayName", default, skip_serializing_if = "Option::is_none")] - pub alert_display_name: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub severity: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub description: Option, - #[serde(rename = "providerName", default, skip_serializing_if = "Option::is_none")] - pub provider_name: Option, - #[serde(rename = "productName", default, skip_serializing_if = "Option::is_none")] - pub product_name: Option, - #[serde(rename = "productComponentName", default, skip_serializing_if = "Option::is_none")] - pub product_component_name: Option, - #[serde(rename = "vendorName", default, skip_serializing_if = "Option::is_none")] - pub vendor_name: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub intent: Option, - #[serde(rename = "remediationSteps", default, skip_serializing_if = "Vec::is_empty")] - pub remediation_steps: Vec, -} -pub mod iot_alert_type_properties { - use super::*; - #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] - pub enum Severity { - Informational, - Low, - Medium, - High, - } - #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] - pub enum Intent { - Unknown, - PreAttack, - InitialAccess, - Persistence, - PrivilegeEscalation, - DefenseEvasion, - CredentialAccess, - Discovery, - LateralMovement, - Execution, - Collection, - Exfiltration, - CommandAndControl, - Impact, - Probing, - Exploitation, - } -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct IotAlertList { - #[serde(default, skip_serializing_if = "Vec::is_empty")] - pub value: Vec, - #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] - pub next_link: Option, - #[serde(rename = "totalCount", default, skip_serializing_if = "Option::is_none")] - pub total_count: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct IotAlert { - #[serde(flatten)] - pub resource: Resource, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub properties: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct IotAlertProperties { - #[serde(rename = "systemAlertId", default, skip_serializing_if = "Option::is_none")] - pub system_alert_id: Option, - #[serde(rename = "compromisedEntity", default, skip_serializing_if = "Option::is_none")] - pub compromised_entity: Option, - #[serde(rename = "alertType", default, skip_serializing_if = "Option::is_none")] - pub alert_type: Option, - #[serde(rename = "startTimeUtc", default, skip_serializing_if = "Option::is_none")] - pub start_time_utc: Option, - #[serde(rename = "endTimeUtc", default, skip_serializing_if = "Option::is_none")] - pub end_time_utc: Option, - #[serde(default, skip_serializing_if = "Vec::is_empty")] - pub entities: Vec, - #[serde(rename = "extendedProperties", default, skip_serializing_if = "Option::is_none")] - pub extended_properties: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct IotRecommendationTypeList { - #[serde(default, skip_serializing_if = "Vec::is_empty")] - pub value: Vec, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct IotRecommendationType { - #[serde(flatten)] - pub resource: Resource, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub properties: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct IotRecommendationTypeProperties { - #[serde(rename = "recommendationDisplayName", default, skip_serializing_if = "Option::is_none")] - pub recommendation_display_name: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub severity: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub description: Option, - #[serde(rename = "productName", default, skip_serializing_if = "Option::is_none")] - pub product_name: Option, - #[serde(rename = "productComponentName", default, skip_serializing_if = "Option::is_none")] - pub product_component_name: Option, - #[serde(rename = "vendorName", default, skip_serializing_if = "Option::is_none")] - pub vendor_name: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub control: Option, - #[serde(rename = "remediationSteps", default, skip_serializing_if = "Vec::is_empty")] - pub remediation_steps: Vec, - #[serde(rename = "dataSource", default, skip_serializing_if = "Option::is_none")] - pub data_source: Option, -} -pub mod iot_recommendation_type_properties { - use super::*; - #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] - pub enum Severity { - Unknown, - NotApplicable, - Healthy, - OffByPolicy, - Low, - Medium, - High, - } -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct IotRecommendationList { - #[serde(default, skip_serializing_if = "Vec::is_empty")] - pub value: Vec, - #[serde(rename = "nextLink", default, skip_serializing_if = "Option::is_none")] - pub next_link: Option, - #[serde(rename = "totalCount", default, skip_serializing_if = "Option::is_none")] - pub total_count: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct IotRecommendation { - #[serde(flatten)] - pub resource: Resource, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub properties: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct IotRecommendationProperties { - #[serde(rename = "deviceId", default, skip_serializing_if = "Option::is_none")] - pub device_id: Option, - #[serde(rename = "recommendationType", default, skip_serializing_if = "Option::is_none")] - pub recommendation_type: Option, - #[serde(rename = "discoveredTimeUtc", default, skip_serializing_if = "Option::is_none")] - pub discovered_time_utc: Option, - #[serde(rename = "recommendationAdditionalData", default, skip_serializing_if = "Option::is_none")] - pub recommendation_additional_data: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct CloudError { - #[serde(default, skip_serializing_if = "Option::is_none")] - pub error: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct CloudErrorBody { - #[serde(default, skip_serializing_if = "Option::is_none")] - pub code: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub message: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub target: Option, - #[serde(default, skip_serializing_if = "Vec::is_empty")] - pub details: Vec, - #[serde(rename = "additionalInfo", default, skip_serializing_if = "Vec::is_empty")] - pub additional_info: Vec, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct ErrorAdditionalInfo { - #[serde(rename = "type", default, skip_serializing_if = "Option::is_none")] - pub type_: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub info: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct Resource { - #[serde(default, skip_serializing_if = "Option::is_none")] - pub id: Option, - #[serde(default, skip_serializing_if = "Option::is_none")] - pub name: Option, - #[serde(rename = "type", default, skip_serializing_if = "Option::is_none")] - pub type_: Option, -} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct SystemData { - #[serde(rename = "createdBy", default, skip_serializing_if = "Option::is_none")] - pub created_by: Option, - #[serde(rename = "createdByType", default, skip_serializing_if = "Option::is_none")] - pub created_by_type: Option, - #[serde(rename = "createdAt", default, skip_serializing_if = "Option::is_none")] - pub created_at: Option, - #[serde(rename = "lastModifiedBy", default, skip_serializing_if = "Option::is_none")] - pub last_modified_by: Option, - #[serde(rename = "lastModifiedByType", default, skip_serializing_if = "Option::is_none")] - pub last_modified_by_type: Option, - #[serde(rename = "lastModifiedAt", default, skip_serializing_if = "Option::is_none")] - pub last_modified_at: Option, -} -pub mod system_data { - use super::*; - #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] - pub enum CreatedByType { - User, - Application, - ManagedIdentity, - Key, - } - #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] - pub enum LastModifiedByType { - User, - Application, - ManagedIdentity, - Key, - } -} diff --git a/services/mgmt/security/src/package_2019_08_only/operations.rs b/services/mgmt/security/src/package_2019_08_only/operations.rs deleted file mode 100644 index 57b053ba2d..0000000000 --- a/services/mgmt/security/src/package_2019_08_only/operations.rs +++ /dev/null @@ -1,1556 +0,0 @@ -#![doc = "generated by AutoRust 0.1.0"] -#![allow(unused_mut)] -#![allow(unused_variables)] -#![allow(unused_imports)] -use crate::models::*; -pub mod iot_security_solution_analytics { - use crate::models::*; - pub async fn list( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - solution_name: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Security/iotSecuritySolutions/{}/analyticsModels", - operation_config.base_path(), - subscription_id, - resource_group_name, - solution_name - ); - let mut url = url::Url::parse(url_str).map_err(list::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(list::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(list::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(list::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: IoTSecuritySolutionAnalyticsModelList = - serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: CloudError = - serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; - Err(list::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod list { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::CloudError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn get( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - solution_name: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Security/iotSecuritySolutions/{}/analyticsModels/default", - operation_config.base_path(), - subscription_id, - resource_group_name, - solution_name - ); - let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(get::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: IoTSecuritySolutionAnalyticsModel = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: CloudError = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Err(get::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod get { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::CloudError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } -} -pub mod iot_security_solutions_analytics_aggregated_alert { - use crate::models::*; - pub async fn list( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - solution_name: &str, - top: Option, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = & format ! ("{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Security/iotSecuritySolutions/{}/analyticsModels/default/aggregatedAlerts" , operation_config . base_path () , subscription_id , resource_group_name , solution_name) ; - let mut url = url::Url::parse(url_str).map_err(list::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(list::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - if let Some(top) = top { - url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); - } - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(list::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(list::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: IoTSecurityAggregatedAlertList = - serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: CloudError = - serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; - Err(list::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod list { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::CloudError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn get( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - solution_name: &str, - aggregated_alert_name: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = & format ! ("{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Security/iotSecuritySolutions/{}/analyticsModels/default/aggregatedAlerts/{}" , operation_config . base_path () , subscription_id , resource_group_name , solution_name , aggregated_alert_name) ; - let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(get::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: IoTSecurityAggregatedAlert = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: CloudError = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Err(get::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod get { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::CloudError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn dismiss( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - solution_name: &str, - aggregated_alert_name: &str, - ) -> std::result::Result<(), dismiss::Error> { - let http_client = operation_config.http_client(); - let url_str = & format ! ("{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Security/iotSecuritySolutions/{}/analyticsModels/default/aggregatedAlerts/{}/dismiss" , operation_config . base_path () , subscription_id , resource_group_name , solution_name , aggregated_alert_name) ; - let mut url = url::Url::parse(url_str).map_err(dismiss::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::POST); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(dismiss::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.header(http::header::CONTENT_LENGTH, 0); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(dismiss::Error::BuildRequestError)?; - let rsp = http_client - .execute_request(req) - .await - .map_err(dismiss::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => Ok(()), - status_code => { - let rsp_body = rsp.body(); - let rsp_value: CloudError = - serde_json::from_slice(rsp_body).map_err(|source| dismiss::Error::DeserializeError(source, rsp_body.clone()))?; - Err(dismiss::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod dismiss { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::CloudError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } -} -pub mod iot_security_solutions_analytics_recommendation { - use crate::models::*; - pub async fn get( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - solution_name: &str, - aggregated_recommendation_name: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = & format ! ("{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Security/iotSecuritySolutions/{}/analyticsModels/default/aggregatedRecommendations/{}" , operation_config . base_path () , subscription_id , resource_group_name , solution_name , aggregated_recommendation_name) ; - let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(get::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: IoTSecurityAggregatedRecommendation = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: CloudError = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Err(get::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod get { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::CloudError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn list( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - solution_name: &str, - top: Option, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = & format ! ("{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Security/iotSecuritySolutions/{}/analyticsModels/default/aggregatedRecommendations" , operation_config . base_path () , subscription_id , resource_group_name , solution_name) ; - let mut url = url::Url::parse(url_str).map_err(list::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(list::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - if let Some(top) = top { - url.query_pairs_mut().append_pair("$top", top.to_string().as_str()); - } - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(list::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(list::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: IoTSecurityAggregatedRecommendationList = - serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: CloudError = - serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; - Err(list::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod list { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::CloudError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } -} -pub mod iot_security_solution { - use crate::models::*; - pub async fn list_by_subscription( - operation_config: &crate::OperationConfig, - subscription_id: &str, - filter: Option<&str>, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/providers/Microsoft.Security/iotSecuritySolutions", - operation_config.base_path(), - subscription_id - ); - let mut url = url::Url::parse(url_str).map_err(list_by_subscription::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(list_by_subscription::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - if let Some(filter) = filter { - url.query_pairs_mut().append_pair("$filter", filter); - } - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(list_by_subscription::Error::BuildRequestError)?; - let rsp = http_client - .execute_request(req) - .await - .map_err(list_by_subscription::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: IoTSecuritySolutionsList = serde_json::from_slice(rsp_body) - .map_err(|source| list_by_subscription::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: CloudError = serde_json::from_slice(rsp_body) - .map_err(|source| list_by_subscription::Error::DeserializeError(source, rsp_body.clone()))?; - Err(list_by_subscription::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod list_by_subscription { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::CloudError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn list_by_resource_group( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - filter: Option<&str>, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Security/iotSecuritySolutions", - operation_config.base_path(), - subscription_id, - resource_group_name - ); - let mut url = url::Url::parse(url_str).map_err(list_by_resource_group::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(list_by_resource_group::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - if let Some(filter) = filter { - url.query_pairs_mut().append_pair("$filter", filter); - } - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder - .body(req_body) - .map_err(list_by_resource_group::Error::BuildRequestError)?; - let rsp = http_client - .execute_request(req) - .await - .map_err(list_by_resource_group::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: IoTSecuritySolutionsList = serde_json::from_slice(rsp_body) - .map_err(|source| list_by_resource_group::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: CloudError = serde_json::from_slice(rsp_body) - .map_err(|source| list_by_resource_group::Error::DeserializeError(source, rsp_body.clone()))?; - Err(list_by_resource_group::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod list_by_resource_group { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::CloudError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn get( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - solution_name: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Security/iotSecuritySolutions/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - solution_name - ); - let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(get::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: IoTSecuritySolutionModel = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: CloudError = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Err(get::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod get { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::CloudError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn create_or_update( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - solution_name: &str, - iot_security_solution_data: &IoTSecuritySolutionModel, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Security/iotSecuritySolutions/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - solution_name - ); - let mut url = url::Url::parse(url_str).map_err(create_or_update::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::PUT); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(create_or_update::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - req_builder = req_builder.header("content-type", "application/json"); - let req_body = azure_core::to_json(iot_security_solution_data).map_err(create_or_update::Error::SerializeError)?; - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(create_or_update::Error::BuildRequestError)?; - let rsp = http_client - .execute_request(req) - .await - .map_err(create_or_update::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: IoTSecuritySolutionModel = serde_json::from_slice(rsp_body) - .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(create_or_update::Response::Ok200(rsp_value)) - } - http::StatusCode::CREATED => { - let rsp_body = rsp.body(); - let rsp_value: IoTSecuritySolutionModel = serde_json::from_slice(rsp_body) - .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(create_or_update::Response::Created201(rsp_value)) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: CloudError = serde_json::from_slice(rsp_body) - .map_err(|source| create_or_update::Error::DeserializeError(source, rsp_body.clone()))?; - Err(create_or_update::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod create_or_update { - use crate::{models, models::*}; - #[derive(Debug)] - pub enum Response { - Ok200(IoTSecuritySolutionModel), - Created201(IoTSecuritySolutionModel), - } - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::CloudError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn update( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - solution_name: &str, - update_iot_security_solution_data: &UpdateIotSecuritySolutionData, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Security/iotSecuritySolutions/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - solution_name - ); - let mut url = url::Url::parse(url_str).map_err(update::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::PATCH); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(update::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - req_builder = req_builder.header("content-type", "application/json"); - let req_body = azure_core::to_json(update_iot_security_solution_data).map_err(update::Error::SerializeError)?; - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(update::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(update::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: IoTSecuritySolutionModel = - serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: CloudError = - serde_json::from_slice(rsp_body).map_err(|source| update::Error::DeserializeError(source, rsp_body.clone()))?; - Err(update::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod update { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::CloudError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn delete( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - solution_name: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Security/iotSecuritySolutions/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - solution_name - ); - let mut url = url::Url::parse(url_str).map_err(delete::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::DELETE); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(delete::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(delete::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(delete::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => Ok(delete::Response::Ok200), - http::StatusCode::NO_CONTENT => Ok(delete::Response::NoContent204), - status_code => { - let rsp_body = rsp.body(); - let rsp_value: CloudError = - serde_json::from_slice(rsp_body).map_err(|source| delete::Error::DeserializeError(source, rsp_body.clone()))?; - Err(delete::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod delete { - use crate::{models, models::*}; - #[derive(Debug)] - pub enum Response { - Ok200, - NoContent204, - } - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::CloudError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } -} -pub mod iot_alert_types { - use crate::models::*; - pub async fn list( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - solution_name: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Security/iotSecuritySolutions/{}/iotAlertTypes", - operation_config.base_path(), - subscription_id, - resource_group_name, - solution_name - ); - let mut url = url::Url::parse(url_str).map_err(list::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(list::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(list::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(list::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: IotAlertTypeList = - serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: CloudError = - serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; - Err(list::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod list { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::CloudError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn get( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - solution_name: &str, - iot_alert_type_name: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Security/iotSecuritySolutions/{}/iotAlertTypes/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - solution_name, - iot_alert_type_name - ); - let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(get::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: IotAlertType = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: CloudError = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Err(get::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod get { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::CloudError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } -} -pub mod iot_alerts { - use crate::models::*; - pub async fn list( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - solution_name: &str, - start_time_utc: Option<&str>, - start_time_utc: Option<&str>, - alert_type: Option<&str>, - compromised_entity: Option<&str>, - limit: Option, - skip_token: Option<&str>, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Security/iotSecuritySolutions/{}/iotAlerts", - operation_config.base_path(), - subscription_id, - resource_group_name, - solution_name - ); - let mut url = url::Url::parse(url_str).map_err(list::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(list::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - if let Some(start_time_utc) = start_time_utc { - url.query_pairs_mut().append_pair("startTimeUtc>", start_time_utc); - } - if let Some(start_time_utc) = start_time_utc { - url.query_pairs_mut().append_pair("startTimeUtc<", start_time_utc); - } - if let Some(alert_type) = alert_type { - url.query_pairs_mut().append_pair("alertType", alert_type); - } - if let Some(compromised_entity) = compromised_entity { - url.query_pairs_mut().append_pair("compromisedEntity", compromised_entity); - } - if let Some(limit) = limit { - url.query_pairs_mut().append_pair("$limit", limit.to_string().as_str()); - } - if let Some(skip_token) = skip_token { - url.query_pairs_mut().append_pair("$skipToken", skip_token); - } - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(list::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(list::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: IotAlertList = - serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: CloudError = - serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; - Err(list::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod list { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::CloudError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn get( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - solution_name: &str, - iot_alert_id: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Security/iotSecuritySolutions/{}/iotAlerts/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - solution_name, - iot_alert_id - ); - let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(get::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: IotAlert = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: CloudError = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Err(get::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod get { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::CloudError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } -} -pub mod iot_recommendation_types { - use crate::models::*; - pub async fn list( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - solution_name: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Security/iotSecuritySolutions/{}/iotRecommendationTypes", - operation_config.base_path(), - subscription_id, - resource_group_name, - solution_name - ); - let mut url = url::Url::parse(url_str).map_err(list::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(list::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(list::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(list::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: IotRecommendationTypeList = - serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: CloudError = - serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; - Err(list::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod list { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::CloudError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn get( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - solution_name: &str, - iot_recommendation_type_name: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Security/iotSecuritySolutions/{}/iotRecommendationTypes/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - solution_name, - iot_recommendation_type_name - ); - let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(get::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: IotRecommendationType = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: CloudError = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Err(get::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod get { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::CloudError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } -} -pub mod iot_recommendations { - use crate::models::*; - pub async fn list( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - solution_name: &str, - recommendation_type: Option<&str>, - device_id: Option<&str>, - limit: Option, - skip_token: Option<&str>, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Security/iotSecuritySolutions/{}/iotRecommendations", - operation_config.base_path(), - subscription_id, - resource_group_name, - solution_name - ); - let mut url = url::Url::parse(url_str).map_err(list::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(list::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - if let Some(recommendation_type) = recommendation_type { - url.query_pairs_mut().append_pair("recommendationType", recommendation_type); - } - if let Some(device_id) = device_id { - url.query_pairs_mut().append_pair("deviceId", device_id); - } - if let Some(limit) = limit { - url.query_pairs_mut().append_pair("$limit", limit.to_string().as_str()); - } - if let Some(skip_token) = skip_token { - url.query_pairs_mut().append_pair("$skipToken", skip_token); - } - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(list::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(list::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: IotRecommendationList = - serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: CloudError = - serde_json::from_slice(rsp_body).map_err(|source| list::Error::DeserializeError(source, rsp_body.clone()))?; - Err(list::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod list { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::CloudError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } - pub async fn get( - operation_config: &crate::OperationConfig, - subscription_id: &str, - resource_group_name: &str, - solution_name: &str, - iot_recommendation_id: &str, - ) -> std::result::Result { - let http_client = operation_config.http_client(); - let url_str = &format!( - "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Security/iotSecuritySolutions/{}/iotRecommendations/{}", - operation_config.base_path(), - subscription_id, - resource_group_name, - solution_name, - iot_recommendation_id - ); - let mut url = url::Url::parse(url_str).map_err(get::Error::ParseUrlError)?; - let mut req_builder = http::request::Builder::new(); - req_builder = req_builder.method(http::Method::GET); - if let Some(token_credential) = operation_config.token_credential() { - let token_response = token_credential - .get_token(operation_config.token_credential_resource()) - .await - .map_err(get::Error::GetTokenError)?; - req_builder = req_builder.header(http::header::AUTHORIZATION, format!("Bearer {}", token_response.token.secret())); - } - url.query_pairs_mut().append_pair("api-version", operation_config.api_version()); - let req_body = bytes::Bytes::from_static(azure_core::EMPTY_BODY); - req_builder = req_builder.uri(url.as_str()); - let req = req_builder.body(req_body).map_err(get::Error::BuildRequestError)?; - let rsp = http_client.execute_request(req).await.map_err(get::Error::ExecuteRequestError)?; - match rsp.status() { - http::StatusCode::OK => { - let rsp_body = rsp.body(); - let rsp_value: IotRecommendation = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Ok(rsp_value) - } - status_code => { - let rsp_body = rsp.body(); - let rsp_value: CloudError = - serde_json::from_slice(rsp_body).map_err(|source| get::Error::DeserializeError(source, rsp_body.clone()))?; - Err(get::Error::DefaultResponse { - status_code, - value: rsp_value, - }) - } - } - } - pub mod get { - use crate::{models, models::*}; - #[derive(Debug, thiserror :: Error)] - pub enum Error { - #[error("HTTP status code {}", status_code)] - DefaultResponse { - status_code: http::StatusCode, - value: models::CloudError, - }, - #[error("Failed to parse request URL: {0}")] - ParseUrlError(url::ParseError), - #[error("Failed to build request: {0}")] - BuildRequestError(http::Error), - #[error("Failed to execute request: {0}")] - ExecuteRequestError(azure_core::HttpError), - #[error("Failed to serialize request body: {0}")] - SerializeError(serde_json::Error), - #[error("Failed to deserialize response: {0}, body: {1:?}")] - DeserializeError(serde_json::Error, bytes::Bytes), - #[error("Failed to get access token: {0}")] - GetTokenError(azure_core::Error), - } - } -} diff --git a/services/mgmt/security/src/package_2020_01_only/operations.rs b/services/mgmt/security/src/package_2020_01_only/operations.rs index 9a63cf584b..b3ffa398f5 100644 --- a/services/mgmt/security/src/package_2020_01_only/operations.rs +++ b/services/mgmt/security/src/package_2020_01_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod adaptive_network_hardenings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_extended_resource( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -62,7 +62,7 @@ pub mod adaptive_network_hardenings { } } pub mod list_by_extended_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -138,7 +138,7 @@ pub mod adaptive_network_hardenings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -217,7 +217,7 @@ pub mod adaptive_network_hardenings { } } pub mod enforce { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -246,7 +246,7 @@ pub mod adaptive_network_hardenings { } } pub mod allowed_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -291,7 +291,7 @@ pub mod allowed_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -362,7 +362,7 @@ pub mod allowed_connections { } } pub mod list_by_home_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -434,7 +434,7 @@ pub mod allowed_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -458,7 +458,7 @@ pub mod allowed_connections { } } pub mod adaptive_application_controls { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -512,7 +512,7 @@ pub mod adaptive_application_controls { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -582,7 +582,7 @@ pub mod adaptive_application_controls { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -654,7 +654,7 @@ pub mod adaptive_application_controls { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -721,7 +721,7 @@ pub mod adaptive_application_controls { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -751,7 +751,7 @@ pub mod adaptive_application_controls { } } pub mod assessments_metadata { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Security/assessmentMetadata", operation_config.base_path(),); @@ -789,7 +789,7 @@ pub mod assessments_metadata { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -855,7 +855,7 @@ pub mod assessments_metadata { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -924,7 +924,7 @@ pub mod assessments_metadata { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -995,7 +995,7 @@ pub mod assessments_metadata { } } pub mod get_in_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1070,7 +1070,7 @@ pub mod assessments_metadata { } } pub mod create_in_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1138,7 +1138,7 @@ pub mod assessments_metadata { } } pub mod delete_in_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1162,7 +1162,7 @@ pub mod assessments_metadata { } } pub mod assessments { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, scope: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -1204,7 +1204,7 @@ pub mod assessments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1276,7 +1276,7 @@ pub mod assessments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1355,7 +1355,7 @@ pub mod assessments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(SecurityAssessment), @@ -1424,7 +1424,7 @@ pub mod assessments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1453,7 +1453,7 @@ pub mod assessments { } } pub mod discovered_security_solutions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1498,7 +1498,7 @@ pub mod discovered_security_solutions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1569,7 +1569,7 @@ pub mod discovered_security_solutions { } } pub mod list_by_home_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1641,7 +1641,7 @@ pub mod discovered_security_solutions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1665,7 +1665,7 @@ pub mod discovered_security_solutions { } } pub mod security_solutions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1710,7 +1710,7 @@ pub mod security_solutions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1782,7 +1782,7 @@ pub mod security_solutions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1806,7 +1806,7 @@ pub mod security_solutions { } } pub mod security_solutions_reference_data { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1851,7 +1851,7 @@ pub mod security_solutions_reference_data { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1922,7 +1922,7 @@ pub mod security_solutions_reference_data { } } pub mod list_by_home_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1946,7 +1946,7 @@ pub mod security_solutions_reference_data { } } pub mod external_security_solutions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1991,7 +1991,7 @@ pub mod external_security_solutions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2062,7 +2062,7 @@ pub mod external_security_solutions { } } pub mod list_by_home_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2134,7 +2134,7 @@ pub mod external_security_solutions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2158,7 +2158,7 @@ pub mod external_security_solutions { } } pub mod jit_network_access_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2203,7 +2203,7 @@ pub mod jit_network_access_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2274,7 +2274,7 @@ pub mod jit_network_access_policies { } } pub mod list_by_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2347,7 +2347,7 @@ pub mod jit_network_access_policies { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2422,7 +2422,7 @@ pub mod jit_network_access_policies { } } pub mod list_by_resource_group_and_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2494,7 +2494,7 @@ pub mod jit_network_access_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2571,7 +2571,7 @@ pub mod jit_network_access_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2639,7 +2639,7 @@ pub mod jit_network_access_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2723,7 +2723,7 @@ pub mod jit_network_access_policies { } } pub mod initiate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2747,7 +2747,7 @@ pub mod jit_network_access_policies { } } pub mod server_vulnerability_assessment { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_extended_resource( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2805,7 +2805,7 @@ pub mod server_vulnerability_assessment { } } pub mod list_by_extended_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2881,7 +2881,7 @@ pub mod server_vulnerability_assessment { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2960,7 +2960,7 @@ pub mod server_vulnerability_assessment { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3033,7 +3033,7 @@ pub mod server_vulnerability_assessment { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3063,7 +3063,7 @@ pub mod server_vulnerability_assessment { } } pub mod topology { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, subscription_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -3105,7 +3105,7 @@ pub mod topology { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3176,7 +3176,7 @@ pub mod topology { } } pub mod list_by_home_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3248,7 +3248,7 @@ pub mod topology { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3272,7 +3272,7 @@ pub mod topology { } } pub mod secure_scores { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3317,7 +3317,7 @@ pub mod secure_scores { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3385,7 +3385,7 @@ pub mod secure_scores { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3409,7 +3409,7 @@ pub mod secure_scores { } } pub mod secure_score_controls { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_secure_score( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3463,7 +3463,7 @@ pub mod secure_score_controls { } } pub mod list_by_secure_score { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3533,7 +3533,7 @@ pub mod secure_score_controls { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3557,7 +3557,7 @@ pub mod secure_score_controls { } } pub mod secure_score_control_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -3598,7 +3598,7 @@ pub mod secure_score_control_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3667,7 +3667,7 @@ pub mod secure_score_control_definitions { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3691,7 +3691,7 @@ pub mod secure_score_control_definitions { } } pub mod alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, subscription_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -3733,7 +3733,7 @@ pub mod alerts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3806,7 +3806,7 @@ pub mod alerts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3879,7 +3879,7 @@ pub mod alerts { } } pub mod list_subscription_level_alerts_by_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3954,7 +3954,7 @@ pub mod alerts { } } pub mod list_resource_group_level_alerts_by_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4029,7 +4029,7 @@ pub mod alerts { } } pub mod get_subscription_level_alert { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4106,7 +4106,7 @@ pub mod alerts { } } pub mod get_resource_group_level_alerts { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4178,7 +4178,7 @@ pub mod alerts { } } pub mod update_subscription_level_alert_state_to_dismiss { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4249,7 +4249,7 @@ pub mod alerts { } } pub mod update_subscription_level_state_to_resolve { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4321,7 +4321,7 @@ pub mod alerts { } } pub mod update_subscription_level_alert_state_to_reactivate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4394,7 +4394,7 @@ pub mod alerts { } } pub mod update_resource_group_level_state_to_resolve { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4468,7 +4468,7 @@ pub mod alerts { } } pub mod update_resource_group_level_alert_state_to_dismiss { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4542,7 +4542,7 @@ pub mod alerts { } } pub mod update_resource_group_level_alert_state_to_reactivate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/security/src/package_2020_07_preview_only/operations.rs b/services/mgmt/security/src/package_2020_07_preview_only/operations.rs index 7715a57759..833852ebf2 100644 --- a/services/mgmt/security/src/package_2020_07_preview_only/operations.rs +++ b/services/mgmt/security/src/package_2020_07_preview_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod sql_vulnerability_assessment_scans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scan_id: &str, @@ -53,7 +53,7 @@ pub mod sql_vulnerability_assessment_scans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -121,7 +121,7 @@ pub mod sql_vulnerability_assessment_scans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -145,7 +145,7 @@ pub mod sql_vulnerability_assessment_scans { } } pub mod sql_vulnerability_assessment_scan_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scan_id: &str, @@ -196,7 +196,7 @@ pub mod sql_vulnerability_assessment_scan_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -266,7 +266,7 @@ pub mod sql_vulnerability_assessment_scan_results { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -290,7 +290,7 @@ pub mod sql_vulnerability_assessment_scan_results { } } pub mod sql_vulnerability_assessment_baseline_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, rule_id: &str, @@ -339,7 +339,7 @@ pub mod sql_vulnerability_assessment_baseline_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -418,7 +418,7 @@ pub mod sql_vulnerability_assessment_baseline_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -484,7 +484,7 @@ pub mod sql_vulnerability_assessment_baseline_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -557,7 +557,7 @@ pub mod sql_vulnerability_assessment_baseline_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -631,7 +631,7 @@ pub mod sql_vulnerability_assessment_baseline_rules { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/security/src/package_2021_01_preview_only/operations.rs b/services/mgmt/security/src/package_2021_01_preview_only/operations.rs index d48d187b60..6de6e96929 100644 --- a/services/mgmt/security/src/package_2021_01_preview_only/operations.rs +++ b/services/mgmt/security/src/package_2021_01_preview_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod ingestion_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -49,7 +49,7 @@ pub mod ingestion_settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -117,7 +117,7 @@ pub mod ingestion_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -187,7 +187,7 @@ pub mod ingestion_settings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -251,7 +251,7 @@ pub mod ingestion_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -328,7 +328,7 @@ pub mod ingestion_settings { } } pub mod list_tokens { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -402,7 +402,7 @@ pub mod ingestion_settings { } } pub mod list_connection_strings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/security/src/package_2021_05_preview_only/operations.rs b/services/mgmt/security/src/package_2021_05_preview_only/operations.rs index f5873cc096..7e2db3bf48 100644 --- a/services/mgmt/security/src/package_2021_05_preview_only/operations.rs +++ b/services/mgmt/security/src/package_2021_05_preview_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod software_inventories { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_extended_resource( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -62,7 +62,7 @@ pub mod software_inventories { } } pub mod list_by_extended_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -131,7 +131,7 @@ pub mod software_inventories { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -207,7 +207,7 @@ pub mod software_inventories { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/security/src/package_composite_v1/operations.rs b/services/mgmt/security/src/package_composite_v1/operations.rs index b0c5a5dcdb..6fc534a430 100644 --- a/services/mgmt/security/src/package_composite_v1/operations.rs +++ b/services/mgmt/security/src/package_composite_v1/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod custom_assessment_automations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod custom_assessment_automations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -131,7 +131,7 @@ pub mod custom_assessment_automations { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CustomAssessmentAutomation), @@ -202,7 +202,7 @@ pub mod custom_assessment_automations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -280,7 +280,7 @@ pub mod custom_assessment_automations { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -349,7 +349,7 @@ pub mod custom_assessment_automations { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -373,7 +373,7 @@ pub mod custom_assessment_automations { } } pub mod custom_entity_store_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -422,7 +422,7 @@ pub mod custom_entity_store_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -500,7 +500,7 @@ pub mod custom_entity_store_assignments { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CustomEntityStoreAssignment), @@ -571,7 +571,7 @@ pub mod custom_entity_store_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -649,7 +649,7 @@ pub mod custom_entity_store_assignments { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -718,7 +718,7 @@ pub mod custom_entity_store_assignments { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -742,7 +742,7 @@ pub mod custom_entity_store_assignments { } } pub mod software_inventories { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_extended_resource( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -800,7 +800,7 @@ pub mod software_inventories { } } pub mod list_by_extended_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -869,7 +869,7 @@ pub mod software_inventories { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -945,7 +945,7 @@ pub mod software_inventories { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -969,7 +969,7 @@ pub mod software_inventories { } } pub mod sql_vulnerability_assessment_scans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scan_id: &str, @@ -1018,7 +1018,7 @@ pub mod sql_vulnerability_assessment_scans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1086,7 +1086,7 @@ pub mod sql_vulnerability_assessment_scans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1110,7 +1110,7 @@ pub mod sql_vulnerability_assessment_scans { } } pub mod sql_vulnerability_assessment_scan_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scan_id: &str, @@ -1161,7 +1161,7 @@ pub mod sql_vulnerability_assessment_scan_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1231,7 +1231,7 @@ pub mod sql_vulnerability_assessment_scan_results { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1255,7 +1255,7 @@ pub mod sql_vulnerability_assessment_scan_results { } } pub mod sql_vulnerability_assessment_baseline_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, rule_id: &str, @@ -1304,7 +1304,7 @@ pub mod sql_vulnerability_assessment_baseline_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1383,7 +1383,7 @@ pub mod sql_vulnerability_assessment_baseline_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1449,7 +1449,7 @@ pub mod sql_vulnerability_assessment_baseline_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1522,7 +1522,7 @@ pub mod sql_vulnerability_assessment_baseline_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1596,7 +1596,7 @@ pub mod sql_vulnerability_assessment_baseline_rules { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1620,7 +1620,7 @@ pub mod sql_vulnerability_assessment_baseline_rules { } } pub mod secure_scores { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1665,7 +1665,7 @@ pub mod secure_scores { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1733,7 +1733,7 @@ pub mod secure_scores { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1757,7 +1757,7 @@ pub mod secure_scores { } } pub mod secure_score_controls { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_secure_score( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1811,7 +1811,7 @@ pub mod secure_score_controls { } } pub mod list_by_secure_score { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1881,7 +1881,7 @@ pub mod secure_score_controls { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1905,7 +1905,7 @@ pub mod secure_score_controls { } } pub mod secure_score_control_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -1946,7 +1946,7 @@ pub mod secure_score_control_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2015,7 +2015,7 @@ pub mod secure_score_control_definitions { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2039,7 +2039,7 @@ pub mod secure_score_control_definitions { } } pub mod connectors { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2084,7 +2084,7 @@ pub mod connectors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2152,7 +2152,7 @@ pub mod connectors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2225,7 +2225,7 @@ pub mod connectors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2289,7 +2289,7 @@ pub mod connectors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2318,7 +2318,7 @@ pub mod connectors { } } pub mod automations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2363,7 +2363,7 @@ pub mod automations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2436,7 +2436,7 @@ pub mod automations { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2506,7 +2506,7 @@ pub mod automations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2587,7 +2587,7 @@ pub mod automations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Automation), @@ -2657,7 +2657,7 @@ pub mod automations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2732,7 +2732,7 @@ pub mod automations { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2756,7 +2756,7 @@ pub mod automations { } } pub mod sub_assessments { - use crate::models::*; + use super::{models, models::*}; pub async fn list_all( operation_config: &crate::OperationConfig, scope: &str, @@ -2804,7 +2804,7 @@ pub mod sub_assessments { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2872,7 +2872,7 @@ pub mod sub_assessments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2942,7 +2942,7 @@ pub mod sub_assessments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2966,7 +2966,7 @@ pub mod sub_assessments { } } pub mod regulatory_compliance_standards { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3015,7 +3015,7 @@ pub mod regulatory_compliance_standards { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3083,7 +3083,7 @@ pub mod regulatory_compliance_standards { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3107,7 +3107,7 @@ pub mod regulatory_compliance_standards { } } pub mod regulatory_compliance_controls { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3158,7 +3158,7 @@ pub mod regulatory_compliance_controls { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3228,7 +3228,7 @@ pub mod regulatory_compliance_controls { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3252,7 +3252,7 @@ pub mod regulatory_compliance_controls { } } pub mod regulatory_compliance_assessments { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3299,7 +3299,7 @@ pub mod regulatory_compliance_assessments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3364,7 +3364,7 @@ pub mod regulatory_compliance_assessments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3388,7 +3388,7 @@ pub mod regulatory_compliance_assessments { } } pub mod pricings { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, subscription_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -3430,7 +3430,7 @@ pub mod pricings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3503,7 +3503,7 @@ pub mod pricings { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3576,7 +3576,7 @@ pub mod pricings { } } pub mod get_subscription_pricing { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3651,7 +3651,7 @@ pub mod pricings { } } pub mod update_subscription_pricing { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3726,7 +3726,7 @@ pub mod pricings { } } pub mod get_resource_group_pricing { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3803,7 +3803,7 @@ pub mod pricings { } } pub mod create_or_update_resource_group_pricing { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3827,7 +3827,7 @@ pub mod pricings { } } pub mod security_contacts { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3872,7 +3872,7 @@ pub mod security_contacts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3940,7 +3940,7 @@ pub mod security_contacts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4010,7 +4010,7 @@ pub mod security_contacts { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4080,7 +4080,7 @@ pub mod security_contacts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4143,7 +4143,7 @@ pub mod security_contacts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4167,7 +4167,7 @@ pub mod security_contacts { } } pub mod workspace_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4212,7 +4212,7 @@ pub mod workspace_settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4280,7 +4280,7 @@ pub mod workspace_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4350,7 +4350,7 @@ pub mod workspace_settings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4420,7 +4420,7 @@ pub mod workspace_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4483,7 +4483,7 @@ pub mod workspace_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4507,7 +4507,7 @@ pub mod workspace_settings { } } pub mod auto_provisioning_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4552,7 +4552,7 @@ pub mod auto_provisioning_settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4620,7 +4620,7 @@ pub mod auto_provisioning_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4690,7 +4690,7 @@ pub mod auto_provisioning_settings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4714,7 +4714,7 @@ pub mod auto_provisioning_settings { } } pub mod compliances { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, scope: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -4756,7 +4756,7 @@ pub mod compliances { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4824,7 +4824,7 @@ pub mod compliances { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4848,7 +4848,7 @@ pub mod compliances { } } pub mod advanced_threat_protection { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_id: &str, @@ -4895,7 +4895,7 @@ pub mod advanced_threat_protection { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4965,7 +4965,7 @@ pub mod advanced_threat_protection { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4989,7 +4989,7 @@ pub mod advanced_threat_protection { } } pub mod device_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_id: &str, @@ -5034,7 +5034,7 @@ pub mod device_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5102,7 +5102,7 @@ pub mod device_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5181,7 +5181,7 @@ pub mod device_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeviceSecurityGroup), @@ -5250,7 +5250,7 @@ pub mod device_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5279,7 +5279,7 @@ pub mod device_security_groups { } } pub mod settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, subscription_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -5321,7 +5321,7 @@ pub mod settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5389,7 +5389,7 @@ pub mod settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5459,7 +5459,7 @@ pub mod settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5483,7 +5483,7 @@ pub mod settings { } } pub mod information_protection_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scope: &str, @@ -5530,7 +5530,7 @@ pub mod information_protection_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5609,7 +5609,7 @@ pub mod information_protection_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(InformationProtectionPolicy), @@ -5680,7 +5680,7 @@ pub mod information_protection_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5704,7 +5704,7 @@ pub mod information_protection_policies { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Security/operations", operation_config.base_path(),); @@ -5742,7 +5742,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5766,7 +5766,7 @@ pub mod operations { } } pub mod locations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5811,7 +5811,7 @@ pub mod locations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5879,7 +5879,7 @@ pub mod locations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5903,7 +5903,7 @@ pub mod locations { } } pub mod tasks { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5952,7 +5952,7 @@ pub mod tasks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6027,7 +6027,7 @@ pub mod tasks { } } pub mod list_by_home_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6102,7 +6102,7 @@ pub mod tasks { } } pub mod get_subscription_level_task { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6175,7 +6175,7 @@ pub mod tasks { } } pub mod update_subscription_level_task_state { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6254,7 +6254,7 @@ pub mod tasks { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6331,7 +6331,7 @@ pub mod tasks { } } pub mod get_resource_group_level_task { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6406,7 +6406,7 @@ pub mod tasks { } } pub mod update_resource_group_level_task_state { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6430,7 +6430,7 @@ pub mod tasks { } } pub mod alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6487,7 +6487,7 @@ pub mod alerts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6572,7 +6572,7 @@ pub mod alerts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6657,7 +6657,7 @@ pub mod alerts { } } pub mod list_subscription_level_alerts_by_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6744,7 +6744,7 @@ pub mod alerts { } } pub mod list_resource_group_level_alerts_by_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6819,7 +6819,7 @@ pub mod alerts { } } pub mod get_subscription_level_alert { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6896,7 +6896,7 @@ pub mod alerts { } } pub mod get_resource_group_level_alerts { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6968,7 +6968,7 @@ pub mod alerts { } } pub mod update_subscription_level_alert_state_to_dismiss { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7040,7 +7040,7 @@ pub mod alerts { } } pub mod update_subscription_level_alert_state_to_reactivate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7114,7 +7114,7 @@ pub mod alerts { } } pub mod update_resource_group_level_alert_state_to_dismiss { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7188,7 +7188,7 @@ pub mod alerts { } } pub mod update_resource_group_level_alert_state_to_reactivate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7212,7 +7212,7 @@ pub mod alerts { } } pub mod discovered_security_solutions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7257,7 +7257,7 @@ pub mod discovered_security_solutions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7328,7 +7328,7 @@ pub mod discovered_security_solutions { } } pub mod list_by_home_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7400,7 +7400,7 @@ pub mod discovered_security_solutions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7424,7 +7424,7 @@ pub mod discovered_security_solutions { } } pub mod jit_network_access_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7469,7 +7469,7 @@ pub mod jit_network_access_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7540,7 +7540,7 @@ pub mod jit_network_access_policies { } } pub mod list_by_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7613,7 +7613,7 @@ pub mod jit_network_access_policies { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7688,7 +7688,7 @@ pub mod jit_network_access_policies { } } pub mod list_by_resource_group_and_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7760,7 +7760,7 @@ pub mod jit_network_access_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7837,7 +7837,7 @@ pub mod jit_network_access_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7905,7 +7905,7 @@ pub mod jit_network_access_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7989,7 +7989,7 @@ pub mod jit_network_access_policies { } } pub mod initiate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8013,7 +8013,7 @@ pub mod jit_network_access_policies { } } pub mod adaptive_application_controls { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8067,7 +8067,7 @@ pub mod adaptive_application_controls { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8137,7 +8137,7 @@ pub mod adaptive_application_controls { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8209,7 +8209,7 @@ pub mod adaptive_application_controls { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8276,7 +8276,7 @@ pub mod adaptive_application_controls { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8306,7 +8306,7 @@ pub mod adaptive_application_controls { } } pub mod external_security_solutions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8351,7 +8351,7 @@ pub mod external_security_solutions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8422,7 +8422,7 @@ pub mod external_security_solutions { } } pub mod list_by_home_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8494,7 +8494,7 @@ pub mod external_security_solutions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8518,7 +8518,7 @@ pub mod external_security_solutions { } } pub mod topology { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, subscription_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -8560,7 +8560,7 @@ pub mod topology { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8631,7 +8631,7 @@ pub mod topology { } } pub mod list_by_home_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8703,7 +8703,7 @@ pub mod topology { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8727,7 +8727,7 @@ pub mod topology { } } pub mod allowed_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8772,7 +8772,7 @@ pub mod allowed_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8843,7 +8843,7 @@ pub mod allowed_connections { } } pub mod list_by_home_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8915,7 +8915,7 @@ pub mod allowed_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8939,7 +8939,7 @@ pub mod allowed_connections { } } pub mod adaptive_network_hardenings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_extended_resource( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8997,7 +8997,7 @@ pub mod adaptive_network_hardenings { } } pub mod list_by_extended_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9073,7 +9073,7 @@ pub mod adaptive_network_hardenings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9152,7 +9152,7 @@ pub mod adaptive_network_hardenings { } } pub mod enforce { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9181,7 +9181,7 @@ pub mod adaptive_network_hardenings { } } pub mod alerts_suppression_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9230,7 +9230,7 @@ pub mod alerts_suppression_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9298,7 +9298,7 @@ pub mod alerts_suppression_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9368,7 +9368,7 @@ pub mod alerts_suppression_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9431,7 +9431,7 @@ pub mod alerts_suppression_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9455,7 +9455,7 @@ pub mod alerts_suppression_rules { } } pub mod ingestion_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9500,7 +9500,7 @@ pub mod ingestion_settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9568,7 +9568,7 @@ pub mod ingestion_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9638,7 +9638,7 @@ pub mod ingestion_settings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9702,7 +9702,7 @@ pub mod ingestion_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9779,7 +9779,7 @@ pub mod ingestion_settings { } } pub mod list_tokens { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9853,7 +9853,7 @@ pub mod ingestion_settings { } } pub mod list_connection_strings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/security/src/package_composite_v2/operations.rs b/services/mgmt/security/src/package_composite_v2/operations.rs index fb5358201c..994c61c4f6 100644 --- a/services/mgmt/security/src/package_composite_v2/operations.rs +++ b/services/mgmt/security/src/package_composite_v2/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod custom_assessment_automations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod custom_assessment_automations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -131,7 +131,7 @@ pub mod custom_assessment_automations { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CustomAssessmentAutomation), @@ -202,7 +202,7 @@ pub mod custom_assessment_automations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -280,7 +280,7 @@ pub mod custom_assessment_automations { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -349,7 +349,7 @@ pub mod custom_assessment_automations { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -373,7 +373,7 @@ pub mod custom_assessment_automations { } } pub mod custom_entity_store_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -422,7 +422,7 @@ pub mod custom_entity_store_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -500,7 +500,7 @@ pub mod custom_entity_store_assignments { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CustomEntityStoreAssignment), @@ -571,7 +571,7 @@ pub mod custom_entity_store_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -649,7 +649,7 @@ pub mod custom_entity_store_assignments { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -718,7 +718,7 @@ pub mod custom_entity_store_assignments { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -742,7 +742,7 @@ pub mod custom_entity_store_assignments { } } pub mod software_inventories { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_extended_resource( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -800,7 +800,7 @@ pub mod software_inventories { } } pub mod list_by_extended_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -869,7 +869,7 @@ pub mod software_inventories { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -945,7 +945,7 @@ pub mod software_inventories { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -969,7 +969,7 @@ pub mod software_inventories { } } pub mod sql_vulnerability_assessment_scans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scan_id: &str, @@ -1018,7 +1018,7 @@ pub mod sql_vulnerability_assessment_scans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1086,7 +1086,7 @@ pub mod sql_vulnerability_assessment_scans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1110,7 +1110,7 @@ pub mod sql_vulnerability_assessment_scans { } } pub mod sql_vulnerability_assessment_scan_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scan_id: &str, @@ -1161,7 +1161,7 @@ pub mod sql_vulnerability_assessment_scan_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1231,7 +1231,7 @@ pub mod sql_vulnerability_assessment_scan_results { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1255,7 +1255,7 @@ pub mod sql_vulnerability_assessment_scan_results { } } pub mod sql_vulnerability_assessment_baseline_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, rule_id: &str, @@ -1304,7 +1304,7 @@ pub mod sql_vulnerability_assessment_baseline_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1383,7 +1383,7 @@ pub mod sql_vulnerability_assessment_baseline_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1449,7 +1449,7 @@ pub mod sql_vulnerability_assessment_baseline_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1522,7 +1522,7 @@ pub mod sql_vulnerability_assessment_baseline_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1596,7 +1596,7 @@ pub mod sql_vulnerability_assessment_baseline_rules { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1620,7 +1620,7 @@ pub mod sql_vulnerability_assessment_baseline_rules { } } pub mod secure_scores { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1665,7 +1665,7 @@ pub mod secure_scores { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1733,7 +1733,7 @@ pub mod secure_scores { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1757,7 +1757,7 @@ pub mod secure_scores { } } pub mod secure_score_controls { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_secure_score( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1811,7 +1811,7 @@ pub mod secure_score_controls { } } pub mod list_by_secure_score { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1881,7 +1881,7 @@ pub mod secure_score_controls { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1905,7 +1905,7 @@ pub mod secure_score_controls { } } pub mod secure_score_control_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -1946,7 +1946,7 @@ pub mod secure_score_control_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2015,7 +2015,7 @@ pub mod secure_score_control_definitions { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2039,7 +2039,7 @@ pub mod secure_score_control_definitions { } } pub mod connectors { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2084,7 +2084,7 @@ pub mod connectors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2152,7 +2152,7 @@ pub mod connectors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2225,7 +2225,7 @@ pub mod connectors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2289,7 +2289,7 @@ pub mod connectors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2318,7 +2318,7 @@ pub mod connectors { } } pub mod automations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2363,7 +2363,7 @@ pub mod automations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2436,7 +2436,7 @@ pub mod automations { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2506,7 +2506,7 @@ pub mod automations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2587,7 +2587,7 @@ pub mod automations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Automation), @@ -2657,7 +2657,7 @@ pub mod automations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2732,7 +2732,7 @@ pub mod automations { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2756,7 +2756,7 @@ pub mod automations { } } pub mod sub_assessments { - use crate::models::*; + use super::{models, models::*}; pub async fn list_all( operation_config: &crate::OperationConfig, scope: &str, @@ -2804,7 +2804,7 @@ pub mod sub_assessments { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2872,7 +2872,7 @@ pub mod sub_assessments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2942,7 +2942,7 @@ pub mod sub_assessments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2966,7 +2966,7 @@ pub mod sub_assessments { } } pub mod regulatory_compliance_standards { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3015,7 +3015,7 @@ pub mod regulatory_compliance_standards { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3083,7 +3083,7 @@ pub mod regulatory_compliance_standards { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3107,7 +3107,7 @@ pub mod regulatory_compliance_standards { } } pub mod regulatory_compliance_controls { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3158,7 +3158,7 @@ pub mod regulatory_compliance_controls { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3228,7 +3228,7 @@ pub mod regulatory_compliance_controls { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3252,7 +3252,7 @@ pub mod regulatory_compliance_controls { } } pub mod regulatory_compliance_assessments { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3299,7 +3299,7 @@ pub mod regulatory_compliance_assessments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3364,7 +3364,7 @@ pub mod regulatory_compliance_assessments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3388,7 +3388,7 @@ pub mod regulatory_compliance_assessments { } } pub mod pricings { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, subscription_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -3430,7 +3430,7 @@ pub mod pricings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3498,7 +3498,7 @@ pub mod pricings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3568,7 +3568,7 @@ pub mod pricings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3592,7 +3592,7 @@ pub mod pricings { } } pub mod security_contacts { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3637,7 +3637,7 @@ pub mod security_contacts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3705,7 +3705,7 @@ pub mod security_contacts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3775,7 +3775,7 @@ pub mod security_contacts { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3845,7 +3845,7 @@ pub mod security_contacts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3908,7 +3908,7 @@ pub mod security_contacts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3932,7 +3932,7 @@ pub mod security_contacts { } } pub mod workspace_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3977,7 +3977,7 @@ pub mod workspace_settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4045,7 +4045,7 @@ pub mod workspace_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4115,7 +4115,7 @@ pub mod workspace_settings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4185,7 +4185,7 @@ pub mod workspace_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4248,7 +4248,7 @@ pub mod workspace_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4272,7 +4272,7 @@ pub mod workspace_settings { } } pub mod auto_provisioning_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4317,7 +4317,7 @@ pub mod auto_provisioning_settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4385,7 +4385,7 @@ pub mod auto_provisioning_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4455,7 +4455,7 @@ pub mod auto_provisioning_settings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4479,7 +4479,7 @@ pub mod auto_provisioning_settings { } } pub mod compliances { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, scope: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -4521,7 +4521,7 @@ pub mod compliances { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4589,7 +4589,7 @@ pub mod compliances { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4613,7 +4613,7 @@ pub mod compliances { } } pub mod advanced_threat_protection { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_id: &str, @@ -4660,7 +4660,7 @@ pub mod advanced_threat_protection { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4730,7 +4730,7 @@ pub mod advanced_threat_protection { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4754,7 +4754,7 @@ pub mod advanced_threat_protection { } } pub mod device_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_id: &str, @@ -4799,7 +4799,7 @@ pub mod device_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4867,7 +4867,7 @@ pub mod device_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4946,7 +4946,7 @@ pub mod device_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeviceSecurityGroup), @@ -5015,7 +5015,7 @@ pub mod device_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5044,7 +5044,7 @@ pub mod device_security_groups { } } pub mod settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, subscription_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -5086,7 +5086,7 @@ pub mod settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5154,7 +5154,7 @@ pub mod settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5224,7 +5224,7 @@ pub mod settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5248,7 +5248,7 @@ pub mod settings { } } pub mod information_protection_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scope: &str, @@ -5295,7 +5295,7 @@ pub mod information_protection_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5374,7 +5374,7 @@ pub mod information_protection_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(InformationProtectionPolicy), @@ -5445,7 +5445,7 @@ pub mod information_protection_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5469,7 +5469,7 @@ pub mod information_protection_policies { } } pub mod io_t_security_solutions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5518,7 +5518,7 @@ pub mod io_t_security_solutions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5542,7 +5542,7 @@ pub mod io_t_security_solutions { } } pub mod io_t_security_solutions_resource_group { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5593,7 +5593,7 @@ pub mod io_t_security_solutions_resource_group { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5617,7 +5617,7 @@ pub mod io_t_security_solutions_resource_group { } } pub mod iot_security_solution { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5666,7 +5666,7 @@ pub mod iot_security_solution { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5744,7 +5744,7 @@ pub mod iot_security_solution { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IoTSecuritySolutionModel), @@ -5821,7 +5821,7 @@ pub mod iot_security_solution { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5887,7 +5887,7 @@ pub mod iot_security_solution { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5916,7 +5916,7 @@ pub mod iot_security_solution { } } pub mod io_t_security_solutions_analytics { - use crate::models::*; + use super::{models, models::*}; pub async fn get_all( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5968,7 +5968,7 @@ pub mod io_t_security_solutions_analytics { } } pub mod get_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6041,7 +6041,7 @@ pub mod io_t_security_solutions_analytics { } } pub mod get_default { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6065,7 +6065,7 @@ pub mod io_t_security_solutions_analytics { } } pub mod io_t_security_solutions_analytics_aggregated_alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6112,7 +6112,7 @@ pub mod io_t_security_solutions_analytics_aggregated_alerts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6136,7 +6136,7 @@ pub mod io_t_security_solutions_analytics_aggregated_alerts { } } pub mod io_t_security_solutions_analytics_aggregated_alert { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6180,7 +6180,7 @@ pub mod io_t_security_solutions_analytics_aggregated_alert { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6244,7 +6244,7 @@ pub mod io_t_security_solutions_analytics_aggregated_alert { } } pub mod dismiss { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6268,7 +6268,7 @@ pub mod io_t_security_solutions_analytics_aggregated_alert { } } pub mod io_t_security_solutions_analytics_recommendation { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6312,7 +6312,7 @@ pub mod io_t_security_solutions_analytics_recommendation { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6336,7 +6336,7 @@ pub mod io_t_security_solutions_analytics_recommendation { } } pub mod io_t_security_solutions_analytics_recommendations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6383,7 +6383,7 @@ pub mod io_t_security_solutions_analytics_recommendations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6407,7 +6407,7 @@ pub mod io_t_security_solutions_analytics_recommendations { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Security/operations", operation_config.base_path(),); @@ -6445,7 +6445,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6469,7 +6469,7 @@ pub mod operations { } } pub mod locations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6514,7 +6514,7 @@ pub mod locations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6582,7 +6582,7 @@ pub mod locations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6606,7 +6606,7 @@ pub mod locations { } } pub mod tasks { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6655,7 +6655,7 @@ pub mod tasks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6730,7 +6730,7 @@ pub mod tasks { } } pub mod list_by_home_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6805,7 +6805,7 @@ pub mod tasks { } } pub mod get_subscription_level_task { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6878,7 +6878,7 @@ pub mod tasks { } } pub mod update_subscription_level_task_state { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6957,7 +6957,7 @@ pub mod tasks { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7034,7 +7034,7 @@ pub mod tasks { } } pub mod get_resource_group_level_task { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7109,7 +7109,7 @@ pub mod tasks { } } pub mod update_resource_group_level_task_state { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7133,7 +7133,7 @@ pub mod tasks { } } pub mod alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7194,7 +7194,7 @@ pub mod alerts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7283,7 +7283,7 @@ pub mod alerts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7372,7 +7372,7 @@ pub mod alerts { } } pub mod list_subscription_level_alerts_by_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7463,7 +7463,7 @@ pub mod alerts { } } pub mod list_resource_group_level_alerts_by_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7538,7 +7538,7 @@ pub mod alerts { } } pub mod get_subscription_level_alert { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7615,7 +7615,7 @@ pub mod alerts { } } pub mod get_resource_group_level_alerts { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7687,7 +7687,7 @@ pub mod alerts { } } pub mod update_subscription_level_alert_state_to_dismiss { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7759,7 +7759,7 @@ pub mod alerts { } } pub mod update_subscription_level_alert_state_to_reactivate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7833,7 +7833,7 @@ pub mod alerts { } } pub mod update_resource_group_level_alert_state_to_dismiss { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7907,7 +7907,7 @@ pub mod alerts { } } pub mod update_resource_group_level_alert_state_to_reactivate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7931,7 +7931,7 @@ pub mod alerts { } } pub mod discovered_security_solutions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7976,7 +7976,7 @@ pub mod discovered_security_solutions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8047,7 +8047,7 @@ pub mod discovered_security_solutions { } } pub mod list_by_home_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8119,7 +8119,7 @@ pub mod discovered_security_solutions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8143,7 +8143,7 @@ pub mod discovered_security_solutions { } } pub mod jit_network_access_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8188,7 +8188,7 @@ pub mod jit_network_access_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8259,7 +8259,7 @@ pub mod jit_network_access_policies { } } pub mod list_by_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8332,7 +8332,7 @@ pub mod jit_network_access_policies { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8407,7 +8407,7 @@ pub mod jit_network_access_policies { } } pub mod list_by_resource_group_and_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8479,7 +8479,7 @@ pub mod jit_network_access_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8556,7 +8556,7 @@ pub mod jit_network_access_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8624,7 +8624,7 @@ pub mod jit_network_access_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8708,7 +8708,7 @@ pub mod jit_network_access_policies { } } pub mod initiate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8732,7 +8732,7 @@ pub mod jit_network_access_policies { } } pub mod adaptive_application_controls { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8786,7 +8786,7 @@ pub mod adaptive_application_controls { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8856,7 +8856,7 @@ pub mod adaptive_application_controls { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8928,7 +8928,7 @@ pub mod adaptive_application_controls { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8995,7 +8995,7 @@ pub mod adaptive_application_controls { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9025,7 +9025,7 @@ pub mod adaptive_application_controls { } } pub mod external_security_solutions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9070,7 +9070,7 @@ pub mod external_security_solutions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9141,7 +9141,7 @@ pub mod external_security_solutions { } } pub mod list_by_home_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9213,7 +9213,7 @@ pub mod external_security_solutions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9237,7 +9237,7 @@ pub mod external_security_solutions { } } pub mod topology { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, subscription_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -9279,7 +9279,7 @@ pub mod topology { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9350,7 +9350,7 @@ pub mod topology { } } pub mod list_by_home_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9422,7 +9422,7 @@ pub mod topology { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9446,7 +9446,7 @@ pub mod topology { } } pub mod allowed_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9491,7 +9491,7 @@ pub mod allowed_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9562,7 +9562,7 @@ pub mod allowed_connections { } } pub mod list_by_home_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9634,7 +9634,7 @@ pub mod allowed_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9658,7 +9658,7 @@ pub mod allowed_connections { } } pub mod adaptive_network_hardenings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_extended_resource( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9716,7 +9716,7 @@ pub mod adaptive_network_hardenings { } } pub mod list_by_extended_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9792,7 +9792,7 @@ pub mod adaptive_network_hardenings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9871,7 +9871,7 @@ pub mod adaptive_network_hardenings { } } pub mod enforce { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9900,7 +9900,7 @@ pub mod adaptive_network_hardenings { } } pub mod alerts_suppression_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9949,7 +9949,7 @@ pub mod alerts_suppression_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10017,7 +10017,7 @@ pub mod alerts_suppression_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10087,7 +10087,7 @@ pub mod alerts_suppression_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10150,7 +10150,7 @@ pub mod alerts_suppression_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10174,7 +10174,7 @@ pub mod alerts_suppression_rules { } } pub mod ingestion_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10219,7 +10219,7 @@ pub mod ingestion_settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10287,7 +10287,7 @@ pub mod ingestion_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10357,7 +10357,7 @@ pub mod ingestion_settings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10421,7 +10421,7 @@ pub mod ingestion_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10498,7 +10498,7 @@ pub mod ingestion_settings { } } pub mod list_tokens { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10572,7 +10572,7 @@ pub mod ingestion_settings { } } pub mod list_connection_strings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/security/src/package_composite_v3/operations.rs b/services/mgmt/security/src/package_composite_v3/operations.rs index 2c846d3bca..02eed51086 100644 --- a/services/mgmt/security/src/package_composite_v3/operations.rs +++ b/services/mgmt/security/src/package_composite_v3/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod custom_assessment_automations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod custom_assessment_automations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -131,7 +131,7 @@ pub mod custom_assessment_automations { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CustomAssessmentAutomation), @@ -202,7 +202,7 @@ pub mod custom_assessment_automations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -280,7 +280,7 @@ pub mod custom_assessment_automations { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -349,7 +349,7 @@ pub mod custom_assessment_automations { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -373,7 +373,7 @@ pub mod custom_assessment_automations { } } pub mod custom_entity_store_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -422,7 +422,7 @@ pub mod custom_entity_store_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -500,7 +500,7 @@ pub mod custom_entity_store_assignments { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CustomEntityStoreAssignment), @@ -571,7 +571,7 @@ pub mod custom_entity_store_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -649,7 +649,7 @@ pub mod custom_entity_store_assignments { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -718,7 +718,7 @@ pub mod custom_entity_store_assignments { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -742,7 +742,7 @@ pub mod custom_entity_store_assignments { } } pub mod compliance_results { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, scope: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -784,7 +784,7 @@ pub mod compliance_results { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -852,7 +852,7 @@ pub mod compliance_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -876,7 +876,7 @@ pub mod compliance_results { } } pub mod pricings { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, subscription_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -918,7 +918,7 @@ pub mod pricings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -986,7 +986,7 @@ pub mod pricings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1056,7 +1056,7 @@ pub mod pricings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1080,7 +1080,7 @@ pub mod pricings { } } pub mod advanced_threat_protection { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_id: &str, @@ -1127,7 +1127,7 @@ pub mod advanced_threat_protection { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1197,7 +1197,7 @@ pub mod advanced_threat_protection { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1221,7 +1221,7 @@ pub mod advanced_threat_protection { } } pub mod device_security_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_id: &str, @@ -1266,7 +1266,7 @@ pub mod device_security_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1334,7 +1334,7 @@ pub mod device_security_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1413,7 +1413,7 @@ pub mod device_security_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeviceSecurityGroup), @@ -1482,7 +1482,7 @@ pub mod device_security_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1511,7 +1511,7 @@ pub mod device_security_groups { } } pub mod iot_security_solution { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1563,7 +1563,7 @@ pub mod iot_security_solution { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1640,7 +1640,7 @@ pub mod iot_security_solution { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1710,7 +1710,7 @@ pub mod iot_security_solution { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1791,7 +1791,7 @@ pub mod iot_security_solution { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IoTSecuritySolutionModel), @@ -1868,7 +1868,7 @@ pub mod iot_security_solution { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1934,7 +1934,7 @@ pub mod iot_security_solution { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1963,7 +1963,7 @@ pub mod iot_security_solution { } } pub mod iot_security_solution_analytics { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2012,7 +2012,7 @@ pub mod iot_security_solution_analytics { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2082,7 +2082,7 @@ pub mod iot_security_solution_analytics { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2106,7 +2106,7 @@ pub mod iot_security_solution_analytics { } } pub mod iot_security_solutions_analytics_aggregated_alert { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2153,7 +2153,7 @@ pub mod iot_security_solutions_analytics_aggregated_alert { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2218,7 +2218,7 @@ pub mod iot_security_solutions_analytics_aggregated_alert { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2282,7 +2282,7 @@ pub mod iot_security_solutions_analytics_aggregated_alert { } } pub mod dismiss { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2306,7 +2306,7 @@ pub mod iot_security_solutions_analytics_aggregated_alert { } } pub mod iot_security_solutions_analytics_recommendation { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2350,7 +2350,7 @@ pub mod iot_security_solutions_analytics_recommendation { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2418,7 +2418,7 @@ pub mod iot_security_solutions_analytics_recommendation { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2442,7 +2442,7 @@ pub mod iot_security_solutions_analytics_recommendation { } } pub mod locations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2487,7 +2487,7 @@ pub mod locations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2555,7 +2555,7 @@ pub mod locations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2579,7 +2579,7 @@ pub mod locations { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Security/operations", operation_config.base_path(),); @@ -2617,7 +2617,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2641,7 +2641,7 @@ pub mod operations { } } pub mod tasks { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2690,7 +2690,7 @@ pub mod tasks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2765,7 +2765,7 @@ pub mod tasks { } } pub mod list_by_home_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2840,7 +2840,7 @@ pub mod tasks { } } pub mod get_subscription_level_task { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2913,7 +2913,7 @@ pub mod tasks { } } pub mod update_subscription_level_task_state { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2992,7 +2992,7 @@ pub mod tasks { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3069,7 +3069,7 @@ pub mod tasks { } } pub mod get_resource_group_level_task { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3144,7 +3144,7 @@ pub mod tasks { } } pub mod update_resource_group_level_task_state { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3168,7 +3168,7 @@ pub mod tasks { } } pub mod auto_provisioning_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3213,7 +3213,7 @@ pub mod auto_provisioning_settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3281,7 +3281,7 @@ pub mod auto_provisioning_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3351,7 +3351,7 @@ pub mod auto_provisioning_settings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3375,7 +3375,7 @@ pub mod auto_provisioning_settings { } } pub mod compliances { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, scope: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -3417,7 +3417,7 @@ pub mod compliances { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3485,7 +3485,7 @@ pub mod compliances { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3509,7 +3509,7 @@ pub mod compliances { } } pub mod information_protection_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scope: &str, @@ -3556,7 +3556,7 @@ pub mod information_protection_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3635,7 +3635,7 @@ pub mod information_protection_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(InformationProtectionPolicy), @@ -3706,7 +3706,7 @@ pub mod information_protection_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3730,7 +3730,7 @@ pub mod information_protection_policies { } } pub mod security_contacts { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3775,7 +3775,7 @@ pub mod security_contacts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3843,7 +3843,7 @@ pub mod security_contacts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3913,7 +3913,7 @@ pub mod security_contacts { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3983,7 +3983,7 @@ pub mod security_contacts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4046,7 +4046,7 @@ pub mod security_contacts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4070,7 +4070,7 @@ pub mod security_contacts { } } pub mod workspace_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4115,7 +4115,7 @@ pub mod workspace_settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4183,7 +4183,7 @@ pub mod workspace_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4253,7 +4253,7 @@ pub mod workspace_settings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4323,7 +4323,7 @@ pub mod workspace_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4386,7 +4386,7 @@ pub mod workspace_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4410,7 +4410,7 @@ pub mod workspace_settings { } } pub mod regulatory_compliance_standards { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4459,7 +4459,7 @@ pub mod regulatory_compliance_standards { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4527,7 +4527,7 @@ pub mod regulatory_compliance_standards { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4551,7 +4551,7 @@ pub mod regulatory_compliance_standards { } } pub mod regulatory_compliance_controls { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4602,7 +4602,7 @@ pub mod regulatory_compliance_controls { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4672,7 +4672,7 @@ pub mod regulatory_compliance_controls { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4696,7 +4696,7 @@ pub mod regulatory_compliance_controls { } } pub mod regulatory_compliance_assessments { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4743,7 +4743,7 @@ pub mod regulatory_compliance_assessments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4808,7 +4808,7 @@ pub mod regulatory_compliance_assessments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4832,7 +4832,7 @@ pub mod regulatory_compliance_assessments { } } pub mod sub_assessments { - use crate::models::*; + use super::{models, models::*}; pub async fn list_all( operation_config: &crate::OperationConfig, scope: &str, @@ -4880,7 +4880,7 @@ pub mod sub_assessments { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4948,7 +4948,7 @@ pub mod sub_assessments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5018,7 +5018,7 @@ pub mod sub_assessments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5042,7 +5042,7 @@ pub mod sub_assessments { } } pub mod automations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5087,7 +5087,7 @@ pub mod automations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5160,7 +5160,7 @@ pub mod automations { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5230,7 +5230,7 @@ pub mod automations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5311,7 +5311,7 @@ pub mod automations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Automation), @@ -5381,7 +5381,7 @@ pub mod automations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5456,7 +5456,7 @@ pub mod automations { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5480,7 +5480,7 @@ pub mod automations { } } pub mod alerts_suppression_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5529,7 +5529,7 @@ pub mod alerts_suppression_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5597,7 +5597,7 @@ pub mod alerts_suppression_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5667,7 +5667,7 @@ pub mod alerts_suppression_rules { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5730,7 +5730,7 @@ pub mod alerts_suppression_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5754,7 +5754,7 @@ pub mod alerts_suppression_rules { } } pub mod server_vulnerability_assessment { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_extended_resource( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5812,7 +5812,7 @@ pub mod server_vulnerability_assessment { } } pub mod list_by_extended_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5888,7 +5888,7 @@ pub mod server_vulnerability_assessment { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5967,7 +5967,7 @@ pub mod server_vulnerability_assessment { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6040,7 +6040,7 @@ pub mod server_vulnerability_assessment { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6070,7 +6070,7 @@ pub mod server_vulnerability_assessment { } } pub mod assessments_metadata { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -6110,7 +6110,7 @@ pub mod assessments_metadata { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6176,7 +6176,7 @@ pub mod assessments_metadata { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6245,7 +6245,7 @@ pub mod assessments_metadata { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6316,7 +6316,7 @@ pub mod assessments_metadata { } } pub mod get_in_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6391,7 +6391,7 @@ pub mod assessments_metadata { } } pub mod create_in_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6459,7 +6459,7 @@ pub mod assessments_metadata { } } pub mod delete_in_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6483,7 +6483,7 @@ pub mod assessments_metadata { } } pub mod assessments { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, scope: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -6525,7 +6525,7 @@ pub mod assessments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6597,7 +6597,7 @@ pub mod assessments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6676,7 +6676,7 @@ pub mod assessments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(SecurityAssessmentResponse), @@ -6745,7 +6745,7 @@ pub mod assessments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6774,7 +6774,7 @@ pub mod assessments { } } pub mod adaptive_application_controls { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6828,7 +6828,7 @@ pub mod adaptive_application_controls { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6898,7 +6898,7 @@ pub mod adaptive_application_controls { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6970,7 +6970,7 @@ pub mod adaptive_application_controls { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7037,7 +7037,7 @@ pub mod adaptive_application_controls { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7067,7 +7067,7 @@ pub mod adaptive_application_controls { } } pub mod adaptive_network_hardenings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_extended_resource( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7125,7 +7125,7 @@ pub mod adaptive_network_hardenings { } } pub mod list_by_extended_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7201,7 +7201,7 @@ pub mod adaptive_network_hardenings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7280,7 +7280,7 @@ pub mod adaptive_network_hardenings { } } pub mod enforce { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7309,7 +7309,7 @@ pub mod adaptive_network_hardenings { } } pub mod allowed_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7354,7 +7354,7 @@ pub mod allowed_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7425,7 +7425,7 @@ pub mod allowed_connections { } } pub mod list_by_home_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7497,7 +7497,7 @@ pub mod allowed_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7521,7 +7521,7 @@ pub mod allowed_connections { } } pub mod topology { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, subscription_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -7563,7 +7563,7 @@ pub mod topology { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7634,7 +7634,7 @@ pub mod topology { } } pub mod list_by_home_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7706,7 +7706,7 @@ pub mod topology { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7730,7 +7730,7 @@ pub mod topology { } } pub mod jit_network_access_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7775,7 +7775,7 @@ pub mod jit_network_access_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7846,7 +7846,7 @@ pub mod jit_network_access_policies { } } pub mod list_by_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7919,7 +7919,7 @@ pub mod jit_network_access_policies { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7994,7 +7994,7 @@ pub mod jit_network_access_policies { } } pub mod list_by_resource_group_and_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8066,7 +8066,7 @@ pub mod jit_network_access_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8143,7 +8143,7 @@ pub mod jit_network_access_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8211,7 +8211,7 @@ pub mod jit_network_access_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8295,7 +8295,7 @@ pub mod jit_network_access_policies { } } pub mod initiate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8319,7 +8319,7 @@ pub mod jit_network_access_policies { } } pub mod discovered_security_solutions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8364,7 +8364,7 @@ pub mod discovered_security_solutions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8435,7 +8435,7 @@ pub mod discovered_security_solutions { } } pub mod list_by_home_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8507,7 +8507,7 @@ pub mod discovered_security_solutions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8531,7 +8531,7 @@ pub mod discovered_security_solutions { } } pub mod security_solutions_reference_data { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8576,7 +8576,7 @@ pub mod security_solutions_reference_data { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8647,7 +8647,7 @@ pub mod security_solutions_reference_data { } } pub mod list_by_home_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8671,7 +8671,7 @@ pub mod security_solutions_reference_data { } } pub mod external_security_solutions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8716,7 +8716,7 @@ pub mod external_security_solutions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8787,7 +8787,7 @@ pub mod external_security_solutions { } } pub mod list_by_home_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8859,7 +8859,7 @@ pub mod external_security_solutions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8883,7 +8883,7 @@ pub mod external_security_solutions { } } pub mod secure_scores { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8928,7 +8928,7 @@ pub mod secure_scores { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8996,7 +8996,7 @@ pub mod secure_scores { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9020,7 +9020,7 @@ pub mod secure_scores { } } pub mod secure_score_controls { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_secure_score( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9074,7 +9074,7 @@ pub mod secure_score_controls { } } pub mod list_by_secure_score { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9144,7 +9144,7 @@ pub mod secure_score_controls { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9168,7 +9168,7 @@ pub mod secure_score_controls { } } pub mod secure_score_control_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -9209,7 +9209,7 @@ pub mod secure_score_control_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9278,7 +9278,7 @@ pub mod secure_score_control_definitions { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9302,7 +9302,7 @@ pub mod secure_score_control_definitions { } } pub mod security_solutions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9347,7 +9347,7 @@ pub mod security_solutions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9419,7 +9419,7 @@ pub mod security_solutions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9443,7 +9443,7 @@ pub mod security_solutions { } } pub mod connectors { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9488,7 +9488,7 @@ pub mod connectors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9556,7 +9556,7 @@ pub mod connectors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9629,7 +9629,7 @@ pub mod connectors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9693,7 +9693,7 @@ pub mod connectors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9722,7 +9722,7 @@ pub mod connectors { } } pub mod sql_vulnerability_assessment_scans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scan_id: &str, @@ -9771,7 +9771,7 @@ pub mod sql_vulnerability_assessment_scans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9839,7 +9839,7 @@ pub mod sql_vulnerability_assessment_scans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9863,7 +9863,7 @@ pub mod sql_vulnerability_assessment_scans { } } pub mod sql_vulnerability_assessment_scan_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, scan_id: &str, @@ -9914,7 +9914,7 @@ pub mod sql_vulnerability_assessment_scan_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9984,7 +9984,7 @@ pub mod sql_vulnerability_assessment_scan_results { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10008,7 +10008,7 @@ pub mod sql_vulnerability_assessment_scan_results { } } pub mod sql_vulnerability_assessment_baseline_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, rule_id: &str, @@ -10057,7 +10057,7 @@ pub mod sql_vulnerability_assessment_baseline_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10136,7 +10136,7 @@ pub mod sql_vulnerability_assessment_baseline_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10202,7 +10202,7 @@ pub mod sql_vulnerability_assessment_baseline_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10275,7 +10275,7 @@ pub mod sql_vulnerability_assessment_baseline_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10349,7 +10349,7 @@ pub mod sql_vulnerability_assessment_baseline_rules { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10373,7 +10373,7 @@ pub mod sql_vulnerability_assessment_baseline_rules { } } pub mod alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, subscription_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -10415,7 +10415,7 @@ pub mod alerts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10488,7 +10488,7 @@ pub mod alerts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10561,7 +10561,7 @@ pub mod alerts { } } pub mod list_subscription_level_by_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10636,7 +10636,7 @@ pub mod alerts { } } pub mod list_resource_group_level_by_region { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10711,7 +10711,7 @@ pub mod alerts { } } pub mod get_subscription_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10788,7 +10788,7 @@ pub mod alerts { } } pub mod get_resource_group_level { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10859,7 +10859,7 @@ pub mod alerts { } } pub mod update_subscription_level_state_to_dismiss { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10930,7 +10930,7 @@ pub mod alerts { } } pub mod update_subscription_level_state_to_resolve { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11001,7 +11001,7 @@ pub mod alerts { } } pub mod update_subscription_level_state_to_activate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11074,7 +11074,7 @@ pub mod alerts { } } pub mod update_resource_group_level_state_to_resolve { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11147,7 +11147,7 @@ pub mod alerts { } } pub mod update_resource_group_level_state_to_dismiss { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11220,7 +11220,7 @@ pub mod alerts { } } pub mod update_resource_group_level_state_to_activate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11288,7 +11288,7 @@ pub mod alerts { } } pub mod simulate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11312,7 +11312,7 @@ pub mod alerts { } } pub mod settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, subscription_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -11354,7 +11354,7 @@ pub mod settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11422,7 +11422,7 @@ pub mod settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11492,7 +11492,7 @@ pub mod settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11516,7 +11516,7 @@ pub mod settings { } } pub mod ingestion_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11561,7 +11561,7 @@ pub mod ingestion_settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11629,7 +11629,7 @@ pub mod ingestion_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11699,7 +11699,7 @@ pub mod ingestion_settings { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11763,7 +11763,7 @@ pub mod ingestion_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11840,7 +11840,7 @@ pub mod ingestion_settings { } } pub mod list_tokens { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11914,7 +11914,7 @@ pub mod ingestion_settings { } } pub mod list_connection_strings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11938,7 +11938,7 @@ pub mod ingestion_settings { } } pub mod software_inventories { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_extended_resource( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11996,7 +11996,7 @@ pub mod software_inventories { } } pub mod list_by_extended_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12065,7 +12065,7 @@ pub mod software_inventories { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12141,7 +12141,7 @@ pub mod software_inventories { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/security/src/package_preview_2021_07/operations.rs b/services/mgmt/security/src/package_preview_2021_07/operations.rs index a9020a16f4..20f0c2dc19 100644 --- a/services/mgmt/security/src/package_preview_2021_07/operations.rs +++ b/services/mgmt/security/src/package_preview_2021_07/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod custom_assessment_automations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod custom_assessment_automations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -131,7 +131,7 @@ pub mod custom_assessment_automations { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CustomAssessmentAutomation), @@ -202,7 +202,7 @@ pub mod custom_assessment_automations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -280,7 +280,7 @@ pub mod custom_assessment_automations { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -349,7 +349,7 @@ pub mod custom_assessment_automations { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -373,7 +373,7 @@ pub mod custom_assessment_automations { } } pub mod custom_entity_store_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -422,7 +422,7 @@ pub mod custom_entity_store_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -500,7 +500,7 @@ pub mod custom_entity_store_assignments { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(CustomEntityStoreAssignment), @@ -571,7 +571,7 @@ pub mod custom_entity_store_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -649,7 +649,7 @@ pub mod custom_entity_store_assignments { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -718,7 +718,7 @@ pub mod custom_entity_store_assignments { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/security/src/package_preview_2021_08/operations.rs b/services/mgmt/security/src/package_preview_2021_08/operations.rs index f507dc9e96..a09e675f70 100644 --- a/services/mgmt/security/src/package_preview_2021_08/operations.rs +++ b/services/mgmt/security/src/package_preview_2021_08/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod standards { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -52,7 +52,7 @@ pub mod standards { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -120,7 +120,7 @@ pub mod standards { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -190,7 +190,7 @@ pub mod standards { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -271,7 +271,7 @@ pub mod standards { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Standard), @@ -342,7 +342,7 @@ pub mod standards { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -371,7 +371,7 @@ pub mod standards { } } pub mod assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -419,7 +419,7 @@ pub mod assignments { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -487,7 +487,7 @@ pub mod assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -557,7 +557,7 @@ pub mod assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -638,7 +638,7 @@ pub mod assignments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(Assignment), @@ -701,7 +701,7 @@ pub mod assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/securityandcompliance/Cargo.toml b/services/mgmt/securityandcompliance/Cargo.toml index 9437eeb0cb..5e902b0674 100644 --- a/services/mgmt/securityandcompliance/Cargo.toml +++ b/services/mgmt/securityandcompliance/Cargo.toml @@ -20,5 +20,6 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-01-11"] +no-default-version = [] "package-2021-01-11" = [] "package-2021-03-08" = [] diff --git a/services/mgmt/securityandcompliance/src/lib.rs b/services/mgmt/securityandcompliance/src/lib.rs index 1fcdbfe9ed..278e6c0835 100644 --- a/services/mgmt/securityandcompliance/src/lib.rs +++ b/services/mgmt/securityandcompliance/src/lib.rs @@ -1,13 +1,21 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-01-11")] -mod package_2021_01_11; -#[cfg(feature = "package-2021-01-11")] +pub mod package_2021_01_11; +#[cfg(all(feature = "package-2021-01-11", not(feature = "no-default-version")))] pub use package_2021_01_11::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-03-08")] -mod package_2021_03_08; +pub mod package_2021_03_08; use azure_core::setters; -#[cfg(feature = "package-2021-03-08")] +#[cfg(all(feature = "package-2021-03-08", not(feature = "no-default-version")))] pub use package_2021_03_08::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -31,7 +39,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/securityandcompliance/src/package_2021_01_11/operations.rs b/services/mgmt/securityandcompliance/src/package_2021_01_11/operations.rs index 7f1d27b3a9..a9650f4d6f 100644 --- a/services/mgmt/securityandcompliance/src/package_2021_01_11/operations.rs +++ b/services/mgmt/securityandcompliance/src/package_2021_01_11/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -45,7 +45,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -69,7 +69,7 @@ pub mod operations { } } pub mod operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -118,7 +118,7 @@ pub mod operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -142,7 +142,7 @@ pub mod operation_results { } } pub mod private_link_services_for_edm_upload { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -191,7 +191,7 @@ pub mod private_link_services_for_edm_upload { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -273,7 +273,7 @@ pub mod private_link_services_for_edm_upload { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServicesForEdmUploadDescription), @@ -356,7 +356,7 @@ pub mod private_link_services_for_edm_upload { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServicesForEdmUploadDescription), @@ -427,7 +427,7 @@ pub mod private_link_services_for_edm_upload { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -500,7 +500,7 @@ pub mod private_link_services_for_edm_upload { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -524,7 +524,7 @@ pub mod private_link_services_for_edm_upload { } } pub mod services { - use crate::models::*; + use super::{models, models::*}; pub async fn delete( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -570,7 +570,7 @@ pub mod services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -600,7 +600,7 @@ pub mod services { } } pub mod private_endpoint_connections_for_edm { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -646,7 +646,7 @@ pub mod private_endpoint_connections_for_edm { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -711,7 +711,7 @@ pub mod private_endpoint_connections_for_edm { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -787,7 +787,7 @@ pub mod private_endpoint_connections_for_edm { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -854,7 +854,7 @@ pub mod private_endpoint_connections_for_edm { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -884,7 +884,7 @@ pub mod private_endpoint_connections_for_edm { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -930,7 +930,7 @@ pub mod private_link_resources { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -995,7 +995,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1019,7 +1019,7 @@ pub mod private_link_resources { } } pub mod private_link_services_for_m365_compliance_center { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1068,7 +1068,7 @@ pub mod private_link_services_for_m365_compliance_center { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1150,7 +1150,7 @@ pub mod private_link_services_for_m365_compliance_center { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServicesForM365ComplianceCenterDescription), @@ -1233,7 +1233,7 @@ pub mod private_link_services_for_m365_compliance_center { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServicesForM365ComplianceCenterDescription), @@ -1305,7 +1305,7 @@ pub mod private_link_services_for_m365_compliance_center { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1377,7 +1377,7 @@ pub mod private_link_services_for_m365_compliance_center { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1450,7 +1450,7 @@ pub mod private_link_services_for_m365_compliance_center { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1474,7 +1474,7 @@ pub mod private_link_services_for_m365_compliance_center { } } pub mod private_endpoint_connections_comp { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1520,7 +1520,7 @@ pub mod private_endpoint_connections_comp { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1585,7 +1585,7 @@ pub mod private_endpoint_connections_comp { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1661,7 +1661,7 @@ pub mod private_endpoint_connections_comp { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -1728,7 +1728,7 @@ pub mod private_endpoint_connections_comp { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1758,7 +1758,7 @@ pub mod private_endpoint_connections_comp { } } pub mod private_link_resources_comp { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1804,7 +1804,7 @@ pub mod private_link_resources_comp { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1869,7 +1869,7 @@ pub mod private_link_resources_comp { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1893,7 +1893,7 @@ pub mod private_link_resources_comp { } } pub mod private_link_services_for_m365_security_center { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1942,7 +1942,7 @@ pub mod private_link_services_for_m365_security_center { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2024,7 +2024,7 @@ pub mod private_link_services_for_m365_security_center { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServicesForM365SecurityCenterDescription), @@ -2107,7 +2107,7 @@ pub mod private_link_services_for_m365_security_center { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServicesForM365SecurityCenterDescription), @@ -2179,7 +2179,7 @@ pub mod private_link_services_for_m365_security_center { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2251,7 +2251,7 @@ pub mod private_link_services_for_m365_security_center { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2324,7 +2324,7 @@ pub mod private_link_services_for_m365_security_center { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2348,7 +2348,7 @@ pub mod private_link_services_for_m365_security_center { } } pub mod private_endpoint_connections_sec { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2394,7 +2394,7 @@ pub mod private_endpoint_connections_sec { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2459,7 +2459,7 @@ pub mod private_endpoint_connections_sec { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2535,7 +2535,7 @@ pub mod private_endpoint_connections_sec { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -2602,7 +2602,7 @@ pub mod private_endpoint_connections_sec { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2632,7 +2632,7 @@ pub mod private_endpoint_connections_sec { } } pub mod private_link_resources_sec { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2678,7 +2678,7 @@ pub mod private_link_resources_sec { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2743,7 +2743,7 @@ pub mod private_link_resources_sec { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2767,7 +2767,7 @@ pub mod private_link_resources_sec { } } pub mod private_link_services_for_o365_management_activity_api { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2810,7 +2810,7 @@ pub mod private_link_services_for_o365_management_activity_api { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2886,7 +2886,7 @@ pub mod private_link_services_for_o365_management_activity_api { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServicesForO365ManagementActivityApiDescription), @@ -2963,7 +2963,7 @@ pub mod private_link_services_for_o365_management_activity_api { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServicesForO365ManagementActivityApiDescription), @@ -3029,7 +3029,7 @@ pub mod private_link_services_for_o365_management_activity_api { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3101,7 +3101,7 @@ pub mod private_link_services_for_o365_management_activity_api { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3169,7 +3169,7 @@ pub mod private_link_services_for_o365_management_activity_api { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3193,7 +3193,7 @@ pub mod private_link_services_for_o365_management_activity_api { } } pub mod private_endpoint_connections_adt_api { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3239,7 +3239,7 @@ pub mod private_endpoint_connections_adt_api { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3304,7 +3304,7 @@ pub mod private_endpoint_connections_adt_api { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3380,7 +3380,7 @@ pub mod private_endpoint_connections_adt_api { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -3447,7 +3447,7 @@ pub mod private_endpoint_connections_adt_api { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3477,7 +3477,7 @@ pub mod private_endpoint_connections_adt_api { } } pub mod private_link_resources_adt_api { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3523,7 +3523,7 @@ pub mod private_link_resources_adt_api { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3588,7 +3588,7 @@ pub mod private_link_resources_adt_api { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3612,7 +3612,7 @@ pub mod private_link_resources_adt_api { } } pub mod private_link_services_for_scc_powershell { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3661,7 +3661,7 @@ pub mod private_link_services_for_scc_powershell { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3743,7 +3743,7 @@ pub mod private_link_services_for_scc_powershell { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServicesForSccPowershellDescription), @@ -3826,7 +3826,7 @@ pub mod private_link_services_for_scc_powershell { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServicesForSccPowershellDescription), @@ -3898,7 +3898,7 @@ pub mod private_link_services_for_scc_powershell { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3970,7 +3970,7 @@ pub mod private_link_services_for_scc_powershell { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4043,7 +4043,7 @@ pub mod private_link_services_for_scc_powershell { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4067,7 +4067,7 @@ pub mod private_link_services_for_scc_powershell { } } pub mod private_endpoint_connections_for_scc_powershell { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4113,7 +4113,7 @@ pub mod private_endpoint_connections_for_scc_powershell { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4178,7 +4178,7 @@ pub mod private_endpoint_connections_for_scc_powershell { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4254,7 +4254,7 @@ pub mod private_endpoint_connections_for_scc_powershell { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -4321,7 +4321,7 @@ pub mod private_endpoint_connections_for_scc_powershell { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4351,7 +4351,7 @@ pub mod private_endpoint_connections_for_scc_powershell { } } pub mod private_link_resources_for_scc_powershell { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4397,7 +4397,7 @@ pub mod private_link_resources_for_scc_powershell { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4462,7 +4462,7 @@ pub mod private_link_resources_for_scc_powershell { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/securityandcompliance/src/package_2021_03_08/operations.rs b/services/mgmt/securityandcompliance/src/package_2021_03_08/operations.rs index 9087d702aa..47d713f7bc 100644 --- a/services/mgmt/securityandcompliance/src/package_2021_03_08/operations.rs +++ b/services/mgmt/securityandcompliance/src/package_2021_03_08/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -45,7 +45,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -69,7 +69,7 @@ pub mod operations { } } pub mod operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -118,7 +118,7 @@ pub mod operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -142,7 +142,7 @@ pub mod operation_results { } } pub mod private_link_services_for_edm_upload { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -191,7 +191,7 @@ pub mod private_link_services_for_edm_upload { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -273,7 +273,7 @@ pub mod private_link_services_for_edm_upload { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServicesForEdmUploadDescription), @@ -356,7 +356,7 @@ pub mod private_link_services_for_edm_upload { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServicesForEdmUploadDescription), @@ -427,7 +427,7 @@ pub mod private_link_services_for_edm_upload { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -500,7 +500,7 @@ pub mod private_link_services_for_edm_upload { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -524,7 +524,7 @@ pub mod private_link_services_for_edm_upload { } } pub mod services { - use crate::models::*; + use super::{models, models::*}; pub async fn delete( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -570,7 +570,7 @@ pub mod services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -600,7 +600,7 @@ pub mod services { } } pub mod private_endpoint_connections_for_edm { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -646,7 +646,7 @@ pub mod private_endpoint_connections_for_edm { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -711,7 +711,7 @@ pub mod private_endpoint_connections_for_edm { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -787,7 +787,7 @@ pub mod private_endpoint_connections_for_edm { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -854,7 +854,7 @@ pub mod private_endpoint_connections_for_edm { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -884,7 +884,7 @@ pub mod private_endpoint_connections_for_edm { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -930,7 +930,7 @@ pub mod private_link_resources { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -995,7 +995,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1019,7 +1019,7 @@ pub mod private_link_resources { } } pub mod private_link_services_for_m365_compliance_center { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1068,7 +1068,7 @@ pub mod private_link_services_for_m365_compliance_center { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1150,7 +1150,7 @@ pub mod private_link_services_for_m365_compliance_center { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServicesForM365ComplianceCenterDescription), @@ -1233,7 +1233,7 @@ pub mod private_link_services_for_m365_compliance_center { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServicesForM365ComplianceCenterDescription), @@ -1305,7 +1305,7 @@ pub mod private_link_services_for_m365_compliance_center { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1377,7 +1377,7 @@ pub mod private_link_services_for_m365_compliance_center { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1450,7 +1450,7 @@ pub mod private_link_services_for_m365_compliance_center { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1474,7 +1474,7 @@ pub mod private_link_services_for_m365_compliance_center { } } pub mod private_endpoint_connections_comp { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1520,7 +1520,7 @@ pub mod private_endpoint_connections_comp { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1585,7 +1585,7 @@ pub mod private_endpoint_connections_comp { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1661,7 +1661,7 @@ pub mod private_endpoint_connections_comp { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -1728,7 +1728,7 @@ pub mod private_endpoint_connections_comp { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1758,7 +1758,7 @@ pub mod private_endpoint_connections_comp { } } pub mod private_link_resources_comp { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1804,7 +1804,7 @@ pub mod private_link_resources_comp { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1869,7 +1869,7 @@ pub mod private_link_resources_comp { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1893,7 +1893,7 @@ pub mod private_link_resources_comp { } } pub mod private_link_services_for_m365_security_center { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1942,7 +1942,7 @@ pub mod private_link_services_for_m365_security_center { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2024,7 +2024,7 @@ pub mod private_link_services_for_m365_security_center { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServicesForM365SecurityCenterDescription), @@ -2107,7 +2107,7 @@ pub mod private_link_services_for_m365_security_center { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServicesForM365SecurityCenterDescription), @@ -2179,7 +2179,7 @@ pub mod private_link_services_for_m365_security_center { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2251,7 +2251,7 @@ pub mod private_link_services_for_m365_security_center { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2324,7 +2324,7 @@ pub mod private_link_services_for_m365_security_center { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2348,7 +2348,7 @@ pub mod private_link_services_for_m365_security_center { } } pub mod private_endpoint_connections_sec { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2394,7 +2394,7 @@ pub mod private_endpoint_connections_sec { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2459,7 +2459,7 @@ pub mod private_endpoint_connections_sec { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2535,7 +2535,7 @@ pub mod private_endpoint_connections_sec { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -2602,7 +2602,7 @@ pub mod private_endpoint_connections_sec { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2632,7 +2632,7 @@ pub mod private_endpoint_connections_sec { } } pub mod private_link_resources_sec { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2678,7 +2678,7 @@ pub mod private_link_resources_sec { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2743,7 +2743,7 @@ pub mod private_link_resources_sec { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2767,7 +2767,7 @@ pub mod private_link_resources_sec { } } pub mod private_link_services_for_o365_management_activity_api { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2810,7 +2810,7 @@ pub mod private_link_services_for_o365_management_activity_api { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2886,7 +2886,7 @@ pub mod private_link_services_for_o365_management_activity_api { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServicesForO365ManagementActivityApiDescription), @@ -2963,7 +2963,7 @@ pub mod private_link_services_for_o365_management_activity_api { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServicesForO365ManagementActivityApiDescription), @@ -3029,7 +3029,7 @@ pub mod private_link_services_for_o365_management_activity_api { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3101,7 +3101,7 @@ pub mod private_link_services_for_o365_management_activity_api { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3169,7 +3169,7 @@ pub mod private_link_services_for_o365_management_activity_api { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3193,7 +3193,7 @@ pub mod private_link_services_for_o365_management_activity_api { } } pub mod private_endpoint_connections_adt_api { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3239,7 +3239,7 @@ pub mod private_endpoint_connections_adt_api { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3304,7 +3304,7 @@ pub mod private_endpoint_connections_adt_api { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3380,7 +3380,7 @@ pub mod private_endpoint_connections_adt_api { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -3447,7 +3447,7 @@ pub mod private_endpoint_connections_adt_api { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3477,7 +3477,7 @@ pub mod private_endpoint_connections_adt_api { } } pub mod private_link_resources_adt_api { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3523,7 +3523,7 @@ pub mod private_link_resources_adt_api { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3588,7 +3588,7 @@ pub mod private_link_resources_adt_api { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3612,7 +3612,7 @@ pub mod private_link_resources_adt_api { } } pub mod private_link_services_for_scc_powershell { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3661,7 +3661,7 @@ pub mod private_link_services_for_scc_powershell { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3743,7 +3743,7 @@ pub mod private_link_services_for_scc_powershell { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServicesForSccPowershellDescription), @@ -3826,7 +3826,7 @@ pub mod private_link_services_for_scc_powershell { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServicesForSccPowershellDescription), @@ -3898,7 +3898,7 @@ pub mod private_link_services_for_scc_powershell { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3970,7 +3970,7 @@ pub mod private_link_services_for_scc_powershell { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4043,7 +4043,7 @@ pub mod private_link_services_for_scc_powershell { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4067,7 +4067,7 @@ pub mod private_link_services_for_scc_powershell { } } pub mod private_endpoint_connections_for_scc_powershell { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4113,7 +4113,7 @@ pub mod private_endpoint_connections_for_scc_powershell { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4178,7 +4178,7 @@ pub mod private_endpoint_connections_for_scc_powershell { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4254,7 +4254,7 @@ pub mod private_endpoint_connections_for_scc_powershell { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -4321,7 +4321,7 @@ pub mod private_endpoint_connections_for_scc_powershell { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4351,7 +4351,7 @@ pub mod private_endpoint_connections_for_scc_powershell { } } pub mod private_link_resources_for_scc_powershell { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4397,7 +4397,7 @@ pub mod private_link_resources_for_scc_powershell { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4462,7 +4462,7 @@ pub mod private_link_resources_for_scc_powershell { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4486,7 +4486,7 @@ pub mod private_link_resources_for_scc_powershell { } } pub mod private_link_services_for_mip_policy_sync { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4535,7 +4535,7 @@ pub mod private_link_services_for_mip_policy_sync { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4617,7 +4617,7 @@ pub mod private_link_services_for_mip_policy_sync { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServicesForMipPolicySyncDescription), @@ -4700,7 +4700,7 @@ pub mod private_link_services_for_mip_policy_sync { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkServicesForMipPolicySyncDescription), @@ -4772,7 +4772,7 @@ pub mod private_link_services_for_mip_policy_sync { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4844,7 +4844,7 @@ pub mod private_link_services_for_mip_policy_sync { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4917,7 +4917,7 @@ pub mod private_link_services_for_mip_policy_sync { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4941,7 +4941,7 @@ pub mod private_link_services_for_mip_policy_sync { } } pub mod private_endpoint_connections_for_mip_policy_sync { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4987,7 +4987,7 @@ pub mod private_endpoint_connections_for_mip_policy_sync { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5052,7 +5052,7 @@ pub mod private_endpoint_connections_for_mip_policy_sync { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5128,7 +5128,7 @@ pub mod private_endpoint_connections_for_mip_policy_sync { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -5195,7 +5195,7 @@ pub mod private_endpoint_connections_for_mip_policy_sync { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5225,7 +5225,7 @@ pub mod private_endpoint_connections_for_mip_policy_sync { } } pub mod private_link_resources_for_mip_policy_sync { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5271,7 +5271,7 @@ pub mod private_link_resources_for_mip_policy_sync { } } pub mod list_by_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5336,7 +5336,7 @@ pub mod private_link_resources_for_mip_policy_sync { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/securityinsights/Cargo.toml b/services/mgmt/securityinsights/Cargo.toml index 6a6ca8a181..e8c02ed7b4 100644 --- a/services/mgmt/securityinsights/Cargo.toml +++ b/services/mgmt/securityinsights/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-04-01-only"] +no-default-version = [] "package-2021-04-01-only" = [] "package-2020-01" = [] "package-2021-03-preview-only" = [] diff --git a/services/mgmt/securityinsights/src/lib.rs b/services/mgmt/securityinsights/src/lib.rs index a06d7eb0f2..3491b84365 100644 --- a/services/mgmt/securityinsights/src/lib.rs +++ b/services/mgmt/securityinsights/src/lib.rs @@ -1,21 +1,29 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-04-01-only")] -mod package_2021_04_01_only; -#[cfg(feature = "package-2021-04-01-only")] +pub mod package_2021_04_01_only; +#[cfg(all(feature = "package-2021-04-01-only", not(feature = "no-default-version")))] pub use package_2021_04_01_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-01")] -mod package_2020_01; -#[cfg(feature = "package-2020-01")] +pub mod package_2020_01; +#[cfg(all(feature = "package-2020-01", not(feature = "no-default-version")))] pub use package_2020_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-03-preview-only")] -mod package_2021_03_preview_only; -#[cfg(feature = "package-2021-03-preview-only")] +pub mod package_2021_03_preview_only; +#[cfg(all(feature = "package-2021-03-preview-only", not(feature = "no-default-version")))] pub use package_2021_03_preview_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-01-preview")] -mod package_2019_01_preview; +pub mod package_2019_01_preview; use azure_core::setters; -#[cfg(feature = "package-2019-01-preview")] +#[cfg(all(feature = "package-2019-01-preview", not(feature = "no-default-version")))] pub use package_2019_01_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -39,7 +47,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/securityinsights/src/package_2019_01_preview/operations.rs b/services/mgmt/securityinsights/src/package_2019_01_preview/operations.rs index 0136df5830..0bfec8d9d3 100644 --- a/services/mgmt/securityinsights/src/package_2019_01_preview/operations.rs +++ b/services/mgmt/securityinsights/src/package_2019_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod cases_aggregations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -57,7 +57,7 @@ pub mod cases_aggregations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -81,7 +81,7 @@ pub mod cases_aggregations { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.SecurityInsights/operations", operation_config.base_path(),); @@ -117,7 +117,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -138,7 +138,7 @@ pub mod operations { } } pub mod alert_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -189,7 +189,7 @@ pub mod alert_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -263,7 +263,7 @@ pub mod alert_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -348,7 +348,7 @@ pub mod alert_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AlertRule), @@ -423,7 +423,7 @@ pub mod alert_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -452,7 +452,7 @@ pub mod alert_rules { } } pub mod actions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_alert_rule( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -508,7 +508,7 @@ pub mod actions { } } pub mod list_by_alert_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -575,7 +575,7 @@ pub mod actions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -653,7 +653,7 @@ pub mod actions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ActionResponse), @@ -721,7 +721,7 @@ pub mod actions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -750,7 +750,7 @@ pub mod actions { } } pub mod alert_rule_templates { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -801,7 +801,7 @@ pub mod alert_rule_templates { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -875,7 +875,7 @@ pub mod alert_rule_templates { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -899,7 +899,7 @@ pub mod alert_rule_templates { } } pub mod data_connectors { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -950,7 +950,7 @@ pub mod data_connectors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1024,7 +1024,7 @@ pub mod data_connectors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1109,7 +1109,7 @@ pub mod data_connectors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataConnector), @@ -1184,7 +1184,7 @@ pub mod data_connectors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1213,7 +1213,7 @@ pub mod data_connectors { } } pub mod product_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get_all( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1267,7 +1267,7 @@ pub mod product_settings { } } pub mod get_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1341,7 +1341,7 @@ pub mod product_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1417,7 +1417,7 @@ pub mod product_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1487,7 +1487,7 @@ pub mod product_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1516,7 +1516,7 @@ pub mod product_settings { } } pub mod entity_queries { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1567,7 +1567,7 @@ pub mod entity_queries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1641,7 +1641,7 @@ pub mod entity_queries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1665,7 +1665,7 @@ pub mod entity_queries { } } pub mod incidents { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1732,7 +1732,7 @@ pub mod incidents { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1806,7 +1806,7 @@ pub mod incidents { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1891,7 +1891,7 @@ pub mod incidents { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Incident), @@ -1966,7 +1966,7 @@ pub mod incidents { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2049,7 +2049,7 @@ pub mod incidents { } } pub mod list_of_alerts { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2127,7 +2127,7 @@ pub mod incidents { } } pub mod list_of_bookmarks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2205,7 +2205,7 @@ pub mod incidents { } } pub mod list_of_entities { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2229,7 +2229,7 @@ pub mod incidents { } } pub mod incident_comments { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_incident( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2301,7 +2301,7 @@ pub mod incident_comments { } } pub mod list_by_incident { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2371,7 +2371,7 @@ pub mod incident_comments { } } pub mod get_comment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2449,7 +2449,7 @@ pub mod incident_comments { } } pub mod create_comment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IncidentComment), @@ -2520,7 +2520,7 @@ pub mod incident_comments { } } pub mod delete_comment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2549,7 +2549,7 @@ pub mod incident_comments { } } pub mod incident_relations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2618,7 +2618,7 @@ pub mod incident_relations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2688,7 +2688,7 @@ pub mod incident_relations { } } pub mod get_relation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2768,7 +2768,7 @@ pub mod incident_relations { } } pub mod create_or_update_relation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Relation), @@ -2839,7 +2839,7 @@ pub mod incident_relations { } } pub mod delete_relation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2868,7 +2868,7 @@ pub mod incident_relations { } } pub mod watchlists { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2919,7 +2919,7 @@ pub mod watchlists { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2993,7 +2993,7 @@ pub mod watchlists { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3075,7 +3075,7 @@ pub mod watchlists { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Watchlist), @@ -3150,7 +3150,7 @@ pub mod watchlists { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3179,7 +3179,7 @@ pub mod watchlists { } } pub mod watchlist_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3224,7 +3224,7 @@ pub mod watchlist_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3291,7 +3291,7 @@ pub mod watchlist_items { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3369,7 +3369,7 @@ pub mod watchlist_items { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WatchlistItem), @@ -3437,7 +3437,7 @@ pub mod watchlist_items { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3466,7 +3466,7 @@ pub mod watchlist_items { } } pub mod automation_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3517,7 +3517,7 @@ pub mod automation_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3591,7 +3591,7 @@ pub mod automation_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3676,7 +3676,7 @@ pub mod automation_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AutomationRule), @@ -3751,7 +3751,7 @@ pub mod automation_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3780,7 +3780,7 @@ pub mod automation_rules { } } pub mod bookmarks { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3831,7 +3831,7 @@ pub mod bookmarks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3905,7 +3905,7 @@ pub mod bookmarks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3990,7 +3990,7 @@ pub mod bookmarks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Bookmark), @@ -4065,7 +4065,7 @@ pub mod bookmarks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4094,7 +4094,7 @@ pub mod bookmarks { } } pub mod bookmark_relations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4163,7 +4163,7 @@ pub mod bookmark_relations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4233,7 +4233,7 @@ pub mod bookmark_relations { } } pub mod get_relation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4313,7 +4313,7 @@ pub mod bookmark_relations { } } pub mod create_or_update_relation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Relation), @@ -4384,7 +4384,7 @@ pub mod bookmark_relations { } } pub mod delete_relation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4413,7 +4413,7 @@ pub mod bookmark_relations { } } pub mod bookmark { - use crate::models::*; + use super::{models, models::*}; pub async fn expand( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4468,7 +4468,7 @@ pub mod bookmark { } } pub mod expand { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4492,7 +4492,7 @@ pub mod bookmark { } } pub mod cases { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4559,7 +4559,7 @@ pub mod cases { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4633,7 +4633,7 @@ pub mod cases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4718,7 +4718,7 @@ pub mod cases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Case), @@ -4793,7 +4793,7 @@ pub mod cases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4877,7 +4877,7 @@ pub mod cases { } } pub mod get_comment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4901,7 +4901,7 @@ pub mod cases { } } pub mod comments { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_case( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4973,7 +4973,7 @@ pub mod comments { } } pub mod list_by_case { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4997,7 +4997,7 @@ pub mod comments { } } pub mod case_comments { - use crate::models::*; + use super::{models, models::*}; pub async fn create_comment( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5057,7 +5057,7 @@ pub mod case_comments { } } pub mod create_comment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5081,7 +5081,7 @@ pub mod case_comments { } } pub mod case_relations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5150,7 +5150,7 @@ pub mod case_relations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5229,7 +5229,7 @@ pub mod case_relations { } } pub mod get_relation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5318,7 +5318,7 @@ pub mod case_relations { } } pub mod create_or_update_relation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CaseRelation), @@ -5398,7 +5398,7 @@ pub mod case_relations { } } pub mod delete_relation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5427,7 +5427,7 @@ pub mod case_relations { } } pub mod data_connectors_check_requirements { - use crate::models::*; + use super::{models, models::*}; pub async fn post( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5473,7 +5473,7 @@ pub mod data_connectors_check_requirements { } } pub mod post { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5497,7 +5497,7 @@ pub mod data_connectors_check_requirements { } } pub mod ip_geodata { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5546,7 +5546,7 @@ pub mod ip_geodata { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5570,7 +5570,7 @@ pub mod ip_geodata { } } pub mod domain_whois { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5619,7 +5619,7 @@ pub mod domain_whois { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5643,7 +5643,7 @@ pub mod domain_whois { } } pub mod entities { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5694,7 +5694,7 @@ pub mod entities { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5768,7 +5768,7 @@ pub mod entities { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5844,7 +5844,7 @@ pub mod entities { } } pub mod expand { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5923,7 +5923,7 @@ pub mod entities { } } pub mod queries { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6002,7 +6002,7 @@ pub mod entities { } } pub mod get_insights { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6026,7 +6026,7 @@ pub mod entities { } } pub mod entities_get_timeline { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6081,7 +6081,7 @@ pub mod entities_get_timeline { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6105,7 +6105,7 @@ pub mod entities_get_timeline { } } pub mod entities_relations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6174,7 +6174,7 @@ pub mod entities_relations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6198,7 +6198,7 @@ pub mod entities_relations { } } pub mod entity_relations { - use crate::models::*; + use super::{models, models::*}; pub async fn get_relation( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6247,7 +6247,7 @@ pub mod entity_relations { } } pub mod get_relation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6271,7 +6271,7 @@ pub mod entity_relations { } } pub mod office_consents { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6322,7 +6322,7 @@ pub mod office_consents { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6396,7 +6396,7 @@ pub mod office_consents { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6466,7 +6466,7 @@ pub mod office_consents { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6495,7 +6495,7 @@ pub mod office_consents { } } pub mod threat_intelligence_indicator { - use crate::models::*; + use super::{models, models::*}; pub async fn create_indicator( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6550,7 +6550,7 @@ pub mod threat_intelligence_indicator { } } pub mod create_indicator { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ThreatIntelligenceInformation), @@ -6621,7 +6621,7 @@ pub mod threat_intelligence_indicator { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6695,7 +6695,7 @@ pub mod threat_intelligence_indicator { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ThreatIntelligenceInformation), @@ -6762,7 +6762,7 @@ pub mod threat_intelligence_indicator { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6837,7 +6837,7 @@ pub mod threat_intelligence_indicator { } } pub mod query_indicators { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6903,7 +6903,7 @@ pub mod threat_intelligence_indicator { } } pub mod append_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6974,7 +6974,7 @@ pub mod threat_intelligence_indicator { } } pub mod replace_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6998,7 +6998,7 @@ pub mod threat_intelligence_indicator { } } pub mod threat_intelligence_indicators { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7058,7 +7058,7 @@ pub mod threat_intelligence_indicators { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7082,7 +7082,7 @@ pub mod threat_intelligence_indicators { } } pub mod threat_intelligence_indicator_metrics { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7126,7 +7126,7 @@ pub mod threat_intelligence_indicator_metrics { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/securityinsights/src/package_2020_01/operations.rs b/services/mgmt/securityinsights/src/package_2020_01/operations.rs index c65ee7faf7..e726489091 100644 --- a/services/mgmt/securityinsights/src/package_2020_01/operations.rs +++ b/services/mgmt/securityinsights/src/package_2020_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod alert_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -47,7 +47,7 @@ pub mod alert_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -112,7 +112,7 @@ pub mod alert_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -188,7 +188,7 @@ pub mod alert_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AlertRule), @@ -254,7 +254,7 @@ pub mod alert_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -283,7 +283,7 @@ pub mod alert_rules { } } pub mod actions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_alert_rule( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -330,7 +330,7 @@ pub mod actions { } } pub mod list_by_alert_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -396,7 +396,7 @@ pub mod actions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -473,7 +473,7 @@ pub mod actions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ActionResponse), @@ -540,7 +540,7 @@ pub mod actions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -569,7 +569,7 @@ pub mod actions { } } pub mod alert_rule_templates { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -612,7 +612,7 @@ pub mod alert_rule_templates { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -677,7 +677,7 @@ pub mod alert_rule_templates { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -701,7 +701,7 @@ pub mod alert_rule_templates { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.SecurityInsights/operations", operation_config.base_path(),); @@ -739,7 +739,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -763,7 +763,7 @@ pub mod operations { } } pub mod incidents { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -822,7 +822,7 @@ pub mod incidents { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -887,7 +887,7 @@ pub mod incidents { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -963,7 +963,7 @@ pub mod incidents { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Incident), @@ -1029,7 +1029,7 @@ pub mod incidents { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1058,7 +1058,7 @@ pub mod incidents { } } pub mod incident_comments { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_incident( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1121,7 +1121,7 @@ pub mod incident_comments { } } pub mod list_by_incident { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1187,7 +1187,7 @@ pub mod incident_comments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1258,7 +1258,7 @@ pub mod incident_comments { } } pub mod create_comment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1282,7 +1282,7 @@ pub mod incident_comments { } } pub mod bookmarks { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1325,7 +1325,7 @@ pub mod bookmarks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1390,7 +1390,7 @@ pub mod bookmarks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1466,7 +1466,7 @@ pub mod bookmarks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Bookmark), @@ -1532,7 +1532,7 @@ pub mod bookmarks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1561,7 +1561,7 @@ pub mod bookmarks { } } pub mod data_connectors { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1604,7 +1604,7 @@ pub mod data_connectors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1669,7 +1669,7 @@ pub mod data_connectors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1745,7 +1745,7 @@ pub mod data_connectors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataConnector), @@ -1811,7 +1811,7 @@ pub mod data_connectors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/securityinsights/src/package_2021_03_preview_only/operations.rs b/services/mgmt/securityinsights/src/package_2021_03_preview_only/operations.rs index 855181079a..37e68995f0 100644 --- a/services/mgmt/securityinsights/src/package_2021_03_preview_only/operations.rs +++ b/services/mgmt/securityinsights/src/package_2021_03_preview_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod incidents { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -71,7 +71,7 @@ pub mod incidents { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -145,7 +145,7 @@ pub mod incidents { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -230,7 +230,7 @@ pub mod incidents { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Incident), @@ -305,7 +305,7 @@ pub mod incidents { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -389,7 +389,7 @@ pub mod incidents { } } pub mod create_team { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -467,7 +467,7 @@ pub mod incidents { } } pub mod list_alerts { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -545,7 +545,7 @@ pub mod incidents { } } pub mod list_bookmarks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -623,7 +623,7 @@ pub mod incidents { } } pub mod list_entities { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -647,7 +647,7 @@ pub mod incidents { } } pub mod incident_comments { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -716,7 +716,7 @@ pub mod incident_comments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -783,7 +783,7 @@ pub mod incident_comments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -861,7 +861,7 @@ pub mod incident_comments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IncidentComment), @@ -929,7 +929,7 @@ pub mod incident_comments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -958,7 +958,7 @@ pub mod incident_comments { } } pub mod incident_relations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1027,7 +1027,7 @@ pub mod incident_relations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1094,7 +1094,7 @@ pub mod incident_relations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1172,7 +1172,7 @@ pub mod incident_relations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Relation), @@ -1240,7 +1240,7 @@ pub mod incident_relations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1269,7 +1269,7 @@ pub mod incident_relations { } } pub mod product_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1320,7 +1320,7 @@ pub mod product_settings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1394,7 +1394,7 @@ pub mod product_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1470,7 +1470,7 @@ pub mod product_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1540,7 +1540,7 @@ pub mod product_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1569,7 +1569,7 @@ pub mod product_settings { } } pub mod sentinel_onboarding_states { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1622,7 +1622,7 @@ pub mod sentinel_onboarding_states { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1708,7 +1708,7 @@ pub mod sentinel_onboarding_states { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SentinelOnboardingState), @@ -1783,7 +1783,7 @@ pub mod sentinel_onboarding_states { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1860,7 +1860,7 @@ pub mod sentinel_onboarding_states { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1884,7 +1884,7 @@ pub mod sentinel_onboarding_states { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.SecurityInsights/operations", operation_config.base_path(),); @@ -1922,7 +1922,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1946,7 +1946,7 @@ pub mod operations { } } pub mod source_control { - use crate::models::*; + use super::{models, models::*}; pub async fn list_repositories( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2002,7 +2002,7 @@ pub mod source_control { } } pub mod list_repositories { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2026,7 +2026,7 @@ pub mod source_control { } } pub mod source_controls { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2077,7 +2077,7 @@ pub mod source_controls { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2151,7 +2151,7 @@ pub mod source_controls { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2233,7 +2233,7 @@ pub mod source_controls { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SourceControl), @@ -2308,7 +2308,7 @@ pub mod source_controls { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2337,7 +2337,7 @@ pub mod source_controls { } } pub mod data_connectors { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2388,7 +2388,7 @@ pub mod data_connectors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2462,7 +2462,7 @@ pub mod data_connectors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2547,7 +2547,7 @@ pub mod data_connectors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataConnector), @@ -2622,7 +2622,7 @@ pub mod data_connectors { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2651,7 +2651,7 @@ pub mod data_connectors { } } pub mod watchlists { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2702,7 +2702,7 @@ pub mod watchlists { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2776,7 +2776,7 @@ pub mod watchlists { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2861,7 +2861,7 @@ pub mod watchlists { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Watchlist), @@ -2936,7 +2936,7 @@ pub mod watchlists { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2965,7 +2965,7 @@ pub mod watchlists { } } pub mod watchlist_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3010,7 +3010,7 @@ pub mod watchlist_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3077,7 +3077,7 @@ pub mod watchlist_items { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3155,7 +3155,7 @@ pub mod watchlist_items { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WatchlistItem), @@ -3223,7 +3223,7 @@ pub mod watchlist_items { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3252,7 +3252,7 @@ pub mod watchlist_items { } } pub mod alert_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3303,7 +3303,7 @@ pub mod alert_rules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3377,7 +3377,7 @@ pub mod alert_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3462,7 +3462,7 @@ pub mod alert_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AlertRule), @@ -3537,7 +3537,7 @@ pub mod alert_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3566,7 +3566,7 @@ pub mod alert_rules { } } pub mod actions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_alert_rule( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3622,7 +3622,7 @@ pub mod actions { } } pub mod list_by_alert_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3689,7 +3689,7 @@ pub mod actions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3767,7 +3767,7 @@ pub mod actions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ActionResponse), @@ -3835,7 +3835,7 @@ pub mod actions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3864,7 +3864,7 @@ pub mod actions { } } pub mod alert_rule_templates { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3915,7 +3915,7 @@ pub mod alert_rule_templates { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3989,7 +3989,7 @@ pub mod alert_rule_templates { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4013,7 +4013,7 @@ pub mod alert_rule_templates { } } pub mod entity_queries { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, kind: Option<&str>, @@ -4068,7 +4068,7 @@ pub mod entity_queries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4142,7 +4142,7 @@ pub mod entity_queries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4227,7 +4227,7 @@ pub mod entity_queries { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EntityQuery), @@ -4302,7 +4302,7 @@ pub mod entity_queries { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4331,7 +4331,7 @@ pub mod entity_queries { } } pub mod entity_query_templates { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, kind: Option<&str>, @@ -4386,7 +4386,7 @@ pub mod entity_query_templates { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4460,7 +4460,7 @@ pub mod entity_query_templates { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4484,7 +4484,7 @@ pub mod entity_query_templates { } } pub mod metadata { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4551,7 +4551,7 @@ pub mod metadata { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4625,7 +4625,7 @@ pub mod metadata { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4707,7 +4707,7 @@ pub mod metadata { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MetadataModel), @@ -4788,7 +4788,7 @@ pub mod metadata { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4858,7 +4858,7 @@ pub mod metadata { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/securityinsights/src/package_2021_04_01_only/operations.rs b/services/mgmt/securityinsights/src/package_2021_04_01_only/operations.rs index bba70a2039..7be087d490 100644 --- a/services/mgmt/securityinsights/src/package_2021_04_01_only/operations.rs +++ b/services/mgmt/securityinsights/src/package_2021_04_01_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod incidents { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -63,7 +63,7 @@ pub mod incidents { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -128,7 +128,7 @@ pub mod incidents { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -204,7 +204,7 @@ pub mod incidents { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Incident), @@ -270,7 +270,7 @@ pub mod incidents { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -344,7 +344,7 @@ pub mod incidents { } } pub mod list_of_alerts { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -413,7 +413,7 @@ pub mod incidents { } } pub mod list_of_bookmarks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -482,7 +482,7 @@ pub mod incidents { } } pub mod list_of_entities { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -506,7 +506,7 @@ pub mod incidents { } } pub mod incident_comments { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_incident( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -569,7 +569,7 @@ pub mod incident_comments { } } pub mod list_by_incident { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -635,7 +635,7 @@ pub mod incident_comments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -712,7 +712,7 @@ pub mod incident_comments { } } pub mod create_comment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IncidentComment), @@ -782,7 +782,7 @@ pub mod incident_comments { } } pub mod delete_comment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -811,7 +811,7 @@ pub mod incident_comments { } } pub mod incident_relations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -871,7 +871,7 @@ pub mod incident_relations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -940,7 +940,7 @@ pub mod incident_relations { } } pub mod get_relation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1019,7 +1019,7 @@ pub mod incident_relations { } } pub mod create_or_update_relation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Relation), @@ -1089,7 +1089,7 @@ pub mod incident_relations { } } pub mod delete_relation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1118,7 +1118,7 @@ pub mod incident_relations { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.SecurityInsights/operations", operation_config.base_path(),); @@ -1156,7 +1156,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1180,7 +1180,7 @@ pub mod operations { } } pub mod watchlists { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1235,7 +1235,7 @@ pub mod watchlists { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1309,7 +1309,7 @@ pub mod watchlists { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1394,7 +1394,7 @@ pub mod watchlists { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Watchlist), @@ -1469,7 +1469,7 @@ pub mod watchlists { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1498,7 +1498,7 @@ pub mod watchlists { } } pub mod watchlist_items { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1547,7 +1547,7 @@ pub mod watchlist_items { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1614,7 +1614,7 @@ pub mod watchlist_items { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1692,7 +1692,7 @@ pub mod watchlist_items { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WatchlistItem), @@ -1760,7 +1760,7 @@ pub mod watchlist_items { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1789,7 +1789,7 @@ pub mod watchlist_items { } } pub mod threat_intelligence_indicator { - use crate::models::*; + use super::{models, models::*}; pub async fn create_indicator( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1844,7 +1844,7 @@ pub mod threat_intelligence_indicator { } } pub mod create_indicator { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ThreatIntelligenceInformation), @@ -1915,7 +1915,7 @@ pub mod threat_intelligence_indicator { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1989,7 +1989,7 @@ pub mod threat_intelligence_indicator { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ThreatIntelligenceInformation), @@ -2056,7 +2056,7 @@ pub mod threat_intelligence_indicator { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2131,7 +2131,7 @@ pub mod threat_intelligence_indicator { } } pub mod query_indicators { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2197,7 +2197,7 @@ pub mod threat_intelligence_indicator { } } pub mod append_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2268,7 +2268,7 @@ pub mod threat_intelligence_indicator { } } pub mod replace_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2292,7 +2292,7 @@ pub mod threat_intelligence_indicator { } } pub mod threat_intelligence_indicators { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2352,7 +2352,7 @@ pub mod threat_intelligence_indicators { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2376,7 +2376,7 @@ pub mod threat_intelligence_indicators { } } pub mod threat_intelligence_indicator_metrics { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2420,7 +2420,7 @@ pub mod threat_intelligence_indicator_metrics { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/serialconsole/Cargo.toml b/services/mgmt/serialconsole/Cargo.toml index e131f49dcc..402b2ccb71 100644 --- a/services/mgmt/serialconsole/Cargo.toml +++ b/services/mgmt/serialconsole/Cargo.toml @@ -20,4 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2018-05"] +no-default-version = [] "package-2018-05" = [] diff --git a/services/mgmt/serialconsole/src/lib.rs b/services/mgmt/serialconsole/src/lib.rs index 73d246567b..53e3dbd8a8 100644 --- a/services/mgmt/serialconsole/src/lib.rs +++ b/services/mgmt/serialconsole/src/lib.rs @@ -1,9 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2018-05")] -mod package_2018_05; +pub mod package_2018_05; use azure_core::setters; -#[cfg(feature = "package-2018-05")] +#[cfg(all(feature = "package-2018-05", not(feature = "no-default-version")))] pub use package_2018_05::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -27,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/serialconsole/src/package_2018_05/operations.rs b/services/mgmt/serialconsole/src/package_2018_05/operations.rs index 897765721c..4df8b93e65 100644 --- a/services/mgmt/serialconsole/src/package_2018_05/operations.rs +++ b/services/mgmt/serialconsole/src/package_2018_05/operations.rs @@ -2,7 +2,7 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub async fn list_operations( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -43,7 +43,7 @@ pub async fn list_operations( } } pub mod list_operations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -115,7 +115,7 @@ pub async fn get_console_status( } } pub mod get_console_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -192,7 +192,7 @@ pub async fn disable_console( } } pub mod disable_console { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -269,7 +269,7 @@ pub async fn enable_console( } } pub mod enable_console { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -293,7 +293,7 @@ pub mod enable_console { } } pub mod serial_ports { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -346,7 +346,7 @@ pub mod serial_ports { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -422,7 +422,7 @@ pub mod serial_ports { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -500,7 +500,7 @@ pub mod serial_ports { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -572,7 +572,7 @@ pub mod serial_ports { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -647,7 +647,7 @@ pub mod serial_ports { } } pub mod list_by_subscriptions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -727,7 +727,7 @@ pub mod serial_ports { } } pub mod connect { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/servicebus/Cargo.toml b/services/mgmt/servicebus/Cargo.toml index ffe2fcf507..d46dfa5f1f 100644 --- a/services/mgmt/servicebus/Cargo.toml +++ b/services/mgmt/servicebus/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2017-04"] +no-default-version = [] "package-2021-01-preview" = [] "package-2021-06-preview" = [] "package-2018-01-preview" = [] diff --git a/services/mgmt/servicebus/src/lib.rs b/services/mgmt/servicebus/src/lib.rs index 5779eeb7ee..39ff55332f 100644 --- a/services/mgmt/servicebus/src/lib.rs +++ b/services/mgmt/servicebus/src/lib.rs @@ -1,25 +1,33 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-01-preview")] -mod package_2021_01_preview; -#[cfg(feature = "package-2021-01-preview")] +pub mod package_2021_01_preview; +#[cfg(all(feature = "package-2021-01-preview", not(feature = "no-default-version")))] pub use package_2021_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-06-preview")] -mod package_2021_06_preview; -#[cfg(feature = "package-2021-06-preview")] +pub mod package_2021_06_preview; +#[cfg(all(feature = "package-2021-06-preview", not(feature = "no-default-version")))] pub use package_2021_06_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-01-preview")] -mod package_2018_01_preview; -#[cfg(feature = "package-2018-01-preview")] +pub mod package_2018_01_preview; +#[cfg(all(feature = "package-2018-01-preview", not(feature = "no-default-version")))] pub use package_2018_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-04")] -mod package_2017_04; -#[cfg(feature = "package-2017-04")] +pub mod package_2017_04; +#[cfg(all(feature = "package-2017-04", not(feature = "no-default-version")))] pub use package_2017_04::{models, operations, API_VERSION}; #[cfg(feature = "package-2015-08")] -mod package_2015_08; +pub mod package_2015_08; use azure_core::setters; -#[cfg(feature = "package-2015-08")] +#[cfg(all(feature = "package-2015-08", not(feature = "no-default-version")))] pub use package_2015_08::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -43,7 +51,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/servicebus/src/package_2015_08/operations.rs b/services/mgmt/servicebus/src/package_2015_08/operations.rs index ea44abba00..e14eb73e61 100644 --- a/services/mgmt/servicebus/src/package_2015_08/operations.rs +++ b/services/mgmt/servicebus/src/package_2015_08/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ServiceBus/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod namespaces { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod namespaces { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -175,7 +175,7 @@ pub mod namespaces { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -243,7 +243,7 @@ pub mod namespaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -308,7 +308,7 @@ pub mod namespaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -385,7 +385,7 @@ pub mod namespaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NamespaceResource), @@ -465,7 +465,7 @@ pub mod namespaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(NamespaceResource), @@ -533,7 +533,7 @@ pub mod namespaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -609,7 +609,7 @@ pub mod namespaces { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -681,7 +681,7 @@ pub mod namespaces { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -755,7 +755,7 @@ pub mod namespaces { } } pub mod create_or_update_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -823,7 +823,7 @@ pub mod namespaces { } } pub mod delete_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -899,7 +899,7 @@ pub mod namespaces { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -971,7 +971,7 @@ pub mod namespaces { } } pub mod regenerate_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -992,7 +992,7 @@ pub mod namespaces { } } pub mod queues { - use crate::models::*; + use super::{models, models::*}; pub async fn list_all( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1042,7 +1042,7 @@ pub mod queues { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1109,7 +1109,7 @@ pub mod queues { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1181,7 +1181,7 @@ pub mod queues { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1244,7 +1244,7 @@ pub mod queues { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1321,7 +1321,7 @@ pub mod queues { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1395,7 +1395,7 @@ pub mod queues { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1470,7 +1470,7 @@ pub mod queues { } } pub mod post_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1546,7 +1546,7 @@ pub mod queues { } } pub mod create_or_update_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1616,7 +1616,7 @@ pub mod queues { } } pub mod delete_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -1694,7 +1694,7 @@ pub mod queues { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1760,7 +1760,7 @@ pub mod queues { } } pub mod regenerate_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1781,7 +1781,7 @@ pub mod queues { } } pub mod topics { - use crate::models::*; + use super::{models, models::*}; pub async fn list_all( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1831,7 +1831,7 @@ pub mod topics { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1898,7 +1898,7 @@ pub mod topics { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1970,7 +1970,7 @@ pub mod topics { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2033,7 +2033,7 @@ pub mod topics { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2110,7 +2110,7 @@ pub mod topics { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2184,7 +2184,7 @@ pub mod topics { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2259,7 +2259,7 @@ pub mod topics { } } pub mod post_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2335,7 +2335,7 @@ pub mod topics { } } pub mod create_or_update_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2405,7 +2405,7 @@ pub mod topics { } } pub mod delete_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2483,7 +2483,7 @@ pub mod topics { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2549,7 +2549,7 @@ pub mod topics { } } pub mod regenerate_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2570,7 +2570,7 @@ pub mod topics { } } pub mod subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_all( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2622,7 +2622,7 @@ pub mod subscriptions { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2691,7 +2691,7 @@ pub mod subscriptions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2765,7 +2765,7 @@ pub mod subscriptions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2830,7 +2830,7 @@ pub mod subscriptions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, diff --git a/services/mgmt/servicebus/src/package_2017_04/operations.rs b/services/mgmt/servicebus/src/package_2017_04/operations.rs index d29e624806..b1d3070c98 100644 --- a/services/mgmt/servicebus/src/package_2017_04/operations.rs +++ b/services/mgmt/servicebus/src/package_2017_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod namespaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list_authorization_rules( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -58,7 +58,7 @@ pub mod namespaces { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -135,7 +135,7 @@ pub mod namespaces { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -214,7 +214,7 @@ pub mod namespaces { } } pub mod create_or_update_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -287,7 +287,7 @@ pub mod namespaces { } } pub mod delete_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -368,7 +368,7 @@ pub mod namespaces { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -445,7 +445,7 @@ pub mod namespaces { } } pub mod regenerate_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -518,7 +518,7 @@ pub mod namespaces { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -588,7 +588,7 @@ pub mod namespaces { } } pub mod migrate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -654,7 +654,7 @@ pub mod namespaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -727,7 +727,7 @@ pub mod namespaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -797,7 +797,7 @@ pub mod namespaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -879,7 +879,7 @@ pub mod namespaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SbNamespace), @@ -964,7 +964,7 @@ pub mod namespaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SbNamespace), @@ -1037,7 +1037,7 @@ pub mod namespaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1116,7 +1116,7 @@ pub mod namespaces { } } pub mod get_network_rule_set { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1193,7 +1193,7 @@ pub mod namespaces { } } pub mod create_or_update_network_rule_set { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1268,7 +1268,7 @@ pub mod namespaces { } } pub mod list_network_rule_sets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1292,7 +1292,7 @@ pub mod namespaces { } } pub mod queues { - use crate::models::*; + use super::{models, models::*}; pub async fn list_authorization_rules( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1348,7 +1348,7 @@ pub mod queues { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1427,7 +1427,7 @@ pub mod queues { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1508,7 +1508,7 @@ pub mod queues { } } pub mod create_or_update_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1583,7 +1583,7 @@ pub mod queues { } } pub mod delete_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1666,7 +1666,7 @@ pub mod queues { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1737,7 +1737,7 @@ pub mod queues { } } pub mod regenerate_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1818,7 +1818,7 @@ pub mod queues { } } pub mod list_by_namespace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1890,7 +1890,7 @@ pub mod queues { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1967,7 +1967,7 @@ pub mod queues { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2035,7 +2035,7 @@ pub mod queues { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2064,7 +2064,7 @@ pub mod queues { } } pub mod topics { - use crate::models::*; + use super::{models, models::*}; pub async fn list_authorization_rules( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2120,7 +2120,7 @@ pub mod topics { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2199,7 +2199,7 @@ pub mod topics { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2280,7 +2280,7 @@ pub mod topics { } } pub mod create_or_update_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2355,7 +2355,7 @@ pub mod topics { } } pub mod delete_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2438,7 +2438,7 @@ pub mod topics { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2509,7 +2509,7 @@ pub mod topics { } } pub mod regenerate_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2590,7 +2590,7 @@ pub mod topics { } } pub mod list_by_namespace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2662,7 +2662,7 @@ pub mod topics { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2739,7 +2739,7 @@ pub mod topics { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2807,7 +2807,7 @@ pub mod topics { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2836,7 +2836,7 @@ pub mod topics { } } pub mod disaster_recovery_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2886,7 +2886,7 @@ pub mod disaster_recovery_configs { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2956,7 +2956,7 @@ pub mod disaster_recovery_configs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3028,7 +3028,7 @@ pub mod disaster_recovery_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3106,7 +3106,7 @@ pub mod disaster_recovery_configs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ArmDisasterRecovery), @@ -3178,7 +3178,7 @@ pub mod disaster_recovery_configs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3249,7 +3249,7 @@ pub mod disaster_recovery_configs { } } pub mod break_pairing { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3320,7 +3320,7 @@ pub mod disaster_recovery_configs { } } pub mod fail_over { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3390,7 +3390,7 @@ pub mod disaster_recovery_configs { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3461,7 +3461,7 @@ pub mod disaster_recovery_configs { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3531,7 +3531,7 @@ pub mod disaster_recovery_configs { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3555,7 +3555,7 @@ pub mod disaster_recovery_configs { } } pub mod event_hubs { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_namespace( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3607,7 +3607,7 @@ pub mod event_hubs { } } pub mod list_by_namespace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3631,7 +3631,7 @@ pub mod event_hubs { } } pub mod migration_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3680,7 +3680,7 @@ pub mod migration_configs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3752,7 +3752,7 @@ pub mod migration_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3832,7 +3832,7 @@ pub mod migration_configs { } } pub mod create_and_start_migration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MigrationConfigProperties), @@ -3905,7 +3905,7 @@ pub mod migration_configs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3981,7 +3981,7 @@ pub mod migration_configs { } } pub mod complete_migration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4049,7 +4049,7 @@ pub mod migration_configs { } } pub mod revert { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4073,7 +4073,7 @@ pub mod migration_configs { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ServiceBus/operations", operation_config.base_path(),); @@ -4111,7 +4111,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4135,7 +4135,7 @@ pub mod operations { } } pub mod premium_messaging_regions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4180,7 +4180,7 @@ pub mod premium_messaging_regions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4204,7 +4204,7 @@ pub mod premium_messaging_regions { } } pub mod rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscriptions( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4270,7 +4270,7 @@ pub mod rules { } } pub mod list_by_subscriptions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4346,7 +4346,7 @@ pub mod rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4427,7 +4427,7 @@ pub mod rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4499,7 +4499,7 @@ pub mod rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4528,7 +4528,7 @@ pub mod rules { } } pub mod regions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_sku( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4578,7 +4578,7 @@ pub mod regions { } } pub mod list_by_sku { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4602,7 +4602,7 @@ pub mod regions { } } pub mod subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_topic( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4664,7 +4664,7 @@ pub mod subscriptions { } } pub mod list_by_topic { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4738,7 +4738,7 @@ pub mod subscriptions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4817,7 +4817,7 @@ pub mod subscriptions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4887,7 +4887,7 @@ pub mod subscriptions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/servicebus/src/package_2018_01_preview/operations.rs b/services/mgmt/servicebus/src/package_2018_01_preview/operations.rs index ff364746c0..04973c10b4 100644 --- a/services/mgmt/servicebus/src/package_2018_01_preview/operations.rs +++ b/services/mgmt/servicebus/src/package_2018_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod namespaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list_ip_filter_rules( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -56,7 +56,7 @@ pub mod namespaces { } } pub mod list_ip_filter_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -131,7 +131,7 @@ pub mod namespaces { } } pub mod get_ip_filter_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -210,7 +210,7 @@ pub mod namespaces { } } pub mod create_or_update_ip_filter_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -283,7 +283,7 @@ pub mod namespaces { } } pub mod delete_ip_filter_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -354,7 +354,7 @@ pub mod namespaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -427,7 +427,7 @@ pub mod namespaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -497,7 +497,7 @@ pub mod namespaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -579,7 +579,7 @@ pub mod namespaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SbNamespace), @@ -664,7 +664,7 @@ pub mod namespaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SbNamespace), @@ -737,7 +737,7 @@ pub mod namespaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -818,7 +818,7 @@ pub mod namespaces { } } pub mod list_virtual_network_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -895,7 +895,7 @@ pub mod namespaces { } } pub mod get_virtual_network_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -974,7 +974,7 @@ pub mod namespaces { } } pub mod create_or_update_virtual_network_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1047,7 +1047,7 @@ pub mod namespaces { } } pub mod delete_virtual_network_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1127,7 +1127,7 @@ pub mod namespaces { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1204,7 +1204,7 @@ pub mod namespaces { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1283,7 +1283,7 @@ pub mod namespaces { } } pub mod create_or_update_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1356,7 +1356,7 @@ pub mod namespaces { } } pub mod delete_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1437,7 +1437,7 @@ pub mod namespaces { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1514,7 +1514,7 @@ pub mod namespaces { } } pub mod regenerate_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1587,7 +1587,7 @@ pub mod namespaces { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1660,7 +1660,7 @@ pub mod namespaces { } } pub mod get_network_rule_set { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1737,7 +1737,7 @@ pub mod namespaces { } } pub mod create_or_update_network_rule_set { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1812,7 +1812,7 @@ pub mod namespaces { } } pub mod list_network_rule_sets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1882,7 +1882,7 @@ pub mod namespaces { } } pub mod migrate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1906,7 +1906,7 @@ pub mod namespaces { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1955,7 +1955,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2027,7 +2027,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2110,7 +2110,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -2184,7 +2184,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2214,7 +2214,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2263,7 +2263,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2287,7 +2287,7 @@ pub mod private_link_resources { } } pub mod disaster_recovery_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2337,7 +2337,7 @@ pub mod disaster_recovery_configs { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2407,7 +2407,7 @@ pub mod disaster_recovery_configs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2479,7 +2479,7 @@ pub mod disaster_recovery_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2557,7 +2557,7 @@ pub mod disaster_recovery_configs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ArmDisasterRecovery), @@ -2629,7 +2629,7 @@ pub mod disaster_recovery_configs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2700,7 +2700,7 @@ pub mod disaster_recovery_configs { } } pub mod break_pairing { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2776,7 +2776,7 @@ pub mod disaster_recovery_configs { } } pub mod fail_over { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2846,7 +2846,7 @@ pub mod disaster_recovery_configs { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2917,7 +2917,7 @@ pub mod disaster_recovery_configs { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2987,7 +2987,7 @@ pub mod disaster_recovery_configs { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3011,7 +3011,7 @@ pub mod disaster_recovery_configs { } } pub mod queues { - use crate::models::*; + use super::{models, models::*}; pub async fn list_authorization_rules( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3067,7 +3067,7 @@ pub mod queues { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3146,7 +3146,7 @@ pub mod queues { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3227,7 +3227,7 @@ pub mod queues { } } pub mod create_or_update_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3302,7 +3302,7 @@ pub mod queues { } } pub mod delete_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3385,7 +3385,7 @@ pub mod queues { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3456,7 +3456,7 @@ pub mod queues { } } pub mod regenerate_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3537,7 +3537,7 @@ pub mod queues { } } pub mod list_by_namespace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3609,7 +3609,7 @@ pub mod queues { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3686,7 +3686,7 @@ pub mod queues { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3754,7 +3754,7 @@ pub mod queues { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3783,7 +3783,7 @@ pub mod queues { } } pub mod topics { - use crate::models::*; + use super::{models, models::*}; pub async fn list_authorization_rules( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3839,7 +3839,7 @@ pub mod topics { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3918,7 +3918,7 @@ pub mod topics { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3999,7 +3999,7 @@ pub mod topics { } } pub mod create_or_update_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4074,7 +4074,7 @@ pub mod topics { } } pub mod delete_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4157,7 +4157,7 @@ pub mod topics { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4228,7 +4228,7 @@ pub mod topics { } } pub mod regenerate_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4309,7 +4309,7 @@ pub mod topics { } } pub mod list_by_namespace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4381,7 +4381,7 @@ pub mod topics { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4458,7 +4458,7 @@ pub mod topics { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4526,7 +4526,7 @@ pub mod topics { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4555,7 +4555,7 @@ pub mod topics { } } pub mod event_hubs { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_namespace( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4607,7 +4607,7 @@ pub mod event_hubs { } } pub mod list_by_namespace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4631,7 +4631,7 @@ pub mod event_hubs { } } pub mod migration_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4680,7 +4680,7 @@ pub mod migration_configs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4752,7 +4752,7 @@ pub mod migration_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4832,7 +4832,7 @@ pub mod migration_configs { } } pub mod create_and_start_migration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MigrationConfigProperties), @@ -4905,7 +4905,7 @@ pub mod migration_configs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4981,7 +4981,7 @@ pub mod migration_configs { } } pub mod complete_migration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5049,7 +5049,7 @@ pub mod migration_configs { } } pub mod revert { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5073,7 +5073,7 @@ pub mod migration_configs { } } pub mod premium_messaging_regions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5118,7 +5118,7 @@ pub mod premium_messaging_regions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5142,7 +5142,7 @@ pub mod premium_messaging_regions { } } pub mod regions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_sku( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5192,7 +5192,7 @@ pub mod regions { } } pub mod list_by_sku { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5216,7 +5216,7 @@ pub mod regions { } } pub mod subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_topic( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5278,7 +5278,7 @@ pub mod subscriptions { } } pub mod list_by_topic { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5352,7 +5352,7 @@ pub mod subscriptions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5431,7 +5431,7 @@ pub mod subscriptions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5501,7 +5501,7 @@ pub mod subscriptions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5530,7 +5530,7 @@ pub mod subscriptions { } } pub mod rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscriptions( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5596,7 +5596,7 @@ pub mod rules { } } pub mod list_by_subscriptions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5672,7 +5672,7 @@ pub mod rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5753,7 +5753,7 @@ pub mod rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5825,7 +5825,7 @@ pub mod rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5854,7 +5854,7 @@ pub mod rules { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ServiceBus/operations", operation_config.base_path(),); @@ -5892,7 +5892,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/servicebus/src/package_2021_01_preview/operations.rs b/services/mgmt/servicebus/src/package_2021_01_preview/operations.rs index 6b55c7df25..fa64efdae7 100644 --- a/services/mgmt/servicebus/src/package_2021_01_preview/operations.rs +++ b/services/mgmt/servicebus/src/package_2021_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod namespaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -49,7 +49,7 @@ pub mod namespaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -122,7 +122,7 @@ pub mod namespaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -192,7 +192,7 @@ pub mod namespaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -274,7 +274,7 @@ pub mod namespaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SbNamespace), @@ -359,7 +359,7 @@ pub mod namespaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SbNamespace), @@ -432,7 +432,7 @@ pub mod namespaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -511,7 +511,7 @@ pub mod namespaces { } } pub mod get_network_rule_set { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -588,7 +588,7 @@ pub mod namespaces { } } pub mod create_or_update_network_rule_set { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -663,7 +663,7 @@ pub mod namespaces { } } pub mod list_network_rule_sets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -738,7 +738,7 @@ pub mod namespaces { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -815,7 +815,7 @@ pub mod namespaces { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -894,7 +894,7 @@ pub mod namespaces { } } pub mod create_or_update_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -967,7 +967,7 @@ pub mod namespaces { } } pub mod delete_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1048,7 +1048,7 @@ pub mod namespaces { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1125,7 +1125,7 @@ pub mod namespaces { } } pub mod regenerate_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1198,7 +1198,7 @@ pub mod namespaces { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1222,7 +1222,7 @@ pub mod namespaces { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1271,7 +1271,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1343,7 +1343,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1426,7 +1426,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -1500,7 +1500,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1530,7 +1530,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1579,7 +1579,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1603,7 +1603,7 @@ pub mod private_link_resources { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ServiceBus/operations", operation_config.base_path(),); @@ -1641,7 +1641,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1665,7 +1665,7 @@ pub mod operations { } } pub mod disaster_recovery_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1715,7 +1715,7 @@ pub mod disaster_recovery_configs { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1785,7 +1785,7 @@ pub mod disaster_recovery_configs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1857,7 +1857,7 @@ pub mod disaster_recovery_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1935,7 +1935,7 @@ pub mod disaster_recovery_configs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ArmDisasterRecovery), @@ -2007,7 +2007,7 @@ pub mod disaster_recovery_configs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2078,7 +2078,7 @@ pub mod disaster_recovery_configs { } } pub mod break_pairing { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2154,7 +2154,7 @@ pub mod disaster_recovery_configs { } } pub mod fail_over { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2224,7 +2224,7 @@ pub mod disaster_recovery_configs { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2295,7 +2295,7 @@ pub mod disaster_recovery_configs { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2365,7 +2365,7 @@ pub mod disaster_recovery_configs { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2389,7 +2389,7 @@ pub mod disaster_recovery_configs { } } pub mod migration_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2438,7 +2438,7 @@ pub mod migration_configs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2510,7 +2510,7 @@ pub mod migration_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2590,7 +2590,7 @@ pub mod migration_configs { } } pub mod create_and_start_migration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MigrationConfigProperties), @@ -2663,7 +2663,7 @@ pub mod migration_configs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2739,7 +2739,7 @@ pub mod migration_configs { } } pub mod complete_migration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2807,7 +2807,7 @@ pub mod migration_configs { } } pub mod revert { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2831,7 +2831,7 @@ pub mod migration_configs { } } pub mod queues { - use crate::models::*; + use super::{models, models::*}; pub async fn list_authorization_rules( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2887,7 +2887,7 @@ pub mod queues { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2966,7 +2966,7 @@ pub mod queues { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3047,7 +3047,7 @@ pub mod queues { } } pub mod create_or_update_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3122,7 +3122,7 @@ pub mod queues { } } pub mod delete_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3205,7 +3205,7 @@ pub mod queues { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3276,7 +3276,7 @@ pub mod queues { } } pub mod regenerate_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3357,7 +3357,7 @@ pub mod queues { } } pub mod list_by_namespace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3429,7 +3429,7 @@ pub mod queues { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3506,7 +3506,7 @@ pub mod queues { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3574,7 +3574,7 @@ pub mod queues { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3603,7 +3603,7 @@ pub mod queues { } } pub mod topics { - use crate::models::*; + use super::{models, models::*}; pub async fn list_authorization_rules( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3659,7 +3659,7 @@ pub mod topics { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3738,7 +3738,7 @@ pub mod topics { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3819,7 +3819,7 @@ pub mod topics { } } pub mod create_or_update_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3894,7 +3894,7 @@ pub mod topics { } } pub mod delete_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3977,7 +3977,7 @@ pub mod topics { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4048,7 +4048,7 @@ pub mod topics { } } pub mod regenerate_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4129,7 +4129,7 @@ pub mod topics { } } pub mod list_by_namespace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4201,7 +4201,7 @@ pub mod topics { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4278,7 +4278,7 @@ pub mod topics { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4346,7 +4346,7 @@ pub mod topics { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4375,7 +4375,7 @@ pub mod topics { } } pub mod rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscriptions( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4441,7 +4441,7 @@ pub mod rules { } } pub mod list_by_subscriptions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4517,7 +4517,7 @@ pub mod rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4598,7 +4598,7 @@ pub mod rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4670,7 +4670,7 @@ pub mod rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4699,7 +4699,7 @@ pub mod rules { } } pub mod subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_topic( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4761,7 +4761,7 @@ pub mod subscriptions { } } pub mod list_by_topic { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4835,7 +4835,7 @@ pub mod subscriptions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4914,7 +4914,7 @@ pub mod subscriptions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4984,7 +4984,7 @@ pub mod subscriptions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/servicebus/src/package_2021_06_preview/operations.rs b/services/mgmt/servicebus/src/package_2021_06_preview/operations.rs index 6b55c7df25..fa64efdae7 100644 --- a/services/mgmt/servicebus/src/package_2021_06_preview/operations.rs +++ b/services/mgmt/servicebus/src/package_2021_06_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod namespaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -49,7 +49,7 @@ pub mod namespaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -122,7 +122,7 @@ pub mod namespaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -192,7 +192,7 @@ pub mod namespaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -274,7 +274,7 @@ pub mod namespaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SbNamespace), @@ -359,7 +359,7 @@ pub mod namespaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SbNamespace), @@ -432,7 +432,7 @@ pub mod namespaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -511,7 +511,7 @@ pub mod namespaces { } } pub mod get_network_rule_set { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -588,7 +588,7 @@ pub mod namespaces { } } pub mod create_or_update_network_rule_set { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -663,7 +663,7 @@ pub mod namespaces { } } pub mod list_network_rule_sets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -738,7 +738,7 @@ pub mod namespaces { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -815,7 +815,7 @@ pub mod namespaces { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -894,7 +894,7 @@ pub mod namespaces { } } pub mod create_or_update_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -967,7 +967,7 @@ pub mod namespaces { } } pub mod delete_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1048,7 +1048,7 @@ pub mod namespaces { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1125,7 +1125,7 @@ pub mod namespaces { } } pub mod regenerate_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1198,7 +1198,7 @@ pub mod namespaces { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1222,7 +1222,7 @@ pub mod namespaces { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1271,7 +1271,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1343,7 +1343,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1426,7 +1426,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -1500,7 +1500,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1530,7 +1530,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1579,7 +1579,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1603,7 +1603,7 @@ pub mod private_link_resources { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ServiceBus/operations", operation_config.base_path(),); @@ -1641,7 +1641,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1665,7 +1665,7 @@ pub mod operations { } } pub mod disaster_recovery_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1715,7 +1715,7 @@ pub mod disaster_recovery_configs { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1785,7 +1785,7 @@ pub mod disaster_recovery_configs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1857,7 +1857,7 @@ pub mod disaster_recovery_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1935,7 +1935,7 @@ pub mod disaster_recovery_configs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ArmDisasterRecovery), @@ -2007,7 +2007,7 @@ pub mod disaster_recovery_configs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2078,7 +2078,7 @@ pub mod disaster_recovery_configs { } } pub mod break_pairing { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2154,7 +2154,7 @@ pub mod disaster_recovery_configs { } } pub mod fail_over { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2224,7 +2224,7 @@ pub mod disaster_recovery_configs { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2295,7 +2295,7 @@ pub mod disaster_recovery_configs { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2365,7 +2365,7 @@ pub mod disaster_recovery_configs { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2389,7 +2389,7 @@ pub mod disaster_recovery_configs { } } pub mod migration_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2438,7 +2438,7 @@ pub mod migration_configs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2510,7 +2510,7 @@ pub mod migration_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2590,7 +2590,7 @@ pub mod migration_configs { } } pub mod create_and_start_migration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MigrationConfigProperties), @@ -2663,7 +2663,7 @@ pub mod migration_configs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2739,7 +2739,7 @@ pub mod migration_configs { } } pub mod complete_migration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2807,7 +2807,7 @@ pub mod migration_configs { } } pub mod revert { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2831,7 +2831,7 @@ pub mod migration_configs { } } pub mod queues { - use crate::models::*; + use super::{models, models::*}; pub async fn list_authorization_rules( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2887,7 +2887,7 @@ pub mod queues { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2966,7 +2966,7 @@ pub mod queues { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3047,7 +3047,7 @@ pub mod queues { } } pub mod create_or_update_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3122,7 +3122,7 @@ pub mod queues { } } pub mod delete_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3205,7 +3205,7 @@ pub mod queues { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3276,7 +3276,7 @@ pub mod queues { } } pub mod regenerate_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3357,7 +3357,7 @@ pub mod queues { } } pub mod list_by_namespace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3429,7 +3429,7 @@ pub mod queues { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3506,7 +3506,7 @@ pub mod queues { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3574,7 +3574,7 @@ pub mod queues { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3603,7 +3603,7 @@ pub mod queues { } } pub mod topics { - use crate::models::*; + use super::{models, models::*}; pub async fn list_authorization_rules( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3659,7 +3659,7 @@ pub mod topics { } } pub mod list_authorization_rules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3738,7 +3738,7 @@ pub mod topics { } } pub mod get_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3819,7 +3819,7 @@ pub mod topics { } } pub mod create_or_update_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3894,7 +3894,7 @@ pub mod topics { } } pub mod delete_authorization_rule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3977,7 +3977,7 @@ pub mod topics { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4048,7 +4048,7 @@ pub mod topics { } } pub mod regenerate_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4129,7 +4129,7 @@ pub mod topics { } } pub mod list_by_namespace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4201,7 +4201,7 @@ pub mod topics { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4278,7 +4278,7 @@ pub mod topics { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4346,7 +4346,7 @@ pub mod topics { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4375,7 +4375,7 @@ pub mod topics { } } pub mod rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscriptions( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4441,7 +4441,7 @@ pub mod rules { } } pub mod list_by_subscriptions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4517,7 +4517,7 @@ pub mod rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4598,7 +4598,7 @@ pub mod rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4670,7 +4670,7 @@ pub mod rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4699,7 +4699,7 @@ pub mod rules { } } pub mod subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_topic( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4761,7 +4761,7 @@ pub mod subscriptions { } } pub mod list_by_topic { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4835,7 +4835,7 @@ pub mod subscriptions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4914,7 +4914,7 @@ pub mod subscriptions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4984,7 +4984,7 @@ pub mod subscriptions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/servicefabricmesh/Cargo.toml b/services/mgmt/servicefabricmesh/Cargo.toml index 93c5e55d21..64b3f63cde 100644 --- a/services/mgmt/servicefabricmesh/Cargo.toml +++ b/services/mgmt/servicefabricmesh/Cargo.toml @@ -20,5 +20,6 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2018-09-01-preview"] +no-default-version = [] "package-2018-09-01-preview" = [] "package-2018-07-01-preview" = [] diff --git a/services/mgmt/servicefabricmesh/src/lib.rs b/services/mgmt/servicefabricmesh/src/lib.rs index 81b362a37f..6bffd24459 100644 --- a/services/mgmt/servicefabricmesh/src/lib.rs +++ b/services/mgmt/servicefabricmesh/src/lib.rs @@ -1,13 +1,21 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2018-09-01-preview")] -mod package_2018_09_01_preview; -#[cfg(feature = "package-2018-09-01-preview")] +pub mod package_2018_09_01_preview; +#[cfg(all(feature = "package-2018-09-01-preview", not(feature = "no-default-version")))] pub use package_2018_09_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-07-01-preview")] -mod package_2018_07_01_preview; +pub mod package_2018_07_01_preview; use azure_core::setters; -#[cfg(feature = "package-2018-07-01-preview")] +#[cfg(all(feature = "package-2018-07-01-preview", not(feature = "no-default-version")))] pub use package_2018_07_01_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -31,7 +39,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/servicefabricmesh/src/package_2018_07_01_preview/operations.rs b/services/mgmt/servicefabricmesh/src/package_2018_07_01_preview/operations.rs index 5a079ceda0..6898f23a2c 100644 --- a/services/mgmt/servicefabricmesh/src/package_2018_07_01_preview/operations.rs +++ b/services/mgmt/servicefabricmesh/src/package_2018_07_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod application { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod application { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -131,7 +131,7 @@ pub mod application { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationResourceDescription), @@ -202,7 +202,7 @@ pub mod application { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -280,7 +280,7 @@ pub mod application { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -349,7 +349,7 @@ pub mod application { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -373,7 +373,7 @@ pub mod application { } } pub mod service { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_application_name( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -425,7 +425,7 @@ pub mod service { } } pub mod list_by_application_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -492,7 +492,7 @@ pub mod service { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -513,7 +513,7 @@ pub mod service { } } pub mod replica { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_service_name( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -565,7 +565,7 @@ pub mod replica { } } pub mod list_by_service_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -634,7 +634,7 @@ pub mod replica { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -655,7 +655,7 @@ pub mod replica { } } pub mod code_package { - use crate::models::*; + use super::{models, models::*}; pub async fn get_container_log( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -708,7 +708,7 @@ pub mod code_package { } } pub mod get_container_log { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -732,7 +732,7 @@ pub mod code_package { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ServiceFabricMesh/operations", operation_config.base_path(),); @@ -770,7 +770,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -794,7 +794,7 @@ pub mod operations { } } pub mod network { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -843,7 +843,7 @@ pub mod network { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -921,7 +921,7 @@ pub mod network { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkResourceDescription), @@ -992,7 +992,7 @@ pub mod network { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1070,7 +1070,7 @@ pub mod network { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1139,7 +1139,7 @@ pub mod network { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1163,7 +1163,7 @@ pub mod network { } } pub mod volume { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1212,7 +1212,7 @@ pub mod volume { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1290,7 +1290,7 @@ pub mod volume { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VolumeResourceDescription), @@ -1361,7 +1361,7 @@ pub mod volume { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1439,7 +1439,7 @@ pub mod volume { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1508,7 +1508,7 @@ pub mod volume { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/servicefabricmesh/src/package_2018_09_01_preview/operations.rs b/services/mgmt/servicefabricmesh/src/package_2018_09_01_preview/operations.rs index 727dcab0ec..271c6dff37 100644 --- a/services/mgmt/servicefabricmesh/src/package_2018_09_01_preview/operations.rs +++ b/services/mgmt/servicefabricmesh/src/package_2018_09_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ServiceFabricMesh/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod secret { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -115,7 +115,7 @@ pub mod secret { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -194,7 +194,7 @@ pub mod secret { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecretResourceDescription), @@ -267,7 +267,7 @@ pub mod secret { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -346,7 +346,7 @@ pub mod secret { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -415,7 +415,7 @@ pub mod secret { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -439,7 +439,7 @@ pub mod secret { } } pub mod secret_value { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -490,7 +490,7 @@ pub mod secret_value { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -571,7 +571,7 @@ pub mod secret_value { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecretValueResourceDescription), @@ -646,7 +646,7 @@ pub mod secret_value { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -722,7 +722,7 @@ pub mod secret_value { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -798,7 +798,7 @@ pub mod secret_value { } } pub mod list_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -822,7 +822,7 @@ pub mod secret_value { } } pub mod volume { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -871,7 +871,7 @@ pub mod volume { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -950,7 +950,7 @@ pub mod volume { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VolumeResourceDescription), @@ -1023,7 +1023,7 @@ pub mod volume { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1102,7 +1102,7 @@ pub mod volume { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1171,7 +1171,7 @@ pub mod volume { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1195,7 +1195,7 @@ pub mod volume { } } pub mod network { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1244,7 +1244,7 @@ pub mod network { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1323,7 +1323,7 @@ pub mod network { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkResourceDescription), @@ -1396,7 +1396,7 @@ pub mod network { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1475,7 +1475,7 @@ pub mod network { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1544,7 +1544,7 @@ pub mod network { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1568,7 +1568,7 @@ pub mod network { } } pub mod gateway { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1617,7 +1617,7 @@ pub mod gateway { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1696,7 +1696,7 @@ pub mod gateway { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GatewayResourceDescription), @@ -1769,7 +1769,7 @@ pub mod gateway { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1848,7 +1848,7 @@ pub mod gateway { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1917,7 +1917,7 @@ pub mod gateway { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1941,7 +1941,7 @@ pub mod gateway { } } pub mod application { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1990,7 +1990,7 @@ pub mod application { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2069,7 +2069,7 @@ pub mod application { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ApplicationResourceDescription), @@ -2142,7 +2142,7 @@ pub mod application { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2221,7 +2221,7 @@ pub mod application { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2290,7 +2290,7 @@ pub mod application { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2314,7 +2314,7 @@ pub mod application { } } pub mod service { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2365,7 +2365,7 @@ pub mod service { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2435,7 +2435,7 @@ pub mod service { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2459,7 +2459,7 @@ pub mod service { } } pub mod service_replica { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2512,7 +2512,7 @@ pub mod service_replica { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2584,7 +2584,7 @@ pub mod service_replica { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2608,7 +2608,7 @@ pub mod service_replica { } } pub mod code_package { - use crate::models::*; + use super::{models, models::*}; pub async fn get_container_logs( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2661,7 +2661,7 @@ pub mod code_package { } } pub mod get_container_logs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/servicelinker/Cargo.toml b/services/mgmt/servicelinker/Cargo.toml index 5f3f2d30bc..61eed34496 100644 --- a/services/mgmt/servicelinker/Cargo.toml +++ b/services/mgmt/servicelinker/Cargo.toml @@ -20,4 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-11-01-preview"] +no-default-version = [] "package-2021-11-01-preview" = [] diff --git a/services/mgmt/servicelinker/src/lib.rs b/services/mgmt/servicelinker/src/lib.rs index de04c0630c..4960d2201c 100644 --- a/services/mgmt/servicelinker/src/lib.rs +++ b/services/mgmt/servicelinker/src/lib.rs @@ -1,9 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-11-01-preview")] -mod package_2021_11_01_preview; +pub mod package_2021_11_01_preview; use azure_core::setters; -#[cfg(feature = "package-2021-11-01-preview")] +#[cfg(all(feature = "package-2021-11-01-preview", not(feature = "no-default-version")))] pub use package_2021_11_01_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -27,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/servicelinker/src/package_2021_11_01_preview/operations.rs b/services/mgmt/servicelinker/src/package_2021_11_01_preview/operations.rs index d068183a0c..9cda295388 100644 --- a/services/mgmt/servicelinker/src/package_2021_11_01_preview/operations.rs +++ b/services/mgmt/servicelinker/src/package_2021_11_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod linker { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, resource_uri: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -46,7 +46,7 @@ pub mod linker { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -114,7 +114,7 @@ pub mod linker { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -193,7 +193,7 @@ pub mod linker { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LinkerResource), @@ -274,7 +274,7 @@ pub mod linker { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LinkerResource), @@ -344,7 +344,7 @@ pub mod linker { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -423,7 +423,7 @@ pub mod linker { } } pub mod validate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ValidateResult), @@ -500,7 +500,7 @@ pub mod linker { } } pub mod list_configurations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -524,7 +524,7 @@ pub mod linker { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.ServiceLinker/operations", operation_config.base_path(),); @@ -562,7 +562,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/signalr/Cargo.toml b/services/mgmt/signalr/Cargo.toml index b8096bc727..536e308698 100644 --- a/services/mgmt/signalr/Cargo.toml +++ b/services/mgmt/signalr/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2020-05-01"] +no-default-version = [] "package-2021-09-01-preview" = [] "package-2021-06-01-preview" = [] "package-2021-04-01-preview" = [] diff --git a/services/mgmt/signalr/src/lib.rs b/services/mgmt/signalr/src/lib.rs index 4ff0dd4887..92c6602235 100644 --- a/services/mgmt/signalr/src/lib.rs +++ b/services/mgmt/signalr/src/lib.rs @@ -1,33 +1,41 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-09-01-preview")] -mod package_2021_09_01_preview; -#[cfg(feature = "package-2021-09-01-preview")] +pub mod package_2021_09_01_preview; +#[cfg(all(feature = "package-2021-09-01-preview", not(feature = "no-default-version")))] pub use package_2021_09_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-06-01-preview")] -mod package_2021_06_01_preview; -#[cfg(feature = "package-2021-06-01-preview")] +pub mod package_2021_06_01_preview; +#[cfg(all(feature = "package-2021-06-01-preview", not(feature = "no-default-version")))] pub use package_2021_06_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-04-01-preview")] -mod package_2021_04_01_preview; -#[cfg(feature = "package-2021-04-01-preview")] +pub mod package_2021_04_01_preview; +#[cfg(all(feature = "package-2021-04-01-preview", not(feature = "no-default-version")))] pub use package_2021_04_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-07-01-preview")] -mod package_2020_07_01_preview; -#[cfg(feature = "package-2020-07-01-preview")] +pub mod package_2020_07_01_preview; +#[cfg(all(feature = "package-2020-07-01-preview", not(feature = "no-default-version")))] pub use package_2020_07_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-05-01")] -mod package_2020_05_01; -#[cfg(feature = "package-2020-05-01")] +pub mod package_2020_05_01; +#[cfg(all(feature = "package-2020-05-01", not(feature = "no-default-version")))] pub use package_2020_05_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-10-01")] -mod package_2018_10_01; -#[cfg(feature = "package-2018-10-01")] +pub mod package_2018_10_01; +#[cfg(all(feature = "package-2018-10-01", not(feature = "no-default-version")))] pub use package_2018_10_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-03-01-preview")] -mod package_2018_03_01_preview; +pub mod package_2018_03_01_preview; use azure_core::setters; -#[cfg(feature = "package-2018-03-01-preview")] +#[cfg(all(feature = "package-2018-03-01-preview", not(feature = "no-default-version")))] pub use package_2018_03_01_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -51,7 +59,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/signalr/src/package_2018_03_01_preview/operations.rs b/services/mgmt/signalr/src/package_2018_03_01_preview/operations.rs index 3aad2eb6df..f8bbb340da 100644 --- a/services/mgmt/signalr/src/package_2018_03_01_preview/operations.rs +++ b/services/mgmt/signalr/src/package_2018_03_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.SignalRService/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod signal_r { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, location: &str, @@ -117,7 +117,7 @@ pub mod signal_r { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -181,7 +181,7 @@ pub mod signal_r { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -249,7 +249,7 @@ pub mod signal_r { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -318,7 +318,7 @@ pub mod signal_r { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -392,7 +392,7 @@ pub mod signal_r { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -457,7 +457,7 @@ pub mod signal_r { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -538,7 +538,7 @@ pub mod signal_r { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SignalRResource), @@ -616,7 +616,7 @@ pub mod signal_r { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SignalRResource), @@ -682,7 +682,7 @@ pub mod signal_r { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -708,7 +708,7 @@ pub mod signal_r { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -753,7 +753,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/signalr/src/package_2018_10_01/operations.rs b/services/mgmt/signalr/src/package_2018_10_01/operations.rs index c17b198121..0ee72401cd 100644 --- a/services/mgmt/signalr/src/package_2018_10_01/operations.rs +++ b/services/mgmt/signalr/src/package_2018_10_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.SignalRService/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod signal_r { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, location: &str, @@ -124,7 +124,7 @@ pub mod signal_r { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -193,7 +193,7 @@ pub mod signal_r { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -266,7 +266,7 @@ pub mod signal_r { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -340,7 +340,7 @@ pub mod signal_r { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -419,7 +419,7 @@ pub mod signal_r { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -489,7 +489,7 @@ pub mod signal_r { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -575,7 +575,7 @@ pub mod signal_r { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SignalRResource), @@ -658,7 +658,7 @@ pub mod signal_r { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SignalRResource), @@ -729,7 +729,7 @@ pub mod signal_r { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -804,7 +804,7 @@ pub mod signal_r { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -833,7 +833,7 @@ pub mod signal_r { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -880,7 +880,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/signalr/src/package_2020_05_01/operations.rs b/services/mgmt/signalr/src/package_2020_05_01/operations.rs index 9706f45e7c..2c3e8cab9e 100644 --- a/services/mgmt/signalr/src/package_2020_05_01/operations.rs +++ b/services/mgmt/signalr/src/package_2020_05_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.SignalRService/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod signal_r { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, location: &str, @@ -124,7 +124,7 @@ pub mod signal_r { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -193,7 +193,7 @@ pub mod signal_r { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -266,7 +266,7 @@ pub mod signal_r { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -340,7 +340,7 @@ pub mod signal_r { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -419,7 +419,7 @@ pub mod signal_r { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -489,7 +489,7 @@ pub mod signal_r { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -575,7 +575,7 @@ pub mod signal_r { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SignalRResource), @@ -658,7 +658,7 @@ pub mod signal_r { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SignalRResource), @@ -729,7 +729,7 @@ pub mod signal_r { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -804,7 +804,7 @@ pub mod signal_r { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -833,7 +833,7 @@ pub mod signal_r { } } pub mod signal_r_private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, private_endpoint_connection_name: &str, @@ -884,7 +884,7 @@ pub mod signal_r_private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -962,7 +962,7 @@ pub mod signal_r_private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1030,7 +1030,7 @@ pub mod signal_r_private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1059,7 +1059,7 @@ pub mod signal_r_private_endpoint_connections { } } pub mod signal_r_private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1108,7 +1108,7 @@ pub mod signal_r_private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1132,7 +1132,7 @@ pub mod signal_r_private_link_resources { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -1179,7 +1179,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/signalr/src/package_2020_07_01_preview/operations.rs b/services/mgmt/signalr/src/package_2020_07_01_preview/operations.rs index aa5210b055..af86c7df25 100644 --- a/services/mgmt/signalr/src/package_2020_07_01_preview/operations.rs +++ b/services/mgmt/signalr/src/package_2020_07_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.SignalRService/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod signal_r { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, location: &str, @@ -124,7 +124,7 @@ pub mod signal_r { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -193,7 +193,7 @@ pub mod signal_r { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -266,7 +266,7 @@ pub mod signal_r { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -336,7 +336,7 @@ pub mod signal_r { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -422,7 +422,7 @@ pub mod signal_r { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SignalRResource), @@ -505,7 +505,7 @@ pub mod signal_r { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SignalRResource), @@ -576,7 +576,7 @@ pub mod signal_r { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -655,7 +655,7 @@ pub mod signal_r { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -734,7 +734,7 @@ pub mod signal_r { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -804,7 +804,7 @@ pub mod signal_r { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -833,7 +833,7 @@ pub mod signal_r { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -880,7 +880,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -904,7 +904,7 @@ pub mod usages { } } pub mod signal_r_private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, private_endpoint_connection_name: &str, @@ -955,7 +955,7 @@ pub mod signal_r_private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1033,7 +1033,7 @@ pub mod signal_r_private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1101,7 +1101,7 @@ pub mod signal_r_private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1130,7 +1130,7 @@ pub mod signal_r_private_endpoint_connections { } } pub mod signal_r_private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1179,7 +1179,7 @@ pub mod signal_r_private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/signalr/src/package_2021_04_01_preview/operations.rs b/services/mgmt/signalr/src/package_2021_04_01_preview/operations.rs index 000eae8822..9a86cd6228 100644 --- a/services/mgmt/signalr/src/package_2021_04_01_preview/operations.rs +++ b/services/mgmt/signalr/src/package_2021_04_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.SignalRService/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod signal_r { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, location: &str, @@ -120,7 +120,7 @@ pub mod signal_r { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -189,7 +189,7 @@ pub mod signal_r { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -262,7 +262,7 @@ pub mod signal_r { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -332,7 +332,7 @@ pub mod signal_r { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -414,7 +414,7 @@ pub mod signal_r { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SignalRResource), @@ -493,7 +493,7 @@ pub mod signal_r { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SignalRResource), @@ -565,7 +565,7 @@ pub mod signal_r { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -645,7 +645,7 @@ pub mod signal_r { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -720,7 +720,7 @@ pub mod signal_r { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -790,7 +790,7 @@ pub mod signal_r { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -819,7 +819,7 @@ pub mod signal_r { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -866,7 +866,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -890,7 +890,7 @@ pub mod usages { } } pub mod signal_r_private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -939,7 +939,7 @@ pub mod signal_r_private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1011,7 +1011,7 @@ pub mod signal_r_private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1085,7 +1085,7 @@ pub mod signal_r_private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1154,7 +1154,7 @@ pub mod signal_r_private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1184,7 +1184,7 @@ pub mod signal_r_private_endpoint_connections { } } pub mod signal_r_private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1233,7 +1233,7 @@ pub mod signal_r_private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1257,7 +1257,7 @@ pub mod signal_r_private_link_resources { } } pub mod signal_r_shared_private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1306,7 +1306,7 @@ pub mod signal_r_shared_private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1378,7 +1378,7 @@ pub mod signal_r_shared_private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1461,7 +1461,7 @@ pub mod signal_r_shared_private_link_resources { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SharedPrivateLinkResource), @@ -1535,7 +1535,7 @@ pub mod signal_r_shared_private_link_resources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/signalr/src/package_2021_06_01_preview/operations.rs b/services/mgmt/signalr/src/package_2021_06_01_preview/operations.rs index 000eae8822..9a86cd6228 100644 --- a/services/mgmt/signalr/src/package_2021_06_01_preview/operations.rs +++ b/services/mgmt/signalr/src/package_2021_06_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.SignalRService/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod signal_r { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, location: &str, @@ -120,7 +120,7 @@ pub mod signal_r { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -189,7 +189,7 @@ pub mod signal_r { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -262,7 +262,7 @@ pub mod signal_r { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -332,7 +332,7 @@ pub mod signal_r { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -414,7 +414,7 @@ pub mod signal_r { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SignalRResource), @@ -493,7 +493,7 @@ pub mod signal_r { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SignalRResource), @@ -565,7 +565,7 @@ pub mod signal_r { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -645,7 +645,7 @@ pub mod signal_r { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -720,7 +720,7 @@ pub mod signal_r { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -790,7 +790,7 @@ pub mod signal_r { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -819,7 +819,7 @@ pub mod signal_r { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -866,7 +866,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -890,7 +890,7 @@ pub mod usages { } } pub mod signal_r_private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -939,7 +939,7 @@ pub mod signal_r_private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1011,7 +1011,7 @@ pub mod signal_r_private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1085,7 +1085,7 @@ pub mod signal_r_private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1154,7 +1154,7 @@ pub mod signal_r_private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1184,7 +1184,7 @@ pub mod signal_r_private_endpoint_connections { } } pub mod signal_r_private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1233,7 +1233,7 @@ pub mod signal_r_private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1257,7 +1257,7 @@ pub mod signal_r_private_link_resources { } } pub mod signal_r_shared_private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1306,7 +1306,7 @@ pub mod signal_r_shared_private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1378,7 +1378,7 @@ pub mod signal_r_shared_private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1461,7 +1461,7 @@ pub mod signal_r_shared_private_link_resources { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SharedPrivateLinkResource), @@ -1535,7 +1535,7 @@ pub mod signal_r_shared_private_link_resources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/signalr/src/package_2021_09_01_preview/operations.rs b/services/mgmt/signalr/src/package_2021_09_01_preview/operations.rs index 5860b7e67d..15a3519ac2 100644 --- a/services/mgmt/signalr/src/package_2021_09_01_preview/operations.rs +++ b/services/mgmt/signalr/src/package_2021_09_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.SignalRService/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod signal_r { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, location: &str, @@ -120,7 +120,7 @@ pub mod signal_r { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -189,7 +189,7 @@ pub mod signal_r { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -262,7 +262,7 @@ pub mod signal_r { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -332,7 +332,7 @@ pub mod signal_r { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -414,7 +414,7 @@ pub mod signal_r { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SignalRResource), @@ -493,7 +493,7 @@ pub mod signal_r { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SignalRResource), @@ -565,7 +565,7 @@ pub mod signal_r { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -645,7 +645,7 @@ pub mod signal_r { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -720,7 +720,7 @@ pub mod signal_r { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -790,7 +790,7 @@ pub mod signal_r { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -868,7 +868,7 @@ pub mod signal_r { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -892,7 +892,7 @@ pub mod signal_r { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -939,7 +939,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -963,7 +963,7 @@ pub mod usages { } } pub mod signal_r_private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1012,7 +1012,7 @@ pub mod signal_r_private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1084,7 +1084,7 @@ pub mod signal_r_private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1158,7 +1158,7 @@ pub mod signal_r_private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1227,7 +1227,7 @@ pub mod signal_r_private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1257,7 +1257,7 @@ pub mod signal_r_private_endpoint_connections { } } pub mod signal_r_private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1306,7 +1306,7 @@ pub mod signal_r_private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1330,7 +1330,7 @@ pub mod signal_r_private_link_resources { } } pub mod signal_r_shared_private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1379,7 +1379,7 @@ pub mod signal_r_shared_private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1451,7 +1451,7 @@ pub mod signal_r_shared_private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1534,7 +1534,7 @@ pub mod signal_r_shared_private_link_resources { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SharedPrivateLinkResource), @@ -1608,7 +1608,7 @@ pub mod signal_r_shared_private_link_resources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/softwareplan/Cargo.toml b/services/mgmt/softwareplan/Cargo.toml index cde5cf184a..dfe34bcfab 100644 --- a/services/mgmt/softwareplan/Cargo.toml +++ b/services/mgmt/softwareplan/Cargo.toml @@ -20,5 +20,6 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2019-12-01"] +no-default-version = [] "package-2019-06-01-preview" = [] "package-2019-12-01" = [] diff --git a/services/mgmt/softwareplan/src/lib.rs b/services/mgmt/softwareplan/src/lib.rs index 4b52928c50..421b5bd6b1 100644 --- a/services/mgmt/softwareplan/src/lib.rs +++ b/services/mgmt/softwareplan/src/lib.rs @@ -1,13 +1,21 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2019-06-01-preview")] -mod package_2019_06_01_preview; -#[cfg(feature = "package-2019-06-01-preview")] +pub mod package_2019_06_01_preview; +#[cfg(all(feature = "package-2019-06-01-preview", not(feature = "no-default-version")))] pub use package_2019_06_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-12-01")] -mod package_2019_12_01; +pub mod package_2019_12_01; use azure_core::setters; -#[cfg(feature = "package-2019-12-01")] +#[cfg(all(feature = "package-2019-12-01", not(feature = "no-default-version")))] pub use package_2019_12_01::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -31,7 +39,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/softwareplan/src/package_2019_06_01_preview/operations.rs b/services/mgmt/softwareplan/src/package_2019_06_01_preview/operations.rs index 06f67d08e3..7a11b6a504 100644 --- a/services/mgmt/softwareplan/src/package_2019_06_01_preview/operations.rs +++ b/services/mgmt/softwareplan/src/package_2019_06_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod software_plan { - use crate::models::*; + use super::{models, models::*}; pub async fn register(operation_config: &crate::OperationConfig, subscription_id: &str) -> std::result::Result<(), register::Error> { let http_client = operation_config.http_client(); let url_str = &format!( @@ -45,7 +45,7 @@ pub mod software_plan { } } pub mod register { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -69,7 +69,7 @@ pub mod software_plan { } } pub mod hybrid_use_benefit { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, scope: &str, @@ -118,7 +118,7 @@ pub mod hybrid_use_benefit { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -186,7 +186,7 @@ pub mod hybrid_use_benefit { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -256,7 +256,7 @@ pub mod hybrid_use_benefit { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -326,7 +326,7 @@ pub mod hybrid_use_benefit { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -390,7 +390,7 @@ pub mod hybrid_use_benefit { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -419,7 +419,7 @@ pub mod hybrid_use_benefit { } } pub mod hybrid_use_benefit_revision { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, scope: &str, @@ -466,7 +466,7 @@ pub mod hybrid_use_benefit_revision { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -490,7 +490,7 @@ pub mod hybrid_use_benefit_revision { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, scope: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -532,7 +532,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/softwareplan/src/package_2019_12_01/operations.rs b/services/mgmt/softwareplan/src/package_2019_12_01/operations.rs index 06f67d08e3..7a11b6a504 100644 --- a/services/mgmt/softwareplan/src/package_2019_12_01/operations.rs +++ b/services/mgmt/softwareplan/src/package_2019_12_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod software_plan { - use crate::models::*; + use super::{models, models::*}; pub async fn register(operation_config: &crate::OperationConfig, subscription_id: &str) -> std::result::Result<(), register::Error> { let http_client = operation_config.http_client(); let url_str = &format!( @@ -45,7 +45,7 @@ pub mod software_plan { } } pub mod register { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -69,7 +69,7 @@ pub mod software_plan { } } pub mod hybrid_use_benefit { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, scope: &str, @@ -118,7 +118,7 @@ pub mod hybrid_use_benefit { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -186,7 +186,7 @@ pub mod hybrid_use_benefit { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -256,7 +256,7 @@ pub mod hybrid_use_benefit { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -326,7 +326,7 @@ pub mod hybrid_use_benefit { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -390,7 +390,7 @@ pub mod hybrid_use_benefit { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -419,7 +419,7 @@ pub mod hybrid_use_benefit { } } pub mod hybrid_use_benefit_revision { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, scope: &str, @@ -466,7 +466,7 @@ pub mod hybrid_use_benefit_revision { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -490,7 +490,7 @@ pub mod hybrid_use_benefit_revision { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, scope: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -532,7 +532,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/sql/Cargo.toml b/services/mgmt/sql/Cargo.toml index 0d6c0b3063..b264ad9a4b 100644 --- a/services/mgmt/sql/Cargo.toml +++ b/services/mgmt/sql/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-composite-v5"] +no-default-version = [] "package-composite-v5" = [] "package-composite-v4" = [] "package-composite-v3" = [] diff --git a/services/mgmt/sql/src/lib.rs b/services/mgmt/sql/src/lib.rs index b5177626fd..b695dbdf6e 100644 --- a/services/mgmt/sql/src/lib.rs +++ b/services/mgmt/sql/src/lib.rs @@ -1,37 +1,45 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-composite-v5")] -mod package_composite_v5; -#[cfg(feature = "package-composite-v5")] +pub mod package_composite_v5; +#[cfg(all(feature = "package-composite-v5", not(feature = "no-default-version")))] pub use package_composite_v5::{models, operations, API_VERSION}; #[cfg(feature = "package-composite-v4")] -mod package_composite_v4; -#[cfg(feature = "package-composite-v4")] +pub mod package_composite_v4; +#[cfg(all(feature = "package-composite-v4", not(feature = "no-default-version")))] pub use package_composite_v4::{models, operations, API_VERSION}; #[cfg(feature = "package-composite-v3")] -mod package_composite_v3; -#[cfg(feature = "package-composite-v3")] +pub mod package_composite_v3; +#[cfg(all(feature = "package-composite-v3", not(feature = "no-default-version")))] pub use package_composite_v3::{models, operations, API_VERSION}; #[cfg(feature = "package-composite-v2")] -mod package_composite_v2; -#[cfg(feature = "package-composite-v2")] +pub mod package_composite_v2; +#[cfg(all(feature = "package-composite-v2", not(feature = "no-default-version")))] pub use package_composite_v2::{models, operations, API_VERSION}; #[cfg(feature = "package-composite-v1")] -mod package_composite_v1; -#[cfg(feature = "package-composite-v1")] +pub mod package_composite_v1; +#[cfg(all(feature = "package-composite-v1", not(feature = "no-default-version")))] pub use package_composite_v1::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-03-preview")] -mod package_2017_03_preview; -#[cfg(feature = "package-2017-03-preview")] +pub mod package_2017_03_preview; +#[cfg(all(feature = "package-2017-03-preview", not(feature = "no-default-version")))] pub use package_2017_03_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2015-05-preview")] -mod package_2015_05_preview; -#[cfg(feature = "package-2015-05-preview")] +pub mod package_2015_05_preview; +#[cfg(all(feature = "package-2015-05-preview", not(feature = "no-default-version")))] pub use package_2015_05_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2014-04")] -mod package_2014_04; +pub mod package_2014_04; use azure_core::setters; -#[cfg(feature = "package-2014-04")] +#[cfg(all(feature = "package-2014-04", not(feature = "no-default-version")))] pub use package_2014_04::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -55,7 +63,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/sql/src/package_2014_04/operations.rs b/services/mgmt/sql/src/package_2014_04/operations.rs index 177aa2822c..e2dcebe02d 100644 --- a/services/mgmt/sql/src/package_2014_04/operations.rs +++ b/services/mgmt/sql/src/package_2014_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod servers { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -54,7 +54,7 @@ pub mod servers { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -75,7 +75,7 @@ pub mod servers { } } pub mod databases { - use crate::models::*; + use super::{models, models::*}; pub async fn pause( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -121,7 +121,7 @@ pub mod databases { } } pub mod pause { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -190,7 +190,7 @@ pub mod databases { } } pub mod resume { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -266,7 +266,7 @@ pub mod databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -345,7 +345,7 @@ pub mod databases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -421,7 +421,7 @@ pub mod databases { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -489,7 +489,7 @@ pub mod databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -570,7 +570,7 @@ pub mod databases { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -642,7 +642,7 @@ pub mod databases { } } pub mod get_by_elastic_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -712,7 +712,7 @@ pub mod databases { } } pub mod list_by_elastic_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -786,7 +786,7 @@ pub mod databases { } } pub mod get_by_recommended_elastic_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -858,7 +858,7 @@ pub mod databases { } } pub mod list_by_recommended_elastic_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -926,7 +926,7 @@ pub mod databases { } } pub mod import { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ImportExportResponse), @@ -1008,7 +1008,7 @@ pub mod databases { } } pub mod create_import_operation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ImportExportResponse), @@ -1083,7 +1083,7 @@ pub mod databases { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ImportExportResponse), @@ -1109,7 +1109,7 @@ pub mod databases { } } pub mod elastic_pool_activities { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_elastic_pool( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1161,7 +1161,7 @@ pub mod elastic_pool_activities { } } pub mod list_by_elastic_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1182,7 +1182,7 @@ pub mod elastic_pool_activities { } } pub mod elastic_pool_database_activities { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_elastic_pool( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1234,7 +1234,7 @@ pub mod elastic_pool_database_activities { } } pub mod list_by_elastic_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1255,7 +1255,7 @@ pub mod elastic_pool_database_activities { } } pub mod service_tier_advisors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1306,7 +1306,7 @@ pub mod service_tier_advisors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1376,7 +1376,7 @@ pub mod service_tier_advisors { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1397,7 +1397,7 @@ pub mod service_tier_advisors { } } pub mod transparent_data_encryptions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1448,7 +1448,7 @@ pub mod transparent_data_encryptions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1528,7 +1528,7 @@ pub mod transparent_data_encryptions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TransparentDataEncryption), @@ -1554,7 +1554,7 @@ pub mod transparent_data_encryptions { } } pub mod transparent_data_encryption_activities { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_configuration( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1602,7 +1602,7 @@ pub mod transparent_data_encryption_activities { } } pub mod list_by_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1623,7 +1623,7 @@ pub mod transparent_data_encryption_activities { } } pub mod elastic_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1672,7 +1672,7 @@ pub mod elastic_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1751,7 +1751,7 @@ pub mod elastic_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ElasticPool), @@ -1827,7 +1827,7 @@ pub mod elastic_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ElasticPool), @@ -1895,7 +1895,7 @@ pub mod elastic_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1968,7 +1968,7 @@ pub mod elastic_pools { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1989,7 +1989,7 @@ pub mod elastic_pools { } } pub mod firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2038,7 +2038,7 @@ pub mod firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2116,7 +2116,7 @@ pub mod firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FirewallRule), @@ -2184,7 +2184,7 @@ pub mod firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2257,7 +2257,7 @@ pub mod firewall_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2278,7 +2278,7 @@ pub mod firewall_rules { } } pub mod recommended_elastic_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2327,7 +2327,7 @@ pub mod recommended_elastic_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2395,7 +2395,7 @@ pub mod recommended_elastic_pools { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2465,7 +2465,7 @@ pub mod recommended_elastic_pools { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2486,7 +2486,7 @@ pub mod recommended_elastic_pools { } } pub mod replication_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2537,7 +2537,7 @@ pub mod replication_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2602,7 +2602,7 @@ pub mod replication_links { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2676,7 +2676,7 @@ pub mod replication_links { } } pub mod failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2744,7 +2744,7 @@ pub mod replication_links { } } pub mod failover_allow_data_loss { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2816,7 +2816,7 @@ pub mod replication_links { } } pub mod unlink { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2891,7 +2891,7 @@ pub mod replication_links { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2912,7 +2912,7 @@ pub mod replication_links { } } pub mod database_threat_detection_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2957,7 +2957,7 @@ pub mod database_threat_detection_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3031,7 +3031,7 @@ pub mod database_threat_detection_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatabaseSecurityAlertPolicy), diff --git a/services/mgmt/sql/src/package_2015_05_preview/operations.rs b/services/mgmt/sql/src/package_2015_05_preview/operations.rs index 71fffeff43..ba9b86813b 100644 --- a/services/mgmt/sql/src/package_2015_05_preview/operations.rs +++ b/services/mgmt/sql/src/package_2015_05_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod recoverable_databases { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod recoverable_databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -121,7 +121,7 @@ pub mod recoverable_databases { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -142,7 +142,7 @@ pub mod recoverable_databases { } } pub mod restorable_dropped_databases { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -191,7 +191,7 @@ pub mod restorable_dropped_databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -259,7 +259,7 @@ pub mod restorable_dropped_databases { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -280,7 +280,7 @@ pub mod restorable_dropped_databases { } } pub mod restore_points { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -332,7 +332,7 @@ pub mod restore_points { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -353,7 +353,7 @@ pub mod restore_points { } } pub mod servers { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -403,7 +403,7 @@ pub mod servers { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -458,7 +458,7 @@ pub mod servers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -520,7 +520,7 @@ pub mod servers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -579,7 +579,7 @@ pub mod servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -650,7 +650,7 @@ pub mod servers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -718,7 +718,7 @@ pub mod servers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -779,7 +779,7 @@ pub mod servers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -806,7 +806,7 @@ pub mod servers { } } pub mod server_connection_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -855,7 +855,7 @@ pub mod server_connection_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -933,7 +933,7 @@ pub mod server_connection_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerConnectionPolicy), @@ -959,7 +959,7 @@ pub mod server_connection_policies { } } pub mod databases { - use crate::models::*; + use super::{models, models::*}; pub async fn pause( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1005,7 +1005,7 @@ pub mod databases { } } pub mod pause { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1074,7 +1074,7 @@ pub mod databases { } } pub mod resume { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1150,7 +1150,7 @@ pub mod databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1229,7 +1229,7 @@ pub mod databases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1305,7 +1305,7 @@ pub mod databases { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1373,7 +1373,7 @@ pub mod databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1454,7 +1454,7 @@ pub mod databases { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1526,7 +1526,7 @@ pub mod databases { } } pub mod get_by_elastic_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1596,7 +1596,7 @@ pub mod databases { } } pub mod list_by_elastic_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1670,7 +1670,7 @@ pub mod databases { } } pub mod get_by_recommended_elastic_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1742,7 +1742,7 @@ pub mod databases { } } pub mod list_by_recommended_elastic_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1810,7 +1810,7 @@ pub mod databases { } } pub mod import { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ImportExportResponse), @@ -1892,7 +1892,7 @@ pub mod databases { } } pub mod create_import_operation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ImportExportResponse), @@ -1967,7 +1967,7 @@ pub mod databases { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ImportExportResponse), @@ -2044,7 +2044,7 @@ pub mod databases { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2116,7 +2116,7 @@ pub mod databases { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2137,7 +2137,7 @@ pub mod databases { } } pub mod elastic_pool_activities { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_elastic_pool( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2189,7 +2189,7 @@ pub mod elastic_pool_activities { } } pub mod list_by_elastic_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2210,7 +2210,7 @@ pub mod elastic_pool_activities { } } pub mod elastic_pool_database_activities { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_elastic_pool( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2262,7 +2262,7 @@ pub mod elastic_pool_database_activities { } } pub mod list_by_elastic_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2283,7 +2283,7 @@ pub mod elastic_pool_database_activities { } } pub mod service_tier_advisors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2334,7 +2334,7 @@ pub mod service_tier_advisors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2404,7 +2404,7 @@ pub mod service_tier_advisors { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2425,7 +2425,7 @@ pub mod service_tier_advisors { } } pub mod transparent_data_encryptions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2476,7 +2476,7 @@ pub mod transparent_data_encryptions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2556,7 +2556,7 @@ pub mod transparent_data_encryptions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TransparentDataEncryption), @@ -2582,7 +2582,7 @@ pub mod transparent_data_encryptions { } } pub mod transparent_data_encryption_activities { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_configuration( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2630,7 +2630,7 @@ pub mod transparent_data_encryption_activities { } } pub mod list_by_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2651,7 +2651,7 @@ pub mod transparent_data_encryption_activities { } } pub mod database_threat_detection_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2696,7 +2696,7 @@ pub mod database_threat_detection_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2770,7 +2770,7 @@ pub mod database_threat_detection_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatabaseSecurityAlertPolicy), @@ -2796,7 +2796,7 @@ pub mod database_threat_detection_policies { } } pub mod data_masking_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2847,7 +2847,7 @@ pub mod data_masking_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2921,7 +2921,7 @@ pub mod data_masking_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2942,7 +2942,7 @@ pub mod data_masking_policies { } } pub mod data_masking_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn create_or_update( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3006,7 +3006,7 @@ pub mod data_masking_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataMaskingRule), @@ -3083,7 +3083,7 @@ pub mod data_masking_rules { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3104,7 +3104,7 @@ pub mod data_masking_rules { } } pub mod elastic_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3153,7 +3153,7 @@ pub mod elastic_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3232,7 +3232,7 @@ pub mod elastic_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ElasticPool), @@ -3308,7 +3308,7 @@ pub mod elastic_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ElasticPool), @@ -3376,7 +3376,7 @@ pub mod elastic_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3449,7 +3449,7 @@ pub mod elastic_pools { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3521,7 +3521,7 @@ pub mod elastic_pools { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3593,7 +3593,7 @@ pub mod elastic_pools { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3614,7 +3614,7 @@ pub mod elastic_pools { } } pub mod firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3663,7 +3663,7 @@ pub mod firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3741,7 +3741,7 @@ pub mod firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FirewallRule), @@ -3809,7 +3809,7 @@ pub mod firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3882,7 +3882,7 @@ pub mod firewall_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3903,7 +3903,7 @@ pub mod firewall_rules { } } pub mod geo_backup_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3954,7 +3954,7 @@ pub mod geo_backup_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4034,7 +4034,7 @@ pub mod geo_backup_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GeoBackupPolicy), @@ -4109,7 +4109,7 @@ pub mod geo_backup_policies { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4130,7 +4130,7 @@ pub mod geo_backup_policies { } } pub mod replication_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4181,7 +4181,7 @@ pub mod replication_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4246,7 +4246,7 @@ pub mod replication_links { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4320,7 +4320,7 @@ pub mod replication_links { } } pub mod failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4388,7 +4388,7 @@ pub mod replication_links { } } pub mod failover_allow_data_loss { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4460,7 +4460,7 @@ pub mod replication_links { } } pub mod unlink { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4535,7 +4535,7 @@ pub mod replication_links { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4556,7 +4556,7 @@ pub mod replication_links { } } pub mod server_azure_ad_administrators { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4605,7 +4605,7 @@ pub mod server_azure_ad_administrators { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4689,7 +4689,7 @@ pub mod server_azure_ad_administrators { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerAzureAdAdministrator), @@ -4774,7 +4774,7 @@ pub mod server_azure_ad_administrators { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(ServerAzureAdAdministrator), @@ -4848,7 +4848,7 @@ pub mod server_azure_ad_administrators { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4869,7 +4869,7 @@ pub mod server_azure_ad_administrators { } } pub mod server_communication_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4918,7 +4918,7 @@ pub mod server_communication_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4991,7 +4991,7 @@ pub mod server_communication_links { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ServerCommunicationLink), @@ -5058,7 +5058,7 @@ pub mod server_communication_links { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5126,7 +5126,7 @@ pub mod server_communication_links { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5147,7 +5147,7 @@ pub mod server_communication_links { } } pub mod service_objectives { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5196,7 +5196,7 @@ pub mod service_objectives { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5264,7 +5264,7 @@ pub mod service_objectives { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5285,7 +5285,7 @@ pub mod service_objectives { } } pub mod server_usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5335,7 +5335,7 @@ pub mod server_usages { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5356,7 +5356,7 @@ pub mod server_usages { } } pub mod database_usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5408,7 +5408,7 @@ pub mod database_usages { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5429,7 +5429,7 @@ pub mod database_usages { } } pub mod capabilities { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, location_name: &str, @@ -5471,7 +5471,7 @@ pub mod capabilities { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5492,7 +5492,7 @@ pub mod capabilities { } } pub mod database_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5537,7 +5537,7 @@ pub mod database_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5611,7 +5611,7 @@ pub mod database_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatabaseBlobAuditingPolicy), @@ -5680,7 +5680,7 @@ pub mod database_blob_auditing_policies { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5701,7 +5701,7 @@ pub mod database_blob_auditing_policies { } } pub mod encryption_protectors { - use crate::models::*; + use super::{models, models::*}; pub async fn revalidate( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5744,7 +5744,7 @@ pub mod encryption_protectors { } } pub mod revalidate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5811,7 +5811,7 @@ pub mod encryption_protectors { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5872,7 +5872,7 @@ pub mod encryption_protectors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5939,7 +5939,7 @@ pub mod encryption_protectors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EncryptionProtector), @@ -5965,7 +5965,7 @@ pub mod encryption_protectors { } } pub mod failover_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6008,7 +6008,7 @@ pub mod failover_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6081,7 +6081,7 @@ pub mod failover_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FailoverGroup), @@ -6151,7 +6151,7 @@ pub mod failover_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FailoverGroup), @@ -6214,7 +6214,7 @@ pub mod failover_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6282,7 +6282,7 @@ pub mod failover_groups { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6348,7 +6348,7 @@ pub mod failover_groups { } } pub mod failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FailoverGroup), @@ -6421,7 +6421,7 @@ pub mod failover_groups { } } pub mod force_failover_allow_data_loss { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FailoverGroup), @@ -6447,7 +6447,7 @@ pub mod failover_groups { } } pub mod managed_instances { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6491,7 +6491,7 @@ pub mod managed_instances { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6550,7 +6550,7 @@ pub mod managed_instances { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6621,7 +6621,7 @@ pub mod managed_instances { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedInstance), @@ -6689,7 +6689,7 @@ pub mod managed_instances { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedInstance), @@ -6750,7 +6750,7 @@ pub mod managed_instances { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6811,7 +6811,7 @@ pub mod managed_instances { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6832,7 +6832,7 @@ pub mod managed_instances { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Sql/operations", operation_config.base_path(),); @@ -6862,7 +6862,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6883,7 +6883,7 @@ pub mod operations { } } pub mod server_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6927,7 +6927,7 @@ pub mod server_keys { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6988,7 +6988,7 @@ pub mod server_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7061,7 +7061,7 @@ pub mod server_keys { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerKey), @@ -7125,7 +7125,7 @@ pub mod server_keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7152,7 +7152,7 @@ pub mod server_keys { } } pub mod sync_agents { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7195,7 +7195,7 @@ pub mod sync_agents { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7268,7 +7268,7 @@ pub mod sync_agents { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SyncAgent), @@ -7332,7 +7332,7 @@ pub mod sync_agents { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7400,7 +7400,7 @@ pub mod sync_agents { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7465,7 +7465,7 @@ pub mod sync_agents { } } pub mod generate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7531,7 +7531,7 @@ pub mod sync_agents { } } pub mod list_linked_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7552,7 +7552,7 @@ pub mod sync_agents { } } pub mod sync_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list_sync_database_ids( operation_config: &crate::OperationConfig, location_name: &str, @@ -7596,7 +7596,7 @@ pub mod sync_groups { } } pub mod list_sync_database_ids { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7659,7 +7659,7 @@ pub mod sync_groups { } } pub mod refresh_hub_schema { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7730,7 +7730,7 @@ pub mod sync_groups { } } pub mod list_hub_schemas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7806,7 +7806,7 @@ pub mod sync_groups { } } pub mod list_logs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7868,7 +7868,7 @@ pub mod sync_groups { } } pub mod cancel_sync { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7930,7 +7930,7 @@ pub mod sync_groups { } } pub mod trigger_sync { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7993,7 +7993,7 @@ pub mod sync_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8068,7 +8068,7 @@ pub mod sync_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SyncGroup), @@ -8140,7 +8140,7 @@ pub mod sync_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SyncGroup), @@ -8205,7 +8205,7 @@ pub mod sync_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8275,7 +8275,7 @@ pub mod sync_groups { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8296,7 +8296,7 @@ pub mod sync_groups { } } pub mod sync_members { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8343,7 +8343,7 @@ pub mod sync_members { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8420,7 +8420,7 @@ pub mod sync_members { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SyncMember), @@ -8494,7 +8494,7 @@ pub mod sync_members { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SyncMember), @@ -8561,7 +8561,7 @@ pub mod sync_members { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8633,7 +8633,7 @@ pub mod sync_members { } } pub mod list_by_sync_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8701,7 +8701,7 @@ pub mod sync_members { } } pub mod list_member_schemas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8759,7 +8759,7 @@ pub mod sync_members { } } pub mod refresh_member_schema { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8785,7 +8785,7 @@ pub mod sync_members { } } pub mod subscription_usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, location_name: &str, @@ -8827,7 +8827,7 @@ pub mod subscription_usages { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8886,7 +8886,7 @@ pub mod subscription_usages { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8907,7 +8907,7 @@ pub mod subscription_usages { } } pub mod virtual_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8944,7 +8944,7 @@ pub mod virtual_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9006,7 +9006,7 @@ pub mod virtual_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9065,7 +9065,7 @@ pub mod virtual_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9127,7 +9127,7 @@ pub mod virtual_clusters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualCluster), @@ -9188,7 +9188,7 @@ pub mod virtual_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9215,7 +9215,7 @@ pub mod virtual_clusters { } } pub mod virtual_network_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9258,7 +9258,7 @@ pub mod virtual_network_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9331,7 +9331,7 @@ pub mod virtual_network_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkRule), @@ -9395,7 +9395,7 @@ pub mod virtual_network_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9463,7 +9463,7 @@ pub mod virtual_network_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/sql/src/package_2017_03_preview/operations.rs b/services/mgmt/sql/src/package_2017_03_preview/operations.rs index da4d821b77..9596b8d767 100644 --- a/services/mgmt/sql/src/package_2017_03_preview/operations.rs +++ b/services/mgmt/sql/src/package_2017_03_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod recoverable_databases { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod recoverable_databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -121,7 +121,7 @@ pub mod recoverable_databases { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -142,7 +142,7 @@ pub mod recoverable_databases { } } pub mod restorable_dropped_databases { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -191,7 +191,7 @@ pub mod restorable_dropped_databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -259,7 +259,7 @@ pub mod restorable_dropped_databases { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -280,7 +280,7 @@ pub mod restorable_dropped_databases { } } pub mod capabilities { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -328,7 +328,7 @@ pub mod capabilities { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -349,7 +349,7 @@ pub mod capabilities { } } pub mod servers { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -399,7 +399,7 @@ pub mod servers { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -454,7 +454,7 @@ pub mod servers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -516,7 +516,7 @@ pub mod servers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -575,7 +575,7 @@ pub mod servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -646,7 +646,7 @@ pub mod servers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -714,7 +714,7 @@ pub mod servers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -775,7 +775,7 @@ pub mod servers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -802,7 +802,7 @@ pub mod servers { } } pub mod server_connection_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -851,7 +851,7 @@ pub mod server_connection_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -929,7 +929,7 @@ pub mod server_connection_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerConnectionPolicy), @@ -955,7 +955,7 @@ pub mod server_connection_policies { } } pub mod databases { - use crate::models::*; + use super::{models, models::*}; pub async fn pause( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1001,7 +1001,7 @@ pub mod databases { } } pub mod pause { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1070,7 +1070,7 @@ pub mod databases { } } pub mod resume { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1146,7 +1146,7 @@ pub mod databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1225,7 +1225,7 @@ pub mod databases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1301,7 +1301,7 @@ pub mod databases { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1369,7 +1369,7 @@ pub mod databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1450,7 +1450,7 @@ pub mod databases { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1522,7 +1522,7 @@ pub mod databases { } } pub mod get_by_elastic_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1592,7 +1592,7 @@ pub mod databases { } } pub mod list_by_elastic_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1666,7 +1666,7 @@ pub mod databases { } } pub mod get_by_recommended_elastic_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1738,7 +1738,7 @@ pub mod databases { } } pub mod list_by_recommended_elastic_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1806,7 +1806,7 @@ pub mod databases { } } pub mod import { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ImportExportResponse), @@ -1888,7 +1888,7 @@ pub mod databases { } } pub mod create_import_operation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ImportExportResponse), @@ -1963,7 +1963,7 @@ pub mod databases { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ImportExportResponse), @@ -2040,7 +2040,7 @@ pub mod databases { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2112,7 +2112,7 @@ pub mod databases { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2170,7 +2170,7 @@ pub mod databases { } } pub mod rename { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2191,7 +2191,7 @@ pub mod databases { } } pub mod elastic_pool_activities { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_elastic_pool( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2243,7 +2243,7 @@ pub mod elastic_pool_activities { } } pub mod list_by_elastic_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2264,7 +2264,7 @@ pub mod elastic_pool_activities { } } pub mod elastic_pool_database_activities { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_elastic_pool( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2316,7 +2316,7 @@ pub mod elastic_pool_database_activities { } } pub mod list_by_elastic_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2337,7 +2337,7 @@ pub mod elastic_pool_database_activities { } } pub mod service_tier_advisors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2388,7 +2388,7 @@ pub mod service_tier_advisors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2458,7 +2458,7 @@ pub mod service_tier_advisors { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2479,7 +2479,7 @@ pub mod service_tier_advisors { } } pub mod transparent_data_encryptions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2530,7 +2530,7 @@ pub mod transparent_data_encryptions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2610,7 +2610,7 @@ pub mod transparent_data_encryptions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TransparentDataEncryption), @@ -2636,7 +2636,7 @@ pub mod transparent_data_encryptions { } } pub mod transparent_data_encryption_activities { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_configuration( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2684,7 +2684,7 @@ pub mod transparent_data_encryption_activities { } } pub mod list_by_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2705,7 +2705,7 @@ pub mod transparent_data_encryption_activities { } } pub mod database_threat_detection_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2750,7 +2750,7 @@ pub mod database_threat_detection_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2824,7 +2824,7 @@ pub mod database_threat_detection_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatabaseSecurityAlertPolicy), @@ -2850,7 +2850,7 @@ pub mod database_threat_detection_policies { } } pub mod data_masking_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2901,7 +2901,7 @@ pub mod data_masking_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2975,7 +2975,7 @@ pub mod data_masking_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2996,7 +2996,7 @@ pub mod data_masking_policies { } } pub mod data_masking_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn create_or_update( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3060,7 +3060,7 @@ pub mod data_masking_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataMaskingRule), @@ -3137,7 +3137,7 @@ pub mod data_masking_rules { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3158,7 +3158,7 @@ pub mod data_masking_rules { } } pub mod elastic_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3207,7 +3207,7 @@ pub mod elastic_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3286,7 +3286,7 @@ pub mod elastic_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ElasticPool), @@ -3362,7 +3362,7 @@ pub mod elastic_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ElasticPool), @@ -3430,7 +3430,7 @@ pub mod elastic_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3503,7 +3503,7 @@ pub mod elastic_pools { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3575,7 +3575,7 @@ pub mod elastic_pools { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3647,7 +3647,7 @@ pub mod elastic_pools { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3668,7 +3668,7 @@ pub mod elastic_pools { } } pub mod firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3717,7 +3717,7 @@ pub mod firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3795,7 +3795,7 @@ pub mod firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FirewallRule), @@ -3863,7 +3863,7 @@ pub mod firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3936,7 +3936,7 @@ pub mod firewall_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3957,7 +3957,7 @@ pub mod firewall_rules { } } pub mod geo_backup_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4008,7 +4008,7 @@ pub mod geo_backup_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4088,7 +4088,7 @@ pub mod geo_backup_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GeoBackupPolicy), @@ -4163,7 +4163,7 @@ pub mod geo_backup_policies { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4184,7 +4184,7 @@ pub mod geo_backup_policies { } } pub mod replication_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4235,7 +4235,7 @@ pub mod replication_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4300,7 +4300,7 @@ pub mod replication_links { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4374,7 +4374,7 @@ pub mod replication_links { } } pub mod failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4442,7 +4442,7 @@ pub mod replication_links { } } pub mod failover_allow_data_loss { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4514,7 +4514,7 @@ pub mod replication_links { } } pub mod unlink { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4589,7 +4589,7 @@ pub mod replication_links { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4610,7 +4610,7 @@ pub mod replication_links { } } pub mod server_azure_ad_administrators { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4659,7 +4659,7 @@ pub mod server_azure_ad_administrators { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4743,7 +4743,7 @@ pub mod server_azure_ad_administrators { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerAzureAdAdministrator), @@ -4828,7 +4828,7 @@ pub mod server_azure_ad_administrators { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(ServerAzureAdAdministrator), @@ -4902,7 +4902,7 @@ pub mod server_azure_ad_administrators { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4923,7 +4923,7 @@ pub mod server_azure_ad_administrators { } } pub mod server_communication_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4972,7 +4972,7 @@ pub mod server_communication_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5045,7 +5045,7 @@ pub mod server_communication_links { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ServerCommunicationLink), @@ -5112,7 +5112,7 @@ pub mod server_communication_links { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5180,7 +5180,7 @@ pub mod server_communication_links { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5201,7 +5201,7 @@ pub mod server_communication_links { } } pub mod service_objectives { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5250,7 +5250,7 @@ pub mod service_objectives { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5318,7 +5318,7 @@ pub mod service_objectives { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5339,7 +5339,7 @@ pub mod service_objectives { } } pub mod server_usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5389,7 +5389,7 @@ pub mod server_usages { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5410,7 +5410,7 @@ pub mod server_usages { } } pub mod database_usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5462,7 +5462,7 @@ pub mod database_usages { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5483,7 +5483,7 @@ pub mod database_usages { } } pub mod database_automatic_tuning { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5526,7 +5526,7 @@ pub mod database_automatic_tuning { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5589,7 +5589,7 @@ pub mod database_automatic_tuning { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5610,7 +5610,7 @@ pub mod database_automatic_tuning { } } pub mod encryption_protectors { - use crate::models::*; + use super::{models, models::*}; pub async fn revalidate( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5653,7 +5653,7 @@ pub mod encryption_protectors { } } pub mod revalidate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5720,7 +5720,7 @@ pub mod encryption_protectors { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5781,7 +5781,7 @@ pub mod encryption_protectors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5848,7 +5848,7 @@ pub mod encryption_protectors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EncryptionProtector), @@ -5874,7 +5874,7 @@ pub mod encryption_protectors { } } pub mod failover_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5917,7 +5917,7 @@ pub mod failover_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5990,7 +5990,7 @@ pub mod failover_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FailoverGroup), @@ -6060,7 +6060,7 @@ pub mod failover_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FailoverGroup), @@ -6123,7 +6123,7 @@ pub mod failover_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6191,7 +6191,7 @@ pub mod failover_groups { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6257,7 +6257,7 @@ pub mod failover_groups { } } pub mod failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FailoverGroup), @@ -6330,7 +6330,7 @@ pub mod failover_groups { } } pub mod force_failover_allow_data_loss { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FailoverGroup), @@ -6356,7 +6356,7 @@ pub mod failover_groups { } } pub mod managed_instances { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6400,7 +6400,7 @@ pub mod managed_instances { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6459,7 +6459,7 @@ pub mod managed_instances { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6530,7 +6530,7 @@ pub mod managed_instances { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedInstance), @@ -6598,7 +6598,7 @@ pub mod managed_instances { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedInstance), @@ -6659,7 +6659,7 @@ pub mod managed_instances { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6720,7 +6720,7 @@ pub mod managed_instances { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6741,7 +6741,7 @@ pub mod managed_instances { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Sql/operations", operation_config.base_path(),); @@ -6771,7 +6771,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6792,7 +6792,7 @@ pub mod operations { } } pub mod server_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6836,7 +6836,7 @@ pub mod server_keys { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6897,7 +6897,7 @@ pub mod server_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6970,7 +6970,7 @@ pub mod server_keys { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerKey), @@ -7034,7 +7034,7 @@ pub mod server_keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7061,7 +7061,7 @@ pub mod server_keys { } } pub mod sync_agents { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7104,7 +7104,7 @@ pub mod sync_agents { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7177,7 +7177,7 @@ pub mod sync_agents { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SyncAgent), @@ -7241,7 +7241,7 @@ pub mod sync_agents { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7309,7 +7309,7 @@ pub mod sync_agents { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7374,7 +7374,7 @@ pub mod sync_agents { } } pub mod generate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7440,7 +7440,7 @@ pub mod sync_agents { } } pub mod list_linked_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7461,7 +7461,7 @@ pub mod sync_agents { } } pub mod sync_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list_sync_database_ids( operation_config: &crate::OperationConfig, location_name: &str, @@ -7505,7 +7505,7 @@ pub mod sync_groups { } } pub mod list_sync_database_ids { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7568,7 +7568,7 @@ pub mod sync_groups { } } pub mod refresh_hub_schema { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7639,7 +7639,7 @@ pub mod sync_groups { } } pub mod list_hub_schemas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7715,7 +7715,7 @@ pub mod sync_groups { } } pub mod list_logs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7777,7 +7777,7 @@ pub mod sync_groups { } } pub mod cancel_sync { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7839,7 +7839,7 @@ pub mod sync_groups { } } pub mod trigger_sync { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7902,7 +7902,7 @@ pub mod sync_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7977,7 +7977,7 @@ pub mod sync_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SyncGroup), @@ -8049,7 +8049,7 @@ pub mod sync_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SyncGroup), @@ -8114,7 +8114,7 @@ pub mod sync_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8184,7 +8184,7 @@ pub mod sync_groups { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8205,7 +8205,7 @@ pub mod sync_groups { } } pub mod sync_members { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8252,7 +8252,7 @@ pub mod sync_members { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8329,7 +8329,7 @@ pub mod sync_members { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SyncMember), @@ -8403,7 +8403,7 @@ pub mod sync_members { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SyncMember), @@ -8470,7 +8470,7 @@ pub mod sync_members { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8542,7 +8542,7 @@ pub mod sync_members { } } pub mod list_by_sync_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8610,7 +8610,7 @@ pub mod sync_members { } } pub mod list_member_schemas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8668,7 +8668,7 @@ pub mod sync_members { } } pub mod refresh_member_schema { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8694,7 +8694,7 @@ pub mod sync_members { } } pub mod subscription_usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, location_name: &str, @@ -8736,7 +8736,7 @@ pub mod subscription_usages { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8795,7 +8795,7 @@ pub mod subscription_usages { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8816,7 +8816,7 @@ pub mod subscription_usages { } } pub mod virtual_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8853,7 +8853,7 @@ pub mod virtual_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8915,7 +8915,7 @@ pub mod virtual_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8974,7 +8974,7 @@ pub mod virtual_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9036,7 +9036,7 @@ pub mod virtual_clusters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualCluster), @@ -9097,7 +9097,7 @@ pub mod virtual_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9124,7 +9124,7 @@ pub mod virtual_clusters { } } pub mod extended_database_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9169,7 +9169,7 @@ pub mod extended_database_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9243,7 +9243,7 @@ pub mod extended_database_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExtendedDatabaseBlobAuditingPolicy), @@ -9312,7 +9312,7 @@ pub mod extended_database_blob_auditing_policies { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9333,7 +9333,7 @@ pub mod extended_database_blob_auditing_policies { } } pub mod extended_server_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9376,7 +9376,7 @@ pub mod extended_server_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9443,7 +9443,7 @@ pub mod extended_server_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExtendedServerBlobAuditingPolicy), @@ -9510,7 +9510,7 @@ pub mod extended_server_blob_auditing_policies { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9531,7 +9531,7 @@ pub mod extended_server_blob_auditing_policies { } } pub mod server_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9574,7 +9574,7 @@ pub mod server_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9641,7 +9641,7 @@ pub mod server_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerBlobAuditingPolicy), @@ -9708,7 +9708,7 @@ pub mod server_blob_auditing_policies { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9729,7 +9729,7 @@ pub mod server_blob_auditing_policies { } } pub mod database_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9774,7 +9774,7 @@ pub mod database_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9848,7 +9848,7 @@ pub mod database_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatabaseBlobAuditingPolicy), @@ -9917,7 +9917,7 @@ pub mod database_blob_auditing_policies { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9938,7 +9938,7 @@ pub mod database_blob_auditing_policies { } } pub mod database_vulnerability_assessment_rule_baselines { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9977,7 +9977,7 @@ pub mod database_vulnerability_assessment_rule_baselines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10039,7 +10039,7 @@ pub mod database_vulnerability_assessment_rule_baselines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10091,7 +10091,7 @@ pub mod database_vulnerability_assessment_rule_baselines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10112,7 +10112,7 @@ pub mod database_vulnerability_assessment_rule_baselines { } } pub mod database_vulnerability_assessments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10157,7 +10157,7 @@ pub mod database_vulnerability_assessments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10231,7 +10231,7 @@ pub mod database_vulnerability_assessments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatabaseVulnerabilityAssessment), @@ -10294,7 +10294,7 @@ pub mod database_vulnerability_assessments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10358,7 +10358,7 @@ pub mod database_vulnerability_assessments { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10379,7 +10379,7 @@ pub mod database_vulnerability_assessments { } } pub mod virtual_network_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10422,7 +10422,7 @@ pub mod virtual_network_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10495,7 +10495,7 @@ pub mod virtual_network_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkRule), @@ -10559,7 +10559,7 @@ pub mod virtual_network_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10627,7 +10627,7 @@ pub mod virtual_network_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10648,7 +10648,7 @@ pub mod virtual_network_rules { } } pub mod database_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn cancel( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10689,7 +10689,7 @@ pub mod database_operations { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10753,7 +10753,7 @@ pub mod database_operations { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10774,7 +10774,7 @@ pub mod database_operations { } } pub mod data_warehouse_user_activities { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10819,7 +10819,7 @@ pub mod data_warehouse_user_activities { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10840,7 +10840,7 @@ pub mod data_warehouse_user_activities { } } pub mod job_agents { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10884,7 +10884,7 @@ pub mod job_agents { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10945,7 +10945,7 @@ pub mod job_agents { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11018,7 +11018,7 @@ pub mod job_agents { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobAgent), @@ -11088,7 +11088,7 @@ pub mod job_agents { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobAgent), @@ -11151,7 +11151,7 @@ pub mod job_agents { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11178,7 +11178,7 @@ pub mod job_agents { } } pub mod job_credentials { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_agent( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11224,7 +11224,7 @@ pub mod job_credentials { } } pub mod list_by_agent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11287,7 +11287,7 @@ pub mod job_credentials { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11361,7 +11361,7 @@ pub mod job_credentials { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobCredential), @@ -11425,7 +11425,7 @@ pub mod job_credentials { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11451,7 +11451,7 @@ pub mod job_credentials { } } pub mod job_executions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_agent( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11525,7 +11525,7 @@ pub mod job_executions { } } pub mod list_by_agent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11586,7 +11586,7 @@ pub mod job_executions { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11651,7 +11651,7 @@ pub mod job_executions { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobExecution), @@ -11750,7 +11750,7 @@ pub mod job_executions { } } pub mod list_by_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11815,7 +11815,7 @@ pub mod job_executions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11890,7 +11890,7 @@ pub mod job_executions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobExecution), @@ -11917,7 +11917,7 @@ pub mod job_executions { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_agent( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11963,7 +11963,7 @@ pub mod jobs { } } pub mod list_by_agent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12026,7 +12026,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12100,7 +12100,7 @@ pub mod jobs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Job), @@ -12164,7 +12164,7 @@ pub mod jobs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12190,7 +12190,7 @@ pub mod jobs { } } pub mod job_step_executions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_job_execution( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12270,7 +12270,7 @@ pub mod job_step_executions { } } pub mod list_by_job_execution { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12337,7 +12337,7 @@ pub mod job_step_executions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12358,7 +12358,7 @@ pub mod job_step_executions { } } pub mod job_steps { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_version( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12408,7 +12408,7 @@ pub mod job_steps { } } pub mod list_by_version { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12478,7 +12478,7 @@ pub mod job_steps { } } pub mod get_by_version { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12544,7 +12544,7 @@ pub mod job_steps { } } pub mod list_by_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12609,7 +12609,7 @@ pub mod job_steps { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12685,7 +12685,7 @@ pub mod job_steps { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobStep), @@ -12751,7 +12751,7 @@ pub mod job_steps { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12777,7 +12777,7 @@ pub mod job_steps { } } pub mod job_target_executions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_job_execution( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12857,7 +12857,7 @@ pub mod job_target_executions { } } pub mod list_by_job_execution { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12955,7 +12955,7 @@ pub mod job_target_executions { } } pub mod list_by_step { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13013,7 +13013,7 @@ pub mod job_target_executions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13034,7 +13034,7 @@ pub mod job_target_executions { } } pub mod job_target_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_agent( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13080,7 +13080,7 @@ pub mod job_target_groups { } } pub mod list_by_agent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13143,7 +13143,7 @@ pub mod job_target_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13217,7 +13217,7 @@ pub mod job_target_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobTargetGroup), @@ -13281,7 +13281,7 @@ pub mod job_target_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13307,7 +13307,7 @@ pub mod job_target_groups { } } pub mod job_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_job( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13355,7 +13355,7 @@ pub mod job_versions { } } pub mod list_by_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13420,7 +13420,7 @@ pub mod job_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13441,7 +13441,7 @@ pub mod job_versions { } } pub mod managed_backup_short_term_retention_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13478,7 +13478,7 @@ pub mod managed_backup_short_term_retention_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13539,7 +13539,7 @@ pub mod managed_backup_short_term_retention_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedBackupShortTermRetentionPolicy), @@ -13602,7 +13602,7 @@ pub mod managed_backup_short_term_retention_policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedBackupShortTermRetentionPolicy), @@ -13664,7 +13664,7 @@ pub mod managed_backup_short_term_retention_policies { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13685,7 +13685,7 @@ pub mod managed_backup_short_term_retention_policies { } } pub mod managed_databases { - use crate::models::*; + use super::{models, models::*}; pub async fn complete_restore( operation_config: &crate::OperationConfig, location_name: &str, @@ -13727,7 +13727,7 @@ pub mod managed_databases { } } pub mod complete_restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13794,7 +13794,7 @@ pub mod managed_databases { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13855,7 +13855,7 @@ pub mod managed_databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13928,7 +13928,7 @@ pub mod managed_databases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedDatabase), @@ -13998,7 +13998,7 @@ pub mod managed_databases { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedDatabase), @@ -14061,7 +14061,7 @@ pub mod managed_databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -14088,7 +14088,7 @@ pub mod managed_databases { } } pub mod sensitivity_labels { - use crate::models::*; + use super::{models, models::*}; pub async fn list_current_by_database( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14140,7 +14140,7 @@ pub mod sensitivity_labels { } } pub mod list_current_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14221,7 +14221,7 @@ pub mod sensitivity_labels { } } pub mod list_recommended_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14280,7 +14280,7 @@ pub mod sensitivity_labels { } } pub mod enable_recommendation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14339,7 +14339,7 @@ pub mod sensitivity_labels { } } pub mod disable_recommendation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14397,7 +14397,7 @@ pub mod sensitivity_labels { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14466,7 +14466,7 @@ pub mod sensitivity_labels { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SensitivityLabel), @@ -14524,7 +14524,7 @@ pub mod sensitivity_labels { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14545,7 +14545,7 @@ pub mod sensitivity_labels { } } pub mod managed_instance_administrators { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_instance( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14589,7 +14589,7 @@ pub mod managed_instance_administrators { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14650,7 +14650,7 @@ pub mod managed_instance_administrators { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14723,7 +14723,7 @@ pub mod managed_instance_administrators { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedInstanceAdministrator), @@ -14786,7 +14786,7 @@ pub mod managed_instance_administrators { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -14812,7 +14812,7 @@ pub mod managed_instance_administrators { } } pub mod server_automatic_tuning { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14853,7 +14853,7 @@ pub mod server_automatic_tuning { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14914,7 +14914,7 @@ pub mod server_automatic_tuning { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14935,7 +14935,7 @@ pub mod server_automatic_tuning { } } pub mod server_dns_aliases { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14978,7 +14978,7 @@ pub mod server_dns_aliases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15049,7 +15049,7 @@ pub mod server_dns_aliases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerDnsAlias), @@ -15113,7 +15113,7 @@ pub mod server_dns_aliases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -15181,7 +15181,7 @@ pub mod server_dns_aliases { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15243,7 +15243,7 @@ pub mod server_dns_aliases { } } pub mod acquire { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -15269,7 +15269,7 @@ pub mod server_dns_aliases { } } pub mod server_security_alert_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15312,7 +15312,7 @@ pub mod server_security_alert_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15379,7 +15379,7 @@ pub mod server_security_alert_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerSecurityAlertPolicy), @@ -15446,7 +15446,7 @@ pub mod server_security_alert_policies { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15467,7 +15467,7 @@ pub mod server_security_alert_policies { } } pub mod restorable_dropped_managed_databases { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_instance( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15511,7 +15511,7 @@ pub mod restorable_dropped_managed_databases { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15572,7 +15572,7 @@ pub mod restorable_dropped_managed_databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15593,7 +15593,7 @@ pub mod restorable_dropped_managed_databases { } } pub mod restore_points { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15639,7 +15639,7 @@ pub mod restore_points { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15709,7 +15709,7 @@ pub mod restore_points { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RestorePoint), @@ -15778,7 +15778,7 @@ pub mod restore_points { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15836,7 +15836,7 @@ pub mod restore_points { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/sql/src/package_composite_v1/operations.rs b/services/mgmt/sql/src/package_composite_v1/operations.rs index 805431e64c..bc23c51409 100644 --- a/services/mgmt/sql/src/package_composite_v1/operations.rs +++ b/services/mgmt/sql/src/package_composite_v1/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod recoverable_databases { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod recoverable_databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -121,7 +121,7 @@ pub mod recoverable_databases { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -142,7 +142,7 @@ pub mod recoverable_databases { } } pub mod restorable_dropped_databases { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -191,7 +191,7 @@ pub mod restorable_dropped_databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -259,7 +259,7 @@ pub mod restorable_dropped_databases { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -280,7 +280,7 @@ pub mod restorable_dropped_databases { } } pub mod capabilities { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -328,7 +328,7 @@ pub mod capabilities { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -349,7 +349,7 @@ pub mod capabilities { } } pub mod server_connection_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -398,7 +398,7 @@ pub mod server_connection_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -476,7 +476,7 @@ pub mod server_connection_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerConnectionPolicy), @@ -502,7 +502,7 @@ pub mod server_connection_policies { } } pub mod databases { - use crate::models::*; + use super::{models, models::*}; pub async fn pause( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -548,7 +548,7 @@ pub mod databases { } } pub mod pause { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -617,7 +617,7 @@ pub mod databases { } } pub mod resume { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -693,7 +693,7 @@ pub mod databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -772,7 +772,7 @@ pub mod databases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -848,7 +848,7 @@ pub mod databases { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -916,7 +916,7 @@ pub mod databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -997,7 +997,7 @@ pub mod databases { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1069,7 +1069,7 @@ pub mod databases { } } pub mod get_by_elastic_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1139,7 +1139,7 @@ pub mod databases { } } pub mod list_by_elastic_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1213,7 +1213,7 @@ pub mod databases { } } pub mod get_by_recommended_elastic_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1285,7 +1285,7 @@ pub mod databases { } } pub mod list_by_recommended_elastic_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1353,7 +1353,7 @@ pub mod databases { } } pub mod import { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ImportExportResponse), @@ -1435,7 +1435,7 @@ pub mod databases { } } pub mod create_import_operation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ImportExportResponse), @@ -1510,7 +1510,7 @@ pub mod databases { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ImportExportResponse), @@ -1587,7 +1587,7 @@ pub mod databases { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1659,7 +1659,7 @@ pub mod databases { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1717,7 +1717,7 @@ pub mod databases { } } pub mod rename { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1782,7 +1782,7 @@ pub mod databases { } } pub mod failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1808,7 +1808,7 @@ pub mod databases { } } pub mod elastic_pool_activities { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_elastic_pool( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1860,7 +1860,7 @@ pub mod elastic_pool_activities { } } pub mod list_by_elastic_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1881,7 +1881,7 @@ pub mod elastic_pool_activities { } } pub mod elastic_pool_database_activities { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_elastic_pool( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1933,7 +1933,7 @@ pub mod elastic_pool_database_activities { } } pub mod list_by_elastic_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1954,7 +1954,7 @@ pub mod elastic_pool_database_activities { } } pub mod service_tier_advisors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2005,7 +2005,7 @@ pub mod service_tier_advisors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2075,7 +2075,7 @@ pub mod service_tier_advisors { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2096,7 +2096,7 @@ pub mod service_tier_advisors { } } pub mod transparent_data_encryptions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2147,7 +2147,7 @@ pub mod transparent_data_encryptions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2227,7 +2227,7 @@ pub mod transparent_data_encryptions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TransparentDataEncryption), @@ -2253,7 +2253,7 @@ pub mod transparent_data_encryptions { } } pub mod transparent_data_encryption_activities { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_configuration( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2301,7 +2301,7 @@ pub mod transparent_data_encryption_activities { } } pub mod list_by_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2322,7 +2322,7 @@ pub mod transparent_data_encryption_activities { } } pub mod database_threat_detection_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2367,7 +2367,7 @@ pub mod database_threat_detection_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2441,7 +2441,7 @@ pub mod database_threat_detection_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatabaseSecurityAlertPolicy), @@ -2467,7 +2467,7 @@ pub mod database_threat_detection_policies { } } pub mod data_masking_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2518,7 +2518,7 @@ pub mod data_masking_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2592,7 +2592,7 @@ pub mod data_masking_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2613,7 +2613,7 @@ pub mod data_masking_policies { } } pub mod data_masking_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn create_or_update( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2677,7 +2677,7 @@ pub mod data_masking_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataMaskingRule), @@ -2754,7 +2754,7 @@ pub mod data_masking_rules { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2775,7 +2775,7 @@ pub mod data_masking_rules { } } pub mod elastic_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2824,7 +2824,7 @@ pub mod elastic_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2903,7 +2903,7 @@ pub mod elastic_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ElasticPool), @@ -2979,7 +2979,7 @@ pub mod elastic_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ElasticPool), @@ -3047,7 +3047,7 @@ pub mod elastic_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3120,7 +3120,7 @@ pub mod elastic_pools { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3192,7 +3192,7 @@ pub mod elastic_pools { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3264,7 +3264,7 @@ pub mod elastic_pools { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3325,7 +3325,7 @@ pub mod elastic_pools { } } pub mod failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3351,7 +3351,7 @@ pub mod elastic_pools { } } pub mod firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3400,7 +3400,7 @@ pub mod firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3478,7 +3478,7 @@ pub mod firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FirewallRule), @@ -3546,7 +3546,7 @@ pub mod firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3619,7 +3619,7 @@ pub mod firewall_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3640,7 +3640,7 @@ pub mod firewall_rules { } } pub mod geo_backup_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3691,7 +3691,7 @@ pub mod geo_backup_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3771,7 +3771,7 @@ pub mod geo_backup_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GeoBackupPolicy), @@ -3846,7 +3846,7 @@ pub mod geo_backup_policies { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3867,7 +3867,7 @@ pub mod geo_backup_policies { } } pub mod recommended_elastic_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3916,7 +3916,7 @@ pub mod recommended_elastic_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3984,7 +3984,7 @@ pub mod recommended_elastic_pools { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4054,7 +4054,7 @@ pub mod recommended_elastic_pools { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4075,7 +4075,7 @@ pub mod recommended_elastic_pools { } } pub mod replication_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4126,7 +4126,7 @@ pub mod replication_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4191,7 +4191,7 @@ pub mod replication_links { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4265,7 +4265,7 @@ pub mod replication_links { } } pub mod failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4333,7 +4333,7 @@ pub mod replication_links { } } pub mod failover_allow_data_loss { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4405,7 +4405,7 @@ pub mod replication_links { } } pub mod unlink { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4480,7 +4480,7 @@ pub mod replication_links { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4501,7 +4501,7 @@ pub mod replication_links { } } pub mod server_communication_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4550,7 +4550,7 @@ pub mod server_communication_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4623,7 +4623,7 @@ pub mod server_communication_links { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ServerCommunicationLink), @@ -4690,7 +4690,7 @@ pub mod server_communication_links { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4758,7 +4758,7 @@ pub mod server_communication_links { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4779,7 +4779,7 @@ pub mod server_communication_links { } } pub mod service_objectives { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4828,7 +4828,7 @@ pub mod service_objectives { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4896,7 +4896,7 @@ pub mod service_objectives { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4917,7 +4917,7 @@ pub mod service_objectives { } } pub mod server_usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4967,7 +4967,7 @@ pub mod server_usages { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4988,7 +4988,7 @@ pub mod server_usages { } } pub mod database_usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5040,7 +5040,7 @@ pub mod database_usages { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5061,7 +5061,7 @@ pub mod database_usages { } } pub mod database_automatic_tuning { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5104,7 +5104,7 @@ pub mod database_automatic_tuning { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5167,7 +5167,7 @@ pub mod database_automatic_tuning { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5188,7 +5188,7 @@ pub mod database_automatic_tuning { } } pub mod encryption_protectors { - use crate::models::*; + use super::{models, models::*}; pub async fn revalidate( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5231,7 +5231,7 @@ pub mod encryption_protectors { } } pub mod revalidate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5298,7 +5298,7 @@ pub mod encryption_protectors { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5359,7 +5359,7 @@ pub mod encryption_protectors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5426,7 +5426,7 @@ pub mod encryption_protectors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EncryptionProtector), @@ -5452,7 +5452,7 @@ pub mod encryption_protectors { } } pub mod failover_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5495,7 +5495,7 @@ pub mod failover_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5568,7 +5568,7 @@ pub mod failover_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FailoverGroup), @@ -5638,7 +5638,7 @@ pub mod failover_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FailoverGroup), @@ -5701,7 +5701,7 @@ pub mod failover_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5769,7 +5769,7 @@ pub mod failover_groups { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5835,7 +5835,7 @@ pub mod failover_groups { } } pub mod failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FailoverGroup), @@ -5908,7 +5908,7 @@ pub mod failover_groups { } } pub mod force_failover_allow_data_loss { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FailoverGroup), @@ -5934,7 +5934,7 @@ pub mod failover_groups { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Sql/operations", operation_config.base_path(),); @@ -5964,7 +5964,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5985,7 +5985,7 @@ pub mod operations { } } pub mod server_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6029,7 +6029,7 @@ pub mod server_keys { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6090,7 +6090,7 @@ pub mod server_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6163,7 +6163,7 @@ pub mod server_keys { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerKey), @@ -6227,7 +6227,7 @@ pub mod server_keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6254,7 +6254,7 @@ pub mod server_keys { } } pub mod sync_agents { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6297,7 +6297,7 @@ pub mod sync_agents { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6370,7 +6370,7 @@ pub mod sync_agents { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SyncAgent), @@ -6434,7 +6434,7 @@ pub mod sync_agents { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6502,7 +6502,7 @@ pub mod sync_agents { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6567,7 +6567,7 @@ pub mod sync_agents { } } pub mod generate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6633,7 +6633,7 @@ pub mod sync_agents { } } pub mod list_linked_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6654,7 +6654,7 @@ pub mod sync_agents { } } pub mod subscription_usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, location_name: &str, @@ -6696,7 +6696,7 @@ pub mod subscription_usages { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6755,7 +6755,7 @@ pub mod subscription_usages { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6776,7 +6776,7 @@ pub mod subscription_usages { } } pub mod virtual_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6813,7 +6813,7 @@ pub mod virtual_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6875,7 +6875,7 @@ pub mod virtual_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6934,7 +6934,7 @@ pub mod virtual_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6996,7 +6996,7 @@ pub mod virtual_clusters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualCluster), @@ -7057,7 +7057,7 @@ pub mod virtual_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7084,7 +7084,7 @@ pub mod virtual_clusters { } } pub mod virtual_network_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7127,7 +7127,7 @@ pub mod virtual_network_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7200,7 +7200,7 @@ pub mod virtual_network_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkRule), @@ -7264,7 +7264,7 @@ pub mod virtual_network_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7332,7 +7332,7 @@ pub mod virtual_network_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7353,7 +7353,7 @@ pub mod virtual_network_rules { } } pub mod extended_database_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7398,7 +7398,7 @@ pub mod extended_database_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7472,7 +7472,7 @@ pub mod extended_database_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExtendedDatabaseBlobAuditingPolicy), @@ -7541,7 +7541,7 @@ pub mod extended_database_blob_auditing_policies { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7562,7 +7562,7 @@ pub mod extended_database_blob_auditing_policies { } } pub mod extended_server_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7605,7 +7605,7 @@ pub mod extended_server_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7672,7 +7672,7 @@ pub mod extended_server_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExtendedServerBlobAuditingPolicy), @@ -7739,7 +7739,7 @@ pub mod extended_server_blob_auditing_policies { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7760,7 +7760,7 @@ pub mod extended_server_blob_auditing_policies { } } pub mod server_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7803,7 +7803,7 @@ pub mod server_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7870,7 +7870,7 @@ pub mod server_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerBlobAuditingPolicy), @@ -7937,7 +7937,7 @@ pub mod server_blob_auditing_policies { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7958,7 +7958,7 @@ pub mod server_blob_auditing_policies { } } pub mod database_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8003,7 +8003,7 @@ pub mod database_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8077,7 +8077,7 @@ pub mod database_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatabaseBlobAuditingPolicy), @@ -8146,7 +8146,7 @@ pub mod database_blob_auditing_policies { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8167,7 +8167,7 @@ pub mod database_blob_auditing_policies { } } pub mod database_vulnerability_assessment_rule_baselines { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8206,7 +8206,7 @@ pub mod database_vulnerability_assessment_rule_baselines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8268,7 +8268,7 @@ pub mod database_vulnerability_assessment_rule_baselines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8320,7 +8320,7 @@ pub mod database_vulnerability_assessment_rule_baselines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8341,7 +8341,7 @@ pub mod database_vulnerability_assessment_rule_baselines { } } pub mod database_vulnerability_assessments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8386,7 +8386,7 @@ pub mod database_vulnerability_assessments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8460,7 +8460,7 @@ pub mod database_vulnerability_assessments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatabaseVulnerabilityAssessment), @@ -8523,7 +8523,7 @@ pub mod database_vulnerability_assessments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8587,7 +8587,7 @@ pub mod database_vulnerability_assessments { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8608,7 +8608,7 @@ pub mod database_vulnerability_assessments { } } pub mod job_agents { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8652,7 +8652,7 @@ pub mod job_agents { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8713,7 +8713,7 @@ pub mod job_agents { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8786,7 +8786,7 @@ pub mod job_agents { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobAgent), @@ -8856,7 +8856,7 @@ pub mod job_agents { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobAgent), @@ -8919,7 +8919,7 @@ pub mod job_agents { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8946,7 +8946,7 @@ pub mod job_agents { } } pub mod job_credentials { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_agent( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8992,7 +8992,7 @@ pub mod job_credentials { } } pub mod list_by_agent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9055,7 +9055,7 @@ pub mod job_credentials { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9129,7 +9129,7 @@ pub mod job_credentials { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobCredential), @@ -9193,7 +9193,7 @@ pub mod job_credentials { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9219,7 +9219,7 @@ pub mod job_credentials { } } pub mod job_executions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_agent( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9293,7 +9293,7 @@ pub mod job_executions { } } pub mod list_by_agent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9354,7 +9354,7 @@ pub mod job_executions { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9419,7 +9419,7 @@ pub mod job_executions { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobExecution), @@ -9518,7 +9518,7 @@ pub mod job_executions { } } pub mod list_by_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9583,7 +9583,7 @@ pub mod job_executions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9658,7 +9658,7 @@ pub mod job_executions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobExecution), @@ -9685,7 +9685,7 @@ pub mod job_executions { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_agent( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9731,7 +9731,7 @@ pub mod jobs { } } pub mod list_by_agent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9794,7 +9794,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9868,7 +9868,7 @@ pub mod jobs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Job), @@ -9932,7 +9932,7 @@ pub mod jobs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9958,7 +9958,7 @@ pub mod jobs { } } pub mod job_step_executions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_job_execution( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10038,7 +10038,7 @@ pub mod job_step_executions { } } pub mod list_by_job_execution { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10105,7 +10105,7 @@ pub mod job_step_executions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10126,7 +10126,7 @@ pub mod job_step_executions { } } pub mod job_steps { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_version( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10176,7 +10176,7 @@ pub mod job_steps { } } pub mod list_by_version { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10246,7 +10246,7 @@ pub mod job_steps { } } pub mod get_by_version { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10312,7 +10312,7 @@ pub mod job_steps { } } pub mod list_by_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10377,7 +10377,7 @@ pub mod job_steps { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10453,7 +10453,7 @@ pub mod job_steps { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobStep), @@ -10519,7 +10519,7 @@ pub mod job_steps { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10545,7 +10545,7 @@ pub mod job_steps { } } pub mod job_target_executions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_job_execution( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10625,7 +10625,7 @@ pub mod job_target_executions { } } pub mod list_by_job_execution { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10723,7 +10723,7 @@ pub mod job_target_executions { } } pub mod list_by_step { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10781,7 +10781,7 @@ pub mod job_target_executions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10802,7 +10802,7 @@ pub mod job_target_executions { } } pub mod job_target_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_agent( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10848,7 +10848,7 @@ pub mod job_target_groups { } } pub mod list_by_agent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10911,7 +10911,7 @@ pub mod job_target_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10985,7 +10985,7 @@ pub mod job_target_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobTargetGroup), @@ -11049,7 +11049,7 @@ pub mod job_target_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11075,7 +11075,7 @@ pub mod job_target_groups { } } pub mod job_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_job( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11123,7 +11123,7 @@ pub mod job_versions { } } pub mod list_by_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11188,7 +11188,7 @@ pub mod job_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11209,7 +11209,7 @@ pub mod job_versions { } } pub mod managed_backup_short_term_retention_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11246,7 +11246,7 @@ pub mod managed_backup_short_term_retention_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11307,7 +11307,7 @@ pub mod managed_backup_short_term_retention_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedBackupShortTermRetentionPolicy), @@ -11370,7 +11370,7 @@ pub mod managed_backup_short_term_retention_policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedBackupShortTermRetentionPolicy), @@ -11432,7 +11432,7 @@ pub mod managed_backup_short_term_retention_policies { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11453,7 +11453,7 @@ pub mod managed_backup_short_term_retention_policies { } } pub mod managed_restorable_dropped_database_backup_short_term_retention_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11490,7 +11490,7 @@ pub mod managed_restorable_dropped_database_backup_short_term_retention_policies } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11551,7 +11551,7 @@ pub mod managed_restorable_dropped_database_backup_short_term_retention_policies } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedBackupShortTermRetentionPolicy), @@ -11614,7 +11614,7 @@ pub mod managed_restorable_dropped_database_backup_short_term_retention_policies } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedBackupShortTermRetentionPolicy), @@ -11678,7 +11678,7 @@ pub mod managed_restorable_dropped_database_backup_short_term_retention_policies } } pub mod list_by_restorable_dropped_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11699,7 +11699,7 @@ pub mod managed_restorable_dropped_database_backup_short_term_retention_policies } } pub mod server_automatic_tuning { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11740,7 +11740,7 @@ pub mod server_automatic_tuning { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11801,7 +11801,7 @@ pub mod server_automatic_tuning { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11822,7 +11822,7 @@ pub mod server_automatic_tuning { } } pub mod server_dns_aliases { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11865,7 +11865,7 @@ pub mod server_dns_aliases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11936,7 +11936,7 @@ pub mod server_dns_aliases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerDnsAlias), @@ -12000,7 +12000,7 @@ pub mod server_dns_aliases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12068,7 +12068,7 @@ pub mod server_dns_aliases { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12130,7 +12130,7 @@ pub mod server_dns_aliases { } } pub mod acquire { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12156,7 +12156,7 @@ pub mod server_dns_aliases { } } pub mod server_security_alert_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12199,7 +12199,7 @@ pub mod server_security_alert_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12266,7 +12266,7 @@ pub mod server_security_alert_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerSecurityAlertPolicy), @@ -12333,7 +12333,7 @@ pub mod server_security_alert_policies { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12354,7 +12354,7 @@ pub mod server_security_alert_policies { } } pub mod restorable_dropped_managed_databases { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_instance( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12398,7 +12398,7 @@ pub mod restorable_dropped_managed_databases { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12459,7 +12459,7 @@ pub mod restorable_dropped_managed_databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12480,7 +12480,7 @@ pub mod restorable_dropped_managed_databases { } } pub mod restore_points { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12526,7 +12526,7 @@ pub mod restore_points { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12596,7 +12596,7 @@ pub mod restore_points { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RestorePoint), @@ -12665,7 +12665,7 @@ pub mod restore_points { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12723,7 +12723,7 @@ pub mod restore_points { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12744,7 +12744,7 @@ pub mod restore_points { } } pub mod managed_database_security_alert_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12789,7 +12789,7 @@ pub mod managed_database_security_alert_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12863,7 +12863,7 @@ pub mod managed_database_security_alert_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedDatabaseSecurityAlertPolicy), @@ -12932,7 +12932,7 @@ pub mod managed_database_security_alert_policies { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12953,7 +12953,7 @@ pub mod managed_database_security_alert_policies { } } pub mod managed_server_security_alert_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12996,7 +12996,7 @@ pub mod managed_server_security_alert_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13063,7 +13063,7 @@ pub mod managed_server_security_alert_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedServerSecurityAlertPolicy), @@ -13130,7 +13130,7 @@ pub mod managed_server_security_alert_policies { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13151,7 +13151,7 @@ pub mod managed_server_security_alert_policies { } } pub mod sensitivity_labels { - use crate::models::*; + use super::{models, models::*}; pub async fn list_current_by_database( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13203,7 +13203,7 @@ pub mod sensitivity_labels { } } pub mod list_current_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13284,7 +13284,7 @@ pub mod sensitivity_labels { } } pub mod list_recommended_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13343,7 +13343,7 @@ pub mod sensitivity_labels { } } pub mod enable_recommendation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13402,7 +13402,7 @@ pub mod sensitivity_labels { } } pub mod disable_recommendation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13460,7 +13460,7 @@ pub mod sensitivity_labels { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13529,7 +13529,7 @@ pub mod sensitivity_labels { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SensitivityLabel), @@ -13587,7 +13587,7 @@ pub mod sensitivity_labels { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13608,7 +13608,7 @@ pub mod sensitivity_labels { } } pub mod managed_instance_administrators { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_instance( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13652,7 +13652,7 @@ pub mod managed_instance_administrators { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13713,7 +13713,7 @@ pub mod managed_instance_administrators { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13786,7 +13786,7 @@ pub mod managed_instance_administrators { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedInstanceAdministrator), @@ -13849,7 +13849,7 @@ pub mod managed_instance_administrators { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13875,7 +13875,7 @@ pub mod managed_instance_administrators { } } pub mod database_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn cancel( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13916,7 +13916,7 @@ pub mod database_operations { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13980,7 +13980,7 @@ pub mod database_operations { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14001,7 +14001,7 @@ pub mod database_operations { } } pub mod elastic_pool_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn cancel( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14042,7 +14042,7 @@ pub mod elastic_pool_operations { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14106,7 +14106,7 @@ pub mod elastic_pool_operations { } } pub mod list_by_elastic_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14127,7 +14127,7 @@ pub mod elastic_pool_operations { } } pub mod database_vulnerability_assessment_scans { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14175,7 +14175,7 @@ pub mod database_vulnerability_assessment_scans { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14240,7 +14240,7 @@ pub mod database_vulnerability_assessment_scans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14296,7 +14296,7 @@ pub mod database_vulnerability_assessment_scans { } } pub mod initiate_scan { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -14364,7 +14364,7 @@ pub mod database_vulnerability_assessment_scans { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatabaseVulnerabilityAssessmentScansExport), @@ -14390,7 +14390,7 @@ pub mod database_vulnerability_assessment_scans { } } pub mod managed_database_vulnerability_assessment_rule_baselines { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14429,7 +14429,7 @@ pub mod managed_database_vulnerability_assessment_rule_baselines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14491,7 +14491,7 @@ pub mod managed_database_vulnerability_assessment_rule_baselines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14543,7 +14543,7 @@ pub mod managed_database_vulnerability_assessment_rule_baselines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14564,7 +14564,7 @@ pub mod managed_database_vulnerability_assessment_rule_baselines { } } pub mod managed_database_vulnerability_assessment_scans { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14604,7 +14604,7 @@ pub mod managed_database_vulnerability_assessment_scans { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14660,7 +14660,7 @@ pub mod managed_database_vulnerability_assessment_scans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14716,7 +14716,7 @@ pub mod managed_database_vulnerability_assessment_scans { } } pub mod initiate_scan { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -14784,7 +14784,7 @@ pub mod managed_database_vulnerability_assessment_scans { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatabaseVulnerabilityAssessmentScansExport), @@ -14810,7 +14810,7 @@ pub mod managed_database_vulnerability_assessment_scans { } } pub mod managed_database_vulnerability_assessments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14855,7 +14855,7 @@ pub mod managed_database_vulnerability_assessments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14929,7 +14929,7 @@ pub mod managed_database_vulnerability_assessments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatabaseVulnerabilityAssessment), @@ -14992,7 +14992,7 @@ pub mod managed_database_vulnerability_assessments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15056,7 +15056,7 @@ pub mod managed_database_vulnerability_assessments { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15077,7 +15077,7 @@ pub mod managed_database_vulnerability_assessments { } } pub mod instance_failover_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15120,7 +15120,7 @@ pub mod instance_failover_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15193,7 +15193,7 @@ pub mod instance_failover_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(InstanceFailoverGroup), @@ -15257,7 +15257,7 @@ pub mod instance_failover_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -15325,7 +15325,7 @@ pub mod instance_failover_groups { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15391,7 +15391,7 @@ pub mod instance_failover_groups { } } pub mod failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(InstanceFailoverGroup), @@ -15457,7 +15457,7 @@ pub mod instance_failover_groups { } } pub mod force_failover_allow_data_loss { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(InstanceFailoverGroup), @@ -15483,7 +15483,7 @@ pub mod instance_failover_groups { } } pub mod backup_short_term_retention_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15528,7 +15528,7 @@ pub mod backup_short_term_retention_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15597,7 +15597,7 @@ pub mod backup_short_term_retention_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BackupShortTermRetentionPolicy), @@ -15668,7 +15668,7 @@ pub mod backup_short_term_retention_policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BackupShortTermRetentionPolicy), @@ -15737,7 +15737,7 @@ pub mod backup_short_term_retention_policies { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15758,7 +15758,7 @@ pub mod backup_short_term_retention_policies { } } pub mod tde_certificates { - use crate::models::*; + use super::{models, models::*}; pub async fn create( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15797,7 +15797,7 @@ pub mod tde_certificates { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -15823,7 +15823,7 @@ pub mod tde_certificates { } } pub mod managed_instance_tde_certificates { - use crate::models::*; + use super::{models, models::*}; pub async fn create( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15862,7 +15862,7 @@ pub mod managed_instance_tde_certificates { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -15888,7 +15888,7 @@ pub mod managed_instance_tde_certificates { } } pub mod managed_instance_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_instance( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15936,7 +15936,7 @@ pub mod managed_instance_keys { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15997,7 +15997,7 @@ pub mod managed_instance_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16070,7 +16070,7 @@ pub mod managed_instance_keys { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedInstanceKey), @@ -16134,7 +16134,7 @@ pub mod managed_instance_keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -16161,7 +16161,7 @@ pub mod managed_instance_keys { } } pub mod managed_instance_encryption_protectors { - use crate::models::*; + use super::{models, models::*}; pub async fn revalidate( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16204,7 +16204,7 @@ pub mod managed_instance_encryption_protectors { } } pub mod revalidate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -16271,7 +16271,7 @@ pub mod managed_instance_encryption_protectors { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16332,7 +16332,7 @@ pub mod managed_instance_encryption_protectors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16399,7 +16399,7 @@ pub mod managed_instance_encryption_protectors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedInstanceEncryptionProtector), @@ -16425,7 +16425,7 @@ pub mod managed_instance_encryption_protectors { } } pub mod recoverable_managed_databases { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_instance( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16469,7 +16469,7 @@ pub mod recoverable_managed_databases { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16530,7 +16530,7 @@ pub mod recoverable_managed_databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16551,7 +16551,7 @@ pub mod recoverable_managed_databases { } } pub mod managed_instance_vulnerability_assessments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16594,7 +16594,7 @@ pub mod managed_instance_vulnerability_assessments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16666,7 +16666,7 @@ pub mod managed_instance_vulnerability_assessments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedInstanceVulnerabilityAssessment), @@ -16727,7 +16727,7 @@ pub mod managed_instance_vulnerability_assessments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16789,7 +16789,7 @@ pub mod managed_instance_vulnerability_assessments { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16810,7 +16810,7 @@ pub mod managed_instance_vulnerability_assessments { } } pub mod server_vulnerability_assessments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16853,7 +16853,7 @@ pub mod server_vulnerability_assessments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16925,7 +16925,7 @@ pub mod server_vulnerability_assessments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerVulnerabilityAssessment), @@ -16986,7 +16986,7 @@ pub mod server_vulnerability_assessments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17048,7 +17048,7 @@ pub mod server_vulnerability_assessments { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17069,7 +17069,7 @@ pub mod server_vulnerability_assessments { } } pub mod managed_database_sensitivity_labels { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17109,7 +17109,7 @@ pub mod managed_database_sensitivity_labels { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17178,7 +17178,7 @@ pub mod managed_database_sensitivity_labels { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SensitivityLabel), @@ -17236,7 +17236,7 @@ pub mod managed_database_sensitivity_labels { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17295,7 +17295,7 @@ pub mod managed_database_sensitivity_labels { } } pub mod disable_recommendation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17354,7 +17354,7 @@ pub mod managed_database_sensitivity_labels { } } pub mod enable_recommendation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17424,7 +17424,7 @@ pub mod managed_database_sensitivity_labels { } } pub mod list_current_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17505,7 +17505,7 @@ pub mod managed_database_sensitivity_labels { } } pub mod list_recommended_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17526,7 +17526,7 @@ pub mod managed_database_sensitivity_labels { } } pub mod instance_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17567,7 +17567,7 @@ pub mod instance_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17638,7 +17638,7 @@ pub mod instance_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(InstancePool), @@ -17706,7 +17706,7 @@ pub mod instance_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(InstancePool), @@ -17767,7 +17767,7 @@ pub mod instance_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -17835,7 +17835,7 @@ pub mod instance_pools { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17890,7 +17890,7 @@ pub mod instance_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17911,7 +17911,7 @@ pub mod instance_pools { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_instance_pool( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17962,7 +17962,7 @@ pub mod usages { } } pub mod list_by_instance_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17983,7 +17983,7 @@ pub mod usages { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18027,7 +18027,7 @@ pub mod private_link_resources { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18088,7 +18088,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18109,7 +18109,7 @@ pub mod private_link_resources { } } pub mod servers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18153,7 +18153,7 @@ pub mod servers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18212,7 +18212,7 @@ pub mod servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18283,7 +18283,7 @@ pub mod servers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -18351,7 +18351,7 @@ pub mod servers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -18412,7 +18412,7 @@ pub mod servers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -18473,7 +18473,7 @@ pub mod servers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18535,7 +18535,7 @@ pub mod servers { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18556,7 +18556,7 @@ pub mod servers { } } pub mod long_term_retention_managed_instance_backups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location_name: &str, @@ -18593,7 +18593,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18644,7 +18644,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -18715,7 +18715,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18780,7 +18780,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18849,7 +18849,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18910,7 +18910,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod get_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18967,7 +18967,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod delete_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -19041,7 +19041,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod list_by_resource_group_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19109,7 +19109,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod list_by_resource_group_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19182,7 +19182,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod list_by_resource_group_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19203,7 +19203,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod managed_instance_long_term_retention_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19240,7 +19240,7 @@ pub mod managed_instance_long_term_retention_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19301,7 +19301,7 @@ pub mod managed_instance_long_term_retention_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedInstanceLongTermRetentionPolicy), @@ -19363,7 +19363,7 @@ pub mod managed_instance_long_term_retention_policies { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19384,7 +19384,7 @@ pub mod managed_instance_long_term_retention_policies { } } pub mod workload_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19429,7 +19429,7 @@ pub mod workload_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19504,7 +19504,7 @@ pub mod workload_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadGroup), @@ -19570,7 +19570,7 @@ pub mod workload_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -19640,7 +19640,7 @@ pub mod workload_groups { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19661,7 +19661,7 @@ pub mod workload_groups { } } pub mod workload_classifiers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19699,7 +19699,7 @@ pub mod workload_classifiers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19767,7 +19767,7 @@ pub mod workload_classifiers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadClassifier), @@ -19826,7 +19826,7 @@ pub mod workload_classifiers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -19900,7 +19900,7 @@ pub mod workload_classifiers { } } pub mod list_by_workload_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19921,7 +19921,7 @@ pub mod workload_classifiers { } } pub mod server_azure_ad_administrators { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -19964,7 +19964,7 @@ pub mod server_azure_ad_administrators { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20037,7 +20037,7 @@ pub mod server_azure_ad_administrators { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerAzureAdAdministrator), @@ -20101,7 +20101,7 @@ pub mod server_azure_ad_administrators { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -20169,7 +20169,7 @@ pub mod server_azure_ad_administrators { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20190,7 +20190,7 @@ pub mod server_azure_ad_administrators { } } pub mod sync_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list_sync_database_ids( operation_config: &crate::OperationConfig, location_name: &str, @@ -20234,7 +20234,7 @@ pub mod sync_groups { } } pub mod list_sync_database_ids { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20297,7 +20297,7 @@ pub mod sync_groups { } } pub mod refresh_hub_schema { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -20368,7 +20368,7 @@ pub mod sync_groups { } } pub mod list_hub_schemas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20444,7 +20444,7 @@ pub mod sync_groups { } } pub mod list_logs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20506,7 +20506,7 @@ pub mod sync_groups { } } pub mod cancel_sync { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20568,7 +20568,7 @@ pub mod sync_groups { } } pub mod trigger_sync { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20631,7 +20631,7 @@ pub mod sync_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20706,7 +20706,7 @@ pub mod sync_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SyncGroup), @@ -20778,7 +20778,7 @@ pub mod sync_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SyncGroup), @@ -20843,7 +20843,7 @@ pub mod sync_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -20913,7 +20913,7 @@ pub mod sync_groups { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20934,7 +20934,7 @@ pub mod sync_groups { } } pub mod sync_members { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20981,7 +20981,7 @@ pub mod sync_members { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21058,7 +21058,7 @@ pub mod sync_members { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SyncMember), @@ -21132,7 +21132,7 @@ pub mod sync_members { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SyncMember), @@ -21199,7 +21199,7 @@ pub mod sync_members { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -21271,7 +21271,7 @@ pub mod sync_members { } } pub mod list_by_sync_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21339,7 +21339,7 @@ pub mod sync_members { } } pub mod list_member_schemas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21397,7 +21397,7 @@ pub mod sync_members { } } pub mod refresh_member_schema { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -21423,7 +21423,7 @@ pub mod sync_members { } } pub mod managed_databases { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_instance( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -21467,7 +21467,7 @@ pub mod managed_databases { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21528,7 +21528,7 @@ pub mod managed_databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21601,7 +21601,7 @@ pub mod managed_databases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedDatabase), @@ -21671,7 +21671,7 @@ pub mod managed_databases { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedDatabase), @@ -21734,7 +21734,7 @@ pub mod managed_databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -21802,7 +21802,7 @@ pub mod managed_databases { } } pub mod complete_restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -21871,7 +21871,7 @@ pub mod managed_databases { } } pub mod list_inaccessible_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21892,7 +21892,7 @@ pub mod managed_databases { } } pub mod server_azure_ad_only_authentications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -21935,7 +21935,7 @@ pub mod server_azure_ad_only_authentications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22008,7 +22008,7 @@ pub mod server_azure_ad_only_authentications { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerAzureAdOnlyAuthentication), @@ -22072,7 +22072,7 @@ pub mod server_azure_ad_only_authentications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22140,7 +22140,7 @@ pub mod server_azure_ad_only_authentications { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22161,7 +22161,7 @@ pub mod server_azure_ad_only_authentications { } } pub mod managed_instances { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_instance_pool( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -22207,7 +22207,7 @@ pub mod managed_instances { } } pub mod list_by_instance_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22269,7 +22269,7 @@ pub mod managed_instances { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22328,7 +22328,7 @@ pub mod managed_instances { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22399,7 +22399,7 @@ pub mod managed_instances { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedInstance), @@ -22467,7 +22467,7 @@ pub mod managed_instances { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedInstance), @@ -22528,7 +22528,7 @@ pub mod managed_instances { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22627,7 +22627,7 @@ pub mod managed_instances { } } pub mod list_by_managed_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22690,7 +22690,7 @@ pub mod managed_instances { } } pub mod failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22750,7 +22750,7 @@ pub mod managed_instances { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22771,7 +22771,7 @@ pub mod managed_instances { } } pub mod managed_instance_azure_ad_only_authentications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -22814,7 +22814,7 @@ pub mod managed_instance_azure_ad_only_authentications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22887,7 +22887,7 @@ pub mod managed_instance_azure_ad_only_authentications { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedInstanceAzureAdOnlyAuthentication), @@ -22951,7 +22951,7 @@ pub mod managed_instance_azure_ad_only_authentications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23019,7 +23019,7 @@ pub mod managed_instance_azure_ad_only_authentications { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23040,7 +23040,7 @@ pub mod managed_instance_azure_ad_only_authentications { } } pub mod server_trust_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -23083,7 +23083,7 @@ pub mod server_trust_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23156,7 +23156,7 @@ pub mod server_trust_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerTrustGroup), @@ -23220,7 +23220,7 @@ pub mod server_trust_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23288,7 +23288,7 @@ pub mod server_trust_groups { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23350,7 +23350,7 @@ pub mod server_trust_groups { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23371,7 +23371,7 @@ pub mod server_trust_groups { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -23414,7 +23414,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23481,7 +23481,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -23544,7 +23544,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23612,7 +23612,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/sql/src/package_composite_v2/operations.rs b/services/mgmt/sql/src/package_composite_v2/operations.rs index aa7c54854e..455707c128 100644 --- a/services/mgmt/sql/src/package_composite_v2/operations.rs +++ b/services/mgmt/sql/src/package_composite_v2/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod recoverable_databases { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod recoverable_databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -121,7 +121,7 @@ pub mod recoverable_databases { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -142,7 +142,7 @@ pub mod recoverable_databases { } } pub mod restorable_dropped_databases { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -191,7 +191,7 @@ pub mod restorable_dropped_databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -259,7 +259,7 @@ pub mod restorable_dropped_databases { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -280,7 +280,7 @@ pub mod restorable_dropped_databases { } } pub mod capabilities { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -328,7 +328,7 @@ pub mod capabilities { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -349,7 +349,7 @@ pub mod capabilities { } } pub mod server_connection_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -398,7 +398,7 @@ pub mod server_connection_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -476,7 +476,7 @@ pub mod server_connection_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerConnectionPolicy), @@ -502,7 +502,7 @@ pub mod server_connection_policies { } } pub mod databases { - use crate::models::*; + use super::{models, models::*}; pub async fn pause( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -548,7 +548,7 @@ pub mod databases { } } pub mod pause { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -617,7 +617,7 @@ pub mod databases { } } pub mod resume { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -693,7 +693,7 @@ pub mod databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -772,7 +772,7 @@ pub mod databases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -848,7 +848,7 @@ pub mod databases { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -916,7 +916,7 @@ pub mod databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -997,7 +997,7 @@ pub mod databases { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1069,7 +1069,7 @@ pub mod databases { } } pub mod get_by_elastic_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1139,7 +1139,7 @@ pub mod databases { } } pub mod list_by_elastic_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1213,7 +1213,7 @@ pub mod databases { } } pub mod get_by_recommended_elastic_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1285,7 +1285,7 @@ pub mod databases { } } pub mod list_by_recommended_elastic_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1353,7 +1353,7 @@ pub mod databases { } } pub mod import { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ImportExportResponse), @@ -1435,7 +1435,7 @@ pub mod databases { } } pub mod create_import_operation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ImportExportResponse), @@ -1510,7 +1510,7 @@ pub mod databases { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ImportExportResponse), @@ -1587,7 +1587,7 @@ pub mod databases { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1659,7 +1659,7 @@ pub mod databases { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1717,7 +1717,7 @@ pub mod databases { } } pub mod rename { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1782,7 +1782,7 @@ pub mod databases { } } pub mod failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1808,7 +1808,7 @@ pub mod databases { } } pub mod elastic_pool_activities { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_elastic_pool( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1860,7 +1860,7 @@ pub mod elastic_pool_activities { } } pub mod list_by_elastic_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1881,7 +1881,7 @@ pub mod elastic_pool_activities { } } pub mod elastic_pool_database_activities { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_elastic_pool( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1933,7 +1933,7 @@ pub mod elastic_pool_database_activities { } } pub mod list_by_elastic_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1954,7 +1954,7 @@ pub mod elastic_pool_database_activities { } } pub mod service_tier_advisors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2005,7 +2005,7 @@ pub mod service_tier_advisors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2075,7 +2075,7 @@ pub mod service_tier_advisors { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2096,7 +2096,7 @@ pub mod service_tier_advisors { } } pub mod transparent_data_encryptions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2147,7 +2147,7 @@ pub mod transparent_data_encryptions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2227,7 +2227,7 @@ pub mod transparent_data_encryptions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TransparentDataEncryption), @@ -2253,7 +2253,7 @@ pub mod transparent_data_encryptions { } } pub mod transparent_data_encryption_activities { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_configuration( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2301,7 +2301,7 @@ pub mod transparent_data_encryption_activities { } } pub mod list_by_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2322,7 +2322,7 @@ pub mod transparent_data_encryption_activities { } } pub mod database_threat_detection_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2367,7 +2367,7 @@ pub mod database_threat_detection_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2441,7 +2441,7 @@ pub mod database_threat_detection_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatabaseSecurityAlertPolicy), @@ -2467,7 +2467,7 @@ pub mod database_threat_detection_policies { } } pub mod data_masking_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2518,7 +2518,7 @@ pub mod data_masking_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2592,7 +2592,7 @@ pub mod data_masking_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2613,7 +2613,7 @@ pub mod data_masking_policies { } } pub mod data_masking_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn create_or_update( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2677,7 +2677,7 @@ pub mod data_masking_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataMaskingRule), @@ -2754,7 +2754,7 @@ pub mod data_masking_rules { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2775,7 +2775,7 @@ pub mod data_masking_rules { } } pub mod elastic_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2824,7 +2824,7 @@ pub mod elastic_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2903,7 +2903,7 @@ pub mod elastic_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ElasticPool), @@ -2979,7 +2979,7 @@ pub mod elastic_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ElasticPool), @@ -3047,7 +3047,7 @@ pub mod elastic_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3120,7 +3120,7 @@ pub mod elastic_pools { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3192,7 +3192,7 @@ pub mod elastic_pools { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3264,7 +3264,7 @@ pub mod elastic_pools { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3325,7 +3325,7 @@ pub mod elastic_pools { } } pub mod failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3351,7 +3351,7 @@ pub mod elastic_pools { } } pub mod firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3400,7 +3400,7 @@ pub mod firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3478,7 +3478,7 @@ pub mod firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FirewallRule), @@ -3546,7 +3546,7 @@ pub mod firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3619,7 +3619,7 @@ pub mod firewall_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3640,7 +3640,7 @@ pub mod firewall_rules { } } pub mod geo_backup_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3691,7 +3691,7 @@ pub mod geo_backup_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3771,7 +3771,7 @@ pub mod geo_backup_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GeoBackupPolicy), @@ -3846,7 +3846,7 @@ pub mod geo_backup_policies { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3867,7 +3867,7 @@ pub mod geo_backup_policies { } } pub mod recommended_elastic_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3916,7 +3916,7 @@ pub mod recommended_elastic_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3984,7 +3984,7 @@ pub mod recommended_elastic_pools { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4054,7 +4054,7 @@ pub mod recommended_elastic_pools { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4075,7 +4075,7 @@ pub mod recommended_elastic_pools { } } pub mod replication_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4126,7 +4126,7 @@ pub mod replication_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4191,7 +4191,7 @@ pub mod replication_links { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4265,7 +4265,7 @@ pub mod replication_links { } } pub mod failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4333,7 +4333,7 @@ pub mod replication_links { } } pub mod failover_allow_data_loss { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4405,7 +4405,7 @@ pub mod replication_links { } } pub mod unlink { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -4480,7 +4480,7 @@ pub mod replication_links { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4501,7 +4501,7 @@ pub mod replication_links { } } pub mod server_communication_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4550,7 +4550,7 @@ pub mod server_communication_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4623,7 +4623,7 @@ pub mod server_communication_links { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ServerCommunicationLink), @@ -4690,7 +4690,7 @@ pub mod server_communication_links { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4758,7 +4758,7 @@ pub mod server_communication_links { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4779,7 +4779,7 @@ pub mod server_communication_links { } } pub mod service_objectives { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4828,7 +4828,7 @@ pub mod service_objectives { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4896,7 +4896,7 @@ pub mod service_objectives { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4917,7 +4917,7 @@ pub mod service_objectives { } } pub mod server_usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4967,7 +4967,7 @@ pub mod server_usages { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4988,7 +4988,7 @@ pub mod server_usages { } } pub mod database_usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5040,7 +5040,7 @@ pub mod database_usages { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5061,7 +5061,7 @@ pub mod database_usages { } } pub mod database_automatic_tuning { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5104,7 +5104,7 @@ pub mod database_automatic_tuning { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5167,7 +5167,7 @@ pub mod database_automatic_tuning { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5188,7 +5188,7 @@ pub mod database_automatic_tuning { } } pub mod encryption_protectors { - use crate::models::*; + use super::{models, models::*}; pub async fn revalidate( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5231,7 +5231,7 @@ pub mod encryption_protectors { } } pub mod revalidate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5298,7 +5298,7 @@ pub mod encryption_protectors { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5359,7 +5359,7 @@ pub mod encryption_protectors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5426,7 +5426,7 @@ pub mod encryption_protectors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EncryptionProtector), @@ -5452,7 +5452,7 @@ pub mod encryption_protectors { } } pub mod failover_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5495,7 +5495,7 @@ pub mod failover_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5568,7 +5568,7 @@ pub mod failover_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FailoverGroup), @@ -5638,7 +5638,7 @@ pub mod failover_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FailoverGroup), @@ -5701,7 +5701,7 @@ pub mod failover_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5769,7 +5769,7 @@ pub mod failover_groups { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5835,7 +5835,7 @@ pub mod failover_groups { } } pub mod failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FailoverGroup), @@ -5908,7 +5908,7 @@ pub mod failover_groups { } } pub mod force_failover_allow_data_loss { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FailoverGroup), @@ -5934,7 +5934,7 @@ pub mod failover_groups { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Sql/operations", operation_config.base_path(),); @@ -5964,7 +5964,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5985,7 +5985,7 @@ pub mod operations { } } pub mod server_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6029,7 +6029,7 @@ pub mod server_keys { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6090,7 +6090,7 @@ pub mod server_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6163,7 +6163,7 @@ pub mod server_keys { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerKey), @@ -6227,7 +6227,7 @@ pub mod server_keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6254,7 +6254,7 @@ pub mod server_keys { } } pub mod sync_agents { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6297,7 +6297,7 @@ pub mod sync_agents { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6370,7 +6370,7 @@ pub mod sync_agents { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SyncAgent), @@ -6434,7 +6434,7 @@ pub mod sync_agents { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6502,7 +6502,7 @@ pub mod sync_agents { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6567,7 +6567,7 @@ pub mod sync_agents { } } pub mod generate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6633,7 +6633,7 @@ pub mod sync_agents { } } pub mod list_linked_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6654,7 +6654,7 @@ pub mod sync_agents { } } pub mod subscription_usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, location_name: &str, @@ -6696,7 +6696,7 @@ pub mod subscription_usages { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6755,7 +6755,7 @@ pub mod subscription_usages { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6776,7 +6776,7 @@ pub mod subscription_usages { } } pub mod virtual_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6813,7 +6813,7 @@ pub mod virtual_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6875,7 +6875,7 @@ pub mod virtual_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6934,7 +6934,7 @@ pub mod virtual_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6996,7 +6996,7 @@ pub mod virtual_clusters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualCluster), @@ -7057,7 +7057,7 @@ pub mod virtual_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7084,7 +7084,7 @@ pub mod virtual_clusters { } } pub mod virtual_network_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7127,7 +7127,7 @@ pub mod virtual_network_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7200,7 +7200,7 @@ pub mod virtual_network_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkRule), @@ -7264,7 +7264,7 @@ pub mod virtual_network_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7332,7 +7332,7 @@ pub mod virtual_network_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7353,7 +7353,7 @@ pub mod virtual_network_rules { } } pub mod extended_database_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7398,7 +7398,7 @@ pub mod extended_database_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7472,7 +7472,7 @@ pub mod extended_database_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExtendedDatabaseBlobAuditingPolicy), @@ -7541,7 +7541,7 @@ pub mod extended_database_blob_auditing_policies { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7562,7 +7562,7 @@ pub mod extended_database_blob_auditing_policies { } } pub mod extended_server_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7605,7 +7605,7 @@ pub mod extended_server_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7672,7 +7672,7 @@ pub mod extended_server_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExtendedServerBlobAuditingPolicy), @@ -7739,7 +7739,7 @@ pub mod extended_server_blob_auditing_policies { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7760,7 +7760,7 @@ pub mod extended_server_blob_auditing_policies { } } pub mod server_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7803,7 +7803,7 @@ pub mod server_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7870,7 +7870,7 @@ pub mod server_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerBlobAuditingPolicy), @@ -7937,7 +7937,7 @@ pub mod server_blob_auditing_policies { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7958,7 +7958,7 @@ pub mod server_blob_auditing_policies { } } pub mod database_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8003,7 +8003,7 @@ pub mod database_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8077,7 +8077,7 @@ pub mod database_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatabaseBlobAuditingPolicy), @@ -8146,7 +8146,7 @@ pub mod database_blob_auditing_policies { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8167,7 +8167,7 @@ pub mod database_blob_auditing_policies { } } pub mod database_vulnerability_assessment_rule_baselines { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8206,7 +8206,7 @@ pub mod database_vulnerability_assessment_rule_baselines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8268,7 +8268,7 @@ pub mod database_vulnerability_assessment_rule_baselines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8320,7 +8320,7 @@ pub mod database_vulnerability_assessment_rule_baselines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8341,7 +8341,7 @@ pub mod database_vulnerability_assessment_rule_baselines { } } pub mod database_vulnerability_assessments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8386,7 +8386,7 @@ pub mod database_vulnerability_assessments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8460,7 +8460,7 @@ pub mod database_vulnerability_assessments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatabaseVulnerabilityAssessment), @@ -8523,7 +8523,7 @@ pub mod database_vulnerability_assessments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8587,7 +8587,7 @@ pub mod database_vulnerability_assessments { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8608,7 +8608,7 @@ pub mod database_vulnerability_assessments { } } pub mod job_agents { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8652,7 +8652,7 @@ pub mod job_agents { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8713,7 +8713,7 @@ pub mod job_agents { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8786,7 +8786,7 @@ pub mod job_agents { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobAgent), @@ -8856,7 +8856,7 @@ pub mod job_agents { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobAgent), @@ -8919,7 +8919,7 @@ pub mod job_agents { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8946,7 +8946,7 @@ pub mod job_agents { } } pub mod job_credentials { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_agent( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8992,7 +8992,7 @@ pub mod job_credentials { } } pub mod list_by_agent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9055,7 +9055,7 @@ pub mod job_credentials { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9129,7 +9129,7 @@ pub mod job_credentials { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobCredential), @@ -9193,7 +9193,7 @@ pub mod job_credentials { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9219,7 +9219,7 @@ pub mod job_credentials { } } pub mod job_executions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_agent( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9293,7 +9293,7 @@ pub mod job_executions { } } pub mod list_by_agent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9354,7 +9354,7 @@ pub mod job_executions { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9419,7 +9419,7 @@ pub mod job_executions { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobExecution), @@ -9518,7 +9518,7 @@ pub mod job_executions { } } pub mod list_by_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9583,7 +9583,7 @@ pub mod job_executions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9658,7 +9658,7 @@ pub mod job_executions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobExecution), @@ -9685,7 +9685,7 @@ pub mod job_executions { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_agent( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9731,7 +9731,7 @@ pub mod jobs { } } pub mod list_by_agent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9794,7 +9794,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9868,7 +9868,7 @@ pub mod jobs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Job), @@ -9932,7 +9932,7 @@ pub mod jobs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9958,7 +9958,7 @@ pub mod jobs { } } pub mod job_step_executions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_job_execution( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10038,7 +10038,7 @@ pub mod job_step_executions { } } pub mod list_by_job_execution { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10105,7 +10105,7 @@ pub mod job_step_executions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10126,7 +10126,7 @@ pub mod job_step_executions { } } pub mod job_steps { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_version( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10176,7 +10176,7 @@ pub mod job_steps { } } pub mod list_by_version { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10246,7 +10246,7 @@ pub mod job_steps { } } pub mod get_by_version { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10312,7 +10312,7 @@ pub mod job_steps { } } pub mod list_by_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10377,7 +10377,7 @@ pub mod job_steps { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10453,7 +10453,7 @@ pub mod job_steps { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobStep), @@ -10519,7 +10519,7 @@ pub mod job_steps { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10545,7 +10545,7 @@ pub mod job_steps { } } pub mod job_target_executions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_job_execution( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10625,7 +10625,7 @@ pub mod job_target_executions { } } pub mod list_by_job_execution { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10723,7 +10723,7 @@ pub mod job_target_executions { } } pub mod list_by_step { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10781,7 +10781,7 @@ pub mod job_target_executions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10802,7 +10802,7 @@ pub mod job_target_executions { } } pub mod job_target_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_agent( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10848,7 +10848,7 @@ pub mod job_target_groups { } } pub mod list_by_agent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10911,7 +10911,7 @@ pub mod job_target_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10985,7 +10985,7 @@ pub mod job_target_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobTargetGroup), @@ -11049,7 +11049,7 @@ pub mod job_target_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11075,7 +11075,7 @@ pub mod job_target_groups { } } pub mod job_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_job( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11123,7 +11123,7 @@ pub mod job_versions { } } pub mod list_by_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11188,7 +11188,7 @@ pub mod job_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11209,7 +11209,7 @@ pub mod job_versions { } } pub mod long_term_retention_backups { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11252,7 +11252,7 @@ pub mod long_term_retention_backups { } } pub mod get_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11309,7 +11309,7 @@ pub mod long_term_retention_backups { } } pub mod delete_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11383,7 +11383,7 @@ pub mod long_term_retention_backups { } } pub mod list_by_resource_group_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11456,7 +11456,7 @@ pub mod long_term_retention_backups { } } pub mod list_by_resource_group_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11524,7 +11524,7 @@ pub mod long_term_retention_backups { } } pub mod list_by_resource_group_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11579,7 +11579,7 @@ pub mod long_term_retention_backups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11630,7 +11630,7 @@ pub mod long_term_retention_backups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11701,7 +11701,7 @@ pub mod long_term_retention_backups { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11770,7 +11770,7 @@ pub mod long_term_retention_backups { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11841,7 +11841,7 @@ pub mod long_term_retention_backups { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11862,7 +11862,7 @@ pub mod long_term_retention_backups { } } pub mod backup_long_term_retention_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11907,7 +11907,7 @@ pub mod backup_long_term_retention_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11976,7 +11976,7 @@ pub mod backup_long_term_retention_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BackupLongTermRetentionPolicy), @@ -12045,7 +12045,7 @@ pub mod backup_long_term_retention_policies { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12066,7 +12066,7 @@ pub mod backup_long_term_retention_policies { } } pub mod managed_backup_short_term_retention_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12103,7 +12103,7 @@ pub mod managed_backup_short_term_retention_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12164,7 +12164,7 @@ pub mod managed_backup_short_term_retention_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedBackupShortTermRetentionPolicy), @@ -12227,7 +12227,7 @@ pub mod managed_backup_short_term_retention_policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedBackupShortTermRetentionPolicy), @@ -12289,7 +12289,7 @@ pub mod managed_backup_short_term_retention_policies { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12310,7 +12310,7 @@ pub mod managed_backup_short_term_retention_policies { } } pub mod managed_restorable_dropped_database_backup_short_term_retention_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12347,7 +12347,7 @@ pub mod managed_restorable_dropped_database_backup_short_term_retention_policies } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12408,7 +12408,7 @@ pub mod managed_restorable_dropped_database_backup_short_term_retention_policies } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedBackupShortTermRetentionPolicy), @@ -12471,7 +12471,7 @@ pub mod managed_restorable_dropped_database_backup_short_term_retention_policies } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedBackupShortTermRetentionPolicy), @@ -12535,7 +12535,7 @@ pub mod managed_restorable_dropped_database_backup_short_term_retention_policies } } pub mod list_by_restorable_dropped_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12556,7 +12556,7 @@ pub mod managed_restorable_dropped_database_backup_short_term_retention_policies } } pub mod server_automatic_tuning { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12597,7 +12597,7 @@ pub mod server_automatic_tuning { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12658,7 +12658,7 @@ pub mod server_automatic_tuning { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12679,7 +12679,7 @@ pub mod server_automatic_tuning { } } pub mod server_dns_aliases { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12722,7 +12722,7 @@ pub mod server_dns_aliases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12793,7 +12793,7 @@ pub mod server_dns_aliases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerDnsAlias), @@ -12857,7 +12857,7 @@ pub mod server_dns_aliases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12925,7 +12925,7 @@ pub mod server_dns_aliases { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12987,7 +12987,7 @@ pub mod server_dns_aliases { } } pub mod acquire { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13013,7 +13013,7 @@ pub mod server_dns_aliases { } } pub mod server_security_alert_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13056,7 +13056,7 @@ pub mod server_security_alert_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13123,7 +13123,7 @@ pub mod server_security_alert_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerSecurityAlertPolicy), @@ -13190,7 +13190,7 @@ pub mod server_security_alert_policies { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13211,7 +13211,7 @@ pub mod server_security_alert_policies { } } pub mod restorable_dropped_managed_databases { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_instance( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13255,7 +13255,7 @@ pub mod restorable_dropped_managed_databases { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13316,7 +13316,7 @@ pub mod restorable_dropped_managed_databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13337,7 +13337,7 @@ pub mod restorable_dropped_managed_databases { } } pub mod restore_points { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13383,7 +13383,7 @@ pub mod restore_points { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13453,7 +13453,7 @@ pub mod restore_points { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RestorePoint), @@ -13522,7 +13522,7 @@ pub mod restore_points { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13580,7 +13580,7 @@ pub mod restore_points { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13601,7 +13601,7 @@ pub mod restore_points { } } pub mod managed_database_security_alert_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13646,7 +13646,7 @@ pub mod managed_database_security_alert_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13720,7 +13720,7 @@ pub mod managed_database_security_alert_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedDatabaseSecurityAlertPolicy), @@ -13789,7 +13789,7 @@ pub mod managed_database_security_alert_policies { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13810,7 +13810,7 @@ pub mod managed_database_security_alert_policies { } } pub mod managed_server_security_alert_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13853,7 +13853,7 @@ pub mod managed_server_security_alert_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13920,7 +13920,7 @@ pub mod managed_server_security_alert_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedServerSecurityAlertPolicy), @@ -13987,7 +13987,7 @@ pub mod managed_server_security_alert_policies { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14008,7 +14008,7 @@ pub mod managed_server_security_alert_policies { } } pub mod sensitivity_labels { - use crate::models::*; + use super::{models, models::*}; pub async fn list_current_by_database( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14060,7 +14060,7 @@ pub mod sensitivity_labels { } } pub mod list_current_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14141,7 +14141,7 @@ pub mod sensitivity_labels { } } pub mod list_recommended_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14200,7 +14200,7 @@ pub mod sensitivity_labels { } } pub mod enable_recommendation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14259,7 +14259,7 @@ pub mod sensitivity_labels { } } pub mod disable_recommendation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14317,7 +14317,7 @@ pub mod sensitivity_labels { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14386,7 +14386,7 @@ pub mod sensitivity_labels { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SensitivityLabel), @@ -14444,7 +14444,7 @@ pub mod sensitivity_labels { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14465,7 +14465,7 @@ pub mod sensitivity_labels { } } pub mod managed_instance_administrators { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_instance( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14509,7 +14509,7 @@ pub mod managed_instance_administrators { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14570,7 +14570,7 @@ pub mod managed_instance_administrators { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14643,7 +14643,7 @@ pub mod managed_instance_administrators { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedInstanceAdministrator), @@ -14706,7 +14706,7 @@ pub mod managed_instance_administrators { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -14732,7 +14732,7 @@ pub mod managed_instance_administrators { } } pub mod database_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn cancel( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14773,7 +14773,7 @@ pub mod database_operations { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14837,7 +14837,7 @@ pub mod database_operations { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14858,7 +14858,7 @@ pub mod database_operations { } } pub mod elastic_pool_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn cancel( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14899,7 +14899,7 @@ pub mod elastic_pool_operations { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14963,7 +14963,7 @@ pub mod elastic_pool_operations { } } pub mod list_by_elastic_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14984,7 +14984,7 @@ pub mod elastic_pool_operations { } } pub mod database_vulnerability_assessment_scans { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15032,7 +15032,7 @@ pub mod database_vulnerability_assessment_scans { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15097,7 +15097,7 @@ pub mod database_vulnerability_assessment_scans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15153,7 +15153,7 @@ pub mod database_vulnerability_assessment_scans { } } pub mod initiate_scan { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -15221,7 +15221,7 @@ pub mod database_vulnerability_assessment_scans { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatabaseVulnerabilityAssessmentScansExport), @@ -15247,7 +15247,7 @@ pub mod database_vulnerability_assessment_scans { } } pub mod managed_database_vulnerability_assessment_rule_baselines { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15286,7 +15286,7 @@ pub mod managed_database_vulnerability_assessment_rule_baselines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15348,7 +15348,7 @@ pub mod managed_database_vulnerability_assessment_rule_baselines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15400,7 +15400,7 @@ pub mod managed_database_vulnerability_assessment_rule_baselines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15421,7 +15421,7 @@ pub mod managed_database_vulnerability_assessment_rule_baselines { } } pub mod managed_database_vulnerability_assessment_scans { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15461,7 +15461,7 @@ pub mod managed_database_vulnerability_assessment_scans { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15517,7 +15517,7 @@ pub mod managed_database_vulnerability_assessment_scans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15573,7 +15573,7 @@ pub mod managed_database_vulnerability_assessment_scans { } } pub mod initiate_scan { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -15641,7 +15641,7 @@ pub mod managed_database_vulnerability_assessment_scans { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatabaseVulnerabilityAssessmentScansExport), @@ -15667,7 +15667,7 @@ pub mod managed_database_vulnerability_assessment_scans { } } pub mod managed_database_vulnerability_assessments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15712,7 +15712,7 @@ pub mod managed_database_vulnerability_assessments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15786,7 +15786,7 @@ pub mod managed_database_vulnerability_assessments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatabaseVulnerabilityAssessment), @@ -15849,7 +15849,7 @@ pub mod managed_database_vulnerability_assessments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15913,7 +15913,7 @@ pub mod managed_database_vulnerability_assessments { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15934,7 +15934,7 @@ pub mod managed_database_vulnerability_assessments { } } pub mod instance_failover_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15977,7 +15977,7 @@ pub mod instance_failover_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16050,7 +16050,7 @@ pub mod instance_failover_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(InstanceFailoverGroup), @@ -16114,7 +16114,7 @@ pub mod instance_failover_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -16182,7 +16182,7 @@ pub mod instance_failover_groups { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16248,7 +16248,7 @@ pub mod instance_failover_groups { } } pub mod failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(InstanceFailoverGroup), @@ -16314,7 +16314,7 @@ pub mod instance_failover_groups { } } pub mod force_failover_allow_data_loss { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(InstanceFailoverGroup), @@ -16340,7 +16340,7 @@ pub mod instance_failover_groups { } } pub mod backup_short_term_retention_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16385,7 +16385,7 @@ pub mod backup_short_term_retention_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16454,7 +16454,7 @@ pub mod backup_short_term_retention_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BackupShortTermRetentionPolicy), @@ -16525,7 +16525,7 @@ pub mod backup_short_term_retention_policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BackupShortTermRetentionPolicy), @@ -16594,7 +16594,7 @@ pub mod backup_short_term_retention_policies { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16615,7 +16615,7 @@ pub mod backup_short_term_retention_policies { } } pub mod tde_certificates { - use crate::models::*; + use super::{models, models::*}; pub async fn create( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16654,7 +16654,7 @@ pub mod tde_certificates { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -16680,7 +16680,7 @@ pub mod tde_certificates { } } pub mod managed_instance_tde_certificates { - use crate::models::*; + use super::{models, models::*}; pub async fn create( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16719,7 +16719,7 @@ pub mod managed_instance_tde_certificates { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -16745,7 +16745,7 @@ pub mod managed_instance_tde_certificates { } } pub mod managed_instance_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_instance( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16793,7 +16793,7 @@ pub mod managed_instance_keys { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16854,7 +16854,7 @@ pub mod managed_instance_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16927,7 +16927,7 @@ pub mod managed_instance_keys { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedInstanceKey), @@ -16991,7 +16991,7 @@ pub mod managed_instance_keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -17018,7 +17018,7 @@ pub mod managed_instance_keys { } } pub mod managed_instance_encryption_protectors { - use crate::models::*; + use super::{models, models::*}; pub async fn revalidate( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17061,7 +17061,7 @@ pub mod managed_instance_encryption_protectors { } } pub mod revalidate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -17128,7 +17128,7 @@ pub mod managed_instance_encryption_protectors { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17189,7 +17189,7 @@ pub mod managed_instance_encryption_protectors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17256,7 +17256,7 @@ pub mod managed_instance_encryption_protectors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedInstanceEncryptionProtector), @@ -17282,7 +17282,7 @@ pub mod managed_instance_encryption_protectors { } } pub mod recoverable_managed_databases { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_instance( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17326,7 +17326,7 @@ pub mod recoverable_managed_databases { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17387,7 +17387,7 @@ pub mod recoverable_managed_databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17408,7 +17408,7 @@ pub mod recoverable_managed_databases { } } pub mod managed_instance_vulnerability_assessments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17451,7 +17451,7 @@ pub mod managed_instance_vulnerability_assessments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17523,7 +17523,7 @@ pub mod managed_instance_vulnerability_assessments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedInstanceVulnerabilityAssessment), @@ -17584,7 +17584,7 @@ pub mod managed_instance_vulnerability_assessments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17646,7 +17646,7 @@ pub mod managed_instance_vulnerability_assessments { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17667,7 +17667,7 @@ pub mod managed_instance_vulnerability_assessments { } } pub mod server_vulnerability_assessments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17710,7 +17710,7 @@ pub mod server_vulnerability_assessments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17782,7 +17782,7 @@ pub mod server_vulnerability_assessments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerVulnerabilityAssessment), @@ -17843,7 +17843,7 @@ pub mod server_vulnerability_assessments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17905,7 +17905,7 @@ pub mod server_vulnerability_assessments { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17926,7 +17926,7 @@ pub mod server_vulnerability_assessments { } } pub mod managed_database_sensitivity_labels { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17966,7 +17966,7 @@ pub mod managed_database_sensitivity_labels { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18035,7 +18035,7 @@ pub mod managed_database_sensitivity_labels { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SensitivityLabel), @@ -18093,7 +18093,7 @@ pub mod managed_database_sensitivity_labels { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18152,7 +18152,7 @@ pub mod managed_database_sensitivity_labels { } } pub mod disable_recommendation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18211,7 +18211,7 @@ pub mod managed_database_sensitivity_labels { } } pub mod enable_recommendation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18281,7 +18281,7 @@ pub mod managed_database_sensitivity_labels { } } pub mod list_current_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18362,7 +18362,7 @@ pub mod managed_database_sensitivity_labels { } } pub mod list_recommended_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18383,7 +18383,7 @@ pub mod managed_database_sensitivity_labels { } } pub mod instance_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18424,7 +18424,7 @@ pub mod instance_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18495,7 +18495,7 @@ pub mod instance_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(InstancePool), @@ -18563,7 +18563,7 @@ pub mod instance_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(InstancePool), @@ -18624,7 +18624,7 @@ pub mod instance_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -18692,7 +18692,7 @@ pub mod instance_pools { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18747,7 +18747,7 @@ pub mod instance_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18768,7 +18768,7 @@ pub mod instance_pools { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_instance_pool( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18819,7 +18819,7 @@ pub mod usages { } } pub mod list_by_instance_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18840,7 +18840,7 @@ pub mod usages { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18884,7 +18884,7 @@ pub mod private_link_resources { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18945,7 +18945,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18966,7 +18966,7 @@ pub mod private_link_resources { } } pub mod servers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19010,7 +19010,7 @@ pub mod servers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19069,7 +19069,7 @@ pub mod servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19140,7 +19140,7 @@ pub mod servers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -19208,7 +19208,7 @@ pub mod servers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -19269,7 +19269,7 @@ pub mod servers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -19330,7 +19330,7 @@ pub mod servers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19392,7 +19392,7 @@ pub mod servers { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19413,7 +19413,7 @@ pub mod servers { } } pub mod long_term_retention_managed_instance_backups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location_name: &str, @@ -19450,7 +19450,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19501,7 +19501,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -19572,7 +19572,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19637,7 +19637,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19706,7 +19706,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19767,7 +19767,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod get_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19824,7 +19824,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod delete_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -19898,7 +19898,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod list_by_resource_group_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19966,7 +19966,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod list_by_resource_group_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20039,7 +20039,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod list_by_resource_group_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20060,7 +20060,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod managed_instance_long_term_retention_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20097,7 +20097,7 @@ pub mod managed_instance_long_term_retention_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20158,7 +20158,7 @@ pub mod managed_instance_long_term_retention_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedInstanceLongTermRetentionPolicy), @@ -20220,7 +20220,7 @@ pub mod managed_instance_long_term_retention_policies { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20241,7 +20241,7 @@ pub mod managed_instance_long_term_retention_policies { } } pub mod workload_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20286,7 +20286,7 @@ pub mod workload_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20361,7 +20361,7 @@ pub mod workload_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadGroup), @@ -20427,7 +20427,7 @@ pub mod workload_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -20497,7 +20497,7 @@ pub mod workload_groups { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20518,7 +20518,7 @@ pub mod workload_groups { } } pub mod workload_classifiers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20556,7 +20556,7 @@ pub mod workload_classifiers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20624,7 +20624,7 @@ pub mod workload_classifiers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadClassifier), @@ -20683,7 +20683,7 @@ pub mod workload_classifiers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -20757,7 +20757,7 @@ pub mod workload_classifiers { } } pub mod list_by_workload_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20778,7 +20778,7 @@ pub mod workload_classifiers { } } pub mod server_azure_ad_administrators { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -20821,7 +20821,7 @@ pub mod server_azure_ad_administrators { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20894,7 +20894,7 @@ pub mod server_azure_ad_administrators { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerAzureAdAdministrator), @@ -20958,7 +20958,7 @@ pub mod server_azure_ad_administrators { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -21026,7 +21026,7 @@ pub mod server_azure_ad_administrators { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21047,7 +21047,7 @@ pub mod server_azure_ad_administrators { } } pub mod sync_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list_sync_database_ids( operation_config: &crate::OperationConfig, location_name: &str, @@ -21091,7 +21091,7 @@ pub mod sync_groups { } } pub mod list_sync_database_ids { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21154,7 +21154,7 @@ pub mod sync_groups { } } pub mod refresh_hub_schema { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -21225,7 +21225,7 @@ pub mod sync_groups { } } pub mod list_hub_schemas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21301,7 +21301,7 @@ pub mod sync_groups { } } pub mod list_logs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21363,7 +21363,7 @@ pub mod sync_groups { } } pub mod cancel_sync { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21425,7 +21425,7 @@ pub mod sync_groups { } } pub mod trigger_sync { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21488,7 +21488,7 @@ pub mod sync_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21563,7 +21563,7 @@ pub mod sync_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SyncGroup), @@ -21635,7 +21635,7 @@ pub mod sync_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SyncGroup), @@ -21700,7 +21700,7 @@ pub mod sync_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -21770,7 +21770,7 @@ pub mod sync_groups { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21791,7 +21791,7 @@ pub mod sync_groups { } } pub mod sync_members { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -21838,7 +21838,7 @@ pub mod sync_members { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21915,7 +21915,7 @@ pub mod sync_members { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SyncMember), @@ -21989,7 +21989,7 @@ pub mod sync_members { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SyncMember), @@ -22056,7 +22056,7 @@ pub mod sync_members { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22128,7 +22128,7 @@ pub mod sync_members { } } pub mod list_by_sync_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22196,7 +22196,7 @@ pub mod sync_members { } } pub mod list_member_schemas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22254,7 +22254,7 @@ pub mod sync_members { } } pub mod refresh_member_schema { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22280,7 +22280,7 @@ pub mod sync_members { } } pub mod managed_databases { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_instance( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -22324,7 +22324,7 @@ pub mod managed_databases { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22385,7 +22385,7 @@ pub mod managed_databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22458,7 +22458,7 @@ pub mod managed_databases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedDatabase), @@ -22528,7 +22528,7 @@ pub mod managed_databases { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedDatabase), @@ -22591,7 +22591,7 @@ pub mod managed_databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22659,7 +22659,7 @@ pub mod managed_databases { } } pub mod complete_restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22728,7 +22728,7 @@ pub mod managed_databases { } } pub mod list_inaccessible_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22749,7 +22749,7 @@ pub mod managed_databases { } } pub mod server_azure_ad_only_authentications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -22792,7 +22792,7 @@ pub mod server_azure_ad_only_authentications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22865,7 +22865,7 @@ pub mod server_azure_ad_only_authentications { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerAzureAdOnlyAuthentication), @@ -22929,7 +22929,7 @@ pub mod server_azure_ad_only_authentications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22997,7 +22997,7 @@ pub mod server_azure_ad_only_authentications { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23018,7 +23018,7 @@ pub mod server_azure_ad_only_authentications { } } pub mod managed_instances { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_instance_pool( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -23064,7 +23064,7 @@ pub mod managed_instances { } } pub mod list_by_instance_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23126,7 +23126,7 @@ pub mod managed_instances { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23185,7 +23185,7 @@ pub mod managed_instances { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23256,7 +23256,7 @@ pub mod managed_instances { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedInstance), @@ -23324,7 +23324,7 @@ pub mod managed_instances { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedInstance), @@ -23385,7 +23385,7 @@ pub mod managed_instances { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23484,7 +23484,7 @@ pub mod managed_instances { } } pub mod list_by_managed_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23547,7 +23547,7 @@ pub mod managed_instances { } } pub mod failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23607,7 +23607,7 @@ pub mod managed_instances { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23628,7 +23628,7 @@ pub mod managed_instances { } } pub mod managed_instance_azure_ad_only_authentications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -23671,7 +23671,7 @@ pub mod managed_instance_azure_ad_only_authentications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23744,7 +23744,7 @@ pub mod managed_instance_azure_ad_only_authentications { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedInstanceAzureAdOnlyAuthentication), @@ -23808,7 +23808,7 @@ pub mod managed_instance_azure_ad_only_authentications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23876,7 +23876,7 @@ pub mod managed_instance_azure_ad_only_authentications { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23897,7 +23897,7 @@ pub mod managed_instance_azure_ad_only_authentications { } } pub mod server_trust_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -23940,7 +23940,7 @@ pub mod server_trust_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24013,7 +24013,7 @@ pub mod server_trust_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerTrustGroup), @@ -24077,7 +24077,7 @@ pub mod server_trust_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -24145,7 +24145,7 @@ pub mod server_trust_groups { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24207,7 +24207,7 @@ pub mod server_trust_groups { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24228,7 +24228,7 @@ pub mod server_trust_groups { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -24271,7 +24271,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24338,7 +24338,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -24401,7 +24401,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -24469,7 +24469,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/sql/src/package_composite_v3/operations.rs b/services/mgmt/sql/src/package_composite_v3/operations.rs index 63ca53d1a8..8ce998ee73 100644 --- a/services/mgmt/sql/src/package_composite_v3/operations.rs +++ b/services/mgmt/sql/src/package_composite_v3/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod recoverable_databases { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod recoverable_databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -121,7 +121,7 @@ pub mod recoverable_databases { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -142,7 +142,7 @@ pub mod recoverable_databases { } } pub mod restorable_dropped_databases { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -191,7 +191,7 @@ pub mod restorable_dropped_databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -259,7 +259,7 @@ pub mod restorable_dropped_databases { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -280,7 +280,7 @@ pub mod restorable_dropped_databases { } } pub mod server_connection_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -329,7 +329,7 @@ pub mod server_connection_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -407,7 +407,7 @@ pub mod server_connection_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerConnectionPolicy), @@ -433,7 +433,7 @@ pub mod server_connection_policies { } } pub mod database_threat_detection_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -478,7 +478,7 @@ pub mod database_threat_detection_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -552,7 +552,7 @@ pub mod database_threat_detection_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatabaseSecurityAlertPolicy), @@ -578,7 +578,7 @@ pub mod database_threat_detection_policies { } } pub mod data_masking_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -629,7 +629,7 @@ pub mod data_masking_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -703,7 +703,7 @@ pub mod data_masking_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -724,7 +724,7 @@ pub mod data_masking_policies { } } pub mod data_masking_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn create_or_update( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -788,7 +788,7 @@ pub mod data_masking_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataMaskingRule), @@ -865,7 +865,7 @@ pub mod data_masking_rules { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -886,7 +886,7 @@ pub mod data_masking_rules { } } pub mod firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -935,7 +935,7 @@ pub mod firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1013,7 +1013,7 @@ pub mod firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FirewallRule), @@ -1081,7 +1081,7 @@ pub mod firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1154,7 +1154,7 @@ pub mod firewall_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1175,7 +1175,7 @@ pub mod firewall_rules { } } pub mod geo_backup_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1226,7 +1226,7 @@ pub mod geo_backup_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1306,7 +1306,7 @@ pub mod geo_backup_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GeoBackupPolicy), @@ -1381,7 +1381,7 @@ pub mod geo_backup_policies { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1402,7 +1402,7 @@ pub mod geo_backup_policies { } } pub mod databases { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1456,7 +1456,7 @@ pub mod databases { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1528,7 +1528,7 @@ pub mod databases { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1590,7 +1590,7 @@ pub mod databases { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1651,7 +1651,7 @@ pub mod databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1724,7 +1724,7 @@ pub mod databases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1794,7 +1794,7 @@ pub mod databases { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1857,7 +1857,7 @@ pub mod databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1927,7 +1927,7 @@ pub mod databases { } } pub mod list_by_elastic_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1990,7 +1990,7 @@ pub mod databases { } } pub mod pause { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -2058,7 +2058,7 @@ pub mod databases { } } pub mod resume { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -2126,7 +2126,7 @@ pub mod databases { } } pub mod upgrade_data_warehouse { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2189,7 +2189,7 @@ pub mod databases { } } pub mod rename { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2253,7 +2253,7 @@ pub mod databases { } } pub mod list_inaccessible_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2318,7 +2318,7 @@ pub mod databases { } } pub mod failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2387,7 +2387,7 @@ pub mod databases { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ImportExportOperationResult), @@ -2413,7 +2413,7 @@ pub mod databases { } } pub mod elastic_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2467,7 +2467,7 @@ pub mod elastic_pools { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2539,7 +2539,7 @@ pub mod elastic_pools { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2605,7 +2605,7 @@ pub mod elastic_pools { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2666,7 +2666,7 @@ pub mod elastic_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2739,7 +2739,7 @@ pub mod elastic_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ElasticPool), @@ -2809,7 +2809,7 @@ pub mod elastic_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ElasticPool), @@ -2872,7 +2872,7 @@ pub mod elastic_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2939,7 +2939,7 @@ pub mod elastic_pools { } } pub mod failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2965,7 +2965,7 @@ pub mod elastic_pools { } } pub mod recommended_elastic_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3014,7 +3014,7 @@ pub mod recommended_elastic_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3082,7 +3082,7 @@ pub mod recommended_elastic_pools { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3152,7 +3152,7 @@ pub mod recommended_elastic_pools { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3173,7 +3173,7 @@ pub mod recommended_elastic_pools { } } pub mod replication_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3224,7 +3224,7 @@ pub mod replication_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3289,7 +3289,7 @@ pub mod replication_links { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3363,7 +3363,7 @@ pub mod replication_links { } } pub mod failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -3431,7 +3431,7 @@ pub mod replication_links { } } pub mod failover_allow_data_loss { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -3503,7 +3503,7 @@ pub mod replication_links { } } pub mod unlink { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -3578,7 +3578,7 @@ pub mod replication_links { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3599,7 +3599,7 @@ pub mod replication_links { } } pub mod server_communication_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3648,7 +3648,7 @@ pub mod server_communication_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3721,7 +3721,7 @@ pub mod server_communication_links { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ServerCommunicationLink), @@ -3788,7 +3788,7 @@ pub mod server_communication_links { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3856,7 +3856,7 @@ pub mod server_communication_links { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3877,7 +3877,7 @@ pub mod server_communication_links { } } pub mod service_objectives { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3926,7 +3926,7 @@ pub mod service_objectives { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3994,7 +3994,7 @@ pub mod service_objectives { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4015,7 +4015,7 @@ pub mod service_objectives { } } pub mod elastic_pool_activities { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_elastic_pool( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4067,7 +4067,7 @@ pub mod elastic_pool_activities { } } pub mod list_by_elastic_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4088,7 +4088,7 @@ pub mod elastic_pool_activities { } } pub mod elastic_pool_database_activities { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_elastic_pool( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4140,7 +4140,7 @@ pub mod elastic_pool_database_activities { } } pub mod list_by_elastic_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4161,7 +4161,7 @@ pub mod elastic_pool_database_activities { } } pub mod service_tier_advisors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4212,7 +4212,7 @@ pub mod service_tier_advisors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4282,7 +4282,7 @@ pub mod service_tier_advisors { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4303,7 +4303,7 @@ pub mod service_tier_advisors { } } pub mod transparent_data_encryptions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4354,7 +4354,7 @@ pub mod transparent_data_encryptions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4434,7 +4434,7 @@ pub mod transparent_data_encryptions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TransparentDataEncryption), @@ -4460,7 +4460,7 @@ pub mod transparent_data_encryptions { } } pub mod transparent_data_encryption_activities { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_configuration( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4508,7 +4508,7 @@ pub mod transparent_data_encryption_activities { } } pub mod list_by_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4529,7 +4529,7 @@ pub mod transparent_data_encryption_activities { } } pub mod server_usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4579,7 +4579,7 @@ pub mod server_usages { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4600,7 +4600,7 @@ pub mod server_usages { } } pub mod database_usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4652,7 +4652,7 @@ pub mod database_usages { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4673,7 +4673,7 @@ pub mod database_usages { } } pub mod database_automatic_tuning { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4716,7 +4716,7 @@ pub mod database_automatic_tuning { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4779,7 +4779,7 @@ pub mod database_automatic_tuning { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4800,7 +4800,7 @@ pub mod database_automatic_tuning { } } pub mod encryption_protectors { - use crate::models::*; + use super::{models, models::*}; pub async fn revalidate( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4843,7 +4843,7 @@ pub mod encryption_protectors { } } pub mod revalidate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4910,7 +4910,7 @@ pub mod encryption_protectors { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4971,7 +4971,7 @@ pub mod encryption_protectors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5038,7 +5038,7 @@ pub mod encryption_protectors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EncryptionProtector), @@ -5064,7 +5064,7 @@ pub mod encryption_protectors { } } pub mod failover_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5107,7 +5107,7 @@ pub mod failover_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5180,7 +5180,7 @@ pub mod failover_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FailoverGroup), @@ -5250,7 +5250,7 @@ pub mod failover_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FailoverGroup), @@ -5313,7 +5313,7 @@ pub mod failover_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5381,7 +5381,7 @@ pub mod failover_groups { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5447,7 +5447,7 @@ pub mod failover_groups { } } pub mod failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FailoverGroup), @@ -5520,7 +5520,7 @@ pub mod failover_groups { } } pub mod force_failover_allow_data_loss { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FailoverGroup), @@ -5546,7 +5546,7 @@ pub mod failover_groups { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Sql/operations", operation_config.base_path(),); @@ -5576,7 +5576,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5597,7 +5597,7 @@ pub mod operations { } } pub mod server_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5641,7 +5641,7 @@ pub mod server_keys { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5702,7 +5702,7 @@ pub mod server_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5775,7 +5775,7 @@ pub mod server_keys { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerKey), @@ -5839,7 +5839,7 @@ pub mod server_keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5866,7 +5866,7 @@ pub mod server_keys { } } pub mod sync_agents { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5909,7 +5909,7 @@ pub mod sync_agents { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5982,7 +5982,7 @@ pub mod sync_agents { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SyncAgent), @@ -6046,7 +6046,7 @@ pub mod sync_agents { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6114,7 +6114,7 @@ pub mod sync_agents { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6179,7 +6179,7 @@ pub mod sync_agents { } } pub mod generate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6245,7 +6245,7 @@ pub mod sync_agents { } } pub mod list_linked_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6266,7 +6266,7 @@ pub mod sync_agents { } } pub mod subscription_usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, location_name: &str, @@ -6308,7 +6308,7 @@ pub mod subscription_usages { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6367,7 +6367,7 @@ pub mod subscription_usages { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6388,7 +6388,7 @@ pub mod subscription_usages { } } pub mod virtual_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6425,7 +6425,7 @@ pub mod virtual_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6487,7 +6487,7 @@ pub mod virtual_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6546,7 +6546,7 @@ pub mod virtual_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6608,7 +6608,7 @@ pub mod virtual_clusters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualCluster), @@ -6669,7 +6669,7 @@ pub mod virtual_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6696,7 +6696,7 @@ pub mod virtual_clusters { } } pub mod virtual_network_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6739,7 +6739,7 @@ pub mod virtual_network_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6812,7 +6812,7 @@ pub mod virtual_network_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkRule), @@ -6876,7 +6876,7 @@ pub mod virtual_network_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6944,7 +6944,7 @@ pub mod virtual_network_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6965,7 +6965,7 @@ pub mod virtual_network_rules { } } pub mod extended_database_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7010,7 +7010,7 @@ pub mod extended_database_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7084,7 +7084,7 @@ pub mod extended_database_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExtendedDatabaseBlobAuditingPolicy), @@ -7153,7 +7153,7 @@ pub mod extended_database_blob_auditing_policies { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7174,7 +7174,7 @@ pub mod extended_database_blob_auditing_policies { } } pub mod extended_server_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7217,7 +7217,7 @@ pub mod extended_server_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7284,7 +7284,7 @@ pub mod extended_server_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExtendedServerBlobAuditingPolicy), @@ -7351,7 +7351,7 @@ pub mod extended_server_blob_auditing_policies { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7372,7 +7372,7 @@ pub mod extended_server_blob_auditing_policies { } } pub mod server_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7415,7 +7415,7 @@ pub mod server_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7482,7 +7482,7 @@ pub mod server_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerBlobAuditingPolicy), @@ -7549,7 +7549,7 @@ pub mod server_blob_auditing_policies { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7570,7 +7570,7 @@ pub mod server_blob_auditing_policies { } } pub mod database_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7615,7 +7615,7 @@ pub mod database_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7689,7 +7689,7 @@ pub mod database_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatabaseBlobAuditingPolicy), @@ -7758,7 +7758,7 @@ pub mod database_blob_auditing_policies { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7779,7 +7779,7 @@ pub mod database_blob_auditing_policies { } } pub mod database_vulnerability_assessment_rule_baselines { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7818,7 +7818,7 @@ pub mod database_vulnerability_assessment_rule_baselines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7880,7 +7880,7 @@ pub mod database_vulnerability_assessment_rule_baselines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7932,7 +7932,7 @@ pub mod database_vulnerability_assessment_rule_baselines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7953,7 +7953,7 @@ pub mod database_vulnerability_assessment_rule_baselines { } } pub mod database_vulnerability_assessments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7998,7 +7998,7 @@ pub mod database_vulnerability_assessments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8072,7 +8072,7 @@ pub mod database_vulnerability_assessments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatabaseVulnerabilityAssessment), @@ -8135,7 +8135,7 @@ pub mod database_vulnerability_assessments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8199,7 +8199,7 @@ pub mod database_vulnerability_assessments { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8220,7 +8220,7 @@ pub mod database_vulnerability_assessments { } } pub mod job_agents { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8264,7 +8264,7 @@ pub mod job_agents { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8325,7 +8325,7 @@ pub mod job_agents { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8398,7 +8398,7 @@ pub mod job_agents { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobAgent), @@ -8468,7 +8468,7 @@ pub mod job_agents { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobAgent), @@ -8531,7 +8531,7 @@ pub mod job_agents { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8558,7 +8558,7 @@ pub mod job_agents { } } pub mod job_credentials { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_agent( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8604,7 +8604,7 @@ pub mod job_credentials { } } pub mod list_by_agent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8667,7 +8667,7 @@ pub mod job_credentials { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8741,7 +8741,7 @@ pub mod job_credentials { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobCredential), @@ -8805,7 +8805,7 @@ pub mod job_credentials { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8831,7 +8831,7 @@ pub mod job_credentials { } } pub mod job_executions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_agent( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8905,7 +8905,7 @@ pub mod job_executions { } } pub mod list_by_agent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8966,7 +8966,7 @@ pub mod job_executions { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9031,7 +9031,7 @@ pub mod job_executions { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobExecution), @@ -9130,7 +9130,7 @@ pub mod job_executions { } } pub mod list_by_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9195,7 +9195,7 @@ pub mod job_executions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9270,7 +9270,7 @@ pub mod job_executions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobExecution), @@ -9297,7 +9297,7 @@ pub mod job_executions { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_agent( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9343,7 +9343,7 @@ pub mod jobs { } } pub mod list_by_agent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9406,7 +9406,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9480,7 +9480,7 @@ pub mod jobs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Job), @@ -9544,7 +9544,7 @@ pub mod jobs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9570,7 +9570,7 @@ pub mod jobs { } } pub mod job_step_executions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_job_execution( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9650,7 +9650,7 @@ pub mod job_step_executions { } } pub mod list_by_job_execution { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9717,7 +9717,7 @@ pub mod job_step_executions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9738,7 +9738,7 @@ pub mod job_step_executions { } } pub mod job_steps { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_version( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9788,7 +9788,7 @@ pub mod job_steps { } } pub mod list_by_version { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9858,7 +9858,7 @@ pub mod job_steps { } } pub mod get_by_version { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9924,7 +9924,7 @@ pub mod job_steps { } } pub mod list_by_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9989,7 +9989,7 @@ pub mod job_steps { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10065,7 +10065,7 @@ pub mod job_steps { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobStep), @@ -10131,7 +10131,7 @@ pub mod job_steps { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10157,7 +10157,7 @@ pub mod job_steps { } } pub mod job_target_executions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_job_execution( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10237,7 +10237,7 @@ pub mod job_target_executions { } } pub mod list_by_job_execution { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10335,7 +10335,7 @@ pub mod job_target_executions { } } pub mod list_by_step { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10393,7 +10393,7 @@ pub mod job_target_executions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10414,7 +10414,7 @@ pub mod job_target_executions { } } pub mod job_target_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_agent( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10460,7 +10460,7 @@ pub mod job_target_groups { } } pub mod list_by_agent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10523,7 +10523,7 @@ pub mod job_target_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10597,7 +10597,7 @@ pub mod job_target_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobTargetGroup), @@ -10661,7 +10661,7 @@ pub mod job_target_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10687,7 +10687,7 @@ pub mod job_target_groups { } } pub mod job_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_job( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10735,7 +10735,7 @@ pub mod job_versions { } } pub mod list_by_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10800,7 +10800,7 @@ pub mod job_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10821,7 +10821,7 @@ pub mod job_versions { } } pub mod long_term_retention_backups { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10864,7 +10864,7 @@ pub mod long_term_retention_backups { } } pub mod get_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10921,7 +10921,7 @@ pub mod long_term_retention_backups { } } pub mod delete_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10995,7 +10995,7 @@ pub mod long_term_retention_backups { } } pub mod list_by_resource_group_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11068,7 +11068,7 @@ pub mod long_term_retention_backups { } } pub mod list_by_resource_group_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11136,7 +11136,7 @@ pub mod long_term_retention_backups { } } pub mod list_by_resource_group_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11191,7 +11191,7 @@ pub mod long_term_retention_backups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11242,7 +11242,7 @@ pub mod long_term_retention_backups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11313,7 +11313,7 @@ pub mod long_term_retention_backups { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11382,7 +11382,7 @@ pub mod long_term_retention_backups { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11453,7 +11453,7 @@ pub mod long_term_retention_backups { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11474,7 +11474,7 @@ pub mod long_term_retention_backups { } } pub mod backup_long_term_retention_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11519,7 +11519,7 @@ pub mod backup_long_term_retention_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11588,7 +11588,7 @@ pub mod backup_long_term_retention_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BackupLongTermRetentionPolicy), @@ -11657,7 +11657,7 @@ pub mod backup_long_term_retention_policies { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11678,7 +11678,7 @@ pub mod backup_long_term_retention_policies { } } pub mod managed_backup_short_term_retention_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11715,7 +11715,7 @@ pub mod managed_backup_short_term_retention_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11776,7 +11776,7 @@ pub mod managed_backup_short_term_retention_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedBackupShortTermRetentionPolicy), @@ -11839,7 +11839,7 @@ pub mod managed_backup_short_term_retention_policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedBackupShortTermRetentionPolicy), @@ -11901,7 +11901,7 @@ pub mod managed_backup_short_term_retention_policies { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11922,7 +11922,7 @@ pub mod managed_backup_short_term_retention_policies { } } pub mod managed_restorable_dropped_database_backup_short_term_retention_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11959,7 +11959,7 @@ pub mod managed_restorable_dropped_database_backup_short_term_retention_policies } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12020,7 +12020,7 @@ pub mod managed_restorable_dropped_database_backup_short_term_retention_policies } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedBackupShortTermRetentionPolicy), @@ -12083,7 +12083,7 @@ pub mod managed_restorable_dropped_database_backup_short_term_retention_policies } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedBackupShortTermRetentionPolicy), @@ -12147,7 +12147,7 @@ pub mod managed_restorable_dropped_database_backup_short_term_retention_policies } } pub mod list_by_restorable_dropped_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12168,7 +12168,7 @@ pub mod managed_restorable_dropped_database_backup_short_term_retention_policies } } pub mod server_automatic_tuning { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12209,7 +12209,7 @@ pub mod server_automatic_tuning { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12270,7 +12270,7 @@ pub mod server_automatic_tuning { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12291,7 +12291,7 @@ pub mod server_automatic_tuning { } } pub mod server_dns_aliases { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12334,7 +12334,7 @@ pub mod server_dns_aliases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12405,7 +12405,7 @@ pub mod server_dns_aliases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerDnsAlias), @@ -12469,7 +12469,7 @@ pub mod server_dns_aliases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12537,7 +12537,7 @@ pub mod server_dns_aliases { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12599,7 +12599,7 @@ pub mod server_dns_aliases { } } pub mod acquire { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12625,7 +12625,7 @@ pub mod server_dns_aliases { } } pub mod server_security_alert_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12668,7 +12668,7 @@ pub mod server_security_alert_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12735,7 +12735,7 @@ pub mod server_security_alert_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerSecurityAlertPolicy), @@ -12802,7 +12802,7 @@ pub mod server_security_alert_policies { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12823,7 +12823,7 @@ pub mod server_security_alert_policies { } } pub mod restorable_dropped_managed_databases { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_instance( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12867,7 +12867,7 @@ pub mod restorable_dropped_managed_databases { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12928,7 +12928,7 @@ pub mod restorable_dropped_managed_databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12949,7 +12949,7 @@ pub mod restorable_dropped_managed_databases { } } pub mod restore_points { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12995,7 +12995,7 @@ pub mod restore_points { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13065,7 +13065,7 @@ pub mod restore_points { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RestorePoint), @@ -13134,7 +13134,7 @@ pub mod restore_points { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13192,7 +13192,7 @@ pub mod restore_points { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13213,7 +13213,7 @@ pub mod restore_points { } } pub mod managed_database_security_alert_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13258,7 +13258,7 @@ pub mod managed_database_security_alert_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13332,7 +13332,7 @@ pub mod managed_database_security_alert_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedDatabaseSecurityAlertPolicy), @@ -13401,7 +13401,7 @@ pub mod managed_database_security_alert_policies { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13422,7 +13422,7 @@ pub mod managed_database_security_alert_policies { } } pub mod managed_server_security_alert_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13465,7 +13465,7 @@ pub mod managed_server_security_alert_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13532,7 +13532,7 @@ pub mod managed_server_security_alert_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedServerSecurityAlertPolicy), @@ -13599,7 +13599,7 @@ pub mod managed_server_security_alert_policies { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13620,7 +13620,7 @@ pub mod managed_server_security_alert_policies { } } pub mod sensitivity_labels { - use crate::models::*; + use super::{models, models::*}; pub async fn list_current_by_database( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13672,7 +13672,7 @@ pub mod sensitivity_labels { } } pub mod list_current_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13753,7 +13753,7 @@ pub mod sensitivity_labels { } } pub mod list_recommended_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13812,7 +13812,7 @@ pub mod sensitivity_labels { } } pub mod enable_recommendation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13871,7 +13871,7 @@ pub mod sensitivity_labels { } } pub mod disable_recommendation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13929,7 +13929,7 @@ pub mod sensitivity_labels { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13998,7 +13998,7 @@ pub mod sensitivity_labels { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SensitivityLabel), @@ -14056,7 +14056,7 @@ pub mod sensitivity_labels { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14077,7 +14077,7 @@ pub mod sensitivity_labels { } } pub mod managed_instance_administrators { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_instance( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14121,7 +14121,7 @@ pub mod managed_instance_administrators { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14182,7 +14182,7 @@ pub mod managed_instance_administrators { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14255,7 +14255,7 @@ pub mod managed_instance_administrators { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedInstanceAdministrator), @@ -14318,7 +14318,7 @@ pub mod managed_instance_administrators { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -14344,7 +14344,7 @@ pub mod managed_instance_administrators { } } pub mod database_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn cancel( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14385,7 +14385,7 @@ pub mod database_operations { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14449,7 +14449,7 @@ pub mod database_operations { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14470,7 +14470,7 @@ pub mod database_operations { } } pub mod elastic_pool_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn cancel( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14511,7 +14511,7 @@ pub mod elastic_pool_operations { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14575,7 +14575,7 @@ pub mod elastic_pool_operations { } } pub mod list_by_elastic_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14596,7 +14596,7 @@ pub mod elastic_pool_operations { } } pub mod database_vulnerability_assessment_scans { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14644,7 +14644,7 @@ pub mod database_vulnerability_assessment_scans { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14709,7 +14709,7 @@ pub mod database_vulnerability_assessment_scans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14765,7 +14765,7 @@ pub mod database_vulnerability_assessment_scans { } } pub mod initiate_scan { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -14833,7 +14833,7 @@ pub mod database_vulnerability_assessment_scans { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatabaseVulnerabilityAssessmentScansExport), @@ -14859,7 +14859,7 @@ pub mod database_vulnerability_assessment_scans { } } pub mod managed_database_vulnerability_assessment_rule_baselines { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14898,7 +14898,7 @@ pub mod managed_database_vulnerability_assessment_rule_baselines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14960,7 +14960,7 @@ pub mod managed_database_vulnerability_assessment_rule_baselines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15012,7 +15012,7 @@ pub mod managed_database_vulnerability_assessment_rule_baselines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15033,7 +15033,7 @@ pub mod managed_database_vulnerability_assessment_rule_baselines { } } pub mod managed_database_vulnerability_assessment_scans { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15073,7 +15073,7 @@ pub mod managed_database_vulnerability_assessment_scans { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15129,7 +15129,7 @@ pub mod managed_database_vulnerability_assessment_scans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15185,7 +15185,7 @@ pub mod managed_database_vulnerability_assessment_scans { } } pub mod initiate_scan { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -15253,7 +15253,7 @@ pub mod managed_database_vulnerability_assessment_scans { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatabaseVulnerabilityAssessmentScansExport), @@ -15279,7 +15279,7 @@ pub mod managed_database_vulnerability_assessment_scans { } } pub mod managed_database_vulnerability_assessments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15324,7 +15324,7 @@ pub mod managed_database_vulnerability_assessments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15398,7 +15398,7 @@ pub mod managed_database_vulnerability_assessments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatabaseVulnerabilityAssessment), @@ -15461,7 +15461,7 @@ pub mod managed_database_vulnerability_assessments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15525,7 +15525,7 @@ pub mod managed_database_vulnerability_assessments { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15546,7 +15546,7 @@ pub mod managed_database_vulnerability_assessments { } } pub mod instance_failover_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15589,7 +15589,7 @@ pub mod instance_failover_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15662,7 +15662,7 @@ pub mod instance_failover_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(InstanceFailoverGroup), @@ -15726,7 +15726,7 @@ pub mod instance_failover_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -15794,7 +15794,7 @@ pub mod instance_failover_groups { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15860,7 +15860,7 @@ pub mod instance_failover_groups { } } pub mod failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(InstanceFailoverGroup), @@ -15926,7 +15926,7 @@ pub mod instance_failover_groups { } } pub mod force_failover_allow_data_loss { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(InstanceFailoverGroup), @@ -15952,7 +15952,7 @@ pub mod instance_failover_groups { } } pub mod tde_certificates { - use crate::models::*; + use super::{models, models::*}; pub async fn create( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15991,7 +15991,7 @@ pub mod tde_certificates { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -16017,7 +16017,7 @@ pub mod tde_certificates { } } pub mod managed_instance_tde_certificates { - use crate::models::*; + use super::{models, models::*}; pub async fn create( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16056,7 +16056,7 @@ pub mod managed_instance_tde_certificates { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -16082,7 +16082,7 @@ pub mod managed_instance_tde_certificates { } } pub mod managed_instance_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_instance( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16130,7 +16130,7 @@ pub mod managed_instance_keys { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16191,7 +16191,7 @@ pub mod managed_instance_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16264,7 +16264,7 @@ pub mod managed_instance_keys { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedInstanceKey), @@ -16328,7 +16328,7 @@ pub mod managed_instance_keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -16355,7 +16355,7 @@ pub mod managed_instance_keys { } } pub mod managed_instance_encryption_protectors { - use crate::models::*; + use super::{models, models::*}; pub async fn revalidate( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16398,7 +16398,7 @@ pub mod managed_instance_encryption_protectors { } } pub mod revalidate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -16465,7 +16465,7 @@ pub mod managed_instance_encryption_protectors { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16526,7 +16526,7 @@ pub mod managed_instance_encryption_protectors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16593,7 +16593,7 @@ pub mod managed_instance_encryption_protectors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedInstanceEncryptionProtector), @@ -16619,7 +16619,7 @@ pub mod managed_instance_encryption_protectors { } } pub mod recoverable_managed_databases { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_instance( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16663,7 +16663,7 @@ pub mod recoverable_managed_databases { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16724,7 +16724,7 @@ pub mod recoverable_managed_databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16745,7 +16745,7 @@ pub mod recoverable_managed_databases { } } pub mod backup_short_term_retention_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16790,7 +16790,7 @@ pub mod backup_short_term_retention_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16859,7 +16859,7 @@ pub mod backup_short_term_retention_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BackupShortTermRetentionPolicy), @@ -16930,7 +16930,7 @@ pub mod backup_short_term_retention_policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BackupShortTermRetentionPolicy), @@ -16999,7 +16999,7 @@ pub mod backup_short_term_retention_policies { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17020,7 +17020,7 @@ pub mod backup_short_term_retention_policies { } } pub mod managed_instance_vulnerability_assessments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17063,7 +17063,7 @@ pub mod managed_instance_vulnerability_assessments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17135,7 +17135,7 @@ pub mod managed_instance_vulnerability_assessments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedInstanceVulnerabilityAssessment), @@ -17196,7 +17196,7 @@ pub mod managed_instance_vulnerability_assessments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17258,7 +17258,7 @@ pub mod managed_instance_vulnerability_assessments { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17279,7 +17279,7 @@ pub mod managed_instance_vulnerability_assessments { } } pub mod server_vulnerability_assessments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17322,7 +17322,7 @@ pub mod server_vulnerability_assessments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17394,7 +17394,7 @@ pub mod server_vulnerability_assessments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerVulnerabilityAssessment), @@ -17455,7 +17455,7 @@ pub mod server_vulnerability_assessments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17517,7 +17517,7 @@ pub mod server_vulnerability_assessments { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17538,7 +17538,7 @@ pub mod server_vulnerability_assessments { } } pub mod managed_database_sensitivity_labels { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17578,7 +17578,7 @@ pub mod managed_database_sensitivity_labels { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17647,7 +17647,7 @@ pub mod managed_database_sensitivity_labels { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SensitivityLabel), @@ -17705,7 +17705,7 @@ pub mod managed_database_sensitivity_labels { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17764,7 +17764,7 @@ pub mod managed_database_sensitivity_labels { } } pub mod disable_recommendation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17823,7 +17823,7 @@ pub mod managed_database_sensitivity_labels { } } pub mod enable_recommendation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17893,7 +17893,7 @@ pub mod managed_database_sensitivity_labels { } } pub mod list_current_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17974,7 +17974,7 @@ pub mod managed_database_sensitivity_labels { } } pub mod list_recommended_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17995,7 +17995,7 @@ pub mod managed_database_sensitivity_labels { } } pub mod instance_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18036,7 +18036,7 @@ pub mod instance_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18107,7 +18107,7 @@ pub mod instance_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(InstancePool), @@ -18175,7 +18175,7 @@ pub mod instance_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(InstancePool), @@ -18236,7 +18236,7 @@ pub mod instance_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -18304,7 +18304,7 @@ pub mod instance_pools { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18359,7 +18359,7 @@ pub mod instance_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18380,7 +18380,7 @@ pub mod instance_pools { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_instance_pool( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18431,7 +18431,7 @@ pub mod usages { } } pub mod list_by_instance_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18452,7 +18452,7 @@ pub mod usages { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18496,7 +18496,7 @@ pub mod private_link_resources { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18557,7 +18557,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18578,7 +18578,7 @@ pub mod private_link_resources { } } pub mod servers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18622,7 +18622,7 @@ pub mod servers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18681,7 +18681,7 @@ pub mod servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18752,7 +18752,7 @@ pub mod servers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -18820,7 +18820,7 @@ pub mod servers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -18881,7 +18881,7 @@ pub mod servers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -18942,7 +18942,7 @@ pub mod servers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19004,7 +19004,7 @@ pub mod servers { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19069,7 +19069,7 @@ pub mod servers { } } pub mod import_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ImportExportOperationResult), @@ -19095,7 +19095,7 @@ pub mod servers { } } pub mod capabilities { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, location_name: &str, @@ -19141,7 +19141,7 @@ pub mod capabilities { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19162,7 +19162,7 @@ pub mod capabilities { } } pub mod long_term_retention_managed_instance_backups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location_name: &str, @@ -19199,7 +19199,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19250,7 +19250,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -19321,7 +19321,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19386,7 +19386,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19455,7 +19455,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19516,7 +19516,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod get_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19573,7 +19573,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod delete_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -19647,7 +19647,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod list_by_resource_group_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19715,7 +19715,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod list_by_resource_group_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19788,7 +19788,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod list_by_resource_group_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19809,7 +19809,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod managed_instance_long_term_retention_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19846,7 +19846,7 @@ pub mod managed_instance_long_term_retention_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19907,7 +19907,7 @@ pub mod managed_instance_long_term_retention_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedInstanceLongTermRetentionPolicy), @@ -19969,7 +19969,7 @@ pub mod managed_instance_long_term_retention_policies { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19990,7 +19990,7 @@ pub mod managed_instance_long_term_retention_policies { } } pub mod workload_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20035,7 +20035,7 @@ pub mod workload_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20110,7 +20110,7 @@ pub mod workload_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadGroup), @@ -20176,7 +20176,7 @@ pub mod workload_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -20246,7 +20246,7 @@ pub mod workload_groups { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20267,7 +20267,7 @@ pub mod workload_groups { } } pub mod workload_classifiers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20305,7 +20305,7 @@ pub mod workload_classifiers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20373,7 +20373,7 @@ pub mod workload_classifiers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadClassifier), @@ -20432,7 +20432,7 @@ pub mod workload_classifiers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -20506,7 +20506,7 @@ pub mod workload_classifiers { } } pub mod list_by_workload_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20527,7 +20527,7 @@ pub mod workload_classifiers { } } pub mod managed_instance_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn cancel( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20566,7 +20566,7 @@ pub mod managed_instance_operations { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20630,7 +20630,7 @@ pub mod managed_instance_operations { } } pub mod list_by_managed_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20691,7 +20691,7 @@ pub mod managed_instance_operations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20712,7 +20712,7 @@ pub mod managed_instance_operations { } } pub mod server_azure_ad_administrators { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -20755,7 +20755,7 @@ pub mod server_azure_ad_administrators { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20828,7 +20828,7 @@ pub mod server_azure_ad_administrators { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerAzureAdAdministrator), @@ -20892,7 +20892,7 @@ pub mod server_azure_ad_administrators { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -20960,7 +20960,7 @@ pub mod server_azure_ad_administrators { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20981,7 +20981,7 @@ pub mod server_azure_ad_administrators { } } pub mod sync_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list_sync_database_ids( operation_config: &crate::OperationConfig, location_name: &str, @@ -21025,7 +21025,7 @@ pub mod sync_groups { } } pub mod list_sync_database_ids { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21088,7 +21088,7 @@ pub mod sync_groups { } } pub mod refresh_hub_schema { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -21159,7 +21159,7 @@ pub mod sync_groups { } } pub mod list_hub_schemas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21235,7 +21235,7 @@ pub mod sync_groups { } } pub mod list_logs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21297,7 +21297,7 @@ pub mod sync_groups { } } pub mod cancel_sync { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21359,7 +21359,7 @@ pub mod sync_groups { } } pub mod trigger_sync { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21422,7 +21422,7 @@ pub mod sync_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21497,7 +21497,7 @@ pub mod sync_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SyncGroup), @@ -21569,7 +21569,7 @@ pub mod sync_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SyncGroup), @@ -21634,7 +21634,7 @@ pub mod sync_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -21704,7 +21704,7 @@ pub mod sync_groups { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21725,7 +21725,7 @@ pub mod sync_groups { } } pub mod sync_members { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -21772,7 +21772,7 @@ pub mod sync_members { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21849,7 +21849,7 @@ pub mod sync_members { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SyncMember), @@ -21923,7 +21923,7 @@ pub mod sync_members { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SyncMember), @@ -21990,7 +21990,7 @@ pub mod sync_members { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22062,7 +22062,7 @@ pub mod sync_members { } } pub mod list_by_sync_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22130,7 +22130,7 @@ pub mod sync_members { } } pub mod list_member_schemas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22188,7 +22188,7 @@ pub mod sync_members { } } pub mod refresh_member_schema { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22214,7 +22214,7 @@ pub mod sync_members { } } pub mod import_export { - use crate::models::*; + use super::{models, models::*}; pub async fn import( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -22260,7 +22260,7 @@ pub mod import_export { } } pub mod import { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ImportExportOperationResult), @@ -22286,7 +22286,7 @@ pub mod import_export { } } pub mod managed_databases { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_instance( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -22330,7 +22330,7 @@ pub mod managed_databases { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22391,7 +22391,7 @@ pub mod managed_databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22464,7 +22464,7 @@ pub mod managed_databases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedDatabase), @@ -22534,7 +22534,7 @@ pub mod managed_databases { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedDatabase), @@ -22597,7 +22597,7 @@ pub mod managed_databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22665,7 +22665,7 @@ pub mod managed_databases { } } pub mod complete_restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22734,7 +22734,7 @@ pub mod managed_databases { } } pub mod list_inaccessible_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22755,7 +22755,7 @@ pub mod managed_databases { } } pub mod server_azure_ad_only_authentications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -22798,7 +22798,7 @@ pub mod server_azure_ad_only_authentications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22871,7 +22871,7 @@ pub mod server_azure_ad_only_authentications { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerAzureAdOnlyAuthentication), @@ -22935,7 +22935,7 @@ pub mod server_azure_ad_only_authentications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23003,7 +23003,7 @@ pub mod server_azure_ad_only_authentications { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23024,7 +23024,7 @@ pub mod server_azure_ad_only_authentications { } } pub mod managed_instances { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_instance_pool( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -23070,7 +23070,7 @@ pub mod managed_instances { } } pub mod list_by_instance_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23132,7 +23132,7 @@ pub mod managed_instances { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23191,7 +23191,7 @@ pub mod managed_instances { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23262,7 +23262,7 @@ pub mod managed_instances { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedInstance), @@ -23330,7 +23330,7 @@ pub mod managed_instances { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedInstance), @@ -23391,7 +23391,7 @@ pub mod managed_instances { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23490,7 +23490,7 @@ pub mod managed_instances { } } pub mod list_by_managed_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23553,7 +23553,7 @@ pub mod managed_instances { } } pub mod failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23613,7 +23613,7 @@ pub mod managed_instances { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23634,7 +23634,7 @@ pub mod managed_instances { } } pub mod managed_instance_azure_ad_only_authentications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -23677,7 +23677,7 @@ pub mod managed_instance_azure_ad_only_authentications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23750,7 +23750,7 @@ pub mod managed_instance_azure_ad_only_authentications { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedInstanceAzureAdOnlyAuthentication), @@ -23814,7 +23814,7 @@ pub mod managed_instance_azure_ad_only_authentications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23882,7 +23882,7 @@ pub mod managed_instance_azure_ad_only_authentications { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23903,7 +23903,7 @@ pub mod managed_instance_azure_ad_only_authentications { } } pub mod server_trust_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -23946,7 +23946,7 @@ pub mod server_trust_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24019,7 +24019,7 @@ pub mod server_trust_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerTrustGroup), @@ -24083,7 +24083,7 @@ pub mod server_trust_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -24151,7 +24151,7 @@ pub mod server_trust_groups { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24213,7 +24213,7 @@ pub mod server_trust_groups { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24234,7 +24234,7 @@ pub mod server_trust_groups { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -24277,7 +24277,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24344,7 +24344,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -24407,7 +24407,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -24475,7 +24475,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/sql/src/package_composite_v4/operations.rs b/services/mgmt/sql/src/package_composite_v4/operations.rs index e747f232bd..1cb836d7dc 100644 --- a/services/mgmt/sql/src/package_composite_v4/operations.rs +++ b/services/mgmt/sql/src/package_composite_v4/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod recoverable_databases { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod recoverable_databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -121,7 +121,7 @@ pub mod recoverable_databases { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -142,7 +142,7 @@ pub mod recoverable_databases { } } pub mod restorable_dropped_databases { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -191,7 +191,7 @@ pub mod restorable_dropped_databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -259,7 +259,7 @@ pub mod restorable_dropped_databases { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -280,7 +280,7 @@ pub mod restorable_dropped_databases { } } pub mod server_connection_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -329,7 +329,7 @@ pub mod server_connection_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -407,7 +407,7 @@ pub mod server_connection_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerConnectionPolicy), @@ -433,7 +433,7 @@ pub mod server_connection_policies { } } pub mod database_threat_detection_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -478,7 +478,7 @@ pub mod database_threat_detection_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -552,7 +552,7 @@ pub mod database_threat_detection_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatabaseSecurityAlertPolicy), @@ -578,7 +578,7 @@ pub mod database_threat_detection_policies { } } pub mod data_masking_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -629,7 +629,7 @@ pub mod data_masking_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -703,7 +703,7 @@ pub mod data_masking_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -724,7 +724,7 @@ pub mod data_masking_policies { } } pub mod data_masking_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn create_or_update( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -788,7 +788,7 @@ pub mod data_masking_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataMaskingRule), @@ -865,7 +865,7 @@ pub mod data_masking_rules { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -886,7 +886,7 @@ pub mod data_masking_rules { } } pub mod firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -935,7 +935,7 @@ pub mod firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1013,7 +1013,7 @@ pub mod firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FirewallRule), @@ -1081,7 +1081,7 @@ pub mod firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1154,7 +1154,7 @@ pub mod firewall_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1175,7 +1175,7 @@ pub mod firewall_rules { } } pub mod geo_backup_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1226,7 +1226,7 @@ pub mod geo_backup_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1306,7 +1306,7 @@ pub mod geo_backup_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GeoBackupPolicy), @@ -1381,7 +1381,7 @@ pub mod geo_backup_policies { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1402,7 +1402,7 @@ pub mod geo_backup_policies { } } pub mod databases { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1456,7 +1456,7 @@ pub mod databases { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1528,7 +1528,7 @@ pub mod databases { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1592,7 +1592,7 @@ pub mod databases { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ImportExportOperationResult), @@ -1659,7 +1659,7 @@ pub mod databases { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1720,7 +1720,7 @@ pub mod databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1793,7 +1793,7 @@ pub mod databases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1863,7 +1863,7 @@ pub mod databases { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1926,7 +1926,7 @@ pub mod databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1996,7 +1996,7 @@ pub mod databases { } } pub mod list_by_elastic_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2059,7 +2059,7 @@ pub mod databases { } } pub mod pause { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -2127,7 +2127,7 @@ pub mod databases { } } pub mod resume { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -2197,7 +2197,7 @@ pub mod databases { } } pub mod failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2266,7 +2266,7 @@ pub mod databases { } } pub mod list_inaccessible_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2329,7 +2329,7 @@ pub mod databases { } } pub mod upgrade_data_warehouse { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2392,7 +2392,7 @@ pub mod databases { } } pub mod rename { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2413,7 +2413,7 @@ pub mod databases { } } pub mod elastic_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2467,7 +2467,7 @@ pub mod elastic_pools { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2539,7 +2539,7 @@ pub mod elastic_pools { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2605,7 +2605,7 @@ pub mod elastic_pools { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2666,7 +2666,7 @@ pub mod elastic_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2739,7 +2739,7 @@ pub mod elastic_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ElasticPool), @@ -2809,7 +2809,7 @@ pub mod elastic_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ElasticPool), @@ -2872,7 +2872,7 @@ pub mod elastic_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2939,7 +2939,7 @@ pub mod elastic_pools { } } pub mod failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2965,7 +2965,7 @@ pub mod elastic_pools { } } pub mod recommended_elastic_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3014,7 +3014,7 @@ pub mod recommended_elastic_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3082,7 +3082,7 @@ pub mod recommended_elastic_pools { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3152,7 +3152,7 @@ pub mod recommended_elastic_pools { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3173,7 +3173,7 @@ pub mod recommended_elastic_pools { } } pub mod replication_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3224,7 +3224,7 @@ pub mod replication_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3289,7 +3289,7 @@ pub mod replication_links { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3363,7 +3363,7 @@ pub mod replication_links { } } pub mod failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -3431,7 +3431,7 @@ pub mod replication_links { } } pub mod failover_allow_data_loss { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -3503,7 +3503,7 @@ pub mod replication_links { } } pub mod unlink { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -3578,7 +3578,7 @@ pub mod replication_links { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3599,7 +3599,7 @@ pub mod replication_links { } } pub mod server_communication_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3648,7 +3648,7 @@ pub mod server_communication_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3721,7 +3721,7 @@ pub mod server_communication_links { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ServerCommunicationLink), @@ -3788,7 +3788,7 @@ pub mod server_communication_links { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3856,7 +3856,7 @@ pub mod server_communication_links { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3877,7 +3877,7 @@ pub mod server_communication_links { } } pub mod service_objectives { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3926,7 +3926,7 @@ pub mod service_objectives { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3994,7 +3994,7 @@ pub mod service_objectives { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4015,7 +4015,7 @@ pub mod service_objectives { } } pub mod elastic_pool_activities { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_elastic_pool( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4067,7 +4067,7 @@ pub mod elastic_pool_activities { } } pub mod list_by_elastic_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4088,7 +4088,7 @@ pub mod elastic_pool_activities { } } pub mod elastic_pool_database_activities { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_elastic_pool( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4140,7 +4140,7 @@ pub mod elastic_pool_database_activities { } } pub mod list_by_elastic_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4161,7 +4161,7 @@ pub mod elastic_pool_database_activities { } } pub mod service_tier_advisors { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4212,7 +4212,7 @@ pub mod service_tier_advisors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4282,7 +4282,7 @@ pub mod service_tier_advisors { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4303,7 +4303,7 @@ pub mod service_tier_advisors { } } pub mod transparent_data_encryptions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4354,7 +4354,7 @@ pub mod transparent_data_encryptions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4434,7 +4434,7 @@ pub mod transparent_data_encryptions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TransparentDataEncryption), @@ -4460,7 +4460,7 @@ pub mod transparent_data_encryptions { } } pub mod transparent_data_encryption_activities { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_configuration( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4508,7 +4508,7 @@ pub mod transparent_data_encryption_activities { } } pub mod list_by_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4529,7 +4529,7 @@ pub mod transparent_data_encryption_activities { } } pub mod server_usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4579,7 +4579,7 @@ pub mod server_usages { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4600,7 +4600,7 @@ pub mod server_usages { } } pub mod database_usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4652,7 +4652,7 @@ pub mod database_usages { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4673,7 +4673,7 @@ pub mod database_usages { } } pub mod database_automatic_tuning { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4716,7 +4716,7 @@ pub mod database_automatic_tuning { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4779,7 +4779,7 @@ pub mod database_automatic_tuning { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4800,7 +4800,7 @@ pub mod database_automatic_tuning { } } pub mod encryption_protectors { - use crate::models::*; + use super::{models, models::*}; pub async fn revalidate( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4843,7 +4843,7 @@ pub mod encryption_protectors { } } pub mod revalidate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4910,7 +4910,7 @@ pub mod encryption_protectors { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4971,7 +4971,7 @@ pub mod encryption_protectors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5038,7 +5038,7 @@ pub mod encryption_protectors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EncryptionProtector), @@ -5064,7 +5064,7 @@ pub mod encryption_protectors { } } pub mod failover_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5107,7 +5107,7 @@ pub mod failover_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5180,7 +5180,7 @@ pub mod failover_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FailoverGroup), @@ -5250,7 +5250,7 @@ pub mod failover_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FailoverGroup), @@ -5313,7 +5313,7 @@ pub mod failover_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5381,7 +5381,7 @@ pub mod failover_groups { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5447,7 +5447,7 @@ pub mod failover_groups { } } pub mod failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FailoverGroup), @@ -5520,7 +5520,7 @@ pub mod failover_groups { } } pub mod force_failover_allow_data_loss { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FailoverGroup), @@ -5546,7 +5546,7 @@ pub mod failover_groups { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Sql/operations", operation_config.base_path(),); @@ -5576,7 +5576,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5597,7 +5597,7 @@ pub mod operations { } } pub mod server_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5641,7 +5641,7 @@ pub mod server_keys { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5702,7 +5702,7 @@ pub mod server_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5775,7 +5775,7 @@ pub mod server_keys { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerKey), @@ -5839,7 +5839,7 @@ pub mod server_keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5866,7 +5866,7 @@ pub mod server_keys { } } pub mod sync_agents { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5909,7 +5909,7 @@ pub mod sync_agents { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5982,7 +5982,7 @@ pub mod sync_agents { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SyncAgent), @@ -6046,7 +6046,7 @@ pub mod sync_agents { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6114,7 +6114,7 @@ pub mod sync_agents { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6179,7 +6179,7 @@ pub mod sync_agents { } } pub mod generate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6245,7 +6245,7 @@ pub mod sync_agents { } } pub mod list_linked_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6266,7 +6266,7 @@ pub mod sync_agents { } } pub mod subscription_usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, location_name: &str, @@ -6308,7 +6308,7 @@ pub mod subscription_usages { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6367,7 +6367,7 @@ pub mod subscription_usages { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6388,7 +6388,7 @@ pub mod subscription_usages { } } pub mod virtual_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6425,7 +6425,7 @@ pub mod virtual_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6487,7 +6487,7 @@ pub mod virtual_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6546,7 +6546,7 @@ pub mod virtual_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6608,7 +6608,7 @@ pub mod virtual_clusters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualCluster), @@ -6669,7 +6669,7 @@ pub mod virtual_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6696,7 +6696,7 @@ pub mod virtual_clusters { } } pub mod virtual_network_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6739,7 +6739,7 @@ pub mod virtual_network_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6812,7 +6812,7 @@ pub mod virtual_network_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkRule), @@ -6876,7 +6876,7 @@ pub mod virtual_network_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6944,7 +6944,7 @@ pub mod virtual_network_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6965,7 +6965,7 @@ pub mod virtual_network_rules { } } pub mod extended_database_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7010,7 +7010,7 @@ pub mod extended_database_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7084,7 +7084,7 @@ pub mod extended_database_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExtendedDatabaseBlobAuditingPolicy), @@ -7153,7 +7153,7 @@ pub mod extended_database_blob_auditing_policies { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7174,7 +7174,7 @@ pub mod extended_database_blob_auditing_policies { } } pub mod extended_server_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7217,7 +7217,7 @@ pub mod extended_server_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7284,7 +7284,7 @@ pub mod extended_server_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExtendedServerBlobAuditingPolicy), @@ -7351,7 +7351,7 @@ pub mod extended_server_blob_auditing_policies { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7372,7 +7372,7 @@ pub mod extended_server_blob_auditing_policies { } } pub mod server_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7415,7 +7415,7 @@ pub mod server_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7482,7 +7482,7 @@ pub mod server_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerBlobAuditingPolicy), @@ -7549,7 +7549,7 @@ pub mod server_blob_auditing_policies { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7570,7 +7570,7 @@ pub mod server_blob_auditing_policies { } } pub mod database_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7615,7 +7615,7 @@ pub mod database_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7689,7 +7689,7 @@ pub mod database_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatabaseBlobAuditingPolicy), @@ -7758,7 +7758,7 @@ pub mod database_blob_auditing_policies { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7779,7 +7779,7 @@ pub mod database_blob_auditing_policies { } } pub mod database_vulnerability_assessment_rule_baselines { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7818,7 +7818,7 @@ pub mod database_vulnerability_assessment_rule_baselines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7880,7 +7880,7 @@ pub mod database_vulnerability_assessment_rule_baselines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7932,7 +7932,7 @@ pub mod database_vulnerability_assessment_rule_baselines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7953,7 +7953,7 @@ pub mod database_vulnerability_assessment_rule_baselines { } } pub mod database_vulnerability_assessments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7998,7 +7998,7 @@ pub mod database_vulnerability_assessments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8072,7 +8072,7 @@ pub mod database_vulnerability_assessments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatabaseVulnerabilityAssessment), @@ -8135,7 +8135,7 @@ pub mod database_vulnerability_assessments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8199,7 +8199,7 @@ pub mod database_vulnerability_assessments { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8220,7 +8220,7 @@ pub mod database_vulnerability_assessments { } } pub mod job_agents { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8264,7 +8264,7 @@ pub mod job_agents { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8325,7 +8325,7 @@ pub mod job_agents { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8398,7 +8398,7 @@ pub mod job_agents { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobAgent), @@ -8468,7 +8468,7 @@ pub mod job_agents { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobAgent), @@ -8531,7 +8531,7 @@ pub mod job_agents { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8558,7 +8558,7 @@ pub mod job_agents { } } pub mod job_credentials { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_agent( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8604,7 +8604,7 @@ pub mod job_credentials { } } pub mod list_by_agent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8667,7 +8667,7 @@ pub mod job_credentials { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8741,7 +8741,7 @@ pub mod job_credentials { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobCredential), @@ -8805,7 +8805,7 @@ pub mod job_credentials { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8831,7 +8831,7 @@ pub mod job_credentials { } } pub mod job_executions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_agent( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8905,7 +8905,7 @@ pub mod job_executions { } } pub mod list_by_agent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8966,7 +8966,7 @@ pub mod job_executions { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9031,7 +9031,7 @@ pub mod job_executions { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobExecution), @@ -9130,7 +9130,7 @@ pub mod job_executions { } } pub mod list_by_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9195,7 +9195,7 @@ pub mod job_executions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9270,7 +9270,7 @@ pub mod job_executions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobExecution), @@ -9297,7 +9297,7 @@ pub mod job_executions { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_agent( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9343,7 +9343,7 @@ pub mod jobs { } } pub mod list_by_agent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9406,7 +9406,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9480,7 +9480,7 @@ pub mod jobs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Job), @@ -9544,7 +9544,7 @@ pub mod jobs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9570,7 +9570,7 @@ pub mod jobs { } } pub mod job_step_executions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_job_execution( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9650,7 +9650,7 @@ pub mod job_step_executions { } } pub mod list_by_job_execution { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9717,7 +9717,7 @@ pub mod job_step_executions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9738,7 +9738,7 @@ pub mod job_step_executions { } } pub mod job_steps { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_version( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9788,7 +9788,7 @@ pub mod job_steps { } } pub mod list_by_version { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9858,7 +9858,7 @@ pub mod job_steps { } } pub mod get_by_version { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9924,7 +9924,7 @@ pub mod job_steps { } } pub mod list_by_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9989,7 +9989,7 @@ pub mod job_steps { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10065,7 +10065,7 @@ pub mod job_steps { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobStep), @@ -10131,7 +10131,7 @@ pub mod job_steps { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10157,7 +10157,7 @@ pub mod job_steps { } } pub mod job_target_executions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_job_execution( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10237,7 +10237,7 @@ pub mod job_target_executions { } } pub mod list_by_job_execution { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10335,7 +10335,7 @@ pub mod job_target_executions { } } pub mod list_by_step { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10393,7 +10393,7 @@ pub mod job_target_executions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10414,7 +10414,7 @@ pub mod job_target_executions { } } pub mod job_target_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_agent( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10460,7 +10460,7 @@ pub mod job_target_groups { } } pub mod list_by_agent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10523,7 +10523,7 @@ pub mod job_target_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10597,7 +10597,7 @@ pub mod job_target_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobTargetGroup), @@ -10661,7 +10661,7 @@ pub mod job_target_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10687,7 +10687,7 @@ pub mod job_target_groups { } } pub mod job_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_job( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10735,7 +10735,7 @@ pub mod job_versions { } } pub mod list_by_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10800,7 +10800,7 @@ pub mod job_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10821,7 +10821,7 @@ pub mod job_versions { } } pub mod managed_backup_short_term_retention_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10858,7 +10858,7 @@ pub mod managed_backup_short_term_retention_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10919,7 +10919,7 @@ pub mod managed_backup_short_term_retention_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedBackupShortTermRetentionPolicy), @@ -10982,7 +10982,7 @@ pub mod managed_backup_short_term_retention_policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedBackupShortTermRetentionPolicy), @@ -11044,7 +11044,7 @@ pub mod managed_backup_short_term_retention_policies { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11065,7 +11065,7 @@ pub mod managed_backup_short_term_retention_policies { } } pub mod managed_restorable_dropped_database_backup_short_term_retention_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11102,7 +11102,7 @@ pub mod managed_restorable_dropped_database_backup_short_term_retention_policies } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11163,7 +11163,7 @@ pub mod managed_restorable_dropped_database_backup_short_term_retention_policies } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedBackupShortTermRetentionPolicy), @@ -11226,7 +11226,7 @@ pub mod managed_restorable_dropped_database_backup_short_term_retention_policies } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedBackupShortTermRetentionPolicy), @@ -11290,7 +11290,7 @@ pub mod managed_restorable_dropped_database_backup_short_term_retention_policies } } pub mod list_by_restorable_dropped_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11311,7 +11311,7 @@ pub mod managed_restorable_dropped_database_backup_short_term_retention_policies } } pub mod server_automatic_tuning { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11352,7 +11352,7 @@ pub mod server_automatic_tuning { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11413,7 +11413,7 @@ pub mod server_automatic_tuning { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11434,7 +11434,7 @@ pub mod server_automatic_tuning { } } pub mod server_dns_aliases { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11477,7 +11477,7 @@ pub mod server_dns_aliases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11548,7 +11548,7 @@ pub mod server_dns_aliases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerDnsAlias), @@ -11612,7 +11612,7 @@ pub mod server_dns_aliases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11680,7 +11680,7 @@ pub mod server_dns_aliases { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11742,7 +11742,7 @@ pub mod server_dns_aliases { } } pub mod acquire { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11768,7 +11768,7 @@ pub mod server_dns_aliases { } } pub mod server_security_alert_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11811,7 +11811,7 @@ pub mod server_security_alert_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11878,7 +11878,7 @@ pub mod server_security_alert_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerSecurityAlertPolicy), @@ -11945,7 +11945,7 @@ pub mod server_security_alert_policies { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11966,7 +11966,7 @@ pub mod server_security_alert_policies { } } pub mod restorable_dropped_managed_databases { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_instance( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12010,7 +12010,7 @@ pub mod restorable_dropped_managed_databases { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12071,7 +12071,7 @@ pub mod restorable_dropped_managed_databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12092,7 +12092,7 @@ pub mod restorable_dropped_managed_databases { } } pub mod restore_points { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12138,7 +12138,7 @@ pub mod restore_points { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12208,7 +12208,7 @@ pub mod restore_points { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RestorePoint), @@ -12277,7 +12277,7 @@ pub mod restore_points { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12335,7 +12335,7 @@ pub mod restore_points { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12356,7 +12356,7 @@ pub mod restore_points { } } pub mod managed_database_security_alert_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12401,7 +12401,7 @@ pub mod managed_database_security_alert_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12475,7 +12475,7 @@ pub mod managed_database_security_alert_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedDatabaseSecurityAlertPolicy), @@ -12544,7 +12544,7 @@ pub mod managed_database_security_alert_policies { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12565,7 +12565,7 @@ pub mod managed_database_security_alert_policies { } } pub mod managed_server_security_alert_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12608,7 +12608,7 @@ pub mod managed_server_security_alert_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12675,7 +12675,7 @@ pub mod managed_server_security_alert_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedServerSecurityAlertPolicy), @@ -12742,7 +12742,7 @@ pub mod managed_server_security_alert_policies { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12763,7 +12763,7 @@ pub mod managed_server_security_alert_policies { } } pub mod sensitivity_labels { - use crate::models::*; + use super::{models, models::*}; pub async fn list_current_by_database( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12815,7 +12815,7 @@ pub mod sensitivity_labels { } } pub mod list_current_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12896,7 +12896,7 @@ pub mod sensitivity_labels { } } pub mod list_recommended_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12955,7 +12955,7 @@ pub mod sensitivity_labels { } } pub mod enable_recommendation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13014,7 +13014,7 @@ pub mod sensitivity_labels { } } pub mod disable_recommendation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13072,7 +13072,7 @@ pub mod sensitivity_labels { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13141,7 +13141,7 @@ pub mod sensitivity_labels { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SensitivityLabel), @@ -13199,7 +13199,7 @@ pub mod sensitivity_labels { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13220,7 +13220,7 @@ pub mod sensitivity_labels { } } pub mod managed_instance_administrators { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_instance( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13264,7 +13264,7 @@ pub mod managed_instance_administrators { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13325,7 +13325,7 @@ pub mod managed_instance_administrators { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13398,7 +13398,7 @@ pub mod managed_instance_administrators { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedInstanceAdministrator), @@ -13461,7 +13461,7 @@ pub mod managed_instance_administrators { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13487,7 +13487,7 @@ pub mod managed_instance_administrators { } } pub mod database_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn cancel( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13528,7 +13528,7 @@ pub mod database_operations { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13592,7 +13592,7 @@ pub mod database_operations { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13613,7 +13613,7 @@ pub mod database_operations { } } pub mod elastic_pool_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn cancel( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13654,7 +13654,7 @@ pub mod elastic_pool_operations { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13718,7 +13718,7 @@ pub mod elastic_pool_operations { } } pub mod list_by_elastic_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13739,7 +13739,7 @@ pub mod elastic_pool_operations { } } pub mod database_vulnerability_assessment_scans { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13787,7 +13787,7 @@ pub mod database_vulnerability_assessment_scans { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13852,7 +13852,7 @@ pub mod database_vulnerability_assessment_scans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13908,7 +13908,7 @@ pub mod database_vulnerability_assessment_scans { } } pub mod initiate_scan { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13976,7 +13976,7 @@ pub mod database_vulnerability_assessment_scans { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatabaseVulnerabilityAssessmentScansExport), @@ -14002,7 +14002,7 @@ pub mod database_vulnerability_assessment_scans { } } pub mod managed_database_vulnerability_assessment_rule_baselines { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14041,7 +14041,7 @@ pub mod managed_database_vulnerability_assessment_rule_baselines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14103,7 +14103,7 @@ pub mod managed_database_vulnerability_assessment_rule_baselines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14155,7 +14155,7 @@ pub mod managed_database_vulnerability_assessment_rule_baselines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14176,7 +14176,7 @@ pub mod managed_database_vulnerability_assessment_rule_baselines { } } pub mod managed_database_vulnerability_assessment_scans { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14216,7 +14216,7 @@ pub mod managed_database_vulnerability_assessment_scans { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14272,7 +14272,7 @@ pub mod managed_database_vulnerability_assessment_scans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14328,7 +14328,7 @@ pub mod managed_database_vulnerability_assessment_scans { } } pub mod initiate_scan { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -14396,7 +14396,7 @@ pub mod managed_database_vulnerability_assessment_scans { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatabaseVulnerabilityAssessmentScansExport), @@ -14422,7 +14422,7 @@ pub mod managed_database_vulnerability_assessment_scans { } } pub mod managed_database_vulnerability_assessments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14467,7 +14467,7 @@ pub mod managed_database_vulnerability_assessments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14541,7 +14541,7 @@ pub mod managed_database_vulnerability_assessments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatabaseVulnerabilityAssessment), @@ -14604,7 +14604,7 @@ pub mod managed_database_vulnerability_assessments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14668,7 +14668,7 @@ pub mod managed_database_vulnerability_assessments { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14689,7 +14689,7 @@ pub mod managed_database_vulnerability_assessments { } } pub mod instance_failover_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14732,7 +14732,7 @@ pub mod instance_failover_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14805,7 +14805,7 @@ pub mod instance_failover_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(InstanceFailoverGroup), @@ -14869,7 +14869,7 @@ pub mod instance_failover_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -14937,7 +14937,7 @@ pub mod instance_failover_groups { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15003,7 +15003,7 @@ pub mod instance_failover_groups { } } pub mod failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(InstanceFailoverGroup), @@ -15069,7 +15069,7 @@ pub mod instance_failover_groups { } } pub mod force_failover_allow_data_loss { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(InstanceFailoverGroup), @@ -15095,7 +15095,7 @@ pub mod instance_failover_groups { } } pub mod tde_certificates { - use crate::models::*; + use super::{models, models::*}; pub async fn create( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15134,7 +15134,7 @@ pub mod tde_certificates { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -15160,7 +15160,7 @@ pub mod tde_certificates { } } pub mod managed_instance_tde_certificates { - use crate::models::*; + use super::{models, models::*}; pub async fn create( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15199,7 +15199,7 @@ pub mod managed_instance_tde_certificates { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -15225,7 +15225,7 @@ pub mod managed_instance_tde_certificates { } } pub mod managed_instance_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_instance( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15273,7 +15273,7 @@ pub mod managed_instance_keys { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15334,7 +15334,7 @@ pub mod managed_instance_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15407,7 +15407,7 @@ pub mod managed_instance_keys { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedInstanceKey), @@ -15471,7 +15471,7 @@ pub mod managed_instance_keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -15498,7 +15498,7 @@ pub mod managed_instance_keys { } } pub mod managed_instance_encryption_protectors { - use crate::models::*; + use super::{models, models::*}; pub async fn revalidate( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15541,7 +15541,7 @@ pub mod managed_instance_encryption_protectors { } } pub mod revalidate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -15608,7 +15608,7 @@ pub mod managed_instance_encryption_protectors { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15669,7 +15669,7 @@ pub mod managed_instance_encryption_protectors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15736,7 +15736,7 @@ pub mod managed_instance_encryption_protectors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedInstanceEncryptionProtector), @@ -15762,7 +15762,7 @@ pub mod managed_instance_encryption_protectors { } } pub mod recoverable_managed_databases { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_instance( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15806,7 +15806,7 @@ pub mod recoverable_managed_databases { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15867,7 +15867,7 @@ pub mod recoverable_managed_databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15888,7 +15888,7 @@ pub mod recoverable_managed_databases { } } pub mod backup_short_term_retention_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15933,7 +15933,7 @@ pub mod backup_short_term_retention_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16002,7 +16002,7 @@ pub mod backup_short_term_retention_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BackupShortTermRetentionPolicy), @@ -16073,7 +16073,7 @@ pub mod backup_short_term_retention_policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BackupShortTermRetentionPolicy), @@ -16142,7 +16142,7 @@ pub mod backup_short_term_retention_policies { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16163,7 +16163,7 @@ pub mod backup_short_term_retention_policies { } } pub mod managed_instance_vulnerability_assessments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16206,7 +16206,7 @@ pub mod managed_instance_vulnerability_assessments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16278,7 +16278,7 @@ pub mod managed_instance_vulnerability_assessments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedInstanceVulnerabilityAssessment), @@ -16339,7 +16339,7 @@ pub mod managed_instance_vulnerability_assessments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16401,7 +16401,7 @@ pub mod managed_instance_vulnerability_assessments { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16422,7 +16422,7 @@ pub mod managed_instance_vulnerability_assessments { } } pub mod server_vulnerability_assessments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16465,7 +16465,7 @@ pub mod server_vulnerability_assessments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16537,7 +16537,7 @@ pub mod server_vulnerability_assessments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerVulnerabilityAssessment), @@ -16598,7 +16598,7 @@ pub mod server_vulnerability_assessments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16660,7 +16660,7 @@ pub mod server_vulnerability_assessments { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16681,7 +16681,7 @@ pub mod server_vulnerability_assessments { } } pub mod managed_database_sensitivity_labels { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16721,7 +16721,7 @@ pub mod managed_database_sensitivity_labels { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16790,7 +16790,7 @@ pub mod managed_database_sensitivity_labels { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SensitivityLabel), @@ -16848,7 +16848,7 @@ pub mod managed_database_sensitivity_labels { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16907,7 +16907,7 @@ pub mod managed_database_sensitivity_labels { } } pub mod disable_recommendation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16966,7 +16966,7 @@ pub mod managed_database_sensitivity_labels { } } pub mod enable_recommendation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17036,7 +17036,7 @@ pub mod managed_database_sensitivity_labels { } } pub mod list_current_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17117,7 +17117,7 @@ pub mod managed_database_sensitivity_labels { } } pub mod list_recommended_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17138,7 +17138,7 @@ pub mod managed_database_sensitivity_labels { } } pub mod instance_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17179,7 +17179,7 @@ pub mod instance_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17250,7 +17250,7 @@ pub mod instance_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(InstancePool), @@ -17318,7 +17318,7 @@ pub mod instance_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(InstancePool), @@ -17379,7 +17379,7 @@ pub mod instance_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -17447,7 +17447,7 @@ pub mod instance_pools { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17502,7 +17502,7 @@ pub mod instance_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17523,7 +17523,7 @@ pub mod instance_pools { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_instance_pool( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17574,7 +17574,7 @@ pub mod usages { } } pub mod list_by_instance_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17595,7 +17595,7 @@ pub mod usages { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17639,7 +17639,7 @@ pub mod private_link_resources { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17700,7 +17700,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17721,7 +17721,7 @@ pub mod private_link_resources { } } pub mod servers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17765,7 +17765,7 @@ pub mod servers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17824,7 +17824,7 @@ pub mod servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17895,7 +17895,7 @@ pub mod servers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -17963,7 +17963,7 @@ pub mod servers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -18024,7 +18024,7 @@ pub mod servers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -18085,7 +18085,7 @@ pub mod servers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18147,7 +18147,7 @@ pub mod servers { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18212,7 +18212,7 @@ pub mod servers { } } pub mod import_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ImportExportOperationResult), @@ -18238,7 +18238,7 @@ pub mod servers { } } pub mod capabilities { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, location_name: &str, @@ -18284,7 +18284,7 @@ pub mod capabilities { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18305,7 +18305,7 @@ pub mod capabilities { } } pub mod long_term_retention_managed_instance_backups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location_name: &str, @@ -18342,7 +18342,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18393,7 +18393,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -18464,7 +18464,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18529,7 +18529,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18598,7 +18598,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18659,7 +18659,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod get_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18716,7 +18716,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod delete_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -18790,7 +18790,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod list_by_resource_group_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18858,7 +18858,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod list_by_resource_group_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18931,7 +18931,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod list_by_resource_group_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18952,7 +18952,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod managed_instance_long_term_retention_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18989,7 +18989,7 @@ pub mod managed_instance_long_term_retention_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19050,7 +19050,7 @@ pub mod managed_instance_long_term_retention_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedInstanceLongTermRetentionPolicy), @@ -19112,7 +19112,7 @@ pub mod managed_instance_long_term_retention_policies { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19133,7 +19133,7 @@ pub mod managed_instance_long_term_retention_policies { } } pub mod workload_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19178,7 +19178,7 @@ pub mod workload_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19253,7 +19253,7 @@ pub mod workload_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadGroup), @@ -19319,7 +19319,7 @@ pub mod workload_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -19389,7 +19389,7 @@ pub mod workload_groups { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19410,7 +19410,7 @@ pub mod workload_groups { } } pub mod workload_classifiers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19448,7 +19448,7 @@ pub mod workload_classifiers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19516,7 +19516,7 @@ pub mod workload_classifiers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadClassifier), @@ -19575,7 +19575,7 @@ pub mod workload_classifiers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -19649,7 +19649,7 @@ pub mod workload_classifiers { } } pub mod list_by_workload_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19670,7 +19670,7 @@ pub mod workload_classifiers { } } pub mod managed_instance_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn cancel( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19709,7 +19709,7 @@ pub mod managed_instance_operations { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19773,7 +19773,7 @@ pub mod managed_instance_operations { } } pub mod list_by_managed_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19834,7 +19834,7 @@ pub mod managed_instance_operations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19855,7 +19855,7 @@ pub mod managed_instance_operations { } } pub mod server_azure_ad_administrators { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -19898,7 +19898,7 @@ pub mod server_azure_ad_administrators { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19971,7 +19971,7 @@ pub mod server_azure_ad_administrators { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerAzureAdAdministrator), @@ -20035,7 +20035,7 @@ pub mod server_azure_ad_administrators { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -20103,7 +20103,7 @@ pub mod server_azure_ad_administrators { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20124,7 +20124,7 @@ pub mod server_azure_ad_administrators { } } pub mod sync_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list_sync_database_ids( operation_config: &crate::OperationConfig, location_name: &str, @@ -20168,7 +20168,7 @@ pub mod sync_groups { } } pub mod list_sync_database_ids { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20231,7 +20231,7 @@ pub mod sync_groups { } } pub mod refresh_hub_schema { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -20302,7 +20302,7 @@ pub mod sync_groups { } } pub mod list_hub_schemas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20378,7 +20378,7 @@ pub mod sync_groups { } } pub mod list_logs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20440,7 +20440,7 @@ pub mod sync_groups { } } pub mod cancel_sync { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20502,7 +20502,7 @@ pub mod sync_groups { } } pub mod trigger_sync { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20565,7 +20565,7 @@ pub mod sync_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20640,7 +20640,7 @@ pub mod sync_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SyncGroup), @@ -20712,7 +20712,7 @@ pub mod sync_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SyncGroup), @@ -20777,7 +20777,7 @@ pub mod sync_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -20847,7 +20847,7 @@ pub mod sync_groups { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20868,7 +20868,7 @@ pub mod sync_groups { } } pub mod sync_members { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20915,7 +20915,7 @@ pub mod sync_members { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20992,7 +20992,7 @@ pub mod sync_members { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SyncMember), @@ -21066,7 +21066,7 @@ pub mod sync_members { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SyncMember), @@ -21133,7 +21133,7 @@ pub mod sync_members { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -21205,7 +21205,7 @@ pub mod sync_members { } } pub mod list_by_sync_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21273,7 +21273,7 @@ pub mod sync_members { } } pub mod list_member_schemas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21331,7 +21331,7 @@ pub mod sync_members { } } pub mod refresh_member_schema { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -21357,7 +21357,7 @@ pub mod sync_members { } } pub mod import_export { - use crate::models::*; + use super::{models, models::*}; pub async fn import( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -21403,7 +21403,7 @@ pub mod import_export { } } pub mod import { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ImportExportOperationResult), @@ -21429,7 +21429,7 @@ pub mod import_export { } } pub mod managed_databases { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_instance( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -21473,7 +21473,7 @@ pub mod managed_databases { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21534,7 +21534,7 @@ pub mod managed_databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21607,7 +21607,7 @@ pub mod managed_databases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedDatabase), @@ -21677,7 +21677,7 @@ pub mod managed_databases { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedDatabase), @@ -21740,7 +21740,7 @@ pub mod managed_databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -21808,7 +21808,7 @@ pub mod managed_databases { } } pub mod complete_restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -21877,7 +21877,7 @@ pub mod managed_databases { } } pub mod list_inaccessible_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21898,7 +21898,7 @@ pub mod managed_databases { } } pub mod managed_database_restore_details { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -21943,7 +21943,7 @@ pub mod managed_database_restore_details { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21964,7 +21964,7 @@ pub mod managed_database_restore_details { } } pub mod server_azure_ad_only_authentications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -22007,7 +22007,7 @@ pub mod server_azure_ad_only_authentications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22080,7 +22080,7 @@ pub mod server_azure_ad_only_authentications { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerAzureAdOnlyAuthentication), @@ -22144,7 +22144,7 @@ pub mod server_azure_ad_only_authentications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22212,7 +22212,7 @@ pub mod server_azure_ad_only_authentications { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22233,7 +22233,7 @@ pub mod server_azure_ad_only_authentications { } } pub mod managed_instances { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_instance_pool( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -22279,7 +22279,7 @@ pub mod managed_instances { } } pub mod list_by_instance_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22341,7 +22341,7 @@ pub mod managed_instances { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22400,7 +22400,7 @@ pub mod managed_instances { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22471,7 +22471,7 @@ pub mod managed_instances { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedInstance), @@ -22539,7 +22539,7 @@ pub mod managed_instances { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedInstance), @@ -22600,7 +22600,7 @@ pub mod managed_instances { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22699,7 +22699,7 @@ pub mod managed_instances { } } pub mod list_by_managed_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22762,7 +22762,7 @@ pub mod managed_instances { } } pub mod failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22822,7 +22822,7 @@ pub mod managed_instances { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22843,7 +22843,7 @@ pub mod managed_instances { } } pub mod managed_instance_azure_ad_only_authentications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -22886,7 +22886,7 @@ pub mod managed_instance_azure_ad_only_authentications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22959,7 +22959,7 @@ pub mod managed_instance_azure_ad_only_authentications { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedInstanceAzureAdOnlyAuthentication), @@ -23023,7 +23023,7 @@ pub mod managed_instance_azure_ad_only_authentications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23091,7 +23091,7 @@ pub mod managed_instance_azure_ad_only_authentications { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23112,7 +23112,7 @@ pub mod managed_instance_azure_ad_only_authentications { } } pub mod server_trust_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -23155,7 +23155,7 @@ pub mod server_trust_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23228,7 +23228,7 @@ pub mod server_trust_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerTrustGroup), @@ -23292,7 +23292,7 @@ pub mod server_trust_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23360,7 +23360,7 @@ pub mod server_trust_groups { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23422,7 +23422,7 @@ pub mod server_trust_groups { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23443,7 +23443,7 @@ pub mod server_trust_groups { } } pub mod server_dev_ops_audit_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -23486,7 +23486,7 @@ pub mod server_dev_ops_audit_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23553,7 +23553,7 @@ pub mod server_dev_ops_audit_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerDevOpsAuditingSettings), @@ -23620,7 +23620,7 @@ pub mod server_dev_ops_audit_settings { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23641,7 +23641,7 @@ pub mod server_dev_ops_audit_settings { } } pub mod long_term_retention_backups { - use crate::models::*; + use super::{models, models::*}; pub async fn copy( operation_config: &crate::OperationConfig, location_name: &str, @@ -23681,7 +23681,7 @@ pub mod long_term_retention_backups { } } pub mod copy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LongTermRetentionBackupOperationResult), @@ -23744,7 +23744,7 @@ pub mod long_term_retention_backups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LongTermRetentionBackupOperationResult), @@ -23804,7 +23804,7 @@ pub mod long_term_retention_backups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23855,7 +23855,7 @@ pub mod long_term_retention_backups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23926,7 +23926,7 @@ pub mod long_term_retention_backups { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23995,7 +23995,7 @@ pub mod long_term_retention_backups { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24066,7 +24066,7 @@ pub mod long_term_retention_backups { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24130,7 +24130,7 @@ pub mod long_term_retention_backups { } } pub mod copy_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LongTermRetentionBackupOperationResult), @@ -24199,7 +24199,7 @@ pub mod long_term_retention_backups { } } pub mod update_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LongTermRetentionBackupOperationResult), @@ -24265,7 +24265,7 @@ pub mod long_term_retention_backups { } } pub mod get_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24322,7 +24322,7 @@ pub mod long_term_retention_backups { } } pub mod delete_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -24396,7 +24396,7 @@ pub mod long_term_retention_backups { } } pub mod list_by_resource_group_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24469,7 +24469,7 @@ pub mod long_term_retention_backups { } } pub mod list_by_resource_group_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24537,7 +24537,7 @@ pub mod long_term_retention_backups { } } pub mod list_by_resource_group_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24558,7 +24558,7 @@ pub mod long_term_retention_backups { } } pub mod long_term_retention_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -24603,7 +24603,7 @@ pub mod long_term_retention_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24672,7 +24672,7 @@ pub mod long_term_retention_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LongTermRetentionPolicy), @@ -24741,7 +24741,7 @@ pub mod long_term_retention_policies { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24762,7 +24762,7 @@ pub mod long_term_retention_policies { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -24805,7 +24805,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24872,7 +24872,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -24935,7 +24935,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -25003,7 +25003,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/sql/src/package_composite_v5/operations.rs b/services/mgmt/sql/src/package_composite_v5/operations.rs index ed4c72569e..86022e5558 100644 --- a/services/mgmt/sql/src/package_composite_v5/operations.rs +++ b/services/mgmt/sql/src/package_composite_v5/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod recoverable_databases { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod recoverable_databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -121,7 +121,7 @@ pub mod recoverable_databases { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -142,7 +142,7 @@ pub mod recoverable_databases { } } pub mod server_connection_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -191,7 +191,7 @@ pub mod server_connection_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -269,7 +269,7 @@ pub mod server_connection_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerConnectionPolicy), @@ -295,7 +295,7 @@ pub mod server_connection_policies { } } pub mod data_masking_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -346,7 +346,7 @@ pub mod data_masking_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -420,7 +420,7 @@ pub mod data_masking_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -441,7 +441,7 @@ pub mod data_masking_policies { } } pub mod data_masking_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn create_or_update( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -505,7 +505,7 @@ pub mod data_masking_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataMaskingRule), @@ -582,7 +582,7 @@ pub mod data_masking_rules { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -603,7 +603,7 @@ pub mod data_masking_rules { } } pub mod geo_backup_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -654,7 +654,7 @@ pub mod geo_backup_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -734,7 +734,7 @@ pub mod geo_backup_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GeoBackupPolicy), @@ -809,7 +809,7 @@ pub mod geo_backup_policies { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -830,7 +830,7 @@ pub mod geo_backup_policies { } } pub mod databases { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -884,7 +884,7 @@ pub mod databases { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -956,7 +956,7 @@ pub mod databases { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1022,7 +1022,7 @@ pub mod databases { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1083,7 +1083,7 @@ pub mod databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1156,7 +1156,7 @@ pub mod databases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1226,7 +1226,7 @@ pub mod databases { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1289,7 +1289,7 @@ pub mod databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1359,7 +1359,7 @@ pub mod databases { } } pub mod list_by_elastic_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1424,7 +1424,7 @@ pub mod databases { } } pub mod failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1493,7 +1493,7 @@ pub mod databases { } } pub mod list_inaccessible_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1556,7 +1556,7 @@ pub mod databases { } } pub mod pause { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1624,7 +1624,7 @@ pub mod databases { } } pub mod resume { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -1692,7 +1692,7 @@ pub mod databases { } } pub mod upgrade_data_warehouse { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1755,7 +1755,7 @@ pub mod databases { } } pub mod rename { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1819,7 +1819,7 @@ pub mod databases { } } pub mod import { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ImportExportOperationResult), @@ -1888,7 +1888,7 @@ pub mod databases { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ImportExportOperationResult), @@ -1914,7 +1914,7 @@ pub mod databases { } } pub mod elastic_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list_metrics( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1968,7 +1968,7 @@ pub mod elastic_pools { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2040,7 +2040,7 @@ pub mod elastic_pools { } } pub mod list_metric_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2106,7 +2106,7 @@ pub mod elastic_pools { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2167,7 +2167,7 @@ pub mod elastic_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2240,7 +2240,7 @@ pub mod elastic_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ElasticPool), @@ -2310,7 +2310,7 @@ pub mod elastic_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ElasticPool), @@ -2373,7 +2373,7 @@ pub mod elastic_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2440,7 +2440,7 @@ pub mod elastic_pools { } } pub mod failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2466,7 +2466,7 @@ pub mod elastic_pools { } } pub mod replication_links { - use crate::models::*; + use super::{models, models::*}; pub async fn delete( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2513,7 +2513,7 @@ pub mod replication_links { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2587,7 +2587,7 @@ pub mod replication_links { } } pub mod failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2655,7 +2655,7 @@ pub mod replication_links { } } pub mod failover_allow_data_loss { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2727,7 +2727,7 @@ pub mod replication_links { } } pub mod unlink { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { NoContent204, @@ -2796,7 +2796,7 @@ pub mod replication_links { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2859,7 +2859,7 @@ pub mod replication_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2921,7 +2921,7 @@ pub mod replication_links { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2942,7 +2942,7 @@ pub mod replication_links { } } pub mod server_communication_links { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2991,7 +2991,7 @@ pub mod server_communication_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3064,7 +3064,7 @@ pub mod server_communication_links { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(ServerCommunicationLink), @@ -3131,7 +3131,7 @@ pub mod server_communication_links { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3199,7 +3199,7 @@ pub mod server_communication_links { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3220,7 +3220,7 @@ pub mod server_communication_links { } } pub mod service_objectives { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3269,7 +3269,7 @@ pub mod service_objectives { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3337,7 +3337,7 @@ pub mod service_objectives { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3358,7 +3358,7 @@ pub mod service_objectives { } } pub mod elastic_pool_activities { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_elastic_pool( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3410,7 +3410,7 @@ pub mod elastic_pool_activities { } } pub mod list_by_elastic_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3431,7 +3431,7 @@ pub mod elastic_pool_activities { } } pub mod elastic_pool_database_activities { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_elastic_pool( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3483,7 +3483,7 @@ pub mod elastic_pool_database_activities { } } pub mod list_by_elastic_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3504,7 +3504,7 @@ pub mod elastic_pool_database_activities { } } pub mod server_usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3554,7 +3554,7 @@ pub mod server_usages { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3575,7 +3575,7 @@ pub mod server_usages { } } pub mod extended_database_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3620,7 +3620,7 @@ pub mod extended_database_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3694,7 +3694,7 @@ pub mod extended_database_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExtendedDatabaseBlobAuditingPolicy), @@ -3763,7 +3763,7 @@ pub mod extended_database_blob_auditing_policies { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3784,7 +3784,7 @@ pub mod extended_database_blob_auditing_policies { } } pub mod extended_server_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3827,7 +3827,7 @@ pub mod extended_server_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3894,7 +3894,7 @@ pub mod extended_server_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExtendedServerBlobAuditingPolicy), @@ -3961,7 +3961,7 @@ pub mod extended_server_blob_auditing_policies { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3982,7 +3982,7 @@ pub mod extended_server_blob_auditing_policies { } } pub mod server_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4025,7 +4025,7 @@ pub mod server_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4092,7 +4092,7 @@ pub mod server_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerBlobAuditingPolicy), @@ -4159,7 +4159,7 @@ pub mod server_blob_auditing_policies { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4180,7 +4180,7 @@ pub mod server_blob_auditing_policies { } } pub mod database_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4225,7 +4225,7 @@ pub mod database_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4299,7 +4299,7 @@ pub mod database_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatabaseBlobAuditingPolicy), @@ -4368,7 +4368,7 @@ pub mod database_blob_auditing_policies { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4389,7 +4389,7 @@ pub mod database_blob_auditing_policies { } } pub mod database_advisors { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4439,7 +4439,7 @@ pub mod database_advisors { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4502,7 +4502,7 @@ pub mod database_advisors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4567,7 +4567,7 @@ pub mod database_advisors { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4588,7 +4588,7 @@ pub mod database_advisors { } } pub mod database_automatic_tuning { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4631,7 +4631,7 @@ pub mod database_automatic_tuning { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4694,7 +4694,7 @@ pub mod database_automatic_tuning { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4715,7 +4715,7 @@ pub mod database_automatic_tuning { } } pub mod database_columns { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4781,7 +4781,7 @@ pub mod database_columns { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4853,7 +4853,7 @@ pub mod database_columns { } } pub mod list_by_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4920,7 +4920,7 @@ pub mod database_columns { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4941,7 +4941,7 @@ pub mod database_columns { } } pub mod database_recommended_actions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database_advisor( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4991,7 +4991,7 @@ pub mod database_recommended_actions { } } pub mod list_by_database_advisor { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5056,7 +5056,7 @@ pub mod database_recommended_actions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5123,7 +5123,7 @@ pub mod database_recommended_actions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5144,7 +5144,7 @@ pub mod database_recommended_actions { } } pub mod database_schemas { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5194,7 +5194,7 @@ pub mod database_schemas { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5257,7 +5257,7 @@ pub mod database_schemas { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5278,7 +5278,7 @@ pub mod database_schemas { } } pub mod database_security_alert_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5323,7 +5323,7 @@ pub mod database_security_alert_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5397,7 +5397,7 @@ pub mod database_security_alert_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatabaseSecurityAlertPolicy), @@ -5466,7 +5466,7 @@ pub mod database_security_alert_policies { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5487,7 +5487,7 @@ pub mod database_security_alert_policies { } } pub mod database_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_schema( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5539,7 +5539,7 @@ pub mod database_tables { } } pub mod list_by_schema { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5604,7 +5604,7 @@ pub mod database_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5625,7 +5625,7 @@ pub mod database_tables { } } pub mod database_vulnerability_assessment_rule_baselines { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5664,7 +5664,7 @@ pub mod database_vulnerability_assessment_rule_baselines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5726,7 +5726,7 @@ pub mod database_vulnerability_assessment_rule_baselines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5778,7 +5778,7 @@ pub mod database_vulnerability_assessment_rule_baselines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5799,7 +5799,7 @@ pub mod database_vulnerability_assessment_rule_baselines { } } pub mod database_vulnerability_assessments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5844,7 +5844,7 @@ pub mod database_vulnerability_assessments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5918,7 +5918,7 @@ pub mod database_vulnerability_assessments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatabaseVulnerabilityAssessment), @@ -5981,7 +5981,7 @@ pub mod database_vulnerability_assessments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6045,7 +6045,7 @@ pub mod database_vulnerability_assessments { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6066,7 +6066,7 @@ pub mod database_vulnerability_assessments { } } pub mod database_vulnerability_assessment_scans { - use crate::models::*; + use super::{models, models::*}; pub async fn initiate_scan( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6104,7 +6104,7 @@ pub mod database_vulnerability_assessment_scans { } } pub mod initiate_scan { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6175,7 +6175,7 @@ pub mod database_vulnerability_assessment_scans { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6240,7 +6240,7 @@ pub mod database_vulnerability_assessment_scans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6303,7 +6303,7 @@ pub mod database_vulnerability_assessment_scans { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatabaseVulnerabilityAssessmentScansExport), @@ -6329,7 +6329,7 @@ pub mod database_vulnerability_assessment_scans { } } pub mod data_warehouse_user_activities { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6374,7 +6374,7 @@ pub mod data_warehouse_user_activities { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6438,7 +6438,7 @@ pub mod data_warehouse_user_activities { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6459,7 +6459,7 @@ pub mod data_warehouse_user_activities { } } pub mod deleted_servers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6496,7 +6496,7 @@ pub mod deleted_servers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6555,7 +6555,7 @@ pub mod deleted_servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6615,7 +6615,7 @@ pub mod deleted_servers { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6679,7 +6679,7 @@ pub mod deleted_servers { } } pub mod recover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeletedServer), @@ -6705,7 +6705,7 @@ pub mod deleted_servers { } } pub mod elastic_pool_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn cancel( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6746,7 +6746,7 @@ pub mod elastic_pool_operations { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6810,7 +6810,7 @@ pub mod elastic_pool_operations { } } pub mod list_by_elastic_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6831,7 +6831,7 @@ pub mod elastic_pool_operations { } } pub mod encryption_protectors { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -6875,7 +6875,7 @@ pub mod encryption_protectors { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6936,7 +6936,7 @@ pub mod encryption_protectors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7003,7 +7003,7 @@ pub mod encryption_protectors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EncryptionProtector), @@ -7069,7 +7069,7 @@ pub mod encryption_protectors { } } pub mod revalidate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7095,7 +7095,7 @@ pub mod encryption_protectors { } } pub mod failover_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7138,7 +7138,7 @@ pub mod failover_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7211,7 +7211,7 @@ pub mod failover_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FailoverGroup), @@ -7281,7 +7281,7 @@ pub mod failover_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FailoverGroup), @@ -7344,7 +7344,7 @@ pub mod failover_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7412,7 +7412,7 @@ pub mod failover_groups { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7478,7 +7478,7 @@ pub mod failover_groups { } } pub mod failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FailoverGroup), @@ -7551,7 +7551,7 @@ pub mod failover_groups { } } pub mod force_failover_allow_data_loss { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FailoverGroup), @@ -7577,7 +7577,7 @@ pub mod failover_groups { } } pub mod firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7620,7 +7620,7 @@ pub mod firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7692,7 +7692,7 @@ pub mod firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FirewallRule), @@ -7754,7 +7754,7 @@ pub mod firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7821,7 +7821,7 @@ pub mod firewall_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7886,7 +7886,7 @@ pub mod firewall_rules { } } pub mod replace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FirewallRule), @@ -7912,7 +7912,7 @@ pub mod firewall_rules { } } pub mod instance_failover_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -7955,7 +7955,7 @@ pub mod instance_failover_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8028,7 +8028,7 @@ pub mod instance_failover_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(InstanceFailoverGroup), @@ -8092,7 +8092,7 @@ pub mod instance_failover_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8160,7 +8160,7 @@ pub mod instance_failover_groups { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8226,7 +8226,7 @@ pub mod instance_failover_groups { } } pub mod failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(InstanceFailoverGroup), @@ -8292,7 +8292,7 @@ pub mod instance_failover_groups { } } pub mod force_failover_allow_data_loss { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(InstanceFailoverGroup), @@ -8318,7 +8318,7 @@ pub mod instance_failover_groups { } } pub mod instance_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8359,7 +8359,7 @@ pub mod instance_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8430,7 +8430,7 @@ pub mod instance_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(InstancePool), @@ -8498,7 +8498,7 @@ pub mod instance_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(InstancePool), @@ -8559,7 +8559,7 @@ pub mod instance_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8627,7 +8627,7 @@ pub mod instance_pools { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8682,7 +8682,7 @@ pub mod instance_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8703,7 +8703,7 @@ pub mod instance_pools { } } pub mod job_agents { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -8747,7 +8747,7 @@ pub mod job_agents { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8808,7 +8808,7 @@ pub mod job_agents { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8881,7 +8881,7 @@ pub mod job_agents { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobAgent), @@ -8951,7 +8951,7 @@ pub mod job_agents { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobAgent), @@ -9014,7 +9014,7 @@ pub mod job_agents { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9041,7 +9041,7 @@ pub mod job_agents { } } pub mod job_credentials { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_agent( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9087,7 +9087,7 @@ pub mod job_credentials { } } pub mod list_by_agent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9150,7 +9150,7 @@ pub mod job_credentials { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9224,7 +9224,7 @@ pub mod job_credentials { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobCredential), @@ -9288,7 +9288,7 @@ pub mod job_credentials { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9314,7 +9314,7 @@ pub mod job_credentials { } } pub mod job_executions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_agent( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9388,7 +9388,7 @@ pub mod job_executions { } } pub mod list_by_agent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9449,7 +9449,7 @@ pub mod job_executions { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9514,7 +9514,7 @@ pub mod job_executions { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobExecution), @@ -9613,7 +9613,7 @@ pub mod job_executions { } } pub mod list_by_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9678,7 +9678,7 @@ pub mod job_executions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9753,7 +9753,7 @@ pub mod job_executions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobExecution), @@ -9780,7 +9780,7 @@ pub mod job_executions { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_agent( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -9826,7 +9826,7 @@ pub mod jobs { } } pub mod list_by_agent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9889,7 +9889,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9963,7 +9963,7 @@ pub mod jobs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Job), @@ -10027,7 +10027,7 @@ pub mod jobs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10053,7 +10053,7 @@ pub mod jobs { } } pub mod job_step_executions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_job_execution( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10133,7 +10133,7 @@ pub mod job_step_executions { } } pub mod list_by_job_execution { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10200,7 +10200,7 @@ pub mod job_step_executions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10221,7 +10221,7 @@ pub mod job_step_executions { } } pub mod job_steps { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_version( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10271,7 +10271,7 @@ pub mod job_steps { } } pub mod list_by_version { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10341,7 +10341,7 @@ pub mod job_steps { } } pub mod get_by_version { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10407,7 +10407,7 @@ pub mod job_steps { } } pub mod list_by_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10472,7 +10472,7 @@ pub mod job_steps { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10548,7 +10548,7 @@ pub mod job_steps { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobStep), @@ -10614,7 +10614,7 @@ pub mod job_steps { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10640,7 +10640,7 @@ pub mod job_steps { } } pub mod job_target_executions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_job_execution( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10720,7 +10720,7 @@ pub mod job_target_executions { } } pub mod list_by_job_execution { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10818,7 +10818,7 @@ pub mod job_target_executions { } } pub mod list_by_step { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10876,7 +10876,7 @@ pub mod job_target_executions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10897,7 +10897,7 @@ pub mod job_target_executions { } } pub mod job_target_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_agent( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -10943,7 +10943,7 @@ pub mod job_target_groups { } } pub mod list_by_agent { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11006,7 +11006,7 @@ pub mod job_target_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11080,7 +11080,7 @@ pub mod job_target_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobTargetGroup), @@ -11144,7 +11144,7 @@ pub mod job_target_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11170,7 +11170,7 @@ pub mod job_target_groups { } } pub mod job_versions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_job( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -11218,7 +11218,7 @@ pub mod job_versions { } } pub mod list_by_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11283,7 +11283,7 @@ pub mod job_versions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11304,7 +11304,7 @@ pub mod job_versions { } } pub mod capabilities { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, location_name: &str, @@ -11350,7 +11350,7 @@ pub mod capabilities { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11371,7 +11371,7 @@ pub mod capabilities { } } pub mod long_term_retention_backups { - use crate::models::*; + use super::{models, models::*}; pub async fn copy( operation_config: &crate::OperationConfig, location_name: &str, @@ -11411,7 +11411,7 @@ pub mod long_term_retention_backups { } } pub mod copy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LongTermRetentionBackupOperationResult), @@ -11474,7 +11474,7 @@ pub mod long_term_retention_backups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LongTermRetentionBackupOperationResult), @@ -11534,7 +11534,7 @@ pub mod long_term_retention_backups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11585,7 +11585,7 @@ pub mod long_term_retention_backups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11656,7 +11656,7 @@ pub mod long_term_retention_backups { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11725,7 +11725,7 @@ pub mod long_term_retention_backups { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11796,7 +11796,7 @@ pub mod long_term_retention_backups { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11860,7 +11860,7 @@ pub mod long_term_retention_backups { } } pub mod copy_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LongTermRetentionBackupOperationResult), @@ -11929,7 +11929,7 @@ pub mod long_term_retention_backups { } } pub mod update_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LongTermRetentionBackupOperationResult), @@ -11995,7 +11995,7 @@ pub mod long_term_retention_backups { } } pub mod get_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12052,7 +12052,7 @@ pub mod long_term_retention_backups { } } pub mod delete_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12126,7 +12126,7 @@ pub mod long_term_retention_backups { } } pub mod list_by_resource_group_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12199,7 +12199,7 @@ pub mod long_term_retention_backups { } } pub mod list_by_resource_group_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12267,7 +12267,7 @@ pub mod long_term_retention_backups { } } pub mod list_by_resource_group_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12288,7 +12288,7 @@ pub mod long_term_retention_backups { } } pub mod long_term_retention_managed_instance_backups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, location_name: &str, @@ -12325,7 +12325,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12376,7 +12376,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12447,7 +12447,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12512,7 +12512,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12581,7 +12581,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12642,7 +12642,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod get_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12699,7 +12699,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod delete_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12773,7 +12773,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod list_by_resource_group_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12841,7 +12841,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod list_by_resource_group_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12914,7 +12914,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod list_by_resource_group_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12935,7 +12935,7 @@ pub mod long_term_retention_managed_instance_backups { } } pub mod long_term_retention_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -12980,7 +12980,7 @@ pub mod long_term_retention_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13049,7 +13049,7 @@ pub mod long_term_retention_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LongTermRetentionPolicy), @@ -13118,7 +13118,7 @@ pub mod long_term_retention_policies { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13139,7 +13139,7 @@ pub mod long_term_retention_policies { } } pub mod maintenance_window_options { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13185,7 +13185,7 @@ pub mod maintenance_window_options { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13206,7 +13206,7 @@ pub mod maintenance_window_options { } } pub mod maintenance_windows { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13251,7 +13251,7 @@ pub mod maintenance_windows { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13314,7 +13314,7 @@ pub mod maintenance_windows { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13335,7 +13335,7 @@ pub mod maintenance_windows { } } pub mod managed_backup_short_term_retention_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13372,7 +13372,7 @@ pub mod managed_backup_short_term_retention_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13433,7 +13433,7 @@ pub mod managed_backup_short_term_retention_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedBackupShortTermRetentionPolicy), @@ -13496,7 +13496,7 @@ pub mod managed_backup_short_term_retention_policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedBackupShortTermRetentionPolicy), @@ -13558,7 +13558,7 @@ pub mod managed_backup_short_term_retention_policies { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13579,7 +13579,7 @@ pub mod managed_backup_short_term_retention_policies { } } pub mod managed_database_columns { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13645,7 +13645,7 @@ pub mod managed_database_columns { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13717,7 +13717,7 @@ pub mod managed_database_columns { } } pub mod list_by_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13774,7 +13774,7 @@ pub mod managed_database_columns { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13795,7 +13795,7 @@ pub mod managed_database_columns { } } pub mod managed_database_queries { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13840,7 +13840,7 @@ pub mod managed_database_queries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13918,7 +13918,7 @@ pub mod managed_database_queries { } } pub mod list_by_query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13939,7 +13939,7 @@ pub mod managed_database_queries { } } pub mod managed_database_restore_details { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -13984,7 +13984,7 @@ pub mod managed_database_restore_details { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14005,7 +14005,7 @@ pub mod managed_database_restore_details { } } pub mod managed_databases { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_instance( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14049,7 +14049,7 @@ pub mod managed_databases { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14110,7 +14110,7 @@ pub mod managed_databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14183,7 +14183,7 @@ pub mod managed_databases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedDatabase), @@ -14253,7 +14253,7 @@ pub mod managed_databases { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedDatabase), @@ -14316,7 +14316,7 @@ pub mod managed_databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -14384,7 +14384,7 @@ pub mod managed_databases { } } pub mod complete_restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -14453,7 +14453,7 @@ pub mod managed_databases { } } pub mod list_inaccessible_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14474,7 +14474,7 @@ pub mod managed_databases { } } pub mod managed_database_schemas { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14524,7 +14524,7 @@ pub mod managed_database_schemas { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14587,7 +14587,7 @@ pub mod managed_database_schemas { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14608,7 +14608,7 @@ pub mod managed_database_schemas { } } pub mod managed_database_security_alert_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14653,7 +14653,7 @@ pub mod managed_database_security_alert_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14727,7 +14727,7 @@ pub mod managed_database_security_alert_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedDatabaseSecurityAlertPolicy), @@ -14796,7 +14796,7 @@ pub mod managed_database_security_alert_policies { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14817,7 +14817,7 @@ pub mod managed_database_security_alert_policies { } } pub mod managed_database_security_events { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14879,7 +14879,7 @@ pub mod managed_database_security_events { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14900,7 +14900,7 @@ pub mod managed_database_security_events { } } pub mod managed_database_sensitivity_labels { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -14940,7 +14940,7 @@ pub mod managed_database_sensitivity_labels { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15009,7 +15009,7 @@ pub mod managed_database_sensitivity_labels { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SensitivityLabel), @@ -15067,7 +15067,7 @@ pub mod managed_database_sensitivity_labels { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15126,7 +15126,7 @@ pub mod managed_database_sensitivity_labels { } } pub mod disable_recommendation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15185,7 +15185,7 @@ pub mod managed_database_sensitivity_labels { } } pub mod enable_recommendation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15263,7 +15263,7 @@ pub mod managed_database_sensitivity_labels { } } pub mod list_current_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15321,7 +15321,7 @@ pub mod managed_database_sensitivity_labels { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15402,7 +15402,7 @@ pub mod managed_database_sensitivity_labels { } } pub mod list_recommended_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15423,7 +15423,7 @@ pub mod managed_database_sensitivity_labels { } } pub mod managed_database_recommended_sensitivity_labels { - use crate::models::*; + use super::{models, models::*}; pub async fn update( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15463,7 +15463,7 @@ pub mod managed_database_recommended_sensitivity_labels { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15484,7 +15484,7 @@ pub mod managed_database_recommended_sensitivity_labels { } } pub mod managed_database_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_schema( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15536,7 +15536,7 @@ pub mod managed_database_tables { } } pub mod list_by_schema { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15601,7 +15601,7 @@ pub mod managed_database_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15622,7 +15622,7 @@ pub mod managed_database_tables { } } pub mod managed_database_transparent_data_encryption { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15667,7 +15667,7 @@ pub mod managed_database_transparent_data_encryption { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15741,7 +15741,7 @@ pub mod managed_database_transparent_data_encryption { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedTransparentDataEncryption), @@ -15810,7 +15810,7 @@ pub mod managed_database_transparent_data_encryption { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15831,7 +15831,7 @@ pub mod managed_database_transparent_data_encryption { } } pub mod managed_database_vulnerability_assessment_rule_baselines { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -15870,7 +15870,7 @@ pub mod managed_database_vulnerability_assessment_rule_baselines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15932,7 +15932,7 @@ pub mod managed_database_vulnerability_assessment_rule_baselines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15984,7 +15984,7 @@ pub mod managed_database_vulnerability_assessment_rule_baselines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16005,7 +16005,7 @@ pub mod managed_database_vulnerability_assessment_rule_baselines { } } pub mod managed_database_vulnerability_assessments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16050,7 +16050,7 @@ pub mod managed_database_vulnerability_assessments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16124,7 +16124,7 @@ pub mod managed_database_vulnerability_assessments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatabaseVulnerabilityAssessment), @@ -16187,7 +16187,7 @@ pub mod managed_database_vulnerability_assessments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16251,7 +16251,7 @@ pub mod managed_database_vulnerability_assessments { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16272,7 +16272,7 @@ pub mod managed_database_vulnerability_assessments { } } pub mod managed_database_vulnerability_assessment_scans { - use crate::models::*; + use super::{models, models::*}; pub async fn initiate_scan( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16310,7 +16310,7 @@ pub mod managed_database_vulnerability_assessment_scans { } } pub mod initiate_scan { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -16378,7 +16378,7 @@ pub mod managed_database_vulnerability_assessment_scans { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatabaseVulnerabilityAssessmentScansExport), @@ -16441,7 +16441,7 @@ pub mod managed_database_vulnerability_assessment_scans { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16497,7 +16497,7 @@ pub mod managed_database_vulnerability_assessment_scans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16518,7 +16518,7 @@ pub mod managed_database_vulnerability_assessment_scans { } } pub mod managed_instance_administrators { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_instance( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16562,7 +16562,7 @@ pub mod managed_instance_administrators { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16623,7 +16623,7 @@ pub mod managed_instance_administrators { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16696,7 +16696,7 @@ pub mod managed_instance_administrators { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedInstanceAdministrator), @@ -16759,7 +16759,7 @@ pub mod managed_instance_administrators { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -16785,7 +16785,7 @@ pub mod managed_instance_administrators { } } pub mod managed_instance_azure_ad_only_authentications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -16828,7 +16828,7 @@ pub mod managed_instance_azure_ad_only_authentications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16901,7 +16901,7 @@ pub mod managed_instance_azure_ad_only_authentications { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedInstanceAzureAdOnlyAuthentication), @@ -16965,7 +16965,7 @@ pub mod managed_instance_azure_ad_only_authentications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -17033,7 +17033,7 @@ pub mod managed_instance_azure_ad_only_authentications { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17054,7 +17054,7 @@ pub mod managed_instance_azure_ad_only_authentications { } } pub mod managed_instance_encryption_protectors { - use crate::models::*; + use super::{models, models::*}; pub async fn revalidate( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17097,7 +17097,7 @@ pub mod managed_instance_encryption_protectors { } } pub mod revalidate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -17164,7 +17164,7 @@ pub mod managed_instance_encryption_protectors { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17225,7 +17225,7 @@ pub mod managed_instance_encryption_protectors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17292,7 +17292,7 @@ pub mod managed_instance_encryption_protectors { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedInstanceEncryptionProtector), @@ -17318,7 +17318,7 @@ pub mod managed_instance_encryption_protectors { } } pub mod managed_instance_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_instance( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17366,7 +17366,7 @@ pub mod managed_instance_keys { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17427,7 +17427,7 @@ pub mod managed_instance_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17500,7 +17500,7 @@ pub mod managed_instance_keys { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedInstanceKey), @@ -17564,7 +17564,7 @@ pub mod managed_instance_keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -17591,7 +17591,7 @@ pub mod managed_instance_keys { } } pub mod managed_instance_long_term_retention_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17628,7 +17628,7 @@ pub mod managed_instance_long_term_retention_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17689,7 +17689,7 @@ pub mod managed_instance_long_term_retention_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedInstanceLongTermRetentionPolicy), @@ -17751,7 +17751,7 @@ pub mod managed_instance_long_term_retention_policies { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17772,7 +17772,7 @@ pub mod managed_instance_long_term_retention_policies { } } pub mod managed_instance_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_managed_instance( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -17818,7 +17818,7 @@ pub mod managed_instance_operations { } } pub mod list_by_managed_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17879,7 +17879,7 @@ pub mod managed_instance_operations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17936,7 +17936,7 @@ pub mod managed_instance_operations { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -17957,7 +17957,7 @@ pub mod managed_instance_operations { } } pub mod managed_instance_private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18000,7 +18000,7 @@ pub mod managed_instance_private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18067,7 +18067,7 @@ pub mod managed_instance_private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedInstancePrivateEndpointConnection), @@ -18130,7 +18130,7 @@ pub mod managed_instance_private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -18200,7 +18200,7 @@ pub mod managed_instance_private_endpoint_connections { } } pub mod list_by_managed_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18221,7 +18221,7 @@ pub mod managed_instance_private_endpoint_connections { } } pub mod managed_instance_private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_managed_instance( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18267,7 +18267,7 @@ pub mod managed_instance_private_link_resources { } } pub mod list_by_managed_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18328,7 +18328,7 @@ pub mod managed_instance_private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18349,7 +18349,7 @@ pub mod managed_instance_private_link_resources { } } pub mod managed_instances { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_instance_pool( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -18399,7 +18399,7 @@ pub mod managed_instances { } } pub mod list_by_instance_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18458,7 +18458,7 @@ pub mod managed_instances { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18524,7 +18524,7 @@ pub mod managed_instances { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18587,7 +18587,7 @@ pub mod managed_instances { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18658,7 +18658,7 @@ pub mod managed_instances { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedInstance), @@ -18726,7 +18726,7 @@ pub mod managed_instances { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedInstance), @@ -18787,7 +18787,7 @@ pub mod managed_instances { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -18886,7 +18886,7 @@ pub mod managed_instances { } } pub mod list_by_managed_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -18949,7 +18949,7 @@ pub mod managed_instances { } } pub mod failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -18975,7 +18975,7 @@ pub mod managed_instances { } } pub mod managed_instance_tde_certificates { - use crate::models::*; + use super::{models, models::*}; pub async fn create( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19014,7 +19014,7 @@ pub mod managed_instance_tde_certificates { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -19040,7 +19040,7 @@ pub mod managed_instance_tde_certificates { } } pub mod managed_instance_vulnerability_assessments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19083,7 +19083,7 @@ pub mod managed_instance_vulnerability_assessments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19155,7 +19155,7 @@ pub mod managed_instance_vulnerability_assessments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedInstanceVulnerabilityAssessment), @@ -19216,7 +19216,7 @@ pub mod managed_instance_vulnerability_assessments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19278,7 +19278,7 @@ pub mod managed_instance_vulnerability_assessments { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19299,7 +19299,7 @@ pub mod managed_instance_vulnerability_assessments { } } pub mod managed_restorable_dropped_database_backup_short_term_retention_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19336,7 +19336,7 @@ pub mod managed_restorable_dropped_database_backup_short_term_retention_policies } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19397,7 +19397,7 @@ pub mod managed_restorable_dropped_database_backup_short_term_retention_policies } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedBackupShortTermRetentionPolicy), @@ -19460,7 +19460,7 @@ pub mod managed_restorable_dropped_database_backup_short_term_retention_policies } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedBackupShortTermRetentionPolicy), @@ -19524,7 +19524,7 @@ pub mod managed_restorable_dropped_database_backup_short_term_retention_policies } } pub mod list_by_restorable_dropped_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19545,7 +19545,7 @@ pub mod managed_restorable_dropped_database_backup_short_term_retention_policies } } pub mod managed_server_security_alert_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19588,7 +19588,7 @@ pub mod managed_server_security_alert_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19655,7 +19655,7 @@ pub mod managed_server_security_alert_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedServerSecurityAlertPolicy), @@ -19722,7 +19722,7 @@ pub mod managed_server_security_alert_policies { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19743,7 +19743,7 @@ pub mod managed_server_security_alert_policies { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Sql/operations", operation_config.base_path(),); @@ -19773,7 +19773,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19794,7 +19794,7 @@ pub mod operations { } } pub mod operations_health { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, location_name: &str, @@ -19836,7 +19836,7 @@ pub mod operations_health { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19857,7 +19857,7 @@ pub mod operations_health { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -19900,7 +19900,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -19967,7 +19967,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -20030,7 +20030,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -20098,7 +20098,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20119,7 +20119,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20163,7 +20163,7 @@ pub mod private_link_resources { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20224,7 +20224,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20245,7 +20245,7 @@ pub mod private_link_resources { } } pub mod recoverable_managed_databases { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_instance( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20289,7 +20289,7 @@ pub mod recoverable_managed_databases { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20350,7 +20350,7 @@ pub mod recoverable_managed_databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20371,7 +20371,7 @@ pub mod recoverable_managed_databases { } } pub mod restore_points { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20417,7 +20417,7 @@ pub mod restore_points { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20487,7 +20487,7 @@ pub mod restore_points { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RestorePoint), @@ -20556,7 +20556,7 @@ pub mod restore_points { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20614,7 +20614,7 @@ pub mod restore_points { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20635,7 +20635,7 @@ pub mod restore_points { } } pub mod sensitivity_labels { - use crate::models::*; + use super::{models, models::*}; pub async fn list_current_by_database( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -20695,7 +20695,7 @@ pub mod sensitivity_labels { } } pub mod list_current_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20753,7 +20753,7 @@ pub mod sensitivity_labels { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20834,7 +20834,7 @@ pub mod sensitivity_labels { } } pub mod list_recommended_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20893,7 +20893,7 @@ pub mod sensitivity_labels { } } pub mod enable_recommendation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -20952,7 +20952,7 @@ pub mod sensitivity_labels { } } pub mod disable_recommendation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21010,7 +21010,7 @@ pub mod sensitivity_labels { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21079,7 +21079,7 @@ pub mod sensitivity_labels { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SensitivityLabel), @@ -21137,7 +21137,7 @@ pub mod sensitivity_labels { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21158,7 +21158,7 @@ pub mod sensitivity_labels { } } pub mod recommended_sensitivity_labels { - use crate::models::*; + use super::{models, models::*}; pub async fn update( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -21198,7 +21198,7 @@ pub mod recommended_sensitivity_labels { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21219,7 +21219,7 @@ pub mod recommended_sensitivity_labels { } } pub mod server_advisors { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -21267,7 +21267,7 @@ pub mod server_advisors { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21328,7 +21328,7 @@ pub mod server_advisors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21391,7 +21391,7 @@ pub mod server_advisors { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21412,7 +21412,7 @@ pub mod server_advisors { } } pub mod server_automatic_tuning { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -21453,7 +21453,7 @@ pub mod server_automatic_tuning { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21514,7 +21514,7 @@ pub mod server_automatic_tuning { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21535,7 +21535,7 @@ pub mod server_automatic_tuning { } } pub mod server_azure_ad_administrators { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -21578,7 +21578,7 @@ pub mod server_azure_ad_administrators { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21651,7 +21651,7 @@ pub mod server_azure_ad_administrators { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerAzureAdAdministrator), @@ -21715,7 +21715,7 @@ pub mod server_azure_ad_administrators { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -21783,7 +21783,7 @@ pub mod server_azure_ad_administrators { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21804,7 +21804,7 @@ pub mod server_azure_ad_administrators { } } pub mod server_azure_ad_only_authentications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -21847,7 +21847,7 @@ pub mod server_azure_ad_only_authentications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -21920,7 +21920,7 @@ pub mod server_azure_ad_only_authentications { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerAzureAdOnlyAuthentication), @@ -21984,7 +21984,7 @@ pub mod server_azure_ad_only_authentications { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22052,7 +22052,7 @@ pub mod server_azure_ad_only_authentications { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22073,7 +22073,7 @@ pub mod server_azure_ad_only_authentications { } } pub mod server_dev_ops_audit_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -22116,7 +22116,7 @@ pub mod server_dev_ops_audit_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22183,7 +22183,7 @@ pub mod server_dev_ops_audit_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerDevOpsAuditingSettings), @@ -22250,7 +22250,7 @@ pub mod server_dev_ops_audit_settings { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22271,7 +22271,7 @@ pub mod server_dev_ops_audit_settings { } } pub mod server_dns_aliases { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -22314,7 +22314,7 @@ pub mod server_dns_aliases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22385,7 +22385,7 @@ pub mod server_dns_aliases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerDnsAlias), @@ -22449,7 +22449,7 @@ pub mod server_dns_aliases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22517,7 +22517,7 @@ pub mod server_dns_aliases { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22584,7 +22584,7 @@ pub mod server_dns_aliases { } } pub mod acquire { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerDnsAlias), @@ -22610,7 +22610,7 @@ pub mod server_dns_aliases { } } pub mod server_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -22654,7 +22654,7 @@ pub mod server_keys { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22715,7 +22715,7 @@ pub mod server_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22788,7 +22788,7 @@ pub mod server_keys { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerKey), @@ -22852,7 +22852,7 @@ pub mod server_keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -22879,7 +22879,7 @@ pub mod server_keys { } } pub mod server_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -22923,7 +22923,7 @@ pub mod server_operations { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -22944,7 +22944,7 @@ pub mod server_operations { } } pub mod server_security_alert_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -22987,7 +22987,7 @@ pub mod server_security_alert_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23054,7 +23054,7 @@ pub mod server_security_alert_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerSecurityAlertPolicy), @@ -23121,7 +23121,7 @@ pub mod server_security_alert_policies { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23142,7 +23142,7 @@ pub mod server_security_alert_policies { } } pub mod server_trust_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -23185,7 +23185,7 @@ pub mod server_trust_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23258,7 +23258,7 @@ pub mod server_trust_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerTrustGroup), @@ -23322,7 +23322,7 @@ pub mod server_trust_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -23390,7 +23390,7 @@ pub mod server_trust_groups { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23452,7 +23452,7 @@ pub mod server_trust_groups { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23473,7 +23473,7 @@ pub mod server_trust_groups { } } pub mod server_vulnerability_assessments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -23516,7 +23516,7 @@ pub mod server_vulnerability_assessments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23588,7 +23588,7 @@ pub mod server_vulnerability_assessments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerVulnerabilityAssessment), @@ -23649,7 +23649,7 @@ pub mod server_vulnerability_assessments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23711,7 +23711,7 @@ pub mod server_vulnerability_assessments { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23732,7 +23732,7 @@ pub mod server_vulnerability_assessments { } } pub mod sql_agent { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -23773,7 +23773,7 @@ pub mod sql_agent { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23837,7 +23837,7 @@ pub mod sql_agent { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23858,7 +23858,7 @@ pub mod sql_agent { } } pub mod subscription_usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, location_name: &str, @@ -23900,7 +23900,7 @@ pub mod subscription_usages { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23959,7 +23959,7 @@ pub mod subscription_usages { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -23980,7 +23980,7 @@ pub mod subscription_usages { } } pub mod sync_agents { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -24023,7 +24023,7 @@ pub mod sync_agents { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24096,7 +24096,7 @@ pub mod sync_agents { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SyncAgent), @@ -24160,7 +24160,7 @@ pub mod sync_agents { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -24228,7 +24228,7 @@ pub mod sync_agents { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24293,7 +24293,7 @@ pub mod sync_agents { } } pub mod generate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24359,7 +24359,7 @@ pub mod sync_agents { } } pub mod list_linked_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24380,7 +24380,7 @@ pub mod sync_agents { } } pub mod sync_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list_sync_database_ids( operation_config: &crate::OperationConfig, location_name: &str, @@ -24424,7 +24424,7 @@ pub mod sync_groups { } } pub mod list_sync_database_ids { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24487,7 +24487,7 @@ pub mod sync_groups { } } pub mod refresh_hub_schema { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -24558,7 +24558,7 @@ pub mod sync_groups { } } pub mod list_hub_schemas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24634,7 +24634,7 @@ pub mod sync_groups { } } pub mod list_logs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24696,7 +24696,7 @@ pub mod sync_groups { } } pub mod cancel_sync { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24758,7 +24758,7 @@ pub mod sync_groups { } } pub mod trigger_sync { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24821,7 +24821,7 @@ pub mod sync_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -24896,7 +24896,7 @@ pub mod sync_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SyncGroup), @@ -24968,7 +24968,7 @@ pub mod sync_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SyncGroup), @@ -25033,7 +25033,7 @@ pub mod sync_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -25103,7 +25103,7 @@ pub mod sync_groups { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25124,7 +25124,7 @@ pub mod sync_groups { } } pub mod sync_members { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -25171,7 +25171,7 @@ pub mod sync_members { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25248,7 +25248,7 @@ pub mod sync_members { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SyncMember), @@ -25322,7 +25322,7 @@ pub mod sync_members { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SyncMember), @@ -25389,7 +25389,7 @@ pub mod sync_members { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -25461,7 +25461,7 @@ pub mod sync_members { } } pub mod list_by_sync_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25529,7 +25529,7 @@ pub mod sync_members { } } pub mod list_member_schemas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25587,7 +25587,7 @@ pub mod sync_members { } } pub mod refresh_member_schema { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -25613,7 +25613,7 @@ pub mod sync_members { } } pub mod tde_certificates { - use crate::models::*; + use super::{models, models::*}; pub async fn create( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -25652,7 +25652,7 @@ pub mod tde_certificates { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -25678,7 +25678,7 @@ pub mod tde_certificates { } } pub mod time_zones { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, location_name: &str, @@ -25720,7 +25720,7 @@ pub mod time_zones { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25779,7 +25779,7 @@ pub mod time_zones { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25800,7 +25800,7 @@ pub mod time_zones { } } pub mod virtual_clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn update_dns_servers( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -25845,7 +25845,7 @@ pub mod virtual_clusters { } } pub mod update_dns_servers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25900,7 +25900,7 @@ pub mod virtual_clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -25962,7 +25962,7 @@ pub mod virtual_clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26021,7 +26021,7 @@ pub mod virtual_clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26083,7 +26083,7 @@ pub mod virtual_clusters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualCluster), @@ -26144,7 +26144,7 @@ pub mod virtual_clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -26171,7 +26171,7 @@ pub mod virtual_clusters { } } pub mod virtual_network_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -26214,7 +26214,7 @@ pub mod virtual_network_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26287,7 +26287,7 @@ pub mod virtual_network_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualNetworkRule), @@ -26351,7 +26351,7 @@ pub mod virtual_network_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -26419,7 +26419,7 @@ pub mod virtual_network_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26440,7 +26440,7 @@ pub mod virtual_network_rules { } } pub mod workload_classifiers { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -26478,7 +26478,7 @@ pub mod workload_classifiers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26546,7 +26546,7 @@ pub mod workload_classifiers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadClassifier), @@ -26605,7 +26605,7 @@ pub mod workload_classifiers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -26679,7 +26679,7 @@ pub mod workload_classifiers { } } pub mod list_by_workload_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26700,7 +26700,7 @@ pub mod workload_classifiers { } } pub mod workload_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -26745,7 +26745,7 @@ pub mod workload_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26820,7 +26820,7 @@ pub mod workload_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadGroup), @@ -26886,7 +26886,7 @@ pub mod workload_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -26956,7 +26956,7 @@ pub mod workload_groups { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -26977,7 +26977,7 @@ pub mod workload_groups { } } pub mod transparent_data_encryptions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -27022,7 +27022,7 @@ pub mod transparent_data_encryptions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27097,7 +27097,7 @@ pub mod transparent_data_encryptions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LogicalDatabaseTransparentDataEncryption), @@ -27167,7 +27167,7 @@ pub mod transparent_data_encryptions { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27188,7 +27188,7 @@ pub mod transparent_data_encryptions { } } pub mod backup_short_term_retention_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -27233,7 +27233,7 @@ pub mod backup_short_term_retention_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27302,7 +27302,7 @@ pub mod backup_short_term_retention_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BackupShortTermRetentionPolicy), @@ -27373,7 +27373,7 @@ pub mod backup_short_term_retention_policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BackupShortTermRetentionPolicy), @@ -27442,7 +27442,7 @@ pub mod backup_short_term_retention_policies { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27463,7 +27463,7 @@ pub mod backup_short_term_retention_policies { } } pub mod database_extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -27503,7 +27503,7 @@ pub mod database_extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27572,7 +27572,7 @@ pub mod database_extensions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ImportExportExtensionsOperationResult), @@ -27641,7 +27641,7 @@ pub mod database_extensions { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27662,7 +27662,7 @@ pub mod database_extensions { } } pub mod database_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn cancel( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -27703,7 +27703,7 @@ pub mod database_operations { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27767,7 +27767,7 @@ pub mod database_operations { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27788,7 +27788,7 @@ pub mod database_operations { } } pub mod database_usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -27834,7 +27834,7 @@ pub mod database_usages { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27855,7 +27855,7 @@ pub mod database_usages { } } pub mod ledger_digest_uploads { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -27900,7 +27900,7 @@ pub mod ledger_digest_uploads { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -27969,7 +27969,7 @@ pub mod ledger_digest_uploads { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LedgerDigestUploads), @@ -28038,7 +28038,7 @@ pub mod ledger_digest_uploads { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28106,7 +28106,7 @@ pub mod ledger_digest_uploads { } } pub mod disable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LedgerDigestUploads), @@ -28132,7 +28132,7 @@ pub mod ledger_digest_uploads { } } pub mod outbound_firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -28175,7 +28175,7 @@ pub mod outbound_firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28248,7 +28248,7 @@ pub mod outbound_firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OutboundFirewallRule), @@ -28312,7 +28312,7 @@ pub mod outbound_firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -28380,7 +28380,7 @@ pub mod outbound_firewall_rules { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28401,7 +28401,7 @@ pub mod outbound_firewall_rules { } } pub mod restorable_dropped_databases { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_server( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -28445,7 +28445,7 @@ pub mod restorable_dropped_databases { } } pub mod list_by_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28506,7 +28506,7 @@ pub mod restorable_dropped_databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28527,7 +28527,7 @@ pub mod restorable_dropped_databases { } } pub mod restorable_dropped_managed_databases { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_instance( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -28571,7 +28571,7 @@ pub mod restorable_dropped_managed_databases { } } pub mod list_by_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28632,7 +28632,7 @@ pub mod restorable_dropped_managed_databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28653,7 +28653,7 @@ pub mod restorable_dropped_managed_databases { } } pub mod servers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -28701,7 +28701,7 @@ pub mod servers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28764,7 +28764,7 @@ pub mod servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -28835,7 +28835,7 @@ pub mod servers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -28903,7 +28903,7 @@ pub mod servers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Server), @@ -28964,7 +28964,7 @@ pub mod servers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -29029,7 +29029,7 @@ pub mod servers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29094,7 +29094,7 @@ pub mod servers { } } pub mod import_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ImportExportOperationResult), @@ -29161,7 +29161,7 @@ pub mod servers { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -29182,7 +29182,7 @@ pub mod servers { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_instance_pool( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -29233,7 +29233,7 @@ pub mod usages { } } pub mod list_by_instance_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/sqlvirtualmachine/Cargo.toml b/services/mgmt/sqlvirtualmachine/Cargo.toml index c0f43caf0c..5293f95d86 100644 --- a/services/mgmt/sqlvirtualmachine/Cargo.toml +++ b/services/mgmt/sqlvirtualmachine/Cargo.toml @@ -20,4 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2017-03-01-preview"] +no-default-version = [] "package-2017-03-01-preview" = [] diff --git a/services/mgmt/sqlvirtualmachine/src/lib.rs b/services/mgmt/sqlvirtualmachine/src/lib.rs index 993b25e8e1..a26f782cb5 100644 --- a/services/mgmt/sqlvirtualmachine/src/lib.rs +++ b/services/mgmt/sqlvirtualmachine/src/lib.rs @@ -1,9 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2017-03-01-preview")] -mod package_2017_03_01_preview; +pub mod package_2017_03_01_preview; use azure_core::setters; -#[cfg(feature = "package-2017-03-01-preview")] +#[cfg(all(feature = "package-2017-03-01-preview", not(feature = "no-default-version")))] pub use package_2017_03_01_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -27,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/sqlvirtualmachine/src/package_2017_03_01_preview/operations.rs b/services/mgmt/sqlvirtualmachine/src/package_2017_03_01_preview/operations.rs index 0146e11b19..bbc95bec94 100644 --- a/services/mgmt/sqlvirtualmachine/src/package_2017_03_01_preview/operations.rs +++ b/services/mgmt/sqlvirtualmachine/src/package_2017_03_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod availability_group_listeners { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -40,7 +40,7 @@ pub mod availability_group_listeners { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -105,7 +105,7 @@ pub mod availability_group_listeners { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AvailabilityGroupListener), @@ -161,7 +161,7 @@ pub mod availability_group_listeners { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -223,7 +223,7 @@ pub mod availability_group_listeners { } } pub mod list_by_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -244,7 +244,7 @@ pub mod availability_group_listeners { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.SqlVirtualMachine/operations", operation_config.base_path(),); @@ -274,7 +274,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -295,7 +295,7 @@ pub mod operations { } } pub mod sql_virtual_machine_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -336,7 +336,7 @@ pub mod sql_virtual_machine_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -406,7 +406,7 @@ pub mod sql_virtual_machine_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlVirtualMachineGroup), @@ -472,7 +472,7 @@ pub mod sql_virtual_machine_groups { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -528,7 +528,7 @@ pub mod sql_virtual_machine_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -596,7 +596,7 @@ pub mod sql_virtual_machine_groups { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -651,7 +651,7 @@ pub mod sql_virtual_machine_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -672,7 +672,7 @@ pub mod sql_virtual_machine_groups { } } pub mod sql_virtual_machines { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_sql_vm_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -716,7 +716,7 @@ pub mod sql_virtual_machines { } } pub mod list_by_sql_vm_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -771,7 +771,7 @@ pub mod sql_virtual_machines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -834,7 +834,7 @@ pub mod sql_virtual_machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -904,7 +904,7 @@ pub mod sql_virtual_machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlVirtualMachine), @@ -970,7 +970,7 @@ pub mod sql_virtual_machines { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1026,7 +1026,7 @@ pub mod sql_virtual_machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1094,7 +1094,7 @@ pub mod sql_virtual_machines { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/stor_simple1200_series/Cargo.toml b/services/mgmt/stor_simple1200_series/Cargo.toml index 29f65f0933..438eb23d78 100644 --- a/services/mgmt/stor_simple1200_series/Cargo.toml +++ b/services/mgmt/stor_simple1200_series/Cargo.toml @@ -20,4 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2016-10"] +no-default-version = [] "package-2016-10" = [] diff --git a/services/mgmt/stor_simple1200_series/src/lib.rs b/services/mgmt/stor_simple1200_series/src/lib.rs index 9dcfc8d509..29bf736a6e 100644 --- a/services/mgmt/stor_simple1200_series/src/lib.rs +++ b/services/mgmt/stor_simple1200_series/src/lib.rs @@ -1,9 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2016-10")] -mod package_2016_10; +pub mod package_2016_10; use azure_core::setters; -#[cfg(feature = "package-2016-10")] +#[cfg(all(feature = "package-2016-10", not(feature = "no-default-version")))] pub use package_2016_10::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -27,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/stor_simple1200_series/src/package_2016_10/operations.rs b/services/mgmt/stor_simple1200_series/src/package_2016_10/operations.rs index ed29b355a0..d389bb1289 100644 --- a/services/mgmt/stor_simple1200_series/src/package_2016_10/operations.rs +++ b/services/mgmt/stor_simple1200_series/src/package_2016_10/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod managers { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, subscription_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -46,7 +46,7 @@ pub mod managers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -119,7 +119,7 @@ pub mod managers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -189,7 +189,7 @@ pub mod managers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -270,7 +270,7 @@ pub mod managers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Manager), @@ -347,7 +347,7 @@ pub mod managers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -413,7 +413,7 @@ pub mod managers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -498,7 +498,7 @@ pub mod managers { } } pub mod upload_registration_certificate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -573,7 +573,7 @@ pub mod managers { } } pub mod get_encryption_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -646,7 +646,7 @@ pub mod managers { } } pub mod get_extended_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -721,7 +721,7 @@ pub mod managers { } } pub mod create_extended_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -798,7 +798,7 @@ pub mod managers { } } pub mod update_extended_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -866,7 +866,7 @@ pub mod managers { } } pub mod delete_extended_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -940,7 +940,7 @@ pub mod managers { } } pub mod get_encryption_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1017,7 +1017,7 @@ pub mod managers { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1092,7 +1092,7 @@ pub mod managers { } } pub mod list_metric_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1116,7 +1116,7 @@ pub mod managers { } } pub mod available_provider_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.StorSimple/operations", operation_config.base_path(),); @@ -1154,7 +1154,7 @@ pub mod available_provider_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1178,7 +1178,7 @@ pub mod available_provider_operations { } } pub mod access_control_records { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_manager( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1230,7 +1230,7 @@ pub mod access_control_records { } } pub mod list_by_manager { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1302,7 +1302,7 @@ pub mod access_control_records { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1380,7 +1380,7 @@ pub mod access_control_records { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessControlRecord), @@ -1453,7 +1453,7 @@ pub mod access_control_records { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1482,7 +1482,7 @@ pub mod access_control_records { } } pub mod alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_manager( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1538,7 +1538,7 @@ pub mod alerts { } } pub mod list_by_manager { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1605,7 +1605,7 @@ pub mod alerts { } } pub mod clear { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1677,7 +1677,7 @@ pub mod alerts { } } pub mod send_test_email { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1701,7 +1701,7 @@ pub mod alerts { } } pub mod backups { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_manager( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1757,7 +1757,7 @@ pub mod backups { } } pub mod list_by_manager { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1840,7 +1840,7 @@ pub mod backups { } } pub mod list_by_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1910,7 +1910,7 @@ pub mod backups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1989,7 +1989,7 @@ pub mod backups { } } pub mod clone { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2018,7 +2018,7 @@ pub mod backups { } } pub mod devices { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_manager( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2074,7 +2074,7 @@ pub mod devices { } } pub mod list_by_manager { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2150,7 +2150,7 @@ pub mod devices { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2225,7 +2225,7 @@ pub mod devices { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Device), @@ -2298,7 +2298,7 @@ pub mod devices { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2378,7 +2378,7 @@ pub mod devices { } } pub mod get_alert_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2458,7 +2458,7 @@ pub mod devices { } } pub mod create_or_update_alert_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AlertSettings), @@ -2535,7 +2535,7 @@ pub mod devices { } } pub mod deactivate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2612,7 +2612,7 @@ pub mod devices { } } pub mod download_updates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2690,7 +2690,7 @@ pub mod devices { } } pub mod failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2774,7 +2774,7 @@ pub mod devices { } } pub mod list_failover_target { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2846,7 +2846,7 @@ pub mod devices { } } pub mod install_updates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2930,7 +2930,7 @@ pub mod devices { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3007,7 +3007,7 @@ pub mod devices { } } pub mod list_metric_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3082,7 +3082,7 @@ pub mod devices { } } pub mod get_network_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3154,7 +3154,7 @@ pub mod devices { } } pub mod scan_for_updates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3234,7 +3234,7 @@ pub mod devices { } } pub mod create_or_update_security_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3314,7 +3314,7 @@ pub mod devices { } } pub mod get_time_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3389,7 +3389,7 @@ pub mod devices { } } pub mod get_update_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3413,7 +3413,7 @@ pub mod devices { } } pub mod backup_schedule_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -3467,7 +3467,7 @@ pub mod backup_schedule_groups { } } pub mod list_by_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3541,7 +3541,7 @@ pub mod backup_schedule_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3621,7 +3621,7 @@ pub mod backup_schedule_groups { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BackupScheduleGroup), @@ -3696,7 +3696,7 @@ pub mod backup_schedule_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3725,7 +3725,7 @@ pub mod backup_schedule_groups { } } pub mod chap_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -3779,7 +3779,7 @@ pub mod chap_settings { } } pub mod list_by_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3853,7 +3853,7 @@ pub mod chap_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3933,7 +3933,7 @@ pub mod chap_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ChapSettings), @@ -4008,7 +4008,7 @@ pub mod chap_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4037,7 +4037,7 @@ pub mod chap_settings { } } pub mod iscsi_disks { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -4091,7 +4091,7 @@ pub mod iscsi_disks { } } pub mod list_by_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4168,7 +4168,7 @@ pub mod iscsi_disks { } } pub mod list_by_iscsi_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4244,7 +4244,7 @@ pub mod iscsi_disks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4326,7 +4326,7 @@ pub mod iscsi_disks { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IscsiDisk), @@ -4403,7 +4403,7 @@ pub mod iscsi_disks { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4491,7 +4491,7 @@ pub mod iscsi_disks { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4563,7 +4563,7 @@ pub mod iscsi_disks { } } pub mod list_metric_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4587,7 +4587,7 @@ pub mod iscsi_disks { } } pub mod file_servers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -4641,7 +4641,7 @@ pub mod file_servers { } } pub mod list_by_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4715,7 +4715,7 @@ pub mod file_servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4795,7 +4795,7 @@ pub mod file_servers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FileServer), @@ -4870,7 +4870,7 @@ pub mod file_servers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4949,7 +4949,7 @@ pub mod file_servers { } } pub mod backup_now { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5035,7 +5035,7 @@ pub mod file_servers { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5114,7 +5114,7 @@ pub mod file_servers { } } pub mod list_metric_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5187,7 +5187,7 @@ pub mod file_servers { } } pub mod list_by_manager { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5211,7 +5211,7 @@ pub mod file_servers { } } pub mod file_shares { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_file_server( operation_config: &crate::OperationConfig, device_name: &str, @@ -5267,7 +5267,7 @@ pub mod file_shares { } } pub mod list_by_file_server { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5343,7 +5343,7 @@ pub mod file_shares { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5425,7 +5425,7 @@ pub mod file_shares { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(FileShare), @@ -5502,7 +5502,7 @@ pub mod file_shares { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5590,7 +5590,7 @@ pub mod file_shares { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5662,7 +5662,7 @@ pub mod file_shares { } } pub mod list_metric_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5737,7 +5737,7 @@ pub mod file_shares { } } pub mod list_by_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5761,7 +5761,7 @@ pub mod file_shares { } } pub mod iscsi_servers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -5815,7 +5815,7 @@ pub mod iscsi_servers { } } pub mod list_by_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5889,7 +5889,7 @@ pub mod iscsi_servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5969,7 +5969,7 @@ pub mod iscsi_servers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IscsiServer), @@ -6044,7 +6044,7 @@ pub mod iscsi_servers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6123,7 +6123,7 @@ pub mod iscsi_servers { } } pub mod backup_now { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6209,7 +6209,7 @@ pub mod iscsi_servers { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6280,7 +6280,7 @@ pub mod iscsi_servers { } } pub mod list_metric_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6353,7 +6353,7 @@ pub mod iscsi_servers { } } pub mod list_by_manager { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6377,7 +6377,7 @@ pub mod iscsi_servers { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -6435,7 +6435,7 @@ pub mod jobs { } } pub mod list_by_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6509,7 +6509,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6586,7 +6586,7 @@ pub mod jobs { } } pub mod list_by_manager { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6610,7 +6610,7 @@ pub mod jobs { } } pub mod storage_account_credentials { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_manager( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6662,7 +6662,7 @@ pub mod storage_account_credentials { } } pub mod list_by_manager { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6734,7 +6734,7 @@ pub mod storage_account_credentials { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6812,7 +6812,7 @@ pub mod storage_account_credentials { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageAccountCredential), @@ -6885,7 +6885,7 @@ pub mod storage_account_credentials { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6914,7 +6914,7 @@ pub mod storage_account_credentials { } } pub mod storage_domains { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_manager( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6966,7 +6966,7 @@ pub mod storage_domains { } } pub mod list_by_manager { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7038,7 +7038,7 @@ pub mod storage_domains { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7116,7 +7116,7 @@ pub mod storage_domains { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageDomain), @@ -7189,7 +7189,7 @@ pub mod storage_domains { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, diff --git a/services/mgmt/storage/Cargo.toml b/services/mgmt/storage/Cargo.toml index b93269e837..45d3fb15a1 100644 --- a/services/mgmt/storage/Cargo.toml +++ b/services/mgmt/storage/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-06"] +no-default-version = [] "package-2021-06" = [] "package-2021-04" = [] "package-2021-02" = [] diff --git a/services/mgmt/storage/src/lib.rs b/services/mgmt/storage/src/lib.rs index 1fc6a73f0c..cb5aa9605b 100644 --- a/services/mgmt/storage/src/lib.rs +++ b/services/mgmt/storage/src/lib.rs @@ -1,85 +1,93 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-06")] -mod package_2021_06; -#[cfg(feature = "package-2021-06")] +pub mod package_2021_06; +#[cfg(all(feature = "package-2021-06", not(feature = "no-default-version")))] pub use package_2021_06::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-04")] -mod package_2021_04; -#[cfg(feature = "package-2021-04")] +pub mod package_2021_04; +#[cfg(all(feature = "package-2021-04", not(feature = "no-default-version")))] pub use package_2021_04::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-02")] -mod package_2021_02; -#[cfg(feature = "package-2021-02")] +pub mod package_2021_02; +#[cfg(all(feature = "package-2021-02", not(feature = "no-default-version")))] pub use package_2021_02::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-01")] -mod package_2021_01; -#[cfg(feature = "package-2021-01")] +pub mod package_2021_01; +#[cfg(all(feature = "package-2021-01", not(feature = "no-default-version")))] pub use package_2021_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-08-preview")] -mod package_2020_08_preview; -#[cfg(feature = "package-2020-08-preview")] +pub mod package_2020_08_preview; +#[cfg(all(feature = "package-2020-08-preview", not(feature = "no-default-version")))] pub use package_2020_08_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-06")] -mod package_2019_06; -#[cfg(feature = "package-2019-06")] +pub mod package_2019_06; +#[cfg(all(feature = "package-2019-06", not(feature = "no-default-version")))] pub use package_2019_06::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-04")] -mod package_2019_04; -#[cfg(feature = "package-2019-04")] +pub mod package_2019_04; +#[cfg(all(feature = "package-2019-04", not(feature = "no-default-version")))] pub use package_2019_04::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-11")] -mod package_2018_11; -#[cfg(feature = "package-2018-11")] +pub mod package_2018_11; +#[cfg(all(feature = "package-2018-11", not(feature = "no-default-version")))] pub use package_2018_11::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-07")] -mod package_2018_07; -#[cfg(feature = "package-2018-07")] +pub mod package_2018_07; +#[cfg(all(feature = "package-2018-07", not(feature = "no-default-version")))] pub use package_2018_07::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-07-only")] -mod package_2018_07_only; -#[cfg(feature = "package-2018-07-only")] +pub mod package_2018_07_only; +#[cfg(all(feature = "package-2018-07-only", not(feature = "no-default-version")))] pub use package_2018_07_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-03")] -mod package_2018_03; -#[cfg(feature = "package-2018-03")] +pub mod package_2018_03; +#[cfg(all(feature = "package-2018-03", not(feature = "no-default-version")))] pub use package_2018_03::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-02")] -mod package_2018_02; -#[cfg(feature = "package-2018-02")] +pub mod package_2018_02; +#[cfg(all(feature = "package-2018-02", not(feature = "no-default-version")))] pub use package_2018_02::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-10")] -mod package_2017_10; -#[cfg(feature = "package-2017-10")] +pub mod package_2017_10; +#[cfg(all(feature = "package-2017-10", not(feature = "no-default-version")))] pub use package_2017_10::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-06")] -mod package_2017_06; -#[cfg(feature = "package-2017-06")] +pub mod package_2017_06; +#[cfg(all(feature = "package-2017-06", not(feature = "no-default-version")))] pub use package_2017_06::{models, operations, API_VERSION}; #[cfg(feature = "package-2016-12")] -mod package_2016_12; -#[cfg(feature = "package-2016-12")] +pub mod package_2016_12; +#[cfg(all(feature = "package-2016-12", not(feature = "no-default-version")))] pub use package_2016_12::{models, operations, API_VERSION}; #[cfg(feature = "package-2016-05")] -mod package_2016_05; -#[cfg(feature = "package-2016-05")] +pub mod package_2016_05; +#[cfg(all(feature = "package-2016-05", not(feature = "no-default-version")))] pub use package_2016_05::{models, operations, API_VERSION}; #[cfg(feature = "package-2016-01")] -mod package_2016_01; -#[cfg(feature = "package-2016-01")] +pub mod package_2016_01; +#[cfg(all(feature = "package-2016-01", not(feature = "no-default-version")))] pub use package_2016_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2015-06")] -mod package_2015_06; -#[cfg(feature = "package-2015-06")] +pub mod package_2015_06; +#[cfg(all(feature = "package-2015-06", not(feature = "no-default-version")))] pub use package_2015_06::{models, operations, API_VERSION}; #[cfg(feature = "package-2015-05-preview")] -mod package_2015_05_preview; -#[cfg(feature = "package-2015-05-preview")] +pub mod package_2015_05_preview; +#[cfg(all(feature = "package-2015-05-preview", not(feature = "no-default-version")))] pub use package_2015_05_preview::{models, operations, API_VERSION}; #[cfg(feature = "profile-hybrid-2020-09-01")] -mod profile_hybrid_2020_09_01; +pub mod profile_hybrid_2020_09_01; use azure_core::setters; -#[cfg(feature = "profile-hybrid-2020-09-01")] +#[cfg(all(feature = "profile-hybrid-2020-09-01", not(feature = "no-default-version")))] pub use profile_hybrid_2020_09_01::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -103,7 +111,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/storage/src/package_2015_05_preview/operations.rs b/services/mgmt/storage/src/package_2015_05_preview/operations.rs index 6dd1625021..933cdeee24 100644 --- a/services/mgmt/storage/src/package_2015_05_preview/operations.rs +++ b/services/mgmt/storage/src/package_2015_05_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod storage_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, account_name: &StorageAccountCheckNameAvailabilityParameters, @@ -54,7 +54,7 @@ pub mod storage_accounts { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -122,7 +122,7 @@ pub mod storage_accounts { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -190,7 +190,7 @@ pub mod storage_accounts { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageAccount), @@ -262,7 +262,7 @@ pub mod storage_accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -323,7 +323,7 @@ pub mod storage_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -397,7 +397,7 @@ pub mod storage_accounts { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -458,7 +458,7 @@ pub mod storage_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -526,7 +526,7 @@ pub mod storage_accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -596,7 +596,7 @@ pub mod storage_accounts { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -617,7 +617,7 @@ pub mod storage_accounts { } } pub mod usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -660,7 +660,7 @@ pub mod usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/storage/src/package_2015_06/operations.rs b/services/mgmt/storage/src/package_2015_06/operations.rs index e72fb379ef..e5679ad9c8 100644 --- a/services/mgmt/storage/src/package_2015_06/operations.rs +++ b/services/mgmt/storage/src/package_2015_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod storage_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, account_name: &StorageAccountCheckNameAvailabilityParameters, @@ -54,7 +54,7 @@ pub mod storage_accounts { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -122,7 +122,7 @@ pub mod storage_accounts { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -190,7 +190,7 @@ pub mod storage_accounts { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageAccount), @@ -262,7 +262,7 @@ pub mod storage_accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -323,7 +323,7 @@ pub mod storage_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -389,7 +389,7 @@ pub mod storage_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -457,7 +457,7 @@ pub mod storage_accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -526,7 +526,7 @@ pub mod storage_accounts { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -596,7 +596,7 @@ pub mod storage_accounts { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -617,7 +617,7 @@ pub mod storage_accounts { } } pub mod usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -660,7 +660,7 @@ pub mod usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/storage/src/package_2016_01/operations.rs b/services/mgmt/storage/src/package_2016_01/operations.rs index 18387e4c2b..96e7a7681d 100644 --- a/services/mgmt/storage/src/package_2016_01/operations.rs +++ b/services/mgmt/storage/src/package_2016_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod storage_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, account_name: &StorageAccountCheckNameAvailabilityParameters, @@ -54,7 +54,7 @@ pub mod storage_accounts { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -122,7 +122,7 @@ pub mod storage_accounts { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -190,7 +190,7 @@ pub mod storage_accounts { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageAccount), @@ -262,7 +262,7 @@ pub mod storage_accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -323,7 +323,7 @@ pub mod storage_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -389,7 +389,7 @@ pub mod storage_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -457,7 +457,7 @@ pub mod storage_accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -526,7 +526,7 @@ pub mod storage_accounts { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -596,7 +596,7 @@ pub mod storage_accounts { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -617,7 +617,7 @@ pub mod storage_accounts { } } pub mod usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -660,7 +660,7 @@ pub mod usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/storage/src/package_2016_05/operations.rs b/services/mgmt/storage/src/package_2016_05/operations.rs index 436510aba0..193cdcdb89 100644 --- a/services/mgmt/storage/src/package_2016_05/operations.rs +++ b/services/mgmt/storage/src/package_2016_05/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod storage_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, account_name: &StorageAccountCheckNameAvailabilityParameters, @@ -54,7 +54,7 @@ pub mod storage_accounts { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -122,7 +122,7 @@ pub mod storage_accounts { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -190,7 +190,7 @@ pub mod storage_accounts { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageAccount), @@ -262,7 +262,7 @@ pub mod storage_accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -323,7 +323,7 @@ pub mod storage_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -389,7 +389,7 @@ pub mod storage_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -457,7 +457,7 @@ pub mod storage_accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -526,7 +526,7 @@ pub mod storage_accounts { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -596,7 +596,7 @@ pub mod storage_accounts { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -666,7 +666,7 @@ pub mod storage_accounts { } } pub mod list_account_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -736,7 +736,7 @@ pub mod storage_accounts { } } pub mod list_service_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -757,7 +757,7 @@ pub mod storage_accounts { } } pub mod usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -800,7 +800,7 @@ pub mod usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/storage/src/package_2016_12/operations.rs b/services/mgmt/storage/src/package_2016_12/operations.rs index 436510aba0..193cdcdb89 100644 --- a/services/mgmt/storage/src/package_2016_12/operations.rs +++ b/services/mgmt/storage/src/package_2016_12/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod storage_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, account_name: &StorageAccountCheckNameAvailabilityParameters, @@ -54,7 +54,7 @@ pub mod storage_accounts { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -122,7 +122,7 @@ pub mod storage_accounts { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -190,7 +190,7 @@ pub mod storage_accounts { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageAccount), @@ -262,7 +262,7 @@ pub mod storage_accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -323,7 +323,7 @@ pub mod storage_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -389,7 +389,7 @@ pub mod storage_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -457,7 +457,7 @@ pub mod storage_accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -526,7 +526,7 @@ pub mod storage_accounts { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -596,7 +596,7 @@ pub mod storage_accounts { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -666,7 +666,7 @@ pub mod storage_accounts { } } pub mod list_account_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -736,7 +736,7 @@ pub mod storage_accounts { } } pub mod list_service_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -757,7 +757,7 @@ pub mod storage_accounts { } } pub mod usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -800,7 +800,7 @@ pub mod usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/storage/src/package_2017_06/operations.rs b/services/mgmt/storage/src/package_2017_06/operations.rs index a93c80daf6..cbeeda2c8d 100644 --- a/services/mgmt/storage/src/package_2017_06/operations.rs +++ b/services/mgmt/storage/src/package_2017_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Storage/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -104,7 +104,7 @@ pub mod skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -125,7 +125,7 @@ pub mod skus { } } pub mod storage_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, account_name: &StorageAccountCheckNameAvailabilityParameters, @@ -175,7 +175,7 @@ pub mod storage_accounts { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -243,7 +243,7 @@ pub mod storage_accounts { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -311,7 +311,7 @@ pub mod storage_accounts { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageAccount), @@ -383,7 +383,7 @@ pub mod storage_accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -444,7 +444,7 @@ pub mod storage_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -510,7 +510,7 @@ pub mod storage_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -578,7 +578,7 @@ pub mod storage_accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -647,7 +647,7 @@ pub mod storage_accounts { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -717,7 +717,7 @@ pub mod storage_accounts { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -787,7 +787,7 @@ pub mod storage_accounts { } } pub mod list_account_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -857,7 +857,7 @@ pub mod storage_accounts { } } pub mod list_service_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -878,7 +878,7 @@ pub mod storage_accounts { } } pub mod usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -921,7 +921,7 @@ pub mod usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/storage/src/package_2017_10/operations.rs b/services/mgmt/storage/src/package_2017_10/operations.rs index a93c80daf6..cbeeda2c8d 100644 --- a/services/mgmt/storage/src/package_2017_10/operations.rs +++ b/services/mgmt/storage/src/package_2017_10/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Storage/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -104,7 +104,7 @@ pub mod skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -125,7 +125,7 @@ pub mod skus { } } pub mod storage_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, account_name: &StorageAccountCheckNameAvailabilityParameters, @@ -175,7 +175,7 @@ pub mod storage_accounts { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -243,7 +243,7 @@ pub mod storage_accounts { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -311,7 +311,7 @@ pub mod storage_accounts { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageAccount), @@ -383,7 +383,7 @@ pub mod storage_accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -444,7 +444,7 @@ pub mod storage_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -510,7 +510,7 @@ pub mod storage_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -578,7 +578,7 @@ pub mod storage_accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -647,7 +647,7 @@ pub mod storage_accounts { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -717,7 +717,7 @@ pub mod storage_accounts { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -787,7 +787,7 @@ pub mod storage_accounts { } } pub mod list_account_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -857,7 +857,7 @@ pub mod storage_accounts { } } pub mod list_service_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -878,7 +878,7 @@ pub mod storage_accounts { } } pub mod usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -921,7 +921,7 @@ pub mod usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/storage/src/package_2018_02/operations.rs b/services/mgmt/storage/src/package_2018_02/operations.rs index 57a1593e67..a1d09344a5 100644 --- a/services/mgmt/storage/src/package_2018_02/operations.rs +++ b/services/mgmt/storage/src/package_2018_02/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Storage/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -104,7 +104,7 @@ pub mod skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -125,7 +125,7 @@ pub mod skus { } } pub mod storage_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, account_name: &StorageAccountCheckNameAvailabilityParameters, @@ -175,7 +175,7 @@ pub mod storage_accounts { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -243,7 +243,7 @@ pub mod storage_accounts { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -311,7 +311,7 @@ pub mod storage_accounts { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageAccount), @@ -383,7 +383,7 @@ pub mod storage_accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -444,7 +444,7 @@ pub mod storage_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -510,7 +510,7 @@ pub mod storage_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -578,7 +578,7 @@ pub mod storage_accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -647,7 +647,7 @@ pub mod storage_accounts { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -717,7 +717,7 @@ pub mod storage_accounts { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -787,7 +787,7 @@ pub mod storage_accounts { } } pub mod list_account_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -857,7 +857,7 @@ pub mod storage_accounts { } } pub mod list_service_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -878,7 +878,7 @@ pub mod storage_accounts { } } pub mod usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -921,7 +921,7 @@ pub mod usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -987,7 +987,7 @@ pub mod usage { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1008,7 +1008,7 @@ pub mod usage { } } pub mod blob_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1055,7 +1055,7 @@ pub mod blob_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1122,7 +1122,7 @@ pub mod blob_containers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1191,7 +1191,7 @@ pub mod blob_containers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1260,7 +1260,7 @@ pub mod blob_containers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1323,7 +1323,7 @@ pub mod blob_containers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1393,7 +1393,7 @@ pub mod blob_containers { } } pub mod set_legal_hold { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1458,7 +1458,7 @@ pub mod blob_containers { } } pub mod clear_legal_hold { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1528,7 +1528,7 @@ pub mod blob_containers { } } pub mod get_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1604,7 +1604,7 @@ pub mod blob_containers { } } pub mod create_or_update_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1672,7 +1672,7 @@ pub mod blob_containers { } } pub mod delete_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1740,7 +1740,7 @@ pub mod blob_containers { } } pub mod lock_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1813,7 +1813,7 @@ pub mod blob_containers { } } pub mod extend_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1886,7 +1886,7 @@ pub mod blob_containers { } } pub mod lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/storage/src/package_2018_03/operations.rs b/services/mgmt/storage/src/package_2018_03/operations.rs index 4036f1f0e6..9986e54d9a 100644 --- a/services/mgmt/storage/src/package_2018_03/operations.rs +++ b/services/mgmt/storage/src/package_2018_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Storage/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -104,7 +104,7 @@ pub mod skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -125,7 +125,7 @@ pub mod skus { } } pub mod storage_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, account_name: &StorageAccountCheckNameAvailabilityParameters, @@ -175,7 +175,7 @@ pub mod storage_accounts { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -243,7 +243,7 @@ pub mod storage_accounts { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -311,7 +311,7 @@ pub mod storage_accounts { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageAccount), @@ -383,7 +383,7 @@ pub mod storage_accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -444,7 +444,7 @@ pub mod storage_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -510,7 +510,7 @@ pub mod storage_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -578,7 +578,7 @@ pub mod storage_accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -647,7 +647,7 @@ pub mod storage_accounts { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -717,7 +717,7 @@ pub mod storage_accounts { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -787,7 +787,7 @@ pub mod storage_accounts { } } pub mod list_account_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -857,7 +857,7 @@ pub mod storage_accounts { } } pub mod list_service_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -929,7 +929,7 @@ pub mod storage_accounts { } } pub mod get_management_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1003,7 +1003,7 @@ pub mod storage_accounts { } } pub mod create_or_update_management_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1071,7 +1071,7 @@ pub mod storage_accounts { } } pub mod delete_management_policies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1097,7 +1097,7 @@ pub mod storage_accounts { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1140,7 +1140,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1206,7 +1206,7 @@ pub mod usages { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1227,7 +1227,7 @@ pub mod usages { } } pub mod blob_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1274,7 +1274,7 @@ pub mod blob_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1341,7 +1341,7 @@ pub mod blob_containers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1410,7 +1410,7 @@ pub mod blob_containers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1479,7 +1479,7 @@ pub mod blob_containers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1542,7 +1542,7 @@ pub mod blob_containers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1612,7 +1612,7 @@ pub mod blob_containers { } } pub mod set_legal_hold { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1677,7 +1677,7 @@ pub mod blob_containers { } } pub mod clear_legal_hold { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1747,7 +1747,7 @@ pub mod blob_containers { } } pub mod get_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1823,7 +1823,7 @@ pub mod blob_containers { } } pub mod create_or_update_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1891,7 +1891,7 @@ pub mod blob_containers { } } pub mod delete_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1959,7 +1959,7 @@ pub mod blob_containers { } } pub mod lock_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2032,7 +2032,7 @@ pub mod blob_containers { } } pub mod extend_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2105,7 +2105,7 @@ pub mod blob_containers { } } pub mod lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/storage/src/package_2018_07/operations.rs b/services/mgmt/storage/src/package_2018_07/operations.rs index d2e4c74ce7..1095babb99 100644 --- a/services/mgmt/storage/src/package_2018_07/operations.rs +++ b/services/mgmt/storage/src/package_2018_07/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Storage/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -104,7 +104,7 @@ pub mod skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -125,7 +125,7 @@ pub mod skus { } } pub mod storage_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, account_name: &StorageAccountCheckNameAvailabilityParameters, @@ -175,7 +175,7 @@ pub mod storage_accounts { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -247,7 +247,7 @@ pub mod storage_accounts { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -315,7 +315,7 @@ pub mod storage_accounts { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageAccount), @@ -387,7 +387,7 @@ pub mod storage_accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -448,7 +448,7 @@ pub mod storage_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -514,7 +514,7 @@ pub mod storage_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -582,7 +582,7 @@ pub mod storage_accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -651,7 +651,7 @@ pub mod storage_accounts { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -721,7 +721,7 @@ pub mod storage_accounts { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -791,7 +791,7 @@ pub mod storage_accounts { } } pub mod list_account_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -861,7 +861,7 @@ pub mod storage_accounts { } } pub mod list_service_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -926,7 +926,7 @@ pub mod storage_accounts { } } pub mod failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -952,7 +952,7 @@ pub mod storage_accounts { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1000,7 +1000,7 @@ pub mod usages { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1021,7 +1021,7 @@ pub mod usages { } } pub mod blob_services { - use crate::models::*; + use super::{models, models::*}; pub async fn get_service_properties( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1075,7 +1075,7 @@ pub mod blob_services { } } pub mod get_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1149,7 +1149,7 @@ pub mod blob_services { } } pub mod set_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1170,7 +1170,7 @@ pub mod blob_services { } } pub mod blob_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1217,7 +1217,7 @@ pub mod blob_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1284,7 +1284,7 @@ pub mod blob_containers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1353,7 +1353,7 @@ pub mod blob_containers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1422,7 +1422,7 @@ pub mod blob_containers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1485,7 +1485,7 @@ pub mod blob_containers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1555,7 +1555,7 @@ pub mod blob_containers { } } pub mod set_legal_hold { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1620,7 +1620,7 @@ pub mod blob_containers { } } pub mod clear_legal_hold { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1690,7 +1690,7 @@ pub mod blob_containers { } } pub mod get_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1766,7 +1766,7 @@ pub mod blob_containers { } } pub mod create_or_update_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1834,7 +1834,7 @@ pub mod blob_containers { } } pub mod delete_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1902,7 +1902,7 @@ pub mod blob_containers { } } pub mod lock_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1975,7 +1975,7 @@ pub mod blob_containers { } } pub mod extend_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2048,7 +2048,7 @@ pub mod blob_containers { } } pub mod lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2069,7 +2069,7 @@ pub mod blob_containers { } } pub mod management_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2118,7 +2118,7 @@ pub mod management_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2190,7 +2190,7 @@ pub mod management_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2253,7 +2253,7 @@ pub mod management_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/storage/src/package_2018_07_only/operations.rs b/services/mgmt/storage/src/package_2018_07_only/operations.rs index 7aee96552b..d6e6e7aa54 100644 --- a/services/mgmt/storage/src/package_2018_07_only/operations.rs +++ b/services/mgmt/storage/src/package_2018_07_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Storage/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -104,7 +104,7 @@ pub mod skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -125,7 +125,7 @@ pub mod skus { } } pub mod storage_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, account_name: &StorageAccountCheckNameAvailabilityParameters, @@ -175,7 +175,7 @@ pub mod storage_accounts { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -247,7 +247,7 @@ pub mod storage_accounts { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -315,7 +315,7 @@ pub mod storage_accounts { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageAccount), @@ -387,7 +387,7 @@ pub mod storage_accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -448,7 +448,7 @@ pub mod storage_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -514,7 +514,7 @@ pub mod storage_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -582,7 +582,7 @@ pub mod storage_accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -651,7 +651,7 @@ pub mod storage_accounts { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -721,7 +721,7 @@ pub mod storage_accounts { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -791,7 +791,7 @@ pub mod storage_accounts { } } pub mod list_account_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -861,7 +861,7 @@ pub mod storage_accounts { } } pub mod list_service_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -926,7 +926,7 @@ pub mod storage_accounts { } } pub mod failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -952,7 +952,7 @@ pub mod storage_accounts { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1000,7 +1000,7 @@ pub mod usages { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1021,7 +1021,7 @@ pub mod usages { } } pub mod blob_services { - use crate::models::*; + use super::{models, models::*}; pub async fn get_service_properties( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1075,7 +1075,7 @@ pub mod blob_services { } } pub mod get_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1149,7 +1149,7 @@ pub mod blob_services { } } pub mod set_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1170,7 +1170,7 @@ pub mod blob_services { } } pub mod blob_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1217,7 +1217,7 @@ pub mod blob_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1284,7 +1284,7 @@ pub mod blob_containers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1353,7 +1353,7 @@ pub mod blob_containers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1422,7 +1422,7 @@ pub mod blob_containers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1485,7 +1485,7 @@ pub mod blob_containers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1555,7 +1555,7 @@ pub mod blob_containers { } } pub mod set_legal_hold { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1620,7 +1620,7 @@ pub mod blob_containers { } } pub mod clear_legal_hold { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1690,7 +1690,7 @@ pub mod blob_containers { } } pub mod get_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1766,7 +1766,7 @@ pub mod blob_containers { } } pub mod create_or_update_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1834,7 +1834,7 @@ pub mod blob_containers { } } pub mod delete_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1902,7 +1902,7 @@ pub mod blob_containers { } } pub mod lock_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1975,7 +1975,7 @@ pub mod blob_containers { } } pub mod extend_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2048,7 +2048,7 @@ pub mod blob_containers { } } pub mod lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/storage/src/package_2018_11/operations.rs b/services/mgmt/storage/src/package_2018_11/operations.rs index b8277f7bb7..b71d3e581a 100644 --- a/services/mgmt/storage/src/package_2018_11/operations.rs +++ b/services/mgmt/storage/src/package_2018_11/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Storage/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -104,7 +104,7 @@ pub mod skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -125,7 +125,7 @@ pub mod skus { } } pub mod storage_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, account_name: &StorageAccountCheckNameAvailabilityParameters, @@ -175,7 +175,7 @@ pub mod storage_accounts { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -247,7 +247,7 @@ pub mod storage_accounts { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -315,7 +315,7 @@ pub mod storage_accounts { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageAccount), @@ -387,7 +387,7 @@ pub mod storage_accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -448,7 +448,7 @@ pub mod storage_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -514,7 +514,7 @@ pub mod storage_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -582,7 +582,7 @@ pub mod storage_accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -651,7 +651,7 @@ pub mod storage_accounts { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -721,7 +721,7 @@ pub mod storage_accounts { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -791,7 +791,7 @@ pub mod storage_accounts { } } pub mod list_account_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -861,7 +861,7 @@ pub mod storage_accounts { } } pub mod list_service_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -926,7 +926,7 @@ pub mod storage_accounts { } } pub mod failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -997,7 +997,7 @@ pub mod storage_accounts { } } pub mod revoke_user_delegation_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1018,7 +1018,7 @@ pub mod storage_accounts { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1066,7 +1066,7 @@ pub mod usages { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1087,7 +1087,7 @@ pub mod usages { } } pub mod management_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1136,7 +1136,7 @@ pub mod management_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1208,7 +1208,7 @@ pub mod management_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1271,7 +1271,7 @@ pub mod management_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1297,7 +1297,7 @@ pub mod management_policies { } } pub mod blob_services { - use crate::models::*; + use super::{models, models::*}; pub async fn get_service_properties( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1351,7 +1351,7 @@ pub mod blob_services { } } pub mod get_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1425,7 +1425,7 @@ pub mod blob_services { } } pub mod set_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1446,7 +1446,7 @@ pub mod blob_services { } } pub mod blob_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1493,7 +1493,7 @@ pub mod blob_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1560,7 +1560,7 @@ pub mod blob_containers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1635,7 +1635,7 @@ pub mod blob_containers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(BlobContainer), @@ -1709,7 +1709,7 @@ pub mod blob_containers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1772,7 +1772,7 @@ pub mod blob_containers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1842,7 +1842,7 @@ pub mod blob_containers { } } pub mod set_legal_hold { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1907,7 +1907,7 @@ pub mod blob_containers { } } pub mod clear_legal_hold { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1977,7 +1977,7 @@ pub mod blob_containers { } } pub mod get_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2053,7 +2053,7 @@ pub mod blob_containers { } } pub mod create_or_update_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2121,7 +2121,7 @@ pub mod blob_containers { } } pub mod delete_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2189,7 +2189,7 @@ pub mod blob_containers { } } pub mod lock_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2262,7 +2262,7 @@ pub mod blob_containers { } } pub mod extend_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2335,7 +2335,7 @@ pub mod blob_containers { } } pub mod lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/storage/src/package_2019_04/operations.rs b/services/mgmt/storage/src/package_2019_04/operations.rs index 7e9af43bce..b0f332e365 100644 --- a/services/mgmt/storage/src/package_2019_04/operations.rs +++ b/services/mgmt/storage/src/package_2019_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Storage/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -104,7 +104,7 @@ pub mod skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -125,7 +125,7 @@ pub mod skus { } } pub mod storage_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, account_name: &StorageAccountCheckNameAvailabilityParameters, @@ -175,7 +175,7 @@ pub mod storage_accounts { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -247,7 +247,7 @@ pub mod storage_accounts { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -315,7 +315,7 @@ pub mod storage_accounts { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageAccount), @@ -387,7 +387,7 @@ pub mod storage_accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -448,7 +448,7 @@ pub mod storage_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -514,7 +514,7 @@ pub mod storage_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -582,7 +582,7 @@ pub mod storage_accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -655,7 +655,7 @@ pub mod storage_accounts { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -725,7 +725,7 @@ pub mod storage_accounts { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -795,7 +795,7 @@ pub mod storage_accounts { } } pub mod list_account_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -865,7 +865,7 @@ pub mod storage_accounts { } } pub mod list_service_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -930,7 +930,7 @@ pub mod storage_accounts { } } pub mod failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1001,7 +1001,7 @@ pub mod storage_accounts { } } pub mod revoke_user_delegation_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1022,7 +1022,7 @@ pub mod storage_accounts { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1070,7 +1070,7 @@ pub mod usages { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1091,7 +1091,7 @@ pub mod usages { } } pub mod management_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1140,7 +1140,7 @@ pub mod management_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1212,7 +1212,7 @@ pub mod management_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1275,7 +1275,7 @@ pub mod management_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1301,7 +1301,7 @@ pub mod management_policies { } } pub mod blob_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1348,7 +1348,7 @@ pub mod blob_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1420,7 +1420,7 @@ pub mod blob_services { } } pub mod get_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1494,7 +1494,7 @@ pub mod blob_services { } } pub mod set_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1515,7 +1515,7 @@ pub mod blob_services { } } pub mod blob_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1574,7 +1574,7 @@ pub mod blob_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1641,7 +1641,7 @@ pub mod blob_containers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1716,7 +1716,7 @@ pub mod blob_containers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(BlobContainer), @@ -1790,7 +1790,7 @@ pub mod blob_containers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1853,7 +1853,7 @@ pub mod blob_containers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1923,7 +1923,7 @@ pub mod blob_containers { } } pub mod set_legal_hold { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1988,7 +1988,7 @@ pub mod blob_containers { } } pub mod clear_legal_hold { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2058,7 +2058,7 @@ pub mod blob_containers { } } pub mod get_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2134,7 +2134,7 @@ pub mod blob_containers { } } pub mod create_or_update_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2202,7 +2202,7 @@ pub mod blob_containers { } } pub mod delete_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2270,7 +2270,7 @@ pub mod blob_containers { } } pub mod lock_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2343,7 +2343,7 @@ pub mod blob_containers { } } pub mod extend_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2416,7 +2416,7 @@ pub mod blob_containers { } } pub mod lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2437,7 +2437,7 @@ pub mod blob_containers { } } pub mod file_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2486,7 +2486,7 @@ pub mod file_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2563,7 +2563,7 @@ pub mod file_services { } } pub mod get_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2642,7 +2642,7 @@ pub mod file_services { } } pub mod set_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2666,7 +2666,7 @@ pub mod file_services { } } pub mod file_shares { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2727,7 +2727,7 @@ pub mod file_shares { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2799,7 +2799,7 @@ pub mod file_shares { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2879,7 +2879,7 @@ pub mod file_shares { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FileShare), @@ -2958,7 +2958,7 @@ pub mod file_shares { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3026,7 +3026,7 @@ pub mod file_shares { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/storage/src/package_2019_06/operations.rs b/services/mgmt/storage/src/package_2019_06/operations.rs index cb04224f22..fe3b0383c8 100644 --- a/services/mgmt/storage/src/package_2019_06/operations.rs +++ b/services/mgmt/storage/src/package_2019_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Storage/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -104,7 +104,7 @@ pub mod skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -125,7 +125,7 @@ pub mod skus { } } pub mod storage_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, account_name: &StorageAccountCheckNameAvailabilityParameters, @@ -175,7 +175,7 @@ pub mod storage_accounts { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -247,7 +247,7 @@ pub mod storage_accounts { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -315,7 +315,7 @@ pub mod storage_accounts { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageAccount), @@ -387,7 +387,7 @@ pub mod storage_accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -448,7 +448,7 @@ pub mod storage_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -514,7 +514,7 @@ pub mod storage_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -582,7 +582,7 @@ pub mod storage_accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -655,7 +655,7 @@ pub mod storage_accounts { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -725,7 +725,7 @@ pub mod storage_accounts { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -795,7 +795,7 @@ pub mod storage_accounts { } } pub mod list_account_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -865,7 +865,7 @@ pub mod storage_accounts { } } pub mod list_service_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -930,7 +930,7 @@ pub mod storage_accounts { } } pub mod failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1011,7 +1011,7 @@ pub mod storage_accounts { } } pub mod restore_blob_ranges { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BlobRestoreStatus), @@ -1082,7 +1082,7 @@ pub mod storage_accounts { } } pub mod revoke_user_delegation_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1103,7 +1103,7 @@ pub mod storage_accounts { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1151,7 +1151,7 @@ pub mod usages { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1172,7 +1172,7 @@ pub mod usages { } } pub mod management_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1221,7 +1221,7 @@ pub mod management_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1293,7 +1293,7 @@ pub mod management_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1356,7 +1356,7 @@ pub mod management_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1382,7 +1382,7 @@ pub mod management_policies { } } pub mod blob_inventory_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1433,7 +1433,7 @@ pub mod blob_inventory_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1510,7 +1510,7 @@ pub mod blob_inventory_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1578,7 +1578,7 @@ pub mod blob_inventory_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1653,7 +1653,7 @@ pub mod blob_inventory_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1677,7 +1677,7 @@ pub mod blob_inventory_policies { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1724,7 +1724,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1793,7 +1793,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1867,7 +1867,7 @@ pub mod private_endpoint_connections { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1935,7 +1935,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1964,7 +1964,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_storage_account( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2016,7 +2016,7 @@ pub mod private_link_resources { } } pub mod list_by_storage_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2037,7 +2037,7 @@ pub mod private_link_resources { } } pub mod object_replication_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2086,7 +2086,7 @@ pub mod object_replication_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2158,7 +2158,7 @@ pub mod object_replication_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2235,7 +2235,7 @@ pub mod object_replication_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2303,7 +2303,7 @@ pub mod object_replication_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2332,7 +2332,7 @@ pub mod object_replication_policies { } } pub mod encryption_scopes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2383,7 +2383,7 @@ pub mod encryption_scopes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2463,7 +2463,7 @@ pub mod encryption_scopes { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(EncryptionScope), @@ -2542,7 +2542,7 @@ pub mod encryption_scopes { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2610,7 +2610,7 @@ pub mod encryption_scopes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2631,7 +2631,7 @@ pub mod encryption_scopes { } } pub mod blob_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2678,7 +2678,7 @@ pub mod blob_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2750,7 +2750,7 @@ pub mod blob_services { } } pub mod get_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2824,7 +2824,7 @@ pub mod blob_services { } } pub mod set_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2845,7 +2845,7 @@ pub mod blob_services { } } pub mod blob_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2904,7 +2904,7 @@ pub mod blob_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2971,7 +2971,7 @@ pub mod blob_containers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3046,7 +3046,7 @@ pub mod blob_containers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(BlobContainer), @@ -3120,7 +3120,7 @@ pub mod blob_containers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3183,7 +3183,7 @@ pub mod blob_containers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3253,7 +3253,7 @@ pub mod blob_containers { } } pub mod set_legal_hold { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3318,7 +3318,7 @@ pub mod blob_containers { } } pub mod clear_legal_hold { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3388,7 +3388,7 @@ pub mod blob_containers { } } pub mod get_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3464,7 +3464,7 @@ pub mod blob_containers { } } pub mod create_or_update_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3532,7 +3532,7 @@ pub mod blob_containers { } } pub mod delete_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3600,7 +3600,7 @@ pub mod blob_containers { } } pub mod lock_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3673,7 +3673,7 @@ pub mod blob_containers { } } pub mod extend_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3746,7 +3746,7 @@ pub mod blob_containers { } } pub mod lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3767,7 +3767,7 @@ pub mod blob_containers { } } pub mod file_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3816,7 +3816,7 @@ pub mod file_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3893,7 +3893,7 @@ pub mod file_services { } } pub mod get_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3972,7 +3972,7 @@ pub mod file_services { } } pub mod set_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3996,7 +3996,7 @@ pub mod file_services { } } pub mod file_shares { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4057,7 +4057,7 @@ pub mod file_shares { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4133,7 +4133,7 @@ pub mod file_shares { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4213,7 +4213,7 @@ pub mod file_shares { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FileShare), @@ -4292,7 +4292,7 @@ pub mod file_shares { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4360,7 +4360,7 @@ pub mod file_shares { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4437,7 +4437,7 @@ pub mod file_shares { } } pub mod restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4461,7 +4461,7 @@ pub mod file_shares { } } pub mod queue_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4510,7 +4510,7 @@ pub mod queue_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4587,7 +4587,7 @@ pub mod queue_services { } } pub mod get_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4666,7 +4666,7 @@ pub mod queue_services { } } pub mod set_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4690,7 +4690,7 @@ pub mod queue_services { } } pub mod queue { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4741,7 +4741,7 @@ pub mod queue { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4815,7 +4815,7 @@ pub mod queue { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4889,7 +4889,7 @@ pub mod queue { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4956,7 +4956,7 @@ pub mod queue { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5034,7 +5034,7 @@ pub mod queue { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5058,7 +5058,7 @@ pub mod queue { } } pub mod table_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5107,7 +5107,7 @@ pub mod table_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5184,7 +5184,7 @@ pub mod table_services { } } pub mod get_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5263,7 +5263,7 @@ pub mod table_services { } } pub mod set_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5287,7 +5287,7 @@ pub mod table_services { } } pub mod table { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5338,7 +5338,7 @@ pub mod table { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5410,7 +5410,7 @@ pub mod table { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5482,7 +5482,7 @@ pub mod table { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5549,7 +5549,7 @@ pub mod table { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5619,7 +5619,7 @@ pub mod table { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/storage/src/package_2020_08_preview/operations.rs b/services/mgmt/storage/src/package_2020_08_preview/operations.rs index d48c468abc..4b501a6953 100644 --- a/services/mgmt/storage/src/package_2020_08_preview/operations.rs +++ b/services/mgmt/storage/src/package_2020_08_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Storage/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -104,7 +104,7 @@ pub mod skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -125,7 +125,7 @@ pub mod skus { } } pub mod storage_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, account_name: &StorageAccountCheckNameAvailabilityParameters, @@ -175,7 +175,7 @@ pub mod storage_accounts { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -247,7 +247,7 @@ pub mod storage_accounts { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -315,7 +315,7 @@ pub mod storage_accounts { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageAccount), @@ -387,7 +387,7 @@ pub mod storage_accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -448,7 +448,7 @@ pub mod storage_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -514,7 +514,7 @@ pub mod storage_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -582,7 +582,7 @@ pub mod storage_accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -655,7 +655,7 @@ pub mod storage_accounts { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -725,7 +725,7 @@ pub mod storage_accounts { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -795,7 +795,7 @@ pub mod storage_accounts { } } pub mod list_account_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -865,7 +865,7 @@ pub mod storage_accounts { } } pub mod list_service_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -930,7 +930,7 @@ pub mod storage_accounts { } } pub mod failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1011,7 +1011,7 @@ pub mod storage_accounts { } } pub mod restore_blob_ranges { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BlobRestoreStatus), @@ -1082,7 +1082,7 @@ pub mod storage_accounts { } } pub mod revoke_user_delegation_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1103,7 +1103,7 @@ pub mod storage_accounts { } } pub mod deleted_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1148,7 +1148,7 @@ pub mod deleted_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1218,7 +1218,7 @@ pub mod deleted_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1242,7 +1242,7 @@ pub mod deleted_accounts { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1290,7 +1290,7 @@ pub mod usages { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1311,7 +1311,7 @@ pub mod usages { } } pub mod management_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1360,7 +1360,7 @@ pub mod management_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1432,7 +1432,7 @@ pub mod management_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1495,7 +1495,7 @@ pub mod management_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1521,7 +1521,7 @@ pub mod management_policies { } } pub mod blob_inventory_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1572,7 +1572,7 @@ pub mod blob_inventory_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1649,7 +1649,7 @@ pub mod blob_inventory_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1717,7 +1717,7 @@ pub mod blob_inventory_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1792,7 +1792,7 @@ pub mod blob_inventory_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1816,7 +1816,7 @@ pub mod blob_inventory_policies { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1863,7 +1863,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1932,7 +1932,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2006,7 +2006,7 @@ pub mod private_endpoint_connections { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2074,7 +2074,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2103,7 +2103,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_storage_account( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2155,7 +2155,7 @@ pub mod private_link_resources { } } pub mod list_by_storage_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2176,7 +2176,7 @@ pub mod private_link_resources { } } pub mod object_replication_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2225,7 +2225,7 @@ pub mod object_replication_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2297,7 +2297,7 @@ pub mod object_replication_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2374,7 +2374,7 @@ pub mod object_replication_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2442,7 +2442,7 @@ pub mod object_replication_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2471,7 +2471,7 @@ pub mod object_replication_policies { } } pub mod encryption_scopes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2522,7 +2522,7 @@ pub mod encryption_scopes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2602,7 +2602,7 @@ pub mod encryption_scopes { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(EncryptionScope), @@ -2681,7 +2681,7 @@ pub mod encryption_scopes { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2749,7 +2749,7 @@ pub mod encryption_scopes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2770,7 +2770,7 @@ pub mod encryption_scopes { } } pub mod blob_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2817,7 +2817,7 @@ pub mod blob_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2889,7 +2889,7 @@ pub mod blob_services { } } pub mod get_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2963,7 +2963,7 @@ pub mod blob_services { } } pub mod set_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2984,7 +2984,7 @@ pub mod blob_services { } } pub mod blob_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3043,7 +3043,7 @@ pub mod blob_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3110,7 +3110,7 @@ pub mod blob_containers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3185,7 +3185,7 @@ pub mod blob_containers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(BlobContainer), @@ -3259,7 +3259,7 @@ pub mod blob_containers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3322,7 +3322,7 @@ pub mod blob_containers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3392,7 +3392,7 @@ pub mod blob_containers { } } pub mod set_legal_hold { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3457,7 +3457,7 @@ pub mod blob_containers { } } pub mod clear_legal_hold { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3527,7 +3527,7 @@ pub mod blob_containers { } } pub mod get_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3603,7 +3603,7 @@ pub mod blob_containers { } } pub mod create_or_update_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3671,7 +3671,7 @@ pub mod blob_containers { } } pub mod delete_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3739,7 +3739,7 @@ pub mod blob_containers { } } pub mod lock_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3812,7 +3812,7 @@ pub mod blob_containers { } } pub mod extend_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3885,7 +3885,7 @@ pub mod blob_containers { } } pub mod lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3906,7 +3906,7 @@ pub mod blob_containers { } } pub mod file_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3955,7 +3955,7 @@ pub mod file_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4032,7 +4032,7 @@ pub mod file_services { } } pub mod get_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4111,7 +4111,7 @@ pub mod file_services { } } pub mod set_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4135,7 +4135,7 @@ pub mod file_services { } } pub mod file_shares { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4196,7 +4196,7 @@ pub mod file_shares { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4276,7 +4276,7 @@ pub mod file_shares { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4360,7 +4360,7 @@ pub mod file_shares { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FileShare), @@ -4439,7 +4439,7 @@ pub mod file_shares { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4511,7 +4511,7 @@ pub mod file_shares { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4588,7 +4588,7 @@ pub mod file_shares { } } pub mod restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4612,7 +4612,7 @@ pub mod file_shares { } } pub mod queue_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4661,7 +4661,7 @@ pub mod queue_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4738,7 +4738,7 @@ pub mod queue_services { } } pub mod get_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4817,7 +4817,7 @@ pub mod queue_services { } } pub mod set_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4841,7 +4841,7 @@ pub mod queue_services { } } pub mod queue { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4892,7 +4892,7 @@ pub mod queue { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4966,7 +4966,7 @@ pub mod queue { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5040,7 +5040,7 @@ pub mod queue { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5107,7 +5107,7 @@ pub mod queue { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5185,7 +5185,7 @@ pub mod queue { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5209,7 +5209,7 @@ pub mod queue { } } pub mod table_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5258,7 +5258,7 @@ pub mod table_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5335,7 +5335,7 @@ pub mod table_services { } } pub mod get_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5414,7 +5414,7 @@ pub mod table_services { } } pub mod set_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5438,7 +5438,7 @@ pub mod table_services { } } pub mod table { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5489,7 +5489,7 @@ pub mod table { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5561,7 +5561,7 @@ pub mod table { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5633,7 +5633,7 @@ pub mod table { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5700,7 +5700,7 @@ pub mod table { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5770,7 +5770,7 @@ pub mod table { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/storage/src/package_2021_01/operations.rs b/services/mgmt/storage/src/package_2021_01/operations.rs index d48c468abc..4b501a6953 100644 --- a/services/mgmt/storage/src/package_2021_01/operations.rs +++ b/services/mgmt/storage/src/package_2021_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Storage/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -104,7 +104,7 @@ pub mod skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -125,7 +125,7 @@ pub mod skus { } } pub mod storage_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, account_name: &StorageAccountCheckNameAvailabilityParameters, @@ -175,7 +175,7 @@ pub mod storage_accounts { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -247,7 +247,7 @@ pub mod storage_accounts { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -315,7 +315,7 @@ pub mod storage_accounts { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageAccount), @@ -387,7 +387,7 @@ pub mod storage_accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -448,7 +448,7 @@ pub mod storage_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -514,7 +514,7 @@ pub mod storage_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -582,7 +582,7 @@ pub mod storage_accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -655,7 +655,7 @@ pub mod storage_accounts { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -725,7 +725,7 @@ pub mod storage_accounts { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -795,7 +795,7 @@ pub mod storage_accounts { } } pub mod list_account_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -865,7 +865,7 @@ pub mod storage_accounts { } } pub mod list_service_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -930,7 +930,7 @@ pub mod storage_accounts { } } pub mod failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1011,7 +1011,7 @@ pub mod storage_accounts { } } pub mod restore_blob_ranges { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BlobRestoreStatus), @@ -1082,7 +1082,7 @@ pub mod storage_accounts { } } pub mod revoke_user_delegation_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1103,7 +1103,7 @@ pub mod storage_accounts { } } pub mod deleted_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1148,7 +1148,7 @@ pub mod deleted_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1218,7 +1218,7 @@ pub mod deleted_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1242,7 +1242,7 @@ pub mod deleted_accounts { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1290,7 +1290,7 @@ pub mod usages { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1311,7 +1311,7 @@ pub mod usages { } } pub mod management_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1360,7 +1360,7 @@ pub mod management_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1432,7 +1432,7 @@ pub mod management_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1495,7 +1495,7 @@ pub mod management_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1521,7 +1521,7 @@ pub mod management_policies { } } pub mod blob_inventory_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1572,7 +1572,7 @@ pub mod blob_inventory_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1649,7 +1649,7 @@ pub mod blob_inventory_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1717,7 +1717,7 @@ pub mod blob_inventory_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1792,7 +1792,7 @@ pub mod blob_inventory_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1816,7 +1816,7 @@ pub mod blob_inventory_policies { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1863,7 +1863,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1932,7 +1932,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2006,7 +2006,7 @@ pub mod private_endpoint_connections { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2074,7 +2074,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2103,7 +2103,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_storage_account( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2155,7 +2155,7 @@ pub mod private_link_resources { } } pub mod list_by_storage_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2176,7 +2176,7 @@ pub mod private_link_resources { } } pub mod object_replication_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2225,7 +2225,7 @@ pub mod object_replication_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2297,7 +2297,7 @@ pub mod object_replication_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2374,7 +2374,7 @@ pub mod object_replication_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2442,7 +2442,7 @@ pub mod object_replication_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2471,7 +2471,7 @@ pub mod object_replication_policies { } } pub mod encryption_scopes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2522,7 +2522,7 @@ pub mod encryption_scopes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2602,7 +2602,7 @@ pub mod encryption_scopes { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(EncryptionScope), @@ -2681,7 +2681,7 @@ pub mod encryption_scopes { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2749,7 +2749,7 @@ pub mod encryption_scopes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2770,7 +2770,7 @@ pub mod encryption_scopes { } } pub mod blob_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2817,7 +2817,7 @@ pub mod blob_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2889,7 +2889,7 @@ pub mod blob_services { } } pub mod get_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2963,7 +2963,7 @@ pub mod blob_services { } } pub mod set_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2984,7 +2984,7 @@ pub mod blob_services { } } pub mod blob_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3043,7 +3043,7 @@ pub mod blob_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3110,7 +3110,7 @@ pub mod blob_containers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3185,7 +3185,7 @@ pub mod blob_containers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(BlobContainer), @@ -3259,7 +3259,7 @@ pub mod blob_containers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3322,7 +3322,7 @@ pub mod blob_containers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3392,7 +3392,7 @@ pub mod blob_containers { } } pub mod set_legal_hold { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3457,7 +3457,7 @@ pub mod blob_containers { } } pub mod clear_legal_hold { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3527,7 +3527,7 @@ pub mod blob_containers { } } pub mod get_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3603,7 +3603,7 @@ pub mod blob_containers { } } pub mod create_or_update_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3671,7 +3671,7 @@ pub mod blob_containers { } } pub mod delete_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3739,7 +3739,7 @@ pub mod blob_containers { } } pub mod lock_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3812,7 +3812,7 @@ pub mod blob_containers { } } pub mod extend_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3885,7 +3885,7 @@ pub mod blob_containers { } } pub mod lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3906,7 +3906,7 @@ pub mod blob_containers { } } pub mod file_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3955,7 +3955,7 @@ pub mod file_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4032,7 +4032,7 @@ pub mod file_services { } } pub mod get_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4111,7 +4111,7 @@ pub mod file_services { } } pub mod set_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4135,7 +4135,7 @@ pub mod file_services { } } pub mod file_shares { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4196,7 +4196,7 @@ pub mod file_shares { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4276,7 +4276,7 @@ pub mod file_shares { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4360,7 +4360,7 @@ pub mod file_shares { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FileShare), @@ -4439,7 +4439,7 @@ pub mod file_shares { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4511,7 +4511,7 @@ pub mod file_shares { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4588,7 +4588,7 @@ pub mod file_shares { } } pub mod restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4612,7 +4612,7 @@ pub mod file_shares { } } pub mod queue_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4661,7 +4661,7 @@ pub mod queue_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4738,7 +4738,7 @@ pub mod queue_services { } } pub mod get_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4817,7 +4817,7 @@ pub mod queue_services { } } pub mod set_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4841,7 +4841,7 @@ pub mod queue_services { } } pub mod queue { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4892,7 +4892,7 @@ pub mod queue { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4966,7 +4966,7 @@ pub mod queue { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5040,7 +5040,7 @@ pub mod queue { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5107,7 +5107,7 @@ pub mod queue { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5185,7 +5185,7 @@ pub mod queue { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5209,7 +5209,7 @@ pub mod queue { } } pub mod table_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5258,7 +5258,7 @@ pub mod table_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5335,7 +5335,7 @@ pub mod table_services { } } pub mod get_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5414,7 +5414,7 @@ pub mod table_services { } } pub mod set_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5438,7 +5438,7 @@ pub mod table_services { } } pub mod table { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5489,7 +5489,7 @@ pub mod table { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5561,7 +5561,7 @@ pub mod table { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5633,7 +5633,7 @@ pub mod table { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5700,7 +5700,7 @@ pub mod table { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5770,7 +5770,7 @@ pub mod table { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/storage/src/package_2021_02/operations.rs b/services/mgmt/storage/src/package_2021_02/operations.rs index d48c468abc..4b501a6953 100644 --- a/services/mgmt/storage/src/package_2021_02/operations.rs +++ b/services/mgmt/storage/src/package_2021_02/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Storage/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -104,7 +104,7 @@ pub mod skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -125,7 +125,7 @@ pub mod skus { } } pub mod storage_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, account_name: &StorageAccountCheckNameAvailabilityParameters, @@ -175,7 +175,7 @@ pub mod storage_accounts { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -247,7 +247,7 @@ pub mod storage_accounts { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -315,7 +315,7 @@ pub mod storage_accounts { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageAccount), @@ -387,7 +387,7 @@ pub mod storage_accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -448,7 +448,7 @@ pub mod storage_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -514,7 +514,7 @@ pub mod storage_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -582,7 +582,7 @@ pub mod storage_accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -655,7 +655,7 @@ pub mod storage_accounts { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -725,7 +725,7 @@ pub mod storage_accounts { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -795,7 +795,7 @@ pub mod storage_accounts { } } pub mod list_account_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -865,7 +865,7 @@ pub mod storage_accounts { } } pub mod list_service_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -930,7 +930,7 @@ pub mod storage_accounts { } } pub mod failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1011,7 +1011,7 @@ pub mod storage_accounts { } } pub mod restore_blob_ranges { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BlobRestoreStatus), @@ -1082,7 +1082,7 @@ pub mod storage_accounts { } } pub mod revoke_user_delegation_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1103,7 +1103,7 @@ pub mod storage_accounts { } } pub mod deleted_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1148,7 +1148,7 @@ pub mod deleted_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1218,7 +1218,7 @@ pub mod deleted_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1242,7 +1242,7 @@ pub mod deleted_accounts { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1290,7 +1290,7 @@ pub mod usages { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1311,7 +1311,7 @@ pub mod usages { } } pub mod management_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1360,7 +1360,7 @@ pub mod management_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1432,7 +1432,7 @@ pub mod management_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1495,7 +1495,7 @@ pub mod management_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1521,7 +1521,7 @@ pub mod management_policies { } } pub mod blob_inventory_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1572,7 +1572,7 @@ pub mod blob_inventory_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1649,7 +1649,7 @@ pub mod blob_inventory_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1717,7 +1717,7 @@ pub mod blob_inventory_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1792,7 +1792,7 @@ pub mod blob_inventory_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1816,7 +1816,7 @@ pub mod blob_inventory_policies { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1863,7 +1863,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1932,7 +1932,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2006,7 +2006,7 @@ pub mod private_endpoint_connections { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2074,7 +2074,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2103,7 +2103,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_storage_account( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2155,7 +2155,7 @@ pub mod private_link_resources { } } pub mod list_by_storage_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2176,7 +2176,7 @@ pub mod private_link_resources { } } pub mod object_replication_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2225,7 +2225,7 @@ pub mod object_replication_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2297,7 +2297,7 @@ pub mod object_replication_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2374,7 +2374,7 @@ pub mod object_replication_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2442,7 +2442,7 @@ pub mod object_replication_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2471,7 +2471,7 @@ pub mod object_replication_policies { } } pub mod encryption_scopes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2522,7 +2522,7 @@ pub mod encryption_scopes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2602,7 +2602,7 @@ pub mod encryption_scopes { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(EncryptionScope), @@ -2681,7 +2681,7 @@ pub mod encryption_scopes { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2749,7 +2749,7 @@ pub mod encryption_scopes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2770,7 +2770,7 @@ pub mod encryption_scopes { } } pub mod blob_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2817,7 +2817,7 @@ pub mod blob_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2889,7 +2889,7 @@ pub mod blob_services { } } pub mod get_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2963,7 +2963,7 @@ pub mod blob_services { } } pub mod set_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2984,7 +2984,7 @@ pub mod blob_services { } } pub mod blob_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3043,7 +3043,7 @@ pub mod blob_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3110,7 +3110,7 @@ pub mod blob_containers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3185,7 +3185,7 @@ pub mod blob_containers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(BlobContainer), @@ -3259,7 +3259,7 @@ pub mod blob_containers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3322,7 +3322,7 @@ pub mod blob_containers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3392,7 +3392,7 @@ pub mod blob_containers { } } pub mod set_legal_hold { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3457,7 +3457,7 @@ pub mod blob_containers { } } pub mod clear_legal_hold { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3527,7 +3527,7 @@ pub mod blob_containers { } } pub mod get_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3603,7 +3603,7 @@ pub mod blob_containers { } } pub mod create_or_update_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3671,7 +3671,7 @@ pub mod blob_containers { } } pub mod delete_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3739,7 +3739,7 @@ pub mod blob_containers { } } pub mod lock_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3812,7 +3812,7 @@ pub mod blob_containers { } } pub mod extend_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3885,7 +3885,7 @@ pub mod blob_containers { } } pub mod lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3906,7 +3906,7 @@ pub mod blob_containers { } } pub mod file_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3955,7 +3955,7 @@ pub mod file_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4032,7 +4032,7 @@ pub mod file_services { } } pub mod get_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4111,7 +4111,7 @@ pub mod file_services { } } pub mod set_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4135,7 +4135,7 @@ pub mod file_services { } } pub mod file_shares { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4196,7 +4196,7 @@ pub mod file_shares { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4276,7 +4276,7 @@ pub mod file_shares { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4360,7 +4360,7 @@ pub mod file_shares { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FileShare), @@ -4439,7 +4439,7 @@ pub mod file_shares { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4511,7 +4511,7 @@ pub mod file_shares { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4588,7 +4588,7 @@ pub mod file_shares { } } pub mod restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4612,7 +4612,7 @@ pub mod file_shares { } } pub mod queue_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4661,7 +4661,7 @@ pub mod queue_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4738,7 +4738,7 @@ pub mod queue_services { } } pub mod get_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4817,7 +4817,7 @@ pub mod queue_services { } } pub mod set_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4841,7 +4841,7 @@ pub mod queue_services { } } pub mod queue { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4892,7 +4892,7 @@ pub mod queue { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4966,7 +4966,7 @@ pub mod queue { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5040,7 +5040,7 @@ pub mod queue { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5107,7 +5107,7 @@ pub mod queue { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5185,7 +5185,7 @@ pub mod queue { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5209,7 +5209,7 @@ pub mod queue { } } pub mod table_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5258,7 +5258,7 @@ pub mod table_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5335,7 +5335,7 @@ pub mod table_services { } } pub mod get_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5414,7 +5414,7 @@ pub mod table_services { } } pub mod set_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5438,7 +5438,7 @@ pub mod table_services { } } pub mod table { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5489,7 +5489,7 @@ pub mod table { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5561,7 +5561,7 @@ pub mod table { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5633,7 +5633,7 @@ pub mod table { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5700,7 +5700,7 @@ pub mod table { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5770,7 +5770,7 @@ pub mod table { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/storage/src/package_2021_04/operations.rs b/services/mgmt/storage/src/package_2021_04/operations.rs index b087b68af3..408f488a4a 100644 --- a/services/mgmt/storage/src/package_2021_04/operations.rs +++ b/services/mgmt/storage/src/package_2021_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Storage/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -104,7 +104,7 @@ pub mod skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -125,7 +125,7 @@ pub mod skus { } } pub mod storage_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, account_name: &StorageAccountCheckNameAvailabilityParameters, @@ -175,7 +175,7 @@ pub mod storage_accounts { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -247,7 +247,7 @@ pub mod storage_accounts { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -315,7 +315,7 @@ pub mod storage_accounts { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageAccount), @@ -387,7 +387,7 @@ pub mod storage_accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -448,7 +448,7 @@ pub mod storage_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -514,7 +514,7 @@ pub mod storage_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -582,7 +582,7 @@ pub mod storage_accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -655,7 +655,7 @@ pub mod storage_accounts { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -725,7 +725,7 @@ pub mod storage_accounts { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -795,7 +795,7 @@ pub mod storage_accounts { } } pub mod list_account_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -865,7 +865,7 @@ pub mod storage_accounts { } } pub mod list_service_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -930,7 +930,7 @@ pub mod storage_accounts { } } pub mod failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1011,7 +1011,7 @@ pub mod storage_accounts { } } pub mod restore_blob_ranges { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BlobRestoreStatus), @@ -1082,7 +1082,7 @@ pub mod storage_accounts { } } pub mod revoke_user_delegation_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1103,7 +1103,7 @@ pub mod storage_accounts { } } pub mod deleted_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1148,7 +1148,7 @@ pub mod deleted_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1218,7 +1218,7 @@ pub mod deleted_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1242,7 +1242,7 @@ pub mod deleted_accounts { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1290,7 +1290,7 @@ pub mod usages { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1311,7 +1311,7 @@ pub mod usages { } } pub mod management_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1360,7 +1360,7 @@ pub mod management_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1432,7 +1432,7 @@ pub mod management_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1495,7 +1495,7 @@ pub mod management_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1521,7 +1521,7 @@ pub mod management_policies { } } pub mod blob_inventory_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1572,7 +1572,7 @@ pub mod blob_inventory_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1649,7 +1649,7 @@ pub mod blob_inventory_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1717,7 +1717,7 @@ pub mod blob_inventory_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1792,7 +1792,7 @@ pub mod blob_inventory_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1816,7 +1816,7 @@ pub mod blob_inventory_policies { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1863,7 +1863,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1932,7 +1932,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2006,7 +2006,7 @@ pub mod private_endpoint_connections { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2074,7 +2074,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2103,7 +2103,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_storage_account( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2155,7 +2155,7 @@ pub mod private_link_resources { } } pub mod list_by_storage_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2176,7 +2176,7 @@ pub mod private_link_resources { } } pub mod object_replication_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2225,7 +2225,7 @@ pub mod object_replication_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2297,7 +2297,7 @@ pub mod object_replication_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2374,7 +2374,7 @@ pub mod object_replication_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2442,7 +2442,7 @@ pub mod object_replication_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2471,7 +2471,7 @@ pub mod object_replication_policies { } } pub mod encryption_scopes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2522,7 +2522,7 @@ pub mod encryption_scopes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2602,7 +2602,7 @@ pub mod encryption_scopes { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(EncryptionScope), @@ -2681,7 +2681,7 @@ pub mod encryption_scopes { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2749,7 +2749,7 @@ pub mod encryption_scopes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2770,7 +2770,7 @@ pub mod encryption_scopes { } } pub mod blob_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2817,7 +2817,7 @@ pub mod blob_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2889,7 +2889,7 @@ pub mod blob_services { } } pub mod get_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2963,7 +2963,7 @@ pub mod blob_services { } } pub mod set_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2984,7 +2984,7 @@ pub mod blob_services { } } pub mod blob_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3043,7 +3043,7 @@ pub mod blob_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3110,7 +3110,7 @@ pub mod blob_containers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3185,7 +3185,7 @@ pub mod blob_containers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(BlobContainer), @@ -3259,7 +3259,7 @@ pub mod blob_containers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3322,7 +3322,7 @@ pub mod blob_containers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3392,7 +3392,7 @@ pub mod blob_containers { } } pub mod set_legal_hold { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3457,7 +3457,7 @@ pub mod blob_containers { } } pub mod clear_legal_hold { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3527,7 +3527,7 @@ pub mod blob_containers { } } pub mod get_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3603,7 +3603,7 @@ pub mod blob_containers { } } pub mod create_or_update_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3671,7 +3671,7 @@ pub mod blob_containers { } } pub mod delete_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3739,7 +3739,7 @@ pub mod blob_containers { } } pub mod lock_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3812,7 +3812,7 @@ pub mod blob_containers { } } pub mod extend_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3885,7 +3885,7 @@ pub mod blob_containers { } } pub mod lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3947,7 +3947,7 @@ pub mod blob_containers { } } pub mod object_level_worm { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3976,7 +3976,7 @@ pub mod blob_containers { } } pub mod file_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4025,7 +4025,7 @@ pub mod file_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4102,7 +4102,7 @@ pub mod file_services { } } pub mod get_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4181,7 +4181,7 @@ pub mod file_services { } } pub mod set_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4205,7 +4205,7 @@ pub mod file_services { } } pub mod file_shares { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4266,7 +4266,7 @@ pub mod file_shares { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4346,7 +4346,7 @@ pub mod file_shares { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4430,7 +4430,7 @@ pub mod file_shares { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FileShare), @@ -4509,7 +4509,7 @@ pub mod file_shares { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4585,7 +4585,7 @@ pub mod file_shares { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4662,7 +4662,7 @@ pub mod file_shares { } } pub mod restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4744,7 +4744,7 @@ pub mod file_shares { } } pub mod lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4768,7 +4768,7 @@ pub mod file_shares { } } pub mod queue_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4817,7 +4817,7 @@ pub mod queue_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4894,7 +4894,7 @@ pub mod queue_services { } } pub mod get_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4973,7 +4973,7 @@ pub mod queue_services { } } pub mod set_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4997,7 +4997,7 @@ pub mod queue_services { } } pub mod queue { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5048,7 +5048,7 @@ pub mod queue { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5122,7 +5122,7 @@ pub mod queue { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5196,7 +5196,7 @@ pub mod queue { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5263,7 +5263,7 @@ pub mod queue { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5341,7 +5341,7 @@ pub mod queue { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5365,7 +5365,7 @@ pub mod queue { } } pub mod table_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5414,7 +5414,7 @@ pub mod table_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5491,7 +5491,7 @@ pub mod table_services { } } pub mod get_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5570,7 +5570,7 @@ pub mod table_services { } } pub mod set_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5594,7 +5594,7 @@ pub mod table_services { } } pub mod table { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5645,7 +5645,7 @@ pub mod table { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5717,7 +5717,7 @@ pub mod table { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5789,7 +5789,7 @@ pub mod table { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5856,7 +5856,7 @@ pub mod table { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5926,7 +5926,7 @@ pub mod table { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/storage/src/package_2021_06/operations.rs b/services/mgmt/storage/src/package_2021_06/operations.rs index 3ccb5398da..8f71951c87 100644 --- a/services/mgmt/storage/src/package_2021_06/operations.rs +++ b/services/mgmt/storage/src/package_2021_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Storage/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -104,7 +104,7 @@ pub mod skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -125,7 +125,7 @@ pub mod skus { } } pub mod storage_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, account_name: &StorageAccountCheckNameAvailabilityParameters, @@ -175,7 +175,7 @@ pub mod storage_accounts { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -247,7 +247,7 @@ pub mod storage_accounts { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -315,7 +315,7 @@ pub mod storage_accounts { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageAccount), @@ -387,7 +387,7 @@ pub mod storage_accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -448,7 +448,7 @@ pub mod storage_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -514,7 +514,7 @@ pub mod storage_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -582,7 +582,7 @@ pub mod storage_accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -655,7 +655,7 @@ pub mod storage_accounts { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -725,7 +725,7 @@ pub mod storage_accounts { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -795,7 +795,7 @@ pub mod storage_accounts { } } pub mod list_account_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -865,7 +865,7 @@ pub mod storage_accounts { } } pub mod list_service_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -930,7 +930,7 @@ pub mod storage_accounts { } } pub mod failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1006,7 +1006,7 @@ pub mod storage_accounts { } } pub mod hierarchical_namespace_migration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1083,7 +1083,7 @@ pub mod storage_accounts { } } pub mod abort_hierarchical_namespace_migration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1167,7 +1167,7 @@ pub mod storage_accounts { } } pub mod restore_blob_ranges { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BlobRestoreStatus), @@ -1238,7 +1238,7 @@ pub mod storage_accounts { } } pub mod revoke_user_delegation_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1259,7 +1259,7 @@ pub mod storage_accounts { } } pub mod deleted_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1304,7 +1304,7 @@ pub mod deleted_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1374,7 +1374,7 @@ pub mod deleted_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1398,7 +1398,7 @@ pub mod deleted_accounts { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1446,7 +1446,7 @@ pub mod usages { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1467,7 +1467,7 @@ pub mod usages { } } pub mod management_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1516,7 +1516,7 @@ pub mod management_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1588,7 +1588,7 @@ pub mod management_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1651,7 +1651,7 @@ pub mod management_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1677,7 +1677,7 @@ pub mod management_policies { } } pub mod blob_inventory_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1728,7 +1728,7 @@ pub mod blob_inventory_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1805,7 +1805,7 @@ pub mod blob_inventory_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1873,7 +1873,7 @@ pub mod blob_inventory_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1948,7 +1948,7 @@ pub mod blob_inventory_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1972,7 +1972,7 @@ pub mod blob_inventory_policies { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2019,7 +2019,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2088,7 +2088,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2162,7 +2162,7 @@ pub mod private_endpoint_connections { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2230,7 +2230,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2259,7 +2259,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_storage_account( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2311,7 +2311,7 @@ pub mod private_link_resources { } } pub mod list_by_storage_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2332,7 +2332,7 @@ pub mod private_link_resources { } } pub mod object_replication_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2381,7 +2381,7 @@ pub mod object_replication_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2453,7 +2453,7 @@ pub mod object_replication_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2530,7 +2530,7 @@ pub mod object_replication_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2598,7 +2598,7 @@ pub mod object_replication_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2627,7 +2627,7 @@ pub mod object_replication_policies { } } pub mod encryption_scopes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2678,7 +2678,7 @@ pub mod encryption_scopes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2758,7 +2758,7 @@ pub mod encryption_scopes { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(EncryptionScope), @@ -2837,7 +2837,7 @@ pub mod encryption_scopes { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2905,7 +2905,7 @@ pub mod encryption_scopes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2926,7 +2926,7 @@ pub mod encryption_scopes { } } pub mod blob_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2973,7 +2973,7 @@ pub mod blob_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3045,7 +3045,7 @@ pub mod blob_services { } } pub mod get_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3119,7 +3119,7 @@ pub mod blob_services { } } pub mod set_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3140,7 +3140,7 @@ pub mod blob_services { } } pub mod blob_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -3199,7 +3199,7 @@ pub mod blob_containers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3266,7 +3266,7 @@ pub mod blob_containers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3341,7 +3341,7 @@ pub mod blob_containers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(BlobContainer), @@ -3415,7 +3415,7 @@ pub mod blob_containers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3478,7 +3478,7 @@ pub mod blob_containers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3548,7 +3548,7 @@ pub mod blob_containers { } } pub mod set_legal_hold { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3613,7 +3613,7 @@ pub mod blob_containers { } } pub mod clear_legal_hold { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3683,7 +3683,7 @@ pub mod blob_containers { } } pub mod get_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3759,7 +3759,7 @@ pub mod blob_containers { } } pub mod create_or_update_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3827,7 +3827,7 @@ pub mod blob_containers { } } pub mod delete_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3895,7 +3895,7 @@ pub mod blob_containers { } } pub mod lock_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3968,7 +3968,7 @@ pub mod blob_containers { } } pub mod extend_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4041,7 +4041,7 @@ pub mod blob_containers { } } pub mod lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4103,7 +4103,7 @@ pub mod blob_containers { } } pub mod object_level_worm { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4132,7 +4132,7 @@ pub mod blob_containers { } } pub mod file_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4181,7 +4181,7 @@ pub mod file_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4258,7 +4258,7 @@ pub mod file_services { } } pub mod get_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4337,7 +4337,7 @@ pub mod file_services { } } pub mod set_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4361,7 +4361,7 @@ pub mod file_services { } } pub mod file_shares { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4422,7 +4422,7 @@ pub mod file_shares { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4502,7 +4502,7 @@ pub mod file_shares { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4586,7 +4586,7 @@ pub mod file_shares { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(FileShare), @@ -4665,7 +4665,7 @@ pub mod file_shares { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4741,7 +4741,7 @@ pub mod file_shares { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4818,7 +4818,7 @@ pub mod file_shares { } } pub mod restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4900,7 +4900,7 @@ pub mod file_shares { } } pub mod lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4924,7 +4924,7 @@ pub mod file_shares { } } pub mod queue_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -4973,7 +4973,7 @@ pub mod queue_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5050,7 +5050,7 @@ pub mod queue_services { } } pub mod get_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5129,7 +5129,7 @@ pub mod queue_services { } } pub mod set_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5153,7 +5153,7 @@ pub mod queue_services { } } pub mod queue { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5204,7 +5204,7 @@ pub mod queue { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5278,7 +5278,7 @@ pub mod queue { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5352,7 +5352,7 @@ pub mod queue { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5419,7 +5419,7 @@ pub mod queue { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5497,7 +5497,7 @@ pub mod queue { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5521,7 +5521,7 @@ pub mod queue { } } pub mod table_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5570,7 +5570,7 @@ pub mod table_services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5647,7 +5647,7 @@ pub mod table_services { } } pub mod get_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5726,7 +5726,7 @@ pub mod table_services { } } pub mod set_service_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5750,7 +5750,7 @@ pub mod table_services { } } pub mod table { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -5801,7 +5801,7 @@ pub mod table { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5873,7 +5873,7 @@ pub mod table { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5945,7 +5945,7 @@ pub mod table { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6012,7 +6012,7 @@ pub mod table { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6082,7 +6082,7 @@ pub mod table { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/storage/src/profile_hybrid_2020_09_01/operations.rs b/services/mgmt/storage/src/profile_hybrid_2020_09_01/operations.rs index 08bd659fdb..b9183825de 100644 --- a/services/mgmt/storage/src/profile_hybrid_2020_09_01/operations.rs +++ b/services/mgmt/storage/src/profile_hybrid_2020_09_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Storage/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -104,7 +104,7 @@ pub mod skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -125,7 +125,7 @@ pub mod skus { } } pub mod storage_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, account_name: &StorageAccountCheckNameAvailabilityParameters, @@ -175,7 +175,7 @@ pub mod storage_accounts { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -247,7 +247,7 @@ pub mod storage_accounts { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -315,7 +315,7 @@ pub mod storage_accounts { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageAccount), @@ -387,7 +387,7 @@ pub mod storage_accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -448,7 +448,7 @@ pub mod storage_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -514,7 +514,7 @@ pub mod storage_accounts { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -582,7 +582,7 @@ pub mod storage_accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -655,7 +655,7 @@ pub mod storage_accounts { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -725,7 +725,7 @@ pub mod storage_accounts { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -795,7 +795,7 @@ pub mod storage_accounts { } } pub mod list_account_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -865,7 +865,7 @@ pub mod storage_accounts { } } pub mod list_service_sas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -930,7 +930,7 @@ pub mod storage_accounts { } } pub mod failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1011,7 +1011,7 @@ pub mod storage_accounts { } } pub mod restore_blob_ranges { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BlobRestoreStatus), @@ -1082,7 +1082,7 @@ pub mod storage_accounts { } } pub mod revoke_user_delegation_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1103,7 +1103,7 @@ pub mod storage_accounts { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_location( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1151,7 +1151,7 @@ pub mod usages { } } pub mod list_by_location { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1172,7 +1172,7 @@ pub mod usages { } } pub mod management_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1221,7 +1221,7 @@ pub mod management_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1293,7 +1293,7 @@ pub mod management_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1356,7 +1356,7 @@ pub mod management_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1382,7 +1382,7 @@ pub mod management_policies { } } pub mod blob_inventory_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1433,7 +1433,7 @@ pub mod blob_inventory_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1510,7 +1510,7 @@ pub mod blob_inventory_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1578,7 +1578,7 @@ pub mod blob_inventory_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1653,7 +1653,7 @@ pub mod blob_inventory_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1677,7 +1677,7 @@ pub mod blob_inventory_policies { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1724,7 +1724,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1793,7 +1793,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1867,7 +1867,7 @@ pub mod private_endpoint_connections { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1935,7 +1935,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1964,7 +1964,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_storage_account( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2016,7 +2016,7 @@ pub mod private_link_resources { } } pub mod list_by_storage_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2037,7 +2037,7 @@ pub mod private_link_resources { } } pub mod object_replication_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2086,7 +2086,7 @@ pub mod object_replication_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2158,7 +2158,7 @@ pub mod object_replication_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2235,7 +2235,7 @@ pub mod object_replication_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2303,7 +2303,7 @@ pub mod object_replication_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2332,7 +2332,7 @@ pub mod object_replication_policies { } } pub mod encryption_scopes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -2383,7 +2383,7 @@ pub mod encryption_scopes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2463,7 +2463,7 @@ pub mod encryption_scopes { } } pub mod put { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(EncryptionScope), @@ -2542,7 +2542,7 @@ pub mod encryption_scopes { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2610,7 +2610,7 @@ pub mod encryption_scopes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/storagecache/Cargo.toml b/services/mgmt/storagecache/Cargo.toml index 7ab1edcbb6..6d29a5f8d8 100644 --- a/services/mgmt/storagecache/Cargo.toml +++ b/services/mgmt/storagecache/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-09"] +no-default-version = [] "package-2021-09" = [] "package-2021-05" = [] "package-2021-03" = [] diff --git a/services/mgmt/storagecache/src/lib.rs b/services/mgmt/storagecache/src/lib.rs index a493160198..3924bf3d72 100644 --- a/services/mgmt/storagecache/src/lib.rs +++ b/services/mgmt/storagecache/src/lib.rs @@ -1,33 +1,41 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-09")] -mod package_2021_09; -#[cfg(feature = "package-2021-09")] +pub mod package_2021_09; +#[cfg(all(feature = "package-2021-09", not(feature = "no-default-version")))] pub use package_2021_09::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-05")] -mod package_2021_05; -#[cfg(feature = "package-2021-05")] +pub mod package_2021_05; +#[cfg(all(feature = "package-2021-05", not(feature = "no-default-version")))] pub use package_2021_05::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-03")] -mod package_2021_03; -#[cfg(feature = "package-2021-03")] +pub mod package_2021_03; +#[cfg(all(feature = "package-2021-03", not(feature = "no-default-version")))] pub use package_2021_03::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-10-01")] -mod package_2020_10_01; -#[cfg(feature = "package-2020-10-01")] +pub mod package_2020_10_01; +#[cfg(all(feature = "package-2020-10-01", not(feature = "no-default-version")))] pub use package_2020_10_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-03-01")] -mod package_2020_03_01; -#[cfg(feature = "package-2020-03-01")] +pub mod package_2020_03_01; +#[cfg(all(feature = "package-2020-03-01", not(feature = "no-default-version")))] pub use package_2020_03_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-11-01")] -mod package_2019_11_01; -#[cfg(feature = "package-2019-11-01")] +pub mod package_2019_11_01; +#[cfg(all(feature = "package-2019-11-01", not(feature = "no-default-version")))] pub use package_2019_11_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-08")] -mod package_2019_08; +pub mod package_2019_08; use azure_core::setters; -#[cfg(feature = "package-2019-08")] +#[cfg(all(feature = "package-2019-08", not(feature = "no-default-version")))] pub use package_2019_08::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -51,7 +59,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/storagecache/src/package_2019_08/operations.rs b/services/mgmt/storagecache/src/package_2019_08/operations.rs index 543e5b4507..4e3c0eaf8b 100644 --- a/services/mgmt/storagecache/src/package_2019_08/operations.rs +++ b/services/mgmt/storagecache/src/package_2019_08/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.StorageCache/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -135,7 +135,7 @@ pub mod skus { } } pub mod usage_models { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -180,7 +180,7 @@ pub mod usage_models { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -204,7 +204,7 @@ pub mod usage_models { } } pub mod caches { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -249,7 +249,7 @@ pub mod caches { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -322,7 +322,7 @@ pub mod caches { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -392,7 +392,7 @@ pub mod caches { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -474,7 +474,7 @@ pub mod caches { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cache), @@ -555,7 +555,7 @@ pub mod caches { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -637,7 +637,7 @@ pub mod caches { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -720,7 +720,7 @@ pub mod caches { } } pub mod flush { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -802,7 +802,7 @@ pub mod caches { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -884,7 +884,7 @@ pub mod caches { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -969,7 +969,7 @@ pub mod caches { } } pub mod upgrade_firmware { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(serde_json::Value), @@ -998,7 +998,7 @@ pub mod caches { } } pub mod storage_targets { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_cache( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1050,7 +1050,7 @@ pub mod storage_targets { } } pub mod list_by_cache { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1122,7 +1122,7 @@ pub mod storage_targets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1206,7 +1206,7 @@ pub mod storage_targets { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageTarget), @@ -1289,7 +1289,7 @@ pub mod storage_targets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1373,7 +1373,7 @@ pub mod storage_targets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), diff --git a/services/mgmt/storagecache/src/package_2019_11_01/operations.rs b/services/mgmt/storagecache/src/package_2019_11_01/operations.rs index 35372d5313..40ec8795df 100644 --- a/services/mgmt/storagecache/src/package_2019_11_01/operations.rs +++ b/services/mgmt/storagecache/src/package_2019_11_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.StorageCache/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -135,7 +135,7 @@ pub mod skus { } } pub mod usage_models { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -180,7 +180,7 @@ pub mod usage_models { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -204,7 +204,7 @@ pub mod usage_models { } } pub mod caches { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -249,7 +249,7 @@ pub mod caches { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -322,7 +322,7 @@ pub mod caches { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -392,7 +392,7 @@ pub mod caches { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -477,7 +477,7 @@ pub mod caches { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cache), @@ -558,7 +558,7 @@ pub mod caches { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -640,7 +640,7 @@ pub mod caches { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -729,7 +729,7 @@ pub mod caches { } } pub mod flush { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -818,7 +818,7 @@ pub mod caches { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -907,7 +907,7 @@ pub mod caches { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -999,7 +999,7 @@ pub mod caches { } } pub mod upgrade_firmware { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(serde_json::Value), @@ -1029,7 +1029,7 @@ pub mod caches { } } pub mod storage_targets { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_cache( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1081,7 +1081,7 @@ pub mod storage_targets { } } pub mod list_by_cache { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1153,7 +1153,7 @@ pub mod storage_targets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1240,7 +1240,7 @@ pub mod storage_targets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageTarget), @@ -1329,7 +1329,7 @@ pub mod storage_targets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), diff --git a/services/mgmt/storagecache/src/package_2020_03_01/operations.rs b/services/mgmt/storagecache/src/package_2020_03_01/operations.rs index 7a92c519f2..ebc1ef8a06 100644 --- a/services/mgmt/storagecache/src/package_2020_03_01/operations.rs +++ b/services/mgmt/storagecache/src/package_2020_03_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.StorageCache/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -135,7 +135,7 @@ pub mod skus { } } pub mod usage_models { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -180,7 +180,7 @@ pub mod usage_models { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -204,7 +204,7 @@ pub mod usage_models { } } pub mod asc_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -253,7 +253,7 @@ pub mod asc_operations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -277,7 +277,7 @@ pub mod asc_operations { } } pub mod caches { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -322,7 +322,7 @@ pub mod caches { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -395,7 +395,7 @@ pub mod caches { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -465,7 +465,7 @@ pub mod caches { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -556,7 +556,7 @@ pub mod caches { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cache), @@ -638,7 +638,7 @@ pub mod caches { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -705,7 +705,7 @@ pub mod caches { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -779,7 +779,7 @@ pub mod caches { } } pub mod flush { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -853,7 +853,7 @@ pub mod caches { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -927,7 +927,7 @@ pub mod caches { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1004,7 +1004,7 @@ pub mod caches { } } pub mod upgrade_firmware { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201, @@ -1034,7 +1034,7 @@ pub mod caches { } } pub mod storage_targets { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_cache( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1086,7 +1086,7 @@ pub mod storage_targets { } } pub mod list_by_cache { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1158,7 +1158,7 @@ pub mod storage_targets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1251,7 +1251,7 @@ pub mod storage_targets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageTarget), @@ -1326,7 +1326,7 @@ pub mod storage_targets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/storagecache/src/package_2020_10_01/operations.rs b/services/mgmt/storagecache/src/package_2020_10_01/operations.rs index 83f6e72af8..e43e6eba91 100644 --- a/services/mgmt/storagecache/src/package_2020_10_01/operations.rs +++ b/services/mgmt/storagecache/src/package_2020_10_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.StorageCache/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -135,7 +135,7 @@ pub mod skus { } } pub mod usage_models { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -180,7 +180,7 @@ pub mod usage_models { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -204,7 +204,7 @@ pub mod usage_models { } } pub mod asc_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -253,7 +253,7 @@ pub mod asc_operations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -277,7 +277,7 @@ pub mod asc_operations { } } pub mod caches { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -322,7 +322,7 @@ pub mod caches { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -395,7 +395,7 @@ pub mod caches { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -465,7 +465,7 @@ pub mod caches { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -551,7 +551,7 @@ pub mod caches { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cache), @@ -633,7 +633,7 @@ pub mod caches { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -700,7 +700,7 @@ pub mod caches { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -777,7 +777,7 @@ pub mod caches { } } pub mod debug_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -851,7 +851,7 @@ pub mod caches { } } pub mod flush { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -925,7 +925,7 @@ pub mod caches { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -999,7 +999,7 @@ pub mod caches { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1076,7 +1076,7 @@ pub mod caches { } } pub mod upgrade_firmware { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201, @@ -1106,7 +1106,7 @@ pub mod caches { } } pub mod storage_targets { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_cache( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1158,7 +1158,7 @@ pub mod storage_targets { } } pub mod list_by_cache { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1230,7 +1230,7 @@ pub mod storage_targets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1318,7 +1318,7 @@ pub mod storage_targets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageTarget), @@ -1393,7 +1393,7 @@ pub mod storage_targets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/storagecache/src/package_2021_03/operations.rs b/services/mgmt/storagecache/src/package_2021_03/operations.rs index 2f2fbf3475..bb4ba8f152 100644 --- a/services/mgmt/storagecache/src/package_2021_03/operations.rs +++ b/services/mgmt/storagecache/src/package_2021_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.StorageCache/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -135,7 +135,7 @@ pub mod skus { } } pub mod usage_models { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -180,7 +180,7 @@ pub mod usage_models { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -204,7 +204,7 @@ pub mod usage_models { } } pub mod asc_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -253,7 +253,7 @@ pub mod asc_operations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -277,7 +277,7 @@ pub mod asc_operations { } } pub mod caches { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -322,7 +322,7 @@ pub mod caches { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -395,7 +395,7 @@ pub mod caches { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -465,7 +465,7 @@ pub mod caches { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -551,7 +551,7 @@ pub mod caches { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cache), @@ -633,7 +633,7 @@ pub mod caches { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -700,7 +700,7 @@ pub mod caches { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -777,7 +777,7 @@ pub mod caches { } } pub mod debug_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -851,7 +851,7 @@ pub mod caches { } } pub mod flush { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -925,7 +925,7 @@ pub mod caches { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -999,7 +999,7 @@ pub mod caches { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1076,7 +1076,7 @@ pub mod caches { } } pub mod upgrade_firmware { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201, @@ -1106,7 +1106,7 @@ pub mod caches { } } pub mod storage_targets { - use crate::models::*; + use super::{models, models::*}; pub async fn dns_refresh( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1157,7 +1157,7 @@ pub mod storage_targets { } } pub mod dns_refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1235,7 +1235,7 @@ pub mod storage_targets { } } pub mod list_by_cache { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1307,7 +1307,7 @@ pub mod storage_targets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1395,7 +1395,7 @@ pub mod storage_targets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageTarget), @@ -1470,7 +1470,7 @@ pub mod storage_targets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/storagecache/src/package_2021_05/operations.rs b/services/mgmt/storagecache/src/package_2021_05/operations.rs index 28acd01ff6..3e151f7df7 100644 --- a/services/mgmt/storagecache/src/package_2021_05/operations.rs +++ b/services/mgmt/storagecache/src/package_2021_05/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.StorageCache/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -135,7 +135,7 @@ pub mod skus { } } pub mod usage_models { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -180,7 +180,7 @@ pub mod usage_models { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -204,7 +204,7 @@ pub mod usage_models { } } pub mod asc_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -253,7 +253,7 @@ pub mod asc_operations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -277,7 +277,7 @@ pub mod asc_operations { } } pub mod caches { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -322,7 +322,7 @@ pub mod caches { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -395,7 +395,7 @@ pub mod caches { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -465,7 +465,7 @@ pub mod caches { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -551,7 +551,7 @@ pub mod caches { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cache), @@ -633,7 +633,7 @@ pub mod caches { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -700,7 +700,7 @@ pub mod caches { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -777,7 +777,7 @@ pub mod caches { } } pub mod debug_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -851,7 +851,7 @@ pub mod caches { } } pub mod flush { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -925,7 +925,7 @@ pub mod caches { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -999,7 +999,7 @@ pub mod caches { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1076,7 +1076,7 @@ pub mod caches { } } pub mod upgrade_firmware { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201, @@ -1106,7 +1106,7 @@ pub mod caches { } } pub mod storage_targets { - use crate::models::*; + use super::{models, models::*}; pub async fn dns_refresh( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1157,7 +1157,7 @@ pub mod storage_targets { } } pub mod dns_refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1235,7 +1235,7 @@ pub mod storage_targets { } } pub mod list_by_cache { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1307,7 +1307,7 @@ pub mod storage_targets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1395,7 +1395,7 @@ pub mod storage_targets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageTarget), @@ -1474,7 +1474,7 @@ pub mod storage_targets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1504,7 +1504,7 @@ pub mod storage_targets { } } pub mod storage_target { - use crate::models::*; + use super::{models, models::*}; pub async fn flush( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1553,7 +1553,7 @@ pub mod storage_target { } } pub mod flush { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1632,7 +1632,7 @@ pub mod storage_target { } } pub mod suspend { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1708,7 +1708,7 @@ pub mod storage_target { } } pub mod resume { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/storagecache/src/package_2021_09/operations.rs b/services/mgmt/storagecache/src/package_2021_09/operations.rs index 28acd01ff6..3e151f7df7 100644 --- a/services/mgmt/storagecache/src/package_2021_09/operations.rs +++ b/services/mgmt/storagecache/src/package_2021_09/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.StorageCache/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -135,7 +135,7 @@ pub mod skus { } } pub mod usage_models { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -180,7 +180,7 @@ pub mod usage_models { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -204,7 +204,7 @@ pub mod usage_models { } } pub mod asc_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -253,7 +253,7 @@ pub mod asc_operations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -277,7 +277,7 @@ pub mod asc_operations { } } pub mod caches { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -322,7 +322,7 @@ pub mod caches { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -395,7 +395,7 @@ pub mod caches { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -465,7 +465,7 @@ pub mod caches { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -551,7 +551,7 @@ pub mod caches { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cache), @@ -633,7 +633,7 @@ pub mod caches { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -700,7 +700,7 @@ pub mod caches { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -777,7 +777,7 @@ pub mod caches { } } pub mod debug_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -851,7 +851,7 @@ pub mod caches { } } pub mod flush { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -925,7 +925,7 @@ pub mod caches { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -999,7 +999,7 @@ pub mod caches { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1076,7 +1076,7 @@ pub mod caches { } } pub mod upgrade_firmware { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201, @@ -1106,7 +1106,7 @@ pub mod caches { } } pub mod storage_targets { - use crate::models::*; + use super::{models, models::*}; pub async fn dns_refresh( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1157,7 +1157,7 @@ pub mod storage_targets { } } pub mod dns_refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1235,7 +1235,7 @@ pub mod storage_targets { } } pub mod list_by_cache { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1307,7 +1307,7 @@ pub mod storage_targets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1395,7 +1395,7 @@ pub mod storage_targets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageTarget), @@ -1474,7 +1474,7 @@ pub mod storage_targets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1504,7 +1504,7 @@ pub mod storage_targets { } } pub mod storage_target { - use crate::models::*; + use super::{models, models::*}; pub async fn flush( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -1553,7 +1553,7 @@ pub mod storage_target { } } pub mod flush { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1632,7 +1632,7 @@ pub mod storage_target { } } pub mod suspend { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1708,7 +1708,7 @@ pub mod storage_target { } } pub mod resume { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/storageimportexport/Cargo.toml b/services/mgmt/storageimportexport/Cargo.toml index 4531704290..12fc1e2499 100644 --- a/services/mgmt/storageimportexport/Cargo.toml +++ b/services/mgmt/storageimportexport/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2016-11"] +no-default-version = [] "package-preview-2021-01" = [] "package-2016-11" = [] "package-2020-08" = [] diff --git a/services/mgmt/storageimportexport/src/lib.rs b/services/mgmt/storageimportexport/src/lib.rs index aa74706ba3..153057fcfd 100644 --- a/services/mgmt/storageimportexport/src/lib.rs +++ b/services/mgmt/storageimportexport/src/lib.rs @@ -1,17 +1,25 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-preview-2021-01")] -mod package_preview_2021_01; -#[cfg(feature = "package-preview-2021-01")] +pub mod package_preview_2021_01; +#[cfg(all(feature = "package-preview-2021-01", not(feature = "no-default-version")))] pub use package_preview_2021_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2016-11")] -mod package_2016_11; -#[cfg(feature = "package-2016-11")] +pub mod package_2016_11; +#[cfg(all(feature = "package-2016-11", not(feature = "no-default-version")))] pub use package_2016_11::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-08")] -mod package_2020_08; +pub mod package_2020_08; use azure_core::setters; -#[cfg(feature = "package-2020-08")] +#[cfg(all(feature = "package-2020-08", not(feature = "no-default-version")))] pub use package_2020_08::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -35,7 +43,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/storageimportexport/src/package_2016_11/operations.rs b/services/mgmt/storageimportexport/src/package_2016_11/operations.rs index a1fdd62def..0aed866f1e 100644 --- a/services/mgmt/storageimportexport/src/package_2016_11/operations.rs +++ b/services/mgmt/storageimportexport/src/package_2016_11/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod locations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, accept_language: Option<&str>, @@ -48,7 +48,7 @@ pub mod locations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -118,7 +118,7 @@ pub mod locations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -142,7 +142,7 @@ pub mod locations { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, top: Option, @@ -202,7 +202,7 @@ pub mod jobs { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -287,7 +287,7 @@ pub mod jobs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -361,7 +361,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -447,7 +447,7 @@ pub mod jobs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobResponse), @@ -528,7 +528,7 @@ pub mod jobs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -597,7 +597,7 @@ pub mod jobs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -621,7 +621,7 @@ pub mod jobs { } } pub mod bit_locker_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, job_name: &str, @@ -675,7 +675,7 @@ pub mod bit_locker_keys { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -699,7 +699,7 @@ pub mod bit_locker_keys { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, accept_language: Option<&str>, @@ -743,7 +743,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/storageimportexport/src/package_2020_08/operations.rs b/services/mgmt/storageimportexport/src/package_2020_08/operations.rs index a1fdd62def..0aed866f1e 100644 --- a/services/mgmt/storageimportexport/src/package_2020_08/operations.rs +++ b/services/mgmt/storageimportexport/src/package_2020_08/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod locations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, accept_language: Option<&str>, @@ -48,7 +48,7 @@ pub mod locations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -118,7 +118,7 @@ pub mod locations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -142,7 +142,7 @@ pub mod locations { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, top: Option, @@ -202,7 +202,7 @@ pub mod jobs { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -287,7 +287,7 @@ pub mod jobs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -361,7 +361,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -447,7 +447,7 @@ pub mod jobs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobResponse), @@ -528,7 +528,7 @@ pub mod jobs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -597,7 +597,7 @@ pub mod jobs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -621,7 +621,7 @@ pub mod jobs { } } pub mod bit_locker_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, job_name: &str, @@ -675,7 +675,7 @@ pub mod bit_locker_keys { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -699,7 +699,7 @@ pub mod bit_locker_keys { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, accept_language: Option<&str>, @@ -743,7 +743,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/storageimportexport/src/package_preview_2021_01/operations.rs b/services/mgmt/storageimportexport/src/package_preview_2021_01/operations.rs index 7c51e427e8..30f78128da 100644 --- a/services/mgmt/storageimportexport/src/package_preview_2021_01/operations.rs +++ b/services/mgmt/storageimportexport/src/package_preview_2021_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod locations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, accept_language: Option<&str>, @@ -48,7 +48,7 @@ pub mod locations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -118,7 +118,7 @@ pub mod locations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -142,7 +142,7 @@ pub mod locations { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, top: Option, @@ -202,7 +202,7 @@ pub mod jobs { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -287,7 +287,7 @@ pub mod jobs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -361,7 +361,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -447,7 +447,7 @@ pub mod jobs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobResponse), @@ -528,7 +528,7 @@ pub mod jobs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -597,7 +597,7 @@ pub mod jobs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -621,7 +621,7 @@ pub mod jobs { } } pub mod bit_locker_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, job_name: &str, @@ -675,7 +675,7 @@ pub mod bit_locker_keys { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -699,7 +699,7 @@ pub mod bit_locker_keys { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, accept_language: Option<&str>, @@ -743,7 +743,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/storagepool/Cargo.toml b/services/mgmt/storagepool/Cargo.toml index 26dc87c31d..06882fb62a 100644 --- a/services/mgmt/storagepool/Cargo.toml +++ b/services/mgmt/storagepool/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-08-01"] +no-default-version = [] "package-2021-08-01" = [] "package-2021-04-01-preview" = [] "package-2020-03-15-preview" = [] diff --git a/services/mgmt/storagepool/src/lib.rs b/services/mgmt/storagepool/src/lib.rs index 5530ea1b1a..624d271ce7 100644 --- a/services/mgmt/storagepool/src/lib.rs +++ b/services/mgmt/storagepool/src/lib.rs @@ -1,17 +1,25 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-08-01")] -mod package_2021_08_01; -#[cfg(feature = "package-2021-08-01")] +pub mod package_2021_08_01; +#[cfg(all(feature = "package-2021-08-01", not(feature = "no-default-version")))] pub use package_2021_08_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-04-01-preview")] -mod package_2021_04_01_preview; -#[cfg(feature = "package-2021-04-01-preview")] +pub mod package_2021_04_01_preview; +#[cfg(all(feature = "package-2021-04-01-preview", not(feature = "no-default-version")))] pub use package_2021_04_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-03-15-preview")] -mod package_2020_03_15_preview; +pub mod package_2020_03_15_preview; use azure_core::setters; -#[cfg(feature = "package-2020-03-15-preview")] +#[cfg(all(feature = "package-2020-03-15-preview", not(feature = "no-default-version")))] pub use package_2020_03_15_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -35,7 +43,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/storagepool/src/package_2020_03_15_preview/operations.rs b/services/mgmt/storagepool/src/package_2020_03_15_preview/operations.rs index c0d2aabdbc..9db53c1046 100644 --- a/services/mgmt/storagepool/src/package_2020_03_15_preview/operations.rs +++ b/services/mgmt/storagepool/src/package_2020_03_15_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.StoragePool/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod disk_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -114,7 +114,7 @@ pub mod disk_pools { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -187,7 +187,7 @@ pub mod disk_pools { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -257,7 +257,7 @@ pub mod disk_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -338,7 +338,7 @@ pub mod disk_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskPool), @@ -421,7 +421,7 @@ pub mod disk_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskPool), @@ -493,7 +493,7 @@ pub mod disk_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -523,7 +523,7 @@ pub mod disk_pools { } } pub mod iscsi_targets { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_disk_pool( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -575,7 +575,7 @@ pub mod iscsi_targets { } } pub mod list_by_disk_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -647,7 +647,7 @@ pub mod iscsi_targets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -730,7 +730,7 @@ pub mod iscsi_targets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IscsiTarget), @@ -815,7 +815,7 @@ pub mod iscsi_targets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IscsiTarget), @@ -889,7 +889,7 @@ pub mod iscsi_targets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/storagepool/src/package_2021_04_01_preview/operations.rs b/services/mgmt/storagepool/src/package_2021_04_01_preview/operations.rs index 2f0b4191f1..47ef16ebed 100644 --- a/services/mgmt/storagepool/src/package_2021_04_01_preview/operations.rs +++ b/services/mgmt/storagepool/src/package_2021_04_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.StoragePool/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod disk_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -114,7 +114,7 @@ pub mod disk_pools { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -187,7 +187,7 @@ pub mod disk_pools { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -257,7 +257,7 @@ pub mod disk_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -338,7 +338,7 @@ pub mod disk_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskPool), @@ -416,7 +416,7 @@ pub mod disk_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskPool), @@ -488,7 +488,7 @@ pub mod disk_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -569,7 +569,7 @@ pub mod disk_pools { } } pub mod list_outbound_network_dependencies_endpoints { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -636,7 +636,7 @@ pub mod disk_pools { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -711,7 +711,7 @@ pub mod disk_pools { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -740,7 +740,7 @@ pub mod disk_pools { } } pub mod disk_pool_zones { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -787,7 +787,7 @@ pub mod disk_pool_zones { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -811,7 +811,7 @@ pub mod disk_pool_zones { } } pub mod iscsi_targets { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_disk_pool( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -863,7 +863,7 @@ pub mod iscsi_targets { } } pub mod list_by_disk_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -935,7 +935,7 @@ pub mod iscsi_targets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1018,7 +1018,7 @@ pub mod iscsi_targets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IscsiTarget), @@ -1098,7 +1098,7 @@ pub mod iscsi_targets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IscsiTarget), @@ -1172,7 +1172,7 @@ pub mod iscsi_targets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/storagepool/src/package_2021_08_01/operations.rs b/services/mgmt/storagepool/src/package_2021_08_01/operations.rs index 6b0b118829..915f069af8 100644 --- a/services/mgmt/storagepool/src/package_2021_08_01/operations.rs +++ b/services/mgmt/storagepool/src/package_2021_08_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.StoragePool/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod disk_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -114,7 +114,7 @@ pub mod disk_pools { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -187,7 +187,7 @@ pub mod disk_pools { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -257,7 +257,7 @@ pub mod disk_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -338,7 +338,7 @@ pub mod disk_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskPool), @@ -416,7 +416,7 @@ pub mod disk_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DiskPool), @@ -488,7 +488,7 @@ pub mod disk_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -569,7 +569,7 @@ pub mod disk_pools { } } pub mod list_outbound_network_dependencies_endpoints { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -636,7 +636,7 @@ pub mod disk_pools { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -711,7 +711,7 @@ pub mod disk_pools { } } pub mod deallocate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -786,7 +786,7 @@ pub mod disk_pools { } } pub mod upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -815,7 +815,7 @@ pub mod disk_pools { } } pub mod disk_pool_zones { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -862,7 +862,7 @@ pub mod disk_pool_zones { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -886,7 +886,7 @@ pub mod disk_pool_zones { } } pub mod resource_skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -933,7 +933,7 @@ pub mod resource_skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -957,7 +957,7 @@ pub mod resource_skus { } } pub mod iscsi_targets { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_disk_pool( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1009,7 +1009,7 @@ pub mod iscsi_targets { } } pub mod list_by_disk_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1081,7 +1081,7 @@ pub mod iscsi_targets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1164,7 +1164,7 @@ pub mod iscsi_targets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IscsiTarget), @@ -1244,7 +1244,7 @@ pub mod iscsi_targets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IscsiTarget), @@ -1318,7 +1318,7 @@ pub mod iscsi_targets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/storagesync/Cargo.toml b/services/mgmt/storagesync/Cargo.toml index a501a61d06..35980dd7cb 100644 --- a/services/mgmt/storagesync/Cargo.toml +++ b/services/mgmt/storagesync/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2020-09-01"] +no-default-version = [] "package-2020-09-01" = [] "package-2020-03-01" = [] "package-2019-10-01" = [] diff --git a/services/mgmt/storagesync/src/lib.rs b/services/mgmt/storagesync/src/lib.rs index cb03f68fa0..29a14c8c58 100644 --- a/services/mgmt/storagesync/src/lib.rs +++ b/services/mgmt/storagesync/src/lib.rs @@ -1,45 +1,53 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2020-09-01")] -mod package_2020_09_01; -#[cfg(feature = "package-2020-09-01")] +pub mod package_2020_09_01; +#[cfg(all(feature = "package-2020-09-01", not(feature = "no-default-version")))] pub use package_2020_09_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-03-01")] -mod package_2020_03_01; -#[cfg(feature = "package-2020-03-01")] +pub mod package_2020_03_01; +#[cfg(all(feature = "package-2020-03-01", not(feature = "no-default-version")))] pub use package_2020_03_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-10-01")] -mod package_2019_10_01; -#[cfg(feature = "package-2019-10-01")] +pub mod package_2019_10_01; +#[cfg(all(feature = "package-2019-10-01", not(feature = "no-default-version")))] pub use package_2019_10_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-06-01")] -mod package_2019_06_01; -#[cfg(feature = "package-2019-06-01")] +pub mod package_2019_06_01; +#[cfg(all(feature = "package-2019-06-01", not(feature = "no-default-version")))] pub use package_2019_06_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-03-01")] -mod package_2019_03_01; -#[cfg(feature = "package-2019-03-01")] +pub mod package_2019_03_01; +#[cfg(all(feature = "package-2019-03-01", not(feature = "no-default-version")))] pub use package_2019_03_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-02-01")] -mod package_2019_02_01; -#[cfg(feature = "package-2019-02-01")] +pub mod package_2019_02_01; +#[cfg(all(feature = "package-2019-02-01", not(feature = "no-default-version")))] pub use package_2019_02_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-10-01")] -mod package_2018_10_01; -#[cfg(feature = "package-2018-10-01")] +pub mod package_2018_10_01; +#[cfg(all(feature = "package-2018-10-01", not(feature = "no-default-version")))] pub use package_2018_10_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-07-01")] -mod package_2018_07_01; -#[cfg(feature = "package-2018-07-01")] +pub mod package_2018_07_01; +#[cfg(all(feature = "package-2018-07-01", not(feature = "no-default-version")))] pub use package_2018_07_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-04-02")] -mod package_2018_04_02; -#[cfg(feature = "package-2018-04-02")] +pub mod package_2018_04_02; +#[cfg(all(feature = "package-2018-04-02", not(feature = "no-default-version")))] pub use package_2018_04_02::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-06-05-preview")] -mod package_2017_06_05_preview; +pub mod package_2017_06_05_preview; use azure_core::setters; -#[cfg(feature = "package-2017-06-05-preview")] +#[cfg(all(feature = "package-2017-06-05-preview", not(feature = "no-default-version")))] pub use package_2017_06_05_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -63,7 +71,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/storagesync/src/package_2017_06_05_preview/operations.rs b/services/mgmt/storagesync/src/package_2017_06_05_preview/operations.rs index 0283c7e958..acf1773df6 100644 --- a/services/mgmt/storagesync/src/package_2017_06_05_preview/operations.rs +++ b/services/mgmt/storagesync/src/package_2017_06_05_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.StorageSync/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod storage_sync_services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -115,7 +115,7 @@ pub mod storage_sync_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -187,7 +187,7 @@ pub mod storage_sync_services { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -263,7 +263,7 @@ pub mod storage_sync_services { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -329,7 +329,7 @@ pub mod storage_sync_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -407,7 +407,7 @@ pub mod storage_sync_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -476,7 +476,7 @@ pub mod storage_sync_services { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -500,7 +500,7 @@ pub mod storage_sync_services { } } pub mod sync_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_storage_sync_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -554,7 +554,7 @@ pub mod sync_groups { } } pub mod list_by_storage_sync_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -626,7 +626,7 @@ pub mod sync_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -700,7 +700,7 @@ pub mod sync_groups { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -768,7 +768,7 @@ pub mod sync_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -797,7 +797,7 @@ pub mod sync_groups { } } pub mod cloud_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -850,7 +850,7 @@ pub mod cloud_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -927,7 +927,7 @@ pub mod cloud_endpoints { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CloudEndpoint), @@ -1003,7 +1003,7 @@ pub mod cloud_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1084,7 +1084,7 @@ pub mod cloud_endpoints { } } pub mod list_by_sync_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1151,7 +1151,7 @@ pub mod cloud_endpoints { } } pub mod pre_backup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1228,7 +1228,7 @@ pub mod cloud_endpoints { } } pub mod post_backup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PostBackupResponse), @@ -1300,7 +1300,7 @@ pub mod cloud_endpoints { } } pub mod pre_restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1370,7 +1370,7 @@ pub mod cloud_endpoints { } } pub mod restore_heatbeat { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1437,7 +1437,7 @@ pub mod cloud_endpoints { } } pub mod post_restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1466,7 +1466,7 @@ pub mod cloud_endpoints { } } pub mod server_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1519,7 +1519,7 @@ pub mod server_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1596,7 +1596,7 @@ pub mod server_endpoints { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerEndpoint), @@ -1682,7 +1682,7 @@ pub mod server_endpoints { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerEndpoint), @@ -1757,7 +1757,7 @@ pub mod server_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1837,7 +1837,7 @@ pub mod server_endpoints { } } pub mod list_by_sync_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1900,7 +1900,7 @@ pub mod server_endpoints { } } pub mod recall { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1929,7 +1929,7 @@ pub mod server_endpoints { } } pub mod registered_servers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_storage_sync_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1983,7 +1983,7 @@ pub mod registered_servers { } } pub mod list_by_storage_sync_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2055,7 +2055,7 @@ pub mod registered_servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2130,7 +2130,7 @@ pub mod registered_servers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RegisteredServer), @@ -2204,7 +2204,7 @@ pub mod registered_servers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2234,7 +2234,7 @@ pub mod registered_servers { } } pub mod workflows { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2285,7 +2285,7 @@ pub mod workflows { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2353,7 +2353,7 @@ pub mod workflows { } } pub mod abort { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/storagesync/src/package_2018_04_02/operations.rs b/services/mgmt/storagesync/src/package_2018_04_02/operations.rs index 52fd889610..b5f989a48a 100644 --- a/services/mgmt/storagesync/src/package_2018_04_02/operations.rs +++ b/services/mgmt/storagesync/src/package_2018_04_02/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.StorageSync/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod storage_sync_services { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, location_name: &str, @@ -118,7 +118,7 @@ pub mod storage_sync_services { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -185,7 +185,7 @@ pub mod storage_sync_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -257,7 +257,7 @@ pub mod storage_sync_services { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -333,7 +333,7 @@ pub mod storage_sync_services { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -399,7 +399,7 @@ pub mod storage_sync_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -477,7 +477,7 @@ pub mod storage_sync_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -546,7 +546,7 @@ pub mod storage_sync_services { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -570,7 +570,7 @@ pub mod storage_sync_services { } } pub mod sync_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_storage_sync_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -624,7 +624,7 @@ pub mod sync_groups { } } pub mod list_by_storage_sync_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -696,7 +696,7 @@ pub mod sync_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -770,7 +770,7 @@ pub mod sync_groups { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -838,7 +838,7 @@ pub mod sync_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -867,7 +867,7 @@ pub mod sync_groups { } } pub mod cloud_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -920,7 +920,7 @@ pub mod cloud_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -997,7 +997,7 @@ pub mod cloud_endpoints { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CloudEndpoint), @@ -1073,7 +1073,7 @@ pub mod cloud_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1154,7 +1154,7 @@ pub mod cloud_endpoints { } } pub mod list_by_sync_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1221,7 +1221,7 @@ pub mod cloud_endpoints { } } pub mod pre_backup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1298,7 +1298,7 @@ pub mod cloud_endpoints { } } pub mod post_backup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PostBackupResponse), @@ -1370,7 +1370,7 @@ pub mod cloud_endpoints { } } pub mod pre_restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1440,7 +1440,7 @@ pub mod cloud_endpoints { } } pub mod restoreheartbeat { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1507,7 +1507,7 @@ pub mod cloud_endpoints { } } pub mod post_restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1536,7 +1536,7 @@ pub mod cloud_endpoints { } } pub mod server_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1589,7 +1589,7 @@ pub mod server_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1666,7 +1666,7 @@ pub mod server_endpoints { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerEndpoint), @@ -1752,7 +1752,7 @@ pub mod server_endpoints { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerEndpoint), @@ -1827,7 +1827,7 @@ pub mod server_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1907,7 +1907,7 @@ pub mod server_endpoints { } } pub mod list_by_sync_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1974,7 +1974,7 @@ pub mod server_endpoints { } } pub mod recall_action { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2003,7 +2003,7 @@ pub mod server_endpoints { } } pub mod registered_servers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_storage_sync_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2057,7 +2057,7 @@ pub mod registered_servers { } } pub mod list_by_storage_sync_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2129,7 +2129,7 @@ pub mod registered_servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2204,7 +2204,7 @@ pub mod registered_servers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RegisteredServer), @@ -2278,7 +2278,7 @@ pub mod registered_servers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2308,7 +2308,7 @@ pub mod registered_servers { } } pub mod workflows { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2359,7 +2359,7 @@ pub mod workflows { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2427,7 +2427,7 @@ pub mod workflows { } } pub mod abort { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/storagesync/src/package_2018_07_01/operations.rs b/services/mgmt/storagesync/src/package_2018_07_01/operations.rs index 0a9afee71d..796733d9ae 100644 --- a/services/mgmt/storagesync/src/package_2018_07_01/operations.rs +++ b/services/mgmt/storagesync/src/package_2018_07_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.StorageSync/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod storage_sync_services { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, location_name: &str, @@ -118,7 +118,7 @@ pub mod storage_sync_services { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -185,7 +185,7 @@ pub mod storage_sync_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -257,7 +257,7 @@ pub mod storage_sync_services { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -333,7 +333,7 @@ pub mod storage_sync_services { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -399,7 +399,7 @@ pub mod storage_sync_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -477,7 +477,7 @@ pub mod storage_sync_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -546,7 +546,7 @@ pub mod storage_sync_services { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -570,7 +570,7 @@ pub mod storage_sync_services { } } pub mod sync_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_storage_sync_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -624,7 +624,7 @@ pub mod sync_groups { } } pub mod list_by_storage_sync_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -696,7 +696,7 @@ pub mod sync_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -770,7 +770,7 @@ pub mod sync_groups { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -838,7 +838,7 @@ pub mod sync_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -867,7 +867,7 @@ pub mod sync_groups { } } pub mod cloud_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -920,7 +920,7 @@ pub mod cloud_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -997,7 +997,7 @@ pub mod cloud_endpoints { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CloudEndpoint), @@ -1073,7 +1073,7 @@ pub mod cloud_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1154,7 +1154,7 @@ pub mod cloud_endpoints { } } pub mod list_by_sync_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1221,7 +1221,7 @@ pub mod cloud_endpoints { } } pub mod pre_backup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1298,7 +1298,7 @@ pub mod cloud_endpoints { } } pub mod post_backup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PostBackupResponse), @@ -1370,7 +1370,7 @@ pub mod cloud_endpoints { } } pub mod pre_restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1440,7 +1440,7 @@ pub mod cloud_endpoints { } } pub mod restoreheartbeat { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1507,7 +1507,7 @@ pub mod cloud_endpoints { } } pub mod post_restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1536,7 +1536,7 @@ pub mod cloud_endpoints { } } pub mod server_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1589,7 +1589,7 @@ pub mod server_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1666,7 +1666,7 @@ pub mod server_endpoints { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerEndpoint), @@ -1752,7 +1752,7 @@ pub mod server_endpoints { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerEndpoint), @@ -1827,7 +1827,7 @@ pub mod server_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1907,7 +1907,7 @@ pub mod server_endpoints { } } pub mod list_by_sync_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1974,7 +1974,7 @@ pub mod server_endpoints { } } pub mod recall_action { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2003,7 +2003,7 @@ pub mod server_endpoints { } } pub mod registered_servers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_storage_sync_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2057,7 +2057,7 @@ pub mod registered_servers { } } pub mod list_by_storage_sync_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2129,7 +2129,7 @@ pub mod registered_servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2204,7 +2204,7 @@ pub mod registered_servers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RegisteredServer), @@ -2278,7 +2278,7 @@ pub mod registered_servers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2350,7 +2350,7 @@ pub mod registered_servers { } } pub mod trigger_rollover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2379,7 +2379,7 @@ pub mod registered_servers { } } pub mod workflows { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_storage_sync_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2433,7 +2433,7 @@ pub mod workflows { } } pub mod list_by_storage_sync_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2505,7 +2505,7 @@ pub mod workflows { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2573,7 +2573,7 @@ pub mod workflows { } } pub mod abort { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/storagesync/src/package_2018_10_01/operations.rs b/services/mgmt/storagesync/src/package_2018_10_01/operations.rs index 0a9afee71d..796733d9ae 100644 --- a/services/mgmt/storagesync/src/package_2018_10_01/operations.rs +++ b/services/mgmt/storagesync/src/package_2018_10_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.StorageSync/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod storage_sync_services { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, location_name: &str, @@ -118,7 +118,7 @@ pub mod storage_sync_services { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -185,7 +185,7 @@ pub mod storage_sync_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -257,7 +257,7 @@ pub mod storage_sync_services { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -333,7 +333,7 @@ pub mod storage_sync_services { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -399,7 +399,7 @@ pub mod storage_sync_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -477,7 +477,7 @@ pub mod storage_sync_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -546,7 +546,7 @@ pub mod storage_sync_services { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -570,7 +570,7 @@ pub mod storage_sync_services { } } pub mod sync_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_storage_sync_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -624,7 +624,7 @@ pub mod sync_groups { } } pub mod list_by_storage_sync_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -696,7 +696,7 @@ pub mod sync_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -770,7 +770,7 @@ pub mod sync_groups { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -838,7 +838,7 @@ pub mod sync_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -867,7 +867,7 @@ pub mod sync_groups { } } pub mod cloud_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -920,7 +920,7 @@ pub mod cloud_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -997,7 +997,7 @@ pub mod cloud_endpoints { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CloudEndpoint), @@ -1073,7 +1073,7 @@ pub mod cloud_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1154,7 +1154,7 @@ pub mod cloud_endpoints { } } pub mod list_by_sync_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1221,7 +1221,7 @@ pub mod cloud_endpoints { } } pub mod pre_backup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1298,7 +1298,7 @@ pub mod cloud_endpoints { } } pub mod post_backup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PostBackupResponse), @@ -1370,7 +1370,7 @@ pub mod cloud_endpoints { } } pub mod pre_restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1440,7 +1440,7 @@ pub mod cloud_endpoints { } } pub mod restoreheartbeat { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1507,7 +1507,7 @@ pub mod cloud_endpoints { } } pub mod post_restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1536,7 +1536,7 @@ pub mod cloud_endpoints { } } pub mod server_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1589,7 +1589,7 @@ pub mod server_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1666,7 +1666,7 @@ pub mod server_endpoints { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerEndpoint), @@ -1752,7 +1752,7 @@ pub mod server_endpoints { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerEndpoint), @@ -1827,7 +1827,7 @@ pub mod server_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1907,7 +1907,7 @@ pub mod server_endpoints { } } pub mod list_by_sync_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1974,7 +1974,7 @@ pub mod server_endpoints { } } pub mod recall_action { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2003,7 +2003,7 @@ pub mod server_endpoints { } } pub mod registered_servers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_storage_sync_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2057,7 +2057,7 @@ pub mod registered_servers { } } pub mod list_by_storage_sync_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2129,7 +2129,7 @@ pub mod registered_servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2204,7 +2204,7 @@ pub mod registered_servers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RegisteredServer), @@ -2278,7 +2278,7 @@ pub mod registered_servers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2350,7 +2350,7 @@ pub mod registered_servers { } } pub mod trigger_rollover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2379,7 +2379,7 @@ pub mod registered_servers { } } pub mod workflows { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_storage_sync_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2433,7 +2433,7 @@ pub mod workflows { } } pub mod list_by_storage_sync_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2505,7 +2505,7 @@ pub mod workflows { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2573,7 +2573,7 @@ pub mod workflows { } } pub mod abort { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/storagesync/src/package_2019_02_01/operations.rs b/services/mgmt/storagesync/src/package_2019_02_01/operations.rs index 0a9afee71d..796733d9ae 100644 --- a/services/mgmt/storagesync/src/package_2019_02_01/operations.rs +++ b/services/mgmt/storagesync/src/package_2019_02_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.StorageSync/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod storage_sync_services { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, location_name: &str, @@ -118,7 +118,7 @@ pub mod storage_sync_services { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -185,7 +185,7 @@ pub mod storage_sync_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -257,7 +257,7 @@ pub mod storage_sync_services { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -333,7 +333,7 @@ pub mod storage_sync_services { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -399,7 +399,7 @@ pub mod storage_sync_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -477,7 +477,7 @@ pub mod storage_sync_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -546,7 +546,7 @@ pub mod storage_sync_services { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -570,7 +570,7 @@ pub mod storage_sync_services { } } pub mod sync_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_storage_sync_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -624,7 +624,7 @@ pub mod sync_groups { } } pub mod list_by_storage_sync_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -696,7 +696,7 @@ pub mod sync_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -770,7 +770,7 @@ pub mod sync_groups { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -838,7 +838,7 @@ pub mod sync_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -867,7 +867,7 @@ pub mod sync_groups { } } pub mod cloud_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -920,7 +920,7 @@ pub mod cloud_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -997,7 +997,7 @@ pub mod cloud_endpoints { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CloudEndpoint), @@ -1073,7 +1073,7 @@ pub mod cloud_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1154,7 +1154,7 @@ pub mod cloud_endpoints { } } pub mod list_by_sync_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1221,7 +1221,7 @@ pub mod cloud_endpoints { } } pub mod pre_backup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1298,7 +1298,7 @@ pub mod cloud_endpoints { } } pub mod post_backup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PostBackupResponse), @@ -1370,7 +1370,7 @@ pub mod cloud_endpoints { } } pub mod pre_restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1440,7 +1440,7 @@ pub mod cloud_endpoints { } } pub mod restoreheartbeat { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1507,7 +1507,7 @@ pub mod cloud_endpoints { } } pub mod post_restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1536,7 +1536,7 @@ pub mod cloud_endpoints { } } pub mod server_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1589,7 +1589,7 @@ pub mod server_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1666,7 +1666,7 @@ pub mod server_endpoints { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerEndpoint), @@ -1752,7 +1752,7 @@ pub mod server_endpoints { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerEndpoint), @@ -1827,7 +1827,7 @@ pub mod server_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1907,7 +1907,7 @@ pub mod server_endpoints { } } pub mod list_by_sync_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1974,7 +1974,7 @@ pub mod server_endpoints { } } pub mod recall_action { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2003,7 +2003,7 @@ pub mod server_endpoints { } } pub mod registered_servers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_storage_sync_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2057,7 +2057,7 @@ pub mod registered_servers { } } pub mod list_by_storage_sync_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2129,7 +2129,7 @@ pub mod registered_servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2204,7 +2204,7 @@ pub mod registered_servers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RegisteredServer), @@ -2278,7 +2278,7 @@ pub mod registered_servers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2350,7 +2350,7 @@ pub mod registered_servers { } } pub mod trigger_rollover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2379,7 +2379,7 @@ pub mod registered_servers { } } pub mod workflows { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_storage_sync_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2433,7 +2433,7 @@ pub mod workflows { } } pub mod list_by_storage_sync_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2505,7 +2505,7 @@ pub mod workflows { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2573,7 +2573,7 @@ pub mod workflows { } } pub mod abort { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/storagesync/src/package_2019_03_01/operations.rs b/services/mgmt/storagesync/src/package_2019_03_01/operations.rs index e26228903c..654c7da27d 100644 --- a/services/mgmt/storagesync/src/package_2019_03_01/operations.rs +++ b/services/mgmt/storagesync/src/package_2019_03_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.StorageSync/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod storage_sync_services { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, location_name: &str, @@ -118,7 +118,7 @@ pub mod storage_sync_services { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -185,7 +185,7 @@ pub mod storage_sync_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -257,7 +257,7 @@ pub mod storage_sync_services { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -333,7 +333,7 @@ pub mod storage_sync_services { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -399,7 +399,7 @@ pub mod storage_sync_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -477,7 +477,7 @@ pub mod storage_sync_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -546,7 +546,7 @@ pub mod storage_sync_services { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -570,7 +570,7 @@ pub mod storage_sync_services { } } pub mod sync_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_storage_sync_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -624,7 +624,7 @@ pub mod sync_groups { } } pub mod list_by_storage_sync_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -696,7 +696,7 @@ pub mod sync_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -770,7 +770,7 @@ pub mod sync_groups { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -838,7 +838,7 @@ pub mod sync_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -867,7 +867,7 @@ pub mod sync_groups { } } pub mod cloud_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -920,7 +920,7 @@ pub mod cloud_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -997,7 +997,7 @@ pub mod cloud_endpoints { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CloudEndpoint), @@ -1073,7 +1073,7 @@ pub mod cloud_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1154,7 +1154,7 @@ pub mod cloud_endpoints { } } pub mod list_by_sync_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1221,7 +1221,7 @@ pub mod cloud_endpoints { } } pub mod pre_backup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1298,7 +1298,7 @@ pub mod cloud_endpoints { } } pub mod post_backup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PostBackupResponse), @@ -1370,7 +1370,7 @@ pub mod cloud_endpoints { } } pub mod pre_restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1440,7 +1440,7 @@ pub mod cloud_endpoints { } } pub mod restoreheartbeat { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1507,7 +1507,7 @@ pub mod cloud_endpoints { } } pub mod post_restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1581,7 +1581,7 @@ pub mod cloud_endpoints { } } pub mod trigger_change_detection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1610,7 +1610,7 @@ pub mod cloud_endpoints { } } pub mod server_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1663,7 +1663,7 @@ pub mod server_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1740,7 +1740,7 @@ pub mod server_endpoints { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerEndpoint), @@ -1826,7 +1826,7 @@ pub mod server_endpoints { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerEndpoint), @@ -1901,7 +1901,7 @@ pub mod server_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1981,7 +1981,7 @@ pub mod server_endpoints { } } pub mod list_by_sync_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2048,7 +2048,7 @@ pub mod server_endpoints { } } pub mod recall_action { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2077,7 +2077,7 @@ pub mod server_endpoints { } } pub mod registered_servers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_storage_sync_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2131,7 +2131,7 @@ pub mod registered_servers { } } pub mod list_by_storage_sync_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2203,7 +2203,7 @@ pub mod registered_servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2278,7 +2278,7 @@ pub mod registered_servers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RegisteredServer), @@ -2352,7 +2352,7 @@ pub mod registered_servers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2424,7 +2424,7 @@ pub mod registered_servers { } } pub mod trigger_rollover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2453,7 +2453,7 @@ pub mod registered_servers { } } pub mod workflows { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_storage_sync_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2507,7 +2507,7 @@ pub mod workflows { } } pub mod list_by_storage_sync_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2579,7 +2579,7 @@ pub mod workflows { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2647,7 +2647,7 @@ pub mod workflows { } } pub mod abort { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2671,7 +2671,7 @@ pub mod workflows { } } pub mod operation_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2724,7 +2724,7 @@ pub mod operation_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/storagesync/src/package_2019_06_01/operations.rs b/services/mgmt/storagesync/src/package_2019_06_01/operations.rs index e26228903c..654c7da27d 100644 --- a/services/mgmt/storagesync/src/package_2019_06_01/operations.rs +++ b/services/mgmt/storagesync/src/package_2019_06_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.StorageSync/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod storage_sync_services { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, location_name: &str, @@ -118,7 +118,7 @@ pub mod storage_sync_services { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -185,7 +185,7 @@ pub mod storage_sync_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -257,7 +257,7 @@ pub mod storage_sync_services { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -333,7 +333,7 @@ pub mod storage_sync_services { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -399,7 +399,7 @@ pub mod storage_sync_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -477,7 +477,7 @@ pub mod storage_sync_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -546,7 +546,7 @@ pub mod storage_sync_services { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -570,7 +570,7 @@ pub mod storage_sync_services { } } pub mod sync_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_storage_sync_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -624,7 +624,7 @@ pub mod sync_groups { } } pub mod list_by_storage_sync_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -696,7 +696,7 @@ pub mod sync_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -770,7 +770,7 @@ pub mod sync_groups { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -838,7 +838,7 @@ pub mod sync_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -867,7 +867,7 @@ pub mod sync_groups { } } pub mod cloud_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -920,7 +920,7 @@ pub mod cloud_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -997,7 +997,7 @@ pub mod cloud_endpoints { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CloudEndpoint), @@ -1073,7 +1073,7 @@ pub mod cloud_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1154,7 +1154,7 @@ pub mod cloud_endpoints { } } pub mod list_by_sync_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1221,7 +1221,7 @@ pub mod cloud_endpoints { } } pub mod pre_backup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1298,7 +1298,7 @@ pub mod cloud_endpoints { } } pub mod post_backup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PostBackupResponse), @@ -1370,7 +1370,7 @@ pub mod cloud_endpoints { } } pub mod pre_restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1440,7 +1440,7 @@ pub mod cloud_endpoints { } } pub mod restoreheartbeat { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1507,7 +1507,7 @@ pub mod cloud_endpoints { } } pub mod post_restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1581,7 +1581,7 @@ pub mod cloud_endpoints { } } pub mod trigger_change_detection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1610,7 +1610,7 @@ pub mod cloud_endpoints { } } pub mod server_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1663,7 +1663,7 @@ pub mod server_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1740,7 +1740,7 @@ pub mod server_endpoints { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerEndpoint), @@ -1826,7 +1826,7 @@ pub mod server_endpoints { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerEndpoint), @@ -1901,7 +1901,7 @@ pub mod server_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1981,7 +1981,7 @@ pub mod server_endpoints { } } pub mod list_by_sync_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2048,7 +2048,7 @@ pub mod server_endpoints { } } pub mod recall_action { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2077,7 +2077,7 @@ pub mod server_endpoints { } } pub mod registered_servers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_storage_sync_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2131,7 +2131,7 @@ pub mod registered_servers { } } pub mod list_by_storage_sync_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2203,7 +2203,7 @@ pub mod registered_servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2278,7 +2278,7 @@ pub mod registered_servers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RegisteredServer), @@ -2352,7 +2352,7 @@ pub mod registered_servers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2424,7 +2424,7 @@ pub mod registered_servers { } } pub mod trigger_rollover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2453,7 +2453,7 @@ pub mod registered_servers { } } pub mod workflows { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_storage_sync_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2507,7 +2507,7 @@ pub mod workflows { } } pub mod list_by_storage_sync_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2579,7 +2579,7 @@ pub mod workflows { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2647,7 +2647,7 @@ pub mod workflows { } } pub mod abort { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2671,7 +2671,7 @@ pub mod workflows { } } pub mod operation_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2724,7 +2724,7 @@ pub mod operation_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/storagesync/src/package_2019_10_01/operations.rs b/services/mgmt/storagesync/src/package_2019_10_01/operations.rs index e26228903c..654c7da27d 100644 --- a/services/mgmt/storagesync/src/package_2019_10_01/operations.rs +++ b/services/mgmt/storagesync/src/package_2019_10_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.StorageSync/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod storage_sync_services { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, location_name: &str, @@ -118,7 +118,7 @@ pub mod storage_sync_services { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -185,7 +185,7 @@ pub mod storage_sync_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -257,7 +257,7 @@ pub mod storage_sync_services { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -333,7 +333,7 @@ pub mod storage_sync_services { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -399,7 +399,7 @@ pub mod storage_sync_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -477,7 +477,7 @@ pub mod storage_sync_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -546,7 +546,7 @@ pub mod storage_sync_services { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -570,7 +570,7 @@ pub mod storage_sync_services { } } pub mod sync_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_storage_sync_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -624,7 +624,7 @@ pub mod sync_groups { } } pub mod list_by_storage_sync_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -696,7 +696,7 @@ pub mod sync_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -770,7 +770,7 @@ pub mod sync_groups { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -838,7 +838,7 @@ pub mod sync_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -867,7 +867,7 @@ pub mod sync_groups { } } pub mod cloud_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -920,7 +920,7 @@ pub mod cloud_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -997,7 +997,7 @@ pub mod cloud_endpoints { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CloudEndpoint), @@ -1073,7 +1073,7 @@ pub mod cloud_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1154,7 +1154,7 @@ pub mod cloud_endpoints { } } pub mod list_by_sync_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1221,7 +1221,7 @@ pub mod cloud_endpoints { } } pub mod pre_backup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1298,7 +1298,7 @@ pub mod cloud_endpoints { } } pub mod post_backup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PostBackupResponse), @@ -1370,7 +1370,7 @@ pub mod cloud_endpoints { } } pub mod pre_restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1440,7 +1440,7 @@ pub mod cloud_endpoints { } } pub mod restoreheartbeat { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1507,7 +1507,7 @@ pub mod cloud_endpoints { } } pub mod post_restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1581,7 +1581,7 @@ pub mod cloud_endpoints { } } pub mod trigger_change_detection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1610,7 +1610,7 @@ pub mod cloud_endpoints { } } pub mod server_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1663,7 +1663,7 @@ pub mod server_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1740,7 +1740,7 @@ pub mod server_endpoints { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerEndpoint), @@ -1826,7 +1826,7 @@ pub mod server_endpoints { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerEndpoint), @@ -1901,7 +1901,7 @@ pub mod server_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1981,7 +1981,7 @@ pub mod server_endpoints { } } pub mod list_by_sync_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2048,7 +2048,7 @@ pub mod server_endpoints { } } pub mod recall_action { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2077,7 +2077,7 @@ pub mod server_endpoints { } } pub mod registered_servers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_storage_sync_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2131,7 +2131,7 @@ pub mod registered_servers { } } pub mod list_by_storage_sync_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2203,7 +2203,7 @@ pub mod registered_servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2278,7 +2278,7 @@ pub mod registered_servers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RegisteredServer), @@ -2352,7 +2352,7 @@ pub mod registered_servers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2424,7 +2424,7 @@ pub mod registered_servers { } } pub mod trigger_rollover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2453,7 +2453,7 @@ pub mod registered_servers { } } pub mod workflows { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_storage_sync_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2507,7 +2507,7 @@ pub mod workflows { } } pub mod list_by_storage_sync_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2579,7 +2579,7 @@ pub mod workflows { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2647,7 +2647,7 @@ pub mod workflows { } } pub mod abort { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2671,7 +2671,7 @@ pub mod workflows { } } pub mod operation_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2724,7 +2724,7 @@ pub mod operation_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/storagesync/src/package_2020_03_01/operations.rs b/services/mgmt/storagesync/src/package_2020_03_01/operations.rs index 9d6a63b7a0..c9c529fb25 100644 --- a/services/mgmt/storagesync/src/package_2020_03_01/operations.rs +++ b/services/mgmt/storagesync/src/package_2020_03_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.StorageSync/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod storage_sync_services { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, location_name: &str, @@ -118,7 +118,7 @@ pub mod storage_sync_services { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -185,7 +185,7 @@ pub mod storage_sync_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -258,7 +258,7 @@ pub mod storage_sync_services { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageSyncService), @@ -340,7 +340,7 @@ pub mod storage_sync_services { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageSyncService), @@ -412,7 +412,7 @@ pub mod storage_sync_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -491,7 +491,7 @@ pub mod storage_sync_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -560,7 +560,7 @@ pub mod storage_sync_services { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -584,7 +584,7 @@ pub mod storage_sync_services { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_storage_sync_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -636,7 +636,7 @@ pub mod private_link_resources { } } pub mod list_by_storage_sync_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -657,7 +657,7 @@ pub mod private_link_resources { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -708,7 +708,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -783,7 +783,7 @@ pub mod private_endpoint_connections { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -857,7 +857,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -938,7 +938,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_storage_sync_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -962,7 +962,7 @@ pub mod private_endpoint_connections { } } pub mod sync_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_storage_sync_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1016,7 +1016,7 @@ pub mod sync_groups { } } pub mod list_by_storage_sync_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1088,7 +1088,7 @@ pub mod sync_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1162,7 +1162,7 @@ pub mod sync_groups { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1230,7 +1230,7 @@ pub mod sync_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1259,7 +1259,7 @@ pub mod sync_groups { } } pub mod cloud_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1312,7 +1312,7 @@ pub mod cloud_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1389,7 +1389,7 @@ pub mod cloud_endpoints { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CloudEndpoint), @@ -1465,7 +1465,7 @@ pub mod cloud_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1546,7 +1546,7 @@ pub mod cloud_endpoints { } } pub mod list_by_sync_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1613,7 +1613,7 @@ pub mod cloud_endpoints { } } pub mod pre_backup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1690,7 +1690,7 @@ pub mod cloud_endpoints { } } pub mod post_backup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PostBackupResponse), @@ -1762,7 +1762,7 @@ pub mod cloud_endpoints { } } pub mod pre_restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1832,7 +1832,7 @@ pub mod cloud_endpoints { } } pub mod restoreheartbeat { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1899,7 +1899,7 @@ pub mod cloud_endpoints { } } pub mod post_restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1973,7 +1973,7 @@ pub mod cloud_endpoints { } } pub mod trigger_change_detection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2002,7 +2002,7 @@ pub mod cloud_endpoints { } } pub mod server_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2055,7 +2055,7 @@ pub mod server_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2132,7 +2132,7 @@ pub mod server_endpoints { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerEndpoint), @@ -2218,7 +2218,7 @@ pub mod server_endpoints { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerEndpoint), @@ -2293,7 +2293,7 @@ pub mod server_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2373,7 +2373,7 @@ pub mod server_endpoints { } } pub mod list_by_sync_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2440,7 +2440,7 @@ pub mod server_endpoints { } } pub mod recall_action { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2469,7 +2469,7 @@ pub mod server_endpoints { } } pub mod registered_servers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_storage_sync_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2523,7 +2523,7 @@ pub mod registered_servers { } } pub mod list_by_storage_sync_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2595,7 +2595,7 @@ pub mod registered_servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2670,7 +2670,7 @@ pub mod registered_servers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RegisteredServer), @@ -2744,7 +2744,7 @@ pub mod registered_servers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2816,7 +2816,7 @@ pub mod registered_servers { } } pub mod trigger_rollover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2845,7 +2845,7 @@ pub mod registered_servers { } } pub mod workflows { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_storage_sync_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2899,7 +2899,7 @@ pub mod workflows { } } pub mod list_by_storage_sync_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2971,7 +2971,7 @@ pub mod workflows { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3039,7 +3039,7 @@ pub mod workflows { } } pub mod abort { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3063,7 +3063,7 @@ pub mod workflows { } } pub mod operation_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3116,7 +3116,7 @@ pub mod operation_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3192,7 +3192,7 @@ pub async fn location_operation_status( } } pub mod location_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/storagesync/src/package_2020_09_01/operations.rs b/services/mgmt/storagesync/src/package_2020_09_01/operations.rs index 9d6a63b7a0..c9c529fb25 100644 --- a/services/mgmt/storagesync/src/package_2020_09_01/operations.rs +++ b/services/mgmt/storagesync/src/package_2020_09_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.StorageSync/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod storage_sync_services { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, location_name: &str, @@ -118,7 +118,7 @@ pub mod storage_sync_services { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -185,7 +185,7 @@ pub mod storage_sync_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -258,7 +258,7 @@ pub mod storage_sync_services { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageSyncService), @@ -340,7 +340,7 @@ pub mod storage_sync_services { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageSyncService), @@ -412,7 +412,7 @@ pub mod storage_sync_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -491,7 +491,7 @@ pub mod storage_sync_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -560,7 +560,7 @@ pub mod storage_sync_services { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -584,7 +584,7 @@ pub mod storage_sync_services { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_storage_sync_service( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -636,7 +636,7 @@ pub mod private_link_resources { } } pub mod list_by_storage_sync_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -657,7 +657,7 @@ pub mod private_link_resources { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -708,7 +708,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -783,7 +783,7 @@ pub mod private_endpoint_connections { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -857,7 +857,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -938,7 +938,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_storage_sync_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -962,7 +962,7 @@ pub mod private_endpoint_connections { } } pub mod sync_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_storage_sync_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1016,7 +1016,7 @@ pub mod sync_groups { } } pub mod list_by_storage_sync_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1088,7 +1088,7 @@ pub mod sync_groups { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1162,7 +1162,7 @@ pub mod sync_groups { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1230,7 +1230,7 @@ pub mod sync_groups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1259,7 +1259,7 @@ pub mod sync_groups { } } pub mod cloud_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1312,7 +1312,7 @@ pub mod cloud_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1389,7 +1389,7 @@ pub mod cloud_endpoints { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CloudEndpoint), @@ -1465,7 +1465,7 @@ pub mod cloud_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1546,7 +1546,7 @@ pub mod cloud_endpoints { } } pub mod list_by_sync_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1613,7 +1613,7 @@ pub mod cloud_endpoints { } } pub mod pre_backup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1690,7 +1690,7 @@ pub mod cloud_endpoints { } } pub mod post_backup { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PostBackupResponse), @@ -1762,7 +1762,7 @@ pub mod cloud_endpoints { } } pub mod pre_restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1832,7 +1832,7 @@ pub mod cloud_endpoints { } } pub mod restoreheartbeat { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1899,7 +1899,7 @@ pub mod cloud_endpoints { } } pub mod post_restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1973,7 +1973,7 @@ pub mod cloud_endpoints { } } pub mod trigger_change_detection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2002,7 +2002,7 @@ pub mod cloud_endpoints { } } pub mod server_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2055,7 +2055,7 @@ pub mod server_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2132,7 +2132,7 @@ pub mod server_endpoints { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerEndpoint), @@ -2218,7 +2218,7 @@ pub mod server_endpoints { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerEndpoint), @@ -2293,7 +2293,7 @@ pub mod server_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2373,7 +2373,7 @@ pub mod server_endpoints { } } pub mod list_by_sync_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2440,7 +2440,7 @@ pub mod server_endpoints { } } pub mod recall_action { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2469,7 +2469,7 @@ pub mod server_endpoints { } } pub mod registered_servers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_storage_sync_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2523,7 +2523,7 @@ pub mod registered_servers { } } pub mod list_by_storage_sync_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2595,7 +2595,7 @@ pub mod registered_servers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2670,7 +2670,7 @@ pub mod registered_servers { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RegisteredServer), @@ -2744,7 +2744,7 @@ pub mod registered_servers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2816,7 +2816,7 @@ pub mod registered_servers { } } pub mod trigger_rollover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2845,7 +2845,7 @@ pub mod registered_servers { } } pub mod workflows { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_storage_sync_service( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2899,7 +2899,7 @@ pub mod workflows { } } pub mod list_by_storage_sync_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2971,7 +2971,7 @@ pub mod workflows { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3039,7 +3039,7 @@ pub mod workflows { } } pub mod abort { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3063,7 +3063,7 @@ pub mod workflows { } } pub mod operation_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3116,7 +3116,7 @@ pub mod operation_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3192,7 +3192,7 @@ pub async fn location_operation_status( } } pub mod location_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/storsimple8000series/Cargo.toml b/services/mgmt/storsimple8000series/Cargo.toml index fec60faab3..f650bf190f 100644 --- a/services/mgmt/storsimple8000series/Cargo.toml +++ b/services/mgmt/storsimple8000series/Cargo.toml @@ -20,4 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2017-06"] +no-default-version = [] "package-2017-06" = [] diff --git a/services/mgmt/storsimple8000series/src/lib.rs b/services/mgmt/storsimple8000series/src/lib.rs index 74bbd57ee7..ed735dfa5a 100644 --- a/services/mgmt/storsimple8000series/src/lib.rs +++ b/services/mgmt/storsimple8000series/src/lib.rs @@ -1,9 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2017-06")] -mod package_2017_06; +pub mod package_2017_06; use azure_core::setters; -#[cfg(feature = "package-2017-06")] +#[cfg(all(feature = "package-2017-06", not(feature = "no-default-version")))] pub use package_2017_06::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -27,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/storsimple8000series/src/package_2017_06/operations.rs b/services/mgmt/storsimple8000series/src/package_2017_06/operations.rs index 46456a9ef6..057eb010af 100644 --- a/services/mgmt/storsimple8000series/src/package_2017_06/operations.rs +++ b/services/mgmt/storsimple8000series/src/package_2017_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.StorSimple/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod managers { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig, subscription_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -101,7 +101,7 @@ pub mod managers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -169,7 +169,7 @@ pub mod managers { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -234,7 +234,7 @@ pub mod managers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -310,7 +310,7 @@ pub mod managers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Manager), @@ -382,7 +382,7 @@ pub mod managers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -443,7 +443,7 @@ pub mod managers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -521,7 +521,7 @@ pub mod managers { } } pub mod get_device_public_encryption_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -591,7 +591,7 @@ pub mod managers { } } pub mod get_encryption_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -659,7 +659,7 @@ pub mod managers { } } pub mod get_extended_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -729,7 +729,7 @@ pub mod managers { } } pub mod create_extended_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -801,7 +801,7 @@ pub mod managers { } } pub mod update_extended_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -864,7 +864,7 @@ pub mod managers { } } pub mod delete_extended_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -938,7 +938,7 @@ pub mod managers { } } pub mod list_feature_support_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1007,7 +1007,7 @@ pub mod managers { } } pub mod get_activation_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1078,7 +1078,7 @@ pub mod managers { } } pub mod get_public_encryption_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1148,7 +1148,7 @@ pub mod managers { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1218,7 +1218,7 @@ pub mod managers { } } pub mod list_metric_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1289,7 +1289,7 @@ pub mod managers { } } pub mod regenerate_activation_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1310,7 +1310,7 @@ pub mod managers { } } pub mod access_control_records { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_manager( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1360,7 +1360,7 @@ pub mod access_control_records { } } pub mod list_by_manager { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1427,7 +1427,7 @@ pub mod access_control_records { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1500,7 +1500,7 @@ pub mod access_control_records { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessControlRecord), @@ -1568,7 +1568,7 @@ pub mod access_control_records { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1594,7 +1594,7 @@ pub mod access_control_records { } } pub mod alerts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_manager( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1648,7 +1648,7 @@ pub mod alerts { } } pub mod list_by_manager { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1710,7 +1710,7 @@ pub mod alerts { } } pub mod clear { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1777,7 +1777,7 @@ pub mod alerts { } } pub mod send_test_email { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1798,7 +1798,7 @@ pub mod alerts { } } pub mod bandwidth_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_manager( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1848,7 +1848,7 @@ pub mod bandwidth_settings { } } pub mod list_by_manager { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1915,7 +1915,7 @@ pub mod bandwidth_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1988,7 +1988,7 @@ pub mod bandwidth_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BandwidthSetting), @@ -2056,7 +2056,7 @@ pub mod bandwidth_settings { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2082,7 +2082,7 @@ pub mod bandwidth_settings { } } pub mod cloud_appliances { - use crate::models::*; + use super::{models, models::*}; pub async fn list_supported_configurations( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2134,7 +2134,7 @@ pub mod cloud_appliances { } } pub mod list_supported_configurations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2200,7 +2200,7 @@ pub mod cloud_appliances { } } pub mod provision { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2226,7 +2226,7 @@ pub mod cloud_appliances { } } pub mod devices { - use crate::models::*; + use super::{models, models::*}; pub async fn configure( operation_config: &crate::OperationConfig, parameters: &ConfigureDeviceRequest, @@ -2274,7 +2274,7 @@ pub mod devices { } } pub mod configure { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2351,7 +2351,7 @@ pub mod devices { } } pub mod list_by_manager { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2422,7 +2422,7 @@ pub mod devices { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2491,7 +2491,7 @@ pub mod devices { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2554,7 +2554,7 @@ pub mod devices { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2620,7 +2620,7 @@ pub mod devices { } } pub mod authorize_for_service_encryption_key_rollover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2687,7 +2687,7 @@ pub mod devices { } } pub mod deactivate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2759,7 +2759,7 @@ pub mod devices { } } pub mod install_updates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2835,7 +2835,7 @@ pub mod devices { } } pub mod list_failover_sets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2907,7 +2907,7 @@ pub mod devices { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2979,7 +2979,7 @@ pub mod devices { } } pub mod list_metric_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3046,7 +3046,7 @@ pub mod devices { } } pub mod scan_for_updates { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3121,7 +3121,7 @@ pub mod devices { } } pub mod get_update_summary { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3189,7 +3189,7 @@ pub mod devices { } } pub mod failover { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3268,7 +3268,7 @@ pub mod devices { } } pub mod list_failover_targets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3289,7 +3289,7 @@ pub mod devices { } } pub mod device_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get_alert_settings( operation_config: &crate::OperationConfig, device_name: &str, @@ -3341,7 +3341,7 @@ pub mod device_settings { } } pub mod get_alert_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3416,7 +3416,7 @@ pub mod device_settings { } } pub mod create_or_update_alert_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AlertSettings), @@ -3491,7 +3491,7 @@ pub mod device_settings { } } pub mod get_network_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3566,7 +3566,7 @@ pub mod device_settings { } } pub mod update_network_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NetworkSettings), @@ -3643,7 +3643,7 @@ pub mod device_settings { } } pub mod get_security_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3718,7 +3718,7 @@ pub mod device_settings { } } pub mod update_security_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SecuritySettings), @@ -3785,7 +3785,7 @@ pub mod device_settings { } } pub mod sync_remotemanagement_certificate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -3860,7 +3860,7 @@ pub mod device_settings { } } pub mod get_time_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3935,7 +3935,7 @@ pub mod device_settings { } } pub mod create_or_update_time_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TimeSettings), @@ -3961,7 +3961,7 @@ pub mod device_settings { } } pub mod backup_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -4013,7 +4013,7 @@ pub mod backup_policies { } } pub mod list_by_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4082,7 +4082,7 @@ pub mod backup_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4157,7 +4157,7 @@ pub mod backup_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BackupPolicy), @@ -4227,7 +4227,7 @@ pub mod backup_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4303,7 +4303,7 @@ pub mod backup_policies { } } pub mod backup_now { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4329,7 +4329,7 @@ pub mod backup_policies { } } pub mod backup_schedules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_backup_policy( operation_config: &crate::OperationConfig, device_name: &str, @@ -4385,7 +4385,7 @@ pub mod backup_schedules { } } pub mod list_by_backup_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4456,7 +4456,7 @@ pub mod backup_schedules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4533,7 +4533,7 @@ pub mod backup_schedules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BackupSchedule), @@ -4605,7 +4605,7 @@ pub mod backup_schedules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4631,7 +4631,7 @@ pub mod backup_schedules { } } pub mod backups { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -4687,7 +4687,7 @@ pub mod backups { } } pub mod list_by_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4752,7 +4752,7 @@ pub mod backups { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -4826,7 +4826,7 @@ pub mod backups { } } pub mod clone { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4900,7 +4900,7 @@ pub mod backups { } } pub mod restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4926,7 +4926,7 @@ pub mod backups { } } pub mod hardware_component_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -4978,7 +4978,7 @@ pub mod hardware_component_groups { } } pub mod list_by_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5042,7 +5042,7 @@ pub mod hardware_component_groups { } } pub mod change_controller_power_state { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5068,7 +5068,7 @@ pub mod hardware_component_groups { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -5124,7 +5124,7 @@ pub mod jobs { } } pub mod list_by_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5193,7 +5193,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5259,7 +5259,7 @@ pub mod jobs { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5336,7 +5336,7 @@ pub mod jobs { } } pub mod list_by_manager { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5357,7 +5357,7 @@ pub mod jobs { } } pub mod volume_containers { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_device( operation_config: &crate::OperationConfig, device_name: &str, @@ -5409,7 +5409,7 @@ pub mod volume_containers { } } pub mod list_by_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5478,7 +5478,7 @@ pub mod volume_containers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5553,7 +5553,7 @@ pub mod volume_containers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VolumeContainer), @@ -5623,7 +5623,7 @@ pub mod volume_containers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -5702,7 +5702,7 @@ pub mod volume_containers { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5768,7 +5768,7 @@ pub mod volume_containers { } } pub mod list_metric_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5789,7 +5789,7 @@ pub mod volume_containers { } } pub mod volumes { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_volume_container( operation_config: &crate::OperationConfig, device_name: &str, @@ -5845,7 +5845,7 @@ pub mod volumes { } } pub mod list_by_volume_container { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5916,7 +5916,7 @@ pub mod volumes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -5993,7 +5993,7 @@ pub mod volumes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Volume), @@ -6065,7 +6065,7 @@ pub mod volumes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -6137,7 +6137,7 @@ pub mod volumes { } } pub mod list_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6204,7 +6204,7 @@ pub mod volumes { } } pub mod list_metric_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6274,7 +6274,7 @@ pub mod volumes { } } pub mod list_by_device { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6295,7 +6295,7 @@ pub mod volumes { } } pub mod storage_account_credentials { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_manager( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6345,7 +6345,7 @@ pub mod storage_account_credentials { } } pub mod list_by_manager { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6412,7 +6412,7 @@ pub mod storage_account_credentials { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -6485,7 +6485,7 @@ pub mod storage_account_credentials { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StorageAccountCredential), @@ -6553,7 +6553,7 @@ pub mod storage_account_credentials { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, diff --git a/services/mgmt/streamanalytics/Cargo.toml b/services/mgmt/streamanalytics/Cargo.toml index b9779f80fe..b2dab71907 100644 --- a/services/mgmt/streamanalytics/Cargo.toml +++ b/services/mgmt/streamanalytics/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-pure-2020-03"] +no-default-version = [] "package-2020-03-preview" = [] "package-pure-2020-03" = [] "package-pure-2020-03-preview" = [] diff --git a/services/mgmt/streamanalytics/src/lib.rs b/services/mgmt/streamanalytics/src/lib.rs index 815b8191fb..27a5601f8d 100644 --- a/services/mgmt/streamanalytics/src/lib.rs +++ b/services/mgmt/streamanalytics/src/lib.rs @@ -1,25 +1,33 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2020-03-preview")] -mod package_2020_03_preview; -#[cfg(feature = "package-2020-03-preview")] +pub mod package_2020_03_preview; +#[cfg(all(feature = "package-2020-03-preview", not(feature = "no-default-version")))] pub use package_2020_03_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-pure-2020-03")] -mod package_pure_2020_03; -#[cfg(feature = "package-pure-2020-03")] +pub mod package_pure_2020_03; +#[cfg(all(feature = "package-pure-2020-03", not(feature = "no-default-version")))] pub use package_pure_2020_03::{models, operations, API_VERSION}; #[cfg(feature = "package-pure-2020-03-preview")] -mod package_pure_2020_03_preview; -#[cfg(feature = "package-pure-2020-03-preview")] +pub mod package_pure_2020_03_preview; +#[cfg(all(feature = "package-pure-2020-03-preview", not(feature = "no-default-version")))] pub use package_pure_2020_03_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-pure-2017-04-preview")] -mod package_pure_2017_04_preview; -#[cfg(feature = "package-pure-2017-04-preview")] +pub mod package_pure_2017_04_preview; +#[cfg(all(feature = "package-pure-2017-04-preview", not(feature = "no-default-version")))] pub use package_pure_2017_04_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-pure-2016-03")] -mod package_pure_2016_03; +pub mod package_pure_2016_03; use azure_core::setters; -#[cfg(feature = "package-pure-2016-03")] +#[cfg(all(feature = "package-pure-2016-03", not(feature = "no-default-version")))] pub use package_pure_2016_03::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -43,7 +51,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/streamanalytics/src/package_2020_03_preview/operations.rs b/services/mgmt/streamanalytics/src/package_2020_03_preview/operations.rs index 2352fdfb35..222103bc4e 100644 --- a/services/mgmt/streamanalytics/src/package_2020_03_preview/operations.rs +++ b/services/mgmt/streamanalytics/src/package_2020_03_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod functions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -55,7 +55,7 @@ pub mod functions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -146,7 +146,7 @@ pub mod functions { } } pub mod create_or_replace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Function), @@ -229,7 +229,7 @@ pub mod functions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -297,7 +297,7 @@ pub mod functions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -381,7 +381,7 @@ pub mod functions { } } pub mod list_by_streaming_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -460,7 +460,7 @@ pub mod functions { } } pub mod test { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ResourceTestStatus), @@ -542,7 +542,7 @@ pub mod functions { } } pub mod retrieve_default_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -566,7 +566,7 @@ pub mod functions { } } pub mod inputs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -617,7 +617,7 @@ pub mod inputs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -708,7 +708,7 @@ pub mod inputs { } } pub mod create_or_replace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Input), @@ -791,7 +791,7 @@ pub mod inputs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -859,7 +859,7 @@ pub mod inputs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -943,7 +943,7 @@ pub mod inputs { } } pub mod list_by_streaming_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1022,7 +1022,7 @@ pub mod inputs { } } pub mod test { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ResourceTestStatus), @@ -1051,7 +1051,7 @@ pub mod inputs { } } pub mod outputs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1102,7 +1102,7 @@ pub mod outputs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1193,7 +1193,7 @@ pub mod outputs { } } pub mod create_or_replace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Output), @@ -1276,7 +1276,7 @@ pub mod outputs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1344,7 +1344,7 @@ pub mod outputs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1428,7 +1428,7 @@ pub mod outputs { } } pub mod list_by_streaming_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1507,7 +1507,7 @@ pub mod outputs { } } pub mod test { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ResourceTestStatus), @@ -1536,7 +1536,7 @@ pub mod outputs { } } pub mod streaming_jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, expand: Option<&str>, @@ -1589,7 +1589,7 @@ pub mod streaming_jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1678,7 +1678,7 @@ pub mod streaming_jobs { } } pub mod create_or_replace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StreamingJob), @@ -1759,7 +1759,7 @@ pub mod streaming_jobs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1826,7 +1826,7 @@ pub mod streaming_jobs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1909,7 +1909,7 @@ pub mod streaming_jobs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1979,7 +1979,7 @@ pub mod streaming_jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2051,7 +2051,7 @@ pub mod streaming_jobs { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2123,7 +2123,7 @@ pub mod streaming_jobs { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2152,7 +2152,7 @@ pub mod streaming_jobs { } } pub mod transformations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2203,7 +2203,7 @@ pub mod transformations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2294,7 +2294,7 @@ pub mod transformations { } } pub mod create_or_replace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Transformation), @@ -2377,7 +2377,7 @@ pub mod transformations { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2401,7 +2401,7 @@ pub mod transformations { } } pub mod subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_quotas( operation_config: &crate::OperationConfig, location: &str, @@ -2451,7 +2451,7 @@ pub mod subscriptions { } } pub mod list_quotas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2525,7 +2525,7 @@ pub mod subscriptions { } } pub mod test_query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(QueryTestingResult), @@ -2603,7 +2603,7 @@ pub mod subscriptions { } } pub mod compile_query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2676,7 +2676,7 @@ pub mod subscriptions { } } pub mod sample_input { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2749,7 +2749,7 @@ pub mod subscriptions { } } pub mod test_input { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2822,7 +2822,7 @@ pub mod subscriptions { } } pub mod test_output { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2846,7 +2846,7 @@ pub mod subscriptions { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.StreamAnalytics/operations", operation_config.base_path(),); @@ -2884,7 +2884,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2908,7 +2908,7 @@ pub mod operations { } } pub mod clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2957,7 +2957,7 @@ pub mod clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3046,7 +3046,7 @@ pub mod clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -3128,7 +3128,7 @@ pub mod clusters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -3200,7 +3200,7 @@ pub mod clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3275,7 +3275,7 @@ pub mod clusters { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3348,7 +3348,7 @@ pub mod clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3422,7 +3422,7 @@ pub mod clusters { } } pub mod list_streaming_jobs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3446,7 +3446,7 @@ pub mod clusters { } } pub mod private_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3497,7 +3497,7 @@ pub mod private_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3588,7 +3588,7 @@ pub mod private_endpoints { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpoint), @@ -3662,7 +3662,7 @@ pub mod private_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3741,7 +3741,7 @@ pub mod private_endpoints { } } pub mod list_by_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/streamanalytics/src/package_pure_2016_03/operations.rs b/services/mgmt/streamanalytics/src/package_pure_2016_03/operations.rs index e97a9f5ef9..4bc00f0d72 100644 --- a/services/mgmt/streamanalytics/src/package_pure_2016_03/operations.rs +++ b/services/mgmt/streamanalytics/src/package_pure_2016_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.StreamAnalytics/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod streaming_jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, expand: Option<&str>, @@ -119,7 +119,7 @@ pub mod streaming_jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -208,7 +208,7 @@ pub mod streaming_jobs { } } pub mod create_or_replace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StreamingJob), @@ -289,7 +289,7 @@ pub mod streaming_jobs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -356,7 +356,7 @@ pub mod streaming_jobs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -439,7 +439,7 @@ pub mod streaming_jobs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -509,7 +509,7 @@ pub mod streaming_jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -581,7 +581,7 @@ pub mod streaming_jobs { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -653,7 +653,7 @@ pub mod streaming_jobs { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -682,7 +682,7 @@ pub mod streaming_jobs { } } pub mod inputs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -733,7 +733,7 @@ pub mod inputs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -824,7 +824,7 @@ pub mod inputs { } } pub mod create_or_replace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Input), @@ -907,7 +907,7 @@ pub mod inputs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -975,7 +975,7 @@ pub mod inputs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1059,7 +1059,7 @@ pub mod inputs { } } pub mod list_by_streaming_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1138,7 +1138,7 @@ pub mod inputs { } } pub mod test { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ResourceTestStatus), @@ -1167,7 +1167,7 @@ pub mod inputs { } } pub mod transformations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1218,7 +1218,7 @@ pub mod transformations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1309,7 +1309,7 @@ pub mod transformations { } } pub mod create_or_replace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Transformation), @@ -1392,7 +1392,7 @@ pub mod transformations { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1416,7 +1416,7 @@ pub mod transformations { } } pub mod outputs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1467,7 +1467,7 @@ pub mod outputs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1558,7 +1558,7 @@ pub mod outputs { } } pub mod create_or_replace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Output), @@ -1641,7 +1641,7 @@ pub mod outputs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1709,7 +1709,7 @@ pub mod outputs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1793,7 +1793,7 @@ pub mod outputs { } } pub mod list_by_streaming_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1872,7 +1872,7 @@ pub mod outputs { } } pub mod test { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ResourceTestStatus), @@ -1901,7 +1901,7 @@ pub mod outputs { } } pub mod functions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1952,7 +1952,7 @@ pub mod functions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2043,7 +2043,7 @@ pub mod functions { } } pub mod create_or_replace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Function), @@ -2126,7 +2126,7 @@ pub mod functions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2194,7 +2194,7 @@ pub mod functions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2278,7 +2278,7 @@ pub mod functions { } } pub mod list_by_streaming_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2357,7 +2357,7 @@ pub mod functions { } } pub mod test { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ResourceTestStatus), @@ -2439,7 +2439,7 @@ pub mod functions { } } pub mod retrieve_default_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2463,7 +2463,7 @@ pub mod functions { } } pub mod subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_quotas( operation_config: &crate::OperationConfig, location: &str, @@ -2513,7 +2513,7 @@ pub mod subscriptions { } } pub mod list_quotas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/streamanalytics/src/package_pure_2017_04_preview/operations.rs b/services/mgmt/streamanalytics/src/package_pure_2017_04_preview/operations.rs index e37fc8a0fa..de22fa9f3b 100644 --- a/services/mgmt/streamanalytics/src/package_pure_2017_04_preview/operations.rs +++ b/services/mgmt/streamanalytics/src/package_pure_2017_04_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod functions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -55,7 +55,7 @@ pub mod functions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -146,7 +146,7 @@ pub mod functions { } } pub mod create_or_replace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Function), @@ -229,7 +229,7 @@ pub mod functions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -297,7 +297,7 @@ pub mod functions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -381,7 +381,7 @@ pub mod functions { } } pub mod list_by_streaming_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -460,7 +460,7 @@ pub mod functions { } } pub mod test { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ResourceTestStatus), @@ -542,7 +542,7 @@ pub mod functions { } } pub mod retrieve_default_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -566,7 +566,7 @@ pub mod functions { } } pub mod inputs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -617,7 +617,7 @@ pub mod inputs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -708,7 +708,7 @@ pub mod inputs { } } pub mod create_or_replace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Input), @@ -791,7 +791,7 @@ pub mod inputs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -859,7 +859,7 @@ pub mod inputs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -943,7 +943,7 @@ pub mod inputs { } } pub mod list_by_streaming_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1022,7 +1022,7 @@ pub mod inputs { } } pub mod test { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ResourceTestStatus), @@ -1051,7 +1051,7 @@ pub mod inputs { } } pub mod outputs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1102,7 +1102,7 @@ pub mod outputs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1193,7 +1193,7 @@ pub mod outputs { } } pub mod create_or_replace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Output), @@ -1276,7 +1276,7 @@ pub mod outputs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1344,7 +1344,7 @@ pub mod outputs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1428,7 +1428,7 @@ pub mod outputs { } } pub mod list_by_streaming_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1507,7 +1507,7 @@ pub mod outputs { } } pub mod test { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ResourceTestStatus), @@ -1536,7 +1536,7 @@ pub mod outputs { } } pub mod streaming_jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, expand: Option<&str>, @@ -1589,7 +1589,7 @@ pub mod streaming_jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1678,7 +1678,7 @@ pub mod streaming_jobs { } } pub mod create_or_replace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StreamingJob), @@ -1759,7 +1759,7 @@ pub mod streaming_jobs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1826,7 +1826,7 @@ pub mod streaming_jobs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1909,7 +1909,7 @@ pub mod streaming_jobs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1979,7 +1979,7 @@ pub mod streaming_jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2051,7 +2051,7 @@ pub mod streaming_jobs { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2123,7 +2123,7 @@ pub mod streaming_jobs { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2152,7 +2152,7 @@ pub mod streaming_jobs { } } pub mod transformations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2203,7 +2203,7 @@ pub mod transformations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2294,7 +2294,7 @@ pub mod transformations { } } pub mod create_or_replace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Transformation), @@ -2377,7 +2377,7 @@ pub mod transformations { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2401,7 +2401,7 @@ pub mod transformations { } } pub mod subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_quotas( operation_config: &crate::OperationConfig, location: &str, @@ -2451,7 +2451,7 @@ pub mod subscriptions { } } pub mod list_quotas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2525,7 +2525,7 @@ pub mod subscriptions { } } pub mod test_query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(QueryTestingResult), @@ -2603,7 +2603,7 @@ pub mod subscriptions { } } pub mod compile_query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2676,7 +2676,7 @@ pub mod subscriptions { } } pub mod sample_input { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2749,7 +2749,7 @@ pub mod subscriptions { } } pub mod test_input { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2822,7 +2822,7 @@ pub mod subscriptions { } } pub mod test_output { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2846,7 +2846,7 @@ pub mod subscriptions { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.StreamAnalytics/operations", operation_config.base_path(),); @@ -2884,7 +2884,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/streamanalytics/src/package_pure_2020_03/operations.rs b/services/mgmt/streamanalytics/src/package_pure_2020_03/operations.rs index 78e502adb6..820313df67 100644 --- a/services/mgmt/streamanalytics/src/package_pure_2020_03/operations.rs +++ b/services/mgmt/streamanalytics/src/package_pure_2020_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.StreamAnalytics/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod streaming_jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, expand: Option<&str>, @@ -119,7 +119,7 @@ pub mod streaming_jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -208,7 +208,7 @@ pub mod streaming_jobs { } } pub mod create_or_replace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(StreamingJob), @@ -289,7 +289,7 @@ pub mod streaming_jobs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -356,7 +356,7 @@ pub mod streaming_jobs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -439,7 +439,7 @@ pub mod streaming_jobs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -509,7 +509,7 @@ pub mod streaming_jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -581,7 +581,7 @@ pub mod streaming_jobs { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -653,7 +653,7 @@ pub mod streaming_jobs { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -729,7 +729,7 @@ pub mod streaming_jobs { } } pub mod scale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -753,7 +753,7 @@ pub mod streaming_jobs { } } pub mod inputs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -804,7 +804,7 @@ pub mod inputs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -895,7 +895,7 @@ pub mod inputs { } } pub mod create_or_replace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Input), @@ -978,7 +978,7 @@ pub mod inputs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1046,7 +1046,7 @@ pub mod inputs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1130,7 +1130,7 @@ pub mod inputs { } } pub mod list_by_streaming_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1209,7 +1209,7 @@ pub mod inputs { } } pub mod test { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ResourceTestStatus), @@ -1238,7 +1238,7 @@ pub mod inputs { } } pub mod transformations { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1289,7 +1289,7 @@ pub mod transformations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1380,7 +1380,7 @@ pub mod transformations { } } pub mod create_or_replace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Transformation), @@ -1463,7 +1463,7 @@ pub mod transformations { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1487,7 +1487,7 @@ pub mod transformations { } } pub mod outputs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1538,7 +1538,7 @@ pub mod outputs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1629,7 +1629,7 @@ pub mod outputs { } } pub mod create_or_replace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Output), @@ -1712,7 +1712,7 @@ pub mod outputs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1780,7 +1780,7 @@ pub mod outputs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1864,7 +1864,7 @@ pub mod outputs { } } pub mod list_by_streaming_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1943,7 +1943,7 @@ pub mod outputs { } } pub mod test { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ResourceTestStatus), @@ -1972,7 +1972,7 @@ pub mod outputs { } } pub mod functions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2023,7 +2023,7 @@ pub mod functions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2114,7 +2114,7 @@ pub mod functions { } } pub mod create_or_replace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Function), @@ -2197,7 +2197,7 @@ pub mod functions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2265,7 +2265,7 @@ pub mod functions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2349,7 +2349,7 @@ pub mod functions { } } pub mod list_by_streaming_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2428,7 +2428,7 @@ pub mod functions { } } pub mod test { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ResourceTestStatus), @@ -2510,7 +2510,7 @@ pub mod functions { } } pub mod retrieve_default_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2534,7 +2534,7 @@ pub mod functions { } } pub mod subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_quotas( operation_config: &crate::OperationConfig, location: &str, @@ -2584,7 +2584,7 @@ pub mod subscriptions { } } pub mod list_quotas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/streamanalytics/src/package_pure_2020_03_preview/operations.rs b/services/mgmt/streamanalytics/src/package_pure_2020_03_preview/operations.rs index 0c6e852612..18f2c05d98 100644 --- a/services/mgmt/streamanalytics/src/package_pure_2020_03_preview/operations.rs +++ b/services/mgmt/streamanalytics/src/package_pure_2020_03_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -53,7 +53,7 @@ pub mod clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -142,7 +142,7 @@ pub mod clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -224,7 +224,7 @@ pub mod clusters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -296,7 +296,7 @@ pub mod clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -371,7 +371,7 @@ pub mod clusters { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -444,7 +444,7 @@ pub mod clusters { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -518,7 +518,7 @@ pub mod clusters { } } pub mod list_streaming_jobs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -542,7 +542,7 @@ pub mod clusters { } } pub mod private_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -593,7 +593,7 @@ pub mod private_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -684,7 +684,7 @@ pub mod private_endpoints { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpoint), @@ -758,7 +758,7 @@ pub mod private_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -837,7 +837,7 @@ pub mod private_endpoints { } } pub mod list_by_cluster { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/subscription/Cargo.toml b/services/mgmt/subscription/Cargo.toml index 8a28f7d7d3..82e0211f5d 100644 --- a/services/mgmt/subscription/Cargo.toml +++ b/services/mgmt/subscription/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2020-09"] +no-default-version = [] "package-2020-09" = [] "package-2020-01" = [] "package-2019-10-preview" = [] diff --git a/services/mgmt/subscription/src/lib.rs b/services/mgmt/subscription/src/lib.rs index 4b11654519..27d67cf686 100644 --- a/services/mgmt/subscription/src/lib.rs +++ b/services/mgmt/subscription/src/lib.rs @@ -1,33 +1,41 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2020-09")] -mod package_2020_09; -#[cfg(feature = "package-2020-09")] +pub mod package_2020_09; +#[cfg(all(feature = "package-2020-09", not(feature = "no-default-version")))] pub use package_2020_09::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-01")] -mod package_2020_01; -#[cfg(feature = "package-2020-01")] +pub mod package_2020_01; +#[cfg(all(feature = "package-2020-01", not(feature = "no-default-version")))] pub use package_2020_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-10-preview")] -mod package_2019_10_preview; -#[cfg(feature = "package-2019-10-preview")] +pub mod package_2019_10_preview; +#[cfg(all(feature = "package-2019-10-preview", not(feature = "no-default-version")))] pub use package_2019_10_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-03-preview")] -mod package_2019_03_preview; -#[cfg(feature = "package-2019-03-preview")] +pub mod package_2019_03_preview; +#[cfg(all(feature = "package-2019-03-preview", not(feature = "no-default-version")))] pub use package_2019_03_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-11-preview")] -mod package_2018_11_preview; -#[cfg(feature = "package-2018-11-preview")] +pub mod package_2018_11_preview; +#[cfg(all(feature = "package-2018-11-preview", not(feature = "no-default-version")))] pub use package_2018_11_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-03-preview")] -mod package_2018_03_preview; -#[cfg(feature = "package-2018-03-preview")] +pub mod package_2018_03_preview; +#[cfg(all(feature = "package-2018-03-preview", not(feature = "no-default-version")))] pub use package_2018_03_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-11-preview")] -mod package_2017_11_preview; +pub mod package_2017_11_preview; use azure_core::setters; -#[cfg(feature = "package-2017-11-preview")] +#[cfg(all(feature = "package-2017-11-preview", not(feature = "no-default-version")))] pub use package_2017_11_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -51,7 +59,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/subscription/src/package_2017_11_preview/operations.rs b/services/mgmt/subscription/src/package_2017_11_preview/operations.rs index d3c33dfd5e..db697101fc 100644 --- a/services/mgmt/subscription/src/package_2017_11_preview/operations.rs +++ b/services/mgmt/subscription/src/package_2017_11_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod subscription_definitions_operation_metadata { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Subscription/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod subscription_definitions_operation_metadata { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod subscription_definitions_operation_metadata { } } pub mod subscription_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_definition_name: &str, @@ -111,7 +111,7 @@ pub mod subscription_definitions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -180,7 +180,7 @@ pub mod subscription_definitions { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SubscriptionDefinition), @@ -247,7 +247,7 @@ pub mod subscription_definitions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -315,7 +315,7 @@ pub mod subscription_definitions { } } pub mod get_operation_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, diff --git a/services/mgmt/subscription/src/package_2018_03_preview/operations.rs b/services/mgmt/subscription/src/package_2018_03_preview/operations.rs index 964468e40e..2a2eb1a722 100644 --- a/services/mgmt/subscription/src/package_2018_03_preview/operations.rs +++ b/services/mgmt/subscription/src/package_2018_03_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod subscription_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -45,7 +45,7 @@ pub mod subscription_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -69,7 +69,7 @@ pub mod subscription_operations { } } pub mod subscription_operation { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig, operation_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -112,7 +112,7 @@ pub mod subscription_operation { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SubscriptionCreationResult), @@ -141,7 +141,7 @@ pub mod subscription_operation { } } pub mod subscription_factory { - use crate::models::*; + use super::{models, models::*}; pub async fn create_subscription_in_enrollment_account( operation_config: &crate::OperationConfig, enrollment_account_name: &str, @@ -194,7 +194,7 @@ pub mod subscription_factory { } } pub mod create_subscription_in_enrollment_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SubscriptionCreationResult), @@ -223,7 +223,7 @@ pub mod subscription_factory { } } pub mod subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_locations( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -265,7 +265,7 @@ pub mod subscriptions { } } pub mod list_locations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -319,7 +319,7 @@ pub mod subscriptions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -373,7 +373,7 @@ pub mod subscriptions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -394,7 +394,7 @@ pub mod subscriptions { } } pub mod tenants { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/tenants", operation_config.base_path(),); @@ -430,7 +430,7 @@ pub mod tenants { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/subscription/src/package_2018_11_preview/operations.rs b/services/mgmt/subscription/src/package_2018_11_preview/operations.rs index fd6c9c66f0..30fa694d41 100644 --- a/services/mgmt/subscription/src/package_2018_11_preview/operations.rs +++ b/services/mgmt/subscription/src/package_2018_11_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod subscription_operation { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig, operation_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -45,7 +45,7 @@ pub mod subscription_operation { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SubscriptionCreationResult), @@ -71,7 +71,7 @@ pub mod subscription_operation { } } pub mod subscription_factory { - use crate::models::*; + use super::{models, models::*}; pub async fn create_subscription( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -120,7 +120,7 @@ pub mod subscription_factory { } } pub mod create_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SubscriptionCreationResult), @@ -201,7 +201,7 @@ pub mod subscription_factory { } } pub mod create_csp_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SubscriptionCreationResult), @@ -230,7 +230,7 @@ pub mod subscription_factory { } } pub mod subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_locations( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -272,7 +272,7 @@ pub mod subscriptions { } } pub mod list_locations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -326,7 +326,7 @@ pub mod subscriptions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -380,7 +380,7 @@ pub mod subscriptions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -401,7 +401,7 @@ pub mod subscriptions { } } pub mod tenants { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/tenants", operation_config.base_path(),); @@ -437,7 +437,7 @@ pub mod tenants { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/subscription/src/package_2019_03_preview/operations.rs b/services/mgmt/subscription/src/package_2019_03_preview/operations.rs index 3113751e5f..bc11c0030e 100644 --- a/services/mgmt/subscription/src/package_2019_03_preview/operations.rs +++ b/services/mgmt/subscription/src/package_2019_03_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn cancel( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -50,7 +50,7 @@ pub mod subscriptions { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -118,7 +118,7 @@ pub mod subscriptions { } } pub mod rename { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -185,7 +185,7 @@ pub mod subscriptions { } } pub mod enable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -248,7 +248,7 @@ pub mod subscriptions { } } pub mod list_locations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -302,7 +302,7 @@ pub mod subscriptions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -356,7 +356,7 @@ pub mod subscriptions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -377,7 +377,7 @@ pub mod subscriptions { } } pub mod subscription_operation { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig, operation_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -418,7 +418,7 @@ pub mod subscription_operation { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SubscriptionCreationResult), @@ -444,7 +444,7 @@ pub mod subscription_operation { } } pub mod subscription_factory { - use crate::models::*; + use super::{models, models::*}; pub async fn create_subscription( operation_config: &crate::OperationConfig, billing_account_name: &str, @@ -493,7 +493,7 @@ pub mod subscription_factory { } } pub mod create_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SubscriptionCreationResult), @@ -574,7 +574,7 @@ pub mod subscription_factory { } } pub mod create_csp_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SubscriptionCreationResult), @@ -603,7 +603,7 @@ pub mod subscription_factory { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Subscription/operations", operation_config.base_path(),); @@ -641,7 +641,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -665,7 +665,7 @@ pub mod operations { } } pub mod tenants { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/tenants", operation_config.base_path(),); @@ -701,7 +701,7 @@ pub mod tenants { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/subscription/src/package_2019_10_preview/operations.rs b/services/mgmt/subscription/src/package_2019_10_preview/operations.rs index 8fe5cab559..eb4a918624 100644 --- a/services/mgmt/subscription/src/package_2019_10_preview/operations.rs +++ b/services/mgmt/subscription/src/package_2019_10_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_locations( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -46,7 +46,7 @@ pub mod subscriptions { } } pub mod list_locations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -100,7 +100,7 @@ pub mod subscriptions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -154,7 +154,7 @@ pub mod subscriptions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -175,7 +175,7 @@ pub mod subscriptions { } } pub mod tenants { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/tenants", operation_config.base_path(),); @@ -211,7 +211,7 @@ pub mod tenants { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -232,7 +232,7 @@ pub mod tenants { } } pub mod subscription { - use crate::models::*; + use super::{models, models::*}; pub async fn create_subscription_in_enrollment_account( operation_config: &crate::OperationConfig, enrollment_account_name: &str, @@ -285,7 +285,7 @@ pub mod subscription { } } pub mod create_subscription_in_enrollment_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SubscriptionCreationResult), @@ -357,7 +357,7 @@ pub mod subscription { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -425,7 +425,7 @@ pub mod subscription { } } pub mod rename { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -492,7 +492,7 @@ pub mod subscription { } } pub mod enable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -562,7 +562,7 @@ pub mod subscription { } } pub mod create_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SubscriptionCreationResult), @@ -643,7 +643,7 @@ pub mod subscription { } } pub mod create_csp_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SubscriptionCreationResult), @@ -717,7 +717,7 @@ pub mod subscription { } } pub mod get_alias { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -794,7 +794,7 @@ pub mod subscription { } } pub mod create_alias { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PutAliasResponse), @@ -864,7 +864,7 @@ pub mod subscription { } } pub mod delete_alias { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -931,7 +931,7 @@ pub mod subscription { } } pub mod list_alias { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -955,7 +955,7 @@ pub mod subscription { } } pub mod subscription_operation { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig, operation_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -996,7 +996,7 @@ pub mod subscription_operation { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SubscriptionCreationResult), @@ -1022,7 +1022,7 @@ pub mod subscription_operation { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Subscription/operations", operation_config.base_path(),); @@ -1060,7 +1060,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/subscription/src/package_2020_01/operations.rs b/services/mgmt/subscription/src/package_2020_01/operations.rs index c14319acd6..a4990f59fa 100644 --- a/services/mgmt/subscription/src/package_2020_01/operations.rs +++ b/services/mgmt/subscription/src/package_2020_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod subscription { - use crate::models::*; + use super::{models, models::*}; pub async fn create_subscription_in_enrollment_account( operation_config: &crate::OperationConfig, enrollment_account_name: &str, @@ -57,7 +57,7 @@ pub mod subscription { } } pub mod create_subscription_in_enrollment_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SubscriptionCreationResult), @@ -129,7 +129,7 @@ pub mod subscription { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -197,7 +197,7 @@ pub mod subscription { } } pub mod rename { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -264,7 +264,7 @@ pub mod subscription { } } pub mod enable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -334,7 +334,7 @@ pub mod subscription { } } pub mod create_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SubscriptionCreationResult), @@ -415,7 +415,7 @@ pub mod subscription { } } pub mod create_csp_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SubscriptionCreationResult), @@ -444,7 +444,7 @@ pub mod subscription { } } pub mod subscription_operation { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig, operation_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -485,7 +485,7 @@ pub mod subscription_operation { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SubscriptionCreationResult), @@ -511,7 +511,7 @@ pub mod subscription_operation { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Subscription/operations", operation_config.base_path(),); @@ -549,7 +549,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/subscription/src/package_2020_09/operations.rs b/services/mgmt/subscription/src/package_2020_09/operations.rs index 0d6e3a5101..ce816da55f 100644 --- a/services/mgmt/subscription/src/package_2020_09/operations.rs +++ b/services/mgmt/subscription/src/package_2020_09/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod subscriptions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_locations( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -46,7 +46,7 @@ pub mod subscriptions { } } pub mod list_locations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -100,7 +100,7 @@ pub mod subscriptions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -154,7 +154,7 @@ pub mod subscriptions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -175,7 +175,7 @@ pub mod subscriptions { } } pub mod tenants { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/tenants", operation_config.base_path(),); @@ -211,7 +211,7 @@ pub mod tenants { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -232,7 +232,7 @@ pub mod tenants { } } pub mod subscription { - use crate::models::*; + use super::{models, models::*}; pub async fn cancel( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -278,7 +278,7 @@ pub mod subscription { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -346,7 +346,7 @@ pub mod subscription { } } pub mod rename { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -413,7 +413,7 @@ pub mod subscription { } } pub mod enable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -437,7 +437,7 @@ pub mod subscription { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Subscription/operations", operation_config.base_path(),); @@ -475,7 +475,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -499,7 +499,7 @@ pub mod operations { } } pub mod alias { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig, alias_name: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!( @@ -541,7 +541,7 @@ pub mod alias { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -615,7 +615,7 @@ pub mod alias { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PutAliasResponse), @@ -682,7 +682,7 @@ pub mod alias { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -746,7 +746,7 @@ pub mod alias { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/support/Cargo.toml b/services/mgmt/support/Cargo.toml index 22989f791b..a1876e5417 100644 --- a/services/mgmt/support/Cargo.toml +++ b/services/mgmt/support/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2020-04"] +no-default-version = [] "package-preview-2021-06" = [] "package-2020-04" = [] "package-2019-05-preview" = [] diff --git a/services/mgmt/support/src/lib.rs b/services/mgmt/support/src/lib.rs index 402677a75f..87ff49326b 100644 --- a/services/mgmt/support/src/lib.rs +++ b/services/mgmt/support/src/lib.rs @@ -1,17 +1,25 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-preview-2021-06")] -mod package_preview_2021_06; -#[cfg(feature = "package-preview-2021-06")] +pub mod package_preview_2021_06; +#[cfg(all(feature = "package-preview-2021-06", not(feature = "no-default-version")))] pub use package_preview_2021_06::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-04")] -mod package_2020_04; -#[cfg(feature = "package-2020-04")] +pub mod package_2020_04; +#[cfg(all(feature = "package-2020-04", not(feature = "no-default-version")))] pub use package_2020_04::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-05-preview")] -mod package_2019_05_preview; +pub mod package_2019_05_preview; use azure_core::setters; -#[cfg(feature = "package-2019-05-preview")] +#[cfg(all(feature = "package-2019-05-preview", not(feature = "no-default-version")))] pub use package_2019_05_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -35,7 +43,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/support/src/package_2019_05_preview/operations.rs b/services/mgmt/support/src/package_2019_05_preview/operations.rs index 86861f4af0..fec02f14f8 100644 --- a/services/mgmt/support/src/package_2019_05_preview/operations.rs +++ b/services/mgmt/support/src/package_2019_05_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Support/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod services { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Support/services", operation_config.base_path(),); @@ -104,7 +104,7 @@ pub mod services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -167,7 +167,7 @@ pub mod services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -191,7 +191,7 @@ pub mod services { } } pub mod problem_classifications { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, service_name: &str, @@ -236,7 +236,7 @@ pub mod problem_classifications { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -304,7 +304,7 @@ pub mod problem_classifications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -328,7 +328,7 @@ pub mod problem_classifications { } } pub mod support_tickets { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, check_name_availability_input: &CheckNameAvailabilityInput, @@ -380,7 +380,7 @@ pub mod support_tickets { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -454,7 +454,7 @@ pub mod support_tickets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -522,7 +522,7 @@ pub mod support_tickets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -593,7 +593,7 @@ pub mod support_tickets { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SupportTicketDetails), @@ -668,7 +668,7 @@ pub mod support_tickets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -692,7 +692,7 @@ pub mod support_tickets { } } pub mod communications { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, support_ticket_name: &str, @@ -746,7 +746,7 @@ pub mod communications { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -822,7 +822,7 @@ pub mod communications { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -892,7 +892,7 @@ pub mod communications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -965,7 +965,7 @@ pub mod communications { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CommunicationDetails), diff --git a/services/mgmt/support/src/package_2020_04/operations.rs b/services/mgmt/support/src/package_2020_04/operations.rs index 46e74637f5..c5be9e53b3 100644 --- a/services/mgmt/support/src/package_2020_04/operations.rs +++ b/services/mgmt/support/src/package_2020_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Support/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod services { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Support/services", operation_config.base_path(),); @@ -104,7 +104,7 @@ pub mod services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -167,7 +167,7 @@ pub mod services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -191,7 +191,7 @@ pub mod services { } } pub mod problem_classifications { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, service_name: &str, @@ -236,7 +236,7 @@ pub mod problem_classifications { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -304,7 +304,7 @@ pub mod problem_classifications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -328,7 +328,7 @@ pub mod problem_classifications { } } pub mod support_tickets { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, check_name_availability_input: &CheckNameAvailabilityInput, @@ -380,7 +380,7 @@ pub mod support_tickets { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -454,7 +454,7 @@ pub mod support_tickets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -522,7 +522,7 @@ pub mod support_tickets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -593,7 +593,7 @@ pub mod support_tickets { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SupportTicketDetails), @@ -668,7 +668,7 @@ pub mod support_tickets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -692,7 +692,7 @@ pub mod support_tickets { } } pub mod communications { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, support_ticket_name: &str, @@ -746,7 +746,7 @@ pub mod communications { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -822,7 +822,7 @@ pub mod communications { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -892,7 +892,7 @@ pub mod communications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -965,7 +965,7 @@ pub mod communications { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CommunicationDetails), diff --git a/services/mgmt/support/src/package_preview_2021_06/operations.rs b/services/mgmt/support/src/package_preview_2021_06/operations.rs index 0b98a61da6..9a0524990d 100644 --- a/services/mgmt/support/src/package_preview_2021_06/operations.rs +++ b/services/mgmt/support/src/package_preview_2021_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Support/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod look_up_resource_id { - use crate::models::*; + use super::{models, models::*}; pub async fn post( operation_config: &crate::OperationConfig, look_up_resource_id_request: &LookUpResourceIdRequest, @@ -108,7 +108,7 @@ pub mod look_up_resource_id { } } pub mod post { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/synapse/Cargo.toml b/services/mgmt/synapse/Cargo.toml index 83ccbe2965..e17ae9e833 100644 --- a/services/mgmt/synapse/Cargo.toml +++ b/services/mgmt/synapse/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-composite-v2"] +no-default-version = [] "package-composite-v2" = [] "package-composite-v1" = [] "package-2021-06" = [] diff --git a/services/mgmt/synapse/src/lib.rs b/services/mgmt/synapse/src/lib.rs index 7eb44e982e..db67ec8997 100644 --- a/services/mgmt/synapse/src/lib.rs +++ b/services/mgmt/synapse/src/lib.rs @@ -1,49 +1,57 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-composite-v2")] -mod package_composite_v2; -#[cfg(feature = "package-composite-v2")] +pub mod package_composite_v2; +#[cfg(all(feature = "package-composite-v2", not(feature = "no-default-version")))] pub use package_composite_v2::{models, operations, API_VERSION}; #[cfg(feature = "package-composite-v1")] -mod package_composite_v1; -#[cfg(feature = "package-composite-v1")] +pub mod package_composite_v1; +#[cfg(all(feature = "package-composite-v1", not(feature = "no-default-version")))] pub use package_composite_v1::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-06")] -mod package_2021_06; -#[cfg(feature = "package-2021-06")] +pub mod package_2021_06; +#[cfg(all(feature = "package-2021-06", not(feature = "no-default-version")))] pub use package_2021_06::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2021-06")] -mod package_preview_2021_06; -#[cfg(feature = "package-preview-2021-06")] +pub mod package_preview_2021_06; +#[cfg(all(feature = "package-preview-2021-06", not(feature = "no-default-version")))] pub use package_preview_2021_06::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-05")] -mod package_2021_05; -#[cfg(feature = "package-2021-05")] +pub mod package_2021_05; +#[cfg(all(feature = "package-2021-05", not(feature = "no-default-version")))] pub use package_2021_05::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-04-preview")] -mod package_2021_04_preview; -#[cfg(feature = "package-2021-04-preview")] +pub mod package_2021_04_preview; +#[cfg(all(feature = "package-2021-04-preview", not(feature = "no-default-version")))] pub use package_2021_04_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-kusto-pool-2021-04-preview")] -mod package_kusto_pool_2021_04_preview; -#[cfg(feature = "package-kusto-pool-2021-04-preview")] +pub mod package_kusto_pool_2021_04_preview; +#[cfg(all(feature = "package-kusto-pool-2021-04-preview", not(feature = "no-default-version")))] pub use package_kusto_pool_2021_04_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-03")] -mod package_2021_03; -#[cfg(feature = "package-2021-03")] +pub mod package_2021_03; +#[cfg(all(feature = "package-2021-03", not(feature = "no-default-version")))] pub use package_2021_03::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-06-01-preview")] -mod package_2019_06_01_preview; -#[cfg(feature = "package-2019-06-01-preview")] +pub mod package_2019_06_01_preview; +#[cfg(all(feature = "package-2019-06-01-preview", not(feature = "no-default-version")))] pub use package_2019_06_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-sqlGen3-2020-04-01-preview")] -mod package_sqlgen3_2020_04_01_preview; -#[cfg(feature = "package-sqlGen3-2020-04-01-preview")] +pub mod package_sqlgen3_2020_04_01_preview; +#[cfg(all(feature = "package-sqlGen3-2020-04-01-preview", not(feature = "no-default-version")))] pub use package_sqlgen3_2020_04_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-12-01")] -mod package_2020_12_01; +pub mod package_2020_12_01; use azure_core::setters; -#[cfg(feature = "package-2020-12-01")] +#[cfg(all(feature = "package-2020-12-01", not(feature = "no-default-version")))] pub use package_2020_12_01::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -67,7 +75,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/synapse/src/package_2019_06_01_preview/operations.rs b/services/mgmt/synapse/src/package_2019_06_01_preview/operations.rs index 984ce14ad7..3df4537644 100644 --- a/services/mgmt/synapse/src/package_2019_06_01_preview/operations.rs +++ b/services/mgmt/synapse/src/package_2019_06_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod big_data_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -55,7 +55,7 @@ pub mod big_data_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -142,7 +142,7 @@ pub mod big_data_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BigDataPoolResourceInfo), @@ -221,7 +221,7 @@ pub mod big_data_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -300,7 +300,7 @@ pub mod big_data_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -379,7 +379,7 @@ pub mod big_data_pools { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -403,7 +403,7 @@ pub mod big_data_pools { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -455,7 +455,7 @@ pub mod workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -525,7 +525,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -606,7 +606,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -689,7 +689,7 @@ pub mod workspaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -771,7 +771,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -843,7 +843,7 @@ pub mod workspaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -867,7 +867,7 @@ pub mod workspaces { } } pub mod workspace_aad_admins { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -916,7 +916,7 @@ pub mod workspace_aad_admins { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -997,7 +997,7 @@ pub mod workspace_aad_admins { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkspaceAadAdminInfo), @@ -1069,7 +1069,7 @@ pub mod workspace_aad_admins { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1099,7 +1099,7 @@ pub mod workspace_aad_admins { } } pub mod workspace_sql_aad_admins { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1148,7 +1148,7 @@ pub mod workspace_sql_aad_admins { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1229,7 +1229,7 @@ pub mod workspace_sql_aad_admins { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkspaceAadAdminInfo), @@ -1301,7 +1301,7 @@ pub mod workspace_sql_aad_admins { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1331,7 +1331,7 @@ pub mod workspace_sql_aad_admins { } } pub mod workspace_managed_identity_sql_control_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1380,7 +1380,7 @@ pub mod workspace_managed_identity_sql_control_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1456,7 +1456,7 @@ pub mod workspace_managed_identity_sql_control_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedIdentitySqlControlSettingsModel), @@ -1485,7 +1485,7 @@ pub mod workspace_managed_identity_sql_control_settings { } } pub mod restorable_dropped_sql_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1536,7 +1536,7 @@ pub mod restorable_dropped_sql_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1609,7 +1609,7 @@ pub mod restorable_dropped_sql_pools { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1633,7 +1633,7 @@ pub mod restorable_dropped_sql_pools { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1685,7 +1685,7 @@ pub mod operations { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1743,7 +1743,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1818,7 +1818,7 @@ pub mod operations { } } pub mod get_location_header_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1903,7 +1903,7 @@ pub mod operations { } } pub mod get_azure_async_header_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1929,7 +1929,7 @@ pub mod operations { } } pub mod ip_firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1981,7 +1981,7 @@ pub mod ip_firewall_rules { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2053,7 +2053,7 @@ pub mod ip_firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2136,7 +2136,7 @@ pub mod ip_firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IpFirewallRuleInfo), @@ -2215,7 +2215,7 @@ pub mod ip_firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -2297,7 +2297,7 @@ pub mod ip_firewall_rules { } } pub mod replace_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplaceAllFirewallRulesOperationResponse), @@ -2326,7 +2326,7 @@ pub mod ip_firewall_rules { } } pub mod sql_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2377,7 +2377,7 @@ pub mod sql_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2453,7 +2453,7 @@ pub mod sql_pools { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPool), @@ -2535,7 +2535,7 @@ pub mod sql_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPool), @@ -2619,7 +2619,7 @@ pub mod sql_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -2698,7 +2698,7 @@ pub mod sql_pools { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2772,7 +2772,7 @@ pub mod sql_pools { } } pub mod pause { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -2851,7 +2851,7 @@ pub mod sql_pools { } } pub mod resume { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -2880,7 +2880,7 @@ pub mod sql_pools { } } pub mod sql_pool_metadata_sync_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2932,7 +2932,7 @@ pub mod sql_pool_metadata_sync_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -3009,7 +3009,7 @@ pub mod sql_pool_metadata_sync_configs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -3035,7 +3035,7 @@ pub mod sql_pool_metadata_sync_configs { } } pub mod sql_pool_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get_location_header_result( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3099,7 +3099,7 @@ pub mod sql_pool_operation_results { } } pub mod get_location_header_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -3128,7 +3128,7 @@ pub mod sql_pool_operation_results { } } pub mod sql_pool_geo_backup_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3179,7 +3179,7 @@ pub mod sql_pool_geo_backup_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3253,7 +3253,7 @@ pub mod sql_pool_geo_backup_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3338,7 +3338,7 @@ pub mod sql_pool_geo_backup_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GeoBackupPolicy), @@ -3367,7 +3367,7 @@ pub mod sql_pool_geo_backup_policies { } } pub mod sql_pool_data_warehouse_user_activities { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3412,7 +3412,7 @@ pub mod sql_pool_data_warehouse_user_activities { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3433,7 +3433,7 @@ pub mod sql_pool_data_warehouse_user_activities { } } pub mod sql_pool_restore_points { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3484,7 +3484,7 @@ pub mod sql_pool_restore_points { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3557,7 +3557,7 @@ pub mod sql_pool_restore_points { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RestorePoint), @@ -3626,7 +3626,7 @@ pub mod sql_pool_restore_points { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3684,7 +3684,7 @@ pub mod sql_pool_restore_points { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3705,7 +3705,7 @@ pub mod sql_pool_restore_points { } } pub mod sql_pool_replication_links { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3756,7 +3756,7 @@ pub mod sql_pool_replication_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3833,7 +3833,7 @@ pub mod sql_pool_replication_links { } } pub mod get_by_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3857,7 +3857,7 @@ pub mod sql_pool_replication_links { } } pub mod sql_pool_maintenance_windows { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3910,7 +3910,7 @@ pub mod sql_pool_maintenance_windows { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3976,7 +3976,7 @@ pub mod sql_pool_maintenance_windows { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3997,7 +3997,7 @@ pub mod sql_pool_maintenance_windows { } } pub mod sql_pool_maintenance_window_options { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4043,7 +4043,7 @@ pub mod sql_pool_maintenance_window_options { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4064,7 +4064,7 @@ pub mod sql_pool_maintenance_window_options { } } pub mod sql_pool_transparent_data_encryptions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4117,7 +4117,7 @@ pub mod sql_pool_transparent_data_encryptions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4202,7 +4202,7 @@ pub mod sql_pool_transparent_data_encryptions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TransparentDataEncryption), @@ -4271,7 +4271,7 @@ pub mod sql_pool_transparent_data_encryptions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4292,7 +4292,7 @@ pub mod sql_pool_transparent_data_encryptions { } } pub mod sql_pool_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4337,7 +4337,7 @@ pub mod sql_pool_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4411,7 +4411,7 @@ pub mod sql_pool_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPoolBlobAuditingPolicy), @@ -4480,7 +4480,7 @@ pub mod sql_pool_blob_auditing_policies { } } pub mod list_by_sql_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4501,7 +4501,7 @@ pub mod sql_pool_blob_auditing_policies { } } pub mod sql_pool_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4544,7 +4544,7 @@ pub mod sql_pool_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4565,7 +4565,7 @@ pub mod sql_pool_operations { } } pub mod sql_pool_usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4616,7 +4616,7 @@ pub mod sql_pool_usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4640,7 +4640,7 @@ pub mod sql_pool_usages { } } pub mod sql_pool_sensitivity_labels { - use crate::models::*; + use super::{models, models::*}; pub async fn list_current( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4698,7 +4698,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod list_current { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4759,7 +4759,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4838,7 +4838,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod list_recommended { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4896,7 +4896,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4965,7 +4965,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SensitivityLabel), @@ -5024,7 +5024,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5088,7 +5088,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod enable_recommendation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5147,7 +5147,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod disable_recommendation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5168,7 +5168,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod sql_pool_recommended_sensitivity_labels { - use crate::models::*; + use super::{models, models::*}; pub async fn update( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5208,7 +5208,7 @@ pub mod sql_pool_recommended_sensitivity_labels { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5229,7 +5229,7 @@ pub mod sql_pool_recommended_sensitivity_labels { } } pub mod sql_pool_schemas { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5276,7 +5276,7 @@ pub mod sql_pool_schemas { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5339,7 +5339,7 @@ pub mod sql_pool_schemas { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5360,7 +5360,7 @@ pub mod sql_pool_schemas { } } pub mod sql_pool_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_schema( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5412,7 +5412,7 @@ pub mod sql_pool_tables { } } pub mod list_by_schema { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5477,7 +5477,7 @@ pub mod sql_pool_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5498,7 +5498,7 @@ pub mod sql_pool_tables { } } pub mod sql_pool_table_columns { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_table_name( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5552,7 +5552,7 @@ pub mod sql_pool_table_columns { } } pub mod list_by_table_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5573,7 +5573,7 @@ pub mod sql_pool_table_columns { } } pub mod sql_pool_connection_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5626,7 +5626,7 @@ pub mod sql_pool_connection_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5650,7 +5650,7 @@ pub mod sql_pool_connection_policies { } } pub mod sql_pool_vulnerability_assessments { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5693,7 +5693,7 @@ pub mod sql_pool_vulnerability_assessments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5756,7 +5756,7 @@ pub mod sql_pool_vulnerability_assessments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5830,7 +5830,7 @@ pub mod sql_pool_vulnerability_assessments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPoolVulnerabilityAssessment), @@ -5894,7 +5894,7 @@ pub mod sql_pool_vulnerability_assessments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5920,7 +5920,7 @@ pub mod sql_pool_vulnerability_assessments { } } pub mod sql_pool_vulnerability_assessment_scans { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5965,7 +5965,7 @@ pub mod sql_pool_vulnerability_assessment_scans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6021,7 +6021,7 @@ pub mod sql_pool_vulnerability_assessment_scans { } } pub mod initiate_scan { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6089,7 +6089,7 @@ pub mod sql_pool_vulnerability_assessment_scans { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPoolVulnerabilityAssessmentScansExport), @@ -6150,7 +6150,7 @@ pub mod sql_pool_vulnerability_assessment_scans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6171,7 +6171,7 @@ pub mod sql_pool_vulnerability_assessment_scans { } } pub mod sql_pool_security_alert_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6214,7 +6214,7 @@ pub mod sql_pool_security_alert_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6277,7 +6277,7 @@ pub mod sql_pool_security_alert_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6351,7 +6351,7 @@ pub mod sql_pool_security_alert_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPoolSecurityAlertPolicy), @@ -6377,7 +6377,7 @@ pub mod sql_pool_security_alert_policies { } } pub mod sql_pool_vulnerability_assessment_rule_baselines { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6416,7 +6416,7 @@ pub mod sql_pool_vulnerability_assessment_rule_baselines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6478,7 +6478,7 @@ pub mod sql_pool_vulnerability_assessment_rule_baselines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6531,7 +6531,7 @@ pub mod sql_pool_vulnerability_assessment_rule_baselines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6557,7 +6557,7 @@ pub mod sql_pool_vulnerability_assessment_rule_baselines { } } pub mod extended_sql_pool_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6602,7 +6602,7 @@ pub mod extended_sql_pool_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6676,7 +6676,7 @@ pub mod extended_sql_pool_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExtendedSqlPoolBlobAuditingPolicy), @@ -6745,7 +6745,7 @@ pub mod extended_sql_pool_blob_auditing_policies { } } pub mod list_by_sql_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6766,7 +6766,7 @@ pub mod extended_sql_pool_blob_auditing_policies { } } pub mod data_masking_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6819,7 +6819,7 @@ pub mod data_masking_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6898,7 +6898,7 @@ pub mod data_masking_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6922,7 +6922,7 @@ pub mod data_masking_policies { } } pub mod data_masking_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6977,7 +6977,7 @@ pub mod data_masking_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7064,7 +7064,7 @@ pub mod data_masking_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataMaskingRule), @@ -7146,7 +7146,7 @@ pub mod data_masking_rules { } } pub mod list_by_sql_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7170,7 +7170,7 @@ pub mod data_masking_rules { } } pub mod sql_pool_columns { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7219,7 +7219,7 @@ pub mod sql_pool_columns { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7240,7 +7240,7 @@ pub mod sql_pool_columns { } } pub mod sql_pool_workload_group { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7285,7 +7285,7 @@ pub mod sql_pool_workload_group { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7360,7 +7360,7 @@ pub mod sql_pool_workload_group { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadGroup), @@ -7426,7 +7426,7 @@ pub mod sql_pool_workload_group { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7493,7 +7493,7 @@ pub mod sql_pool_workload_group { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7514,7 +7514,7 @@ pub mod sql_pool_workload_group { } } pub mod sql_pool_workload_classifier { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7552,7 +7552,7 @@ pub mod sql_pool_workload_classifier { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7620,7 +7620,7 @@ pub mod sql_pool_workload_classifier { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadClassifier), @@ -7679,7 +7679,7 @@ pub mod sql_pool_workload_classifier { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7740,7 +7740,7 @@ pub mod sql_pool_workload_classifier { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7761,7 +7761,7 @@ pub mod sql_pool_workload_classifier { } } pub mod integration_runtimes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7817,7 +7817,7 @@ pub mod integration_runtimes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -7898,7 +7898,7 @@ pub mod integration_runtimes { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IntegrationRuntimeResource), @@ -7977,7 +7977,7 @@ pub mod integration_runtimes { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8046,7 +8046,7 @@ pub mod integration_runtimes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8123,7 +8123,7 @@ pub mod integration_runtimes { } } pub mod upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8196,7 +8196,7 @@ pub mod integration_runtimes { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8270,7 +8270,7 @@ pub mod integration_runtimes { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IntegrationRuntimeStatusResponse), @@ -8344,7 +8344,7 @@ pub mod integration_runtimes { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8423,7 +8423,7 @@ pub mod integration_runtimes { } } pub mod enable_interactive_query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8495,7 +8495,7 @@ pub mod integration_runtimes { } } pub mod disable_interactive_query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8524,7 +8524,7 @@ pub mod integration_runtimes { } } pub mod integration_runtime_node_ip_address { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8578,7 +8578,7 @@ pub mod integration_runtime_node_ip_address { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8602,7 +8602,7 @@ pub mod integration_runtime_node_ip_address { } } pub mod integration_runtime_object_metadata { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8659,7 +8659,7 @@ pub mod integration_runtime_object_metadata { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8736,7 +8736,7 @@ pub mod integration_runtime_object_metadata { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SsisObjectMetadataStatusResponse), @@ -8765,7 +8765,7 @@ pub mod integration_runtime_object_metadata { } } pub mod integration_runtime_nodes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8818,7 +8818,7 @@ pub mod integration_runtime_nodes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8894,7 +8894,7 @@ pub mod integration_runtime_nodes { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8964,7 +8964,7 @@ pub mod integration_runtime_nodes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8993,7 +8993,7 @@ pub mod integration_runtime_nodes { } } pub mod integration_runtime_credentials { - use crate::models::*; + use super::{models, models::*}; pub async fn sync( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9040,7 +9040,7 @@ pub mod integration_runtime_credentials { } } pub mod sync { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9064,7 +9064,7 @@ pub mod integration_runtime_credentials { } } pub mod integration_runtime_connection_infos { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9116,7 +9116,7 @@ pub mod integration_runtime_connection_infos { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9140,7 +9140,7 @@ pub mod integration_runtime_connection_infos { } } pub mod integration_runtime_auth_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn regenerate( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9196,7 +9196,7 @@ pub mod integration_runtime_auth_keys { } } pub mod regenerate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9269,7 +9269,7 @@ pub mod integration_runtime_auth_keys { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9293,7 +9293,7 @@ pub mod integration_runtime_auth_keys { } } pub mod integration_runtime_monitoring_data { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9345,7 +9345,7 @@ pub mod integration_runtime_monitoring_data { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9369,7 +9369,7 @@ pub mod integration_runtime_monitoring_data { } } pub mod integration_runtime_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9421,7 +9421,7 @@ pub mod integration_runtime_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9445,7 +9445,7 @@ pub mod integration_runtime_status { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9494,7 +9494,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9566,7 +9566,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9590,7 +9590,7 @@ pub mod private_link_resources { } } pub mod private_link_hub_private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9639,7 +9639,7 @@ pub mod private_link_hub_private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9711,7 +9711,7 @@ pub mod private_link_hub_private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9735,7 +9735,7 @@ pub mod private_link_hub_private_link_resources { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9786,7 +9786,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9866,7 +9866,7 @@ pub mod private_endpoint_connections { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -9945,7 +9945,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10021,7 +10021,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10045,7 +10045,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_hubs { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10097,7 +10097,7 @@ pub mod private_link_hubs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10167,7 +10167,7 @@ pub mod private_link_hubs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10248,7 +10248,7 @@ pub mod private_link_hubs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkHub), @@ -10331,7 +10331,7 @@ pub mod private_link_hubs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkHub), @@ -10403,7 +10403,7 @@ pub mod private_link_hubs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10475,7 +10475,7 @@ pub mod private_link_hubs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10499,7 +10499,7 @@ pub mod private_link_hubs { } } pub mod private_endpoint_connections_private_link_hub { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10548,7 +10548,7 @@ pub mod private_endpoint_connections_private_link_hub { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10572,7 +10572,7 @@ pub mod private_endpoint_connections_private_link_hub { } } pub mod workspace_managed_sql_server_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10615,7 +10615,7 @@ pub mod workspace_managed_sql_server_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10682,7 +10682,7 @@ pub mod workspace_managed_sql_server_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerBlobAuditingPolicy), @@ -10749,7 +10749,7 @@ pub mod workspace_managed_sql_server_blob_auditing_policies { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10770,7 +10770,7 @@ pub mod workspace_managed_sql_server_blob_auditing_policies { } } pub mod workspace_managed_sql_server_extended_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10813,7 +10813,7 @@ pub mod workspace_managed_sql_server_extended_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10880,7 +10880,7 @@ pub mod workspace_managed_sql_server_extended_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExtendedServerBlobAuditingPolicy), @@ -10947,7 +10947,7 @@ pub mod workspace_managed_sql_server_extended_blob_auditing_policies { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10968,7 +10968,7 @@ pub mod workspace_managed_sql_server_extended_blob_auditing_policies { } } pub mod workspace_managed_sql_server_security_alert_policy { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11011,7 +11011,7 @@ pub mod workspace_managed_sql_server_security_alert_policy { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11078,7 +11078,7 @@ pub mod workspace_managed_sql_server_security_alert_policy { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerSecurityAlertPolicy), @@ -11142,7 +11142,7 @@ pub mod workspace_managed_sql_server_security_alert_policy { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11163,7 +11163,7 @@ pub mod workspace_managed_sql_server_security_alert_policy { } } pub mod workspace_managed_sql_server_vulnerability_assessments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11206,7 +11206,7 @@ pub mod workspace_managed_sql_server_vulnerability_assessments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11278,7 +11278,7 @@ pub mod workspace_managed_sql_server_vulnerability_assessments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerVulnerabilityAssessment), @@ -11340,7 +11340,7 @@ pub mod workspace_managed_sql_server_vulnerability_assessments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11404,7 +11404,7 @@ pub mod workspace_managed_sql_server_vulnerability_assessments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11425,7 +11425,7 @@ pub mod workspace_managed_sql_server_vulnerability_assessments { } } pub mod workspace_managed_sql_server_usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11466,7 +11466,7 @@ pub mod workspace_managed_sql_server_usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11487,7 +11487,7 @@ pub mod workspace_managed_sql_server_usages { } } pub mod workspace_managed_sql_server_recoverable_sqlpools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11528,7 +11528,7 @@ pub mod workspace_managed_sql_server_recoverable_sqlpools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11549,7 +11549,7 @@ pub mod workspace_managed_sql_server_recoverable_sqlpools { } } pub mod workspace_managed_sql_server_recoverable_sql_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11592,7 +11592,7 @@ pub mod workspace_managed_sql_server_recoverable_sql_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11613,7 +11613,7 @@ pub mod workspace_managed_sql_server_recoverable_sql_pools { } } pub mod keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11665,7 +11665,7 @@ pub mod keys { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11737,7 +11737,7 @@ pub mod keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11814,7 +11814,7 @@ pub mod keys { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11887,7 +11887,7 @@ pub mod keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Key), diff --git a/services/mgmt/synapse/src/package_2020_12_01/operations.rs b/services/mgmt/synapse/src/package_2020_12_01/operations.rs index e93fc058c3..779f392b9e 100644 --- a/services/mgmt/synapse/src/package_2020_12_01/operations.rs +++ b/services/mgmt/synapse/src/package_2020_12_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod big_data_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -55,7 +55,7 @@ pub mod big_data_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -142,7 +142,7 @@ pub mod big_data_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BigDataPoolResourceInfo), @@ -221,7 +221,7 @@ pub mod big_data_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -300,7 +300,7 @@ pub mod big_data_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -379,7 +379,7 @@ pub mod big_data_pools { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -403,7 +403,7 @@ pub mod big_data_pools { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -455,7 +455,7 @@ pub mod workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -525,7 +525,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -606,7 +606,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -689,7 +689,7 @@ pub mod workspaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -771,7 +771,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -843,7 +843,7 @@ pub mod workspaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -867,7 +867,7 @@ pub mod workspaces { } } pub mod workspace_aad_admins { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -916,7 +916,7 @@ pub mod workspace_aad_admins { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -997,7 +997,7 @@ pub mod workspace_aad_admins { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkspaceAadAdminInfo), @@ -1069,7 +1069,7 @@ pub mod workspace_aad_admins { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1099,7 +1099,7 @@ pub mod workspace_aad_admins { } } pub mod workspace_sql_aad_admins { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1148,7 +1148,7 @@ pub mod workspace_sql_aad_admins { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1229,7 +1229,7 @@ pub mod workspace_sql_aad_admins { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkspaceAadAdminInfo), @@ -1301,7 +1301,7 @@ pub mod workspace_sql_aad_admins { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1331,7 +1331,7 @@ pub mod workspace_sql_aad_admins { } } pub mod workspace_managed_identity_sql_control_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1380,7 +1380,7 @@ pub mod workspace_managed_identity_sql_control_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1456,7 +1456,7 @@ pub mod workspace_managed_identity_sql_control_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedIdentitySqlControlSettingsModel), @@ -1485,7 +1485,7 @@ pub mod workspace_managed_identity_sql_control_settings { } } pub mod restorable_dropped_sql_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1536,7 +1536,7 @@ pub mod restorable_dropped_sql_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1609,7 +1609,7 @@ pub mod restorable_dropped_sql_pools { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1633,7 +1633,7 @@ pub mod restorable_dropped_sql_pools { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1685,7 +1685,7 @@ pub mod operations { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1743,7 +1743,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1818,7 +1818,7 @@ pub mod operations { } } pub mod get_location_header_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1903,7 +1903,7 @@ pub mod operations { } } pub mod get_azure_async_header_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1929,7 +1929,7 @@ pub mod operations { } } pub mod ip_firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1981,7 +1981,7 @@ pub mod ip_firewall_rules { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2053,7 +2053,7 @@ pub mod ip_firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2136,7 +2136,7 @@ pub mod ip_firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IpFirewallRuleInfo), @@ -2215,7 +2215,7 @@ pub mod ip_firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -2297,7 +2297,7 @@ pub mod ip_firewall_rules { } } pub mod replace_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplaceAllFirewallRulesOperationResponse), @@ -2326,7 +2326,7 @@ pub mod ip_firewall_rules { } } pub mod sql_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2377,7 +2377,7 @@ pub mod sql_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2453,7 +2453,7 @@ pub mod sql_pools { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPool), @@ -2535,7 +2535,7 @@ pub mod sql_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPool), @@ -2619,7 +2619,7 @@ pub mod sql_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -2698,7 +2698,7 @@ pub mod sql_pools { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2772,7 +2772,7 @@ pub mod sql_pools { } } pub mod pause { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -2851,7 +2851,7 @@ pub mod sql_pools { } } pub mod resume { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -2917,7 +2917,7 @@ pub mod sql_pools { } } pub mod rename { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2938,7 +2938,7 @@ pub mod sql_pools { } } pub mod sql_pool_metadata_sync_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2990,7 +2990,7 @@ pub mod sql_pool_metadata_sync_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -3067,7 +3067,7 @@ pub mod sql_pool_metadata_sync_configs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -3093,7 +3093,7 @@ pub mod sql_pool_metadata_sync_configs { } } pub mod sql_pool_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get_location_header_result( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3157,7 +3157,7 @@ pub mod sql_pool_operation_results { } } pub mod get_location_header_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -3186,7 +3186,7 @@ pub mod sql_pool_operation_results { } } pub mod sql_pool_geo_backup_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3237,7 +3237,7 @@ pub mod sql_pool_geo_backup_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3311,7 +3311,7 @@ pub mod sql_pool_geo_backup_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3396,7 +3396,7 @@ pub mod sql_pool_geo_backup_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GeoBackupPolicy), @@ -3425,7 +3425,7 @@ pub mod sql_pool_geo_backup_policies { } } pub mod sql_pool_data_warehouse_user_activities { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3470,7 +3470,7 @@ pub mod sql_pool_data_warehouse_user_activities { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3491,7 +3491,7 @@ pub mod sql_pool_data_warehouse_user_activities { } } pub mod sql_pool_restore_points { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3542,7 +3542,7 @@ pub mod sql_pool_restore_points { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3615,7 +3615,7 @@ pub mod sql_pool_restore_points { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RestorePoint), @@ -3684,7 +3684,7 @@ pub mod sql_pool_restore_points { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3742,7 +3742,7 @@ pub mod sql_pool_restore_points { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3763,7 +3763,7 @@ pub mod sql_pool_restore_points { } } pub mod sql_pool_replication_links { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3814,7 +3814,7 @@ pub mod sql_pool_replication_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3891,7 +3891,7 @@ pub mod sql_pool_replication_links { } } pub mod get_by_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3915,7 +3915,7 @@ pub mod sql_pool_replication_links { } } pub mod sql_pool_maintenance_windows { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3968,7 +3968,7 @@ pub mod sql_pool_maintenance_windows { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4034,7 +4034,7 @@ pub mod sql_pool_maintenance_windows { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4055,7 +4055,7 @@ pub mod sql_pool_maintenance_windows { } } pub mod sql_pool_maintenance_window_options { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4101,7 +4101,7 @@ pub mod sql_pool_maintenance_window_options { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4122,7 +4122,7 @@ pub mod sql_pool_maintenance_window_options { } } pub mod sql_pool_transparent_data_encryptions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4175,7 +4175,7 @@ pub mod sql_pool_transparent_data_encryptions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4260,7 +4260,7 @@ pub mod sql_pool_transparent_data_encryptions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TransparentDataEncryption), @@ -4329,7 +4329,7 @@ pub mod sql_pool_transparent_data_encryptions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4350,7 +4350,7 @@ pub mod sql_pool_transparent_data_encryptions { } } pub mod sql_pool_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4395,7 +4395,7 @@ pub mod sql_pool_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4469,7 +4469,7 @@ pub mod sql_pool_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPoolBlobAuditingPolicy), @@ -4538,7 +4538,7 @@ pub mod sql_pool_blob_auditing_policies { } } pub mod list_by_sql_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4559,7 +4559,7 @@ pub mod sql_pool_blob_auditing_policies { } } pub mod sql_pool_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4602,7 +4602,7 @@ pub mod sql_pool_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4623,7 +4623,7 @@ pub mod sql_pool_operations { } } pub mod sql_pool_usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4674,7 +4674,7 @@ pub mod sql_pool_usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4698,7 +4698,7 @@ pub mod sql_pool_usages { } } pub mod sql_pool_sensitivity_labels { - use crate::models::*; + use super::{models, models::*}; pub async fn list_current( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4756,7 +4756,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod list_current { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4817,7 +4817,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4896,7 +4896,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod list_recommended { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4954,7 +4954,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5023,7 +5023,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SensitivityLabel), @@ -5082,7 +5082,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5146,7 +5146,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod enable_recommendation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5205,7 +5205,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod disable_recommendation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5226,7 +5226,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod sql_pool_recommended_sensitivity_labels { - use crate::models::*; + use super::{models, models::*}; pub async fn update( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5266,7 +5266,7 @@ pub mod sql_pool_recommended_sensitivity_labels { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5287,7 +5287,7 @@ pub mod sql_pool_recommended_sensitivity_labels { } } pub mod sql_pool_schemas { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5334,7 +5334,7 @@ pub mod sql_pool_schemas { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5397,7 +5397,7 @@ pub mod sql_pool_schemas { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5418,7 +5418,7 @@ pub mod sql_pool_schemas { } } pub mod sql_pool_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_schema( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5470,7 +5470,7 @@ pub mod sql_pool_tables { } } pub mod list_by_schema { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5535,7 +5535,7 @@ pub mod sql_pool_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5556,7 +5556,7 @@ pub mod sql_pool_tables { } } pub mod sql_pool_table_columns { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_table_name( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5610,7 +5610,7 @@ pub mod sql_pool_table_columns { } } pub mod list_by_table_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5631,7 +5631,7 @@ pub mod sql_pool_table_columns { } } pub mod sql_pool_connection_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5684,7 +5684,7 @@ pub mod sql_pool_connection_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5708,7 +5708,7 @@ pub mod sql_pool_connection_policies { } } pub mod sql_pool_vulnerability_assessments { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5751,7 +5751,7 @@ pub mod sql_pool_vulnerability_assessments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5814,7 +5814,7 @@ pub mod sql_pool_vulnerability_assessments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5888,7 +5888,7 @@ pub mod sql_pool_vulnerability_assessments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPoolVulnerabilityAssessment), @@ -5952,7 +5952,7 @@ pub mod sql_pool_vulnerability_assessments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5978,7 +5978,7 @@ pub mod sql_pool_vulnerability_assessments { } } pub mod sql_pool_vulnerability_assessment_scans { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6023,7 +6023,7 @@ pub mod sql_pool_vulnerability_assessment_scans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6079,7 +6079,7 @@ pub mod sql_pool_vulnerability_assessment_scans { } } pub mod initiate_scan { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6147,7 +6147,7 @@ pub mod sql_pool_vulnerability_assessment_scans { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPoolVulnerabilityAssessmentScansExport), @@ -6208,7 +6208,7 @@ pub mod sql_pool_vulnerability_assessment_scans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6229,7 +6229,7 @@ pub mod sql_pool_vulnerability_assessment_scans { } } pub mod sql_pool_security_alert_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6272,7 +6272,7 @@ pub mod sql_pool_security_alert_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6335,7 +6335,7 @@ pub mod sql_pool_security_alert_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6409,7 +6409,7 @@ pub mod sql_pool_security_alert_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPoolSecurityAlertPolicy), @@ -6435,7 +6435,7 @@ pub mod sql_pool_security_alert_policies { } } pub mod sql_pool_vulnerability_assessment_rule_baselines { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6474,7 +6474,7 @@ pub mod sql_pool_vulnerability_assessment_rule_baselines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6536,7 +6536,7 @@ pub mod sql_pool_vulnerability_assessment_rule_baselines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6589,7 +6589,7 @@ pub mod sql_pool_vulnerability_assessment_rule_baselines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6615,7 +6615,7 @@ pub mod sql_pool_vulnerability_assessment_rule_baselines { } } pub mod extended_sql_pool_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6660,7 +6660,7 @@ pub mod extended_sql_pool_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6734,7 +6734,7 @@ pub mod extended_sql_pool_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExtendedSqlPoolBlobAuditingPolicy), @@ -6803,7 +6803,7 @@ pub mod extended_sql_pool_blob_auditing_policies { } } pub mod list_by_sql_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6824,7 +6824,7 @@ pub mod extended_sql_pool_blob_auditing_policies { } } pub mod data_masking_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6877,7 +6877,7 @@ pub mod data_masking_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6956,7 +6956,7 @@ pub mod data_masking_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6980,7 +6980,7 @@ pub mod data_masking_policies { } } pub mod data_masking_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7035,7 +7035,7 @@ pub mod data_masking_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7122,7 +7122,7 @@ pub mod data_masking_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataMaskingRule), @@ -7204,7 +7204,7 @@ pub mod data_masking_rules { } } pub mod list_by_sql_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7228,7 +7228,7 @@ pub mod data_masking_rules { } } pub mod sql_pool_columns { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7277,7 +7277,7 @@ pub mod sql_pool_columns { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7298,7 +7298,7 @@ pub mod sql_pool_columns { } } pub mod sql_pool_workload_group { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7343,7 +7343,7 @@ pub mod sql_pool_workload_group { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7418,7 +7418,7 @@ pub mod sql_pool_workload_group { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadGroup), @@ -7484,7 +7484,7 @@ pub mod sql_pool_workload_group { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7551,7 +7551,7 @@ pub mod sql_pool_workload_group { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7572,7 +7572,7 @@ pub mod sql_pool_workload_group { } } pub mod sql_pool_workload_classifier { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7610,7 +7610,7 @@ pub mod sql_pool_workload_classifier { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7678,7 +7678,7 @@ pub mod sql_pool_workload_classifier { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadClassifier), @@ -7737,7 +7737,7 @@ pub mod sql_pool_workload_classifier { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7798,7 +7798,7 @@ pub mod sql_pool_workload_classifier { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7819,7 +7819,7 @@ pub mod sql_pool_workload_classifier { } } pub mod integration_runtimes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7875,7 +7875,7 @@ pub mod integration_runtimes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -7956,7 +7956,7 @@ pub mod integration_runtimes { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IntegrationRuntimeResource), @@ -8035,7 +8035,7 @@ pub mod integration_runtimes { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8104,7 +8104,7 @@ pub mod integration_runtimes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8181,7 +8181,7 @@ pub mod integration_runtimes { } } pub mod upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8254,7 +8254,7 @@ pub mod integration_runtimes { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8328,7 +8328,7 @@ pub mod integration_runtimes { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IntegrationRuntimeStatusResponse), @@ -8402,7 +8402,7 @@ pub mod integration_runtimes { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8480,7 +8480,7 @@ pub mod integration_runtimes { } } pub mod list_outbound_network_dependencies_endpoints { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8554,7 +8554,7 @@ pub mod integration_runtimes { } } pub mod enable_interactive_query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8626,7 +8626,7 @@ pub mod integration_runtimes { } } pub mod disable_interactive_query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8655,7 +8655,7 @@ pub mod integration_runtimes { } } pub mod integration_runtime_node_ip_address { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8709,7 +8709,7 @@ pub mod integration_runtime_node_ip_address { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8733,7 +8733,7 @@ pub mod integration_runtime_node_ip_address { } } pub mod integration_runtime_object_metadata { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8790,7 +8790,7 @@ pub mod integration_runtime_object_metadata { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8867,7 +8867,7 @@ pub mod integration_runtime_object_metadata { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SsisObjectMetadataStatusResponse), @@ -8896,7 +8896,7 @@ pub mod integration_runtime_object_metadata { } } pub mod integration_runtime_nodes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8949,7 +8949,7 @@ pub mod integration_runtime_nodes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9025,7 +9025,7 @@ pub mod integration_runtime_nodes { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9095,7 +9095,7 @@ pub mod integration_runtime_nodes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9124,7 +9124,7 @@ pub mod integration_runtime_nodes { } } pub mod integration_runtime_credentials { - use crate::models::*; + use super::{models, models::*}; pub async fn sync( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9171,7 +9171,7 @@ pub mod integration_runtime_credentials { } } pub mod sync { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9195,7 +9195,7 @@ pub mod integration_runtime_credentials { } } pub mod integration_runtime_connection_infos { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9247,7 +9247,7 @@ pub mod integration_runtime_connection_infos { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9271,7 +9271,7 @@ pub mod integration_runtime_connection_infos { } } pub mod integration_runtime_auth_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn regenerate( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9327,7 +9327,7 @@ pub mod integration_runtime_auth_keys { } } pub mod regenerate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9400,7 +9400,7 @@ pub mod integration_runtime_auth_keys { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9424,7 +9424,7 @@ pub mod integration_runtime_auth_keys { } } pub mod integration_runtime_monitoring_data { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9476,7 +9476,7 @@ pub mod integration_runtime_monitoring_data { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9500,7 +9500,7 @@ pub mod integration_runtime_monitoring_data { } } pub mod integration_runtime_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9552,7 +9552,7 @@ pub mod integration_runtime_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9576,7 +9576,7 @@ pub mod integration_runtime_status { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9625,7 +9625,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9697,7 +9697,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9721,7 +9721,7 @@ pub mod private_link_resources { } } pub mod private_link_hub_private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9770,7 +9770,7 @@ pub mod private_link_hub_private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9842,7 +9842,7 @@ pub mod private_link_hub_private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9866,7 +9866,7 @@ pub mod private_link_hub_private_link_resources { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9917,7 +9917,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9997,7 +9997,7 @@ pub mod private_endpoint_connections { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -10076,7 +10076,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10152,7 +10152,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10176,7 +10176,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_hubs { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10228,7 +10228,7 @@ pub mod private_link_hubs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10298,7 +10298,7 @@ pub mod private_link_hubs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10379,7 +10379,7 @@ pub mod private_link_hubs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkHub), @@ -10462,7 +10462,7 @@ pub mod private_link_hubs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkHub), @@ -10534,7 +10534,7 @@ pub mod private_link_hubs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10606,7 +10606,7 @@ pub mod private_link_hubs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10630,7 +10630,7 @@ pub mod private_link_hubs { } } pub mod private_endpoint_connections_private_link_hub { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10679,7 +10679,7 @@ pub mod private_endpoint_connections_private_link_hub { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10703,7 +10703,7 @@ pub mod private_endpoint_connections_private_link_hub { } } pub mod workspace_managed_sql_server_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10746,7 +10746,7 @@ pub mod workspace_managed_sql_server_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10813,7 +10813,7 @@ pub mod workspace_managed_sql_server_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerBlobAuditingPolicy), @@ -10880,7 +10880,7 @@ pub mod workspace_managed_sql_server_blob_auditing_policies { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10901,7 +10901,7 @@ pub mod workspace_managed_sql_server_blob_auditing_policies { } } pub mod workspace_managed_sql_server_extended_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10944,7 +10944,7 @@ pub mod workspace_managed_sql_server_extended_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11011,7 +11011,7 @@ pub mod workspace_managed_sql_server_extended_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExtendedServerBlobAuditingPolicy), @@ -11078,7 +11078,7 @@ pub mod workspace_managed_sql_server_extended_blob_auditing_policies { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11099,7 +11099,7 @@ pub mod workspace_managed_sql_server_extended_blob_auditing_policies { } } pub mod workspace_managed_sql_server_security_alert_policy { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11142,7 +11142,7 @@ pub mod workspace_managed_sql_server_security_alert_policy { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11209,7 +11209,7 @@ pub mod workspace_managed_sql_server_security_alert_policy { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerSecurityAlertPolicy), @@ -11273,7 +11273,7 @@ pub mod workspace_managed_sql_server_security_alert_policy { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11294,7 +11294,7 @@ pub mod workspace_managed_sql_server_security_alert_policy { } } pub mod workspace_managed_sql_server_vulnerability_assessments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11337,7 +11337,7 @@ pub mod workspace_managed_sql_server_vulnerability_assessments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11409,7 +11409,7 @@ pub mod workspace_managed_sql_server_vulnerability_assessments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerVulnerabilityAssessment), @@ -11471,7 +11471,7 @@ pub mod workspace_managed_sql_server_vulnerability_assessments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11535,7 +11535,7 @@ pub mod workspace_managed_sql_server_vulnerability_assessments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11556,7 +11556,7 @@ pub mod workspace_managed_sql_server_vulnerability_assessments { } } pub mod workspace_managed_sql_server_encryption_protector { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11607,7 +11607,7 @@ pub mod workspace_managed_sql_server_encryption_protector { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11685,7 +11685,7 @@ pub mod workspace_managed_sql_server_encryption_protector { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EncryptionProtector), @@ -11752,7 +11752,7 @@ pub mod workspace_managed_sql_server_encryption_protector { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11813,7 +11813,7 @@ pub mod workspace_managed_sql_server_encryption_protector { } } pub mod revalidate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11839,7 +11839,7 @@ pub mod workspace_managed_sql_server_encryption_protector { } } pub mod workspace_managed_sql_server_usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11880,7 +11880,7 @@ pub mod workspace_managed_sql_server_usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11901,7 +11901,7 @@ pub mod workspace_managed_sql_server_usages { } } pub mod workspace_managed_sql_server_recoverable_sql_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11942,7 +11942,7 @@ pub mod workspace_managed_sql_server_recoverable_sql_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12003,7 +12003,7 @@ pub mod workspace_managed_sql_server_recoverable_sql_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12024,7 +12024,7 @@ pub mod workspace_managed_sql_server_recoverable_sql_pools { } } pub mod keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12076,7 +12076,7 @@ pub mod keys { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12148,7 +12148,7 @@ pub mod keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12225,7 +12225,7 @@ pub mod keys { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12298,7 +12298,7 @@ pub mod keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Key), @@ -12327,7 +12327,7 @@ pub mod keys { } } pub mod library { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12378,7 +12378,7 @@ pub mod library { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12402,7 +12402,7 @@ pub mod library { } } pub mod libraries { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12454,7 +12454,7 @@ pub mod libraries { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/synapse/src/package_2021_03/operations.rs b/services/mgmt/synapse/src/package_2021_03/operations.rs index bb3ce3c695..3b18ab3586 100644 --- a/services/mgmt/synapse/src/package_2021_03/operations.rs +++ b/services/mgmt/synapse/src/package_2021_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod big_data_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -55,7 +55,7 @@ pub mod big_data_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -142,7 +142,7 @@ pub mod big_data_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BigDataPoolResourceInfo), @@ -221,7 +221,7 @@ pub mod big_data_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -300,7 +300,7 @@ pub mod big_data_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -379,7 +379,7 @@ pub mod big_data_pools { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -403,7 +403,7 @@ pub mod big_data_pools { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -455,7 +455,7 @@ pub mod workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -525,7 +525,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -606,7 +606,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -689,7 +689,7 @@ pub mod workspaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -771,7 +771,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -843,7 +843,7 @@ pub mod workspaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -867,7 +867,7 @@ pub mod workspaces { } } pub mod workspace_aad_admins { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -916,7 +916,7 @@ pub mod workspace_aad_admins { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -997,7 +997,7 @@ pub mod workspace_aad_admins { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkspaceAadAdminInfo), @@ -1069,7 +1069,7 @@ pub mod workspace_aad_admins { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1099,7 +1099,7 @@ pub mod workspace_aad_admins { } } pub mod workspace_sql_aad_admins { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1148,7 +1148,7 @@ pub mod workspace_sql_aad_admins { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1229,7 +1229,7 @@ pub mod workspace_sql_aad_admins { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkspaceAadAdminInfo), @@ -1301,7 +1301,7 @@ pub mod workspace_sql_aad_admins { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1331,7 +1331,7 @@ pub mod workspace_sql_aad_admins { } } pub mod workspace_managed_identity_sql_control_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1380,7 +1380,7 @@ pub mod workspace_managed_identity_sql_control_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1456,7 +1456,7 @@ pub mod workspace_managed_identity_sql_control_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedIdentitySqlControlSettingsModel), @@ -1485,7 +1485,7 @@ pub mod workspace_managed_identity_sql_control_settings { } } pub mod restorable_dropped_sql_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1536,7 +1536,7 @@ pub mod restorable_dropped_sql_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1609,7 +1609,7 @@ pub mod restorable_dropped_sql_pools { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1633,7 +1633,7 @@ pub mod restorable_dropped_sql_pools { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1685,7 +1685,7 @@ pub mod operations { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1743,7 +1743,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1818,7 +1818,7 @@ pub mod operations { } } pub mod get_location_header_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1903,7 +1903,7 @@ pub mod operations { } } pub mod get_azure_async_header_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1929,7 +1929,7 @@ pub mod operations { } } pub mod ip_firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1981,7 +1981,7 @@ pub mod ip_firewall_rules { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2053,7 +2053,7 @@ pub mod ip_firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2136,7 +2136,7 @@ pub mod ip_firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IpFirewallRuleInfo), @@ -2215,7 +2215,7 @@ pub mod ip_firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -2297,7 +2297,7 @@ pub mod ip_firewall_rules { } } pub mod replace_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplaceAllFirewallRulesOperationResponse), @@ -2326,7 +2326,7 @@ pub mod ip_firewall_rules { } } pub mod integration_runtimes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2382,7 +2382,7 @@ pub mod integration_runtimes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2463,7 +2463,7 @@ pub mod integration_runtimes { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IntegrationRuntimeResource), @@ -2542,7 +2542,7 @@ pub mod integration_runtimes { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2611,7 +2611,7 @@ pub mod integration_runtimes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2688,7 +2688,7 @@ pub mod integration_runtimes { } } pub mod upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2761,7 +2761,7 @@ pub mod integration_runtimes { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2835,7 +2835,7 @@ pub mod integration_runtimes { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IntegrationRuntimeStatusResponse), @@ -2909,7 +2909,7 @@ pub mod integration_runtimes { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2987,7 +2987,7 @@ pub mod integration_runtimes { } } pub mod list_outbound_network_dependencies_endpoints { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3061,7 +3061,7 @@ pub mod integration_runtimes { } } pub mod enable_interactive_query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3133,7 +3133,7 @@ pub mod integration_runtimes { } } pub mod disable_interactive_query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3162,7 +3162,7 @@ pub mod integration_runtimes { } } pub mod integration_runtime_node_ip_address { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3216,7 +3216,7 @@ pub mod integration_runtime_node_ip_address { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3240,7 +3240,7 @@ pub mod integration_runtime_node_ip_address { } } pub mod integration_runtime_object_metadata { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3297,7 +3297,7 @@ pub mod integration_runtime_object_metadata { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3374,7 +3374,7 @@ pub mod integration_runtime_object_metadata { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SsisObjectMetadataStatusResponse), @@ -3403,7 +3403,7 @@ pub mod integration_runtime_object_metadata { } } pub mod integration_runtime_nodes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3456,7 +3456,7 @@ pub mod integration_runtime_nodes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3532,7 +3532,7 @@ pub mod integration_runtime_nodes { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3602,7 +3602,7 @@ pub mod integration_runtime_nodes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3631,7 +3631,7 @@ pub mod integration_runtime_nodes { } } pub mod integration_runtime_credentials { - use crate::models::*; + use super::{models, models::*}; pub async fn sync( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3678,7 +3678,7 @@ pub mod integration_runtime_credentials { } } pub mod sync { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3702,7 +3702,7 @@ pub mod integration_runtime_credentials { } } pub mod integration_runtime_connection_infos { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3754,7 +3754,7 @@ pub mod integration_runtime_connection_infos { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3778,7 +3778,7 @@ pub mod integration_runtime_connection_infos { } } pub mod integration_runtime_auth_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn regenerate( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3834,7 +3834,7 @@ pub mod integration_runtime_auth_keys { } } pub mod regenerate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3907,7 +3907,7 @@ pub mod integration_runtime_auth_keys { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3931,7 +3931,7 @@ pub mod integration_runtime_auth_keys { } } pub mod integration_runtime_monitoring_data { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3983,7 +3983,7 @@ pub mod integration_runtime_monitoring_data { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4007,7 +4007,7 @@ pub mod integration_runtime_monitoring_data { } } pub mod integration_runtime_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4059,7 +4059,7 @@ pub mod integration_runtime_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4083,7 +4083,7 @@ pub mod integration_runtime_status { } } pub mod keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4135,7 +4135,7 @@ pub mod keys { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4207,7 +4207,7 @@ pub mod keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4284,7 +4284,7 @@ pub mod keys { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4357,7 +4357,7 @@ pub mod keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Key), @@ -4386,7 +4386,7 @@ pub mod keys { } } pub mod library { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4437,7 +4437,7 @@ pub mod library { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4461,7 +4461,7 @@ pub mod library { } } pub mod libraries { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4513,7 +4513,7 @@ pub mod libraries { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4537,7 +4537,7 @@ pub mod libraries { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4588,7 +4588,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4668,7 +4668,7 @@ pub mod private_endpoint_connections { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -4747,7 +4747,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4823,7 +4823,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4847,7 +4847,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4896,7 +4896,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4968,7 +4968,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4992,7 +4992,7 @@ pub mod private_link_resources { } } pub mod private_link_hub_private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5041,7 +5041,7 @@ pub mod private_link_hub_private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5113,7 +5113,7 @@ pub mod private_link_hub_private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5137,7 +5137,7 @@ pub mod private_link_hub_private_link_resources { } } pub mod private_link_hubs { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5189,7 +5189,7 @@ pub mod private_link_hubs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5259,7 +5259,7 @@ pub mod private_link_hubs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5340,7 +5340,7 @@ pub mod private_link_hubs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkHub), @@ -5423,7 +5423,7 @@ pub mod private_link_hubs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkHub), @@ -5495,7 +5495,7 @@ pub mod private_link_hubs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5567,7 +5567,7 @@ pub mod private_link_hubs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5591,7 +5591,7 @@ pub mod private_link_hubs { } } pub mod private_endpoint_connections_private_link_hub { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5640,7 +5640,7 @@ pub mod private_endpoint_connections_private_link_hub { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5664,7 +5664,7 @@ pub mod private_endpoint_connections_private_link_hub { } } pub mod sql_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5715,7 +5715,7 @@ pub mod sql_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5791,7 +5791,7 @@ pub mod sql_pools { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPool), @@ -5873,7 +5873,7 @@ pub mod sql_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPool), @@ -5957,7 +5957,7 @@ pub mod sql_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -6036,7 +6036,7 @@ pub mod sql_pools { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6110,7 +6110,7 @@ pub mod sql_pools { } } pub mod pause { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -6189,7 +6189,7 @@ pub mod sql_pools { } } pub mod resume { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -6255,7 +6255,7 @@ pub mod sql_pools { } } pub mod rename { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6276,7 +6276,7 @@ pub mod sql_pools { } } pub mod sql_pool_metadata_sync_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6328,7 +6328,7 @@ pub mod sql_pool_metadata_sync_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -6405,7 +6405,7 @@ pub mod sql_pool_metadata_sync_configs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -6431,7 +6431,7 @@ pub mod sql_pool_metadata_sync_configs { } } pub mod sql_pool_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get_location_header_result( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6495,7 +6495,7 @@ pub mod sql_pool_operation_results { } } pub mod get_location_header_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -6524,7 +6524,7 @@ pub mod sql_pool_operation_results { } } pub mod sql_pool_geo_backup_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6575,7 +6575,7 @@ pub mod sql_pool_geo_backup_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6649,7 +6649,7 @@ pub mod sql_pool_geo_backup_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6734,7 +6734,7 @@ pub mod sql_pool_geo_backup_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GeoBackupPolicy), @@ -6763,7 +6763,7 @@ pub mod sql_pool_geo_backup_policies { } } pub mod sql_pool_data_warehouse_user_activities { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6808,7 +6808,7 @@ pub mod sql_pool_data_warehouse_user_activities { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6829,7 +6829,7 @@ pub mod sql_pool_data_warehouse_user_activities { } } pub mod sql_pool_restore_points { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6880,7 +6880,7 @@ pub mod sql_pool_restore_points { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6953,7 +6953,7 @@ pub mod sql_pool_restore_points { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RestorePoint), @@ -7022,7 +7022,7 @@ pub mod sql_pool_restore_points { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7081,7 +7081,7 @@ pub mod sql_pool_restore_points { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7107,7 +7107,7 @@ pub mod sql_pool_restore_points { } } pub mod sql_pool_replication_links { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7158,7 +7158,7 @@ pub mod sql_pool_replication_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7235,7 +7235,7 @@ pub mod sql_pool_replication_links { } } pub mod get_by_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7259,7 +7259,7 @@ pub mod sql_pool_replication_links { } } pub mod sql_pool_maintenance_windows { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7312,7 +7312,7 @@ pub mod sql_pool_maintenance_windows { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7378,7 +7378,7 @@ pub mod sql_pool_maintenance_windows { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7399,7 +7399,7 @@ pub mod sql_pool_maintenance_windows { } } pub mod sql_pool_maintenance_window_options { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7445,7 +7445,7 @@ pub mod sql_pool_maintenance_window_options { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7466,7 +7466,7 @@ pub mod sql_pool_maintenance_window_options { } } pub mod sql_pool_transparent_data_encryptions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7519,7 +7519,7 @@ pub mod sql_pool_transparent_data_encryptions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7604,7 +7604,7 @@ pub mod sql_pool_transparent_data_encryptions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TransparentDataEncryption), @@ -7673,7 +7673,7 @@ pub mod sql_pool_transparent_data_encryptions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7694,7 +7694,7 @@ pub mod sql_pool_transparent_data_encryptions { } } pub mod sql_pool_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7739,7 +7739,7 @@ pub mod sql_pool_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7813,7 +7813,7 @@ pub mod sql_pool_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPoolBlobAuditingPolicy), @@ -7882,7 +7882,7 @@ pub mod sql_pool_blob_auditing_policies { } } pub mod list_by_sql_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7903,7 +7903,7 @@ pub mod sql_pool_blob_auditing_policies { } } pub mod sql_pool_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7946,7 +7946,7 @@ pub mod sql_pool_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7967,7 +7967,7 @@ pub mod sql_pool_operations { } } pub mod sql_pool_usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8018,7 +8018,7 @@ pub mod sql_pool_usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8042,7 +8042,7 @@ pub mod sql_pool_usages { } } pub mod sql_pool_sensitivity_labels { - use crate::models::*; + use super::{models, models::*}; pub async fn list_current( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8100,7 +8100,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod list_current { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8161,7 +8161,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8240,7 +8240,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod list_recommended { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8298,7 +8298,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8367,7 +8367,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SensitivityLabel), @@ -8426,7 +8426,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8490,7 +8490,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod enable_recommendation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8549,7 +8549,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod disable_recommendation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8570,7 +8570,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod sql_pool_recommended_sensitivity_labels { - use crate::models::*; + use super::{models, models::*}; pub async fn update( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8610,7 +8610,7 @@ pub mod sql_pool_recommended_sensitivity_labels { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8631,7 +8631,7 @@ pub mod sql_pool_recommended_sensitivity_labels { } } pub mod sql_pool_schemas { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8678,7 +8678,7 @@ pub mod sql_pool_schemas { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8741,7 +8741,7 @@ pub mod sql_pool_schemas { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8762,7 +8762,7 @@ pub mod sql_pool_schemas { } } pub mod sql_pool_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_schema( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8814,7 +8814,7 @@ pub mod sql_pool_tables { } } pub mod list_by_schema { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8879,7 +8879,7 @@ pub mod sql_pool_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8900,7 +8900,7 @@ pub mod sql_pool_tables { } } pub mod sql_pool_table_columns { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_table_name( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8954,7 +8954,7 @@ pub mod sql_pool_table_columns { } } pub mod list_by_table_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8975,7 +8975,7 @@ pub mod sql_pool_table_columns { } } pub mod sql_pool_connection_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9028,7 +9028,7 @@ pub mod sql_pool_connection_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9052,7 +9052,7 @@ pub mod sql_pool_connection_policies { } } pub mod sql_pool_vulnerability_assessments { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9095,7 +9095,7 @@ pub mod sql_pool_vulnerability_assessments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9158,7 +9158,7 @@ pub mod sql_pool_vulnerability_assessments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9232,7 +9232,7 @@ pub mod sql_pool_vulnerability_assessments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPoolVulnerabilityAssessment), @@ -9296,7 +9296,7 @@ pub mod sql_pool_vulnerability_assessments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9322,7 +9322,7 @@ pub mod sql_pool_vulnerability_assessments { } } pub mod sql_pool_vulnerability_assessment_scans { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9367,7 +9367,7 @@ pub mod sql_pool_vulnerability_assessment_scans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9423,7 +9423,7 @@ pub mod sql_pool_vulnerability_assessment_scans { } } pub mod initiate_scan { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9491,7 +9491,7 @@ pub mod sql_pool_vulnerability_assessment_scans { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPoolVulnerabilityAssessmentScansExport), @@ -9552,7 +9552,7 @@ pub mod sql_pool_vulnerability_assessment_scans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9573,7 +9573,7 @@ pub mod sql_pool_vulnerability_assessment_scans { } } pub mod sql_pool_security_alert_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9616,7 +9616,7 @@ pub mod sql_pool_security_alert_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9679,7 +9679,7 @@ pub mod sql_pool_security_alert_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9753,7 +9753,7 @@ pub mod sql_pool_security_alert_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPoolSecurityAlertPolicy), @@ -9779,7 +9779,7 @@ pub mod sql_pool_security_alert_policies { } } pub mod sql_pool_vulnerability_assessment_rule_baselines { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9818,7 +9818,7 @@ pub mod sql_pool_vulnerability_assessment_rule_baselines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9880,7 +9880,7 @@ pub mod sql_pool_vulnerability_assessment_rule_baselines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9933,7 +9933,7 @@ pub mod sql_pool_vulnerability_assessment_rule_baselines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9959,7 +9959,7 @@ pub mod sql_pool_vulnerability_assessment_rule_baselines { } } pub mod extended_sql_pool_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10004,7 +10004,7 @@ pub mod extended_sql_pool_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10078,7 +10078,7 @@ pub mod extended_sql_pool_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExtendedSqlPoolBlobAuditingPolicy), @@ -10147,7 +10147,7 @@ pub mod extended_sql_pool_blob_auditing_policies { } } pub mod list_by_sql_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10168,7 +10168,7 @@ pub mod extended_sql_pool_blob_auditing_policies { } } pub mod data_masking_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10221,7 +10221,7 @@ pub mod data_masking_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10300,7 +10300,7 @@ pub mod data_masking_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10324,7 +10324,7 @@ pub mod data_masking_policies { } } pub mod data_masking_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10379,7 +10379,7 @@ pub mod data_masking_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10466,7 +10466,7 @@ pub mod data_masking_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataMaskingRule), @@ -10548,7 +10548,7 @@ pub mod data_masking_rules { } } pub mod list_by_sql_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10572,7 +10572,7 @@ pub mod data_masking_rules { } } pub mod sql_pool_columns { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10621,7 +10621,7 @@ pub mod sql_pool_columns { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10642,7 +10642,7 @@ pub mod sql_pool_columns { } } pub mod sql_pool_workload_group { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10687,7 +10687,7 @@ pub mod sql_pool_workload_group { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10762,7 +10762,7 @@ pub mod sql_pool_workload_group { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadGroup), @@ -10828,7 +10828,7 @@ pub mod sql_pool_workload_group { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10895,7 +10895,7 @@ pub mod sql_pool_workload_group { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10916,7 +10916,7 @@ pub mod sql_pool_workload_group { } } pub mod sql_pool_workload_classifier { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10954,7 +10954,7 @@ pub mod sql_pool_workload_classifier { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11022,7 +11022,7 @@ pub mod sql_pool_workload_classifier { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadClassifier), @@ -11081,7 +11081,7 @@ pub mod sql_pool_workload_classifier { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11142,7 +11142,7 @@ pub mod sql_pool_workload_classifier { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11163,7 +11163,7 @@ pub mod sql_pool_workload_classifier { } } pub mod workspace_managed_sql_server_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11206,7 +11206,7 @@ pub mod workspace_managed_sql_server_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11273,7 +11273,7 @@ pub mod workspace_managed_sql_server_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerBlobAuditingPolicy), @@ -11340,7 +11340,7 @@ pub mod workspace_managed_sql_server_blob_auditing_policies { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11361,7 +11361,7 @@ pub mod workspace_managed_sql_server_blob_auditing_policies { } } pub mod workspace_managed_sql_server_extended_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11404,7 +11404,7 @@ pub mod workspace_managed_sql_server_extended_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11471,7 +11471,7 @@ pub mod workspace_managed_sql_server_extended_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExtendedServerBlobAuditingPolicy), @@ -11538,7 +11538,7 @@ pub mod workspace_managed_sql_server_extended_blob_auditing_policies { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11559,7 +11559,7 @@ pub mod workspace_managed_sql_server_extended_blob_auditing_policies { } } pub mod workspace_managed_sql_server_security_alert_policy { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11602,7 +11602,7 @@ pub mod workspace_managed_sql_server_security_alert_policy { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11669,7 +11669,7 @@ pub mod workspace_managed_sql_server_security_alert_policy { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerSecurityAlertPolicy), @@ -11733,7 +11733,7 @@ pub mod workspace_managed_sql_server_security_alert_policy { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11754,7 +11754,7 @@ pub mod workspace_managed_sql_server_security_alert_policy { } } pub mod workspace_managed_sql_server_vulnerability_assessments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11797,7 +11797,7 @@ pub mod workspace_managed_sql_server_vulnerability_assessments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11869,7 +11869,7 @@ pub mod workspace_managed_sql_server_vulnerability_assessments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerVulnerabilityAssessment), @@ -11931,7 +11931,7 @@ pub mod workspace_managed_sql_server_vulnerability_assessments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11995,7 +11995,7 @@ pub mod workspace_managed_sql_server_vulnerability_assessments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12016,7 +12016,7 @@ pub mod workspace_managed_sql_server_vulnerability_assessments { } } pub mod workspace_managed_sql_server_encryption_protector { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12067,7 +12067,7 @@ pub mod workspace_managed_sql_server_encryption_protector { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12145,7 +12145,7 @@ pub mod workspace_managed_sql_server_encryption_protector { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EncryptionProtector), @@ -12212,7 +12212,7 @@ pub mod workspace_managed_sql_server_encryption_protector { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12273,7 +12273,7 @@ pub mod workspace_managed_sql_server_encryption_protector { } } pub mod revalidate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12299,7 +12299,7 @@ pub mod workspace_managed_sql_server_encryption_protector { } } pub mod workspace_managed_sql_server_usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12340,7 +12340,7 @@ pub mod workspace_managed_sql_server_usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12361,7 +12361,7 @@ pub mod workspace_managed_sql_server_usages { } } pub mod workspace_managed_sql_server_recoverable_sql_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12402,7 +12402,7 @@ pub mod workspace_managed_sql_server_recoverable_sql_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12463,7 +12463,7 @@ pub mod workspace_managed_sql_server_recoverable_sql_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/synapse/src/package_2021_04_preview/operations.rs b/services/mgmt/synapse/src/package_2021_04_preview/operations.rs index 182f1bfcb7..64c52243e5 100644 --- a/services/mgmt/synapse/src/package_2021_04_preview/operations.rs +++ b/services/mgmt/synapse/src/package_2021_04_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod big_data_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -55,7 +55,7 @@ pub mod big_data_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -142,7 +142,7 @@ pub mod big_data_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BigDataPoolResourceInfo), @@ -221,7 +221,7 @@ pub mod big_data_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -300,7 +300,7 @@ pub mod big_data_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -379,7 +379,7 @@ pub mod big_data_pools { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -403,7 +403,7 @@ pub mod big_data_pools { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -455,7 +455,7 @@ pub mod workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -525,7 +525,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -606,7 +606,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -689,7 +689,7 @@ pub mod workspaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -771,7 +771,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -843,7 +843,7 @@ pub mod workspaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -867,7 +867,7 @@ pub mod workspaces { } } pub mod workspace_aad_admins { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -916,7 +916,7 @@ pub mod workspace_aad_admins { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -997,7 +997,7 @@ pub mod workspace_aad_admins { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkspaceAadAdminInfo), @@ -1069,7 +1069,7 @@ pub mod workspace_aad_admins { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1099,7 +1099,7 @@ pub mod workspace_aad_admins { } } pub mod workspace_sql_aad_admins { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1148,7 +1148,7 @@ pub mod workspace_sql_aad_admins { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1229,7 +1229,7 @@ pub mod workspace_sql_aad_admins { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkspaceAadAdminInfo), @@ -1301,7 +1301,7 @@ pub mod workspace_sql_aad_admins { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1331,7 +1331,7 @@ pub mod workspace_sql_aad_admins { } } pub mod workspace_managed_identity_sql_control_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1380,7 +1380,7 @@ pub mod workspace_managed_identity_sql_control_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1456,7 +1456,7 @@ pub mod workspace_managed_identity_sql_control_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedIdentitySqlControlSettingsModel), @@ -1485,7 +1485,7 @@ pub mod workspace_managed_identity_sql_control_settings { } } pub mod restorable_dropped_sql_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1536,7 +1536,7 @@ pub mod restorable_dropped_sql_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1609,7 +1609,7 @@ pub mod restorable_dropped_sql_pools { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1633,7 +1633,7 @@ pub mod restorable_dropped_sql_pools { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1685,7 +1685,7 @@ pub mod operations { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1743,7 +1743,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1818,7 +1818,7 @@ pub mod operations { } } pub mod get_location_header_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1903,7 +1903,7 @@ pub mod operations { } } pub mod get_azure_async_header_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1929,7 +1929,7 @@ pub mod operations { } } pub mod ip_firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1981,7 +1981,7 @@ pub mod ip_firewall_rules { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2053,7 +2053,7 @@ pub mod ip_firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2136,7 +2136,7 @@ pub mod ip_firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IpFirewallRuleInfo), @@ -2215,7 +2215,7 @@ pub mod ip_firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -2297,7 +2297,7 @@ pub mod ip_firewall_rules { } } pub mod replace_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplaceAllFirewallRulesOperationResponse), @@ -2326,7 +2326,7 @@ pub mod ip_firewall_rules { } } pub mod integration_runtimes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2382,7 +2382,7 @@ pub mod integration_runtimes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2463,7 +2463,7 @@ pub mod integration_runtimes { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IntegrationRuntimeResource), @@ -2542,7 +2542,7 @@ pub mod integration_runtimes { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2611,7 +2611,7 @@ pub mod integration_runtimes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2688,7 +2688,7 @@ pub mod integration_runtimes { } } pub mod upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2761,7 +2761,7 @@ pub mod integration_runtimes { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2835,7 +2835,7 @@ pub mod integration_runtimes { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IntegrationRuntimeStatusResponse), @@ -2909,7 +2909,7 @@ pub mod integration_runtimes { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2988,7 +2988,7 @@ pub mod integration_runtimes { } } pub mod enable_interactive_query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3060,7 +3060,7 @@ pub mod integration_runtimes { } } pub mod disable_interactive_query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3089,7 +3089,7 @@ pub mod integration_runtimes { } } pub mod integration_runtime_node_ip_address { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3143,7 +3143,7 @@ pub mod integration_runtime_node_ip_address { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3167,7 +3167,7 @@ pub mod integration_runtime_node_ip_address { } } pub mod integration_runtime_object_metadata { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3224,7 +3224,7 @@ pub mod integration_runtime_object_metadata { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3301,7 +3301,7 @@ pub mod integration_runtime_object_metadata { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SsisObjectMetadataStatusResponse), @@ -3330,7 +3330,7 @@ pub mod integration_runtime_object_metadata { } } pub mod integration_runtime_nodes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3383,7 +3383,7 @@ pub mod integration_runtime_nodes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3459,7 +3459,7 @@ pub mod integration_runtime_nodes { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3529,7 +3529,7 @@ pub mod integration_runtime_nodes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3558,7 +3558,7 @@ pub mod integration_runtime_nodes { } } pub mod integration_runtime_credentials { - use crate::models::*; + use super::{models, models::*}; pub async fn sync( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3605,7 +3605,7 @@ pub mod integration_runtime_credentials { } } pub mod sync { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3629,7 +3629,7 @@ pub mod integration_runtime_credentials { } } pub mod integration_runtime_connection_infos { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3681,7 +3681,7 @@ pub mod integration_runtime_connection_infos { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3705,7 +3705,7 @@ pub mod integration_runtime_connection_infos { } } pub mod integration_runtime_auth_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn regenerate( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3761,7 +3761,7 @@ pub mod integration_runtime_auth_keys { } } pub mod regenerate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3834,7 +3834,7 @@ pub mod integration_runtime_auth_keys { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3858,7 +3858,7 @@ pub mod integration_runtime_auth_keys { } } pub mod integration_runtime_monitoring_data { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3910,7 +3910,7 @@ pub mod integration_runtime_monitoring_data { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3934,7 +3934,7 @@ pub mod integration_runtime_monitoring_data { } } pub mod integration_runtime_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3986,7 +3986,7 @@ pub mod integration_runtime_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4010,7 +4010,7 @@ pub mod integration_runtime_status { } } pub mod keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4062,7 +4062,7 @@ pub mod keys { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4134,7 +4134,7 @@ pub mod keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4211,7 +4211,7 @@ pub mod keys { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4284,7 +4284,7 @@ pub mod keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Key), @@ -4313,7 +4313,7 @@ pub mod keys { } } pub mod library { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4364,7 +4364,7 @@ pub mod library { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4388,7 +4388,7 @@ pub mod library { } } pub mod libraries { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4440,7 +4440,7 @@ pub mod libraries { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4464,7 +4464,7 @@ pub mod libraries { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4515,7 +4515,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4595,7 +4595,7 @@ pub mod private_endpoint_connections { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -4674,7 +4674,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4750,7 +4750,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4774,7 +4774,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4823,7 +4823,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4895,7 +4895,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4919,7 +4919,7 @@ pub mod private_link_resources { } } pub mod private_link_hub_private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4968,7 +4968,7 @@ pub mod private_link_hub_private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5040,7 +5040,7 @@ pub mod private_link_hub_private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5064,7 +5064,7 @@ pub mod private_link_hub_private_link_resources { } } pub mod private_link_hubs { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5116,7 +5116,7 @@ pub mod private_link_hubs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5186,7 +5186,7 @@ pub mod private_link_hubs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5267,7 +5267,7 @@ pub mod private_link_hubs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkHub), @@ -5350,7 +5350,7 @@ pub mod private_link_hubs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkHub), @@ -5422,7 +5422,7 @@ pub mod private_link_hubs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5494,7 +5494,7 @@ pub mod private_link_hubs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5518,7 +5518,7 @@ pub mod private_link_hubs { } } pub mod private_endpoint_connections_private_link_hub { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5567,7 +5567,7 @@ pub mod private_endpoint_connections_private_link_hub { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5639,7 +5639,7 @@ pub mod private_endpoint_connections_private_link_hub { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5663,7 +5663,7 @@ pub mod private_endpoint_connections_private_link_hub { } } pub mod sql_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5714,7 +5714,7 @@ pub mod sql_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5790,7 +5790,7 @@ pub mod sql_pools { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPool), @@ -5872,7 +5872,7 @@ pub mod sql_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPool), @@ -5956,7 +5956,7 @@ pub mod sql_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -6035,7 +6035,7 @@ pub mod sql_pools { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6109,7 +6109,7 @@ pub mod sql_pools { } } pub mod pause { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -6188,7 +6188,7 @@ pub mod sql_pools { } } pub mod resume { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -6254,7 +6254,7 @@ pub mod sql_pools { } } pub mod rename { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6275,7 +6275,7 @@ pub mod sql_pools { } } pub mod sql_pool_metadata_sync_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6327,7 +6327,7 @@ pub mod sql_pool_metadata_sync_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -6404,7 +6404,7 @@ pub mod sql_pool_metadata_sync_configs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -6430,7 +6430,7 @@ pub mod sql_pool_metadata_sync_configs { } } pub mod sql_pool_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get_location_header_result( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6494,7 +6494,7 @@ pub mod sql_pool_operation_results { } } pub mod get_location_header_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -6523,7 +6523,7 @@ pub mod sql_pool_operation_results { } } pub mod sql_pool_geo_backup_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6574,7 +6574,7 @@ pub mod sql_pool_geo_backup_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6648,7 +6648,7 @@ pub mod sql_pool_geo_backup_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6733,7 +6733,7 @@ pub mod sql_pool_geo_backup_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GeoBackupPolicy), @@ -6762,7 +6762,7 @@ pub mod sql_pool_geo_backup_policies { } } pub mod sql_pool_data_warehouse_user_activities { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6807,7 +6807,7 @@ pub mod sql_pool_data_warehouse_user_activities { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6828,7 +6828,7 @@ pub mod sql_pool_data_warehouse_user_activities { } } pub mod sql_pool_restore_points { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6879,7 +6879,7 @@ pub mod sql_pool_restore_points { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6952,7 +6952,7 @@ pub mod sql_pool_restore_points { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RestorePoint), @@ -7021,7 +7021,7 @@ pub mod sql_pool_restore_points { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7080,7 +7080,7 @@ pub mod sql_pool_restore_points { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7106,7 +7106,7 @@ pub mod sql_pool_restore_points { } } pub mod sql_pool_replication_links { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7157,7 +7157,7 @@ pub mod sql_pool_replication_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7234,7 +7234,7 @@ pub mod sql_pool_replication_links { } } pub mod get_by_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7258,7 +7258,7 @@ pub mod sql_pool_replication_links { } } pub mod sql_pool_maintenance_windows { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7311,7 +7311,7 @@ pub mod sql_pool_maintenance_windows { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7377,7 +7377,7 @@ pub mod sql_pool_maintenance_windows { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7398,7 +7398,7 @@ pub mod sql_pool_maintenance_windows { } } pub mod sql_pool_maintenance_window_options { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7444,7 +7444,7 @@ pub mod sql_pool_maintenance_window_options { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7465,7 +7465,7 @@ pub mod sql_pool_maintenance_window_options { } } pub mod sql_pool_transparent_data_encryptions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7518,7 +7518,7 @@ pub mod sql_pool_transparent_data_encryptions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7603,7 +7603,7 @@ pub mod sql_pool_transparent_data_encryptions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TransparentDataEncryption), @@ -7672,7 +7672,7 @@ pub mod sql_pool_transparent_data_encryptions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7693,7 +7693,7 @@ pub mod sql_pool_transparent_data_encryptions { } } pub mod sql_pool_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7738,7 +7738,7 @@ pub mod sql_pool_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7812,7 +7812,7 @@ pub mod sql_pool_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPoolBlobAuditingPolicy), @@ -7881,7 +7881,7 @@ pub mod sql_pool_blob_auditing_policies { } } pub mod list_by_sql_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7902,7 +7902,7 @@ pub mod sql_pool_blob_auditing_policies { } } pub mod sql_pool_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7945,7 +7945,7 @@ pub mod sql_pool_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7966,7 +7966,7 @@ pub mod sql_pool_operations { } } pub mod sql_pool_usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8017,7 +8017,7 @@ pub mod sql_pool_usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8041,7 +8041,7 @@ pub mod sql_pool_usages { } } pub mod sql_pool_sensitivity_labels { - use crate::models::*; + use super::{models, models::*}; pub async fn list_current( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8099,7 +8099,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod list_current { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8160,7 +8160,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8239,7 +8239,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod list_recommended { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8297,7 +8297,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8366,7 +8366,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SensitivityLabel), @@ -8425,7 +8425,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8489,7 +8489,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod enable_recommendation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8548,7 +8548,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod disable_recommendation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8569,7 +8569,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod sql_pool_recommended_sensitivity_labels { - use crate::models::*; + use super::{models, models::*}; pub async fn update( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8609,7 +8609,7 @@ pub mod sql_pool_recommended_sensitivity_labels { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8630,7 +8630,7 @@ pub mod sql_pool_recommended_sensitivity_labels { } } pub mod sql_pool_schemas { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8677,7 +8677,7 @@ pub mod sql_pool_schemas { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8740,7 +8740,7 @@ pub mod sql_pool_schemas { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8761,7 +8761,7 @@ pub mod sql_pool_schemas { } } pub mod sql_pool_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_schema( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8813,7 +8813,7 @@ pub mod sql_pool_tables { } } pub mod list_by_schema { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8878,7 +8878,7 @@ pub mod sql_pool_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8899,7 +8899,7 @@ pub mod sql_pool_tables { } } pub mod sql_pool_table_columns { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_table_name( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8953,7 +8953,7 @@ pub mod sql_pool_table_columns { } } pub mod list_by_table_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8974,7 +8974,7 @@ pub mod sql_pool_table_columns { } } pub mod sql_pool_connection_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9027,7 +9027,7 @@ pub mod sql_pool_connection_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9051,7 +9051,7 @@ pub mod sql_pool_connection_policies { } } pub mod sql_pool_vulnerability_assessments { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9094,7 +9094,7 @@ pub mod sql_pool_vulnerability_assessments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9157,7 +9157,7 @@ pub mod sql_pool_vulnerability_assessments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9231,7 +9231,7 @@ pub mod sql_pool_vulnerability_assessments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPoolVulnerabilityAssessment), @@ -9295,7 +9295,7 @@ pub mod sql_pool_vulnerability_assessments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9321,7 +9321,7 @@ pub mod sql_pool_vulnerability_assessments { } } pub mod sql_pool_vulnerability_assessment_scans { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9366,7 +9366,7 @@ pub mod sql_pool_vulnerability_assessment_scans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9422,7 +9422,7 @@ pub mod sql_pool_vulnerability_assessment_scans { } } pub mod initiate_scan { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9490,7 +9490,7 @@ pub mod sql_pool_vulnerability_assessment_scans { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPoolVulnerabilityAssessmentScansExport), @@ -9551,7 +9551,7 @@ pub mod sql_pool_vulnerability_assessment_scans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9572,7 +9572,7 @@ pub mod sql_pool_vulnerability_assessment_scans { } } pub mod sql_pool_security_alert_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9615,7 +9615,7 @@ pub mod sql_pool_security_alert_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9678,7 +9678,7 @@ pub mod sql_pool_security_alert_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9752,7 +9752,7 @@ pub mod sql_pool_security_alert_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPoolSecurityAlertPolicy), @@ -9778,7 +9778,7 @@ pub mod sql_pool_security_alert_policies { } } pub mod sql_pool_vulnerability_assessment_rule_baselines { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9817,7 +9817,7 @@ pub mod sql_pool_vulnerability_assessment_rule_baselines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9879,7 +9879,7 @@ pub mod sql_pool_vulnerability_assessment_rule_baselines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9932,7 +9932,7 @@ pub mod sql_pool_vulnerability_assessment_rule_baselines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9958,7 +9958,7 @@ pub mod sql_pool_vulnerability_assessment_rule_baselines { } } pub mod extended_sql_pool_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10003,7 +10003,7 @@ pub mod extended_sql_pool_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10077,7 +10077,7 @@ pub mod extended_sql_pool_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExtendedSqlPoolBlobAuditingPolicy), @@ -10146,7 +10146,7 @@ pub mod extended_sql_pool_blob_auditing_policies { } } pub mod list_by_sql_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10167,7 +10167,7 @@ pub mod extended_sql_pool_blob_auditing_policies { } } pub mod data_masking_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10220,7 +10220,7 @@ pub mod data_masking_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10299,7 +10299,7 @@ pub mod data_masking_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10323,7 +10323,7 @@ pub mod data_masking_policies { } } pub mod data_masking_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10378,7 +10378,7 @@ pub mod data_masking_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10465,7 +10465,7 @@ pub mod data_masking_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataMaskingRule), @@ -10547,7 +10547,7 @@ pub mod data_masking_rules { } } pub mod list_by_sql_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10571,7 +10571,7 @@ pub mod data_masking_rules { } } pub mod sql_pool_columns { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10620,7 +10620,7 @@ pub mod sql_pool_columns { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10641,7 +10641,7 @@ pub mod sql_pool_columns { } } pub mod sql_pool_workload_group { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10686,7 +10686,7 @@ pub mod sql_pool_workload_group { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10761,7 +10761,7 @@ pub mod sql_pool_workload_group { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadGroup), @@ -10827,7 +10827,7 @@ pub mod sql_pool_workload_group { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10894,7 +10894,7 @@ pub mod sql_pool_workload_group { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10915,7 +10915,7 @@ pub mod sql_pool_workload_group { } } pub mod sql_pool_workload_classifier { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10953,7 +10953,7 @@ pub mod sql_pool_workload_classifier { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11021,7 +11021,7 @@ pub mod sql_pool_workload_classifier { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadClassifier), @@ -11080,7 +11080,7 @@ pub mod sql_pool_workload_classifier { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11141,7 +11141,7 @@ pub mod sql_pool_workload_classifier { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11162,7 +11162,7 @@ pub mod sql_pool_workload_classifier { } } pub mod workspace_managed_sql_server_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11205,7 +11205,7 @@ pub mod workspace_managed_sql_server_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11272,7 +11272,7 @@ pub mod workspace_managed_sql_server_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerBlobAuditingPolicy), @@ -11339,7 +11339,7 @@ pub mod workspace_managed_sql_server_blob_auditing_policies { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11360,7 +11360,7 @@ pub mod workspace_managed_sql_server_blob_auditing_policies { } } pub mod workspace_managed_sql_server_extended_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11403,7 +11403,7 @@ pub mod workspace_managed_sql_server_extended_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11470,7 +11470,7 @@ pub mod workspace_managed_sql_server_extended_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExtendedServerBlobAuditingPolicy), @@ -11537,7 +11537,7 @@ pub mod workspace_managed_sql_server_extended_blob_auditing_policies { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11558,7 +11558,7 @@ pub mod workspace_managed_sql_server_extended_blob_auditing_policies { } } pub mod workspace_managed_sql_server_security_alert_policy { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11601,7 +11601,7 @@ pub mod workspace_managed_sql_server_security_alert_policy { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11668,7 +11668,7 @@ pub mod workspace_managed_sql_server_security_alert_policy { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerSecurityAlertPolicy), @@ -11732,7 +11732,7 @@ pub mod workspace_managed_sql_server_security_alert_policy { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11753,7 +11753,7 @@ pub mod workspace_managed_sql_server_security_alert_policy { } } pub mod workspace_managed_sql_server_vulnerability_assessments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11796,7 +11796,7 @@ pub mod workspace_managed_sql_server_vulnerability_assessments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11868,7 +11868,7 @@ pub mod workspace_managed_sql_server_vulnerability_assessments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerVulnerabilityAssessment), @@ -11930,7 +11930,7 @@ pub mod workspace_managed_sql_server_vulnerability_assessments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11994,7 +11994,7 @@ pub mod workspace_managed_sql_server_vulnerability_assessments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12015,7 +12015,7 @@ pub mod workspace_managed_sql_server_vulnerability_assessments { } } pub mod workspace_managed_sql_server_encryption_protector { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12066,7 +12066,7 @@ pub mod workspace_managed_sql_server_encryption_protector { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12144,7 +12144,7 @@ pub mod workspace_managed_sql_server_encryption_protector { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EncryptionProtector), @@ -12211,7 +12211,7 @@ pub mod workspace_managed_sql_server_encryption_protector { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12272,7 +12272,7 @@ pub mod workspace_managed_sql_server_encryption_protector { } } pub mod revalidate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12298,7 +12298,7 @@ pub mod workspace_managed_sql_server_encryption_protector { } } pub mod workspace_managed_sql_server_usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12339,7 +12339,7 @@ pub mod workspace_managed_sql_server_usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12360,7 +12360,7 @@ pub mod workspace_managed_sql_server_usages { } } pub mod workspace_managed_sql_server_recoverable_sql_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12401,7 +12401,7 @@ pub mod workspace_managed_sql_server_recoverable_sql_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12462,7 +12462,7 @@ pub mod workspace_managed_sql_server_recoverable_sql_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/synapse/src/package_2021_05/operations.rs b/services/mgmt/synapse/src/package_2021_05/operations.rs index b75d7a9c30..9bbf220841 100644 --- a/services/mgmt/synapse/src/package_2021_05/operations.rs +++ b/services/mgmt/synapse/src/package_2021_05/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod big_data_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -55,7 +55,7 @@ pub mod big_data_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -142,7 +142,7 @@ pub mod big_data_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BigDataPoolResourceInfo), @@ -221,7 +221,7 @@ pub mod big_data_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -300,7 +300,7 @@ pub mod big_data_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -379,7 +379,7 @@ pub mod big_data_pools { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -403,7 +403,7 @@ pub mod big_data_pools { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -455,7 +455,7 @@ pub mod workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -525,7 +525,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -606,7 +606,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -689,7 +689,7 @@ pub mod workspaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -771,7 +771,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -843,7 +843,7 @@ pub mod workspaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -867,7 +867,7 @@ pub mod workspaces { } } pub mod workspace_aad_admins { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -916,7 +916,7 @@ pub mod workspace_aad_admins { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -997,7 +997,7 @@ pub mod workspace_aad_admins { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkspaceAadAdminInfo), @@ -1069,7 +1069,7 @@ pub mod workspace_aad_admins { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1099,7 +1099,7 @@ pub mod workspace_aad_admins { } } pub mod workspace_sql_aad_admins { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1148,7 +1148,7 @@ pub mod workspace_sql_aad_admins { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1229,7 +1229,7 @@ pub mod workspace_sql_aad_admins { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkspaceAadAdminInfo), @@ -1301,7 +1301,7 @@ pub mod workspace_sql_aad_admins { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1331,7 +1331,7 @@ pub mod workspace_sql_aad_admins { } } pub mod workspace_managed_identity_sql_control_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1380,7 +1380,7 @@ pub mod workspace_managed_identity_sql_control_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1456,7 +1456,7 @@ pub mod workspace_managed_identity_sql_control_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedIdentitySqlControlSettingsModel), @@ -1485,7 +1485,7 @@ pub mod workspace_managed_identity_sql_control_settings { } } pub mod restorable_dropped_sql_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1536,7 +1536,7 @@ pub mod restorable_dropped_sql_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1609,7 +1609,7 @@ pub mod restorable_dropped_sql_pools { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1633,7 +1633,7 @@ pub mod restorable_dropped_sql_pools { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1685,7 +1685,7 @@ pub mod operations { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1743,7 +1743,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1818,7 +1818,7 @@ pub mod operations { } } pub mod get_location_header_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1903,7 +1903,7 @@ pub mod operations { } } pub mod get_azure_async_header_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1929,7 +1929,7 @@ pub mod operations { } } pub mod ip_firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1981,7 +1981,7 @@ pub mod ip_firewall_rules { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2053,7 +2053,7 @@ pub mod ip_firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2136,7 +2136,7 @@ pub mod ip_firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IpFirewallRuleInfo), @@ -2215,7 +2215,7 @@ pub mod ip_firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -2297,7 +2297,7 @@ pub mod ip_firewall_rules { } } pub mod replace_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplaceAllFirewallRulesOperationResponse), @@ -2326,7 +2326,7 @@ pub mod ip_firewall_rules { } } pub mod integration_runtimes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2382,7 +2382,7 @@ pub mod integration_runtimes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2463,7 +2463,7 @@ pub mod integration_runtimes { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IntegrationRuntimeResource), @@ -2542,7 +2542,7 @@ pub mod integration_runtimes { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2611,7 +2611,7 @@ pub mod integration_runtimes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2688,7 +2688,7 @@ pub mod integration_runtimes { } } pub mod upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2761,7 +2761,7 @@ pub mod integration_runtimes { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2835,7 +2835,7 @@ pub mod integration_runtimes { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IntegrationRuntimeStatusResponse), @@ -2909,7 +2909,7 @@ pub mod integration_runtimes { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2987,7 +2987,7 @@ pub mod integration_runtimes { } } pub mod list_outbound_network_dependencies_endpoints { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3061,7 +3061,7 @@ pub mod integration_runtimes { } } pub mod enable_interactive_query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3133,7 +3133,7 @@ pub mod integration_runtimes { } } pub mod disable_interactive_query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3162,7 +3162,7 @@ pub mod integration_runtimes { } } pub mod integration_runtime_node_ip_address { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3216,7 +3216,7 @@ pub mod integration_runtime_node_ip_address { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3240,7 +3240,7 @@ pub mod integration_runtime_node_ip_address { } } pub mod integration_runtime_object_metadata { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3297,7 +3297,7 @@ pub mod integration_runtime_object_metadata { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3374,7 +3374,7 @@ pub mod integration_runtime_object_metadata { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SsisObjectMetadataStatusResponse), @@ -3403,7 +3403,7 @@ pub mod integration_runtime_object_metadata { } } pub mod integration_runtime_nodes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3456,7 +3456,7 @@ pub mod integration_runtime_nodes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3532,7 +3532,7 @@ pub mod integration_runtime_nodes { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3602,7 +3602,7 @@ pub mod integration_runtime_nodes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3631,7 +3631,7 @@ pub mod integration_runtime_nodes { } } pub mod integration_runtime_credentials { - use crate::models::*; + use super::{models, models::*}; pub async fn sync( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3678,7 +3678,7 @@ pub mod integration_runtime_credentials { } } pub mod sync { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3702,7 +3702,7 @@ pub mod integration_runtime_credentials { } } pub mod integration_runtime_connection_infos { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3754,7 +3754,7 @@ pub mod integration_runtime_connection_infos { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3778,7 +3778,7 @@ pub mod integration_runtime_connection_infos { } } pub mod integration_runtime_auth_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn regenerate( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3834,7 +3834,7 @@ pub mod integration_runtime_auth_keys { } } pub mod regenerate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3907,7 +3907,7 @@ pub mod integration_runtime_auth_keys { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3931,7 +3931,7 @@ pub mod integration_runtime_auth_keys { } } pub mod integration_runtime_monitoring_data { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3983,7 +3983,7 @@ pub mod integration_runtime_monitoring_data { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4007,7 +4007,7 @@ pub mod integration_runtime_monitoring_data { } } pub mod integration_runtime_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4059,7 +4059,7 @@ pub mod integration_runtime_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4083,7 +4083,7 @@ pub mod integration_runtime_status { } } pub mod keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4135,7 +4135,7 @@ pub mod keys { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4207,7 +4207,7 @@ pub mod keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4284,7 +4284,7 @@ pub mod keys { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4357,7 +4357,7 @@ pub mod keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Key), @@ -4386,7 +4386,7 @@ pub mod keys { } } pub mod library { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4437,7 +4437,7 @@ pub mod library { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4461,7 +4461,7 @@ pub mod library { } } pub mod libraries { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4513,7 +4513,7 @@ pub mod libraries { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4537,7 +4537,7 @@ pub mod libraries { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4588,7 +4588,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4668,7 +4668,7 @@ pub mod private_endpoint_connections { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -4747,7 +4747,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4823,7 +4823,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4847,7 +4847,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4896,7 +4896,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4968,7 +4968,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4992,7 +4992,7 @@ pub mod private_link_resources { } } pub mod private_link_hub_private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5041,7 +5041,7 @@ pub mod private_link_hub_private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5113,7 +5113,7 @@ pub mod private_link_hub_private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5137,7 +5137,7 @@ pub mod private_link_hub_private_link_resources { } } pub mod private_link_hubs { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5189,7 +5189,7 @@ pub mod private_link_hubs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5259,7 +5259,7 @@ pub mod private_link_hubs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5340,7 +5340,7 @@ pub mod private_link_hubs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkHub), @@ -5423,7 +5423,7 @@ pub mod private_link_hubs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkHub), @@ -5495,7 +5495,7 @@ pub mod private_link_hubs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5567,7 +5567,7 @@ pub mod private_link_hubs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5591,7 +5591,7 @@ pub mod private_link_hubs { } } pub mod private_endpoint_connections_private_link_hub { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5640,7 +5640,7 @@ pub mod private_endpoint_connections_private_link_hub { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5712,7 +5712,7 @@ pub mod private_endpoint_connections_private_link_hub { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5736,7 +5736,7 @@ pub mod private_endpoint_connections_private_link_hub { } } pub mod sql_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5787,7 +5787,7 @@ pub mod sql_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5863,7 +5863,7 @@ pub mod sql_pools { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPool), @@ -5945,7 +5945,7 @@ pub mod sql_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPool), @@ -6029,7 +6029,7 @@ pub mod sql_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -6108,7 +6108,7 @@ pub mod sql_pools { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6182,7 +6182,7 @@ pub mod sql_pools { } } pub mod pause { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -6261,7 +6261,7 @@ pub mod sql_pools { } } pub mod resume { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -6327,7 +6327,7 @@ pub mod sql_pools { } } pub mod rename { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6348,7 +6348,7 @@ pub mod sql_pools { } } pub mod sql_pool_metadata_sync_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6400,7 +6400,7 @@ pub mod sql_pool_metadata_sync_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -6477,7 +6477,7 @@ pub mod sql_pool_metadata_sync_configs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -6503,7 +6503,7 @@ pub mod sql_pool_metadata_sync_configs { } } pub mod sql_pool_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get_location_header_result( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6567,7 +6567,7 @@ pub mod sql_pool_operation_results { } } pub mod get_location_header_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -6596,7 +6596,7 @@ pub mod sql_pool_operation_results { } } pub mod sql_pool_geo_backup_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6647,7 +6647,7 @@ pub mod sql_pool_geo_backup_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6721,7 +6721,7 @@ pub mod sql_pool_geo_backup_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6806,7 +6806,7 @@ pub mod sql_pool_geo_backup_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GeoBackupPolicy), @@ -6835,7 +6835,7 @@ pub mod sql_pool_geo_backup_policies { } } pub mod sql_pool_data_warehouse_user_activities { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6880,7 +6880,7 @@ pub mod sql_pool_data_warehouse_user_activities { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6901,7 +6901,7 @@ pub mod sql_pool_data_warehouse_user_activities { } } pub mod sql_pool_restore_points { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6952,7 +6952,7 @@ pub mod sql_pool_restore_points { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7025,7 +7025,7 @@ pub mod sql_pool_restore_points { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RestorePoint), @@ -7094,7 +7094,7 @@ pub mod sql_pool_restore_points { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7153,7 +7153,7 @@ pub mod sql_pool_restore_points { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7179,7 +7179,7 @@ pub mod sql_pool_restore_points { } } pub mod sql_pool_replication_links { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7230,7 +7230,7 @@ pub mod sql_pool_replication_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7307,7 +7307,7 @@ pub mod sql_pool_replication_links { } } pub mod get_by_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7331,7 +7331,7 @@ pub mod sql_pool_replication_links { } } pub mod sql_pool_maintenance_windows { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7384,7 +7384,7 @@ pub mod sql_pool_maintenance_windows { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7450,7 +7450,7 @@ pub mod sql_pool_maintenance_windows { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7471,7 +7471,7 @@ pub mod sql_pool_maintenance_windows { } } pub mod sql_pool_maintenance_window_options { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7517,7 +7517,7 @@ pub mod sql_pool_maintenance_window_options { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7538,7 +7538,7 @@ pub mod sql_pool_maintenance_window_options { } } pub mod sql_pool_transparent_data_encryptions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7591,7 +7591,7 @@ pub mod sql_pool_transparent_data_encryptions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7676,7 +7676,7 @@ pub mod sql_pool_transparent_data_encryptions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TransparentDataEncryption), @@ -7745,7 +7745,7 @@ pub mod sql_pool_transparent_data_encryptions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7766,7 +7766,7 @@ pub mod sql_pool_transparent_data_encryptions { } } pub mod sql_pool_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7811,7 +7811,7 @@ pub mod sql_pool_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7885,7 +7885,7 @@ pub mod sql_pool_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPoolBlobAuditingPolicy), @@ -7954,7 +7954,7 @@ pub mod sql_pool_blob_auditing_policies { } } pub mod list_by_sql_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7975,7 +7975,7 @@ pub mod sql_pool_blob_auditing_policies { } } pub mod sql_pool_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8018,7 +8018,7 @@ pub mod sql_pool_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8039,7 +8039,7 @@ pub mod sql_pool_operations { } } pub mod sql_pool_usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8090,7 +8090,7 @@ pub mod sql_pool_usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8114,7 +8114,7 @@ pub mod sql_pool_usages { } } pub mod sql_pool_sensitivity_labels { - use crate::models::*; + use super::{models, models::*}; pub async fn list_current( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8172,7 +8172,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod list_current { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8233,7 +8233,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8312,7 +8312,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod list_recommended { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8370,7 +8370,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8439,7 +8439,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SensitivityLabel), @@ -8498,7 +8498,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8562,7 +8562,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod enable_recommendation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8621,7 +8621,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod disable_recommendation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8642,7 +8642,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod sql_pool_recommended_sensitivity_labels { - use crate::models::*; + use super::{models, models::*}; pub async fn update( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8682,7 +8682,7 @@ pub mod sql_pool_recommended_sensitivity_labels { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8703,7 +8703,7 @@ pub mod sql_pool_recommended_sensitivity_labels { } } pub mod sql_pool_schemas { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8750,7 +8750,7 @@ pub mod sql_pool_schemas { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8813,7 +8813,7 @@ pub mod sql_pool_schemas { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8834,7 +8834,7 @@ pub mod sql_pool_schemas { } } pub mod sql_pool_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_schema( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8886,7 +8886,7 @@ pub mod sql_pool_tables { } } pub mod list_by_schema { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8951,7 +8951,7 @@ pub mod sql_pool_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8972,7 +8972,7 @@ pub mod sql_pool_tables { } } pub mod sql_pool_table_columns { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_table_name( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9026,7 +9026,7 @@ pub mod sql_pool_table_columns { } } pub mod list_by_table_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9047,7 +9047,7 @@ pub mod sql_pool_table_columns { } } pub mod sql_pool_connection_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9100,7 +9100,7 @@ pub mod sql_pool_connection_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9124,7 +9124,7 @@ pub mod sql_pool_connection_policies { } } pub mod sql_pool_vulnerability_assessments { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9167,7 +9167,7 @@ pub mod sql_pool_vulnerability_assessments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9230,7 +9230,7 @@ pub mod sql_pool_vulnerability_assessments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9304,7 +9304,7 @@ pub mod sql_pool_vulnerability_assessments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPoolVulnerabilityAssessment), @@ -9368,7 +9368,7 @@ pub mod sql_pool_vulnerability_assessments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9394,7 +9394,7 @@ pub mod sql_pool_vulnerability_assessments { } } pub mod sql_pool_vulnerability_assessment_scans { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9439,7 +9439,7 @@ pub mod sql_pool_vulnerability_assessment_scans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9495,7 +9495,7 @@ pub mod sql_pool_vulnerability_assessment_scans { } } pub mod initiate_scan { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9563,7 +9563,7 @@ pub mod sql_pool_vulnerability_assessment_scans { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPoolVulnerabilityAssessmentScansExport), @@ -9624,7 +9624,7 @@ pub mod sql_pool_vulnerability_assessment_scans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9645,7 +9645,7 @@ pub mod sql_pool_vulnerability_assessment_scans { } } pub mod sql_pool_security_alert_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9688,7 +9688,7 @@ pub mod sql_pool_security_alert_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9751,7 +9751,7 @@ pub mod sql_pool_security_alert_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9825,7 +9825,7 @@ pub mod sql_pool_security_alert_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPoolSecurityAlertPolicy), @@ -9851,7 +9851,7 @@ pub mod sql_pool_security_alert_policies { } } pub mod sql_pool_vulnerability_assessment_rule_baselines { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9890,7 +9890,7 @@ pub mod sql_pool_vulnerability_assessment_rule_baselines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9952,7 +9952,7 @@ pub mod sql_pool_vulnerability_assessment_rule_baselines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10005,7 +10005,7 @@ pub mod sql_pool_vulnerability_assessment_rule_baselines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10031,7 +10031,7 @@ pub mod sql_pool_vulnerability_assessment_rule_baselines { } } pub mod extended_sql_pool_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10076,7 +10076,7 @@ pub mod extended_sql_pool_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10150,7 +10150,7 @@ pub mod extended_sql_pool_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExtendedSqlPoolBlobAuditingPolicy), @@ -10219,7 +10219,7 @@ pub mod extended_sql_pool_blob_auditing_policies { } } pub mod list_by_sql_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10240,7 +10240,7 @@ pub mod extended_sql_pool_blob_auditing_policies { } } pub mod data_masking_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10293,7 +10293,7 @@ pub mod data_masking_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10372,7 +10372,7 @@ pub mod data_masking_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10396,7 +10396,7 @@ pub mod data_masking_policies { } } pub mod data_masking_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10451,7 +10451,7 @@ pub mod data_masking_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10538,7 +10538,7 @@ pub mod data_masking_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataMaskingRule), @@ -10620,7 +10620,7 @@ pub mod data_masking_rules { } } pub mod list_by_sql_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10644,7 +10644,7 @@ pub mod data_masking_rules { } } pub mod sql_pool_columns { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10693,7 +10693,7 @@ pub mod sql_pool_columns { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10714,7 +10714,7 @@ pub mod sql_pool_columns { } } pub mod sql_pool_workload_group { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10759,7 +10759,7 @@ pub mod sql_pool_workload_group { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10834,7 +10834,7 @@ pub mod sql_pool_workload_group { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadGroup), @@ -10900,7 +10900,7 @@ pub mod sql_pool_workload_group { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10967,7 +10967,7 @@ pub mod sql_pool_workload_group { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10988,7 +10988,7 @@ pub mod sql_pool_workload_group { } } pub mod sql_pool_workload_classifier { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11026,7 +11026,7 @@ pub mod sql_pool_workload_classifier { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11094,7 +11094,7 @@ pub mod sql_pool_workload_classifier { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadClassifier), @@ -11153,7 +11153,7 @@ pub mod sql_pool_workload_classifier { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11214,7 +11214,7 @@ pub mod sql_pool_workload_classifier { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11235,7 +11235,7 @@ pub mod sql_pool_workload_classifier { } } pub mod workspace_managed_sql_server_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11278,7 +11278,7 @@ pub mod workspace_managed_sql_server_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11345,7 +11345,7 @@ pub mod workspace_managed_sql_server_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerBlobAuditingPolicy), @@ -11412,7 +11412,7 @@ pub mod workspace_managed_sql_server_blob_auditing_policies { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11433,7 +11433,7 @@ pub mod workspace_managed_sql_server_blob_auditing_policies { } } pub mod workspace_managed_sql_server_extended_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11476,7 +11476,7 @@ pub mod workspace_managed_sql_server_extended_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11543,7 +11543,7 @@ pub mod workspace_managed_sql_server_extended_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExtendedServerBlobAuditingPolicy), @@ -11610,7 +11610,7 @@ pub mod workspace_managed_sql_server_extended_blob_auditing_policies { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11631,7 +11631,7 @@ pub mod workspace_managed_sql_server_extended_blob_auditing_policies { } } pub mod workspace_managed_sql_server_security_alert_policy { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11674,7 +11674,7 @@ pub mod workspace_managed_sql_server_security_alert_policy { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11741,7 +11741,7 @@ pub mod workspace_managed_sql_server_security_alert_policy { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerSecurityAlertPolicy), @@ -11805,7 +11805,7 @@ pub mod workspace_managed_sql_server_security_alert_policy { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11826,7 +11826,7 @@ pub mod workspace_managed_sql_server_security_alert_policy { } } pub mod workspace_managed_sql_server_vulnerability_assessments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11869,7 +11869,7 @@ pub mod workspace_managed_sql_server_vulnerability_assessments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11941,7 +11941,7 @@ pub mod workspace_managed_sql_server_vulnerability_assessments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerVulnerabilityAssessment), @@ -12003,7 +12003,7 @@ pub mod workspace_managed_sql_server_vulnerability_assessments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12067,7 +12067,7 @@ pub mod workspace_managed_sql_server_vulnerability_assessments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12088,7 +12088,7 @@ pub mod workspace_managed_sql_server_vulnerability_assessments { } } pub mod workspace_managed_sql_server_encryption_protector { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12139,7 +12139,7 @@ pub mod workspace_managed_sql_server_encryption_protector { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12217,7 +12217,7 @@ pub mod workspace_managed_sql_server_encryption_protector { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EncryptionProtector), @@ -12284,7 +12284,7 @@ pub mod workspace_managed_sql_server_encryption_protector { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12345,7 +12345,7 @@ pub mod workspace_managed_sql_server_encryption_protector { } } pub mod revalidate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12371,7 +12371,7 @@ pub mod workspace_managed_sql_server_encryption_protector { } } pub mod workspace_managed_sql_server_usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12412,7 +12412,7 @@ pub mod workspace_managed_sql_server_usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12433,7 +12433,7 @@ pub mod workspace_managed_sql_server_usages { } } pub mod workspace_managed_sql_server_recoverable_sql_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12474,7 +12474,7 @@ pub mod workspace_managed_sql_server_recoverable_sql_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12535,7 +12535,7 @@ pub mod workspace_managed_sql_server_recoverable_sql_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/synapse/src/package_2021_06/operations.rs b/services/mgmt/synapse/src/package_2021_06/operations.rs index da364c73ca..9b04e32383 100644 --- a/services/mgmt/synapse/src/package_2021_06/operations.rs +++ b/services/mgmt/synapse/src/package_2021_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod big_data_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -55,7 +55,7 @@ pub mod big_data_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -142,7 +142,7 @@ pub mod big_data_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BigDataPoolResourceInfo), @@ -221,7 +221,7 @@ pub mod big_data_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -300,7 +300,7 @@ pub mod big_data_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -379,7 +379,7 @@ pub mod big_data_pools { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -403,7 +403,7 @@ pub mod big_data_pools { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -455,7 +455,7 @@ pub mod workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -525,7 +525,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -606,7 +606,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -689,7 +689,7 @@ pub mod workspaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -771,7 +771,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -843,7 +843,7 @@ pub mod workspaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -867,7 +867,7 @@ pub mod workspaces { } } pub mod workspace_aad_admins { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -916,7 +916,7 @@ pub mod workspace_aad_admins { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -997,7 +997,7 @@ pub mod workspace_aad_admins { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkspaceAadAdminInfo), @@ -1069,7 +1069,7 @@ pub mod workspace_aad_admins { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1099,7 +1099,7 @@ pub mod workspace_aad_admins { } } pub mod workspace_sql_aad_admins { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1148,7 +1148,7 @@ pub mod workspace_sql_aad_admins { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1229,7 +1229,7 @@ pub mod workspace_sql_aad_admins { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkspaceAadAdminInfo), @@ -1301,7 +1301,7 @@ pub mod workspace_sql_aad_admins { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1331,7 +1331,7 @@ pub mod workspace_sql_aad_admins { } } pub mod workspace_managed_identity_sql_control_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1380,7 +1380,7 @@ pub mod workspace_managed_identity_sql_control_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1456,7 +1456,7 @@ pub mod workspace_managed_identity_sql_control_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedIdentitySqlControlSettingsModel), @@ -1485,7 +1485,7 @@ pub mod workspace_managed_identity_sql_control_settings { } } pub mod restorable_dropped_sql_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1536,7 +1536,7 @@ pub mod restorable_dropped_sql_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1609,7 +1609,7 @@ pub mod restorable_dropped_sql_pools { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1633,7 +1633,7 @@ pub mod restorable_dropped_sql_pools { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1685,7 +1685,7 @@ pub mod operations { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1743,7 +1743,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1818,7 +1818,7 @@ pub mod operations { } } pub mod get_location_header_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1903,7 +1903,7 @@ pub mod operations { } } pub mod get_azure_async_header_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1929,7 +1929,7 @@ pub mod operations { } } pub mod ip_firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1981,7 +1981,7 @@ pub mod ip_firewall_rules { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2053,7 +2053,7 @@ pub mod ip_firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2136,7 +2136,7 @@ pub mod ip_firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IpFirewallRuleInfo), @@ -2215,7 +2215,7 @@ pub mod ip_firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -2297,7 +2297,7 @@ pub mod ip_firewall_rules { } } pub mod replace_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplaceAllFirewallRulesOperationResponse), @@ -2326,7 +2326,7 @@ pub mod ip_firewall_rules { } } pub mod integration_runtimes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2382,7 +2382,7 @@ pub mod integration_runtimes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2463,7 +2463,7 @@ pub mod integration_runtimes { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IntegrationRuntimeResource), @@ -2542,7 +2542,7 @@ pub mod integration_runtimes { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2611,7 +2611,7 @@ pub mod integration_runtimes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2688,7 +2688,7 @@ pub mod integration_runtimes { } } pub mod upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2761,7 +2761,7 @@ pub mod integration_runtimes { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2835,7 +2835,7 @@ pub mod integration_runtimes { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IntegrationRuntimeStatusResponse), @@ -2909,7 +2909,7 @@ pub mod integration_runtimes { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2987,7 +2987,7 @@ pub mod integration_runtimes { } } pub mod list_outbound_network_dependencies_endpoints { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3061,7 +3061,7 @@ pub mod integration_runtimes { } } pub mod enable_interactive_query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3133,7 +3133,7 @@ pub mod integration_runtimes { } } pub mod disable_interactive_query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3162,7 +3162,7 @@ pub mod integration_runtimes { } } pub mod integration_runtime_node_ip_address { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3216,7 +3216,7 @@ pub mod integration_runtime_node_ip_address { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3240,7 +3240,7 @@ pub mod integration_runtime_node_ip_address { } } pub mod integration_runtime_object_metadata { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3297,7 +3297,7 @@ pub mod integration_runtime_object_metadata { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3374,7 +3374,7 @@ pub mod integration_runtime_object_metadata { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SsisObjectMetadataStatusResponse), @@ -3403,7 +3403,7 @@ pub mod integration_runtime_object_metadata { } } pub mod integration_runtime_nodes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3456,7 +3456,7 @@ pub mod integration_runtime_nodes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3532,7 +3532,7 @@ pub mod integration_runtime_nodes { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3602,7 +3602,7 @@ pub mod integration_runtime_nodes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3631,7 +3631,7 @@ pub mod integration_runtime_nodes { } } pub mod integration_runtime_credentials { - use crate::models::*; + use super::{models, models::*}; pub async fn sync( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3678,7 +3678,7 @@ pub mod integration_runtime_credentials { } } pub mod sync { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3702,7 +3702,7 @@ pub mod integration_runtime_credentials { } } pub mod integration_runtime_connection_infos { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3754,7 +3754,7 @@ pub mod integration_runtime_connection_infos { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3778,7 +3778,7 @@ pub mod integration_runtime_connection_infos { } } pub mod integration_runtime_auth_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn regenerate( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3834,7 +3834,7 @@ pub mod integration_runtime_auth_keys { } } pub mod regenerate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3907,7 +3907,7 @@ pub mod integration_runtime_auth_keys { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3931,7 +3931,7 @@ pub mod integration_runtime_auth_keys { } } pub mod integration_runtime_monitoring_data { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3983,7 +3983,7 @@ pub mod integration_runtime_monitoring_data { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4007,7 +4007,7 @@ pub mod integration_runtime_monitoring_data { } } pub mod integration_runtime_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4059,7 +4059,7 @@ pub mod integration_runtime_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4083,7 +4083,7 @@ pub mod integration_runtime_status { } } pub mod keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4135,7 +4135,7 @@ pub mod keys { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4207,7 +4207,7 @@ pub mod keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4284,7 +4284,7 @@ pub mod keys { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4357,7 +4357,7 @@ pub mod keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Key), @@ -4386,7 +4386,7 @@ pub mod keys { } } pub mod library { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4437,7 +4437,7 @@ pub mod library { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4461,7 +4461,7 @@ pub mod library { } } pub mod libraries { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4513,7 +4513,7 @@ pub mod libraries { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4537,7 +4537,7 @@ pub mod libraries { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4588,7 +4588,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4668,7 +4668,7 @@ pub mod private_endpoint_connections { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -4747,7 +4747,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4823,7 +4823,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4847,7 +4847,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4896,7 +4896,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4968,7 +4968,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4992,7 +4992,7 @@ pub mod private_link_resources { } } pub mod private_link_hub_private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5041,7 +5041,7 @@ pub mod private_link_hub_private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5113,7 +5113,7 @@ pub mod private_link_hub_private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5137,7 +5137,7 @@ pub mod private_link_hub_private_link_resources { } } pub mod private_link_hubs { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5189,7 +5189,7 @@ pub mod private_link_hubs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5259,7 +5259,7 @@ pub mod private_link_hubs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5340,7 +5340,7 @@ pub mod private_link_hubs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkHub), @@ -5423,7 +5423,7 @@ pub mod private_link_hubs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkHub), @@ -5495,7 +5495,7 @@ pub mod private_link_hubs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5567,7 +5567,7 @@ pub mod private_link_hubs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5591,7 +5591,7 @@ pub mod private_link_hubs { } } pub mod private_endpoint_connections_private_link_hub { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5640,7 +5640,7 @@ pub mod private_endpoint_connections_private_link_hub { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5712,7 +5712,7 @@ pub mod private_endpoint_connections_private_link_hub { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5736,7 +5736,7 @@ pub mod private_endpoint_connections_private_link_hub { } } pub mod sql_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5787,7 +5787,7 @@ pub mod sql_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5863,7 +5863,7 @@ pub mod sql_pools { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPool), @@ -5945,7 +5945,7 @@ pub mod sql_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPool), @@ -6029,7 +6029,7 @@ pub mod sql_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -6108,7 +6108,7 @@ pub mod sql_pools { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6182,7 +6182,7 @@ pub mod sql_pools { } } pub mod pause { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -6261,7 +6261,7 @@ pub mod sql_pools { } } pub mod resume { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -6327,7 +6327,7 @@ pub mod sql_pools { } } pub mod rename { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6348,7 +6348,7 @@ pub mod sql_pools { } } pub mod sql_pool_metadata_sync_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6400,7 +6400,7 @@ pub mod sql_pool_metadata_sync_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -6477,7 +6477,7 @@ pub mod sql_pool_metadata_sync_configs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -6503,7 +6503,7 @@ pub mod sql_pool_metadata_sync_configs { } } pub mod sql_pool_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get_location_header_result( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6567,7 +6567,7 @@ pub mod sql_pool_operation_results { } } pub mod get_location_header_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -6596,7 +6596,7 @@ pub mod sql_pool_operation_results { } } pub mod sql_pool_geo_backup_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6647,7 +6647,7 @@ pub mod sql_pool_geo_backup_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6721,7 +6721,7 @@ pub mod sql_pool_geo_backup_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6806,7 +6806,7 @@ pub mod sql_pool_geo_backup_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GeoBackupPolicy), @@ -6835,7 +6835,7 @@ pub mod sql_pool_geo_backup_policies { } } pub mod sql_pool_data_warehouse_user_activities { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6880,7 +6880,7 @@ pub mod sql_pool_data_warehouse_user_activities { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6901,7 +6901,7 @@ pub mod sql_pool_data_warehouse_user_activities { } } pub mod sql_pool_restore_points { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6952,7 +6952,7 @@ pub mod sql_pool_restore_points { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7025,7 +7025,7 @@ pub mod sql_pool_restore_points { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RestorePoint), @@ -7094,7 +7094,7 @@ pub mod sql_pool_restore_points { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7153,7 +7153,7 @@ pub mod sql_pool_restore_points { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7179,7 +7179,7 @@ pub mod sql_pool_restore_points { } } pub mod sql_pool_replication_links { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7230,7 +7230,7 @@ pub mod sql_pool_replication_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7307,7 +7307,7 @@ pub mod sql_pool_replication_links { } } pub mod get_by_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7331,7 +7331,7 @@ pub mod sql_pool_replication_links { } } pub mod sql_pool_maintenance_windows { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7384,7 +7384,7 @@ pub mod sql_pool_maintenance_windows { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7450,7 +7450,7 @@ pub mod sql_pool_maintenance_windows { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7471,7 +7471,7 @@ pub mod sql_pool_maintenance_windows { } } pub mod sql_pool_maintenance_window_options { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7517,7 +7517,7 @@ pub mod sql_pool_maintenance_window_options { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7538,7 +7538,7 @@ pub mod sql_pool_maintenance_window_options { } } pub mod sql_pool_transparent_data_encryptions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7591,7 +7591,7 @@ pub mod sql_pool_transparent_data_encryptions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7676,7 +7676,7 @@ pub mod sql_pool_transparent_data_encryptions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TransparentDataEncryption), @@ -7745,7 +7745,7 @@ pub mod sql_pool_transparent_data_encryptions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7766,7 +7766,7 @@ pub mod sql_pool_transparent_data_encryptions { } } pub mod sql_pool_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7811,7 +7811,7 @@ pub mod sql_pool_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7885,7 +7885,7 @@ pub mod sql_pool_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPoolBlobAuditingPolicy), @@ -7954,7 +7954,7 @@ pub mod sql_pool_blob_auditing_policies { } } pub mod list_by_sql_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7975,7 +7975,7 @@ pub mod sql_pool_blob_auditing_policies { } } pub mod sql_pool_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8018,7 +8018,7 @@ pub mod sql_pool_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8039,7 +8039,7 @@ pub mod sql_pool_operations { } } pub mod sql_pool_usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8090,7 +8090,7 @@ pub mod sql_pool_usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8114,7 +8114,7 @@ pub mod sql_pool_usages { } } pub mod sql_pool_sensitivity_labels { - use crate::models::*; + use super::{models, models::*}; pub async fn list_current( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8172,7 +8172,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod list_current { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8233,7 +8233,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8312,7 +8312,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod list_recommended { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8370,7 +8370,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8439,7 +8439,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SensitivityLabel), @@ -8498,7 +8498,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8562,7 +8562,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod enable_recommendation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8621,7 +8621,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod disable_recommendation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8642,7 +8642,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod sql_pool_recommended_sensitivity_labels { - use crate::models::*; + use super::{models, models::*}; pub async fn update( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8682,7 +8682,7 @@ pub mod sql_pool_recommended_sensitivity_labels { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8703,7 +8703,7 @@ pub mod sql_pool_recommended_sensitivity_labels { } } pub mod sql_pool_schemas { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8750,7 +8750,7 @@ pub mod sql_pool_schemas { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8813,7 +8813,7 @@ pub mod sql_pool_schemas { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8834,7 +8834,7 @@ pub mod sql_pool_schemas { } } pub mod sql_pool_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_schema( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8886,7 +8886,7 @@ pub mod sql_pool_tables { } } pub mod list_by_schema { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8951,7 +8951,7 @@ pub mod sql_pool_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8972,7 +8972,7 @@ pub mod sql_pool_tables { } } pub mod sql_pool_table_columns { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_table_name( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9026,7 +9026,7 @@ pub mod sql_pool_table_columns { } } pub mod list_by_table_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9047,7 +9047,7 @@ pub mod sql_pool_table_columns { } } pub mod sql_pool_connection_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9100,7 +9100,7 @@ pub mod sql_pool_connection_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9124,7 +9124,7 @@ pub mod sql_pool_connection_policies { } } pub mod sql_pool_vulnerability_assessments { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9167,7 +9167,7 @@ pub mod sql_pool_vulnerability_assessments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9230,7 +9230,7 @@ pub mod sql_pool_vulnerability_assessments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9304,7 +9304,7 @@ pub mod sql_pool_vulnerability_assessments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPoolVulnerabilityAssessment), @@ -9368,7 +9368,7 @@ pub mod sql_pool_vulnerability_assessments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9394,7 +9394,7 @@ pub mod sql_pool_vulnerability_assessments { } } pub mod sql_pool_vulnerability_assessment_scans { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9439,7 +9439,7 @@ pub mod sql_pool_vulnerability_assessment_scans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9495,7 +9495,7 @@ pub mod sql_pool_vulnerability_assessment_scans { } } pub mod initiate_scan { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9563,7 +9563,7 @@ pub mod sql_pool_vulnerability_assessment_scans { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPoolVulnerabilityAssessmentScansExport), @@ -9624,7 +9624,7 @@ pub mod sql_pool_vulnerability_assessment_scans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9645,7 +9645,7 @@ pub mod sql_pool_vulnerability_assessment_scans { } } pub mod sql_pool_security_alert_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9688,7 +9688,7 @@ pub mod sql_pool_security_alert_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9751,7 +9751,7 @@ pub mod sql_pool_security_alert_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9825,7 +9825,7 @@ pub mod sql_pool_security_alert_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPoolSecurityAlertPolicy), @@ -9851,7 +9851,7 @@ pub mod sql_pool_security_alert_policies { } } pub mod sql_pool_vulnerability_assessment_rule_baselines { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9890,7 +9890,7 @@ pub mod sql_pool_vulnerability_assessment_rule_baselines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9952,7 +9952,7 @@ pub mod sql_pool_vulnerability_assessment_rule_baselines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10005,7 +10005,7 @@ pub mod sql_pool_vulnerability_assessment_rule_baselines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10031,7 +10031,7 @@ pub mod sql_pool_vulnerability_assessment_rule_baselines { } } pub mod extended_sql_pool_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10076,7 +10076,7 @@ pub mod extended_sql_pool_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10150,7 +10150,7 @@ pub mod extended_sql_pool_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExtendedSqlPoolBlobAuditingPolicy), @@ -10219,7 +10219,7 @@ pub mod extended_sql_pool_blob_auditing_policies { } } pub mod list_by_sql_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10240,7 +10240,7 @@ pub mod extended_sql_pool_blob_auditing_policies { } } pub mod data_masking_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10293,7 +10293,7 @@ pub mod data_masking_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10372,7 +10372,7 @@ pub mod data_masking_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10396,7 +10396,7 @@ pub mod data_masking_policies { } } pub mod data_masking_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10451,7 +10451,7 @@ pub mod data_masking_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10538,7 +10538,7 @@ pub mod data_masking_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataMaskingRule), @@ -10620,7 +10620,7 @@ pub mod data_masking_rules { } } pub mod list_by_sql_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10644,7 +10644,7 @@ pub mod data_masking_rules { } } pub mod sql_pool_columns { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10693,7 +10693,7 @@ pub mod sql_pool_columns { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10714,7 +10714,7 @@ pub mod sql_pool_columns { } } pub mod sql_pool_workload_group { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10759,7 +10759,7 @@ pub mod sql_pool_workload_group { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10834,7 +10834,7 @@ pub mod sql_pool_workload_group { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadGroup), @@ -10900,7 +10900,7 @@ pub mod sql_pool_workload_group { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10967,7 +10967,7 @@ pub mod sql_pool_workload_group { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10988,7 +10988,7 @@ pub mod sql_pool_workload_group { } } pub mod sql_pool_workload_classifier { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11026,7 +11026,7 @@ pub mod sql_pool_workload_classifier { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11094,7 +11094,7 @@ pub mod sql_pool_workload_classifier { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadClassifier), @@ -11153,7 +11153,7 @@ pub mod sql_pool_workload_classifier { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11214,7 +11214,7 @@ pub mod sql_pool_workload_classifier { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11235,7 +11235,7 @@ pub mod sql_pool_workload_classifier { } } pub mod workspace_managed_sql_server_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11278,7 +11278,7 @@ pub mod workspace_managed_sql_server_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11345,7 +11345,7 @@ pub mod workspace_managed_sql_server_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerBlobAuditingPolicy), @@ -11412,7 +11412,7 @@ pub mod workspace_managed_sql_server_blob_auditing_policies { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11433,7 +11433,7 @@ pub mod workspace_managed_sql_server_blob_auditing_policies { } } pub mod workspace_managed_sql_server_extended_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11476,7 +11476,7 @@ pub mod workspace_managed_sql_server_extended_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11543,7 +11543,7 @@ pub mod workspace_managed_sql_server_extended_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExtendedServerBlobAuditingPolicy), @@ -11610,7 +11610,7 @@ pub mod workspace_managed_sql_server_extended_blob_auditing_policies { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11631,7 +11631,7 @@ pub mod workspace_managed_sql_server_extended_blob_auditing_policies { } } pub mod workspace_managed_sql_server_security_alert_policy { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11674,7 +11674,7 @@ pub mod workspace_managed_sql_server_security_alert_policy { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11741,7 +11741,7 @@ pub mod workspace_managed_sql_server_security_alert_policy { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerSecurityAlertPolicy), @@ -11805,7 +11805,7 @@ pub mod workspace_managed_sql_server_security_alert_policy { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11826,7 +11826,7 @@ pub mod workspace_managed_sql_server_security_alert_policy { } } pub mod workspace_managed_sql_server_vulnerability_assessments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11869,7 +11869,7 @@ pub mod workspace_managed_sql_server_vulnerability_assessments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11941,7 +11941,7 @@ pub mod workspace_managed_sql_server_vulnerability_assessments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerVulnerabilityAssessment), @@ -12003,7 +12003,7 @@ pub mod workspace_managed_sql_server_vulnerability_assessments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12067,7 +12067,7 @@ pub mod workspace_managed_sql_server_vulnerability_assessments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12088,7 +12088,7 @@ pub mod workspace_managed_sql_server_vulnerability_assessments { } } pub mod workspace_managed_sql_server_encryption_protector { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12139,7 +12139,7 @@ pub mod workspace_managed_sql_server_encryption_protector { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12217,7 +12217,7 @@ pub mod workspace_managed_sql_server_encryption_protector { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EncryptionProtector), @@ -12284,7 +12284,7 @@ pub mod workspace_managed_sql_server_encryption_protector { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12345,7 +12345,7 @@ pub mod workspace_managed_sql_server_encryption_protector { } } pub mod revalidate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12371,7 +12371,7 @@ pub mod workspace_managed_sql_server_encryption_protector { } } pub mod workspace_managed_sql_server_usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12412,7 +12412,7 @@ pub mod workspace_managed_sql_server_usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12433,7 +12433,7 @@ pub mod workspace_managed_sql_server_usages { } } pub mod workspace_managed_sql_server_recoverable_sql_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12474,7 +12474,7 @@ pub mod workspace_managed_sql_server_recoverable_sql_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12535,7 +12535,7 @@ pub mod workspace_managed_sql_server_recoverable_sql_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12556,7 +12556,7 @@ pub mod workspace_managed_sql_server_recoverable_sql_pools { } } pub mod azure_ad_only_authentications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12607,7 +12607,7 @@ pub mod azure_ad_only_authentications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12688,7 +12688,7 @@ pub mod azure_ad_only_authentications { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AzureAdOnlyAuthentication), @@ -12764,7 +12764,7 @@ pub mod azure_ad_only_authentications { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/synapse/src/package_composite_v1/operations.rs b/services/mgmt/synapse/src/package_composite_v1/operations.rs index 270c5dc3a4..41c23acd15 100644 --- a/services/mgmt/synapse/src/package_composite_v1/operations.rs +++ b/services/mgmt/synapse/src/package_composite_v1/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod azure_ad_only_authentications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -55,7 +55,7 @@ pub mod azure_ad_only_authentications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -136,7 +136,7 @@ pub mod azure_ad_only_authentications { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AzureAdOnlyAuthentication), @@ -212,7 +212,7 @@ pub mod azure_ad_only_authentications { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -236,7 +236,7 @@ pub mod azure_ad_only_authentications { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -288,7 +288,7 @@ pub mod operations { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -346,7 +346,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -421,7 +421,7 @@ pub mod operations { } } pub mod get_location_header_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -506,7 +506,7 @@ pub mod operations { } } pub mod get_azure_async_header_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -532,7 +532,7 @@ pub mod operations { } } pub mod ip_firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -584,7 +584,7 @@ pub mod ip_firewall_rules { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -656,7 +656,7 @@ pub mod ip_firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -739,7 +739,7 @@ pub mod ip_firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IpFirewallRuleInfo), @@ -818,7 +818,7 @@ pub mod ip_firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -900,7 +900,7 @@ pub mod ip_firewall_rules { } } pub mod replace_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplaceAllFirewallRulesOperationResponse), @@ -929,7 +929,7 @@ pub mod ip_firewall_rules { } } pub mod keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -981,7 +981,7 @@ pub mod keys { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1053,7 +1053,7 @@ pub mod keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1130,7 +1130,7 @@ pub mod keys { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1203,7 +1203,7 @@ pub mod keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Key), @@ -1232,7 +1232,7 @@ pub mod keys { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1284,7 +1284,7 @@ pub mod workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1354,7 +1354,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1435,7 +1435,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -1518,7 +1518,7 @@ pub mod workspaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -1600,7 +1600,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -1672,7 +1672,7 @@ pub mod workspaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1696,7 +1696,7 @@ pub mod workspaces { } } pub mod workspace_aad_admins { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1745,7 +1745,7 @@ pub mod workspace_aad_admins { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1826,7 +1826,7 @@ pub mod workspace_aad_admins { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkspaceAadAdminInfo), @@ -1898,7 +1898,7 @@ pub mod workspace_aad_admins { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1928,7 +1928,7 @@ pub mod workspace_aad_admins { } } pub mod workspace_sql_aad_admins { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1977,7 +1977,7 @@ pub mod workspace_sql_aad_admins { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2058,7 +2058,7 @@ pub mod workspace_sql_aad_admins { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkspaceAadAdminInfo), @@ -2130,7 +2130,7 @@ pub mod workspace_sql_aad_admins { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2160,7 +2160,7 @@ pub mod workspace_sql_aad_admins { } } pub mod workspace_managed_identity_sql_control_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2209,7 +2209,7 @@ pub mod workspace_managed_identity_sql_control_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2285,7 +2285,7 @@ pub mod workspace_managed_identity_sql_control_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedIdentitySqlControlSettingsModel), @@ -2314,7 +2314,7 @@ pub mod workspace_managed_identity_sql_control_settings { } } pub mod restorable_dropped_sql_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2365,7 +2365,7 @@ pub mod restorable_dropped_sql_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2438,7 +2438,7 @@ pub mod restorable_dropped_sql_pools { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2462,7 +2462,7 @@ pub mod restorable_dropped_sql_pools { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2513,7 +2513,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2593,7 +2593,7 @@ pub mod private_endpoint_connections { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -2672,7 +2672,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2748,7 +2748,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2772,7 +2772,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2821,7 +2821,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2893,7 +2893,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2917,7 +2917,7 @@ pub mod private_link_resources { } } pub mod private_link_hub_private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2966,7 +2966,7 @@ pub mod private_link_hub_private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3038,7 +3038,7 @@ pub mod private_link_hub_private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3062,7 +3062,7 @@ pub mod private_link_hub_private_link_resources { } } pub mod private_link_hubs { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3114,7 +3114,7 @@ pub mod private_link_hubs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3184,7 +3184,7 @@ pub mod private_link_hubs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3265,7 +3265,7 @@ pub mod private_link_hubs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkHub), @@ -3348,7 +3348,7 @@ pub mod private_link_hubs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkHub), @@ -3420,7 +3420,7 @@ pub mod private_link_hubs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3492,7 +3492,7 @@ pub mod private_link_hubs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3516,7 +3516,7 @@ pub mod private_link_hubs { } } pub mod private_endpoint_connections_private_link_hub { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3565,7 +3565,7 @@ pub mod private_endpoint_connections_private_link_hub { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3637,7 +3637,7 @@ pub mod private_endpoint_connections_private_link_hub { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3661,7 +3661,7 @@ pub mod private_endpoint_connections_private_link_hub { } } pub mod sql_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3712,7 +3712,7 @@ pub mod sql_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3788,7 +3788,7 @@ pub mod sql_pools { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPool), @@ -3870,7 +3870,7 @@ pub mod sql_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPool), @@ -3954,7 +3954,7 @@ pub mod sql_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -4033,7 +4033,7 @@ pub mod sql_pools { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4107,7 +4107,7 @@ pub mod sql_pools { } } pub mod pause { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -4186,7 +4186,7 @@ pub mod sql_pools { } } pub mod resume { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -4252,7 +4252,7 @@ pub mod sql_pools { } } pub mod rename { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4273,7 +4273,7 @@ pub mod sql_pools { } } pub mod sql_pool_metadata_sync_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4325,7 +4325,7 @@ pub mod sql_pool_metadata_sync_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -4402,7 +4402,7 @@ pub mod sql_pool_metadata_sync_configs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -4428,7 +4428,7 @@ pub mod sql_pool_metadata_sync_configs { } } pub mod sql_pool_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get_location_header_result( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4492,7 +4492,7 @@ pub mod sql_pool_operation_results { } } pub mod get_location_header_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -4521,7 +4521,7 @@ pub mod sql_pool_operation_results { } } pub mod sql_pool_geo_backup_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4572,7 +4572,7 @@ pub mod sql_pool_geo_backup_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4646,7 +4646,7 @@ pub mod sql_pool_geo_backup_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4731,7 +4731,7 @@ pub mod sql_pool_geo_backup_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GeoBackupPolicy), @@ -4760,7 +4760,7 @@ pub mod sql_pool_geo_backup_policies { } } pub mod sql_pool_data_warehouse_user_activities { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4805,7 +4805,7 @@ pub mod sql_pool_data_warehouse_user_activities { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4826,7 +4826,7 @@ pub mod sql_pool_data_warehouse_user_activities { } } pub mod sql_pool_restore_points { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4877,7 +4877,7 @@ pub mod sql_pool_restore_points { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4950,7 +4950,7 @@ pub mod sql_pool_restore_points { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RestorePoint), @@ -5019,7 +5019,7 @@ pub mod sql_pool_restore_points { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5078,7 +5078,7 @@ pub mod sql_pool_restore_points { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5104,7 +5104,7 @@ pub mod sql_pool_restore_points { } } pub mod sql_pool_replication_links { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5155,7 +5155,7 @@ pub mod sql_pool_replication_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5232,7 +5232,7 @@ pub mod sql_pool_replication_links { } } pub mod get_by_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5256,7 +5256,7 @@ pub mod sql_pool_replication_links { } } pub mod sql_pool_maintenance_windows { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5309,7 +5309,7 @@ pub mod sql_pool_maintenance_windows { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5375,7 +5375,7 @@ pub mod sql_pool_maintenance_windows { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5396,7 +5396,7 @@ pub mod sql_pool_maintenance_windows { } } pub mod sql_pool_maintenance_window_options { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5442,7 +5442,7 @@ pub mod sql_pool_maintenance_window_options { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5463,7 +5463,7 @@ pub mod sql_pool_maintenance_window_options { } } pub mod sql_pool_transparent_data_encryptions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5516,7 +5516,7 @@ pub mod sql_pool_transparent_data_encryptions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5601,7 +5601,7 @@ pub mod sql_pool_transparent_data_encryptions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TransparentDataEncryption), @@ -5670,7 +5670,7 @@ pub mod sql_pool_transparent_data_encryptions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5691,7 +5691,7 @@ pub mod sql_pool_transparent_data_encryptions { } } pub mod sql_pool_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5736,7 +5736,7 @@ pub mod sql_pool_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5810,7 +5810,7 @@ pub mod sql_pool_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPoolBlobAuditingPolicy), @@ -5879,7 +5879,7 @@ pub mod sql_pool_blob_auditing_policies { } } pub mod list_by_sql_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5900,7 +5900,7 @@ pub mod sql_pool_blob_auditing_policies { } } pub mod sql_pool_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5943,7 +5943,7 @@ pub mod sql_pool_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5964,7 +5964,7 @@ pub mod sql_pool_operations { } } pub mod sql_pool_usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6015,7 +6015,7 @@ pub mod sql_pool_usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6039,7 +6039,7 @@ pub mod sql_pool_usages { } } pub mod sql_pool_sensitivity_labels { - use crate::models::*; + use super::{models, models::*}; pub async fn list_current( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6097,7 +6097,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod list_current { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6158,7 +6158,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6237,7 +6237,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod list_recommended { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6295,7 +6295,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6364,7 +6364,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SensitivityLabel), @@ -6423,7 +6423,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6487,7 +6487,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod enable_recommendation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6546,7 +6546,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod disable_recommendation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6567,7 +6567,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod sql_pool_recommended_sensitivity_labels { - use crate::models::*; + use super::{models, models::*}; pub async fn update( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6607,7 +6607,7 @@ pub mod sql_pool_recommended_sensitivity_labels { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6628,7 +6628,7 @@ pub mod sql_pool_recommended_sensitivity_labels { } } pub mod sql_pool_schemas { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6675,7 +6675,7 @@ pub mod sql_pool_schemas { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6738,7 +6738,7 @@ pub mod sql_pool_schemas { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6759,7 +6759,7 @@ pub mod sql_pool_schemas { } } pub mod sql_pool_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_schema( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6811,7 +6811,7 @@ pub mod sql_pool_tables { } } pub mod list_by_schema { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6876,7 +6876,7 @@ pub mod sql_pool_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6897,7 +6897,7 @@ pub mod sql_pool_tables { } } pub mod sql_pool_table_columns { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_table_name( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6951,7 +6951,7 @@ pub mod sql_pool_table_columns { } } pub mod list_by_table_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6972,7 +6972,7 @@ pub mod sql_pool_table_columns { } } pub mod sql_pool_connection_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7025,7 +7025,7 @@ pub mod sql_pool_connection_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7049,7 +7049,7 @@ pub mod sql_pool_connection_policies { } } pub mod sql_pool_vulnerability_assessments { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7092,7 +7092,7 @@ pub mod sql_pool_vulnerability_assessments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7155,7 +7155,7 @@ pub mod sql_pool_vulnerability_assessments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7229,7 +7229,7 @@ pub mod sql_pool_vulnerability_assessments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPoolVulnerabilityAssessment), @@ -7293,7 +7293,7 @@ pub mod sql_pool_vulnerability_assessments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7319,7 +7319,7 @@ pub mod sql_pool_vulnerability_assessments { } } pub mod sql_pool_vulnerability_assessment_scans { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7364,7 +7364,7 @@ pub mod sql_pool_vulnerability_assessment_scans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7420,7 +7420,7 @@ pub mod sql_pool_vulnerability_assessment_scans { } } pub mod initiate_scan { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7488,7 +7488,7 @@ pub mod sql_pool_vulnerability_assessment_scans { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPoolVulnerabilityAssessmentScansExport), @@ -7549,7 +7549,7 @@ pub mod sql_pool_vulnerability_assessment_scans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7570,7 +7570,7 @@ pub mod sql_pool_vulnerability_assessment_scans { } } pub mod sql_pool_security_alert_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7613,7 +7613,7 @@ pub mod sql_pool_security_alert_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7676,7 +7676,7 @@ pub mod sql_pool_security_alert_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7750,7 +7750,7 @@ pub mod sql_pool_security_alert_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPoolSecurityAlertPolicy), @@ -7776,7 +7776,7 @@ pub mod sql_pool_security_alert_policies { } } pub mod sql_pool_vulnerability_assessment_rule_baselines { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7815,7 +7815,7 @@ pub mod sql_pool_vulnerability_assessment_rule_baselines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7877,7 +7877,7 @@ pub mod sql_pool_vulnerability_assessment_rule_baselines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7930,7 +7930,7 @@ pub mod sql_pool_vulnerability_assessment_rule_baselines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7956,7 +7956,7 @@ pub mod sql_pool_vulnerability_assessment_rule_baselines { } } pub mod extended_sql_pool_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8001,7 +8001,7 @@ pub mod extended_sql_pool_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8075,7 +8075,7 @@ pub mod extended_sql_pool_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExtendedSqlPoolBlobAuditingPolicy), @@ -8144,7 +8144,7 @@ pub mod extended_sql_pool_blob_auditing_policies { } } pub mod list_by_sql_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8165,7 +8165,7 @@ pub mod extended_sql_pool_blob_auditing_policies { } } pub mod data_masking_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8218,7 +8218,7 @@ pub mod data_masking_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8297,7 +8297,7 @@ pub mod data_masking_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8321,7 +8321,7 @@ pub mod data_masking_policies { } } pub mod data_masking_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8376,7 +8376,7 @@ pub mod data_masking_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8463,7 +8463,7 @@ pub mod data_masking_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataMaskingRule), @@ -8545,7 +8545,7 @@ pub mod data_masking_rules { } } pub mod list_by_sql_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8569,7 +8569,7 @@ pub mod data_masking_rules { } } pub mod sql_pool_columns { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8618,7 +8618,7 @@ pub mod sql_pool_columns { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8639,7 +8639,7 @@ pub mod sql_pool_columns { } } pub mod sql_pool_workload_group { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8684,7 +8684,7 @@ pub mod sql_pool_workload_group { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8759,7 +8759,7 @@ pub mod sql_pool_workload_group { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadGroup), @@ -8825,7 +8825,7 @@ pub mod sql_pool_workload_group { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8892,7 +8892,7 @@ pub mod sql_pool_workload_group { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8913,7 +8913,7 @@ pub mod sql_pool_workload_group { } } pub mod sql_pool_workload_classifier { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8951,7 +8951,7 @@ pub mod sql_pool_workload_classifier { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9019,7 +9019,7 @@ pub mod sql_pool_workload_classifier { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadClassifier), @@ -9078,7 +9078,7 @@ pub mod sql_pool_workload_classifier { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9139,7 +9139,7 @@ pub mod sql_pool_workload_classifier { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9160,7 +9160,7 @@ pub mod sql_pool_workload_classifier { } } pub mod workspace_managed_sql_server_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9203,7 +9203,7 @@ pub mod workspace_managed_sql_server_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9270,7 +9270,7 @@ pub mod workspace_managed_sql_server_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerBlobAuditingPolicy), @@ -9337,7 +9337,7 @@ pub mod workspace_managed_sql_server_blob_auditing_policies { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9358,7 +9358,7 @@ pub mod workspace_managed_sql_server_blob_auditing_policies { } } pub mod workspace_managed_sql_server_extended_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9401,7 +9401,7 @@ pub mod workspace_managed_sql_server_extended_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9468,7 +9468,7 @@ pub mod workspace_managed_sql_server_extended_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExtendedServerBlobAuditingPolicy), @@ -9535,7 +9535,7 @@ pub mod workspace_managed_sql_server_extended_blob_auditing_policies { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9556,7 +9556,7 @@ pub mod workspace_managed_sql_server_extended_blob_auditing_policies { } } pub mod workspace_managed_sql_server_security_alert_policy { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9599,7 +9599,7 @@ pub mod workspace_managed_sql_server_security_alert_policy { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9666,7 +9666,7 @@ pub mod workspace_managed_sql_server_security_alert_policy { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerSecurityAlertPolicy), @@ -9730,7 +9730,7 @@ pub mod workspace_managed_sql_server_security_alert_policy { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9751,7 +9751,7 @@ pub mod workspace_managed_sql_server_security_alert_policy { } } pub mod workspace_managed_sql_server_vulnerability_assessments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9794,7 +9794,7 @@ pub mod workspace_managed_sql_server_vulnerability_assessments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9866,7 +9866,7 @@ pub mod workspace_managed_sql_server_vulnerability_assessments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerVulnerabilityAssessment), @@ -9928,7 +9928,7 @@ pub mod workspace_managed_sql_server_vulnerability_assessments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9992,7 +9992,7 @@ pub mod workspace_managed_sql_server_vulnerability_assessments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10013,7 +10013,7 @@ pub mod workspace_managed_sql_server_vulnerability_assessments { } } pub mod workspace_managed_sql_server_encryption_protector { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10064,7 +10064,7 @@ pub mod workspace_managed_sql_server_encryption_protector { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10142,7 +10142,7 @@ pub mod workspace_managed_sql_server_encryption_protector { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EncryptionProtector), @@ -10209,7 +10209,7 @@ pub mod workspace_managed_sql_server_encryption_protector { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10270,7 +10270,7 @@ pub mod workspace_managed_sql_server_encryption_protector { } } pub mod revalidate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10296,7 +10296,7 @@ pub mod workspace_managed_sql_server_encryption_protector { } } pub mod workspace_managed_sql_server_usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10337,7 +10337,7 @@ pub mod workspace_managed_sql_server_usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10358,7 +10358,7 @@ pub mod workspace_managed_sql_server_usages { } } pub mod workspace_managed_sql_server_recoverable_sql_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10399,7 +10399,7 @@ pub mod workspace_managed_sql_server_recoverable_sql_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10460,7 +10460,7 @@ pub mod workspace_managed_sql_server_recoverable_sql_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10481,7 +10481,7 @@ pub mod workspace_managed_sql_server_recoverable_sql_pools { } } pub mod big_data_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10532,7 +10532,7 @@ pub mod big_data_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10619,7 +10619,7 @@ pub mod big_data_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BigDataPoolResourceInfo), @@ -10698,7 +10698,7 @@ pub mod big_data_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10777,7 +10777,7 @@ pub mod big_data_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -10856,7 +10856,7 @@ pub mod big_data_pools { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10880,7 +10880,7 @@ pub mod big_data_pools { } } pub mod library { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10931,7 +10931,7 @@ pub mod library { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10955,7 +10955,7 @@ pub mod library { } } pub mod libraries { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11007,7 +11007,7 @@ pub mod libraries { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11031,7 +11031,7 @@ pub mod libraries { } } pub mod integration_runtimes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11087,7 +11087,7 @@ pub mod integration_runtimes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -11168,7 +11168,7 @@ pub mod integration_runtimes { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IntegrationRuntimeResource), @@ -11247,7 +11247,7 @@ pub mod integration_runtimes { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11316,7 +11316,7 @@ pub mod integration_runtimes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11393,7 +11393,7 @@ pub mod integration_runtimes { } } pub mod upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11466,7 +11466,7 @@ pub mod integration_runtimes { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11540,7 +11540,7 @@ pub mod integration_runtimes { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IntegrationRuntimeStatusResponse), @@ -11614,7 +11614,7 @@ pub mod integration_runtimes { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11692,7 +11692,7 @@ pub mod integration_runtimes { } } pub mod list_outbound_network_dependencies_endpoints { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11766,7 +11766,7 @@ pub mod integration_runtimes { } } pub mod enable_interactive_query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11838,7 +11838,7 @@ pub mod integration_runtimes { } } pub mod disable_interactive_query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11867,7 +11867,7 @@ pub mod integration_runtimes { } } pub mod integration_runtime_node_ip_address { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11921,7 +11921,7 @@ pub mod integration_runtime_node_ip_address { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11945,7 +11945,7 @@ pub mod integration_runtime_node_ip_address { } } pub mod integration_runtime_object_metadata { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12002,7 +12002,7 @@ pub mod integration_runtime_object_metadata { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12079,7 +12079,7 @@ pub mod integration_runtime_object_metadata { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SsisObjectMetadataStatusResponse), @@ -12108,7 +12108,7 @@ pub mod integration_runtime_object_metadata { } } pub mod integration_runtime_nodes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12161,7 +12161,7 @@ pub mod integration_runtime_nodes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12237,7 +12237,7 @@ pub mod integration_runtime_nodes { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12307,7 +12307,7 @@ pub mod integration_runtime_nodes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12336,7 +12336,7 @@ pub mod integration_runtime_nodes { } } pub mod integration_runtime_credentials { - use crate::models::*; + use super::{models, models::*}; pub async fn sync( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12383,7 +12383,7 @@ pub mod integration_runtime_credentials { } } pub mod sync { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12407,7 +12407,7 @@ pub mod integration_runtime_credentials { } } pub mod integration_runtime_connection_infos { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12459,7 +12459,7 @@ pub mod integration_runtime_connection_infos { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12483,7 +12483,7 @@ pub mod integration_runtime_connection_infos { } } pub mod integration_runtime_auth_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn regenerate( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12539,7 +12539,7 @@ pub mod integration_runtime_auth_keys { } } pub mod regenerate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12612,7 +12612,7 @@ pub mod integration_runtime_auth_keys { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12636,7 +12636,7 @@ pub mod integration_runtime_auth_keys { } } pub mod integration_runtime_monitoring_data { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12688,7 +12688,7 @@ pub mod integration_runtime_monitoring_data { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12712,7 +12712,7 @@ pub mod integration_runtime_monitoring_data { } } pub mod integration_runtime_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12764,7 +12764,7 @@ pub mod integration_runtime_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12788,7 +12788,7 @@ pub mod integration_runtime_status { } } pub mod spark_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12839,7 +12839,7 @@ pub mod spark_configuration { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12863,7 +12863,7 @@ pub mod spark_configuration { } } pub mod spark_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12915,7 +12915,7 @@ pub mod spark_configurations { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/synapse/src/package_composite_v2/operations.rs b/services/mgmt/synapse/src/package_composite_v2/operations.rs index cfcd62d902..40ea310b39 100644 --- a/services/mgmt/synapse/src/package_composite_v2/operations.rs +++ b/services/mgmt/synapse/src/package_composite_v2/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod azure_ad_only_authentications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -55,7 +55,7 @@ pub mod azure_ad_only_authentications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -136,7 +136,7 @@ pub mod azure_ad_only_authentications { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AzureAdOnlyAuthentication), @@ -212,7 +212,7 @@ pub mod azure_ad_only_authentications { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -236,7 +236,7 @@ pub mod azure_ad_only_authentications { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -288,7 +288,7 @@ pub mod operations { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -346,7 +346,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -421,7 +421,7 @@ pub mod operations { } } pub mod get_location_header_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -506,7 +506,7 @@ pub mod operations { } } pub mod get_azure_async_header_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -532,7 +532,7 @@ pub mod operations { } } pub mod ip_firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -584,7 +584,7 @@ pub mod ip_firewall_rules { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -656,7 +656,7 @@ pub mod ip_firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -739,7 +739,7 @@ pub mod ip_firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IpFirewallRuleInfo), @@ -818,7 +818,7 @@ pub mod ip_firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -900,7 +900,7 @@ pub mod ip_firewall_rules { } } pub mod replace_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplaceAllFirewallRulesOperationResponse), @@ -929,7 +929,7 @@ pub mod ip_firewall_rules { } } pub mod keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -981,7 +981,7 @@ pub mod keys { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1053,7 +1053,7 @@ pub mod keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1130,7 +1130,7 @@ pub mod keys { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1203,7 +1203,7 @@ pub mod keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Key), @@ -1232,7 +1232,7 @@ pub mod keys { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1284,7 +1284,7 @@ pub mod workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1354,7 +1354,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1435,7 +1435,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -1518,7 +1518,7 @@ pub mod workspaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -1600,7 +1600,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -1672,7 +1672,7 @@ pub mod workspaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1696,7 +1696,7 @@ pub mod workspaces { } } pub mod workspace_aad_admins { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1745,7 +1745,7 @@ pub mod workspace_aad_admins { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1826,7 +1826,7 @@ pub mod workspace_aad_admins { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkspaceAadAdminInfo), @@ -1898,7 +1898,7 @@ pub mod workspace_aad_admins { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1928,7 +1928,7 @@ pub mod workspace_aad_admins { } } pub mod workspace_sql_aad_admins { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1977,7 +1977,7 @@ pub mod workspace_sql_aad_admins { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2058,7 +2058,7 @@ pub mod workspace_sql_aad_admins { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkspaceAadAdminInfo), @@ -2130,7 +2130,7 @@ pub mod workspace_sql_aad_admins { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2160,7 +2160,7 @@ pub mod workspace_sql_aad_admins { } } pub mod workspace_managed_identity_sql_control_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2209,7 +2209,7 @@ pub mod workspace_managed_identity_sql_control_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2285,7 +2285,7 @@ pub mod workspace_managed_identity_sql_control_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedIdentitySqlControlSettingsModel), @@ -2314,7 +2314,7 @@ pub mod workspace_managed_identity_sql_control_settings { } } pub mod restorable_dropped_sql_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2365,7 +2365,7 @@ pub mod restorable_dropped_sql_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2438,7 +2438,7 @@ pub mod restorable_dropped_sql_pools { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2462,7 +2462,7 @@ pub mod restorable_dropped_sql_pools { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2513,7 +2513,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2593,7 +2593,7 @@ pub mod private_endpoint_connections { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -2672,7 +2672,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2748,7 +2748,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2772,7 +2772,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2821,7 +2821,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2893,7 +2893,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2917,7 +2917,7 @@ pub mod private_link_resources { } } pub mod private_link_hub_private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2966,7 +2966,7 @@ pub mod private_link_hub_private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3038,7 +3038,7 @@ pub mod private_link_hub_private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3062,7 +3062,7 @@ pub mod private_link_hub_private_link_resources { } } pub mod private_link_hubs { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3114,7 +3114,7 @@ pub mod private_link_hubs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3184,7 +3184,7 @@ pub mod private_link_hubs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3265,7 +3265,7 @@ pub mod private_link_hubs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkHub), @@ -3348,7 +3348,7 @@ pub mod private_link_hubs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkHub), @@ -3420,7 +3420,7 @@ pub mod private_link_hubs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3492,7 +3492,7 @@ pub mod private_link_hubs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3516,7 +3516,7 @@ pub mod private_link_hubs { } } pub mod private_endpoint_connections_private_link_hub { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3565,7 +3565,7 @@ pub mod private_endpoint_connections_private_link_hub { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3637,7 +3637,7 @@ pub mod private_endpoint_connections_private_link_hub { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3661,7 +3661,7 @@ pub mod private_endpoint_connections_private_link_hub { } } pub mod sql_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3712,7 +3712,7 @@ pub mod sql_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3788,7 +3788,7 @@ pub mod sql_pools { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPool), @@ -3870,7 +3870,7 @@ pub mod sql_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPool), @@ -3954,7 +3954,7 @@ pub mod sql_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -4033,7 +4033,7 @@ pub mod sql_pools { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4107,7 +4107,7 @@ pub mod sql_pools { } } pub mod pause { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -4186,7 +4186,7 @@ pub mod sql_pools { } } pub mod resume { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -4252,7 +4252,7 @@ pub mod sql_pools { } } pub mod rename { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4273,7 +4273,7 @@ pub mod sql_pools { } } pub mod sql_pool_metadata_sync_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4325,7 +4325,7 @@ pub mod sql_pool_metadata_sync_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -4402,7 +4402,7 @@ pub mod sql_pool_metadata_sync_configs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -4428,7 +4428,7 @@ pub mod sql_pool_metadata_sync_configs { } } pub mod sql_pool_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get_location_header_result( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4492,7 +4492,7 @@ pub mod sql_pool_operation_results { } } pub mod get_location_header_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -4521,7 +4521,7 @@ pub mod sql_pool_operation_results { } } pub mod sql_pool_geo_backup_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4572,7 +4572,7 @@ pub mod sql_pool_geo_backup_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4646,7 +4646,7 @@ pub mod sql_pool_geo_backup_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4731,7 +4731,7 @@ pub mod sql_pool_geo_backup_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GeoBackupPolicy), @@ -4760,7 +4760,7 @@ pub mod sql_pool_geo_backup_policies { } } pub mod sql_pool_data_warehouse_user_activities { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4805,7 +4805,7 @@ pub mod sql_pool_data_warehouse_user_activities { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4826,7 +4826,7 @@ pub mod sql_pool_data_warehouse_user_activities { } } pub mod sql_pool_restore_points { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4877,7 +4877,7 @@ pub mod sql_pool_restore_points { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4950,7 +4950,7 @@ pub mod sql_pool_restore_points { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RestorePoint), @@ -5019,7 +5019,7 @@ pub mod sql_pool_restore_points { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5078,7 +5078,7 @@ pub mod sql_pool_restore_points { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5104,7 +5104,7 @@ pub mod sql_pool_restore_points { } } pub mod sql_pool_replication_links { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5155,7 +5155,7 @@ pub mod sql_pool_replication_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5232,7 +5232,7 @@ pub mod sql_pool_replication_links { } } pub mod get_by_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5256,7 +5256,7 @@ pub mod sql_pool_replication_links { } } pub mod sql_pool_maintenance_windows { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5309,7 +5309,7 @@ pub mod sql_pool_maintenance_windows { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5375,7 +5375,7 @@ pub mod sql_pool_maintenance_windows { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5396,7 +5396,7 @@ pub mod sql_pool_maintenance_windows { } } pub mod sql_pool_maintenance_window_options { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5442,7 +5442,7 @@ pub mod sql_pool_maintenance_window_options { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5463,7 +5463,7 @@ pub mod sql_pool_maintenance_window_options { } } pub mod sql_pool_transparent_data_encryptions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5516,7 +5516,7 @@ pub mod sql_pool_transparent_data_encryptions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5601,7 +5601,7 @@ pub mod sql_pool_transparent_data_encryptions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TransparentDataEncryption), @@ -5670,7 +5670,7 @@ pub mod sql_pool_transparent_data_encryptions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5691,7 +5691,7 @@ pub mod sql_pool_transparent_data_encryptions { } } pub mod sql_pool_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5736,7 +5736,7 @@ pub mod sql_pool_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5810,7 +5810,7 @@ pub mod sql_pool_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPoolBlobAuditingPolicy), @@ -5879,7 +5879,7 @@ pub mod sql_pool_blob_auditing_policies { } } pub mod list_by_sql_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5900,7 +5900,7 @@ pub mod sql_pool_blob_auditing_policies { } } pub mod sql_pool_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5943,7 +5943,7 @@ pub mod sql_pool_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5964,7 +5964,7 @@ pub mod sql_pool_operations { } } pub mod sql_pool_usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6015,7 +6015,7 @@ pub mod sql_pool_usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6039,7 +6039,7 @@ pub mod sql_pool_usages { } } pub mod sql_pool_sensitivity_labels { - use crate::models::*; + use super::{models, models::*}; pub async fn list_current( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6097,7 +6097,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod list_current { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6158,7 +6158,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6237,7 +6237,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod list_recommended { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6295,7 +6295,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6364,7 +6364,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SensitivityLabel), @@ -6423,7 +6423,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6487,7 +6487,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod enable_recommendation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6546,7 +6546,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod disable_recommendation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6567,7 +6567,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod sql_pool_recommended_sensitivity_labels { - use crate::models::*; + use super::{models, models::*}; pub async fn update( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6607,7 +6607,7 @@ pub mod sql_pool_recommended_sensitivity_labels { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6628,7 +6628,7 @@ pub mod sql_pool_recommended_sensitivity_labels { } } pub mod sql_pool_schemas { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6675,7 +6675,7 @@ pub mod sql_pool_schemas { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6738,7 +6738,7 @@ pub mod sql_pool_schemas { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6759,7 +6759,7 @@ pub mod sql_pool_schemas { } } pub mod sql_pool_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_schema( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6811,7 +6811,7 @@ pub mod sql_pool_tables { } } pub mod list_by_schema { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6876,7 +6876,7 @@ pub mod sql_pool_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6897,7 +6897,7 @@ pub mod sql_pool_tables { } } pub mod sql_pool_table_columns { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_table_name( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6951,7 +6951,7 @@ pub mod sql_pool_table_columns { } } pub mod list_by_table_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6972,7 +6972,7 @@ pub mod sql_pool_table_columns { } } pub mod sql_pool_connection_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7025,7 +7025,7 @@ pub mod sql_pool_connection_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7049,7 +7049,7 @@ pub mod sql_pool_connection_policies { } } pub mod sql_pool_vulnerability_assessments { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7092,7 +7092,7 @@ pub mod sql_pool_vulnerability_assessments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7155,7 +7155,7 @@ pub mod sql_pool_vulnerability_assessments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7229,7 +7229,7 @@ pub mod sql_pool_vulnerability_assessments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPoolVulnerabilityAssessment), @@ -7293,7 +7293,7 @@ pub mod sql_pool_vulnerability_assessments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7319,7 +7319,7 @@ pub mod sql_pool_vulnerability_assessments { } } pub mod sql_pool_vulnerability_assessment_scans { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7364,7 +7364,7 @@ pub mod sql_pool_vulnerability_assessment_scans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7420,7 +7420,7 @@ pub mod sql_pool_vulnerability_assessment_scans { } } pub mod initiate_scan { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7488,7 +7488,7 @@ pub mod sql_pool_vulnerability_assessment_scans { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPoolVulnerabilityAssessmentScansExport), @@ -7549,7 +7549,7 @@ pub mod sql_pool_vulnerability_assessment_scans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7570,7 +7570,7 @@ pub mod sql_pool_vulnerability_assessment_scans { } } pub mod sql_pool_security_alert_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7613,7 +7613,7 @@ pub mod sql_pool_security_alert_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7676,7 +7676,7 @@ pub mod sql_pool_security_alert_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7750,7 +7750,7 @@ pub mod sql_pool_security_alert_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPoolSecurityAlertPolicy), @@ -7776,7 +7776,7 @@ pub mod sql_pool_security_alert_policies { } } pub mod sql_pool_vulnerability_assessment_rule_baselines { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7815,7 +7815,7 @@ pub mod sql_pool_vulnerability_assessment_rule_baselines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7877,7 +7877,7 @@ pub mod sql_pool_vulnerability_assessment_rule_baselines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7930,7 +7930,7 @@ pub mod sql_pool_vulnerability_assessment_rule_baselines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7956,7 +7956,7 @@ pub mod sql_pool_vulnerability_assessment_rule_baselines { } } pub mod extended_sql_pool_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8001,7 +8001,7 @@ pub mod extended_sql_pool_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8075,7 +8075,7 @@ pub mod extended_sql_pool_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExtendedSqlPoolBlobAuditingPolicy), @@ -8144,7 +8144,7 @@ pub mod extended_sql_pool_blob_auditing_policies { } } pub mod list_by_sql_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8165,7 +8165,7 @@ pub mod extended_sql_pool_blob_auditing_policies { } } pub mod data_masking_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8218,7 +8218,7 @@ pub mod data_masking_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8297,7 +8297,7 @@ pub mod data_masking_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8321,7 +8321,7 @@ pub mod data_masking_policies { } } pub mod data_masking_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8376,7 +8376,7 @@ pub mod data_masking_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8463,7 +8463,7 @@ pub mod data_masking_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataMaskingRule), @@ -8545,7 +8545,7 @@ pub mod data_masking_rules { } } pub mod list_by_sql_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8569,7 +8569,7 @@ pub mod data_masking_rules { } } pub mod sql_pool_columns { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8618,7 +8618,7 @@ pub mod sql_pool_columns { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8639,7 +8639,7 @@ pub mod sql_pool_columns { } } pub mod sql_pool_workload_group { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8684,7 +8684,7 @@ pub mod sql_pool_workload_group { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8759,7 +8759,7 @@ pub mod sql_pool_workload_group { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadGroup), @@ -8825,7 +8825,7 @@ pub mod sql_pool_workload_group { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8892,7 +8892,7 @@ pub mod sql_pool_workload_group { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8913,7 +8913,7 @@ pub mod sql_pool_workload_group { } } pub mod sql_pool_workload_classifier { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8951,7 +8951,7 @@ pub mod sql_pool_workload_classifier { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9019,7 +9019,7 @@ pub mod sql_pool_workload_classifier { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadClassifier), @@ -9078,7 +9078,7 @@ pub mod sql_pool_workload_classifier { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9139,7 +9139,7 @@ pub mod sql_pool_workload_classifier { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9160,7 +9160,7 @@ pub mod sql_pool_workload_classifier { } } pub mod workspace_managed_sql_server_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9203,7 +9203,7 @@ pub mod workspace_managed_sql_server_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9270,7 +9270,7 @@ pub mod workspace_managed_sql_server_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerBlobAuditingPolicy), @@ -9337,7 +9337,7 @@ pub mod workspace_managed_sql_server_blob_auditing_policies { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9358,7 +9358,7 @@ pub mod workspace_managed_sql_server_blob_auditing_policies { } } pub mod workspace_managed_sql_server_extended_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9401,7 +9401,7 @@ pub mod workspace_managed_sql_server_extended_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9468,7 +9468,7 @@ pub mod workspace_managed_sql_server_extended_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExtendedServerBlobAuditingPolicy), @@ -9535,7 +9535,7 @@ pub mod workspace_managed_sql_server_extended_blob_auditing_policies { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9556,7 +9556,7 @@ pub mod workspace_managed_sql_server_extended_blob_auditing_policies { } } pub mod workspace_managed_sql_server_security_alert_policy { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9599,7 +9599,7 @@ pub mod workspace_managed_sql_server_security_alert_policy { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9666,7 +9666,7 @@ pub mod workspace_managed_sql_server_security_alert_policy { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerSecurityAlertPolicy), @@ -9730,7 +9730,7 @@ pub mod workspace_managed_sql_server_security_alert_policy { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9751,7 +9751,7 @@ pub mod workspace_managed_sql_server_security_alert_policy { } } pub mod workspace_managed_sql_server_vulnerability_assessments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9794,7 +9794,7 @@ pub mod workspace_managed_sql_server_vulnerability_assessments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9866,7 +9866,7 @@ pub mod workspace_managed_sql_server_vulnerability_assessments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerVulnerabilityAssessment), @@ -9928,7 +9928,7 @@ pub mod workspace_managed_sql_server_vulnerability_assessments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9992,7 +9992,7 @@ pub mod workspace_managed_sql_server_vulnerability_assessments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10013,7 +10013,7 @@ pub mod workspace_managed_sql_server_vulnerability_assessments { } } pub mod workspace_managed_sql_server_encryption_protector { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10064,7 +10064,7 @@ pub mod workspace_managed_sql_server_encryption_protector { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10142,7 +10142,7 @@ pub mod workspace_managed_sql_server_encryption_protector { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EncryptionProtector), @@ -10209,7 +10209,7 @@ pub mod workspace_managed_sql_server_encryption_protector { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10270,7 +10270,7 @@ pub mod workspace_managed_sql_server_encryption_protector { } } pub mod revalidate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10296,7 +10296,7 @@ pub mod workspace_managed_sql_server_encryption_protector { } } pub mod workspace_managed_sql_server_usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10337,7 +10337,7 @@ pub mod workspace_managed_sql_server_usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10358,7 +10358,7 @@ pub mod workspace_managed_sql_server_usages { } } pub mod workspace_managed_sql_server_recoverable_sql_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10399,7 +10399,7 @@ pub mod workspace_managed_sql_server_recoverable_sql_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10460,7 +10460,7 @@ pub mod workspace_managed_sql_server_recoverable_sql_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10481,7 +10481,7 @@ pub mod workspace_managed_sql_server_recoverable_sql_pools { } } pub mod big_data_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10532,7 +10532,7 @@ pub mod big_data_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10619,7 +10619,7 @@ pub mod big_data_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BigDataPoolResourceInfo), @@ -10698,7 +10698,7 @@ pub mod big_data_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10777,7 +10777,7 @@ pub mod big_data_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -10856,7 +10856,7 @@ pub mod big_data_pools { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10880,7 +10880,7 @@ pub mod big_data_pools { } } pub mod library { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10931,7 +10931,7 @@ pub mod library { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10955,7 +10955,7 @@ pub mod library { } } pub mod libraries { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11007,7 +11007,7 @@ pub mod libraries { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11031,7 +11031,7 @@ pub mod libraries { } } pub mod integration_runtimes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11087,7 +11087,7 @@ pub mod integration_runtimes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -11168,7 +11168,7 @@ pub mod integration_runtimes { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IntegrationRuntimeResource), @@ -11247,7 +11247,7 @@ pub mod integration_runtimes { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11316,7 +11316,7 @@ pub mod integration_runtimes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11393,7 +11393,7 @@ pub mod integration_runtimes { } } pub mod upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11466,7 +11466,7 @@ pub mod integration_runtimes { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11540,7 +11540,7 @@ pub mod integration_runtimes { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IntegrationRuntimeStatusResponse), @@ -11614,7 +11614,7 @@ pub mod integration_runtimes { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11692,7 +11692,7 @@ pub mod integration_runtimes { } } pub mod list_outbound_network_dependencies_endpoints { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11766,7 +11766,7 @@ pub mod integration_runtimes { } } pub mod enable_interactive_query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11838,7 +11838,7 @@ pub mod integration_runtimes { } } pub mod disable_interactive_query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11867,7 +11867,7 @@ pub mod integration_runtimes { } } pub mod integration_runtime_node_ip_address { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11921,7 +11921,7 @@ pub mod integration_runtime_node_ip_address { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11945,7 +11945,7 @@ pub mod integration_runtime_node_ip_address { } } pub mod integration_runtime_object_metadata { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12002,7 +12002,7 @@ pub mod integration_runtime_object_metadata { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12079,7 +12079,7 @@ pub mod integration_runtime_object_metadata { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SsisObjectMetadataStatusResponse), @@ -12108,7 +12108,7 @@ pub mod integration_runtime_object_metadata { } } pub mod integration_runtime_nodes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12161,7 +12161,7 @@ pub mod integration_runtime_nodes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12237,7 +12237,7 @@ pub mod integration_runtime_nodes { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12307,7 +12307,7 @@ pub mod integration_runtime_nodes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12336,7 +12336,7 @@ pub mod integration_runtime_nodes { } } pub mod integration_runtime_credentials { - use crate::models::*; + use super::{models, models::*}; pub async fn sync( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12383,7 +12383,7 @@ pub mod integration_runtime_credentials { } } pub mod sync { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12407,7 +12407,7 @@ pub mod integration_runtime_credentials { } } pub mod integration_runtime_connection_infos { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12459,7 +12459,7 @@ pub mod integration_runtime_connection_infos { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12483,7 +12483,7 @@ pub mod integration_runtime_connection_infos { } } pub mod integration_runtime_auth_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn regenerate( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12539,7 +12539,7 @@ pub mod integration_runtime_auth_keys { } } pub mod regenerate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12612,7 +12612,7 @@ pub mod integration_runtime_auth_keys { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12636,7 +12636,7 @@ pub mod integration_runtime_auth_keys { } } pub mod integration_runtime_monitoring_data { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12688,7 +12688,7 @@ pub mod integration_runtime_monitoring_data { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12712,7 +12712,7 @@ pub mod integration_runtime_monitoring_data { } } pub mod integration_runtime_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12764,7 +12764,7 @@ pub mod integration_runtime_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12788,7 +12788,7 @@ pub mod integration_runtime_status { } } pub mod spark_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12839,7 +12839,7 @@ pub mod spark_configuration { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12863,7 +12863,7 @@ pub mod spark_configuration { } } pub mod spark_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12915,7 +12915,7 @@ pub mod spark_configurations { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12939,7 +12939,7 @@ pub mod spark_configurations { } } pub mod kusto_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Synapse/kustooperations", operation_config.base_path(),); @@ -12977,7 +12977,7 @@ pub mod kusto_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13001,7 +13001,7 @@ pub mod kusto_operations { } } pub mod kusto_pool { - use crate::models::*; + use super::{models, models::*}; pub async fn list_skus( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -13049,7 +13049,7 @@ pub mod kusto_pool { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13073,7 +13073,7 @@ pub mod kusto_pool { } } pub mod kusto_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -13127,7 +13127,7 @@ pub mod kusto_pools { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13200,7 +13200,7 @@ pub mod kusto_pools { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13272,7 +13272,7 @@ pub mod kusto_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13363,7 +13363,7 @@ pub mod kusto_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(KustoPool), @@ -13452,7 +13452,7 @@ pub mod kusto_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(KustoPool), @@ -13526,7 +13526,7 @@ pub mod kusto_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13601,7 +13601,7 @@ pub mod kusto_pools { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13675,7 +13675,7 @@ pub mod kusto_pools { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13757,7 +13757,7 @@ pub mod kusto_pools { } } pub mod list_skus_by_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13835,7 +13835,7 @@ pub mod kusto_pools { } } pub mod list_language_extensions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -13910,7 +13910,7 @@ pub mod kusto_pools { } } pub mod add_language_extensions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -13990,7 +13990,7 @@ pub mod kusto_pools { } } pub mod remove_language_extensions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -14073,7 +14073,7 @@ pub mod kusto_pools { } } pub mod list_follower_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14148,7 +14148,7 @@ pub mod kusto_pools { } } pub mod detach_follower_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -14177,7 +14177,7 @@ pub mod kusto_pools { } } pub mod kusto_pool_child_resource { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, workspace_name: &str, @@ -14235,7 +14235,7 @@ pub mod kusto_pool_child_resource { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14259,7 +14259,7 @@ pub mod kusto_pool_child_resource { } } pub mod kusto_pool_attached_database_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_kusto_pool( operation_config: &crate::OperationConfig, workspace_name: &str, @@ -14313,7 +14313,7 @@ pub mod kusto_pool_attached_database_configurations { } } pub mod list_by_kusto_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14379,7 +14379,7 @@ pub mod kusto_pool_attached_database_configurations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14462,7 +14462,7 @@ pub mod kusto_pool_attached_database_configurations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AttachedDatabaseConfiguration), @@ -14531,7 +14531,7 @@ pub mod kusto_pool_attached_database_configurations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -14561,7 +14561,7 @@ pub mod kusto_pool_attached_database_configurations { } } pub mod kusto_pool_databases { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_kusto_pool( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -14615,7 +14615,7 @@ pub mod kusto_pool_databases { } } pub mod list_by_kusto_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14689,7 +14689,7 @@ pub mod kusto_pool_databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -14774,7 +14774,7 @@ pub mod kusto_pool_databases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -14861,7 +14861,7 @@ pub mod kusto_pool_databases { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -14937,7 +14937,7 @@ pub mod kusto_pool_databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -14967,7 +14967,7 @@ pub mod kusto_pool_databases { } } pub mod kusto_pool_data_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -15019,7 +15019,7 @@ pub mod kusto_pool_data_connections { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15093,7 +15093,7 @@ pub mod kusto_pool_data_connections { } } pub mod data_connection_validation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataConnectionValidationListResult), @@ -15175,7 +15175,7 @@ pub mod kusto_pool_data_connections { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15251,7 +15251,7 @@ pub mod kusto_pool_data_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15338,7 +15338,7 @@ pub mod kusto_pool_data_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataConnection), @@ -15427,7 +15427,7 @@ pub mod kusto_pool_data_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataConnection), @@ -15505,7 +15505,7 @@ pub mod kusto_pool_data_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -15535,7 +15535,7 @@ pub mod kusto_pool_data_connections { } } pub mod kusto_pool_principal_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, workspace_name: &str, @@ -15586,7 +15586,7 @@ pub mod kusto_pool_principal_assignments { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15658,7 +15658,7 @@ pub mod kusto_pool_principal_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15732,7 +15732,7 @@ pub mod kusto_pool_principal_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -15817,7 +15817,7 @@ pub mod kusto_pool_principal_assignments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ClusterPrincipalAssignment), @@ -15893,7 +15893,7 @@ pub mod kusto_pool_principal_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -15923,7 +15923,7 @@ pub mod kusto_pool_principal_assignments { } } pub mod kusto_pool_database_principal_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, workspace_name: &str, @@ -15975,7 +15975,7 @@ pub mod kusto_pool_database_principal_assignments { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16041,7 +16041,7 @@ pub mod kusto_pool_database_principal_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16108,7 +16108,7 @@ pub mod kusto_pool_database_principal_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -16186,7 +16186,7 @@ pub mod kusto_pool_database_principal_assignments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatabasePrincipalAssignment), @@ -16255,7 +16255,7 @@ pub mod kusto_pool_database_principal_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/synapse/src/package_kusto_pool_2021_04_preview/operations.rs b/services/mgmt/synapse/src/package_kusto_pool_2021_04_preview/operations.rs index 59155c2cae..1778ce6245 100644 --- a/services/mgmt/synapse/src/package_kusto_pool_2021_04_preview/operations.rs +++ b/services/mgmt/synapse/src/package_kusto_pool_2021_04_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod kusto_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Synapse/kustooperations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod kusto_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod kusto_operations { } } pub mod kusto_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -118,7 +118,7 @@ pub mod kusto_pools { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -190,7 +190,7 @@ pub mod kusto_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -281,7 +281,7 @@ pub mod kusto_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(KustoPool), @@ -370,7 +370,7 @@ pub mod kusto_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(KustoPool), @@ -444,7 +444,7 @@ pub mod kusto_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -525,7 +525,7 @@ pub mod kusto_pools { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -549,7 +549,7 @@ pub mod kusto_pools { } } pub mod databases { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_kusto_pool( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -603,7 +603,7 @@ pub mod databases { } } pub mod list_by_kusto_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -677,7 +677,7 @@ pub mod databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -762,7 +762,7 @@ pub mod databases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -849,7 +849,7 @@ pub mod databases { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Database), @@ -925,7 +925,7 @@ pub mod databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -955,7 +955,7 @@ pub mod databases { } } pub mod data_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_database( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1011,7 +1011,7 @@ pub mod data_connections { } } pub mod list_by_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1087,7 +1087,7 @@ pub mod data_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1174,7 +1174,7 @@ pub mod data_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataConnection), @@ -1263,7 +1263,7 @@ pub mod data_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataConnection), @@ -1341,7 +1341,7 @@ pub mod data_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1371,7 +1371,7 @@ pub mod data_connections { } } pub mod kusto_pool_principal_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, workspace_name: &str, @@ -1422,7 +1422,7 @@ pub mod kusto_pool_principal_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1496,7 +1496,7 @@ pub mod kusto_pool_principal_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1581,7 +1581,7 @@ pub mod kusto_pool_principal_assignments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ClusterPrincipalAssignment), @@ -1657,7 +1657,7 @@ pub mod kusto_pool_principal_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1687,7 +1687,7 @@ pub mod kusto_pool_principal_assignments { } } pub mod database_principal_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, workspace_name: &str, @@ -1732,7 +1732,7 @@ pub mod database_principal_assignments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1799,7 +1799,7 @@ pub mod database_principal_assignments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1877,7 +1877,7 @@ pub mod database_principal_assignments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatabasePrincipalAssignment), @@ -1946,7 +1946,7 @@ pub mod database_principal_assignments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/synapse/src/package_preview_2021_06/operations.rs b/services/mgmt/synapse/src/package_preview_2021_06/operations.rs index bbba79a4dc..e8b444c855 100644 --- a/services/mgmt/synapse/src/package_preview_2021_06/operations.rs +++ b/services/mgmt/synapse/src/package_preview_2021_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod big_data_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -55,7 +55,7 @@ pub mod big_data_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -142,7 +142,7 @@ pub mod big_data_pools { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(BigDataPoolResourceInfo), @@ -221,7 +221,7 @@ pub mod big_data_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -300,7 +300,7 @@ pub mod big_data_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -379,7 +379,7 @@ pub mod big_data_pools { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -403,7 +403,7 @@ pub mod big_data_pools { } } pub mod workspaces { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -455,7 +455,7 @@ pub mod workspaces { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -525,7 +525,7 @@ pub mod workspaces { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -606,7 +606,7 @@ pub mod workspaces { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -689,7 +689,7 @@ pub mod workspaces { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Workspace), @@ -771,7 +771,7 @@ pub mod workspaces { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -843,7 +843,7 @@ pub mod workspaces { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -867,7 +867,7 @@ pub mod workspaces { } } pub mod workspace_aad_admins { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -916,7 +916,7 @@ pub mod workspace_aad_admins { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -997,7 +997,7 @@ pub mod workspace_aad_admins { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkspaceAadAdminInfo), @@ -1069,7 +1069,7 @@ pub mod workspace_aad_admins { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1099,7 +1099,7 @@ pub mod workspace_aad_admins { } } pub mod workspace_sql_aad_admins { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1148,7 +1148,7 @@ pub mod workspace_sql_aad_admins { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1229,7 +1229,7 @@ pub mod workspace_sql_aad_admins { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkspaceAadAdminInfo), @@ -1301,7 +1301,7 @@ pub mod workspace_sql_aad_admins { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1331,7 +1331,7 @@ pub mod workspace_sql_aad_admins { } } pub mod workspace_managed_identity_sql_control_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1380,7 +1380,7 @@ pub mod workspace_managed_identity_sql_control_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1456,7 +1456,7 @@ pub mod workspace_managed_identity_sql_control_settings { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ManagedIdentitySqlControlSettingsModel), @@ -1485,7 +1485,7 @@ pub mod workspace_managed_identity_sql_control_settings { } } pub mod restorable_dropped_sql_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1536,7 +1536,7 @@ pub mod restorable_dropped_sql_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1609,7 +1609,7 @@ pub mod restorable_dropped_sql_pools { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1633,7 +1633,7 @@ pub mod restorable_dropped_sql_pools { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1685,7 +1685,7 @@ pub mod operations { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1743,7 +1743,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1818,7 +1818,7 @@ pub mod operations { } } pub mod get_location_header_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1903,7 +1903,7 @@ pub mod operations { } } pub mod get_azure_async_header_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1929,7 +1929,7 @@ pub mod operations { } } pub mod ip_firewall_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1981,7 +1981,7 @@ pub mod ip_firewall_rules { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2053,7 +2053,7 @@ pub mod ip_firewall_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2136,7 +2136,7 @@ pub mod ip_firewall_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IpFirewallRuleInfo), @@ -2215,7 +2215,7 @@ pub mod ip_firewall_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -2297,7 +2297,7 @@ pub mod ip_firewall_rules { } } pub mod replace_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReplaceAllFirewallRulesOperationResponse), @@ -2326,7 +2326,7 @@ pub mod ip_firewall_rules { } } pub mod integration_runtimes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2382,7 +2382,7 @@ pub mod integration_runtimes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2463,7 +2463,7 @@ pub mod integration_runtimes { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IntegrationRuntimeResource), @@ -2542,7 +2542,7 @@ pub mod integration_runtimes { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2611,7 +2611,7 @@ pub mod integration_runtimes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2688,7 +2688,7 @@ pub mod integration_runtimes { } } pub mod upgrade { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2761,7 +2761,7 @@ pub mod integration_runtimes { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2835,7 +2835,7 @@ pub mod integration_runtimes { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(IntegrationRuntimeStatusResponse), @@ -2909,7 +2909,7 @@ pub mod integration_runtimes { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2987,7 +2987,7 @@ pub mod integration_runtimes { } } pub mod list_outbound_network_dependencies_endpoints { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3061,7 +3061,7 @@ pub mod integration_runtimes { } } pub mod enable_interactive_query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3133,7 +3133,7 @@ pub mod integration_runtimes { } } pub mod disable_interactive_query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3162,7 +3162,7 @@ pub mod integration_runtimes { } } pub mod integration_runtime_node_ip_address { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3216,7 +3216,7 @@ pub mod integration_runtime_node_ip_address { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3240,7 +3240,7 @@ pub mod integration_runtime_node_ip_address { } } pub mod integration_runtime_object_metadata { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3297,7 +3297,7 @@ pub mod integration_runtime_object_metadata { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3374,7 +3374,7 @@ pub mod integration_runtime_object_metadata { } } pub mod refresh { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SsisObjectMetadataStatusResponse), @@ -3403,7 +3403,7 @@ pub mod integration_runtime_object_metadata { } } pub mod integration_runtime_nodes { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3456,7 +3456,7 @@ pub mod integration_runtime_nodes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3532,7 +3532,7 @@ pub mod integration_runtime_nodes { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3602,7 +3602,7 @@ pub mod integration_runtime_nodes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3631,7 +3631,7 @@ pub mod integration_runtime_nodes { } } pub mod integration_runtime_credentials { - use crate::models::*; + use super::{models, models::*}; pub async fn sync( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3678,7 +3678,7 @@ pub mod integration_runtime_credentials { } } pub mod sync { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3702,7 +3702,7 @@ pub mod integration_runtime_credentials { } } pub mod integration_runtime_connection_infos { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3754,7 +3754,7 @@ pub mod integration_runtime_connection_infos { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3778,7 +3778,7 @@ pub mod integration_runtime_connection_infos { } } pub mod integration_runtime_auth_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn regenerate( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3834,7 +3834,7 @@ pub mod integration_runtime_auth_keys { } } pub mod regenerate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3907,7 +3907,7 @@ pub mod integration_runtime_auth_keys { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3931,7 +3931,7 @@ pub mod integration_runtime_auth_keys { } } pub mod integration_runtime_monitoring_data { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3983,7 +3983,7 @@ pub mod integration_runtime_monitoring_data { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4007,7 +4007,7 @@ pub mod integration_runtime_monitoring_data { } } pub mod integration_runtime_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4059,7 +4059,7 @@ pub mod integration_runtime_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4083,7 +4083,7 @@ pub mod integration_runtime_status { } } pub mod keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4135,7 +4135,7 @@ pub mod keys { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4207,7 +4207,7 @@ pub mod keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4284,7 +4284,7 @@ pub mod keys { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4357,7 +4357,7 @@ pub mod keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Key), @@ -4386,7 +4386,7 @@ pub mod keys { } } pub mod library { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4437,7 +4437,7 @@ pub mod library { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4461,7 +4461,7 @@ pub mod library { } } pub mod libraries { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4513,7 +4513,7 @@ pub mod libraries { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4537,7 +4537,7 @@ pub mod libraries { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4588,7 +4588,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4668,7 +4668,7 @@ pub mod private_endpoint_connections { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -4747,7 +4747,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4823,7 +4823,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4847,7 +4847,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4896,7 +4896,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4968,7 +4968,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4992,7 +4992,7 @@ pub mod private_link_resources { } } pub mod private_link_hub_private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5041,7 +5041,7 @@ pub mod private_link_hub_private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5113,7 +5113,7 @@ pub mod private_link_hub_private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5137,7 +5137,7 @@ pub mod private_link_hub_private_link_resources { } } pub mod private_link_hubs { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5189,7 +5189,7 @@ pub mod private_link_hubs { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5259,7 +5259,7 @@ pub mod private_link_hubs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5340,7 +5340,7 @@ pub mod private_link_hubs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkHub), @@ -5423,7 +5423,7 @@ pub mod private_link_hubs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateLinkHub), @@ -5495,7 +5495,7 @@ pub mod private_link_hubs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5567,7 +5567,7 @@ pub mod private_link_hubs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5591,7 +5591,7 @@ pub mod private_link_hubs { } } pub mod private_endpoint_connections_private_link_hub { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5640,7 +5640,7 @@ pub mod private_endpoint_connections_private_link_hub { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5712,7 +5712,7 @@ pub mod private_endpoint_connections_private_link_hub { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5736,7 +5736,7 @@ pub mod private_endpoint_connections_private_link_hub { } } pub mod sql_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5787,7 +5787,7 @@ pub mod sql_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5863,7 +5863,7 @@ pub mod sql_pools { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPool), @@ -5945,7 +5945,7 @@ pub mod sql_pools { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPool), @@ -6029,7 +6029,7 @@ pub mod sql_pools { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -6108,7 +6108,7 @@ pub mod sql_pools { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6182,7 +6182,7 @@ pub mod sql_pools { } } pub mod pause { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -6261,7 +6261,7 @@ pub mod sql_pools { } } pub mod resume { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -6327,7 +6327,7 @@ pub mod sql_pools { } } pub mod rename { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6348,7 +6348,7 @@ pub mod sql_pools { } } pub mod sql_pool_metadata_sync_configs { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6400,7 +6400,7 @@ pub mod sql_pool_metadata_sync_configs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -6477,7 +6477,7 @@ pub mod sql_pool_metadata_sync_configs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -6503,7 +6503,7 @@ pub mod sql_pool_metadata_sync_configs { } } pub mod sql_pool_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get_location_header_result( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6567,7 +6567,7 @@ pub mod sql_pool_operation_results { } } pub mod get_location_header_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -6596,7 +6596,7 @@ pub mod sql_pool_operation_results { } } pub mod sql_pool_geo_backup_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6647,7 +6647,7 @@ pub mod sql_pool_geo_backup_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6721,7 +6721,7 @@ pub mod sql_pool_geo_backup_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6806,7 +6806,7 @@ pub mod sql_pool_geo_backup_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201(GeoBackupPolicy), @@ -6835,7 +6835,7 @@ pub mod sql_pool_geo_backup_policies { } } pub mod sql_pool_data_warehouse_user_activities { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6880,7 +6880,7 @@ pub mod sql_pool_data_warehouse_user_activities { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6901,7 +6901,7 @@ pub mod sql_pool_data_warehouse_user_activities { } } pub mod sql_pool_restore_points { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6952,7 +6952,7 @@ pub mod sql_pool_restore_points { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7025,7 +7025,7 @@ pub mod sql_pool_restore_points { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(RestorePoint), @@ -7094,7 +7094,7 @@ pub mod sql_pool_restore_points { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7153,7 +7153,7 @@ pub mod sql_pool_restore_points { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -7179,7 +7179,7 @@ pub mod sql_pool_restore_points { } } pub mod sql_pool_replication_links { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7230,7 +7230,7 @@ pub mod sql_pool_replication_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7307,7 +7307,7 @@ pub mod sql_pool_replication_links { } } pub mod get_by_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7331,7 +7331,7 @@ pub mod sql_pool_replication_links { } } pub mod sql_pool_maintenance_windows { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7384,7 +7384,7 @@ pub mod sql_pool_maintenance_windows { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7450,7 +7450,7 @@ pub mod sql_pool_maintenance_windows { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7471,7 +7471,7 @@ pub mod sql_pool_maintenance_windows { } } pub mod sql_pool_maintenance_window_options { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7517,7 +7517,7 @@ pub mod sql_pool_maintenance_window_options { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7538,7 +7538,7 @@ pub mod sql_pool_maintenance_window_options { } } pub mod sql_pool_transparent_data_encryptions { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7591,7 +7591,7 @@ pub mod sql_pool_transparent_data_encryptions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7676,7 +7676,7 @@ pub mod sql_pool_transparent_data_encryptions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TransparentDataEncryption), @@ -7745,7 +7745,7 @@ pub mod sql_pool_transparent_data_encryptions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7766,7 +7766,7 @@ pub mod sql_pool_transparent_data_encryptions { } } pub mod sql_pool_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -7811,7 +7811,7 @@ pub mod sql_pool_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7885,7 +7885,7 @@ pub mod sql_pool_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPoolBlobAuditingPolicy), @@ -7954,7 +7954,7 @@ pub mod sql_pool_blob_auditing_policies { } } pub mod list_by_sql_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7975,7 +7975,7 @@ pub mod sql_pool_blob_auditing_policies { } } pub mod sql_pool_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8018,7 +8018,7 @@ pub mod sql_pool_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8039,7 +8039,7 @@ pub mod sql_pool_operations { } } pub mod sql_pool_usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8090,7 +8090,7 @@ pub mod sql_pool_usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8114,7 +8114,7 @@ pub mod sql_pool_usages { } } pub mod sql_pool_sensitivity_labels { - use crate::models::*; + use super::{models, models::*}; pub async fn list_current( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8172,7 +8172,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod list_current { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8233,7 +8233,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8312,7 +8312,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod list_recommended { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8370,7 +8370,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8439,7 +8439,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SensitivityLabel), @@ -8498,7 +8498,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -8562,7 +8562,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod enable_recommendation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8621,7 +8621,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod disable_recommendation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8642,7 +8642,7 @@ pub mod sql_pool_sensitivity_labels { } } pub mod sql_pool_recommended_sensitivity_labels { - use crate::models::*; + use super::{models, models::*}; pub async fn update( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8682,7 +8682,7 @@ pub mod sql_pool_recommended_sensitivity_labels { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8703,7 +8703,7 @@ pub mod sql_pool_recommended_sensitivity_labels { } } pub mod sql_pool_schemas { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8750,7 +8750,7 @@ pub mod sql_pool_schemas { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8813,7 +8813,7 @@ pub mod sql_pool_schemas { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8834,7 +8834,7 @@ pub mod sql_pool_schemas { } } pub mod sql_pool_tables { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_schema( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -8886,7 +8886,7 @@ pub mod sql_pool_tables { } } pub mod list_by_schema { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8951,7 +8951,7 @@ pub mod sql_pool_tables { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -8972,7 +8972,7 @@ pub mod sql_pool_tables { } } pub mod sql_pool_table_columns { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_table_name( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9026,7 +9026,7 @@ pub mod sql_pool_table_columns { } } pub mod list_by_table_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9047,7 +9047,7 @@ pub mod sql_pool_table_columns { } } pub mod sql_pool_connection_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9100,7 +9100,7 @@ pub mod sql_pool_connection_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9124,7 +9124,7 @@ pub mod sql_pool_connection_policies { } } pub mod sql_pool_vulnerability_assessments { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9167,7 +9167,7 @@ pub mod sql_pool_vulnerability_assessments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9230,7 +9230,7 @@ pub mod sql_pool_vulnerability_assessments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9304,7 +9304,7 @@ pub mod sql_pool_vulnerability_assessments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPoolVulnerabilityAssessment), @@ -9368,7 +9368,7 @@ pub mod sql_pool_vulnerability_assessments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9394,7 +9394,7 @@ pub mod sql_pool_vulnerability_assessments { } } pub mod sql_pool_vulnerability_assessment_scans { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9439,7 +9439,7 @@ pub mod sql_pool_vulnerability_assessment_scans { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9495,7 +9495,7 @@ pub mod sql_pool_vulnerability_assessment_scans { } } pub mod initiate_scan { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -9563,7 +9563,7 @@ pub mod sql_pool_vulnerability_assessment_scans { } } pub mod export { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPoolVulnerabilityAssessmentScansExport), @@ -9624,7 +9624,7 @@ pub mod sql_pool_vulnerability_assessment_scans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9645,7 +9645,7 @@ pub mod sql_pool_vulnerability_assessment_scans { } } pub mod sql_pool_security_alert_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9688,7 +9688,7 @@ pub mod sql_pool_security_alert_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9751,7 +9751,7 @@ pub mod sql_pool_security_alert_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9825,7 +9825,7 @@ pub mod sql_pool_security_alert_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPoolSecurityAlertPolicy), @@ -9851,7 +9851,7 @@ pub mod sql_pool_security_alert_policies { } } pub mod sql_pool_vulnerability_assessment_rule_baselines { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -9890,7 +9890,7 @@ pub mod sql_pool_vulnerability_assessment_rule_baselines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -9952,7 +9952,7 @@ pub mod sql_pool_vulnerability_assessment_rule_baselines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10005,7 +10005,7 @@ pub mod sql_pool_vulnerability_assessment_rule_baselines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10031,7 +10031,7 @@ pub mod sql_pool_vulnerability_assessment_rule_baselines { } } pub mod extended_sql_pool_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10076,7 +10076,7 @@ pub mod extended_sql_pool_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10150,7 +10150,7 @@ pub mod extended_sql_pool_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExtendedSqlPoolBlobAuditingPolicy), @@ -10219,7 +10219,7 @@ pub mod extended_sql_pool_blob_auditing_policies { } } pub mod list_by_sql_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10240,7 +10240,7 @@ pub mod extended_sql_pool_blob_auditing_policies { } } pub mod data_masking_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10293,7 +10293,7 @@ pub mod data_masking_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10372,7 +10372,7 @@ pub mod data_masking_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10396,7 +10396,7 @@ pub mod data_masking_policies { } } pub mod data_masking_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10451,7 +10451,7 @@ pub mod data_masking_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10538,7 +10538,7 @@ pub mod data_masking_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataMaskingRule), @@ -10620,7 +10620,7 @@ pub mod data_masking_rules { } } pub mod list_by_sql_pool { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10644,7 +10644,7 @@ pub mod data_masking_rules { } } pub mod sql_pool_columns { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10693,7 +10693,7 @@ pub mod sql_pool_columns { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10714,7 +10714,7 @@ pub mod sql_pool_columns { } } pub mod sql_pool_workload_group { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -10759,7 +10759,7 @@ pub mod sql_pool_workload_group { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10834,7 +10834,7 @@ pub mod sql_pool_workload_group { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadGroup), @@ -10900,7 +10900,7 @@ pub mod sql_pool_workload_group { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -10967,7 +10967,7 @@ pub mod sql_pool_workload_group { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -10988,7 +10988,7 @@ pub mod sql_pool_workload_group { } } pub mod sql_pool_workload_classifier { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11026,7 +11026,7 @@ pub mod sql_pool_workload_classifier { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11094,7 +11094,7 @@ pub mod sql_pool_workload_classifier { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadClassifier), @@ -11153,7 +11153,7 @@ pub mod sql_pool_workload_classifier { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -11214,7 +11214,7 @@ pub mod sql_pool_workload_classifier { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11235,7 +11235,7 @@ pub mod sql_pool_workload_classifier { } } pub mod workspace_managed_sql_server_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11278,7 +11278,7 @@ pub mod workspace_managed_sql_server_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11345,7 +11345,7 @@ pub mod workspace_managed_sql_server_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerBlobAuditingPolicy), @@ -11412,7 +11412,7 @@ pub mod workspace_managed_sql_server_blob_auditing_policies { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11433,7 +11433,7 @@ pub mod workspace_managed_sql_server_blob_auditing_policies { } } pub mod workspace_managed_sql_server_extended_blob_auditing_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11476,7 +11476,7 @@ pub mod workspace_managed_sql_server_extended_blob_auditing_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11543,7 +11543,7 @@ pub mod workspace_managed_sql_server_extended_blob_auditing_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExtendedServerBlobAuditingPolicy), @@ -11610,7 +11610,7 @@ pub mod workspace_managed_sql_server_extended_blob_auditing_policies { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11631,7 +11631,7 @@ pub mod workspace_managed_sql_server_extended_blob_auditing_policies { } } pub mod workspace_managed_sql_server_security_alert_policy { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11674,7 +11674,7 @@ pub mod workspace_managed_sql_server_security_alert_policy { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11741,7 +11741,7 @@ pub mod workspace_managed_sql_server_security_alert_policy { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerSecurityAlertPolicy), @@ -11805,7 +11805,7 @@ pub mod workspace_managed_sql_server_security_alert_policy { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11826,7 +11826,7 @@ pub mod workspace_managed_sql_server_security_alert_policy { } } pub mod workspace_managed_sql_server_vulnerability_assessments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -11869,7 +11869,7 @@ pub mod workspace_managed_sql_server_vulnerability_assessments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -11941,7 +11941,7 @@ pub mod workspace_managed_sql_server_vulnerability_assessments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ServerVulnerabilityAssessment), @@ -12003,7 +12003,7 @@ pub mod workspace_managed_sql_server_vulnerability_assessments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12067,7 +12067,7 @@ pub mod workspace_managed_sql_server_vulnerability_assessments { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12088,7 +12088,7 @@ pub mod workspace_managed_sql_server_vulnerability_assessments { } } pub mod workspace_managed_sql_server_encryption_protector { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12139,7 +12139,7 @@ pub mod workspace_managed_sql_server_encryption_protector { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12217,7 +12217,7 @@ pub mod workspace_managed_sql_server_encryption_protector { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EncryptionProtector), @@ -12284,7 +12284,7 @@ pub mod workspace_managed_sql_server_encryption_protector { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12345,7 +12345,7 @@ pub mod workspace_managed_sql_server_encryption_protector { } } pub mod revalidate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -12371,7 +12371,7 @@ pub mod workspace_managed_sql_server_encryption_protector { } } pub mod workspace_managed_sql_server_usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12412,7 +12412,7 @@ pub mod workspace_managed_sql_server_usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12433,7 +12433,7 @@ pub mod workspace_managed_sql_server_usages { } } pub mod workspace_managed_sql_server_recoverable_sql_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12474,7 +12474,7 @@ pub mod workspace_managed_sql_server_recoverable_sql_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12535,7 +12535,7 @@ pub mod workspace_managed_sql_server_recoverable_sql_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12556,7 +12556,7 @@ pub mod workspace_managed_sql_server_recoverable_sql_pools { } } pub mod spark_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12607,7 +12607,7 @@ pub mod spark_configuration { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12631,7 +12631,7 @@ pub mod spark_configuration { } } pub mod spark_configurations { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_workspace( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12683,7 +12683,7 @@ pub mod spark_configurations { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12707,7 +12707,7 @@ pub mod spark_configurations { } } pub mod azure_ad_only_authentications { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -12758,7 +12758,7 @@ pub mod azure_ad_only_authentications { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -12839,7 +12839,7 @@ pub mod azure_ad_only_authentications { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AzureAdOnlyAuthentication), @@ -12915,7 +12915,7 @@ pub mod azure_ad_only_authentications { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/synapse/src/package_sqlgen3_2020_04_01_preview/operations.rs b/services/mgmt/synapse/src/package_sqlgen3_2020_04_01_preview/operations.rs index a1f510344e..e182a12275 100644 --- a/services/mgmt/synapse/src/package_sqlgen3_2020_04_01_preview/operations.rs +++ b/services/mgmt/synapse/src/package_sqlgen3_2020_04_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod sql_v3_operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result, list::Error> { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Synapse/operations", operation_config.base_path(),); @@ -41,7 +41,7 @@ pub mod sql_v3_operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -114,7 +114,7 @@ pub mod sql_v3_operations { } } pub mod get_location_header_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -196,7 +196,7 @@ pub mod sql_v3_operations { } } pub mod get_azure_async_header_result { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -220,7 +220,7 @@ pub mod sql_v3_operations { } } pub mod sql_pools_v3 { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -271,7 +271,7 @@ pub mod sql_pools_v3 { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -355,7 +355,7 @@ pub mod sql_pools_v3 { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPoolV3), @@ -436,7 +436,7 @@ pub mod sql_pools_v3 { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlPoolV3), @@ -510,7 +510,7 @@ pub mod sql_pools_v3 { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -588,7 +588,7 @@ pub mod sql_pools_v3 { } } pub mod deactivate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -665,7 +665,7 @@ pub mod sql_pools_v3 { } } pub mod activate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -743,7 +743,7 @@ pub mod sql_pools_v3 { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -767,7 +767,7 @@ pub mod sql_pools_v3 { } } pub mod sql_databases { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -818,7 +818,7 @@ pub mod sql_databases { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -902,7 +902,7 @@ pub mod sql_databases { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlDatabase), @@ -983,7 +983,7 @@ pub mod sql_databases { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlDatabase), @@ -1057,7 +1057,7 @@ pub mod sql_databases { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1136,7 +1136,7 @@ pub mod sql_databases { } } pub mod list_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/testbase/Cargo.toml b/services/mgmt/testbase/Cargo.toml index 363fb5d750..d0126b3b9d 100644 --- a/services/mgmt/testbase/Cargo.toml +++ b/services/mgmt/testbase/Cargo.toml @@ -20,4 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2020-12-16-preview"] +no-default-version = [] "package-2020-12-16-preview" = [] diff --git a/services/mgmt/testbase/src/lib.rs b/services/mgmt/testbase/src/lib.rs index 8e593cd657..dd3a281fce 100644 --- a/services/mgmt/testbase/src/lib.rs +++ b/services/mgmt/testbase/src/lib.rs @@ -1,9 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2020-12-16-preview")] -mod package_2020_12_16_preview; +pub mod package_2020_12_16_preview; use azure_core::setters; -#[cfg(feature = "package-2020-12-16-preview")] +#[cfg(all(feature = "package-2020-12-16-preview", not(feature = "no-default-version")))] pub use package_2020_12_16_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -27,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/testbase/src/package_2020_12_16_preview/operations.rs b/services/mgmt/testbase/src/package_2020_12_16_preview/operations.rs index c78add8559..9bf29dfd50 100644 --- a/services/mgmt/testbase/src/package_2020_12_16_preview/operations.rs +++ b/services/mgmt/testbase/src/package_2020_12_16_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod skus { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -49,7 +49,7 @@ pub mod skus { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -73,7 +73,7 @@ pub mod skus { } } pub mod test_base_accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -125,7 +125,7 @@ pub mod test_base_accounts { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -202,7 +202,7 @@ pub mod test_base_accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -272,7 +272,7 @@ pub mod test_base_accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -354,7 +354,7 @@ pub mod test_base_accounts { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TestBaseAccountResource), @@ -433,7 +433,7 @@ pub mod test_base_accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TestBaseAccountResource), @@ -506,7 +506,7 @@ pub mod test_base_accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -583,7 +583,7 @@ pub mod test_base_accounts { } } pub mod offboard { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -668,7 +668,7 @@ pub mod test_base_accounts { } } pub mod get_file_upload_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -745,7 +745,7 @@ pub mod test_base_accounts { } } pub mod check_package_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -769,7 +769,7 @@ pub mod test_base_accounts { } } pub mod usage { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -822,7 +822,7 @@ pub mod usage { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -846,7 +846,7 @@ pub mod usage { } } pub mod available_os { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -897,7 +897,7 @@ pub mod available_os { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -969,7 +969,7 @@ pub mod available_os { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -993,7 +993,7 @@ pub mod available_os { } } pub mod flighting_rings { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1042,7 +1042,7 @@ pub mod flighting_rings { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1114,7 +1114,7 @@ pub mod flighting_rings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1138,7 +1138,7 @@ pub mod flighting_rings { } } pub mod test_types { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1187,7 +1187,7 @@ pub mod test_types { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1259,7 +1259,7 @@ pub mod test_types { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1283,7 +1283,7 @@ pub mod test_types { } } pub mod packages { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_test_base_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1337,7 +1337,7 @@ pub mod packages { } } pub mod list_by_test_base_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1409,7 +1409,7 @@ pub mod packages { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1489,7 +1489,7 @@ pub mod packages { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PackageResource), @@ -1570,7 +1570,7 @@ pub mod packages { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PackageResource), @@ -1645,7 +1645,7 @@ pub mod packages { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1724,7 +1724,7 @@ pub mod packages { } } pub mod hard_delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1806,7 +1806,7 @@ pub mod packages { } } pub mod get_download_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1830,7 +1830,7 @@ pub mod packages { } } pub mod test_summaries { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1879,7 +1879,7 @@ pub mod test_summaries { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1951,7 +1951,7 @@ pub mod test_summaries { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1975,7 +1975,7 @@ pub mod test_summaries { } } pub mod test_results { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2032,7 +2032,7 @@ pub mod test_results { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2106,7 +2106,7 @@ pub mod test_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2176,7 +2176,7 @@ pub mod test_results { } } pub mod get_download_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2248,7 +2248,7 @@ pub mod test_results { } } pub mod get_video_download_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2272,7 +2272,7 @@ pub mod test_results { } } pub mod os_updates { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2325,7 +2325,7 @@ pub mod os_updates { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2399,7 +2399,7 @@ pub mod os_updates { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2423,7 +2423,7 @@ pub mod os_updates { } } pub mod favorite_processes { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2474,7 +2474,7 @@ pub mod favorite_processes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2548,7 +2548,7 @@ pub mod favorite_processes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2624,7 +2624,7 @@ pub mod favorite_processes { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2694,7 +2694,7 @@ pub mod favorite_processes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2723,7 +2723,7 @@ pub mod favorite_processes { } } pub mod analysis_results { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2770,7 +2770,7 @@ pub mod analysis_results { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2837,7 +2837,7 @@ pub mod analysis_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2861,7 +2861,7 @@ pub mod analysis_results { } } pub mod email_events { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2910,7 +2910,7 @@ pub mod email_events { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2982,7 +2982,7 @@ pub mod email_events { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3006,7 +3006,7 @@ pub mod email_events { } } pub mod customer_events { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_test_base_account( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3060,7 +3060,7 @@ pub mod customer_events { } } pub mod list_by_test_base_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3132,7 +3132,7 @@ pub mod customer_events { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3212,7 +3212,7 @@ pub mod customer_events { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CustomerEventResource), @@ -3286,7 +3286,7 @@ pub mod customer_events { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3316,7 +3316,7 @@ pub mod customer_events { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.TestBase/operations", operation_config.base_path(),); @@ -3354,7 +3354,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/timeseriesinsights/Cargo.toml b/services/mgmt/timeseriesinsights/Cargo.toml index 51a601b2b4..738e9d0e41 100644 --- a/services/mgmt/timeseriesinsights/Cargo.toml +++ b/services/mgmt/timeseriesinsights/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2020-05-15"] +no-default-version = [] "package-preview-2021-03" = [] "package-preview-2021-06" = [] "package-2020-05-15" = [] diff --git a/services/mgmt/timeseriesinsights/src/lib.rs b/services/mgmt/timeseriesinsights/src/lib.rs index 0134dd7e6a..d7a88a5220 100644 --- a/services/mgmt/timeseriesinsights/src/lib.rs +++ b/services/mgmt/timeseriesinsights/src/lib.rs @@ -1,29 +1,37 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-preview-2021-03")] -mod package_preview_2021_03; -#[cfg(feature = "package-preview-2021-03")] +pub mod package_preview_2021_03; +#[cfg(all(feature = "package-preview-2021-03", not(feature = "no-default-version")))] pub use package_preview_2021_03::{models, operations, API_VERSION}; #[cfg(feature = "package-preview-2021-06")] -mod package_preview_2021_06; -#[cfg(feature = "package-preview-2021-06")] +pub mod package_preview_2021_06; +#[cfg(all(feature = "package-preview-2021-06", not(feature = "no-default-version")))] pub use package_preview_2021_06::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-05-15")] -mod package_2020_05_15; -#[cfg(feature = "package-2020-05-15")] +pub mod package_2020_05_15; +#[cfg(all(feature = "package-2020-05-15", not(feature = "no-default-version")))] pub use package_2020_05_15::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-08-preview")] -mod package_2018_08_preview; -#[cfg(feature = "package-2018-08-preview")] +pub mod package_2018_08_preview; +#[cfg(all(feature = "package-2018-08-preview", not(feature = "no-default-version")))] pub use package_2018_08_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-11-15")] -mod package_2017_11_15; -#[cfg(feature = "package-2017-11-15")] +pub mod package_2017_11_15; +#[cfg(all(feature = "package-2017-11-15", not(feature = "no-default-version")))] pub use package_2017_11_15::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-02-preview")] -mod package_2017_02_preview; +pub mod package_2017_02_preview; use azure_core::setters; -#[cfg(feature = "package-2017-02-preview")] +#[cfg(all(feature = "package-2017-02-preview", not(feature = "no-default-version")))] pub use package_2017_02_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -47,7 +55,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/timeseriesinsights/src/package_2017_02_preview/operations.rs b/services/mgmt/timeseriesinsights/src/package_2017_02_preview/operations.rs index 0e7505ad40..83209a56be 100644 --- a/services/mgmt/timeseriesinsights/src/package_2017_02_preview/operations.rs +++ b/services/mgmt/timeseriesinsights/src/package_2017_02_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.TimeSeriesInsights/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod environments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -110,7 +110,7 @@ pub mod environments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -192,7 +192,7 @@ pub mod environments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EnvironmentResource), @@ -271,7 +271,7 @@ pub mod environments { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -337,7 +337,7 @@ pub mod environments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -415,7 +415,7 @@ pub mod environments { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -484,7 +484,7 @@ pub mod environments { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -508,7 +508,7 @@ pub mod environments { } } pub mod event_sources { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -559,7 +559,7 @@ pub mod event_sources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -642,7 +642,7 @@ pub mod event_sources { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EventSourceResource), @@ -721,7 +721,7 @@ pub mod event_sources { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -789,7 +789,7 @@ pub mod event_sources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -867,7 +867,7 @@ pub mod event_sources { } } pub mod list_by_environment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -891,7 +891,7 @@ pub mod event_sources { } } pub mod reference_data_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -942,7 +942,7 @@ pub mod reference_data_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1025,7 +1025,7 @@ pub mod reference_data_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReferenceDataSetResource), @@ -1104,7 +1104,7 @@ pub mod reference_data_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1172,7 +1172,7 @@ pub mod reference_data_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1250,7 +1250,7 @@ pub mod reference_data_sets { } } pub mod list_by_environment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1274,7 +1274,7 @@ pub mod reference_data_sets { } } pub mod access_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1325,7 +1325,7 @@ pub mod access_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1408,7 +1408,7 @@ pub mod access_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessPolicyResource), @@ -1487,7 +1487,7 @@ pub mod access_policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1555,7 +1555,7 @@ pub mod access_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1633,7 +1633,7 @@ pub mod access_policies { } } pub mod list_by_environment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/timeseriesinsights/src/package_2017_11_15/operations.rs b/services/mgmt/timeseriesinsights/src/package_2017_11_15/operations.rs index cfb85784f0..ca2e9df0eb 100644 --- a/services/mgmt/timeseriesinsights/src/package_2017_11_15/operations.rs +++ b/services/mgmt/timeseriesinsights/src/package_2017_11_15/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.TimeSeriesInsights/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod environments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -114,7 +114,7 @@ pub mod environments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -196,7 +196,7 @@ pub mod environments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EnvironmentResource), @@ -275,7 +275,7 @@ pub mod environments { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -341,7 +341,7 @@ pub mod environments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -419,7 +419,7 @@ pub mod environments { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -488,7 +488,7 @@ pub mod environments { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -512,7 +512,7 @@ pub mod environments { } } pub mod event_sources { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -563,7 +563,7 @@ pub mod event_sources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -646,7 +646,7 @@ pub mod event_sources { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EventSourceResource), @@ -725,7 +725,7 @@ pub mod event_sources { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -793,7 +793,7 @@ pub mod event_sources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -871,7 +871,7 @@ pub mod event_sources { } } pub mod list_by_environment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -895,7 +895,7 @@ pub mod event_sources { } } pub mod reference_data_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -946,7 +946,7 @@ pub mod reference_data_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1029,7 +1029,7 @@ pub mod reference_data_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReferenceDataSetResource), @@ -1108,7 +1108,7 @@ pub mod reference_data_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1176,7 +1176,7 @@ pub mod reference_data_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1254,7 +1254,7 @@ pub mod reference_data_sets { } } pub mod list_by_environment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1278,7 +1278,7 @@ pub mod reference_data_sets { } } pub mod access_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1329,7 +1329,7 @@ pub mod access_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1412,7 +1412,7 @@ pub mod access_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessPolicyResource), @@ -1491,7 +1491,7 @@ pub mod access_policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1559,7 +1559,7 @@ pub mod access_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1637,7 +1637,7 @@ pub mod access_policies { } } pub mod list_by_environment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/timeseriesinsights/src/package_2018_08_preview/operations.rs b/services/mgmt/timeseriesinsights/src/package_2018_08_preview/operations.rs index cfb85784f0..ca2e9df0eb 100644 --- a/services/mgmt/timeseriesinsights/src/package_2018_08_preview/operations.rs +++ b/services/mgmt/timeseriesinsights/src/package_2018_08_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.TimeSeriesInsights/operations", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -61,7 +61,7 @@ pub mod operations { } } pub mod environments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -114,7 +114,7 @@ pub mod environments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -196,7 +196,7 @@ pub mod environments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EnvironmentResource), @@ -275,7 +275,7 @@ pub mod environments { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -341,7 +341,7 @@ pub mod environments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -419,7 +419,7 @@ pub mod environments { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -488,7 +488,7 @@ pub mod environments { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -512,7 +512,7 @@ pub mod environments { } } pub mod event_sources { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -563,7 +563,7 @@ pub mod event_sources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -646,7 +646,7 @@ pub mod event_sources { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EventSourceResource), @@ -725,7 +725,7 @@ pub mod event_sources { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -793,7 +793,7 @@ pub mod event_sources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -871,7 +871,7 @@ pub mod event_sources { } } pub mod list_by_environment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -895,7 +895,7 @@ pub mod event_sources { } } pub mod reference_data_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -946,7 +946,7 @@ pub mod reference_data_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1029,7 +1029,7 @@ pub mod reference_data_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReferenceDataSetResource), @@ -1108,7 +1108,7 @@ pub mod reference_data_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1176,7 +1176,7 @@ pub mod reference_data_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1254,7 +1254,7 @@ pub mod reference_data_sets { } } pub mod list_by_environment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1278,7 +1278,7 @@ pub mod reference_data_sets { } } pub mod access_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1329,7 +1329,7 @@ pub mod access_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1412,7 +1412,7 @@ pub mod access_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessPolicyResource), @@ -1491,7 +1491,7 @@ pub mod access_policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1559,7 +1559,7 @@ pub mod access_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1637,7 +1637,7 @@ pub mod access_policies { } } pub mod list_by_environment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/timeseriesinsights/src/package_2020_05_15/operations.rs b/services/mgmt/timeseriesinsights/src/package_2020_05_15/operations.rs index 78ecb81f7b..b5b10cfd3d 100644 --- a/services/mgmt/timeseriesinsights/src/package_2020_05_15/operations.rs +++ b/services/mgmt/timeseriesinsights/src/package_2020_05_15/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.TimeSeriesInsights/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod environments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -119,7 +119,7 @@ pub mod environments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -201,7 +201,7 @@ pub mod environments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EnvironmentResource), @@ -280,7 +280,7 @@ pub mod environments { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -346,7 +346,7 @@ pub mod environments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -424,7 +424,7 @@ pub mod environments { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -493,7 +493,7 @@ pub mod environments { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -517,7 +517,7 @@ pub mod environments { } } pub mod event_sources { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -568,7 +568,7 @@ pub mod event_sources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -651,7 +651,7 @@ pub mod event_sources { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EventSourceResource), @@ -730,7 +730,7 @@ pub mod event_sources { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -798,7 +798,7 @@ pub mod event_sources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -876,7 +876,7 @@ pub mod event_sources { } } pub mod list_by_environment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -900,7 +900,7 @@ pub mod event_sources { } } pub mod reference_data_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -951,7 +951,7 @@ pub mod reference_data_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1034,7 +1034,7 @@ pub mod reference_data_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReferenceDataSetResource), @@ -1113,7 +1113,7 @@ pub mod reference_data_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1181,7 +1181,7 @@ pub mod reference_data_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1259,7 +1259,7 @@ pub mod reference_data_sets { } } pub mod list_by_environment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1283,7 +1283,7 @@ pub mod reference_data_sets { } } pub mod access_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1334,7 +1334,7 @@ pub mod access_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1417,7 +1417,7 @@ pub mod access_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessPolicyResource), @@ -1496,7 +1496,7 @@ pub mod access_policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1564,7 +1564,7 @@ pub mod access_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1642,7 +1642,7 @@ pub mod access_policies { } } pub mod list_by_environment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/timeseriesinsights/src/package_preview_2021_03/operations.rs b/services/mgmt/timeseriesinsights/src/package_preview_2021_03/operations.rs index 6b727575a9..70668d1e2d 100644 --- a/services/mgmt/timeseriesinsights/src/package_preview_2021_03/operations.rs +++ b/services/mgmt/timeseriesinsights/src/package_preview_2021_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.TimeSeriesInsights/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod environments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -119,7 +119,7 @@ pub mod environments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -201,7 +201,7 @@ pub mod environments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EnvironmentResource), @@ -280,7 +280,7 @@ pub mod environments { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -346,7 +346,7 @@ pub mod environments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -424,7 +424,7 @@ pub mod environments { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -493,7 +493,7 @@ pub mod environments { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -517,7 +517,7 @@ pub mod environments { } } pub mod event_sources { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -568,7 +568,7 @@ pub mod event_sources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -651,7 +651,7 @@ pub mod event_sources { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EventSourceResource), @@ -730,7 +730,7 @@ pub mod event_sources { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -798,7 +798,7 @@ pub mod event_sources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -876,7 +876,7 @@ pub mod event_sources { } } pub mod list_by_environment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -900,7 +900,7 @@ pub mod event_sources { } } pub mod reference_data_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -951,7 +951,7 @@ pub mod reference_data_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1034,7 +1034,7 @@ pub mod reference_data_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReferenceDataSetResource), @@ -1113,7 +1113,7 @@ pub mod reference_data_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1181,7 +1181,7 @@ pub mod reference_data_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1259,7 +1259,7 @@ pub mod reference_data_sets { } } pub mod list_by_environment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1283,7 +1283,7 @@ pub mod reference_data_sets { } } pub mod access_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1334,7 +1334,7 @@ pub mod access_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1417,7 +1417,7 @@ pub mod access_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessPolicyResource), @@ -1496,7 +1496,7 @@ pub mod access_policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1564,7 +1564,7 @@ pub mod access_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1642,7 +1642,7 @@ pub mod access_policies { } } pub mod list_by_environment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1666,7 +1666,7 @@ pub mod access_policies { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1717,7 +1717,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1794,7 +1794,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1863,7 +1863,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1943,7 +1943,7 @@ pub mod private_endpoint_connections { } } pub mod list_by_environment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1967,7 +1967,7 @@ pub mod private_endpoint_connections { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list_supported( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2019,7 +2019,7 @@ pub mod private_link_resources { } } pub mod list_supported { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/timeseriesinsights/src/package_preview_2021_06/operations.rs b/services/mgmt/timeseriesinsights/src/package_preview_2021_06/operations.rs index 78ecb81f7b..b5b10cfd3d 100644 --- a/services/mgmt/timeseriesinsights/src/package_preview_2021_06/operations.rs +++ b/services/mgmt/timeseriesinsights/src/package_preview_2021_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.TimeSeriesInsights/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod environments { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -119,7 +119,7 @@ pub mod environments { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -201,7 +201,7 @@ pub mod environments { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EnvironmentResource), @@ -280,7 +280,7 @@ pub mod environments { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -346,7 +346,7 @@ pub mod environments { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -424,7 +424,7 @@ pub mod environments { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -493,7 +493,7 @@ pub mod environments { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -517,7 +517,7 @@ pub mod environments { } } pub mod event_sources { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -568,7 +568,7 @@ pub mod event_sources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -651,7 +651,7 @@ pub mod event_sources { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EventSourceResource), @@ -730,7 +730,7 @@ pub mod event_sources { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -798,7 +798,7 @@ pub mod event_sources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -876,7 +876,7 @@ pub mod event_sources { } } pub mod list_by_environment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -900,7 +900,7 @@ pub mod event_sources { } } pub mod reference_data_sets { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -951,7 +951,7 @@ pub mod reference_data_sets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1034,7 +1034,7 @@ pub mod reference_data_sets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ReferenceDataSetResource), @@ -1113,7 +1113,7 @@ pub mod reference_data_sets { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1181,7 +1181,7 @@ pub mod reference_data_sets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1259,7 +1259,7 @@ pub mod reference_data_sets { } } pub mod list_by_environment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1283,7 +1283,7 @@ pub mod reference_data_sets { } } pub mod access_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1334,7 +1334,7 @@ pub mod access_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1417,7 +1417,7 @@ pub mod access_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessPolicyResource), @@ -1496,7 +1496,7 @@ pub mod access_policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1564,7 +1564,7 @@ pub mod access_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1642,7 +1642,7 @@ pub mod access_policies { } } pub mod list_by_environment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/trafficmanager/Cargo.toml b/services/mgmt/trafficmanager/Cargo.toml index adc850a901..99b3a80f42 100644 --- a/services/mgmt/trafficmanager/Cargo.toml +++ b/services/mgmt/trafficmanager/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2018-08"] +no-default-version = [] "package-2018-08" = [] "package-2018-04" = [] "package-2018-03" = [] diff --git a/services/mgmt/trafficmanager/src/lib.rs b/services/mgmt/trafficmanager/src/lib.rs index 6b2520a137..84aeb6bb24 100644 --- a/services/mgmt/trafficmanager/src/lib.rs +++ b/services/mgmt/trafficmanager/src/lib.rs @@ -1,41 +1,49 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2018-08")] -mod package_2018_08; -#[cfg(feature = "package-2018-08")] +pub mod package_2018_08; +#[cfg(all(feature = "package-2018-08", not(feature = "no-default-version")))] pub use package_2018_08::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-04")] -mod package_2018_04; -#[cfg(feature = "package-2018-04")] +pub mod package_2018_04; +#[cfg(all(feature = "package-2018-04", not(feature = "no-default-version")))] pub use package_2018_04::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-03")] -mod package_2018_03; -#[cfg(feature = "package-2018-03")] +pub mod package_2018_03; +#[cfg(all(feature = "package-2018-03", not(feature = "no-default-version")))] pub use package_2018_03::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-02")] -mod package_2018_02; -#[cfg(feature = "package-2018-02")] +pub mod package_2018_02; +#[cfg(all(feature = "package-2018-02", not(feature = "no-default-version")))] pub use package_2018_02::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-09-preview")] -mod package_2017_09_preview; -#[cfg(feature = "package-2017-09-preview")] +pub mod package_2017_09_preview; +#[cfg(all(feature = "package-2017-09-preview", not(feature = "no-default-version")))] pub use package_2017_09_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-09-preview-only")] -mod package_2017_09_preview_only; -#[cfg(feature = "package-2017-09-preview-only")] +pub mod package_2017_09_preview_only; +#[cfg(all(feature = "package-2017-09-preview-only", not(feature = "no-default-version")))] pub use package_2017_09_preview_only::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-05")] -mod package_2017_05; -#[cfg(feature = "package-2017-05")] +pub mod package_2017_05; +#[cfg(all(feature = "package-2017-05", not(feature = "no-default-version")))] pub use package_2017_05::{models, operations, API_VERSION}; #[cfg(feature = "package-2017-03")] -mod package_2017_03; -#[cfg(feature = "package-2017-03")] +pub mod package_2017_03; +#[cfg(all(feature = "package-2017-03", not(feature = "no-default-version")))] pub use package_2017_03::{models, operations, API_VERSION}; #[cfg(feature = "package-2015-11")] -mod package_2015_11; +pub mod package_2015_11; use azure_core::setters; -#[cfg(feature = "package-2015-11")] +#[cfg(all(feature = "package-2015-11", not(feature = "no-default-version")))] pub use package_2015_11::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -59,7 +67,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/trafficmanager/src/package_2015_11/operations.rs b/services/mgmt/trafficmanager/src/package_2015_11/operations.rs index 42aefc4fbd..ba846e49dc 100644 --- a/services/mgmt/trafficmanager/src/package_2015_11/operations.rs +++ b/services/mgmt/trafficmanager/src/package_2015_11/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -55,7 +55,7 @@ pub mod endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -135,7 +135,7 @@ pub mod endpoints { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Endpoint), @@ -211,7 +211,7 @@ pub mod endpoints { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -276,7 +276,7 @@ pub mod endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -302,7 +302,7 @@ pub mod endpoints { } } pub mod profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn check_traffic_manager_relative_dns_name_availability( operation_config: &crate::OperationConfig, parameters: &CheckTrafficManagerRelativeDnsNameAvailabilityParameters, @@ -352,7 +352,7 @@ pub mod profiles { } } pub mod check_traffic_manager_relative_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -420,7 +420,7 @@ pub mod profiles { } } pub mod list_all_in_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -484,7 +484,7 @@ pub mod profiles { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -549,7 +549,7 @@ pub mod profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -625,7 +625,7 @@ pub mod profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Profile), @@ -697,7 +697,7 @@ pub mod profiles { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -758,7 +758,7 @@ pub mod profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/trafficmanager/src/package_2017_03/operations.rs b/services/mgmt/trafficmanager/src/package_2017_03/operations.rs index e9d770f0e4..4f6988ab0a 100644 --- a/services/mgmt/trafficmanager/src/package_2017_03/operations.rs +++ b/services/mgmt/trafficmanager/src/package_2017_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -57,7 +57,7 @@ pub mod endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -142,7 +142,7 @@ pub mod endpoints { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Endpoint), @@ -223,7 +223,7 @@ pub mod endpoints { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -303,7 +303,7 @@ pub mod endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeleteOperationResult), @@ -332,7 +332,7 @@ pub mod endpoints { } } pub mod profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn check_traffic_manager_relative_dns_name_availability( operation_config: &crate::OperationConfig, parameters: &CheckTrafficManagerRelativeDnsNameAvailabilityParameters, @@ -385,7 +385,7 @@ pub mod profiles { } } pub mod check_traffic_manager_relative_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -458,7 +458,7 @@ pub mod profiles { } } pub mod list_all_in_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -527,7 +527,7 @@ pub mod profiles { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -597,7 +597,7 @@ pub mod profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -678,7 +678,7 @@ pub mod profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Profile), @@ -755,7 +755,7 @@ pub mod profiles { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -831,7 +831,7 @@ pub mod profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeleteOperationResult), @@ -860,7 +860,7 @@ pub mod profiles { } } pub mod geographic_hierarchies { - use crate::models::*; + use super::{models, models::*}; pub async fn get_default( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -906,7 +906,7 @@ pub mod geographic_hierarchies { } } pub mod get_default { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/trafficmanager/src/package_2017_05/operations.rs b/services/mgmt/trafficmanager/src/package_2017_05/operations.rs index 270d769f17..fec0760d6d 100644 --- a/services/mgmt/trafficmanager/src/package_2017_05/operations.rs +++ b/services/mgmt/trafficmanager/src/package_2017_05/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -57,7 +57,7 @@ pub mod endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -142,7 +142,7 @@ pub mod endpoints { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Endpoint), @@ -223,7 +223,7 @@ pub mod endpoints { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -298,7 +298,7 @@ pub mod endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeleteOperationResult), @@ -327,7 +327,7 @@ pub mod endpoints { } } pub mod profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn check_traffic_manager_relative_dns_name_availability( operation_config: &crate::OperationConfig, parameters: &CheckTrafficManagerRelativeDnsNameAvailabilityParameters, @@ -380,7 +380,7 @@ pub mod profiles { } } pub mod check_traffic_manager_relative_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -453,7 +453,7 @@ pub mod profiles { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -522,7 +522,7 @@ pub mod profiles { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -592,7 +592,7 @@ pub mod profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -673,7 +673,7 @@ pub mod profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Profile), @@ -750,7 +750,7 @@ pub mod profiles { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -821,7 +821,7 @@ pub mod profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeleteOperationResult), @@ -850,7 +850,7 @@ pub mod profiles { } } pub mod geographic_hierarchies { - use crate::models::*; + use super::{models, models::*}; pub async fn get_default( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -896,7 +896,7 @@ pub mod geographic_hierarchies { } } pub mod get_default { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/trafficmanager/src/package_2017_09_preview/operations.rs b/services/mgmt/trafficmanager/src/package_2017_09_preview/operations.rs index a43876e9f1..dc8a0ef306 100644 --- a/services/mgmt/trafficmanager/src/package_2017_09_preview/operations.rs +++ b/services/mgmt/trafficmanager/src/package_2017_09_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -57,7 +57,7 @@ pub mod endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -142,7 +142,7 @@ pub mod endpoints { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Endpoint), @@ -223,7 +223,7 @@ pub mod endpoints { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -298,7 +298,7 @@ pub mod endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeleteOperationResult), @@ -327,7 +327,7 @@ pub mod endpoints { } } pub mod profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn check_traffic_manager_relative_dns_name_availability( operation_config: &crate::OperationConfig, parameters: &CheckTrafficManagerRelativeDnsNameAvailabilityParameters, @@ -380,7 +380,7 @@ pub mod profiles { } } pub mod check_traffic_manager_relative_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -453,7 +453,7 @@ pub mod profiles { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -522,7 +522,7 @@ pub mod profiles { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -592,7 +592,7 @@ pub mod profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -673,7 +673,7 @@ pub mod profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Profile), @@ -750,7 +750,7 @@ pub mod profiles { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -821,7 +821,7 @@ pub mod profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeleteOperationResult), @@ -850,7 +850,7 @@ pub mod profiles { } } pub mod geographic_hierarchies { - use crate::models::*; + use super::{models, models::*}; pub async fn get_default( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -896,7 +896,7 @@ pub mod geographic_hierarchies { } } pub mod get_default { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -920,7 +920,7 @@ pub mod geographic_hierarchies { } } pub mod heat_map { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -973,7 +973,7 @@ pub mod heat_map { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -997,7 +997,7 @@ pub mod heat_map { } } pub mod traffic_manager_user_metrics_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1042,7 +1042,7 @@ pub mod traffic_manager_user_metrics_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1111,7 +1111,7 @@ pub mod traffic_manager_user_metrics_keys { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1177,7 +1177,7 @@ pub mod traffic_manager_user_metrics_keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/trafficmanager/src/package_2017_09_preview_only/operations.rs b/services/mgmt/trafficmanager/src/package_2017_09_preview_only/operations.rs index 7efcc0fcac..9f6d191f19 100644 --- a/services/mgmt/trafficmanager/src/package_2017_09_preview_only/operations.rs +++ b/services/mgmt/trafficmanager/src/package_2017_09_preview_only/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod heat_map { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -57,7 +57,7 @@ pub mod heat_map { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -81,7 +81,7 @@ pub mod heat_map { } } pub mod traffic_manager_user_metrics_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -126,7 +126,7 @@ pub mod traffic_manager_user_metrics_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -195,7 +195,7 @@ pub mod traffic_manager_user_metrics_keys { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -261,7 +261,7 @@ pub mod traffic_manager_user_metrics_keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/trafficmanager/src/package_2018_02/operations.rs b/services/mgmt/trafficmanager/src/package_2018_02/operations.rs index a43876e9f1..dc8a0ef306 100644 --- a/services/mgmt/trafficmanager/src/package_2018_02/operations.rs +++ b/services/mgmt/trafficmanager/src/package_2018_02/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -57,7 +57,7 @@ pub mod endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -142,7 +142,7 @@ pub mod endpoints { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Endpoint), @@ -223,7 +223,7 @@ pub mod endpoints { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -298,7 +298,7 @@ pub mod endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeleteOperationResult), @@ -327,7 +327,7 @@ pub mod endpoints { } } pub mod profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn check_traffic_manager_relative_dns_name_availability( operation_config: &crate::OperationConfig, parameters: &CheckTrafficManagerRelativeDnsNameAvailabilityParameters, @@ -380,7 +380,7 @@ pub mod profiles { } } pub mod check_traffic_manager_relative_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -453,7 +453,7 @@ pub mod profiles { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -522,7 +522,7 @@ pub mod profiles { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -592,7 +592,7 @@ pub mod profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -673,7 +673,7 @@ pub mod profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Profile), @@ -750,7 +750,7 @@ pub mod profiles { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -821,7 +821,7 @@ pub mod profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeleteOperationResult), @@ -850,7 +850,7 @@ pub mod profiles { } } pub mod geographic_hierarchies { - use crate::models::*; + use super::{models, models::*}; pub async fn get_default( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -896,7 +896,7 @@ pub mod geographic_hierarchies { } } pub mod get_default { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -920,7 +920,7 @@ pub mod geographic_hierarchies { } } pub mod heat_map { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -973,7 +973,7 @@ pub mod heat_map { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -997,7 +997,7 @@ pub mod heat_map { } } pub mod traffic_manager_user_metrics_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1042,7 +1042,7 @@ pub mod traffic_manager_user_metrics_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1111,7 +1111,7 @@ pub mod traffic_manager_user_metrics_keys { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1177,7 +1177,7 @@ pub mod traffic_manager_user_metrics_keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/trafficmanager/src/package_2018_03/operations.rs b/services/mgmt/trafficmanager/src/package_2018_03/operations.rs index ac2ef9b6c1..50c7ae6d15 100644 --- a/services/mgmt/trafficmanager/src/package_2018_03/operations.rs +++ b/services/mgmt/trafficmanager/src/package_2018_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -57,7 +57,7 @@ pub mod endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -142,7 +142,7 @@ pub mod endpoints { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Endpoint), @@ -223,7 +223,7 @@ pub mod endpoints { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -298,7 +298,7 @@ pub mod endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeleteOperationResult), @@ -327,7 +327,7 @@ pub mod endpoints { } } pub mod profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn check_traffic_manager_relative_dns_name_availability( operation_config: &crate::OperationConfig, parameters: &CheckTrafficManagerRelativeDnsNameAvailabilityParameters, @@ -380,7 +380,7 @@ pub mod profiles { } } pub mod check_traffic_manager_relative_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -453,7 +453,7 @@ pub mod profiles { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -522,7 +522,7 @@ pub mod profiles { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -592,7 +592,7 @@ pub mod profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -673,7 +673,7 @@ pub mod profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Profile), @@ -750,7 +750,7 @@ pub mod profiles { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -821,7 +821,7 @@ pub mod profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeleteOperationResult), @@ -850,7 +850,7 @@ pub mod profiles { } } pub mod geographic_hierarchies { - use crate::models::*; + use super::{models, models::*}; pub async fn get_default( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -896,7 +896,7 @@ pub mod geographic_hierarchies { } } pub mod get_default { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -920,7 +920,7 @@ pub mod geographic_hierarchies { } } pub mod heat_map { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -973,7 +973,7 @@ pub mod heat_map { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/trafficmanager/src/package_2018_04/operations.rs b/services/mgmt/trafficmanager/src/package_2018_04/operations.rs index 088f72c50f..1ff544d2d9 100644 --- a/services/mgmt/trafficmanager/src/package_2018_04/operations.rs +++ b/services/mgmt/trafficmanager/src/package_2018_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -57,7 +57,7 @@ pub mod endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -142,7 +142,7 @@ pub mod endpoints { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Endpoint), @@ -223,7 +223,7 @@ pub mod endpoints { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -298,7 +298,7 @@ pub mod endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeleteOperationResult), @@ -327,7 +327,7 @@ pub mod endpoints { } } pub mod profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn check_traffic_manager_relative_dns_name_availability( operation_config: &crate::OperationConfig, parameters: &CheckTrafficManagerRelativeDnsNameAvailabilityParameters, @@ -380,7 +380,7 @@ pub mod profiles { } } pub mod check_traffic_manager_relative_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -453,7 +453,7 @@ pub mod profiles { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -522,7 +522,7 @@ pub mod profiles { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -592,7 +592,7 @@ pub mod profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -673,7 +673,7 @@ pub mod profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Profile), @@ -750,7 +750,7 @@ pub mod profiles { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -821,7 +821,7 @@ pub mod profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeleteOperationResult), @@ -850,7 +850,7 @@ pub mod profiles { } } pub mod geographic_hierarchies { - use crate::models::*; + use super::{models, models::*}; pub async fn get_default( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -896,7 +896,7 @@ pub mod geographic_hierarchies { } } pub mod get_default { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -920,7 +920,7 @@ pub mod geographic_hierarchies { } } pub mod heat_map { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -973,7 +973,7 @@ pub mod heat_map { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -997,7 +997,7 @@ pub mod heat_map { } } pub mod traffic_manager_user_metrics_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1042,7 +1042,7 @@ pub mod traffic_manager_user_metrics_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1111,7 +1111,7 @@ pub mod traffic_manager_user_metrics_keys { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1177,7 +1177,7 @@ pub mod traffic_manager_user_metrics_keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/trafficmanager/src/package_2018_08/operations.rs b/services/mgmt/trafficmanager/src/package_2018_08/operations.rs index 088f72c50f..1ff544d2d9 100644 --- a/services/mgmt/trafficmanager/src/package_2018_08/operations.rs +++ b/services/mgmt/trafficmanager/src/package_2018_08/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -57,7 +57,7 @@ pub mod endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -142,7 +142,7 @@ pub mod endpoints { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Endpoint), @@ -223,7 +223,7 @@ pub mod endpoints { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -298,7 +298,7 @@ pub mod endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeleteOperationResult), @@ -327,7 +327,7 @@ pub mod endpoints { } } pub mod profiles { - use crate::models::*; + use super::{models, models::*}; pub async fn check_traffic_manager_relative_dns_name_availability( operation_config: &crate::OperationConfig, parameters: &CheckTrafficManagerRelativeDnsNameAvailabilityParameters, @@ -380,7 +380,7 @@ pub mod profiles { } } pub mod check_traffic_manager_relative_dns_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -453,7 +453,7 @@ pub mod profiles { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -522,7 +522,7 @@ pub mod profiles { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -592,7 +592,7 @@ pub mod profiles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -673,7 +673,7 @@ pub mod profiles { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Profile), @@ -750,7 +750,7 @@ pub mod profiles { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -821,7 +821,7 @@ pub mod profiles { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeleteOperationResult), @@ -850,7 +850,7 @@ pub mod profiles { } } pub mod geographic_hierarchies { - use crate::models::*; + use super::{models, models::*}; pub async fn get_default( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -896,7 +896,7 @@ pub mod geographic_hierarchies { } } pub mod get_default { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -920,7 +920,7 @@ pub mod geographic_hierarchies { } } pub mod heat_map { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -973,7 +973,7 @@ pub mod heat_map { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -997,7 +997,7 @@ pub mod heat_map { } } pub mod traffic_manager_user_metrics_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1042,7 +1042,7 @@ pub mod traffic_manager_user_metrics_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1111,7 +1111,7 @@ pub mod traffic_manager_user_metrics_keys { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1177,7 +1177,7 @@ pub mod traffic_manager_user_metrics_keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/videoanalyzer/Cargo.toml b/services/mgmt/videoanalyzer/Cargo.toml index dff01951fb..87106c75f6 100644 --- a/services/mgmt/videoanalyzer/Cargo.toml +++ b/services/mgmt/videoanalyzer/Cargo.toml @@ -20,5 +20,6 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-preview-2021-11"] +no-default-version = [] "package-preview-2021-11" = [] "package-2021-05-01-preview" = [] diff --git a/services/mgmt/videoanalyzer/src/lib.rs b/services/mgmt/videoanalyzer/src/lib.rs index cddc412483..ef2788118f 100644 --- a/services/mgmt/videoanalyzer/src/lib.rs +++ b/services/mgmt/videoanalyzer/src/lib.rs @@ -1,13 +1,21 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-preview-2021-11")] -mod package_preview_2021_11; -#[cfg(feature = "package-preview-2021-11")] +pub mod package_preview_2021_11; +#[cfg(all(feature = "package-preview-2021-11", not(feature = "no-default-version")))] pub use package_preview_2021_11::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-05-01-preview")] -mod package_2021_05_01_preview; +pub mod package_2021_05_01_preview; use azure_core::setters; -#[cfg(feature = "package-2021-05-01-preview")] +#[cfg(all(feature = "package-2021-05-01-preview", not(feature = "no-default-version")))] pub use package_2021_05_01_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -31,7 +39,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/videoanalyzer/src/package_2021_05_01_preview/operations.rs b/services/mgmt/videoanalyzer/src/package_2021_05_01_preview/operations.rs index cf46353ea4..77fa2533fd 100644 --- a/services/mgmt/videoanalyzer/src/package_2021_05_01_preview/operations.rs +++ b/services/mgmt/videoanalyzer/src/package_2021_05_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Media/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod video_analyzers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -113,7 +113,7 @@ pub mod video_analyzers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -183,7 +183,7 @@ pub mod video_analyzers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -264,7 +264,7 @@ pub mod video_analyzers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VideoAnalyzer), @@ -341,7 +341,7 @@ pub mod video_analyzers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -407,7 +407,7 @@ pub mod video_analyzers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -482,7 +482,7 @@ pub mod video_analyzers { } } pub mod sync_storage_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -551,7 +551,7 @@ pub mod video_analyzers { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -575,7 +575,7 @@ pub mod video_analyzers { } } pub mod locations { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -629,7 +629,7 @@ pub mod locations { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -653,7 +653,7 @@ pub mod locations { } } pub mod edge_modules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -714,7 +714,7 @@ pub mod edge_modules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -786,7 +786,7 @@ pub mod edge_modules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -869,7 +869,7 @@ pub mod edge_modules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EdgeModuleEntity), @@ -942,7 +942,7 @@ pub mod edge_modules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1026,7 +1026,7 @@ pub mod edge_modules { } } pub mod list_provisioning_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1050,7 +1050,7 @@ pub mod edge_modules { } } pub mod videos { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1103,7 +1103,7 @@ pub mod videos { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1175,7 +1175,7 @@ pub mod videos { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1258,7 +1258,7 @@ pub mod videos { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VideoEntity), @@ -1337,7 +1337,7 @@ pub mod videos { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1405,7 +1405,7 @@ pub mod videos { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1486,7 +1486,7 @@ pub mod videos { } } pub mod list_streaming_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1510,7 +1510,7 @@ pub mod videos { } } pub mod access_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1563,7 +1563,7 @@ pub mod access_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1635,7 +1635,7 @@ pub mod access_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1718,7 +1718,7 @@ pub mod access_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessPolicyEntity), @@ -1797,7 +1797,7 @@ pub mod access_policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1865,7 +1865,7 @@ pub mod access_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/videoanalyzer/src/package_preview_2021_11/operations.rs b/services/mgmt/videoanalyzer/src/package_preview_2021_11/operations.rs index 29d107fbc0..bfe60b0a40 100644 --- a/services/mgmt/videoanalyzer/src/package_preview_2021_11/operations.rs +++ b/services/mgmt/videoanalyzer/src/package_preview_2021_11/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod edge_modules { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -57,7 +57,7 @@ pub mod edge_modules { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -129,7 +129,7 @@ pub mod edge_modules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -212,7 +212,7 @@ pub mod edge_modules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(EdgeModuleEntity), @@ -285,7 +285,7 @@ pub mod edge_modules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -369,7 +369,7 @@ pub mod edge_modules { } } pub mod list_provisioning_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -393,7 +393,7 @@ pub mod edge_modules { } } pub mod pipeline_topologies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -450,7 +450,7 @@ pub mod pipeline_topologies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -522,7 +522,7 @@ pub mod pipeline_topologies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -605,7 +605,7 @@ pub mod pipeline_topologies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PipelineTopology), @@ -684,7 +684,7 @@ pub mod pipeline_topologies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -752,7 +752,7 @@ pub mod pipeline_topologies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -781,7 +781,7 @@ pub mod pipeline_topologies { } } pub mod live_pipelines { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -838,7 +838,7 @@ pub mod live_pipelines { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -910,7 +910,7 @@ pub mod live_pipelines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -993,7 +993,7 @@ pub mod live_pipelines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LivePipeline), @@ -1072,7 +1072,7 @@ pub mod live_pipelines { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1140,7 +1140,7 @@ pub mod live_pipelines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1217,7 +1217,7 @@ pub mod live_pipelines { } } pub mod activate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1294,7 +1294,7 @@ pub mod live_pipelines { } } pub mod deactivate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1323,7 +1323,7 @@ pub mod live_pipelines { } } pub mod pipeline_jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1380,7 +1380,7 @@ pub mod pipeline_jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1452,7 +1452,7 @@ pub mod pipeline_jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1535,7 +1535,7 @@ pub mod pipeline_jobs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PipelineJob), @@ -1614,7 +1614,7 @@ pub mod pipeline_jobs { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1682,7 +1682,7 @@ pub mod pipeline_jobs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1756,7 +1756,7 @@ pub mod pipeline_jobs { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1785,7 +1785,7 @@ pub mod pipeline_jobs { } } pub mod live_pipeline_operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1838,7 +1838,7 @@ pub mod live_pipeline_operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1862,7 +1862,7 @@ pub mod live_pipeline_operation_statuses { } } pub mod pipeline_job_operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1915,7 +1915,7 @@ pub mod pipeline_job_operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1939,7 +1939,7 @@ pub mod pipeline_job_operation_statuses { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.Media/operations", operation_config.base_path(),); @@ -1977,7 +1977,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2001,7 +2001,7 @@ pub mod operations { } } pub mod video_analyzers { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2048,7 +2048,7 @@ pub mod video_analyzers { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2118,7 +2118,7 @@ pub mod video_analyzers { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2199,7 +2199,7 @@ pub mod video_analyzers { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VideoAnalyzer), @@ -2276,7 +2276,7 @@ pub mod video_analyzers { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2342,7 +2342,7 @@ pub mod video_analyzers { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2416,7 +2416,7 @@ pub mod video_analyzers { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2440,7 +2440,7 @@ pub mod video_analyzers { } } pub mod private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2489,7 +2489,7 @@ pub mod private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2561,7 +2561,7 @@ pub mod private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2585,7 +2585,7 @@ pub mod private_link_resources { } } pub mod private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2634,7 +2634,7 @@ pub mod private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2706,7 +2706,7 @@ pub mod private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2783,7 +2783,7 @@ pub mod private_endpoint_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2851,7 +2851,7 @@ pub mod private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2880,7 +2880,7 @@ pub mod private_endpoint_connections { } } pub mod operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2925,7 +2925,7 @@ pub mod operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2949,7 +2949,7 @@ pub mod operation_statuses { } } pub mod operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2995,7 +2995,7 @@ pub mod operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateEndpointConnection), @@ -3024,7 +3024,7 @@ pub mod operation_results { } } pub mod video_analyzer_operation_statuses { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3073,7 +3073,7 @@ pub mod video_analyzer_operation_statuses { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3097,7 +3097,7 @@ pub mod video_analyzer_operation_statuses { } } pub mod video_analyzer_operation_results { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3147,7 +3147,7 @@ pub mod video_analyzer_operation_results { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VideoAnalyzer), @@ -3176,7 +3176,7 @@ pub mod video_analyzer_operation_results { } } pub mod locations { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3230,7 +3230,7 @@ pub mod locations { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3254,7 +3254,7 @@ pub mod locations { } } pub mod videos { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3307,7 +3307,7 @@ pub mod videos { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3379,7 +3379,7 @@ pub mod videos { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3462,7 +3462,7 @@ pub mod videos { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VideoEntity), @@ -3541,7 +3541,7 @@ pub mod videos { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3609,7 +3609,7 @@ pub mod videos { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3690,7 +3690,7 @@ pub mod videos { } } pub mod list_content_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3714,7 +3714,7 @@ pub mod videos { } } pub mod access_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -3767,7 +3767,7 @@ pub mod access_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3839,7 +3839,7 @@ pub mod access_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3922,7 +3922,7 @@ pub mod access_policies { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AccessPolicyEntity), @@ -4001,7 +4001,7 @@ pub mod access_policies { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4069,7 +4069,7 @@ pub mod access_policies { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/visualstudio/Cargo.toml b/services/mgmt/visualstudio/Cargo.toml index 37957570c2..6b068dea54 100644 --- a/services/mgmt/visualstudio/Cargo.toml +++ b/services/mgmt/visualstudio/Cargo.toml @@ -20,4 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2014-04-preview"] +no-default-version = [] "package-2014-04-preview" = [] diff --git a/services/mgmt/visualstudio/src/lib.rs b/services/mgmt/visualstudio/src/lib.rs index f3ea9346f1..d93fd6634e 100644 --- a/services/mgmt/visualstudio/src/lib.rs +++ b/services/mgmt/visualstudio/src/lib.rs @@ -1,9 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2014-04-preview")] -mod package_2014_04_preview; +pub mod package_2014_04_preview; use azure_core::setters; -#[cfg(feature = "package-2014-04-preview")] +#[cfg(all(feature = "package-2014-04-preview", not(feature = "no-default-version")))] pub use package_2014_04_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -27,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/visualstudio/src/package_2014_04_preview/operations.rs b/services/mgmt/visualstudio/src/package_2014_04_preview/operations.rs index f72d01e795..9b5f28fe94 100644 --- a/services/mgmt/visualstudio/src/package_2014_04_preview/operations.rs +++ b/services/mgmt/visualstudio/src/package_2014_04_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/microsoft.visualstudio/operations", operation_config.base_path(),); @@ -39,7 +39,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -60,7 +60,7 @@ pub mod operations { } } pub mod accounts { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -110,7 +110,7 @@ pub mod accounts { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -178,7 +178,7 @@ pub mod accounts { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -244,7 +244,7 @@ pub mod accounts { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -317,7 +317,7 @@ pub mod accounts { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -387,7 +387,7 @@ pub mod accounts { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -449,7 +449,7 @@ pub mod accounts { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -470,7 +470,7 @@ pub mod accounts { } } pub mod extensions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_account( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -520,7 +520,7 @@ pub mod extensions { } } pub mod list_by_account { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -588,7 +588,7 @@ pub mod extensions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -659,7 +659,7 @@ pub mod extensions { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -728,7 +728,7 @@ pub mod extensions { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -790,7 +790,7 @@ pub mod extensions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -811,7 +811,7 @@ pub mod extensions { } } pub mod projects { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource_group( operation_config: &crate::OperationConfig, resource_group_name: &str, @@ -863,7 +863,7 @@ pub mod projects { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -931,7 +931,7 @@ pub mod projects { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1007,7 +1007,7 @@ pub mod projects { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProjectResource), @@ -1081,7 +1081,7 @@ pub mod projects { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1160,7 +1160,7 @@ pub mod projects { } } pub mod get_job_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ProjectResource), diff --git a/services/mgmt/vmware/Cargo.toml b/services/mgmt/vmware/Cargo.toml index d30cb3fed8..5804a61903 100644 --- a/services/mgmt/vmware/Cargo.toml +++ b/services/mgmt/vmware/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-06-01"] +no-default-version = [] "package-2021-06-01" = [] "package-2021-01-01-preview" = [] "package-2020-07-17-preview" = [] diff --git a/services/mgmt/vmware/src/lib.rs b/services/mgmt/vmware/src/lib.rs index 06f34f7fea..ed817a8b22 100644 --- a/services/mgmt/vmware/src/lib.rs +++ b/services/mgmt/vmware/src/lib.rs @@ -1,21 +1,29 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-06-01")] -mod package_2021_06_01; -#[cfg(feature = "package-2021-06-01")] +pub mod package_2021_06_01; +#[cfg(all(feature = "package-2021-06-01", not(feature = "no-default-version")))] pub use package_2021_06_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-01-01-preview")] -mod package_2021_01_01_preview; -#[cfg(feature = "package-2021-01-01-preview")] +pub mod package_2021_01_01_preview; +#[cfg(all(feature = "package-2021-01-01-preview", not(feature = "no-default-version")))] pub use package_2021_01_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-07-17-preview")] -mod package_2020_07_17_preview; -#[cfg(feature = "package-2020-07-17-preview")] +pub mod package_2020_07_17_preview; +#[cfg(all(feature = "package-2020-07-17-preview", not(feature = "no-default-version")))] pub use package_2020_07_17_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-03-20")] -mod package_2020_03_20; +pub mod package_2020_03_20; use azure_core::setters; -#[cfg(feature = "package-2020-03-20")] +#[cfg(all(feature = "package-2020-03-20", not(feature = "no-default-version")))] pub use package_2020_03_20::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -39,7 +47,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/vmware/src/package_2020_03_20/operations.rs b/services/mgmt/vmware/src/package_2020_03_20/operations.rs index 3ea7c1865d..53b86be798 100644 --- a/services/mgmt/vmware/src/package_2020_03_20/operations.rs +++ b/services/mgmt/vmware/src/package_2020_03_20/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.AVS/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod locations { - use crate::models::*; + use super::{models, models::*}; pub async fn check_trial_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -119,7 +119,7 @@ pub mod locations { } } pub mod check_trial_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -193,7 +193,7 @@ pub mod locations { } } pub mod check_quota_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -217,7 +217,7 @@ pub mod locations { } } pub mod private_clouds { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -264,7 +264,7 @@ pub mod private_clouds { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -333,7 +333,7 @@ pub mod private_clouds { } } pub mod list_in_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -403,7 +403,7 @@ pub mod private_clouds { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -484,7 +484,7 @@ pub mod private_clouds { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateCloud), @@ -567,7 +567,7 @@ pub mod private_clouds { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateCloud), @@ -639,7 +639,7 @@ pub mod private_clouds { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -721,7 +721,7 @@ pub mod private_clouds { } } pub mod list_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -745,7 +745,7 @@ pub mod private_clouds { } } pub mod clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -794,7 +794,7 @@ pub mod clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -866,7 +866,7 @@ pub mod clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -949,7 +949,7 @@ pub mod clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -1034,7 +1034,7 @@ pub mod clusters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -1108,7 +1108,7 @@ pub mod clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1138,7 +1138,7 @@ pub mod clusters { } } pub mod hcx_enterprise_sites { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1187,7 +1187,7 @@ pub mod hcx_enterprise_sites { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1259,7 +1259,7 @@ pub mod hcx_enterprise_sites { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1342,7 +1342,7 @@ pub mod hcx_enterprise_sites { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HcxEnterpriseSite), @@ -1415,7 +1415,7 @@ pub mod hcx_enterprise_sites { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1444,7 +1444,7 @@ pub mod hcx_enterprise_sites { } } pub mod authorizations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1493,7 +1493,7 @@ pub mod authorizations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1565,7 +1565,7 @@ pub mod authorizations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1648,7 +1648,7 @@ pub mod authorizations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteAuthorization), @@ -1722,7 +1722,7 @@ pub mod authorizations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/vmware/src/package_2020_07_17_preview/operations.rs b/services/mgmt/vmware/src/package_2020_07_17_preview/operations.rs index cae3818a7e..8dfdf7a8d2 100644 --- a/services/mgmt/vmware/src/package_2020_07_17_preview/operations.rs +++ b/services/mgmt/vmware/src/package_2020_07_17_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.AVS/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod locations { - use crate::models::*; + use super::{models, models::*}; pub async fn check_trial_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -119,7 +119,7 @@ pub mod locations { } } pub mod check_trial_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -193,7 +193,7 @@ pub mod locations { } } pub mod check_quota_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -217,7 +217,7 @@ pub mod locations { } } pub mod private_clouds { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -264,7 +264,7 @@ pub mod private_clouds { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -333,7 +333,7 @@ pub mod private_clouds { } } pub mod list_in_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -403,7 +403,7 @@ pub mod private_clouds { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -484,7 +484,7 @@ pub mod private_clouds { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateCloud), @@ -567,7 +567,7 @@ pub mod private_clouds { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateCloud), @@ -639,7 +639,7 @@ pub mod private_clouds { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -717,7 +717,7 @@ pub mod private_clouds { } } pub mod rotate_vcenter_password { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -792,7 +792,7 @@ pub mod private_clouds { } } pub mod rotate_nsxt_password { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -873,7 +873,7 @@ pub mod private_clouds { } } pub mod list_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -897,7 +897,7 @@ pub mod private_clouds { } } pub mod clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -946,7 +946,7 @@ pub mod clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1018,7 +1018,7 @@ pub mod clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1101,7 +1101,7 @@ pub mod clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -1186,7 +1186,7 @@ pub mod clusters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -1260,7 +1260,7 @@ pub mod clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1290,7 +1290,7 @@ pub mod clusters { } } pub mod hcx_enterprise_sites { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1339,7 +1339,7 @@ pub mod hcx_enterprise_sites { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1411,7 +1411,7 @@ pub mod hcx_enterprise_sites { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1494,7 +1494,7 @@ pub mod hcx_enterprise_sites { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HcxEnterpriseSite), @@ -1567,7 +1567,7 @@ pub mod hcx_enterprise_sites { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1596,7 +1596,7 @@ pub mod hcx_enterprise_sites { } } pub mod authorizations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1645,7 +1645,7 @@ pub mod authorizations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1717,7 +1717,7 @@ pub mod authorizations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1800,7 +1800,7 @@ pub mod authorizations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteAuthorization), @@ -1874,7 +1874,7 @@ pub mod authorizations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1904,7 +1904,7 @@ pub mod authorizations { } } pub mod global_reach_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1953,7 +1953,7 @@ pub mod global_reach_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2025,7 +2025,7 @@ pub mod global_reach_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2108,7 +2108,7 @@ pub mod global_reach_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GlobalReachConnection), @@ -2182,7 +2182,7 @@ pub mod global_reach_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2212,7 +2212,7 @@ pub mod global_reach_connections { } } pub mod workload_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn list_segments( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2264,7 +2264,7 @@ pub mod workload_networks { } } pub mod list_segments { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2339,7 +2339,7 @@ pub mod workload_networks { } } pub mod get_segment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2422,7 +2422,7 @@ pub mod workload_networks { } } pub mod create_segments { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadNetworkSegment), @@ -2505,7 +2505,7 @@ pub mod workload_networks { } } pub mod update_segments { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadNetworkSegment), @@ -2582,7 +2582,7 @@ pub mod workload_networks { } } pub mod delete_segment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2661,7 +2661,7 @@ pub mod workload_networks { } } pub mod list_dhcp { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2736,7 +2736,7 @@ pub mod workload_networks { } } pub mod get_dhcp { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2819,7 +2819,7 @@ pub mod workload_networks { } } pub mod create_dhcp { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadNetworkDhcp), @@ -2902,7 +2902,7 @@ pub mod workload_networks { } } pub mod update_dhcp { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadNetworkDhcp), @@ -2979,7 +2979,7 @@ pub mod workload_networks { } } pub mod delete_dhcp { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3058,7 +3058,7 @@ pub mod workload_networks { } } pub mod list_gateways { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3133,7 +3133,7 @@ pub mod workload_networks { } } pub mod get_gateway { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3206,7 +3206,7 @@ pub mod workload_networks { } } pub mod list_port_mirroring { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3274,7 +3274,7 @@ pub mod workload_networks { } } pub mod get_port_mirroring { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3352,7 +3352,7 @@ pub mod workload_networks { } } pub mod create_port_mirroring { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadNetworkPortMirroring), @@ -3430,7 +3430,7 @@ pub mod workload_networks { } } pub mod update_port_mirroring { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadNetworkPortMirroring), @@ -3502,7 +3502,7 @@ pub mod workload_networks { } } pub mod delete_port_mirroring { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3581,7 +3581,7 @@ pub mod workload_networks { } } pub mod list_vm_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3656,7 +3656,7 @@ pub mod workload_networks { } } pub mod get_vm_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3739,7 +3739,7 @@ pub mod workload_networks { } } pub mod create_vm_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadNetworkVmGroup), @@ -3822,7 +3822,7 @@ pub mod workload_networks { } } pub mod update_vm_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadNetworkVmGroup), @@ -3899,7 +3899,7 @@ pub mod workload_networks { } } pub mod delete_vm_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3980,7 +3980,7 @@ pub mod workload_networks { } } pub mod list_virtual_machines { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4055,7 +4055,7 @@ pub mod workload_networks { } } pub mod get_virtual_machine { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4128,7 +4128,7 @@ pub mod workload_networks { } } pub mod list_dns_services { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4203,7 +4203,7 @@ pub mod workload_networks { } } pub mod get_dns_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4286,7 +4286,7 @@ pub mod workload_networks { } } pub mod create_dns_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadNetworkDnsService), @@ -4369,7 +4369,7 @@ pub mod workload_networks { } } pub mod update_dns_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadNetworkDnsService), @@ -4446,7 +4446,7 @@ pub mod workload_networks { } } pub mod delete_dns_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4525,7 +4525,7 @@ pub mod workload_networks { } } pub mod list_dns_zones { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4600,7 +4600,7 @@ pub mod workload_networks { } } pub mod get_dns_zone { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4683,7 +4683,7 @@ pub mod workload_networks { } } pub mod create_dns_zone { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadNetworkDnsZone), @@ -4766,7 +4766,7 @@ pub mod workload_networks { } } pub mod update_dns_zone { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadNetworkDnsZone), @@ -4843,7 +4843,7 @@ pub mod workload_networks { } } pub mod delete_dns_zone { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4873,7 +4873,7 @@ pub mod workload_networks { } } pub mod addons { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -4922,7 +4922,7 @@ pub mod addons { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4994,7 +4994,7 @@ pub mod addons { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5077,7 +5077,7 @@ pub mod addons { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Addon), @@ -5151,7 +5151,7 @@ pub mod addons { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/vmware/src/package_2021_01_01_preview/operations.rs b/services/mgmt/vmware/src/package_2021_01_01_preview/operations.rs index e039da16fb..ad9a752330 100644 --- a/services/mgmt/vmware/src/package_2021_01_01_preview/operations.rs +++ b/services/mgmt/vmware/src/package_2021_01_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.AVS/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod locations { - use crate::models::*; + use super::{models, models::*}; pub async fn check_trial_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -119,7 +119,7 @@ pub mod locations { } } pub mod check_trial_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -193,7 +193,7 @@ pub mod locations { } } pub mod check_quota_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -217,7 +217,7 @@ pub mod locations { } } pub mod private_clouds { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -264,7 +264,7 @@ pub mod private_clouds { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -333,7 +333,7 @@ pub mod private_clouds { } } pub mod list_in_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -403,7 +403,7 @@ pub mod private_clouds { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -484,7 +484,7 @@ pub mod private_clouds { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateCloud), @@ -567,7 +567,7 @@ pub mod private_clouds { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateCloud), @@ -639,7 +639,7 @@ pub mod private_clouds { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -717,7 +717,7 @@ pub mod private_clouds { } } pub mod rotate_vcenter_password { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -792,7 +792,7 @@ pub mod private_clouds { } } pub mod rotate_nsxt_password { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -873,7 +873,7 @@ pub mod private_clouds { } } pub mod list_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -897,7 +897,7 @@ pub mod private_clouds { } } pub mod clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -946,7 +946,7 @@ pub mod clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1018,7 +1018,7 @@ pub mod clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1101,7 +1101,7 @@ pub mod clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -1186,7 +1186,7 @@ pub mod clusters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -1260,7 +1260,7 @@ pub mod clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1290,7 +1290,7 @@ pub mod clusters { } } pub mod datastores { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1341,7 +1341,7 @@ pub mod datastores { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1415,7 +1415,7 @@ pub mod datastores { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1497,7 +1497,7 @@ pub mod datastores { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Datastore), @@ -1573,7 +1573,7 @@ pub mod datastores { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1603,7 +1603,7 @@ pub mod datastores { } } pub mod hcx_enterprise_sites { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1652,7 +1652,7 @@ pub mod hcx_enterprise_sites { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1724,7 +1724,7 @@ pub mod hcx_enterprise_sites { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1807,7 +1807,7 @@ pub mod hcx_enterprise_sites { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HcxEnterpriseSite), @@ -1880,7 +1880,7 @@ pub mod hcx_enterprise_sites { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1909,7 +1909,7 @@ pub mod hcx_enterprise_sites { } } pub mod authorizations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1958,7 +1958,7 @@ pub mod authorizations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2030,7 +2030,7 @@ pub mod authorizations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2113,7 +2113,7 @@ pub mod authorizations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteAuthorization), @@ -2187,7 +2187,7 @@ pub mod authorizations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2217,7 +2217,7 @@ pub mod authorizations { } } pub mod global_reach_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2266,7 +2266,7 @@ pub mod global_reach_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2338,7 +2338,7 @@ pub mod global_reach_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2421,7 +2421,7 @@ pub mod global_reach_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GlobalReachConnection), @@ -2495,7 +2495,7 @@ pub mod global_reach_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2525,7 +2525,7 @@ pub mod global_reach_connections { } } pub mod workload_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn list_segments( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2577,7 +2577,7 @@ pub mod workload_networks { } } pub mod list_segments { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2652,7 +2652,7 @@ pub mod workload_networks { } } pub mod get_segment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2735,7 +2735,7 @@ pub mod workload_networks { } } pub mod create_segments { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadNetworkSegment), @@ -2818,7 +2818,7 @@ pub mod workload_networks { } } pub mod update_segments { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadNetworkSegment), @@ -2895,7 +2895,7 @@ pub mod workload_networks { } } pub mod delete_segment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2974,7 +2974,7 @@ pub mod workload_networks { } } pub mod list_dhcp { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3049,7 +3049,7 @@ pub mod workload_networks { } } pub mod get_dhcp { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3132,7 +3132,7 @@ pub mod workload_networks { } } pub mod create_dhcp { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadNetworkDhcp), @@ -3215,7 +3215,7 @@ pub mod workload_networks { } } pub mod update_dhcp { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadNetworkDhcp), @@ -3292,7 +3292,7 @@ pub mod workload_networks { } } pub mod delete_dhcp { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3371,7 +3371,7 @@ pub mod workload_networks { } } pub mod list_gateways { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3446,7 +3446,7 @@ pub mod workload_networks { } } pub mod get_gateway { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3519,7 +3519,7 @@ pub mod workload_networks { } } pub mod list_port_mirroring { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3587,7 +3587,7 @@ pub mod workload_networks { } } pub mod get_port_mirroring { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3665,7 +3665,7 @@ pub mod workload_networks { } } pub mod create_port_mirroring { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadNetworkPortMirroring), @@ -3743,7 +3743,7 @@ pub mod workload_networks { } } pub mod update_port_mirroring { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadNetworkPortMirroring), @@ -3815,7 +3815,7 @@ pub mod workload_networks { } } pub mod delete_port_mirroring { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3894,7 +3894,7 @@ pub mod workload_networks { } } pub mod list_vm_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3969,7 +3969,7 @@ pub mod workload_networks { } } pub mod get_vm_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4052,7 +4052,7 @@ pub mod workload_networks { } } pub mod create_vm_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadNetworkVmGroup), @@ -4135,7 +4135,7 @@ pub mod workload_networks { } } pub mod update_vm_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadNetworkVmGroup), @@ -4212,7 +4212,7 @@ pub mod workload_networks { } } pub mod delete_vm_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4293,7 +4293,7 @@ pub mod workload_networks { } } pub mod list_virtual_machines { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4368,7 +4368,7 @@ pub mod workload_networks { } } pub mod get_virtual_machine { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4441,7 +4441,7 @@ pub mod workload_networks { } } pub mod list_dns_services { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4516,7 +4516,7 @@ pub mod workload_networks { } } pub mod get_dns_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4599,7 +4599,7 @@ pub mod workload_networks { } } pub mod create_dns_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadNetworkDnsService), @@ -4682,7 +4682,7 @@ pub mod workload_networks { } } pub mod update_dns_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadNetworkDnsService), @@ -4759,7 +4759,7 @@ pub mod workload_networks { } } pub mod delete_dns_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4838,7 +4838,7 @@ pub mod workload_networks { } } pub mod list_dns_zones { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4913,7 +4913,7 @@ pub mod workload_networks { } } pub mod get_dns_zone { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4996,7 +4996,7 @@ pub mod workload_networks { } } pub mod create_dns_zone { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadNetworkDnsZone), @@ -5079,7 +5079,7 @@ pub mod workload_networks { } } pub mod update_dns_zone { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadNetworkDnsZone), @@ -5156,7 +5156,7 @@ pub mod workload_networks { } } pub mod delete_dns_zone { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5186,7 +5186,7 @@ pub mod workload_networks { } } pub mod addons { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5235,7 +5235,7 @@ pub mod addons { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5307,7 +5307,7 @@ pub mod addons { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5390,7 +5390,7 @@ pub mod addons { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Addon), @@ -5464,7 +5464,7 @@ pub mod addons { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/vmware/src/package_2021_06_01/operations.rs b/services/mgmt/vmware/src/package_2021_06_01/operations.rs index 92860cfcef..d9e924054b 100644 --- a/services/mgmt/vmware/src/package_2021_06_01/operations.rs +++ b/services/mgmt/vmware/src/package_2021_06_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.AVS/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod locations { - use crate::models::*; + use super::{models, models::*}; pub async fn check_trial_availability( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -119,7 +119,7 @@ pub mod locations { } } pub mod check_trial_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -193,7 +193,7 @@ pub mod locations { } } pub mod check_quota_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -217,7 +217,7 @@ pub mod locations { } } pub mod private_clouds { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -264,7 +264,7 @@ pub mod private_clouds { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -333,7 +333,7 @@ pub mod private_clouds { } } pub mod list_in_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -403,7 +403,7 @@ pub mod private_clouds { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -484,7 +484,7 @@ pub mod private_clouds { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateCloud), @@ -567,7 +567,7 @@ pub mod private_clouds { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PrivateCloud), @@ -639,7 +639,7 @@ pub mod private_clouds { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -717,7 +717,7 @@ pub mod private_clouds { } } pub mod rotate_vcenter_password { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -792,7 +792,7 @@ pub mod private_clouds { } } pub mod rotate_nsxt_password { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -873,7 +873,7 @@ pub mod private_clouds { } } pub mod list_admin_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -897,7 +897,7 @@ pub mod private_clouds { } } pub mod clusters { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -946,7 +946,7 @@ pub mod clusters { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1018,7 +1018,7 @@ pub mod clusters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1101,7 +1101,7 @@ pub mod clusters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -1186,7 +1186,7 @@ pub mod clusters { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Cluster), @@ -1260,7 +1260,7 @@ pub mod clusters { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1290,7 +1290,7 @@ pub mod clusters { } } pub mod datastores { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1341,7 +1341,7 @@ pub mod datastores { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1415,7 +1415,7 @@ pub mod datastores { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1500,7 +1500,7 @@ pub mod datastores { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Datastore), @@ -1576,7 +1576,7 @@ pub mod datastores { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1606,7 +1606,7 @@ pub mod datastores { } } pub mod hcx_enterprise_sites { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1655,7 +1655,7 @@ pub mod hcx_enterprise_sites { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1727,7 +1727,7 @@ pub mod hcx_enterprise_sites { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1810,7 +1810,7 @@ pub mod hcx_enterprise_sites { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(HcxEnterpriseSite), @@ -1883,7 +1883,7 @@ pub mod hcx_enterprise_sites { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1912,7 +1912,7 @@ pub mod hcx_enterprise_sites { } } pub mod authorizations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1961,7 +1961,7 @@ pub mod authorizations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2033,7 +2033,7 @@ pub mod authorizations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2116,7 +2116,7 @@ pub mod authorizations { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ExpressRouteAuthorization), @@ -2190,7 +2190,7 @@ pub mod authorizations { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2220,7 +2220,7 @@ pub mod authorizations { } } pub mod global_reach_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2269,7 +2269,7 @@ pub mod global_reach_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2341,7 +2341,7 @@ pub mod global_reach_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2424,7 +2424,7 @@ pub mod global_reach_connections { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(GlobalReachConnection), @@ -2498,7 +2498,7 @@ pub mod global_reach_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2528,7 +2528,7 @@ pub mod global_reach_connections { } } pub mod workload_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn list_segments( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -2580,7 +2580,7 @@ pub mod workload_networks { } } pub mod list_segments { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2655,7 +2655,7 @@ pub mod workload_networks { } } pub mod get_segment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2738,7 +2738,7 @@ pub mod workload_networks { } } pub mod create_segments { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadNetworkSegment), @@ -2821,7 +2821,7 @@ pub mod workload_networks { } } pub mod update_segments { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadNetworkSegment), @@ -2898,7 +2898,7 @@ pub mod workload_networks { } } pub mod delete_segment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2977,7 +2977,7 @@ pub mod workload_networks { } } pub mod list_dhcp { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3052,7 +3052,7 @@ pub mod workload_networks { } } pub mod get_dhcp { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3135,7 +3135,7 @@ pub mod workload_networks { } } pub mod create_dhcp { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadNetworkDhcp), @@ -3218,7 +3218,7 @@ pub mod workload_networks { } } pub mod update_dhcp { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadNetworkDhcp), @@ -3295,7 +3295,7 @@ pub mod workload_networks { } } pub mod delete_dhcp { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3374,7 +3374,7 @@ pub mod workload_networks { } } pub mod list_gateways { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3449,7 +3449,7 @@ pub mod workload_networks { } } pub mod get_gateway { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3522,7 +3522,7 @@ pub mod workload_networks { } } pub mod list_port_mirroring { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3590,7 +3590,7 @@ pub mod workload_networks { } } pub mod get_port_mirroring { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3668,7 +3668,7 @@ pub mod workload_networks { } } pub mod create_port_mirroring { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadNetworkPortMirroring), @@ -3746,7 +3746,7 @@ pub mod workload_networks { } } pub mod update_port_mirroring { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadNetworkPortMirroring), @@ -3818,7 +3818,7 @@ pub mod workload_networks { } } pub mod delete_port_mirroring { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3897,7 +3897,7 @@ pub mod workload_networks { } } pub mod list_vm_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3972,7 +3972,7 @@ pub mod workload_networks { } } pub mod get_vm_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4055,7 +4055,7 @@ pub mod workload_networks { } } pub mod create_vm_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadNetworkVmGroup), @@ -4138,7 +4138,7 @@ pub mod workload_networks { } } pub mod update_vm_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadNetworkVmGroup), @@ -4215,7 +4215,7 @@ pub mod workload_networks { } } pub mod delete_vm_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4296,7 +4296,7 @@ pub mod workload_networks { } } pub mod list_virtual_machines { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4371,7 +4371,7 @@ pub mod workload_networks { } } pub mod get_virtual_machine { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4444,7 +4444,7 @@ pub mod workload_networks { } } pub mod list_dns_services { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4519,7 +4519,7 @@ pub mod workload_networks { } } pub mod get_dns_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4602,7 +4602,7 @@ pub mod workload_networks { } } pub mod create_dns_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadNetworkDnsService), @@ -4685,7 +4685,7 @@ pub mod workload_networks { } } pub mod update_dns_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadNetworkDnsService), @@ -4762,7 +4762,7 @@ pub mod workload_networks { } } pub mod delete_dns_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4841,7 +4841,7 @@ pub mod workload_networks { } } pub mod list_dns_zones { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4916,7 +4916,7 @@ pub mod workload_networks { } } pub mod get_dns_zone { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4999,7 +4999,7 @@ pub mod workload_networks { } } pub mod create_dns_zone { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadNetworkDnsZone), @@ -5082,7 +5082,7 @@ pub mod workload_networks { } } pub mod update_dns_zone { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadNetworkDnsZone), @@ -5159,7 +5159,7 @@ pub mod workload_networks { } } pub mod delete_dns_zone { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5238,7 +5238,7 @@ pub mod workload_networks { } } pub mod list_public_i_ps { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5313,7 +5313,7 @@ pub mod workload_networks { } } pub mod get_public_ip { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5396,7 +5396,7 @@ pub mod workload_networks { } } pub mod create_public_ip { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WorkloadNetworkPublicIp), @@ -5473,7 +5473,7 @@ pub mod workload_networks { } } pub mod delete_public_ip { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5503,7 +5503,7 @@ pub mod workload_networks { } } pub mod cloud_links { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5552,7 +5552,7 @@ pub mod cloud_links { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5624,7 +5624,7 @@ pub mod cloud_links { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5707,7 +5707,7 @@ pub mod cloud_links { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(CloudLink), @@ -5781,7 +5781,7 @@ pub mod cloud_links { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5811,7 +5811,7 @@ pub mod cloud_links { } } pub mod addons { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -5860,7 +5860,7 @@ pub mod addons { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5932,7 +5932,7 @@ pub mod addons { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6015,7 +6015,7 @@ pub mod addons { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Addon), @@ -6089,7 +6089,7 @@ pub mod addons { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6119,7 +6119,7 @@ pub mod addons { } } pub mod script_packages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6168,7 +6168,7 @@ pub mod script_packages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6240,7 +6240,7 @@ pub mod script_packages { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6264,7 +6264,7 @@ pub mod script_packages { } } pub mod script_cmdlets { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6315,7 +6315,7 @@ pub mod script_cmdlets { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6389,7 +6389,7 @@ pub mod script_cmdlets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6413,7 +6413,7 @@ pub mod script_cmdlets { } } pub mod script_executions { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -6462,7 +6462,7 @@ pub mod script_executions { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6534,7 +6534,7 @@ pub mod script_executions { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6617,7 +6617,7 @@ pub mod script_executions { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ScriptExecution), @@ -6691,7 +6691,7 @@ pub mod script_executions { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -6778,7 +6778,7 @@ pub mod script_executions { } } pub mod get_execution_logs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/vmwarecloudsimple/Cargo.toml b/services/mgmt/vmwarecloudsimple/Cargo.toml index e0e4eb649a..c02dd1f618 100644 --- a/services/mgmt/vmwarecloudsimple/Cargo.toml +++ b/services/mgmt/vmwarecloudsimple/Cargo.toml @@ -20,4 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2019-04-01"] +no-default-version = [] "package-2019-04-01" = [] diff --git a/services/mgmt/vmwarecloudsimple/src/lib.rs b/services/mgmt/vmwarecloudsimple/src/lib.rs index ef5ce01339..9e4cb2ebcc 100644 --- a/services/mgmt/vmwarecloudsimple/src/lib.rs +++ b/services/mgmt/vmwarecloudsimple/src/lib.rs @@ -1,9 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2019-04-01")] -mod package_2019_04_01; +pub mod package_2019_04_01; use azure_core::setters; -#[cfg(feature = "package-2019-04-01")] +#[cfg(all(feature = "package-2019-04-01", not(feature = "no-default-version")))] pub use package_2019_04_01::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -27,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/vmwarecloudsimple/src/package_2019_04_01/operations.rs b/services/mgmt/vmwarecloudsimple/src/package_2019_04_01/operations.rs index c6c25ecd42..8983a8ecc5 100644 --- a/services/mgmt/vmwarecloudsimple/src/package_2019_04_01/operations.rs +++ b/services/mgmt/vmwarecloudsimple/src/package_2019_04_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.VMwareCloudSimple/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -116,7 +116,7 @@ pub mod operations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(OperationResource), @@ -146,7 +146,7 @@ pub mod operations { } } pub mod dedicated_cloud_nodes { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -206,7 +206,7 @@ pub mod dedicated_cloud_nodes { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -291,7 +291,7 @@ pub mod dedicated_cloud_nodes { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -361,7 +361,7 @@ pub mod dedicated_cloud_nodes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -438,7 +438,7 @@ pub mod dedicated_cloud_nodes { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -510,7 +510,7 @@ pub mod dedicated_cloud_nodes { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -575,7 +575,7 @@ pub mod dedicated_cloud_nodes { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -599,7 +599,7 @@ pub mod dedicated_cloud_nodes { } } pub mod dedicated_cloud_services { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -659,7 +659,7 @@ pub mod dedicated_cloud_services { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -744,7 +744,7 @@ pub mod dedicated_cloud_services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -814,7 +814,7 @@ pub mod dedicated_cloud_services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -889,7 +889,7 @@ pub mod dedicated_cloud_services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -961,7 +961,7 @@ pub mod dedicated_cloud_services { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1026,7 +1026,7 @@ pub mod dedicated_cloud_services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1050,7 +1050,7 @@ pub mod dedicated_cloud_services { } } pub mod skus_availability { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1101,7 +1101,7 @@ pub mod skus_availability { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1125,7 +1125,7 @@ pub mod skus_availability { } } pub mod private_clouds { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1172,7 +1172,7 @@ pub mod private_clouds { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1242,7 +1242,7 @@ pub mod private_clouds { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1266,7 +1266,7 @@ pub mod private_clouds { } } pub mod customization_policies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1319,7 +1319,7 @@ pub mod customization_policies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1391,7 +1391,7 @@ pub mod customization_policies { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1415,7 +1415,7 @@ pub mod customization_policies { } } pub mod resource_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1464,7 +1464,7 @@ pub mod resource_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1536,7 +1536,7 @@ pub mod resource_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1560,7 +1560,7 @@ pub mod resource_pools { } } pub mod virtual_machine_templates { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1611,7 +1611,7 @@ pub mod virtual_machine_templates { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1683,7 +1683,7 @@ pub mod virtual_machine_templates { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1707,7 +1707,7 @@ pub mod virtual_machine_templates { } } pub mod virtual_networks { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1758,7 +1758,7 @@ pub mod virtual_networks { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1830,7 +1830,7 @@ pub mod virtual_networks { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1854,7 +1854,7 @@ pub mod virtual_networks { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1905,7 +1905,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1929,7 +1929,7 @@ pub mod usages { } } pub mod virtual_machines { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_subscription( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1989,7 +1989,7 @@ pub mod virtual_machines { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2074,7 +2074,7 @@ pub mod virtual_machines { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2144,7 +2144,7 @@ pub mod virtual_machines { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2227,7 +2227,7 @@ pub mod virtual_machines { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(VirtualMachine), @@ -2304,7 +2304,7 @@ pub mod virtual_machines { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2372,7 +2372,7 @@ pub mod virtual_machines { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2446,7 +2446,7 @@ pub mod virtual_machines { } } pub mod start { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2529,7 +2529,7 @@ pub mod virtual_machines { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/webpubsub/Cargo.toml b/services/mgmt/webpubsub/Cargo.toml index c7570800d9..2632bbb6cc 100644 --- a/services/mgmt/webpubsub/Cargo.toml +++ b/services/mgmt/webpubsub/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-10-01"] +no-default-version = [] "package-2021-10-01" = [] "package-2021-09-01-preview" = [] "package-2021-06-01-preview" = [] diff --git a/services/mgmt/webpubsub/src/lib.rs b/services/mgmt/webpubsub/src/lib.rs index baef6f5dd4..a0d656ab0a 100644 --- a/services/mgmt/webpubsub/src/lib.rs +++ b/services/mgmt/webpubsub/src/lib.rs @@ -1,21 +1,29 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-10-01")] -mod package_2021_10_01; -#[cfg(feature = "package-2021-10-01")] +pub mod package_2021_10_01; +#[cfg(all(feature = "package-2021-10-01", not(feature = "no-default-version")))] pub use package_2021_10_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-09-01-preview")] -mod package_2021_09_01_preview; -#[cfg(feature = "package-2021-09-01-preview")] +pub mod package_2021_09_01_preview; +#[cfg(all(feature = "package-2021-09-01-preview", not(feature = "no-default-version")))] pub use package_2021_09_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-06-01-preview")] -mod package_2021_06_01_preview; -#[cfg(feature = "package-2021-06-01-preview")] +pub mod package_2021_06_01_preview; +#[cfg(all(feature = "package-2021-06-01-preview", not(feature = "no-default-version")))] pub use package_2021_06_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-04-01-preview")] -mod package_2021_04_01_preview; +pub mod package_2021_04_01_preview; use azure_core::setters; -#[cfg(feature = "package-2021-04-01-preview")] +#[cfg(all(feature = "package-2021-04-01-preview", not(feature = "no-default-version")))] pub use package_2021_04_01_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -39,7 +47,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/webpubsub/src/package_2021_04_01_preview/operations.rs b/services/mgmt/webpubsub/src/package_2021_04_01_preview/operations.rs index ce47e09b57..ff02ec2bb8 100644 --- a/services/mgmt/webpubsub/src/package_2021_04_01_preview/operations.rs +++ b/services/mgmt/webpubsub/src/package_2021_04_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.SignalRService/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod web_pub_sub { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, location: &str, @@ -120,7 +120,7 @@ pub mod web_pub_sub { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -189,7 +189,7 @@ pub mod web_pub_sub { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -262,7 +262,7 @@ pub mod web_pub_sub { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -332,7 +332,7 @@ pub mod web_pub_sub { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -414,7 +414,7 @@ pub mod web_pub_sub { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WebPubSubResource), @@ -493,7 +493,7 @@ pub mod web_pub_sub { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WebPubSubResource), @@ -565,7 +565,7 @@ pub mod web_pub_sub { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -645,7 +645,7 @@ pub mod web_pub_sub { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -720,7 +720,7 @@ pub mod web_pub_sub { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -790,7 +790,7 @@ pub mod web_pub_sub { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -819,7 +819,7 @@ pub mod web_pub_sub { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -866,7 +866,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -890,7 +890,7 @@ pub mod usages { } } pub mod web_pub_sub_private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -939,7 +939,7 @@ pub mod web_pub_sub_private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1011,7 +1011,7 @@ pub mod web_pub_sub_private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1085,7 +1085,7 @@ pub mod web_pub_sub_private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1154,7 +1154,7 @@ pub mod web_pub_sub_private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1184,7 +1184,7 @@ pub mod web_pub_sub_private_endpoint_connections { } } pub mod web_pub_sub_private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1233,7 +1233,7 @@ pub mod web_pub_sub_private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1257,7 +1257,7 @@ pub mod web_pub_sub_private_link_resources { } } pub mod web_pub_sub_shared_private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1306,7 +1306,7 @@ pub mod web_pub_sub_shared_private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1378,7 +1378,7 @@ pub mod web_pub_sub_shared_private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1461,7 +1461,7 @@ pub mod web_pub_sub_shared_private_link_resources { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SharedPrivateLinkResource), @@ -1535,7 +1535,7 @@ pub mod web_pub_sub_shared_private_link_resources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/webpubsub/src/package_2021_06_01_preview/operations.rs b/services/mgmt/webpubsub/src/package_2021_06_01_preview/operations.rs index ce47e09b57..ff02ec2bb8 100644 --- a/services/mgmt/webpubsub/src/package_2021_06_01_preview/operations.rs +++ b/services/mgmt/webpubsub/src/package_2021_06_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.SignalRService/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod web_pub_sub { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, location: &str, @@ -120,7 +120,7 @@ pub mod web_pub_sub { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -189,7 +189,7 @@ pub mod web_pub_sub { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -262,7 +262,7 @@ pub mod web_pub_sub { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -332,7 +332,7 @@ pub mod web_pub_sub { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -414,7 +414,7 @@ pub mod web_pub_sub { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WebPubSubResource), @@ -493,7 +493,7 @@ pub mod web_pub_sub { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WebPubSubResource), @@ -565,7 +565,7 @@ pub mod web_pub_sub { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -645,7 +645,7 @@ pub mod web_pub_sub { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -720,7 +720,7 @@ pub mod web_pub_sub { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -790,7 +790,7 @@ pub mod web_pub_sub { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -819,7 +819,7 @@ pub mod web_pub_sub { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -866,7 +866,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -890,7 +890,7 @@ pub mod usages { } } pub mod web_pub_sub_private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -939,7 +939,7 @@ pub mod web_pub_sub_private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1011,7 +1011,7 @@ pub mod web_pub_sub_private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1085,7 +1085,7 @@ pub mod web_pub_sub_private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1154,7 +1154,7 @@ pub mod web_pub_sub_private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1184,7 +1184,7 @@ pub mod web_pub_sub_private_endpoint_connections { } } pub mod web_pub_sub_private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1233,7 +1233,7 @@ pub mod web_pub_sub_private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1257,7 +1257,7 @@ pub mod web_pub_sub_private_link_resources { } } pub mod web_pub_sub_shared_private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1306,7 +1306,7 @@ pub mod web_pub_sub_shared_private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1378,7 +1378,7 @@ pub mod web_pub_sub_shared_private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1461,7 +1461,7 @@ pub mod web_pub_sub_shared_private_link_resources { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SharedPrivateLinkResource), @@ -1535,7 +1535,7 @@ pub mod web_pub_sub_shared_private_link_resources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/webpubsub/src/package_2021_09_01_preview/operations.rs b/services/mgmt/webpubsub/src/package_2021_09_01_preview/operations.rs index dcf1bef202..57dd7f8f99 100644 --- a/services/mgmt/webpubsub/src/package_2021_09_01_preview/operations.rs +++ b/services/mgmt/webpubsub/src/package_2021_09_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.SignalRService/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod web_pub_sub { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, location: &str, @@ -120,7 +120,7 @@ pub mod web_pub_sub { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -189,7 +189,7 @@ pub mod web_pub_sub { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -262,7 +262,7 @@ pub mod web_pub_sub { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -332,7 +332,7 @@ pub mod web_pub_sub { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -414,7 +414,7 @@ pub mod web_pub_sub { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WebPubSubResource), @@ -493,7 +493,7 @@ pub mod web_pub_sub { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WebPubSubResource), @@ -565,7 +565,7 @@ pub mod web_pub_sub { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -645,7 +645,7 @@ pub mod web_pub_sub { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -720,7 +720,7 @@ pub mod web_pub_sub { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -790,7 +790,7 @@ pub mod web_pub_sub { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -868,7 +868,7 @@ pub mod web_pub_sub { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -892,7 +892,7 @@ pub mod web_pub_sub { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -939,7 +939,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -963,7 +963,7 @@ pub mod usages { } } pub mod web_pub_sub_private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1012,7 +1012,7 @@ pub mod web_pub_sub_private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1084,7 +1084,7 @@ pub mod web_pub_sub_private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1158,7 +1158,7 @@ pub mod web_pub_sub_private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1227,7 +1227,7 @@ pub mod web_pub_sub_private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1257,7 +1257,7 @@ pub mod web_pub_sub_private_endpoint_connections { } } pub mod web_pub_sub_private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1306,7 +1306,7 @@ pub mod web_pub_sub_private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1330,7 +1330,7 @@ pub mod web_pub_sub_private_link_resources { } } pub mod web_pub_sub_shared_private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1379,7 +1379,7 @@ pub mod web_pub_sub_shared_private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1451,7 +1451,7 @@ pub mod web_pub_sub_shared_private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1534,7 +1534,7 @@ pub mod web_pub_sub_shared_private_link_resources { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SharedPrivateLinkResource), @@ -1608,7 +1608,7 @@ pub mod web_pub_sub_shared_private_link_resources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/webpubsub/src/package_2021_10_01/operations.rs b/services/mgmt/webpubsub/src/package_2021_10_01/operations.rs index 32ef303ba6..e374cbc501 100644 --- a/services/mgmt/webpubsub/src/package_2021_10_01/operations.rs +++ b/services/mgmt/webpubsub/src/package_2021_10_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.SignalRService/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod web_pub_sub { - use crate::models::*; + use super::{models, models::*}; pub async fn check_name_availability( operation_config: &crate::OperationConfig, location: &str, @@ -120,7 +120,7 @@ pub mod web_pub_sub { } } pub mod check_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -189,7 +189,7 @@ pub mod web_pub_sub { } } pub mod list_by_subscription { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -262,7 +262,7 @@ pub mod web_pub_sub { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -332,7 +332,7 @@ pub mod web_pub_sub { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -414,7 +414,7 @@ pub mod web_pub_sub { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WebPubSubResource), @@ -493,7 +493,7 @@ pub mod web_pub_sub { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WebPubSubResource), @@ -565,7 +565,7 @@ pub mod web_pub_sub { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -645,7 +645,7 @@ pub mod web_pub_sub { } } pub mod list_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -720,7 +720,7 @@ pub mod web_pub_sub { } } pub mod regenerate_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -790,7 +790,7 @@ pub mod web_pub_sub { } } pub mod restart { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -868,7 +868,7 @@ pub mod web_pub_sub { } } pub mod list_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -892,7 +892,7 @@ pub mod web_pub_sub { } } pub mod usages { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, location: &str, @@ -939,7 +939,7 @@ pub mod usages { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -963,7 +963,7 @@ pub mod usages { } } pub mod web_pub_sub_hubs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1012,7 +1012,7 @@ pub mod web_pub_sub_hubs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1084,7 +1084,7 @@ pub mod web_pub_sub_hubs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1167,7 +1167,7 @@ pub mod web_pub_sub_hubs { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(WebPubSubHub), @@ -1241,7 +1241,7 @@ pub mod web_pub_sub_hubs { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1271,7 +1271,7 @@ pub mod web_pub_sub_hubs { } } pub mod web_pub_sub_private_endpoint_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1320,7 +1320,7 @@ pub mod web_pub_sub_private_endpoint_connections { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1392,7 +1392,7 @@ pub mod web_pub_sub_private_endpoint_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1466,7 +1466,7 @@ pub mod web_pub_sub_private_endpoint_connections { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1535,7 +1535,7 @@ pub mod web_pub_sub_private_endpoint_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1565,7 +1565,7 @@ pub mod web_pub_sub_private_endpoint_connections { } } pub mod web_pub_sub_private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1614,7 +1614,7 @@ pub mod web_pub_sub_private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1638,7 +1638,7 @@ pub mod web_pub_sub_private_link_resources { } } pub mod web_pub_sub_shared_private_link_resources { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1687,7 +1687,7 @@ pub mod web_pub_sub_shared_private_link_resources { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1759,7 +1759,7 @@ pub mod web_pub_sub_shared_private_link_resources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1842,7 +1842,7 @@ pub mod web_pub_sub_shared_private_link_resources { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SharedPrivateLinkResource), @@ -1916,7 +1916,7 @@ pub mod web_pub_sub_shared_private_link_resources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/windowsesu/Cargo.toml b/services/mgmt/windowsesu/Cargo.toml index d9696476e4..31a106d5d7 100644 --- a/services/mgmt/windowsesu/Cargo.toml +++ b/services/mgmt/windowsesu/Cargo.toml @@ -20,4 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2019-09-16-preview"] +no-default-version = [] "package-2019-09-16-preview" = [] diff --git a/services/mgmt/windowsesu/src/lib.rs b/services/mgmt/windowsesu/src/lib.rs index 5eedda8662..7014aceac3 100644 --- a/services/mgmt/windowsesu/src/lib.rs +++ b/services/mgmt/windowsesu/src/lib.rs @@ -1,9 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2019-09-16-preview")] -mod package_2019_09_16_preview; +pub mod package_2019_09_16_preview; use azure_core::setters; -#[cfg(feature = "package-2019-09-16-preview")] +#[cfg(all(feature = "package-2019-09-16-preview", not(feature = "no-default-version")))] pub use package_2019_09_16_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -27,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/windowsesu/src/package_2019_09_16_preview/operations.rs b/services/mgmt/windowsesu/src/package_2019_09_16_preview/operations.rs index 00a4e9b939..8637c7c349 100644 --- a/services/mgmt/windowsesu/src/package_2019_09_16_preview/operations.rs +++ b/services/mgmt/windowsesu/src/package_2019_09_16_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.WindowsESU/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod multiple_activation_keys { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -111,7 +111,7 @@ pub mod multiple_activation_keys { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub mod multiple_activation_keys { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -254,7 +254,7 @@ pub mod multiple_activation_keys { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -332,7 +332,7 @@ pub mod multiple_activation_keys { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(MultipleActivationKey), @@ -409,7 +409,7 @@ pub mod multiple_activation_keys { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -475,7 +475,7 @@ pub mod multiple_activation_keys { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/mgmt/windowsiot/Cargo.toml b/services/mgmt/windowsiot/Cargo.toml index 0022f4f8b4..15a773e1aa 100644 --- a/services/mgmt/windowsiot/Cargo.toml +++ b/services/mgmt/windowsiot/Cargo.toml @@ -20,5 +20,6 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2019-06"] +no-default-version = [] "package-2019-06" = [] "package-2018-02-preview" = [] diff --git a/services/mgmt/windowsiot/src/lib.rs b/services/mgmt/windowsiot/src/lib.rs index d15b2b65be..591589fc5e 100644 --- a/services/mgmt/windowsiot/src/lib.rs +++ b/services/mgmt/windowsiot/src/lib.rs @@ -1,13 +1,21 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2019-06")] -mod package_2019_06; -#[cfg(feature = "package-2019-06")] +pub mod package_2019_06; +#[cfg(all(feature = "package-2019-06", not(feature = "no-default-version")))] pub use package_2019_06::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-02-preview")] -mod package_2018_02_preview; +pub mod package_2018_02_preview; use azure_core::setters; -#[cfg(feature = "package-2018-02-preview")] +#[cfg(all(feature = "package-2018-02-preview", not(feature = "no-default-version")))] pub use package_2018_02_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -31,7 +39,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/windowsiot/src/package_2018_02_preview/operations.rs b/services/mgmt/windowsiot/src/package_2018_02_preview/operations.rs index 8d80f37329..0affb31f1c 100644 --- a/services/mgmt/windowsiot/src/package_2018_02_preview/operations.rs +++ b/services/mgmt/windowsiot/src/package_2018_02_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.WindowsIoT/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -115,7 +115,7 @@ pub mod services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -194,7 +194,7 @@ pub mod services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -270,7 +270,7 @@ pub mod services { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -340,7 +340,7 @@ pub mod services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -413,7 +413,7 @@ pub mod services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -479,7 +479,7 @@ pub mod services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -553,7 +553,7 @@ pub mod services { } } pub mod check_device_service_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/windowsiot/src/package_2019_06/operations.rs b/services/mgmt/windowsiot/src/package_2019_06/operations.rs index 602687583b..bf725ab35a 100644 --- a/services/mgmt/windowsiot/src/package_2019_06/operations.rs +++ b/services/mgmt/windowsiot/src/package_2019_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.WindowsIoT/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod services { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -115,7 +115,7 @@ pub mod services { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -200,7 +200,7 @@ pub mod services { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeviceService), @@ -281,7 +281,7 @@ pub mod services { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -357,7 +357,7 @@ pub mod services { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DeviceService), @@ -435,7 +435,7 @@ pub mod services { } } pub mod list_by_resource_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -501,7 +501,7 @@ pub mod services { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -575,7 +575,7 @@ pub mod services { } } pub mod check_device_service_name_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/mgmt/workloadmonitor/Cargo.toml b/services/mgmt/workloadmonitor/Cargo.toml index 2a5905cee6..744acef04b 100644 --- a/services/mgmt/workloadmonitor/Cargo.toml +++ b/services/mgmt/workloadmonitor/Cargo.toml @@ -20,5 +20,6 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2018-08-31-preview"] +no-default-version = [] "package-2018-08-31-preview" = [] "package-2020-01-13-preview" = [] diff --git a/services/mgmt/workloadmonitor/src/lib.rs b/services/mgmt/workloadmonitor/src/lib.rs index 136baf9422..b2621b1450 100644 --- a/services/mgmt/workloadmonitor/src/lib.rs +++ b/services/mgmt/workloadmonitor/src/lib.rs @@ -1,13 +1,21 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2018-08-31-preview")] -mod package_2018_08_31_preview; -#[cfg(feature = "package-2018-08-31-preview")] +pub mod package_2018_08_31_preview; +#[cfg(all(feature = "package-2018-08-31-preview", not(feature = "no-default-version")))] pub use package_2018_08_31_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-01-13-preview")] -mod package_2020_01_13_preview; +pub mod package_2020_01_13_preview; use azure_core::setters; -#[cfg(feature = "package-2020-01-13-preview")] +#[cfg(all(feature = "package-2020-01-13-preview", not(feature = "no-default-version")))] pub use package_2020_01_13_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -31,7 +39,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/mgmt/workloadmonitor/src/package_2018_08_31_preview/operations.rs b/services/mgmt/workloadmonitor/src/package_2018_08_31_preview/operations.rs index 1091b4af87..10a4f1b793 100644 --- a/services/mgmt/workloadmonitor/src/package_2018_08_31_preview/operations.rs +++ b/services/mgmt/workloadmonitor/src/package_2018_08_31_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod monitors { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -68,7 +68,7 @@ pub mod monitors { } } pub mod list_by_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -144,7 +144,7 @@ pub mod monitors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -222,7 +222,7 @@ pub mod monitors { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -246,7 +246,7 @@ pub mod monitors { } } pub mod components { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -330,7 +330,7 @@ pub mod components { } } pub mod list_by_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -414,7 +414,7 @@ pub mod components { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -438,7 +438,7 @@ pub mod components { } } pub mod monitor_instances { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -522,7 +522,7 @@ pub mod monitor_instances { } } pub mod list_by_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -606,7 +606,7 @@ pub mod monitor_instances { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -630,7 +630,7 @@ pub mod monitor_instances { } } pub mod notification_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn list_by_resource( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -690,7 +690,7 @@ pub mod notification_settings { } } pub mod list_by_resource { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -766,7 +766,7 @@ pub mod notification_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -844,7 +844,7 @@ pub mod notification_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -868,7 +868,7 @@ pub mod notification_settings { } } pub mod components_summary { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -941,7 +941,7 @@ pub mod components_summary { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -965,7 +965,7 @@ pub mod components_summary { } } pub mod monitor_instances_summary { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -1038,7 +1038,7 @@ pub mod monitor_instances_summary { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1062,7 +1062,7 @@ pub mod monitor_instances_summary { } } pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, skiptoken: Option<&str>, @@ -1104,7 +1104,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/mgmt/workloadmonitor/src/package_2020_01_13_preview/operations.rs b/services/mgmt/workloadmonitor/src/package_2020_01_13_preview/operations.rs index 22e85885db..c23b2363a1 100644 --- a/services/mgmt/workloadmonitor/src/package_2020_01_13_preview/operations.rs +++ b/services/mgmt/workloadmonitor/src/package_2020_01_13_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod operations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/providers/Microsoft.WorkloadMonitor/operations", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod operations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod operations { } } pub mod health_monitors { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -127,7 +127,7 @@ pub mod health_monitors { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -207,7 +207,7 @@ pub mod health_monitors { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -302,7 +302,7 @@ pub mod health_monitors { } } pub mod list_state_changes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -387,7 +387,7 @@ pub mod health_monitors { } } pub mod get_state_change { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/appconfiguration/Cargo.toml b/services/svc/appconfiguration/Cargo.toml index 6772bc693f..86e78572a8 100644 --- a/services/svc/appconfiguration/Cargo.toml +++ b/services/svc/appconfiguration/Cargo.toml @@ -20,4 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2019-07"] +no-default-version = [] "package-2019-07" = [] diff --git a/services/svc/appconfiguration/src/lib.rs b/services/svc/appconfiguration/src/lib.rs index 6d548335c8..d4329089f5 100644 --- a/services/svc/appconfiguration/src/lib.rs +++ b/services/svc/appconfiguration/src/lib.rs @@ -1,9 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2019-07")] -mod package_2019_07; +pub mod package_2019_07; use azure_core::setters; -#[cfg(feature = "package-2019-07")] +#[cfg(all(feature = "package-2019-07", not(feature = "no-default-version")))] pub use package_2019_07::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -27,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/svc/appconfiguration/src/package_2019_07/operations.rs b/services/svc/appconfiguration/src/package_2019_07/operations.rs index 772676ca65..003ae611ef 100644 --- a/services/svc/appconfiguration/src/package_2019_07/operations.rs +++ b/services/svc/appconfiguration/src/package_2019_07/operations.rs @@ -2,7 +2,7 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub async fn get_keys( operation_config: &crate::OperationConfig, name: Option<&str>, @@ -61,7 +61,7 @@ pub async fn get_keys( } } pub mod get_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -128,7 +128,7 @@ pub async fn check_keys( } } pub mod check_keys { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -210,7 +210,7 @@ pub async fn get_key_values( } } pub mod get_key_values { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -282,7 +282,7 @@ pub async fn check_key_values( } } pub mod check_key_values { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -365,7 +365,7 @@ pub async fn get_key_value( } } pub mod get_key_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -452,7 +452,7 @@ pub async fn put_key_value( } } pub mod put_key_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -530,7 +530,7 @@ pub async fn delete_key_value( } } pub mod delete_key_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(KeyValue), @@ -608,7 +608,7 @@ pub async fn check_key_value( } } pub mod check_key_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -686,7 +686,7 @@ pub async fn get_labels( } } pub mod get_labels { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -754,7 +754,7 @@ pub async fn check_labels( } } pub mod check_labels { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -832,7 +832,7 @@ pub async fn put_lock( } } pub mod put_lock { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -913,7 +913,7 @@ pub async fn delete_lock( } } pub mod delete_lock { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -998,7 +998,7 @@ pub async fn get_revisions( } } pub mod get_revisions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1070,7 +1070,7 @@ pub async fn check_revisions( } } pub mod check_revisions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/applicationinsights/Cargo.toml b/services/svc/applicationinsights/Cargo.toml index 6a2c224609..5e0d763a7d 100644 --- a/services/svc/applicationinsights/Cargo.toml +++ b/services/svc/applicationinsights/Cargo.toml @@ -20,4 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["v1"] +no-default-version = [] "v1" = [] diff --git a/services/svc/applicationinsights/src/lib.rs b/services/svc/applicationinsights/src/lib.rs index a798e3294c..d7752af3c9 100644 --- a/services/svc/applicationinsights/src/lib.rs +++ b/services/svc/applicationinsights/src/lib.rs @@ -1,9 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "v1")] -mod v1; +pub mod v1; use azure_core::setters; -#[cfg(feature = "v1")] +#[cfg(all(feature = "v1", not(feature = "no-default-version")))] pub use v1::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -27,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/svc/applicationinsights/src/v1/operations.rs b/services/svc/applicationinsights/src/v1/operations.rs index aa9818a8f6..d14f0a74d4 100644 --- a/services/svc/applicationinsights/src/v1/operations.rs +++ b/services/svc/applicationinsights/src/v1/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod metrics { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, app_id: &str, @@ -67,7 +67,7 @@ pub mod metrics { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -133,7 +133,7 @@ pub mod metrics { } } pub mod get_multiple { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -197,7 +197,7 @@ pub mod metrics { } } pub mod get_metadata { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -221,7 +221,7 @@ pub mod metrics { } } pub mod events { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_type( operation_config: &crate::OperationConfig, app_id: &str, @@ -305,7 +305,7 @@ pub mod events { } } pub mod get_by_type { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -378,7 +378,7 @@ pub mod events { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -442,7 +442,7 @@ pub mod events { } } pub mod get_odata_metadata { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -466,7 +466,7 @@ pub mod events { } } pub mod query { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, app_id: &str, @@ -512,7 +512,7 @@ pub mod query { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -578,7 +578,7 @@ pub mod query { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -602,7 +602,7 @@ pub mod query { } } pub mod metadata { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig, app_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/apps/{}/metadata", operation_config.base_path(), app_id); @@ -639,7 +639,7 @@ pub mod metadata { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -698,7 +698,7 @@ pub mod metadata { } } pub mod post { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/attestation/Cargo.toml b/services/svc/attestation/Cargo.toml index 35028ae055..e3f1eeb056 100644 --- a/services/svc/attestation/Cargo.toml +++ b/services/svc/attestation/Cargo.toml @@ -20,4 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2020-10-01"] +no-default-version = [] "package-2020-10-01" = [] diff --git a/services/svc/attestation/src/lib.rs b/services/svc/attestation/src/lib.rs index 8c7b999978..75131e1f7a 100644 --- a/services/svc/attestation/src/lib.rs +++ b/services/svc/attestation/src/lib.rs @@ -1,9 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2020-10-01")] -mod package_2020_10_01; +pub mod package_2020_10_01; use azure_core::setters; -#[cfg(feature = "package-2020-10-01")] +#[cfg(all(feature = "package-2020-10-01", not(feature = "no-default-version")))] pub use package_2020_10_01::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -27,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/svc/attestation/src/package_2020_10_01/operations.rs b/services/svc/attestation/src/package_2020_10_01/operations.rs index 9abc4740ca..a32c6b6d51 100644 --- a/services/svc/attestation/src/package_2020_10_01/operations.rs +++ b/services/svc/attestation/src/package_2020_10_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod policy { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig, attestation_type: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/policies/{}", operation_config.base_path(), attestation_type); @@ -42,7 +42,7 @@ pub mod policy { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -106,7 +106,7 @@ pub mod policy { } } pub mod set { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -170,7 +170,7 @@ pub mod policy { } } pub mod reset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -194,7 +194,7 @@ pub mod policy { } } pub mod policy_certificates { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/certificates", operation_config.base_path(),); @@ -232,7 +232,7 @@ pub mod policy_certificates { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -295,7 +295,7 @@ pub mod policy_certificates { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -358,7 +358,7 @@ pub mod policy_certificates { } } pub mod remove { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -382,7 +382,7 @@ pub mod policy_certificates { } } pub mod attestation { - use crate::models::*; + use super::{models, models::*}; pub async fn attest_open_enclave( operation_config: &crate::OperationConfig, request: &AttestOpenEnclaveRequest, @@ -427,7 +427,7 @@ pub mod attestation { } } pub mod attest_open_enclave { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -493,7 +493,7 @@ pub mod attestation { } } pub mod attest_sgx_enclave { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -559,7 +559,7 @@ pub mod attestation { } } pub mod attest_tpm { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -583,7 +583,7 @@ pub mod attestation { } } pub mod signing_certificates { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/certs", operation_config.base_path(),); @@ -620,7 +620,7 @@ pub mod signing_certificates { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -644,7 +644,7 @@ pub mod signing_certificates { } } pub mod metadata_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/.well-known/openid-configuration", operation_config.base_path(),); @@ -681,7 +681,7 @@ pub mod metadata_configuration { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/batch/Cargo.toml b/services/svc/batch/Cargo.toml index ec2fbfde67..1217fc5b63 100644 --- a/services/svc/batch/Cargo.toml +++ b/services/svc/batch/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-06.14.0"] +no-default-version = [] "package-2021-06.14.0" = [] "package-2020-09.12.0" = [] "package-2020-03.11.0" = [] diff --git a/services/svc/batch/src/lib.rs b/services/svc/batch/src/lib.rs index a32a3fc1b3..4b81b8875c 100644 --- a/services/svc/batch/src/lib.rs +++ b/services/svc/batch/src/lib.rs @@ -1,33 +1,41 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-06.14.0")] -mod package_2021_06_14_0; -#[cfg(feature = "package-2021-06.14.0")] +pub mod package_2021_06_14_0; +#[cfg(all(feature = "package-2021-06.14.0", not(feature = "no-default-version")))] pub use package_2021_06_14_0::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-09.12.0")] -mod package_2020_09_12_0; -#[cfg(feature = "package-2020-09.12.0")] +pub mod package_2020_09_12_0; +#[cfg(all(feature = "package-2020-09.12.0", not(feature = "no-default-version")))] pub use package_2020_09_12_0::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-03.11.0")] -mod package_2020_03_11_0; -#[cfg(feature = "package-2020-03.11.0")] +pub mod package_2020_03_11_0; +#[cfg(all(feature = "package-2020-03.11.0", not(feature = "no-default-version")))] pub use package_2020_03_11_0::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-08.10.0")] -mod package_2019_08_10_0; -#[cfg(feature = "package-2019-08.10.0")] +pub mod package_2019_08_10_0; +#[cfg(all(feature = "package-2019-08.10.0", not(feature = "no-default-version")))] pub use package_2019_08_10_0::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-06.9.0")] -mod package_2019_06_9_0; -#[cfg(feature = "package-2019-06.9.0")] +pub mod package_2019_06_9_0; +#[cfg(all(feature = "package-2019-06.9.0", not(feature = "no-default-version")))] pub use package_2019_06_9_0::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-12.8.0")] -mod package_2018_12_8_0; -#[cfg(feature = "package-2018-12.8.0")] +pub mod package_2018_12_8_0; +#[cfg(all(feature = "package-2018-12.8.0", not(feature = "no-default-version")))] pub use package_2018_12_8_0::{models, operations, API_VERSION}; #[cfg(feature = "package-2018-08.7.0")] -mod package_2018_08_7_0; +pub mod package_2018_08_7_0; use azure_core::setters; -#[cfg(feature = "package-2018-08.7.0")] +#[cfg(all(feature = "package-2018-08.7.0", not(feature = "no-default-version")))] pub use package_2018_08_7_0::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -51,7 +59,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/svc/batch/src/package_2018_08_7_0/operations.rs b/services/svc/batch/src/package_2018_08_7_0/operations.rs index 2d1382b7f2..9362ffa12c 100644 --- a/services/svc/batch/src/package_2018_08_7_0/operations.rs +++ b/services/svc/batch/src/package_2018_08_7_0/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod application { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, maxresults: Option, @@ -64,7 +64,7 @@ pub mod application { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -142,7 +142,7 @@ pub mod application { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -166,7 +166,7 @@ pub mod application { } } pub mod pool { - use crate::models::*; + use super::{models, models::*}; pub async fn list_usage_metrics( operation_config: &crate::OperationConfig, starttime: Option<&str>, @@ -241,7 +241,7 @@ pub mod pool { } } pub mod list_usage_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -323,7 +323,7 @@ pub mod pool { } } pub mod get_all_lifetime_statistics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -416,7 +416,7 @@ pub mod pool { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -490,7 +490,7 @@ pub mod pool { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -592,7 +592,7 @@ pub mod pool { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -683,7 +683,7 @@ pub mod pool { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -772,7 +772,7 @@ pub mod pool { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -862,7 +862,7 @@ pub mod pool { } } pub mod exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -941,7 +941,7 @@ pub mod pool { } } pub mod disable_auto_scale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1035,7 +1035,7 @@ pub mod pool { } } pub mod enable_auto_scale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1118,7 +1118,7 @@ pub mod pool { } } pub mod evaluate_auto_scale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1209,7 +1209,7 @@ pub mod pool { } } pub mod resize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1302,7 +1302,7 @@ pub mod pool { } } pub mod stop_resize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1380,7 +1380,7 @@ pub mod pool { } } pub mod update_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1474,7 +1474,7 @@ pub mod pool { } } pub mod upgrade_os { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1568,7 +1568,7 @@ pub mod pool { } } pub mod remove_nodes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1592,7 +1592,7 @@ pub mod pool { } } pub mod account { - use crate::models::*; + use super::{models, models::*}; pub async fn list_node_agent_skus( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -1659,7 +1659,7 @@ pub mod account { } } pub mod list_node_agent_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1749,7 +1749,7 @@ pub mod account { } } pub mod list_pool_node_counts { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1773,7 +1773,7 @@ pub mod account { } } pub mod job { - use crate::models::*; + use super::{models, models::*}; pub async fn get_all_lifetime_statistics( operation_config: &crate::OperationConfig, timeout: Option, @@ -1834,7 +1834,7 @@ pub mod job { } } pub mod get_all_lifetime_statistics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1936,7 +1936,7 @@ pub mod job { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2027,7 +2027,7 @@ pub mod job { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2118,7 +2118,7 @@ pub mod job { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2207,7 +2207,7 @@ pub mod job { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2301,7 +2301,7 @@ pub mod job { } } pub mod disable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2391,7 +2391,7 @@ pub mod job { } } pub mod enable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2489,7 +2489,7 @@ pub mod job { } } pub mod terminate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2582,7 +2582,7 @@ pub mod job { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2656,7 +2656,7 @@ pub mod job { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2755,7 +2755,7 @@ pub mod job { } } pub mod list_from_job_schedule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2854,7 +2854,7 @@ pub mod job { } } pub mod list_preparation_and_release_task_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2935,7 +2935,7 @@ pub mod job { } } pub mod get_task_counts { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2959,7 +2959,7 @@ pub mod job { } } pub mod certificate { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -3027,7 +3027,7 @@ pub mod certificate { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3101,7 +3101,7 @@ pub mod certificate { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3184,7 +3184,7 @@ pub mod certificate { } } pub mod cancel_deletion { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3272,7 +3272,7 @@ pub mod certificate { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3351,7 +3351,7 @@ pub mod certificate { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3375,7 +3375,7 @@ pub mod certificate { } } pub mod file { - use crate::models::*; + use super::{models, models::*}; pub async fn get_from_task( operation_config: &crate::OperationConfig, job_id: &str, @@ -3455,7 +3455,7 @@ pub mod file { } } pub mod get_from_task { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3543,7 +3543,7 @@ pub mod file { } } pub mod delete_from_task { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3637,7 +3637,7 @@ pub mod file { } } pub mod get_properties_from_task { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3740,7 +3740,7 @@ pub mod file { } } pub mod get_from_compute_node { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3830,7 +3830,7 @@ pub mod file { } } pub mod delete_from_compute_node { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3924,7 +3924,7 @@ pub mod file { } } pub mod get_properties_from_compute_node { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4018,7 +4018,7 @@ pub mod file { } } pub mod list_from_task { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4114,7 +4114,7 @@ pub mod file { } } pub mod list_from_compute_node { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4138,7 +4138,7 @@ pub mod file { } } pub mod job_schedule { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, job_schedule_id: &str, @@ -4219,7 +4219,7 @@ pub mod job_schedule { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4310,7 +4310,7 @@ pub mod job_schedule { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4401,7 +4401,7 @@ pub mod job_schedule { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4490,7 +4490,7 @@ pub mod job_schedule { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4580,7 +4580,7 @@ pub mod job_schedule { } } pub mod exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -4675,7 +4675,7 @@ pub mod job_schedule { } } pub mod disable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4765,7 +4765,7 @@ pub mod job_schedule { } } pub mod enable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4858,7 +4858,7 @@ pub mod job_schedule { } } pub mod terminate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4951,7 +4951,7 @@ pub mod job_schedule { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5025,7 +5025,7 @@ pub mod job_schedule { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5049,7 +5049,7 @@ pub mod job_schedule { } } pub mod task { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, job_id: &str, @@ -5122,7 +5122,7 @@ pub mod task { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5197,7 +5197,7 @@ pub mod task { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5280,7 +5280,7 @@ pub mod task { } } pub mod add_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5383,7 +5383,7 @@ pub mod task { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5475,7 +5475,7 @@ pub mod task { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5565,7 +5565,7 @@ pub mod task { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5651,7 +5651,7 @@ pub mod task { } } pub mod list_subtasks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5745,7 +5745,7 @@ pub mod task { } } pub mod terminate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5839,7 +5839,7 @@ pub mod task { } } pub mod reactivate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5863,7 +5863,7 @@ pub mod task { } } pub mod compute_node { - use crate::models::*; + use super::{models, models::*}; pub async fn add_user( operation_config: &crate::OperationConfig, pool_id: &str, @@ -5921,7 +5921,7 @@ pub mod compute_node { } } pub mod add_user { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6007,7 +6007,7 @@ pub mod compute_node { } } pub mod update_user { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6091,7 +6091,7 @@ pub mod compute_node { } } pub mod delete_user { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6174,7 +6174,7 @@ pub mod compute_node { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6254,7 +6254,7 @@ pub mod compute_node { } } pub mod reboot { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6337,7 +6337,7 @@ pub mod compute_node { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6425,7 +6425,7 @@ pub mod compute_node { } } pub mod disable_scheduling { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6508,7 +6508,7 @@ pub mod compute_node { } } pub mod enable_scheduling { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6597,7 +6597,7 @@ pub mod compute_node { } } pub mod get_remote_login_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6679,7 +6679,7 @@ pub mod compute_node { } } pub mod get_remote_desktop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6771,7 +6771,7 @@ pub mod compute_node { } } pub mod upload_batch_service_logs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6861,7 +6861,7 @@ pub mod compute_node { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/batch/src/package_2018_12_8_0/operations.rs b/services/svc/batch/src/package_2018_12_8_0/operations.rs index 1ae8d0b9f9..cb6966ae5f 100644 --- a/services/svc/batch/src/package_2018_12_8_0/operations.rs +++ b/services/svc/batch/src/package_2018_12_8_0/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod application { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, maxresults: Option, @@ -64,7 +64,7 @@ pub mod application { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -142,7 +142,7 @@ pub mod application { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -166,7 +166,7 @@ pub mod application { } } pub mod pool { - use crate::models::*; + use super::{models, models::*}; pub async fn list_usage_metrics( operation_config: &crate::OperationConfig, starttime: Option<&str>, @@ -241,7 +241,7 @@ pub mod pool { } } pub mod list_usage_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -323,7 +323,7 @@ pub mod pool { } } pub mod get_all_lifetime_statistics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -416,7 +416,7 @@ pub mod pool { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -490,7 +490,7 @@ pub mod pool { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -592,7 +592,7 @@ pub mod pool { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -683,7 +683,7 @@ pub mod pool { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -772,7 +772,7 @@ pub mod pool { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -862,7 +862,7 @@ pub mod pool { } } pub mod exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -941,7 +941,7 @@ pub mod pool { } } pub mod disable_auto_scale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1035,7 +1035,7 @@ pub mod pool { } } pub mod enable_auto_scale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1118,7 +1118,7 @@ pub mod pool { } } pub mod evaluate_auto_scale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1209,7 +1209,7 @@ pub mod pool { } } pub mod resize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1302,7 +1302,7 @@ pub mod pool { } } pub mod stop_resize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1380,7 +1380,7 @@ pub mod pool { } } pub mod update_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1474,7 +1474,7 @@ pub mod pool { } } pub mod remove_nodes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1498,7 +1498,7 @@ pub mod pool { } } pub mod account { - use crate::models::*; + use super::{models, models::*}; pub async fn list_node_agent_skus( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -1565,7 +1565,7 @@ pub mod account { } } pub mod list_node_agent_skus { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1655,7 +1655,7 @@ pub mod account { } } pub mod list_pool_node_counts { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1679,7 +1679,7 @@ pub mod account { } } pub mod job { - use crate::models::*; + use super::{models, models::*}; pub async fn get_all_lifetime_statistics( operation_config: &crate::OperationConfig, timeout: Option, @@ -1740,7 +1740,7 @@ pub mod job { } } pub mod get_all_lifetime_statistics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1842,7 +1842,7 @@ pub mod job { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1933,7 +1933,7 @@ pub mod job { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2024,7 +2024,7 @@ pub mod job { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2113,7 +2113,7 @@ pub mod job { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2207,7 +2207,7 @@ pub mod job { } } pub mod disable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2297,7 +2297,7 @@ pub mod job { } } pub mod enable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2395,7 +2395,7 @@ pub mod job { } } pub mod terminate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2488,7 +2488,7 @@ pub mod job { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2562,7 +2562,7 @@ pub mod job { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2661,7 +2661,7 @@ pub mod job { } } pub mod list_from_job_schedule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2760,7 +2760,7 @@ pub mod job { } } pub mod list_preparation_and_release_task_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2841,7 +2841,7 @@ pub mod job { } } pub mod get_task_counts { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2865,7 +2865,7 @@ pub mod job { } } pub mod certificate { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -2933,7 +2933,7 @@ pub mod certificate { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3007,7 +3007,7 @@ pub mod certificate { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3090,7 +3090,7 @@ pub mod certificate { } } pub mod cancel_deletion { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3178,7 +3178,7 @@ pub mod certificate { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3257,7 +3257,7 @@ pub mod certificate { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3281,7 +3281,7 @@ pub mod certificate { } } pub mod file { - use crate::models::*; + use super::{models, models::*}; pub async fn get_from_task( operation_config: &crate::OperationConfig, job_id: &str, @@ -3361,7 +3361,7 @@ pub mod file { } } pub mod get_from_task { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3449,7 +3449,7 @@ pub mod file { } } pub mod delete_from_task { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3543,7 +3543,7 @@ pub mod file { } } pub mod get_properties_from_task { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3646,7 +3646,7 @@ pub mod file { } } pub mod get_from_compute_node { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3736,7 +3736,7 @@ pub mod file { } } pub mod delete_from_compute_node { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3830,7 +3830,7 @@ pub mod file { } } pub mod get_properties_from_compute_node { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3924,7 +3924,7 @@ pub mod file { } } pub mod list_from_task { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4020,7 +4020,7 @@ pub mod file { } } pub mod list_from_compute_node { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4044,7 +4044,7 @@ pub mod file { } } pub mod job_schedule { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, job_schedule_id: &str, @@ -4125,7 +4125,7 @@ pub mod job_schedule { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4216,7 +4216,7 @@ pub mod job_schedule { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4307,7 +4307,7 @@ pub mod job_schedule { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4396,7 +4396,7 @@ pub mod job_schedule { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4486,7 +4486,7 @@ pub mod job_schedule { } } pub mod exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -4581,7 +4581,7 @@ pub mod job_schedule { } } pub mod disable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4671,7 +4671,7 @@ pub mod job_schedule { } } pub mod enable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4764,7 +4764,7 @@ pub mod job_schedule { } } pub mod terminate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4857,7 +4857,7 @@ pub mod job_schedule { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4931,7 +4931,7 @@ pub mod job_schedule { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4955,7 +4955,7 @@ pub mod job_schedule { } } pub mod task { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, job_id: &str, @@ -5028,7 +5028,7 @@ pub mod task { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5103,7 +5103,7 @@ pub mod task { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5186,7 +5186,7 @@ pub mod task { } } pub mod add_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5289,7 +5289,7 @@ pub mod task { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5381,7 +5381,7 @@ pub mod task { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5471,7 +5471,7 @@ pub mod task { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5557,7 +5557,7 @@ pub mod task { } } pub mod list_subtasks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5651,7 +5651,7 @@ pub mod task { } } pub mod terminate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5745,7 +5745,7 @@ pub mod task { } } pub mod reactivate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5769,7 +5769,7 @@ pub mod task { } } pub mod compute_node { - use crate::models::*; + use super::{models, models::*}; pub async fn add_user( operation_config: &crate::OperationConfig, pool_id: &str, @@ -5827,7 +5827,7 @@ pub mod compute_node { } } pub mod add_user { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5913,7 +5913,7 @@ pub mod compute_node { } } pub mod update_user { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5997,7 +5997,7 @@ pub mod compute_node { } } pub mod delete_user { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6080,7 +6080,7 @@ pub mod compute_node { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6160,7 +6160,7 @@ pub mod compute_node { } } pub mod reboot { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6243,7 +6243,7 @@ pub mod compute_node { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6331,7 +6331,7 @@ pub mod compute_node { } } pub mod disable_scheduling { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6414,7 +6414,7 @@ pub mod compute_node { } } pub mod enable_scheduling { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6503,7 +6503,7 @@ pub mod compute_node { } } pub mod get_remote_login_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6585,7 +6585,7 @@ pub mod compute_node { } } pub mod get_remote_desktop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6677,7 +6677,7 @@ pub mod compute_node { } } pub mod upload_batch_service_logs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6767,7 +6767,7 @@ pub mod compute_node { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/batch/src/package_2019_06_9_0/operations.rs b/services/svc/batch/src/package_2019_06_9_0/operations.rs index 4949f04a69..4200ea5f69 100644 --- a/services/svc/batch/src/package_2019_06_9_0/operations.rs +++ b/services/svc/batch/src/package_2019_06_9_0/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod application { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, maxresults: Option, @@ -64,7 +64,7 @@ pub mod application { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -142,7 +142,7 @@ pub mod application { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -166,7 +166,7 @@ pub mod application { } } pub mod pool { - use crate::models::*; + use super::{models, models::*}; pub async fn list_usage_metrics( operation_config: &crate::OperationConfig, starttime: Option<&str>, @@ -241,7 +241,7 @@ pub mod pool { } } pub mod list_usage_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -323,7 +323,7 @@ pub mod pool { } } pub mod get_all_lifetime_statistics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -416,7 +416,7 @@ pub mod pool { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -490,7 +490,7 @@ pub mod pool { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -592,7 +592,7 @@ pub mod pool { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -683,7 +683,7 @@ pub mod pool { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -772,7 +772,7 @@ pub mod pool { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -862,7 +862,7 @@ pub mod pool { } } pub mod exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -941,7 +941,7 @@ pub mod pool { } } pub mod disable_auto_scale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1035,7 +1035,7 @@ pub mod pool { } } pub mod enable_auto_scale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1118,7 +1118,7 @@ pub mod pool { } } pub mod evaluate_auto_scale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1209,7 +1209,7 @@ pub mod pool { } } pub mod resize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1302,7 +1302,7 @@ pub mod pool { } } pub mod stop_resize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1380,7 +1380,7 @@ pub mod pool { } } pub mod update_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1474,7 +1474,7 @@ pub mod pool { } } pub mod remove_nodes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1498,7 +1498,7 @@ pub mod pool { } } pub mod account { - use crate::models::*; + use super::{models, models::*}; pub async fn list_supported_images( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -1567,7 +1567,7 @@ pub mod account { } } pub mod list_supported_images { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1657,7 +1657,7 @@ pub mod account { } } pub mod list_pool_node_counts { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1681,7 +1681,7 @@ pub mod account { } } pub mod job { - use crate::models::*; + use super::{models, models::*}; pub async fn get_all_lifetime_statistics( operation_config: &crate::OperationConfig, timeout: Option, @@ -1742,7 +1742,7 @@ pub mod job { } } pub mod get_all_lifetime_statistics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1844,7 +1844,7 @@ pub mod job { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1935,7 +1935,7 @@ pub mod job { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2026,7 +2026,7 @@ pub mod job { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2115,7 +2115,7 @@ pub mod job { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2209,7 +2209,7 @@ pub mod job { } } pub mod disable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2299,7 +2299,7 @@ pub mod job { } } pub mod enable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2397,7 +2397,7 @@ pub mod job { } } pub mod terminate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2490,7 +2490,7 @@ pub mod job { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2564,7 +2564,7 @@ pub mod job { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2663,7 +2663,7 @@ pub mod job { } } pub mod list_from_job_schedule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2762,7 +2762,7 @@ pub mod job { } } pub mod list_preparation_and_release_task_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2843,7 +2843,7 @@ pub mod job { } } pub mod get_task_counts { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2867,7 +2867,7 @@ pub mod job { } } pub mod certificate { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -2935,7 +2935,7 @@ pub mod certificate { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3009,7 +3009,7 @@ pub mod certificate { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3092,7 +3092,7 @@ pub mod certificate { } } pub mod cancel_deletion { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3180,7 +3180,7 @@ pub mod certificate { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3259,7 +3259,7 @@ pub mod certificate { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3283,7 +3283,7 @@ pub mod certificate { } } pub mod file { - use crate::models::*; + use super::{models, models::*}; pub async fn get_from_task( operation_config: &crate::OperationConfig, job_id: &str, @@ -3363,7 +3363,7 @@ pub mod file { } } pub mod get_from_task { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3451,7 +3451,7 @@ pub mod file { } } pub mod delete_from_task { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3545,7 +3545,7 @@ pub mod file { } } pub mod get_properties_from_task { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3648,7 +3648,7 @@ pub mod file { } } pub mod get_from_compute_node { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3738,7 +3738,7 @@ pub mod file { } } pub mod delete_from_compute_node { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3832,7 +3832,7 @@ pub mod file { } } pub mod get_properties_from_compute_node { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3926,7 +3926,7 @@ pub mod file { } } pub mod list_from_task { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4022,7 +4022,7 @@ pub mod file { } } pub mod list_from_compute_node { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4046,7 +4046,7 @@ pub mod file { } } pub mod job_schedule { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, job_schedule_id: &str, @@ -4127,7 +4127,7 @@ pub mod job_schedule { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4218,7 +4218,7 @@ pub mod job_schedule { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4309,7 +4309,7 @@ pub mod job_schedule { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4398,7 +4398,7 @@ pub mod job_schedule { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4488,7 +4488,7 @@ pub mod job_schedule { } } pub mod exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -4583,7 +4583,7 @@ pub mod job_schedule { } } pub mod disable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4673,7 +4673,7 @@ pub mod job_schedule { } } pub mod enable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4766,7 +4766,7 @@ pub mod job_schedule { } } pub mod terminate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4859,7 +4859,7 @@ pub mod job_schedule { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4933,7 +4933,7 @@ pub mod job_schedule { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4957,7 +4957,7 @@ pub mod job_schedule { } } pub mod task { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, job_id: &str, @@ -5030,7 +5030,7 @@ pub mod task { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5105,7 +5105,7 @@ pub mod task { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5188,7 +5188,7 @@ pub mod task { } } pub mod add_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5291,7 +5291,7 @@ pub mod task { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5383,7 +5383,7 @@ pub mod task { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5473,7 +5473,7 @@ pub mod task { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5559,7 +5559,7 @@ pub mod task { } } pub mod list_subtasks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5653,7 +5653,7 @@ pub mod task { } } pub mod terminate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5747,7 +5747,7 @@ pub mod task { } } pub mod reactivate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5771,7 +5771,7 @@ pub mod task { } } pub mod compute_node { - use crate::models::*; + use super::{models, models::*}; pub async fn add_user( operation_config: &crate::OperationConfig, pool_id: &str, @@ -5829,7 +5829,7 @@ pub mod compute_node { } } pub mod add_user { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5915,7 +5915,7 @@ pub mod compute_node { } } pub mod update_user { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5999,7 +5999,7 @@ pub mod compute_node { } } pub mod delete_user { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6082,7 +6082,7 @@ pub mod compute_node { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6162,7 +6162,7 @@ pub mod compute_node { } } pub mod reboot { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6245,7 +6245,7 @@ pub mod compute_node { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6333,7 +6333,7 @@ pub mod compute_node { } } pub mod disable_scheduling { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6416,7 +6416,7 @@ pub mod compute_node { } } pub mod enable_scheduling { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6505,7 +6505,7 @@ pub mod compute_node { } } pub mod get_remote_login_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6587,7 +6587,7 @@ pub mod compute_node { } } pub mod get_remote_desktop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6679,7 +6679,7 @@ pub mod compute_node { } } pub mod upload_batch_service_logs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6769,7 +6769,7 @@ pub mod compute_node { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/batch/src/package_2019_08_10_0/operations.rs b/services/svc/batch/src/package_2019_08_10_0/operations.rs index 4949f04a69..4200ea5f69 100644 --- a/services/svc/batch/src/package_2019_08_10_0/operations.rs +++ b/services/svc/batch/src/package_2019_08_10_0/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod application { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, maxresults: Option, @@ -64,7 +64,7 @@ pub mod application { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -142,7 +142,7 @@ pub mod application { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -166,7 +166,7 @@ pub mod application { } } pub mod pool { - use crate::models::*; + use super::{models, models::*}; pub async fn list_usage_metrics( operation_config: &crate::OperationConfig, starttime: Option<&str>, @@ -241,7 +241,7 @@ pub mod pool { } } pub mod list_usage_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -323,7 +323,7 @@ pub mod pool { } } pub mod get_all_lifetime_statistics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -416,7 +416,7 @@ pub mod pool { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -490,7 +490,7 @@ pub mod pool { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -592,7 +592,7 @@ pub mod pool { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -683,7 +683,7 @@ pub mod pool { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -772,7 +772,7 @@ pub mod pool { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -862,7 +862,7 @@ pub mod pool { } } pub mod exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -941,7 +941,7 @@ pub mod pool { } } pub mod disable_auto_scale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1035,7 +1035,7 @@ pub mod pool { } } pub mod enable_auto_scale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1118,7 +1118,7 @@ pub mod pool { } } pub mod evaluate_auto_scale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1209,7 +1209,7 @@ pub mod pool { } } pub mod resize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1302,7 +1302,7 @@ pub mod pool { } } pub mod stop_resize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1380,7 +1380,7 @@ pub mod pool { } } pub mod update_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1474,7 +1474,7 @@ pub mod pool { } } pub mod remove_nodes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1498,7 +1498,7 @@ pub mod pool { } } pub mod account { - use crate::models::*; + use super::{models, models::*}; pub async fn list_supported_images( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -1567,7 +1567,7 @@ pub mod account { } } pub mod list_supported_images { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1657,7 +1657,7 @@ pub mod account { } } pub mod list_pool_node_counts { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1681,7 +1681,7 @@ pub mod account { } } pub mod job { - use crate::models::*; + use super::{models, models::*}; pub async fn get_all_lifetime_statistics( operation_config: &crate::OperationConfig, timeout: Option, @@ -1742,7 +1742,7 @@ pub mod job { } } pub mod get_all_lifetime_statistics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1844,7 +1844,7 @@ pub mod job { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1935,7 +1935,7 @@ pub mod job { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2026,7 +2026,7 @@ pub mod job { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2115,7 +2115,7 @@ pub mod job { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2209,7 +2209,7 @@ pub mod job { } } pub mod disable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2299,7 +2299,7 @@ pub mod job { } } pub mod enable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2397,7 +2397,7 @@ pub mod job { } } pub mod terminate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2490,7 +2490,7 @@ pub mod job { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2564,7 +2564,7 @@ pub mod job { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2663,7 +2663,7 @@ pub mod job { } } pub mod list_from_job_schedule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2762,7 +2762,7 @@ pub mod job { } } pub mod list_preparation_and_release_task_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2843,7 +2843,7 @@ pub mod job { } } pub mod get_task_counts { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2867,7 +2867,7 @@ pub mod job { } } pub mod certificate { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -2935,7 +2935,7 @@ pub mod certificate { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3009,7 +3009,7 @@ pub mod certificate { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3092,7 +3092,7 @@ pub mod certificate { } } pub mod cancel_deletion { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3180,7 +3180,7 @@ pub mod certificate { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3259,7 +3259,7 @@ pub mod certificate { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3283,7 +3283,7 @@ pub mod certificate { } } pub mod file { - use crate::models::*; + use super::{models, models::*}; pub async fn get_from_task( operation_config: &crate::OperationConfig, job_id: &str, @@ -3363,7 +3363,7 @@ pub mod file { } } pub mod get_from_task { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3451,7 +3451,7 @@ pub mod file { } } pub mod delete_from_task { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3545,7 +3545,7 @@ pub mod file { } } pub mod get_properties_from_task { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3648,7 +3648,7 @@ pub mod file { } } pub mod get_from_compute_node { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3738,7 +3738,7 @@ pub mod file { } } pub mod delete_from_compute_node { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3832,7 +3832,7 @@ pub mod file { } } pub mod get_properties_from_compute_node { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3926,7 +3926,7 @@ pub mod file { } } pub mod list_from_task { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4022,7 +4022,7 @@ pub mod file { } } pub mod list_from_compute_node { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4046,7 +4046,7 @@ pub mod file { } } pub mod job_schedule { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, job_schedule_id: &str, @@ -4127,7 +4127,7 @@ pub mod job_schedule { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4218,7 +4218,7 @@ pub mod job_schedule { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4309,7 +4309,7 @@ pub mod job_schedule { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4398,7 +4398,7 @@ pub mod job_schedule { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4488,7 +4488,7 @@ pub mod job_schedule { } } pub mod exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -4583,7 +4583,7 @@ pub mod job_schedule { } } pub mod disable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4673,7 +4673,7 @@ pub mod job_schedule { } } pub mod enable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4766,7 +4766,7 @@ pub mod job_schedule { } } pub mod terminate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4859,7 +4859,7 @@ pub mod job_schedule { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4933,7 +4933,7 @@ pub mod job_schedule { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4957,7 +4957,7 @@ pub mod job_schedule { } } pub mod task { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, job_id: &str, @@ -5030,7 +5030,7 @@ pub mod task { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5105,7 +5105,7 @@ pub mod task { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5188,7 +5188,7 @@ pub mod task { } } pub mod add_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5291,7 +5291,7 @@ pub mod task { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5383,7 +5383,7 @@ pub mod task { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5473,7 +5473,7 @@ pub mod task { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5559,7 +5559,7 @@ pub mod task { } } pub mod list_subtasks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5653,7 +5653,7 @@ pub mod task { } } pub mod terminate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5747,7 +5747,7 @@ pub mod task { } } pub mod reactivate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5771,7 +5771,7 @@ pub mod task { } } pub mod compute_node { - use crate::models::*; + use super::{models, models::*}; pub async fn add_user( operation_config: &crate::OperationConfig, pool_id: &str, @@ -5829,7 +5829,7 @@ pub mod compute_node { } } pub mod add_user { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5915,7 +5915,7 @@ pub mod compute_node { } } pub mod update_user { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5999,7 +5999,7 @@ pub mod compute_node { } } pub mod delete_user { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6082,7 +6082,7 @@ pub mod compute_node { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6162,7 +6162,7 @@ pub mod compute_node { } } pub mod reboot { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6245,7 +6245,7 @@ pub mod compute_node { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6333,7 +6333,7 @@ pub mod compute_node { } } pub mod disable_scheduling { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6416,7 +6416,7 @@ pub mod compute_node { } } pub mod enable_scheduling { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6505,7 +6505,7 @@ pub mod compute_node { } } pub mod get_remote_login_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6587,7 +6587,7 @@ pub mod compute_node { } } pub mod get_remote_desktop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6679,7 +6679,7 @@ pub mod compute_node { } } pub mod upload_batch_service_logs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6769,7 +6769,7 @@ pub mod compute_node { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/batch/src/package_2020_03_11_0/operations.rs b/services/svc/batch/src/package_2020_03_11_0/operations.rs index 4949f04a69..4200ea5f69 100644 --- a/services/svc/batch/src/package_2020_03_11_0/operations.rs +++ b/services/svc/batch/src/package_2020_03_11_0/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod application { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, maxresults: Option, @@ -64,7 +64,7 @@ pub mod application { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -142,7 +142,7 @@ pub mod application { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -166,7 +166,7 @@ pub mod application { } } pub mod pool { - use crate::models::*; + use super::{models, models::*}; pub async fn list_usage_metrics( operation_config: &crate::OperationConfig, starttime: Option<&str>, @@ -241,7 +241,7 @@ pub mod pool { } } pub mod list_usage_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -323,7 +323,7 @@ pub mod pool { } } pub mod get_all_lifetime_statistics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -416,7 +416,7 @@ pub mod pool { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -490,7 +490,7 @@ pub mod pool { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -592,7 +592,7 @@ pub mod pool { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -683,7 +683,7 @@ pub mod pool { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -772,7 +772,7 @@ pub mod pool { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -862,7 +862,7 @@ pub mod pool { } } pub mod exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -941,7 +941,7 @@ pub mod pool { } } pub mod disable_auto_scale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1035,7 +1035,7 @@ pub mod pool { } } pub mod enable_auto_scale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1118,7 +1118,7 @@ pub mod pool { } } pub mod evaluate_auto_scale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1209,7 +1209,7 @@ pub mod pool { } } pub mod resize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1302,7 +1302,7 @@ pub mod pool { } } pub mod stop_resize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1380,7 +1380,7 @@ pub mod pool { } } pub mod update_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1474,7 +1474,7 @@ pub mod pool { } } pub mod remove_nodes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1498,7 +1498,7 @@ pub mod pool { } } pub mod account { - use crate::models::*; + use super::{models, models::*}; pub async fn list_supported_images( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -1567,7 +1567,7 @@ pub mod account { } } pub mod list_supported_images { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1657,7 +1657,7 @@ pub mod account { } } pub mod list_pool_node_counts { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1681,7 +1681,7 @@ pub mod account { } } pub mod job { - use crate::models::*; + use super::{models, models::*}; pub async fn get_all_lifetime_statistics( operation_config: &crate::OperationConfig, timeout: Option, @@ -1742,7 +1742,7 @@ pub mod job { } } pub mod get_all_lifetime_statistics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1844,7 +1844,7 @@ pub mod job { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1935,7 +1935,7 @@ pub mod job { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2026,7 +2026,7 @@ pub mod job { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2115,7 +2115,7 @@ pub mod job { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2209,7 +2209,7 @@ pub mod job { } } pub mod disable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2299,7 +2299,7 @@ pub mod job { } } pub mod enable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2397,7 +2397,7 @@ pub mod job { } } pub mod terminate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2490,7 +2490,7 @@ pub mod job { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2564,7 +2564,7 @@ pub mod job { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2663,7 +2663,7 @@ pub mod job { } } pub mod list_from_job_schedule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2762,7 +2762,7 @@ pub mod job { } } pub mod list_preparation_and_release_task_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2843,7 +2843,7 @@ pub mod job { } } pub mod get_task_counts { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2867,7 +2867,7 @@ pub mod job { } } pub mod certificate { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -2935,7 +2935,7 @@ pub mod certificate { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3009,7 +3009,7 @@ pub mod certificate { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3092,7 +3092,7 @@ pub mod certificate { } } pub mod cancel_deletion { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3180,7 +3180,7 @@ pub mod certificate { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3259,7 +3259,7 @@ pub mod certificate { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3283,7 +3283,7 @@ pub mod certificate { } } pub mod file { - use crate::models::*; + use super::{models, models::*}; pub async fn get_from_task( operation_config: &crate::OperationConfig, job_id: &str, @@ -3363,7 +3363,7 @@ pub mod file { } } pub mod get_from_task { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3451,7 +3451,7 @@ pub mod file { } } pub mod delete_from_task { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3545,7 +3545,7 @@ pub mod file { } } pub mod get_properties_from_task { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3648,7 +3648,7 @@ pub mod file { } } pub mod get_from_compute_node { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3738,7 +3738,7 @@ pub mod file { } } pub mod delete_from_compute_node { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3832,7 +3832,7 @@ pub mod file { } } pub mod get_properties_from_compute_node { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3926,7 +3926,7 @@ pub mod file { } } pub mod list_from_task { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4022,7 +4022,7 @@ pub mod file { } } pub mod list_from_compute_node { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4046,7 +4046,7 @@ pub mod file { } } pub mod job_schedule { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, job_schedule_id: &str, @@ -4127,7 +4127,7 @@ pub mod job_schedule { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4218,7 +4218,7 @@ pub mod job_schedule { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4309,7 +4309,7 @@ pub mod job_schedule { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4398,7 +4398,7 @@ pub mod job_schedule { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4488,7 +4488,7 @@ pub mod job_schedule { } } pub mod exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -4583,7 +4583,7 @@ pub mod job_schedule { } } pub mod disable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4673,7 +4673,7 @@ pub mod job_schedule { } } pub mod enable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4766,7 +4766,7 @@ pub mod job_schedule { } } pub mod terminate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4859,7 +4859,7 @@ pub mod job_schedule { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4933,7 +4933,7 @@ pub mod job_schedule { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4957,7 +4957,7 @@ pub mod job_schedule { } } pub mod task { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, job_id: &str, @@ -5030,7 +5030,7 @@ pub mod task { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5105,7 +5105,7 @@ pub mod task { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5188,7 +5188,7 @@ pub mod task { } } pub mod add_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5291,7 +5291,7 @@ pub mod task { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5383,7 +5383,7 @@ pub mod task { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5473,7 +5473,7 @@ pub mod task { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5559,7 +5559,7 @@ pub mod task { } } pub mod list_subtasks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5653,7 +5653,7 @@ pub mod task { } } pub mod terminate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5747,7 +5747,7 @@ pub mod task { } } pub mod reactivate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5771,7 +5771,7 @@ pub mod task { } } pub mod compute_node { - use crate::models::*; + use super::{models, models::*}; pub async fn add_user( operation_config: &crate::OperationConfig, pool_id: &str, @@ -5829,7 +5829,7 @@ pub mod compute_node { } } pub mod add_user { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5915,7 +5915,7 @@ pub mod compute_node { } } pub mod update_user { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5999,7 +5999,7 @@ pub mod compute_node { } } pub mod delete_user { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6082,7 +6082,7 @@ pub mod compute_node { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6162,7 +6162,7 @@ pub mod compute_node { } } pub mod reboot { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6245,7 +6245,7 @@ pub mod compute_node { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6333,7 +6333,7 @@ pub mod compute_node { } } pub mod disable_scheduling { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6416,7 +6416,7 @@ pub mod compute_node { } } pub mod enable_scheduling { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6505,7 +6505,7 @@ pub mod compute_node { } } pub mod get_remote_login_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6587,7 +6587,7 @@ pub mod compute_node { } } pub mod get_remote_desktop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6679,7 +6679,7 @@ pub mod compute_node { } } pub mod upload_batch_service_logs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6769,7 +6769,7 @@ pub mod compute_node { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/batch/src/package_2020_09_12_0/operations.rs b/services/svc/batch/src/package_2020_09_12_0/operations.rs index 1e7a217db3..58134c5e7e 100644 --- a/services/svc/batch/src/package_2020_09_12_0/operations.rs +++ b/services/svc/batch/src/package_2020_09_12_0/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod application { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, maxresults: Option, @@ -64,7 +64,7 @@ pub mod application { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -142,7 +142,7 @@ pub mod application { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -166,7 +166,7 @@ pub mod application { } } pub mod pool { - use crate::models::*; + use super::{models, models::*}; pub async fn list_usage_metrics( operation_config: &crate::OperationConfig, starttime: Option<&str>, @@ -241,7 +241,7 @@ pub mod pool { } } pub mod list_usage_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -323,7 +323,7 @@ pub mod pool { } } pub mod get_all_lifetime_statistics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -416,7 +416,7 @@ pub mod pool { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -490,7 +490,7 @@ pub mod pool { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -592,7 +592,7 @@ pub mod pool { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -683,7 +683,7 @@ pub mod pool { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -772,7 +772,7 @@ pub mod pool { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -862,7 +862,7 @@ pub mod pool { } } pub mod exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -941,7 +941,7 @@ pub mod pool { } } pub mod disable_auto_scale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1035,7 +1035,7 @@ pub mod pool { } } pub mod enable_auto_scale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1118,7 +1118,7 @@ pub mod pool { } } pub mod evaluate_auto_scale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1209,7 +1209,7 @@ pub mod pool { } } pub mod resize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1302,7 +1302,7 @@ pub mod pool { } } pub mod stop_resize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1380,7 +1380,7 @@ pub mod pool { } } pub mod update_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1474,7 +1474,7 @@ pub mod pool { } } pub mod remove_nodes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1498,7 +1498,7 @@ pub mod pool { } } pub mod account { - use crate::models::*; + use super::{models, models::*}; pub async fn list_supported_images( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -1567,7 +1567,7 @@ pub mod account { } } pub mod list_supported_images { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1657,7 +1657,7 @@ pub mod account { } } pub mod list_pool_node_counts { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1681,7 +1681,7 @@ pub mod account { } } pub mod job { - use crate::models::*; + use super::{models, models::*}; pub async fn get_all_lifetime_statistics( operation_config: &crate::OperationConfig, timeout: Option, @@ -1742,7 +1742,7 @@ pub mod job { } } pub mod get_all_lifetime_statistics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1844,7 +1844,7 @@ pub mod job { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1935,7 +1935,7 @@ pub mod job { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2026,7 +2026,7 @@ pub mod job { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2115,7 +2115,7 @@ pub mod job { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2209,7 +2209,7 @@ pub mod job { } } pub mod disable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2299,7 +2299,7 @@ pub mod job { } } pub mod enable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2397,7 +2397,7 @@ pub mod job { } } pub mod terminate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2490,7 +2490,7 @@ pub mod job { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2564,7 +2564,7 @@ pub mod job { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2663,7 +2663,7 @@ pub mod job { } } pub mod list_from_job_schedule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2762,7 +2762,7 @@ pub mod job { } } pub mod list_preparation_and_release_task_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2843,7 +2843,7 @@ pub mod job { } } pub mod get_task_counts { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2867,7 +2867,7 @@ pub mod job { } } pub mod certificate { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -2935,7 +2935,7 @@ pub mod certificate { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3009,7 +3009,7 @@ pub mod certificate { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3092,7 +3092,7 @@ pub mod certificate { } } pub mod cancel_deletion { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3180,7 +3180,7 @@ pub mod certificate { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3259,7 +3259,7 @@ pub mod certificate { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3283,7 +3283,7 @@ pub mod certificate { } } pub mod file { - use crate::models::*; + use super::{models, models::*}; pub async fn get_from_task( operation_config: &crate::OperationConfig, job_id: &str, @@ -3363,7 +3363,7 @@ pub mod file { } } pub mod get_from_task { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3451,7 +3451,7 @@ pub mod file { } } pub mod delete_from_task { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3545,7 +3545,7 @@ pub mod file { } } pub mod get_properties_from_task { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3648,7 +3648,7 @@ pub mod file { } } pub mod get_from_compute_node { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3738,7 +3738,7 @@ pub mod file { } } pub mod delete_from_compute_node { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3832,7 +3832,7 @@ pub mod file { } } pub mod get_properties_from_compute_node { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3926,7 +3926,7 @@ pub mod file { } } pub mod list_from_task { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4022,7 +4022,7 @@ pub mod file { } } pub mod list_from_compute_node { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4046,7 +4046,7 @@ pub mod file { } } pub mod job_schedule { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, job_schedule_id: &str, @@ -4127,7 +4127,7 @@ pub mod job_schedule { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4218,7 +4218,7 @@ pub mod job_schedule { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4309,7 +4309,7 @@ pub mod job_schedule { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4398,7 +4398,7 @@ pub mod job_schedule { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4488,7 +4488,7 @@ pub mod job_schedule { } } pub mod exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -4583,7 +4583,7 @@ pub mod job_schedule { } } pub mod disable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4673,7 +4673,7 @@ pub mod job_schedule { } } pub mod enable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4766,7 +4766,7 @@ pub mod job_schedule { } } pub mod terminate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4859,7 +4859,7 @@ pub mod job_schedule { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4933,7 +4933,7 @@ pub mod job_schedule { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4957,7 +4957,7 @@ pub mod job_schedule { } } pub mod task { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, job_id: &str, @@ -5030,7 +5030,7 @@ pub mod task { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5105,7 +5105,7 @@ pub mod task { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5188,7 +5188,7 @@ pub mod task { } } pub mod add_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5291,7 +5291,7 @@ pub mod task { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5383,7 +5383,7 @@ pub mod task { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5473,7 +5473,7 @@ pub mod task { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5559,7 +5559,7 @@ pub mod task { } } pub mod list_subtasks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5653,7 +5653,7 @@ pub mod task { } } pub mod terminate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5747,7 +5747,7 @@ pub mod task { } } pub mod reactivate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5771,7 +5771,7 @@ pub mod task { } } pub mod compute_node { - use crate::models::*; + use super::{models, models::*}; pub async fn add_user( operation_config: &crate::OperationConfig, pool_id: &str, @@ -5829,7 +5829,7 @@ pub mod compute_node { } } pub mod add_user { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5915,7 +5915,7 @@ pub mod compute_node { } } pub mod update_user { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5999,7 +5999,7 @@ pub mod compute_node { } } pub mod delete_user { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6082,7 +6082,7 @@ pub mod compute_node { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6162,7 +6162,7 @@ pub mod compute_node { } } pub mod reboot { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6245,7 +6245,7 @@ pub mod compute_node { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6333,7 +6333,7 @@ pub mod compute_node { } } pub mod disable_scheduling { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6416,7 +6416,7 @@ pub mod compute_node { } } pub mod enable_scheduling { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6505,7 +6505,7 @@ pub mod compute_node { } } pub mod get_remote_login_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6587,7 +6587,7 @@ pub mod compute_node { } } pub mod get_remote_desktop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6679,7 +6679,7 @@ pub mod compute_node { } } pub mod upload_batch_service_logs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6769,7 +6769,7 @@ pub mod compute_node { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/batch/src/package_2021_06_14_0/operations.rs b/services/svc/batch/src/package_2021_06_14_0/operations.rs index da2371e90f..c98fc93a08 100644 --- a/services/svc/batch/src/package_2021_06_14_0/operations.rs +++ b/services/svc/batch/src/package_2021_06_14_0/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod application { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, maxresults: Option, @@ -64,7 +64,7 @@ pub mod application { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -142,7 +142,7 @@ pub mod application { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -166,7 +166,7 @@ pub mod application { } } pub mod pool { - use crate::models::*; + use super::{models, models::*}; pub async fn list_usage_metrics( operation_config: &crate::OperationConfig, starttime: Option<&str>, @@ -241,7 +241,7 @@ pub mod pool { } } pub mod list_usage_metrics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -323,7 +323,7 @@ pub mod pool { } } pub mod get_all_lifetime_statistics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -416,7 +416,7 @@ pub mod pool { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -490,7 +490,7 @@ pub mod pool { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -592,7 +592,7 @@ pub mod pool { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -683,7 +683,7 @@ pub mod pool { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -772,7 +772,7 @@ pub mod pool { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -862,7 +862,7 @@ pub mod pool { } } pub mod exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -941,7 +941,7 @@ pub mod pool { } } pub mod disable_auto_scale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1035,7 +1035,7 @@ pub mod pool { } } pub mod enable_auto_scale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1118,7 +1118,7 @@ pub mod pool { } } pub mod evaluate_auto_scale { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1209,7 +1209,7 @@ pub mod pool { } } pub mod resize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1302,7 +1302,7 @@ pub mod pool { } } pub mod stop_resize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1380,7 +1380,7 @@ pub mod pool { } } pub mod update_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1474,7 +1474,7 @@ pub mod pool { } } pub mod remove_nodes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1498,7 +1498,7 @@ pub mod pool { } } pub mod account { - use crate::models::*; + use super::{models, models::*}; pub async fn list_supported_images( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -1567,7 +1567,7 @@ pub mod account { } } pub mod list_supported_images { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1657,7 +1657,7 @@ pub mod account { } } pub mod list_pool_node_counts { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1681,7 +1681,7 @@ pub mod account { } } pub mod job { - use crate::models::*; + use super::{models, models::*}; pub async fn get_all_lifetime_statistics( operation_config: &crate::OperationConfig, timeout: Option, @@ -1742,7 +1742,7 @@ pub mod job { } } pub mod get_all_lifetime_statistics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1844,7 +1844,7 @@ pub mod job { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1935,7 +1935,7 @@ pub mod job { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2026,7 +2026,7 @@ pub mod job { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2115,7 +2115,7 @@ pub mod job { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2209,7 +2209,7 @@ pub mod job { } } pub mod disable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2299,7 +2299,7 @@ pub mod job { } } pub mod enable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2397,7 +2397,7 @@ pub mod job { } } pub mod terminate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2490,7 +2490,7 @@ pub mod job { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2564,7 +2564,7 @@ pub mod job { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2663,7 +2663,7 @@ pub mod job { } } pub mod list_from_job_schedule { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2762,7 +2762,7 @@ pub mod job { } } pub mod list_preparation_and_release_task_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2843,7 +2843,7 @@ pub mod job { } } pub mod get_task_counts { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2867,7 +2867,7 @@ pub mod job { } } pub mod certificate { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -2935,7 +2935,7 @@ pub mod certificate { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3009,7 +3009,7 @@ pub mod certificate { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3092,7 +3092,7 @@ pub mod certificate { } } pub mod cancel_deletion { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3180,7 +3180,7 @@ pub mod certificate { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3259,7 +3259,7 @@ pub mod certificate { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3283,7 +3283,7 @@ pub mod certificate { } } pub mod file { - use crate::models::*; + use super::{models, models::*}; pub async fn get_from_task( operation_config: &crate::OperationConfig, job_id: &str, @@ -3363,7 +3363,7 @@ pub mod file { } } pub mod get_from_task { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3451,7 +3451,7 @@ pub mod file { } } pub mod delete_from_task { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3545,7 +3545,7 @@ pub mod file { } } pub mod get_properties_from_task { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3648,7 +3648,7 @@ pub mod file { } } pub mod get_from_compute_node { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3738,7 +3738,7 @@ pub mod file { } } pub mod delete_from_compute_node { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3832,7 +3832,7 @@ pub mod file { } } pub mod get_properties_from_compute_node { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3926,7 +3926,7 @@ pub mod file { } } pub mod list_from_task { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4022,7 +4022,7 @@ pub mod file { } } pub mod list_from_compute_node { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4046,7 +4046,7 @@ pub mod file { } } pub mod job_schedule { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, job_schedule_id: &str, @@ -4127,7 +4127,7 @@ pub mod job_schedule { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4218,7 +4218,7 @@ pub mod job_schedule { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4309,7 +4309,7 @@ pub mod job_schedule { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4398,7 +4398,7 @@ pub mod job_schedule { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4488,7 +4488,7 @@ pub mod job_schedule { } } pub mod exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -4583,7 +4583,7 @@ pub mod job_schedule { } } pub mod disable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4673,7 +4673,7 @@ pub mod job_schedule { } } pub mod enable { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4766,7 +4766,7 @@ pub mod job_schedule { } } pub mod terminate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4859,7 +4859,7 @@ pub mod job_schedule { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4933,7 +4933,7 @@ pub mod job_schedule { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4957,7 +4957,7 @@ pub mod job_schedule { } } pub mod task { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, job_id: &str, @@ -5030,7 +5030,7 @@ pub mod task { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5105,7 +5105,7 @@ pub mod task { } } pub mod add { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5188,7 +5188,7 @@ pub mod task { } } pub mod add_collection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5291,7 +5291,7 @@ pub mod task { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5383,7 +5383,7 @@ pub mod task { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5473,7 +5473,7 @@ pub mod task { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5559,7 +5559,7 @@ pub mod task { } } pub mod list_subtasks { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5653,7 +5653,7 @@ pub mod task { } } pub mod terminate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5747,7 +5747,7 @@ pub mod task { } } pub mod reactivate { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5771,7 +5771,7 @@ pub mod task { } } pub mod compute_node { - use crate::models::*; + use super::{models, models::*}; pub async fn add_user( operation_config: &crate::OperationConfig, pool_id: &str, @@ -5829,7 +5829,7 @@ pub mod compute_node { } } pub mod add_user { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5915,7 +5915,7 @@ pub mod compute_node { } } pub mod update_user { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5999,7 +5999,7 @@ pub mod compute_node { } } pub mod delete_user { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6082,7 +6082,7 @@ pub mod compute_node { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6162,7 +6162,7 @@ pub mod compute_node { } } pub mod reboot { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6245,7 +6245,7 @@ pub mod compute_node { } } pub mod reimage { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6333,7 +6333,7 @@ pub mod compute_node { } } pub mod disable_scheduling { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6416,7 +6416,7 @@ pub mod compute_node { } } pub mod enable_scheduling { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6505,7 +6505,7 @@ pub mod compute_node { } } pub mod get_remote_login_settings { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6587,7 +6587,7 @@ pub mod compute_node { } } pub mod get_remote_desktop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6679,7 +6679,7 @@ pub mod compute_node { } } pub mod upload_batch_service_logs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6769,7 +6769,7 @@ pub mod compute_node { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6793,7 +6793,7 @@ pub mod compute_node { } } pub mod compute_node_extension { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, pool_id: &str, @@ -6862,7 +6862,7 @@ pub mod compute_node_extension { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6949,7 +6949,7 @@ pub mod compute_node_extension { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/blobstorage/Cargo.toml b/services/svc/blobstorage/Cargo.toml index 14f954e7e0..a4f753184d 100644 --- a/services/svc/blobstorage/Cargo.toml +++ b/services/svc/blobstorage/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2020-10"] +no-default-version = [] "package-2020-10" = [] "package-2020-12" = [] "package-2021-02" = [] diff --git a/services/svc/blobstorage/src/lib.rs b/services/svc/blobstorage/src/lib.rs index cdbbda412e..4691ebf401 100644 --- a/services/svc/blobstorage/src/lib.rs +++ b/services/svc/blobstorage/src/lib.rs @@ -1,17 +1,25 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2020-10")] -mod package_2020_10; -#[cfg(feature = "package-2020-10")] +pub mod package_2020_10; +#[cfg(all(feature = "package-2020-10", not(feature = "no-default-version")))] pub use package_2020_10::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-12")] -mod package_2020_12; -#[cfg(feature = "package-2020-12")] +pub mod package_2020_12; +#[cfg(all(feature = "package-2020-12", not(feature = "no-default-version")))] pub use package_2020_12::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-02")] -mod package_2021_02; +pub mod package_2021_02; use azure_core::setters; -#[cfg(feature = "package-2021-02")] +#[cfg(all(feature = "package-2021-02", not(feature = "no-default-version")))] pub use package_2021_02::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -35,7 +43,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/svc/blobstorage/src/package_2020_10/operations.rs b/services/svc/blobstorage/src/package_2020_10/operations.rs index a1e36ad26a..06e6000073 100644 --- a/services/svc/blobstorage/src/package_2020_10/operations.rs +++ b/services/svc/blobstorage/src/package_2020_10/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod service { - use crate::models::*; + use super::{models, models::*}; pub async fn get_properties( operation_config: &crate::OperationConfig, restype: &str, @@ -60,7 +60,7 @@ pub mod service { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod service { } } pub mod set_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -211,7 +211,7 @@ pub mod service { } } pub mod get_statistics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -301,7 +301,7 @@ pub mod service { } } pub mod list_containers_segment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -382,7 +382,7 @@ pub mod service { } } pub mod get_user_delegation_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -446,7 +446,7 @@ pub mod service { } } pub mod get_account_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -527,7 +527,7 @@ pub mod service { } } pub mod submit_batch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -614,7 +614,7 @@ pub mod service { } } pub mod filter_blobs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -638,7 +638,7 @@ pub mod service { } } pub mod container { - use crate::models::*; + use super::{models, models::*}; pub async fn get_properties( operation_config: &crate::OperationConfig, container_name: &str, @@ -692,7 +692,7 @@ pub mod container { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -779,7 +779,7 @@ pub mod container { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -859,7 +859,7 @@ pub mod container { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -948,7 +948,7 @@ pub mod container { } } pub mod set_metadata { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1030,7 +1030,7 @@ pub mod container { } } pub mod get_access_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1125,7 +1125,7 @@ pub mod container { } } pub mod set_access_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1210,7 +1210,7 @@ pub mod container { } } pub mod restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1286,7 +1286,7 @@ pub mod container { } } pub mod rename { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1370,7 +1370,7 @@ pub mod container { } } pub mod submit_batch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1465,7 +1465,7 @@ pub mod container { } } pub mod acquire_lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1554,7 +1554,7 @@ pub mod container { } } pub mod release_lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1643,7 +1643,7 @@ pub mod container { } } pub mod renew_lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1734,7 +1734,7 @@ pub mod container { } } pub mod break_lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1825,7 +1825,7 @@ pub mod container { } } pub mod change_lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1922,7 +1922,7 @@ pub mod container { } } pub mod list_blob_flat_segment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2021,7 +2021,7 @@ pub mod container { } } pub mod list_blob_hierarchy_segment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2090,7 +2090,7 @@ pub mod container { } } pub mod get_account_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2114,7 +2114,7 @@ pub mod container { } } pub mod blob { - use crate::models::*; + use super::{models, models::*}; pub async fn download( operation_config: &crate::OperationConfig, container_name: &str, @@ -2230,7 +2230,7 @@ pub mod blob { } } pub mod download { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -2342,7 +2342,7 @@ pub mod blob { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2456,7 +2456,7 @@ pub mod blob { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2528,7 +2528,7 @@ pub mod blob { } } pub mod undelete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2606,7 +2606,7 @@ pub mod blob { } } pub mod set_expiry { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2731,7 +2731,7 @@ pub mod blob { } } pub mod set_http_headers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2822,7 +2822,7 @@ pub mod blob { } } pub mod set_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2901,7 +2901,7 @@ pub mod blob { } } pub mod delete_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2975,7 +2975,7 @@ pub mod blob { } } pub mod set_legal_hold { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3091,7 +3091,7 @@ pub mod blob { } } pub mod set_metadata { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3193,7 +3193,7 @@ pub mod blob { } } pub mod acquire_lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3289,7 +3289,7 @@ pub mod blob { } } pub mod release_lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3385,7 +3385,7 @@ pub mod blob { } } pub mod renew_lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3483,7 +3483,7 @@ pub mod blob { } } pub mod change_lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3581,7 +3581,7 @@ pub mod blob { } } pub mod break_lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3697,7 +3697,7 @@ pub mod blob { } } pub mod create_snapshot { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3845,7 +3845,7 @@ pub mod blob { } } pub mod start_copy_from_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3991,7 +3991,7 @@ pub mod blob { } } pub mod copy_from_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4071,7 +4071,7 @@ pub mod blob { } } pub mod abort_copy_from_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4166,7 +4166,7 @@ pub mod blob { } } pub mod set_tier { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4242,7 +4242,7 @@ pub mod blob { } } pub mod get_account_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4368,7 +4368,7 @@ pub mod blob { } } pub mod query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -4466,7 +4466,7 @@ pub mod blob { } } pub mod get_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4564,7 +4564,7 @@ pub mod blob { } } pub mod set_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4588,7 +4588,7 @@ pub mod blob { } } pub mod page_blob { - use crate::models::*; + use super::{models, models::*}; pub async fn create( operation_config: &crate::OperationConfig, container_name: &str, @@ -4732,7 +4732,7 @@ pub mod page_blob { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4874,7 +4874,7 @@ pub mod page_blob { } } pub mod upload_pages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5006,7 +5006,7 @@ pub mod page_blob { } } pub mod clear_pages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5175,7 +5175,7 @@ pub mod page_blob { } } pub mod upload_pages_from_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5284,7 +5284,7 @@ pub mod page_blob { } } pub mod get_page_ranges { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5401,7 +5401,7 @@ pub mod page_blob { } } pub mod get_page_ranges_diff { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5517,7 +5517,7 @@ pub mod page_blob { } } pub mod resize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5626,7 +5626,7 @@ pub mod page_blob { } } pub mod update_sequence_number { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5720,7 +5720,7 @@ pub mod page_blob { } } pub mod copy_incremental { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5744,7 +5744,7 @@ pub mod page_blob { } } pub mod append_blob { - use crate::models::*; + use super::{models, models::*}; pub async fn create( operation_config: &crate::OperationConfig, container_name: &str, @@ -5878,7 +5878,7 @@ pub mod append_blob { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6010,7 +6010,7 @@ pub mod append_blob { } } pub mod append_block { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6177,7 +6177,7 @@ pub mod append_blob { } } pub mod append_block_from_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6270,7 +6270,7 @@ pub mod append_blob { } } pub mod seal { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6294,7 +6294,7 @@ pub mod append_blob { } } pub mod block_blob { - use crate::models::*; + use super::{models, models::*}; pub async fn upload( operation_config: &crate::OperationConfig, container_name: &str, @@ -6438,7 +6438,7 @@ pub mod block_blob { } } pub mod upload { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6626,7 +6626,7 @@ pub mod block_blob { } } pub mod put_blob_from_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6732,7 +6732,7 @@ pub mod block_blob { } } pub mod stage_block { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6862,7 +6862,7 @@ pub mod block_blob { } } pub mod stage_block_from_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6953,7 +6953,7 @@ pub mod block_blob { } } pub mod get_block_list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7123,7 +7123,7 @@ pub mod block_blob { } } pub mod commit_block_list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/blobstorage/src/package_2020_12/operations.rs b/services/svc/blobstorage/src/package_2020_12/operations.rs index 32241abb69..11645110c0 100644 --- a/services/svc/blobstorage/src/package_2020_12/operations.rs +++ b/services/svc/blobstorage/src/package_2020_12/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod service { - use crate::models::*; + use super::{models, models::*}; pub async fn get_properties( operation_config: &crate::OperationConfig, restype: &str, @@ -60,7 +60,7 @@ pub mod service { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod service { } } pub mod set_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -211,7 +211,7 @@ pub mod service { } } pub mod get_statistics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -301,7 +301,7 @@ pub mod service { } } pub mod list_containers_segment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -382,7 +382,7 @@ pub mod service { } } pub mod get_user_delegation_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -446,7 +446,7 @@ pub mod service { } } pub mod get_account_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -527,7 +527,7 @@ pub mod service { } } pub mod submit_batch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -614,7 +614,7 @@ pub mod service { } } pub mod filter_blobs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -638,7 +638,7 @@ pub mod service { } } pub mod container { - use crate::models::*; + use super::{models, models::*}; pub async fn get_properties( operation_config: &crate::OperationConfig, container_name: &str, @@ -692,7 +692,7 @@ pub mod container { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -779,7 +779,7 @@ pub mod container { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -859,7 +859,7 @@ pub mod container { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -948,7 +948,7 @@ pub mod container { } } pub mod set_metadata { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1030,7 +1030,7 @@ pub mod container { } } pub mod get_access_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1125,7 +1125,7 @@ pub mod container { } } pub mod set_access_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1210,7 +1210,7 @@ pub mod container { } } pub mod restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1286,7 +1286,7 @@ pub mod container { } } pub mod rename { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1370,7 +1370,7 @@ pub mod container { } } pub mod submit_batch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1465,7 +1465,7 @@ pub mod container { } } pub mod acquire_lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1554,7 +1554,7 @@ pub mod container { } } pub mod release_lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1643,7 +1643,7 @@ pub mod container { } } pub mod renew_lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1734,7 +1734,7 @@ pub mod container { } } pub mod break_lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1825,7 +1825,7 @@ pub mod container { } } pub mod change_lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1922,7 +1922,7 @@ pub mod container { } } pub mod list_blob_flat_segment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2021,7 +2021,7 @@ pub mod container { } } pub mod list_blob_hierarchy_segment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2090,7 +2090,7 @@ pub mod container { } } pub mod get_account_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2114,7 +2114,7 @@ pub mod container { } } pub mod blob { - use crate::models::*; + use super::{models, models::*}; pub async fn download( operation_config: &crate::OperationConfig, container_name: &str, @@ -2230,7 +2230,7 @@ pub mod blob { } } pub mod download { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -2342,7 +2342,7 @@ pub mod blob { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2456,7 +2456,7 @@ pub mod blob { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2528,7 +2528,7 @@ pub mod blob { } } pub mod undelete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2606,7 +2606,7 @@ pub mod blob { } } pub mod set_expiry { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2731,7 +2731,7 @@ pub mod blob { } } pub mod set_http_headers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2822,7 +2822,7 @@ pub mod blob { } } pub mod set_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2901,7 +2901,7 @@ pub mod blob { } } pub mod delete_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2975,7 +2975,7 @@ pub mod blob { } } pub mod set_legal_hold { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3091,7 +3091,7 @@ pub mod blob { } } pub mod set_metadata { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3193,7 +3193,7 @@ pub mod blob { } } pub mod acquire_lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3289,7 +3289,7 @@ pub mod blob { } } pub mod release_lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3385,7 +3385,7 @@ pub mod blob { } } pub mod renew_lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3483,7 +3483,7 @@ pub mod blob { } } pub mod change_lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3581,7 +3581,7 @@ pub mod blob { } } pub mod break_lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3697,7 +3697,7 @@ pub mod blob { } } pub mod create_snapshot { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3845,7 +3845,7 @@ pub mod blob { } } pub mod start_copy_from_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3995,7 +3995,7 @@ pub mod blob { } } pub mod copy_from_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4075,7 +4075,7 @@ pub mod blob { } } pub mod abort_copy_from_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4170,7 +4170,7 @@ pub mod blob { } } pub mod set_tier { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4246,7 +4246,7 @@ pub mod blob { } } pub mod get_account_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4372,7 +4372,7 @@ pub mod blob { } } pub mod query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -4470,7 +4470,7 @@ pub mod blob { } } pub mod get_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4568,7 +4568,7 @@ pub mod blob { } } pub mod set_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4592,7 +4592,7 @@ pub mod blob { } } pub mod page_blob { - use crate::models::*; + use super::{models, models::*}; pub async fn create( operation_config: &crate::OperationConfig, container_name: &str, @@ -4736,7 +4736,7 @@ pub mod page_blob { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4878,7 +4878,7 @@ pub mod page_blob { } } pub mod upload_pages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5010,7 +5010,7 @@ pub mod page_blob { } } pub mod clear_pages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5179,7 +5179,7 @@ pub mod page_blob { } } pub mod upload_pages_from_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5288,7 +5288,7 @@ pub mod page_blob { } } pub mod get_page_ranges { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5405,7 +5405,7 @@ pub mod page_blob { } } pub mod get_page_ranges_diff { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5521,7 +5521,7 @@ pub mod page_blob { } } pub mod resize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5630,7 +5630,7 @@ pub mod page_blob { } } pub mod update_sequence_number { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5724,7 +5724,7 @@ pub mod page_blob { } } pub mod copy_incremental { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5748,7 +5748,7 @@ pub mod page_blob { } } pub mod append_blob { - use crate::models::*; + use super::{models, models::*}; pub async fn create( operation_config: &crate::OperationConfig, container_name: &str, @@ -5882,7 +5882,7 @@ pub mod append_blob { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6014,7 +6014,7 @@ pub mod append_blob { } } pub mod append_block { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6181,7 +6181,7 @@ pub mod append_blob { } } pub mod append_block_from_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6274,7 +6274,7 @@ pub mod append_blob { } } pub mod seal { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6298,7 +6298,7 @@ pub mod append_blob { } } pub mod block_blob { - use crate::models::*; + use super::{models, models::*}; pub async fn upload( operation_config: &crate::OperationConfig, container_name: &str, @@ -6442,7 +6442,7 @@ pub mod block_blob { } } pub mod upload { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6630,7 +6630,7 @@ pub mod block_blob { } } pub mod put_blob_from_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6736,7 +6736,7 @@ pub mod block_blob { } } pub mod stage_block { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6866,7 +6866,7 @@ pub mod block_blob { } } pub mod stage_block_from_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6957,7 +6957,7 @@ pub mod block_blob { } } pub mod get_block_list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7127,7 +7127,7 @@ pub mod block_blob { } } pub mod commit_block_list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/blobstorage/src/package_2021_02/operations.rs b/services/svc/blobstorage/src/package_2021_02/operations.rs index 32241abb69..11645110c0 100644 --- a/services/svc/blobstorage/src/package_2021_02/operations.rs +++ b/services/svc/blobstorage/src/package_2021_02/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod service { - use crate::models::*; + use super::{models, models::*}; pub async fn get_properties( operation_config: &crate::OperationConfig, restype: &str, @@ -60,7 +60,7 @@ pub mod service { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod service { } } pub mod set_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -211,7 +211,7 @@ pub mod service { } } pub mod get_statistics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -301,7 +301,7 @@ pub mod service { } } pub mod list_containers_segment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -382,7 +382,7 @@ pub mod service { } } pub mod get_user_delegation_key { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -446,7 +446,7 @@ pub mod service { } } pub mod get_account_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -527,7 +527,7 @@ pub mod service { } } pub mod submit_batch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -614,7 +614,7 @@ pub mod service { } } pub mod filter_blobs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -638,7 +638,7 @@ pub mod service { } } pub mod container { - use crate::models::*; + use super::{models, models::*}; pub async fn get_properties( operation_config: &crate::OperationConfig, container_name: &str, @@ -692,7 +692,7 @@ pub mod container { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -779,7 +779,7 @@ pub mod container { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -859,7 +859,7 @@ pub mod container { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -948,7 +948,7 @@ pub mod container { } } pub mod set_metadata { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1030,7 +1030,7 @@ pub mod container { } } pub mod get_access_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1125,7 +1125,7 @@ pub mod container { } } pub mod set_access_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1210,7 +1210,7 @@ pub mod container { } } pub mod restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1286,7 +1286,7 @@ pub mod container { } } pub mod rename { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1370,7 +1370,7 @@ pub mod container { } } pub mod submit_batch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1465,7 +1465,7 @@ pub mod container { } } pub mod acquire_lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1554,7 +1554,7 @@ pub mod container { } } pub mod release_lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1643,7 +1643,7 @@ pub mod container { } } pub mod renew_lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1734,7 +1734,7 @@ pub mod container { } } pub mod break_lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1825,7 +1825,7 @@ pub mod container { } } pub mod change_lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1922,7 +1922,7 @@ pub mod container { } } pub mod list_blob_flat_segment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2021,7 +2021,7 @@ pub mod container { } } pub mod list_blob_hierarchy_segment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2090,7 +2090,7 @@ pub mod container { } } pub mod get_account_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2114,7 +2114,7 @@ pub mod container { } } pub mod blob { - use crate::models::*; + use super::{models, models::*}; pub async fn download( operation_config: &crate::OperationConfig, container_name: &str, @@ -2230,7 +2230,7 @@ pub mod blob { } } pub mod download { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -2342,7 +2342,7 @@ pub mod blob { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2456,7 +2456,7 @@ pub mod blob { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2528,7 +2528,7 @@ pub mod blob { } } pub mod undelete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2606,7 +2606,7 @@ pub mod blob { } } pub mod set_expiry { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2731,7 +2731,7 @@ pub mod blob { } } pub mod set_http_headers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2822,7 +2822,7 @@ pub mod blob { } } pub mod set_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2901,7 +2901,7 @@ pub mod blob { } } pub mod delete_immutability_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2975,7 +2975,7 @@ pub mod blob { } } pub mod set_legal_hold { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3091,7 +3091,7 @@ pub mod blob { } } pub mod set_metadata { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3193,7 +3193,7 @@ pub mod blob { } } pub mod acquire_lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3289,7 +3289,7 @@ pub mod blob { } } pub mod release_lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3385,7 +3385,7 @@ pub mod blob { } } pub mod renew_lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3483,7 +3483,7 @@ pub mod blob { } } pub mod change_lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3581,7 +3581,7 @@ pub mod blob { } } pub mod break_lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3697,7 +3697,7 @@ pub mod blob { } } pub mod create_snapshot { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3845,7 +3845,7 @@ pub mod blob { } } pub mod start_copy_from_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3995,7 +3995,7 @@ pub mod blob { } } pub mod copy_from_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4075,7 +4075,7 @@ pub mod blob { } } pub mod abort_copy_from_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4170,7 +4170,7 @@ pub mod blob { } } pub mod set_tier { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4246,7 +4246,7 @@ pub mod blob { } } pub mod get_account_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4372,7 +4372,7 @@ pub mod blob { } } pub mod query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -4470,7 +4470,7 @@ pub mod blob { } } pub mod get_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4568,7 +4568,7 @@ pub mod blob { } } pub mod set_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4592,7 +4592,7 @@ pub mod blob { } } pub mod page_blob { - use crate::models::*; + use super::{models, models::*}; pub async fn create( operation_config: &crate::OperationConfig, container_name: &str, @@ -4736,7 +4736,7 @@ pub mod page_blob { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4878,7 +4878,7 @@ pub mod page_blob { } } pub mod upload_pages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5010,7 +5010,7 @@ pub mod page_blob { } } pub mod clear_pages { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5179,7 +5179,7 @@ pub mod page_blob { } } pub mod upload_pages_from_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5288,7 +5288,7 @@ pub mod page_blob { } } pub mod get_page_ranges { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5405,7 +5405,7 @@ pub mod page_blob { } } pub mod get_page_ranges_diff { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5521,7 +5521,7 @@ pub mod page_blob { } } pub mod resize { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5630,7 +5630,7 @@ pub mod page_blob { } } pub mod update_sequence_number { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5724,7 +5724,7 @@ pub mod page_blob { } } pub mod copy_incremental { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5748,7 +5748,7 @@ pub mod page_blob { } } pub mod append_blob { - use crate::models::*; + use super::{models, models::*}; pub async fn create( operation_config: &crate::OperationConfig, container_name: &str, @@ -5882,7 +5882,7 @@ pub mod append_blob { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6014,7 +6014,7 @@ pub mod append_blob { } } pub mod append_block { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6181,7 +6181,7 @@ pub mod append_blob { } } pub mod append_block_from_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6274,7 +6274,7 @@ pub mod append_blob { } } pub mod seal { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6298,7 +6298,7 @@ pub mod append_blob { } } pub mod block_blob { - use crate::models::*; + use super::{models, models::*}; pub async fn upload( operation_config: &crate::OperationConfig, container_name: &str, @@ -6442,7 +6442,7 @@ pub mod block_blob { } } pub mod upload { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6630,7 +6630,7 @@ pub mod block_blob { } } pub mod put_blob_from_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6736,7 +6736,7 @@ pub mod block_blob { } } pub mod stage_block { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6866,7 +6866,7 @@ pub mod block_blob { } } pub mod stage_block_from_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -6957,7 +6957,7 @@ pub mod block_blob { } } pub mod get_block_list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -7127,7 +7127,7 @@ pub mod block_blob { } } pub mod commit_block_list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/confidentialledger/Cargo.toml b/services/svc/confidentialledger/Cargo.toml index 8aa38ee0e4..2bf89e72a8 100644 --- a/services/svc/confidentialledger/Cargo.toml +++ b/services/svc/confidentialledger/Cargo.toml @@ -20,5 +20,6 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-0.1-preview-ledger"] +no-default-version = [] "package-0.1-preview-ledger" = [] "package-0.1-preview-identity" = [] diff --git a/services/svc/confidentialledger/src/lib.rs b/services/svc/confidentialledger/src/lib.rs index 4718ca25ff..fe31fe11d6 100644 --- a/services/svc/confidentialledger/src/lib.rs +++ b/services/svc/confidentialledger/src/lib.rs @@ -1,13 +1,21 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-0.1-preview-ledger")] -mod package_0_1_preview_ledger; -#[cfg(feature = "package-0.1-preview-ledger")] +pub mod package_0_1_preview_ledger; +#[cfg(all(feature = "package-0.1-preview-ledger", not(feature = "no-default-version")))] pub use package_0_1_preview_ledger::{models, operations, API_VERSION}; #[cfg(feature = "package-0.1-preview-identity")] -mod package_0_1_preview_identity; +pub mod package_0_1_preview_identity; use azure_core::setters; -#[cfg(feature = "package-0.1-preview-identity")] +#[cfg(all(feature = "package-0.1-preview-identity", not(feature = "no-default-version")))] pub use package_0_1_preview_identity::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -31,7 +39,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/svc/confidentialledger/src/package_0_1_preview_identity/operations.rs b/services/svc/confidentialledger/src/package_0_1_preview_identity/operations.rs index 46cee8b106..c3e7f9d7b4 100644 --- a/services/svc/confidentialledger/src/package_0_1_preview_identity/operations.rs +++ b/services/svc/confidentialledger/src/package_0_1_preview_identity/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod confidential_ledger_identity_service { - use crate::models::*; + use super::{models, models::*}; pub async fn get_ledger_identity( operation_config: &crate::OperationConfig, ledger_id: &str, @@ -48,7 +48,7 @@ pub mod confidential_ledger_identity_service { } } pub mod get_ledger_identity { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/confidentialledger/src/package_0_1_preview_ledger/operations.rs b/services/svc/confidentialledger/src/package_0_1_preview_ledger/operations.rs index 4a697fc810..957e5cdf6e 100644 --- a/services/svc/confidentialledger/src/package_0_1_preview_ledger/operations.rs +++ b/services/svc/confidentialledger/src/package_0_1_preview_ledger/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod confidential_ledger { - use crate::models::*; + use super::{models, models::*}; pub async fn get_constitution(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/app/governance/constitution", operation_config.base_path(),); @@ -45,7 +45,7 @@ pub mod confidential_ledger { } } pub mod get_constitution { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -111,7 +111,7 @@ pub mod confidential_ledger { } } pub mod get_consortium_members { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -175,7 +175,7 @@ pub mod confidential_ledger { } } pub mod get_enclave_quotes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -251,7 +251,7 @@ pub mod confidential_ledger { } } pub mod get_ledger_entries { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -325,7 +325,7 @@ pub mod confidential_ledger { } } pub mod post_ledger_entry { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -394,7 +394,7 @@ pub mod confidential_ledger { } } pub mod get_ledger_entry { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -459,7 +459,7 @@ pub mod confidential_ledger { } } pub mod get_receipt { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -526,7 +526,7 @@ pub mod confidential_ledger { } } pub mod get_transaction_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -596,7 +596,7 @@ pub mod confidential_ledger { } } pub mod get_current_ledger_entry { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -658,7 +658,7 @@ pub mod confidential_ledger { } } pub mod get_user { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -727,7 +727,7 @@ pub mod confidential_ledger { } } pub mod create_or_update_user { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -784,7 +784,7 @@ pub mod confidential_ledger { } } pub mod delete_user { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/containerregistry/Cargo.toml b/services/svc/containerregistry/Cargo.toml index 3c3441fd3d..337ced8ef2 100644 --- a/services/svc/containerregistry/Cargo.toml +++ b/services/svc/containerregistry/Cargo.toml @@ -20,4 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2018-08"] +no-default-version = [] "package-2018-08" = [] diff --git a/services/svc/containerregistry/src/lib.rs b/services/svc/containerregistry/src/lib.rs index afb45a1edd..db034109bc 100644 --- a/services/svc/containerregistry/src/lib.rs +++ b/services/svc/containerregistry/src/lib.rs @@ -1,9 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2018-08")] -mod package_2018_08; +pub mod package_2018_08; use azure_core::setters; -#[cfg(feature = "package-2018-08")] +#[cfg(all(feature = "package-2018-08", not(feature = "no-default-version")))] pub use package_2018_08::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -27,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/svc/containerregistry/src/package_2018_08/operations.rs b/services/svc/containerregistry/src/package_2018_08/operations.rs index 1f5fceaf02..4b4910499d 100644 --- a/services/svc/containerregistry/src/package_2018_08/operations.rs +++ b/services/svc/containerregistry/src/package_2018_08/operations.rs @@ -2,7 +2,7 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub async fn get_docker_registry_v2_support( operation_config: &crate::OperationConfig, ) -> std::result::Result<(), get_docker_registry_v2_support::Error> { @@ -41,7 +41,7 @@ pub async fn get_docker_registry_v2_support( } } pub mod get_docker_registry_v2_support { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -106,7 +106,7 @@ pub async fn get_tag_list( } } pub mod get_tag_list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -174,7 +174,7 @@ pub async fn get_manifest( } } pub mod get_manifest { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -247,7 +247,7 @@ pub async fn get_repositories( } } pub mod get_repositories { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -318,7 +318,7 @@ pub async fn get_acr_repositories( } } pub mod get_acr_repositories { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -385,7 +385,7 @@ pub async fn get_acr_repository_attributes( } } pub mod get_acr_repository_attributes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -455,7 +455,7 @@ pub async fn update_acr_repository_attributes( } } pub mod update_acr_repository_attributes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -524,7 +524,7 @@ pub async fn delete_acr_repository( } } pub mod delete_acr_repository { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -607,7 +607,7 @@ pub async fn get_acr_tags( } } pub mod get_acr_tags { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -677,7 +677,7 @@ pub async fn get_acr_tag_attributes( } } pub mod get_acr_tag_attributes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -748,7 +748,7 @@ pub async fn update_acr_tag_attributes( } } pub mod update_acr_tag_attributes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -811,7 +811,7 @@ pub async fn delete_acr_tag( } } pub mod delete_acr_tag { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -890,7 +890,7 @@ pub async fn get_acr_manifests( } } pub mod get_acr_manifests { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -960,7 +960,7 @@ pub async fn get_acr_manifest_attributes( } } pub mod get_acr_manifest_attributes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1031,7 +1031,7 @@ pub async fn update_acr_manifest_attributes( } } pub mod update_acr_manifest_attributes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] diff --git a/services/svc/cosmos_db/Cargo.toml b/services/svc/cosmos_db/Cargo.toml index 94bf2a171a..c28bfb05e3 100644 --- a/services/svc/cosmos_db/Cargo.toml +++ b/services/svc/cosmos_db/Cargo.toml @@ -20,4 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2019-02"] +no-default-version = [] "package-2019-02" = [] diff --git a/services/svc/cosmos_db/src/lib.rs b/services/svc/cosmos_db/src/lib.rs index 8a1b8d0781..0039e0421c 100644 --- a/services/svc/cosmos_db/src/lib.rs +++ b/services/svc/cosmos_db/src/lib.rs @@ -1,9 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2019-02")] -mod package_2019_02; +pub mod package_2019_02; use azure_core::setters; -#[cfg(feature = "package-2019-02")] +#[cfg(all(feature = "package-2019-02", not(feature = "no-default-version")))] pub use package_2019_02::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -27,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/svc/cosmos_db/src/package_2019_02/operations.rs b/services/svc/cosmos_db/src/package_2019_02/operations.rs index 32bee516b2..62138183e5 100644 --- a/services/svc/cosmos_db/src/package_2019_02/operations.rs +++ b/services/svc/cosmos_db/src/package_2019_02/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod service { - use crate::models::*; + use super::{models, models::*}; pub async fn get_properties( operation_config: &crate::OperationConfig, restype: &str, @@ -60,7 +60,7 @@ pub mod service { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod service { } } pub mod set_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -211,7 +211,7 @@ pub mod service { } } pub mod get_statistics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/datalake_analytics/Cargo.toml b/services/svc/datalake_analytics/Cargo.toml index 692bcd66bb..3e32711cd5 100644 --- a/services/svc/datalake_analytics/Cargo.toml +++ b/services/svc/datalake_analytics/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-catalog-2016-11"] +no-default-version = [] "package-catalog-2016-11" = [] "package-catalog-2015-10-preview" = [] "package-job-2017-09-preview" = [] diff --git a/services/svc/datalake_analytics/src/lib.rs b/services/svc/datalake_analytics/src/lib.rs index cc6cee00b7..6e2f464893 100644 --- a/services/svc/datalake_analytics/src/lib.rs +++ b/services/svc/datalake_analytics/src/lib.rs @@ -1,29 +1,37 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-catalog-2016-11")] -mod package_catalog_2016_11; -#[cfg(feature = "package-catalog-2016-11")] +pub mod package_catalog_2016_11; +#[cfg(all(feature = "package-catalog-2016-11", not(feature = "no-default-version")))] pub use package_catalog_2016_11::{models, operations, API_VERSION}; #[cfg(feature = "package-catalog-2015-10-preview")] -mod package_catalog_2015_10_preview; -#[cfg(feature = "package-catalog-2015-10-preview")] +pub mod package_catalog_2015_10_preview; +#[cfg(all(feature = "package-catalog-2015-10-preview", not(feature = "no-default-version")))] pub use package_catalog_2015_10_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-job-2017-09-preview")] -mod package_job_2017_09_preview; -#[cfg(feature = "package-job-2017-09-preview")] +pub mod package_job_2017_09_preview; +#[cfg(all(feature = "package-job-2017-09-preview", not(feature = "no-default-version")))] pub use package_job_2017_09_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-job-2016-11")] -mod package_job_2016_11; -#[cfg(feature = "package-job-2016-11")] +pub mod package_job_2016_11; +#[cfg(all(feature = "package-job-2016-11", not(feature = "no-default-version")))] pub use package_job_2016_11::{models, operations, API_VERSION}; #[cfg(feature = "package-job-2016-03-preview")] -mod package_job_2016_03_preview; -#[cfg(feature = "package-job-2016-03-preview")] +pub mod package_job_2016_03_preview; +#[cfg(all(feature = "package-job-2016-03-preview", not(feature = "no-default-version")))] pub use package_job_2016_03_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-job-2015-11-preview")] -mod package_job_2015_11_preview; +pub mod package_job_2015_11_preview; use azure_core::setters; -#[cfg(feature = "package-job-2015-11-preview")] +#[cfg(all(feature = "package-job-2015-11-preview", not(feature = "no-default-version")))] pub use package_job_2015_11_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -47,7 +55,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/svc/datalake_analytics/src/package_catalog_2015_10_preview/operations.rs b/services/svc/datalake_analytics/src/package_catalog_2015_10_preview/operations.rs index 81a2707b98..41656fc481 100644 --- a/services/svc/datalake_analytics/src/package_catalog_2015_10_preview/operations.rs +++ b/services/svc/datalake_analytics/src/package_catalog_2015_10_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod catalog { - use crate::models::*; + use super::{models, models::*}; pub async fn get_secret( operation_config: &crate::OperationConfig, database_name: &str, @@ -52,7 +52,7 @@ pub mod catalog { } } pub mod get_secret { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -120,7 +120,7 @@ pub mod catalog { } } pub mod create_secret { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -188,7 +188,7 @@ pub mod catalog { } } pub mod update_secret { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -249,7 +249,7 @@ pub mod catalog { } } pub mod delete_secret { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -304,7 +304,7 @@ pub mod catalog { } } pub mod delete_all_secrets { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -372,7 +372,7 @@ pub mod catalog { } } pub mod get_external_data_source { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -466,7 +466,7 @@ pub mod catalog { } } pub mod list_external_data_sources { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -532,7 +532,7 @@ pub mod catalog { } } pub mod get_credential { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -624,7 +624,7 @@ pub mod catalog { } } pub mod list_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -692,7 +692,7 @@ pub mod catalog { } } pub mod get_procedure { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -786,7 +786,7 @@ pub mod catalog { } } pub mod list_procedures { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -854,7 +854,7 @@ pub mod catalog { } } pub mod get_table { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -948,7 +948,7 @@ pub mod catalog { } } pub mod list_tables { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1016,7 +1016,7 @@ pub mod catalog { } } pub mod get_table_type { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1110,7 +1110,7 @@ pub mod catalog { } } pub mod list_table_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1178,7 +1178,7 @@ pub mod catalog { } } pub mod get_view { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1272,7 +1272,7 @@ pub mod catalog { } } pub mod list_views { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1342,7 +1342,7 @@ pub mod catalog { } } pub mod get_table_statistic { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1440,7 +1440,7 @@ pub mod catalog { } } pub mod list_table_statistics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1510,7 +1510,7 @@ pub mod catalog { } } pub mod get_table_partition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1608,7 +1608,7 @@ pub mod catalog { } } pub mod list_table_partitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1702,7 +1702,7 @@ pub mod catalog { } } pub mod list_types { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1772,7 +1772,7 @@ pub mod catalog { } } pub mod get_table_valued_function { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1868,7 +1868,7 @@ pub mod catalog { } } pub mod list_table_valued_functions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1934,7 +1934,7 @@ pub mod catalog { } } pub mod get_assembly { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2026,7 +2026,7 @@ pub mod catalog { } } pub mod list_assemblies { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2092,7 +2092,7 @@ pub mod catalog { } } pub mod get_schema { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2180,7 +2180,7 @@ pub mod catalog { } } pub mod list_schemas { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2240,7 +2240,7 @@ pub mod catalog { } } pub mod get_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2327,7 +2327,7 @@ pub mod catalog { } } pub mod list_databases { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/svc/datalake_analytics/src/package_catalog_2016_11/operations.rs b/services/svc/datalake_analytics/src/package_catalog_2016_11/operations.rs index 3dcfc7f3d6..afd92d7568 100644 --- a/services/svc/datalake_analytics/src/package_catalog_2016_11/operations.rs +++ b/services/svc/datalake_analytics/src/package_catalog_2016_11/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod catalog { - use crate::models::*; + use super::{models, models::*}; pub async fn grant_acl( operation_config: &crate::OperationConfig, parameters: &AclCreateOrUpdateParameters, @@ -44,7 +44,7 @@ pub mod catalog { } } pub mod grant_acl { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -109,7 +109,7 @@ pub mod catalog { } } pub mod grant_acl_to_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -167,7 +167,7 @@ pub mod catalog { } } pub mod revoke_acl { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -232,7 +232,7 @@ pub mod catalog { } } pub mod revoke_acl_from_database { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/svc/datalake_analytics/src/package_job_2015_11_preview/operations.rs b/services/svc/datalake_analytics/src/package_job_2015_11_preview/operations.rs index c5ee03861e..454fead78d 100644 --- a/services/svc/datalake_analytics/src/package_job_2015_11_preview/operations.rs +++ b/services/svc/datalake_analytics/src/package_job_2015_11_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod job { - use crate::models::*; + use super::{models, models::*}; pub async fn get_statistics( operation_config: &crate::OperationConfig, job_identity: &str, @@ -47,7 +47,7 @@ pub mod job { } } pub mod get_statistics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -108,7 +108,7 @@ pub mod job { } } pub mod get_debug_data_path { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -166,7 +166,7 @@ pub mod job { } } pub mod build { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -216,7 +216,7 @@ pub mod job { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -270,7 +270,7 @@ pub mod job { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -329,7 +329,7 @@ pub mod job { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -421,7 +421,7 @@ pub mod job { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/svc/datalake_analytics/src/package_job_2016_03_preview/operations.rs b/services/svc/datalake_analytics/src/package_job_2016_03_preview/operations.rs index 63a3783fa5..3f6500fcaf 100644 --- a/services/svc/datalake_analytics/src/package_job_2016_03_preview/operations.rs +++ b/services/svc/datalake_analytics/src/package_job_2016_03_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod job { - use crate::models::*; + use super::{models, models::*}; pub async fn get_statistics( operation_config: &crate::OperationConfig, job_identity: &str, @@ -46,7 +46,7 @@ pub mod job { } } pub mod get_statistics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -107,7 +107,7 @@ pub mod job { } } pub mod get_debug_data_path { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -165,7 +165,7 @@ pub mod job { } } pub mod build { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -215,7 +215,7 @@ pub mod job { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -269,7 +269,7 @@ pub mod job { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -328,7 +328,7 @@ pub mod job { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -420,7 +420,7 @@ pub mod job { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/svc/datalake_analytics/src/package_job_2016_11/models.rs b/services/svc/datalake_analytics/src/package_job_2016_11/models.rs index 00b876baef..58af1fc294 100644 --- a/services/svc/datalake_analytics/src/package_job_2016_11/models.rs +++ b/services/svc/datalake_analytics/src/package_job_2016_11/models.rs @@ -275,7 +275,7 @@ pub struct JobInnerError { #[serde(default, skip_serializing_if = "Option::is_none")] pub description: Option, #[serde(rename = "innerError", default, skip_serializing_if = "Option::is_none")] - pub inner_error: Option, + pub inner_error: Box>, } pub mod job_inner_error { use super::*; diff --git a/services/svc/datalake_analytics/src/package_job_2016_11/operations.rs b/services/svc/datalake_analytics/src/package_job_2016_11/operations.rs index 5e9621ed31..87aabd7d46 100644 --- a/services/svc/datalake_analytics/src/package_job_2016_11/operations.rs +++ b/services/svc/datalake_analytics/src/package_job_2016_11/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod pipeline { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, start_date_time: Option<&str>, @@ -50,7 +50,7 @@ pub mod pipeline { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -115,7 +115,7 @@ pub mod pipeline { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -136,7 +136,7 @@ pub mod pipeline { } } pub mod recurrence { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, start_date_time: Option<&str>, @@ -182,7 +182,7 @@ pub mod recurrence { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -247,7 +247,7 @@ pub mod recurrence { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -268,7 +268,7 @@ pub mod recurrence { } } pub mod job { - use crate::models::*; + use super::{models, models::*}; pub async fn get_statistics( operation_config: &crate::OperationConfig, job_identity: &str, @@ -310,7 +310,7 @@ pub mod job { } } pub mod get_statistics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -370,7 +370,7 @@ pub mod job { } } pub mod get_debug_data_path { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -428,7 +428,7 @@ pub mod job { } } pub mod build { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -478,7 +478,7 @@ pub mod job { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -532,7 +532,7 @@ pub mod job { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -591,7 +591,7 @@ pub mod job { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -671,7 +671,7 @@ pub mod job { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/svc/datalake_analytics/src/package_job_2017_09_preview/models.rs b/services/svc/datalake_analytics/src/package_job_2017_09_preview/models.rs index f38ce25dc5..9b665e9bdb 100644 --- a/services/svc/datalake_analytics/src/package_job_2017_09_preview/models.rs +++ b/services/svc/datalake_analytics/src/package_job_2017_09_preview/models.rs @@ -408,7 +408,7 @@ pub struct JobInnerError { #[serde(rename = "internalDiagnostics", default, skip_serializing_if = "Option::is_none")] pub internal_diagnostics: Option, #[serde(rename = "innerError", default, skip_serializing_if = "Option::is_none")] - pub inner_error: Option, + pub inner_error: Box>, } pub mod job_inner_error { use super::*; diff --git a/services/svc/datalake_analytics/src/package_job_2017_09_preview/operations.rs b/services/svc/datalake_analytics/src/package_job_2017_09_preview/operations.rs index 29147e7f5b..eb2e86dac6 100644 --- a/services/svc/datalake_analytics/src/package_job_2017_09_preview/operations.rs +++ b/services/svc/datalake_analytics/src/package_job_2017_09_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod job { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, filter: Option<&str>, @@ -66,7 +66,7 @@ pub mod job { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -120,7 +120,7 @@ pub mod job { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -179,7 +179,7 @@ pub mod job { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -244,7 +244,7 @@ pub mod job { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobInformation), @@ -310,7 +310,7 @@ pub mod job { } } pub mod get_statistics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -370,7 +370,7 @@ pub mod job { } } pub mod get_debug_data_path { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -425,7 +425,7 @@ pub mod job { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -486,7 +486,7 @@ pub mod job { } } pub mod yield_ { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -550,7 +550,7 @@ pub mod job { } } pub mod build { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -571,7 +571,7 @@ pub mod job { } } pub mod pipeline { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, start_date_time: Option<&str>, @@ -617,7 +617,7 @@ pub mod pipeline { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -682,7 +682,7 @@ pub mod pipeline { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -703,7 +703,7 @@ pub mod pipeline { } } pub mod recurrence { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, start_date_time: Option<&str>, @@ -749,7 +749,7 @@ pub mod recurrence { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -814,7 +814,7 @@ pub mod recurrence { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/svc/deviceprovisioningservices/Cargo.toml b/services/svc/deviceprovisioningservices/Cargo.toml index 7e4dc102d0..fdf021021e 100644 --- a/services/svc/deviceprovisioningservices/Cargo.toml +++ b/services/svc/deviceprovisioningservices/Cargo.toml @@ -20,4 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-10-01"] +no-default-version = [] "package-2021-10-01" = [] diff --git a/services/svc/deviceprovisioningservices/src/lib.rs b/services/svc/deviceprovisioningservices/src/lib.rs index 4a608af7bf..b3266d2656 100644 --- a/services/svc/deviceprovisioningservices/src/lib.rs +++ b/services/svc/deviceprovisioningservices/src/lib.rs @@ -1,9 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-10-01")] -mod package_2021_10_01; +pub mod package_2021_10_01; use azure_core::setters; -#[cfg(feature = "package-2021-10-01")] +#[cfg(all(feature = "package-2021-10-01", not(feature = "no-default-version")))] pub use package_2021_10_01::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -27,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/svc/deviceprovisioningservices/src/package_2021_10_01/operations.rs b/services/svc/deviceprovisioningservices/src/package_2021_10_01/operations.rs index 118b26a52b..1b12846cb7 100644 --- a/services/svc/deviceprovisioningservices/src/package_2021_10_01/operations.rs +++ b/services/svc/deviceprovisioningservices/src/package_2021_10_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod individual_enrollment { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig, id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/enrollments/{}", operation_config.base_path(), id); @@ -42,7 +42,7 @@ pub mod individual_enrollment { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -113,7 +113,7 @@ pub mod individual_enrollment { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -174,7 +174,7 @@ pub mod individual_enrollment { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -245,7 +245,7 @@ pub mod individual_enrollment { } } pub mod query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -313,7 +313,7 @@ pub mod individual_enrollment { } } pub mod get_attestation_mechanism { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -379,7 +379,7 @@ pub mod individual_enrollment { } } pub mod run_bulk_operation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -403,7 +403,7 @@ pub mod individual_enrollment { } } pub mod enrollment_group { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig, id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/enrollmentGroups/{}", operation_config.base_path(), id); @@ -441,7 +441,7 @@ pub mod enrollment_group { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -512,7 +512,7 @@ pub mod enrollment_group { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -573,7 +573,7 @@ pub mod enrollment_group { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -644,7 +644,7 @@ pub mod enrollment_group { } } pub mod query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -712,7 +712,7 @@ pub mod enrollment_group { } } pub mod get_attestation_mechanism { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -778,7 +778,7 @@ pub mod enrollment_group { } } pub mod run_bulk_operation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -802,7 +802,7 @@ pub mod enrollment_group { } } pub mod device_registration_state { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig, id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/registrations/{}", operation_config.base_path(), id); @@ -840,7 +840,7 @@ pub mod device_registration_state { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -901,7 +901,7 @@ pub mod device_registration_state { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -972,7 +972,7 @@ pub mod device_registration_state { } } pub mod query { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/eventgrid/Cargo.toml b/services/svc/eventgrid/Cargo.toml index e128704a28..160d751d5f 100644 --- a/services/svc/eventgrid/Cargo.toml +++ b/services/svc/eventgrid/Cargo.toml @@ -20,4 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2018-01"] +no-default-version = [] "package-2018-01" = [] diff --git a/services/svc/eventgrid/src/lib.rs b/services/svc/eventgrid/src/lib.rs index 675f377f1b..22f63b4bc1 100644 --- a/services/svc/eventgrid/src/lib.rs +++ b/services/svc/eventgrid/src/lib.rs @@ -1,9 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2018-01")] -mod package_2018_01; +pub mod package_2018_01; use azure_core::setters; -#[cfg(feature = "package-2018-01")] +#[cfg(all(feature = "package-2018-01", not(feature = "no-default-version")))] pub use package_2018_01::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -27,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/svc/eventgrid/src/package_2018_01/operations.rs b/services/svc/eventgrid/src/package_2018_01/operations.rs index 53e590b390..8293efd6a9 100644 --- a/services/svc/eventgrid/src/package_2018_01/operations.rs +++ b/services/svc/eventgrid/src/package_2018_01/operations.rs @@ -2,7 +2,7 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub async fn publish_cloud_event_events( operation_config: &crate::OperationConfig, events: &Vec<&CloudEventEvent>, @@ -36,7 +36,7 @@ pub async fn publish_cloud_event_events( } } pub mod publish_cloud_event_events { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -88,7 +88,7 @@ pub async fn publish_custom_event_events( } } pub mod publish_custom_event_events { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/filestorage/Cargo.toml b/services/svc/filestorage/Cargo.toml index b2279bba95..24f43b9386 100644 --- a/services/svc/filestorage/Cargo.toml +++ b/services/svc/filestorage/Cargo.toml @@ -20,5 +20,6 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2020-10"] +no-default-version = [] "package-2020-10" = [] "package-2021-02" = [] diff --git a/services/svc/filestorage/src/lib.rs b/services/svc/filestorage/src/lib.rs index 58f0fb8af1..2a183d035f 100644 --- a/services/svc/filestorage/src/lib.rs +++ b/services/svc/filestorage/src/lib.rs @@ -1,13 +1,21 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2020-10")] -mod package_2020_10; -#[cfg(feature = "package-2020-10")] +pub mod package_2020_10; +#[cfg(all(feature = "package-2020-10", not(feature = "no-default-version")))] pub use package_2020_10::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-02")] -mod package_2021_02; +pub mod package_2021_02; use azure_core::setters; -#[cfg(feature = "package-2021-02")] +#[cfg(all(feature = "package-2021-02", not(feature = "no-default-version")))] pub use package_2021_02::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -31,7 +39,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/svc/filestorage/src/package_2020_10/operations.rs b/services/svc/filestorage/src/package_2020_10/operations.rs index c14c19dfcb..c24a85ccb6 100644 --- a/services/svc/filestorage/src/package_2020_10/operations.rs +++ b/services/svc/filestorage/src/package_2020_10/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod service { - use crate::models::*; + use super::{models, models::*}; pub async fn get_properties( operation_config: &crate::OperationConfig, restype: &str, @@ -56,7 +56,7 @@ pub mod service { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -126,7 +126,7 @@ pub mod service { } } pub mod set_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -210,7 +210,7 @@ pub mod service { } } pub mod list_shares_segment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -234,7 +234,7 @@ pub mod service { } } pub mod share { - use crate::models::*; + use super::{models, models::*}; pub async fn get_properties( operation_config: &crate::OperationConfig, share_name: &str, @@ -288,7 +288,7 @@ pub mod share { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -372,7 +372,7 @@ pub mod share { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -448,7 +448,7 @@ pub mod share { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -535,7 +535,7 @@ pub mod share { } } pub mod acquire_lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -616,7 +616,7 @@ pub mod share { } } pub mod release_lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -701,7 +701,7 @@ pub mod share { } } pub mod change_lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -782,7 +782,7 @@ pub mod share { } } pub mod renew_lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -869,7 +869,7 @@ pub mod share { } } pub mod break_lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -942,7 +942,7 @@ pub mod share { } } pub mod create_snapshot { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1018,7 +1018,7 @@ pub mod share { } } pub mod get_permission { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1089,7 +1089,7 @@ pub mod share { } } pub mod create_permission { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1174,7 +1174,7 @@ pub mod share { } } pub mod set_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1251,7 +1251,7 @@ pub mod share { } } pub mod set_metadata { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1329,7 +1329,7 @@ pub mod share { } } pub mod get_access_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1408,7 +1408,7 @@ pub mod share { } } pub mod set_access_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1486,7 +1486,7 @@ pub mod share { } } pub mod get_statistics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1567,7 +1567,7 @@ pub mod share { } } pub mod restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1591,7 +1591,7 @@ pub mod share { } } pub mod directory { - use crate::models::*; + use super::{models, models::*}; pub async fn get_properties( operation_config: &crate::OperationConfig, share_name: &str, @@ -1642,7 +1642,7 @@ pub mod directory { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1725,7 +1725,7 @@ pub mod directory { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1790,7 +1790,7 @@ pub mod directory { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1879,7 +1879,7 @@ pub mod directory { } } pub mod set_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1958,7 +1958,7 @@ pub mod directory { } } pub mod set_metadata { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2061,7 +2061,7 @@ pub mod directory { } } pub mod list_files_and_directories_segment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2150,7 +2150,7 @@ pub mod directory { } } pub mod list_handles { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2237,7 +2237,7 @@ pub mod directory { } } pub mod force_close_handles { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2261,7 +2261,7 @@ pub mod directory { } } pub mod file { - use crate::models::*; + use super::{models, models::*}; pub async fn download( operation_config: &crate::OperationConfig, share_name: &str, @@ -2330,7 +2330,7 @@ pub mod file { } } pub mod download { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -2449,7 +2449,7 @@ pub mod file { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2517,7 +2517,7 @@ pub mod file { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2592,7 +2592,7 @@ pub mod file { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2713,7 +2713,7 @@ pub mod file { } } pub mod set_http_headers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2796,7 +2796,7 @@ pub mod file { } } pub mod set_metadata { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2885,7 +2885,7 @@ pub mod file { } } pub mod acquire_lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2968,7 +2968,7 @@ pub mod file { } } pub mod release_lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3055,7 +3055,7 @@ pub mod file { } } pub mod change_lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3140,7 +3140,7 @@ pub mod file { } } pub mod break_lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3235,7 +3235,7 @@ pub mod file { } } pub mod upload_range { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3344,7 +3344,7 @@ pub mod file { } } pub mod upload_range_from_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3440,7 +3440,7 @@ pub mod file { } } pub mod get_range_list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3555,7 +3555,7 @@ pub mod file { } } pub mod start_copy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3638,7 +3638,7 @@ pub mod file { } } pub mod abort_copy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3730,7 +3730,7 @@ pub mod file { } } pub mod list_handles { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3815,7 +3815,7 @@ pub mod file { } } pub mod force_close_handles { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/filestorage/src/package_2021_02/operations.rs b/services/svc/filestorage/src/package_2021_02/operations.rs index c14c19dfcb..c24a85ccb6 100644 --- a/services/svc/filestorage/src/package_2021_02/operations.rs +++ b/services/svc/filestorage/src/package_2021_02/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod service { - use crate::models::*; + use super::{models, models::*}; pub async fn get_properties( operation_config: &crate::OperationConfig, restype: &str, @@ -56,7 +56,7 @@ pub mod service { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -126,7 +126,7 @@ pub mod service { } } pub mod set_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -210,7 +210,7 @@ pub mod service { } } pub mod list_shares_segment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -234,7 +234,7 @@ pub mod service { } } pub mod share { - use crate::models::*; + use super::{models, models::*}; pub async fn get_properties( operation_config: &crate::OperationConfig, share_name: &str, @@ -288,7 +288,7 @@ pub mod share { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -372,7 +372,7 @@ pub mod share { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -448,7 +448,7 @@ pub mod share { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -535,7 +535,7 @@ pub mod share { } } pub mod acquire_lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -616,7 +616,7 @@ pub mod share { } } pub mod release_lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -701,7 +701,7 @@ pub mod share { } } pub mod change_lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -782,7 +782,7 @@ pub mod share { } } pub mod renew_lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -869,7 +869,7 @@ pub mod share { } } pub mod break_lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -942,7 +942,7 @@ pub mod share { } } pub mod create_snapshot { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1018,7 +1018,7 @@ pub mod share { } } pub mod get_permission { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1089,7 +1089,7 @@ pub mod share { } } pub mod create_permission { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1174,7 +1174,7 @@ pub mod share { } } pub mod set_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1251,7 +1251,7 @@ pub mod share { } } pub mod set_metadata { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1329,7 +1329,7 @@ pub mod share { } } pub mod get_access_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1408,7 +1408,7 @@ pub mod share { } } pub mod set_access_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1486,7 +1486,7 @@ pub mod share { } } pub mod get_statistics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1567,7 +1567,7 @@ pub mod share { } } pub mod restore { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1591,7 +1591,7 @@ pub mod share { } } pub mod directory { - use crate::models::*; + use super::{models, models::*}; pub async fn get_properties( operation_config: &crate::OperationConfig, share_name: &str, @@ -1642,7 +1642,7 @@ pub mod directory { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1725,7 +1725,7 @@ pub mod directory { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1790,7 +1790,7 @@ pub mod directory { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1879,7 +1879,7 @@ pub mod directory { } } pub mod set_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1958,7 +1958,7 @@ pub mod directory { } } pub mod set_metadata { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2061,7 +2061,7 @@ pub mod directory { } } pub mod list_files_and_directories_segment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2150,7 +2150,7 @@ pub mod directory { } } pub mod list_handles { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2237,7 +2237,7 @@ pub mod directory { } } pub mod force_close_handles { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2261,7 +2261,7 @@ pub mod directory { } } pub mod file { - use crate::models::*; + use super::{models, models::*}; pub async fn download( operation_config: &crate::OperationConfig, share_name: &str, @@ -2330,7 +2330,7 @@ pub mod file { } } pub mod download { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -2449,7 +2449,7 @@ pub mod file { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2517,7 +2517,7 @@ pub mod file { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2592,7 +2592,7 @@ pub mod file { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2713,7 +2713,7 @@ pub mod file { } } pub mod set_http_headers { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2796,7 +2796,7 @@ pub mod file { } } pub mod set_metadata { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2885,7 +2885,7 @@ pub mod file { } } pub mod acquire_lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2968,7 +2968,7 @@ pub mod file { } } pub mod release_lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3055,7 +3055,7 @@ pub mod file { } } pub mod change_lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3140,7 +3140,7 @@ pub mod file { } } pub mod break_lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3235,7 +3235,7 @@ pub mod file { } } pub mod upload_range { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3344,7 +3344,7 @@ pub mod file { } } pub mod upload_range_from_url { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3440,7 +3440,7 @@ pub mod file { } } pub mod get_range_list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3555,7 +3555,7 @@ pub mod file { } } pub mod start_copy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3638,7 +3638,7 @@ pub mod file { } } pub mod abort_copy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3730,7 +3730,7 @@ pub mod file { } } pub mod list_handles { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3815,7 +3815,7 @@ pub mod file { } } pub mod force_close_handles { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/graphrbac/Cargo.toml b/services/svc/graphrbac/Cargo.toml index 42479b6b56..edcec6972b 100644 --- a/services/svc/graphrbac/Cargo.toml +++ b/services/svc/graphrbac/Cargo.toml @@ -20,4 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["1.6"] +no-default-version = [] "1.6" = [] diff --git a/services/svc/graphrbac/src/lib.rs b/services/svc/graphrbac/src/lib.rs index 1c80606972..0866929b12 100644 --- a/services/svc/graphrbac/src/lib.rs +++ b/services/svc/graphrbac/src/lib.rs @@ -1,9 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "1.6")] -mod v1_6; +pub mod v1_6; use azure_core::setters; -#[cfg(feature = "1.6")] +#[cfg(all(feature = "1.6", not(feature = "no-default-version")))] pub use v1_6::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -27,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/svc/graphrbac/src/v1_6/operations.rs b/services/svc/graphrbac/src/v1_6/operations.rs index d0b59242d9..b6613612cf 100644 --- a/services/svc/graphrbac/src/v1_6/operations.rs +++ b/services/svc/graphrbac/src/v1_6/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod o_auth2_permission_grant { - use crate::models::*; + use super::{models, models::*}; pub async fn list_next( operation_config: &crate::OperationConfig, next_link: &str, @@ -54,7 +54,7 @@ pub mod o_auth2_permission_grant { } } pub mod list_next { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -78,7 +78,7 @@ pub mod o_auth2_permission_grant { } } pub mod signed_in_user { - use crate::models::*; + use super::{models, models::*}; pub async fn list_owned_objects_next( operation_config: &crate::OperationConfig, next_link: &str, @@ -130,7 +130,7 @@ pub mod signed_in_user { } } pub mod list_owned_objects_next { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -154,7 +154,7 @@ pub mod signed_in_user { } } pub mod groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list_next( operation_config: &crate::OperationConfig, next_link: &str, @@ -199,7 +199,7 @@ pub mod groups { } } pub mod list_next { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -272,7 +272,7 @@ pub mod groups { } } pub mod get_group_members_next { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -296,7 +296,7 @@ pub mod groups { } } pub mod applications { - use crate::models::*; + use super::{models, models::*}; pub async fn list_next( operation_config: &crate::OperationConfig, next_link: &str, @@ -341,7 +341,7 @@ pub mod applications { } } pub mod list_next { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -365,7 +365,7 @@ pub mod applications { } } pub mod deleted_applications { - use crate::models::*; + use super::{models, models::*}; pub async fn list_next( operation_config: &crate::OperationConfig, next_link: &str, @@ -415,7 +415,7 @@ pub mod deleted_applications { } } pub mod list_next { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -439,7 +439,7 @@ pub mod deleted_applications { } } pub mod service_principals { - use crate::models::*; + use super::{models, models::*}; pub async fn list_next( operation_config: &crate::OperationConfig, next_link: &str, @@ -489,7 +489,7 @@ pub mod service_principals { } } pub mod list_next { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -513,7 +513,7 @@ pub mod service_principals { } } pub mod users { - use crate::models::*; + use super::{models, models::*}; pub async fn list_next( operation_config: &crate::OperationConfig, next_link: &str, @@ -558,7 +558,7 @@ pub mod users { } } pub mod list_next { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -582,7 +582,7 @@ pub mod users { } } pub mod objects { - use crate::models::*; + use super::{models, models::*}; pub async fn get_objects_by_object_ids_next( operation_config: &crate::OperationConfig, next_link: &str, @@ -633,7 +633,7 @@ pub mod objects { } } pub mod get_objects_by_object_ids_next { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/svc/imds/Cargo.toml b/services/svc/imds/Cargo.toml index 9f67166253..ba5bf583b6 100644 --- a/services/svc/imds/Cargo.toml +++ b/services/svc/imds/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2018-10-01"] +no-default-version = [] "package-2018-10-01" = [] "package-2019-02-01" = [] "package-2019-03-11" = [] diff --git a/services/svc/imds/src/lib.rs b/services/svc/imds/src/lib.rs index a361d417d5..f55f0f960f 100644 --- a/services/svc/imds/src/lib.rs +++ b/services/svc/imds/src/lib.rs @@ -1,77 +1,85 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2018-10-01")] -mod package_2018_10_01; -#[cfg(feature = "package-2018-10-01")] +pub mod package_2018_10_01; +#[cfg(all(feature = "package-2018-10-01", not(feature = "no-default-version")))] pub use package_2018_10_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-02-01")] -mod package_2019_02_01; -#[cfg(feature = "package-2019-02-01")] +pub mod package_2019_02_01; +#[cfg(all(feature = "package-2019-02-01", not(feature = "no-default-version")))] pub use package_2019_02_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-03-11")] -mod package_2019_03_11; -#[cfg(feature = "package-2019-03-11")] +pub mod package_2019_03_11; +#[cfg(all(feature = "package-2019-03-11", not(feature = "no-default-version")))] pub use package_2019_03_11::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-04-30")] -mod package_2019_04_30; -#[cfg(feature = "package-2019-04-30")] +pub mod package_2019_04_30; +#[cfg(all(feature = "package-2019-04-30", not(feature = "no-default-version")))] pub use package_2019_04_30::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-06-01")] -mod package_2019_06_01; -#[cfg(feature = "package-2019-06-01")] +pub mod package_2019_06_01; +#[cfg(all(feature = "package-2019-06-01", not(feature = "no-default-version")))] pub use package_2019_06_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-06-04")] -mod package_2019_06_04; -#[cfg(feature = "package-2019-06-04")] +pub mod package_2019_06_04; +#[cfg(all(feature = "package-2019-06-04", not(feature = "no-default-version")))] pub use package_2019_06_04::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-08-01")] -mod package_2019_08_01; -#[cfg(feature = "package-2019-08-01")] +pub mod package_2019_08_01; +#[cfg(all(feature = "package-2019-08-01", not(feature = "no-default-version")))] pub use package_2019_08_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-08-15")] -mod package_2019_08_15; -#[cfg(feature = "package-2019-08-15")] +pub mod package_2019_08_15; +#[cfg(all(feature = "package-2019-08-15", not(feature = "no-default-version")))] pub use package_2019_08_15::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-11-01")] -mod package_2019_11_01; -#[cfg(feature = "package-2019-11-01")] +pub mod package_2019_11_01; +#[cfg(all(feature = "package-2019-11-01", not(feature = "no-default-version")))] pub use package_2019_11_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-06-01")] -mod package_2020_06_01; -#[cfg(feature = "package-2020-06-01")] +pub mod package_2020_06_01; +#[cfg(all(feature = "package-2020-06-01", not(feature = "no-default-version")))] pub use package_2020_06_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-07-15")] -mod package_2020_07_15; -#[cfg(feature = "package-2020-07-15")] +pub mod package_2020_07_15; +#[cfg(all(feature = "package-2020-07-15", not(feature = "no-default-version")))] pub use package_2020_07_15::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-09-01")] -mod package_2020_09_01; -#[cfg(feature = "package-2020-09-01")] +pub mod package_2020_09_01; +#[cfg(all(feature = "package-2020-09-01", not(feature = "no-default-version")))] pub use package_2020_09_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-10-01")] -mod package_2020_10_01; -#[cfg(feature = "package-2020-10-01")] +pub mod package_2020_10_01; +#[cfg(all(feature = "package-2020-10-01", not(feature = "no-default-version")))] pub use package_2020_10_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-12-01")] -mod package_2020_12_01; -#[cfg(feature = "package-2020-12-01")] +pub mod package_2020_12_01; +#[cfg(all(feature = "package-2020-12-01", not(feature = "no-default-version")))] pub use package_2020_12_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-01-01")] -mod package_2021_01_01; -#[cfg(feature = "package-2021-01-01")] +pub mod package_2021_01_01; +#[cfg(all(feature = "package-2021-01-01", not(feature = "no-default-version")))] pub use package_2021_01_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-02-01")] -mod package_2021_02_01; -#[cfg(feature = "package-2021-02-01")] +pub mod package_2021_02_01; +#[cfg(all(feature = "package-2021-02-01", not(feature = "no-default-version")))] pub use package_2021_02_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-03-01")] -mod package_2021_03_01; -#[cfg(feature = "package-2021-03-01")] +pub mod package_2021_03_01; +#[cfg(all(feature = "package-2021-03-01", not(feature = "no-default-version")))] pub use package_2021_03_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-05-01")] -mod package_2021_05_01; +pub mod package_2021_05_01; use azure_core::setters; -#[cfg(feature = "package-2021-05-01")] +#[cfg(all(feature = "package-2021-05-01", not(feature = "no-default-version")))] pub use package_2021_05_01::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -95,7 +103,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/svc/imds/src/package_2018_10_01/operations.rs b/services/svc/imds/src/package_2018_10_01/operations.rs index 23ce1d8b3e..9ca30ac7c1 100644 --- a/services/svc/imds/src/package_2018_10_01/operations.rs +++ b/services/svc/imds/src/package_2018_10_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod instances { - use crate::models::*; + use super::{models, models::*}; pub async fn get_metadata( operation_config: &crate::OperationConfig, metadata: &str, @@ -91,7 +91,7 @@ pub mod instances { } } pub mod get_metadata { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -129,7 +129,7 @@ pub mod instances { } } pub mod attested { - use crate::models::*; + use super::{models, models::*}; pub async fn get_document( operation_config: &crate::OperationConfig, nonce: Option<&str>, @@ -220,7 +220,7 @@ pub mod attested { } } pub mod get_document { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -258,7 +258,7 @@ pub mod attested { } } pub mod identity { - use crate::models::*; + use super::{models, models::*}; pub async fn get_token( operation_config: &crate::OperationConfig, metadata: &str, @@ -355,7 +355,7 @@ pub mod identity { } } pub mod get_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -461,7 +461,7 @@ pub mod identity { } } pub mod get_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] diff --git a/services/svc/imds/src/package_2019_02_01/operations.rs b/services/svc/imds/src/package_2019_02_01/operations.rs index 6284246189..745c4a19ec 100644 --- a/services/svc/imds/src/package_2019_02_01/operations.rs +++ b/services/svc/imds/src/package_2019_02_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod instances { - use crate::models::*; + use super::{models, models::*}; pub async fn get_metadata( operation_config: &crate::OperationConfig, metadata: &str, @@ -49,7 +49,7 @@ pub mod instances { } } pub mod get_metadata { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -73,7 +73,7 @@ pub mod instances { } } pub mod attested { - use crate::models::*; + use super::{models, models::*}; pub async fn get_document( operation_config: &crate::OperationConfig, nonce: Option<&str>, @@ -122,7 +122,7 @@ pub mod attested { } } pub mod get_document { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -146,7 +146,7 @@ pub mod attested { } } pub mod identity { - use crate::models::*; + use super::{models, models::*}; pub async fn get_token( operation_config: &crate::OperationConfig, metadata: &str, @@ -213,7 +213,7 @@ pub mod identity { } } pub mod get_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -279,7 +279,7 @@ pub mod identity { } } pub mod get_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/imds/src/package_2019_03_11/operations.rs b/services/svc/imds/src/package_2019_03_11/operations.rs index 6284246189..745c4a19ec 100644 --- a/services/svc/imds/src/package_2019_03_11/operations.rs +++ b/services/svc/imds/src/package_2019_03_11/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod instances { - use crate::models::*; + use super::{models, models::*}; pub async fn get_metadata( operation_config: &crate::OperationConfig, metadata: &str, @@ -49,7 +49,7 @@ pub mod instances { } } pub mod get_metadata { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -73,7 +73,7 @@ pub mod instances { } } pub mod attested { - use crate::models::*; + use super::{models, models::*}; pub async fn get_document( operation_config: &crate::OperationConfig, nonce: Option<&str>, @@ -122,7 +122,7 @@ pub mod attested { } } pub mod get_document { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -146,7 +146,7 @@ pub mod attested { } } pub mod identity { - use crate::models::*; + use super::{models, models::*}; pub async fn get_token( operation_config: &crate::OperationConfig, metadata: &str, @@ -213,7 +213,7 @@ pub mod identity { } } pub mod get_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -279,7 +279,7 @@ pub mod identity { } } pub mod get_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/imds/src/package_2019_04_30/operations.rs b/services/svc/imds/src/package_2019_04_30/operations.rs index 6284246189..745c4a19ec 100644 --- a/services/svc/imds/src/package_2019_04_30/operations.rs +++ b/services/svc/imds/src/package_2019_04_30/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod instances { - use crate::models::*; + use super::{models, models::*}; pub async fn get_metadata( operation_config: &crate::OperationConfig, metadata: &str, @@ -49,7 +49,7 @@ pub mod instances { } } pub mod get_metadata { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -73,7 +73,7 @@ pub mod instances { } } pub mod attested { - use crate::models::*; + use super::{models, models::*}; pub async fn get_document( operation_config: &crate::OperationConfig, nonce: Option<&str>, @@ -122,7 +122,7 @@ pub mod attested { } } pub mod get_document { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -146,7 +146,7 @@ pub mod attested { } } pub mod identity { - use crate::models::*; + use super::{models, models::*}; pub async fn get_token( operation_config: &crate::OperationConfig, metadata: &str, @@ -213,7 +213,7 @@ pub mod identity { } } pub mod get_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -279,7 +279,7 @@ pub mod identity { } } pub mod get_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/imds/src/package_2019_06_01/operations.rs b/services/svc/imds/src/package_2019_06_01/operations.rs index 6284246189..745c4a19ec 100644 --- a/services/svc/imds/src/package_2019_06_01/operations.rs +++ b/services/svc/imds/src/package_2019_06_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod instances { - use crate::models::*; + use super::{models, models::*}; pub async fn get_metadata( operation_config: &crate::OperationConfig, metadata: &str, @@ -49,7 +49,7 @@ pub mod instances { } } pub mod get_metadata { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -73,7 +73,7 @@ pub mod instances { } } pub mod attested { - use crate::models::*; + use super::{models, models::*}; pub async fn get_document( operation_config: &crate::OperationConfig, nonce: Option<&str>, @@ -122,7 +122,7 @@ pub mod attested { } } pub mod get_document { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -146,7 +146,7 @@ pub mod attested { } } pub mod identity { - use crate::models::*; + use super::{models, models::*}; pub async fn get_token( operation_config: &crate::OperationConfig, metadata: &str, @@ -213,7 +213,7 @@ pub mod identity { } } pub mod get_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -279,7 +279,7 @@ pub mod identity { } } pub mod get_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/imds/src/package_2019_06_04/operations.rs b/services/svc/imds/src/package_2019_06_04/operations.rs index 6284246189..745c4a19ec 100644 --- a/services/svc/imds/src/package_2019_06_04/operations.rs +++ b/services/svc/imds/src/package_2019_06_04/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod instances { - use crate::models::*; + use super::{models, models::*}; pub async fn get_metadata( operation_config: &crate::OperationConfig, metadata: &str, @@ -49,7 +49,7 @@ pub mod instances { } } pub mod get_metadata { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -73,7 +73,7 @@ pub mod instances { } } pub mod attested { - use crate::models::*; + use super::{models, models::*}; pub async fn get_document( operation_config: &crate::OperationConfig, nonce: Option<&str>, @@ -122,7 +122,7 @@ pub mod attested { } } pub mod get_document { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -146,7 +146,7 @@ pub mod attested { } } pub mod identity { - use crate::models::*; + use super::{models, models::*}; pub async fn get_token( operation_config: &crate::OperationConfig, metadata: &str, @@ -213,7 +213,7 @@ pub mod identity { } } pub mod get_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -279,7 +279,7 @@ pub mod identity { } } pub mod get_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/imds/src/package_2019_08_01/operations.rs b/services/svc/imds/src/package_2019_08_01/operations.rs index 6284246189..745c4a19ec 100644 --- a/services/svc/imds/src/package_2019_08_01/operations.rs +++ b/services/svc/imds/src/package_2019_08_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod instances { - use crate::models::*; + use super::{models, models::*}; pub async fn get_metadata( operation_config: &crate::OperationConfig, metadata: &str, @@ -49,7 +49,7 @@ pub mod instances { } } pub mod get_metadata { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -73,7 +73,7 @@ pub mod instances { } } pub mod attested { - use crate::models::*; + use super::{models, models::*}; pub async fn get_document( operation_config: &crate::OperationConfig, nonce: Option<&str>, @@ -122,7 +122,7 @@ pub mod attested { } } pub mod get_document { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -146,7 +146,7 @@ pub mod attested { } } pub mod identity { - use crate::models::*; + use super::{models, models::*}; pub async fn get_token( operation_config: &crate::OperationConfig, metadata: &str, @@ -213,7 +213,7 @@ pub mod identity { } } pub mod get_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -279,7 +279,7 @@ pub mod identity { } } pub mod get_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/imds/src/package_2019_08_15/operations.rs b/services/svc/imds/src/package_2019_08_15/operations.rs index 6284246189..745c4a19ec 100644 --- a/services/svc/imds/src/package_2019_08_15/operations.rs +++ b/services/svc/imds/src/package_2019_08_15/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod instances { - use crate::models::*; + use super::{models, models::*}; pub async fn get_metadata( operation_config: &crate::OperationConfig, metadata: &str, @@ -49,7 +49,7 @@ pub mod instances { } } pub mod get_metadata { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -73,7 +73,7 @@ pub mod instances { } } pub mod attested { - use crate::models::*; + use super::{models, models::*}; pub async fn get_document( operation_config: &crate::OperationConfig, nonce: Option<&str>, @@ -122,7 +122,7 @@ pub mod attested { } } pub mod get_document { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -146,7 +146,7 @@ pub mod attested { } } pub mod identity { - use crate::models::*; + use super::{models, models::*}; pub async fn get_token( operation_config: &crate::OperationConfig, metadata: &str, @@ -213,7 +213,7 @@ pub mod identity { } } pub mod get_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -279,7 +279,7 @@ pub mod identity { } } pub mod get_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/imds/src/package_2019_11_01/operations.rs b/services/svc/imds/src/package_2019_11_01/operations.rs index 6284246189..745c4a19ec 100644 --- a/services/svc/imds/src/package_2019_11_01/operations.rs +++ b/services/svc/imds/src/package_2019_11_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod instances { - use crate::models::*; + use super::{models, models::*}; pub async fn get_metadata( operation_config: &crate::OperationConfig, metadata: &str, @@ -49,7 +49,7 @@ pub mod instances { } } pub mod get_metadata { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -73,7 +73,7 @@ pub mod instances { } } pub mod attested { - use crate::models::*; + use super::{models, models::*}; pub async fn get_document( operation_config: &crate::OperationConfig, nonce: Option<&str>, @@ -122,7 +122,7 @@ pub mod attested { } } pub mod get_document { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -146,7 +146,7 @@ pub mod attested { } } pub mod identity { - use crate::models::*; + use super::{models, models::*}; pub async fn get_token( operation_config: &crate::OperationConfig, metadata: &str, @@ -213,7 +213,7 @@ pub mod identity { } } pub mod get_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -279,7 +279,7 @@ pub mod identity { } } pub mod get_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/imds/src/package_2020_06_01/operations.rs b/services/svc/imds/src/package_2020_06_01/operations.rs index 6284246189..745c4a19ec 100644 --- a/services/svc/imds/src/package_2020_06_01/operations.rs +++ b/services/svc/imds/src/package_2020_06_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod instances { - use crate::models::*; + use super::{models, models::*}; pub async fn get_metadata( operation_config: &crate::OperationConfig, metadata: &str, @@ -49,7 +49,7 @@ pub mod instances { } } pub mod get_metadata { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -73,7 +73,7 @@ pub mod instances { } } pub mod attested { - use crate::models::*; + use super::{models, models::*}; pub async fn get_document( operation_config: &crate::OperationConfig, nonce: Option<&str>, @@ -122,7 +122,7 @@ pub mod attested { } } pub mod get_document { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -146,7 +146,7 @@ pub mod attested { } } pub mod identity { - use crate::models::*; + use super::{models, models::*}; pub async fn get_token( operation_config: &crate::OperationConfig, metadata: &str, @@ -213,7 +213,7 @@ pub mod identity { } } pub mod get_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -279,7 +279,7 @@ pub mod identity { } } pub mod get_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/imds/src/package_2020_07_15/operations.rs b/services/svc/imds/src/package_2020_07_15/operations.rs index 6284246189..745c4a19ec 100644 --- a/services/svc/imds/src/package_2020_07_15/operations.rs +++ b/services/svc/imds/src/package_2020_07_15/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod instances { - use crate::models::*; + use super::{models, models::*}; pub async fn get_metadata( operation_config: &crate::OperationConfig, metadata: &str, @@ -49,7 +49,7 @@ pub mod instances { } } pub mod get_metadata { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -73,7 +73,7 @@ pub mod instances { } } pub mod attested { - use crate::models::*; + use super::{models, models::*}; pub async fn get_document( operation_config: &crate::OperationConfig, nonce: Option<&str>, @@ -122,7 +122,7 @@ pub mod attested { } } pub mod get_document { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -146,7 +146,7 @@ pub mod attested { } } pub mod identity { - use crate::models::*; + use super::{models, models::*}; pub async fn get_token( operation_config: &crate::OperationConfig, metadata: &str, @@ -213,7 +213,7 @@ pub mod identity { } } pub mod get_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -279,7 +279,7 @@ pub mod identity { } } pub mod get_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/imds/src/package_2020_09_01/operations.rs b/services/svc/imds/src/package_2020_09_01/operations.rs index 6284246189..745c4a19ec 100644 --- a/services/svc/imds/src/package_2020_09_01/operations.rs +++ b/services/svc/imds/src/package_2020_09_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod instances { - use crate::models::*; + use super::{models, models::*}; pub async fn get_metadata( operation_config: &crate::OperationConfig, metadata: &str, @@ -49,7 +49,7 @@ pub mod instances { } } pub mod get_metadata { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -73,7 +73,7 @@ pub mod instances { } } pub mod attested { - use crate::models::*; + use super::{models, models::*}; pub async fn get_document( operation_config: &crate::OperationConfig, nonce: Option<&str>, @@ -122,7 +122,7 @@ pub mod attested { } } pub mod get_document { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -146,7 +146,7 @@ pub mod attested { } } pub mod identity { - use crate::models::*; + use super::{models, models::*}; pub async fn get_token( operation_config: &crate::OperationConfig, metadata: &str, @@ -213,7 +213,7 @@ pub mod identity { } } pub mod get_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -279,7 +279,7 @@ pub mod identity { } } pub mod get_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/imds/src/package_2020_10_01/operations.rs b/services/svc/imds/src/package_2020_10_01/operations.rs index 6284246189..745c4a19ec 100644 --- a/services/svc/imds/src/package_2020_10_01/operations.rs +++ b/services/svc/imds/src/package_2020_10_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod instances { - use crate::models::*; + use super::{models, models::*}; pub async fn get_metadata( operation_config: &crate::OperationConfig, metadata: &str, @@ -49,7 +49,7 @@ pub mod instances { } } pub mod get_metadata { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -73,7 +73,7 @@ pub mod instances { } } pub mod attested { - use crate::models::*; + use super::{models, models::*}; pub async fn get_document( operation_config: &crate::OperationConfig, nonce: Option<&str>, @@ -122,7 +122,7 @@ pub mod attested { } } pub mod get_document { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -146,7 +146,7 @@ pub mod attested { } } pub mod identity { - use crate::models::*; + use super::{models, models::*}; pub async fn get_token( operation_config: &crate::OperationConfig, metadata: &str, @@ -213,7 +213,7 @@ pub mod identity { } } pub mod get_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -279,7 +279,7 @@ pub mod identity { } } pub mod get_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/imds/src/package_2020_12_01/operations.rs b/services/svc/imds/src/package_2020_12_01/operations.rs index 6284246189..745c4a19ec 100644 --- a/services/svc/imds/src/package_2020_12_01/operations.rs +++ b/services/svc/imds/src/package_2020_12_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod instances { - use crate::models::*; + use super::{models, models::*}; pub async fn get_metadata( operation_config: &crate::OperationConfig, metadata: &str, @@ -49,7 +49,7 @@ pub mod instances { } } pub mod get_metadata { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -73,7 +73,7 @@ pub mod instances { } } pub mod attested { - use crate::models::*; + use super::{models, models::*}; pub async fn get_document( operation_config: &crate::OperationConfig, nonce: Option<&str>, @@ -122,7 +122,7 @@ pub mod attested { } } pub mod get_document { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -146,7 +146,7 @@ pub mod attested { } } pub mod identity { - use crate::models::*; + use super::{models, models::*}; pub async fn get_token( operation_config: &crate::OperationConfig, metadata: &str, @@ -213,7 +213,7 @@ pub mod identity { } } pub mod get_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -279,7 +279,7 @@ pub mod identity { } } pub mod get_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/imds/src/package_2021_01_01/operations.rs b/services/svc/imds/src/package_2021_01_01/operations.rs index 6284246189..745c4a19ec 100644 --- a/services/svc/imds/src/package_2021_01_01/operations.rs +++ b/services/svc/imds/src/package_2021_01_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod instances { - use crate::models::*; + use super::{models, models::*}; pub async fn get_metadata( operation_config: &crate::OperationConfig, metadata: &str, @@ -49,7 +49,7 @@ pub mod instances { } } pub mod get_metadata { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -73,7 +73,7 @@ pub mod instances { } } pub mod attested { - use crate::models::*; + use super::{models, models::*}; pub async fn get_document( operation_config: &crate::OperationConfig, nonce: Option<&str>, @@ -122,7 +122,7 @@ pub mod attested { } } pub mod get_document { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -146,7 +146,7 @@ pub mod attested { } } pub mod identity { - use crate::models::*; + use super::{models, models::*}; pub async fn get_token( operation_config: &crate::OperationConfig, metadata: &str, @@ -213,7 +213,7 @@ pub mod identity { } } pub mod get_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -279,7 +279,7 @@ pub mod identity { } } pub mod get_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/imds/src/package_2021_02_01/operations.rs b/services/svc/imds/src/package_2021_02_01/operations.rs index 6284246189..745c4a19ec 100644 --- a/services/svc/imds/src/package_2021_02_01/operations.rs +++ b/services/svc/imds/src/package_2021_02_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod instances { - use crate::models::*; + use super::{models, models::*}; pub async fn get_metadata( operation_config: &crate::OperationConfig, metadata: &str, @@ -49,7 +49,7 @@ pub mod instances { } } pub mod get_metadata { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -73,7 +73,7 @@ pub mod instances { } } pub mod attested { - use crate::models::*; + use super::{models, models::*}; pub async fn get_document( operation_config: &crate::OperationConfig, nonce: Option<&str>, @@ -122,7 +122,7 @@ pub mod attested { } } pub mod get_document { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -146,7 +146,7 @@ pub mod attested { } } pub mod identity { - use crate::models::*; + use super::{models, models::*}; pub async fn get_token( operation_config: &crate::OperationConfig, metadata: &str, @@ -213,7 +213,7 @@ pub mod identity { } } pub mod get_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -279,7 +279,7 @@ pub mod identity { } } pub mod get_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/imds/src/package_2021_03_01/operations.rs b/services/svc/imds/src/package_2021_03_01/operations.rs index 6284246189..745c4a19ec 100644 --- a/services/svc/imds/src/package_2021_03_01/operations.rs +++ b/services/svc/imds/src/package_2021_03_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod instances { - use crate::models::*; + use super::{models, models::*}; pub async fn get_metadata( operation_config: &crate::OperationConfig, metadata: &str, @@ -49,7 +49,7 @@ pub mod instances { } } pub mod get_metadata { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -73,7 +73,7 @@ pub mod instances { } } pub mod attested { - use crate::models::*; + use super::{models, models::*}; pub async fn get_document( operation_config: &crate::OperationConfig, nonce: Option<&str>, @@ -122,7 +122,7 @@ pub mod attested { } } pub mod get_document { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -146,7 +146,7 @@ pub mod attested { } } pub mod identity { - use crate::models::*; + use super::{models, models::*}; pub async fn get_token( operation_config: &crate::OperationConfig, metadata: &str, @@ -213,7 +213,7 @@ pub mod identity { } } pub mod get_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -279,7 +279,7 @@ pub mod identity { } } pub mod get_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/imds/src/package_2021_05_01/operations.rs b/services/svc/imds/src/package_2021_05_01/operations.rs index 6284246189..745c4a19ec 100644 --- a/services/svc/imds/src/package_2021_05_01/operations.rs +++ b/services/svc/imds/src/package_2021_05_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod instances { - use crate::models::*; + use super::{models, models::*}; pub async fn get_metadata( operation_config: &crate::OperationConfig, metadata: &str, @@ -49,7 +49,7 @@ pub mod instances { } } pub mod get_metadata { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -73,7 +73,7 @@ pub mod instances { } } pub mod attested { - use crate::models::*; + use super::{models, models::*}; pub async fn get_document( operation_config: &crate::OperationConfig, nonce: Option<&str>, @@ -122,7 +122,7 @@ pub mod attested { } } pub mod get_document { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -146,7 +146,7 @@ pub mod attested { } } pub mod identity { - use crate::models::*; + use super::{models, models::*}; pub async fn get_token( operation_config: &crate::OperationConfig, metadata: &str, @@ -213,7 +213,7 @@ pub mod identity { } } pub mod get_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -279,7 +279,7 @@ pub mod identity { } } pub mod get_info { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/iotcentral/Cargo.toml b/services/svc/iotcentral/Cargo.toml index ba2b285716..f3dd86d8a6 100644 --- a/services/svc/iotcentral/Cargo.toml +++ b/services/svc/iotcentral/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-1.0"] +no-default-version = [] "package-1.1-preview" = [] "package-2021-04-30-preview" = [] "package-1.0" = [] diff --git a/services/svc/iotcentral/src/lib.rs b/services/svc/iotcentral/src/lib.rs index 10d8735ef0..d473ae365e 100644 --- a/services/svc/iotcentral/src/lib.rs +++ b/services/svc/iotcentral/src/lib.rs @@ -1,17 +1,25 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-1.1-preview")] -mod package_1_1_preview; -#[cfg(feature = "package-1.1-preview")] +pub mod package_1_1_preview; +#[cfg(all(feature = "package-1.1-preview", not(feature = "no-default-version")))] pub use package_1_1_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-04-30-preview")] -mod package_2021_04_30_preview; -#[cfg(feature = "package-2021-04-30-preview")] +pub mod package_2021_04_30_preview; +#[cfg(all(feature = "package-2021-04-30-preview", not(feature = "no-default-version")))] pub use package_2021_04_30_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-1.0")] -mod package_1_0; +pub mod package_1_0; use azure_core::setters; -#[cfg(feature = "package-1.0")] +#[cfg(all(feature = "package-1.0", not(feature = "no-default-version")))] pub use package_1_0::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -35,7 +43,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/svc/iotcentral/src/package_1_0/operations.rs b/services/svc/iotcentral/src/package_1_0/operations.rs index cedf92d46a..a4792015ec 100644 --- a/services/svc/iotcentral/src/package_1_0/operations.rs +++ b/services/svc/iotcentral/src/package_1_0/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod api_tokens { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/apiTokens", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod api_tokens { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -94,7 +94,7 @@ pub mod api_tokens { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -153,7 +153,7 @@ pub mod api_tokens { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -202,7 +202,7 @@ pub mod api_tokens { } } pub mod remove { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -223,7 +223,7 @@ pub mod api_tokens { } } pub mod device_templates { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/deviceTemplates", operation_config.base_path(),); @@ -259,7 +259,7 @@ pub mod device_templates { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -316,7 +316,7 @@ pub mod device_templates { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -375,7 +375,7 @@ pub mod device_templates { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -434,7 +434,7 @@ pub mod device_templates { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -483,7 +483,7 @@ pub mod device_templates { } } pub mod remove { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -504,7 +504,7 @@ pub mod device_templates { } } pub mod devices { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/devices", operation_config.base_path(),); @@ -540,7 +540,7 @@ pub mod devices { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -594,7 +594,7 @@ pub mod devices { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -653,7 +653,7 @@ pub mod devices { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -712,7 +712,7 @@ pub mod devices { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -761,7 +761,7 @@ pub mod devices { } } pub mod remove { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -821,7 +821,7 @@ pub mod devices { } } pub mod get_attestation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -883,7 +883,7 @@ pub mod devices { } } pub mod create_attestation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -945,7 +945,7 @@ pub mod devices { } } pub mod update_attestation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1000,7 +1000,7 @@ pub mod devices { } } pub mod remove_attestation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1061,7 +1061,7 @@ pub mod devices { } } pub mod get_command_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1124,7 +1124,7 @@ pub mod devices { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1184,7 +1184,7 @@ pub mod devices { } } pub mod list_components { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1254,7 +1254,7 @@ pub mod devices { } } pub mod get_component_command_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1326,7 +1326,7 @@ pub mod devices { } } pub mod run_component_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1394,7 +1394,7 @@ pub mod devices { } } pub mod get_component_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1464,7 +1464,7 @@ pub mod devices { } } pub mod replace_component_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1534,7 +1534,7 @@ pub mod devices { } } pub mod update_component_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1604,7 +1604,7 @@ pub mod devices { } } pub mod get_component_telemetry_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1664,7 +1664,7 @@ pub mod devices { } } pub mod get_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1724,7 +1724,7 @@ pub mod devices { } } pub mod list_modules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1794,7 +1794,7 @@ pub mod devices { } } pub mod get_module_command_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1864,7 +1864,7 @@ pub mod devices { } } pub mod run_module_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1932,7 +1932,7 @@ pub mod devices { } } pub mod list_module_components { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2004,7 +2004,7 @@ pub mod devices { } } pub mod get_module_component_command_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2078,7 +2078,7 @@ pub mod devices { } } pub mod run_module_component_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2148,7 +2148,7 @@ pub mod devices { } } pub mod get_module_component_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2220,7 +2220,7 @@ pub mod devices { } } pub mod replace_module_component_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2292,7 +2292,7 @@ pub mod devices { } } pub mod update_module_component_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2364,7 +2364,7 @@ pub mod devices { } } pub mod get_module_component_telemetry_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2432,7 +2432,7 @@ pub mod devices { } } pub mod get_module_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2502,7 +2502,7 @@ pub mod devices { } } pub mod replace_module_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2572,7 +2572,7 @@ pub mod devices { } } pub mod update_module_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2642,7 +2642,7 @@ pub mod devices { } } pub mod get_module_telemetry_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2702,7 +2702,7 @@ pub mod devices { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2764,7 +2764,7 @@ pub mod devices { } } pub mod replace_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2826,7 +2826,7 @@ pub mod devices { } } pub mod update_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2892,7 +2892,7 @@ pub mod devices { } } pub mod get_telemetry_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2913,7 +2913,7 @@ pub mod devices { } } pub mod roles { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/roles", operation_config.base_path(),); @@ -2949,7 +2949,7 @@ pub mod roles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3003,7 +3003,7 @@ pub mod roles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3024,7 +3024,7 @@ pub mod roles { } } pub mod users { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/users", operation_config.base_path(),); @@ -3060,7 +3060,7 @@ pub mod users { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3114,7 +3114,7 @@ pub mod users { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3169,7 +3169,7 @@ pub mod users { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3228,7 +3228,7 @@ pub mod users { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3277,7 +3277,7 @@ pub mod users { } } pub mod remove { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/svc/iotcentral/src/package_1_1_preview/operations.rs b/services/svc/iotcentral/src/package_1_1_preview/operations.rs index 5a841e9165..8bec1ca4cf 100644 --- a/services/svc/iotcentral/src/package_1_1_preview/operations.rs +++ b/services/svc/iotcentral/src/package_1_1_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod api_tokens { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/apiTokens", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod api_tokens { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -94,7 +94,7 @@ pub mod api_tokens { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -153,7 +153,7 @@ pub mod api_tokens { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -202,7 +202,7 @@ pub mod api_tokens { } } pub mod remove { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -223,7 +223,7 @@ pub mod api_tokens { } } pub mod device_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/deviceGroups", operation_config.base_path(),); @@ -259,7 +259,7 @@ pub mod device_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -280,7 +280,7 @@ pub mod device_groups { } } pub mod device_templates { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/deviceTemplates", operation_config.base_path(),); @@ -316,7 +316,7 @@ pub mod device_templates { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -373,7 +373,7 @@ pub mod device_templates { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -432,7 +432,7 @@ pub mod device_templates { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -491,7 +491,7 @@ pub mod device_templates { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -540,7 +540,7 @@ pub mod device_templates { } } pub mod remove { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -561,7 +561,7 @@ pub mod device_templates { } } pub mod devices { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/devices", operation_config.base_path(),); @@ -597,7 +597,7 @@ pub mod devices { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -651,7 +651,7 @@ pub mod devices { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -710,7 +710,7 @@ pub mod devices { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -769,7 +769,7 @@ pub mod devices { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -818,7 +818,7 @@ pub mod devices { } } pub mod remove { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -878,7 +878,7 @@ pub mod devices { } } pub mod get_attestation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -940,7 +940,7 @@ pub mod devices { } } pub mod create_attestation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1002,7 +1002,7 @@ pub mod devices { } } pub mod update_attestation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1057,7 +1057,7 @@ pub mod devices { } } pub mod remove_attestation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1118,7 +1118,7 @@ pub mod devices { } } pub mod get_command_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1181,7 +1181,7 @@ pub mod devices { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1241,7 +1241,7 @@ pub mod devices { } } pub mod list_components { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1311,7 +1311,7 @@ pub mod devices { } } pub mod get_component_command_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1383,7 +1383,7 @@ pub mod devices { } } pub mod run_component_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1451,7 +1451,7 @@ pub mod devices { } } pub mod get_component_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1521,7 +1521,7 @@ pub mod devices { } } pub mod replace_component_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1591,7 +1591,7 @@ pub mod devices { } } pub mod update_component_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1661,7 +1661,7 @@ pub mod devices { } } pub mod get_component_telemetry_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1721,7 +1721,7 @@ pub mod devices { } } pub mod get_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1781,7 +1781,7 @@ pub mod devices { } } pub mod list_modules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1851,7 +1851,7 @@ pub mod devices { } } pub mod get_module_command_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1921,7 +1921,7 @@ pub mod devices { } } pub mod run_module_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1989,7 +1989,7 @@ pub mod devices { } } pub mod list_module_components { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2061,7 +2061,7 @@ pub mod devices { } } pub mod get_module_component_command_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2135,7 +2135,7 @@ pub mod devices { } } pub mod run_module_component_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2205,7 +2205,7 @@ pub mod devices { } } pub mod get_module_component_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2277,7 +2277,7 @@ pub mod devices { } } pub mod replace_module_component_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2349,7 +2349,7 @@ pub mod devices { } } pub mod update_module_component_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2421,7 +2421,7 @@ pub mod devices { } } pub mod get_module_component_telemetry_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2489,7 +2489,7 @@ pub mod devices { } } pub mod get_module_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2559,7 +2559,7 @@ pub mod devices { } } pub mod replace_module_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2629,7 +2629,7 @@ pub mod devices { } } pub mod update_module_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2699,7 +2699,7 @@ pub mod devices { } } pub mod get_module_telemetry_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2759,7 +2759,7 @@ pub mod devices { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2821,7 +2821,7 @@ pub mod devices { } } pub mod replace_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2883,7 +2883,7 @@ pub mod devices { } } pub mod update_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2949,7 +2949,7 @@ pub mod devices { } } pub mod get_telemetry_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2970,7 +2970,7 @@ pub mod devices { } } pub mod file_uploads { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/fileUploads", operation_config.base_path(),); @@ -3005,7 +3005,7 @@ pub mod file_uploads { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3059,7 +3059,7 @@ pub mod file_uploads { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3116,7 +3116,7 @@ pub mod file_uploads { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3164,7 +3164,7 @@ pub mod file_uploads { } } pub mod remove { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3185,7 +3185,7 @@ pub mod file_uploads { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/jobs", operation_config.base_path(),); @@ -3221,7 +3221,7 @@ pub mod jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3275,7 +3275,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3330,7 +3330,7 @@ pub mod jobs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3390,7 +3390,7 @@ pub mod jobs { } } pub mod get_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3444,7 +3444,7 @@ pub mod jobs { } } pub mod rerun { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3494,7 +3494,7 @@ pub mod jobs { } } pub mod resume { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3544,7 +3544,7 @@ pub mod jobs { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3565,7 +3565,7 @@ pub mod jobs { } } pub mod organizations { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/organizations", operation_config.base_path(),); @@ -3601,7 +3601,7 @@ pub mod organizations { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3655,7 +3655,7 @@ pub mod organizations { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3714,7 +3714,7 @@ pub mod organizations { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3773,7 +3773,7 @@ pub mod organizations { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3822,7 +3822,7 @@ pub mod organizations { } } pub mod remove { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3843,7 +3843,7 @@ pub mod organizations { } } pub mod roles { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/roles", operation_config.base_path(),); @@ -3879,7 +3879,7 @@ pub mod roles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3933,7 +3933,7 @@ pub mod roles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3954,7 +3954,7 @@ pub mod roles { } } pub mod users { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/users", operation_config.base_path(),); @@ -3990,7 +3990,7 @@ pub mod users { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4044,7 +4044,7 @@ pub mod users { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4099,7 +4099,7 @@ pub mod users { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4158,7 +4158,7 @@ pub mod users { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4207,7 +4207,7 @@ pub mod users { } } pub mod remove { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/svc/iotcentral/src/package_2021_04_30_preview/operations.rs b/services/svc/iotcentral/src/package_2021_04_30_preview/operations.rs index e395496e64..8a4f092684 100644 --- a/services/svc/iotcentral/src/package_2021_04_30_preview/operations.rs +++ b/services/svc/iotcentral/src/package_2021_04_30_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod api_tokens { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/apiTokens", operation_config.base_path(),); @@ -40,7 +40,7 @@ pub mod api_tokens { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -94,7 +94,7 @@ pub mod api_tokens { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -153,7 +153,7 @@ pub mod api_tokens { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -202,7 +202,7 @@ pub mod api_tokens { } } pub mod remove { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -223,7 +223,7 @@ pub mod api_tokens { } } pub mod continuous_data_exports { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/continuousDataExports", operation_config.base_path(),); @@ -259,7 +259,7 @@ pub mod continuous_data_exports { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -313,7 +313,7 @@ pub mod continuous_data_exports { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -372,7 +372,7 @@ pub mod continuous_data_exports { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -431,7 +431,7 @@ pub mod continuous_data_exports { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -480,7 +480,7 @@ pub mod continuous_data_exports { } } pub mod remove { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -501,7 +501,7 @@ pub mod continuous_data_exports { } } pub mod device_groups { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/deviceGroups", operation_config.base_path(),); @@ -537,7 +537,7 @@ pub mod device_groups { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -558,7 +558,7 @@ pub mod device_groups { } } pub mod device_templates { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/deviceTemplates", operation_config.base_path(),); @@ -594,7 +594,7 @@ pub mod device_templates { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -651,7 +651,7 @@ pub mod device_templates { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -710,7 +710,7 @@ pub mod device_templates { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -769,7 +769,7 @@ pub mod device_templates { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -818,7 +818,7 @@ pub mod device_templates { } } pub mod remove { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -878,7 +878,7 @@ pub mod device_templates { } } pub mod list_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -938,7 +938,7 @@ pub mod device_templates { } } pub mod get_merged { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -959,7 +959,7 @@ pub mod device_templates { } } pub mod devices { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/devices", operation_config.base_path(),); @@ -995,7 +995,7 @@ pub mod devices { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1049,7 +1049,7 @@ pub mod devices { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1108,7 +1108,7 @@ pub mod devices { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1167,7 +1167,7 @@ pub mod devices { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1216,7 +1216,7 @@ pub mod devices { } } pub mod remove { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1276,7 +1276,7 @@ pub mod devices { } } pub mod get_attestation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1338,7 +1338,7 @@ pub mod devices { } } pub mod create_attestation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1400,7 +1400,7 @@ pub mod devices { } } pub mod update_attestation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1455,7 +1455,7 @@ pub mod devices { } } pub mod remove_attestation { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1515,7 +1515,7 @@ pub mod devices { } } pub mod get_cloud_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1579,7 +1579,7 @@ pub mod devices { } } pub mod replace_cloud_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1643,7 +1643,7 @@ pub mod devices { } } pub mod update_cloud_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1704,7 +1704,7 @@ pub mod devices { } } pub mod get_command_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1767,7 +1767,7 @@ pub mod devices { } } pub mod run_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1827,7 +1827,7 @@ pub mod devices { } } pub mod list_components { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1897,7 +1897,7 @@ pub mod devices { } } pub mod get_component_command_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1969,7 +1969,7 @@ pub mod devices { } } pub mod run_component_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2037,7 +2037,7 @@ pub mod devices { } } pub mod get_component_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2107,7 +2107,7 @@ pub mod devices { } } pub mod replace_component_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2177,7 +2177,7 @@ pub mod devices { } } pub mod update_component_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2247,7 +2247,7 @@ pub mod devices { } } pub mod get_component_telemetry_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2307,7 +2307,7 @@ pub mod devices { } } pub mod get_credentials { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2367,7 +2367,7 @@ pub mod devices { } } pub mod list_modules { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2437,7 +2437,7 @@ pub mod devices { } } pub mod get_module_command_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2507,7 +2507,7 @@ pub mod devices { } } pub mod run_module_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2575,7 +2575,7 @@ pub mod devices { } } pub mod list_module_components { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2647,7 +2647,7 @@ pub mod devices { } } pub mod get_module_component_command_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2721,7 +2721,7 @@ pub mod devices { } } pub mod run_module_component_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2791,7 +2791,7 @@ pub mod devices { } } pub mod get_module_component_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2863,7 +2863,7 @@ pub mod devices { } } pub mod replace_module_component_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2935,7 +2935,7 @@ pub mod devices { } } pub mod update_module_component_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3007,7 +3007,7 @@ pub mod devices { } } pub mod get_module_component_telemetry_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3075,7 +3075,7 @@ pub mod devices { } } pub mod get_module_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3145,7 +3145,7 @@ pub mod devices { } } pub mod replace_module_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3215,7 +3215,7 @@ pub mod devices { } } pub mod update_module_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3285,7 +3285,7 @@ pub mod devices { } } pub mod get_module_telemetry_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3345,7 +3345,7 @@ pub mod devices { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3407,7 +3407,7 @@ pub mod devices { } } pub mod replace_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3469,7 +3469,7 @@ pub mod devices { } } pub mod update_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3535,7 +3535,7 @@ pub mod devices { } } pub mod get_telemetry_value { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3556,7 +3556,7 @@ pub mod devices { } } pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/jobs", operation_config.base_path(),); @@ -3592,7 +3592,7 @@ pub mod jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3646,7 +3646,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3701,7 +3701,7 @@ pub mod jobs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3761,7 +3761,7 @@ pub mod jobs { } } pub mod get_devices { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3815,7 +3815,7 @@ pub mod jobs { } } pub mod rerun { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3865,7 +3865,7 @@ pub mod jobs { } } pub mod resume { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3915,7 +3915,7 @@ pub mod jobs { } } pub mod stop { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -3936,7 +3936,7 @@ pub mod jobs { } } pub mod roles { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/roles", operation_config.base_path(),); @@ -3972,7 +3972,7 @@ pub mod roles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4026,7 +4026,7 @@ pub mod roles { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4047,7 +4047,7 @@ pub mod roles { } } pub mod users { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/users", operation_config.base_path(),); @@ -4083,7 +4083,7 @@ pub mod users { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4137,7 +4137,7 @@ pub mod users { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4192,7 +4192,7 @@ pub mod users { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4251,7 +4251,7 @@ pub mod users { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -4300,7 +4300,7 @@ pub mod users { } } pub mod remove { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/svc/mixedreality/Cargo.toml b/services/svc/mixedreality/Cargo.toml index 67a926b516..02a35737ee 100644 --- a/services/svc/mixedreality/Cargo.toml +++ b/services/svc/mixedreality/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-01-01"] +no-default-version = [] "package-0.2-preview.1" = [] "package-2021-01-01" = [] "package-0.2-preview.0" = [] diff --git a/services/svc/mixedreality/src/lib.rs b/services/svc/mixedreality/src/lib.rs index 054ed4f7c0..3f5f986016 100644 --- a/services/svc/mixedreality/src/lib.rs +++ b/services/svc/mixedreality/src/lib.rs @@ -1,25 +1,33 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-0.2-preview.1")] -mod package_0_2_preview_1; -#[cfg(feature = "package-0.2-preview.1")] +pub mod package_0_2_preview_1; +#[cfg(all(feature = "package-0.2-preview.1", not(feature = "no-default-version")))] pub use package_0_2_preview_1::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-01-01")] -mod package_2021_01_01; -#[cfg(feature = "package-2021-01-01")] +pub mod package_2021_01_01; +#[cfg(all(feature = "package-2021-01-01", not(feature = "no-default-version")))] pub use package_2021_01_01::{models, operations, API_VERSION}; #[cfg(feature = "package-0.2-preview.0")] -mod package_0_2_preview_0; -#[cfg(feature = "package-0.2-preview.0")] +pub mod package_0_2_preview_0; +#[cfg(all(feature = "package-0.2-preview.0", not(feature = "no-default-version")))] pub use package_0_2_preview_0::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-01-01-preview")] -mod package_2021_01_01_preview; -#[cfg(feature = "package-2021-01-01-preview")] +pub mod package_2021_01_01_preview; +#[cfg(all(feature = "package-2021-01-01-preview", not(feature = "no-default-version")))] pub use package_2021_01_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2019-02-28-preview")] -mod package_2019_02_28_preview; +pub mod package_2019_02_28_preview; use azure_core::setters; -#[cfg(feature = "package-2019-02-28-preview")] +#[cfg(all(feature = "package-2019-02-28-preview", not(feature = "no-default-version")))] pub use package_2019_02_28_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -43,7 +51,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/svc/mixedreality/src/package_0_2_preview_0/operations.rs b/services/svc/mixedreality/src/package_0_2_preview_0/operations.rs index eb65b9300c..d31d06344a 100644 --- a/services/svc/mixedreality/src/package_0_2_preview_0/operations.rs +++ b/services/svc/mixedreality/src/package_0_2_preview_0/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod ingestion_job { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, account_id: &str, @@ -50,7 +50,7 @@ pub mod ingestion_job { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -123,7 +123,7 @@ pub mod ingestion_job { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -147,7 +147,7 @@ pub mod ingestion_job { } } pub mod blob_upload_endpoint { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, account_id: &str, @@ -192,7 +192,7 @@ pub mod blob_upload_endpoint { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/mixedreality/src/package_0_2_preview_1/operations.rs b/services/svc/mixedreality/src/package_0_2_preview_1/operations.rs index eb65b9300c..d31d06344a 100644 --- a/services/svc/mixedreality/src/package_0_2_preview_1/operations.rs +++ b/services/svc/mixedreality/src/package_0_2_preview_1/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod ingestion_job { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, account_id: &str, @@ -50,7 +50,7 @@ pub mod ingestion_job { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -123,7 +123,7 @@ pub mod ingestion_job { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -147,7 +147,7 @@ pub mod ingestion_job { } } pub mod blob_upload_endpoint { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, account_id: &str, @@ -192,7 +192,7 @@ pub mod blob_upload_endpoint { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/mixedreality/src/package_2019_02_28_preview/operations.rs b/services/svc/mixedreality/src/package_2019_02_28_preview/operations.rs index 3f0ca672f8..dc56e411d4 100644 --- a/services/svc/mixedreality/src/package_2019_02_28_preview/operations.rs +++ b/services/svc/mixedreality/src/package_2019_02_28_preview/operations.rs @@ -2,7 +2,7 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub async fn get_token( operation_config: &crate::OperationConfig, account_id: &str, @@ -45,7 +45,7 @@ pub async fn get_token( } } pub mod get_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] diff --git a/services/svc/mixedreality/src/package_2021_01_01/operations.rs b/services/svc/mixedreality/src/package_2021_01_01/operations.rs index 3d5fdf6cc7..975b34fd75 100644 --- a/services/svc/mixedreality/src/package_2021_01_01/operations.rs +++ b/services/svc/mixedreality/src/package_2021_01_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod remote_rendering { - use crate::models::*; + use super::{models, models::*}; pub async fn get_conversion( operation_config: &crate::OperationConfig, account_id: &str, @@ -62,7 +62,7 @@ pub mod remote_rendering { } } pub mod get_conversion { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -167,7 +167,7 @@ pub mod remote_rendering { } } pub mod create_conversion { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Conversion), @@ -253,7 +253,7 @@ pub mod remote_rendering { } } pub mod list_conversions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -332,7 +332,7 @@ pub mod remote_rendering { } } pub mod get_session { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -432,7 +432,7 @@ pub mod remote_rendering { } } pub mod create_session { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SessionProperties), @@ -528,7 +528,7 @@ pub mod remote_rendering { } } pub mod update_session { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -612,7 +612,7 @@ pub mod remote_rendering { } } pub mod stop_session { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -691,7 +691,7 @@ pub mod remote_rendering { } } pub mod list_sessions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] diff --git a/services/svc/mixedreality/src/package_2021_01_01_preview/operations.rs b/services/svc/mixedreality/src/package_2021_01_01_preview/operations.rs index 3d5fdf6cc7..975b34fd75 100644 --- a/services/svc/mixedreality/src/package_2021_01_01_preview/operations.rs +++ b/services/svc/mixedreality/src/package_2021_01_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod remote_rendering { - use crate::models::*; + use super::{models, models::*}; pub async fn get_conversion( operation_config: &crate::OperationConfig, account_id: &str, @@ -62,7 +62,7 @@ pub mod remote_rendering { } } pub mod get_conversion { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -167,7 +167,7 @@ pub mod remote_rendering { } } pub mod create_conversion { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Conversion), @@ -253,7 +253,7 @@ pub mod remote_rendering { } } pub mod list_conversions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -332,7 +332,7 @@ pub mod remote_rendering { } } pub mod get_session { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -432,7 +432,7 @@ pub mod remote_rendering { } } pub mod create_session { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SessionProperties), @@ -528,7 +528,7 @@ pub mod remote_rendering { } } pub mod update_session { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -612,7 +612,7 @@ pub mod remote_rendering { } } pub mod stop_session { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -691,7 +691,7 @@ pub mod remote_rendering { } } pub mod list_sessions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] diff --git a/services/svc/monitor/Cargo.toml b/services/svc/monitor/Cargo.toml index 0c91a4d8d2..08852370a0 100644 --- a/services/svc/monitor/Cargo.toml +++ b/services/svc/monitor/Cargo.toml @@ -20,4 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2018-09-preview"] +no-default-version = [] "package-2018-09-preview" = [] diff --git a/services/svc/monitor/src/lib.rs b/services/svc/monitor/src/lib.rs index a2860c7322..c995f52319 100644 --- a/services/svc/monitor/src/lib.rs +++ b/services/svc/monitor/src/lib.rs @@ -1,9 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2018-09-preview")] -mod package_2018_09_preview; +pub mod package_2018_09_preview; use azure_core::setters; -#[cfg(feature = "package-2018-09-preview")] +#[cfg(all(feature = "package-2018-09-preview", not(feature = "no-default-version")))] pub use package_2018_09_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -27,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/svc/monitor/src/package_2018_09_preview/operations.rs b/services/svc/monitor/src/package_2018_09_preview/operations.rs index a6b8803c7e..97597fc972 100644 --- a/services/svc/monitor/src/package_2018_09_preview/operations.rs +++ b/services/svc/monitor/src/package_2018_09_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod metrics { - use crate::models::*; + use super::{models, models::*}; pub async fn create( operation_config: &crate::OperationConfig, content_type: &str, @@ -64,7 +64,7 @@ pub mod metrics { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/operationalinsights/Cargo.toml b/services/svc/operationalinsights/Cargo.toml index a84a84b8d8..4826cecbd7 100644 --- a/services/svc/operationalinsights/Cargo.toml +++ b/services/svc/operationalinsights/Cargo.toml @@ -20,4 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["v1"] +no-default-version = [] "v1" = [] diff --git a/services/svc/operationalinsights/src/lib.rs b/services/svc/operationalinsights/src/lib.rs index a798e3294c..d7752af3c9 100644 --- a/services/svc/operationalinsights/src/lib.rs +++ b/services/svc/operationalinsights/src/lib.rs @@ -1,9 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "v1")] -mod v1; +pub mod v1; use azure_core::setters; -#[cfg(feature = "v1")] +#[cfg(all(feature = "v1", not(feature = "no-default-version")))] pub use v1::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -27,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/svc/operationalinsights/src/v1/operations.rs b/services/svc/operationalinsights/src/v1/operations.rs index f7df217036..3768dac2a9 100644 --- a/services/svc/operationalinsights/src/v1/operations.rs +++ b/services/svc/operationalinsights/src/v1/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod query { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, workspace_id: &str, @@ -50,7 +50,7 @@ pub mod query { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -116,7 +116,7 @@ pub mod query { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -140,7 +140,7 @@ pub mod query { } } pub mod metadata { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig, workspace_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/workspaces/{}/metadata", operation_config.base_path(), workspace_id); @@ -177,7 +177,7 @@ pub mod metadata { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -236,7 +236,7 @@ pub mod metadata { } } pub mod post { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/purview/Cargo.toml b/services/svc/purview/Cargo.toml index d25df85845..79520986db 100644 --- a/services/svc/purview/Cargo.toml +++ b/services/svc/purview/Cargo.toml @@ -20,5 +20,6 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2018-12-01-preview"] +no-default-version = [] "package-2018-12-01-preview" = [] "package-2021-07-01-preview" = [] diff --git a/services/svc/purview/src/lib.rs b/services/svc/purview/src/lib.rs index dcbf7eea7b..d07331ead1 100644 --- a/services/svc/purview/src/lib.rs +++ b/services/svc/purview/src/lib.rs @@ -1,13 +1,21 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2018-12-01-preview")] -mod package_2018_12_01_preview; -#[cfg(feature = "package-2018-12-01-preview")] +pub mod package_2018_12_01_preview; +#[cfg(all(feature = "package-2018-12-01-preview", not(feature = "no-default-version")))] pub use package_2018_12_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-07-01-preview")] -mod package_2021_07_01_preview; +pub mod package_2021_07_01_preview; use azure_core::setters; -#[cfg(feature = "package-2021-07-01-preview")] +#[cfg(all(feature = "package-2021-07-01-preview", not(feature = "no-default-version")))] pub use package_2021_07_01_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -31,7 +39,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/svc/purview/src/package_2018_12_01_preview/operations.rs b/services/svc/purview/src/package_2018_12_01_preview/operations.rs index 224f8bf188..0546e37d75 100644 --- a/services/svc/purview/src/package_2018_12_01_preview/operations.rs +++ b/services/svc/purview/src/package_2018_12_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod key_vault_connections { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig, key_vault_name: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/azureKeyVaults/{}", operation_config.base_path(), key_vault_name); @@ -42,7 +42,7 @@ pub mod key_vault_connections { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -106,7 +106,7 @@ pub mod key_vault_connections { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -169,7 +169,7 @@ pub mod key_vault_connections { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(AzureKeyVault), @@ -236,7 +236,7 @@ pub mod key_vault_connections { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -260,7 +260,7 @@ pub mod key_vault_connections { } } pub mod classification_rules { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, classification_rule_name: &str, @@ -301,7 +301,7 @@ pub mod classification_rules { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -378,7 +378,7 @@ pub mod classification_rules { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ClassificationRule), @@ -446,7 +446,7 @@ pub mod classification_rules { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ClassificationRule), @@ -513,7 +513,7 @@ pub mod classification_rules { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -584,7 +584,7 @@ pub mod classification_rules { } } pub mod list_versions_by_classification_rule_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -660,7 +660,7 @@ pub mod classification_rules { } } pub mod tag_classification_version { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -684,7 +684,7 @@ pub mod classification_rules { } } pub mod data_sources { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig, data_source_name: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/datasources/{}", operation_config.base_path(), data_source_name); @@ -722,7 +722,7 @@ pub mod data_sources { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -799,7 +799,7 @@ pub mod data_sources { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataSource), @@ -867,7 +867,7 @@ pub mod data_sources { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataSource), @@ -934,7 +934,7 @@ pub mod data_sources { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -958,7 +958,7 @@ pub mod data_sources { } } pub mod filters { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, data_source_name: &str, @@ -1005,7 +1005,7 @@ pub mod filters { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1088,7 +1088,7 @@ pub mod filters { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Filter), @@ -1117,7 +1117,7 @@ pub mod filters { } } pub mod scans { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, data_source_name: &str, @@ -1164,7 +1164,7 @@ pub mod scans { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1243,7 +1243,7 @@ pub mod scans { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Scan), @@ -1317,7 +1317,7 @@ pub mod scans { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Scan), @@ -1387,7 +1387,7 @@ pub mod scans { } } pub mod list_by_data_source { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1411,7 +1411,7 @@ pub mod scans { } } pub mod scan_result { - use crate::models::*; + use super::{models, models::*}; pub async fn run_scan( operation_config: &crate::OperationConfig, data_source_name: &str, @@ -1467,7 +1467,7 @@ pub mod scan_result { } } pub mod run_scan { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1541,7 +1541,7 @@ pub mod scan_result { } } pub mod cancel_scan { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1612,7 +1612,7 @@ pub mod scan_result { } } pub mod list_scan_history { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1636,7 +1636,7 @@ pub mod scan_result { } } pub mod scan_rulesets { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig, scan_ruleset_name: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/scanrulesets/{}", operation_config.base_path(), scan_ruleset_name); @@ -1674,7 +1674,7 @@ pub mod scan_rulesets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1751,7 +1751,7 @@ pub mod scan_rulesets { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ScanRuleset), @@ -1819,7 +1819,7 @@ pub mod scan_rulesets { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(ScanRuleset), @@ -1886,7 +1886,7 @@ pub mod scan_rulesets { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1910,7 +1910,7 @@ pub mod scan_rulesets { } } pub mod system_scan_rulesets { - use crate::models::*; + use super::{models, models::*}; pub async fn list_all(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/systemScanRulesets", operation_config.base_path(),); @@ -1951,7 +1951,7 @@ pub mod system_scan_rulesets { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2017,7 +2017,7 @@ pub mod system_scan_rulesets { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2086,7 +2086,7 @@ pub mod system_scan_rulesets { } } pub mod get_by_version { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2154,7 +2154,7 @@ pub mod system_scan_rulesets { } } pub mod get_latest { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2224,7 +2224,7 @@ pub mod system_scan_rulesets { } } pub mod list_versions_by_data_source { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2248,7 +2248,7 @@ pub mod system_scan_rulesets { } } pub mod triggers { - use crate::models::*; + use super::{models, models::*}; pub async fn get_trigger( operation_config: &crate::OperationConfig, data_source_name: &str, @@ -2298,7 +2298,7 @@ pub mod triggers { } } pub mod get_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2377,7 +2377,7 @@ pub mod triggers { } } pub mod create_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Trigger), @@ -2454,7 +2454,7 @@ pub mod triggers { } } pub mod delete_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(Trigger), diff --git a/services/svc/purview/src/package_2021_07_01_preview/operations.rs b/services/svc/purview/src/package_2021_07_01_preview/operations.rs index 7edf491dd7..04d36487aa 100644 --- a/services/svc/purview/src/package_2021_07_01_preview/operations.rs +++ b/services/svc/purview/src/package_2021_07_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod metadata_roles { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/metadataRoles", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod metadata_roles { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -66,7 +66,7 @@ pub mod metadata_roles { } } pub mod metadata_policy { - use crate::models::*; + use super::{models, models::*}; pub async fn list_all( operation_config: &crate::OperationConfig, collection_name: Option<&str>, @@ -113,7 +113,7 @@ pub mod metadata_policy { } } pub mod list_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -172,7 +172,7 @@ pub mod metadata_policy { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -240,7 +240,7 @@ pub mod metadata_policy { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/quantum/Cargo.toml b/services/svc/quantum/Cargo.toml index 7805c22669..ec324091bf 100644 --- a/services/svc/quantum/Cargo.toml +++ b/services/svc/quantum/Cargo.toml @@ -20,5 +20,6 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2019-11-04-preview"] +no-default-version = [] "package-2019-11-04-preview" = [] "package-2021-05-06-preview" = [] diff --git a/services/svc/quantum/src/lib.rs b/services/svc/quantum/src/lib.rs index f30037289b..4e1ade8c37 100644 --- a/services/svc/quantum/src/lib.rs +++ b/services/svc/quantum/src/lib.rs @@ -1,13 +1,21 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2019-11-04-preview")] -mod package_2019_11_04_preview; -#[cfg(feature = "package-2019-11-04-preview")] +pub mod package_2019_11_04_preview; +#[cfg(all(feature = "package-2019-11-04-preview", not(feature = "no-default-version")))] pub use package_2019_11_04_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-05-06-preview")] -mod package_2021_05_06_preview; +pub mod package_2021_05_06_preview; use azure_core::setters; -#[cfg(feature = "package-2021-05-06-preview")] +#[cfg(all(feature = "package-2021-05-06-preview", not(feature = "no-default-version")))] pub use package_2021_05_06_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -31,7 +39,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/svc/quantum/src/package_2019_11_04_preview/operations.rs b/services/svc/quantum/src/package_2019_11_04_preview/operations.rs index b6cbfcc4f7..dfcad5d72e 100644 --- a/services/svc/quantum/src/package_2019_11_04_preview/operations.rs +++ b/services/svc/quantum/src/package_2019_11_04_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -50,7 +50,7 @@ pub mod jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -118,7 +118,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -197,7 +197,7 @@ pub mod jobs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobDetails), @@ -268,7 +268,7 @@ pub mod jobs { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -292,7 +292,7 @@ pub mod jobs { } } pub mod providers { - use crate::models::*; + use super::{models, models::*}; pub async fn get_status( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -343,7 +343,7 @@ pub mod providers { } } pub mod get_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -367,7 +367,7 @@ pub mod providers { } } pub mod storage { - use crate::models::*; + use super::{models, models::*}; pub async fn sas_uri( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -420,7 +420,7 @@ pub mod storage { } } pub mod sas_uri { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -444,7 +444,7 @@ pub mod storage { } } pub mod quotas { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -492,7 +492,7 @@ pub mod quotas { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/quantum/src/package_2021_05_06_preview/operations.rs b/services/svc/quantum/src/package_2021_05_06_preview/operations.rs index 3a842694b7..af2ab297ae 100644 --- a/services/svc/quantum/src/package_2021_05_06_preview/operations.rs +++ b/services/svc/quantum/src/package_2021_05_06_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod jobs { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -50,7 +50,7 @@ pub mod jobs { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -118,7 +118,7 @@ pub mod jobs { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -197,7 +197,7 @@ pub mod jobs { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobDetails), @@ -276,7 +276,7 @@ pub mod jobs { } } pub mod patch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(JobDetails), @@ -347,7 +347,7 @@ pub mod jobs { } } pub mod cancel { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -371,7 +371,7 @@ pub mod jobs { } } pub mod providers { - use crate::models::*; + use super::{models, models::*}; pub async fn get_status( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -422,7 +422,7 @@ pub mod providers { } } pub mod get_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -446,7 +446,7 @@ pub mod providers { } } pub mod storage { - use crate::models::*; + use super::{models, models::*}; pub async fn sas_uri( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -499,7 +499,7 @@ pub mod storage { } } pub mod sas_uri { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -523,7 +523,7 @@ pub mod storage { } } pub mod quotas { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, subscription_id: &str, @@ -571,7 +571,7 @@ pub mod quotas { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/queuestorage/Cargo.toml b/services/svc/queuestorage/Cargo.toml index ae7157d9f4..97a87fb3b1 100644 --- a/services/svc/queuestorage/Cargo.toml +++ b/services/svc/queuestorage/Cargo.toml @@ -20,4 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2018-03"] +no-default-version = [] "package-2018-03" = [] diff --git a/services/svc/queuestorage/src/lib.rs b/services/svc/queuestorage/src/lib.rs index aba1cbafe7..e44ab47455 100644 --- a/services/svc/queuestorage/src/lib.rs +++ b/services/svc/queuestorage/src/lib.rs @@ -1,9 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2018-03")] -mod package_2018_03; +pub mod package_2018_03; use azure_core::setters; -#[cfg(feature = "package-2018-03")] +#[cfg(all(feature = "package-2018-03", not(feature = "no-default-version")))] pub use package_2018_03::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -27,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/svc/queuestorage/src/package_2018_03/operations.rs b/services/svc/queuestorage/src/package_2018_03/operations.rs index 2b6bb94a29..4261437f45 100644 --- a/services/svc/queuestorage/src/package_2018_03/operations.rs +++ b/services/svc/queuestorage/src/package_2018_03/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod service { - use crate::models::*; + use super::{models, models::*}; pub async fn get_properties( operation_config: &crate::OperationConfig, restype: &str, @@ -60,7 +60,7 @@ pub mod service { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -134,7 +134,7 @@ pub mod service { } } pub mod set_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -211,7 +211,7 @@ pub mod service { } } pub mod get_statistics { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -299,7 +299,7 @@ pub mod service { } } pub mod list_queues_segment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -323,7 +323,7 @@ pub mod service { } } pub mod queue { - use crate::models::*; + use super::{models, models::*}; pub async fn create( operation_config: &crate::OperationConfig, queue_name: &str, @@ -373,7 +373,7 @@ pub mod queue { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Created201, @@ -444,7 +444,7 @@ pub mod queue { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -515,7 +515,7 @@ pub mod queue { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -590,7 +590,7 @@ pub mod queue { } } pub mod set_metadata { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -666,7 +666,7 @@ pub mod queue { } } pub mod get_access_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -743,7 +743,7 @@ pub mod queue { } } pub mod set_access_policy { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -767,7 +767,7 @@ pub mod queue { } } pub mod messages { - use crate::models::*; + use super::{models, models::*}; pub async fn dequeue( operation_config: &crate::OperationConfig, queue_name: &str, @@ -830,7 +830,7 @@ pub mod messages { } } pub mod dequeue { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -915,7 +915,7 @@ pub mod messages { } } pub mod enqueue { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -981,7 +981,7 @@ pub mod messages { } } pub mod clear { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1059,7 +1059,7 @@ pub mod messages { } } pub mod peek { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1083,7 +1083,7 @@ pub mod messages { } } pub mod message_id { - use crate::models::*; + use super::{models, models::*}; pub async fn update( operation_config: &crate::OperationConfig, queue_name: &str, @@ -1140,7 +1140,7 @@ pub mod message_id { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1209,7 +1209,7 @@ pub mod message_id { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/storagedatalake/Cargo.toml b/services/svc/storagedatalake/Cargo.toml index c8680bc488..7b8447fa48 100644 --- a/services/svc/storagedatalake/Cargo.toml +++ b/services/svc/storagedatalake/Cargo.toml @@ -20,5 +20,6 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2020-06"] +no-default-version = [] "package-2020-06" = [] "package-2020-10" = [] diff --git a/services/svc/storagedatalake/src/lib.rs b/services/svc/storagedatalake/src/lib.rs index bfb09570ba..8105fddbf3 100644 --- a/services/svc/storagedatalake/src/lib.rs +++ b/services/svc/storagedatalake/src/lib.rs @@ -1,13 +1,21 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2020-06")] -mod package_2020_06; -#[cfg(feature = "package-2020-06")] +pub mod package_2020_06; +#[cfg(all(feature = "package-2020-06", not(feature = "no-default-version")))] pub use package_2020_06::{models, operations, API_VERSION}; #[cfg(feature = "package-2020-10")] -mod package_2020_10; +pub mod package_2020_10; use azure_core::setters; -#[cfg(feature = "package-2020-10")] +#[cfg(all(feature = "package-2020-10", not(feature = "no-default-version")))] pub use package_2020_10::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -31,7 +39,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/svc/storagedatalake/src/package_2020_06/operations.rs b/services/svc/storagedatalake/src/package_2020_06/operations.rs index d77d6cab46..ad045ad2d8 100644 --- a/services/svc/storagedatalake/src/package_2020_06/operations.rs +++ b/services/svc/storagedatalake/src/package_2020_06/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod service { - use crate::models::*; + use super::{models, models::*}; pub async fn list_file_systems( operation_config: &crate::OperationConfig, resource: &str, @@ -70,7 +70,7 @@ pub mod service { } } pub mod list_file_systems { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -94,7 +94,7 @@ pub mod service { } } pub mod file_system { - use crate::models::*; + use super::{models, models::*}; pub async fn create( operation_config: &crate::OperationConfig, filesystem: &str, @@ -145,7 +145,7 @@ pub mod file_system { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -228,7 +228,7 @@ pub mod file_system { } } pub mod set_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -304,7 +304,7 @@ pub mod file_system { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -375,7 +375,7 @@ pub mod file_system { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -469,7 +469,7 @@ pub mod file_system { } } pub mod list_paths { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -574,7 +574,7 @@ pub mod file_system { } } pub mod list_blob_hierarchy_segment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -598,7 +598,7 @@ pub mod file_system { } } pub mod path { - use crate::models::*; + use super::{models, models::*}; pub async fn read( operation_config: &crate::OperationConfig, filesystem: &str, @@ -683,7 +683,7 @@ pub mod path { } } pub mod read { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -792,7 +792,7 @@ pub mod path { } } pub mod lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -953,7 +953,7 @@ pub mod path { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1125,7 +1125,7 @@ pub mod path { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SetAccessControlRecursiveResponse), @@ -1225,7 +1225,7 @@ pub mod path { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1323,7 +1323,7 @@ pub mod path { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1431,7 +1431,7 @@ pub mod path { } } pub mod set_access_control { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1533,7 +1533,7 @@ pub mod path { } } pub mod set_access_control_recursive { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1666,7 +1666,7 @@ pub mod path { } } pub mod flush_data { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1760,7 +1760,7 @@ pub mod path { } } pub mod append_data { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1838,7 +1838,7 @@ pub mod path { } } pub mod set_expiry { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1914,7 +1914,7 @@ pub mod path { } } pub mod undelete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/storagedatalake/src/package_2020_10/operations.rs b/services/svc/storagedatalake/src/package_2020_10/operations.rs index d77d6cab46..ad045ad2d8 100644 --- a/services/svc/storagedatalake/src/package_2020_10/operations.rs +++ b/services/svc/storagedatalake/src/package_2020_10/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod service { - use crate::models::*; + use super::{models, models::*}; pub async fn list_file_systems( operation_config: &crate::OperationConfig, resource: &str, @@ -70,7 +70,7 @@ pub mod service { } } pub mod list_file_systems { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -94,7 +94,7 @@ pub mod service { } } pub mod file_system { - use crate::models::*; + use super::{models, models::*}; pub async fn create( operation_config: &crate::OperationConfig, filesystem: &str, @@ -145,7 +145,7 @@ pub mod file_system { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -228,7 +228,7 @@ pub mod file_system { } } pub mod set_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -304,7 +304,7 @@ pub mod file_system { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -375,7 +375,7 @@ pub mod file_system { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -469,7 +469,7 @@ pub mod file_system { } } pub mod list_paths { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -574,7 +574,7 @@ pub mod file_system { } } pub mod list_blob_hierarchy_segment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -598,7 +598,7 @@ pub mod file_system { } } pub mod path { - use crate::models::*; + use super::{models, models::*}; pub async fn read( operation_config: &crate::OperationConfig, filesystem: &str, @@ -683,7 +683,7 @@ pub mod path { } } pub mod read { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(serde_json::Value), @@ -792,7 +792,7 @@ pub mod path { } } pub mod lease { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -953,7 +953,7 @@ pub mod path { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1125,7 +1125,7 @@ pub mod path { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SetAccessControlRecursiveResponse), @@ -1225,7 +1225,7 @@ pub mod path { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1323,7 +1323,7 @@ pub mod path { } } pub mod get_properties { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1431,7 +1431,7 @@ pub mod path { } } pub mod set_access_control { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1533,7 +1533,7 @@ pub mod path { } } pub mod set_access_control_recursive { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1666,7 +1666,7 @@ pub mod path { } } pub mod flush_data { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1760,7 +1760,7 @@ pub mod path { } } pub mod append_data { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1838,7 +1838,7 @@ pub mod path { } } pub mod set_expiry { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1914,7 +1914,7 @@ pub mod path { } } pub mod undelete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/synapse/Cargo.toml b/services/svc/synapse/Cargo.toml index 706f969896..ef316c9a69 100644 --- a/services/svc/synapse/Cargo.toml +++ b/services/svc/synapse/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-artifacts-composite-v1"] +no-default-version = [] "package-metadata-2021-07-01-preview" = [] "package-artifacts-composite-v1" = [] "package-artifacts-2021-06-01-preview" = [] diff --git a/services/svc/synapse/src/lib.rs b/services/svc/synapse/src/lib.rs index a2892ea3e2..31d53e088d 100644 --- a/services/svc/synapse/src/lib.rs +++ b/services/svc/synapse/src/lib.rs @@ -1,69 +1,77 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-metadata-2021-07-01-preview")] -mod package_metadata_2021_07_01_preview; -#[cfg(feature = "package-metadata-2021-07-01-preview")] +pub mod package_metadata_2021_07_01_preview; +#[cfg(all(feature = "package-metadata-2021-07-01-preview", not(feature = "no-default-version")))] pub use package_metadata_2021_07_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-artifacts-composite-v1")] -mod package_artifacts_composite_v1; -#[cfg(feature = "package-artifacts-composite-v1")] +pub mod package_artifacts_composite_v1; +#[cfg(all(feature = "package-artifacts-composite-v1", not(feature = "no-default-version")))] pub use package_artifacts_composite_v1::{models, operations, API_VERSION}; #[cfg(feature = "package-artifacts-2021-06-01-preview")] -mod package_artifacts_2021_06_01_preview; -#[cfg(feature = "package-artifacts-2021-06-01-preview")] +pub mod package_artifacts_2021_06_01_preview; +#[cfg(all(feature = "package-artifacts-2021-06-01-preview", not(feature = "no-default-version")))] pub use package_artifacts_2021_06_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-vnet-2021-06-01-preview")] -mod package_vnet_2021_06_01_preview; -#[cfg(feature = "package-vnet-2021-06-01-preview")] +pub mod package_vnet_2021_06_01_preview; +#[cfg(all(feature = "package-vnet-2021-06-01-preview", not(feature = "no-default-version")))] pub use package_vnet_2021_06_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-kql-script-2021-06-preview")] -mod package_kql_script_2021_06_preview; -#[cfg(feature = "package-kql-script-2021-06-preview")] +pub mod package_kql_script_2021_06_preview; +#[cfg(all(feature = "package-kql-script-2021-06-preview", not(feature = "no-default-version")))] pub use package_kql_script_2021_06_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-artifacts-2020-12-01")] -mod package_artifacts_2020_12_01; -#[cfg(feature = "package-artifacts-2020-12-01")] +pub mod package_artifacts_2020_12_01; +#[cfg(all(feature = "package-artifacts-2020-12-01", not(feature = "no-default-version")))] pub use package_artifacts_2020_12_01::{models, operations, API_VERSION}; #[cfg(feature = "package-monitoring-2020-12-01")] -mod package_monitoring_2020_12_01; -#[cfg(feature = "package-monitoring-2020-12-01")] +pub mod package_monitoring_2020_12_01; +#[cfg(all(feature = "package-monitoring-2020-12-01", not(feature = "no-default-version")))] pub use package_monitoring_2020_12_01::{models, operations, API_VERSION}; #[cfg(feature = "package-access-control-2020-12-01")] -mod package_access_control_2020_12_01; -#[cfg(feature = "package-access-control-2020-12-01")] +pub mod package_access_control_2020_12_01; +#[cfg(all(feature = "package-access-control-2020-12-01", not(feature = "no-default-version")))] pub use package_access_control_2020_12_01::{models, operations, API_VERSION}; #[cfg(feature = "package-vnet-2020-12-01")] -mod package_vnet_2020_12_01; -#[cfg(feature = "package-vnet-2020-12-01")] +pub mod package_vnet_2020_12_01; +#[cfg(all(feature = "package-vnet-2020-12-01", not(feature = "no-default-version")))] pub use package_vnet_2020_12_01::{models, operations, API_VERSION}; #[cfg(feature = "package-spark-2020-12-01")] -mod package_spark_2020_12_01; -#[cfg(feature = "package-spark-2020-12-01")] +pub mod package_spark_2020_12_01; +#[cfg(all(feature = "package-spark-2020-12-01", not(feature = "no-default-version")))] pub use package_spark_2020_12_01::{models, operations, API_VERSION}; #[cfg(feature = "package-spark-2019-11-01-preview")] -mod package_spark_2019_11_01_preview; -#[cfg(feature = "package-spark-2019-11-01-preview")] +pub mod package_spark_2019_11_01_preview; +#[cfg(all(feature = "package-spark-2019-11-01-preview", not(feature = "no-default-version")))] pub use package_spark_2019_11_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-artifacts-2019-06-01-preview")] -mod package_artifacts_2019_06_01_preview; -#[cfg(feature = "package-artifacts-2019-06-01-preview")] +pub mod package_artifacts_2019_06_01_preview; +#[cfg(all(feature = "package-artifacts-2019-06-01-preview", not(feature = "no-default-version")))] pub use package_artifacts_2019_06_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-access-control-2020-02-01-preview")] -mod package_access_control_2020_02_01_preview; -#[cfg(feature = "package-access-control-2020-02-01-preview")] +pub mod package_access_control_2020_02_01_preview; +#[cfg(all(feature = "package-access-control-2020-02-01-preview", not(feature = "no-default-version")))] pub use package_access_control_2020_02_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-access-control-2020-08-01-preview")] -mod package_access_control_2020_08_01_preview; -#[cfg(feature = "package-access-control-2020-08-01-preview")] +pub mod package_access_control_2020_08_01_preview; +#[cfg(all(feature = "package-access-control-2020-08-01-preview", not(feature = "no-default-version")))] pub use package_access_control_2020_08_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-vnet-2019-06-01-preview")] -mod package_vnet_2019_06_01_preview; -#[cfg(feature = "package-vnet-2019-06-01-preview")] +pub mod package_vnet_2019_06_01_preview; +#[cfg(all(feature = "package-vnet-2019-06-01-preview", not(feature = "no-default-version")))] pub use package_vnet_2019_06_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-monitoring-2019-11-01-preview")] -mod package_monitoring_2019_11_01_preview; +pub mod package_monitoring_2019_11_01_preview; use azure_core::setters; -#[cfg(feature = "package-monitoring-2019-11-01-preview")] +#[cfg(all(feature = "package-monitoring-2019-11-01-preview", not(feature = "no-default-version")))] pub use package_monitoring_2019_11_01_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -87,7 +95,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/svc/synapse/src/package_access_control_2020_02_01_preview/operations.rs b/services/svc/synapse/src/package_access_control_2020_02_01_preview/operations.rs index d123becaee..d27c66e259 100644 --- a/services/svc/synapse/src/package_access_control_2020_02_01_preview/operations.rs +++ b/services/svc/synapse/src/package_access_control_2020_02_01_preview/operations.rs @@ -2,7 +2,7 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub async fn get_role_definitions( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -45,7 +45,7 @@ pub async fn get_role_definitions( } } pub mod get_role_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -112,7 +112,7 @@ pub async fn get_role_definition_by_id( } } pub mod get_role_definition_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -188,7 +188,7 @@ pub async fn get_role_assignments( } } pub mod get_role_assignments { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -256,7 +256,7 @@ pub async fn create_role_assignment( } } pub mod create_role_assignment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -323,7 +323,7 @@ pub async fn get_role_assignment_by_id( } } pub mod get_role_assignment_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -386,7 +386,7 @@ pub async fn delete_role_assignment_by_id( } } pub mod delete_role_assignment_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -458,7 +458,7 @@ pub async fn get_caller_role_assignments( } } pub mod get_caller_role_assignments { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/synapse/src/package_access_control_2020_08_01_preview/operations.rs b/services/svc/synapse/src/package_access_control_2020_08_01_preview/operations.rs index 64fdd7dab2..01b10f313f 100644 --- a/services/svc/synapse/src/package_access_control_2020_08_01_preview/operations.rs +++ b/services/svc/synapse/src/package_access_control_2020_08_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod role_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn check_principal_access( operation_config: &crate::OperationConfig, request: &CheckPrincipalAccessRequest, @@ -51,7 +51,7 @@ pub mod role_assignments { } } pub mod check_principal_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -133,7 +133,7 @@ pub mod role_assignments { } } pub mod list_role_assignments { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -200,7 +200,7 @@ pub mod role_assignments { } } pub mod get_role_assignment_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -269,7 +269,7 @@ pub mod role_assignments { } } pub mod create_role_assignment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -336,7 +336,7 @@ pub mod role_assignments { } } pub mod delete_role_assignment_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -365,7 +365,7 @@ pub mod role_assignments { } } pub mod role_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_role_definitions( operation_config: &crate::OperationConfig, is_built_in: Option, @@ -418,7 +418,7 @@ pub mod role_definitions { } } pub mod list_role_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -485,7 +485,7 @@ pub mod role_definitions { } } pub mod get_role_definition_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -547,7 +547,7 @@ pub mod role_definitions { } } pub mod list_scopes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/synapse/src/package_access_control_2020_12_01/models.rs b/services/svc/synapse/src/package_access_control_2020_12_01/models.rs index 1c8d4a1ea8..70c66015ed 100644 --- a/services/svc/synapse/src/package_access_control_2020_12_01/models.rs +++ b/services/svc/synapse/src/package_access_control_2020_12_01/models.rs @@ -16,7 +16,7 @@ pub struct RequiredAction { } #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CheckPrincipalAccessResponse { - #[serde(rename = "accessDecisions", default, skip_serializing_if = "Vec::is_empty")] + #[serde(rename = "AccessDecisions", default, skip_serializing_if = "Vec::is_empty")] pub access_decisions: Vec, } #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] diff --git a/services/svc/synapse/src/package_access_control_2020_12_01/operations.rs b/services/svc/synapse/src/package_access_control_2020_12_01/operations.rs index 64fdd7dab2..01b10f313f 100644 --- a/services/svc/synapse/src/package_access_control_2020_12_01/operations.rs +++ b/services/svc/synapse/src/package_access_control_2020_12_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod role_assignments { - use crate::models::*; + use super::{models, models::*}; pub async fn check_principal_access( operation_config: &crate::OperationConfig, request: &CheckPrincipalAccessRequest, @@ -51,7 +51,7 @@ pub mod role_assignments { } } pub mod check_principal_access { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -133,7 +133,7 @@ pub mod role_assignments { } } pub mod list_role_assignments { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -200,7 +200,7 @@ pub mod role_assignments { } } pub mod get_role_assignment_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -269,7 +269,7 @@ pub mod role_assignments { } } pub mod create_role_assignment { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -336,7 +336,7 @@ pub mod role_assignments { } } pub mod delete_role_assignment_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -365,7 +365,7 @@ pub mod role_assignments { } } pub mod role_definitions { - use crate::models::*; + use super::{models, models::*}; pub async fn list_role_definitions( operation_config: &crate::OperationConfig, is_built_in: Option, @@ -418,7 +418,7 @@ pub mod role_definitions { } } pub mod list_role_definitions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -485,7 +485,7 @@ pub mod role_definitions { } } pub mod get_role_definition_by_id { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -547,7 +547,7 @@ pub mod role_definitions { } } pub mod list_scopes { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/synapse/src/package_artifacts_2019_06_01_preview/operations.rs b/services/svc/synapse/src/package_artifacts_2019_06_01_preview/operations.rs index 3f33535534..300e035ce0 100644 --- a/services/svc/synapse/src/package_artifacts_2019_06_01_preview/operations.rs +++ b/services/svc/synapse/src/package_artifacts_2019_06_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod linked_service { - use crate::models::*; + use super::{models, models::*}; pub async fn get_linked_services_by_workspace( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -49,7 +49,7 @@ pub mod linked_service { } } pub mod get_linked_services_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -119,7 +119,7 @@ pub mod linked_service { } } pub mod get_linked_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -195,7 +195,7 @@ pub mod linked_service { } } pub mod create_or_update_linked_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LinkedServiceResource), @@ -264,7 +264,7 @@ pub mod linked_service { } } pub mod delete_linked_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -335,7 +335,7 @@ pub mod linked_service { } } pub mod rename_linked_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -364,7 +364,7 @@ pub mod linked_service { } } pub mod dataset { - use crate::models::*; + use super::{models, models::*}; pub async fn get_datasets_by_workspace( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -409,7 +409,7 @@ pub mod dataset { } } pub mod get_datasets_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -479,7 +479,7 @@ pub mod dataset { } } pub mod get_dataset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -555,7 +555,7 @@ pub mod dataset { } } pub mod create_or_update_dataset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatasetResource), @@ -622,7 +622,7 @@ pub mod dataset { } } pub mod delete_dataset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -691,7 +691,7 @@ pub mod dataset { } } pub mod rename_dataset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -720,7 +720,7 @@ pub mod dataset { } } pub mod pipeline { - use crate::models::*; + use super::{models, models::*}; pub async fn get_pipelines_by_workspace( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -765,7 +765,7 @@ pub mod pipeline { } } pub mod get_pipelines_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -835,7 +835,7 @@ pub mod pipeline { } } pub mod get_pipeline { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -911,7 +911,7 @@ pub mod pipeline { } } pub mod create_or_update_pipeline { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PipelineResource), @@ -978,7 +978,7 @@ pub mod pipeline { } } pub mod delete_pipeline { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1047,7 +1047,7 @@ pub mod pipeline { } } pub mod rename_pipeline { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1136,7 +1136,7 @@ pub mod pipeline { } } pub mod create_pipeline_run { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1160,7 +1160,7 @@ pub mod pipeline { } } pub mod pipeline_run { - use crate::models::*; + use super::{models, models::*}; pub async fn query_pipeline_runs_by_workspace( operation_config: &crate::OperationConfig, filter_parameters: &RunFilterParameters, @@ -1207,7 +1207,7 @@ pub mod pipeline_run { } } pub mod query_pipeline_runs_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1272,7 +1272,7 @@ pub mod pipeline_run { } } pub mod get_pipeline_run { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1345,7 +1345,7 @@ pub mod pipeline_run { } } pub mod query_activity_runs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1410,7 +1410,7 @@ pub mod pipeline_run { } } pub mod cancel_pipeline_run { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1434,7 +1434,7 @@ pub mod pipeline_run { } } pub mod trigger { - use crate::models::*; + use super::{models, models::*}; pub async fn get_triggers_by_workspace( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -1479,7 +1479,7 @@ pub mod trigger { } } pub mod get_triggers_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1549,7 +1549,7 @@ pub mod trigger { } } pub mod get_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1625,7 +1625,7 @@ pub mod trigger { } } pub mod create_or_update_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TriggerResource), @@ -1692,7 +1692,7 @@ pub mod trigger { } } pub mod delete_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1767,7 +1767,7 @@ pub mod trigger { } } pub mod subscribe_trigger_to_events { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TriggerSubscriptionOperationStatus), @@ -1844,7 +1844,7 @@ pub mod trigger { } } pub mod get_event_subscription_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1913,7 +1913,7 @@ pub mod trigger { } } pub mod unsubscribe_trigger_from_events { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TriggerSubscriptionOperationStatus), @@ -1979,7 +1979,7 @@ pub mod trigger { } } pub mod start_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2040,7 +2040,7 @@ pub mod trigger { } } pub mod stop_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2064,7 +2064,7 @@ pub mod trigger { } } pub mod trigger_run { - use crate::models::*; + use super::{models, models::*}; pub async fn rerun_trigger_instance( operation_config: &crate::OperationConfig, trigger_name: &str, @@ -2112,7 +2112,7 @@ pub mod trigger_run { } } pub mod rerun_trigger_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2181,7 +2181,7 @@ pub mod trigger_run { } } pub mod cancel_trigger_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2249,7 +2249,7 @@ pub mod trigger_run { } } pub mod query_trigger_runs_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2273,7 +2273,7 @@ pub mod trigger_run { } } pub mod data_flow { - use crate::models::*; + use super::{models, models::*}; pub async fn get_data_flow( operation_config: &crate::OperationConfig, data_flow_name: &str, @@ -2321,7 +2321,7 @@ pub mod data_flow { } } pub mod get_data_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2395,7 +2395,7 @@ pub mod data_flow { } } pub mod create_or_update_data_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataFlowResource), @@ -2462,7 +2462,7 @@ pub mod data_flow { } } pub mod delete_data_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2531,7 +2531,7 @@ pub mod data_flow { } } pub mod rename_data_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2602,7 +2602,7 @@ pub mod data_flow { } } pub mod get_data_flows_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2626,7 +2626,7 @@ pub mod data_flow { } } pub mod data_flow_debug_session { - use crate::models::*; + use super::{models, models::*}; pub async fn create_data_flow_debug_session( operation_config: &crate::OperationConfig, request: &CreateDataFlowDebugSessionRequest, @@ -2674,7 +2674,7 @@ pub mod data_flow_debug_session { } } pub mod create_data_flow_debug_session { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2746,7 +2746,7 @@ pub mod data_flow_debug_session { } } pub mod query_data_flow_debug_sessions_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2812,7 +2812,7 @@ pub mod data_flow_debug_session { } } pub mod add_data_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2875,7 +2875,7 @@ pub mod data_flow_debug_session { } } pub mod delete_data_flow_debug_session { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2942,7 +2942,7 @@ pub mod data_flow_debug_session { } } pub mod execute_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -2971,7 +2971,7 @@ pub mod data_flow_debug_session { } } pub mod sql_script { - use crate::models::*; + use super::{models, models::*}; pub async fn get_sql_scripts_by_workspace( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -3016,7 +3016,7 @@ pub mod sql_script { } } pub mod get_sql_scripts_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3086,7 +3086,7 @@ pub mod sql_script { } } pub mod get_sql_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -3162,7 +3162,7 @@ pub mod sql_script { } } pub mod create_or_update_sql_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlScriptResource), @@ -3229,7 +3229,7 @@ pub mod sql_script { } } pub mod delete_sql_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3298,7 +3298,7 @@ pub mod sql_script { } } pub mod rename_sql_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3327,7 +3327,7 @@ pub mod sql_script { } } pub mod spark_job_definition { - use crate::models::*; + use super::{models, models::*}; pub async fn get_spark_job_definitions_by_workspace( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -3372,7 +3372,7 @@ pub mod spark_job_definition { } } pub mod get_spark_job_definitions_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3444,7 +3444,7 @@ pub mod spark_job_definition { } } pub mod get_spark_job_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -3520,7 +3520,7 @@ pub mod spark_job_definition { } } pub mod create_or_update_spark_job_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SparkJobDefinitionResource), @@ -3589,7 +3589,7 @@ pub mod spark_job_definition { } } pub mod delete_spark_job_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3673,7 +3673,7 @@ pub mod spark_job_definition { } } pub mod execute_spark_job_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(SparkBatchJob), @@ -3747,7 +3747,7 @@ pub mod spark_job_definition { } } pub mod rename_spark_job_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3827,7 +3827,7 @@ pub mod spark_job_definition { } } pub mod debug_spark_job_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(SparkBatchJob), @@ -3856,7 +3856,7 @@ pub mod spark_job_definition { } } pub mod notebook { - use crate::models::*; + use super::{models, models::*}; pub async fn get_notebooks_by_workspace( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -3901,7 +3901,7 @@ pub mod notebook { } } pub mod get_notebooks_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3967,7 +3967,7 @@ pub mod notebook { } } pub mod get_notebook_summary_by_work_space { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4037,7 +4037,7 @@ pub mod notebook { } } pub mod get_notebook { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -4113,7 +4113,7 @@ pub mod notebook { } } pub mod create_or_update_notebook { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NotebookResource), @@ -4180,7 +4180,7 @@ pub mod notebook { } } pub mod delete_notebook { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4249,7 +4249,7 @@ pub mod notebook { } } pub mod rename_notebook { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4278,7 +4278,7 @@ pub mod notebook { } } pub mod workspace { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/workspace", operation_config.base_path(),); @@ -4316,7 +4316,7 @@ pub mod workspace { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4340,7 +4340,7 @@ pub mod workspace { } } pub mod sql_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/sqlPools", operation_config.base_path(),); @@ -4378,7 +4378,7 @@ pub mod sql_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4437,7 +4437,7 @@ pub mod sql_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4461,7 +4461,7 @@ pub mod sql_pools { } } pub mod big_data_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/bigDataPools", operation_config.base_path(),); @@ -4499,7 +4499,7 @@ pub mod big_data_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4561,7 +4561,7 @@ pub mod big_data_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4585,7 +4585,7 @@ pub mod big_data_pools { } } pub mod integration_runtimes { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/integrationRuntimes", operation_config.base_path(),); @@ -4623,7 +4623,7 @@ pub mod integration_runtimes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4685,7 +4685,7 @@ pub mod integration_runtimes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4709,7 +4709,7 @@ pub mod integration_runtimes { } } pub mod library { - use crate::models::*; + use super::{models, models::*}; pub async fn append( operation_config: &crate::OperationConfig, comp: &str, @@ -4753,7 +4753,7 @@ pub mod library { } } pub mod append { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4777,7 +4777,7 @@ pub mod library { } } pub mod workspace_git_repo_management { - use crate::models::*; + use super::{models, models::*}; pub async fn get_git_hub_access_token( operation_config: &crate::OperationConfig, x_ms_client_request_id: Option<&str>, @@ -4826,7 +4826,7 @@ pub mod workspace_git_repo_management { } } pub mod get_git_hub_access_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/svc/synapse/src/package_artifacts_2020_12_01/operations.rs b/services/svc/synapse/src/package_artifacts_2020_12_01/operations.rs index 2d3aa225d3..da73d5b760 100644 --- a/services/svc/synapse/src/package_artifacts_2020_12_01/operations.rs +++ b/services/svc/synapse/src/package_artifacts_2020_12_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod big_data_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/bigDataPools", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod big_data_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -104,7 +104,7 @@ pub mod big_data_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -128,7 +128,7 @@ pub mod big_data_pools { } } pub mod data_flow { - use crate::models::*; + use super::{models, models::*}; pub async fn get_data_flow( operation_config: &crate::OperationConfig, data_flow_name: &str, @@ -176,7 +176,7 @@ pub mod data_flow { } } pub mod get_data_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -250,7 +250,7 @@ pub mod data_flow { } } pub mod create_or_update_data_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataFlowResource), @@ -317,7 +317,7 @@ pub mod data_flow { } } pub mod delete_data_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -386,7 +386,7 @@ pub mod data_flow { } } pub mod rename_data_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -457,7 +457,7 @@ pub mod data_flow { } } pub mod get_data_flows_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -481,7 +481,7 @@ pub mod data_flow { } } pub mod data_flow_debug_session { - use crate::models::*; + use super::{models, models::*}; pub async fn create_data_flow_debug_session( operation_config: &crate::OperationConfig, request: &CreateDataFlowDebugSessionRequest, @@ -529,7 +529,7 @@ pub mod data_flow_debug_session { } } pub mod create_data_flow_debug_session { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -601,7 +601,7 @@ pub mod data_flow_debug_session { } } pub mod query_data_flow_debug_sessions_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -667,7 +667,7 @@ pub mod data_flow_debug_session { } } pub mod add_data_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -730,7 +730,7 @@ pub mod data_flow_debug_session { } } pub mod delete_data_flow_debug_session { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -797,7 +797,7 @@ pub mod data_flow_debug_session { } } pub mod execute_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -826,7 +826,7 @@ pub mod data_flow_debug_session { } } pub mod dataset { - use crate::models::*; + use super::{models, models::*}; pub async fn get_datasets_by_workspace( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -871,7 +871,7 @@ pub mod dataset { } } pub mod get_datasets_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -941,7 +941,7 @@ pub mod dataset { } } pub mod get_dataset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1017,7 +1017,7 @@ pub mod dataset { } } pub mod create_or_update_dataset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatasetResource), @@ -1084,7 +1084,7 @@ pub mod dataset { } } pub mod delete_dataset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1153,7 +1153,7 @@ pub mod dataset { } } pub mod rename_dataset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1182,7 +1182,7 @@ pub mod dataset { } } pub mod linked_service { - use crate::models::*; + use super::{models, models::*}; pub async fn get_linked_services_by_workspace( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -1227,7 +1227,7 @@ pub mod linked_service { } } pub mod get_linked_services_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1297,7 +1297,7 @@ pub mod linked_service { } } pub mod get_linked_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1373,7 +1373,7 @@ pub mod linked_service { } } pub mod create_or_update_linked_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LinkedServiceResource), @@ -1442,7 +1442,7 @@ pub mod linked_service { } } pub mod delete_linked_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1513,7 +1513,7 @@ pub mod linked_service { } } pub mod rename_linked_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1542,7 +1542,7 @@ pub mod linked_service { } } pub mod workspace_git_repo_management { - use crate::models::*; + use super::{models, models::*}; pub async fn get_git_hub_access_token( operation_config: &crate::OperationConfig, x_ms_client_request_id: Option<&str>, @@ -1591,7 +1591,7 @@ pub mod workspace_git_repo_management { } } pub mod get_git_hub_access_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1612,7 +1612,7 @@ pub mod workspace_git_repo_management { } } pub mod integration_runtimes { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/integrationRuntimes", operation_config.base_path(),); @@ -1650,7 +1650,7 @@ pub mod integration_runtimes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1712,7 +1712,7 @@ pub mod integration_runtimes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1736,7 +1736,7 @@ pub mod integration_runtimes { } } pub mod library { - use crate::models::*; + use super::{models, models::*}; pub async fn append( operation_config: &crate::OperationConfig, comp: &str, @@ -1780,7 +1780,7 @@ pub mod library { } } pub mod append { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1804,7 +1804,7 @@ pub mod library { } } pub mod notebook { - use crate::models::*; + use super::{models, models::*}; pub async fn get_notebooks_by_workspace( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -1849,7 +1849,7 @@ pub mod notebook { } } pub mod get_notebooks_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1915,7 +1915,7 @@ pub mod notebook { } } pub mod get_notebook_summary_by_work_space { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1985,7 +1985,7 @@ pub mod notebook { } } pub mod get_notebook { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2061,7 +2061,7 @@ pub mod notebook { } } pub mod create_or_update_notebook { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NotebookResource), @@ -2128,7 +2128,7 @@ pub mod notebook { } } pub mod delete_notebook { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2197,7 +2197,7 @@ pub mod notebook { } } pub mod rename_notebook { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2226,7 +2226,7 @@ pub mod notebook { } } pub mod notebook_operation_result { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig, operation_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/notebookOperationResults/{}", operation_config.base_path(), operation_id); @@ -2262,7 +2262,7 @@ pub mod notebook_operation_result { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2293,7 +2293,7 @@ pub mod notebook_operation_result { } } pub mod operation_result { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig, operation_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/operationResults/{}", operation_config.base_path(), operation_id); @@ -2329,7 +2329,7 @@ pub mod operation_result { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2360,7 +2360,7 @@ pub mod operation_result { } } pub mod operation_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig, operation_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/operationStatuses/{}", operation_config.base_path(), operation_id); @@ -2396,7 +2396,7 @@ pub mod operation_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2427,7 +2427,7 @@ pub mod operation_status { } } pub mod pipeline { - use crate::models::*; + use super::{models, models::*}; pub async fn get_pipelines_by_workspace( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -2472,7 +2472,7 @@ pub mod pipeline { } } pub mod get_pipelines_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2542,7 +2542,7 @@ pub mod pipeline { } } pub mod get_pipeline { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2618,7 +2618,7 @@ pub mod pipeline { } } pub mod create_or_update_pipeline { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PipelineResource), @@ -2685,7 +2685,7 @@ pub mod pipeline { } } pub mod delete_pipeline { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2754,7 +2754,7 @@ pub mod pipeline { } } pub mod rename_pipeline { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2843,7 +2843,7 @@ pub mod pipeline { } } pub mod create_pipeline_run { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2867,7 +2867,7 @@ pub mod pipeline { } } pub mod pipeline_run { - use crate::models::*; + use super::{models, models::*}; pub async fn query_pipeline_runs_by_workspace( operation_config: &crate::OperationConfig, filter_parameters: &RunFilterParameters, @@ -2914,7 +2914,7 @@ pub mod pipeline_run { } } pub mod query_pipeline_runs_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2979,7 +2979,7 @@ pub mod pipeline_run { } } pub mod get_pipeline_run { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3052,7 +3052,7 @@ pub mod pipeline_run { } } pub mod query_activity_runs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3117,7 +3117,7 @@ pub mod pipeline_run { } } pub mod cancel_pipeline_run { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3141,7 +3141,7 @@ pub mod pipeline_run { } } pub mod spark_job_definition { - use crate::models::*; + use super::{models, models::*}; pub async fn get_spark_job_definitions_by_workspace( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -3186,7 +3186,7 @@ pub mod spark_job_definition { } } pub mod get_spark_job_definitions_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3258,7 +3258,7 @@ pub mod spark_job_definition { } } pub mod get_spark_job_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -3334,7 +3334,7 @@ pub mod spark_job_definition { } } pub mod create_or_update_spark_job_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SparkJobDefinitionResource), @@ -3403,7 +3403,7 @@ pub mod spark_job_definition { } } pub mod delete_spark_job_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3487,7 +3487,7 @@ pub mod spark_job_definition { } } pub mod execute_spark_job_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(SparkBatchJob), @@ -3561,7 +3561,7 @@ pub mod spark_job_definition { } } pub mod rename_spark_job_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3641,7 +3641,7 @@ pub mod spark_job_definition { } } pub mod debug_spark_job_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(SparkBatchJob), @@ -3670,7 +3670,7 @@ pub mod spark_job_definition { } } pub mod sql_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/sqlPools", operation_config.base_path(),); @@ -3708,7 +3708,7 @@ pub mod sql_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3767,7 +3767,7 @@ pub mod sql_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3791,7 +3791,7 @@ pub mod sql_pools { } } pub mod sql_script { - use crate::models::*; + use super::{models, models::*}; pub async fn get_sql_scripts_by_workspace( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -3836,7 +3836,7 @@ pub mod sql_script { } } pub mod get_sql_scripts_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3906,7 +3906,7 @@ pub mod sql_script { } } pub mod get_sql_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -3982,7 +3982,7 @@ pub mod sql_script { } } pub mod create_or_update_sql_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlScriptResource), @@ -4049,7 +4049,7 @@ pub mod sql_script { } } pub mod delete_sql_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4118,7 +4118,7 @@ pub mod sql_script { } } pub mod rename_sql_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4147,7 +4147,7 @@ pub mod sql_script { } } pub mod trigger { - use crate::models::*; + use super::{models, models::*}; pub async fn get_triggers_by_workspace( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -4192,7 +4192,7 @@ pub mod trigger { } } pub mod get_triggers_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4262,7 +4262,7 @@ pub mod trigger { } } pub mod get_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -4338,7 +4338,7 @@ pub mod trigger { } } pub mod create_or_update_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TriggerResource), @@ -4405,7 +4405,7 @@ pub mod trigger { } } pub mod delete_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4480,7 +4480,7 @@ pub mod trigger { } } pub mod subscribe_trigger_to_events { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TriggerSubscriptionOperationStatus), @@ -4557,7 +4557,7 @@ pub mod trigger { } } pub mod get_event_subscription_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4626,7 +4626,7 @@ pub mod trigger { } } pub mod unsubscribe_trigger_from_events { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TriggerSubscriptionOperationStatus), @@ -4692,7 +4692,7 @@ pub mod trigger { } } pub mod start_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4753,7 +4753,7 @@ pub mod trigger { } } pub mod stop_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4777,7 +4777,7 @@ pub mod trigger { } } pub mod trigger_run { - use crate::models::*; + use super::{models, models::*}; pub async fn rerun_trigger_instance( operation_config: &crate::OperationConfig, trigger_name: &str, @@ -4825,7 +4825,7 @@ pub mod trigger_run { } } pub mod rerun_trigger_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4894,7 +4894,7 @@ pub mod trigger_run { } } pub mod cancel_trigger_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4962,7 +4962,7 @@ pub mod trigger_run { } } pub mod query_trigger_runs_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4986,7 +4986,7 @@ pub mod trigger_run { } } pub mod workspace { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/workspace", operation_config.base_path(),); @@ -5024,7 +5024,7 @@ pub mod workspace { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/synapse/src/package_artifacts_2021_06_01_preview/operations.rs b/services/svc/synapse/src/package_artifacts_2021_06_01_preview/operations.rs index 59057125d3..54ca21519f 100644 --- a/services/svc/synapse/src/package_artifacts_2021_06_01_preview/operations.rs +++ b/services/svc/synapse/src/package_artifacts_2021_06_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod big_data_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/bigDataPools", operation_config.base_path(),); @@ -42,7 +42,7 @@ pub mod big_data_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -104,7 +104,7 @@ pub mod big_data_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -128,7 +128,7 @@ pub mod big_data_pools { } } pub mod data_flow { - use crate::models::*; + use super::{models, models::*}; pub async fn get_data_flow( operation_config: &crate::OperationConfig, data_flow_name: &str, @@ -176,7 +176,7 @@ pub mod data_flow { } } pub mod get_data_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -250,7 +250,7 @@ pub mod data_flow { } } pub mod create_or_update_data_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataFlowResource), @@ -317,7 +317,7 @@ pub mod data_flow { } } pub mod delete_data_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -386,7 +386,7 @@ pub mod data_flow { } } pub mod rename_data_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -457,7 +457,7 @@ pub mod data_flow { } } pub mod get_data_flows_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -481,7 +481,7 @@ pub mod data_flow { } } pub mod data_flow_debug_session { - use crate::models::*; + use super::{models, models::*}; pub async fn create_data_flow_debug_session( operation_config: &crate::OperationConfig, request: &CreateDataFlowDebugSessionRequest, @@ -529,7 +529,7 @@ pub mod data_flow_debug_session { } } pub mod create_data_flow_debug_session { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -601,7 +601,7 @@ pub mod data_flow_debug_session { } } pub mod query_data_flow_debug_sessions_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -667,7 +667,7 @@ pub mod data_flow_debug_session { } } pub mod add_data_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -730,7 +730,7 @@ pub mod data_flow_debug_session { } } pub mod delete_data_flow_debug_session { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -797,7 +797,7 @@ pub mod data_flow_debug_session { } } pub mod execute_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -826,7 +826,7 @@ pub mod data_flow_debug_session { } } pub mod dataset { - use crate::models::*; + use super::{models, models::*}; pub async fn get_datasets_by_workspace( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -871,7 +871,7 @@ pub mod dataset { } } pub mod get_datasets_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -941,7 +941,7 @@ pub mod dataset { } } pub mod get_dataset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1017,7 +1017,7 @@ pub mod dataset { } } pub mod create_or_update_dataset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatasetResource), @@ -1084,7 +1084,7 @@ pub mod dataset { } } pub mod delete_dataset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1153,7 +1153,7 @@ pub mod dataset { } } pub mod rename_dataset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1182,7 +1182,7 @@ pub mod dataset { } } pub mod linked_service { - use crate::models::*; + use super::{models, models::*}; pub async fn get_linked_services_by_workspace( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -1227,7 +1227,7 @@ pub mod linked_service { } } pub mod get_linked_services_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1297,7 +1297,7 @@ pub mod linked_service { } } pub mod get_linked_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1373,7 +1373,7 @@ pub mod linked_service { } } pub mod create_or_update_linked_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LinkedServiceResource), @@ -1442,7 +1442,7 @@ pub mod linked_service { } } pub mod delete_linked_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1513,7 +1513,7 @@ pub mod linked_service { } } pub mod rename_linked_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1542,7 +1542,7 @@ pub mod linked_service { } } pub mod workspace_git_repo_management { - use crate::models::*; + use super::{models, models::*}; pub async fn get_git_hub_access_token( operation_config: &crate::OperationConfig, x_ms_client_request_id: Option<&str>, @@ -1591,7 +1591,7 @@ pub mod workspace_git_repo_management { } } pub mod get_git_hub_access_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -1612,7 +1612,7 @@ pub mod workspace_git_repo_management { } } pub mod integration_runtimes { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/integrationRuntimes", operation_config.base_path(),); @@ -1650,7 +1650,7 @@ pub mod integration_runtimes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1712,7 +1712,7 @@ pub mod integration_runtimes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1736,7 +1736,7 @@ pub mod integration_runtimes { } } pub mod library { - use crate::models::*; + use super::{models, models::*}; pub async fn append( operation_config: &crate::OperationConfig, comp: &str, @@ -1780,7 +1780,7 @@ pub mod library { } } pub mod append { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1804,7 +1804,7 @@ pub mod library { } } pub mod notebook { - use crate::models::*; + use super::{models, models::*}; pub async fn get_notebooks_by_workspace( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -1849,7 +1849,7 @@ pub mod notebook { } } pub mod get_notebooks_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1915,7 +1915,7 @@ pub mod notebook { } } pub mod get_notebook_summary_by_work_space { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1985,7 +1985,7 @@ pub mod notebook { } } pub mod get_notebook { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2061,7 +2061,7 @@ pub mod notebook { } } pub mod create_or_update_notebook { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NotebookResource), @@ -2128,7 +2128,7 @@ pub mod notebook { } } pub mod delete_notebook { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2197,7 +2197,7 @@ pub mod notebook { } } pub mod rename_notebook { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2226,7 +2226,7 @@ pub mod notebook { } } pub mod notebook_operation_result { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig, operation_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/notebookOperationResults/{}", operation_config.base_path(), operation_id); @@ -2262,7 +2262,7 @@ pub mod notebook_operation_result { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2293,7 +2293,7 @@ pub mod notebook_operation_result { } } pub mod operation_result { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig, operation_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/operationResults/{}", operation_config.base_path(), operation_id); @@ -2329,7 +2329,7 @@ pub mod operation_result { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2360,7 +2360,7 @@ pub mod operation_result { } } pub mod operation_status { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig, operation_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/operationStatuses/{}", operation_config.base_path(), operation_id); @@ -2396,7 +2396,7 @@ pub mod operation_status { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2427,7 +2427,7 @@ pub mod operation_status { } } pub mod pipeline { - use crate::models::*; + use super::{models, models::*}; pub async fn get_pipelines_by_workspace( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -2472,7 +2472,7 @@ pub mod pipeline { } } pub mod get_pipelines_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2542,7 +2542,7 @@ pub mod pipeline { } } pub mod get_pipeline { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2618,7 +2618,7 @@ pub mod pipeline { } } pub mod create_or_update_pipeline { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PipelineResource), @@ -2685,7 +2685,7 @@ pub mod pipeline { } } pub mod delete_pipeline { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2754,7 +2754,7 @@ pub mod pipeline { } } pub mod rename_pipeline { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2843,7 +2843,7 @@ pub mod pipeline { } } pub mod create_pipeline_run { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2867,7 +2867,7 @@ pub mod pipeline { } } pub mod pipeline_run { - use crate::models::*; + use super::{models, models::*}; pub async fn query_pipeline_runs_by_workspace( operation_config: &crate::OperationConfig, filter_parameters: &RunFilterParameters, @@ -2914,7 +2914,7 @@ pub mod pipeline_run { } } pub mod query_pipeline_runs_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2979,7 +2979,7 @@ pub mod pipeline_run { } } pub mod get_pipeline_run { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3052,7 +3052,7 @@ pub mod pipeline_run { } } pub mod query_activity_runs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3117,7 +3117,7 @@ pub mod pipeline_run { } } pub mod cancel_pipeline_run { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3141,7 +3141,7 @@ pub mod pipeline_run { } } pub mod spark_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn get_spark_configurations_by_workspace( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -3186,7 +3186,7 @@ pub mod spark_configuration { } } pub mod get_spark_configurations_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3258,7 +3258,7 @@ pub mod spark_configuration { } } pub mod get_spark_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -3334,7 +3334,7 @@ pub mod spark_configuration { } } pub mod create_or_update_spark_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SparkConfigurationResource), @@ -3403,7 +3403,7 @@ pub mod spark_configuration { } } pub mod delete_spark_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3478,7 +3478,7 @@ pub mod spark_configuration { } } pub mod rename_spark_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3507,7 +3507,7 @@ pub mod spark_configuration { } } pub mod spark_job_definition { - use crate::models::*; + use super::{models, models::*}; pub async fn get_spark_job_definitions_by_workspace( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -3552,7 +3552,7 @@ pub mod spark_job_definition { } } pub mod get_spark_job_definitions_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3624,7 +3624,7 @@ pub mod spark_job_definition { } } pub mod get_spark_job_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -3700,7 +3700,7 @@ pub mod spark_job_definition { } } pub mod create_or_update_spark_job_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SparkJobDefinitionResource), @@ -3769,7 +3769,7 @@ pub mod spark_job_definition { } } pub mod delete_spark_job_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3853,7 +3853,7 @@ pub mod spark_job_definition { } } pub mod execute_spark_job_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(SparkBatchJob), @@ -3927,7 +3927,7 @@ pub mod spark_job_definition { } } pub mod rename_spark_job_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4007,7 +4007,7 @@ pub mod spark_job_definition { } } pub mod debug_spark_job_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(SparkBatchJob), @@ -4036,7 +4036,7 @@ pub mod spark_job_definition { } } pub mod sql_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/sqlPools", operation_config.base_path(),); @@ -4074,7 +4074,7 @@ pub mod sql_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4133,7 +4133,7 @@ pub mod sql_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4157,7 +4157,7 @@ pub mod sql_pools { } } pub mod sql_script { - use crate::models::*; + use super::{models, models::*}; pub async fn get_sql_scripts_by_workspace( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -4202,7 +4202,7 @@ pub mod sql_script { } } pub mod get_sql_scripts_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4272,7 +4272,7 @@ pub mod sql_script { } } pub mod get_sql_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -4348,7 +4348,7 @@ pub mod sql_script { } } pub mod create_or_update_sql_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlScriptResource), @@ -4415,7 +4415,7 @@ pub mod sql_script { } } pub mod delete_sql_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4484,7 +4484,7 @@ pub mod sql_script { } } pub mod rename_sql_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4513,7 +4513,7 @@ pub mod sql_script { } } pub mod trigger { - use crate::models::*; + use super::{models, models::*}; pub async fn get_triggers_by_workspace( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -4558,7 +4558,7 @@ pub mod trigger { } } pub mod get_triggers_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4628,7 +4628,7 @@ pub mod trigger { } } pub mod get_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -4704,7 +4704,7 @@ pub mod trigger { } } pub mod create_or_update_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TriggerResource), @@ -4771,7 +4771,7 @@ pub mod trigger { } } pub mod delete_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4846,7 +4846,7 @@ pub mod trigger { } } pub mod subscribe_trigger_to_events { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TriggerSubscriptionOperationStatus), @@ -4923,7 +4923,7 @@ pub mod trigger { } } pub mod get_event_subscription_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4992,7 +4992,7 @@ pub mod trigger { } } pub mod unsubscribe_trigger_from_events { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TriggerSubscriptionOperationStatus), @@ -5058,7 +5058,7 @@ pub mod trigger { } } pub mod start_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5119,7 +5119,7 @@ pub mod trigger { } } pub mod stop_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5143,7 +5143,7 @@ pub mod trigger { } } pub mod trigger_run { - use crate::models::*; + use super::{models, models::*}; pub async fn rerun_trigger_instance( operation_config: &crate::OperationConfig, trigger_name: &str, @@ -5191,7 +5191,7 @@ pub mod trigger_run { } } pub mod rerun_trigger_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5260,7 +5260,7 @@ pub mod trigger_run { } } pub mod cancel_trigger_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5328,7 +5328,7 @@ pub mod trigger_run { } } pub mod query_trigger_runs_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5352,7 +5352,7 @@ pub mod trigger_run { } } pub mod workspace { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/workspace", operation_config.base_path(),); @@ -5390,7 +5390,7 @@ pub mod workspace { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/synapse/src/package_artifacts_composite_v1/operations.rs b/services/svc/synapse/src/package_artifacts_composite_v1/operations.rs index 0c31d13610..2f01804638 100644 --- a/services/svc/synapse/src/package_artifacts_composite_v1/operations.rs +++ b/services/svc/synapse/src/package_artifacts_composite_v1/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod kql_scripts { - use crate::models::*; + use super::{models, models::*}; pub async fn get_all( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -47,7 +47,7 @@ pub mod kql_scripts { } } pub mod get_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -71,7 +71,7 @@ pub mod kql_scripts { } } pub mod kql_script { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_name( operation_config: &crate::OperationConfig, kql_script_name: &str, @@ -115,7 +115,7 @@ pub mod kql_script { } } pub mod get_by_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -183,7 +183,7 @@ pub mod kql_script { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(KqlScriptResource), @@ -250,7 +250,7 @@ pub mod kql_script { } } pub mod delete_by_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -316,7 +316,7 @@ pub mod kql_script { } } pub mod rename { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -345,7 +345,7 @@ pub mod kql_script { } } pub mod spark_configuration { - use crate::models::*; + use super::{models, models::*}; pub async fn get_spark_configurations_by_workspace( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -390,7 +390,7 @@ pub mod spark_configuration { } } pub mod get_spark_configurations_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -462,7 +462,7 @@ pub mod spark_configuration { } } pub mod get_spark_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -538,7 +538,7 @@ pub mod spark_configuration { } } pub mod create_or_update_spark_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SparkConfigurationResource), @@ -607,7 +607,7 @@ pub mod spark_configuration { } } pub mod delete_spark_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -682,7 +682,7 @@ pub mod spark_configuration { } } pub mod rename_spark_configuration { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -711,7 +711,7 @@ pub mod spark_configuration { } } pub mod big_data_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/bigDataPools", operation_config.base_path(),); @@ -749,7 +749,7 @@ pub mod big_data_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -811,7 +811,7 @@ pub mod big_data_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -835,7 +835,7 @@ pub mod big_data_pools { } } pub mod data_flow { - use crate::models::*; + use super::{models, models::*}; pub async fn get_data_flow( operation_config: &crate::OperationConfig, data_flow_name: &str, @@ -883,7 +883,7 @@ pub mod data_flow { } } pub mod get_data_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -957,7 +957,7 @@ pub mod data_flow { } } pub mod create_or_update_data_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DataFlowResource), @@ -1024,7 +1024,7 @@ pub mod data_flow { } } pub mod delete_data_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1093,7 +1093,7 @@ pub mod data_flow { } } pub mod rename_data_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1164,7 +1164,7 @@ pub mod data_flow { } } pub mod get_data_flows_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1188,7 +1188,7 @@ pub mod data_flow { } } pub mod data_flow_debug_session { - use crate::models::*; + use super::{models, models::*}; pub async fn create_data_flow_debug_session( operation_config: &crate::OperationConfig, request: &CreateDataFlowDebugSessionRequest, @@ -1236,7 +1236,7 @@ pub mod data_flow_debug_session { } } pub mod create_data_flow_debug_session { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1308,7 +1308,7 @@ pub mod data_flow_debug_session { } } pub mod query_data_flow_debug_sessions_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1374,7 +1374,7 @@ pub mod data_flow_debug_session { } } pub mod add_data_flow { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1437,7 +1437,7 @@ pub mod data_flow_debug_session { } } pub mod delete_data_flow_debug_session { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1504,7 +1504,7 @@ pub mod data_flow_debug_session { } } pub mod execute_command { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -1533,7 +1533,7 @@ pub mod data_flow_debug_session { } } pub mod dataset { - use crate::models::*; + use super::{models, models::*}; pub async fn get_datasets_by_workspace( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -1578,7 +1578,7 @@ pub mod dataset { } } pub mod get_datasets_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1648,7 +1648,7 @@ pub mod dataset { } } pub mod get_dataset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1724,7 +1724,7 @@ pub mod dataset { } } pub mod create_or_update_dataset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(DatasetResource), @@ -1791,7 +1791,7 @@ pub mod dataset { } } pub mod delete_dataset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1860,7 +1860,7 @@ pub mod dataset { } } pub mod rename_dataset { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -1889,7 +1889,7 @@ pub mod dataset { } } pub mod linked_service { - use crate::models::*; + use super::{models, models::*}; pub async fn get_linked_services_by_workspace( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -1934,7 +1934,7 @@ pub mod linked_service { } } pub mod get_linked_services_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2004,7 +2004,7 @@ pub mod linked_service { } } pub mod get_linked_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2080,7 +2080,7 @@ pub mod linked_service { } } pub mod create_or_update_linked_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(LinkedServiceResource), @@ -2149,7 +2149,7 @@ pub mod linked_service { } } pub mod delete_linked_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2220,7 +2220,7 @@ pub mod linked_service { } } pub mod rename_linked_service { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2249,7 +2249,7 @@ pub mod linked_service { } } pub mod workspace_git_repo_management { - use crate::models::*; + use super::{models, models::*}; pub async fn get_git_hub_access_token( operation_config: &crate::OperationConfig, x_ms_client_request_id: Option<&str>, @@ -2298,7 +2298,7 @@ pub mod workspace_git_repo_management { } } pub mod get_git_hub_access_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -2319,7 +2319,7 @@ pub mod workspace_git_repo_management { } } pub mod integration_runtimes { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/integrationRuntimes", operation_config.base_path(),); @@ -2357,7 +2357,7 @@ pub mod integration_runtimes { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2419,7 +2419,7 @@ pub mod integration_runtimes { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2443,7 +2443,7 @@ pub mod integration_runtimes { } } pub mod library { - use crate::models::*; + use super::{models, models::*}; pub async fn append( operation_config: &crate::OperationConfig, comp: &str, @@ -2487,7 +2487,7 @@ pub mod library { } } pub mod append { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2511,7 +2511,7 @@ pub mod library { } } pub mod notebook { - use crate::models::*; + use super::{models, models::*}; pub async fn get_notebooks_by_workspace( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -2556,7 +2556,7 @@ pub mod notebook { } } pub mod get_notebooks_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2622,7 +2622,7 @@ pub mod notebook { } } pub mod get_notebook_summary_by_work_space { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -2692,7 +2692,7 @@ pub mod notebook { } } pub mod get_notebook { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -2768,7 +2768,7 @@ pub mod notebook { } } pub mod create_or_update_notebook { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(NotebookResource), @@ -2835,7 +2835,7 @@ pub mod notebook { } } pub mod delete_notebook { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2904,7 +2904,7 @@ pub mod notebook { } } pub mod rename_notebook { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -2933,7 +2933,7 @@ pub mod notebook { } } pub mod notebook_operation_result { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig, operation_id: &str) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/notebookOperationResults/{}", operation_config.base_path(), operation_id); @@ -2969,7 +2969,7 @@ pub mod notebook_operation_result { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3000,7 +3000,7 @@ pub mod notebook_operation_result { } } pub mod pipeline { - use crate::models::*; + use super::{models, models::*}; pub async fn get_pipelines_by_workspace( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -3045,7 +3045,7 @@ pub mod pipeline { } } pub mod get_pipelines_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3115,7 +3115,7 @@ pub mod pipeline { } } pub mod get_pipeline { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -3191,7 +3191,7 @@ pub mod pipeline { } } pub mod create_or_update_pipeline { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(PipelineResource), @@ -3258,7 +3258,7 @@ pub mod pipeline { } } pub mod delete_pipeline { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3327,7 +3327,7 @@ pub mod pipeline { } } pub mod rename_pipeline { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -3416,7 +3416,7 @@ pub mod pipeline { } } pub mod create_pipeline_run { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3440,7 +3440,7 @@ pub mod pipeline { } } pub mod pipeline_run { - use crate::models::*; + use super::{models, models::*}; pub async fn query_pipeline_runs_by_workspace( operation_config: &crate::OperationConfig, filter_parameters: &RunFilterParameters, @@ -3487,7 +3487,7 @@ pub mod pipeline_run { } } pub mod query_pipeline_runs_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3552,7 +3552,7 @@ pub mod pipeline_run { } } pub mod get_pipeline_run { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3625,7 +3625,7 @@ pub mod pipeline_run { } } pub mod query_activity_runs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3690,7 +3690,7 @@ pub mod pipeline_run { } } pub mod cancel_pipeline_run { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3714,7 +3714,7 @@ pub mod pipeline_run { } } pub mod spark_job_definition { - use crate::models::*; + use super::{models, models::*}; pub async fn get_spark_job_definitions_by_workspace( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -3759,7 +3759,7 @@ pub mod spark_job_definition { } } pub mod get_spark_job_definitions_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -3831,7 +3831,7 @@ pub mod spark_job_definition { } } pub mod get_spark_job_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -3907,7 +3907,7 @@ pub mod spark_job_definition { } } pub mod create_or_update_spark_job_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SparkJobDefinitionResource), @@ -3976,7 +3976,7 @@ pub mod spark_job_definition { } } pub mod delete_spark_job_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4060,7 +4060,7 @@ pub mod spark_job_definition { } } pub mod execute_spark_job_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(SparkBatchJob), @@ -4134,7 +4134,7 @@ pub mod spark_job_definition { } } pub mod rename_spark_job_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4214,7 +4214,7 @@ pub mod spark_job_definition { } } pub mod debug_spark_job_definition { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202(SparkBatchJob), @@ -4243,7 +4243,7 @@ pub mod spark_job_definition { } } pub mod sql_pools { - use crate::models::*; + use super::{models, models::*}; pub async fn list(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/sqlPools", operation_config.base_path(),); @@ -4281,7 +4281,7 @@ pub mod sql_pools { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4340,7 +4340,7 @@ pub mod sql_pools { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4364,7 +4364,7 @@ pub mod sql_pools { } } pub mod sql_script { - use crate::models::*; + use super::{models, models::*}; pub async fn get_sql_scripts_by_workspace( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -4409,7 +4409,7 @@ pub mod sql_script { } } pub mod get_sql_scripts_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4479,7 +4479,7 @@ pub mod sql_script { } } pub mod get_sql_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -4555,7 +4555,7 @@ pub mod sql_script { } } pub mod create_or_update_sql_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(SqlScriptResource), @@ -4622,7 +4622,7 @@ pub mod sql_script { } } pub mod delete_sql_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4691,7 +4691,7 @@ pub mod sql_script { } } pub mod rename_sql_script { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -4720,7 +4720,7 @@ pub mod sql_script { } } pub mod trigger { - use crate::models::*; + use super::{models, models::*}; pub async fn get_triggers_by_workspace( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -4765,7 +4765,7 @@ pub mod trigger { } } pub mod get_triggers_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -4835,7 +4835,7 @@ pub mod trigger { } } pub mod get_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -4911,7 +4911,7 @@ pub mod trigger { } } pub mod create_or_update_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TriggerResource), @@ -4978,7 +4978,7 @@ pub mod trigger { } } pub mod delete_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -5053,7 +5053,7 @@ pub mod trigger { } } pub mod subscribe_trigger_to_events { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TriggerSubscriptionOperationStatus), @@ -5130,7 +5130,7 @@ pub mod trigger { } } pub mod get_event_subscription_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5199,7 +5199,7 @@ pub mod trigger { } } pub mod unsubscribe_trigger_from_events { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(TriggerSubscriptionOperationStatus), @@ -5265,7 +5265,7 @@ pub mod trigger { } } pub mod start_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5326,7 +5326,7 @@ pub mod trigger { } } pub mod stop_trigger { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5350,7 +5350,7 @@ pub mod trigger { } } pub mod trigger_run { - use crate::models::*; + use super::{models, models::*}; pub async fn rerun_trigger_instance( operation_config: &crate::OperationConfig, trigger_name: &str, @@ -5398,7 +5398,7 @@ pub mod trigger_run { } } pub mod rerun_trigger_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5467,7 +5467,7 @@ pub mod trigger_run { } } pub mod cancel_trigger_instance { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5535,7 +5535,7 @@ pub mod trigger_run { } } pub mod query_trigger_runs_by_workspace { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -5559,7 +5559,7 @@ pub mod trigger_run { } } pub mod workspace { - use crate::models::*; + use super::{models, models::*}; pub async fn get(operation_config: &crate::OperationConfig) -> std::result::Result { let http_client = operation_config.http_client(); let url_str = &format!("{}/workspace", operation_config.base_path(),); @@ -5597,7 +5597,7 @@ pub mod workspace { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/synapse/src/package_kql_script_2021_06_preview/operations.rs b/services/svc/synapse/src/package_kql_script_2021_06_preview/operations.rs index dc71536506..94d64474c1 100644 --- a/services/svc/synapse/src/package_kql_script_2021_06_preview/operations.rs +++ b/services/svc/synapse/src/package_kql_script_2021_06_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod kql_scripts { - use crate::models::*; + use super::{models, models::*}; pub async fn get_all( operation_config: &crate::OperationConfig, ) -> std::result::Result { @@ -47,7 +47,7 @@ pub mod kql_scripts { } } pub mod get_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -71,7 +71,7 @@ pub mod kql_scripts { } } pub mod kql_script { - use crate::models::*; + use super::{models, models::*}; pub async fn get_by_name( operation_config: &crate::OperationConfig, kql_script_name: &str, @@ -115,7 +115,7 @@ pub mod kql_script { } } pub mod get_by_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -183,7 +183,7 @@ pub mod kql_script { } } pub mod create_or_update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200(KqlScriptResource), @@ -250,7 +250,7 @@ pub mod kql_script { } } pub mod delete_by_name { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, @@ -316,7 +316,7 @@ pub mod kql_script { } } pub mod rename { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Ok200, diff --git a/services/svc/synapse/src/package_metadata_2021_07_01_preview/operations.rs b/services/svc/synapse/src/package_metadata_2021_07_01_preview/operations.rs index 99994d34d9..442a2b494a 100644 --- a/services/svc/synapse/src/package_metadata_2021_07_01_preview/operations.rs +++ b/services/svc/synapse/src/package_metadata_2021_07_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod metastore { - use crate::models::*; + use super::{models, models::*}; pub async fn get_database_operations( operation_config: &crate::OperationConfig, id: &str, @@ -50,7 +50,7 @@ pub mod metastore { } } pub mod get_database_operations { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -117,7 +117,7 @@ pub mod metastore { } } pub mod register { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -181,7 +181,7 @@ pub mod metastore { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -235,7 +235,7 @@ pub mod metastore { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/synapse/src/package_monitoring_2019_11_01_preview/operations.rs b/services/svc/synapse/src/package_monitoring_2019_11_01_preview/operations.rs index c6c169d90f..f787e51439 100644 --- a/services/svc/synapse/src/package_monitoring_2019_11_01_preview/operations.rs +++ b/services/svc/synapse/src/package_monitoring_2019_11_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod monitoring { - use crate::models::*; + use super::{models, models::*}; pub async fn get_spark_job_list( operation_config: &crate::OperationConfig, x_ms_client_request_id: Option<&str>, @@ -49,7 +49,7 @@ pub mod monitoring { } } pub mod get_spark_job_list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -126,7 +126,7 @@ pub mod monitoring { } } pub mod get_sql_job_query_string { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/svc/synapse/src/package_monitoring_2020_12_01/operations.rs b/services/svc/synapse/src/package_monitoring_2020_12_01/operations.rs index c6c169d90f..f787e51439 100644 --- a/services/svc/synapse/src/package_monitoring_2020_12_01/operations.rs +++ b/services/svc/synapse/src/package_monitoring_2020_12_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod monitoring { - use crate::models::*; + use super::{models, models::*}; pub async fn get_spark_job_list( operation_config: &crate::OperationConfig, x_ms_client_request_id: Option<&str>, @@ -49,7 +49,7 @@ pub mod monitoring { } } pub mod get_spark_job_list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -126,7 +126,7 @@ pub mod monitoring { } } pub mod get_sql_job_query_string { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/svc/synapse/src/package_spark_2019_11_01_preview/operations.rs b/services/svc/synapse/src/package_spark_2019_11_01_preview/operations.rs index cddf481c74..bb8d55fc35 100644 --- a/services/svc/synapse/src/package_spark_2019_11_01_preview/operations.rs +++ b/services/svc/synapse/src/package_spark_2019_11_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod spark_batch { - use crate::models::*; + use super::{models, models::*}; pub async fn get_spark_batch_jobs( operation_config: &crate::OperationConfig, from: Option, @@ -56,7 +56,7 @@ pub mod spark_batch { } } pub mod get_spark_batch_jobs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -122,7 +122,7 @@ pub mod spark_batch { } } pub mod create_spark_batch_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -185,7 +185,7 @@ pub mod spark_batch { } } pub mod get_spark_batch_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -241,7 +241,7 @@ pub mod spark_batch { } } pub mod cancel_spark_batch_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -262,7 +262,7 @@ pub mod spark_batch { } } pub mod spark_session { - use crate::models::*; + use super::{models, models::*}; pub async fn get_spark_sessions( operation_config: &crate::OperationConfig, from: Option, @@ -314,7 +314,7 @@ pub mod spark_session { } } pub mod get_spark_sessions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -378,7 +378,7 @@ pub mod spark_session { } } pub mod create_spark_session { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -441,7 +441,7 @@ pub mod spark_session { } } pub mod get_spark_session { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -495,7 +495,7 @@ pub mod spark_session { } } pub mod cancel_spark_session { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -551,7 +551,7 @@ pub mod spark_session { } } pub mod reset_spark_session_timeout { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -610,7 +610,7 @@ pub mod spark_session { } } pub mod get_spark_statements { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -673,7 +673,7 @@ pub mod spark_session { } } pub mod create_spark_statement { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -738,7 +738,7 @@ pub mod spark_session { } } pub mod get_spark_statement { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -806,7 +806,7 @@ pub mod spark_session { } } pub mod cancel_spark_statement { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/svc/synapse/src/package_spark_2020_12_01/operations.rs b/services/svc/synapse/src/package_spark_2020_12_01/operations.rs index c3b35cf243..1c50564125 100644 --- a/services/svc/synapse/src/package_spark_2020_12_01/operations.rs +++ b/services/svc/synapse/src/package_spark_2020_12_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod spark_batch { - use crate::models::*; + use super::{models, models::*}; pub async fn get_spark_batch_jobs( operation_config: &crate::OperationConfig, livy_api_version: &str, @@ -63,7 +63,7 @@ pub mod spark_batch { } } pub mod get_spark_batch_jobs { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -136,7 +136,7 @@ pub mod spark_batch { } } pub mod create_spark_batch_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -207,7 +207,7 @@ pub mod spark_batch { } } pub mod get_spark_batch_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -271,7 +271,7 @@ pub mod spark_batch { } } pub mod cancel_spark_batch_job { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -292,7 +292,7 @@ pub mod spark_batch { } } pub mod spark_session { - use crate::models::*; + use super::{models, models::*}; pub async fn get_spark_sessions( operation_config: &crate::OperationConfig, livy_api_version: &str, @@ -351,7 +351,7 @@ pub mod spark_session { } } pub mod get_spark_sessions { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -422,7 +422,7 @@ pub mod spark_session { } } pub mod create_spark_session { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -493,7 +493,7 @@ pub mod spark_session { } } pub mod get_spark_session { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -555,7 +555,7 @@ pub mod spark_session { } } pub mod cancel_spark_session { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -619,7 +619,7 @@ pub mod spark_session { } } pub mod reset_spark_session_timeout { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -686,7 +686,7 @@ pub mod spark_session { } } pub mod get_spark_statements { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -757,7 +757,7 @@ pub mod spark_session { } } pub mod create_spark_statement { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -826,7 +826,7 @@ pub mod spark_session { } } pub mod get_spark_statement { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -898,7 +898,7 @@ pub mod spark_session { } } pub mod cancel_spark_statement { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/svc/synapse/src/package_vnet_2019_06_01_preview/operations.rs b/services/svc/synapse/src/package_vnet_2019_06_01_preview/operations.rs index 0a9afa2219..67dd5fe325 100644 --- a/services/svc/synapse/src/package_vnet_2019_06_01_preview/operations.rs +++ b/services/svc/synapse/src/package_vnet_2019_06_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod managed_private_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, managed_virtual_network_name: &str, @@ -49,7 +49,7 @@ pub mod managed_private_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -114,7 +114,7 @@ pub mod managed_private_endpoints { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -173,7 +173,7 @@ pub mod managed_private_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -239,7 +239,7 @@ pub mod managed_private_endpoints { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/svc/synapse/src/package_vnet_2020_12_01/operations.rs b/services/svc/synapse/src/package_vnet_2020_12_01/operations.rs index 0a9afa2219..67dd5fe325 100644 --- a/services/svc/synapse/src/package_vnet_2020_12_01/operations.rs +++ b/services/svc/synapse/src/package_vnet_2020_12_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod managed_private_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, managed_virtual_network_name: &str, @@ -49,7 +49,7 @@ pub mod managed_private_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -114,7 +114,7 @@ pub mod managed_private_endpoints { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -173,7 +173,7 @@ pub mod managed_private_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -239,7 +239,7 @@ pub mod managed_private_endpoints { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/svc/synapse/src/package_vnet_2021_06_01_preview/operations.rs b/services/svc/synapse/src/package_vnet_2021_06_01_preview/operations.rs index 0a9afa2219..67dd5fe325 100644 --- a/services/svc/synapse/src/package_vnet_2021_06_01_preview/operations.rs +++ b/services/svc/synapse/src/package_vnet_2021_06_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod managed_private_endpoints { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, managed_virtual_network_name: &str, @@ -49,7 +49,7 @@ pub mod managed_private_endpoints { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -114,7 +114,7 @@ pub mod managed_private_endpoints { } } pub mod create { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] @@ -173,7 +173,7 @@ pub mod managed_private_endpoints { } } pub mod delete { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug)] pub enum Response { Accepted202, @@ -239,7 +239,7 @@ pub mod managed_private_endpoints { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Unexpected HTTP status code {}", status_code)] diff --git a/services/svc/timeseriesinsights/Cargo.toml b/services/svc/timeseriesinsights/Cargo.toml index 1f34b72640..5f37bb0475 100644 --- a/services/svc/timeseriesinsights/Cargo.toml +++ b/services/svc/timeseriesinsights/Cargo.toml @@ -20,4 +20,5 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2020-07-31"] +no-default-version = [] "package-2020-07-31" = [] diff --git a/services/svc/timeseriesinsights/src/lib.rs b/services/svc/timeseriesinsights/src/lib.rs index 0be329b432..193021f7d5 100644 --- a/services/svc/timeseriesinsights/src/lib.rs +++ b/services/svc/timeseriesinsights/src/lib.rs @@ -1,9 +1,17 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2020-07-31")] -mod package_2020_07_31; +pub mod package_2020_07_31; use azure_core::setters; -#[cfg(feature = "package-2020-07-31")] +#[cfg(all(feature = "package-2020-07-31", not(feature = "no-default-version")))] pub use package_2020_07_31::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -27,7 +35,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/svc/timeseriesinsights/src/package_2020_07_31/operations.rs b/services/svc/timeseriesinsights/src/package_2020_07_31/operations.rs index 4870797a24..deeb14ce78 100644 --- a/services/svc/timeseriesinsights/src/package_2020_07_31/operations.rs +++ b/services/svc/timeseriesinsights/src/package_2020_07_31/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod query { - use crate::models::*; + use super::{models, models::*}; pub async fn get_availability( operation_config: &crate::OperationConfig, store_type: Option<&str>, @@ -59,7 +59,7 @@ pub mod query { } } pub mod get_availability { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -137,7 +137,7 @@ pub mod query { } } pub mod get_event_schema { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -219,7 +219,7 @@ pub mod query { } } pub mod execute { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -243,7 +243,7 @@ pub mod query { } } pub mod model_settings { - use crate::models::*; + use super::{models, models::*}; pub async fn get( operation_config: &crate::OperationConfig, x_ms_client_request_id: Option<&str>, @@ -291,7 +291,7 @@ pub mod model_settings { } } pub mod get { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -362,7 +362,7 @@ pub mod model_settings { } } pub mod update { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -386,7 +386,7 @@ pub mod model_settings { } } pub mod time_series_instances { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, x_ms_continuation: Option<&str>, @@ -438,7 +438,7 @@ pub mod time_series_instances { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -512,7 +512,7 @@ pub mod time_series_instances { } } pub mod execute_batch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -586,7 +586,7 @@ pub mod time_series_instances { } } pub mod suggest { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -661,7 +661,7 @@ pub mod time_series_instances { } } pub mod search { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -685,7 +685,7 @@ pub mod time_series_instances { } } pub mod time_series_types { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, x_ms_continuation: Option<&str>, @@ -737,7 +737,7 @@ pub mod time_series_types { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -811,7 +811,7 @@ pub mod time_series_types { } } pub mod execute_batch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -835,7 +835,7 @@ pub mod time_series_types { } } pub mod time_series_hierarchies { - use crate::models::*; + use super::{models, models::*}; pub async fn list( operation_config: &crate::OperationConfig, x_ms_continuation: Option<&str>, @@ -887,7 +887,7 @@ pub mod time_series_hierarchies { } } pub mod list { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -961,7 +961,7 @@ pub mod time_series_hierarchies { } } pub mod execute_batch { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] diff --git a/services/svc/webpubsub/Cargo.toml b/services/svc/webpubsub/Cargo.toml index 011de767db..a441c3412f 100644 --- a/services/svc/webpubsub/Cargo.toml +++ b/services/svc/webpubsub/Cargo.toml @@ -20,6 +20,7 @@ tokio = { version = "1.0", features = ["macros"] } [features] default = ["package-2021-10-01"] +no-default-version = [] "package-2021-10-01" = [] "package-2021-08-01-preview" = [] "package-2021-05-01-preview" = [] diff --git a/services/svc/webpubsub/src/lib.rs b/services/svc/webpubsub/src/lib.rs index bd5dbefcaa..a8a796174b 100644 --- a/services/svc/webpubsub/src/lib.rs +++ b/services/svc/webpubsub/src/lib.rs @@ -1,17 +1,25 @@ #![doc = "generated by AutoRust 0.1.0"] #[cfg(feature = "package-2021-10-01")] -mod package_2021_10_01; -#[cfg(feature = "package-2021-10-01")] +pub mod package_2021_10_01; +#[cfg(all(feature = "package-2021-10-01", not(feature = "no-default-version")))] pub use package_2021_10_01::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-08-01-preview")] -mod package_2021_08_01_preview; -#[cfg(feature = "package-2021-08-01-preview")] +pub mod package_2021_08_01_preview; +#[cfg(all(feature = "package-2021-08-01-preview", not(feature = "no-default-version")))] pub use package_2021_08_01_preview::{models, operations, API_VERSION}; #[cfg(feature = "package-2021-05-01-preview")] -mod package_2021_05_01_preview; +pub mod package_2021_05_01_preview; use azure_core::setters; -#[cfg(feature = "package-2021-05-01-preview")] +#[cfg(all(feature = "package-2021-05-01-preview", not(feature = "no-default-version")))] pub use package_2021_05_01_preview::{models, operations, API_VERSION}; +#[cfg(not(feature = "no-default-version"))] +fn get_default_feature() -> String { + API_VERSION.to_owned() +} +#[cfg(feature = "no-default-version")] +fn get_default_feature() -> String { + "".to_owned() +} pub fn config( http_client: std::sync::Arc, token_credential: Box, @@ -35,7 +43,7 @@ impl OperationConfigBuilder { setters! { api_version : String => Some (api_version) , base_path : String => Some (base_path) , token_credential_resource : String => Some (token_credential_resource) , } pub fn build(self) -> OperationConfig { OperationConfig { - api_version: self.api_version.unwrap_or(API_VERSION.to_owned()), + api_version: self.api_version.unwrap_or_else(|| get_default_feature()), http_client: self.http_client, base_path: self.base_path.unwrap_or("https://management.azure.com".to_owned()), token_credential: Some(self.token_credential), diff --git a/services/svc/webpubsub/src/package_2021_05_01_preview/operations.rs b/services/svc/webpubsub/src/package_2021_05_01_preview/operations.rs index 02a95f1e9e..7efc58e442 100644 --- a/services/svc/webpubsub/src/package_2021_05_01_preview/operations.rs +++ b/services/svc/webpubsub/src/package_2021_05_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod health_api { - use crate::models::*; + use super::{models, models::*}; pub async fn get_service_status(operation_config: &crate::OperationConfig) -> std::result::Result<(), get_service_status::Error> { let http_client = operation_config.http_client(); let url_str = &format!("{}/api/health", operation_config.base_path(),); @@ -32,7 +32,7 @@ pub mod health_api { } } pub mod get_service_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -53,7 +53,7 @@ pub mod health_api { } } pub mod web_pub_sub { - use crate::models::*; + use super::{models, models::*}; pub async fn send_to_all( operation_config: &crate::OperationConfig, hub: &str, @@ -90,7 +90,7 @@ pub mod web_pub_sub { } } pub mod send_to_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -144,7 +144,7 @@ pub mod web_pub_sub { } } pub mod close_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -195,7 +195,7 @@ pub mod web_pub_sub { } } pub mod connection_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -254,7 +254,7 @@ pub mod web_pub_sub { } } pub mod send_to_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -305,7 +305,7 @@ pub mod web_pub_sub { } } pub mod group_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -363,7 +363,7 @@ pub mod web_pub_sub { } } pub mod send_to_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -423,7 +423,7 @@ pub mod web_pub_sub { } } pub mod add_connection_to_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -484,7 +484,7 @@ pub mod web_pub_sub { } } pub mod remove_connection_from_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -535,7 +535,7 @@ pub mod web_pub_sub { } } pub mod user_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -589,7 +589,7 @@ pub mod web_pub_sub { } } pub mod send_to_user { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -647,7 +647,7 @@ pub mod web_pub_sub { } } pub mod add_user_to_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -708,7 +708,7 @@ pub mod web_pub_sub { } } pub mod remove_user_from_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -760,7 +760,7 @@ pub mod web_pub_sub { } } pub mod remove_user_from_all_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -821,7 +821,7 @@ pub mod web_pub_sub { } } pub mod grant_permission { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -882,7 +882,7 @@ pub mod web_pub_sub { } } pub mod revoke_permission { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -944,7 +944,7 @@ pub mod web_pub_sub { } } pub mod check_permission { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] diff --git a/services/svc/webpubsub/src/package_2021_08_01_preview/operations.rs b/services/svc/webpubsub/src/package_2021_08_01_preview/operations.rs index 1768c32370..814cefc339 100644 --- a/services/svc/webpubsub/src/package_2021_08_01_preview/operations.rs +++ b/services/svc/webpubsub/src/package_2021_08_01_preview/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod health_api { - use crate::models::*; + use super::{models, models::*}; pub async fn get_service_status(operation_config: &crate::OperationConfig) -> std::result::Result<(), get_service_status::Error> { let http_client = operation_config.http_client(); let url_str = &format!("{}/api/health", operation_config.base_path(),); @@ -32,7 +32,7 @@ pub mod health_api { } } pub mod get_service_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -53,7 +53,7 @@ pub mod health_api { } } pub mod web_pub_sub { - use crate::models::*; + use super::{models, models::*}; pub async fn generate_client_token( operation_config: &crate::OperationConfig, hub: &str, @@ -105,7 +105,7 @@ pub mod web_pub_sub { } } pub mod generate_client_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -160,7 +160,7 @@ pub mod web_pub_sub { } } pub mod send_to_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -214,7 +214,7 @@ pub mod web_pub_sub { } } pub mod close_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -265,7 +265,7 @@ pub mod web_pub_sub { } } pub mod connection_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -324,7 +324,7 @@ pub mod web_pub_sub { } } pub mod send_to_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -375,7 +375,7 @@ pub mod web_pub_sub { } } pub mod group_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -433,7 +433,7 @@ pub mod web_pub_sub { } } pub mod send_to_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -493,7 +493,7 @@ pub mod web_pub_sub { } } pub mod add_connection_to_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -554,7 +554,7 @@ pub mod web_pub_sub { } } pub mod remove_connection_from_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -605,7 +605,7 @@ pub mod web_pub_sub { } } pub mod user_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -659,7 +659,7 @@ pub mod web_pub_sub { } } pub mod send_to_user { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -717,7 +717,7 @@ pub mod web_pub_sub { } } pub mod add_user_to_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -778,7 +778,7 @@ pub mod web_pub_sub { } } pub mod remove_user_from_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -830,7 +830,7 @@ pub mod web_pub_sub { } } pub mod remove_user_from_all_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -891,7 +891,7 @@ pub mod web_pub_sub { } } pub mod grant_permission { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -952,7 +952,7 @@ pub mod web_pub_sub { } } pub mod revoke_permission { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1014,7 +1014,7 @@ pub mod web_pub_sub { } } pub mod check_permission { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] diff --git a/services/svc/webpubsub/src/package_2021_10_01/operations.rs b/services/svc/webpubsub/src/package_2021_10_01/operations.rs index f63f924adc..98023f89e4 100644 --- a/services/svc/webpubsub/src/package_2021_10_01/operations.rs +++ b/services/svc/webpubsub/src/package_2021_10_01/operations.rs @@ -2,9 +2,9 @@ #![allow(unused_mut)] #![allow(unused_variables)] #![allow(unused_imports)] -use crate::models::*; +use super::{models, models::*}; pub mod health_api { - use crate::models::*; + use super::{models, models::*}; pub async fn get_service_status(operation_config: &crate::OperationConfig) -> std::result::Result<(), get_service_status::Error> { let http_client = operation_config.http_client(); let url_str = &format!("{}/api/health", operation_config.base_path(),); @@ -32,7 +32,7 @@ pub mod health_api { } } pub mod get_service_status { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -53,7 +53,7 @@ pub mod health_api { } } pub mod web_pub_sub { - use crate::models::*; + use super::{models, models::*}; pub async fn generate_client_token( operation_config: &crate::OperationConfig, hub: &str, @@ -113,7 +113,7 @@ pub mod web_pub_sub { } } pub mod generate_client_token { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -184,7 +184,7 @@ pub mod web_pub_sub { } } pub mod close_all_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -250,7 +250,7 @@ pub mod web_pub_sub { } } pub mod send_to_all { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -315,7 +315,7 @@ pub mod web_pub_sub { } } pub mod close_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -377,7 +377,7 @@ pub mod web_pub_sub { } } pub mod connection_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -447,7 +447,7 @@ pub mod web_pub_sub { } } pub mod send_to_connection { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -509,7 +509,7 @@ pub mod web_pub_sub { } } pub mod group_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -588,7 +588,7 @@ pub mod web_pub_sub { } } pub mod close_group_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -655,7 +655,7 @@ pub mod web_pub_sub { } } pub mod send_to_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -726,7 +726,7 @@ pub mod web_pub_sub { } } pub mod add_connection_to_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -798,7 +798,7 @@ pub mod web_pub_sub { } } pub mod remove_connection_from_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -860,7 +860,7 @@ pub mod web_pub_sub { } } pub mod user_exists { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -939,7 +939,7 @@ pub mod web_pub_sub { } } pub mod close_user_connections { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1002,7 +1002,7 @@ pub mod web_pub_sub { } } pub mod send_to_user { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1071,7 +1071,7 @@ pub mod web_pub_sub { } } pub mod add_user_to_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")] @@ -1143,7 +1143,7 @@ pub mod web_pub_sub { } } pub mod remove_user_from_group { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1206,7 +1206,7 @@ pub mod web_pub_sub { } } pub mod remove_user_from_all_groups { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1278,7 +1278,7 @@ pub mod web_pub_sub { } } pub mod grant_permission { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1350,7 +1350,7 @@ pub mod web_pub_sub { } } pub mod revoke_permission { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("HTTP status code {}", status_code)] @@ -1423,7 +1423,7 @@ pub mod web_pub_sub { } } pub mod check_permission { - use crate::{models, models::*}; + use super::{models, models::*}; #[derive(Debug, thiserror :: Error)] pub enum Error { #[error("Error response #response_type")]